"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)},ia=function(){return da?!!ea&&0<ea.brands.length:!1},daa=function(){return ia()?!1:ha("Opera")},eaa=function(){return ia()?!1:ha("Trident")||ha("MSIE")},faa=function(){return ia()?!1:ha("Edge")},gaa=function(){return ia()?caa("Microsoft Edge"):ha("Edg/")},haa=function(){return ha("Firefox")||ha("FxiOS")},jaa=function(){return ha("Safari")&&!(iaa()||(ia()?0:ha("Coast"))||daa()||faa()||gaa()||(ia()?caa("Opera"):ha("OPR"))||haa()||ha("Silk")||
ha("Android"))},iaa=function(){return ia()?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(ia()?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(ia()&&"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])},ja=function(){return da?!!ea&&!!ea.platform:!1},oaa=function(){return ja()?
"Android"===ea.platform:ha("Android")},paa=function(){return ha("iPhone")&&!ha("iPod")&&!ha("iPad")},la=function(){return paa()||ha("iPad")||ha("iPod")},qaa=function(){return ja()?"macOS"===ea.platform:ha("Macintosh")},raa=function(){return ja()?"Windows"===ea.platform:ha("Windows")},saa=function(){return ja()?"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"):la()?(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)},sa=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)},ta=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(ua(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 va(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},
za=function(a){return Raa&&null!=a&&a instanceof Uint8Array},Taa=function(){return Saa||(Saa=new Uint8Array(0))},Uaa=function(a){return 0==a.length?Ba():new Ca(a,Da)},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===Ca)return{buffer:Vaa(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);Ea=c>>>0;Fa=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),Ea=Number(a&BigInt(4294967295))>>>0,Fa=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);
Fa=Ea=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)),Fa*=1E6,Ea=1E6*Ea+d,4294967296<=Ea&&(Fa+=Ea/4294967296|0,Ea%=4294967296);b&&(b=k(Xaa(Ea,Fa)),a=b.next().value,b=b.next().value,Ea=a,Fa=b)}},Xaa=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Ha=function(a,b){Ga?a[Ga]|=b:void 0!==a.internalArrayState?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},eba=function(a){var b=Ia(a);1!==(b&1)&&(Object.isFrozen(a)&&
(a=Array.prototype.slice.call(a)),Ja(a,b|1));return a},fba=function(a,b){Ga?a[Ga]&&(a[Ga]&=~b):void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},Ia=function(a){var b;Ga?b=a[Ga]:b=a.internalArrayState;return b|0},Ja=function(a,b){Ga?a[Ga]=b:void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a},gba=function(a,b){Object.isFrozen(a)&&(a=Array.prototype.slice.call(a));Ja(a,b);return a},
La=function(a){Ha(a,1);return a},Oa=function(a){return!!(Ia(a)&2)},Pa=function(a){Ha(a,18);return a},hba=function(a){Ha(a,16);return a},iba=function(a,b){Ja(b,(a|0)&-51)},jba=function(a,b){Ja(b,(a|18)&-41)},Qa=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 Ca(a,Da):Ba();else if(a.constructor!==Ca)if(za(a))a=c?Uaa(a):a.length?new Ca(new Uint8Array(a),Da):Ba();else{if(!b)throw Error();a=void 0}return a},
Ua=function(a){kba(Ia(a.internalArray_))},kba=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},nba=function(a){return"number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a},pba=function(a){return oba(a)},oba=function(a){if("number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},Wa=function(a){if(null!=a&&"number"!==typeof a)throw Error("K`"+
typeof a+"`"+a);return a},qba=function(a){if(null==a)return a;if(nba(a))return Number(a)},Xa=function(a){return null==a?a:!!a},rba=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},sba=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},tba=function(a){return a},uba=function(a){return null==a?a:a},Za=function(a){return a},bb=function(a){return a},vba=function(a){return a},wba=function(a){return a},cb=function(a){return a},
xba=function(a){return a},yba=function(a){return a},Bba=function(a,b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.messagePrototypeMarker===zba)return a;if(!e)return c?d&2?Aba(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)},Aba=function(a){var b=a[Cba];if(b)return b;b=new a;Pa(b.internalArray_);return a[Cba]=b},Dba=function(a){return a},db=function(a,b,c){return"boolean"===typeof a||"number"===typeof a?!!a:c?!1:void 0},Eba=function(a,b,c){b=
typeof a;return"number"===b||"string"===b?mba(a):c?0:void 0},Fba=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},Gba=function(a,b,c){return nba(a)?Number(a):c?0:void 0},gb=function(a,b,c){return"string"===typeof a?a:c?"":void 0},Hba=function(a,b,c,d,e,g){a=Bba(a,d,c,g);e&&(a=hb(a));return a},Iba=function(a){return a},Jba=function(a,b,c,d,e){var g=m(a,b,d);Array.isArray(g)||(g=jb);var h=Ia(g);h&1||La(g);if(e)h&2||Pa(g),
c&1||Object.freeze(g);else{e=!(c&2);var l=h&2;c&1||!l?e&&h&16&&!l&&fba(g,16):(g=La(Array.prototype.slice.call(g)),kb(a,b,g,d))}return g},lb=function(a,b,c,d,e){var g=Oa(a.internalArray_),h=Jba(a,b,e||1,d,g),l=Ia(h);if(!(l&4)){Object.isFrozen(h)&&(h=La(h.slice()),kb(a,b,h,d));for(var q=0,x=0;q<h.length;q++){var A=c(h[q]);null!=A&&(h[x++]=A)}x<q&&(h.length=x);l|=5;g&&(l|=18);Ja(h,l);l&2&&Object.freeze(h)}if(2===e)return h;!g&&(l&2||Object.isFrozen(h))&&(h=Array.prototype.slice.call(h),Ha(h,5),kb(a,
b,h,d));return h},Kba=function(a){return Sa(a,!0,!0)},Lba=function(a){return Sa(a,!0,!1)},Oba=function(){return Mba||(Mba=new mb(Pa([]),void 0,void 0,void 0,Nba))},Qba=function(a,b,c,d,e,g){var h=Oa(a.internalArray_);a:{var l=b;b=!1;if(null==l){if(h){a=Oba();break a}l=[]}else if(l.constructor===mb){if(0==(l.arrayState&2)||h){a=l;break a}l=Pba(l)}else Array.isArray(l)?b=Oa(l):l=[];if(h){if(!l.length){a=Oba();break a}b||(b=!0,Pa(l))}else if(b){b=!1;l=Array.prototype.slice.call(l);for(var q=0;q<l.length;q++){var x=
l[q]=Array.prototype.slice.call(l[q]);Array.isArray(x[1])&&(x[1]=Pa(x[1]))}}b||(Ia(l)&32?fba(l,16):Ia(a.internalArray_)&16&&hba(l));e=new mb(l,d,e,g);kb(a,c,e,!1);a=e}if(null==a)return a;!h&&d&&(a.callToMutableOnAccess=!0);return a},nb=function(a,b,c){return Qba(a,m(a,b),b,void 0,gb,c)},ob=function(a,b,c,d){if(null==c)return n(a,b);var e=Ia(c);if(!(e&4)){if(e&2||Object.isFrozen(c))c=Array.prototype.slice.call(c);for(var g=0;g<c.length;g++)c[g]=d(c[g]);Ja(c,e|5)}return n(a,b,c)},pb=function(a,b){kb(a,
b,void 0,!1)},rb=function(a,b,c,d){Ua(a);c!==d?kb(a,b,c):pb(a,b);return a},sb=function(a,b,c,d){Ua(a);b=Jba(a,b,2,void 0,!1);void 0!=d?b.splice(d,0,c):b.push(c);return a},tb=function(a,b,c,d,e){Ua(a);b=e(a,b,!1,2);lba(b,c);b[c]=d;return a},Rba=function(a,b,c,d,e,g){var h=!!(g&2),l=Jba(a,c,1,d,h);if(l===jb||!(Ia(l)&4)){var q=l;l=!!(g&2);var x=!!(Ia(q)&2);h=q;!l&&x&&(q=Array.prototype.slice.call(q));var A=g|(x?2:0);g=x;for(var B=x=0;x<q.length;x++){var K=Bba(q[x],b,!1,A);void 0!==K&&(g=g||!!(2&Ia(K.internalArray_)),
q[B++]=K)}B<x&&(q.length=B);b=q;q=Ia(b);A=q|5;g=g?A&-9:A|8;q!=g&&(b=gba(b,g));q=b;h!==q&&kb(a,c,q,d);(l||1===e)&&Object.freeze(q);return q}if(3===e)return l;h||(h=Object.isFrozen(l),1===e?h||Object.freeze(l):(e=Ia(l),b=e&-19,h&&(l=Array.prototype.slice.call(l),e=0,kb(a,c,l,d)),e!==b&&Ja(l,b)));return l},ub=function(a,b,c,d,e,g,h){var l=Ia(a.internalArray_);kba(l);a=Rba(a,c,b,g,2,l);c=null!=d?d:new c;h&&lba(a,e);void 0!=e?a.splice(e,h,c):a.push(c);c.isImmutable()&&fba(a,8);return c},vb=function(a,
b,c){return rb(a,b,Xa(c),!1)},wb=function(a,b,c){return rb(a,b,c,0)},xb=function(a,b,c){return rb(a,b,c,0)},yb=function(a,b){return null==a?b:a},Tba=function(a,b){Sba=b;a=new a(b);Sba=void 0;return a},Vba=function(a,b){return Uba(b)},Uba=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(za(a))return Laa(a);if(a instanceof Ca)return Ab(a);if(a instanceof mb)return Wba(a)}}return a},Xba=function(a,b){for(var c=
Array.prototype.slice.call(a.internalArray_),d=a.internalSparseObject_,e=c.length+(d?-1:0),g=0;g<e;g++)c[g]=b(c[g]);if(d){e=c[g]={};for(var h in d)e[h]=b(d[h])}b=Tba(a.constructor,hba(c));a.internalUnknownFields_&&(b.internalUnknownFields_=a.internalUnknownFields_.slice());return b},Zba=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:Yba(a,b,c,void 0!==d,e,g);else if(Qa(a)){var h={},l;for(l in a)h[l]=Zba(a[l],b,c,d,e,g);a=h}else a=b(a,d);return a}},
Yba=function(a,b,c,d,e,g){var h=d||c?Ia(a):0;d=d?!!(h&16):void 0;a=Array.prototype.slice.call(a);for(var l=0;l<a.length;l++)a[l]=Zba(a[l],b,c,d,e,g);c&&c(h,a);return a},aca=function(a){return Zba(a,$ba,void 0,void 0,!1,!1)},$ba=function(a){return a.messagePrototypeMarker===zba?a.toJSON():a instanceof mb?Wba(a,aca):Uba(a)},bca=function(a){return Yba(a,$ba,void 0,void 0,!1,!1)},cca=function(a,b,c){c=void 0===c?jba: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=Yba(a,cca,d&4?jba:c,!0,!1,!0);b=Ia(a);b&4&&b&2&&Object.freeze(a);return a}a.messagePrototypeMarker===zba?Oa(a.internalArray_)||(a=dca(a,!0),Pa(a.internalArray_)):a instanceof mb&&(b=Pa(Pba(a,cca)),a=new mb(b,a.valueCtor,a.keyToApi,a.valueToApi));return a}},dca=function(a,b){var c=Ia(a.internalArray_),d=b||c&2?jba:iba,e=!!(c&16);return Xba(a,function(g){return cca(g,e,d)})},hb=function(a){if(!(Ia(a.internalArray_)&2))return a;
var b=dca(a,!1);b.internalCachedImmutable_=a;return b},eca=function(a,b,c){var d=a?a.constructor.repeatedFields_:void 0,e=a.pivot_;if(d){if(!c){b=Array.prototype.slice.call(b);var g;if(b.length&&Qa(g=b[b.length-1]))for(var h=0;h<d.length;h++)if(d[h]>=e){Object.assign(b[b.length-1]={},g);break}}e=b;c=!c;g=a.pivot_;var l;for(h=0;h<d.length;h++){var q=d[h];if(q<g){q+=a.arrayIndexOffset;var x=e[q];null==x?e[q]=c?jb:La([]):c&&x!==jb&&eba(x)}else l||(x=void 0,e.length&&Qa(x=e[e.length-1])?l=x:e.push(l=
{})),x=l[q],null==l[q]?l[q]=c?jb:La([]):c&&x!==jb&&eba(x)}}return b},kca=function(a){var b=a[fca];if(!b){var c=gca(a),d=c.messageSetReader;b=d?function(e,g){return d(e,g,c)}:function(e,g){for(;hca(g)&&4!=g.nextWireType_;){var h=g.nextField_,l=c[h];if(!l){var q=c.extensions;q&&(q=q[h])&&(l=c[h]=ica(q))}if(!l||!l(g,e,h))if(q=g,l=e,h=q.fieldCursor_,jca(q),!q.discardUnknownFields){var x=q.decoder_.getCursor()-h;q.decoder_.cursor_=h;h=q.decoder_.readByteString(x);(q=l.internalUnknownFields_)?q.push(h):
l.internalUnknownFields_=[h]}}return e};a[fca]=b}return b},lca=function(a){if(a=a.binaryFieldsInitializer)return kca(a)},ica=function(a){var b=lca(a),c=a.readerWriterSelector.$$binaryReaderFn;if(b){var d=gca(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)}},mca=function(a,b){var c=a[b];"function"==typeof c&&0===c.length&&(c=c(),a[b]=c);return Array.isArray(c)&&(Bb in c||Cb in c||0<c.length&&"function"==typeof c[0])?c:void 0},nca=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=mca(a,e))?(e++,b[g]=d(l,h)):b[g]=c(l,a[e++]);break;case 2:h=e++;h=mca(a,h);b[g]=d(l,h,a[e++]);break;default:throw Error("U`"+h);}}return b},rca=function(a){var b=a[oca];if(!b){var c=pca(a);b=function(d,
e){return qca(d,e,c)};a[oca]=b}return b},sca=function(a){return a.$$binaryWriterFn},tca=function(a,b){var c=rca(b),d=pca(b).ctor,e=a.$$binaryWriterFn;return function(g,h,l){return e(g,h,l,d,c)}},pca=function(a){var b=a[Cb];if(b)return b;b=nca(a,a[Cb]={},sca,tca);Bb in a&&Cb in a&&(a.length=0);return b},uca=function(a,b){var c=a.$$binaryReaderFn;return b?function(d,e,g){return c(d,e,g,b)}:c},vca=function(a,b,c){var d=a.$$binaryReaderFn,e=kca(b),g=gca(b).ctor;return function(h,l,q){return d(h,l,q,g,
e,c)}},gca=function(a){var b=a[Bb];if(b)return b;b=nca(a,a[Bb]={},uca,vca);Bb in a&&Cb in a&&(a.length=0);return b},wca=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=rca(d),h=pca(d).ctor;c=function(l,q,x){return e(l,q,x,h,g)}}else c=e;return a[b]=c}},qca=function(a,b,c){for(var d=a.internalArray_,e=a.arrayIndexOffset,g=d.length,h=0===e?1:0;h<g;h++){var l=d[h];if(null!=l)if(h===g-1&&Qa(l))for(var q in l){var x=
+q;if(!Number.isNaN(x)&&null!=l[q]){var A=wca(c,x);A&&A(b,a,x)}}else l=h-e,(x=wca(c,l))&&x(b,a,l)}if(a=a.internalUnknownFields_)for(xca(b,b.encoder_.end()),c=0;c<a.length;c++)xca(b,Vaa(a[c])||Taa())},Db=function(a,b){return new yca(a,b)},Eb=function(a,b,c,d){return new zca(a,b,c,d)},Gb=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(b(a[d]));return c},Hb=function(a,b,c){for(var d in c){var e=c[d],g=e.isRepeated?a.getExtension(e):Aca(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?Gb(g,l):l(g):g}}},Bca=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},Ib=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},p=function(a){return null===a?void 0:a},Jb=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return Ab(b)}):Ab(a)},Cca=function(a){a=m(a,2);if(null==a)return"";if("string"===typeof a)return a;if(za(a))return Laa(a);if(Array.isArray(a))return bca(a);
if(a instanceof Ca)return Ab(a);if(a instanceof r)return a.toJSON();throw Error("V`"+a);},t=function(a){if(Oa(a.internalArray_))throw Error("Y");},Dca=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("T`"+Kb(b)+"`"+b);Pa(b);return new a(b)}},Nb=function(a){return function(b){return Eca(a,b)}},Ob=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Pb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Fca=function(a,b){var c={},d;for(d in a)c[d]=
b.call(void 0,a[d],d,a);return c},Gca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Hca=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Ica=function(a,b){return null!==a&&b in a},Jca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Kca=function(a,b){return(b=Jca(a,b))&&a[b]},Qb=function(a){for(var b in a)return!1;return!0},Lca=function(a){for(var b in a)delete a[b]},Rb=function(a,b){b in a&&delete a[b]},Mca=function(a,b){return null!==a&&b in
a?a[b]:void 0},Sb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Oca=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<Nca.length;g++)c=Nca[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Pca=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Pca.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},Wca=function(a){if(a instanceof Tb)return'url("'+Ub(a).replace(/</g,"%3c").replace(/[\\"]/g,
"\\$&")+'")';if(a instanceof Vb)a=Wb(a);else{a=String(a);var b=a.replace(Qca,"$1").replace(Qca,"$1").replace(Rca,"url");if(Sca.test(b)){if(b=!Tca.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&&Uca(a)}a=b?Vca(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new aaa("Value does not allow [{;}], got: %s.",[a]);return a},Uca=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},Vca=function(a){return a.replace(Rca,function(b,c,d,e){var g="";d=d.replace(/^(['"])(.*)\1$/,function(h,l,q){g=l;return q});b=(Xca(d)||Yca).getTypedStringValue();return c+g+b+g+e})},Zca=function(a,b){return Zone.current.wrap(a,b)},$ca=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=Zca(a[c],b+"_"+c));return a},bda=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<
b.length;d={$jscomp$loop$prop$name$2230:d.$jscomp$loop$prop$name$2230},e++){d.$jscomp$loop$prop$name$2230=b[e];var g=a[d.$jscomp$loop$prop$name$2230];if(g){var h=Xb(a,d.$jscomp$loop$prop$name$2230);ada(h)&&(a[d.$jscomp$loop$prop$name$2230]=function(l){return function(q){var x=function(){return q.apply(this,$ca(arguments,c+"."+l.$jscomp$loop$prop$name$2230))};Yb(x,q);return x}}(d)(g))}}},ada=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},fda=function(a,
b,c){var d=Xb(a,b);!d&&c&&Xb(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=Zb("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=cda[h];l||(l=cda[h]=Zb("ON_PROPERTY"+h));d.set=function(q){var x=this;x||a!==$b||(x=$b);x&&("function"===typeof x[l]&&x.removeEventListener(h,dda),g&&g.call(x,null),x[l]=q,"function"===typeof q&&x.addEventListener(h,dda,!1))};d.get=function(){var q=this;q||a!==$b||(q=$b);if(!q)return null;
var x=q[l];return x?x:e&&(x=e.call(this))?(d.set.call(this,x),"function"===typeof q.removeAttribute&&q.removeAttribute(b),x):null};eda(a,b,d);a[c]=!0}},gda=function(a,b,c){if(b)for(var d=0;d<b.length;d++)fda(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++)fda(a,b[d],c)}},bc=function(a){var b=$b[a];if(b){$b[Zb(a)]=b;$b[a]=function(){var e=$ca(arguments,a);switch(e.length){case 0:this[ac]=new b;break;case 1:this[ac]=new b(e[0]);break;case 2:this[ac]=new b(e[0],
e[1]);break;case 3:this[ac]=new b(e[0],e[1],e[2]);break;case 4:this[ac]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("pa");}};Yb($b[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?$b[a].prototype[e]=function(){return this[ac][e].apply(this[ac],arguments)}:eda($b[a].prototype,e,{set:function(g){"function"===typeof g?(this[ac][e]=Zca(g,a+"."+e),Yb(this[ac][e],g)):this[ac][e]=g},get:function(){return this[ac][e]}})}(d);
for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&($b[a][d]=b[d])}},cc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=hda(d);!d&&a[b]&&(d=a);a=Zb(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var g=d&&Xb(d,b);if(ada(g)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};Yb(d[b],e)}}return e},ida=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=cc(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)}})},Yb=function(a,b){a[Zb("OriginalDelegate")]=b},lda=function(){if(jda)return kda;jda=!0;try{var a=dc.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))kda=!0}catch(b){}return kda},mda=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=ec+c;b=ec+b;fc[a]={};fc[a]["false"]=c;fc[a]["true"]=b},tda=function(a,b,
c,d){function e(ka,ma,ya){if(ma=ma||a.event){ka=ka||ma.target||a;var Aa=ka[fc[ma.type][ya?"true":"false"]];if(Aa){ya=[];if(1===Aa.length)(ma=K(Aa[0],ka,ma))&&ya.push(ma);else{Aa=Aa.slice();for(var Ma=0;Ma<Aa.length&&(!ma||!0!==ma[nda]);Ma++){var Ra=K(Aa[Ma],ka,ma);Ra&&ya.push(Ra)}}if(1===ya.length)throw ya[0];ma={};for(ka=0;ka<ya.length;ma={$jscomp$loop$prop$err$1760$2232:ma.$jscomp$loop$prop$err$1760$2232},ka++)ma.$jscomp$loop$prop$err$1760$2232=ya[ka],b.nativeScheduleMicroTask(function(Ta){return function(){throw Ta.$jscomp$loop$prop$err$1760$2232;
}}(ma))}}}function g(ka,ma){if(!ka)return!1;var ya=!0;ma&&void 0!==ma.useG&&(ya=ma.useG);var Aa=ma&&ma.vh,Ma=!0;ma&&void 0!==ma.chkDup&&(Ma=ma.chkDup);var Ra=!1;ma&&void 0!==ma.rt&&(Ra=ma.rt);for(var Ta=ka;Ta&&!Ta.hasOwnProperty(h);)Ta=hda(Ta);!Ta&&ka[h]&&(Ta=ka);if(!Ta||Ta[A])return!1;var Lb=ma&&ma.eventNameToString,qb={},Ya=Ta[A]=Ta[h],wa=Ta[Zb(l)]=Ta[l];ka=Ta[Zb(q)]=Ta[q];var Ka=Ta[Zb(x)]=Ta[x],Na;ma&&ma.prepend&&(Na=Ta[Zb(ma.prepend)]=Ta[ma.prepend]);var eb=function(ib){if(!ib.isRemoved){var Mb=
fc[ib.eventName],jc;Mb&&(jc=Mb[ib.capture?"true":"false"]);if(Mb=jc&&ib.target[jc])for(var Ec=0;Ec<Mb.length;Ec++)if(Mb[Ec]===ib){Mb.splice(Ec,1);ib.isRemoved=!0;0===Mb.length&&(ib.allRemoved=!0,ib.target[jc]=null);break}}if(ib.allRemoved)return wa.call(ib.target,ib.eventName,ib.capture?P:O,ib.options)},ab=function(ib){return Ya.call(qb.target,qb.eventName,ib.invoke,qb.options)},Sc=function(ib){return Na.call(qb.target,qb.eventName,ib.invoke,qb.options)},fb=function(ib){return wa.call(ib.target,ib.eventName,
ib.invoke,ib.options)};ab=ya?function(){if(!qb.isExisting)return Ya.call(qb.target,qb.eventName,qb.capture?P:O,qb.options)}:ab;eb=ya?eb:fb;fb=function(ib,Mb){var jc=typeof Mb;return"function"===jc&&ib.callback===Mb||"object"===jc&&ib.originalDelegate===Mb};var zb=ma&&ma.diff?ma.diff:fb,$a=Zone[Zb("UNPATCHED_EVENTS")],Fb=a[Zb("PASSIVE_EVENTS")];fb=function(ib,Mb,jc,Ec,Vc,df){Vc=void 0===Vc?!1:Vc;df=void 0===df?!1:df;return function(){var Fd=this||a,le=arguments[0];ma&&ma.transferEventName&&(le=ma.transferEventName(le));
var Li=arguments[1];if(!Li||oda&&"uncaughtException"===le)return ib.apply(this,arguments);var oU=!1;if("function"!==typeof Li){if(!Li.handleEvent)return ib.apply(this,arguments);oU=!0}if(!Aa||Aa(ib,Li,Fd,arguments)){var Lo=hc&&!!Fb&&-1!==Fb.indexOf(le);var ig=arguments[2];ig=!hc&&"object"===typeof ig&&ig?!!ig.capture:hc&&Lo?"boolean"===typeof ig?{capture:ig,passive:!0}:ig?"object"===typeof ig&&!1!==ig.passive?Object.assign({},ig,{passive:!0}):ig:{passive:!0}:ig;if($a)for(var qD=0;qD<$a.length;qD++)if(le===
$a[qD])return Lo?ib.call(Fd,le,Li,ig):ib.apply(this,arguments);Lo=ig?"boolean"===typeof ig?!0:ig.capture:!1;qD=ig&&"object"===typeof ig?ig.once:!1;var AAa=Zone.current,Mo=fc[le];Mo||(mda(le,Lb),Mo=fc[le]);var Uq=Mo[Lo?"true":"false"];Mo=Fd[Uq];var Tx=!1;if(Mo){if(Tx=!0,Ma)for(Uq=0;Uq<Mo.length;Uq++)if(zb(Mo[Uq],Li))return}else Mo=Fd[Uq]=[];var Hk;Uq=Fd.constructor.name;var lka=pda[Uq];lka&&(Hk=lka[le]);Hk||(Hk=Uq+Mb+(Lb?Lb(le):le));qb.options=ig;qD&&(qb.options.once=!1);qb.target=Fd;qb.capture=Lo;
qb.eventName=le;qb.isExisting=Tx;if(Tx=ya?qda:void 0)Tx.taskData=qb;Hk=AAa.scheduleEventTask(Hk,Li,Tx,jc,Ec);qb.target=null;Tx&&(Tx.taskData=null);qD&&(ig.once=!0);if(hc||"boolean"!==typeof Hk.options)Hk.options=ig;Hk.target=Fd;Hk.capture=Lo;Hk.eventName=le;oU&&(Hk.originalDelegate=Li);df?Mo.unshift(Hk):Mo.push(Hk);if(Vc)return Fd}}};Ta[h]=fb(Ya,B,ab,eb,Ra);Na&&(Ta.prependListener=fb(Na,".prependListener:",Sc,eb,Ra,!0));Ta[l]=function(){var ib=this||a,Mb=arguments[0];ma&&ma.transferEventName&&(Mb=
ma.transferEventName(Mb));var jc=arguments[2],Ec=jc?"boolean"===typeof jc?!0:jc.capture:!1;jc=arguments[1];if(!jc)return wa.apply(this,arguments);if(!Aa||Aa(wa,jc,ib,arguments)){var Vc=fc[Mb],df;Vc&&(df=Vc[Ec?"true":"false"]);if(Ec=df&&ib[df])for(Vc=0;Vc<Ec.length;Vc++){var Fd=Ec[Vc];if(zb(Fd,jc)){Ec.splice(Vc,1);Fd.isRemoved=!0;0===Ec.length&&(Fd.allRemoved=!0,ib[df]=null,"string"===typeof Mb&&(ib[ec+"ON_PROPERTY"+Mb]=null));Fd.zone.cancelTask(Fd);if(Ra)return ib;return}}return wa.apply(this,arguments)}};
Ta[q]=function(ib){var Mb=this||a,jc=ib;ma&&ma.transferEventName&&(jc=ma.transferEventName(jc));ib=[];Mb=rda(Mb,Lb?Lb(jc):jc);for(jc=0;jc<Mb.length;jc++){var Ec=Mb[jc];ib.push(Ec.originalDelegate?Ec.originalDelegate:Ec.callback)}return ib};Ta[x]=function(ib){var Mb=this||a;if(ib){ma&&ma.transferEventName&&(ib=ma.transferEventName(ib));var jc=fc[ib];if(jc){var Ec=Mb[jc["false"]];Mb=Mb[jc["true"]];if(Ec)for(Ec=Ec.slice(),jc=0;jc<Ec.length;jc++){var Vc=Ec[jc];this[l].call(this,ib,Vc.originalDelegate?
Vc.originalDelegate:Vc.callback,Vc.options)}if(Mb)for(Mb=Mb.slice(),Ec=0;Ec<Mb.length;Ec++)jc=Mb[Ec],this[l].call(this,ib,jc.originalDelegate?jc.originalDelegate:jc.callback,jc.options)}}else{ib=Object.keys(Mb);for(Mb=0;Mb<ib.length;Mb++)(Ec=(Ec=sda.exec(ib[Mb]))&&Ec[1])&&"removeListener"!==Ec&&this[x].call(this,Ec);this[x].call(this,"removeListener")}if(Ra)return this};Yb(Ta[h],Ya);Yb(Ta[l],wa);Ka&&Yb(Ta[x],Ka);ka&&Yb(Ta[q],ka);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",
q=d&&d.listeners||"eventListeners",x=d&&d.rmAll||"removeAllListeners",A=Zb(h),B="."+h+":",K=function(ka,ma,ya){if(!ka.isRemoved){var Aa=ka.callback;"object"===typeof Aa&&Aa.handleEvent&&(ka.callback=function(Ta){return Aa.handleEvent(Ta)},ka.originalDelegate=Aa);try{ka.invoke(ka,ma,[ya])}catch(Ta){var Ma=Ta}var Ra=ka.options;Ra&&"object"===typeof Ra&&Ra.once&&ma[l].call(ma,ya.type,ka.originalDelegate?ka.originalDelegate:ka.callback,Ra);return Ma}},O=function(ka){return e(this,ka,!1)},P=function(ka){return e(this,
ka,!0)},Y=[],X=0;X<c.length;X++)Y[X]=g(c[X],d);return Y},rda=function(a,b){if(!b){var c=[],d;for(d in a){var e=sda.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=fc[b];c||(mda(b),c=fc[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},uda=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[nda]=!0;c&&c.apply(d,e)}})},ic=function(a,b,c,d){function e(x){var A=
x.data;A.args[0]=function(){return x.invoke.apply(this,arguments)};A.handleId=h.apply(a,A.args);return x}function g(x){return l.call(a,x.data.handleId)}var h=null,l=null;b+=d;c+=d;var q={};h=cc(a,b,function(x){return function(A,B){if("function"===typeof B[0]){var K={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?B[1]||0:void 0,args:B},O=B[0];B[0]=function(){try{return O.apply(this,arguments)}finally{K.isPeriodic||("number"===typeof K.handleId?delete q[K.handleId]:K.handleId&&(K.handleId[vda]=
null))}};A=Zone.current.scheduleMacroTask(b,B[0],K,e,g);if(!A)return A;B=A.data.handleId;"number"===typeof B?q[B]=A:B&&(B[vda]=A);B&&B.ref&&B.unref&&"function"===typeof B.ref&&"function"===typeof B.unref&&(A.ref=B.ref.bind(B),A.unref=B.unref.bind(B));return"number"===typeof B||B?B:A}return x.apply(a,B)}});l=cc(a,c,function(x){return function(A,B){A=B[0];if("number"===typeof A)var K=q[A];else(K=A&&A[vda])||(K=A);K&&"string"===typeof K.type?"notScheduled"!==K.state&&(K.cancelFn&&K.data.isPeriodic||
0===K.runCount)&&("number"===typeof A?delete q[A]:A&&(A[vda]=null),K.zone.cancelTask(K)):x.apply(a,B)}})},wda=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,x){q&&q.prototype&&e.forEach(function(A){var B=c+"."+d+"::"+A,K=q.prototype;try{if(K.hasOwnProperty(A)){var O=a.ObjectGetOwnPropertyDescriptor(K,A);O&&O.value?(O.value=a.wrapWithCurrentZone(O.value,B),a._redefineProperty(q.prototype,A,O)):K[A]&&(K[A]=a.wrapWithCurrentZone(K[A],B))}else K[A]&&(K[A]=a.wrapWithCurrentZone(K[A],
B))}catch(P){}});return h.call(b,l,q,x)};a.attachOriginToPatched(b[d],h)}},xda=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)})},yda=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},Fda=function(){zda=Zone.__symbol__;Ada=Object[zda("defineProperty")]=
Object.defineProperty;Bda=Object[zda("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Cda=Object.create;kc=zda("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[kc]&&a[kc][b])throw new TypeError("ta`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=Dda(a,b,c));return Eda(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]=Dda(a,c,b[c])});return Cda(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Bda(a,b);c&&a&&a[kc]&&a[kc][b]&&(c.configurable=!1);return c}},Gda=function(a,b,c){var d=c.configurable;c=Dda(a,b,c);return Eda(a,b,c,d)},Dda=function(a,b,c){Object.isFrozen(c)||(c.configurable=
!0);c.configurable||(a[kc]||Object.isFrozen(a)||Ada(a,kc,{writable:!0,value:{}}),a[kc]&&(a[kc][b]=!0));return c},Eda=function(a,b,c,d){try{return Ada(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return Ada(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;}},Hda=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,x="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var A="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=A.map(function(ma){return"HTML"+ma+"Element"}).concat(x):
a.EventTarget?c.push("EventTarget"):c=x;var B=a.__Zone_disable_IE_check||!1,K=a.__Zone_enable_cross_context_check||!1,O=b.isIEOrEdge(),P={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(x=0;x<d.length;x++){var Y=d[x],X=q+(Y+l),ka=q+(Y+h);g[Y]={};g[Y][l]=X;g[Y][h]=ka}for(g=0;g<A.length;g++)for(h=
A[g],l=e[h]={},q=0;q<d.length;q++)x=d[q],l[x]=h+".addEventListener:"+x;d=[];for(e=0;e<c.length;e++)A=a[c[e]],d.push(A&&A.prototype);b.patchEventTarget(a,b,d,{vh:function(ma,ya,Aa,Ma){if(!B&&O)if(K)try{var Ra=ya.toString();if("[object FunctionWrapper]"===Ra||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Ra)return ma.apply(Aa,Ma),!1}catch(Ta){return ma.apply(Aa,Ma),!1}else{if(ya=ya.toString(),"[object FunctionWrapper]"===ya||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
ya)return ma.apply(Aa,Ma),!1}else if(K)try{ya.toString()}catch(Ta){return ma.apply(Aa,Ma),!1}return!0},transferEventName:function(ma){return P[ma]||ma}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Ida=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 x=1<arguments.length?new g(l,q):new g(l),A=a.ObjectGetOwnPropertyDescriptor(x,"onmessage");if(A&&
!1===A.configurable){var B=a.ObjectCreate(x);var K=x;[d,e,"send","close"].forEach(function(O){B[O]=function(){var P=a.ArraySlice.call(arguments);if(O===d||O===e){var Y=0<P.length?P[0]:void 0;Y&&(Y=Zone.__symbol__("ON_PROPERTY"+Y),x[Y]=B[Y])}return x[O].apply(x,P)}})}else B=x;a.patchOnProperties(B,["close","error","message","open"],K);return B};c=b.WebSocket;for(var h in g)c[h]=g[h]},Jda=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},Lda=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Kda.length;c={$jscomp$loop$prop$onproperty$2239:c.$jscomp$loop$prop$onproperty$2239},
d++){var e=Kda[d];c.$jscomp$loop$prop$onproperty$2239="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$2239:"unknown."+g.$jscomp$loop$prop$onproperty$2239;h;){if(h[g.$jscomp$loop$prop$onproperty$2239]&&!h[g.$jscomp$loop$prop$onproperty$2239][b]){var q=a.wrapWithCurrentZone(h[g.$jscomp$loop$prop$onproperty$2239],l);q[b]=h[g.$jscomp$loop$prop$onproperty$2239];h[g.$jscomp$loop$prop$onproperty$2239]=q}h=h.parentElement}}}(c),
!0)}},lc=function(a){for(var b in a)if(a[b]===lc)return b;throw Error("ua");},Mda=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},mc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},nc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Pda=function(a){var b;(b=a.hasOwnProperty(Nda)?a[Nda]:null)||(b=a.hasOwnProperty(Oda)?a[Oda]:null);return b},Qda=function(a){return(a=a&&(a[Nda]||a[Oda]))?a:null},
Tda=function(a){return a&&(a.hasOwnProperty(Rda)||a.hasOwnProperty(Sda))?a[Rda]:null},oc=function(a){return"string"===typeof a?a:null==a?"":String(a)},pc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(pc).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)},Uda=function(a,b){return null==a||""===a?null===b?"":b:null==b||
""===b?a:a+" "+b},Vda=function(){throw new qc(-201,!1);},rc=function(a){var b=Wda;Wda=a;return b},Xda=function(a,b,c){var d=Pda(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;Vda(pc(a))},sc=function(a){a.__forward_ref__=sc;a.toString=function(){return pc(this())};return a},tc=function(a){return Yda(a)?a():a},Yda=function(a){return"function"===typeof a&&a.hasOwnProperty(Zda)&&a.__forward_ref__===sc},vc=function(a){var b=uc;
uc=a;return b},$da=function(a,b){b=void 0===b?0:b;if(void 0===uc)throw new qc(-203,!1);return null===uc?Xda(a,void 0,b):uc.get(a,b&8?null:void 0,b)},u=function(a,b){b=void 0===b?0:b;return(Wda||$da)(tc(a),b)},wc=function(a,b){return u(a,aea(void 0===b?0:b))},aea=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},bea=function(a){for(var b=[],c=0;c<a.length;c++){var d=tc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new qc(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(u(e,g))}else b.push(u(d))}return b},xc=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},cea=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}},dea=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++}},yc=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?eea(a,c,e,b[++d]):eea(a,c,e,null))}return a},eea=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)},fea=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 x=d&8?q:b[++l];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var A=c,B=0,K=!0;B<q.length;){var O=q[B++];if("string"===typeof O&&K){var P=q[B++];if(A&&"class"===O&&-1!==cea(P.toLowerCase(),x)){x=!0;break a}}else if(1===O){for(;B<q.length&&"string"==typeof(O=q[B++]);)if(O.toLowerCase()===x){x=!0;break a}break}else"number"===typeof O&&(K=!1)}x=!1}if(!x){if(0===(d&1))return!1;h=!0}}else{a:if(q=
d&8?"class":q,null===e)q=-1;else if(A=0,c||4!==a.type||"ng-template"===a.value){for(B=!1;A<e.length;){K=e[A];if(K===q){q=A;break a}if(3===K||6===K)B=!0;else if(1===K||2===K){for(K=e[++A];"string"===typeof K;)K=e[++A];continue}else if(4===K)break;else if(0===K){A+=4;continue}A+=B?1:2}q=-1}else b:{A=e.indexOf(4);if(-1<A)for(A++;A<e.length;){B=e[A];if("number"===typeof B)break;if(B===q){q=A;break b}A++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==x&&(q=q>g?"":e[q+1].toLowerCase(),(A=d&8?q:
null)&&-1!==cea(A,x)||d&2&&x!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},gea=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(fea(a,b[d],c))return!0;return!1},hea=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},
zc=function(a){return{toString:a}.toString()},Bc=function(a){return zc(function(){var b=iea(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||Ac,_:null,schemas:a.schemas||null,tView:null,
id:""});jea(b);c=a.dependencies;b.directiveDefs=kea(c,!1);b.pipeDefs=kea(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})},lea=function(a,b){a=
a.\u0275cmp;a.directiveDefs=kea(b,!1);a.pipeDefs=kea([],!0)},nea=function(a){return a[Cc]||a[mea]||null},oea=function(a){return null!==a},Dc=function(a){return zc(function(){return{type:a.type,bootstrap:a.bootstrap||Ac,declarations:a.declarations||Ac,imports:a.imports||Ac,exports:a.exports||Ac,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},pea=function(a,b){if(null==a)return Fc;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},Gc=function(a){return zc(function(){var b=iea(a);jea(b);return b})},Hc=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}},rea=function(a){return a[qea]||null},iea=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||Fc,exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||Ac,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pea(a.inputs,b),outputs:pea(a.outputs)}},jea=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},kea=function(a,b){if(!a)return null;var c=b?rea:nea;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(oea)}},
Ic=function(a){return a.hasOwnProperty(sea)?a[sea]:null},tea=function(a,b){a.forEach(function(c){return Array.isArray(c)?tea(c,b):b(c)})},uea=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},vea=function(a,b){for(var c=[],d=0;d<a;d++)c.push(b);return c},Kc=function(a,b,c){var d=Jc(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},wea=function(a,b){b=Jc(a,
b);if(0<=b)return a[b|1]},Jc=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)},yea=function(){return{"\u0275providers":xea(!0,Lc.apply(0,arguments)),"\u0275fromNgModule":!0}},xea=function(a){var b=[],c=new Set,d;tea(Lc.apply(1,arguments),function(e){zea(e,b,[],c)&&(d||(d=[]),d.push(e))});void 0!==d&&Aea(d,b);return b},Aea=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$providers$2241:c.$jscomp$loop$prop$providers$2241,
$jscomp$loop$prop$ngModule$2242:c.$jscomp$loop$prop$ngModule$2242},d++){var e=a[d];c.$jscomp$loop$prop$ngModule$2242=e.ngModule;c.$jscomp$loop$prop$providers$2241=e.providers;Bea(c.$jscomp$loop$prop$providers$2241,function(){return function(g){b.push(g)}}(c))}},zea=function(a,b,c,d){a=tc(a);if(!a)return!1;var e=null,g=Tda(a),h=!g&&(a[Cc]||null);if(g||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(g=Tda(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())zea(l.value,b,c,d)}else if(g){if(null!=g.imports&&!l){d.add(e);var q;tea(g.imports,function(x){zea(x,b,c,d)&&(q||(q=[]),q.push(x))});void 0!==q&&Aea(q,b)}l||(h=Ic(e)||function(){return new e},b.push({provide:e,useFactory:h,deps:Ac},{provide:Cea,useValue:e,multi:!0},{provide:Dea,useValue:function(){return u(e)},multi:!0}));g=g.providers;null==g||l||Bea(g,function(x){b.push(x)})}else return!1;return e!==
a&&void 0!==a.providers},Bea=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)?Bea(c,b):b(c)},Fea=function(a){return null!==a&&"object"==typeof a&&Eea in a},Mc=function(a){return"function"===typeof a},Iea=function(){void 0===Gea&&(Gea=new Hea);return Gea},Kea=function(a){var b=Pda(a);b=null!==b?b.factory:Ic(a);if(null!==b)return b;if(a instanceof Nc)throw new qc(204,!1);if(a instanceof Function)return Jea(a);throw new qc(204,
!1);},Jea=function(a){var b=a.length;if(0<b)throw vea(b,"?"),new qc(204,!1);var c=Qda(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},Nea=function(a){if(Fea(a))return Oc(void 0,a.useValue);a=Lea(a);return Oc(a,Mea)},Lea=function(a){var b=void 0;if(Mc(a))return b=tc(a),Ic(b)||Kea(b);if(Fea(a))b=function(){return tc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,Pc(bea(a.deps||[])))};else if(a&&a.useExisting)b=function(){return u(tc(a.useExisting))};
else{var c=tc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(Pc(bea(a.deps)))))};else return Ic(c)||Kea(c)}return b},Oc=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Oea=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Oea(c,b):c&&c&&c.\u0275providers?Oea(c.\u0275providers,b):b(c)},Pea=function(a){return function(){var b=Lc.apply(0,arguments);if(a){b=a.apply(null,Pc(b));
for(var c in b)this[c]=b[c]}}},Qc=function(a){return zc(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=Lc.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var g=new (Function.prototype.bind.apply(b,[null].concat(Pc(e))));d.annotation=g;return d}var c=Pea(a);return b})},Rc=function(a){return Array.isArray(a)&&
"object"===typeof a[1]},Tc=function(a){return Array.isArray(a)&&!0===a[1]},Uc=function(){return Qea},Qea=function(a){a.type.prototype.ngOnChanges&&(a.setInput=Rea);return Sea},Sea=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===Fc)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Rea=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:Fc,current:null});
var g=e;e=g.current||(g.current={});g=g.previous;var h=g[c];e[c]=new Tea(h&&h.currentValue,b,g===Fc);a[d]=b},Wc=function(a){for(;Array.isArray(a);)a=a[0];return a},Xc=function(a,b){return Wc(b[a.index])},Yc=function(a,b){a=b[a];return Rc(a)?a:a[0]},Zc=function(a,b){return null===b||void 0===b?null:a[b]},Vea=function(a){a[2]&1024&&(a[2]&=-1025,Uea(a,-1))},Uea=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]}},v=function(){return $c.lView},
w=function(a){$c.contextLView=a;return a[8]},y=function(a){$c.contextLView=null;return a},ad=function(){for(var a=$c.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},bd=function(a,b){var c=$c;c.currentTNode=a;c.isParent=b},cd=function(){var a=$c,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},dd=function(a){var b=$c,c=b.bindingIndex;b.bindingIndex+=a;return c},Wea=function(a){var b=$c.currentDirectiveIndex;return-1===b?null:a[b]},Yea=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=$c=Xea();c.currentTNode=b;c.lView=a;return!0},Zea=function(a){var b=Xea(),c=a[1];$c=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},Xea=function(){var a=$c,b=null===a?null:a.child;return null===b?$ea(a):b},$ea=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},afa=function(){var a=$c;$c=a.parent;a.currentTNode=null;a.lView=null;return a},bfa=function(){var a=afa();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},ed=function(){var a=$c;return a.tView.data[a.selectedIndex]},fd=function(){$c.currentNamespace="svg"},gd=function(){$c.currentNamespace=null},hd=function(a){var b=cfa;cfa=a;return b},dfa=function(a){var b=hd(null);try{return a()}finally{hd(b)}},efa=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,x=
void 0;(null!=(x=(q=a).contentHooks)?x: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))}},ffa=function(a,b,c,d){(a[2]&3)===c&&id(a,b,c,d)},gfa=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&8191)+1)},id=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],x=b[l+1],A=a[q?-b[l]:b[l]];q?a[2]>>13<a[17]>>16&&(a[2]&3)===c&&(a[2]+=8192,hfa(A,x)):hfa(A,x);a[17]=(a[17]&4294901760)+l+2}l++}},hfa=function(a,b){var c=hd(null);try{b.call(a)}finally{hd(c)}},
ifa=function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},kfa=function(a){var b=jfa;jfa=a;return b},mfa=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(jd)&&(d=c[jd]);null==d&&(d=c[jd]=lfa++);c=d&255;b.data[a+(c>>5)]|=1<<c},qfa=function(a,b){var c=nfa(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,ofa(c.data,a),ofa(b,null),ofa(c.blueprint,null));c=pfa(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=ifa(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},ofa=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},nfa=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},pfa=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=rfa(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},kd=function(a){var b=ad();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},sfa=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=rc();try{return a?a.get(b,d,c&8):Xda(b,d,c&8)}finally{rc(e)}}c&8||void 0!==d?b=d:(Vda(),b=void 0);return b},ufa=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=ld,l=a,q=b;null!==l&&null!==q&&q[2]&2048&&!(q[2]&512);){var x=tfa(l,q,c,g|2);if(x!==ld){g=x;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,ld,g),l!==ld){g=l;break a}l=rfa(q);q=q[14]}}g=h}if(g!==ld)return g}a=tfa(a,b,c,d);if(a!==ld)return a}return sfa(b,c,d,e)},tfa=function(a,b,c,d){var e=ld;if("string"===typeof c)var g=c.charCodeAt(0)||0;else g=c.hasOwnProperty(jd)?c[jd]:void 0,g="number"===typeof g?0<=g?g&255:vfa:g;if("function"===typeof g){if(!Yea(b,a,d))return d&1?d&8||void 0!==
e?b=e:(Vda(),b=void 0):b=sfa(b,c,d,e),b;try{var h=g(d);if(null!=h||d&8)return h;Vda()}finally{afa()}}else if("number"===typeof g){h=null;var l=nfa(a,b),q=d&1?b[15][6]:null;if(-1===l||d&4){var x=-1===l?pfa(a,b):b[l+8];-1===x||d&2?l=-1:(h=b[1],l=x&32767,b=ifa(x,b))}for(;-1!==l;){a=b[1];if(a.data[l+(g>>5)]&1<<g){x=b[1];var A=x.data[l+8],B=wfa(A,x,c,null==h?-1<A.componentOffset&&jfa:h!=x&&0!==(A.type&3),d&1&&q===A);x=null!==B?md(b,x,B,A):ld;if(x!==ld)return x}x=b[l+8];-1!==x&&!(d&2||d&1&&b[1].data[l+
8]===q)&&b[l+(g>>5)]&1<<g?(h=a,l=x&32767,b=ifa(x,b)):l=-1}}return e},wfa=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},md=function(a,b,c,d){var e=a[c],g=b.data;if(e instanceof nd){var h=e;if(h.resolving)throw a=g[c],new qc(-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():oc(a)));var l=kfa(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?rc(h.injectImpl):null;Yea(a,d,0);try{if(e=a[c]=h.factory(void 0,g,a,d),b.firstCreatePass&&c>=d.directiveStart){var x=g[c],A=x.type.prototype,B=A.ngOnInit,K=A.ngDoCheck;if(A.ngOnChanges){var O=Qea(x),P;(null!=(P=b.preOrderHooks)?P:b.preOrderHooks=[]).push(c,O);var Y;(null!=(Y=b.preOrderCheckHooks)?Y:b.preOrderCheckHooks=[]).push(c,O)}if(B){var X;
(null!=(X=b.preOrderHooks)?X:b.preOrderHooks=[]).push(-c,B)}if(K){var ka;(null!=(ka=b.preOrderHooks)?ka:b.preOrderHooks=[]).push(c,K);var ma;(null!=(ma=b.preOrderCheckHooks)?ma:b.preOrderCheckHooks=[]).push(c,K)}}}finally{null!==q&&rc(q),kfa(l),h.resolving=!1,afa()}}return e},vfa=function(){return new od(ad(),v())},pd=function(a){return zc(function(){var b=a.prototype.constructor;b=b[sea]||xfa(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[sea]||
xfa(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(g){return new g}})},xfa=function(a){return Yda(a)?function(){var b=xfa(tc(a));return b&&b()}:Ic(a)},rfa=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[6]:null},Afa=function(a,b,c,d){a=yfa(a,void 0===b?null:b,void 0===c?null:c,d);zfa(a);return a},yfa=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)||Ac,yea(a)];d=d||("object"===typeof a?void 0:pc(a));return new qd(c,b||Iea(),
d||null,e)},Cfa=function(){if(void 0!==Bfa)return Bfa;if("undefined"!==typeof document)return document;throw new qc(210,!1);},sd=function(a,b){return new rd(Xc(a,b))},Dfa=function(a){return a instanceof rd?a.nativeElement:a},td=function(a,b){Rc(b)?(a.__ngContext__=b[19],Efa.set(b[19],b)):a.__ngContext__=b},Ffa=function(a){a=a[3];return Tc(a)?a[3]:a},Gfa=function(a){for(;null!==a&&!Tc(a);)a=a[4];return a},Hfa=function(a){for(;a;){a[2]|=64;var b=Ffa(a);if(0!==(a[2]&512)&&!b)break;a=b}},ud=function(a){return a.ownerDocument.defaultView},
Ifa=function(a){return a.ownerDocument},z=function(a){Jfa($c.tView,v(),$c.selectedIndex+a)},Jfa=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&id(b,a,3,c)):(a=a.preOrderHooks,null!==a&&ffa(b,a,0,c));$c.selectedIndex=c},C=function(a,b){b=void 0===b?0:b;var c=v();return null===c?u(a,b):ufa(ad(),c,tc(a),b)},vd=function(){throw Error("ya");},Mfa=function(){return"".replace(Kfa,function(a){return a.replace(Lfa,"\u200b$1\u200b")})},wd=function(a,b,c,d,e){if(null!=d){var g=!1;if(Tc(d))var h=
d;else Rc(d)&&(g=!0,d=d[0]);d=Wc(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=Wc(h),d!==g&&wd(a,b,c,d,e),e=11;e<h.length;e++)g=h[e],xd(b,a,g[1].firstChild,g,c,d,!1)}},Nfa=function(a,b){a=a[9];var c=a.indexOf(b);Vea(b);a.splice(c,1)},Ofa=function(a,b){if(!(11>=a.length)){var c=11+b,d=a[c];if(d){var e=
d[16];null!==e&&e!==a&&Nfa(e,d);0<b&&(a[c-1][4]=d[4]);a=uea(a,11+b);xd(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}},Qfa=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&&xd(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;Rc(a)?c=a[12]:(d=a[11])&&(c=d);if(!c){for(;a&&!a[4]&&a!==b;)Rc(a)&&Pfa(a[1],a),a=a[3];null===a&&(a=b);
Rc(a)&&Pfa(a[1],a);c=a&&a[4]}a=c}else Pfa(b[1],b)}},Pfa=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 nd)){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&&Tc(b[3])&&(c!==b[3]&&Nfa(c,b),c=b[18],null!==c&&c.detachView(a));Efa.delete(b[19])}},Rfa=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:Xc(b,c)},Sfa=function(a,b,c,d){a=Rfa(a,d.parent,b);var e=b[11];d=d.parent||b[6];b=d.type&40?Xc(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)},Ufa=function(a,b){if(null!==b){var c=b.type;if(c&3)return Xc(b,a);if(c&4)return Tfa(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return Ufa(a,c);a=a[b.index];return Tc(a)?Tfa(-1,a):Wc(a)}if(c&32)return(void 0)(b,a)()||Wc(a[b.index]);c=null!==b?a[15][6].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=Ffa(a[15]);return Ufa(a,c)}return Ufa(a,
b.next)}return null},Tfa=function(a,b){a+=12;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return Ufa(a,c)}return b[7]},xd=function(a,b,c,d,e,g,h){for(;null!=c;){var l=d[c.index],q=c.type;h&&0===b&&(l&&td(Wc(l),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)xd(a,b,c.child,d,e,g,!1),wd(b,a,e,l,g);else if(q&32){q=(void 0)(c,d);for(var x;x=q();)wd(b,a,e,x,g);wd(b,a,e,l,g)}else q&16?Vfa(a,b,d,c,e,g):wd(b,a,e,l,g);c=h?c.projectionNext:c.next}},Vfa=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++)wd(b,a,e,c[d],g);else h=h[3],128===(d.flags&128)&&(c.flags|=128),xd(a,b,c,h,e,g,!0)},Wfa=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&dea(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},Xfa=function(){null!=yd||(yd=new zd);return yd},Yfa=function(a,b){var c;return null!=(c=a[b])?c:Xfa()},Zfa=function(a,b){var c=Xfa();c.hasReadASignal&&(a[b]=yd,c.lView=a,yd=new zd)},
Bd=function(a){return a instanceof Ad?a.changingThisBreaksApplicationSecurity:a},Cd=function(a,b){a=a instanceof Ad&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("za`"+b+"`"+a);}return a===b},aga=function(){if(void 0===$fa&&($fa=null,Dd.trustedTypes))try{$fa=Dd.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return $fa},bga=function(a){var b;return(null==
(b=aga())?void 0:b.createHTML(a))||a},dga=function(a){a=String(a);return a.match(cga)?a:"unsafe:"+a},Ed=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Gd=function(){for(var a={},b=k(Lc.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},gga=function(a){return a.replace(/&/g,"&amp;").replace(ega,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(fga,
function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},qga=function(a,b){var c=null;try{var d;if(!(d=hga)){var e=new iga(a);try{var g=!!(new window.DOMParser).parseFromString(bga(""),"text/html")}catch(ka){g=!1}d=g?new jga(e):e}hga=d;var h=b?String(b):"";c=hga.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("Ba");a--;h=b;b=c.innerHTML;c=hga.getInertBodyElement(h)}while(h!==b);var l=new kga,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 x=b.nodeName.toLowerCase();if(lga.hasOwnProperty(x)){a.buf.push("<");a.buf.push(x);var A=b.attributes;for(b=0;b<A.length;b++){var B=A.item(b),K=B.name,O=K.toLowerCase();if(mga.hasOwnProperty(O)){var P=B.value;nga[O]&&(P=dga(P));a.buf.push(" ",K,'="',gga(P),'"')}}a.buf.push(">");h=!0}else h=!oga.hasOwnProperty(x)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(gga(q.nodeValue));if(h&&q.firstChild)q=q.firstChild;
else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var Y=pga(q,q.nextSibling);if(Y){q=Y;break}q=pga(q,q.parentNode)}}var X=l.buf.join("");return bga(X)}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)}},sga=function(){if(void 0===rga&&(rga=null,Dd.trustedTypes))try{rga=Dd.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},
createScriptURL:function(a){return a}})}catch(a){}return rga},tga=function(a){var b;return(null==(b=sga())?void 0:b.createHTML(a))||a},uga=function(a){var b;return(null==(b=sga())?void 0:b.createScriptURL(a))||a},Hd=function(a){var b=vga();return b?tga(b.sanitize(1,a)||""):Cd(a,"HTML")?tga(Bd(a)):qga(Cfa(),oc(a))},wga=function(a){var b=vga();return b?b.sanitize(2,a)||"":Cd(a,"Style")?Bd(a):oc(a)},Id=function(a){var b=vga();return b?b.sanitize(4,a)||"":Cd(a,"URL")?Bd(a):dga(oc(a))},xga=function(a){var b=
vga();if(b)return uga(b.sanitize(5,a)||"");if(Cd(a,"ResourceURL"))return uga(Bd(a));throw new qc(904,!1);},vga=function(){var a=v();return a&&a[10].sanitizer},zga=function(a,b,c,d,e,g,h,l,q,x,A){var B=b.blueprint.slice();B[0]=e;B[2]=d|140;if(null!==x||a&&a[2]&2048)B[2]|=2048;B[17]=0;B[3]=B[14]=a;B[8]=c;B[10]=h||a&&a[10];B[11]=l||a&&a[11];B[9]=q||a&&a[9]||null;B[6]=g;B[19]=yga++;B[22]=A;B[20]=x;B[15]=2==b.type?a[15]:B;return B},Jd=function(a,b,c,d,e){var g=a.data[b];if(null===g){g=$c.currentTNode;
var h=$c.isParent,l=a.data,q=h?g:g&&g.parent,x=q?q.injectorIndex:-1,A=0;null!==Aga&&(A|=128);b=l[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:x,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:A,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;$c.inI18n&&(g.flags|=32)}else g.type&64&&(g.type=c,g.value=d,g.attrs=e,a=$c,b=a.currentTNode,a=a.isParent?b:b.parent,g.injectorIndex=null===a?-1:a.injectorIndex);bd(g,!0);return g},Bga=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},Cga=function(a,b,c,d,e){var g=Yfa(b,23),h=$c.selectedIndex,l=d&2;try{if($c.selectedIndex=-1,l&&25<b.length&&Jfa(a,b,25),l)g.runInContext(c,d,e);else{var q=hd(null);try{c(d,e)}finally{hd(q)}}}finally{l&&null===b[23]&&Zfa(b,23),$c.selectedIndex=h}},Dga=function(a,b,c){if(0!==(b.flags&4)){var d=hd(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{hd(d)}}},Iga=function(a,b,c){var d=Xc(c,b),e=
c.directiveStart,g=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],l=Xc(c,b),q=Ega(h),x=b[10].rendererFactory,A=16;h.signals?A=4096:h.onPush&&(A=64);h=Fga(b,zga(b,q,null,A,l,c,null,x.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||qfa(c,b);td(d,b);d=c.initialInputs;for(h=e;h<g;h++){l=a.data[h];q=md(b,a,h,c);td(q,b);if(null!==d&&(x=d[h-e],null!==x))for(A=0;A<x.length;){var B=x[A++],K=x[A++],O=x[A++];Gga(l,q,B,K,O)}l.template&&(Yc(c.index,b)[8]=md(b,a,
h,c))}64===(c.flags&64)&&Hga(a,b,c)},Jga=function(a,b,c){c=void 0===c?Xc: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}},Ega=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=Kga(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},Kga=function(a,b,c,d,e,g,h,l,q,x,A){d=25+d;e=d+e;for(var B=[],K=0;K<e;K++)B.push(K<d?null:Kd);x="function"===typeof x?x():x;return B[1]=
{type:a,blueprint:B,template:c,queries:null,viewQuery:l,declTNode:b,data:B.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"===typeof g?g():g,pipeRegistry:"function"===
typeof h?h():h,firstChild:null,schemas:q,consts:x,incompleteFirstPass:!1,ssrId:A}},Lga=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},Ld=function(a,b,c,d,e,g,h,l){var q=Xc(b,c),x=b.inputs,A;!l&&null!=x&&(A=x[d])?(Mga(a,c,A,d,e),-1<b.componentOffset&&(a=Yc(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))},Pga=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 x=g[q];if(gea(c,x.selectors,!1))if(h||(h=[]),x.template)if(null!==x.findHostDirectiveDefs){var A=[];l=l||new Map;x.findHostDirectiveDefs(x,A,l);h.unshift.apply(h,
[].concat(Pc(A),[x]));Nga(a,c,A.length)}else h.unshift(x),Nga(a,c,0);else{l=l||new Map;var B=A=void 0;null==(B=(A=x).findHostDirectiveDefs)||B.call(A,x,h,l);h.push(x)}}g=null===h?null:[h,l];null===g?g=h=null:(h=k(g),g=h.next().value,h=h.next().value);null!==g&&Oga(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 qc(-301,!1);a.push(d[b],g)}c.mergedAttrs=yc(c.mergedAttrs,c.attrs)},Oga=function(a,b,c,d,e,g){for(var h=0;h<d.length;h++){var l=qfa(c,b);mfa(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,x=!1;h=Bga(a,b,d.length,null);for(l=0;l<d.length;l++){var A=d[l];c.mergedAttrs=yc(c.mergedAttrs,A.hostAttrs);var B=a,K=c,O=b,P=h;B.data[P]=A;var Y=A.factory||(A.factory=Ic(A.type));Y=new nd(Y,!!A.template);B.blueprint[P]=Y;O[P]=Y;var X=K;O=Bga(B,O,A.hostVars,Kd);if(K=A.hostBindings){Y=B.hostBindingOpCodes;null===
Y&&(Y=B.hostBindingOpCodes=[]);B=~X.index;a:{for(X=Y.length;0<X;){var ka=Y[--X];if("number"===typeof ka&&0>ka){X=ka;break a}}X=0}X!=B&&Y.push(B);Y.push(P,O,K)}B=h;if(P=e){if(A.exportAs)for(O=0;O<A.exportAs.length;O++)P[A.exportAs[O]]=B;A.template&&(P[""]=B)}null!==A.contentQueries&&(c.flags|=4);if(null!==A.hostBindings||null!==A.hostAttrs||0!==A.hostVars)c.flags|=64;A=A.type.prototype;!q&&(A.ngOnChanges||A.ngOnInit||A.ngDoCheck)&&(B=q=void 0,(null!=(B=(q=a).preOrderHooks)?B:q.preOrderHooks=[]).push(c.index),
q=!0);x||!A.ngOnChanges&&!A.ngDoCheck||(A=x=void 0,(null!=(A=(x=a).preOrderCheckHooks)?A:x.preOrderCheckHooks=[]).push(c.index),x=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){x=a[q];B=(A=g?g.get(x):null)?A.outputs:null;h=Lga(x.inputs,q,h,A?A.inputs:null);l=Lga(x.outputs,q,l,B);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)x=null;else{x=h;A=q;B=null;for(P=0;P<d.length;)if(O=d[P],0===O)P+=4;else{if(5!==O){if("number"===typeof O)break;if(x.hasOwnProperty(O))for(null===
B&&(B=[]),K=x[O],Y=0;Y<K.length;Y+=2)if(K[Y]===A){B.push(O,K[Y+1],d[P+1]);break}}P+=2}x=B}e.push(x)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},Hga=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,g=c.index;c=$c.currentDirectiveIndex;try{for($c.selectedIndex=g;d<e;d++){var h=a.data[d],l=b[d];$c.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,
l)}}finally{$c.selectedIndex=-1,$c.currentDirectiveIndex=c}},Nga=function(a,b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},Qga=function(a,b,c,d,e,g){var h=Xc(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,g):(d=null==e?oc(d):e(d,a||"",c),b.setAttribute(h,c,d,g))},Gga=function(a,b,c,d,e){var g=hd(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{hd(g)}},Rga=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];$c.currentQueryIndex=e;h.contentQueries(2,b[g],g)}}},Fga=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},Sga=function(a,b,c){$c.currentQueryIndex=0;var d=hd(null);try{b(a,c)}finally{hd(d)}},Tga=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]},Uga=function(a,b){(a=(a=a[9])?a.get(Md,null):
null)&&a.handleError(b)},Mga=function(a,b,c,d,e){for(var g=0;g<c.length;){var h=c[g++],l=c[g++];Gga(a.data[h],b[h],d,l,e)}},Vga=function(a,b){var c=Wc(a[$c.selectedIndex]);a[11].setValue(c,b)},Wga=function(a,b,c){Zea(b);try{var d=a.viewQuery;null!==d&&Sga(1,d,c);var e=a.template;null!==e&&Cga(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&Rga(a,b);a.staticViewQueries&&Sga(2,a.viewQuery,c);var g=a.components;if(null!==g)for(c=0;c<g.length;c++){var h=Yc(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);Wga(l,h,h[8])}}catch(x){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),x;}finally{b[2]&=-5,bfa()}},Xga=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=Uda(e,l);else if(2==g){var q=b[++h];d=Uda(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=
e:a.classesWithoutHost=e},Yga=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var g=b[c.index];null!==g&&d.push(Wc(g));if(Tc(g)){for(var h=11;h<g.length;h++){var l=g[h],q=l[1].firstChild;null!==q&&Yga(l[1],l,q,d)}g[7]!==g[0]&&d.push(g[7])}g=c.type;if(g&8)Yga(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,Pc(g)):(h=Ffa(b[15]),Yga(h[1],h,g,d,!0)));c=e?c.projectionNext:c.next}return d},
$ga=function(a,b,c,d){d=void 0===d?!0:d;var e=b[10].rendererFactory;e.begin&&e.begin();try{Zga(a,b,a.template,c)}catch(h){throw d&&Uga(b,h),h;}finally{e.end&&e.end();var g;null!=(g=b[10].effectManager)&&g.flush()}},Zga=function(a,b,c,d){var e=b[2];if(256!==(e&256)){var g;null!=(g=b[10].effectManager)&&g.flush();Zea(b);try{b[17]=0;$c.bindingIndex=a.bindingStartIndex;null!==c&&Cga(a,b,c,2,d);if(c=3===(e&3)){var h=a.preOrderCheckHooks;null!==h&&id(b,h,3,null)}else{var l=a.preOrderHooks;null!==l&&ffa(b,
l,0,null);gfa(b,0)}for(var q=Gfa(b[12]);null!==q;q=Gfa(q[4]))if(q[2]){var x=q[9];for(h=0;h<x.length;h++){var A=x[h];0===(A[2]&1024)&&(A[2]|=1024,Uea(A,1))}}aha(b,2);null!==a.contentQueries&&Rga(a,b);if(c){var B=a.contentCheckHooks;null!==B&&id(b,B,3)}else{var K=a.contentHooks;null!==K&&ffa(b,K,1);gfa(b,1)}var O=a.hostBindingOpCodes;if(null!==O){var P=Yfa(b,24);try{for(q=0;q<O.length;q++){var Y=O[q];if(0>Y)$c.selectedIndex=~Y;else{x=Y;var X=O[++q],ka=O[++q];A=$c;A.bindingIndex=A.bindingRootIndex=X;
$c.currentDirectiveIndex=x;P.runInContext(ka,2,b[x])}}}finally{null===b[24]&&Zfa(b,24),$c.selectedIndex=-1}}var ma=a.components;if(null!==ma)for(O=0;O<ma.length;O++){var ya=Yc(ma[O],b);bha(ya,0)}var Aa=a.viewQuery;null!==Aa&&Sga(2,Aa,d);if(c){var Ma=a.viewCheckHooks;null!==Ma&&id(b,Ma,3)}else{var Ra=a.viewHooks;null!==Ra&&ffa(b,Ra,2);gfa(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);b[2]&=-73;Vea(b)}finally{bfa()}}},aha=function(a,b){for(a=Gfa(a[12]);null!==a;a=Gfa(a[4]))for(var c=11;c<a.length;c++)bha(a[c],
b)},bha=function(a,b){if(128===(a[2]&128)){var c=a[1];if(a[2]&80&&0===b||a[2]&1024||2===b)Zga(c,a,c.template,a[8]);else if(0<a[5]&&(aha(a,1),b=a[1].components,null!==b))for(c=0;c<b.length;c++){var d=Yc(b[c],a);bha(d,1)}}},cha=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});return b},dha=function(){efa(v()[1],ad())},eha=function(a,b,c){return new Nd(a,b,c)},gha=function(a,b,c){return(new fha({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},
Od=function(a){return!!a&&"function"===typeof a.then},hha=function(a){return!!a&&"function"===typeof a.subscribe},Pd=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=iha(b))return a;b=b.split("-")[0];if(a=iha(b))return a;if("en"===b)return jha;throw new qc(701,!1);},iha=function(a){a in kha||(kha[a]=Dd.ng&&Dd.ng.common&&Dd.ng.common.locales&&Dd.ng.common.locales[a]);return kha[a]},Qd=function(a){setTimeout(function(){throw a;},0)},Rd=function(a){return"function"===typeof a},lha=function(a){return null!==
a&&"object"===typeof a},mha=function(a){return a instanceof Sd||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},nha=function(a){return a.reduce(function(b,c){return b.concat(c instanceof Td?c.errors:c)},[])},oha=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof Ud?a=c:a=null}return!0},Vd=function(a){return a},pha=function(a){return 0===a.length?Vd:1===a.length?a[0]:function(b){return a.reduce(function(c,
d){return d(c)},b)}},qha=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},rha=function(a){a||(a=Wd.Promise||Promise);if(!a)throw Error("Ea");return a},sha=function(a){return new Xd(function(b){return a.schedule(function(){return b.complete()})})},tha=function(a,b){return new Xd(function(c){var d=new Sd,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},Yd=function(a,
b){return b?tha(a,b):new Xd(uha(a))},Zd=function(a){return a&&"function"===typeof a.schedule},vha=function(){var a=Lc.apply(0,arguments),b=a[a.length-1];return Zd(b)?(a.pop(),tha(a,b)):Yd(a)},wha=function(a){a.subscriber.error(a.error)},$d=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Fa");},xha=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("Fa");},ae=function(){return function(a){return $d(a,new yha)}},D=function(a){return function(b){if("function"!==
typeof a)throw new TypeError("Ga");return $d(b,new zha(a))}},Aha=function(a,b,c){if(b)if(Zd(b))c=b;else return function(){return Aha(a,c).apply(null,Pc(Lc.apply(0,arguments))).pipe(D(function(d){return be(d)?b.apply(null,Pc(d)):b(d)}))};return function(){var d=Lc.apply(0,arguments),e=this,g,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new Xd(function(l){if(c)return c.schedule(Bha,0,{args:d,subscriber:l,params:h});if(!g){g=new ce;var q=function(){var x=Lc.apply(0,arguments);g.next(1>=
x.length?x[0]:x);g.complete()};try{a.apply(e,[].concat(Pc(d),[q]))}catch(x){oha(g)?g.error(x):console.warn(x)}}return g.subscribe(l)})}},Bha=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 ce;e=function(){var q=Lc.apply(0,arguments);b.add(h.schedule(Cha,0,{value:1>=q.length?q[0]:q,subject:l}))};try{a.apply(g,[].concat(Pc(c),[e]))}catch(q){l.error(q)}}this.add(l.subscribe(d))},Cha=function(a){var b=a.subject;
b.next(a.value);b.complete()},Dha=function(a,b,c){if(b)if(Zd(b))c=b;else return function(){return Dha(a,c).apply(null,Pc(Lc.apply(0,arguments))).pipe(D(function(d){return be(d)?b.apply(null,Pc(d)):b(d)}))};return function(){var d=Lc.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new Xd(function(g){var h=e.context,l=e.subject;if(c)return c.schedule(Eha,0,{params:e,subscriber:g,context:h});if(!l){l=e.subject=new ce;var q=function(){var x=Lc.apply(0,arguments),
A=x.shift();A?l.error(A):(l.next(1>=x.length?x[0]:x),l.complete())};try{a.apply(h,[].concat(Pc(d),[q]))}catch(x){oha(l)?l.error(x):console.warn(x)}}return l.subscribe(g)})}},Eha=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 ce;c=function(){var q=Lc.apply(0,arguments),x=q.shift();x?b.add(h.schedule(Fha,0,{err:x,subject:l})):b.add(h.schedule(Gha,0,{value:1>=q.length?q[0]:q,subject:l}))};try{e.apply(a,[].concat(Pc(g),
[c]))}catch(q){this.add(h.schedule(Fha,0,{err:q,subject:l}))}}this.add(l.subscribe(d))},Gha=function(a){var b=a.subject;b.next(a.value);b.complete()},Fha=function(a){a.subject.error(a.err)},Hha=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},Jha=function(a){return function(b){Iha(a,b).catch(function(c){return b.error(c)})}},Iha=function(a,b){var c,d,e,g,h,l;return de(function(q){switch(q.nextAddress){case 1:ee(q,2,3);var x=a[Symbol.asyncIterator];g=void 0!==x?x.call(a):
new Kha(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:fe(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:fe(q,0,0,1);if(c)throw c.error;ge(q,10,1);break;case 10:ge(q,4);break;case 2:l=he(q);c={error:l};q.jumpTo(3);break;case 4:b.complete(),ie(q)}})},je=function(a,b){if(!b.closed)return a instanceof Xd?a.subscribe(b):Lha(a)(b)},Mha=function(a,
b){if(!a)throw Error("Ja");return new Xd(function(c){var d=new Sd;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})},Nha=function(a,b){if(!a)throw Error("Ja");return new Xd(function(c){var d=new Sd,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[ke]();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})},Oha=function(a,b){return new Xd(function(c){var d=new Sd;d.add(b.schedule(function(){var e=a[me]();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})},Pha=function(a,b){return new Xd(function(c){var d=
new Sd;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})},Rha=function(a,b){if(null!=a){if(a&&"function"===typeof a[me])return Oha(a,b);if(Hha(a))return Pha(a,b);if(Qha(a))return tha(a,b);if(a&&"function"===typeof a[ke]||"string"===typeof a)return Nha(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return Mha(a,
b)}throw new TypeError("Ka`"+(null!==a&&typeof a||a));},ne=function(a,b){return b?Rha(a,b):a instanceof Xd?a:new Xd(Lha(a))},oe=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(oe(function(e,g){return ne(a(e,g)).pipe(D(function(h,l){return b(e,h,g,l)}))},c))};"number"===typeof b&&(c=b);return function(d){return $d(d,new Sha(a,c))}},pe=function(a){a=void 0===a?Infinity:a;return oe(Vd,a)},qe=function(){return pe(1)(vha.apply(null,Pc(Lc.apply(0,arguments))))},
Tha=function(a){return new Xd(function(b){try{var c=a()}catch(d){b.error(d);return}return ne(c).subscribe(b)})},Wha=function(a){return new Xd(function(b){var c=a||Uha,d=c.now(),e=function(h){var l=c.now();b.next({timestamp:a?l:h,elapsed:l-d});b.closed||(g=Vha(e))};var g=Vha(e);return function(){return g.unsubscribe()}})},Xha=function(a,b){return new Xd(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$2249:0};l.$jscomp$loop$prop$i$2249<d;l={$jscomp$loop$prop$hasValue$2250:l.$jscomp$loop$prop$hasValue$2250,
$jscomp$loop$prop$i$2249:l.$jscomp$loop$prop$i$2249},l.$jscomp$loop$prop$i$2249++){var q=ne(a[l.$jscomp$loop$prop$i$2249]);l.$jscomp$loop$prop$hasValue$2250=!1;c.add(q.subscribe({next:function(x){return function(A){x.$jscomp$loop$prop$hasValue$2250||(x.$jscomp$loop$prop$hasValue$2250=!0,h++);e[x.$jscomp$loop$prop$i$2249]=A}}(l),error:function(x){return c.error(x)},complete:function(x){return function(){g++;g!==d&&x.$jscomp$loop$prop$hasValue$2250||(h===d&&c.next(b?b.reduce(function(A,B,K){return A[B]=
e[K],A},{}):e),c.complete())}}(l)}))}})},Yha=function(a,b,c,d){Rd(c)&&(d=c,c=void 0);return d?Yha(a,b,c).pipe(D(function(e){return be(e)?d.apply(null,Pc(e)):d(e)})):new Xd(function(e){Zha(a,b,function(g){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(g)},e,c)})},Zha=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++)Zha(a[h],b,c,d,e);else throw new TypeError("La");d.add(g)},$ha=function(a,b,c){return c?$ha(a,b).pipe(D(function(d){return be(d)?c.apply(null,Pc(d)):c(d)})):new Xd(function(d){var e=function(){var h=Lc.apply(0,arguments);return d.next(1===
h.length?h[0]:h)};try{var g=a(e)}catch(h){d.error(h);return}if(Rd(b))return function(){return b(e,g)}})},aia=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)}},bia=function(a){return!be(a)&&
0<=a-parseFloat(a)+1},cia=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)},re=function(){},dia=function(){var a=Lc.apply(0,arguments);if(0===a.length)return se;var b=k(a),c=b.next().value,d=te(b);return 1===a.length&&be(c)?dia.apply(null,Pc(c)):new Xd(function(e){var g=function(){return e.add(dia.apply(null,Pc(d)).subscribe(e))};return ne(c).subscribe({next:function(h){e.next(h)},error:g,complete:g})})},eia=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()},ue=function(a,b){return function(c){return $d(c,new fia(a,b))}},gia=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},iia=function(){var a=Lc.apply(0,arguments);if(1===a.length)if(be(a[0]))a=a[0];else return ne(a[0]);return $d(Yd(a),new hia)},jia=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)))},kia=function(a){return a instanceof Date&&!isNaN(a)},mia=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(Zd(b)?c=b:d=b);Zd(c)||(c=ve);return new Xd(function(e){var g=Math.max(0,kia(a)?+a-c.now():a);return c.schedule(lia,g,{counter:0,period:d,subscriber:e})})},lia=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)}},we=function(a){var b;return function(c){var d=void 0,e=void 0,g=null,h;b=null!=(h=b)?h:ve;if(kia(a))var l=a;else if("number"===typeof a)d=a;else{l=a.first;d=a.each;e=a.with;b=a.scheduler||ve;var q;g=null!=(q=a.meta)?q:null}var x;e=null!=(x=e)?x:nia;if(null==l&&null==d)throw new TypeError("Na");return $d(c,function(A){var B=this,K=new Sd,O,P=null,Y=null,X=0,ka=function(ma){K.add(P=b.schedule(function(){var ya={meta:g,lastValue:Y,seen:X};try{var Aa=ne(e(ya))}catch(Ma){B.error(Ma);return}O.unsubscribe();
K.add(Aa.subscribe(B))},ma))};K.add(O=A.subscribe({next:function(ma){var ya;null==(ya=P)||ya.unsubscribe();P=null;X++;Y=ma;null!=d&&0<d&&ka(d);B.next(ma)},error:function(ma){return B.error(ma)},complete:function(){return B.complete()}}));A=null!=l?"number"===typeof l?l:+l-b.now():d;ka(A);return K})}},nia=function(a){throw new oia(a);},qia=function(a){return a in pia?(delete pia[a],!0):!1},sia=function(a){"undefined"===typeof Zone?ria.then(function(){a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",
a)},tia=function(a){return function(b){setTimeout(a,void 0,b)}},uia=function(){},wia=function(a){return function(b){return $d(b,new via(a))}},xe=function(a,b){b=void 0===b?ve:b;return wia(function(){return mia(a,b)})},yia=function(a){return function(b){return $d(b,new xia(a))}},ye=function(a){return function(b){return $d(b,function(c){var d=this,e=new Sd,g=null,h=!1,l;g=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{l=ne(a(q,ye(a)(c)))}catch(x){d.error(x)}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})}},Aia=function(){var a=Lc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&be(a[0])&&(a=a[0].slice());return function(c){return xha(c,ne([c].concat(Pc(a))),new zia(b))}},Bia=function(){return Aia.apply(null,Pc(Lc.apply(0,arguments)))},Cia=function(){var a=Lc.apply(0,arguments);return function(b){return xha(b,qe.apply(null,
[b].concat(Pc(a))))}},Dia=function(){var a=Lc.apply(0,arguments);return function(b){return xha(b,qe.apply(null,[b].concat(Pc(a))))}},Fia=function(a){return function(b){return $d(b,new Eia(a))}},ze=function(a,b){b=void 0===b?ve:b;return function(c){return $d(c,new Gia(a,b))}},Iia=function(a){Hia(a)},Kia=function(a){a=void 0===a?null:a;return function(b){return $d(b,new Jia(a))}},Ae=function(a,b){b=void 0===b?ve:b;var c=kia(a)?+a-b.now():Math.abs(a);return function(d){return $d(d,new Lia(c,b))}},Be=
function(a){return function(b){return $d(b,new Mia(a))}},Ce=function(){if(isNaN(1))throw new TypeError("Oa");return function(a){return $d(a,new Nia)}},Qia=function(a){a=void 0===a?Oia:a;return function(b){return $d(b,new Pia(a))}},Oia=function(){return new De},Ee=function(a){return function(b){return $d(b,new Ria(a))}},Fe=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?ue(function(e,g){return a(e,g,d)}):Vd,Ce(),c?Kia(b):Qia(function(){return new De}))}},Tia=function(){return function(a){return $d(a,
new Sia)}},Via=function(){if(isNaN(1))throw new TypeError("Oa");return function(a){return $d(a,new Uia)}},Wia=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?ue(function(e,g){return a(e,g,d)}):Vd,Via(),c?Kia(b):Qia(function(){return new De}))}},Ge=function(a){return function(b){return $d(b,new Xia(a))}},He=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return $d(d,new Yia(a,b,c))}},$ia=function(a){return function(b){var c="function"===typeof a?a:function(){return a};
var d=Object.create(b,Zia);d.source=b;d.subjectFactory=c;return d}},aja=function(){var a=new Ie(1,void 0,void 0);return function(b){return $ia(function(){return a})(b)}},bja=function(){var a=Lc.apply(0,arguments);return function(b){return 0===a.length?b:xha(b,iia.apply(null,[b].concat(Pc(a))))}},cja=function(){return new Je},Ke=function(){return function(a){return ae()($ia(cja)(a))}},Le=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 $d(c,
dja(b))}},dja=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 x=g.subscribe(this);else g=new Ie(b,c,e),x=g.subscribe(this),l=q.subscribe({next:function(A){g.next(A)},error:function(A){var B=g;g=l=void 0;B.error(A)},complete:function(){l=void 0;g.complete()}}),l.closed&&(l=void 0);this.add(function(){h--;x.unsubscribe();d&&0===h&&l&&(l.unsubscribe(),g=l=void 0)})}},Me=function(a){return function(b){return $d(b,
new eja(a))}},Ne=function(){var a=Lc.apply(0,arguments),b=a[a.length-1];return Zd(b)?(a.pop(),function(c){return qe(a,c,b)}):function(c){return qe(a,c)}},Oe=function(a){return function(b){return $d(b,new fja(a))}},Pe=function(a){return function(b){return $d(b,new gja(a))}},ija=function(a){var b=void 0===b?!1:b;return function(c){return $d(c,new hja(a,b))}},Qe=function(a,b){return function(c){return $d(c,new jja(a,b))}},mja=function(a){var b=void 0===b?kja:b;return function(c){return $d(c,new lja(a,
!!b.leading,!!b.trailing))}},Re=function(){var a=Lc.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return $d(b,new nja(a,c))}},oja=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}}},qja=function(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||
(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Dd,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;pja(a);a.isCheckStableRunning=!0;oja(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),pja(a))},sja=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,d,e,g,h){try{return rja(a),b.invokeTask(d,
e,g,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&qja(a),a._nesting--,oja(a)}},onInvoke:function(b,c,d,e,g,h,l){try{return rja(a),b.invoke(d,e,g,h,l)}finally{a.shouldCoalesceRunChangeDetection&&qja(a),a._nesting--,oja(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,pja(a),oja(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}})},pja=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},rja=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},vja=function(){var a=wc(Se),b=!0;return(0,E.merge)(new E.Observable(function(c){b=a.isStable&&!a.hasPendingMacrotasks&&!a.hasPendingMicrotasks;a.runOutsideAngular(function(){c.next(b);
c.complete()})}),(new E.Observable(function(c){var d;a.runOutsideAngular(function(){d=a.onStable.subscribe(function(){tja();sia(function(){b||a.hasPendingMacrotasks||a.hasPendingMicrotasks||(b=!0,c.next(!0))})})});var e=a.onUnstable.subscribe(function(){if(!uja())throw new qc(909,!1);b&&(b=!1,a.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe();e.unsubscribe()}})).pipe(Ke()))},xja=function(a){var b;null==(b=a.get(wja,null))||b.forEach(function(c){return c()})},Bja=function(a,
b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new Nc(d);return function(g){g=void 0===g?[]:g;var h=yja();if(!h||h.injector.get(zja,!1))if(g=[].concat(Pc(c),Pc(g),[{provide:e,useValue:!0}]),a)a(g);else{g=Aja(g,d);if(Te&&!Te.get(zja,!1))throw new qc(400,!1);Te=g;g.get(Ue);xja(g)}g=yja();if(!g)throw new qc(401,!1);return g}},Aja=function(a,b){a=void 0===a?[]:a;return Ve({name:b,providers:[{provide:Cja,useValue:"platform"},{provide:Dja,useValue:new Set([function(){return Te=null}])}].concat(Pc(a))})},
yja=function(){var a,b;return null!=(b=null==(a=Te)?void 0:a.get(Ue))?b:null},Eja=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}},Fja=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new We:"zone.js"===a?new Se(b):a},Gja=function(a,b,c){try{var d=c();return Od(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;}},Hja=function(a,b){return Array.isArray(b)?b.reduce(Hja,a):Object.assign({},a,b)},Ija=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Jja=function(){var a=wc(Se),b=wc(Md);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},Mja=function(a){return[{provide:Se,useFactory:a},{provide:Dea,multi:!0,useFactory:function(){var b=wc(Xe,{optional:!0});return function(){return b.initialize()}}},
{provide:Kja,useFactory:Jja},{provide:Lja,useFactory:vja}]},Ye=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 qc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var g=a;g.inputs=Nja(a.inputs);g.inputTransforms=Nja(a.inputTransforms);g.declaredInputs=Nja(a.declaredInputs);g.outputs=Nja(a.outputs);var h=e.hostBindings;h&&Oja(a,h);h=e.viewQuery;var l=e.contentQueries;h&&Pja(a,h);l&&Qja(a,
l);Mda(a.inputs,e.inputs);Mda(a.declaredInputs,e.declaredInputs);Mda(a.outputs,e.outputs);null!==e.inputTransforms&&(null===g.inputTransforms&&(g.inputTransforms={}),Mda(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===Ye&&(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=yc(e.hostAttrs,
b=yc(b,e.hostAttrs))},Nja=function(a){return a===Fc?{}:a===Ac?[]:a},Pja=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},Qja=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,g){b(d,e,g);c(d,e,g)}:b},Oja=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},Sja=function(a){return Rja(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Tja=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)},Rja=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},Ze=function(a,b,c){return a[b]=c},$e=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},af=function(a,b,c,d){c=$e(a,b,c);return $e(a,b+1,d)||c},bf=function(a,b,c,d){var e=v(),g=$c.bindingIndex++;$e(e,g,b)&&(g=ed(),Qga(g,e,a,b,c,d));return bf},cf=function(a,b,c,d){return $e(a,$c.bindingIndex++,c)?b+oc(c)+d:Kd},Uja=function(a,b,c,d,e,g){a=af(a,$c.bindingIndex,
c,e);dd(2);return a?b+oc(c)+d+oc(e)+g:Kd},ef=function(a,b,c,d,e,g){var h=v();b=cf(h,b,c,d);b!==Kd&&(c=ed(),Qga(c,h,a,b,e,g));return ef},ff=function(a,b,c,d,e,g,h,l){var q=v();b=Uja(q,b,c,d,e,g);b!==Kd&&(c=ed(),Qga(c,q,a,b,h,l));return ff},Vja=function(a,b,c,d,e,g,h,l,q,x){var A=v();var B=$c.bindingIndex;var K=af(A,B,c,e);B=$e(A,B+2,h)||K;dd(3);b=B?b+oc(c)+d+oc(e)+g+oc(h)+l:Kd;b!==Kd&&(c=ed(),Qga(c,A,a,b,q,x));return Vja},F=function(a,b,c){var d=v(),e=$c.bindingIndex++;if($e(d,e,b)){e=$c.tView;var g=
ed();Ld(e,g,d,a,b,d[11],c,!1)}return F},Wja=function(a,b,c,d,e){e=e?"class":"style";Mga(a,c,b.inputs[e],e,d)},Xja=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],x=a[h],A=b;if(null===x||null==A||(Array.isArray(x)?x[1]:x)===A||Array.isArray(x)&&"string"===typeof A&&0<=Jc(x,A))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)},Yja=function(a,b){var c=gf;if(c===b)return-1;for(b=hf=b;b<c&&32<a.charCodeAt(b);)b++;
b=jf=b;return kf(a,b,c)},cka=function(a,b){var c=gf;b=hf=kf(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=jf=b;b=Zja(a,b,c);d=b=$ja=kf(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=aka(a,q,h,c):d===h-4&&85===g&&82===e&&76===b&&40===q?l=h=aka(a,41,h,c):32<q&&(l=h);g=e;e=b;b=q&-33}b=bka=l;return Zja(a,b,c)},kf=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},
Zja=function(a,b,c){b=kf(a,b,c);b<c&&b++;return b},aka=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();},lf=function(a,b,c){dka(a,b,c,!1);return lf},mf=function(a,b){dka(a,b,null,!0);return mf},fka=function(a,b){var c;bka=$ja=jf=hf=0;gf=b.length;for(c=cka(b,kf(b,0,gf));0<=c;c=cka(b,c))eka(a,b.substring(hf,jf),b.substring($ja,bka))},nf=function(a){gka(hka,ika,a,!0)},ika=function(a,b){var c;bka=$ja=jf=hf=0;gf=b.length;for(c=Yja(b,
kf(b,0,gf));0<=c;c=Yja(b,c))Kc(a,b.substring(hf,jf),!0)},dka=function(a,b,c,d){var e=v(),g=$c.tView,h=dd(2);g.firstUpdatePass&&jka(g,a,h,d);if(b!==Kd&&$e(e,h,b)){var l=g.data[$c.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=pc(Bd(b))));kka(g,l,e,q,a,e[h+1]=b,d,h)}},gka=function(a,b,c,d){var e=$c.tView,g=dd(2);e.firstUpdatePass&&jka(e,null,g,d);var h=v();if(c!==Kd&&$e(h,g,c)){var l=e.data[$c.selectedIndex];if(0===(l.flags&(d?8:16))||g>=e.expandoStartIndex){var q=
h[11],x=h[g+1];if(null==c||""===c)a=Ac;else{var A=[];c=Bd(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(A,c[b],!0);else if("object"===typeof c)for(var B in c)c.hasOwnProperty(B)&&a(A,B,c[B]);else"string"===typeof c&&b(A,c);a=A}a=h[g+1]=a;x===Kd&&(x=Ac);b=A=0;c=0<x.length?x[0]:null;for(B=0<a.length?a[0]:null;null!==c||null!==B;){var K=A<x.length?x[A+1]:void 0,O=b<a.length?a[b+1]:void 0,P=null,Y=void 0;c===B?(A+=2,b+=2,K!==O&&(P=B,Y=O)):null===B||null!==c&&c<B?(A+=2,P=c):(b+=2,P=B,Y=O);null!==P&&
kka(e,l,h,q,P,Y,d,g);c=A<x.length?x[A]:null;B=b<a.length?a[b]:null}}else g=d?l.classesWithoutHost:l.stylesWithoutHost,null!==g&&(c=Uda(g,c?c:"")),Wja(e,l,h,c,d)}},jka=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var g=e[$c.selectedIndex];a=c>=a.expandoStartIndex;0!==(g.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=Wea(e),l=d?g.residualClasses:g.residualStyles;if(null===h)0===(d?g.classBindings:g.styleBindings)&&(b=mka(null,e,g,b,d),b=of(b,g.attrs,d),l=null);else{var q=g.directiveStylingLast;if(-1===
q||e[q]!==h)if(b=mka(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=mka(null,e,g,h[1],d),h=of(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=of(l,e[q].hostAttrs,d);l=of(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 x=!1;if(Array.isArray(q)){if(h=
q[1],null===h||0<Jc(q,h))x=!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);x&&(e[c+1]=e[c+1]|2);Xja(e,h,c,!0);Xja(e,h,c,!1);a=d?g.residualClasses:g.residualStyles;null!=a&&"string"==typeof h&&0<=Jc(a,h)&&(e[c+1]=e[c+1]|1);l=b<<17|l<<2;d?g.classBindings=l:g.styleBindings=l}},mka=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=of(d,l.hostAttrs,e);if(l===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},of=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]),Kc(a,h,c?!0:b[++g]))}return void 0===a?null:a},eka=function(a,b,c){Kc(a,b,Bd(c))},hka=function(a,b,c){b=String(b);""===b||b.includes(" ")||Kc(a,b,c)},kka=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)?nka(a,b,c,e,(q&131068)>>2,h):void 0)&&(void 0!==g||2==(q&2)&&(g=nka(a,null,c,e,l,h)),b=Wc(c[$c.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))))}},nka=function(a,b,c,d,e,g){for(var h=null===b,l=void 0;0<e;){var q=a[e],x=Array.isArray(q),A=x?q[1]:q,B=null===A,K=c[e+1];K===Kd&&(K=B?
Ac:void 0);A=B?wea(K,d):A===d?K:void 0;x&&void 0===A&&(A=wea(q,d));if(void 0!==A&&(l=A,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=wea(a,d)));return l},pf=function(a,b,c){a=cf(v(),a,b,c);gka(Kc,ika,a,!0)},G=function(a,b,c,d){var e=v(),g=$c.tView,h=25+a;a=e[11];if(g.firstCreatePass){var l=g.consts;c=Zc(l,c);c=Jd(g,h,2,b,c);Pga(g,e,c,Zc(l,d));null!==c.attrs&&Xga(c,c.attrs,!1);null!==c.mergedAttrs&&Xga(c,c.mergedAttrs,!0);null!==g.queries&&
g.queries.elementStart(g,c);l=c}else l=g.data[h];qf=!0;b=a.createElement(b,$c.currentNamespace);e[h]=b;h=1===(l.flags&1);bd(l,!0);Wfa(a,b,l);32!==(l.flags&32)&&qf&&Sfa(g,e,b,l);0===$c.elementDepthCount&&td(b,e);$c.elementDepthCount++;h&&(Iga(g,e,l),Dga(g,l,e));null!==d&&Jga(e,l);return G},H=function(){var a=ad();$c.isParent?$c.isParent=!1:(a=a.parent,bd(a,!1));var b=a;Aga===b&&(Aga=null);$c.elementDepthCount--;var c=$c.tView;c.firstCreatePass&&(efa(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=
b.classesWithoutHost&&0!==(b.flags&8)&&Wja(c,b,v(),b.classesWithoutHost,!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&Wja(c,b,v(),b.stylesWithoutHost,!1);return H},I=function(a,b,c,d){G(a,b,c,d);H();return I},J=function(a,b,c){var d=v(),e=$c.tView;a+=25;if(e.firstCreatePass){var g=e.consts;var h=Zc(g,b);b=Jd(e,a,8,"ng-container",h);null!==h&&Xga(b,h,!0);g=Zc(g,c);Pga(e,d,b,g);null!==e.queries&&e.queries.elementStart(e,b);g=b}else g=e.data[a];bd(g,!0);qf=!0;b=d[11].createComment(Mfa());d[a]=b;qf&&
Sfa(e,d,b,g);td(b,d);1===(g.flags&1)&&(Iga(e,d,g),Dga(e,g,d));null!=c&&Jga(d,g);return J},L=function(){var a=ad(),b=$c.tView;$c.isParent?$c.isParent=!1:(a=a.parent,bd(a,!1));b.firstCreatePass&&(efa(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return L},rf=function(a,b,c){J(a,b,c);L();return rf},sf=function(a,b,c){var d=v(),e=$c.bindingIndex++;if($e(d,e,b)){e=$c.tView;var g=ed();Ld(e,g,d,a,b,d[11],c,!0)}return sf},oka=function(a,b,c){var d=v(),e=$c.bindingIndex++;if($e(d,e,b)){e=$c.tView;var g=ed(),
h=Tga(Wea(e.data),g,d);Ld(e,g,d,a,b,h,c,!0)}return oka},M=function(a,b,c,d){c=v();pka($c.tView,c,c[11],ad(),a,b,d);return M},qka=function(a,b){var c=ad(),d=v(),e=$c.tView,g=Tga(Wea(e.data),c,d);pka(e,d,g,c,a,b);return qka},rka=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},pka=function(a,b,c,d,e,g,h){var l=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=
[])),x=b[7]||(b[7]=[]),A=!0;if(d.type&3||h){var B=Xc(d,b),K=h?h(B):B;B=x.length;var O=h?function(X){return h(Wc(X[d.index]))}:d.index,P=null;!h&&l&&(P=rka(a,b,e,d.index));null!==P?((P.__ngLastListenerFn__||P).__ngNextListenerFn__=g,P.__ngLastListenerFn__=g,A=!1):(g=ska(d,b,g),a=c.listen(K,e,g),x.push(g,a),q&&q.push(e,O,B,B+1))}else g=ska(d,b,g);a=d.outputs;var Y;if(A&&null!==a&&(Y=a[e])&&(A=Y.length))for(a=0;a<A;a+=2)c=b[Y[a]][Y[a+1]].subscribe(g),l=x.length,x.push(g,c),q&&q.push(e,d.index,l,-(l+
1))},tka=function(a,b,c){try{return!1!==b(c)}catch(d){return Uga(a,d),!1}finally{}},ska=function(a,b,c){return function g(e){if(e===Function)return c;var h=-1<a.componentOffset?Yc(a.index,b):b;Hfa(h);h=tka(b,c,e);for(var l=g.__ngNextListenerFn__;l;)h=tka(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},N=function(a){var b=$c;a=void 0===a?1:a;for(var c=$c.contextLView;0<a;)c=c[14],a--;return(b.contextLView=c)[8]},tf=function(a){var b=v()[15][6];if(!b.projection){var c=b.projection=vea(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 x=g[q];if("*"===x)h=q;else{if(null===l)x=gea(e,x,!0);else b:{var A=0;c:for(;A<x.length;A++){var B=x[A];if(l.length===B.length){for(var K=0;K<l.length;K++)if(l[K]!==B[K])continue c;x=!0;break b}}x=!1}if(x){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}}},uf=function(a,b,c){b=
void 0===b?0:b;var d=v(),e=$c.tView;a=Jd(e,25+a,16,null,c||null);null===a.projection&&(a.projection=b);$c.isParent=!1;d[22]&&null===Aga||32===(a.flags&32)||(b=d[11],e=Rfa(e,a.parent,d),c=a.parent||d[6],c=c.type&40?Xc(c,d):null,Vfa(b,0,d,a,e,c))},wf=function(a,b,c){vf(a,"",b,"",c);return wf},vf=function(a,b,c,d,e){var g=v();b=cf(g,b,c,d);b!==Kd&&(c=$c.tView,d=ed(),Ld(c,d,g,a,b,g[11],e,!1));return vf},xf=function(a,b,c,d,e,g,h){var l=v();b=Uja(l,b,c,d,e,g);b!==Kd&&(c=$c.tView,d=ed(),Ld(c,d,l,a,b,l[11],
h,!1));return xf},yf=function(a){return $c.contextLView[25+a]},Q=function(a,b,c,d,e,g,h,l){var q=v(),x=$c.tView,A=a+25;if(x.firstCreatePass){var B=x.consts;e=Jd(x,A,4,e||null,Zc(B,g));Pga(x,q,e,Zc(B,h));efa(x,e);b=e.tView=Kga(2,e,b,c,d,x.directiveRegistry,x.pipeRegistry,null,x.schemas,B,null);null!==x.queries&&(x.queries.template(x,e),b.queries=x.queries.embeddedTView(e));b=e}else b=x.data[A];bd(b,!1);a=uka(x,q,b,a);qf&&Sfa(x,q,a,b);td(a,q);Fga(q,q[A]=[a,!0,!1,q,null,0,b,a,null,null,null]);1===(b.flags&
1)&&Iga(x,q,b);null!=h&&Jga(q,b,l)},vka=function(a,b){qf=!0;return b[11].createComment("")},R=function(a,b){b=void 0===b?"":b;var c=v(),d=$c.tView;a+=25;var e=d.firstCreatePass?Jd(d,a,1,b,null):d.data[a];qf=!0;b=c[11].createText(b);c[a]=b;qf&&Sfa(d,c,b,e);bd(e,!1)},Af=function(a){zf("",a,"");return Af},zf=function(a,b,c){var d=v();a=cf(d,a,b,c);a!==Kd&&Vga(d,a);return zf},Bf=function(a,b,c,d,e){var g=v();a=Uja(g,a,b,c,d,e);a!==Kd&&Vga(g,a);return Bf},wka=function(a,b,c,d,e,g,h,l,q){var x=v();var A=
$c.bindingIndex;var B=af(x,A,b,d);A=af(x,A+2,g,l)||B;dd(4);a=A?a+oc(b)+c+oc(d)+e+oc(g)+h+oc(l)+q:Kd;a!==Kd&&Vga(x,a);return wka},xka=function(a,b,c,d,e){a=tc(a);if(Array.isArray(a))for(var g=0;g<a.length;g++)xka(a[g],b,c,d,e);else{g=$c.tView;var h=v(),l=Mc(a)?a:tc(a.provide),q=Lea(a),x=ad(),A=x.providerIndexes&1048575,B=x.directiveStart,K=x.providerIndexes>>20;if(Mc(a)||!a.multi)d=new nd(q,e),q=yka(l,b,e?A:A+K,B),-1===q?(q=qfa(x,h),mfa(q,g,l),zka(g,a,b.length),b.push(l),x.directiveStart++,x.directiveEnd++,
e&&(x.providerIndexes+=1048576),c.push(d),h.push(d)):(c[q]=d,h[q]=d);else{B=yka(l,b,A+K,B);A=yka(l,b,A,A+K);var O=0<=B&&c[B];K=0<=A&&c[A];e&&!K||!e&&!O?(B=qfa(x,h),mfa(B,g,l),B=c.length,O=new nd(e?Aka:Bka,e),O.multi=[],O.index=B,O.componentProviders=0,d&&!e&&O.componentProviders++,O.multi.push(q),!e&&K&&(c[A].providerFactory=O),zka(g,a,b.length,0),b.push(l),x.directiveStart++,x.directiveEnd++,e&&(x.providerIndexes+=1048576),c.push(O),h.push(O)):(b=c[e?A:B],!e&&d&&b.componentProviders++,b=b.multi.push(q)-
1,zka(g,a,-1<B?B:A,b));!e&&d&&K&&c[A].componentProviders++}}},zka=function(a,b,c,d){var e=Mc(b),g=!!b.useClass;if(e||g)if(g=(g?tc(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)},yka=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},Bka=function(){return Cka(this.multi,[])},Aka=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;
d=md(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);Cka(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],Cka(b,c);return c},Cka=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Cf=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var g=$c.tView;g.firstCreatePass&&(d=!!d.template,xka(b,g.data,g.blueprint,d,!0),xka(e,g.data,g.blueprint,d,!1))}}},Dka=function(a){a.getStandaloneInjector=function(b){b=b.get(Df);if(a.standalone){if(!b.cachedInjectors.has(a.id)){var c=
xea(!1,a.type);c=0<c.length?gha([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}},Ef=function(a,b){a=cd()+a;var c=v();return c[a]===Kd?Ze(c,a,b()):c[a]},Ff=function(a,b,c){return Eka(v(),cd(),a,b,c)},Gf=function(a,b,c,d){return Fka(v(),cd(),a,b,c,d)},Hf=function(a,b,c,d){return Gka(v(),cd(),2,a,b,c,d)},Ika=function(a,b,c,d,e,g){var h=Hka,l=cd()+8,q=v();var x=af(q,l,a,b);x=af(q,l+2,c,d)||x;return af(q,l+4,e,g)||x?
Ze(q,l+6,h(a,b,c,d,e,g)):q[l+6]},Jka=function(a,b){a=a[b];return a===Kd?void 0:a},Eka=function(a,b,c,d,e,g){b+=c;return $e(a,b,e)?Ze(a,b+1,g?d.call(g,e):d(e)):Jka(a,b+1)},Fka=function(a,b,c,d,e,g,h){b+=c;return af(a,b,e,g)?Ze(a,b+2,h?d.call(h,e,g):d(e,g)):Jka(a,b+2)},Gka=function(a,b,c,d,e,g,h,l){b+=c;c=af(a,b,e,g);return $e(a,b+2,h)||c?Ze(a,b+3,l?d.call(l,e,g,h):d(e,g,h)):Jka(a,b+3)},S=function(a,b){var c=$c.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=Ic(b.type));b=rc(C);try{var l=kfa(!1),q=h();kfa(l);var x=v();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);x[a]=q}finally{rc(b)}},T=function(a,b,c){a+=25;var d=v(),e=d[a];return d[1].data[a].pure?Eka(d,cd(),b,e.transform,c,e):e.transform(c)},If=function(a,b,c,d){a+=25;var e=v(),g=e[a];return e[1].data[a].pure?
Fka(e,cd(),b,g.transform,c,d,g):g.transform(c,d)},Jf=function(a,b,c,d,e){a+=25;var g=v(),h=g[a];return g[1].data[a].pure?Gka(g,cd(),b,h.transform,c,d,e,h):h.transform(c,d,e)},Kka=function(){return this._results[Symbol.iterator]()},Mka=function(){return Lka(ad(),v())},Lka=function(a,b){return a.type&4?new Kf(b,a,sd(a,b)):null},Oka=function(){return Nka(ad(),v())},Pka=function(a){return a[8]||(a[8]=[])},Nka=function(a,b){var c=b[a.index];if(Tc(c))var d=c;else d=[c,!0,!1,b,null,0,a,null,null,null,null],
b[a.index]=d,Fga(b,d);Qka(d,b,a,c);return new Lf(d,a,b)},Rka=function(a,b,c,d){if(!a[7]){if(c.type&8)d=Wc(d);else{d=b[11];var e=d.createComment("");c=Xc(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Ska=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,x=q.push,A=b,B=a[l],K=e[h+1];l=c.metadata.read;-1===K?(l=B,A=l.type&11?sd(l,A):l.type&4?Lka(l,A):null):-2===
K?A=l===rd?sd(B,A):l===Mf?Lka(B,A):l===Nf?Nka(B,A):void 0:A=md(A,A[1],K,B);x.call(q,A)}}d.matches=g}return d.matches},Tka=function(a,b,c,d){var e=a.queries.queries[c],g=e.matches;if(null!==g)for(a=Ska(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]&&Tka(q[1],q,e,d)}if(null!==h[9])for(h=h[9],l=0;l<h.length;l++)q=h[l],Tka(q[1],q,e,d)}}return d},Pf=function(a){var b=v(),c=$c.tView,d=$c.currentQueryIndex;$c.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?Tka(c,b,d,[]):Ska(c,b,e,d),a.reset(b,Dfa),Of(a)),!0):!1},Qf=function(a,b,c){var d=$c.tView;d.firstCreatePass&&(Uka(d,new Vka(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));Wka(d,b)},Rf=function(a,b,c,d){var e=$c.tView;e.firstCreatePass&&(Uka(e,new Vka(b,c,d),ad().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));Wka(e,c)},Sf=function(){return v()[18].queries[$c.currentQueryIndex].queryList},Wka=function(a,b){var c=v();b=new Tf(4===(b&4));var d=b.destroy,e=c[7]||(c[7]=[]);e.push(b);a.firstCreatePass&&(a.cleanup||(a.cleanup=[])).push(d,e.length-1);null===c[18]&&(c[18]=new Xka);c[18].queries.push(new Yka(b))},Uka=function(a,b,c){null===a.queries&&(a.queries=new Zka);a.queries.track(new Uf(b,c))},Vf=function(a,b){return Lka(a,b)},$ka=function(a){var b=ad(),c=v();-1<
b.componentOffset&&16!==(a&16)?(a=Yc(b.index,c),a=new Wf(a,a)):a=b.type&47?new Wf(c[15],c):null;return a},ala=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},Xf=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},bla=function(a){var b=a[Cc]||null;if(!b)return null;var c=new Yf(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}}},cla=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Qa`"+a+"`"+pc(b));},dla=function(a,b,c){a=Pd(a);b=Zf([a[1],a[2]],b);return Zf(b,c)},ela=function(a,b,c){a=Pd(a);b=Zf([a[3],a[4]],b);return Zf(b,c)},fla=function(a,b,c){a=Pd(a);b=Zf([a[5],a[6]],b);return Zf(b,c)},gla=function(a,b){a=Pd(a)[7];return Zf(a,b)},hla=function(a,b){a=Pd(a);return Zf(a[10],b)},ila=function(a,b){a=Pd(a);return Zf(a[11],b)},jla=function(a,b){a=
Pd(a)[12];return Zf(a,b)},$f=function(a,b){a=Pd(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},kla=function(a){if(!a[21])throw Error("Ra`"+a[0]);},mla=function(a){a=Pd(a);kla(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?lla(b):[lla(b[0]),lla(b[1])]})},nla=function(a,b,c){a=Pd(a);kla(a);b=Zf([a[21][0],a[21][1]],b)||[];return Zf(b,c)||[]},Zf=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Sa");
},lla=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},ag=function(){return new qc(2100,!1)},wla=function(a,b,c,d){var e=ola(a);b=bg(c,b)||b;a=[];for(var g;b;)if(g=pla.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=qla(d,h),e=rla(e,d));var l="";a.forEach(function(q){a:if(sla[q])var x=sla[q];else{switch(q){case "G":case "GG":case "GGG":x=cg(3,1);break;case "GGGG":x=cg(3,2);break;case "GGGGG":x=
cg(3,0);break;case "y":x=dg(0,1,0,!1,!0);break;case "yy":x=dg(0,2,0,!0,!0);break;case "yyy":x=dg(0,3,0,!1,!0);break;case "yyyy":x=dg(0,4,0,!1,!0);break;case "Y":x=tla(1);break;case "YY":x=tla(2,!0);break;case "YYY":x=tla(3);break;case "YYYY":x=tla(4);break;case "M":case "L":x=dg(1,1,1);break;case "MM":case "LL":x=dg(1,2,1);break;case "MMM":x=cg(2,1);break;case "MMMM":x=cg(2,2);break;case "MMMMM":x=cg(2,0);break;case "LLL":x=cg(2,1,1);break;case "LLLL":x=cg(2,2,1);break;case "LLLLL":x=cg(2,0,1);break;
case "w":x=ula(1);break;case "ww":x=ula(2);break;case "W":x=ula(1,!0);break;case "d":x=dg(2,1);break;case "dd":x=dg(2,2);break;case "c":case "cc":x=dg(7,1);break;case "ccc":x=cg(1,1,1);break;case "cccc":x=cg(1,2,1);break;case "ccccc":x=cg(1,0,1);break;case "cccccc":x=cg(1,3,1);break;case "E":case "EE":case "EEE":x=cg(1,1);break;case "EEEE":x=cg(1,2);break;case "EEEEE":x=cg(1,0);break;case "EEEEEE":x=cg(1,3);break;case "a":case "aa":case "aaa":x=cg(0,1);break;case "aaaa":x=cg(0,2);break;case "aaaaa":x=
cg(0,0);break;case "b":case "bb":case "bbb":x=cg(0,1,1,!0);break;case "bbbb":x=cg(0,2,1,!0);break;case "bbbbb":x=cg(0,0,1,!0);break;case "B":case "BB":case "BBB":x=cg(0,1,0,!0);break;case "BBBB":x=cg(0,2,0,!0);break;case "BBBBB":x=cg(0,0,0,!0);break;case "h":x=dg(3,1,-12);break;case "hh":x=dg(3,2,-12);break;case "H":x=dg(3,1);break;case "HH":x=dg(3,2);break;case "m":x=dg(4,1);break;case "mm":x=dg(4,2);break;case "s":x=dg(5,1);break;case "ss":x=dg(5,2);break;case "S":x=dg(6,1);break;case "SS":x=dg(6,
2);break;case "SSS":x=dg(6,3);break;case "Z":case "ZZ":case "ZZZ":x=vla(0);break;case "ZZZZZ":x=vla(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":x=vla(1);break;case "OOOO":case "ZZZZ":case "zzzz":x=vla(2);break;default:x=null;break a}sla[q]=x}l+=x?x(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},xla=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},bg=function(a,b){var c=Pd(a)[0];eg[c]=eg[c]||{};if(eg[c][b])return eg[c][b];
var d="";switch(b){case "shortDate":d=hla(a,0);break;case "mediumDate":d=hla(a,1);break;case "longDate":d=hla(a,2);break;case "fullDate":d=hla(a,3);break;case "shortTime":d=ila(a,0);break;case "mediumTime":d=ila(a,1);break;case "longTime":d=ila(a,2);break;case "fullTime":d=ila(a,3);break;case "short":d=bg(a,"shortTime");var e=bg(a,"shortDate");d=yla(jla(a,0),[d,e]);break;case "medium":d=bg(a,"mediumTime");e=bg(a,"mediumDate");d=yla(jla(a,1),[d,e]);break;case "long":d=bg(a,"longTime");e=bg(a,"longDate");
d=yla(jla(a,2),[d,e]);break;case "full":d=bg(a,"fullTime"),e=bg(a,"fullDate"),d=yla(jla(a,3),[d,e])}d&&(eg[c][b]=d);return d},yla=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},fg=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},dg=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=zla(a,g);
if(0<c||g>-c)g+=c;if(3===a)0===g&&-12===c&&(g=12);else if(6===a)return fg(g,3).substring(0,b);h=$f(h,5);return fg(g,b,h,d,e)}},zla=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("Ta`"+a);}},cg=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,g){return Ala(e,
g,a,b,c,d)}},Ala=function(a,b,c,d,e,g){switch(c){case 2:return fla(b,e,d)[a.getMonth()];case 1:return ela(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return g&&(c=mla(b),a=nla(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var x=k(q);q=x.next().value;x=x.next().value;var A=h>=q.hours&&l>=q.minutes,B=h<x.hours||h===x.hours&&l<x.minutes;if(q.hours<x.hours){if(A&&B)return!0}else if(A||B)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),-1!==c)?a[c]:dla(b,e,d)[12>
h?0:1];case 3:return gla(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Ua`"+c);}},vla=function(a){return function(b,c,d){b=-1*d;c=$f(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+fg(e,2,c)+fg(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+fg(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+fg(e,2,c)+":"+fg(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+fg(e,2,c)+":"+fg(Math.abs(b%60),2,c);default:throw Error("Va`"+a);}}},Bla=function(a){return xla(a.getFullYear(),
a.getMonth(),a.getDate()+(4-a.getDay()))},ula=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=Bla(c);c=e.getFullYear();var g=xla(c,0,1).getDay();c=xla(c,0,1+(4>=g?4:11)-g);e=e.getTime()-c.getTime();e=1+Math.round(e/6048E5)}return fg(e,a,$f(d,5))}},tla=function(a,b){b=void 0===b?!1:b;return function(c,d){c=Bla(c).getFullYear();return fg(c,a,$f(d,5),b)}},qla=function(a,b){a=a.replace(/:/g,
"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},rla=function(a,b){var c=a.getTimezoneOffset();b=qla(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},ola=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 xla(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(Cla))return Dla(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Wa`"+a);return b},Dla=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},Ela=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},Kla=function(a,b,c,d){var e=void 0===e?!1:e;var g="",h=!1;if(isFinite(a)){h=Fla(a);e&&(h=Gla(h));g=b.minInt;
e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(Hla);if(null===q)throw Error("Xa`"+d);d=q[1];var x=q[3];q=q[5];null!=d&&(g=Ila(d));null!=x&&(e=Ila(x));null!=q?l=Ila(q):null!=x&&e>l&&(l=e)}Jla(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(A){return!A});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($f(c,1));l.length&&(g+=$f(c,0)+l.join(""));e&&(g+=$f(c,6)+"+"+e)}else g=$f(c,9);return g=0>a&&!h?b.negPre+g+b.negSuf:b.posPre+g+b.posSuf},Gla=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},Fla=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}},Jla=function(a,b,c){if(b>c)throw Error("Ya`"+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,x=b+a.integerLen;if(b=d.reduceRight(function(A,B,K,O){B+=A;O[K]=10>B?B:B-10;q&&(0===O[K]&&K>=x?O.pop():q=!1);return 10<=B?1:0},0))d.unshift(b),a.integerLen++},Ila=function(a){var b=parseInt(a);if(isNaN(b))throw Error("Za`"+a);return b},Lla=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},Mla=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)},gg=function(a){return a&&"?"!==a[0]?"?"+a:a},Nla=function(a){return RegExp("^(https?:)?//").test(a)?(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Ola=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},Pla=function(a){return function(b){if(Ola(b.value)||
Ola(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},Qla=function(a){return Ola(a.value)?{required:!0}:null},Rla=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}},Tla=function(a){if(!a)return Sla;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(Ola(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},Sla=function(){return null},Ula=function(a){return null!=a},Vla=function(a){return Od(a)?(0,E.from)(a):a},Wla=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},Xla=function(a,b){return b.map(function(c){return c(a)})},Yla=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:
b})},Zla=function(a){if(!a)return null;var b=a.filter(Ula);return 0==b.length?null:function(c){return Wla(Xla(c,b))}},$la=function(a){return null!=a?Zla(Yla(a)):null},ama=function(a){if(!a)return null;var b=a.filter(Ula);return 0==b.length?null:function(c){c=Xla(c,b).map(Vla);return(0,E.forkJoin)(c).pipe(D(Wla))}},bma=function(a){return null!=a?ama(Yla(a)):null},cma=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(Pc(a),[b]):[a,b]},dma=function(a,b){return[].concat(Pc(b.path),[a])},hg=
function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;ema(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)}fma(a,b);gma(a,b);hma(a,b);ima(a,b)},kma=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));jma(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},lma=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&
c.registerOnValidatorChange(b)})},ima=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)})}},ema=function(a,b){var c=a._rawValidators;null!==b.validator?mma(a,cma(c,b.validator)):"function"===typeof c&&mma(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?nma(a,cma(c,b.asyncValidator)):"function"===typeof c&&nma(a,[c]);c=function(){return jg(a)};
lma(b._rawValidators,c);lma(b._rawAsyncValidators,c)},jma=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(){};lma(b._rawValidators,
a);lma(b._rawAsyncValidators,a);return c},fma=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&oma(a,b)})},hma=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&oma(a,b);"submit"!==a.updateOn&&pma(a)})},oma=function(a,b){a._pendingDirty&&qma(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=
!1},gma=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)})},rma=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},sma=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)})},tma=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===kg?b=e:Object.getPrototypeOf(e.constructor)===lg?c=e:d=e});return d?d:c?c:b?b:null},uma=function(a){return(mg(a)?a.validators:a)||null},mg=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},vma=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new qc(1002,"");})},wma=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},zma=function(){if(xma)return xma;
if("object"!==typeof document||!document)return xma=new Set(yma);var a=document.createElement("input");return xma=new Set(yma.filter(function(b){a.setAttribute("type",b);return a.type===b}))},Ama=function(){if(null==ng&&"undefined"!==typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ng=!0}}))}finally{ng=ng||!1}return ng},og=function(a){return Ama()?a:!!a.capture},Bma=function(){if(null==pg){if("object"!==typeof document||!document||"function"!==
typeof Element||!Element)return pg=!1;if("scrollBehavior"in document.documentElement.style)pg=!0;else{var a=Element.prototype.scrollTo;pg=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return pg},Dma=function(){if("object"!==typeof document||!document)return 0;if(null==Cma){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);Cma=0;0===a.scrollLeft&&(a.scrollLeft=1,Cma=0===a.scrollLeft?1:2);a.remove()}return Cma},Fma=function(a){if(null==Ema){var b="undefined"!==typeof document?document.head:null;Ema=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Ema&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},qg=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},rg=function(a){return a.composedPath?a.composedPath()[0]:a.target},Gma=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},Hma=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},Ima=function(a){if(!Hma(a))return null;a=parseInt(a.getAttribute("tabindex")||
"",10);return isNaN(a)?-1:a},sg=function(a){return Array.isArray(a)?a:[a]},tg=function(a){return null!=a&&"false"!==""+a},ug=function(a){return null==a?"":"string"===typeof a?a:a+"px"},vg=function(a){return a instanceof rd?a.nativeElement:a},wg=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},Jma=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},Kma=function(a){return 0===a.buttons||0===a.offsetX&&0===a.offsetY},Lma=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)},xg=function(a){var b=Lc.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Nma=function(a,b){return b.map(function(c){return c.replace(Mma,a)})},Oma=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},Rma=function(a){return encodeURIComponent(a).replace(Pma,function(b,c){var d;return null!=(d=Qma[c])?d:b})},Sma=function(a){return""+a},Tma=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},
Uma=function(a){return"undefined"!==typeof Blob&&a instanceof Blob},Vma=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},Wma=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}},Xma=function(a,b){return b(a)},Yma=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},Zma=function(a,b,c){return function(d,
e){return c.runInContext(function(){return b(d,function(g){return a(g,e)})})}},cna=function(a,b){var c=a.url.toLowerCase();if(!wc($ma)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=wc(ana).getToken();var d=wc(bna);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},zg=function(a){var b=void 0===b?{}:b;a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");
b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return yg(a)},ena=function(a){if(a instanceof Tb)a=Ub(a);else{b:if(dna){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},Bg=function(a){var b=
Lc.apply(1,arguments);if(0===b.length)return Ag(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Ag(c)},Cg=function(a){return new fna(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},Eg=function(a){var b=void 0===b?gna:b;a:{b=void 0===b?gna:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof fna&&d.isValid(a)){a=Dg(a);break a}}a=void 0}return a||Yca},jna=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==
d[0]&&(d=hna(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 qc(3015,!1)),d=c;else{d=e[1];var g=e[2];e=e[3];c.push(ina(d,e));"<"!=g[0]||"*"==d&&"*"==e||c.push(ina(e,d));d=void 0}}return d}):c.push(a);return c},hna=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 qc(3016,!1)),"* => *"}},ina=function(a,b){var c=kna.has(a)||lna.has(a),d=kna.has(b)||lna.has(b);return function(e,g){var h="*"==a||a==e,l="*"==b||b==g;!h&&c&&"boolean"===typeof e&&(h=e?kna.has(a):lna.has(a));!l&&d&&"boolean"===typeof g&&(l=g?kna.has(b):lna.has(b));return h&&l}},Fg=function(a,b){return{type:7,name:a,definitions:b,options:{}}},Gg=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},Hg=function(a){return{type:6,
styles:a,offset:null}},Ig=function(a,b){return{type:0,name:a,styles:b,options:void 0}},Jg=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},mna=function(){return{type:9,options:null}},nna=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===c?null:c}},Lg=function(a){switch(a.length){case 0:return new Kg;case 1:return a[0];default:return new ona(a)}},rna=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"),x=q==g,A=x&&h||new Map;l.forEach(function(B,K){var O=K;if("offset"!==K)switch(O=pna(O),B){case "!":B=b.get(K);break;case "*":B=c.get(K);break;default:B=qna(O,B,d)}A.set(O,B)});x||e.push(A);h=A;g=q});if(d.length)throw new qc(3502,!1);return e},tna=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&sna(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&sna(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&
sna(c,"destroy",a))})}},sna=function(a,b,c){var d=c.totalTime;b=una(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},una=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}},Mg=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},vna=function(a){var b=a.indexOf(":"),c=a.substring(1,b);a=a.slice(b+1);return[c,a]},
xna=function(a){a=a.parentNode||a.host||null;return a===wna?null:a},yna=function(a,b){for(;b;){if(b===a)return!0;b=xna(b)}return!1},zna=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},Ng=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:Ana(parseFloat(a[1]),a[2])},Ana=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Bna=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 qc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Ana(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Ana(parseFloat(h),d[4]));(d=d[5])&&(g=d)}c||(c=!1,d=b.length,0>a&&(b.push(new qc(3100,!1)),c=!0),0>e&&(b.push(new qc(3101,!1)),c=!0),c&&b.splice(d,0,new qc(3E3,!1)));b={duration:a,delay:e,easing:g}}return b},Og=function(a){var b=void 0===b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},Cna=function(a){var b=new Map;
Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},Dna=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return Cna(b)}):[]},Pg=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},Qg=function(a,b,c){b.forEach(function(d,e){var g=pna(e);c&&!c.has(e)&&c.set(e,a.style[g]);
a.style[g]=d})},Rg=function(a,b){b.forEach(function(c,d){d=pna(d);a.style[d]=""})},Sg=function(a){return Array.isArray(a)?1==a.length?a[0]:{type:2,steps:a,options:null}:a},Fna=function(a,b,c){var d=b.params||{};a=Ena(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new qc(3001,!1))})},Ena=function(a){var b=[];if("string"===typeof a){for(var c;c=Gna.exec(a);)b.push(c[1]);Gna.lastIndex=0}return b},Tg=function(a,b,c){var d=a.toString(),e=d.replace(Gna,function(g,h){h=b[h];null==h&&(c.push(new qc(3003,
!1)),h="");return h.toString()});return e==d?a:e},Hna=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},pna=function(a){return a.replace(Ina,function(){return Lc.apply(0,arguments)[1].toUpperCase()})},Jna=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$2255:c.$jscomp$loop$prop$kf$2255},g++)c.$jscomp$loop$prop$kf$2255=b[g],e.forEach(function(h){return function(l){var q=
h.$jscomp$loop$prop$kf$2255,x=q.set;var A=window.getComputedStyle(a)[l];return x.call(q,l,A)}}(c))}}return b},Ug=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 qc(3004,!1);}},Lna=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(Kna,""));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]},Mna=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},Nna=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:Bna(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=Bna(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},Vg=function(a){if(a){if(a=Og(a),a.params){var b=
a;var c=(c=a.params)?Og(c):null;b.params=c}}else a={};return a},Ona=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}},Qna=function(a,b,c,d,e,g,h,l,q,x){g=void 0===g?new Map:g;h=void 0===h?new Map:h;x=void 0===x?[]:x;return(new Pna).buildKeyframes(a,b,c,d,e,g,h,l,q,x)},Rna=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},Sna=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 Pg(e,c)});return c},Tna=function(a,b,c,d,e,g,h,l,q,x,A,B,K){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:g,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:x,postStyleProps:A,totalTime:B,errors:K}},Una=function(a,b,c,d,e){return a.some(function(g){return g(b,c,d,e)})},Vna=function(a,b){b=Og(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},
Wna=function(a,b){return new Wg(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},Xna=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))},Yna=function(a){return a&&1===a.nodeType},Zna=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},aoa=function(a,b,c,d,e){var g=[];c.forEach(function(q){return g.push(Zna(q))});var h=[];d.forEach(function(q,x){var A=new Map;q.forEach(function(B){var K=
b.computeStyle(x,B,e);A.set(B,K);K&&0!=K.length||(x.__ng_removed=$na,h.push(x))});a.set(x,A)});var l=0;c.forEach(function(q){return Zna(q,g[l++])});return h},boa=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},Xg=function(a,b){var c;
null==(c=a.classList)||c.add(b)},Yg=function(a,b){var c;null==(c=a.classList)||c.remove(b)},coa=function(a,b,c){Lg(c).onDone(function(){return Zg(a,b)})},eoa=function(a){var b=[];doa(a,b);return b},doa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof ona?doa(d.players,b):b.push(d)}},foa=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},goa=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},joa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=hoa(b[0]),1<b.length&&(d=hoa(b[b.length-1]))):b instanceof Map&&(c=hoa(b));return c||d?new ioa(a,c,d):null},hoa=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},koa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;
default:return a}},loa=function(a){var b=a.indexOf("."),c=a.substring(0,b);a=a.slice(b+1);return[c,a]},moa=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},removeListener:function(){}}},noa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},ooa=function(){return null},qoa=function(a,b,c){var d=poa(a,b);d.some(function(e){return e.trim()==c.trim()})||(d.push(c.trim()),a.setAttribute(b,
d.join(" ")))},$g=function(a,b,c){var d=poa(a,b).filter(function(e){return e!=c.trim()});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},poa=function(a,b){return(a.getAttribute(b)||"").match(/\S+/g)||[]},roa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},toa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+soa++)},uoa=function(){return wc(ah)},voa=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})},woa=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})},xoa=function(a){return a&&"function"===typeof a.connect&&!(a instanceof E.ConnectableObservable)},bh=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},zoa=function(a){if("number"!==typeof a&&null!=a){var b=k(a.split(yoa));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},Aoa=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)}},dh=function(a,b){var c=function(){var d=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};U(c,a);ch.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},eh=function(a){var b=function(){var c=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||this;c._disableRipple=!1;return c};U(b,a);ch.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=tg(c)}}});return b},fh=function(a){var b=function(){var c=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||
this;c._disabled=!1;return c};U(b,a);ch.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=tg(c)}}});return b},Boa=function(a){var b=function(){var c=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||this;c.errorState=!1;return c};U(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},Coa=function(a){var b=function(){var c=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||this;c._isInitialized=!1;c._pendingSubscribers=[];c.initialized=new E.Observable(function(d){c._isInitialized?c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};U(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},gh=function(a,b){b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};U(c,a);ch.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?wg(d):this.defaultTabIndex}}});return c},Doa=function(){return wc(hh)},Eoa=function(a,
b){var c=void 0===c?"mat":c;a.changes.pipe(Ne(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)})},Foa=function(a,b,c){a=Math.max(Math.abs(a-c.left),Math.abs(a-c.right));b=Math.max(Math.abs(b-c.top),Math.abs(b-c.bottom));return Math.sqrt(a*
a+b*b)},Goa=function(a,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},Hoa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Ioa=function(a){a&1&&(G(0,"tr",3)(1,"td",4),R(2),H()());a&2&&(a=N(),z(1),lf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),bf("colspan",a.numCols),z(1),zf(" ",a.label," "))},Joa=function(a){a&1&&(G(0,"td",4),R(1),H());a&2&&(a=N(2),lf("padding-top",a._cellPadding)("padding-bottom",
a._cellPadding),bf("colspan",a._firstRowOffset),z(1),zf(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},Koa=function(a,b){if(a&1){var c=v();G(0,"td",8)(1,"button",9);M("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))});G(2,"span",10);R(3);H();I(4,"span",11);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N().index,e=N();lf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",
e._cellPadding);bf("data-mat-row",d)("data-mat-col",b);z(1);mf("mat-calendar-body-disabled",!a.enabled)("mat-calendar-body-active",e._isActiveCell(d,b))("mat-calendar-body-range-start",e._isRangeStart(a.compareValue))("mat-calendar-body-range-end",e._isRangeEnd(a.compareValue))("mat-calendar-body-in-range",e._isInRange(a.compareValue))("mat-calendar-body-comparison-bridge-start",e._isComparisonBridgeStart(a.compareValue,d,b))("mat-calendar-body-comparison-bridge-end",e._isComparisonBridgeEnd(a.compareValue,
d,b))("mat-calendar-body-comparison-start",e._isComparisonStart(a.compareValue))("mat-calendar-body-comparison-end",e._isComparisonEnd(a.compareValue))("mat-calendar-body-in-comparison-range",e._isInComparisonRange(a.compareValue))("mat-calendar-body-preview-start",e._isPreviewStart(a.compareValue))("mat-calendar-body-preview-end",e._isPreviewEnd(a.compareValue))("mat-calendar-body-in-preview",e._isInPreview(a.compareValue));F("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);bf("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);mf("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);zf(" ",a.displayValue," ")}},Loa=function(a,b){a&1&&(G(0,"tr",5),Q(1,Joa,2,6,"td",6),
Q(2,Koa,5,48,"td",7),H());if(a&2){a=b.$implicit;b=b.index;var c=N();z(1);F("ngIf",0===b&&c._firstRowOffset);z(1);F("ngForOf",a)}},Moa=function(a){return"TD"===(null==a?void 0:a.nodeName)},Noa=function(a){if(Moa(a))var b=a;else if(Moa(a.parentNode))b=a.parentNode;else{var c;Moa(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},Ooa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},Poa=function(a,
b,c){return null!==b&&b!==c&&a>=b&&a===c},Qoa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},Roa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},Soa=function(a,b){a&1&&(G(0,"th",5)(1,"span",6),R(2),H(),G(3,"span",7),R(4),H()());a&2&&(a=b.$implicit,z(2),Af(a.long),z(2),Af(a.narrow))},Uoa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=Toa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},ih=function(a,b,c,d){return((a.getYear(b)-
Toa(a,c,d))%24+24)%24},Toa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},Voa=function(){},Woa=function(a){if(a&1){var b=v();G(0,"mat-month-view",5);M("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(),F("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))},Xoa=function(a){if(a&1){var b=v();G(0,"mat-year-view",6);M("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(),F("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Yoa=function(a){if(a&1){var b=v();G(0,"mat-multi-year-view",7);M("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(),F("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Zoa=function(a){a&1&&I(0,"mat-pseudo-checkbox",5);a&2&&(a=N(),F("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},$oa=function(a){a&1&&(G(0,"span",6),R(1),H());a&2&&(a=N(),z(1),zf("(",a.group.label,")"))},apa=function(){},bpa=function(a,b){for(var c=a.length;c--;)b(a[c])},cpa=function(){},
dpa=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},epa=function(a){a&1&&(J(0),G(1,"div",14),I(2,"div",15)(3,"div",16)(4,"div",17),H(),G(5,"div",18),I(6,"div",15)(7,"div",16)(8,"div",17),H(),L())},fpa=function(a){if(a&1){var b=v();G(0,"div",19);M("cdkObserveContent",function(){w(b);var c=N();return y(jh(c))});uf(1,1);H()}a&2&&(a=N(),F("cdkObserveContentDisabled","outline"!=
a.appearance))},gpa=function(a){a&1&&(J(0),uf(1,2),G(2,"span"),R(3),H(),L());a&2&&(a=N(2),z(3),Af(a._control.placeholder))},hpa=function(a){a&1&&uf(0,3,["*ngSwitchCase","true"])},ipa=function(a){a&1&&(G(0,"span",23),R(1," *"),H())},jpa=function(a){if(a&1){var b=v();G(0,"label",20,21);M("cdkObserveContent",function(){w(b);var c=N();return y(jh(c))});Q(2,gpa,4,1,"ng-container",12);Q(3,hpa,1,0,"ng-content",12);Q(4,ipa,2,0,"span",22);H()}a&2&&(a=N(),mf("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),F("cdkObserveContentDisabled","outline"!=a.appearance)("id",a._labelId)("ngSwitch",a._hasLabel()),bf("for",a._control.id)("aria-owns",a._control.id),z(2),F("ngSwitchCase",!1),z(1),F("ngSwitchCase",!0),z(1),F("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},kpa=function(a){a&1&&(G(0,"div",24),uf(1,4),H())},lpa=function(a){a&1&&(G(0,"div",25),I(1,"span",26),H());a&2&&(a=N(),
z(1),mf("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},mpa=function(a){a&1&&(G(0,"div"),uf(1,5),H());a&2&&(a=N(),F("@transitionMessages",a._subscriptAnimationState))},npa=function(a){a&1&&(G(0,"div",30),R(1),H());a&2&&(a=N(2),F("id",a._hintLabelId),z(1),Af(a.hintLabel))},opa=function(a){a&1&&(G(0,"div",27),Q(1,npa,2,2,"div",28),uf(2,6),I(3,"div",29),uf(4,7),H());a&2&&(a=N(),F("@transitionMessages",a._subscriptAnimationState),z(1),F("ngIf",a.hintLabel))},qpa=function(){if(void 0===ppa&&
(ppa=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(ppa=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return ppa},rpa=function(a){var b;return(null==(b=qpa())?void 0:b.createHTML(a))||a},spa=function(){var a=wc(ah),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},kh=function(a){a&&"function"==typeof a.dispose&&a.dispose()},tpa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];
ua(d)?tpa.apply(null,d):kh(d)}},upa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;A=x=0}function b(B){for(var K=h,O=0;64>O;O+=4)K[O/4]=B[O]<<24|B[O+1]<<16|B[O+2]<<8|B[O+3];for(O=16;80>O;O++)B=K[O-3]^K[O-8]^K[O-14]^K[O-16],K[O]=(B<<1|B>>>31)&4294967295;B=e[0];var P=e[1],Y=e[2],X=e[3],ka=e[4];for(O=0;80>O;O++){if(40>O)if(20>O){var ma=X^P&(Y^X);var ya=1518500249}else ma=P^Y^X,ya=1859775393;else 60>O?(ma=P&Y|X&(P|Y),ya=2400959708):(ma=P^Y^X,ya=
3395469782);ma=((B<<5|B>>>27)&4294967295)+ma+ka+ya+K[O]&4294967295;ka=X;X=Y;Y=(P<<30|P>>>2)&4294967295;P=B;B=ma}e[0]=e[0]+B&4294967295;e[1]=e[1]+P&4294967295;e[2]=e[2]+Y&4294967295;e[3]=e[3]+X&4294967295;e[4]=e[4]+ka&4294967295}function c(B,K){if("string"===typeof B){B=unescape(encodeURIComponent(B));for(var O=[],P=0,Y=B.length;P<Y;++P)O.push(B.charCodeAt(P));B=O}K||(K=B.length);O=0;if(0==x)for(;O+64<K;)b(B.slice(O,O+64)),O+=64,A+=64;for(;O<K;)if(g[x++]=B[O++],A++,64==x)for(x=0,b(g);O+64<K;)b(B.slice(O,
O+64)),O+=64,A+=64}function d(){var B=[],K=8*A;56>x?c(l,56-x):c(l,64-(x-56));for(var O=63;56<=O;O--)g[O]=K&255,K>>>=8;b(g);for(O=K=0;5>O;O++)for(var P=24;0<=P;P-=8)B[K++]=e[O]>>P&255;return B}for(var e=[],g=[],h=[],l=[128],q=1;64>q;++q)l[q]=0;var x,A;a();return{reset:a,update:c,digest:d,digestString:function(){for(var B=d(),K="",O=0;O<B.length;O++)K+="0123456789ABCDEF".charAt(Math.floor(B[O]/16))+"0123456789ABCDEF".charAt(B[O]%16);return K}}},vpa=function(a,b,c){lh(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)},wpa=function(a,b){mh.call(this);this.logSource_=a;this.sessionIndex_=b;this.destinationUrl_="https://play.google.com/log?format=json&hasfast=true";this.enableServiceWorkerScope_=!1;this.networkIOSend_=vpa;this.componentId_="";this.enableSendBeaconApi_=this.useGetRequestForFinalFlush_=this.useSendBeaconForFinalFlush_=!1;this.useConsistentTimezoneOffset=void 0},xpa=function(a){a&1&&(fd(),
G(0,"svg",3),I(1,"polygon",4),H())},ypa=function(a){if(a&1){var b=v();G(0,"div",0);M("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))});G(1,"div",1);uf(2);H()()}a&2&&(a=N(),F("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),
bf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},zpa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},Apa=function(a){a&1&&(fd(),G(0,"svg",2),I(1,"polygon",3),H())},Bpa=function(a){if(a&1){var b=v();G(0,"div",0);M("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))});G(1,"div",1);uf(2);H()()}a&2&&(a=N(),F("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),bf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},nh=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},Epa=function(a){var b=oh(a,"Content-Type");
if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Cpa:new Dpa;if(b.startsWith("application/x-protobuf")){a=oh(a,"Content-Transfer-Encoding");if(!a)return new ph;if("base64"==a.toLowerCase())return new qh}return null},Fpa=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,x){(x=document.getElementById(x))&&
q.push(x);return q},[]);if(b.length)return b.map(function(q){return Fpa(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 Fpa(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()},Gpa=function(){return{color:"accent"}},Hpa=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},Ipa=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("ba");},Jpa=function(a,b){a.src=rh(b).toString()},sh=function(a,b){a.src=rh(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)},Kpa=function(a,b,c){b=ena(b);void 0!==b&&a.open(b,c,void 0)},th=function(a){return null==console?!1:"function"===typeof console[a]},uh=function(){th("debug")&&console.debug.apply(console,Lc.apply(0,arguments))},Lpa=function(){th("info")&&console.info.apply(console,Lc.apply(0,arguments))},Mpa=function(){th("log")&&console.log.apply(console,Lc.apply(0,arguments))},vh=function(){th("warn")&&console.warn.apply(console,
Lc.apply(0,arguments))},Npa=function(){th("error")&&console.error.apply(console,Lc.apply(0,arguments))},Opa=function(a){if(null!=a){var b=a.getYear();if(null==b)vh("No year. dateToJs");else{var c=a.getDay();if(null==c)vh("No day. dateToJs");else if(a=a.getMonth(),null==a)vh("No month. dateToJs");else return{year:b,day:c,month:a}}}},Ppa=function(a){var b=new wh;b.setDay(a.day);b.setMonth(a.month);b.setYear(a.year);return b},xh=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,
nanos:a}}},zh=function(a){var b=new yh;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Qpa=function(a){var b=new Ah;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Rpa=function(a){if(null!=a)return Number(a.toDate())},Spa=function(a){var b;return{changelistNumbers:null!=(b=Bh(a,1))?b:[]}},Upa=function(a){return{changelists:Ch(a,Dh,1).map(Tpa),nextPageToken:a.getNextPageToken()}},Tpa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:Eh(a,2),pending:a.getPending(),timestamp:xh(a.getTimestamp()),
issueIds:null!=(b=a.getIssueIdsList())?b:[],fixedIssueIds:null!=(c=Fh(a,6))?c:[]}},Vpa=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=(b=Gh(a,5))?b:[]}},Ih=function(a){return new Hh(a.year,a.month-1,a.day)},Jh=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},Wpa=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},Xpa=function(a,b){return a.size!==b.size?
!1:[].concat(Pc(a)).every(function(c){return b.has(c)})},Ypa=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},Zpa=function(a,b){if(!Xpa(a,b)){var c=[].concat(Pc(b)).filter(function(e){return!a.has(e)}),d=[].concat(Pc(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},$pa=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(Pc(a===c?b:a)).filter(function(d){return c.has(d)}))},
aqa=function(a,b){return a.size>=b.size&&[].concat(Pc(b)).every(function(c){return a.has(c)})},Kh=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(!Kh(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?Xpa(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(!bqa.call(b,g)||!Kh(a[g],b[g]))return!1}return!0}return!1},cqa=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(Kh(c,g.value)){d=!0;break}d||b.push(c)}return b},dqa=function(a,b){for(var c=a.length-1;0<=c;c--)Kh(a[c],b)&&a.splice(c,
1)},eqa=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},gqa=function(a){return Object.assign.apply(Object,[{}].concat(Pc(fqa.map(function(b){var c={};return c[b]=a[b],c}))))},Lh=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(Lh(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(Lh(c),Lh(d))}a=b}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]=Lh(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));
a=b}return a},hqa=function(a){return"number"===typeof a},Mh=function(a){return"string"===typeof a},Nh=function(a){return Array.isArray(a)&&a.every(Mh)},iqa=function(a){return Array.isArray(a)&&a.every(hqa)},jqa=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},Oh=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Qh=function(a){if(a){if(hqa(a)){var b=new Date(a);47E3<
b.getFullYear()&&(b=new Date(a/1E3));return new Hh(b)}b=a.split("/");if(3===b.length)return a=Ph(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new Hh(a,Ph(b[0])-1,Ph(b[1]));if(1===b.length)return Qh(Number(a))}return new Hh},kqa=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},lqa=function(a){return!(!a||!Rh(a,"text/")&&!Rh(a,"image/")&&"application/pdf"!==a)},mqa=function(a,b){return a.map(function(c){return c[b]})},nqa=function(a,b){return a.filter(function(c){return!b.has(c)})},oqa=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},Sh=function(a,b){return nqa(a,new Set(b))},pqa=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(Th).filter(function(d){return!!d})},qqa=function(a,b){a=new URL(a);return a.host+a.pathname+b},rqa=function(a){return a?Jh(Qh(a)):null},sqa=function(a){return a?(a=Uh(a),isNaN(a)?null:a):null},uqa=function(a){var b=new Vh;
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 Wh(a.typedDefaultValue));b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||null;b.stateOnIssues=tqa[a.stateOnIssues]||1;var c=a.enabledOnIssues;b.enabledOnIssues=null==c?!0:c;b.shared=a.shared;return b},vqa=function(a){return void 0!==a.user},wqa=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";
case "googlers_unrestricted":return"Full-time Googlers";default:return Xh(a.replace(/_/g," ").toLowerCase())}},yqa=function(a){if(a)return{accessLevel:xqa[a.getAccessLevel()]}},Aqa=function(a){a=zqa[a.accessLevel];var b=new Yh;b.setAccessLevel(a);return b},Bqa=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},$h=function(a){return a?a.map(Zh):[]},ai=function(a){a=$h(a);a.sort();return a},Zh=function(a){return a&&a.getUserGaiaStatus?Cqa(bi(a)):Cqa(a)},Cqa=function(a){return a?
"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Bqa(a)?Dqa(a)||"[No Data]":"[No Data]":""},ci=function(a){return a&&a.getUserGaiaStatus?Dqa(bi(a)):Dqa(a)},Dqa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},bi=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=Eqa[c];(c=a.getAliasesList())&&0<c.length&&
(b.aliases=c);return b}},di=function(a){if(!a)return null;var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=bi(c.value))&&b.push(c);return b},fi=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new ei;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Fqa[a]);return e},gi=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},hi=function(a){if(null!=a&&(a=String(a),""!==
a.trim()))return a=Number(a),isNaN(a)?void 0:a},ii=function(a){if(null!=a)return String(a)},ji=function(a){if(null!=a&&"0"!==a)return a},ki=function(a){return null==a?void 0:a},li=function(a){return null==a?null:a},mi=function(a){return function(b){return null==b?a:b}},ni=function(a){return null!=a},Gqa=function(a){return{noAccessEmails:Gh(a,1),unknownEmails:Gh(a,2)}},Hqa=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=bi(c);if(c=a.getGroup())b.group=bi(c);if(c=a.getAlias())b.alias=c;return b}},
pi=function(a){var b=new oi;if(vqa(a))return b.setUser(fi(a.user)),b;if(void 0!==a.group)return b.setGroup(fi(a.group)),b;void 0!==a.alias&&b.setAlias(a.alias);return b},Jqa=function(a){var b=Iqa[a.getImplicitAccess()],c,d,e,g,h,l,q,x,A,B;return{admins:qi(null!=(c=a.getAdminsList())?c:[]),appenders:qi(null!=(d=a.getAppendersList())?d:[]),editors:qi(null!=(e=a.getEditorsList())?e:[]),readers:qi(null!=(g=a.getReadersList())?g:[]),restrictedReaders:qi(null!=(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:qi(null!=
(l=a.getRestrictedPlusReadersList())?l:[]),inheritedAdmins:qi(null!=(q=a.getInheritedAdminsList())?q:[]),implicitAppenders:qi(null!=(x=a.getImplicitAppendersList())?x:[]),implicitEditors:qi(null!=(A=a.getImplicitEditorsList())?A:[]),implicitReaders:qi(null!=(B=a.getImplicitReadersList())?B:[]),implicitAccess:b}},qi=function(a){return a.map(Hqa).filter(ni)},ri=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?(Npa("Invalid principal: ",a),""):e+":"+g},si=function(a){return(null!=a?a:[]).map(ri)},Lqa=function(a){return(null!=a?a:[]).map(Kqa)},Kqa=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Ub`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Vb`"+
b);}},Mqa=function(a){switch(a){case 2:return"PII";case 3:return"SPII";case 0:case 1:return"NONE_DETECTED";default:return nh(a,"Unexpected pii severity")}},ti=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 nh(a,"Unexpected pii severity")}},ui=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},Nqa=function(a){switch(a){case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;
default:return 1}},Oqa=function(a){switch(a){case "PII":return"Restricted";case "SPII":return"Restricted+";default:return""}},Pqa=function(a){var b=vi(a,1)?wi(a,1):void 0,c=a.hasResourcePath()?a.getResourcePath():void 0,d=Mqa(a.getSeverity()),e=a.getJudgementReason();a=V(a,5);return{contentJudgementId:b,resourcePath:c,severity:d,judgementReason:e,contentJudge:a}},Qqa=function(a){var b=new xi;b.setJudgementReason(a.judgementReason);b.setSeverity(ti(a.severity));return b},Rqa=function(a){return String(a)},
yi=function(a){var b=hi(a);if(null==b)throw Error("Wb`"+a);return b},Tqa=function(a){if(null!=a)return{customFieldId:ki(a.getCustomFieldId()),standardField:Sqa[a.getStandardField()]}},Vqa=function(a){var b=new zi;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&b.setStandardField(Uqa[a.standardField]);return b},Xqa=function(a){if(a&&(a=Wqa(a)))return uqa(a)},Wqa=function(a){if(null!=a){var b=a.getName();if(null==b)vh("No name. customFieldToJs");else{var c=hi(a.getCustomFieldId());
if(null==c)vh("No customFieldId. customFieldToJs");else{if(a.hasType())return{name:b,description:ki(a.getDescription()),required:ki(a.getRequired()),enabledOnIssues:!!a.getEnabledOnIssues(),type:Yqa[a.getType()],customFieldId:c,componentId:hi(a.getComponentId()),allowedValue:ki(Gh(a,8)),stateOnIssues:Zqa[a.getStateOnIssues()],fieldSignificance:$qa[a.getFieldSignificance()],typedDefaultValue:ara(a.getTypedDefaultValue()),shared:!!a.getShared()};vh("No type. customFieldToJs")}}}},ara=function(a){if(null!=
a){var b=hi(a.getCustomFieldId());if(null==b)vh("No customFieldId. customFieldValueToJs");else{var c=ki(Gh(a,12));b={customFieldId:b,displayValues:c};switch(Ai(a,Bi)){case 4:b.textValue=ki(a.getTextValue());break;case 5:b.dateValue=Opa(a.getDateValue());break;case 6:b.enumValue=ki(a.getEnumValue());break;case 7:b.numericValue=ki(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 x,A,B,K;b.repeatedDateValue={values:null!=(K=null==(x=a.getRepeatedDateValue())?void 0:null==(A=x.getValuesList())?void 0:null==(B=A.map(Opa))?void 0:B.filter(ni))?K:[]}}return b}}},bra=function(a){var b=new Ci;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));
a.displayValues&&Di(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(Ppa(a.dateValue));else if(void 0!==a.repeatedTextValue){var c=new Ei;c.setValuesList(a.repeatedTextValue.values);b.setRepeatedTextValue(c)}else void 0!==a.repeatedEnumValue?(c=new Ei,c.setValuesList(a.repeatedEnumValue.values),b.setRepeatedEnumValue(c)):
void 0!==a.repeatedNumericValue?(c=new Fi,c.setValuesList(a.repeatedNumericValue.values),b.setRepeatedNumericValue(c)):void 0!==a.repeatedDateValue&&(c=new Gi,c.setValuesList(a.repeatedDateValue.values.map(Ppa)),b.setRepeatedDateValue(c));return b},cra=function(a){return Xqa(a.getCustomField())},fra=function(a){var b=new Hi;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(dra[a.type]);b.setRequired(a.required);b.setName(a.name);b.setDescription(a.description);
a.typedDefaultValue&&b.setTypedDefaultValue(bra(a.typedDefaultValue));a.allowedValue&&Di(b,8,a.allowedValue);b.setFieldSignificance(era[a.fieldSignificance]);b.setStateOnIssues(a.stateOnIssues);b.setEnabledOnIssues(a.enabledOnIssues);b.setShared(a.shared);return b},jra=function(a){var b=new Ii;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&&gra(b,hra(new Ji,a.numericSpec.multiplier));if(a.enumSpec){var c;
ira(b,(new Ki).setOptionsList((null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Mi).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}Ni(b,6,a)}return b},lra=function(a){if(a.hasPlainFormat()){var b;var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?b:[]).map(kra)}}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}},kra=function(a){return{isQuoted:a.getIsQuoted(),content:a.getContent()}},nra=function(a){return(new mra).setIsQuoted(a.isQuoted).setContent(a.content)},pra=function(a){return{retentionSelection:ora[W(a,1,0)],retentionPeriodDays:Eh(a,2),piiRetentionSelection:ora[W(a,3,0)],piiRetentionPeriodDays:Eh(a,4),spiiRetentionPeriodDays:Eh(a,5)}},rra=function(a){var b=new Oi;n(b,1,qra[a.retentionSelection]);null!==
a.retentionPeriodDays&&n(b,2,a.retentionPeriodDays);n(b,3,qra[a.piiRetentionSelection]);null!==a.piiRetentionPeriodDays&&n(b,4,a.piiRetentionPeriodDays);null!==a.spiiRetentionPeriodDays&&n(b,5,a.spiiRetentionPeriodDays);return b},sra=function(a){if(null!=a){var b=li(xh(a.getRetentionPeriod()));a=li(xh(a.getScheduledDeletionTime()));return{retentionPeriod:b,scheduledDeletionTime:a}}},ura=function(a){if(null!=a){a:{a=Z(a,Pi,1);if(null!=a){if(a.hasSeverity()){a={severity:tra[a.getSeverity()]};break a}vh("No severity. piiVerdictToJs")}a=
void 0}return{piiVerdict:a}}},vra=function(a){var b;return{paths:null!=(b=Gh(a,1))?b:[]}},wra=function(a){return{startTime:xh(a.getStartTime()),endTime:xh(a.getEndTime()),targetTime:xh(a.getTargetTime())}},xra=function(a){var b=new Qi;a.startTime&&b.setStartTime(zh(a.startTime));a.endTime&&b.setEndTime(zh(a.endTime));a.targetTime&&b.setTargetTime(zh(a.targetTime));return b},zra=function(a){var b=new Ri;b.setInherit(a.inherit);b.setSource(yra[a.source]);b.setId(a.id);b.setComment(a.comment);n(b,6,
a.sourceComponentId);b.setSourceTeamId(a.sourceTeamId);return b},Ara=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:W(b,2,0))},Bra=function(a){var b;return 1===(null==(b=Z(a,Si,1))?void 0:b.getEffectiveSloEditPolicy())},Cra=function(a){var b=Z(a,Ti,2);a:{var c=W(a,3,0);switch(c){case 1:c="daily";break a;case 2:c="weekly";break a;case 3:c="monthly";break a;case 0:break;default:nh(c)}c=void 0}var d=a.getTimeZone(),e=Z(a,Ui,6);if(null==b)throw Error("Xb");if(null==c)throw Error("Yb");
if(null==d)throw Error("Zb");if(null==e)throw Error("$b");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:nh(l)}if(b=b.getAliasesList())h.aliases=b;a=a.getOrdinal();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()}}},Era=function(a){var b=(new Vi).setId(a.id),c=a.lead,d=c.emailAddress,e=c.obfuscatedEmailAddress,g=c.aliases;c=c.userGaiaStatus;var h=new Ti;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:nh(c)}b=Wi(b,Ti,2,h).setFrequency(Dra(a.frequency)).setOrdinal(a.ordinal);d=b.setTimeZone;e=a.timeZone;g=(new Xi).setId(e.id);e.version&&g.setVersion(e.version);b=d.call(b,g);a=a.timeOfDay;a=(new Ui).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);return Wi(b,Ui,6,a)},Hra=function(a){return{metric:Fra[a.getMetric()],matcher:a.getMatcher(),dayType:Gra[a.getDayType()],objective:xh(a.getObjective()),businessDays:a.getBusinessDays()}},
Kra=function(a){var b=new Yi;return n(b,1,Ira[a.metric]).setMatcher(a.matcher).setDayType(Jra[a.dayType]).setObjective(Qpa(a.objective)).setBusinessDays(a.businessDays)},Zi=function(a){var b,c;return{sloId:a.getSloId(),version:a.getVersion(),name:a.getName(),description:a.getDescription(),parentId:a.getParentId(),elements:(null!=(b=Ch(a,Yi,6))?b:[]).map(Hra),effectiveElements:(null!=(c=Ch(a,Yi,7))?c:[]).map(Hra),isArchived:a.getIsArchived(),alertState:Lra[W(a,9,0)]}},Nra=function(a){var b=(new $i).setSloId(a.sloId).setVersion(a.version).setName(a.name).setDescription(a.description).setParentId(a.parentId);
var c=a.elements.map(Kra);b=aj(b,6,c);c=a.effectiveElements.map(Kra);b=aj(b,7,c).setIsArchived(a.isArchived);return n(b,9,Mra[a.alertState])},Ora=function(a){return{author:a.getAuthor(),timestamp:a.getTimestamp(),add:Zi(a.getAdd()),remove:Zi(a.getRemove()),addMask:vra(a.getAddMask()),removeMask:vra(a.getRemoveMask())}},Dra=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return nh(a)}},Pra=function(a){if(null!=a)return{tag:a.getTag(),text:a.getText()}},
Yra=function(a){if(null!=a){var b,c,d,e,g,h,l,q,x=a.getTitle()||"",A=li(a.getComment()),B=Qra(a.getFormattingMode()),K=li(a.getVersion()),O=li(a.getCreatedTimeMicros()),P=!!a.getIsArchived(),Y=!!a.getInProd(),X=li(a.getIsDeleted()),ka=li(Gh(a,18)),ma=li(a.getPostmortemsList()),ya=li(Gh(a,19)),Aa=li(Gh(a,20)),Ma=li(Gh(a,21)),Ra=li(hi(a.getComponentId())),Ta=null!=(h=ji(wi(a,15)))?h:null;h=li(null==(b=Fh(a,14))?void 0:b.map(hi).filter(ni));b=li(null==(c=Fh(a,16))?void 0:c.map(ji).filter(ni));c=li(null==
(d=Fh(a,17))?void 0:d.map(ji).filter(ni));d=li(null==(e=a.getHotlistIdList())?void 0:e.map(hi).filter(ni));e=li(null==(g=Fh(a,30))?void 0:g.map(ji).filter(ni));g=null!=(l=xh(a.getSloStartTime()))?l:null;l=null!=(q=xh(a.getSloEndTime()))?q:null;q=li(bi(Z(a,ei,36)));var Lb=li(bi(Z(a,ei,37))),qb=li(bi(Z(a,ei,38))),Ya=li(bi(Z(a,ei,39))),wa=li(di(Ch(a,ei,40))),Ka=li(di(Ch(a,ei,51))),Na=Ch(a,Ci,24).map(ara).filter(ni),eb=Rra[a.getRetention()],ab=$qa[a.getSignificanceOverride()],Sc=Sra[a.getDeletionReason()],
fb=a.hasType()?Tra[a.getType()]:null,zb=a.hasPriority()?Ura[a.getPriority()]:null,$a=a.hasSeverity()?Vra[a.getSeverity()]:null,Fb=a.hasStatus()?bj[a.getStatus()]:null,ib=cj(a,52)?Wra[a.getSloSnoozeType()]:null,Mb=a.hasAccessLimitLevel()?Xra[a.getAccessLimitLevel()]:null;a.hasEffort()?(a=a.getEffort(),a={specId:dj(a,1),estimate:V(a,2),averageDays:ej(a,3),totalOpen:ej(a,4),totalComplete:ej(a,5)}):a=void 0;return{title:x,comment:A,formattingMode:B,version:K,createdTimeMicros:O,isArchived:P,inProd:Y,
isDeleted:X,changelist:ka,postmortems:ma,foundInVersion:ya,targetedToVersion:Aa,verifiedInVersion:Ma,componentId:Ra,duplicateOfIssueId:Ta,attachmentId:h,blockedByIssueId:b,blockingIssueId:c,hotlistId:d,duplicateIssueId:e,sloStartTime:g,sloEndTime:l,authorUser:q,reporterUser:Lb,assigneeUser:qb,verifierUser:Ya,ccUsers:wa,collaboratorsUsers:Ka,customField:Na,retention:eb,significanceOverride:ab,deletionReason:Sc,type:fb,priority:zb,severity:$a,status:Fb,sloSnoozeType:ib,issueAccessLimitLevel:Mb,effort:a}}},
gsa=function(a){var b=new fj;if(a.authorUser){var c=fi(a.authorUser);Wi(b,ei,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(Zra[a.type]);a.status&&b.setStatus(gj[a.status]);a.priority&&b.setPriority($ra[a.priority]);a.severity&&b.setSeverity(asa[a.severity]);void 0!==a.title&&b.setTitle(a.title);a.reporterUser&&(c=fi(a.reporterUser),Wi(b,ei,37,c));a.assigneeUser&&(c=
fi(a.assigneeUser),Wi(b,ei,38,c));a.verifierUser&&(c=fi(a.verifierUser),Wi(b,ei,39,c));a.ccUsers&&(c=a.ccUsers.map(fi),aj(b,40,c));a.collaboratorsUsers&&(c=a.collaboratorsUsers.map(fi),aj(b,51,c));a.attachmentId&&(c=a.attachmentId.map(Rqa),hj(b,14,c));a.duplicateOfIssueId&&n(b,15,a.duplicateOfIssueId);a.blockedByIssueId&&hj(b,16,a.blockedByIssueId);a.blockingIssueId&&hj(b,17,a.blockingIssueId);a.changelist&&Di(b,18,a.changelist);a.postmortems&&b.setPostmortemsList(a.postmortems);a.foundInVersion&&
Di(b,19,a.foundInVersion);a.targetedToVersion&&Di(b,20,a.targetedToVersion);a.verifiedInVersion&&Di(b,21,a.verifiedInVersion);a.hotlistId&&b.setHotlistIdList(a.hotlistId.map(Rqa));a.customField&&(c=a.customField.map(bra),aj(b,24,c));a.comment&&b.setComment(a.comment);a.formattingMode&&b.setFormattingMode(bsa[a.formattingMode]);a.retention&&b.setRetention(csa[a.retention]);a.isDeleted&&b.setIsDeleted(a.isDeleted);a.deletionReason&&b.setDeletionReason(dsa[a.deletionReason]);a.significanceOverride&&
b.setSignificanceOverride(era[a.significanceOverride]);a.duplicateIssueId&&hj(b,30,a.duplicateIssueId);void 0!==a.inProd&&b.setInProd(a.inProd);void 0!==a.isArchived&&b.setIsArchived(a.isArchived);a.sloStartTime&&b.setSloStartTime(zh(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(zh(a.sloEndTime));a.sloSnoozeType&&b.setSloSnoozeType(esa[a.sloSnoozeType]);a.issueAccessLimitLevel&&b.setAccessLimitLevel(fsa[a.issueAccessLimitLevel]);if(a.effort){c=b.setEffort;a=a.effort;var d=new ij;a.specId&&xb(d,1,
a.specId);a.estimate&&jj(d,2,a.estimate);a.averageDays&&kj(d,3,a.averageDays);a.totalOpen&&kj(d,4,a.totalOpen);a.totalComplete&&kj(d,5,a.totalComplete);c.call(b,d)}return b},hsa=function(a){var b={targetIssueId:String(dj(a,1))};if(a=dj(a,2))b.afterIssueId=ii(a);return b},isa=function(a,b,c,d){a=(new lj).setIssueId(a);b&&(b=fsa[b])&&(b=(new mj).setAccessLevel(b),a.setIssueAccessLimit(b));c&&a.setAddedCollaboratorsList(c.map(fi));d&&a.setRemovedCollaboratorsList(d.map(fi));return a},jsa=function(a){var b=
new nj;b.setIssueId(String(a));return b},lsa=function(a){var b=new ksa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},nsa=function(a){var b=new msa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},osa=function(a){return{issueId:ji(a.getIssueId()),status:bj[a.getStatus()],title:a.getTitle()}},qsa=function(a){var b=new oj;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(psa[a.actionType]);a.customFieldValue&&
b.setCustomFieldValue(bra(a.customFieldValue));return b},rsa=function(a){var b=new pj;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.map(qsa));return b},tsa=function(a){var b=new qj;b.setAddHotlistIdsList(a.addHotlistIds.map(String));b.setRemoveHotlistIdsList(a.removeHotlistIds.map(String));var c=a.hotlistIssue;a=new rj;a.setIssueId(String(c.issueId));c.position&&a.setPosition(c.position);if(c.issue){var d=a.setIssue;c=c.issue;var e=new sj;e.setIssueId(String(c.issueId));var g,h=(null!=
(g=c.snapshot)?g:[]).map(gsa);aj(e,2,h);if(c.userData){g=e.setUserData;h=c.userData;var l=new tj;h.voted&&l.setVoted(h.voted);h.starred&&l.setStarred(h.starred);h.notificationSubscription&&l.setNotificationSubscription(ssa[h.notificationSubscription]);void 0!==h.lastViewedTimeMicros&&n(l,5,h.lastViewedTimeMicros);g.call(e,l)}if(c.aggregatedData){h=c.aggregatedData;g=new uj;g.setVoteCount(h.voteCount);g.setCreatedTimeMicros(h.createdTimeMicros);n(g,4,h.resolvedTimeMicros);n(g,5,h.verifiedTimeMicros);
g.setModifiedTimeMicros(h.modifiedTimeMicros);g.setLastModifier(fi(h.lastModifier));g.setSloId(String(h.sloId));g.setTeamId(String(h.teamId));if(h.retentionState){l=g.setRetentionState;var q=h.retentionState,x=new vj;q.retentionPeriod&&x.setRetentionPeriod(Qpa(q.retentionPeriod));q.scheduledDeletionTime&&x.setScheduledDeletionTime(zh(q.scheduledDeletionTime));l.call(g,x)}h.sloStatus&&(l=g.setSloStatus,h=h.sloStatus,q=new wj,h.assignmentBounds&&q.setAssignmentBounds(xra(h.assignmentBounds)),h.responseBounds&&
q.setResponseBounds(xra(h.responseBounds)),h.closureBounds&&q.setClosureBounds(xra(h.closureBounds)),l.call(g,q));Wi(e,uj,4,g)}c.accessLimit&&e.setAccessLimit(Aqa(c.accessLimit));e.setCustomFieldsList(c.customFields.map(uqa).map(fra));var A;e.setVisibleFieldsList((null!=(A=c.visibleFields)?A:[]).map(Vqa));n(e,7,c.majorModifiedTimeMicros);e.setParentIssueIdsList(c.parentIssueIds);if(c.ancestors)for(A=e.getAncestorsMap(),g=k(c.ancestors.entries()),h=g.next();!h.done;h=g.next()){h=k(h.value);x=h.next().value;
h=h.next().value;l=A;q=l.set;x=Number(x);var B=new xj;B.setSourceIssueIdsList(h.sourceIssueIds.map(hi).filter(ni));q.call(l,x,B)}e.setChildIssueCount(c.childIssueCount);e.setIsArchived(c.isArchived);d.call(a,e)}Wi(b,rj,3,a);return b},usa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(osa),numTotalResults:a.getNumTotalResults()}},wsa=function(a){var b=new yj;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);hj(b,2,c);b.setRelation(vsa[a.relation]);b.setActionType(psa[a.actionType]);
return b},ysa=function(a){var b=new xsa;b.setIssueId(String(a.issueId));b.setRetention(csa[a.retention]);a.significanceOverride&&b.setSignificanceOverride(era[a.significanceOverride]);return b},zsa=function(a){var b=new zj;b.setSnapshot(gsa(a.snapshot));a.attachments&&b.setAttachmentsList(a.attachments);a.templateId&&b.setTemplateId(String(a.templateId));a.contentJudgement&&b.setContentJudgement(Qqa(a.contentJudgement));return b},Asa=function(a){return{issueId:ji(a.getIssueId())}},Cj=function(a){return{issueId:ji(a.getIssueId()),
updateText:a.getUpdateText(),formattedText:Aj(a,Bj,3)?lra(Z(a,Bj,3)):void 0,formattingMode:Qra(a.getFormattingMode()),author:ki(bi(a.getAuthor())),updateTime:ki(xh(a.getUpdateTime())),version:a.getVersion()}},Qra=function(a){switch(a){case 0:break;case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return nh(a)}},Bsa=function(a){return{encryptedMedia:Ab(Dj(a,1)),errorMessage:a.getErrorMessage()}},Csa=function(a){var b=new Ej;n(b,1,Sa(a.attachment,!1,!1));void 0!==a.contentJudgement&&
b.setContentJudgement(Qqa(a.contentJudgement));return b},Esa=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(Dsa)}},Dsa=function(a){if(null!=a){var b=hi(a.getAttachmentId()),c=V(a,7),d=a.getEtag(),e=a.getContentType(),g=a.getDescription(),h=a.getFilename(),l=a.getLength(),q=Rra[a.getPiiRetention()],x=sra(a.getPiiRetentionState()),A=Fsa(a.getEntityStatus()),B=ura(a.getContentVerdict());a=Z(a,Fj,3);a=null!=a?{filename:ki(m(a,5)),length:ki(a.getLength_legacyNullable()),
contentType:ki(m(a,1))}:void 0;return{attachmentId:b,filecompUrl:c,etag:d,contentType:e,description:g,filename:h,length:l,piiRetention:q,piiRetentionState:x,entityStatus:A,contentVerdict:B,media:a}}},Fsa=function(a){if(null!=a)return{reason:Gsa[a.getReason()],status:Hsa[a.hasStatus()?a.getStatus():0]}},Isa=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription()}},Ksa=function(a){var b=a.getTeamId(),c=a.getVersion(),d=a.getName(),e=a.getDescription(),g=a.getPathNamesList(),
h=a.getPathIdsList().map(String),l=Gh(a,6),q=a.getMembersList().map(Jsa),x=a.getDeleted(),A=dj(a,9);var B=a.getSlo();B=null!=B?{inherit:B.getInherit(),sloId:B.getSloId(),comment:B.getComment(),sourceTeamId:B.getSourceTeamId()}:void 0;return{teamId:b,version:c,name:d,description:e,pathNames:g,pathIds:h,collapsedPathNames:l,members:q,deleted:x,estimatedComponentCount:A,slo:B,sloLead:bi(Z(a,ei,12)),defaultSloLead:bi(Z(a,ei,13))}},Jsa=function(a){var b;return{user:null!=(b=bi(a.getUser()))?b:{},isLead:Gj(a,
2)}},Lsa=function(a){var b=new Hj;Ij(b,2,a.isLead);b.setUser(fi(a.user));return b},Msa=function(a){var b=new Jj;if(null==a)return b;b.setInherit(a.inherit);b.setSloId(a.sloId);b.setComment(a.comment);b.setSourceTeamId(a.sourceTeamId);return b},Nsa=function(a){var b=new Kj;b.setInherit(a.inherit);b.setId(String(a.id));return b},Osa=function(a){return{teamId:a.getId(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList()}},Psa=function(a){return{teamId:a.getTeamId(),
score:a.getScore()}},Rsa=function(a){var b=new Qsa;b.setTeamId(a.teamId);b.setScore(a.score);return b},Ssa=function(a){return{author:a.getAuthor(),timestamp:a.getTimestamp(),add:Lj(a.getAdd()),remove:Lj(a.getRemove()),addMask:vra(a.getAddMask()),removeMask:vra(a.getRemoveMask())}},Tsa=function(a){var b;return{updates:(null!=(b=a.getUpdatesList())?b:[]).map(Ssa)}},Lj=function(a){var b=a.hasRetentionSettings()?pra(a.getRetentionSettings()):void 0;if(Aj(a,Mj,10)){var c=Z(a,Mj,10),d,e;var g=(null!=(d=
Fh(c,1))?d:[]).map(yi);d=Gh(c,2);var h=Ch(c,Hi,4);if(h){c=[];h=k(h);for(var l=h.next();!l.done;l=h.next())(l=Xqa(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:Usa[g.getSource()],id:g.getId(),sourceComponentId:wi(g,6),sourceTeamId:g.getSourceTeamId(),comment:g.getComment()}):g=void 0;var q;if(Aj(a,Ii,24)){c=a.getEffortSpec();d=c.getInherit();h=c.getId();l=c.getName();
a:switch(W(c,6,0)){case 2:var x="MAX";break a;case 1:x="SUM";break a;default:x="AGGREGATION_TYPE_UNSPECIFIED"}d={inherit:d,id:h,name:l,aggregationType:x,customFieldId:c.getCustomFieldId()};if(Nj(c,Ji,4,Oj)){if(q=Pj(c,Ji,4,Oj))d.numericSpec={multiplier:ej(q,1)}}else if(Nj(c,Ki,5,Oj)&&(c=Pj(c,Ki,5,Oj),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 A,B;c=yi(a.getComponentId());h=yi(wi(a,2));l=a.getName();x=a.getDescription();var K=a.getArchived(),O=(null!=(A=Fh(a,7))?A:[]).map(yi);A=yqa(a.getAccessLimit());var P=V(a,13),Y=Gj(a,14);var X=1===W(a,15,0)?"ENABLED":"DISABLED";return{componentId:c,parentComponentId:h,name:l,description:x,archived:K,customFieldId:O,componentPathInfo:e,accessLimit:A,
emailAlias:P,userHasEditAccess:Y,commentEditState:X,defaultTemplateId:yi(wi(a,18)),slo:g,bugscopeSloId:wi(a,20),retentionSettings:b,fieldOrdering:Vsa[W(a,23,0)],effortSpec:q,team:d,teamSuggestions:(null!=(B=a.getTeamSuggestionsList())?B:[]).map(Psa),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0}},Wsa=function(a){var b=new Qj;n(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(rra(a.retentionSettings));return b},Xsa=function(a){var b;return(null!=(b=Ch(a,Qj,1))?b:[]).map(Lj)},Ysa=function(a){return{warningHeader:V(a,1),warning:a.getWarning(),isAllowed:Gj(a,3),isExternalMove:Gj(a,4)}},Zsa=function(a){return{templateId:a.getTemplateId(),componentId:yi(a.getComponentId()),default:!!a.getDefault(),name:a.getName(),description:a.getDescription(),snapshot:Yra(a.getSnapshot())}},$sa=function(a){var b=new Rj;b.setTemplateId(a.templateId);
b.setComponentId(String(a.componentId));b.setDefault(a.default);b.setName(a.name);b.setDescription(a.description);b.setSnapshot(gsa(a.snapshot));return b},ata=function(a){var b={},c=Sj(a,2,Hi).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=Xqa(e))&&(b[yi(d)]=e)}return{snapshot:Yra(a.getSnapshot()),customFieldMap:b}},bta=function(a){var b;return(null!=(b=Ch(a,Qj,1))?b:[]).map(Lj)},cta=function(a){var b=pra(a.getRetentionSettings());return{componentPath:a.getComponentPath(),
retentionSettings:b}},eta=function(a){return Ch(a,dta,2).map(cta)},hta=function(a){if(null!=a){var b=a.getName();if(null==b)vh("No name. eventDiffToJs");else{b={name:b,displayName:ki(a.getDisplayName()),timestamp:Rpa(a.getTimestamp()),important:!!Gj(a,5),type:fta[a.getType()]};if(Nj(a,Tj,6,Uj)){var c=Pj(a,Tj,6,Uj);if(Nj(c,Vj,1,Wj)){var d=Pj(c,Vj,1,Wj);b.isUser=!0;b.oldValue=mi("<none>")(ci(null==d?void 0:Z(d,ei,1)));b.newValue=mi("<none>")(ci(null==d?void 0:Z(d,ei,2)))}if(Nj(c,Xj,2,Wj)){var e,g;b.oldValue=
ki(null==(e=Pj(a,Tj,6,Uj))?void 0:null==(g=Pj(e,Xj,2,Wj))?void 0:g.getOldValue());var h,l;b.newValue=ki(null==(h=Pj(a,Tj,6,Uj))?void 0:null==(l=Pj(h,Xj,2,Wj))?void 0:l.getNewValue())}}else if(Nj(a,Yj,9,Uj)){var q;b.customFieldId=ki(null==(q=Pj(a,Yj,9,Uj))?void 0:q.getCustomFieldId());var x;b.oldValue=ki(null==(x=Pj(a,Yj,9,Uj))?void 0:x.getOldValue());var A;b.newValue=ki(null==(A=Pj(a,Yj,9,Uj))?void 0:A.getNewValue())}else if(Nj(a,Zj,10,Uj))e=Pj(a,Zj,10,Uj),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||
[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(O){return ci(O)}).map(mi("<none>")),b.removed=e.map(function(O){return ci(O)}).map(mi("<none>"));else if(Nj(a,ak,7,Uj)){var B;b.added=(null==(B=Pj(a,ak,7,Uj))?void 0:B.getAddedList())||[];var K;b.removed=(null==(K=Pj(a,ak,7,Uj))?void 0:K.getRemovedList())||[]}else Nj(a,bk,8,Uj)?(e=(null==(d=Pj(a,bk,8,Uj))?void 0:d.getAddedList())||[],a=(null==(c=Pj(a,bk,8,Uj))?void 0:c.getRemovedList())||[],b.added=e.map(gta).filter(ni),b.removed=
a.map(gta).filter(ni)):Nj(a,ck,11,Uj)?(a=Fsa(Pj(a,ck,11,Uj).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):vh("Unhandled diff type '"+b.type+"'");return b}}},gta=function(a){if(null!=a){var b=a.getValue();if(null==b)vh("No value. linkedItemToJs");else if(a=a.getHref(),null==a)vh("No href. linkedItemToJs");else return{value:b,href:a}}},ita=function(a){a=dk(a).toString();var b=new ek;n(b,2,a);return b},jta=function(a){if(!a)return null;a=m(a,2);var b;null===a||void 0===a?b=null:b=yg(a);return b},
fk=function(a){if(null!=a){var b=a.getIssueId();if(null==b)vh("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,x;d=a.getUserData();if(null!=d){var A;d={voted:li(d.getVoted()),starred:li(d.getStarred()),notificationSubscription:kta[d.getNotificationSubscription()],lastViewedTimeMicros:null!=(A=dj(d,5))?
A:0}}else d=void 0;A=yqa(a.getAccessLimit());e=Ch(a,fj,2).map(Yra).filter(ni);g=a.getCustomFieldsList().map(Wqa).filter(ni);var B=a.getVisibleFieldsList().map(Tqa).filter(ni);var K=Z(a,uj,4);if(null!=K){var O=void 0;if(K.hasSloStatus()){var P=K.getSloStatus();O={assignmentBounds:P.hasAssignmentBounds()?wra(P.getAssignmentBounds()):void 0,responseBounds:P.hasResponseBounds()?wra(P.getResponseBounds()):void 0,closureBounds:P.hasClosureBounds()?wra(P.getClosureBounds()):void 0}}var Y,X,ka,ma,ya;P={voteCount:null!=
(Y=K.getVoteCount())?Y:0,createdTimeMicros:null!=(X=K.getCreatedTimeMicros())?X:0,resolvedTimeMicros:null!=(ka=dj(K,4))?ka:0,verifiedTimeMicros:null!=(ma=dj(K,5))?ma:0,modifiedTimeMicros:null!=(ya=K.getModifiedTimeMicros())?ya:0,lastModifier:bi(K.getLastModifier()),sloId:hi(K.getSloId()),teamId:hi(K.getTeamId()),retentionState:sra(K.getRetentionState()),sloStatus:O}}else P=void 0;return{issueId:b,userData:d,accessLimit:A,snapshot:e,customFields:g,visibleFields:B,aggregatedData:P,majorModifiedTimeMicros:null!=
(h=dj(a,7))?h:0,parentIssueIds:null!=(l=a.getParentIssueIdsList())?l:[],ancestors:c,childIssueCount:null!=(q=a.getChildIssueCount())?q:0,isArchived:a.getIsArchived(),relatedLinks:(null!=(x=a.getRelatedLinksList())?x:[]).map(lta),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0,statusUpdate:a.hasStatusUpdate()?Cj(a.getStatusUpdate()):void 0}}}},nta=function(a){if(null!=a){var b=Rpa(Z(a,yh,4)),c=!!Gj(a,8),d,e=null!=(d=mta(a.getComment()))?d:{};d=a.hasStatusUpdate()?Cj(a.getStatusUpdate()):void 0;
var g,h=null==(g=Ch(a,gk,2))?void 0:g.map(hta).filter(ni),l;g=null==(l=Ch(a,gk,3))?void 0:l.map(hta).filter(ni);var q;l=null==(q=Ch(a,hk,9))?void 0:q.map(Pra).filter(ni);q=a.getAttachmentsList().map(Dsa).filter(ni);var x=ci(Z(a,ei,5));x=mi("<none>")(x);var A=bi(Z(a,ei,5)),B=!!Gj(a,11),K=!!Gj(a,12);if(null==b)vh("No modifiedDate. issueEventToJs");else return Object.assign({},e,{attachments:q,version:a.getVersion(),modifiedDate:b,preDiffs:h,postDiffs:g,isMajorEvent:c,statusUpdate:d,taggedSummary:l,
userPerformingAction:x,userPerformingActionUser:A,isHumanAuthor:B,isCollaboratorAuthor:K})}},ota=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:ki(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}},mta=function(a){return null==a?{}:ota(ik(a))},kk=function(a){if(null!=a){var b=fk(a.getIssue());if(null==b)vh("No issue. issueFetchResponseToJs");else return a=nta(Z(a,jk,5)),{issue:b,firstEvent:a}}},pta=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(hsa),totalChildCount:d.getTotalSize()})}return b},qta=function(a){var b=new lk;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(qsa));return b},rta=function(a){return{issueId:a.getIssueId(),message:a.getMessage()}},sta=function(a){for(var b={},c=k(Sj(a,1,sj).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)]=fk(e)}c={};d=k(Sj(a,3,Qj).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)]=Lj(g)}var h;a=(null!=(h=Ch(a,mk,2))?h:[]).map(rta);return{affectedIssues:b,componentMap:c,errors:a}},tta=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(mta)},lta=function(a){var b=Ai(a,nk);switch(b){case 2:return b=Pj(a,uta,2,nk),0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),sourceCommentNumber:Eh(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),
sourceCommentNumber:Eh(a,3)};case 1:return{type:"hyperlink",href:Pj(a,ok,1,nk).getHref(),sourceCommentNumber:Eh(a,3)};case 0:throw Error("ac");default:return nh(b)}},vta=function(a){return{readTimestamp:dj(a,1)}},wta=function(a){var b=a.getIssueState();b={componentId:b.getComponentId(),type:Tra[b.getType()],status:bj[b.getStatus()],priority:Ura[b.getPriority()],severity:Vra[b.getSeverity()],accessLimitLevel:b.hasAccessLimitLevel()?Xra[b.getAccessLimitLevel()]:null};return{issueId:String(a.getIssueId()),
issueState:b,modifiedTime:xh(a.getModifiedTime()),teamId:a.getTeamId()}},xta=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 nh(a,"Unexpected formatting mode")}},ik=function(a){var b=void 0;Aj(a,pk,14)&&(b=ura(Z(a,pk,14)));return{issueId:a.getIssueId(),commentNumber:a.getCommentId(),commentContentVerdict:b,formattingMode:yta[a.getFormattingMode()],formattedComment:a.hasFormattedComment()?
lra(a.getFormattedComment()):void 0,lastEditorUser:bi(Z(a,ei,8)),lastModified:a.getLastModified(),version:a.getVersion(),unlinkifiedComment:V(a,7),entityStatus:Fsa(a.getEntityStatus()),piiRetentionState:sra(a.getPiiRetentionState()),piiRetention:Rra[a.getPiiRetention()],redacted:a.getRedacted(),etag:a.getEtag(),commentReactions:zta(a.getCommentReaction())}},Ata=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(ik)},zta=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=Bta[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(bi).filter(ni))?l:[]};a.set(e,q)}return a},Cta=function(a){return{user:bi(Z(a,ei,1)),createdTime:xh(a.getCreatedTime())}},Dta=function(a){return{responders:Ch(a,qk,1).map(Cta),
totalSize:a.getTotalSize(),nextPageToken:a.getNextPageToken()}},Eta=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=fk(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)]=Lj(h)}g=nb(a,4,Eba);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()}},Fta=function(a){return rk({id:a.getId(),std_offset:Eh(a,3),names:Gh(a,2),transitions:Bh(a,4)||[]})},Hta=function(a){var b=a.getTrackerId(),c=a.getName(),d=a.getComponentId(),e=Fh(a,4);var g=Z(a,sk,5);g=null!=g?{logoUrl:g.getLogoUrl(),cocUrl:V(g,3),theme:Gta[g.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=
g?g:null,internalBaseUrl:tk(a,6)?V(a,6):void 0,externalBaseUrl:tk(a,7)?V(a,7):void 0,trustedCollaborators:0<Ch(a,ei,8).length?di(Ch(a,ei,8)):void 0}},Ita=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Hta)},Jta=function(a){return{trackers:a.getTrackersList().map(Hta),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},uk=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(Kta[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},
wk=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new vk({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new vk({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},Lta=function(a){a=xk(a);if(yk(a))return null;var b=a.split(":");if(2!==b.length||yk(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=wk(b[0]))&&a?new zk(b,a):null},Wta=function(a){var b=
{};Ak(a,1)&&(b.showFullHistory=Gj(a,1));Ak(a,2)&&(b.useCodefont=Gj(a,2));Bk(a,5)&&(b.resultsPerPage=Eh(a,5));Ak(a,26)&&(b.showRecentEventsFirst=Gj(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Mta)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Nta)};tk(a,7)&&(b.bannerMessageId=V(a,7));if(c=Z(a,Ck,3)){var d={};cj(c,1)&&(d.reportedPriority=Dk[W(c,1,0)]);cj(c,2)&&(d.assignedPriority=Dk[W(c,2,0)]);cj(c,3)&&(d.verifiedPriority=Dk[W(c,3,0)]);
cj(c,4)&&(d.ccdPriority=Dk[W(c,4,0)]);cj(c,9)&&(d.collaboratorPriority=Dk[W(c,9,0)]);cj(c,5)&&(d.starredPriority=Dk[W(c,5,0)]);Ak(c,6)&&(d.excludeChangesByMe=Gj(c,6));Ak(c,7)&&(d.unsubscribeFromAll=Gj(c,7));Ak(c,8)&&(d.enableV2Prefs=Gj(c,8));b.notificationPreferences=d}if(d=Z(a,Ek,9)){c={showHotlists:Gj(d,1),showStatusIcons:Gj(d,4),wrapComponents:Gj(d,3),wrapTitles:Gj(d,2),rtlComponentPath:Gj(d,5)};var e=nb(d,6,gb);c.fieldStatus=Object.fromEntries(e.entries());d=nb(d,7,gb);c.modeForField=Object.fromEntries(d.entries());
b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Bk(c,1)&&(d.leftSidebarWidth=Eh(c,1)),Ak(c,2)&&(d.expandIssueSlo=Gj(c,2)),Bk(c,3)&&(d.rightSidebarWidth=Eh(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},tk(c,1)&&(d.calendarFormat=V(c,1)),tk(c,2)&&(d.timeFormat=V(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),cj(c,7)&&(d.sloEtaViewAs=Ota[W(c,7,0)]),b.dateTimePreferences=d;if(c=Z(a,Fk,8))d={},cj(c,1)&&(d.density=Pta[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d=
{},c.hasResourceType()&&(d.resourceType=Qta(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=Z(a,Gk,17))d={},Ak(c,1)&&(d.enableAllHotkeys=Gj(c,1,!0)),b.keyboardPreferences=d;vi(a,16)&&(b.newFeaturesAcknowledgedMillis=wi(a,16));Ak(a,18)&&(b.autoCcOnComment=Gj(a,18));Aj(a,Ik,20)&&(d=Z(a,Ik,20),c=W(d,2,0),d=W(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Rta(c),lastPublishMode:Rta(d)});Aj(a,Jk,21)&&(c=Z(a,Jk,21),d={},Ak(c,2)&&(d.announcementDismissed=
Gj(c,2)),Ak(c,1)&&(d.enableBugScreensaver=Gj(c,1)),b.bugScreensaverPreferences=d);Aj(a,Kk,24)&&(c=Z(a,Kk,24),d={},Lk(c,1)&&(d.announcementDismissedMillis=dj(c,1)),b.g3nPreferences=d);if(c=Z(a,Mk,23))b.teamWarningPreferences={componentTeamWarnings:Ch(c,Nk,1).map(Sta)};c=Sj(a,25,yh);c.size&&(b.dismissalTimestamps=Tta(c));c=nb(a,27,db);c.size&&(b.collapsed=Object.fromEntries(c.entries()));Ak(a,29)&&(b.showInlineImages=a.getShowInlineImages());Aj(a,Ok,28)&&(c=Z(a,Ok,28),d={},cj(c,1)&&(d.commentFilter=
Uta(W(c,1,0))),b.commentFilterPreferences=d);Aj(a,Pk,30)&&(b.needsAttentionPreferences=Vta(Z(a,Pk,30)));return b},Mta=function(a){var b={};a.hasType()&&(b.type=Xta[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());return b},Nta=function(a){var b={};if(cj(a,2)){a:{var c=W(a,2,1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=nh(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Mta(a);return b},Rta=function(a){if(0!==a)return Kta[a]},
Qta=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 nh(a,"Unknown resourceType: "+a)}},Sta=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId());Lk(a,2)&&(b.dismissMillis=dj(a,2));return b},Tta=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)},
Uta=function(a){switch(a){case 0:return"FULL_HISTORY";case 1:return"ALL_COMMENTS";case 2:return"HUMAN_ONLY";case 3:return"TEAM_AND_ASSIGNEE";default:return nh(a,"Unknown resourceType: "+a)}},Vta=function(a){var b={};b.selectedSignals=Qk(a,1).map(function(c){return Yta[c]});return b},iua=function(a){var b=new Rk;null!=a.showFullHistory&&Ij(b,1,a.showFullHistory);null!=a.useCodefont&&Ij(b,2,a.useCodefont);null!=a.resultsPerPage&&n(b,5,a.resultsPerPage);if(null!=a.displayColumns){var c=Zta(a.displayColumns);
Wi(b,Sk,4,c)}null!=a.sortColumns&&(c=$ta(a.sortColumns),Wi(b,Tk,6,c));null!=a.bannerMessageId&&n(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new Ck;d=n(d,1,Uk[c.reportedPriority]);d=n(d,2,Uk[c.assignedPriority]);d=n(d,3,Uk[c.verifiedPriority]);d=n(d,4,Uk[c.ccdPriority]);d=n(d,9,Uk[c.collaboratorPriority]);d=n(d,5,Uk[c.starredPriority]);d=Ij(d,6,c.excludeChangesByMe);d=Ij(d,7,c.unsubscribeFromAll);c=Ij(d,8,c.unsubscribeFromAll);Wi(b,Ck,3,c)}null!=a.listViewPreferences&&
(c=a.listViewPreferences,d=new Ek,d=Ij(d,1,c.showHotlists),d=Ij(d,2,c.wrapTitles),d=Ij(d,3,c.wrapComponents),d=Ij(d,4,c.showStatusIcons),d=Ij(d,5,c.rtlComponentPath),null!=c.fieldStatus&&aua(c.fieldStatus,nb(d,6,gb)),null!=c.modeForField&&aua(c.modeForField,nb(d,7,gb)),Wi(b,Ek,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=new Vk,null!=c.leftSidebarWidth&&n(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&Ij(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&n(d,3,c.rightSidebarWidth),Wi(b,
Vk,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new Wk,d=n(d,1,c.calendarFormat),d=n(d,2,c.timeFormat).setTimeZone(c.timeZone),c=n(d,7,bua[c.sloEtaViewAs]),Wi(b,Wk,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new Fk).setDensity(cua[c.density]),Wi(b,Fk,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,d=new Xk,null!=c.resourceType&&d.setResourceType(dua(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),Wi(b,Xk,13,d));null!=a.keyboardPreferences&&
(c=a.keyboardPreferences,d=new Gk,c=Ij(d,1,c.enableAllHotkeys),Wi(b,Gk,17,c));null!=a.newFeaturesAcknowledgedMillis&&n(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&Ij(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new Ik,c.commentDisplayOverride&&n(d,2,eua(c.commentDisplayOverride)),c.lastPublishMode&&n(d,1,eua(c.lastPublishMode)),Wi(b,Ik,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new Jk,null!=c.enableBugScreensaver&&
Ij(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&Ij(d,2,c.announcementDismissed),Wi(b,Jk,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new Kk,null!=c.announcementDismissedMillis&&n(d,1,c.announcementDismissedMillis),Wi(b,Kk,24,d));null!=a.teamWarningPreferences&&(c=fua(a.teamWarningPreferences),Wi(b,Mk,23,c));if(null!=a.dismissalTimestamps){c=Sj(b,25,yh);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 yh,x=q;h=h.getTime();x.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));l.call(g,e,q)}}null!=a.collapsed&&aua(a.collapsed,nb(b,27,db));null!=a.showRecentEventsFirst&&Ij(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&Ij(b,29,a.showInlineImages);null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,c=new Ok,null!=d.commentFilter&&(d=gua(d.commentFilter),n(c,1,d)),Wi(b,Ok,28,c));null!=a.needsAttentionPreferences&&(c=a.needsAttentionPreferences,a=
new Pk,c.selectedSignals&&(c=c.selectedSignals.map(hua),Yk(a,1,c)),Wi(b,Pk,30,a));return b},Zta=function(a){return(new Sk).setColumnList(a.column.map(function(b){return jua(b)}))},jua=function(a){var b=new Zk,c=b.setType,d=a.type;if(!$k.hasOwnProperty(d))throw Error("bc`"+d);b=c.call(b,kua[d]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);return b},$ta=function(a){return(new Tk).setColumnList(a.column.map(function(b){var c=(new al).setColumn(jua(b.column));a:switch(b=b.order,b){case "ASCENDING":b=
1;break a;case "DESCENDING":b=2;break a;default:b=nh(b,"Unknown sortOrder: "+b)}return n(c,2,b)}))},dua=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 nh(a,"Unknown resourceType: "+a)}},eua=function(a){switch(Kta[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},fua=function(a){var b=new Mk;null!=a.componentTeamWarnings&&lua(b,a.componentTeamWarnings.map(function(c){var d=
new Nk;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&n(d,2,c.dismissMillis);return d}));return b},gua=function(a){switch(a){case "FULL_HISTORY":return 0;case "ALL_COMMENTS":return 1;case "HUMAN_ONLY":return 2;case "TEAM_AND_ASSIGNEE":return 3;default:return nh(a,"Unknown commentFilterType: "+a)}},hua=function(a){return mua[a]},aua=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)}},jl=function(){null==
bl&&(bl=new nua(oua.buganizerSessionJspb));if(!Aj(bl,cl,2)){var a=bl,b=new cl;Wi(a,cl,2,b)}Aj(bl,dl,9)||(a=bl,b=new dl,Wi(a,dl,9,b));bl.hasUser()||bl.setUser(new el);Aj(bl,Rk,7)||(a=bl,b=new Rk,Wi(a,Rk,7,b));b=bl;a=b.hasUser()?b.getUser():new el;a=Gj(a,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:a.getEmail(),userTypeLabel:a.getUserTypeLabel(),sessionIdentifier:a.getSessionIdentifier()};var c=Aj(b,cl,2)?b.getConfig():new cl;for(var d=new Map,e=k(nb(c,
4,db).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:Fh(c,10),isDogfooder:Gj(c,11),createRestrictedSubresourcesComponentWhitelist:fl(c,13),issueAccessLimitsComponentAllowlist:new Set(fl(c,18))};d=Wta(Aj(b,Rk,7)?b.getUserPreferences():new Rk);g=Aj(b,dl,9)?Z(b,dl,9):new dl;e=Ch(g,gl,1).map(Fta);Aj(g,hl,2)?(g=g.getAnnouncement(),g={message:g.getMessage(),messageId:g.getMessageId(),dismissible:Gj(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(),x=b.getShowNewFeaturesDialog(),A=b.getAppBaseHref(),B=Aj(b,il,11)?Hta(b.getTracker()):null;Aj(b,pua,12)?(b=b.getPassiveLoginIframeUrl())?(b=m(b,4),b=null===b||void 0===b?null:Ag(b)):b=null:b=null;return{user:a,config:c,xsrfToken:g,cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,showNewFeaturesDialog:x,userPreferences:d,preload:e,appBaseHref:A,tracker:B,passiveLoginIframeUrl:b}},qua=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;
c={};a=k(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$customField$2267:c.$jscomp$loop$prop$customField$2267},d=a.next())if(c.$jscomp$loop$prop$customField$2267=d.value,c.$jscomp$loop$prop$customField$2267.required){d=!!c.$jscomp$loop$prop$customField$2267.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$2267.customFieldId}}(c));if(!d&&!h)return!1}return!0},
sua=function(a){return null==a?!1:rua.has(a.name)},tua=function(a){return"hotlist"===(null==a?void 0:a.name)},uua=function(a){return null==a?!1:null!=a.href&&null!=a.value},vua=function(a){return Array.isArray(a)?a.every(uua):!1},kl=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},wua=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}},xua=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},yua=function(a){switch(a){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "DUPLICATE":return a;default:return null}},zua=function(a){return Xh(a.replace(/_/g," ").toLowerCase())},Aua=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},{})},ml=function(a,b,c,d){return new Bua(a,ll[a],b,c,d)},Cua=function(a){return a},ol=function(a){return nl(a,Cua)},nl=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},Dua=function(a){return function(b){return nl(b,a)}},pl=function(a,b){for(var c=Math.max(a.length,b.length),d=[],e=0;e<c;e++)d.push([a[e],b[e]]);return d},Eua=function(a){a=void 0===a?[]:a;return a.filter(function(b){return"number"===typeof b}).filter(function(b){return 0!==
b})},Gua=function(a){var b=Fua,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},Hua=function(a,b){if(a.length!==b.length)return!1;a=[].concat(Pc(a)).sort();b=[].concat(Pc(b)).sort();return a.every(function(c,d){return c===b[d]})},Iua=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)})}},Jua=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(Pc(c.values()))},Kua=function(a){for(var b=[],c=0;c<a.length;c+=100){var d=a.slice(c,c+100);b.push(d)}return b},ql=function(a,b){return function(c,d){return Lua(c,a,b,d)}},Lua=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(Pc(a)).sort(function(e,g){var h="asc"===d?1:-1;return c(b(e),b(g))*h})},Mua=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},Nua=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},rl=function(a){return!(null==a||!a.commentNumber)},sl=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},Oua=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(Pc(a.slice(0,d)),[c],Pc(a.slice(d+1)))},
Pua=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Qua=function(a){var b;return Zh(null==(b=tl(a))?void 0:b.assigneeUser)||void 0},Rua=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("-")},Sua=function(a){if(null==a)return"";var b=a.attachments.map(Rua).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("-")},Tua=function(a){return a.map(function(b){return b.commentNumber}).filter(ni).reduce(function(b,c){return Math.max(b,c)},1)},Uua=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||Sua(d)!==Sua(e)))return!1}return!0},vl=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=ul[a])?void 0:d.open)?e:!1},Vua=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=ul[a];return null==b?!1:!(null==b?0:b.open)},wl=function(a){return null==a.isArchived?!1:!a.isArchived},Xua=function(){var a=xl;return ql(function(b){var c,d;return null!=(d=Wua[null==(c=a(b))?void 0:
c.snapshot[0].status])?d:0},Mua)},Yua=function(){var a=xl;return ql(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},Nua)},Zua=function(){var a=xl;return ql(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},Nua)},$ua=function(){var a=xl;return ql(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},Nua)},ava=function(){var a=xl;return ql(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},Mua)},yl=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},tl=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},bva=function(a,b){a=tl(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(Pc(b.map(function(c){return c.userPerformingActionUser})));return nl(b.filter(ni),
ci)},cva=function(a,b){b=bva(a,b);var c,d,e;a=null!=(e=null==(c=tl(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},zl=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},dva=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},eva=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"}},fva=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,g=a.actionIssueId;a=dva(a.userPrincipals);d="Allow "+(1===a?"members of the group to ":eva(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}},gva=function(){},hva=function(a){return 0<Object.values(a).length},iva=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},jva=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},kva=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))},lva=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(Pc(a)).sort());return JSON.stringify(b)},mva=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},nva=function(a){a=void 0===a?{}:a;return gqa(a)},ova=function(a){var b=new E.Subject,c=a.subscribe(b);a=(0,E.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},pva=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},qva=
function(){return new Promise(function(){})},sva=function(a){return!!a.match(rva)&&!a.endsWith("/history")},Al=function(a){return"hyperlink"===a.type},tva=function(a){return Al(a)&&sva(a.href)},vva=function(a){return Al(a)&&!!a.href.match(uva)},wva=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(rva))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},xva=function(a){return"issueReference"===a.type},yva=function(a){return Al(a)&&!tva(a)&&
!(Al(a)&&a.href.startsWith("mailto:"))},zva=function(a){return[].concat(Pc(a.values())).flatMap(function(b){return b.sourceIssueIds})},Ava=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(Pc(a),Pc(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},Bva=function(a,b){return"background: conic-gradient(var(--"+(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);"},Bl=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:""},Cva=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},Dva=function(a){return{emailAddress:Bl(a)+"@google.com"}},Eva=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)},Fva=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""},Gva=function(a,b){var c;return null==(c=[].concat(Pc(a.preDiffs),Pc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},Hva=function(a,b){var c;return null==(c=[].concat(Pc(a.preDiffs),Pc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},Iva=function(a){return"http://b/issues/"+a},Cl=function(a){if(a.match(/\bhotlists?\b/))return Jva(a)},
Dl=function(a){return"hotlist-"+a},El=function(a){return"savedsearch-"+a},Kva=function(a){if(a.match(/\bsavedsearch(?:es|)\b/))return Jva(a)},Lva=function(a){var b=/\bb\/\d+\b/;if(a.match(/\bissues?\b/)||a.match(b))return Jva(a)},Fl=function(a){if(null!=a){if(Mva.includes(a))return a;if(Cl(a))return"hotlist";if(Kva(a))return"savedsearch";if(Lva(a))return"issue";a=a.trim();if(3>a.length?0:a.match(/^\d+$/))return"plain-id"}},Jva=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},
Nva=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(" > ")},Gl=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},Il=function(){var a;return null!=(a=Gl())?a:Hl},Jl=function(a){return(null!=a?a:"").split("@")[0]},Ova=function(a,b){b=void 0===b?Hl:b;var c,d=null==a?void 0:null==(c=a.snapshot)?
void 0:c[0];c=Jl(ci(null==d?void 0:d.assigneeUser));c=b&&b===c;var e=Jl(ci(null==d?void 0:d.reporterUser));e=b&&b===e;var g;d=(null!=(g=null==d?void 0:d.ccUsers)?g:[]).map(ci).map(Jl);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,x;a=(null!=(x=null==a?void 0:null==(q=a.userData)?void 0:q.lastViewedTimeMicros)?x:0)/1E3;q=Date.now()-a;q=0<q&&864E5>q;x=[];c&&x.push("Assigned");e&&x.push("Reported");b&&
x.push("CC'd");g&&x.push("Upvoted");h&&x.push("Starred");q&&x.push("Viewed <24h");return x.join(", ")},Kl=function(a){return!a||"0"===a},Pva=function(a){return Zsa(Z(a,Rj,1))},Qva=function(a){return(Ch(a,Rj,1)||[]).map(Zsa)},Ll=function(){return new Rva},Sva=function(a){var b={};if(null==a)return b;a=k(Ch(a,Ml,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},Tva=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})},Uva=function(a){if(a&1){var b=v();G(0,"div",2)(1,"button",3);M("click",function(){w(b);var c=N();return y(c.action())});R(2);H()()}a&2&&(a=N(),z(2),Af(a.data.action))},Vva=function(){},Wva=function(a){a&1&&(G(0,"span",6),R(1),H());a&2&&(a=N(),z(1),Af(a.data.message))},Xva=function(a){a&1&&I(0,"span",
7);a&2&&(a=N(),F("innerHtml",a.data.htmlMessage,Hd))},Zva=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=N();return y(Yva(c.snackBarRef))});R(1);H()}a&2&&(a=N(),z(1),zf(" ",a.data.actionLabel," "))},$va=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=N();return y(c.snackBarRef.dismiss())});R(1);H()}a&2&&(a=N(),z(1),zf(" ",a.data.dismissLabel," "))},awa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=N();return y(c.snackBarRef.dismiss())});
I(1,"mat-icon",10);H()}},bwa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},Nl=function(a){return!!a&&va(a)&&(!!a.data&&void 0!==a.data.message||bwa(a))},Ol=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:bwa(a)&&a.error&&a.error.message?a.error.message:""},Pl=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,"+")},Ql=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("qc`"+a);}},Sl=function(a,b){return Rl("issues/:issueId",
{id:a,params:b})},Tl=function(a,b){return Rl("issues/:issueId/dependencies",{id:a,params:b})},Vl=function(a){return Ul("issues",{params:a})},cwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},dwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},ewa=function(a,b){return Rl("components/:componentId/manage",{id:a,tab:b})},fwa=function(a){return a?Ul("settings/:settingsTab?",{id:a,token:":settingsTab?"}):Ul("settings")},
Rl=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Ul(a,b)},Ul=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=gwa(g,d));e&&(g=g+"#"+e);return g},hwa=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},Wl=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},iwa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},jwa=function(a){return{path:"/components/"+a}},kwa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},lwa=function(a){return{path:"/slos/"+a+"/edit"}},mwa=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}},Xl=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],!nwa(a[d],b[d]))return!1;return!0},nwa=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(Pc(a)).sort();var c=[].concat(Pc(b)).sort();return a.every(function(d,
e){return c[e]===d})}return a===b},Yl=function(a){return(0,E.isObservable)(a)?a:Od(a)?(0,E.from)(Promise.resolve(a)):(0,E.of)(a)},qwa=function(a,b,c){return owa[c.paths](a.root,b.root,c.matrixParams)&&pwa[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},rwa=function(a,b){return Xl(a,b)},twa=function(a,b,c){if(!Zl(a.segments,b.segments)||!swa(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||
!twa(a.children[d],b.children[d],c))return!1;return!0},uwa=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return nwa(a[c],b[c])})},wwa=function(a,b,c){return vwa(a,b,b.segments,c)},vwa=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),Zl(a,c)&&!b.hasChildren()&&swa(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Zl(a.segments,c)||!swa(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!wwa(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 Zl(a.segments,e)&&swa(a.segments,e,d)&&a.children.primary?vwa(a.children.primary,b,c,d):!1},swa=function(a,b,c){return b.every(function(d,e){return pwa[c](a[e].parameters,d.parameters)})},xwa=function(a,b){return Zl(a,b)&&a.every(function(c,d){return Xl(c.parameters,b[d].parameters)})},Zl=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},ywa=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},Bwa=function(a){return a.segments.map(function(b){return zwa(b.path)+Awa(b.parameters)}).join("/")},$l=function(a,b){if(!a.hasChildren())return Bwa(a);if(b){b=a.children.primary?$l(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+":"+$l(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=ywa(a,function(d,e){return"primary"===e?[$l(a.children.primary,!1)]:[e+":"+$l(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Bwa(a)+"/"+b[0]:Bwa(a)+"/("+b.join("//")+")"},Cwa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},Dwa=function(a){return Cwa(a).replace(/%3B/gi,";")},
zwa=function(a){return Cwa(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Awa=function(a){return Object.keys(a).map(function(b){return";"+zwa(b)+"="+zwa(a[b])}).join("")},Ewa=function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return Dwa(c)+"="+Dwa(e)}).join("&"):Dwa(c)+"="+Dwa(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},Gwa=function(a){return(a=a.match(Fwa))?a[0]:""},Hwa=function(a){var b={};return 0<
a.segments.length?new am([],(b.primary=a,b)):a},Iwa=function(a){for(var b={},c=k(Object.keys(a.children)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Iwa(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 am(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new am(a.segments.concat(b.segments),
b.children));return a},cm=function(a){return a instanceof bm},Jwa=function(a){function b(g){for(var h={},l=k(g.children),q=l.next();!q.done;q=l.next()){q=q.value;var x=b(q);h[q.outlet]=x}h=new am(g.url,h);g===a&&(c=h);return h}var c,d=b(a.root);d=Hwa(d);var e;return null!=(e=c)?e:d},Pwa=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return Kwa(e,e,e,c,d);b=Lwa(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return Kwa(e,e,new am([],{}),c,d);var g=e;if(b.isAbsolute)a=
new Mwa(g,!0,0);else if(a)if(null===a.parent)a=new Mwa(a,!0,0);else{g=a;a=a.segments.length-1+(Nwa(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;g=g.parent;if(!g)throw new qc(4005,!1);a=g.segments.length}a=new Mwa(g,!1,a-h)}else a=new Mwa(g,!1,NaN);b=a.processChildren?dm(a.segmentGroup,a.index,b.commands):Owa(a.segmentGroup,a.index,b.commands);return Kwa(e,a.segmentGroup,b,c,d)},Nwa=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},em=function(a){return"object"===
typeof a&&null!=a&&a.outlets},Kwa=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:Qwa(a,b,c);a=Hwa(Iwa(a));return new bm(a,g,e)},Qwa=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:Qwa(g,b,c)});return new am(a.segments,d)},Lwa=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===
a[0])return new Rwa(!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(Pc(d),[{outlets:h}])}if(e.segmentPath)return[].concat(Pc(d),[e.segmentPath])}return"string"!==typeof e?[].concat(Pc(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(Pc(d),[e])},[]);return new Rwa(c,b,a)},Swa=function(a){if(em(a[0]))return a[0].outlets;var b={};return b.primary=a,b},Owa=function(a,b,c){a||(a=new am([],{}));if(0===a.segments.length&&a.hasChildren())return dm(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(em(q))break;q=""+q;var x=e<c.length-1?c[e+1]:null;if(0<g&&void 0===q)break;if(q&&x&&"object"===typeof x&&void 0===x.outlets){if(q!=
l.path||!Xl(x,l.parameters)){d=h;break a}e+=2}else{x={};if(q!=l.path||!Xl(x,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 am(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new am(a.segments.slice(d.pathIndex),a.children),dm(b,0,e)):d.match&&0===e.length?new am(a.segments,{}):d.match&&!a.hasChildren()?Twa(a,b,c):d.match?dm(a,0,e):Twa(a,b,c)},dm=function(a,b,c){if(0===c.length)return new am(a.segments,
{});var d=Swa(c),e={};if(!d.primary&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=dm(a.children.primary,b,c),new am(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]=Owa(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 am(a.segments,e)},Twa=function(a,
b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var g=c[e];if(em(g))return a=Uwa(g.outlets),new am(d,a);if(0===e&&Nwa(c[0]))d.push(new fm(a.segments[b].path,Vwa(c[0]))),e++;else{g=em(g)?g.outlets.primary:""+g;var h=e<c.length-1?c[e+1]:null;g&&h&&Nwa(h)?(d.push(new fm(g,Vwa(h))),e+=2):(d.push(new fm(g,{})),e++)}}return new am(d,{})},Uwa=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]=Twa(new am([],
{}),0,d))});return b},Vwa=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},Wwa=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=Wwa(a,c.value))return c;return null},Xwa=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=Xwa(a,d.value),d.length)return d.unshift(b),d;return[]},gm=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=
c});return b},$wa=function(){var a=new Ywa("",new hm(new im([],{},{},"",{},"primary",null,null,{}),[])),b=new jm(new E.BehaviorSubject([new fm("",{})]),new E.BehaviorSubject({}),new E.BehaviorSubject({}),new E.BehaviorSubject(""),new E.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;return new Zwa(new hm(b,[]),a)},bxa=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 axa(a.slice(c))},axa=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:{}})},cxa=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return cxa(a,c)})},dxa=function(a){var b=0<a.children.length?" { "+a.children.map(dxa).join(", ")+
" } ":"";return""+a.value+b},exa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;Xl(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);Xl(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(!Xl(d[g],e[g])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);Xl(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=
a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},fxa=function(a,b){var c=Xl(a.params,b.params)&&xwa(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||fxa(a.parent,b.parent))},ixa=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=gxa(a,b,c);return new hm(d,b)}d=hxa(b.value);b=b.children.map(function(e){return ixa(a,e)});return new hm(d,b)},gxa=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 ixa(a,d,g);return ixa(a,d)})},hxa=function(a){return new jm(new E.BehaviorSubject(a.url),new E.BehaviorSubject(a.params),new E.BehaviorSubject(a.queryParams),new E.BehaviorSubject(a.fragment),new E.BehaviorSubject(a.data),a.outlet,a.component,a)},kxa=function(a){var b=cm(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=jxa(0,a);a.url=c;a.navigationBehaviorOptions=
b;return a},jxa=function(a,b){var c=Error("sc`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},lxa=function(a){return a&&a.ngNavigationCancelingError},mxa=function(a,b){a.providers&&!a._injector&&(a._injector=gha(a.providers,b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},nxa=function(a){var b=a.children&&a.children.map(nxa);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===
a.outlet||(a.component=km);return a},lm=function(a){return a.outlet||"primary"},oxa=function(a,b){var c=a.filter(function(d){return lm(d)===b});c.push.apply(c,Pc(a.filter(function(d){return lm(d)!==b})));return c},mm=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},
nm=function(){return Oe(function(a){return(0,E.combineLatest)(a.map(function(b){return b.pipe(Ce(),Ne(pxa))})).pipe(D(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===pxa)return pxa;if(!1===c||c instanceof bm)return c}return!0}),ue(function(b){return b!==pxa}),Ce())})},om=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Pda(a)?b.get(a):a:d},pm=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var g=
gm(b);a.children.forEach(function(h){var l=g[h.value.outlet],q=d.concat([h.value]),x=e;x=void 0===x?{canDeactivateChecks:[],canActivateChecks:[]}:x;var A=h.value,B=l?l.value:null,K=c?c.getContext(h.value.outlet):null;if(B&&A.routeConfig===B.routeConfig){var O=qxa(B,A,A.routeConfig.runGuardsAndResolvers);O?x.canActivateChecks.push(new rxa(q)):(A.data=B.data,A._resolvedData=B._resolvedData);A.component?pm(h,l,K?K.children:null,q,x):pm(h,l,c,q,x);O&&K&&K.outlet&&K.outlet.isActivated&&x.canDeactivateChecks.push(new sxa(K.outlet.component,
B))}else B&&qm(l,K,x),x.canActivateChecks.push(new rxa(q)),A.component?pm(h,null,K?K.children:null,q,x):pm(h,null,c,q,x);delete g[h.value.outlet]});Object.entries(g).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;return qm(l,c.getContext(h),e)});return e},qxa=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!Zl(a.url,b.url);case "pathParamsOrQueryParamsChange":return!Zl(a.url,b.url)||!Xl(a.queryParams,b.queryParams);case "always":return!0;
case "paramsOrQueryParamsChange":return!fxa(a,b)||!Xl(a.queryParams,b.queryParams);default:return!fxa(a,b)}},qm=function(a,b,c){var d=gm(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?qm(h,b.children.getContext(g),c):qm(h,null,c):qm(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new sxa(b.outlet.component,e)):c.canDeactivateChecks.push(new sxa(null,e)):c.canDeactivateChecks.push(new sxa(null,e))},rm=
function(a){return"function"===typeof a},txa=function(a){return a instanceof E.EmptyError||"EmptyError"===(null==a?void 0:a.name)},wxa=function(a,b){return oe(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,E.of)(Object.assign({},c,{guardsResult:!0})):uxa(g,d,e,a).pipe(oe(function(l){return l&&"boolean"===typeof l?vxa(d,h,a,b):(0,E.of)(l)}),D(function(l){return Object.assign({},c,{guardsResult:l})}))})},
uxa=function(a,b,c,d){return(0,E.from)(a).pipe(oe(function(e){return xxa(e.component,e.route,c,b,d)}),Fe(function(e){return!0!==e},!0))},vxa=function(a,b,c,d){return(0,E.from)(b).pipe(oe(function(e){var g=E.concat;var h=e.route.parent;null!==h&&d&&d(new yxa(h));h=(0,E.of)(!0);var l=e.route;null!==l&&d&&d(new zxa(l));l=(0,E.of)(!0);return g.call(E,h,l,Axa(a,e.path,c),Bxa(a,e.route,c))},1),Fe(function(e){return!0!==e},!0))},Bxa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||
0===d.length)return(0,E.of)(!0);d=d.map(function(e){return(0,E.defer)(function(){var g,h=null!=(g=mm(b))?g:c,l=om(e,h);g=l&&rm(l.canActivate)?l.canActivate(b,a):h.runInContext(function(){return l(b,a)});return Yl(g).pipe(Fe())})});return(0,E.of)(d).pipe(nm())},Axa=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,E.defer)(function(){var g=
e.guards.map(function(h){var l,q=null!=(l=mm(e.node))?l:c,x=om(h,q);h=x&&rm(x.canActivateChild)?x.canActivateChild(d,a):q.runInContext(function(){return x(d,a)});return Yl(h).pipe(Fe())});return(0,E.of)(g).pipe(nm())})});return(0,E.of)(b).pipe(nm())},xxa=function(a,b,c,d,e){var g=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!g||0===g.length)return(0,E.of)(!0);g=g.map(function(h){var l,q=null!=(l=mm(b))?l:e,x=om(h,q);h=x&&rm(x.canDeactivate)?x.canDeactivate(a,b,c,d):q.runInContext(function(){return x(a,
b,c,d)});return Yl(h).pipe(Fe())});return(0,E.of)(g).pipe(nm())},Dxa=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){var g=om(e,a);e=g&&rm(g.canLoad)?g.canLoad(b,c):a.runInContext(function(){return g(b,c)});return Yl(e)});return(0,E.of)(d).pipe(nm(),Cxa())},Cxa=function(){return(0,E.pipe)(Qe(function(a){if(cm(a))throw kxa(a);}),D(function(a){return!0===a}))},Exa=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){var g=
om(e,a);e=g&&rm(g.canMatch)?g.canMatch(b,c):a.runInContext(function(){return g(b,c)});return Yl(e)});return(0,E.of)(d).pipe(nm(),Cxa())},sm=function(a){return(0,E.throwError)(new Fxa(a))},Ixa=function(a,b,c,d){var e=Gxa(a,b,c);if(!e.matched)return(0,E.of)(e);d=mxa(b,d);return Exa(d,b,c).pipe(D(function(g){return!0===g?e:Object.assign({},Hxa)}))},Gxa=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},Hxa):{matched:!0,consumedSegments:[],remainingSegments:c,
parameters:{},positionalParamSegments:{}};a=(b.matcher||mwa)(c,a,b);if(!a)return Object.assign({},Hxa);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:{}}},Mxa=function(a,
b,c,d){if(0<c.length&&Jxa(a,c,d)){var e=am;a=new am(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"!==lm(d)){var g=new am([],{});c[lm(d)]=g}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&Kxa(a,c,d)){b=am;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,Lxa(a,c,l)&&!g[lm(l)]){var q=new am([],{});h[lm(l)]=q}a=Object.assign({},g,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c=
{segmentGroup:new am(a.segments,a.children),slicedSegments:c};return c},Jxa=function(a,b,c){return c.some(function(d){return Lxa(a,b,d)&&"primary"!==lm(d)})},Kxa=function(a,b,c){return c.some(function(d){return Lxa(a,b,d)})},Lxa=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},Nxa=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)})},Oxa=function(a){return(a=a.value.routeConfig)&&
""===a.path},Pxa=function(a){var b=[],c=new Set,d={};a=k(a);for(var e=a.next();!e.done;d={$jscomp$loop$prop$node$2272:d.$jscomp$loop$prop$node$2272},e=a.next())d.$jscomp$loop$prop$node$2272=e.value,Oxa(d.$jscomp$loop$prop$node$2272)?(e=b.find(function(g){return function(h){return g.$jscomp$loop$prop$node$2272.value.routeConfig===h.value.routeConfig}}(d)),void 0!==e?(e.children.push.apply(e.children,Pc(d.$jscomp$loop$prop$node$2272.children)),c.add(e)):b.push(d.$jscomp$loop$prop$node$2272)):b.push(d.$jscomp$loop$prop$node$2272);
d=k(c);for(a=d.next();!a.done;a=d.next())a=a.value,e=Pxa(a.children),b.push(new hm(a.value,e));return b.filter(function(g){return!c.has(g)})},Rxa=function(a,b,c,d,e,g){return oe(function(h){return(new Qxa(a,b,c,d,h.extractedUrl,void 0===g?"emptyOnly":g,e)).recognize().pipe(D(function(l){return Object.assign({},h,{targetSnapshot:l.state,urlAfterRedirects:l.tree})}))})},Txa=function(a,b){return oe(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,E.of)(c);var g=0;
return(0,E.from)(e).pipe(oe(function(h){return Sxa(h.route,d,a,b)},1),Qe(function(){return g++}),Via(),oe(function(){return g===e.length?(0,E.of)(c):E.EMPTY}))})},Sxa=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[tm]=e.title);return Uxa(g,a,b,d).pipe(D(function(h){a._resolvedData=h;a.data=bxa(a,c).resolve;!e||"string"!==typeof e.title&&null!==e.title||(a.data[tm]=e.title);return null}))},Uxa=function(a,b,c,d){var e=
Vxa(a);if(0===e.length)return(0,E.of)({});var g={};return(0,E.from)(e).pipe(oe(function(h){return Wxa(a[h],b,c,d).pipe(Fe(),Qe(function(l){g[h]=l}))}),Via(),Ge(g),ye(function(h){return txa(h)?E.EMPTY:(0,E.throwError)(h)}))},Vxa=function(a){return[].concat(Pc(Object.keys(a)),Pc(Object.getOwnPropertySymbols(a)))},Wxa=function(a,b,c,d){var e,g=null!=(e=mm(b))?e:d,h=om(a,g);a=h.resolve?h.resolve(b,c):g.runInContext(function(){return h(b,c)});return Yl(a)},Xxa=function(a){return Oe(function(b){var c=a(b);
return c?(0,E.from)(c).pipe(D(function(){return b})):(0,E.of)(b)})},Yxa=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},Zxa=function(a,b){a.events.pipe(ue(function(c){return c instanceof um||c instanceof wm||c instanceof xm||c instanceof ym}),D(function(c){return c instanceof um||c instanceof ym?0:c instanceof wm&&(0===c.code||1===c.code)?2:1}),ue(function(c){return 2!==c}),Ce()).subscribe(function(){b()})},$xa=function(a){throw a;},aya=function(a,b){return b.parse("/")},
bya=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},cya=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},eya=function(a){if(!a.getType())throw Error("xc");return{type:dya[a.getType()],customFieldId:hi(a.getCustomFieldId()),customFieldName:ki(a.getCustomFieldName())}},gya=function(a){var b=new zm;void 0!==a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));void 0!==a.customFieldName&&n(b,3,a.customFieldName);
void 0!==a.type&&b.setType(fya[a.type]);return b},hya=function(a){var b=a.getField();if(!b)throw Error("yc");if(!a.getDirection())throw Error("zc");return{field:eya(b),direction:1===a.getDirection()?"ASCENDING":"DESCENDING"}},iya=function(a){var b=new Am;b.setField(gya(a.field));b.setDirection("ASCENDING"===a.direction?1:2);return b},jya=function(a){var b=new Bm;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(gya));var d;b.setSortOrderList((null!=(d=a.sortOrder)?d:[]).map(iya));void 0!==a.etag&&b.setEtag(a.etag);var e;b.setAdminUsersList((null!=(e=a.adminUsers)?e:[]).map(fi));return b},Cm=function(a){if(!a.getHotlistId())throw Error("Ac");if(!a.getName())throw Error("Bc");if(!a.getCreatedTimeMicros())throw Error("Cc");if(!a.getModifiedTimeMicros())throw Error("Dc");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(eya),sortOrder:(null!=(e=a.getSortOrderList())?e:[]).map(hya),etag:a.getEtag(),adminUsers:di(a.getAdminUsersList())}},kya=function(a){var b;return(null!=(b=a.getHotlistsList())?b:[]).map(Cm)},lya=function(a){var b;return(null!=(b=Ch(a,Bm,1))?b:[]).map(Cm)},
nya=function(a){a=a.getFavorite();return{user:bi(a.getUser()),resourceType:mya[a.getResourceType()],resourceId:Number(a.getResourceId()),name:a.getName()}},oya=function(a){var b,c;return{searchId:Number(wi(a,1)),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:(null!=(b=a.getSortOrderList())?b:[]).map(hya),displayColumn:(null!=(c=a.getDisplayColumnList())?c:[]).map(eya),adminUsers:di(a.getAdminUsersList())}},pya=function(a){var b;return(null!=(b=Ch(a,Dm,1))?b:[]).map(oya)},
qya=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:di(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},rya=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:di(a.getAdminUsersList()),starred:a.getStarred(),sublinks:(null!=(b=Ch(a,Em,6))?b:[]).map(qya)}},sya=function(a){var b,c,d,e;return{hotlists:(null!=(b=a.getHotlistsList())?b:[]).map(qya),bookmarkGroups:(null!=(c=a.getBookmarkGroupsList())?
c:[]).map(rya),archivedHotlists:(null!=(d=Ch(a,Em,3))?d:[]).map(qya),archivedBookmarkGroups:(null!=(e=Ch(a,Fm,4))?e:[]).map(rya)}},uya=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a)&&(a=Ch(new tya(a),Gm,1))&&1===a.length)return kk(a[0])},Im=function(a){return function(){var b=Hm.getItem(a);return null==b?!1:!!JSON.parse(b)}},vya=function(a){return function(b){!0===b?Hm.setItem(a,"1"):Hm.removeItem(a)}},Jm=function(){return wya.performance&&wya.PerformanceObserver&&"function"===
typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},xya=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}}},zya=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(yya);if(null!=b){var c=
b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},Dya=function(){var a=window.performance.getEntries(),b=zya(a);if(null==b)return[];var c=b.startTime;return a.filter(Aya).filter(Bya).filter(Cya).filter(function(d){return d.startTime<=c})},yya=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},Aya=function(a){return 0!==a.name.indexOf("Zone")},Cya=function(a){return"resource"===a.entryType},Eya=function(a){return"xmlhttprequest"===a.initiatorType},
Bya=function(a){return null==a.name.match(/\.html$/)},Fya=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}},Gya=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},Iya=function(a){a=a.getEntries().map(xya).map(Gya);a=k(a);for(var b=a.next();!b.done;b=a.next())Km(b.value);setTimeout(Hya,
100)},Hya=function(){if(!Jya){var a=Dya(),b=a.filter(function(c){return!Eya(c)}).reduce(Fya,Kya());Lm("r-until-cf","asset","count",b.count);Lm("r-until-cf","asset","transferSize",b.transferSize);Lm("r-until-cf","asset","duration",b.duration);Lm("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(Eya).reduce(Fya,Kya());Lm("r-until-cf","xhr","count",a.count);Lm("r-until-cf","xhr","transferSize",a.transferSize);Lm("r-until-cf","xhr","duration",a.duration);Jya=!0}},Lm=function(a,b,c,d){Km(Object.assign({},
{hitType:"event",eventCategory:a},void 0!==b?{eventAction:b}:{},void 0!==c?{eventLabel:c}:{},void 0!==d?{eventValue:d}:{}))},Km=function(a){null!=a&&(Mm("location","Scrubbed Page URL"),Mm("title","Scrubbed Page Title"),"function"===typeof Nm.ga&&Nm.ga("send",a),Lya&&Lpa("[stub ga.ts] ga('send')",a))},Mm=function(a,b){"function"===typeof Nm.ga&&Nm.ga("set",a,b);Lya&&Lpa("[stub ga.ts] ga('set', '"+a+"', "+b+")")},Mya=function(){return Lc.apply(0,arguments).map(String).join("__")},Nya=function(){for(var a=
{},b=k(Object.entries(Om)),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},Oya=function(a,b){return a+b},Pya=function(){var a=Object.values(Om),b=a.map(function(c){return c-1}).reduce(Oya,0);a=a.reduce(Oya,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},Qya=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("/")},
Rya=function(a){return a instanceof um},Sya=function(a){return a instanceof Pm},Tya=function(a){return function(b){return new E.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()})})})}},Yya=function(){var a=void 0===a?Lm:a;var b=Date.now(),c=Qm(b);Qm(Uya())!==c?a("retention","first-visit"):(c=Qm(b),Qm(Uya())===
c&&1===Vya()&&a("retention","second-visit"));a=Qm(b);Qm(Uya())!==a?Wya(1):(a=Vya()||0,Wya(a+1));Xya(b)},Qm=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},Zya=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},$ya=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},aza=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)}},bza=function(a){function b(){var e,g,h,l;return de(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();d=!0;e=[].concat(Pc(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,Pc(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=Lc.apply(0,arguments),g=new Rva;c.push({args:e,returnValue:g});b();return g.promise}},cza=function(a){var b=!1;return function(){var c=Lc.apply(0,arguments);if(!b)return b=!0,a.apply(null,Pc(c))}},dza=function(a){var b=new Map;return function(){var c=Lc.apply(0,arguments),d=c.map(String).join("-");if(b.has(d))return b.get(d);c=a.apply(null,Pc(c));b.set(d,c);return c}},eza=function(a){return!(null==a||!a.relatedChildren.length)},gza=function(a,b){var c=[].concat(Pc(a));
a=new Set(a.map(function(h){return h.targetIssueId}));var d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$newItem$2280:d.$jscomp$loop$prop$newItem$2280},e=b.next())if(d.$jscomp$loop$prop$newItem$2280=e.value,!a.has(d.$jscomp$loop$prop$newItem$2280.targetIssueId)){e=c.findIndex(function(h){return function(l){return l.targetIssueId===h.$jscomp$loop$prop$newItem$2280.afterIssueId}}(d));var g=void 0;g=d.$jscomp$loop$prop$newItem$2280.afterIssueId?-1===e?c.length:e+1:0;c.splice(g,0,d.$jscomp$loop$prop$newItem$2280);
a.add(d.$jscomp$loop$prop$newItem$2280.targetIssueId)}return fza(c)},hza=function(a,b){return fza(a.filter(function(c){return c.targetIssueId!==b}))},fza=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},iza=function(a){var b=new Map,c={};a=k(a);for(var d=a.next();!d.done;c=
{$jscomp$loop$prop$previousOperation$2282:c.$jscomp$loop$prop$previousOperation$2282},d=a.next()){var e=d.value;d=e.issues.map(function(g){return g.issueId}).join(",");c.$jscomp$loop$prop$previousOperation$2282=b.get(d);c.$jscomp$loop$prop$previousOperation$2282?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:c.$jscomp$loop$prop$previousOperation$2282.issues,eventTimestamps:[].concat(Pc(c.$jscomp$loop$prop$previousOperation$2282.eventTimestamps),Pc(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,
done:e.done},e.done.promise.then(c.$jscomp$loop$prop$previousOperation$2282.done.resolve).catch(function(g){return function(h){g.$jscomp$loop$prop$previousOperation$2282.done.reject(h);throw h;}}(c)),b.set(d,e)):b.set(d,e)}b=[].concat(Pc(b.values()));c={};a=k(b);for(d=a.next();!d.done;c={$jscomp$loop$prop$operation$2023$2284:c.$jscomp$loop$prop$operation$2023$2284},d=a.next())c.$jscomp$loop$prop$operation$2023$2284=d.value,c.$jscomp$loop$prop$operation$2023$2284.newRelations=c.$jscomp$loop$prop$operation$2023$2284.newRelations.map(function(g){return function(h){return g.$jscomp$loop$prop$operation$2023$2284.newParentChildrenSnapshot.find(function(l){return l.targetIssueId===
h.targetIssueId})}}(c));return b.sort(function(g,h){var l=g.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;g=Math.min.apply(Math,Pc(g.issues.map(function(x){return l.findIndex(function(A){return A.targetIssueId===x.issueId})})));h=Math.min.apply(Math,Pc(h.issues.map(function(x){return q.findIndex(function(A){return A.targetIssueId===x.issueId})})));return g===h?0:g<h?-1:1})},jza=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],
deleted:!1,estimatedComponentCount:0}},Rm=function(a,b){b=new E.BehaviorSubject(b);a.subscribe(b);return b},Sm=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},kza=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},lza=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")},mza=function(a,b){if(null==a)return null;a=a.getRequestHook(b);
return null==a?null:a},nza=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},oza=function(a,b){return Tm(b,a)},pza=function(a,b,c){b[a]=c},qza=function(){return{}},vza=function(a,b){var c=new a;return null==b?c:rza(b,sza,tza,uza,a)},sza=function(a,b){return b[a]},tza=function(a,b,c){b.Serializable$values[a]=c},uza=function(a){if(null==a)throw Error("Gc");return new a},rza=function(a,b,c,d,e){e=d(e);for(var g=wza(a,e),
h=g.arrays||{},l=g.objects||{},q=g.objectMaps||{},x={},A=k(g.keys||[]),B=A.next();!B.done;x={$jscomp$loop$prop$mapMetadata$2288:x.$jscomp$loop$prop$mapMetadata$2288},B=A.next()){B=B.value;var K=b(B,a);if(null!=K){var O=void 0;if(h.hasOwnProperty(B)){if(g.emptyArrayIsUnset&&0===K.length)continue;O=xza(K,b,c,d,!0,!0,h[B])}else if(l.hasOwnProperty(B))O=xza(K,b,c,d,!1,!0,l[B]);else if(q.hasOwnProperty(B))x.$jscomp$loop$prop$mapMetadata$2288=q[B],O=x.$jscomp$loop$prop$mapMetadata$2288.isPropertyArray?
K.map(function(P){return function(Y){return yza(Y,P.$jscomp$loop$prop$mapMetadata$2288,b,c,d)}}(x)):yza(K,x.$jscomp$loop$prop$mapMetadata$2288,b,c,d);else if(Array.isArray(K)){if(g.emptyArrayIsUnset&&0===K.length)continue;O=xza(K,b,c,d,!0,!1)}else O=K;c(B,e,O)}}return e},yza=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]=xza(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return g},xza=function(a,b,c,d,e,g,h){if(g&&null==h)throw Error("Hc");
if(null==a)return a;var l;e&&g?l=a.map(function(q){return rza(q,b,c,d,h)}):e&&!g?l=a.map(function(q){return q}):l=!e&&g?rza(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return l},wza=function(a,b){if(b instanceof Um)a=nza(b.getPartialClassMetadata());else if(a instanceof Um)a=nza(a.getPartialClassMetadata());else throw Error("Ic");return a},zza=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}},
Aza=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},Bza=function(a,b){a&1&&(G(0,"div",1),fd(),G(1,"svg",2)(2,"g"),I(3,"path",3),H()(),gd(),G(4,"span",4),R(5),H()());a&2&&(a=b.ngIf,bf("aria-label",a)("title",a),z(5),Af(a))},Cza=function(a){a&1&&I(0,"waldo-availability-chip",1);a&2&&(a=N(),F("user",a.user),bf("coinonly",a.coinonly))},Dza=function(a){if(!a||!a.seconds&&!a.nanos)return null;
var b=new Ah;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},Vm=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new yh;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},Wm=function(a){if(!a)return 0;if(a instanceof yh){var b=a.getSeconds();a=a.getNanos()||0}else b=a.seconds,a=a.nanos;return 1E3*b+a/1E6},Eza=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":""))+")"},Fza=
function(a){if(a){var b=new Xm;b.setTime(a.getTime());return b}},Gza=function(a){return a.retentionPeriod&&(a=Dza(a.retentionPeriod))?Eza(Math.floor(1E3*a.getSeconds()/864E5)):"indefinite"},Ym=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},Hza=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=N();return y(c.dialogRef.close(!1))});R(1);H()}a&2&&(a=N(),z(1),zf(" ",a.cancelButtonText," "))},Iza=function(a){var b=[],c=[].concat.apply([],
Pc(a.map(function(e){return e.actions})));a={};c=k(c);for(var d=c.next();!d.done;a={$jscomp$loop$prop$action$2295:a.$jscomp$loop$prop$action$2295},d=c.next())a.$jscomp$loop$prop$action$2295=d.value,b.some(function(e){return function(g){return Kh(e.$jscomp$loop$prop$action$2295,g)}}(a))||b.push(a.$jscomp$loop$prop$action$2295);return b},Jza=function(a){return Array.from(new Set([].concat.apply([],Pc(a.map(function(b){return b.issueIds})))))},Zm=function(){return Be(function(a,b){return Kh(a,b)})},
Kza=function(){return function(a){return a.pipe(D(function(b){return{event:b,timestamp:Date.now()}}),yia(a.pipe(ze(1E4,E.asapScheduler))))}},Lza=function(a){a=void 0===a?{}:a;return Eua(Object.values(a)).sort(function(b,c){return b-c})},Pza=function(a){var b={};a=k(Sj(a,1,Mza).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:Nza[W(d,1,0)],detailedUserType:Oza[W(d,2,0)]}}return b},Qza=function(a,b){return a.map(function(c){return b[c]||
null})},Rza=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},Sza=function(a,b){a&1&&(G(0,"li"),R(1),H());a&2&&(a=b.$implicit,z(1),Af(a))},Tza=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},Uza=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},Vza=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},Wza=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},$m=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},an=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},Xza=function(a,b){return an([].concat(Pc(a.keys())),function(c){return b(a.get(c))})},Yza=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},Zza=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},$za=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},aAa=function(a){var b;return null==(b=yl(a))?void 0:b.title},bAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.status)?c:void 0},cAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.priority)?c:void 0},dAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.assigneeUser)?c:void 0},eAa=function(a){var b,
c;return null!=(c=null==(b=yl(a))?void 0:b.reporterUser)?c:void 0},fAa=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 ii(a)},gAa=function(a){var b;a=null==(b=yl(a))?void 0:b.componentId;return ii(a)},hAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.ccUsers)?c:[]},iAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},jAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?
void 0:b.collaboratorsUsers)?c:[]},kAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.type)?c:void 0},lAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.foundInVersion)?c:[]},mAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.targetedToVersion)?c:[]},nAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.changelist)?c:[]},oAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.postmortems)?c:[]},pAa=function(a){var b;return(null==(b=yl(a))?
void 0:b.inProd)||!1},qAa=function(a){var b;return null==(b=yl(a))?void 0:b.effort},rAa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},sAa=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},uAa=function(a){return tAa(null==a?void 0:a.issue)},tAa=function(a){var b,c;return null!=(c=null==(b=tl(a))?void 0:b.isDeleted)?c:!1},wAa=function(a){return vAa(null==a?void 0:a.issue)},
vAa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},xAa=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},zAa=function(a){return yAa(null==a?void 0:a.issue)},yAa=function(a){var b,c;return null!=(c=null==(b=tl(a))?void 0:b.retention)?c:void 0},BAa=function(a){var b,c;return null!=(c=null==(b=yl(a))?void 0:b.duplicateOfIssueId)?c:void 0},DAa=function(a){return CAa(null==a?void 0:a.issue)},
CAa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},EAa=function(a){var b;return ii(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},FAa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},GAa=function(a){return null==a?void 0:a.effortSpec},HAa=function(a){a=GAa(a);return!(!a||!a.name&&!a.inherit)},IAa=function(a){return null==a?void 0:a.componentPathInfo},JAa=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:hi(b),commentVersion:hi(d)}},bn=function(a){return!!a&&KAa.test(a)&&!LAa.test(a)},NAa=function(a){a=void 0===a?"":a;return a.endsWith("@prod.google.com")||a.endsWith("-robots@google.com")||MAa(a)},MAa=function(a){return OAa.some(function(b){return a.endsWith(b)})},PAa=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}},QAa=function(a){return a?Xh(a.replace(/_/g," ").toLowerCase()):""},RAa=function(a){return a?a.join(", "):""},SAa=function(a,b){if(!a)return cn("");if(!b)return cn(a);b=b.split(" ").map(kqa);b=b.filter(function(h){return!!h});b=b.map(dn);if(0===b.length)return cn(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(en("b",{},g));c.push(d);a=a.substring(e+g.length+d.length)}return fn(c)},TAa=function(a){return a?"Yes":"No"},UAa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},VAa=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},gn=function(a){if(a&&bn(a))return a},
hn=function(a){return null==a?"":String(a)},WAa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},jn=function(a){return a?fa(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},XAa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(Pc(a));if(d.length<=b)return a;a=b-[].concat(Pc(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&(d=d.trimEnd());return d+c},YAa=function(a){a=void 0===a?
"":a;var b=new Set([].concat(Pc('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(Pc(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},ZAa=function(a){return a.split("").every(function(b){return 1===b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},aBa=function(a){if(null!=a){a=[].concat(Pc(a)).slice(0,100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=$Aa[b.value])return b}},bBa=function(a){if(a.includes('"')||a.includes("'"))return[];
var b=[].concat(Pc(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(Pc(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}):[]},cBa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},eBa=function(a){if(null==dBa){var b="undefined"!==typeof document?document.head:null;dBa=!(!b||
!b.createShadowRoot&&!b.attachShadow)}return dBa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},fBa=function(a){if(a&1){var b=v();G(0,"div",0);M("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()});uf(1);H()}a&2&&(a=N(),nf(a.className),F("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},
gBa=function(a){a&1&&I(0,"img",9);a&2&&(a=N(),F("src",a.person.imageUrl,Id)("alt",a.person.name+"'s profile picture"))},hBa=function(a){a&1&&(G(0,"div",10),R(1),H());a&2&&(a=N(),z(1),zf(" ",a.person.email," "))},iBa=function(a){a&1&&(G(0,"div",11)(1,"onedev-chip",12),I(2,"mat-icon",13),R(3),H()());a&2&&(a=N(),z(3),zf("",a.outOfOfficeDescription," "))},jBa=function(a){a&1&&(G(0,"li"),R(1),H());a&2&&(a=N(2),z(1),Af(a.person.title))},kBa=function(a){a&1&&I(0,"li",18)},lBa=function(a){a&1&&(G(0,"li"),
R(1),H());a&2&&(a=N(2),z(1),Af(a.person.department))},mBa=function(a){a&1&&(J(0),I(1,"mat-icon",14),G(2,"div",15)(3,"ul",16),Q(4,jBa,2,1,"li",8),Q(5,kBa,1,0,"li",17),Q(6,lBa,2,1,"li",8),H()(),L());a&2&&(a=N(),z(4),F("ngIf",a.person.title),z(1),F("ngIf",a.person.title&&a.person.department),z(1),F("ngIf",a.person.department))},nBa=function(a){a&1&&(J(0),I(1,"mat-icon",19),G(2,"div",15),R(3),H(),L());a&2&&(a=N(),z(3),Af(a.person.location))},oBa=function(a){a&1&&(G(0,"li")(1,"a",21),R(2,"Teams"),H()());
a&2&&(a=N(2),z(1),F("href","https://moma.corp.google.com/person/"+a.person.ldap,Id))},pBa=function(a){a&1&&I(0,"li",18)},qBa=function(a){a&1&&(J(0),I(1,"mat-icon",20),G(2,"div",15)(3,"ul",16),Q(4,oBa,3,1,"li",8),Q(5,pBa,1,0,"li",17),G(6,"li")(7,"a",21),R(8,"Whostory"),H()(),I(9,"li",18),G(10,"li")(11,"a",21),R(12,"Calendar"),H()(),I(13,"li",18),G(14,"li")(15,"a",21),R(16,"CLs"),H()(),I(17,"li",18),G(18,"li")(19,"a",21),R(20,"Readability"),H()()()(),L());a&2&&(a=N(),z(4),F("ngIf",a.person.title||a.person.department),
z(1),F("ngIf",a.person.title||a.person.department),z(2),F("href","https://whostory.corp.google.com/"+a.person.ldap,Id),z(4),F("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Id),z(4),F("href","https://critique.corp.google.com/"+a.person.ldap,Id),z(4),F("href","https://icanread.corp.google.com/s/"+a.person.ldap,Id))},sBa=function(a){return a&&rBa.test(a)?a.split("@")[0]:""},tBa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==
(c=b.metadata)?void 0:c.container)}):null},uBa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},vBa=function(a,b){return a.map(function(c,d){var e,g,h,l=null==b?void 0:null==(e=b.matches)?void 0:null==(g=e[d])?void 0:null==(h=g.personId)?void 0:h[0];if(!l)return{ldap:sBa(c),name:"",email:c};var q;d=null==b?void 0:null==(q=b.people)?void 0:q[l];var x;l=null==(x=uBa(null==d?void 0:d.email))?void 0:x.value;var A,B;x=null==d?void 0:
null==(A=d.name)?void 0:null==(B=A[0])?void 0:B.displayName;var K,O;A=null==d?void 0:null==(K=d.photo)?void 0:null==(O=K[0])?void 0:O.url;B=tBa(null==d?void 0:d.organization);K=null==B?void 0:B.title;O=null==B?void 0:B.department;B=null==B?void 0:B.location;return{ldap:sBa(l),email:l||c||"",name:x||"",imageUrl:A,title:K,department:O,location:B}})},wBa=function(a,b){a&1&&(G(0,"onedev-person-hovercard-body",1),S(1,"async"),uf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),
uf(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),H());a&2&&(a=b.ngIf,b=N(),F("person",a)("outOfOfficeDescription",T(1,2,b.outOfOfficeDescription$)))},xBa=function(a){a&1&&(G(0,"onedev-person-hovercard",1,2),uf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),H());if(a&2){var b=yf(1);a=N();F("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},yBa=function(a){a&1&&rf(0)},zBa=function(a){a&1&&(J(0),G(1,"span",2),
Q(2,yBa,1,0,"ng-container",3),H(),G(3,"onedev-hovercard",null,4),I(5,"b-person-card",5),H(),L());if(a&2){var b=yf(4);a=N();var c=yf(2);z(1);F("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},ABa=function(a){a&1&&uf(0)},DBa=function(a){if(a&1){var b=v();J(0,3);G(1,"onedev-hovercard-action",4);M("onAction",function(){w(b);var e=N();return y(BBa(e))});S(2,"async");G(3,"span");R(4);H()();G(5,"onedev-hovercard-action",4);M("onAction",
function(){w(b);var e=N();return y(CBa(e))});S(6,"async");G(7,"span");R(8);H()();L()}if(a&2){a=N();var c,d;z(1);F("disabled",null!==(c=T(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);z(3);Af(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");z(1);F("disabled",null!==(d=T(6,6,a.actionService.ccUpdating$))&&void 0!==d?d:!1);z(3);Af(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},EBa=function(a){a&1&&(J(0),I(1,"b-availability-chip",3),L());a&2&&(a=N(2).ngIf,
z(1),F("user",a.email))},FBa=function(a){a&1&&(J(0),R(1),L(),Q(2,EBa,2,1,"ng-container",0));if(a&2){a=N().ngIf;var b=N();z(1);Af(a.content);z(1);F("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},GBa=function(a){a&1&&rf(0)},HBa=function(a){a&1&&(J(0),G(1,"span",4),Q(2,GBa,1,0,"ng-container",5),H(),G(3,"onedev-hovercard",null,6),I(5,"b-issue-person-card",7),H(),L());if(a&2){var b=yf(4);a=N().ngIf;var c=yf(2),d=N();z(1);F("onedevHovercardTrigger",b);bf("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?
"0":null);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},IBa=function(a,b){a&1&&(J(0),Q(1,FBa,3,2,"ng-template",null,1,Vf),Q(3,HBa,6,4,"ng-container",2),L());if(a&2){a=b.ngIf;var c=yf(2);b=N();z(3);F("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},JBa=function(a){a&1&&rf(0)},KBa=function(a){a&1&&(J(0),G(1,"span",3),Q(2,JBa,1,0,"ng-container",4),H(),G(3,"onedev-hovercard",null,5),I(5,"b-issue-person-card",6),H(),L());if(a&2){var b=yf(4);a=N().ngIf;var c=yf(3);z(1);
F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},MBa=function(a){a&1&&(J(0),I(1,"img",8),L());a&2&&(a=N(2).ngIf,N(),z(1),F("src",LBa[a.email],Id))},NBa=function(a){a&1&&I(0,"img",11);a&2&&(a=N(3).ngIf,F("src",a.src,Id)("srcset",a.srcset))},OBa=function(a){a&1&&(G(0,"span",9),Q(1,NBa,1,2,"img",10),H());a&2&&(a=N(2).ngIf,mf("anonymous",!a.showImage),z(1),F("ngIf",a.showImage))},QBa=function(a){a&1&&(Q(0,MBa,2,1,"ng-container",0),Q(1,OBa,2,3,"span",7));if(a&2){a=N().ngIf;
var b=N();F("ngIf",a.email&&PBa(b,a.email));z(1);F("ngIf",!PBa(b,a.email))}},RBa=function(a,b){a&1&&(J(0),Q(1,KBa,6,3,"ng-container",1),Q(2,QBa,2,2,"ng-template",null,2,Vf),L());if(a&2){a=b.ngIf;var c=yf(3);b=N();z(1);F("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},SBa=function(a){if(a&1){var b=v();G(0,"div",6)(1,"button",7);M("click",function(){w(b);N(2).onDismiss.emit();return y()});G(2,"mat-icon",8);R(3);H()()()}if(a&2){a=N(2);var c;z(1);F("matTooltip",null!==(c=a.dismissTooltip)&&void 0!==
c?c:"")("disabled",a.disableDismiss);z(2);zf(" ",a.dismissIcon," ")}},TBa=function(a){a&1&&(G(0,"span"),R(1,"Unassigned"),H())},UBa=function(a){a&1&&I(0,"b-user-image",12);a&2&&(a=N(3),F("email",(null==a.issue.snapshot[0].assigneeUser?null:a.issue.snapshot[0].assigneeUser.emailAddress)||""))},VBa=function(a){a&1&&I(0,"b-user-display-name",13);a&2&&(a=N(3),F("email",a.issue.snapshot[0].assigneeUser.emailAddress||""))},WBa=function(a){a&1&&(G(0,"div",9),Q(1,TBa,2,0,"span",0),Q(2,UBa,1,1,"b-user-image",
10),Q(3,VBa,1,1,"b-user-display-name",11),H());a&2&&(a=N(2),z(1),F("ngIf",!a.issue.snapshot[0].assigneeUser),z(1),F("ngIf",a.issue.snapshot[0].assigneeUser),z(1),F("ngIf",a.issue.snapshot[0].assigneeUser))},XBa=function(a,b){a&1&&(J(0),G(1,"span"),R(2),H(),L());a&2&&(a=b.$implicit,b=N(3),z(1),pf("chippy status-",a," margin-s-right"),z(1),zf(" ",b.STATUS_TERSE[a]," "))},YBa=function(a){a&1&&I(0,"b-issue-priority-display",16);a&2&&(a=N(3),F("issuePriority",a.issue.snapshot[0].priority))},ZBa=function(a){a&
1&&(G(0,"span"),R(1),S(2,"enumToHuman"),H());a&2&&(a=N(3),z(1),zf(" ",T(2,1,a.issue.snapshot[0].type)," "))},$Ba=function(a){a&1&&(G(0,"div",14),Q(1,XBa,3,4,"ng-container",0),Q(2,YBa,1,1,"b-issue-priority-display",15),Q(3,ZBa,3,3,"span",0),H());a&2&&(a=N(2),z(1),F("ngIf",a.convertIssueStatusStrToTag(a.issue.snapshot[0].status)),z(1),F("ngIf",!a.onlyTitle),z(1),F("ngIf",!a.onlyTitle))},aCa=function(a){a&1&&I(0,"mat-icon",20);a&2&&(a=N(3),F("svgIcon",a.moreInfoIconSvg))},bCa=function(a){a&1&&(G(0,"mat-icon",
21),R(1),H());a&2&&(a=N(3),z(1),Af(a.moreInfoIcon))},cCa=function(a){a&1&&(J(0),G(1,"div"),Q(2,aCa,1,1,"mat-icon",17),Q(3,bCa,2,1,"mat-icon",18),G(4,"span",19),R(5),H()(),L());a&2&&(a=N(2),z(1),pf("more-info padded-s-top margin-s-top ",a.moreInfoAccentColor,""),z(1),F("ngIf",a.moreInfoIconSvg),z(1),F("ngIf",a.moreInfoIcon),z(2),Af(a.moreInfoMessage))},dCa=function(a){a&1&&(J(0),G(1,"div",1)(2,"a",2),R(3),H()(),Q(4,SBa,4,3,"div",3),Q(5,WBa,4,3,"div",4),Q(6,$Ba,4,3,"div",5),Q(7,cCa,6,6,"ng-container",
0),L());a&2&&(a=N(),z(2),vf("href","/issues/",a.issue.issueId,"",Id),z(1),Bf(" ",a.issue.snapshot[0].title," (",a.issue.issueId,") "),z(1),F("ngIf",a.dismissIcon),z(1),F("ngIf",!a.onlyTitle),z(1),F("ngIf",!a.onlyTitle),z(1),F("ngIf",a.moreInfoMessage&&!a.onlyTitle))},eCa=function(a,b){a&1&&(J(0),G(1,"time",1),S(2,"async"),R(3),H(),L());if(a&2){a=b.ngIf;b=N();z(1);var c=cf(v(),"padding-left: ",b.paddingLeftPx,"px");gka(eka,fka,c,!1);F("title",a.title);bf("datetime",T(2,6,b.timestampIso$));z(2);Af(a.formatted)}},
fCa=function(a){a&1&&I(0,"div",2)},gCa=function(a){a&1&&(J(0),uf(1),L())},hCa=function(a){a&1&&(G(0,"b-person-hovercard",3),R(1),H());a&2&&(a=N(),F("email",a.assignee),z(1),zf(" ",a.assignee," "))},iCa=function(a){a&1&&R(0,"--")},jCa=function(a){a&1&&I(0,"b-formatted-date-time",3);a&2&&(a=N(),F("mode",a.mode)("timestamp",a.createdTime))},kCa=function(a){a&1&&R(0,"--")},lCa=function(a){a&1&&(G(0,"b-person-hovercard",3),R(1),H());a&2&&(a=N(),F("email",a.reporter),z(1),zf(" ",a.reporter," "))},mCa=function(a){a&
1&&R(0,"--")},nCa=function(a,b){a&1&&(G(0,"div",3),R(1),H());a&2&&(a=b.$implicit,b=N(),pf("chippy status-",a,""),F("title",b.STATUS_FULL_TEXT[a]),z(1),zf(" ",b.STATUS_TERSE[a]," "))},oCa=function(a){a&1&&R(0,"--")},pCa=function(a){if(a&1){var b=v();G(0,"a",15);M("click",function(){w(b);var c=N();return y(c.trackClick("viewTeamAssociationOnComponent"))});G(1,"button",11);R(2,"View team association on component");H()()}a&2&&(a=N(),F("href",a.manageComponentLink(),Id))},qCa=function(a){if(a&1){var b=
v();G(0,"a",6);M("click",function(){w(b);var d=N(2);return y(d.trackClick("viewTeamInMoma"))});G(1,"span");R(2);I(3,"mat-icon",7);H()()}if(a&2){a=N(2);var c=yf(3);vf("href","https://moma.corp.google.com/team/",a.teamId,"",Id);F("onedevHovercardTrigger",c);bf("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");z(1);bf("id",a.teamLinkId);z(1);zf("",a.teamName?a.teamName:a.teamId," ")}},rCa=function(a){a&1&&(G(0,"span",8),R(1),H());if(a&
2){a=N(2);var b=yf(3);F("onedevHovercardTrigger",b);z(1);Af(a.teamName?a.teamName:a.teamId)}},sCa=function(a){a&1&&(J(0),Q(1,qCa,4,6,"a",4),Q(2,rCa,2,2,"span",5),L());a&2&&(a=N(),z(1),F("ngIf",a.anchorLinkEnabled),z(1),F("ngIf",!a.anchorLinkEnabled))},tCa=function(a){a&1&&I(0,"span",11)},uCa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(2),z(1),Af(a.teamNotAssignedMessage))},vCa=function(a){a&1&&(Q(0,tCa,1,0,"span",9),Q(1,uCa,2,1,"span",10));a&2&&(a=N(),F("ngIf","0"!=a.teamId),z(1),F("ngIf","0"==
a.teamId))},wCa=function(a){a&1&&I(0,"b-team-display",3);a&2&&(a=N(),F("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},xCa=function(a){a&1&&R(0,"--")},yCa=function(a){a&1&&(J(0),R(1," Trackers are distinct communities with their own branding. "),L())},zCa=function(a){a&1&&(G(0,"a",12),R(1,"Learn More"),H())},ACa=function(a){a&1&&(J(0),G(1,"button",1),I(2,"img",2)(3,"img",3),G(4,"span",4),R(5),H()(),G(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),R(11),Q(12,
yCa,2,0,"ng-container",0),H(),G(13,"div",9)(14,"a",10),R(15),H(),Q(16,zCa,2,0,"a",11),H()()()(),L());if(a&2){var b=yf(7);a=N();z(1);mf("xs",a.compactMode);F("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);z(1);F("src",a.logoLight,Id);z(1);F("src",a.logoDark,Id);z(2);Af(a.name);z(6);zf(" This component or issue is part of ",a.extendedName,". ");z(1);F("ngIf",!a.isGlobalBuganizer);z(2);F("href",a.redirectUrl,Id);z(1);zf("View ",a.extendedName,"");z(1);F("ngIf",!a.isGlobalBuganizer)}},
BCa=function(a){a&1&&(I(0,"b-tracker-chip",1),S(1,"async"));a&2&&(a=N(),F("tracker",T(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},CCa=function(a){if(a&1){var b=v();J(0);G(1,"span",4);R(2);H();G(3,"a",5);M("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();L()}a&2&&(a=N(),z(2),Af(a.title||"--"),z(1),F("routerLink",
"/"+a.link)("target",a.anchorTarget))},DCa=function(a){if(a&1){var b=v();G(0,"a",7);M("keydown",function(c){w(b);N();"Enter"===c.key&&c.stopPropagation();return y()})("click",function(c){return c.stopPropagation()});R(1);H()}a&2&&(a=N(),F("routerLink","/"+a.link)("target",a.anchorTarget),z(1),Af(a.title||"--"))},ECa=function(a){a&1&&(J(0),R(1),S(2,"enumToHuman"),L());a&2&&(a=N(),z(1),Af(T(2,1,a.type)))},FCa=function(a){a&1&&R(0,"--")},GCa=function(a){a&1&&(G(0,"button",5,6),I(2,"mat-icon",7),H());
if(a&2){a=N();var b=yf(2);F("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);bf("aria-label",a.buttonLabel);z(2);F("svgIcon",a.buttonIcon)}},HCa=function(a){a&1&&(G(0,"div",8),R(1),H());a&2&&(a=N(),z(1),Af(a.header))},ICa=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(2).$implicit,F("svgIcon",a.icon))},JCa=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=N(2).$implicit,z(1),Af(a.hintText))},KCa=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(2).$implicit,F("svgIcon",a.icon))},LCa=function(a){a&1&&
(G(0,"span",14),R(1),H());a&2&&(a=N(2).$implicit,z(1),Af(a.hintText))},MCa=function(a){if(a&1){var b=v();G(0,"button",17);M("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))});Q(1,KCa,1,1,"mat-icon",11);R(2);Q(3,LCa,2,1,"span",12);H()}if(a&2){a=N().$implicit;var c=N(2).$implicit;F("disabled",a.disabled)("ngClass",c.className);bf("title",a.title);z(1);F("ngIf",a.icon);z(1);zf(" ",a.label," ");
z(1);F("ngIf",a.hintText)}},NCa=function(a){if(a&1){var b=v();G(0,"button",18);M("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))});G(1,"span",19);I(2,"mat-icon",20);H();R(3);H()}if(a&2){a=N().$implicit;var c=N(2).$implicit;mf("b-menu-item-checked",a.selected);F("disabled",a.disabled)("ngClass",c.className);bf("title",a.title);z(3);zf(" ",a.label," ")}},OCa=function(a,b){a&1&&(J(0),Q(1,MCa,
4,6,"button",15),Q(2,NCa,4,6,"button",16),L());a&2&&(a=b.$implicit,z(1),F("ngIf","action"===a.type),z(1),F("ngIf","select"===a.type))},PCa=function(a){a&1&&(J(0),G(1,"button",10),Q(2,ICa,1,1,"mat-icon",11),R(3),Q(4,JCa,2,1,"span",12),H(),G(5,"mat-menu",null,13),Q(7,OCa,3,2,"ng-container",4),H(),L());if(a&2){var b=yf(6);a=N().$implicit;var c=N();z(1);F("matMenuTriggerFor",b);z(1);F("ngIf",a.icon);z(1);zf(" ",a.label," ");z(1);F("ngIf",a.hintText);z(3);F("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},
QCa=function(a){a&1&&I(0,"mat-icon",7);a&2&&(a=N(3).$implicit,F("svgIcon",a.icon))},RCa=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=N(3).$implicit,z(1),Af(a.hintText))},SCa=function(a){if(a&1){var b=v();G(0,"button",17);M("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))});Q(1,QCa,1,1,"mat-icon",11);R(2);Q(3,RCa,2,1,"span",12);H()}a&2&&(a=N(2).$implicit,F("disabled",a.disabled)("ngClass",
a.className),bf("title",a.title),z(1),F("ngIf",a.icon),z(1),zf(" ",a.label," "),z(1),F("ngIf",a.hintText))},TCa=function(a){if(a&1){var b=v();G(0,"button",18);M("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))});G(1,"span",19);I(2,"mat-icon",20);H();R(3);H()}a&2&&(a=N(2).$implicit,mf("b-menu-item-checked",a.selected),F("disabled",a.disabled)("ngClass",a.className),bf("title",a.title)("aria-label",
a.label+" results per page"),z(3),zf(" ",a.label," "))},UCa=function(a){a&1&&(J(0),Q(1,SCa,4,6,"button",15),Q(2,TCa,4,7,"button",16),L());a&2&&(a=N().$implicit,z(1),F("ngIf","action"===a.type),z(1),F("ngIf","select"===a.type))},VCa=function(a,b){a&1&&(J(0),Q(1,PCa,8,6,"ng-container",9),Q(2,UCa,3,2,"ng-container",9),L());a&2&&(a=b.$implicit,z(1),F("ngIf","submenu"===a.type),z(1),F("ngIf","submenu"!==a.type))},WCa=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}},XCa=function(a,b,c){var d=a.bottom,e=a.left,g=a.right;return c>=a.top&&c<=d&&b>=e&&b<=g},kn=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},YCa=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},bDa=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?ZCa(a,b):("input"===d||"select"===d||"textarea"===d)&&$Ca(a,b);aDa("canvas",a,b,ZCa);aDa("input, textarea, select",a,b,$Ca);return b},aDa=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])},$Ca=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+cDa++)},ZCa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},dDa=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)}},ln=function(a,b){var c=b?"":"none";dDa(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})},fDa=function(a,b){dDa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},eDa)},gDa=function(a,b){return b&&"none"!=b?a+" "+
b:a},hDa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},jDa=function(a){a=getComputedStyle(a);var b=iDa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=iDa(a,"transition-duration");a=iDa(a,"transition-delay");return hDa(c[b])+hDa(a[b])},iDa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},kDa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+
"px, 0)"},mn=function(a){return"t"===a.type[0]},lDa=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},mDa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=kDa(b.left,b.top)},nn=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}},nDa=
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},oDa=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},pDa=function(a){var b=function(){var c=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};U(b,a);b.prototype.hasStickyChanged=function(){var c=this._hasStickyChanged;this._hasStickyChanged=!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=
!1};ch.Object.defineProperties(b.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=tg(c);this._hasStickyChanged=d!==this._sticky}}});return b},qDa=function(a,b){return a.concat(Array.from(b))},rDa=function(a){a&1&&(G(0,"th",22),R(1," Id "),H())},sDa=function(a,b){a&1&&(G(0,"td",23),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.issueId," "))},tDa=function(a){a&1&&(G(0,"th",22),R(1," Priority "),H())},uDa=function(a,b){a&
1&&(G(0,"td",23),I(1,"b-issue-priority-display",24),H());a&2&&(a=b.$implicit,z(1),F("issuePriority",a.snapshot[0].priority))},vDa=function(a){a&1&&(G(0,"th",22),R(1," Title "),H())},wDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-title-cell",25),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},xDa=function(a){a&1&&(G(0,"th",22),R(1," Type "),H())},yDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-type-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},zDa=function(a){a&1&&(G(0,"th",22),R(1," Status "),
H())},ADa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-status-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},BDa=function(a){a&1&&(G(0,"th",22),R(1," Team "),H())},CDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-team-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},DDa=function(a){a&1&&(G(0,"th",27),R(1),H());a&2&&(a=N(2),z(1),zf(" ","avatar-in-progress"===a.assigneeMode?"":"Assignee"," "))},EDa=function(a){a&1&&(J(0),G(1,"b-person-hovercard",31),R(2),H(),L());if(a&2){a=N(2).$implicit;
var b=N(2);z(1);F("email",b.getAssigneeString(a));z(1);zf(" ",b.ldapOnly(b.getAssigneeString(a))," ")}},FDa=function(a){a&1&&(J(0),Q(1,EDa,3,2,"ng-container",0),L());a&2&&(a=N().$implicit,z(1),F("ngIf",a))},GDa=function(a,b){a&1&&I(0,"b-user-image",31);a&2&&F("email",b.$implicit)},HDa=function(a){a&1&&(J(0),Q(1,GDa,1,1,"b-user-image",32),L());if(a&2){a=N(2).$implicit;var b=N(2);z(1);F("ngIf",b.getAssigneeString(a))}},IDa=function(a){a&1&&(J(0),Q(1,HDa,2,1,"ng-container",0),L());a&2&&(a=N().$implicit,
z(1),F("ngIf",a))},JDa=function(a,b){a&1&&I(0,"b-user-image",31);a&2&&F("email",b.$implicit)},KDa=function(a){a&1&&(J(0),Q(1,JDa,1,1,"b-user-image",32),L());if(a&2){a=N(3).$implicit;var b=N(2);z(1);F("ngIf",b.getAssigneeString(a))}},LDa=function(a){a&1&&(J(0),Q(1,KDa,2,1,"ng-container",0),L());if(a&2){a=N(2).$implicit;var b=N(2);z(1);F("ngIf",b.isInProgress(a))}},MDa=function(a){a&1&&(J(0),Q(1,LDa,2,1,"ng-container",0),L());a&2&&(a=N().$implicit,z(1),F("ngIf",a))},NDa=function(a){a&1&&I(0,"b-issue-assignee-cell",
26);a&2&&(a=N().$implicit,F("issue",a))},ODa=function(a){a&1&&(G(0,"td",23),J(1,28),Q(2,FDa,2,1,"ng-container",29),Q(3,IDa,2,1,"ng-container",29),Q(4,MDa,2,1,"ng-container",29),Q(5,NDa,1,1,"b-issue-assignee-cell",30),L(),H());a&2&&(a=N(2),z(1),F("ngSwitch",a.assigneeMode),z(1),F("ngSwitchCase","short"),z(1),F("ngSwitchCase","avatar"),z(1),F("ngSwitchCase","avatar-in-progress"))},PDa=function(a){a&1&&(G(0,"th",33),R(1," Reporter "),H())},QDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-reporter-cell",
26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},RDa=function(a){a&1&&(G(0,"th",34),R(1," Created "),H())},SDa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-created-time-cell",26),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},TDa=function(a){a&1&&(G(0,"th",35),R(1," Last Modified "),H())},UDa=function(a){a&1&&I(0,"b-formatted-date-time",38);a&2&&(a=N().$implicit,F("timestamp",a.aggregatedData.modifiedTimeMicros/1E3))},VDa=function(a){a&1&&R(0,"--")},WDa=function(a,b){a&1&&(G(0,"td",23),Q(1,UDa,1,1,
"b-formatted-date-time",36),Q(2,VDa,1,0,"ng-template",null,37,Vf),H());if(a&2){a=b.$implicit;var c=yf(3);z(1);F("ngIf",a.aggregatedData.modifiedTimeMicros)("ngIfElse",c)}},XDa=function(a){a&1&&I(0,"th",22)},YDa=function(a,b){a&1&&(G(0,"td",23)(1,"b-actions-menu",39),M("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=N(2),z(1),F("menuItems",b.getMenuItems(a)))},ZDa=function(a){a&1&&(G(0,"th",43),R(1),H());if(a&2){a=N(2).$implicit;var b=N(2);z(1);zf(" ",b.COLUMN_TITLES.get(a),
" ")}},$Da=function(a){a&1&&rf(0)},bEa=function(a,b){a&1&&(G(0,"td",23),Q(1,$Da,1,0,"ng-container",44),H());a&2&&(a=b.$implicit,b=N().ngIf,z(1),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(2,aEa,a)))},cEa=function(a){a&1&&(J(0,41),Q(1,ZDa,2,1,"th",42),Q(2,bEa,2,4,"td",4),L());a&2&&(a=N().$implicit,wf("matColumnDef",a))},dEa=function(a,b){a&1&&(J(0),Q(1,cEa,3,1,"ng-container",40),L());a&2&&(a=b.$implicit,b=N(2),z(1),F("ngIf",b.getViewCellTemplate(a)))},eEa=function(a){a&1&&I(0,"tr",45)},fEa=
function(a){a&1&&I(0,"issue-card-compact",26);a&2&&(a=N().$implicit,F("issue",a))},gEa=function(a,b){if(a&1){var c=v();G(0,"tr",46);M("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))});Q(1,fEa,1,1,"issue-card-compact",47);H()}a&2&&(a=b.$implicit,b=N(2),mf("highlighted",!!b.getUserInvolvement(a)))},iEa=function(a,b){a&1&&(J(0),G(1,"table",1),J(2,2),Q(3,rDa,2,0,"th",3),Q(4,sDa,2,1,"td",
4),L(),J(5,5),Q(6,tDa,2,0,"th",3),Q(7,uDa,2,1,"td",4),L(),J(8,6),Q(9,vDa,2,0,"th",3),Q(10,wDa,2,1,"td",4),L(),J(11,7),Q(12,xDa,2,0,"th",3),Q(13,yDa,2,1,"td",4),L(),J(14,8),Q(15,zDa,2,0,"th",3),Q(16,ADa,2,1,"td",4),L(),J(17,9),Q(18,BDa,2,0,"th",3),Q(19,CDa,2,1,"td",4),L(),J(20,10),Q(21,DDa,2,1,"th",11),Q(22,ODa,6,4,"td",4),L(),J(23,12),Q(24,PDa,2,0,"th",13),Q(25,QDa,2,1,"td",4),L(),J(26,14),Q(27,RDa,2,0,"th",15),Q(28,SDa,2,1,"td",4),L(),J(29,16),Q(30,TDa,2,0,"th",17),Q(31,WDa,4,2,"td",4),L(),J(32,
18),Q(33,XDa,1,0,"th",3),Q(34,YDa,2,1,"td",4),L(),Q(35,dEa,2,1,"ng-container",19),Q(36,eEa,1,0,"tr",20),Q(37,gEa,2,2,"tr",21),H(),L());a&2&&(a=b.ngIf,b=N(),z(1),F("dataSource",b.displayedIssues$)("trackBy",b.trackByIssueLastModified)("cdkDropListConnectedTo",Ef(7,hEa))("cdkDropListData",a),z(34),F("ngForOf",b.customColumns),z(1),F("matHeaderRowDef",b.displayedColumns),z(1),F("matRowDefColumns",b.displayedColumns))},kEa=function(a,b){b?(b=jta(b))?(1===a.nodeType&&Ipa(a),a.innerHTML=dk(b)):jEa(a):jEa(a)},
jEa=function(a){for(;a.lastChild;)a.lastChild.remove()},lEa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},on=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},mEa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},nEa=function(a){a&1&&(G(0,"div",4),rf(1,5),H());a&2&&(a=N(),F("onedevIsHovercardReady",a.hovercardReady))},oEa=function(a,b){a&1&&(G(0,"span",9),R(1," by "),I(2,"b-user-display-name",
10),H());a&2&&(a=b.ngIf,z(2),F("email",a)("hovercardEnabled",!1))},pEa=function(a,b){a&1&&(G(0,"div")(1,"span"),R(2),H(),I(3,"b-formatted-date-time",11),H());a&2&&(a=b.ngIf,b=N().ngIf,z(2),Af(b.pending?"Created on: ":"Submitted on: "),z(1),F("timestamp",a))},qEa=function(a,b){a&1&&(J(0),I(1,"br"),R(2),L());a&2&&(a=b.$implicit,z(2),zf("",a," "))},rEa=function(a,b){a&1&&(J(0),G(1,"div",3)(2,"a",4),R(3," CL "),G(4,"span"),R(5),H()(),Q(6,oEa,3,2,"span",5),I(7,"br")(8,"br"),Q(9,pEa,4,2,"div",2),G(10,"div",
6),I(11,"div",7)(12,"br"),G(13,"div"),R(14," Affected files: "),Q(15,qEa,3,1,"ng-container",8),H()()(),L());a&2&&(a=b.ngIf,b=N(),z(2),F("href","http://critique.corp.google.com/"+b.changelistId,Id),z(3),Af(b.changelistId),z(1),F("ngIf",a.author),z(3),F("ngIf",a.timestamp),z(2),F("innerHTML",a.description,Hd),z(4),F("ngForOf",a.affectedFiles))},sEa=function(a){a&1&&I(0,"b-changelist-card",3,4);if(a&2){var b=yf(1);a=N();F("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},tEa=function(a){a&
1&&I(0,"b-user-display-name",2);a&2&&(a=N(),F("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},uEa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(),z(1),Af(a.getDisplayString()))},vEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," submitted "),I(4,"b-changelist-link",11),R(5," for "),G(6,"b-issue-reference-widget",12),R(7),H(),I(8,"b-formatted-date-time",13),H(),G(9,"p",
14),R(10),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("model",b.clAuthorToUser(a.event));z(2);F("changelistId",b.getClNumber(a.event));z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Af(b.clEventToClDescription(a.event))}},wEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," commented on "),G(4,"b-issue-reference-widget",12),R(5),H(),I(6,"b-formatted-date-time",13),H(),G(7,"p",14),
R(8),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Af(a.event.unlinkifiedComment)}},xEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3," changed priority for "),G(4,"b-issue-reference-widget",12),R(5),H(),I(6,"b-formatted-date-time",13),H(),G(7,"p",15),R(8,"Priority changed from "),I(9,"b-issue-priority-display",
16),R(10," to "),I(11,"b-issue-priority-display",16),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(3);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},yEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",
10),R(3," changed status for "),G(4,"b-issue-reference-widget",12),R(5),H(),I(6,"b-formatted-date-time",13),H(),G(7,"p",15),R(8),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Bf("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},zEa=function(a){a&1&&(J(0),
G(1,"div",9),I(2,"b-user-display",10),R(3," created new issue "),G(4,"b-issue-reference-widget",12),R(5),H(),I(6,"b-formatted-date-time",13),H(),G(7,"p",14),R(8),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Af(""===a.event.unlinkifiedComment?"No description":a.event.unlinkifiedComment)}},AEa=function(a){a&1&&(J(0),
G(1,"div",9),I(2,"b-user-display",10),R(3," fixed "),G(4,"b-issue-reference-widget",12),R(5),H(),R(6," with "),I(7,"b-changelist-link",11)(8,"b-formatted-date-time",13),H(),G(9,"p",14),R(10),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("model",b.clAuthorToUser(a.event));z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(2);F("changelistId",b.getClNumber(a.event));z(1);F("timestamp",a.event.modifiedDate);z(2);Af(b.clEventToClDescription(a.event))}},
BEa=function(a){a&1&&(J(0),G(1,"div",9),I(2,"b-user-display",10),R(3),H(),L());a&2&&(a=N().$implicit,z(2),F("model",a.event.userPerformingActionUser),z(1),zf(" updated ",a.issueId," "))},CEa=function(a,b){a&1&&(G(0,"div",4)(1,"div"),I(2,"b-user-image",5),H(),G(3,"div"),J(4,6),Q(5,vEa,11,7,"ng-container",7),Q(6,wEa,9,6,"ng-container",7),Q(7,xEa,12,7,"ng-container",7),Q(8,yEa,9,7,"ng-container",7),Q(9,zEa,9,6,"ng-container",7),Q(10,AEa,11,7,"ng-container",7),Q(11,BEa,4,2,"ng-container",8),L(),H()());
a&2&&(a=b.$implicit,b=b.last,N(2),mf("margin-xs-bottom",!b),z(2),F("email","changelist"===a.eventType||"changelistFixed"===a.eventType?Bl(a.event)+"@google.com":ci(a.event.userPerformingActionUser)),z(2),F("ngSwitch",a.eventType),z(1),F("ngSwitchCase","changelist"),z(1),F("ngSwitchCase","comment"),z(1),F("ngSwitchCase","priority"),z(1),F("ngSwitchCase","status"),z(1),F("ngSwitchCase","newIssue"),z(1),F("ngSwitchCase","changelistFixed"))},DEa=function(a,b){a&1&&(J(0),G(1,"p",1),R(2),H(),G(3,"div",
2),Q(4,CEa,12,10,"div",3),H(),L());a&2&&(a=b.ngIf,b=N(),z(2),Af(b.title),z(2),F("ngForOf",a)("ngForTrackBy",b.trackByEventModifiedTime))},FEa=function(a){if(a&1){var b=v();J(0);G(1,"button",17);M("click",function(){w(b);var c=N();c.numEventsDisplayed+=3;return y()});R(2);H();L()}a&2&&(a=N(),z(2),zf("Show ",EEa(a)," more "))},GEa=function(a){a&1&&(fd(),G(0,"svg",11),I(1,"circle",12),H());a&2&&(a=N(),bf("viewBox",a._viewBox()),z(1),lf("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",
a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),bf("r",a._circleRadius()))},HEa=function(){return{diameter:100}},IEa=function(a){a&1&&(fd(),I(0,"circle",4));if(a&2){a=N();var b=yf(1);lf("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));bf("r",
a._getCircleRadius())}},JEa=function(a){a&1&&(fd(),I(0,"circle",4));if(a&2){a=N();var b=yf(1);lf("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));bf("r",a._getCircleRadius())}},KEa=function(a){a&1&&I(0,"mat-spinner",2);a&2&&(a=N(),F("diameter",36),bf("aria-label",a.ariaLabel))},LEa=function(a){a&1&&I(0,"mat-spinner",3);a&2&&(a=N(),F("diameter",16)("strokeWidth",
2),bf("aria-label",a.ariaLabel))},MEa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,"a",31),R(4),H()());if(a&2){a=N().ngIf;var b=N(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Id);z(1);zf("",a.clIds.length+a.pendingChangeLists.length," CLs")}},NEa=function(a,b){a&1&&I(0,"b-user-image",32);a&2&&F("email",b.$implicit)},OEa=function(a,b){a&1&&(G(0,"div",23)(1,"div",24),Q(2,MEa,5,2,"div",25),H(),Q(3,NEa,1,1,"b-user-image",26),S(4,"slice"),G(5,"button",27),I(6,"mat-icon",
28),H()());if(a&2){a=b.ngIf;N(2);var c=yf(17);z(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);F("ngForOf",Jf(4,3,a.contributors,0,10));z(2);F("matMenuTriggerFor",c)}},PEa=function(a){a&1&&(J(0),Q(1,OEa,7,7,"div",22),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.projectData$)))},QEa=function(a,b){a&1&&(G(0,"div",36),I(1,"div",37),R(2),S(3,"number"),H());if(a&2){a=b.$implicit;b=N().$implicit;var c=N(3);xf("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");
z(1);bf("style",c.makePie(a/100),wga);z(1);zf(" ",If(3,4,a,"1.0-0"),"% Complete ")}},SEa=function(a){a&1&&(G(0,"a",31),R(1),H());if(a&2){a=N(2).$implicit;var b=N(3);F("href",b.makeCritiqueUrl(Ef(2,REa),a.pendingChangeLists),Id);z(1);zf("(",a.pendingChangeLists.length," pending)")}},TEa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,"a",31),R(4),H(),R(5," \u00a0 "),Q(6,SEa,2,3,"a",38),H());if(a&2){a=N().$implicit;var b=N(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),
Id);z(1);zf("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);F("ngIf",0<a.pendingChangeLists.length)}},UEa=function(a,b){a&1&&(G(0,"div",34),Q(1,QEa,4,7,"div",35),Q(2,TEa,7,3,"div",25),H());a&2&&(a=b.$implicit,z(1),F("ngIf",(a.totalCount-a.openCount)/a.totalCount*100),z(1),F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},VEa=function(a){a&1&&(J(0),Q(1,UEa,3,2,"div",33),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.projectData$)))},WEa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",
42),L());a&2&&(a=b.ngIf,b=N(3),z(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},XEa=function(a){a&1&&(G(0,"div",39),Q(1,WEa,2,3,"ng-container",11),S(2,"slice"),S(3,"async"),G(4,"div",40)(5,"a",41),R(6,"View all issues"),H()()());if(a&2){a=N().ngIf;var b=N();z(1);F("ngIf",Jf(2,2,T(3,6,b.hotlistIssueIds$),0,10));z(4);vf("href","/hotlists/",a.hotlistId,"",Id)}},YEa=function(a){a&1&&(J(0),I(1,"activity-stream",45),S(2,"async"),L());a&2&&(a=N(3),z(1),F("activityEvents",
T(2,1,a.hotlistActivityEvents$)))},ZEa=function(a){a&1&&I(0,"b-spinner")},$Ea=function(a){a&1&&(G(0,"footer"),I(1,"hr"),Q(2,YEa,3,3,"ng-container",43),S(3,"async"),Q(4,ZEa,1,0,"ng-template",null,44,Vf),H());if(a&2){var b=yf(5);a=N(2);z(2);F("ngIf",T(3,2,a.hotlistActivityEvents$))("ngIfElse",b)}},aFa=function(a,b){if(a&1){var c=v();G(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);M("click",function(){var d=w(c).ngIf,e=N();return y(pn(e.hackyPrefs,"hotlist-"+d.hotlistId))});R(5,"Add");
H()()();G(6,"div",6)(7,"span",7)(8,"a",8);R(9);H();G(10,"button",9);M("click",function(){var d=w(c).ngIf,e=N();return y(e.hackyPrefs.toggleCollapsed("hotlist-"+d.hotlistId))});I(11,"mat-icon",10);H()()();Q(12,PEa,3,3,"ng-container",11);H();Q(13,VEa,3,3,"ng-container",11);Q(14,XEa,7,8,"div",12);Q(15,$Ea,6,4,"footer",11);G(16,"mat-menu",null,13)(18,"button",14);M("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.hotlistId,-1))});I(19,"mat-icon",15);G(20,"span",16);R(21,"Move up");H()();
G(22,"button",14);M("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.hotlistId,1))});I(23,"mat-icon",17);G(24,"span",16);R(25,"Move down");H()();I(26,"mat-divider");G(27,"button",18);M("click",function(){var d=w(c).ngIf,e=N();return y(e.removeHotlist(d.hotlistId))});I(28,"mat-icon",19);G(29,"span",16);R(30,"Remove from My Projects");H()();G(31,"a",20);I(32,"mat-icon",21);G(33,"span",16);R(34,"View Hotlist");H()()()()}a&2&&(a=b.ngIf,b=N(),mf("collapsed",b.isCollapsed(a))("never-collapse-mode",
b.neverCollapse)("add-mode",b.addMode),z(8),vf("href","/hotlists/",a.hotlistId,"",Id),z(1),zf(" ",a.name," "),z(3),F("ngIf",!b.addMode),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(3),F("disabled",!b.canMove(a.hotlistId,-1)),z(4),F("disabled",!b.canMove(a.hotlistId,1)),z(9),vf("href","/hotlists/",a.hotlistId,"",Id))},bFa=function(a,b){a&1&&(J(0),I(1,"hotlist-as-project-card",9),L());a&2&&(a=b.$implicit,z(1),F("hotlistId",a)("addMode",!0))},cFa=
function(a){a&1&&(G(0,"p",3),R(1,"No hotlists found."),H())},dFa=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=N(2);return y(c.suggestionCount=2*c.suggestionCount)});R(1," Show more ");H()}},eFa=function(a,b){a&1&&(J(0),G(1,"div",2)(2,"p",3)(3,"a",4),I(4,"mat-icon",5),H(),R(5," Hotlists from your recent issues. "),H(),Q(6,bFa,2,2,"ng-container",6),S(7,"slice"),Q(8,cFa,2,0,"p",7),Q(9,dFa,2,0,"button",8),H(),L());a&2&&(a=b.ngIf,b=N(),z(6),F("ngForOf",Jf(7,3,a,b.skipFirstSuggestion?
1:0,b.suggestionCount)),z(2),F("ngIf",0===a.length),z(1),F("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},fFa=function(a){a&1&&(G(0,"p",3),I(1,"b-spinner"),R(2," Loading Hotlist suggestions... "),H())},gFa=function(){return Lc.apply(0,arguments).filter(Boolean).join(" AND ")},qn=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(ni);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},hFa=function(a){return a instanceof rn?a:new rn(a,{})},sn=function(a){a=
hFa(a);return new rn(a.char,Object.assign({},a.modifiers,{shift:!0}))},iFa=function(a){a=hFa(a);return new rn(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},jFa=function(){var a=sn("f");a=hFa(a);return new rn(a.char,Object.assign({},a.modifiers,{alt:!0}))},lFa=function(a){if(a instanceof rn){var b=kFa(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(lFa).join(" "):kFa(a)},tn=function(){return Lc.apply(0,
arguments)},kFa=function(a){switch(a){case "a":case "b":case "c":case "d":case "e":case "f":case "g":case "h":case "i":case "j":case "k":case "l":case "m":case "n":case "o":case "p":case "q":case "r":case "s":case "t":case "u":case "v":case "w":case "x":case "y":case "z":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":case "0":case "/":case "*":case ".":case "<":case ">":case "?":return a;case "F1":return"f1";case "F3":return"f3";case "DOWN":return"down";case "UP":return"up";
case "RIGHT":return"right";case "LEFT":return"left";case "SPACE":return"space";case "ENTER":return"enter";default:return nh(a)}},mFa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},nFa=function(a){if(a&1){var b=v();G(0,"div",0);M("keydown",function(c){w(b);var d=N();return y(d.processKeydown(c))});uf(1);H()}a&2&&(a=N(),nf(a.className),bf("id",a.id))},oFa=function(a){a&1&&I(0,"mat-icon",3)},pFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=N(3),z(1),Af(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},
qFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=N(4),z(1),Af(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},rFa=function(a){if(a&1){var b=v();G(0,"div",11)(1,"label",12);R(2,"Issue shortlink");H();G(3,"input",26,27);M("onHotkey",function(){w(b);var d=yf(4),e=N(3);return y(un(e,d))})("focus",function(){w(b);var d=yf(4);return y(d.select())});H();Q(5,qFa,2,1,"span",15);G(6,"button",28);M("onHotkey",function(){w(b);var d=yf(4),e=N(3);return y(un(e,d))})("click",function(){w(b);var d=yf(4),e=N(3);
return y(un(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=yf(4);a=N(3);z(1);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);bf("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},sFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=N(3),z(1),Af(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},tFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&
(a=N(3),z(1),Af(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},uFa=function(a){a&1&&(G(0,"span",25),R(1),H());a&2&&(a=N(4),z(1),Af(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},wFa=function(a){if(a&1){var b=v();G(0,"div",11)(1,"label",12);R(2,"Issue email");H();G(3,"input",29,30);M("onHotkey",function(){w(b);var d=yf(4),e=N(3);return y(un(e,d))})("focus",function(){w(b);var d=yf(4);return y(d.select())});H();Q(5,uFa,2,1,"span",15);G(6,"button",31);M("onHotkey",function(){w(b);var d=yf(4),e=N(3);return y(un(e,
d))})("click",function(){w(b);var d=yf(4),e=N(3);return y(un(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=yf(4);a=N(3);z(1);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys);bf("value","buganizer-system"+(vFa(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys)}},xFa=function(a){a&1&&(G(0,"span",25),R(1),H());
a&2&&(a=N(4),z(1),Af(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},yFa=function(a){if(a&1){var b=v();G(0,"div",11)(1,"label",12);R(2,"TODO comment");H();G(3,"input",32,33);M("onHotkey",function(){w(b);var d=yf(4),e=N(3);return y(un(e,d))})("focus",function(){w(b);var d=yf(4);return y(d.select())});H();Q(5,xFa,2,1,"span",15);G(6,"button",34);M("onHotkey",function(){w(b);var d=yf(4),e=N(3);return y(un(e,d))})("click",function(){w(b);var d=yf(4),e=N(3);return y(un(e,d))});I(7,"mat-icon",17);H()()}if(a&2){var c=
yf(4);a=N(3);z(1);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);bf("value","TODO("+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+"): "+a.issueTitle);z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},zFa=function(a){if(a&1){var b=v();G(0,"div",10)(1,"div",11)(2,"label",12);R(3,"Issue ID");H();G(4,"input",13,14);M("onHotkey",function(){w(b);var g=yf(5),h=N(2);return y(un(h,g))})("focus",function(){w(b);
var g=yf(5);return y(g.select())});H();Q(6,pFa,2,1,"span",15);G(7,"button",16);M("onHotkey",function(){w(b);var g=yf(5),h=N(2);return y(un(h,g))})("click",function(){w(b);var g=yf(5),h=N(2);return y(un(h,g))});I(8,"mat-icon",17);H()();Q(9,rFa,8,7,"div",18);G(10,"div",11)(11,"label",12);R(12,"Issue URL");H();G(13,"input",19,20);M("onHotkey",function(){w(b);var g=yf(14),h=N(2);return y(un(h,g))})("focus",function(){w(b);var g=yf(14);return y(g.select())});H();Q(15,sFa,2,1,"span",15);G(16,"button",21);
M("onHotkey",function(){w(b);var g=yf(14),h=N(2);return y(un(h,g))})("click",function(){w(b);var g=yf(14),h=N(2);return y(un(h,g))});I(17,"mat-icon",17);H()();G(18,"div",11)(19,"label",12);R(20,"URL and title");H();G(21,"input",22,23);M("onHotkey",function(){w(b);var g=yf(22),h=N(2);return y(un(h,g))})("focus",function(){w(b);var g=yf(22);return y(g.select())});H();Q(23,tFa,2,1,"span",15);G(24,"button",24);M("onHotkey",function(){w(b);var g=yf(22),h=N(2);return y(un(h,g))})("click",function(){w(b);
var g=yf(22),h=N(2);return y(un(h,g))});I(25,"mat-icon",17);H()();Q(26,wFa,8,7,"div",18);Q(27,yFa,8,7,"div",18);H()}if(a&2){var c=yf(5),d=yf(14),e=yf(22);a=N(2);F("cdkTrapFocusAutoCapture",!0);z(2);F("htmlFor",c.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);bf("value",a.issueId);z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);z(2);F("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);z(2);
F("htmlFor",d.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);bf("value",a.getIssueUrl());z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);z(3);F("htmlFor",e.id);z(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);bf("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);z(2);F("ngIf",a.enableHotkeys);z(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);z(2);
F("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);z(1);F("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},AFa=function(a){if(a&1){var b=v();J(0);G(1,"button",4,5);M("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();G(4,"onedev-popup-panel",7,8);Q(6,zFa,28,25,"div",9);H();L()}if(a&2){var c=yf(5);a=N();z(1);F("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);bf("aria-label","Show links for the issue "+a.issueId);z(5);F("ngIf",a.isOpen)}},BFa=function(a){a&1&&I(0,"b-issue-id-picker",2);a&2&&(a=N(),F("issueId",a.id)("showCopyOptions",!1))},CFa=function(a){a&1&&(J(0),I(1,"b-issue-priority-display",3),L());a&
2&&(a=N(),z(1),F("issuePriority",a.priority))},DFa=function(a){a&1&&R(0,"--")},GFa=function(a){var b=(new vn).setParent(a.parent);a=a.userEngagement;var c=(new wn).setType(EFa[a.type]);void 0!==a.rejectionReason&&n(c,3,FFa[a.rejectionReason]);return Wi(b,wn,2,c)},KFa=function(a){var b=void 0;switch(a.getContentCase()){case 9:b={recommendedIssue:fk(Pj(a,sj,9,HFa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:IFa[a.getType()],recommendation:V(a,5),score:a.getScore(),confidence:JFa[a.getConfidence()],
createTime:xh(a.getCreateTime()),content:b}},LFa=function(a){return{recommendations:Ch(a,xn,1).map(KFa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},yn=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]]}))})},zn=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},MFa=function(a){var b=function(){var c=a.apply(this,[].concat(Pc(Lc.apply(0,arguments))))||
this;c._fitToContent=!1;return c};U(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)}},NFa=function(){},OFa=function(){},PFa=function(a){a&1&&uf(0)},QFa=function(){},RFa=function(a){a&1&&Q(0,QFa,0,0,"ng-template",10);a&2&&(a=N().$implicit,
F("cdkPortalOutlet",a.templateLabel))},SFa=function(a){a&1&&R(0);a&2&&(a=N().$implicit,Af(a.textLabel))},TFa=function(a,b){if(a&1){var c=v();G(0,"div",6);M("click",function(){var g=w(c),h=g.$implicit;g=g.index;var l=N(),q=yf(1);return y(l._handleClick(h,q,g))})("cdkFocusChange",function(g){var h=w(c).index,l=N();return y(l._tabFocusChanged(g,h))});G(1,"div",7);Q(2,RFa,1,1,"ng-template",8);Q(3,SFa,1,1,"ng-template",null,9,Vf);H()()}if(a&2){a=b.$implicit;b=b.index;var d=yf(4),e=N();mf("mat-tab-label-active",
e.selectedIndex===b);F("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);bf("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);F("ngIf",a.templateLabel)("ngIfElse",d)}},UFa=function(a,b){if(a&1){var c=v();G(0,"mat-tab-body",
11);M("_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();mf("mat-tab-body-active",d.selectedIndex===b);F("id",d._getTabContentId(b))("ngClass",a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);bf("tabindex",null!=d.contentTabIndex&&d.selectedIndex===
b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},VFa=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"}},WFa=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},XFa=function(){return{color:"accent"}},YFa=function(){},ZFa=function(a){a&1&&Q(0,YFa,0,0,"ng-template")},aGa=function(a){a&1&&(J(0),Q(1,ZFa,1,0,null,19),L());if(a&2){a=N().xapLet;var b=N(2),c=yf(19);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Gf(2,$Fa,a,b.TABS.SIMILAR_ISSUES))}},bGa=
function(a){a&1&&(J(0),Q(1,aGa,2,5,"ng-container",18),L());if(a&2){N();var b=yf(1);z(1);F("ngIf",b.isActive)}},cGa=function(a){a&1&&(G(0,"mat-tab",15,16),Q(2,bGa,2,1,"ng-container",17),S(3,"async"),H());a&2&&(a=N(),z(2),F("xapLet",T(3,1,a.similarIssues$)))},dGa=function(){},eGa=function(a){a&1&&Q(0,dGa,0,0,"ng-template")},fGa=function(a){a&1&&(J(0),Q(1,eGa,1,0,null,19),L());if(a&2){a=N().xapLet;var b=N(2),c=yf(19);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Gf(2,$Fa,a,b.TABS.SEARCH_RESULTS))}},
gGa=function(a){a&1&&(J(0),Q(1,fGa,2,5,"ng-container",18),L());if(a&2){N();var b=yf(1);z(1);F("ngIf",b.isActive)}},hGa=function(a){a&1&&(G(0,"mat-tab",20,16),Q(2,gGa,2,1,"ng-container",17),S(3,"async"),H());a&2&&(a=N(),z(2),F("xapLet",T(3,1,a.searchResults$)))},iGa=function(){},jGa=function(a){a&1&&Q(0,iGa,0,0,"ng-template")},kGa=function(a){a&1&&(J(0),Q(1,jGa,1,0,null,19),L());if(a&2){a=N().xapLet;var b=N(2),c=yf(19);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Gf(2,$Fa,a,b.TABS.ISSUE_IDS))}},
lGa=function(a){a&1&&(J(0),Q(1,kGa,2,5,"ng-container",18),L());if(a&2){N();var b=yf(1);z(1);F("ngIf",b.isActive)}},mGa=function(a){a&1&&(G(0,"mat-tab",21,16),Q(2,lGa,2,1,"ng-container",17),S(3,"async"),H());a&2&&(a=N(),z(2),F("xapLet",T(3,1,a.issuesWithIdMatches$)))},nGa=function(a){a&1&&(G(0,"th",43)(1,"span",44),R(2,"Selection"),H()())},oGa=function(a,b){a&1&&(G(0,"td",45),I(1,"mat-radio-button",46),S(2,"async"),H());a&2&&(a=b.$implicit,b=N(3),z(1),F("checked",T(2,3,An(b.selectedIssues,a.issueId)))("aria-label",
a.snapshot[0].title)("value",a.issueId))},pGa=function(a){a&1&&(G(0,"th",43),R(1," Title "),H())},qGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-title-cell",47),H());a&2&&(a=b.$implicit,b=N(3),z(1),F("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0))},rGa=function(a){a&1&&(G(0,"th",43),R(1," Id "),H())},sGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-id-cell",48),H());a&2&&(a=b.$implicit,z(1),F("id",a.issueId))},tGa=function(a){a&1&&(G(0,"th",43),R(1," Priority "),H())},
uGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-priority-cell",49),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},vGa=function(a){a&1&&(G(0,"th",50),R(1," Status "),H())},wGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-status-cell",49),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},xGa=function(a){a&1&&(G(0,"th",43),R(1," Dupes "),H())},yGa=function(a,b){a&1&&(G(0,"td",51),R(1),H());if(a&2){a=b.$implicit;var c;z(1);zf(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&
void 0!==c?c:0," ")}},zGa=function(a){a&1&&(G(0,"th",52)(1,"span",44),R(2,"Votes"),H(),I(3,"mat-icon",53),H())},AGa=function(a,b){a&1&&(G(0,"td",51),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.aggregatedData.voteCount," "))},BGa=function(a){a&1&&(G(0,"th",54),R(1," Created "),H())},CGa=function(a,b){a&1&&(G(0,"td",45),I(1,"b-issue-created-time-cell",55),H());a&2&&(a=b.$implicit,z(1),F("issue",a))},DGa=function(a){a&1&&I(0,"tr",56)},EGa=function(a,b){if(a&1){var c=v();G(0,"tr",57);M("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(Bn(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&&F("row",b.$implicit)},GGa=function(a){if(a&1){var b=v();G(0,"table",25);M("contentChanged",
function(){w(b);var d=N().issues,e=N();return y(FGa(e,d))});J(1,26);Q(2,nGa,3,0,"th",27);G(3,"mat-radio-group",28);M("change",function(d){w(b);var e=N().tab,g=N();return y(g.selectIssue(d.value,e))});Q(4,oGa,3,5,"td",29);H();L();J(5,30);Q(6,pGa,2,0,"th",27);Q(7,qGa,2,3,"td",29);L();J(8,31);Q(9,rGa,2,0,"th",27);Q(10,sGa,2,1,"td",29);L();J(11,32);Q(12,tGa,2,0,"th",27);Q(13,uGa,2,1,"td",29);L();J(14,33);Q(15,vGa,2,0,"th",34);Q(16,wGa,2,1,"td",29);L();J(17,35);Q(18,xGa,2,0,"th",27);Q(19,yGa,2,1,"td",
36);L();J(20,37);Q(21,zGa,4,0,"th",38);Q(22,AGa,2,1,"td",36);L();J(23,39);Q(24,BGa,2,0,"th",40);Q(25,CGa,2,1,"td",29);L();Q(26,DGa,1,0,"tr",41);Q(27,EGa,1,1,"tr",42);H()}if(a&2){a=N().issues;var c=N();F("dataSource",a)("trackBy",c.trackByIssueId);z(26);F("matHeaderRowDef",c.tableColumns);z(1);F("matRowDefColumns",c.tableColumns)}},HGa=function(a){a&1&&(G(0,"div",58),I(1,"b-spinner",59),H())},IGa=function(a){a&1&&(G(0,"div",58)(1,"span",60),R(2,"No results found"),H()())},JGa=function(a,b){a&1&&(G(0,
"div",22),Q(1,GGa,28,4,"table",23),Q(2,HGa,2,0,"div",24),Q(3,IGa,3,0,"div",24),H());a&2&&(a=b.issues,z(1),F("ngIf",a&&a.length),z(1),F("ngIf",!a),z(1),F("ngIf",0===(null==a?null:a.length)))},KGa=function(a){if(a&1){var b=v();G(0,"button",4);M("click",function(c){w(b);N().expansionChange.emit();c.stopPropagation();return y()});I(1,"b-icon",5);H()}a&2&&(a=N(),mf("collapsed",!a.expanded),bf("aria-label",a.expanded?"Collapse children":"Expand children"))},LGa=function(a){a&1&&I(0,"div",6)},MGa=function(){},
PGa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=NGa?NGa:NGa=OGa(a)},QGa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},OGa=function(a){a=void 0===a?{}:a;var b;return de(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):c.yield(RGa(Cn(Dn("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("cd");return b.client&&b.client.load?c.jumpTo(3):c.yield(QGa(),
3)}return c.return(b)})},SGa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},UGa=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(TGa.has(a))return TGa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){TGa.delete(a)});TGa.set(a,b);return b}return Promise.resolve()},VGa=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})},WGa=function(a){if(a&1){var b=v();G(0,"div",5);M("clickOutside",function(){w(b);var c=N();return y(c.hide())});G(1,"div",6);R(2," Relative link may be malformed:\u00a0 ");G(3,"code");R(4);H();G(5,"button",7);M("click",function(){w(b);var c=N();return y(c.copyToClipboard())});I(6,"mat-icon",8);H()();G(7,"div",6);R(8," Force open as: \u00a0 ");G(9,"a",9);M("click",function(c){w(b);var d=N();mEa(c)||(c.preventDefault(),
c.stopPropagation(),En(d.domSafe,"http://"+d.originalHref));return y()});R(10);H()()()}a&2&&(a=N(),z(4),Af(a.originalHref),z(5),vf("href","http://",a.originalHref,"",Id),z(1),zf(" http://",a.originalHref," "))},XGa=function(){return{color:"accent",clickAction:"check-indeterminate"}},YGa=function(a){a&1&&(G(0,"b-glue"),I(1,"mat-icon",5),H())},bHa=function(a){if(a&1){var b=v();G(0,"div",6);M("clickOutside",function(){w(b);var c=N();return y(c.hide())});G(1,"span",7)(2,"a",8);M("click",function(c){w(b);
var d=N();return y(ZGa(d,c))})("keydown",function(c){w(b);var d=N();return y($Ga(d,c))});R(3);H()();G(4,"button",9);M("keydown.Tab",function(c){w(b);var d=N();return y(aHa(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),F("href",a.originalHref,Id)("rel",a.EXTERNAL_LINK_REL),z(1),Af(a.originalHref))},cHa=function(a){a&1&&(J(0),I(1,"img",3),S(2,"async"),L());if(a&2){a=N(2);var b;z(1);F("src",T(2,2,a.srcRedirected$),Id);bf("alt",null!==
(b=a.alt)&&void 0!==b?b:"user provided image")}},dHa=function(a){a&1&&(J(0),Q(1,cHa,3,4,"ng-container",0),S(2,"async"),L());if(a&2){a=N();var b=yf(3);z(1);F("ngIf",T(2,2,a.showImage$))("ngIfElse",b)}},eHa=function(a){if(a&1){var b=v();G(0,"a",4);M("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))});S(1,"async");S(2,"async");G(3,"b-glue");I(4,"mat-icon",5);H();J(5);R(6);S(7,"async");L();H()}a&2&&(a=N(),F("href",T(1,3,a.src$),
Id)("title",T(2,5,a.src$)),z(6),Af(T(7,7,a.srcTruncated$)))},fHa=function(a){a&1&&(I(0,"mat-icon",6),S(1,"async"));a&2&&(a=N(),vf("matTooltip","Unable to load image ",T(1,1,a.srcTruncated$),""))},gHa=function(a){a&1&&(J(0),I(1,"br"),G(2,"a",4),I(3,"b-secure-image-widget",5),H(),I(4,"br"),L());if(a&2){a=N().ngIf;var b=N();z(2);F("href",a,Id)("rel",b.EXTERNAL_LINK_REL);z(1);F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},hHa=function(a){a&1&&I(0,"b-secure-image-widget",6);
if(a&2){a=N().ngIf;var b=N();F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},iHa=function(a){a&1&&(J(0)(1,1),S(2,"async"),Q(3,gHa,5,5,"ng-container",2),Q(4,hHa,1,3,"b-secure-image-widget",3),L()());a&2&&(a=N(),z(1),F("ngSwitch",T(2,3,a.displayMode$)),z(2),F("ngSwitchCase",a.DisplayMode.SHOW),z(1),F("ngSwitchCase",a.DisplayMode.COLLAPSE))},jHa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},kHa=function(a,b){a&1&&(J(0),I(1,"b-plain-format-section",2),L());a&2&&
(a=b.$implicit,z(1),F("section",a))},lHa=function(a){a&1&&I(0,"b-plain-format-quoted-section",1);a&2&&(a=N(),F("section",a.section))},mHa=function(a){a&1&&I(0,"b-plain-format-unquoted-section",1);a&2&&(a=N(),F("section",a.section))},oHa=function(a){if(a&1){var b=v();G(0,"a",4);M("click",function(){w(b);var c=N();c.showQuote=!0;nHa(c);return y()});R(1," - Show quoted text - ");H()}a&2&&(a=N(),bf("aria-controls",a.childId))},pHa=function(a){if(a&1){var b=v();G(0,"a",5);M("click",function(){w(b);var c=
N();c.showQuote=!1;nHa(c);return y()});R(1," - Hide quoted text - ");H()}a&2&&(a=N(),bf("aria-controls",a.childId))},qHa=function(a,b){a&1&&(J(0),I(1,"b-literal-format-presenter",1),L());a&2&&(a=b.ngIf,z(1),F("content",a))},rHa=function(a,b){a&1&&(J(0),I(1,"b-markdown-format-presenter",1),L());a&2&&(a=b.ngIf,z(1),F("content",a))},sHa=function(a,b){a&1&&(J(0),I(1,"b-plain-format-presenter",1),L());a&2&&(a=b.ngIf,z(1),F("content",a))},tHa=function(a){switch(a.formattingMode){case "LITERAL":return(0,E.of)({literalFormat:{content:ita(zg(a.comment))}});
case "MARKDOWN":return a={markdownFormat:{content:ita(zg(""))}},(0,E.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:ita(zg(a.comment))}]}},(0,E.of)(a);default:return nh(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},uHa=function(a,b){a&1&&(J(0),G(1,"div",1),I(2,"b-formatted-comment-presenter",2),H(),L());a&2&&(a=b.$implicit,b=N(),z(1),mf("invisible",""===(b.comment||"").trim())("error",a.isFallback),z(1),
F("formattedComment",a.formattedComment))},vHa=function(a){a&1&&(G(0,"a",2),I(1,"mat-icon",3),H());a&2&&(a=N(),F("href",a.mdHelpLink,Id)("disableRipple",!0))},wHa=function(a){a&1&&I(0,"b-formatted-comment-presenter",4);a&2&&(a=N(),F("formattedComment",a.note.formattedComment))},xHa=function(a){a&1&&I(0,"b-live-preview",5);a&2&&(a=N(),F("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",
a.idPrefix))},yHa=function(a,b){if(a&1){var c=v();G(0,"a",8);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.clickSegment.emit(d.name||d.path))});R(1);H()}a&2&&(a=b.$implicit,F("href",a.path,Id),z(1),zf(" ",a.name||a.path," "))},zHa=function(a){a&1&&(J(0),G(1,"button",4),I(2,"mat-icon",5),H(),G(3,"mat-menu",null,6),Q(5,yHa,2,2,"a",7),H(),L());if(a&2){var b=yf(4);a=N();z(1);F("matMenuTriggerFor",b);z(4);F("ngForOf",a.segments)}},AHa=function(a){if(a&1){var b=v();G(0,"button",4);M("click",
function(){w(b);var c=N();return y(c.toggle())});I(1,"mat-icon",5);H()}a&2&&(a=N(),mf("isClosed",a.isClosed),F("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),bf("aria-label",a.toggleButtonLabel),z(1),F("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},BHa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},CHa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},DHa=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 E.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(Be())},EHa=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,E.merge)((0,E.of)(void 0),(0,E.fromEvent)(window,"scroll").pipe(ze(500))).pipe(D(function(){return d(a)}),Be())},FHa=function(a){a&1&&(G(0,"span",8),R(1),H());a&
2&&(a=N(),z(1),Af(a.placeholder))},GHa=function(a){a&1&&(G(0,"span",12),R(1),H());a&2&&(a=N(2),z(1),Af(a.triggerValue))},HHa=function(a){a&1&&uf(0,0,["*ngSwitchCase","true"])},IHa=function(a){a&1&&(G(0,"span",9),Q(1,GHa,2,1,"span",10),Q(2,HHa,1,0,"ng-content",11),H());a&2&&(a=N(),F("ngSwitch",!!a.customTrigger),z(2),F("ngSwitchCase",!0))},JHa=function(a){if(a&1){var b=v();G(0,"div",13)(1,"div",14,15);M("@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))});uf(3,1);H()()}a&2&&(a=N(),F("@transformPanelWrap",void 0),z(1),pf("mat-select-panel ",a._getPanelTheme(),""),lf("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),F("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),bf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},KHa=function(a){a&1&&rf(0)},LHa=
function(a){if(a&1){var b=v();G(0,"div",3);M("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()});Q(1,KHa,1,0,"ng-container",4);H()}a&2&&(a=N(),F("ngClass",a.bubbleStyle)("@fade",void 0),z(1),F("ngTemplateOutlet",a.panelTemplate))},MHa=function(a){a&1&&(J(0),G(1,"span",3),R(2),S(3,"toAccessLevelLabel"),H(),L());a&2&&(a=N(2),z(1),mf("xs",a.compactMode),F("ngClass",
a.chipClass),z(1),zf(" ",If(3,4,a.accessLevel,a.compactMode)," "))},NHa=function(a){a&1&&(G(0,"div",7),R(1),G(2,"a",8),R(3," Learn more"),H()());a&2&&(a=N(3),z(1),zf(" ",a.bubbleText," "),z(1),F("href",Fn(a.documentationLinks),Id))},OHa=function(a){a&1&&(G(0,"xap-bubble",4)(1,"span",5),R(2),S(3,"toAccessLevelLabel"),H(),Q(4,NHa,4,2,"ng-template",null,6,Vf),H());if(a&2){var b=yf(5);a=N(2);F("panelTemplate",b);z(1);mf("xs",a.compactMode);F("ngClass",a.chipClass);z(1);zf(" ",If(3,5,a.accessLevel,a.compactMode),
" ")}},PHa=function(a){a&1&&(J(0),Q(1,MHa,4,7,"ng-container",1),Q(2,OHa,6,8,"ng-template",null,2,Vf),L());if(a&2){var b=yf(3);a=N();z(1);F("ngIf",a.labelOnlyMode)("ngIfElse",b)}},QHa=function(a){a&1&&(J(0),R(1,"Un-"),L())},RHa=function(a){a&1&&(G(0,"span"),R(1," Assigned to "),I(2,"b-user-display",16),H());a&2&&(a=N(2).ngIf,z(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},SHa=function(a){a&1&&(G(0,"span"),R(1," Accepted by "),I(2,"b-user-display",16),H());a&2&&(a=N(2).ngIf,z(2),F("model",a.assigneeUser)("hovercardEnabled",
!1))},THa=function(a){a&1&&(G(0,"span"),R(1," Duplicate of "),G(2,"a",3),R(3),H()());if(a&2){a=N(2).ngIf;var b=N(),c;z(2);ef("aria-label","Go to issue ",a.duplicateOfIssueId,"");F("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),Id);z(1);zf(" ",a.duplicateOfIssueId," ")}},UHa=function(a){a&1&&(G(0,"span"),R(1),H());if(a&2){a=N().ngIf;var b=N(2);z(1);zf(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},VHa=function(a,b){a&1&&(J(0,13),Q(1,RHa,3,2,"span",14),Q(2,SHa,3,2,"span",14),Q(3,THa,
4,3,"span",14),Q(4,UHa,2,1,"span",15),L());a&2&&(F("ngSwitch",b.ngIf),z(1),F("ngSwitchCase","ASSIGNED"),z(1),F("ngSwitchCase","ACCEPTED"),z(1),F("ngSwitchCase","DUPLICATE"))},WHa=function(a,b){a&1&&(J(0),I(1,"b-app-vote-button",17),L());if(a&2){a=b.ngIf;b=N().ngIf;var c=N(2),d;z(1);F("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},XHa=function(a){a&1&&(J(0),Q(1,WHa,2,3,"ng-container",1),L());a&2&&(a=N(2),z(1),F("ngIf",a.issue.userData))},ZHa=function(a){if(a&
1){var b=v();J(0);G(1,"button",18);M("click",function(){w(b);var c=N(2);return y(YHa(c,c.childContextId))});R(2," Unlink parent ");H();L()}},$Ha=function(a,b){a&1&&(G(0,"li"),R(1," Last updated by "),I(2,"b-user-display",16),R(3," on: "),I(4,"b-formatted-date-time",19),H());a&2&&(a=b.ngIf,b=N().ngIf,z(2),F("model",a)("hovercardEnabled",!1),z(2),F("timestamp",b.modifiedTimeMicros/1E3))},aIa=function(a,b){a&1&&(J(0),Q(1,$Ha,5,3,"li",1),G(2,"li"),R(3," Reported by "),I(4,"b-user-display",16),R(5," on: "),
I(6,"b-formatted-date-time",19),H(),L());a&2&&(a=b.ngIf,b=N().ngIf,z(1),F("ngIf",a.lastModifier),z(3),F("model",b.reporterUser)("hovercardEnabled",!1),z(2),F("timestamp",a.createdTimeMicros/1E3))},bIa=function(a){a&1&&(G(0,"li",20),I(1,"b-note-container",21),H());if(a&2){a=N(2);var b;z(1);F("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())}},eIa=function(a,b){if(a&1){var c=v();J(0);G(1,"div",2)(2,"h3")(3,"a",3);R(4);H();R(5," \u00a0 ");G(6,"span",4);R(7);H()();G(8,"ul")(9,"li",5);I(10,"b-access-level-indicator",6);H();G(11,"li",7)(12,"span",8);R(13);H();R(14," \u00a0 ");Q(15,VHa,5,4,"ng-container",9);H()();G(16,"div",10)(17,"b-cc-button",11);M("onCc",function(g){w(c);var h=N();h.location&&g&&h.analytics.trackEvent(h.location+"_"+Gn.ISSUE_CARD,"add","CC");return y()});H();Q(18,XHa,2,1,"ng-container",1);Q(19,ZHa,3,0,"ng-container",
1);H();G(20,"ul");Q(21,aIa,7,4,"ng-container",1);Q(22,bIa,2,4,"li",12);H()();L()}if(a&2){a=b.ngIf;b=N();var d,e;z(3);ef("aria-label","Go to issue ",b.issueId,"");F("href",b.editIssue(b.issueId),Id);z(1);Af(b.issueId);z(3);Af(a.title);z(3);F("labelOnlyMode",!0)("accessLevel",null==b.issue.accessLimit?null:b.issue.accessLimit.accessLevel);z(2);F("ngClass",b.priorityClass(a.priority));z(1);Af(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);z(2);
F("ngIf",a.status);z(2);F("issueId",b.issueId)("ccState",cIa(b,null!==(e=a.ccUsers)&&void 0!==e?e:Ef(15,dIa)));z(1);F("ngIf",b.issue.aggregatedData);z(1);F("ngIf",b.childContextId);z(2);F("ngIf",b.issue.aggregatedData);z(1);F("ngIf",b.firstEvent.unlinkifiedComment)}},fIa=function(a){a&1&&I(0,"b-user-image",5);a&2&&(a=N(),F("email",a.email))},gIa=function(a){a&1&&rf(0)},hIa=function(a){a&1&&(J(0),G(1,"span",6),Q(2,gIa,1,0,"ng-container",7),H(),G(3,"onedev-hovercard",null,8),I(5,"b-issue-person-card",
9),H(),L());if(a&2){var b=yf(4);a=N();var c=yf(4);z(1);F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},iIa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(),z(1),Af(a.email))},jIa=function(a){a&1&&(G(0,"span",10),I(1,"b-availability-chip",11),H());a&2&&(a=N(),z(1),F("user",a.email))},kIa=function(a){a&1&&I(0,"b-user-image",6);a&2&&(a=N(),F("email",a.email))},lIa=function(a){a&1&&I(0,"b-user-display-name",7);a&2&&(a=N(),F("email",a.email)("hovercardFocusEnabled",
!0)("availabilityChipEnabled",!1))},mIa=function(a){a&1&&rf(0)},nIa=function(a){a&1&&(J(0),G(1,"span",10),Q(2,mIa,1,0,"ng-container",11),H(),G(3,"onedev-hovercard",null,12),I(5,"b-issue-person-card",13),H(),L());if(a&2){var b=yf(4);N();var c=yf(2);a=N();z(1);F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.email)}},oIa=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=N(2),z(1),Af(a.email))},pIa=function(a){a&1&&(Q(0,nIa,6,3,"ng-container",8),Q(1,oIa,2,1,"ng-template",
null,9,Vf));if(a&2){var b=yf(2);a=N();F("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},qIa=function(a){a&1&&(I(0,"mat-icon",15),S(1,"async"),S(2,"async"));if(a&2){a=N();var b,c;F("svgIcon",null!==(b=T(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=T(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},rIa=function(a){a&1&&(J(0),I(1,"b-availability-chip",16),L());a&2&&(a=N(),z(1),F("user",a.email))},sIa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}},
tIa=function(a,b){a&1&&(G(0,"div",0,1),uf(2),H());a&2&&(a=b.id,b=N(),F("id",b.id)("ngClass",b._classList),bf("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},uIa=function(a){a&1&&(G(0,"div")(1,"div",9),R(2," An issue cannot reference itself. "),H()())},vIa=function(a){a&1&&(G(0,"mat-option",10)(1,"div",11),I(2,"b-spinner",12),H()());a&2&&(z(2),F("large",!0))},wIa=function(a){a&1&&(G(0,"mat-option",13),R(1," No issues found. "),H())},xIa=function(a){a&1&&I(0,"mat-icon",
24);if(a&2){a=N().$implicit;var b=N();F("svgIcon",b.STATUS_ICON[a.status])}},yIa=function(a){a&1&&I(0,"b-issue-card",25,26);if(a&2){var b=yf(1);a=N().$implicit;F("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},AIa=function(a,b){a&1&&(G(0,"mat-option",14)(1,"div",15),Q(2,xIa,1,1,"mat-icon",16),G(3,"strong",17),R(4),H(),G(5,"onedev-hovercard",null,18),Q(7,yIa,2,2,"b-issue-card",19),H(),G(8,"a",20),M("click",function(d){return d.stopPropagation()}),I(9,"mat-icon",21),H(),G(10,"span",22),R(11),
H(),I(12,"div",23),S(13,"boldPrefixMatches"),H()());if(a&2){a=b.$implicit;var c=yf(6);b=N();F("value",a);z(1);bf("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");z(1);F("ngIf",a.status);z(1);wf("title",a.resourceId);z(1);zf(" ",a.resourceId," ");z(4);F("onedevHovercardTrigger",c)("href",b.getIssueLink(a),Id);z(3);Af(zIa(a));z(1);wf("title",a.displayText);F("innerHTML",If(13,10,a.displayText,b.query),Hd)}},BIa=function(a,b){a&1&&(G(0,"a",13),R(1),
H());a&2&&(a=b.$implicit,b=b.last,vf("href","issues/",a.resourceId,"",Id),z(1),Bf(" ",a.resourceId,"",b?"":","," "))},CIa=function(a){a&1&&(G(0,"div",11),Q(1,BIa,2,3,"a",12),H());a&2&&(a=N(),z(1),F("ngForOf",a.selectedIssues))},DIa=function(a){a&1&&(G(0,"div",11)(1,"a",14)(2,"span",15),R(3),H(),G(4,"span"),I(5,"mat-icon",16),H()()());a&2&&(a=N(),z(1),vf("href","issues/",a.selectedIssues[0].resourceId,"",Id),z(2),zf(" ",a.selectedIssues[0].displayText," "))},FIa=function(a){if(a&1){var b=v();G(0,"div",
17)(1,"div",18);M("click",function(){w(b);var c=N();return y(EIa(c))})("keyup.space",function(){w(b);var c=N();return y(EIa(c))});H()()}a&2&&(a=N(),z(1),F("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),bf("aria-checked",a.isQueryRestricted))},GIa=function(a,b){return[].concat(Pc(b)).map(function(c){return Hn[c]}).every(function(c){return c.check(a)})},HIa=function(a){return!!Hn[a]},In=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))},IIa=function(a){a&1&&uf(0)},JIa=function(a){a&1&&rf(0)},KIa=function(a){if(a&1){var b=v();G(0,"button",7,8);M("click",function(e){w(b);var g=N();return y(g.onClick(e))});Q(2,JIa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=yf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);
z(2);F("ngTemplateOutlet",c)}},LIa=function(a){a&1&&rf(0)},MIa=function(a){if(a&1){var b=v();G(0,"button",10,8);M("click",function(e){w(b);var g=N();return y(g.onClick(e))});Q(2,LIa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=yf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},NIa=function(a){a&1&&rf(0)},OIa=function(a){if(a&1){var b=v();
G(0,"button",11,8);M("click",function(e){w(b);var g=N();return y(g.onClick(e))});Q(2,NIa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=yf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},PIa=function(a){a&1&&rf(0)},QIa=function(a){if(a&1){var b=v();G(0,"button",12,8);M("click",function(e){w(b);var g=N();return y(g.onClick(e))});Q(2,PIa,1,
0,"ng-container",9);H()}if(a&2){a=N();var c=yf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},RIa=function(a){a&1&&rf(0)},SIa=function(a){if(a&1){var b=v();G(0,"button",7,8);M("click",function(e){w(b);var g=N();return y(g.onClick(e))});Q(2,RIa,1,0,"ng-container",9);H()}if(a&2){a=N();var c=yf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",
a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");bf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);z(2);F("ngTemplateOutlet",c)}},TIa=function(a){switch(a){case 0:return"Row moved up";case 1:return"Row moved down";case 2:return"Row indented";case 3:return"Row unindented";case 4:return"Row moved";default:nh(a)}},VIa=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=UIa(b),g=b.nextElementSibling&&UIa(b.nextElementSibling),h=b.previousElementSibling&&UIa(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 x;if((null==(x=b.nextElementSibling)?0:x.classList.contains("dragging"))&&
e===g)return d="none",c();d="after";return c()}d="current";return c()},UIa=function(a){return Number(a.dataset.level)},WIa=function(a){var b;return Jn(null!=(b=a.dataset.ancestorchain)?b:"")},XIa=function(a){a&1&&I(0,"th",28)},YIa=function(a){if(a&1){var b=v();G(0,"td",29,30);M("click",function(c){w(b);yf(1).focus();return y(c.stopPropagation())});H()}},ZIa=function(a){a&1&&I(0,"th",28)},$Ia=function(a){if(a&1){var b=v();G(0,"td",31,32);M("click",function(c){w(b);yf(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()}},aJa=function(a){a&1&&(G(0,"th",28),R(1," Id "),H())},bJa=function(a,b){a&1&&(G(0,"td",34),I(1,"b-issue-id-cell",35),H());a&2&&(a=b.$implicit,z(1),F("id",a.id))},cJa=function(a){a&1&&(G(0,"th",28),R(1," Id "),H())},dJa=function(a){a&1&&(G(0,"td",34),R(1,"--"),H())},eJa=function(a){a&1&&(G(0,"th",28),R(1," Title "),H())},fJa=function(a,b){if(a&1){var c=v();G(0,"td",34)(1,"b-expandable-issue-title-cell",36);M("expansionChange",
function(){var d=w(c).$implicit,e=N();return y(e.toggleExpansion(d))});S(2,"async");S(3,"async");H()()}a&2&&(a=b.$implicit,z(1),F("issue",T(2,4,a.issue$))("expandable",T(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},gJa=function(a){a&1&&(G(0,"th",28),R(1," Type "),H())},hJa=function(a,b){a&1&&(G(0,"td",34),I(1,"b-issue-type-cell",37),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},iJa=function(a){a&1&&(G(0,"th",28),R(1," Assignee "),H())},jJa=function(a,
b){a&1&&(J(0),G(1,"b-person-hovercard",41),R(2),H(),L());a&2&&(a=b.$implicit,b=N(3),z(1),F("email",b.getAssigneeString(a)),z(1),zf(" ",b.ldapOnly(b.getAssigneeString(a))," "))},kJa=function(a){a&1&&(J(0),Q(1,jJa,3,2,"ng-container",21),S(2,"async"),L());a&2&&(a=N().$implicit,z(1),F("ngIf",T(2,1,a.issue$)))},lJa=function(a,b){a&1&&I(0,"b-user-image",41);a&2&&F("email",b.$implicit)},mJa=function(a,b){a&1&&(J(0),Q(1,lJa,1,1,"b-user-image",42),L());a&2&&(a=b.$implicit,b=N(3),z(1),F("ngIf",b.getAssigneeString(a)))},
nJa=function(a){a&1&&(J(0),Q(1,mJa,2,1,"ng-container",21),S(2,"async"),L());a&2&&(a=N().$implicit,z(1),F("ngIf",T(2,1,a.issue$)))},oJa=function(a,b){a&1&&I(0,"b-user-image",41);a&2&&F("email",b.$implicit)},pJa=function(a){a&1&&(J(0),Q(1,oJa,1,1,"b-user-image",42),L());if(a&2){a=N().$implicit;var b=N(3);z(1);F("ngIf",b.getAssigneeString(a))}},qJa=function(a,b){a&1&&(J(0),Q(1,pJa,2,1,"ng-container",21),L());a&2&&(a=b.$implicit,b=N(3),z(1),F("ngIf",b.isInProgress(a)))},rJa=function(a){a&1&&(J(0),Q(1,
qJa,2,1,"ng-container",21),S(2,"async"),L());a&2&&(a=N().$implicit,z(1),F("ngIf",T(2,1,a.issue$)))},sJa=function(a){a&1&&(I(0,"b-issue-assignee-cell",37),S(1,"async"));a&2&&(a=N().$implicit,F("issue",T(1,1,a.issue$)))},tJa=function(a){a&1&&(G(0,"td",34),J(1,38),Q(2,kJa,3,3,"ng-container",39),Q(3,nJa,3,3,"ng-container",39),Q(4,rJa,3,3,"ng-container",39),Q(5,sJa,2,3,"b-issue-assignee-cell",40),L(),H());a&2&&(a=N(),z(1),F("ngSwitch",a.options.assigneeMode),z(1),F("ngSwitchCase","short"),z(1),F("ngSwitchCase",
"avatar"),z(1),F("ngSwitchCase","avatar-in-progress"))},uJa=function(a){a&1&&(G(0,"th",28),R(1," Status "),H())},vJa=function(a,b){a&1&&(J(0),G(1,"a",45),R(2," Fix Pending "),H(),L());a&2&&(a=b.$implicit,z(1),vf("href","http://cl/",a.changelistNumber,"",Id),xf("matTooltip","Open cl/",a.changelistNumber," from ",a.author,""))},wJa=function(a){a&1&&(J(0),Q(1,vJa,3,3,"ng-container",21),L());if(a&2){a=N().$implicit;var b=N();z(1);F("ngIf",null==b.projectData?null:null==b.projectData.bugToPendingFixCl?
null:b.projectData.bugToPendingFixCl.get(a.id))}},xJa=function(a){a&1&&(I(0,"b-issue-status-cell",37),S(1,"async"));a&2&&(a=N().$implicit,F("issue",T(1,1,a.issue$)))},zJa=function(a,b){a&1&&(G(0,"td",34),Q(1,wJa,2,1,"ng-container",43),Q(2,xJa,2,3,"ng-template",null,44,Vf),H());if(a&2){a=b.$implicit;var c=yf(3);b=N();z(1);F("ngIf",b.options.showPendingFixCls&&yJa(b,a.id))("ngIfElse",c)}},AJa=function(a){a&1&&(G(0,"th",28),R(1," Team "),H())},BJa=function(a,b){a&1&&(G(0,"td",34),I(1,"b-issue-team-cell",
37),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},CJa=function(a){a&1&&I(0,"th",28)},DJa=function(a,b){a&1&&(G(0,"td",34)(1,"b-actions-menu",46),M("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=N(),z(1),F("menuItems",b.getMenuItems(a)))},EJa=function(a){a&1&&(G(0,"th",28),R(1," CLs "),H())},FJa=function(a,b){a&1&&(G(0,"b-async-data-placeholder",48)(1,"a",49),M("click",function(c){return c.stopPropagation()}),I(2,"b-formatted-date-time",50),
H()());a&2&&(a=b.ngIf,F("isReady",null!==a.cl),z(1),vf("href","http://cl/",null==a.cl?null:a.cl.changelistNumber,"",Id)("matTooltip","Submitted by ",null==a.cl?null:a.cl.author,""),z(1),F("paddingLeftPx",0)("timestamp",null==a.cl?null:a.cl.timestamp))},HJa=function(a){a&1&&(J(0),Q(1,FJa,3,5,"b-async-data-placeholder",47),S(2,"async"),S(3,"mostRecentCL$"),L());a&2&&(a=N().$implicit,z(1),F("ngIf",Ff(5,GJa,T(2,1,T(3,3,a.issue$)))))},IJa=function(a,b){a&1&&(G(0,"td",34),Q(1,HJa,4,7,"ng-container",21),
H());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.level))},JJa=function(a){a&1&&I(0,"th",28)},KJa=function(a){a&1&&(G(0,"b-actions-menu",46),M("click",function(c){return c.stopPropagation()}),H());if(a&2){a=N().$implicit;var b=N();F("menuItems",b.getMenuItemsForDraft(a))}},LJa=function(a){a&1&&I(0,"b-spinner")},MJa=function(a,b){a&1&&(G(0,"td",51),Q(1,KJa,1,1,"b-actions-menu",52),Q(2,LJa,1,0,"ng-template",null,53,Vf),H());if(a&2){a=b.$implicit;var c=yf(3);z(1);F("ngIf",!a.saving)("ngIfElse",c)}},NJa=function(a,
b){if(a&1){var c=v();G(0,"td",34)(1,"b-async-data-placeholder",48);S(2,"async");G(3,"b-button",54);M("onAction",function(){var d=w(c).$implicit,e=N();return y(e.displayAllSiblings(d))});G(4,"span",55);R(5);H()()()()}a&2&&(a=b.$implicit,b=N(),lf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),bf("colspan",b.tableColumns.length),z(1),F("isReady",!!T(2,5,a.parentIssue$)),z(4),zf("Display ",a.truncatedSiblingCount," more"))},OJa=function(a){a&1&&(G(0,"th",28),R(1," Title "),H())},PJa=function(a,
b){if(a&1){var c=v();G(0,"td",34)(1,"div",56)(2,"b-text-input-cell",57);M("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();G(3,"b-button",58);M("onAction",function(){var d=w(c).$implicit,e=N();return y(e.saveDraft(d))});R(4," Create ");H();G(5,"b-button",59);M("onAction",function(){var d=w(c).$implicit,e=N();return y(e.cancelDraft(d))});R(6," Cancel ");H()()()}a&2&&(a=b.$implicit,lf("padding-left",24*
(a.level+1),"px"),z(2),F("value",a.title)("readonly",a.saving),z(1),F("disabled",!a.title||a.saving),z(2),F("disabled",a.saving))},QJa=function(a){a&1&&I(0,"tr",61)},RJa=function(a){a&1&&(J(0),Q(1,QJa,1,0,"tr",60),L());a&2&&(a=N(),z(1),F("matHeaderRowDef",a.tableColumns))},TJa=function(a,b){if(a&1){var c=v();G(0,"tr",62);M("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(Bn(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))});S(1,"async");S(2,"async");S(3,"async");H()}a&2&&(a=b.$implicit,b=N(),mf("selected",T(1,10,SJa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(T(2,12,a.issue$)))("highlighted",!!b.getUserInvolvement(T(3,14,a.issue$))),F("row",a),bf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},UJa=function(a,b){if(a&
1){var c=v();G(0,"tr",63);M("focusin",function(){var d=w(c).$implicit,e=N();return y(Bn(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,F("row",a),bf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},VJa=function(a,b){if(a&1){var c=v();G(0,"tr",64);M("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(Bn(e.focusManager,d))});H()}a&2&&(a=b.$implicit,F("row",a),bf("data-type",a.type))},WJa=function(a){return function(b){return Ch(b,Kn,1).map(function(c){return{workspaceId:c.getWorkspaceId(),workspaceName:c.getName(),issueId:a}})}},XJa=function(a,b){if(a&1){var c=v();J(0);G(1,"iframe",6);M("load",function(){w(c);var d=
N();return y(d.contentLoaded=!0)});H();L()}a&2&&(a=b.$implicit,b=N(),z(1),mf("loading",!b.contentLoaded),F("src",a,xga))},YJa=function(a){a&1&&I(0,"mat-spinner",7)},$Ja=function(a){return ZJa.some(function(b){return b.test(a)})},aKa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},eKa=function(a,b){var c=aKa(a);c=(c&&bKa.includes(c)?aKa(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))?Bg(cKa,a):Bg(dKa,a,c)},gKa=function(a,b,c,d){if(fKa)return fKa;var e=eKa(a,d);return fKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=Ln(document,"SCRIPT");sh(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)})},
iKa=function(a,b,c,d){if(hKa)return hKa;var e=eKa(a,d);return hKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=Ln(document,"SCRIPT");sh(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)})},jKa=function(a,b,c,d,e){e=void 0===e?!0:e;var g,h,l,q,x;return de(function(A){switch(A.nextAddress){case 1:return g=
Date.now(),A.yield(gKa(a,c,d,b),2);case 2:h=A.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(x=a.initializationData)?0:x.isLocalServer))){l=h.initializeFeedbackClient(a,g,b);A.jumpTo(3);break}return A.yield(h.initializeFeedbackClientAsync(a,g,b),4);case 4:l=A.yieldResult;case 3:return l.initiateAloha(),A.return(l)}})},kKa=function(a,b,c,d){var e,g,h;return de(function(l){if(1==l.nextAddress)return e=Date.now(),l.yield(iKa(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)})},lKa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,g,h,l,q,x,A,B,K,O;return de(function(P){e=c||ba;if(null==(g=b)?0:null==(l=(h=g).getEnableAlohaBinarySplit)?0:l.call(h)){q=e;if(q.isFormOpened)throw x=Error("dd"),x.name="DuplicateFormError",x;q.isFormOpened=!0;a.callbacks=a.callbacks||{};A=a.callbacks.onClose||function(){};a.callbacks.onClose=function(Y){q.isFormOpened=!1;A(Y)};
try{return P.return(kKa(a,b,q,e))}catch(Y){throw q.isFormOpened=!1,Y;}}else{B=e;if(B.isFormOpened)throw K=Error("dd"),K.name="DuplicateFormError",K;B.isFormOpened=!0;a.callbacks=a.callbacks||{};O=a.callbacks.onClose||function(){};a.callbacks.onClose=function(Y){B.isFormOpened=!1;O(Y)};try{return P.return(jKa(a,b,B,e.document,d))}catch(Y){throw B.isFormOpened=!1,Y;}}})},pKa=function(a,b){return de(function(c){return c.return(new Promise(function(d){var e=mKa(null!=b?b:"")+"/aloha_form_properties?productId="+
a;lh(e,function(g){g=g.target;var h=null;try{h=Eca(nKa,JSON.stringify(g.getResponseJson(")]}'\n")))}catch(l){g=new nKa,h=oKa(),h=vb(h,7,!0),h=vb(h,10,!0),h=vb(h,12,!0),h=vb(h,13,!1),h=vb(h,14,!0),h=vb(h,15,!0),h=vb(h,20,!1),h=Wi(g,Mn,1,h)}d(h)},"GET","",{},2E3,!0)}))})},mKa=function(a){return $Ja(a)?a:"https://www.google.com/tools/feedback"},qKa=function(a){a&1&&(G(0,"div",8),I(1,"b-spinner"),H())},rKa=function(a){a&1&&I(0,"code",22);a&2&&(a=N(2).$implicit,N(2),F("innerHtml",dk(a.formattingModeDiff),
Hd))},sKa=function(a){a&1&&(G(0,"code",23),R(1),H());a&2&&(a=N(2).$implicit,z(1),zf(" ",a.formattingMode," "))},tKa=function(a){a&1&&(G(0,"p",19),R(1," Formatting: "),Q(2,rKa,1,1,"code",20),Q(3,sKa,2,1,"code",21),H());a&2&&(a=N(3),z(2),F("ngIf",a.diffView),z(1),F("ngIf",!a.diffView))},uKa=function(a){if(a&1){var b=v();G(0,"div")(1,"span",24)(2,"b-person-hovercard",25);S(3,"omitObfuscatedEmail");R(4);S(5,"appendDomain");H()();G(6,"a",26);M("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()});R(7);H()()}a&2&&(a=N().$implicit,N(2),z(2),F("email",T(3,5,ci(a.lastEditorUser))),z(2),zf(" <",T(5,7,ci(a.lastEditorUser)),"> "),z(2),ef("aria-label","Comment version ",a.version,""),vf("id","bv2-edit-issue-comment-",a.version,""),z(1),zf(" #",a.version,""))},vKa=function(a){a&1&&(G(0,"div",30),R(1),H());a&2&&(a=N(2).$implicit,z(1),Af(a.preview))},wKa=function(a){a&1&&
(G(0,"div",31),R(1,"Comment deleted."),H())},xKa=function(a){a&1&&(G(0,"div",32),R(1,"Comment history restricted."),H())},yKa=function(a){a&1&&(J(0),Q(1,vKa,2,1,"div",27),Q(2,wKa,2,0,"div",28),Q(3,xKa,2,0,"div",29),L());a&2&&(a=N().$implicit,z(1),F("ngIf",!a.restricted&&!a.deleted),z(1),F("ngIf",!a.restricted&&a.deleted),z(1),F("ngIf",a.restricted))},zKa=function(a){a&1&&(G(0,"div",35),R(1,"Comment deleted."),H())},AKa=function(a){a&1&&(G(0,"div",36),S(1,"async"),H());if(a&2){a=N(2).$implicit;var b=
N(2);mf("codefont",T(1,3,b.codefont.codefont$));F("innerHtml",a.unlinkifiedComment,Hd)}},BKa=function(a){a&1&&(G(0,"div",36),S(1,"async"),H());if(a&2){a=N(2).$implicit;var b=N(2);mf("codefont",T(1,3,b.codefont.codefont$));F("innerHtml",dk(a.diff),Hd)}},CKa=function(a){a&1&&(G(0,"div",32),R(1," This comment is not available due to present or past restrictions on the comment. "),H())},DKa=function(a){a&1&&(J(0),Q(1,zKa,2,0,"div",33),Q(2,AKa,2,5,"div",34),Q(3,BKa,2,5,"div",34),Q(4,CKa,2,0,"div",29),
L());if(a&2){a=N().$implicit;var b=N(2);z(1);F("ngIf",!a.restricted&&a.deleted);z(1);F("ngIf",!b.diffView&&!a.restricted&&!a.deleted);z(1);F("ngIf",b.diffView&&!a.restricted&&!a.deleted);z(1);F("ngIf",a.restricted)}},EKa=function(a,b){if(a&1){var c=v();G(0,"li",11)(1,"div",12);I(2,"b-user-image",13);H();G(3,"div",14);M("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);Q(6,tKa,4,2,"p",17);Q(7,uKa,8,9,"div",18);Q(8,yKa,4,3,"ng-container",
18);H();Q(9,DKa,5,4,"ng-container",18);H()}a&2&&(a=b.$implicit,N(2),mf("comment-version-open",a.open),z(2),F("email",ci(a.lastEditorUser)),z(2),F("model",a.lastEditorUser),z(1),F("timestamp",a.lastModified),z(1),F("ngIf",!a.deleted),z(1),F("ngIf",a.open),z(1),F("ngIf",!a.open),z(1),F("ngIf",a.open))},FKa=function(a){a&1&&(G(0,"ul",9),Q(1,EKa,10,9,"li",10),H());a&2&&(a=N(),z(1),F("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},IKa=function(a,b){var c=new GKa;a=Nn(c,a,b);HKa(c,a);c=a.map(function(d){var e=
d[0];d=d[1];switch(e){case -1:return en("SPAN",{"class":"diff-removed"},d);case 1:return en("SPAN",{"class":"diff-added"},d);case 0:return en("SPAN",{"class":null},d);default:throw Error("fd`"+e);}});return fn(c)},JKa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},KKa=function(a){a&1&&(G(0,"div",2),R(1," You are about to access a file marked as restricted. Access will be logged and audited. You must delete any downloaded files from local storage when finished. "),
G(2,"a",13),R(3," Learn more "),H()());a&2&&(a=N(2),z(2),F("href",a.getRestrictedAccessHelpLink(),Id))},MKa=function(a){a&1&&(J(0),Q(1,KKa,4,1,"div",8),L());a&2&&(a=N(),z(1),F("ngIf",LKa(a)))},NKa=function(a){a&1&&(G(0,"div",2)(1,"span",14),R(2," You do not have access to view this attachment. "),H()())},OKa=function(a){a&1&&I(0,"mat-spinner",15)},PKa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(),mf("muted",a.isGreyedOut),z(1),zf(" ",a.displayName,""))},QKa=function(a){if(a&1){var b=v();G(0,
"a",2);M("click",function(c){w(b);var d=N();return y(d.handleClick(c))});R(1);H()}a&2&&(a=N(),F("href",a.linkUrl,Id)("rel",a.EXTERNAL_LINK_REL),z(1),zf(" ",a.displayName,""))},TKa=function(a){a&1&&(G(0,"span"),R(1),G(2,"b"),R(3),H(),R(4," on "),G(5,"b"),R(6),S(7,"date"),H(),R(8,". "),H());a&2&&(a=N(4),z(1),zf(" Currently, the ",a.contentType," is scheduled for deletion in "),z(2),Af(RKa(SKa(a).getTime(),!0)),z(3),Af(If(7,3,SKa(a),"longDate")))},UKa=function(a){a&1&&(G(0,"span")(1,"b"),R(2,"Retention:"),
H(),R(3),G(4,"b"),R(5),H(),R(6," from the last modification of the issue. "),Q(7,TKa,9,6,"span",11),H());if(a&2){a=N(3);var b=yf(10);z(3);zf(" This ",a.contentType," has a retention period of ");z(2);Af(a.getRetentionPeriod());z(2);F("ngIf",!(SKa(a).getTime()<(new Hh).getTime()))("ngIfElse",b)}},VKa=function(a){a&1&&(R(0),G(1,"b"),R(2,"overridden"),H(),R(3," retention period set to match the issue retention period. "));a&2&&(a=N(3),zf(" The ",a.contentType," has an "))},WKa=function(a){a&1&&(G(0,
"p",10),Q(1,UKa,8,4,"span",11),Q(2,VKa,4,1,"ng-template",12),H());if(a&2){a=N(2);var b=yf(8);F("ngSwitch",a.retention);z(1);F("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);z(1);F("ngSwitchCase",a.retentionModel.INDEFINITE)}},XKa=function(a){a&1&&(G(0,"div",7)(1,"p")(2,"b"),R(3,"Restricted Access:"),H(),R(4),G(5,"a",8),R(6," Learn More "),H()(),Q(7,WKa,3,4,"p",9),H());a&2&&(a=N(),z(4),zf(" This ",a.contentType," is only available to users with the appropriate permissions. "),
z(1),F("rel",a.EXTERNAL_LINK_REL),bf("href",a.documentationLinks.getRestrictedAccessHelpLink(),Id),z(2),F("ngIf",a.retentionState))},YKa=function(a){a&1&&(G(0,"b"),R(1,"Retention:"),H(),R(2));a&2&&(a=N(),z(2),zf(" This ",a.contentType," has an indefinite retention period. "))},ZKa=function(a){a&1&&(R(0," The retention has "),G(1,"b"),R(2,"expired"),H(),R(3),G(4,"b"),R(5),S(6,"date"),H(),R(7,". "));a&2&&(a=N(),z(3),zf(" and the ",a.contentType," was scheduled for deletion on "),z(2),Af(If(6,2,SKa(a),
"longDate")))},$Ka=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a.text))},aLa=function(a){a&1&&(G(0,"span"),I(1,"b-access-level-indicator",2),H());a&2&&(a=N().$implicit,z(1),F("accessLevel",a.accessLevel))},bLa=function(a,b){a&1&&(G(0,"span"),Q(1,$Ka,2,1,"span",1),Q(2,aLa,2,1,"span",1),H());a&2&&(a=b.$implicit,b=N(),z(1),F("ngIf",b.isText(a)),z(1),F("ngIf",!b.isText(a)))},dLa=function(a,b){var c=cLa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,
startOfMatch:a,endOfMatch:a+c.length}:null},eLa=function(a){if(a&1){var b=v();G(0,"div");I(1,"br");G(2,"mat-checkbox",8);M("ngModelChange",function(c){w(b);var d=N();return y(d.acknowledged=c)});H();G(3,"span");R(4,"All information in this issue is suitable for external sharing.");H()()}a&2&&(a=N(),z(2),F("ngModel",a.acknowledged))},fLa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=N();return y(c.allow())});R(1," Move Issue ");H()}a&2&&(a=N(),F("disabled",!a.acknowledged))},
gLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),zf("(",a.disabledReason,")"))},hLa=function(a,b){a&1&&(G(0,"mat-radio-button",8),R(1),Q(2,gLa,2,1,"span",9),H());a&2&&(a=b.$implicit,F("value",a)("disabled",!a.enabled),z(1),zf(" ",a.displayText," "),z(1),F("ngIf",!a.enabled))},iLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),zf("(",a.disabledReason,")"))},jLa=function(a,b){a&1&&(G(0,"mat-radio-button",8),R(1),Q(2,iLa,2,1,"span",9),H());a&2&&(a=b.$implicit,
F("value",a)("disabled",!a.enabled),z(1),zf(" ",a.displayText," "),z(1),F("ngIf",!a.enabled))},kLa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},lLa=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"}F("svgIcon",a)}},mLa=function(a){a&1&&I(0,"b-spinner")},nLa=function(a,b){a&1&&(G(0,"div")(1,"div",9),R(2),H()());a&2&&(a=
b.$implicit,N(2),z(2),Af(ci(a.user)))},oLa=function(a){a&1&&(J(0),Q(1,nLa,3,1,"div",8),L());a&2&&(a=N(),z(1),F("ngForOf",a.allResponders))},pLa=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("gd`"+a);}},qLa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(),z(1),zf("Retain ",a.resource," as long as issue?"))},rLa=function(a){a&1&&(G(0,"span"),R(1,"Apply component retention settings?"),H())},
sLa=function(a){a&1&&(G(0,"span")(1,"p"),R(2),H(),G(3,"p")(4,"b"),R(5,"Please note long retention is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored."),H(),I(6,"br"),R(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),zf("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},
tLa=function(a){a&1&&(G(0,"span")(1,"p"),R(2),H()());a&2&&(a=N(),z(2),Bf("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."))},uLa=function(a){if(a&1){var b=v();G(0,"mat-checkbox",9);M("ngModelChange",function(c){w(b);var d=N();return y(d.acknowledgeToMatchIssueRetention=c)});R(1," I acknowledge ");H()}a&2&&(a=N(),F("ngModel",a.acknowledgeToMatchIssueRetention))},
vLa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},Pn=function(a){return new On((a instanceof On?a:new On(a)).value,!0)},wLa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,E.firstValueFrom)(b).then(function(c){c=new E.BehaviorSubject(c);b.subscribe(c);return new Qn(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new Rn(a.apiKey,a.appAuthTokens)):Promise.resolve(new Sn(a.apiKey,a.authUser)):Promise.reject(Error("rd"))},xLa=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}},yLa=function(a){return new E.Observable(function(b){var c=Tn(function(){b.next({});b.complete()},a);return function(){Un(c)}})},zLa=function(a){var b=new Vn;b.setName(a);return b},ALa=function(a){a.isPrivateToUser()?(a=new Wn,Xn(a,2,Yn,Xa(!0))):(a=new Wn,Xn(a,1,Yn,Xa(!0)));return a},CLa=function(a){var b=
new Zn;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new $n;if(d.value instanceof ao)d.isDecreasing?Xn(c,4,bo,d.value.toString()):Xn(c,2,bo,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?Xn(c,3,bo,d.value):Xn(c,1,bo,d.value);else if("number"===typeof d.value)d.isDecreasing?Xn(c,9,bo,Wa(d.value)):Xn(c,10,bo,Wa(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?Xn(c,5,bo,Sa(d.value,!1,!1)):Xn(c,7,bo,Sa(d.value,!1,!1));else if(d.value instanceof
co)d.isDecreasing?(d=BLa(d.value),eo(c,11,bo,d)):(d=BLa(d.value),eo(c,12,bo,d));else if(d.value instanceof fo){var e=d.value.rep;"number"===typeof e?d.isDecreasing?Xn(c,9,bo,Wa(e)):Xn(c,10,bo,Wa(e)):"string"===typeof e&&(d.isDecreasing?Xn(c,6,bo,e):Xn(c,8,bo,e))}go(b,1,$n,c)}return b},HLa=function(a,b){if(a instanceof ho)return 0<Ch(b,$n,1).length?null:DLa.apply(ho,Pc(a.parts));a=Array.of.apply(Array,Pc(a.root.parts));b=k(Ch(b,$n,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,Ai(c,bo)){case 4:a.push(Pn(io(jo(c,
ko(c,bo,4)))));break;case 2:a.push(new On(io(jo(c,ko(c,bo,2)))));break;case 6:a.push(Pn(new fo(ELa(c,ko(c,bo,6)))));break;case 8:a.push(new On(new fo(ELa(c,ko(c,bo,8)))));break;case 10:a.push(new On(new fo(lo(c,10,bo))));break;case 9:a.push(Pn(new fo(lo(c,9,bo))));break;case 3:a.push(Pn(mo(c,3,bo)));break;case 1:a.push(new On(mo(c,1,bo)));break;case 7:var d=void 0;a.push(new On(null==(d=no(c,ko(c,bo,7)))?void 0:FLa(d)));break;case 5:d=void 0;a.push(Pn(null==(d=no(c,ko(c,bo,5)))?void 0:FLa(d)));break;
case 12:c=GLa(Pj(c,yh,12,bo));if(null===c)return null;a.push(new On(c));break;case 11:c=GLa(Pj(c,yh,11,bo));if(null===c)return null;a.push(Pn(c));break;case 0:return null;default:return null}return DLa.apply(ho,Pc(a))},oo=function(a){return(null!=a?a:[]).map(ri)},po=function(a){return(null!=a?a:[]).map(Kqa)},qo=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},LLa=function(){var a=ro("gapi.config.get");if((a=qo(a&&a("googleapis.config/sessionIndex")))||
(a=qo(ba.__X_GOOG_AUTHUSER))||(a=qo(ro("google.authuser"))))return a;var b=ba.location.href||"",c=ILa.exec(b);try{a=qo(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=JLa.exec(b);try{a=qo(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=KLa.exec(b);return(a=qo(a&&a[1]))?a:""},MLa=function(){var a=ro("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=ro("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}},NLa=function(a){a=void 0===a?"":a;var b;if(!(b=MLa())){b=a;var c=void 0===c?LLa():c;a={};var d=so([]);d&&(a.Authorization=d);b||(b=(b=ro("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},OLa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=ro("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=ro("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},QLa=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 PLa(a-1,2*b)})},PLa=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 QLa(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")})})},RLa=function(){var a=void 0===a?"":a;var b=void 0===b?LLa():b;var c=ro("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)},SLa=function(a){return(new to).setEventType(2).setRpcType(2).setLookupType(a)},TLa=function(a){a=Math.round(1E3*a);return isFinite(a)?a:null},uo=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},xo=function(a,b,c,d){vo.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;ULa(this.transport_,this.id_);d&&wo(d.getEventTarget(),"e",this.onContactsChange_,!1,this)},VLa=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},XLa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return WLa(b.name,b.email)}).join(", "):""},$La=function(a,b,c){var d=[];a&&(YLa("name",a.name,b,d,c),YLa("phone",a.phone,b,d,c),YLa("photo",a.photo,b,d,c));return d.map(function(e){return new ZLa(e)})},YLa=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"!==
ro("metadata.containerType",g)){var h=c,l=d,q=e,x=ro("metadata.encodedContainerId",g),A=ro("metadata.containerType",g);if(h.contains(x,A))var B=h.get(x,A)||0;else B=l.length,h.set(x,A,B),l.push({}),q.push(x);B=l[B];B[a]=B[a]||[];B[a].push(g)}}},bMa=function(a,b){if(a){a=aMa(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},cMa=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},dMa=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},eMa=function(a){this.query_=a;this.error_=0},zo=function(a,b){b=a(b||fMa,void 0);a=yo();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=gMa(b),hMa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},gMa=function(a){return va(a)?
a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Ao)?a:cn("zSoyz"):cn(String(a))},Co=function(a,b,c,d,e,g,h){this.serverBase_="string"===typeof a?new Bo(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},iMa=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},mMa=function(a,b,c,d){a=a.filter(jMa());if(!d)return a;d=d.map(function(e){return{contact:e,toString:function(){return e.text}}});b=kMa(new lMa(d),b,d.length);return a.concat(b.map(function(e){return e.contact}))},qMa=function(a){if(a&1){var b=v();G(0,"input",7,8);M("change",function(){w(b);var c=N();if(nMa(c)){var d=Do(c);oMa(c);pMa(c,!0);Do(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===Eo(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,pMa(d,!0),Do(d).focus()):pMa(d));return y()});H()}a&2&&(a=N(),F("value",a.autocompleteUserName))},rMa=function(a){a&1&&I(0,"div",9,10)},sMa=function(a){a&1&&rf(0)},tMa=function(a){a&1&&rf(0)},uMa=function(a){a&1&&I(0,"b-live-preview",11);a&2&&(a=N(),F("comment",a.newComment.text)("issueId",
a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},vMa=function(a){if(a&1){var b=v();G(0,"section")(1,"div",12)(2,"b-recaptcha",13);M("onUpdate",function(c){w(b);var d=N();return y(d.recaptchaResponse=c)});H()()()}},wMa=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]}}},xMa=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(Pc(e.relations),Pc(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},yMa=function(a){a&1&&I(0,"b-restricted-chip",10);a&2&&(a=N(),F("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},zMa=function(a){a&1&&(G(0,"span",11),I(1,"b-actions-menu",12),H());a&2&&(a=N(),z(1),F("menuItems",
a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},DMa=function(a){if(a&1){var b=v();G(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){w(b);var c=N();c.isRestricted()?AMa(c,!1):c.domSafe.openInNewTab(BMa(c,!1));return y()});H()()}a&2&&(a=N(),pf("bv2-issue-attachment-link ",CMa(a),""),z(1),F("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",BMa(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},EMa=function(a){if(a&1){var b=v();
G(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){w(b);var c=N();c.isRestricted()?AMa(c,!0):c.domSafe.openInNewTab(BMa(c,!0));return y()});H()()}a&2&&(a=N(),pf("bv2-issue-attachment-link ",CMa(a),""),z(1),F("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",BMa(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},FMa=function(a){a&1&&(G(0,"span",14)(1,"a",15),I(2,"mat-icon",16),H()());a&2&&(a=N(),z(1),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Id)("disableRipple",
!0),z(1),F("svgIcon","help-outline"))},GMa=function(a){a&1&&(G(0,"div",17),R(1," You do not have access to this restricted attachment. "),G(2,"a",18),R(3,"Learn more"),H()());a&2&&(a=N(),z(2),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Id))},IMa=function(a){if(a&1){var b=v();G(0,"button",20,21);M("click",function(){w(b);var c=N(2);return y(HMa(c))});R(2," Edit ");H()}},JMa=function(a,b){a&1&&(J(0),R(1," on behalf of "),I(2,"b-user-display-name",22),L());a&2&&(a=b.ngIf,z(2),F("email",
a)("showEmail",!1))},KMa=function(a){a&1&&(J(0),Q(1,JMa,3,2,"ng-container",12),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.onBehalfOfEmail$)))},LMa=function(a,b){if(a&1){var c=v();G(0,"a",23);M("click",function(d){var e=w(c).$implicit;N(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return y()});R(1);H()}a&2&&(a=b.$implicit,b=N().$implicit,N(),F("routerLinkObj",hwa(a,{comment:1})),bf("aria-label","Comment number"+b.commentNumber),z(1),zf(" #",b.commentNumber,""))},
NMa=function(a){a&1&&(J(0),G(1,"span",24),R(2," \u2022 Edited"),H(),L());if(a&2){a=N().$implicit;var b=N();z(1);F("matTooltip",MMa(b,a))}},OMa=function(a){a&1&&(J(0),G(1,"p",25),R(2," Description has been deleted. "),H(),L())},PMa=function(a){if(a&1){var b=v();G(0,"b-restricted-comment-placeholder",28);M("onConfirm",function(){w(b);var c=N().ngIf,d=N(3).$implicit,e=N();return y(e.loadRestrictedComment(c,d))});S(1,"async");H()}a&2&&(a=N(5),F("disabled",!T(1,1,a.mayReadPii$)))},QMa=function(a){a&1&&
(J(0),Q(1,PMa,2,3,"b-restricted-comment-placeholder",27),S(2,"async"),L());a&2&&(a=N(4),z(1),F("ngIf",T(2,1,a.shouldShowRestrictedPlaceholder$)))},RMa=function(a){a&1&&(J(0),Q(1,QMa,3,3,"ng-container",12),S(2,"async"),L());a&2&&(a=N(3),z(1),F("ngIf",T(2,1,a.id$)))},SMa=function(a,b){a&1&&(I(0,"b-note-container",31),S(1,"async"));if(a&2){a=b.$implicit;b=N().ngIf;var c=N(4);F("issueId",b)("issueAccessLevel",T(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},TMa=function(a){a&1&&(J(0),
Q(1,SMa,2,6,"b-note-container",30),S(2,"async"),L());if(a&2){a=N(3).$implicit;var b=N();z(1);F("ngIf",""!==a.unlinkifiedComment&&T(2,1,b.firstNote$))}},UMa=function(a){a&1&&(J(0),R(1," Add one."),L())},VMa=function(a){a&1&&(G(0,"p",32),R(1," No description yet."),Q(2,UMa,2,0,"ng-container",12),H());a&2&&(a=N(4),z(2),F("ngIf",a.canEditComment()))},WMa=function(a){a&1&&(Q(0,TMa,3,3,"ng-container",12),S(1,"async"),Q(2,VMa,3,1,"p",29));if(a&2){a=N(2).$implicit;var b=N();F("ngIf",T(1,2,b.id$));z(2);F("ngIf",
""===a.unlinkifiedComment)}},XMa=function(a){a&1&&(Q(0,RMa,3,3,"ng-container",17),S(1,"async"),Q(2,WMa,3,4,"ng-template",null,26,Vf));if(a&2){var b=yf(3);a=N(2);F("ngIf",T(1,2,a.isRedacted$))("ngIfElse",b)}},YMa=function(a,b){a&1&&(J(0),I(1,"b-attachment-viewer",36),L());if(a&2){a=b.ngIf;b=N().$implicit;var c=N(3);z(1);F("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},ZMa=function(a,b){a&1&&(G(0,"div",35),Q(1,YMa,2,3,"ng-container",12),S(2,"async"),H());a&2&&(a=b.$implicit,
b=N(3),vf("id","attachment",a.attachmentId,""),z(1),F("ngIf",T(2,2,b.id$)))},$Ma=function(a){a&1&&(G(0,"div",33),Q(1,ZMa,3,4,"div",34),H());a&2&&(a=N().$implicit,z(1),F("ngForOf",a.attachments))},bNa=function(a,b){a&1&&(G(0,"div",2),I(1,"mat-icon",3),G(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),R(6,"Description"),H(),Q(7,IMa,3,0,"button",8),I(8,"b-user-display",9),G(9,"onedev-hovercard",null,10),I(11,"b-issue-person-card",11),H(),R(12," created issue "),Q(13,KMa,3,3,"ng-container",12),S(14,"async"),
Q(15,LMa,2,3,"a",13),S(16,"async"),Q(17,NMa,3,1,"ng-container",12),S(18,"async"),H(),G(19,"div"),I(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),S(23,"async"),H()(),Q(24,OMa,3,0,"ng-container",17),S(25,"async"),Q(26,XMa,4,4,"ng-template",null,18,Vf),Q(28,$Ma,2,1,"div",19),H()());if(a&2){a=b.$implicit;var c=yf(10),d=yf(27);b=N();var e;z(7);F("ngIf",b.canEditComment());z(1);F("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);z(3);F("email",b.getUserEmailIfAvailable());z(2);
F("ngIf",T(14,13,b.isAuthorNotReporter$));z(2);F("ngIf",a.commentNumber&&T(16,15,b.id$));z(2);F("ngIf",T(18,17,b.isShowCommentHistoryActionInMenu$));z(3);F("timestamp",a.modifiedDate);z(1);F("buttonLabel","Description actions")("menuItems",null!==(e=T(23,19,b.commentActionMenuItems$))&&void 0!==e?e:Ef(23,aNa));z(3);F("ngIf",T(25,21,b.isDeleted$))("ngIfElse",d);z(4);F("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},cNa=function(a){a&1&&I(0,"b-spinner")},dNa=function(a){return(null==
a?void 0:a.emailAddress)||(null==a?void 0:a.obfuscatedEmailAddress)||""},eNa=function(a,b){a&1&&I(0,"b-issue-person-card",7);a&2&&F("email",b.ngIf)},fNa=function(a,b){a&1&&(J(0),G(1,"span",4),R(2),S(3,"shortenEmail"),H(),G(4,"onedev-hovercard",null,5),Q(6,eNa,1,1,"b-issue-person-card",6),H(),L());if(a&2){a=b.ngIf;var c=yf(5);b=N(2);z(1);F("onedevHovercardTrigger",c);z(1);zf(" ",If(3,3,b.userToString(a),30)," ");z(4);F("ngIf",a.emailAddress)}},gNa=function(a,b){if(a&1){var c=v();G(0,"a",8);M("click",
function(d){var e=w(c).ngIf,g=N(2);return y(g.scrollCommentIntoView(d,e))});R(1);H()}a&2&&(a=b.ngIf,b=N(2),ef("aria-label","Comment number ",a,""),F("routerLinkObj",b.getCommentNumberLink(a)),z(1),zf(" #",a,""))},hNa=function(a){a&1&&(J(0),R(1,","),L())},iNa=function(a,b){a&1&&(G(0,"span",1),Q(1,fNa,7,6,"ng-container",2),G(2,"span"),Q(3,gNa,2,3,"a",3),Q(4,hNa,2,0,"ng-container",2),H()());a&2&&(a=b.$implicit,b=b.last,z(1),F("ngIf",a.userPerformingActionUser),z(2),F("ngIf",a.commentNumber),z(1),F("ngIf",
!b))},jNa=function(a,b){a&1&&(G(0,"div",4)(1,"a",5),S(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),wf("href",T(2,5,a.src),Id),z(2),F("showByDefault",!0)("src",a.src),z(1),F("issueId",b.issueId)("comments",a.comments))},kNa=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=N(2).ngIf,d=N(2);c=c.length;var e=Sm(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return y()});
R(1," Load more ");H()}},lNa=function(a){if(a&1){var b=v();G(0,"button",11);M("click",function(){w(b);var c=N(4);return y(c.goToResourcesTab())});R(1," See all screenshots ");H()}},mNa=function(a){a&1&&(J(0),Q(1,kNa,2,0,"button",8),Q(2,lNa,2,0,"ng-template",null,9,Vf),L());if(a&2){var b=yf(3);a=N(3);z(1);F("ngIf",a.paginate)("ngIfElse",b)}},nNa=function(a,b){a&1&&(J(0),G(1,"div",2),Q(2,jNa,5,7,"div",3),S(3,"async"),H(),Q(4,mNa,4,2,"ng-container",1),L());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();z(1);
mf("show-all-images",c.paginate);z(1);F("ngForOf",T(3,4,c.imagesToRender$));z(2);F("ngIf",b.length!==a.length)}},oNa=function(a){a&1&&(J(0),Q(1,nNa,5,6,"ng-container",1),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,1,a.imagesToRender$)))},pNa=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:ol(h)}})},qNa=function(a){a&1&&(G(0,"span",5),R(1),S(2,"reverse"),H());a&2&&(a=N(),z(1),Af(T(2,1,a.leftText)))},rNa=function(a){a&1&&(J(0),G(1,"b-external-hyperlink-widget",6),R(2),H(),L());a&2&&(a=N(),z(1),F("href",a.redirectedHref)("originalHref",a.originalHref),z(1),Af(a.linkText))},sNa=function(a){a&1&&(G(0,"b-issue-reference-widget",9),R(1),H());a&2&&(a=N(2),F("href",a.redirectedHref)("issueId",a.issueId),z(1),Af(a.linkText))},tNa=function(a){a&1&&(G(0,"a",10),R(1),H());a&2&&(a=N(2),
wf("href",a.redirectedHref,Id),z(1),Af(a.linkText))},uNa=function(a){a&1&&(Q(0,sNa,2,3,"b-issue-reference-widget",7),Q(1,tNa,2,2,"ng-template",null,8,Vf));if(a&2){var b=yf(2);a=N();F("ngIf",a.issueId)("ngIfElse",b)}},vNa=function(a){a&1&&(G(0,"span",11),R(1),H());a&2&&(a=N(),z(1),Af(a.rightText))},wNa=function(a){var b=document.createElement("div");if(a=jta(a))1===b.nodeType&&Ipa(b),b.innerHTML=dk(a);return b},xNa=function(a){a&1&&(J(0),G(1,"td"),I(2,"b-issue-priority-display",2),H(),G(3,"td",3)(4,
"span",4),R(5),H(),I(6,"mentioned-link-with-context",5),H(),G(7,"td"),I(8,"comments-info",6),S(9,"toComments"),H(),L());if(a&2){a=N().$implicit;var b=N(3),c;z(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);z(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");z(1);zf(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");z(1);F("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);z(2);F("issueId",b.issueId)("comments",
T(9,8,a.sourceComments))}},yNa=function(a,b){a&1&&(G(0,"tr"),Q(1,xNa,10,10,"ng-container",0),H());a&2&&(a=b.$implicit,z(1),F("ngIf",a.sourceComments&&a.relatedLinks))},zNa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=N(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return y()});R(1," Load more ");H()}},ANa=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=N(4);return y(c.goToResourcesTab())});R(1,
" See all mentioned issues ");H()}},BNa=function(a){a&1&&(G(0,"div"),Q(1,zNa,2,0,"button",7),Q(2,ANa,2,0,"ng-template",null,8,Vf),H());if(a&2){var b=yf(3);a=N(3);z(1);F("ngIf",a.paginate)("ngIfElse",b)}},CNa=function(a,b){a&1&&(J(0),G(1,"section")(2,"table"),Q(3,yNa,2,1,"tr",1),H(),Q(4,BNa,4,2,"div",0),H(),L());a&2&&(a=b.ngIf,b=N().ngIf,z(3),F("ngForOf",b),z(1),F("ngIf",a.length!==b.length))},DNa=function(a){a&1&&(J(0),Q(1,CNa,5,2,"ng-container",0),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,
1,a.allMentionedIssues$)))},ENa=function(a,b){a&1&&(G(0,"div",2),I(1,"mentioned-link-with-context",3)(2,"comments-info",4),S(3,"toComments"),H());a&2&&(a=b.$implicit,b=N(3),z(1),F("sourceComment",a[0].comment)("relatedLink",a[0]),z(1),F("issueId",b.issueId)("comments",T(3,4,a)))},FNa=function(a){if(a&1){var b=v();G(0,"button",7);M("click",function(){w(b);var c=N(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return y()});R(1," Load more ");H()}},GNa=function(a){if(a&
1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=N(4);return y(c.goToResourcesTab())});R(1," See all related links ");H()}},HNa=function(a){a&1&&(G(0,"div"),Q(1,FNa,2,0,"button",5),Q(2,GNa,2,0,"ng-template",null,6,Vf),H());if(a&2){var b=yf(3);a=N(3);z(1);F("ngIf",a.paginate)("ngIfElse",b)}},INa=function(a,b){a&1&&(J(0),Q(1,ENa,4,6,"div",1),Q(2,HNa,4,2,"div",0),L());if(a&2){a=b.ngIf;b=N().ngIf;var c=N();z(1);F("ngForOf",a)("ngForTrackBy",c.trackByHref);z(1);F("ngIf",b.length!==a.length)}},
JNa=function(a){a&1&&(J(0),Q(1,INa,3,3,"ng-container",0),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,1,a.linkGroupsToRender$)))},LNa=function(a,b){var c=a.filter(function(d){return vva(d[0])});a=a.filter(function(d){return!vva(d[0])});return KNa([].concat(Pc(c),Pc(a)).slice(0,b),"asc")},NNa=function(a){a&1&&(J(0),I(1,"mat-icon",10),rf(2,11),L());if(a&2){a=N().$implicit;N();var b=yf(10);z(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(2,MNa,a))}},ONa=function(){},PNa=function(a){a&1&&
Q(0,ONa,0,0,"ng-template")},QNa=function(a){a&1&&(J(0),Q(1,PNa,1,0,null,12),L());a&2&&(a=N(2).$implicit,z(1),F("ngTemplateOutlet",a.tabIconTemplate))},RNa=function(a){a&1&&(Q(0,QNa,2,1,"ng-container",3),rf(1,11));if(a&2){a=N().$implicit;N();var b=yf(10);F("ngIf",a.tabIconTemplate);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(3,MNa,a))}},SNa=function(a,b){if(a&1){var c=v();G(0,"button",7);M("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()});S(1,"async");S(2,"async");S(3,"async");Q(4,NNa,3,4,"ng-container",8);S(5,"async");Q(6,RNa,2,5,"ng-template",null,9,Vf);H()}if(a&2){a=b.$implicit;var d=yf(7);b=N();mf("expanded",!!T(1,8,An(b.internalExpandedTabs,a.key)));ef("aria-controls","expandable-tabs-",a.key,"-content");bf("aria-label",a.ariaLabel)("aria-expanded",!!T(2,10,An(b.internalExpandedTabs,a.key)))("aria-selected",!!T(3,12,An(b.internalExpandedTabs,
a.key)));z(4);F("ngIf",T(5,14,An(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},UNa=function(a,b){if(a&1){var c=v();J(0);G(1,"button",13);M("click",function(){w(c);var d=N();return y(TNa(d))});R(2);H();L()}a&2&&(a=b.ngIf,b=N(),z(1),mf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),bf("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),z(1),zf(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},VNa=function(){},WNa=function(a){a&1&&
Q(0,VNa,0,0,"ng-template")},XNa=function(a){a&1&&(J(0),Q(1,WNa,1,0,null,12),L());a&2&&(a=N(2).$implicit,z(1),F("ngTemplateOutlet",a.tabIconTemplate))},YNa=function(){},ZNa=function(a){a&1&&Q(0,YNa,0,0,"ng-template")},$Na=function(a){a&1&&(J(0),Q(1,ZNa,1,0,null,12),L());a&2&&(a=N(2).$implicit,z(1),F("ngTemplateOutlet",a.tabContentTemplate))},aOa=function(a){a&1&&(G(0,"div",15)(1,"h4"),Q(2,XNa,2,1,"ng-container",3),rf(3,11),H(),Q(4,$Na,2,1,"ng-container",3),H());if(a&2){a=N().$implicit;N();var b=yf(10);
vf("id","expandable-tabs-",a.key,"-content");z(2);F("ngIf",a.tabIconTemplate);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(5,MNa,a));z(1);F("ngIf",a.tabContentTemplate)}},bOa=function(a,b){a&1&&(J(0),Q(1,aOa,5,7,"div",14),S(2,"async"),L());a&2&&(a=b.$implicit,b=N(),z(1),F("ngIf",T(2,1,An(b.internalExpandedTabs,a.key))))},cOa=function(){},dOa=function(a){a&1&&Q(0,cOa,0,0,"ng-template")},eOa=function(a){a&1&&(J(0),Q(1,dOa,1,0,null,12),L());a&2&&(a=N().tab,z(1),F("ngTemplateOutlet",a.tabHeaderTemplate))},
fOa=function(a){a&1&&R(0);a&2&&(a=N().tab,Af(a.key))},gOa=function(a,b){a&1&&(Q(0,eOa,2,1,"ng-container",8),Q(1,fOa,1,1,"ng-template",null,16,Vf));if(a&2){a=b.tab;var c=yf(2);F("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},hOa=function(a){a&1&&I(0,"mat-icon",9)},iOa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=N(2);var b;zf("Screenshots (",null!==(b=T(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},lOa=function(a,b){if(a&1){var c=v();G(0,"inline-images-summary",11);M("click",function(){w(c);
var e=N(3);jOa(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return y()});S(1,"async");H()}if(a&2){a=b.ngIf;b=N(3);var d;F("issueId",a)("imageLinks",null!==(d=T(1,2,b.imageLinks$))&&void 0!==d?d:Ef(4,kOa))}},mOa=function(a){a&1&&(Q(0,lOa,2,5,"inline-images-summary",10),S(1,"async"));a&2&&(a=N(2),F("ngIf",T(1,1,a.issueId$)))},nOa=function(a){a&1&&I(0,"mat-icon",12)},oOa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=N(2);var b;zf("Mentioned issues (",null!==(b=T(1,1,a.distinctIssuesCount$))&&
void 0!==b?b:0,")")}},pOa=function(a,b){if(a&1){var c=v();G(0,"b-mentioned-issues",14);M("click",function(){w(c);var d=N(3);jOa(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return y()});H()}a&2&&(a=b.ngIf,b=N(3),F("issueReferences",a)("currentIssueId",b.issueId))},qOa=function(a){a&1&&(Q(0,pOa,1,2,"b-mentioned-issues",13),S(1,"async"));a&2&&(a=N(2),F("ngIf",T(1,1,a.issues$)))},rOa=function(a){a&1&&I(0,"mat-icon",15)},sOa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=N(2);var b;zf("Links (",
null!==(b=T(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},tOa=function(a){if(a&1){var b=v();G(0,"related-links-widget",16);M("click",function(){w(b);var d=N(2);jOa(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return y()});S(1,"async");H()}if(a&2){a=N(2);var c;F("links",null!==(c=T(1,2,a.otherLinks$))&&void 0!==c?c:Ef(4,kOa))("issueId",a.issueId)}},vOa=function(a,b){if(a&1){var c=v();G(0,"expandable-tabs",2);M("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(uOa),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(Fo(g.issueInteractionsTracking,e,l+"-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):(Fo(g.issueInteractionsTracking,e,l+"-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));0<d.size?(g.recordImpressionOnce(),Fo(g.issueInteractionsTracking,
e,"SW-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Fo(g.issueInteractionsTracking,e,"SW-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return y()});G(1,"expandable-tab",3);Q(2,hOa,1,0,"ng-template",4);Q(3,iOa,2,3,"ng-template",5);Q(4,mOa,2,3,"ng-template",6);H();G(5,"expandable-tab",7);Q(6,nOa,1,0,"ng-template",4);Q(7,oOa,2,3,"ng-template",5);Q(8,qOa,2,3,"ng-template",6);H();G(9,"expandable-tab",
8);Q(10,rOa,1,0,"ng-template",4);Q(11,sOa,2,3,"ng-template",5);Q(12,tOa,2,5,"ng-template",6);H()()}a&2&&(a=b.ngIf,b=N(),F("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),z(1),F("key",b.TabKeys.IMAGES),z(4),F("key",b.TabKeys.MENTIONED_ISSUES),z(4),F("key",b.TabKeys.LINKS))},wOa=function(a){a&1&&(G(0,"div",31),I(1,"img",32),R(2,"\u00a0 "),G(3,"a",33),R(4),H()());if(a&2){a=N().$implicit;var b=N(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Id);z(1);zf("",a.clIds.length+a.pendingChangeLists.length,
" CLs")}},xOa=function(a,b){a&1&&I(0,"b-user-image",34);a&2&&F("email",b.$implicit)},yOa=function(a,b){if(a&1){var c=v();G(0,"div",25);M("click",function(){var e=w(c).$implicit,g=N(3);return y(g.log(e))});G(1,"div",26);Q(2,wOa,5,2,"div",27);H();Q(3,xOa,1,1,"b-user-image",28);S(4,"slice");G(5,"button",29);I(6,"mat-icon",30);H()()}if(a&2){a=b.$implicit;N(2);var d=yf(16);z(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);F("ngForOf",Jf(4,3,a.contributors,0,10));z(2);F("matMenuTriggerFor",
d)}},zOa=function(a){a&1&&(J(0),Q(1,yOa,7,7,"div",24),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.projectData$)))},AOa=function(a,b){a&1&&(G(0,"div",38),I(1,"div",39),R(2),S(3,"number"),H());if(a&2){a=b.$implicit;b=N().$implicit;var c=N(3);xf("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");z(1);bf("style",c.makePie(a/100),wga);z(1);zf(" ",If(3,4,a,"1.0-0"),"% Complete ")}},BOa=function(a){a&1&&(G(0,"div",31),I(1,"mat-icon",40),R(2),H());if(a&2){a=N(3).$implicit;
var b=N();z(2);zf(" Target: ",b.getEndDate(a)," ")}},DOa=function(a){a&1&&(G(0,"a",33),R(1),H());if(a&2){a=N(2).$implicit;var b=N(3);F("href",b.makeCritiqueUrl(Ef(2,COa),a.pendingChangeLists),Id);z(1);zf("(",a.pendingChangeLists.length," pending)")}},EOa=function(a){a&1&&(G(0,"div",31),I(1,"img",32),R(2,"\u00a0 "),G(3,"a",33),R(4),H(),R(5," \u00a0 "),Q(6,DOa,2,3,"a",41),H());if(a&2){a=N().$implicit;var b=N(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Id);z(1);zf("",a.clIds.length+
a.pendingChangeLists.length," CLs");z(2);F("ngIf",0<a.pendingChangeLists.length)}},FOa=function(a,b){if(a&1){var c=v();G(0,"div",36);M("click",function(){var e=w(c).$implicit,g=N(3);return y(g.log(e))});Q(1,AOa,4,7,"div",37);Q(2,BOa,3,1,"div",27);Q(3,EOa,7,3,"div",27);H()}if(a&2){a=b.$implicit;b=N(2).$implicit;var d=N();z(1);F("ngIf",0<a.totalCount&&(a.totalCount-a.openCount)/a.totalCount*100);z(1);F("ngIf",d.getEndDate(b));z(1);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length)}},GOa=function(a){a&
1&&(J(0),Q(1,FOa,4,3,"div",35),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.projectData$)))},IOa=function(a){a&1&&(J(0),I(1,"expandable-issues-table",43),S(2,"async"),L());if(a&2){a=N(2).$implicit;var b=N();z(1);vf("saveExpansionAtKey","project-expansion-",a.issueId,"");F("rootIssueId",a.issueId)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",Ef(8,HOa))("projectData",T(2,6,b.projectData$))}},JOa=function(a){a&1&&(J(0),I(1,"b-issue-description",44)(2,
"hr")(3,"issue-summary-card",45,46),S(5,"async"),I(6,"hr"),G(7,"p",47),R(8," No children. "),G(9,"a",48),R(10,"Add Children"),H()(),L());if(a&2){var b=yf(4);a=N(2).$implicit;z(1);F("id",a.issueId);z(2);mf("hidden",!T(5,6,b.shouldShowSummaryCard$));F("issueId",a.issueId)("alwaysStartCollapsed",!0);z(6);vf("href","/issues/",a.issueId,"/dependencies",Id)}},KOa=function(a){a&1&&(G(0,"div",42),I(1,"hr"),Q(2,IOa,3,9,"ng-container",13),Q(3,JOa,11,8,"ng-container",13),H());a&2&&(a=N().$implicit,z(2),F("ngIf",
0<a.childIssueCount),z(1),F("ngIf",0===a.childIssueCount))},LOa=function(a,b){a&1&&(J(0),G(1,"a",51),R(2,"Taskflow"),H(),L());a&2&&(a=b.$implicit,z(1),F("href",a,Id))},MOa=function(a){a&1&&(J(0),G(1,"a",52),R(2),H(),L());if(a&2){a=N().$implicit;var b=N(3);z(1);F("href",b.makeScreenshotViewUrl(a.screenshots),Id);z(1);zf("",a.screenshots.length," Screenshots")}},NOa=function(a,b){a&1&&(J(0),Q(1,MOa,3,2,"ng-container",13),L());a&2&&(a=b.$implicit,z(1),F("ngIf",3<a.screenshots.length))},OOa=function(a,
b){a&1&&(J(0),I(1,"activity-stream",53),L());a&2&&(a=b.$implicit,z(1),F("activityEvents",a)("title","Project Activity"))},POa=function(a){a&1&&I(0,"b-spinner")},QOa=function(a){a&1&&(G(0,"footer"),I(1,"hr"),G(2,"a",49),R(3,"Launch"),H(),Q(4,LOa,3,1,"ng-container",13),S(5,"async"),Q(6,NOa,2,1,"ng-container",13),S(7,"async"),I(8,"hr"),Q(9,OOa,2,2,"ng-container",1),S(10,"async"),Q(11,POa,1,0,"ng-template",null,50,Vf),H());if(a&2){var b=yf(12);a=N(2);z(4);F("ngIf",T(5,4,a.taskFlowLink$));z(2);F("ngIf",
T(7,6,a.projectData$));z(3);F("ngIf",T(10,8,a.projectActivityStream$))("ngIfElse",b)}},ROa=function(a,b){if(a&1){var c=v();J(0);G(1,"header",3)(2,"aside",4)(3,"div",5)(4,"button",6);M("click",function(){var d=w(c).$implicit,e=N();return y(pn(e.hackyPrefs,d.issueId))});R(5,"Add");H()()();G(6,"div",7)(7,"div",3)(8,"div",8)(9,"span",9)(10,"a",10);R(11);H();G(12,"button",11);M("click",function(){var d=w(c).$implicit,e=N();return y(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});I(13,"mat-icon",
12);H()()();Q(14,zOa,3,3,"ng-container",13);H()();G(15,"mat-menu",null,14)(17,"button",15);M("click",function(){var d=w(c).$implicit,e=N();return y(Go(e.hackyPrefs,d.issueId,-1))});I(18,"mat-icon",16);G(19,"span",17);R(20,"Move up");H()();G(21,"button",15);M("click",function(){var d=w(c).$implicit,e=N();return y(Go(e.hackyPrefs,d.issueId,1))});I(22,"mat-icon",18);G(23,"span",17);R(24,"Move down");H()();I(25,"mat-divider");G(26,"button",19);M("click",function(){var d=w(c).$implicit,e=N();return y(Ho(e.hackyPrefs,
d.issueId))});I(27,"mat-icon",20);G(28,"span",17);R(29,"Remove from My Projects");H()();G(30,"a",21);I(31,"mat-icon",22);G(32,"span",17);R(33,"View Issue Relationships");H()()()();Q(34,GOa,3,3,"ng-container",13);Q(35,KOa,4,2,"div",23);Q(36,QOa,13,10,"footer",13);L()}a&2&&(a=b.$implicit,b=N(),z(10),vf("href","/issues/",a.issueId,"/dependencies",Id),z(1),zf(" ",a.snapshot[0].title," "),z(3),F("ngIf",!b.addMode),z(3),F("disabled",!Io(b.hackyPrefs,a.issueId,-1)),z(4),F("disabled",!Io(b.hackyPrefs,a.issueId,
1)),z(9),vf("href","/issues/",a.issueId,"/dependencies",Id),z(4),F("ngIf",!b.isCollapsed(a.issueId)),z(1),F("ngIf",!b.isCollapsed(a.issueId)),z(1),F("ngIf",!b.isCollapsed(a.issueId)&&0<a.childIssueCount))},SOa=function(a){a&1&&(J(0),I(1,"b-spinner"),L())},TOa=function(a){if(a&1){var b=v();G(0,"p",55);R(1);G(2,"a",56);M("click",function(){w(b);var c=N(2);return y(Ho(c.hackyPrefs,c.issueId))});R(3," Remove ");H()()}a&2&&(a=N(2),z(1),zf(" b/",a.issueId," "))},UOa=function(a){a&1&&(Q(0,SOa,2,0,"ng-container",
1),Q(1,TOa,4,1,"ng-template",null,54,Vf));if(a&2){var b=yf(2);a=N();F("ngIf",a.issueFridge.isThinking(a.issueId))("ngIfElse",b)}},WOa=function(a){a=VOa(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},YOa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+XOa+"&description="+a},ZOa=function(a,b){a&1&&(J(0),
I(1,"issue-as-project-card",9),L());a&2&&(a=b.$implicit,z(1),F("issueId",a.issueId)("addMode",!0))},$Oa=function(a){a&1&&(G(0,"p",3),R(1,"No projects found."),H())},aPa=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=N(2);return y(c.suggestionCount=2*c.suggestionCount)});R(1," Show more ");H()}},bPa=function(a,b){a&1&&(J(0),G(1,"div",2)(2,"p",3)(3,"a",4),I(4,"mat-icon",5),H(),R(5," Issues calculated from parent/child work items. "),H(),Q(6,ZOa,2,2,"ng-container",6),
S(7,"slice"),Q(8,$Oa,2,0,"p",7),Q(9,aPa,2,0,"button",8),H(),L());a&2&&(a=b.ngIf,b=N(),z(6),F("ngForOf",Jf(7,3,a,0,b.suggestionCount)),z(2),F("ngIf",0===a.length),z(1),F("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},cPa=function(a){a&1&&(G(0,"p",3),I(1,"b-spinner"),R(2," Loading project suggestions... "),H())},dPa=function(a){a&1&&(G(0,"p",11),R(1),H());a&2&&(a=N(),z(1),zf(" ",a.errorMsg," "))},ePa=function(a){if(a&1){var b=v();G(0,"aside",12)(1,"div",13)(2,"h2");R(3,"Hotlist Suggestions");
H();G(4,"suggested-hotlists",14);M("click",function(c){w(b);var d=N();Nva(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return y()});H()();G(5,"div",13)(6,"h2");R(7,"Project Suggestions");H();G(8,"suggested-issue-projects",15);M("click",function(c){w(b);var d=N();Nva(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return y()});H()()()}a&2&&(z(4),F("suggestionCount",5)("disableShowMore",!0),z(4),F("suggestionCount",5)("disableShowMore",!0))},fPa=function(a){if(a&1){var b=v();G(0,"div",3);M("@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);G(2,"div",5);I(3,"div",6)(4,"div",7)(5,"div",8);H()()}a&2&&(a=N(),F("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),z(2),F("@indicator",a._getArrowDirectionState()),z(1),F("@leftPointer",a._getArrowDirectionState()),z(1),F("@rightPointer",a._getArrowDirectionState()))},
gPa=function(a){a&1&&I(0,"th",21)},hPa=function(a){a&1&&I(0,"td",22)},iPa=function(a){a&1&&(G(0,"th",21),R(1," Id "),H())},jPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-id-cell",24),H());a&2&&(a=b.$implicit,z(1),F("id",a.id))},kPa=function(a){a&1&&(G(0,"th",21),R(1," Title "),H())},lPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-title-cell",25),S(2,"async"),H());a&2&&(a=b.$implicit,b=N(),z(1),F("issue",T(2,2,a.issue$))("issueUrlFactory",b.issueUrlFactory))},mPa=function(a){a&1&&(G(0,"th",26),
R(1," Type "),H())},nPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-type-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},oPa=function(a){a&1&&(G(0,"th",28),R(1," Assignee "),H())},pPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-assignee-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},qPa=function(a){a&1&&(G(0,"th",29),R(1," Reporter "),H())},rPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-reporter-cell",27),S(2,"async"),H());
a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},sPa=function(a){a&1&&(G(0,"th",30),R(1," Status "),H())},tPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-status-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},uPa=function(a){a&1&&(G(0,"th",21),R(1," Team "),H())},vPa=function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-team-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},wPa=function(a){a&1&&(G(0,"th",31),R(1," Created "),H())},xPa=
function(a,b){a&1&&(G(0,"td",23),I(1,"b-issue-created-time-cell",27),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},yPa=function(a){a&1&&I(0,"th",21)},zPa=function(a,b){a&1&&(G(0,"td",23)(1,"b-actions-menu",32),M("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=N(),z(1),F("menuItems",b.getMenuItems(a.id)))},APa=function(a){a&1&&I(0,"tr",33)},BPa=function(a,b){if(a&1){var c=v();G(0,"tr",34);M("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(Bn(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))});H()}a&2&&F("row",b.$implicit)},CPa=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},xl=function(a){return Sm(a.issue$)},DPa=function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return Xua()(a,b.direction);
case "assignee":return Yua()(a,b.direction);case "reporter":return $ua()(a,b.direction);case "type":return Zua()(a,b.direction);case "createdTime":return ava()(a,b.direction);default:return a}},EPa=function(a){a&1&&(G(0,"div"),I(1,"b-slo-time-indicator",1),H());a&2&&(a=N(),z(1),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},FPa=function(a){a&1&&(G(0,"div"),I(1,"b-slo-time-indicator",2),H());a&2&&(a=N(),z(1),F("sloStartTime",a.sloStartTime)("sloEndTime",
a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},GPa=function(a){a&1&&(G(0,"div"),I(1,"b-slo-time-indicator",3),H());a&2&&(a=N(),z(1),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},HPa=function(a){a&1&&(G(0,"div",8),I(1,"b-slo-status-summary",9),H());a&2&&(a=N(),z(1),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},IPa=function(a){a&1&&(J(0),R(1," No applicable SLO rules "),
L())},JPa=function(a){a&1&&(J(0),R(1," No SLO set on issue component "),L())},KPa=function(a){a&1&&(G(0,"div",10),Q(1,IPa,2,0,"ng-container",7),Q(2,JPa,2,0,"ng-container",7),H());a&2&&(a=N(),z(1),F("ngIf",a.editSloLink),z(1),F("ngIf",!a.editSloLink))},LPa=function(a){if(a&1){var b=v();G(0,"a",12);M("click",function(){w(b);var c=N(2);return y(c.trackOpenSlo())});R(1);H()}a&2&&(a=N(2),F("href",a.editSloLink,Id),z(1),zf(" ",a.sloName," "))},MPa=function(a){a&1&&(G(0,"span"),R(1," (private) "),H())},
NPa=function(a){a&1&&(G(0,"span"),R(1," SLO definition: "),Q(2,LPa,2,2,"a",11),Q(3,MPa,2,0,"span",7),H());a&2&&(a=N(),z(2),F("ngIf",a.sloName),z(1),F("ngIf",!a.sloName))},OPa=function(a,b){if(a&1){var c=v();G(0,"div",5)(1,"mat-checkbox",6);M("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();R(2);H()}a&2&&(a=b.$implicit,b=N(),z(1),F("checked",b.currentColumns.includes(a.key)),z(1),zf(" ",
a.value," "))},PPa=function(a){a&1&&(G(0,"div",15),I(1,"img",16),R(2,"\u00a0 "),G(3,"a",17),R(4),H()());if(a&2){a=N().$implicit;var b=N(2);z(3);F("href",b.makeCritiqueUrl(a.clIds),Id);z(1);zf("",a.clIds.length," CLs")}},QPa=function(a,b){a&1&&I(0,"b-user-image",18);a&2&&F("email",b.$implicit)},RPa=function(a,b){if(a&1){var c=v();G(0,"div",11);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.log(d))});G(1,"div",12);Q(2,PPa,5,2,"div",13);H();Q(3,QPa,1,1,"b-user-image",14);H()}a&2&&(a=b.$implicit,
z(2),F("ngIf",0<a.clIds.length),z(1),F("ngForOf",a.contributors))},SPa=function(a){a&1&&(J(0),I(1,"b-issue-priority-display",20),L());a&2&&(a=N().$implicit,z(1),F("issuePriority",a))},TPa=function(a,b){a&1&&(J(0),Q(1,SPa,2,1,"ng-container",10),L());a&2&&(a=b.$implicit,z(1),F("ngIf","P0"===a||"P1"===a))},UPa=function(a){a&1&&(J(0),G(1,"div"),R(2),G(3,"a",21),R(4,"View as project"),H()(),L());a&2&&(a=N(2).$implicit,z(2),Bf(" \ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66 ",a.childIssueCount," ",1===
a.childIssueCount?"child":"children",". "))},VPa=function(a){a&1&&(G(0,"div",15),I(1,"img",16),R(2,"\u00a0 "),G(3,"a",17),R(4),H()());if(a&2){a=N().$implicit;var b=N(2);z(3);F("href",b.makeCritiqueUrl(a.clIds),Id);z(1);zf("",a.clIds.length," CLs")}},WPa=function(a,b){if(a&1){var c=v();G(0,"div",19);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.log(d))});Q(1,TPa,2,1,"ng-container",10);Q(2,UPa,5,2,"ng-container",10);Q(3,VPa,5,2,"div",13);H()}a&2&&(a=b.$implicit,b=N().$implicit,z(1),F("ngIf",
b.snapshot[0].priority),z(1),F("ngIf",0<b.childIssueCount),z(1),F("ngIf",0<a.clIds.length))},XPa=function(a,b){if(a&1){var c=v();J(0);G(1,"p",22);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.log(d))});R(2," Description: ");H();G(3,"p");R(4);S(5,"slice");H();L()}a&2&&(a=b.$implicit,z(4),zf(" ",Jf(5,1,null==a.firstEvent?null:a.firstEvent.unlinkifiedComment,0,300)," "))},YPa=function(a,b){if(a&1){var c=v();G(0,"div",1);M("click",function(){var d=w(c).$implicit,e=N();return y(e.log(d))});
G(1,"div",2)(2,"div")(3,"span",3)(4,"a",4);R(5);H();G(6,"i",5);M("click",function(){var d=w(c).$implicit,e=N();return y(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});H()();G(7,"span",6);R(8);H()();Q(9,RPa,4,2,"div",7);S(10,"async");H();Q(11,WPa,4,3,"div",8);S(12,"async");G(13,"div",9);Q(14,XPa,6,5,"ng-container",10);S(15,"async");H();I(16,"div",2);H()}a&2&&(a=b.$implicit,b=N(),mf("collapsed",b.prefs.collapsed["project-"+a.issueId]),z(4),vf("href","/issues/",a.issueId,"/dependencies",Id),z(1),
zf(" ",a.snapshot[0].title," "),z(3),zf(" ",a.issueId," "),z(1),F("ngIf",T(10,8,b.projectData$)),z(2),F("ngIf",T(12,10,b.projectData$)),z(3),F("ngIf",T(15,12,b.issueFr$)))},$Pa=function(a){a=ZPa(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},bQa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+aQa+"&description="+
a},dQa=function(a){if(a&1){var b=v();G(0,"mat-slide-toggle",23);M("ngModelChange",function(c){w(b);var d=N();return y(d.isAssignedToMeOnly=c)})("change",function(c){w(b);var d=N();return y(cQa(d,c.checked))});R(1," Assigned only ");H()}a&2&&(a=N(),F("ngModel",a.isAssignedToMeOnly))},eQa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",24),L());a&2&&(a=b.ngIf,b=N(),z(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},fQa=function(a){a&1&&I(0,"b-spinner")},
gQa=function(a){return oya(a.getSearch())},hQa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,"a",31),R(4),H()());if(a&2){a=N().ngIf;var b=N(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Id);z(1);zf("",a.clIds.length+a.pendingChangeLists.length," CLs")}},iQa=function(a,b){a&1&&I(0,"b-user-image",32);a&2&&F("email",b.$implicit)},jQa=function(a,b){a&1&&(G(0,"div",23)(1,"div",24),Q(2,hQa,5,2,"div",25),H(),Q(3,iQa,1,1,"b-user-image",26),S(4,"slice"),G(5,"button",27),
I(6,"mat-icon",28),H()());if(a&2){a=b.ngIf;N(2);var c=yf(17);z(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);z(1);F("ngForOf",Jf(4,3,a.contributors,0,10));z(2);F("matMenuTriggerFor",c)}},kQa=function(a){a&1&&(J(0),Q(1,jQa,7,7,"div",22),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.savedSearchAggregatedData$)))},mQa=function(a){a&1&&(G(0,"a",31),R(1),H());if(a&2){a=N(2).$implicit;var b=N(3);F("href",b.makeCritiqueUrl(Ef(2,lQa),a.pendingChangeLists),Id);z(1);zf("(",a.pendingChangeLists.length,
" pending)")}},nQa=function(a){a&1&&(G(0,"div",29),I(1,"img",30),R(2,"\u00a0 "),G(3,"a",31),R(4),H(),R(5," \u00a0 "),Q(6,mQa,2,3,"a",35),H());if(a&2){a=N().$implicit;var b=N(3);z(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Id);z(1);zf("",a.clIds.length+a.pendingChangeLists.length," CLs");z(2);F("ngIf",0<a.pendingChangeLists.length)}},oQa=function(a,b){a&1&&(G(0,"div",34),Q(1,nQa,7,3,"div",25),H());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},
pQa=function(a){a&1&&(J(0),Q(1,oQa,2,1,"div",33),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.savedSearchAggregatedData$)))},qQa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",39),L());a&2&&(a=b.ngIf,b=N(3),z(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},rQa=function(a){a&1&&(G(0,"div",36),Q(1,qQa,2,3,"ng-container",11),S(2,"slice"),S(3,"async"),G(4,"div",37)(5,"a",38),R(6,"View all issues"),H()()());if(a&2){a=N().ngIf;var b=N();z(1);F("ngIf",
Jf(2,2,T(3,6,b.savedSearchIssueIds$),0,10));z(4);vf("href","/savedsearches/",a.searchId,"",Id)}},sQa=function(a){a&1&&(J(0),I(1,"activity-stream",42),S(2,"async"),L());a&2&&(a=N(3),z(1),F("activityEvents",T(2,1,a.savedSearchActivityEvents$)))},tQa=function(a){a&1&&I(0,"b-spinner")},uQa=function(a){a&1&&(G(0,"footer"),I(1,"hr"),Q(2,sQa,3,3,"ng-container",40),S(3,"async"),Q(4,tQa,1,0,"ng-template",null,41,Vf),H());if(a&2){var b=yf(5);a=N(2);z(2);F("ngIf",T(3,2,a.savedSearchActivityEvents$))("ngIfElse",
b)}},vQa=function(a,b){if(a&1){var c=v();G(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);M("click",function(){var d=w(c).ngIf,e=N();return y(pn(e.hackyPrefs,"savedsearch-"+d.searchId))});R(5,"Add");H()()();G(6,"div",6)(7,"span",7)(8,"a",8);R(9);H();G(10,"button",9);M("click",function(){var d=w(c).ngIf,e=N();return y(e.hackyPrefs.toggleCollapsed("savedsearch-"+d.searchId))});I(11,"mat-icon",10);H()()();Q(12,kQa,3,3,"ng-container",11);H();Q(13,pQa,3,3,"ng-container",11);Q(14,rQa,7,
8,"div",12);Q(15,uQa,6,4,"footer",11);G(16,"mat-menu",null,13)(18,"button",14);M("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.searchId,-1))});I(19,"mat-icon",15);G(20,"span",16);R(21,"Move up");H()();G(22,"button",14);M("click",function(){var d=w(c).ngIf,e=N();return y(e.reorder(d.searchId,1))});I(23,"mat-icon",17);G(24,"span",16);R(25,"Move down");H()();I(26,"mat-divider");G(27,"button",18);M("click",function(){var d=w(c).ngIf,e=N();Ho(e.hackyPrefs,El(d.searchId));return y()});I(28,
"mat-icon",19);G(29,"span",16);R(30,"Remove from My Projects");H()();G(31,"a",20);I(32,"mat-icon",21);G(33,"span",16);R(34,"View Saved Search");H()()()()}a&2&&(a=b.ngIf,b=N(),mf("never-collapse-mode",b.neverCollapse)("collapsed",b.isCollapsed(a)),z(8),vf("href","/savedsearches/",a.searchId,"",Id),z(1),zf(" ",a.name," "),z(3),F("ngIf",!b.addMode),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(1),F("ngIf",!b.isCollapsed(a)),z(3),F("disabled",!b.canMove(a.searchId,-1)),z(4),F("disabled",
!b.canMove(a.searchId,1)),z(9),vf("href","/savedsearches/",a.searchId,"",Id))},wQa=function(a){a&1&&I(0,"mat-pseudo-checkbox",5);a&2&&(a=N(),F("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},xQa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},Ko=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Jo(a,b)},Jo=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=gwa(a,b));c&&(a=a+"#"+c);return a},yQa=function(a){if(a&1){var b=
v();G(0,"button",7);M("click",function(){w(b);var c=N(2);return y(c.removeHotlist.emit())});I(1,"mat-icon",8);H()}a&2&&(a=N(2),mf("invisible",a.disabled),bf("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},zQa=function(a){a&1&&(J(0),G(1,"span",1)(2,"span",2)(3,"a",3),R(4),H()(),Q(5,yQa,2,4,"button",4),H(),G(6,"onedev-hovercard",null,5),I(8,"b-hotlist-card",6),H(),L());if(a&2){var b=yf(7);a=N();z(1);lf("padding-right",a.removable?0:"10px");mf("muted",a.disabled);F("onedevHovercardTrigger",
b)("onedevHovercardActive",a.showHovercard);z(2);F("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),Id);bf("aria-label",a.getAriaLabel(a.hotlist));z(1);Af(a.hotlist.name);z(1);F("ngIf",a.removable);z(3);F("hotlist",a.hotlist)}},AQa=function(a){a&1&&I(0,"mat-icon",3)},BQa=function(a){a&1&&I(0,"b-spinner")},CQa=function(a){if(a&1){var b=v();G(0,"b-star-toggle",9);M("starClicked",function(){w(b);var c=N(2);return y(c.starClicked.emit())});S(1,"async");S(2,"async");H()}a&2&&(a=N(2),F("starMessage",
"Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!T(1,4,An(a.isSavingStar,a.hotlist.hotlistId)))("starred",T(2,6,An(a.starredHotlists,a.hotlist.hotlistId))))},DQa=function(a){a&1&&(G(0,"p",10),R(1),H());a&2&&(a=N(2),z(1),zf(" ",a.hotlist.description," "))},EQa=function(a){a&1&&(G(0,"div",1)(1,"div",2)(2,"label",3),R(3),H(),G(4,"span",4),Q(5,CQa,3,8,"b-star-toggle",5),G(6,"a",6),M("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),
I(7,"mat-icon",7),H()()(),Q(8,DQa,2,1,"p",8),H());a&2&&(a=N(),z(3),zf(" ",a.hotlist.name," "),z(2),F("ngIf",a.shouldShowStar(a.hotlist)),z(1),F("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),z(2),F("ngIf",!a.isCompact&&a.hotlist.description))},FQa=function(a){a&1&&rf(0)},GQa=function(a){a&1&&(J(0),Q(1,FQa,1,0,"ng-container",6),L());if(a&2){N();var b=yf(12);z(1);F("ngTemplateOutlet",b)}},HQa=function(a){a&1&&rf(0)},IQa=function(a){a&1&&(J(0),Q(1,HQa,1,0,"ng-container",6),L());if(a&2){N();var b=
yf(6);z(1);F("ngTemplateOutlet",b)}},LQa=function(a){if(a&1){var b=v();G(0,"button",7);M("click",function(){w(b);var c=N();return y(JQa(c))});R(1," Create ");H()}a&2&&(a=N(),F("disabled",!(0<KQa(a).length)))},MQa=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=N();return y(No(c))});R(1);H()}a&2&&(a=N(),F("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),bf("aria-label",a.saveBtnTooltip),z(1),zf(" ",a.saveBtnLabel," "))},OQa=function(a){if(a&
1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=N(2),d=Ph(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),No(c)):NQa(c,d);return y()});R(1);S(2,"async");G(3,"span",20);R(4,"(add hotlist by ID)");H()()}a&2&&(a=N(2),z(1),zf(" ",T(2,1,a.query$)," "))},PQa=function(a){if(a&1){var b=v();G(0,"button",21);M("click",function(){w(b);N(2).showCreateNewPane=!0;return y()});R(1);S(2,"async");G(3,"span",20);R(4,"(create new)");H()()}a&2&&(a=N(2),z(1),zf(" ",T(2,1,a.query$)," "))},
QQa=function(a,b){if(a&1){var c=v();J(0);G(1,"div",25,26);S(3,"async");G(4,"mat-list-option",27);M("focus",function(){w(c);var g=yf(2);return y(g.show())})("blur",function(){w(c);var g=yf(2);return y(g.hide())});S(5,"async");G(6,"hotlist-matlist-option",28);M("starClicked",function(){var g=w(c).$implicit,h=N(3);return y(h.toggleStar(g.hotlistId))});H()()();L()}if(a&2){a=b.$implicit;b=N(3);var d,e;z(1);F("matTooltip",!1===(null==(d=T(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");z(3);
lf("height","auto");F("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=T(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);z(2);F("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},RQa=function(a){if(a&1){var b=v();J(0);G(1,"div",29)(2,"span",20);R(3," The number of hotlists is too large to show at once. ");H();G(4,"button",30);M("click",function(){w(b);var c=N(3);return y(c.forceShowOverflow$.next(!0))});R(5," Show all anyway ");
H()();L()}},SQa=function(a,b){if(a&1){var c=v();J(0);G(1,"mat-selection-list",22,23);M("selectionChange",function(d){w(c);var e=N(2);return y(e.onChangeMatList(d))});Q(3,QQa,7,14,"ng-container",24);H();Q(4,RQa,6,0,"ng-container",18);S(5,"async");L()}a&2&&(a=b.$implicit,b=N(2),z(3),F("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),z(1),F("ngIf",T(5,3,b.isOverflowMode$)))},TQa=function(a){if(a&1){var b=v();G(0,"header",9)(1,"h2");R(2,"Search for Hotlists");H();G(3,"div",10);I(4,"mat-icon",11);G(5,"input",
12,13);M("input",function(){w(b);var c=yf(6);N().query$.next(c.value);return y()});H()()();G(7,"section",14,15);Q(9,OQa,5,3,"button",16);S(10,"async");Q(11,PQa,5,3,"button",17);S(12,"async");Q(13,SQa,6,5,"ng-container",18);S(14,"async");H()}a&2&&(a=N(),z(9),F("ngIf",T(10,3,a.showLoadById$)),z(2),F("ngIf",T(12,5,a.showCreateNew$)),z(2),F("ngIf",T(14,7,a.visibleHotlists$)))},UQa=function(a){a&1&&(G(0,"header",9)(1,"h2"),R(2,"Create new hotlist"),H()(),G(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",
34),R(7,"Name"),H(),I(8,"input",35),G(9,"label",36),R(10,"Description"),H(),I(11,"textarea",37),G(12,"p",20),R(13," Note: Access controls can be adjusted after the hotlist is created. "),H()()()());a&2&&(a=N(),z(5),F("formGroup",a.hotlistUnderEdit))},VQa=function(a,b){return a.name.localeCompare(b.name)},WQa=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)},XQa=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)"]},YQa=function(a,b){a&1&&(G(0,"span",11),R(1," of "),G(2,"a",12),R(3),H()());if(a&2){a=b.$implicit;N(2);var c=yf(12);z(2);vf("routerLink","/issues/",a,"");F("onedevHovercardTrigger",c);z(1);zf(" ",a," ")}},ZQa=function(a,
b){a&1&&(G(0,"div")(1,"div",9),S(2,"async"),R(3),H(),Q(4,YQa,4,3,"span",10),S(5,"async"),H());a&2&&(a=b.$implicit,b=N(),z(1),pf("chippy ",T(2,6,b.statusCssClass$),""),F("title",b.STATUS_JS_FULL_TEXT[a]),z(2),zf(" ",b.STATUS_JS_TERSE[a]," "),z(1),F("ngIf",T(5,8,b.canonicalId$)))},$Qa=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.$implicit,b=N(),pf("b-chip squared issue-type-",a,""),z(1),zf(" ",b.ISSUE_TYPE_TEXT[a]," "))},bRa=function(a,b){if(a&1){var c=v();G(0,"b-hotlist-chip-smart",17);M("removeHotlist",
function(){var d=w(c).$implicit,e=N(2);return y(aRa(e,d))});H()}a&2&&F("id",b.$implicit)},dRa=function(a,b){if(a&1){var c=v();G(0,"div",13)(1,"button",14);M("onHotkey",function(){w(c);var d=N();return y(cRa(d))})("click",function(){w(c);var d=N();return y(cRa(d))});I(2,"mat-icon",15);R(3);S(4,"async");H();Q(5,bRa,1,1,"b-hotlist-chip-smart",16);H()}a&2&&(a=b.$implicit,b=N(),z(1),F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),z(2),zf(" ",T(4,3,b.textOfHotlistBtn$)," "),z(2),F("ngForOf",a))},eRa=function(a){a&
1&&(G(0,"div",18),I(1,"smart-full-history-btn"),H())},fRa=function(a){a&1&&(I(0,"b-issue-card",19,20),S(2,"async"));if(a&2){var b=yf(1);a=N();F("onedevIsHovercardReady",b.init)("issueId",T(2,2,a.canonicalId$))}},gRa=function(a){return null==a?void 0:a.snapshot[0].hotlistId},hRa=function(a){a&1&&(G(0,"h3",3,4),R(2),H());a&2&&(a=N(),bf("title",a.isLongTitle?a.titlePlain:""),z(2),zf(" ",a.titleTruncated,"\n"))},kRa=function(a){if(a&1){var b=v();G(0,"mat-form-field",5)(1,"input",6,7);M("keyup",function(c){w(b);
var d=N();return y(iRa(d,c))})("blur",function(){w(b);var c=N();return y(iRa(c,null))});H()()}a&2&&(a=N(),F("ngStyle",Ff(2,jRa,a.editModeWidth)),z(1),F("value",a.titlePlain))},mRa=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=N();return y(lRa(c))});I(1,"mat-icon",9);H()}a&2&&(a=N(),F("disabled",a.disabled))},oRa=function(a,b){if(a&1){var c=v();G(0,"button",1);M("click",function(){w(c);var d=N();return y(nRa(d))});S(1,"async");R(2);H()}a&2&&(a=b.ngIf,b=N(),F("disabled",
b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===T(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),z(2),zf(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},pRa=function(a){a&1&&(G(0,"p",11),R(1),H());a&2&&(a=N(),z(1),zf(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},qRa=function(a){a&1&&(G(0,"div",12),I(1,"b-live-preview",13),H());a&2&&(a=N(),z(1),F("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",
a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},rRa=function(a,b){a&1&&(G(0,"li",6)(1,"div",7),I(2,"b-user-image",8),H(),G(3,"div",9),I(4,"b-user-display",10)(5,"b-formatted-date-time",11),G(6,"p",12),R(7," Formatting: "),G(8,"code",13),R(9),H()(),I(10,"br"),G(11,"span",14)(12,"b-person-hovercard",15),S(13,"omitObfuscatedEmail"),R(14),S(15,"appendDomain"),H()(),R(16),H(),G(17,"pre"),R(18),H()());a&2&&(a=b.$implicit,b=b.index+1,z(2),F("email",null==a.author?null:a.author.emailAddress),
z(2),F("model",a.author),z(1),F("timestamp",a.updateTime),z(4),zf(" ",a.formattingMode," "),z(3),F("email",T(13,8,null==a.author?null:a.author.emailAddress)),z(2),zf(" <",T(15,10,null==a.author?null:a.author.emailAddress),"> "),z(2),zf(" #",b," "),z(2),Af(a.updateText))},tRa=function(a){if(a&1){var b=v();J(0);G(1,"header",3)(2,"h4",4);R(3,"Status Update");H();G(4,"p",5);R(5,"No update yet.");H();G(6,"button",6);M("click",function(){w(b);var c=N(2);return y(sRa(c))});R(7," Edit ");H()();L()}},vRa=
function(a){if(a&1){var b=v();G(0,"button",15);M("click",function(){w(b);var c=N(4);return y(uRa(c))});R(1," Mark as fresh ");H()}},wRa=function(a){a&1&&(J(0),Q(1,vRa,2,0,"button",14),S(2,"async"),L());a&2&&(a=N(3),z(1),F("ngIf",T(2,1,a.freshnessIndicator$)===a.Freshness.STALE))},xRa=function(a){a&1&&I(0,"mat-icon",21)},yRa=function(a,b){a&1&&(J(0),Q(1,xRa,1,0,"mat-icon",16),S(2,"async"),R(3," Updated by "),G(4,"span",17),R(5),S(6,"shortenEmail"),H(),I(7,"b-formatted-date-time",18),G(8,"onedev-hovercard",
null,19),I(10,"b-issue-person-card",20),H(),L());if(a&2){a=b.ngIf;var c=yf(9);b=N(3);var d,e;z(1);F("ngIf",T(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);z(3);F("onedevHovercardTrigger",c);z(1);zf(" ",T(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");z(2);F("timestamp",a.updateTime);z(3);F("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},zRa=function(a,b){a&1&&I(0,"b-actions-menu",22);a&2&&(a=b.ngIf,F("buttonLabel","Status Update actions")("menuItems",
a))},ARa=function(a,b){a&1&&(I(0,"b-note-container",27),S(1,"async"),S(2,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N(3),d;F("issueId",b.issueId)("issueAccessLevel",T(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=T(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},BRa=function(a){if(a&1){var b=v();G(0,"button",28);M("click",function(){w(b);var c=N(4);return y(c.isCollapsed=!1)});R(1," Show More ");H()}},CRa=function(a){a&1&&(J(0),G(1,"div",23)(2,"div",null,24),Q(4,ARa,3,
8,"b-note-container",25),S(5,"async"),H(),Q(6,BRa,2,0,"button",26),H(),L());a&2&&(a=N(3),z(2),mf("collapsed",a.isCollapsed),z(2),F("ngIf",T(5,4,a.statusUpdateAsNote$)),z(2),F("ngIf",a.isCollapsed))},DRa=function(a){if(a&1){var b=v();J(0);G(1,"div",7)(2,"header",8)(3,"div",9)(4,"h4",10);R(5,"Status Update");H();G(6,"button",11);M("click",function(){w(b);var c=N(2);return y(sRa(c))});R(7," Edit ");H();Q(8,wRa,3,3,"ng-container",2);S(9,"async");H();G(10,"div",12);Q(11,yRa,11,9,"ng-container",2);S(12,
"async");Q(13,zRa,1,2,"b-actions-menu",13);S(14,"async");H()();Q(15,CRa,7,6,"ng-container",2);S(16,"async");H();L()}a&2&&(a=N(2),z(8),F("ngIf",T(9,4,a.currentUserIsAuthoritative$)),z(3),F("ngIf",T(12,6,a.statusUpdate$)),z(2),F("ngIf",T(14,8,a.menuItems$)),z(2),F("ngIf",T(16,10,a.statusUpdate$)))},FRa=function(a,b){a&1&&(G(0,"div"),S(1,"async"),I(2,"mat-icon",1),Q(3,tRa,8,0,"ng-container",2),Q(4,DRa,17,12,"ng-container",2),H());a&2&&(a=b.ngIf,b=N(),pf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",
T(1,9,b.semanticClass$),""),mf("display-none",Gf(11,ERa,b.UiState.LOADING,b.UiState.HIDDEN).includes(a))("short-height",b.UiState.SHOW_EMPTY===a),z(3),F("ngIf",a===b.UiState.SHOW_EMPTY),z(1),F("ngIf",a===b.UiState.NORMAL))},GRa=function(a){switch(a){case 1:return"noUpdate";case 2:return"noUpdateTeamMember";case 3:return"hasUpdate";case 0:return"";default:return""}},HRa=function(a){a&1&&(G(0,"p",10),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a.description))},IRa=function(a,b){a&1&&(J(0),G(1,"mat-list-option",
6)(2,"div",7)(3,"label",8),R(4),H()(),Q(5,HRa,2,1,"p",9),H(),L());a&2&&(a=b.$implicit,b=N(),z(1),lf("height","auto"),F("selected",b.selectedSavedSearches.has(a.searchId))("value",a.searchId),z(3),Af(a.name),z(1),F("ngIf",a.description))},JRa=function(a){if(a&1){var b=v();G(0,"div",19)(1,"button",20);M("click",function(){w(b);var c=N(2);return y(c.headerOnly=!1)});R(2," Show affected files ");I(3,"mat-icon",21);H()()}},KRa=function(a,b){a&1&&(G(0,"div",27)(1,"div",28),R(2," \u00b7 "),G(3,"a",9),R(4),
H()()());a&2&&(a=b.$implicit,b=N(3),z(3),xf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",a.replace("//","/").split("#")[0],"",Id),z(1),zf(" ",a.replace("//depot/google3/","").split("#")[0]," "))},LRa=function(a){if(a&1){var b=v();G(0,"div",22)(1,"p",23);R(2," Affected files ");G(3,"button",24);M("click",function(){w(b);var c=N(2);return y(c.headerOnly=!0)});I(4,"mat-icon",25);H()();Q(5,KRa,5,3,"div",26);H()}a&2&&(a=N().ngIf,z(5),F("ngForOf",
a.affectedFiles))},MRa=function(a){a&1&&(G(0,"div",29)(1,"div",30),I(2,"mat-icon",31),G(3,"a",32),R(4," Open in Critique "),H()()());a&2&&(a=N(2),z(3),vf("href","https://critique.corp.google.com/cl/",null==a.changelistWithId?null:a.changelistWithId.id,"",Id))},NRa=function(a,b){a&1&&(G(0,"div",1)(1,"div",2)(2,"div",3),I(3,"img",4),H(),G(4,"div",5)(5,"div",6)(6,"a",7),R(7),H()(),G(8,"div",8)(9,"a",9),R(10),H(),R(11," \u00b7 "),G(12,"span"),R(13),H(),R(14," \u00b7 "),G(15,"span"),R(16,"Authored by "),
I(17,"b-user-display",10),H(),R(18," \u00b7 "),G(19,"span"),R(20),H()()(),G(21,"div",11)(22,"button",12),I(23,"mat-icon",13),H(),G(24,"mat-menu",null,14)(26,"button",15),R(27," Hide this notification "),H()()()(),Q(28,JRa,4,0,"div",16),Q(29,LRa,6,1,"div",17),Q(30,MRa,5,1,"div",18),H());if(a&2){a=b.ngIf;var c=yf(25);b=N();z(5);F("title",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,""));z(1);vf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,
"",Id);z(1);zf(" ",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,"")," ");z(2);vf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",Id);z(1);zf("cl/",null==b.changelistWithId?null:b.changelistWithId.id,"");z(3);Af(a.pending?"Pending":"Submitted");z(4);F("model",b.emailToUser(a.author));z(3);Bf("",a.affectedFiles.length," file",1===a.affectedFiles.length?"":"s"," affected");z(2);F("matMenuTriggerFor",c);z(6);F("ngIf",b.headerOnly);z(1);F("ngIf",
!b.headerOnly);z(1);F("ngIf",!b.headerOnly)}},ORa=function(a){a&1&&(J(0),R(1),I(2,"b-user-display",21),L());if(a&2){a=N().$implicit;var b=N().ngIf,c=N();z(1);zf(" \u00b7 ",c.STATUS_TERSE[a]," to ");z(1);F("model",b.snapshot[0].assigneeUser)}},PRa=function(a){a&1&&(J(0),R(1),I(2,"b-user-display",21),L());if(a&2){a=N().$implicit;var b=N().ngIf,c=N();z(1);zf(" \u00b7 ",c.STATUS_TERSE[a]," \u00b7 ");z(1);F("model",b.snapshot[0].assigneeUser)}},QRa=function(a){a&1&&(J(0),R(1),L());if(a&2){a=N().$implicit;
var b=N(2);z(1);zf(" \u00b7 ",b.STATUS_TERSE[a]," ")}},RRa=function(a){a&1&&(J(0,18),Q(1,ORa,3,2,"ng-container",19),Q(2,PRa,3,2,"ng-container",19),Q(3,QRa,2,1,"ng-container",20),L());if(a&2){a=N().ngIf;var b=N();F("ngSwitch",a.snapshot[0].status);z(1);F("ngSwitchCase",b.IssueStatus.ASSIGNED);z(1);F("ngSwitchCase",b.IssueStatus.ACCEPTED)}},SRa=function(a){if(a&1){var b=v();G(0,"div",25)(1,"button",26);M("click",function(){w(b);var c=N(3);return y(c.headerOnly=!1)});R(2," Show recent updates ");I(3,
"mat-icon",27);H()()}},TRa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),zf("(",a.count,")"))},URa=function(a,b){if(a&1){var c=v();J(0);G(1,"span");R(2," \u00b7 ");G(3,"span",40);M("click",function(){w(c);N(7);console.log("likeComment() is unimplemented");return y()});R(4);H()();Q(5,TRa,2,1,"span",1);L()}a&2&&(a=b.$implicit,z(4),Af(a.hasReacted?"Unlike":"Like"),z(1),F("ngIf",0<a.count))},VRa=function(a){a&1&&(J(0),Q(1,URa,6,2,"ng-container",1),L());if(a&2){a=N(2).$implicit;var b=
N(4);z(1);F("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.get(b.ReactionType.UPVOTE))}},WRa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",37)(5,"a",8),R(6),H()(),G(7,"p",38),I(8,"b-user-display",21),R(9," commented \u00b7"),I(10,"b-formatted-date-time",39),Q(11,VRa,2,1,"ng-container",1),H()(),L());if(a&2){a=N().$implicit;var b=N(3).ngIf,c=N();z(2);F("email",c.getUserEmailIfAvailable(a.event));z(2);F("title",a.event.unlinkifiedComment);z(1);
xf("href","/issues/",b.issueId,"#comment",a.event.commentNumber,"",Id);z(1);zf(" ",a.event.unlinkifiedComment," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate);z(1);F("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.has(c.ReactionType.UPVOTE))}},XRa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5," Issue created "),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," created issue \u00b7"),I(9,"b-formatted-date-time",
39),H()(),L());if(a&2){a=N().$implicit;var b=N(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(5);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},YRa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," submitted "),I(9,"b-changelist-link",42),R(10," \u00b7"),I(11,"b-formatted-date-time",39),H()(),L());if(a&2){a=N().$implicit;var b=N(4);z(2);F("email",b.clAuthorToEmailAddress(a.event));
z(3);zf(" ",b.clEventToClDescription(a.event)," ");z(2);F("model",b.clAuthorToUser(a.event));z(2);F("changelistId",b.getClNumber(a.event));z(2);F("timestamp",a.event.modifiedDate)}},ZRa=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," submitted "),I(9,"b-changelist-link",42),R(10,", fixing "),G(11,"a",8),R(12),H(),R(13," \u00b7"),I(14,"b-formatted-date-time",39),H()(),L());if(a&2){a=N().$implicit;var b=N(3).ngIf,
c=N();z(2);F("email",c.clAuthorToEmailAddress(a.event));z(3);zf(" ",c.clEventToClDescription(a.event)," ");z(2);F("model",c.clAuthorToUser(a.event));z(2);F("changelistId",c.getClNumber(a.event));z(2);vf("href","/issues/",b.issueId,"",Id);z(1);zf("b/",b.issueId,"");z(2);F("timestamp",a.event.modifiedDate)}},$Ra=function(a){a&1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5," Priority changed from "),I(6,"b-issue-priority-display",10),R(7," to "),I(8,"b-issue-priority-display",
10),H(),G(9,"p",38),I(10,"b-user-display",21),R(11," updated issue \u00b7"),I(12,"b-formatted-date-time",39),H()(),L());if(a&2){a=N().$implicit;var b=N(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(4);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")));z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},aSa=function(a){a&1&&(J(0),G(1,"div",
34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," updated issue \u00b7"),I(9,"b-formatted-date-time",39),H()(),L());if(a&2){a=N().$implicit;var b=N(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(3);Bf(" Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status")," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},bSa=function(a){a&1&&(J(0),G(1,
"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," updated issue \u00b7"),I(9,"b-formatted-date-time",39),H()(),L());if(a&2){a=N().$implicit;var b=N(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(3);Bf(" Assignee changed from ",b.getPreviousDiffValue(a.event,"assignee")," to ",b.getNewDiffValue(a.event,"assignee")," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},cSa=function(a){a&
1&&(J(0),G(1,"div",34),I(2,"b-user-image",35),H(),G(3,"div",36)(4,"p",41),R(5),H(),G(6,"p",38),I(7,"b-user-display",21),R(8," modified status update \u00b7"),I(9,"b-formatted-date-time",39),H()(),L());if(a&2){a=N().$implicit;var b=N(4);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(3);zf(" ",null==a.event.statusUpdate?null:a.event.statusUpdate.updateText," ");z(2);F("model",a.event.userPerformingActionUser);z(2);F("timestamp",a.event.modifiedDate)}},dSa=function(a){a&1&&(J(0),R(1," Default case "),
L())},eSa=function(a,b){a&1&&(G(0,"div",33),J(1,18),Q(2,WRa,12,8,"ng-container",19),Q(3,XRa,10,3,"ng-container",19),Q(4,YRa,12,5,"ng-container",19),Q(5,ZRa,15,7,"ng-container",19),Q(6,$Ra,13,5,"ng-container",19),Q(7,aSa,10,5,"ng-container",19),Q(8,bSa,10,5,"ng-container",19),Q(9,cSa,10,4,"ng-container",19),Q(10,dSa,2,0,"ng-container",20),L(),H());a&2&&(a=b.$implicit,z(1),F("ngSwitch",a.eventType),z(1),F("ngSwitchCase","comment"),z(1),F("ngSwitchCase","newIssue"),z(1),F("ngSwitchCase","changelist"),
z(1),F("ngSwitchCase","changelistFixed"),z(1),F("ngSwitchCase","priority"),z(1),F("ngSwitchCase","status"),z(1),F("ngSwitchCase","assignee"),z(1),F("ngSwitchCase","statusUpdate"))},fSa=function(a){if(a&1){var b=v();G(0,"div",28)(1,"p",29);R(2," Recent updates ");G(3,"button",30);M("click",function(){w(b);var c=N(3);return y(c.headerOnly=!0)});I(4,"mat-icon",31);H()();Q(5,eSa,11,9,"div",32);H()}a&2&&(a=N().ngIf,z(5),F("ngForOf",a.slice(-3)))},gSa=function(a){if(a&1){var b=v();G(0,"div",46);I(1,"mat-icon",
47);G(2,"button",48);M("click",function(){w(b);var c=N(3).ngIf,d=N();return y(d.showCommentBox.set(c.issueId,!0))});R(3," Add a comment ");H()()}},hSa=function(a){if(a&1){var b=v();G(0,"div",49);I(1,"b-user-image",35);G(2,"mat-form-field");I(3,"textarea",50);H();G(4,"button",51);I(5,"mat-icon",52);H();G(6,"button",53);M("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();G(8,"button",55);I(9,"mat-icon",56);H()()}a&2&&(a=N(4),z(1),F("email",
a.currentUser.email),z(2),F("bFocus",!0))},iSa=function(a){a&1&&(G(0,"div",43),Q(1,gSa,4,0,"div",44),Q(2,hSa,10,2,"div",45),H());if(a&2){a=N(2).ngIf;var b=N();z(1);F("ngIf",!b.showCommentBox.get(a.issueId));z(1);F("ngIf",b.showCommentBox.get(a.issueId))}},jSa=function(a){a&1&&(J(0),Q(1,SRa,4,0,"div",22),Q(2,fSa,6,1,"div",23),Q(3,iSa,3,2,"div",24),L());a&2&&(a=N(2),z(1),F("ngIf",a.headerOnly),z(1),F("ngIf",!a.headerOnly),z(1),F("ngIf",!a.headerOnly))},kSa=function(a,b){a&1&&(J(0),G(1,"div",3)(2,"div",
4),I(3,"img",5),H(),G(4,"div",6)(5,"div",7)(6,"a",8),R(7),H()(),G(8,"div",9)(9,"a",8),R(10),H(),R(11," \u00b7 "),I(12,"b-issue-priority-display",10),Q(13,RRa,4,3,"ng-container",11),H()(),G(14,"div",12)(15,"button",13),I(16,"mat-icon",14),H(),G(17,"mat-menu",null,15)(19,"button",16),R(20," Hide this notification "),H()()()(),Q(21,jSa,4,3,"ng-container",17),S(22,"async"),L());if(a&2){a=b.ngIf;var c=yf(18);b=N();var d=yf(3);z(6);vf("href","/issues/",a.issueId,"",Id);z(1);zf(" ",a.snapshot[0].title," ");
z(2);vf("href","/issues/",a.issueId,"",Id);z(1);zf("b/",a.issueId,"");z(2);F("issuePriority",a.snapshot[0].priority);z(1);F("ngIf",b.convertIssueStatusStrToTag(a.snapshot[0].status));z(2);F("matMenuTriggerFor",c);z(6);F("ngIf",T(22,9,null==b.issueWithEvents?null:b.issueWithEvents.events))("ngIfElse",d)}},lSa=function(a){a&1&&I(0,"b-spinner")},mSa=function(a){a&1&&(J(0),I(1,"mat-icon",11),L())},nSa=function(a){if(a&1){var b=v();J(0);G(1,"button",12);M("mousedown",function(c){w(b);var d=N();return y(d.back(c))});
I(2,"mat-icon",13);H();L()}},oSa=function(a){if(a&1){var b=v();J(0);G(1,"button",14);M("mousedown",function(c){w(b);var d=N();return y(d.expand(d.componentOption,c))});I(2,"mat-icon",15);H();L()}a&2&&(a=N(),z(1),F("matTooltip","View child components of "+a.componentOption.name),bf("aria-label","View child components of "+a.componentOption.name),z(1),F("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},pSa=function(a){if(a&1){var b=v();J(0);G(1,"a",19);M("mousedown",function(d){w(b);
var e=N().$implicit;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});S(2,"boldPrefixMatches");S(3,"toString");H();L()}if(a&2){a=N().$implicit;var c=N(2);z(1);F("innerHtml",If(2,1,T(3,4,a.name),c.query),Hd)}},qSa=function(a){a&1&&R(0);a&2&&(a=N().$implicit,zf(" ",a.name," "))},rSa=function(a){a&1&&(J(0),R(1,"\u00a0>\u00a0"),L())},sSa=function(a,b){a&1&&(J(0),Q(1,pSa,4,6,"ng-container",6),Q(2,qSa,1,1,"ng-template",null,17,Vf),Q(4,rSa,2,0,"ng-container",18),L());
if(a&2){a=b.$implicit;b=b.last;var c=yf(3);z(1);F("ngIf",a.name!=a.id)("ngIfElse",c);z(3);F("ngIf",!b)}},tSa=function(a){a&1&&(J(0),Q(1,sSa,5,3,"ng-container",16),L());a&2&&(a=N(),z(1),F("ngForOf",a.componentOption.componentPath))},uSa=function(a,b){if(a&1){var c=v();J(0);G(1,"a",20);M("mousedown",function(d){var e=w(c).ngIf;N(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return y()});R(2);H();L()}a&2&&(a=b.ngIf,z(2),zf(" ",a.name," "))},vSa=function(a){a&1&&Q(0,uSa,3,1,"ng-container",
18);a&2&&(a=N(),F("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},wSa=function(a){a&1&&(G(0,"span",21),R(1," [Archived] "),H())},xSa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},ySa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},zSa=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}},ASa=function(a){return new Map([].concat(Pc(a.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.map(ySa)]}))},BSa=function(a){a&1&&I(0,"img",5);a&2&&(a=N(),bf("src",a.getLogoUrl(),Id))},CSa=function(a){a&
1&&(G(0,"span",9),R(1,"no components"),H())},DSa=function(a){a&1&&(G(0,"div",6),I(1,"div",7),S(2,"boldPrefixMatches"),Q(3,CSa,2,0,"span",8),H());a&2&&(a=N(),z(1),F("innerHtml",If(2,2,a.teamOption.name,a.query),Hd),z(2),F("ngIf",a.hasNoComponent))},ESa=function(a){if(a&1){var b=v();J(0);G(1,"a",15);M("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()});R(2);H();L()}a&
2&&(a=N(2).$implicit,z(2),Af(a))},FSa=function(a){a&1&&R(0);a&2&&(a=N(2).$implicit,Af(a))},GSa=function(a){a&1&&(J(0),Q(1,ESa,3,1,"ng-container",12),Q(2,FSa,1,1,"ng-template",null,14,Vf),J(4),R(5," \u00b7 "),L()());if(a&2){var b=yf(3);a=N(3);z(1);F("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},HSa=function(a){a&1&&(J(0),G(1,"strong",17),R(2),H(),L());a&2&&(a=N(2).$implicit,z(2),Af(a))},ISa=function(a){a&1&&R(0);a&2&&(a=N(2).$implicit,Af(a))},JSa=function(a){a&1&&(Q(0,HSa,3,1,"ng-container",12),
Q(1,ISa,1,1,"ng-template",null,16,Vf));if(a&2){var b=yf(2);a=N(3);F("ngIf",a.compact)("ngIfElse",b)}},KSa=function(a,b){a&1&&(J(0),Q(1,GSa,6,2,"ng-container",12),Q(2,JSa,3,2,"ng-template",null,13,Vf),L());if(a&2){a=b.last;var c=yf(3);z(1);F("ngIf",!a)("ngIfElse",c)}},LSa=function(a){a&1&&(G(0,"div",10),Q(1,KSa,4,2,"ng-container",11),H());a&2&&(a=N(),z(1),F("ngForOf",a.teamOption.pathNames))},MSa=function(){var a=wc(ah),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:
""}}},NSa=function(a){if(a&1){var b=v();G(0,"button",9);M("mousedown",function(c){w(b);N().clearQuery();return y(Oo(c))});I(1,"mat-icon",10);H()}},OSa=function(a){a&1&&(G(0,"div",13),R(1," Checking for admin access... "),H())},PSa=function(a){a&1&&(G(0,"div",15),R(1," You do not have admin access to this component. "),G(2,"a",16),R(3,"View component admins"),H()());a&2&&(a=N(3),z(2),F("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),Id))},QSa=function(a){a&1&&Q(0,PSa,4,1,"div",
14);a&2&&(a=N(2),F("ngIf",!a.hasAccess&&a.selectedComponent))},RSa=function(a){a&1&&(G(0,"div"),Q(1,OSa,2,0,"div",11),Q(2,QSa,1,1,"ng-template",null,12,Vf),H());if(a&2){var b=yf(3);a=N();z(1);F("ngIf",a.checkingAccess)("ngIfElse",b)}},SSa=function(a){a&1&&I(0,"mat-progress-bar",24)},TSa=function(a){a&1&&(J(0),R(1,"s"),L())},VSa=function(a,b){if(a&1){var c=v();J(0);G(1,"div",30);M("mousedown",function(e){var g=w(c).$implicit,h=N(5);USa(h.searchState,g);return y(Oo(e))});G(2,"team-row",31);M("selectTeamId",
function(e){w(c);var g=N(5);return y(Po(g.searchState,e))});H()();L()}if(a&2){a=b.$implicit;b=N(5);var d=yf(3);z(1);F("data",a);z(1);F("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},WSa=function(a){a&1&&(G(0,"div",27)(1,"div",28),R(2," Filter components by my teams "),G(3,"span"),R(4),Q(5,TSa,2,0,"ng-container",5),H()(),Q(6,VSa,3,4,"ng-container",29),I(7,"mat-divider"),H());a&2&&(a=N().ngIf,z(4),zf("",a.length," team"),z(1),F("ngIf",1<a.length),z(1),F("ngForOf",
a))},XSa=function(a,b){a&1&&(J(0),Q(1,WSa,8,3,"div",26),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},YSa=function(a){a&1&&rf(0)},$Sa=function(a){a&1&&(J(0),Q(1,XSa,2,1,"ng-container",5),S(2,"async"),Q(3,YSa,1,0,"ng-container",25),L());if(a&2){a=N(2);var b=yf(12);z(1);F("ngIf",T(2,3,a.searchState.myTeams$));z(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(5,ZSa,a.searchState.recentComponents))}},aTa=function(a){a&1&&(J(0),R(1,"s"),L())},bTa=function(a){a&1&&rf(0)},eTa=function(a,b){a&1&&
(J(0),Q(1,bTa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;N(5);var c=yf(10);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Gf(4,cTa,a,Ff(2,dTa,b)))}},fTa=function(a){if(a&1){var b=v();G(0,"button",33);M("mousedown",function(){w(b);var c=N(5);return y(c.searchState.showAllTeams$.next(!0))});I(1,"mat-icon",34);R(2," Show all teams ");H()}},gTa=function(a,b){a&1&&(G(0,"div",27)(1,"div",28),R(2," Filter components by teams "),G(3,"span"),R(4),Q(5,aTa,2,0,"ng-container",5),H()(),
Q(6,eTa,2,7,"ng-container",29),S(7,"async"),Q(8,fTa,3,0,"button",32),S(9,"async"),I(10,"mat-divider"),H());a&2&&(a=b.ngIf,b=N(4),z(4),zf("",a," team"),z(1),F("ngIf",1<a),z(1),F("ngForOf",T(7,4,b.searchState.filteredTeamOptions$)),z(2),F("ngIf",T(9,6,b.searchState.hasHiddenTeams$)))},hTa=function(a,b){a&1&&(J(0),Q(1,gTa,11,8,"div",26),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},iTa=function(a){a&1&&rf(0)},lTa=function(a){a&1&&(J(0),Q(1,hTa,2,1,"ng-container",5),S(2,"async"),Q(3,iTa,1,0,"ng-container",
25),L());if(a&2){a=N(2);var b=yf(12);z(1);F("ngIf",T(2,3,a.searchState.teamOptions$));z(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(5,kTa,a.searchState.componentOptions))}},mTa=function(a){a&1&&rf(0)},oTa=function(a,b){a&1&&(J(0),Q(1,mTa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;N(7);var c=yf(10);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Gf(4,cTa,a,Ff(2,nTa,b)))}},pTa=function(a){a&1&&(G(0,"div",42),Q(1,oTa,2,7,"ng-container",29),H());a&2&&(a=N(2).ngIf,z(1),
F("ngForOf",a))},sTa=function(a){if(a&1){var b=v();J(0);Q(1,pTa,2,1,"div",41);G(2,"button",33);M("mousedown",function(c){w(b);var d=N(5),e=d.searchState.teamScope$.value;e.expanded?qTa(d.searchState,e):rTa(d.searchState,e);return y(Oo(c))});I(3,"mat-icon",34);R(4);H();L()}a&2&&(a=N(5),z(1),F("ngIf",a.searchState.teamScope$.value.expanded),z(2),mf("expanded",a.searchState.teamScope$.value.expanded),z(1),zf(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},tTa=function(a,
b){a&1&&(J(0),Q(1,sTa,5,4,"ng-container",5),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},wTa=function(a){if(a&1){var b=v();G(0,"div",36)(1,"div",28);R(2," Filtering by team: ");H();G(3,"div",37)(4,"team-row",38);M("selectTeamId",function(d){w(b);var e=N(3);return y(Po(e.searchState,d))});H();G(5,"button",39);M("mousedown",function(d){w(b);var e=N(3);uTa(e.searchState);return y(Oo(d))});I(6,"mat-icon",40);H()();Q(7,tTa,2,1,"ng-container",5);H()}if(a&2){a=N(3);var c=yf(3);z(3);F("data",a.searchState.teamScope$.value)("listOrder",
Ef(7,vTa));z(1);F("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);z(3);F("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},xTa=function(a){a&1&&rf(0)},zTa=function(a){a&1&&(J(0),Q(1,wTa,8,8,"div",35),Q(2,xTa,1,0,"ng-container",25),L());if(a&2){a=N(2);var b=yf(12);z(1);F("ngIf",a.searchState.teamScope$.value);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Gf(3,yTa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},
CTa=function(a){if(a&1){var b=v();G(0,"div",44)(1,"div",45);R(2,"Component Tree Browser");H();G(3,"component-row",46);M("goBack",function(){w(b);var c=N(3);return y(ATa(c.searchState))})("selectComponentId",function(c){w(b);var d=N(3);return y(BTa(d.searchState,c))});H()()}a&2&&(a=N(3),z(3),F("componentOption",a.searchState.componentScope))},DTa=function(a){a&1&&rf(0)},FTa=function(a){a&1&&(J(0),Q(1,CTa,4,1,"div",43),Q(2,DTa,1,0,"ng-container",25),L());if(a&2){a=N(2);var b=yf(12);z(1);F("ngIf",a.searchState.componentScope);
z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(3,ETa,a.searchState.componentOptions))}},GTa=function(a){if(a&1){var b=v();G(0,"div",17,18);M("mousedown",function(c){w(b);N();return y(Oo(c))});G(2,"div",19);Q(3,SSa,1,0,"mat-progress-bar",20);H();G(4,"div",21);J(5,22);S(6,"async");Q(7,$Sa,4,7,"ng-container",23);Q(8,lTa,4,7,"ng-container",23);Q(9,zTa,3,6,"ng-container",23);Q(10,FTa,3,5,"ng-container",23);L();H()()}a&2&&(a=N(),z(3),F("ngIf",a.isLoading()),z(2),F("ngSwitch",T(6,6,a.searchState.state$)),
z(2),F("ngSwitchCase","default"),z(1),F("ngSwitchCase","global"),z(1),F("ngSwitchCase","team_scope"),z(1),F("ngSwitchCase","component_scope"))},HTa=function(a){if(a&1){var b=v();G(0,"button",50);M("mousedown",function(c){w(b);var d=N().team,e=N();d.expanded?qTa(e.searchState,d):rTa(e.searchState,d);return y(Oo(c))});I(1,"mat-icon",51);H()}a&2&&(a=N().team,z(1),mf("expanded",a.expanded))},ITa=function(a){a&1&&rf(0)},KTa=function(a,b){a&1&&(J(0),Q(1,ITa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;
b=b.index;var c=N(2),d=c.level;c=c.order;N();var e=yf(10);z(1);F("ngTemplateOutlet",e)("ngTemplateOutletContext",Hf(JTa,a,d+1,c.concat(b)))}},LTa=function(a){a&1&&(J(0),Q(1,KTa,2,6,"ng-container",29),L());if(a&2){a=N().team;var b=N();z(1);F("ngForOf",b.searchState.getChildTeams(a.id))}},MTa=function(a,b){if(a&1){var c=v();G(0,"div",47);M("mousedown",function(h){var l=w(c).team,q=N();USa(q.searchState,l);return y(Oo(h))});G(1,"div",48);Q(2,HTa,2,2,"button",49);G(3,"team-row",31);M("selectTeamId",function(h){w(c);
var l=N();return y(Po(l.searchState,h))});H()()();Q(4,LTa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=N(),g=yf(3);F("listOrder",b)("data",a);z(1);lf("margin-left",28*d,"px");z(1);F("ngIf",e.searchState.getChildTeams(a.id).length);z(1);mf("indent",!e.searchState.getChildTeams(a.id).length);F("teamOption",a)("query",g.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));z(1);F("ngIf",a.expanded)}},NTa=function(a){a&1&&(J(0),R(1,"s"),L())},PTa=function(a,b){if(a&1){var c=
v();G(0,"div",56);M("mousedown",function(g){var h=w(c).$implicit,l=N(3);OTa(l.searchState,h.id);return y(Oo(g))});G(1,"component-row",57);M("selectComponentId",function(g){w(c);var h=N(3);return y(OTa(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=yf(3);F("data",a);z(1);F("showFolderSpecialIcon",d.currentTracker.enableTrackersComponentPathTruncation&&d.currentTracker.inTracker)("componentOption",
a)("query",e.value)("mode",b)}},QTa=function(a,b){a&1&&(G(0,"div",54)(1,"div",28),R(2),G(3,"span"),R(4),Q(5,NTa,2,0,"ng-container",5),H()(),Q(6,PTa,2,5,"div",55),H());if(a&2){a=b.ngIf;var c=N();b=c.mode;c=c.$implicit;z(2);zf(" ","recent"===b?"Select recent component":"Select component"," ");z(2);zf("",a," component");z(1);F("ngIf",1<a);z(1);F("ngForOf",c)}},RTa=function(a){a&1&&(J(0),R(1," No recent components "),L())},STa=function(a){a&1&&(J(0),R(1," No child components "),L())},TTa=function(a){a&
1&&(J(0),R(1),I(2,"mat-icon",61),R(3," above ("),G(4,"a",62),R(5,"learn more "),I(6,"mat-icon",63),H(),R(7," about team associations)"),L());a&2&&(a=N(4).teamScope,z(1),zf(" for ",a.name,". Remove the team filter by clicking on the "))},UTa=function(a){a&1&&(J(0),R(1," No components found "),Q(2,TTa,8,1,"ng-container",5),L());a&2&&(a=N(3).teamScope,z(2),F("ngIf",a))},VTa=function(a){a&1&&(G(0,"div",59),J(1,22),Q(2,RTa,2,0,"ng-container",23),Q(3,STa,2,0,"ng-container",23),Q(4,UTa,3,1,"ng-container",
60),L(),H());a&2&&(a=N(2).mode,z(1),F("ngSwitch",a),z(1),F("ngSwitchCase","recent"),z(1),F("ngSwitchCase","leaf"))},WTa=function(a){a&1&&Q(0,VTa,5,3,"div",58);a&2&&(a=N(2),F("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},XTa=function(a,b){a&1&&(Q(0,QTa,7,4,"div",52),Q(1,WTa,1,1,"ng-template",null,53,Vf));if(a&2){a=b.$implicit;var c=yf(2);F("ngIf",a.length)("ngIfElse",c)}},YTa=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},ZTa=function(a,b){a&1&&(G(0,"mat-radio-button",13),R(1),H());a&2&&(a=b.$implicit,b=N(2),F("checked",b.selectedFilter.type===a.type)("value",a),z(1),zf(" ",a.display," "))},$Ta=function(a,b){a&1&&(G(0,"mat-radio-button",13),R(1),H());a&2&&(a=b.$implicit,b=N(2),F("checked",b.selectedFilter.type===a.type)("value",a),z(1),zf(" ",a.display," "))},aUa=function(a){if(a&1){var b=v();J(0);G(1,"b-team-component-picker",14);M("selectedComponentChange",
function(c){w(b);var d=N(2);return y(d.selectComponent(null!==c&&void 0!==c?c:null))});H();L()}a&2&&(a=N(2),z(1),F("selectedComponent",a.selectedComponent)("placeholder","Choose Component")("isRequired",!0))},bUa=function(a,b){a&1&&(G(0,"mat-radio-button",13),R(1),H());a&2&&(a=b.$implicit,b=N(2),F("checked",b.selectedFilter.type===a.type)("value",a),z(1),zf(" ",a.display," "))},cUa=function(a,b){a&1&&(G(0,"mat-list-option",23),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",a.name," "))},dUa=
function(a){a&1&&(G(0,"mat-list-option",23),R(1," No hotlists matching search "),H());a&2&&F("value",null)},eUa=function(a,b){a&1&&(J(0),Q(1,cUa,2,2,"mat-list-option",21),Q(2,dUa,2,1,"mat-list-option",22),L());a&2&&(a=b.$implicit,z(1),F("ngForOf",a),z(1),F("ngIf",0===a.length))},fUa=function(a){if(a&1){var b=v();G(0,"mat-selection-list",19);M("selectionChange",function(d){w(b);var e=N(3);0<d.options.length&&(d=d.options[0].value,e.selectedHotlist=d,Qo("streamFilterSelectedHotlist")(d),e.filters.get(3).search.value=
String(d.hotlistId),e.selectedFilter=e.filters.get(3));e.isHotlistPanelOpen=!1;return y()});Q(1,eUa,3,2,"ng-container",20);S(2,"async");H()}if(a&2){a=N(3);var c=yf(7);F("multiple",!1);z(1);F("ngIf",T(2,3,a.displayedHotlists$))("ngIfElse",c)}},gUa=function(a){if(a&1){var b=v();J(0);G(1,"mat-form-field",15)(2,"mat-label");R(3,"Search starred hotlists");H();G(4,"input",16,17);M("input",function(){w(b);var e=yf(5);N(2).userHotlistQuery$.next(e.value);return y()})("focus",function(){w(b);var e=yf(5),g=
N(2);e.select();g.isHotlistPanelOpen=!0;return y()});H()();Q(7,fUa,3,5,"ng-template",18);M("detach",function(){w(b);N(2).isHotlistPanelOpen=!1;return y()})("backdropClick",function(){w(b);N(2).isHotlistPanelOpen=!1;return y()});L()}if(a&2){var c=yf(6);a=N(2);var d=yf(1);z(4);F("value",a.selectedHotlist?a.selectedHotlist.name:"");z(3);F("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isHotlistPanelOpen)}},hUa=function(a){if(a&1){var b=v();G(0,"div")(1,"label",
6);R(2,"Filter stream by");H();G(3,"mat-radio-group",7);M("change",function(c){w(b);var d=N();if(c=c.value)d.selectedFilter=c;return y()});Q(4,ZTa,2,3,"mat-radio-button",8);Q(5,$Ta,2,3,"mat-radio-button",8);Q(6,aUa,2,3,"ng-container",9);Q(7,bUa,2,3,"mat-radio-button",8);Q(8,gUa,8,4,"ng-container",9);H()();I(9,"mat-divider");G(10,"div",10)(11,"button",11);M("click",function(){w(b);var c=N();return y(c.closeMenu())});R(12,"Cancel");H();G(13,"button",12);M("click",function(){w(b);var c=N();return y(c.emitSelection())});
R(14,"Apply");H()()}a&2&&(a=N(),z(3),F("value",a.selectedFilter),z(1),F("ngIf",a.filters.get(a.FilterType.ME)),z(1),F("ngIf",a.filters.get(a.FilterType.COMPONENT)),z(1),F("ngIf",a.selectedFilter.type===a.FilterType.COMPONENT),z(1),F("ngIf",a.filters.get(a.FilterType.HOTLIST)),z(1),F("ngIf",a.selectedFilter.type===a.FilterType.HOTLIST))},iUa=function(a){a&1&&I(0,"b-spinner")},jUa=function(a,b){if(a&1){var c=v();J(0);G(1,"mat-list-option",11);M("click",function(){var d=w(c).$implicit;N(2);d.value=!d.value;
vya("activityStreamHeaderOnly")(d.value);return y()});R(2);H();L()}a&2&&(a=b.$implicit,z(1),F("value",a)("selected",a.value),z(1),zf(" ",a.display," "))},kUa=function(a){a&1&&(G(0,"mat-selection-list"),Q(1,jUa,3,3,"ng-container",10),H());a&2&&(a=N(),z(1),F("ngIf",a.settings.get(a.SettingType.CARD_HEADER_ONLY)))},lUa=function(a,b){a&1&&(J(0),I(1,"b-changelist-activity-card",14),L());a&2&&(a=b.$implicit,z(1),F("changelistWithId",a))},mUa=function(a){a&1&&(G(0,"div",12),Q(1,lUa,2,1,"ng-container",13),
S(2,"async"),H());a&2&&(a=N(),z(1),F("ngForOf",T(2,1,a.changelistsWithIds)))},nUa=function(a){a&1&&(G(0,"div",18),I(1,"b-spinner"),H())},oUa=function(a){a&1&&(J(0),G(1,"p",20),R(2),S(3,"async"),H(),L());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);Af(T(3,1,a))}},pUa=function(a){a&1&&(J(0),Q(1,oUa,4,3,"ng-container",10),I(2,"b-issue-activity-card",19),L());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;F("ngIf",!c);z(1);F("issueWithEvents",a)("headerOnly",b.settings.get(b.SettingType.CARD_HEADER_ONLY).value)}},rUa=function(a,b){a&1&&(J(0),Q(1,pUa,3,3,"ng-container",10),S(2,"async"),L());if(a&2){a=b.$implicit;var c;z(1);F("ngIf",0<(null!==(c=T(2,1,a.events))&&void 0!==c?c:Ef(3,qUa)).length)}},sUa=function(a){if(a&1){var b=v();G(0,
"div",21)(1,"p",22);R(2,"You've reached the end of recent activity.");H();G(3,"button",23);M("click",function(){w(b);N();var c=yf(1);return y(c.scrollTo(0,0))});R(4,"Back to top");H()()}},tUa=function(a){a&1&&(G(0,"div",12,15),Q(2,nUa,2,0,"div",16),Q(3,rUa,3,4,"ng-container",13),S(4,"async"),Q(5,sUa,5,0,"div",17),H());a&2&&(a=N(),z(2),F("ngIf",a.loadingCards),z(1),F("ngForOf",T(4,3,a.issuesWithEvents$)),z(2),F("ngIf",!a.loadingCards))},uUa=function(a){a&1&&(G(0,"span",8),uf(1,1),H())},vUa=function(a){a&
1&&(G(0,"span",9),uf(1,2),H())},wUa=function(a){a&1&&(G(0,"span",9),uf(1,1),G(2,"span",10),fd(),G(3,"svg",11),I(4,"path",12),H()()())},xUa=function(a){a&1&&(G(0,"span",13),uf(1,2),H())},yUa=function(a,b){a&1&&(G(0,"mat-chip-option",36),R(1),H());a&2&&(a=b.$implicit,F("selected",a.selected),z(1),zf(" ",a.label," "))},zUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Type "),H())},AUa=function(a,b){a&1&&(G(0,"mat-cell")(1,"mat-icon"),R(2),H()());a&2&&(a=b.$implicit,z(1),pf("google-material-icons product-icon ",
a.icon,""),z(1),Af(a.icon))},BUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Description "),H())},CUa=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,pf("priority-badge ",a.priority,""),z(1),Af(a.priority))},DUa=function(a,b){a&1&&(G(0,"mat-cell"),Q(1,CUa,2,4,"span",37),G(2,"a",38),R(3),H()());a&2&&(a=b.$implicit,z(1),F("ngIf",a.priority),z(1),F("href",a.link,Id),bf("target","Buganizer"!=a.source?"_blank":null),z(1),Af(a.title))},EUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Last modified "),
H())},FUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),S(2,"date"),H());a&2&&(a=b.$implicit,z(1),Af(If(2,1,a.modifiedDate,"MMM d, y h:mma")))},GUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Role "),H())},HUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),Af(a.role))},IUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Created "),H())},JUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),S(2,"date"),H());a&2&&(a=b.$implicit,z(1),Af(T(2,1,a.creationDate)))},KUa=function(a){a&1&&I(0,"mat-header-row")},
LUa=function(a){a&1&&I(0,"mat-row")},MUa=function(a){a&1&&I(0,"b-spinner")},NUa=function(a,b){a&1&&(G(0,"mat-tab",13)(1,"div",14)(2,"button",15),R(3),G(4,"mat-icon",8),R(5,"arrow_drop_down"),H()(),G(6,"mat-menu",16,17)(8,"div",18),M("click",function(d){return d.stopPropagation()}),G(9,"mat-checkbox",19),R(10," Buganizer "),H(),G(11,"mat-checkbox",20),R(12," Critique "),H(),G(13,"mat-checkbox",20),R(14," Drive "),H(),G(15,"mat-checkbox",21),R(16," Launch "),H()()(),G(17,"mat-chip-listbox",22),Q(18,
yUa,2,2,"mat-chip-option",23),H()(),G(19,"div",24)(20,"mat-table",25),J(21,26),Q(22,zUa,2,0,"mat-header-cell",27),Q(23,AUa,3,4,"mat-cell",28),L(),J(24,29),Q(25,BUa,2,0,"mat-header-cell",27),Q(26,DUa,4,4,"mat-cell",28),L(),J(27,30),Q(28,EUa,2,0,"mat-header-cell",27),Q(29,FUa,3,4,"mat-cell",28),L(),J(30,31),Q(31,GUa,2,0,"mat-header-cell",27),Q(32,HUa,2,1,"mat-cell",28),L(),J(33,32),Q(34,IUa,2,0,"mat-header-cell",27),Q(35,JUa,3,3,"mat-cell",28),L(),Q(36,KUa,1,0,"mat-header-row",33),Q(37,LUa,1,0,"mat-row",
34),H(),Q(38,MUa,1,0,"ng-template",null,35,Vf),H()());if(a&2){a=b.$implicit;var c=yf(7);b=N(2);F("label",a.label);z(2);F("matMenuTriggerFor",c);z(1);zf(" Source: ",a.sources.join(", ")," ");z(15);F("ngForOf",a.chips);z(2);F("dataSource",a.tasks);z(16);F("matHeaderRowDef",b.displayedColumns);z(1);F("matRowDefColumns",b.displayedColumns)}},OUa=function(a){a&1&&(G(0,"div",10)(1,"mat-tab-group",11),Q(2,NUa,40,7,"mat-tab",12),H()());a&2&&(a=N(),z(2),F("ngForOf",a.mvpMyTaskTabsData$))},PUa=function(){return(0,E.pipe)(He(function(a,
b){return a.concat(b)}))},RUa=function(a){if(a&1){var b=v();J(0);G(1,"div",11);fd();G(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);G(15,"g",25)(16,"mask",26);I(17,"path",27);H();G(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);G(36,"mask",46);I(37,"path",47);H();G(38,"g",48);I(39,"path",49);H();G(40,"mask",50);I(41,"path",51);H();G(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);G(53,"defs")(54,"linearGradient",63);I(55,"stop",64)(56,"stop",65);H();G(57,"linearGradient",66);I(58,"stop",67)(59,"stop",68);H();G(60,"linearGradient",69);I(61,"stop",
70)(62,"stop",65);H();G(63,"linearGradient",71);I(64,"stop",67)(65,"stop",68);H();G(66,"linearGradient",72);I(67,"stop",70)(68,"stop",65);H();G(69,"linearGradient",73);I(70,"stop",64)(71,"stop",65);H();G(72,"linearGradient",74);I(73,"stop",75)(74,"stop",76);H();G(75,"linearGradient",77);I(76,"stop",78)(77,"stop",65);H();G(78,"linearGradient",79);I(79,"stop",78)(80,"stop",65);H();G(81,"linearGradient",80);I(82,"stop",70)(83,"stop",65);H();G(84,"linearGradient",81);I(85,"stop",70)(86,"stop",65);H();
G(87,"linearGradient",82);I(88,"stop",64)(89,"stop",65);H()()();gd();G(90,"p");R(91,"Use work areas to closely monitor a hotlist, component or a project.");H();G(92,"button",83);M("click",function(){w(b);var c=N(2);return y(QUa(c))});G(93,"mat-icon",84);R(94,"add");H();R(95," Add work area ");H()();L()}},SUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Type "),H())},TUa=function(a,b){a&1&&(G(0,"mat-cell")(1,"mat-icon"),R(2),H()());a&2&&(a=b.$implicit,z(1),pf("google-material-icons product-icon ",
a.icon,""),z(1),Af(a.icon))},UUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Title "),H())},VUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.title," "))},WUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," ID "),H())},XUa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.id," "))},YUa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Priority "),H())},ZUa=function(a,b){a&1&&(G(0,"mat-cell")(1,"span"),R(2),H()());a&2&&(a=b.$implicit,z(1),
pf("priority-badge ",a.priority,""),z(1),Af(a.priority))},$Ua=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Creation date "),H())},aVa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),S(2,"date"),H());a&2&&(a=b.$implicit,z(1),zf(" ",T(2,1,a.date)," "))},bVa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Assignee "),H())},cVa=function(a,b){a&1&&(G(0,"mat-cell"),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.assignee," "))},dVa=function(a){a&1&&I(0,"mat-header-row")},eVa=function(a){a&1&&I(0,"mat-row")},fVa=
function(a){a&1&&(G(0,"div",9)(1,"mat-tab-group",85)(2,"mat-tab",86)(3,"div",87)(4,"div",88)(5,"p"),R(6,"New/unread"),H(),G(7,"h2"),R(8,"4"),H()(),G(9,"div",88)(10,"p"),R(11,"Spiking"),H(),G(12,"h2"),R(13,"2"),H()(),G(14,"div",88)(15,"p"),R(16,"Recently active"),H(),G(17,"h2"),R(18,"6"),H()(),G(19,"div",88)(20,"p"),R(21,"Mine"),H(),G(22,"h2"),R(23,"3"),H()()(),G(24,"div",89)(25,"mat-chip-listbox",90)(26,"mat-chip-option",91),R(27," Open "),H()(),I(28,"span",6),G(29,"button",92),R(30," View in TaskFlow "),
G(31,"mat-icon",93),R(32,"launch"),H()(),G(33,"button",94)(34,"mat-icon",84),R(35,"help_outline"),H()()(),G(36,"mat-table",95),J(37,96),Q(38,SUa,2,0,"mat-header-cell",97),Q(39,TUa,3,4,"mat-cell",98),L(),J(40,99),Q(41,UUa,2,0,"mat-header-cell",97),Q(42,VUa,2,1,"mat-cell",98),L(),J(43,100),Q(44,WUa,2,0,"mat-header-cell",97),Q(45,XUa,2,1,"mat-cell",98),L(),J(46,101),Q(47,YUa,2,0,"mat-header-cell",97),Q(48,ZUa,3,4,"mat-cell",98),L(),J(49,102),Q(50,$Ua,2,0,"mat-header-cell",97),Q(51,aVa,3,3,"mat-cell",
98),L(),J(52,103),Q(53,bVa,2,0,"mat-header-cell",97),Q(54,cVa,2,1,"mat-cell",98),L(),Q(55,dVa,1,0,"mat-header-row",104),Q(56,eVa,1,0,"mat-row",105),H(),G(57,"div",106)(58,"button",92),R(59," Go to hotlist "),G(60,"mat-icon",93),R(61,"launch"),H()()()()()());a&2&&(a=N(3),z(36),F("dataSource",a.fakeData.hotlistFull),z(19),F("matHeaderRowDef",a.displayedColumns),z(1),F("matRowDefColumns",a.displayedColumns))},gVa=function(a){a&1&&(J(0),Q(1,fVa,62,3,"div",7),L());a&2&&(a=N(2),z(1),F("ngIf",!a.isCollapsed()))},
hVa=function(a){a&1&&(G(0,"div",9),Q(1,RUa,96,0,"ng-container",10),Q(2,gVa,2,1,"ng-container",10),H());a&2&&(a=N(),z(1),F("ngIf",0===a.currentViewIndex),z(1),F("ngIf",1==a.currentViewIndex))},iVa=function(a,b){if(a&1){var c=v();G(0,"button",123);M("click",function(){var d=w(c).$implicit;N(2).currentSourceType=d.label;return y()});R(1);H()}a&2&&(a=b.$implicit,F("disabled",a.disabled),z(1),Af(a.label))},jVa=function(a,b){a&1&&(G(0,"mat-option",124),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",
a," "))},kVa=function(a){if(a&1){var b=v();G(0,"div",107)(1,"div",108)(2,"h2",109);R(3,"Add Work Area");H();G(4,"p");R(5,"Select a data source");H();G(6,"button",110);R(7);G(8,"mat-icon",84);R(9,"arrow_drop_down");H()();G(10,"mat-menu",111,112);Q(12,iVa,2,2,"button",113);H();G(13,"p");R(14,"Choose hotlist");H();G(15,"mat-form-field",114);I(16,"input",115);G(17,"mat-autocomplete",null,116);Q(19,jVa,2,2,"mat-option",117);S(20,"async");H()()();G(21,"div",118)(22,"h2",109);R(23,"Preview");H();I(24,"img",
119);H()();G(25,"mat-dialog-actions",120)(26,"button",121);M("click",function(){var e=w(b).dialogRef;return y(e.close("cancel"))});R(27,"Cancel");H();G(28,"button",122);M("click",function(){var e=w(b).dialogRef;return y(e.close(1))});R(29,"Add");H()()}if(a&2){var c=yf(11),d=yf(18);a=N();z(6);F("matMenuTriggerFor",c);z(1);zf(" ",a.currentSourceType," ");z(5);F("ngForOf",a.sourceTypes);z(4);F("formControl",a.autocompleteControl)("matAutocomplete",d);z(3);F("ngForOf",T(20,6,a.filteredOptions))}},mVa=
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)]=Lj(e)}var g,h;return{issuesWithSignals:Ch(a,Ro,1).map(lVa),numTotalResults:null!=(g=a.getNumTotalResults())?g:0,components:b,nextPageToken:null!=(h=a.getNextPageToken())?h:""}},lVa=function(a){return{issue:fk(a.getIssue()),signals:a.getSignalsList().map(nVa)}},nVa=function(a){return{signalType:Yta[W(a,1,0)],timestamp:xh(a.getTimestamp())}},oVa=
function(a){return{dismissTimestamp:Aj(a,yh,1)?xh(Z(a,yh,1)):void 0}},pVa=function(a){return mua[a]},qVa=function(){return"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},rVa=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"}},sVa=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""}},tVa=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"})},uVa=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},wVa=function(a){return(a=a.map(vVa).find(function(b){return!!b}))?{type:"Future Availability",text:a}:void 0},vVa=function(a){var b=new Date(a.timeRange.startTime);if(a.status.hasOutOfOffice)return uVa("OOO in",b,24);if(a.status.hasOutsideWorkingHours)return uVa("Outside working hours in",b,3)},xVa=function(a){a=a.map(function(b){return new So({email:b})});return new To({userIds:a})},yVa=function(a){return new E.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()}})},Uo=function(a){return{"X-Goog-Api-Key":a,Authorization:so([])||"","X-Goog-AuthUser":"0"}},zVa=function(a){return a.pipe(yia(a.pipe(ze(0))))},AVa=function(a){return a.getTagsList().includes(3)&&3===a.getType()},Vo=function(a){return!!a},BVa=function(a,b){return[a.filter(b),a.filter(function(c){return!b(c)})]},DVa=function(a){return CVa(a).some(function(b){return dj(b,
3)<=(new Date).getTime()})},EVa=function(a){return DVa(a)?!1:CVa(a).some(function(b){return 2592E5>=dj(b,3)-(new Date).getTime()})},CVa=function(a){return(a=a.getSloStatus())?[a.getResponseBounds(),a.getClosureBounds(),a.getAssignmentBounds()].filter(Vo).filter(function(b){return 0!==dj(b,3)}):[]},GVa=function(a){if(a=Wo(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?FVa[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"}}},IVa=function(a){var b=a.numTasksPerSection,c=a.myWorkCriteria,d=a.needsMyInputCriteria,e=k(BVa(a.tasks,function(g){return g.isMyWork}));a=e.next().value;e=e.next().value;return[].concat(Pc(HVa(a,c).slice(0,b)),Pc(HVa(e,
d).slice(0,b)))},Xo=function(a){return a.resource.getLastModifiedTimestamp()},Yo=function(a,b){return a.signals.some(function(c){return c.type===b})},HVa=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})},JVa=function(a){return a.isMyWork||Gj(Zo(a.resource),8)},MVa=function(a){return 1===Ch(Zo(a.resource),$o,4).map(KVa).map(Number).reduce(LVa,0)},PVa=function(a){var b=(a=null==(b=Z(Zo(a.resource),
NVa,2))?void 0:Pj(b,wh,1,OVa))?(new Date(a.getYear(),a.getMonth()-1,a.getDay())).getTime()-(new Date).getTime():void 0;return b&&6048E5>b?-b:-6048E5},KVa=function(a){return![2,1].includes(a.getApprovalStatus())},LVa=function(a,b){return a+b},QVa=function(a){return 3===ap(a.resource).getStatus()},RVa=function(a){return Yo(a,"Current Iteration")},SVa=function(a){return Yo(a,"P0")},TVa=function(a){return Yo(a,"Out of SLO")},UVa=function(a){return Yo(a,"Near SLO")},VVa=function(a){return dj(ap(a.resource),
19)},cWa=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next())c=c.value,WVa.set(c.id,c);return IVa({tasks:a,numTasksPerSection:2,myWorkCriteria:[XVa,YVa,ZVa,Xo],needsMyInputCriteria:[XVa,$Va,YVa,aWa,ZVa,bWa,Xo]})},aWa=function(a){return Yo(a,"Future Availability")},bWa=function(a){return!Yo(a,"Current Availability")},XVa=function(a){return Wo(a.resource).getNeedsAttention()},$Va=function(a){var b=(a=null==(b=Wo(a.resource).getDescription().match(/DIFFBASE=(\d+)/))?void 0:b[1])&&"cl/"+a;return b?
(b=WVa.get(b))&&XVa(b)?$Va(b)-1:0:0},ZVa=function(a){return Yo(a,"Submission Deadline")},YVa=function(a){return Yo(a,"Rollback")},dWa=function(a){return Eh(bp(a.resource),21)},eWa=function(a){return Eh(bp(a.resource),24)},fWa=function(a){return Eh(bp(a.resource),23)},gWa=function(a){return Eh(bp(a.resource),22)},hWa=function(a){return Gj(bp(a.resource),25)},iWa=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(Pc(b.keys()))[0]){case 6:return IVa({tasks:a,
numTasksPerSection:2,myWorkCriteria:[SVa,QVa,RVa,TVa,UVa,VVa],needsMyInputCriteria:[SVa,TVa,UVa,VVa]});case 5:return IVa({tasks:a,numTasksPerSection:2,myWorkCriteria:[dWa,eWa,Xo],needsMyInputCriteria:[hWa,gWa,fWa,Xo]});case 8:return cWa(a);case 9:return IVa({tasks:a.filter(JVa),numTasksPerSection:1,myWorkCriteria:[PVa,Xo],needsMyInputCriteria:[PVa,MVa,Xo]});default:return a}throw Error("Qd");},jWa=function(a){var b;a.pipe(Ce()).subscribe(function(c){b=c});return b},kWa=function(a){return(0,E.pipe)(He(function(b,
c){return"hidden"===c.type?[].concat(Pc(b),[c.id]):b.filter(function(d){return d!==c.id})},a),Ne(a))},lWa=function(a){var b,c;a=null!=(c=null==(b=ap(a.getResource()))?void 0:b.getBlockingIssueIdsList().length)?c:0;return 0<a?(0,E.of)({type:"Blocking",text:"Blocking "+a+" issue"+(1<a?"s":"")}):(0,E.of)(void 0)},mWa=function(){return(0,E.pipe)(He(function(a,b){return a.concat(b)}))},nWa=function(a){a=a.getResource();switch(a.getResourceCase()){case 8:return 2===Wo(a).getCategory();case 6:return ap(a).getAssignedToMe();
case 5:return bp(a).getOwnedByMe();case 9:return Zo(a).getOwnedByMe();default:return!1}},oWa=function(a){a=Wo(a.getResource());return 1===(null==a?void 0:a.getCategory())?a.getAuthorEmail():""},pWa=function(a){a&1&&(G(0,"div",13)(1,"span",14),R(2),H()());a&2&&(a=N(),z(2),Af(a.allAlerts.length))},rWa=function(a){if(a&1){var b=v();G(0,"th",39)(1,"mat-checkbox",40);M("change",function(c){w(b);var d=N(2);c?(qWa(d)?d.selection.clear():d.selection.select.apply(d.selection,Pc(d.allAlerts)),c=void 0):c=null;
return y(c)});H()()}a&2&&(a=N(2),z(1),F("checked",a.selection.hasValue()&&qWa(a))("indeterminate",a.selection.hasValue()&&!qWa(a)))},sWa=function(a,b){if(a&1){var c=v();G(0,"td",41)(1,"mat-checkbox",42);M("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),F("checked",b.selection.isSelected(a)))},tWa=function(a){a&1&&(G(0,"th",39),R(1," Type "),H())},vWa=function(a){a&1&&(G(0,
"mat-icon"),R(1),H());a&2&&(a=N().$implicit,N(2),pf("google-material-icons product-icon ",uWa(a),""),z(1),Af(uWa(a)))},wWa=function(a){a&1&&I(0,"img",45);a&2&&(a=N().$implicit,N(2),F("src",uWa(a),Id))},xWa=function(a,b){a&1&&(G(0,"td",41),Q(1,vWa,2,4,"mat-icon",43),Q(2,wWa,1,1,"ng-template",null,44,Vf),H());if(a&2){a=b.$implicit;var c=yf(3);z(1);F("ngIf","Ariane"!==a.type)("ngIfElse",c)}},yWa=function(a){a&1&&(G(0,"th",39),R(1," Description "),H())},AWa=function(a){a&1&&I(0,"b-issue-priority-display",
48);a&2&&(a=N().$implicit,N(2),pf("priority-badge-",zWa(a),""),F("issuePriority",zWa(a)))},BWa=function(a,b){a&1&&(G(0,"td",41)(1,"div",46),Q(2,AWa,1,4,"b-issue-priority-display",47),R(3),H()());a&2&&(a=b.$implicit,z(2),F("ngIf","Buganizer"===a.type),z(1),zf(" ",a.description," "))},CWa=function(a){a&1&&(G(0,"th",39),R(1," Time of alert "),G(2,"mat-icon",49),R(3,"arrow_downward"),H()())},DWa=function(a){a&1&&I(0,"b-formatted-date-time",51);a&2&&(a=N().$implicit,F("timestamp",a.timestamp))},EWa=function(a,
b){a&1&&(G(0,"td",41),Q(1,DWa,1,1,"b-formatted-date-time",50),H());a&2&&(a=b.$implicit,z(1),F("ngIf",a.timestamp))},FWa=function(a){a&1&&(G(0,"th",39),R(1," Alert "),H())},IWa=function(a,b){a&1&&(G(0,"td",41)(1,"div"),R(2),H()());a&2&&(a=b.$implicit,N(2),z(1),pf("signal-chip type-button ",GWa(a),""),z(1),Af(HWa(a)))},JWa=function(a){a&1&&(G(0,"th",39),R(1," Action "),H())},LWa=function(a,b){a&1&&(G(0,"td",41)(1,"a",52),R(2),H()());a&2&&(a=b.$implicit,b=N(2),z(2),Af(KWa(b,a)))},MWa=function(a){a&1&&
I(0,"td",53)},NWa=function(a){a&1&&(G(0,"td",41)(1,"mat-icon",54),R(2,"do_not_disturb_on"),H()())},OWa=function(a){a&1&&I(0,"tr",55)},QWa=function(a){if(a&1){var b=v();G(0,"tr",56);M("click",function(c){var d=w(b).$implicit,e=N(2);return y(PWa(e,c,d))})("mouseup",function(c){var d=w(b).$implicit,e=N(2);return y(PWa(e,c,d))});H()}},RWa=function(a){a&1&&(G(0,"div",15)(1,"div",16)(2,"button",17),R(3," Source: Buganizer, Critique, Drive, Launch "),G(4,"mat-icon",18),R(5,"arrow_drop_down"),H()(),G(6,"mat-menu",
19,20)(8,"div",21),M("click",function(c){return c.stopPropagation()}),G(9,"mat-checkbox",22),R(10," Buganizer "),H(),G(11,"mat-checkbox",23),R(12," Critique "),H(),G(13,"mat-checkbox",23),R(14," Drive "),H(),G(15,"mat-checkbox",23),R(16," Launch "),H()()(),G(17,"mat-chip-listbox",24)(18,"mat-chip-option",25),R(19,"Last 30 days"),H()()(),G(20,"table",26),J(21,27),Q(22,rWa,2,2,"th",28),Q(23,sWa,2,1,"td",29),L(),J(24,30),Q(25,tWa,2,0,"th",28),Q(26,xWa,4,2,"td",29),L(),J(27,31),Q(28,yWa,2,0,"th",28),
Q(29,BWa,4,2,"td",29),L(),J(30,32),Q(31,CWa,4,0,"th",28),Q(32,EWa,2,1,"td",29),L(),J(33,33),Q(34,FWa,2,0,"th",28),Q(35,IWa,3,4,"td",29),L(),J(36,34),Q(37,JWa,2,0,"th",28),Q(38,LWa,3,1,"td",29),L(),J(39,35),Q(40,MWa,1,0,"td",36),Q(41,NWa,3,0,"td",29),L(),Q(42,OWa,1,0,"tr",37),Q(43,QWa,1,0,"tr",38),H()());if(a&2){var b=yf(7);a=N();z(2);F("matMenuTriggerFor",b);z(18);F("dataSource",a.allAlerts)("trackBy",a.trackByAlertId);z(22);F("matHeaderRowDef",a.displayedColumns);z(1);F("matRowDefColumns",a.displayedColumns)}},
SWa=function(a){a&1&&rf(0)},TWa=function(a){a&1&&(J(0),G(1,"span",11),R(2,"No projects added"),H(),L())},UWa=function(a){a&1&&(J(0),Q(1,TWa,3,0,"ng-container",10),S(2,"async"),S(3,"async"),L());if(a&2){N();var b=yf(2);a=N();var c;z(1);F("ngIf",0===T(2,1,a.unarchivedProjectsCount$)&&0===((null==(c=T(3,3,null==b?null:b.rows$))?null:c.length)||0))}},WWa=function(a){if(a&1){var b=v();G(0,"p",11);R(1);G(2,"a",14);M("click",function(){w(b);var c=N(4);return y(VWa(c,[]))});R(3,"Show all");H()()}a&2&&(a=
N().ngIf,z(1),Bf("Filtering ",a.count," closed issue",1===a.count?"":"s",". "))},XWa=function(a){if(a&1){var b=v();G(0,"p");R(1,"Closed issues may be filtered. ");G(2,"a",14);M("click",function(){w(b);var c=N(4);return y(VWa(c,[]))});R(3,"Show all");H()()}},YWa=function(a,b){a&1&&(J(0),Q(1,WWa,4,2,"p",13),Q(2,XWa,4,0,"p",10),L());if(a&2){a=b.ngIf;N(2);var c=yf(2);z(1);F("ngIf",a.count);z(1);F("ngIf",0===a.count&&0<c.filters.length)}},ZWa=function(a){if(a&1){var b=v();G(0,"a",14);M("click",function(){w(b);
var c=N(3);return y(VWa(c,["OPEN"]))});R(1,"Only show open issues");H()}},aXa=function(a){a&1&&(J(0),Q(1,YWa,3,2,"ng-container",10),S(2,"async"),Q(3,ZWa,2,0,"a",12),L());if(a&2){N();var b=yf(2);z(1);F("ngIf",Ff(4,$Wa,T(2,2,b.model.filteredRowCount$)));z(2);F("ngIf",0===b.filters.length)}},bXa=function(a,b){a&1&&(G(0,"section"),I(1,"expandable-issues-table",8,9),S(3,"async"),Q(4,UWa,4,5,"ng-container",10),S(5,"async"),Q(6,aXa,4,6,"ng-container",10),S(7,"async"),H());if(a&2){a=b.$implicit;var c=yf(2);
b=N();var d,e;mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);mf("hidden",0===((null==(d=T(3,9,c.rows$))?null:d.length)||0));F("rootIssueId",a)("modifyMenuItems",b.modifyMenuItems)("filters",b.hackyPrefs.prefs.projectFilters);z(3);F("ngIf",null!==T(5,11,b.unarchivedProjectsCount$));z(2);F("ngIf",null==(e=T(7,13,null==c?null:c.rows$))?null:e.length)}},cXa=function(a){if(a&1){var b=v();G(0,"issue-card-compact",23);M("onDismiss",function(){w(b);var c=N().$implicit,d=N(3);return y(d.addProject(c.issueId))});
H()}a&2&&(a=N().$implicit,F("issue",a)("onlyTitle",!0))},dXa=function(a,b){a&1&&(J(0),Q(1,cXa,1,2,"issue-card-compact",22),L());a&2&&(a=b.index,b=N(3),z(1),F("ngIf",a<b.suggestLimit))},eXa=function(a){a&1&&(G(0,"p"),R(1," No projects to suggest. Check out the "),G(2,"a",24),R(3," work tracking data model "),I(4,"mat-icon",25),H()())},fXa=function(a){if(a&1){var b=v();G(0,"b-button",26);M("onAction",function(){w(b);var c=N().ngIf,d=N(2);return y(d.suggestLimit=c.length)});R(1," Show more ");H()}},
gXa=function(a,b){a&1&&(J(0),G(1,"div",19),Q(2,dXa,2,1,"ng-container",20),Q(3,eXa,5,0,"p",10),Q(4,fXa,2,0,"b-button",21),H(),L());a&2&&(a=b.ngIf,b=N(2),z(2),F("ngForOf",a),z(1),F("ngIf",0===a.length),z(1),F("ngIf",a.length>b.suggestLimit))},hXa=function(a){a&1&&I(0,"b-spinner")},iXa=function(a){a&1&&(G(0,"div",15)(1,"h1",16),R(2,"Suggested projects"),H(),Q(3,gXa,5,3,"ng-container",17),S(4,"async"),Q(5,hXa,1,0,"ng-template",null,18,Vf),H());if(a&2){var b=yf(6);a=N();z(3);F("ngIf",T(4,2,a.suggestedProjects$))("ngIfElse",
b)}},jXa=function(a){if(a&1){var b=v();G(0,"b-button",30);M("onAction",function(){w(b);var c=N(2);return y(c.createChild())});S(1,"async");R(2," Create new project ");H()}a&2&&(a=N(2),F("disabled",!T(1,1,a.canEdit$)))},kXa=function(a){if(a&1){var b=v();Q(0,jXa,3,3,"b-button",27);G(1,"b-button",28);M("onAction",function(){w(b);var c=N();return y(c.addChild())});S(2,"async");R(3," Add existing project ");H();G(4,"b-button",29);M("onAction",function(){w(b);var c=N();return y(c.showSuggestedProjects=
!c.showSuggestedProjects)});S(5,"async");R(6);H()}a&2&&(a=N(),F("ngIf",a.isNonPublicSession),z(1),F("disabled",!T(2,4,a.canEdit$)),z(3),F("disabled",!T(5,6,a.canEdit$)),z(2),zf(" ",a.showSuggestedProjects?"Hide suggestions":"Suggest projects"," "))},lXa=function(a){a&1&&I(0,"my-work-card",10);a&2&&F("assignedOnly",!0)},mXa=function(a){a&1&&I(0,"my-work-card",10);a&2&&F("assignedOnly",!1)},nXa=function(a,b){a&1&&I(0,"hotlist-as-project-card",12);a&2&&F("hotlistId",b.$implicit)},oXa=function(a){a&1&&
(J(0),Q(1,nXa,1,1,"hotlist-as-project-card",11),L());if(a&2){a=N().$implicit;var b=N();z(1);F("ngIf",b.extractHotlistId(a))}},pXa=function(a){a&1&&I(0,"issue-as-immersed-card",15);a&2&&(a=N(2).$implicit,F("issueId",a))},qXa=function(a){a&1&&I(0,"issue-as-project-card",15);a&2&&(a=N(2).$implicit,F("issueId",a))},rXa=function(a){a&1&&(J(0)(1,6),Q(2,pXa,1,1,"issue-as-immersed-card",13),Q(3,qXa,1,1,"issue-as-project-card",14),L()());if(a&2){a=N().$implicit;var b=N();z(1);F("ngSwitch",null==b.prefs.itemDisplayType?
null:b.prefs.itemDisplayType[a]);z(1);F("ngSwitchCase",b.IMMERSED)}},sXa=function(a){a&1&&I(0,"issue-as-immersed-card",15);a&2&&(a=N(2).$implicit,F("issueId",a))},tXa=function(a){a&1&&I(0,"issue-as-project-card",15);a&2&&(a=N(2).$implicit,F("issueId",a))},uXa=function(a){a&1&&(J(0)(1,6),Q(2,sXa,1,1,"issue-as-immersed-card",13),Q(3,tXa,1,1,"issue-as-project-card",14),L()());if(a&2){a=N().$implicit;var b=N();z(1);F("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);z(1);F("ngSwitchCase",
b.IMMERSED)}},vXa=function(a,b){a&1&&I(0,"saved-search-as-project-card",17);a&2&&F("savedSearchId",b.$implicit)},wXa=function(a){a&1&&(J(0),Q(1,vXa,1,1,"saved-search-as-project-card",16),L());if(a&2){a=N().$implicit;var b=N();z(1);F("ngIf",b.extractSavedSearchId(a))}},xXa=function(a){if(a&1){var b=v();J(0);G(1,"p",18);R(2," Unknown id/url format: `");G(3,"code");R(4);H();R(5,"`. ");G(6,"a",19);M("click",function(){w(b);var c=N().$implicit,d=N();return y(Ho(d.hackyPrefs,c))});R(7," Remove ");H();I(8,
"br");R(9," Learn more: ");G(10,"a",20);R(11,"go/b-learn-project-add");H()();L()}a&2&&(a=N().$implicit,z(4),Af(a))},yXa=function(a,b){a&1&&(J(0)(1,6),Q(2,lXa,1,1,"my-work-card",7),Q(3,mXa,1,1,"my-work-card",7),Q(4,oXa,2,1,"ng-container",8),Q(5,rXa,4,2,"ng-container",8),Q(6,uXa,4,2,"ng-container",8),Q(7,wXa,2,1,"ng-container",8),Q(8,xXa,12,1,"ng-container",9),L()());a&2&&(a=b.$implicit,b=N(),z(1),F("ngSwitch",b.inferEntityType(a)),z(1),F("ngSwitchCase","assigned-to-me"),z(1),F("ngSwitchCase","recent-stuff-i-follow"),
z(1),F("ngSwitchCase","hotlist"),z(1),F("ngSwitchCase","plain-id"),z(1),F("ngSwitchCase","issue"),z(1),F("ngSwitchCase","savedsearch"))},zXa=function(a){if(a&1){var b=v();J(0);G(1,"div",21);I(2,"img",22);G(3,"p");R(4," Nothing selected. ");G(5,"button",23);M("click",function(){w(b);var c=N();return y(c.onClickAdd())});R(6,"Add Project");H()();G(7,"p",18)(8,"a",24);I(9,"mat-icon",25);H();R(10," You can pin almost anything here: hotlist, saved search, or parent issue. ");H()();L()}a&2&&(a=N(),z(2),
F("src",a.SPACE_EMPTY_STATE,Id))},AXa=function(a){a&1&&(J(0),G(1,"div")(2,"h2"),R(3,"Suggestions"),H(),I(4,"suggested-issue-projects"),H(),I(5,"suggested-hotlists"),L())},BXa=function(a){if(a&1){var b=v();G(0,"aside",26)(1,"button",27);M("click",function(){w(b);var c=N();return y(c.onClickAdd())});I(2,"mat-icon",28);R(3," Add project ");H();G(4,"button",29);M("click",function(){w(b);var c=N();return y(c.onClickAddHotlist())});R(5," Add Hotlist ");H();G(6,"button",29);M("click",function(){w(b);var c=
N();return y(c.onClickAddSavedSearch())});R(7," Add Saved Search ");H()()}},CXa=function(a){a&1&&I(0,"my-work-card",21);a&2&&F("assignedOnly",!0)},DXa=function(a){a&1&&I(0,"my-work-card",21);a&2&&F("assignedOnly",!1)},EXa=function(a,b){a&1&&I(0,"hotlist-as-project-card",23);a&2&&F("hotlistId",b.$implicit)("neverCollapse",!0)},FXa=function(a){a&1&&(J(0),Q(1,EXa,1,2,"hotlist-as-project-card",22),L());if(a&2){a=N().$implicit;var b=N();z(1);F("ngIf",b.extractHotlistId(a))}},GXa=function(a){a&1&&(J(0),
I(1,"issue-as-project-card",24),L());a&2&&(a=N().$implicit,z(1),F("issueId",a)("neverCollapse",!0))},HXa=function(a,b){a&1&&I(0,"issue-as-project-card",24);a&2&&F("issueId",b.$implicit)("neverCollapse",!0)},IXa=function(a){a&1&&(J(0),Q(1,HXa,1,2,"issue-as-project-card",25),L());if(a&2){a=N().$implicit;var b=N();z(1);F("ngIf",b.extractIssueId(a))}},JXa=function(a,b){a&1&&I(0,"saved-search-as-project-card",27);a&2&&F("savedSearchId",b.$implicit)("neverCollapse",!0)},KXa=function(a){a&1&&(J(0),Q(1,JXa,
1,2,"saved-search-as-project-card",26),L());if(a&2){a=N().$implicit;var b=N();z(1);F("ngIf",b.extractSavedSearchId(a))}},LXa=function(a){if(a&1){var b=v();J(0);G(1,"p",12);R(2," Unknown id/url format: `");G(3,"code");R(4);H();R(5,"`. ");G(6,"a",28);M("click",function(){w(b);var c=N().$implicit,d=N();return y(Ho(d.hackyPrefs,c))});R(7," Remove ");H();I(8,"br");R(9," Learn more: ");G(10,"a",29);R(11,"go/b-learn-project-add");H()();L()}a&2&&(a=N().$implicit,z(4),Af(a))},NXa=function(a,b){a&1&&(J(0)(1,
16),G(2,"mat-tab",17),Q(3,CXa,1,1,"my-work-card",18),Q(4,DXa,1,1,"my-work-card",18),Q(5,FXa,2,1,"ng-container",19),Q(6,GXa,2,2,"ng-container",19),Q(7,IXa,2,1,"ng-container",19),Q(8,KXa,2,1,"ng-container",19),Q(9,LXa,12,1,"ng-container",20),H(),L()());if(a&2){a=b.$implicit;b=N();var c;z(1);F("ngSwitch",b.inferEntityType(a));z(1);F("label",null!==(c=MXa(b,a))&&void 0!==c?c:a);z(1);F("ngSwitchCase","assigned-to-me");z(1);F("ngSwitchCase","recent-stuff-i-follow");z(1);F("ngSwitchCase","hotlist");z(1);
F("ngSwitchCase","plain-id");z(1);F("ngSwitchCase","issue");z(1);F("ngSwitchCase","savedsearch")}},OXa=function(a){if(a&1){var b=v();G(0,"aside",31)(1,"button",32);M("click",function(){w(b);var c=N(2);return y(c.onClickAdd())});I(2,"mat-icon",33);R(3," Add project ");H();G(4,"button",34);M("click",function(){w(b);var c=N(2);return y(c.onClickAddHotlist())});R(5," Add Hotlist ");H();G(6,"button",34);M("click",function(){w(b);var c=N(2);return y(c.onClickAddSavedSearch())});R(7," Add Saved Search ");
H()()}},PXa=function(a,b){a&1&&(J(0),Q(1,OXa,8,0,"aside",30),L());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.length&&10>=a.length))},QXa=function(a,b){a&1&&(J(0),I(1,"flat-issues-table",19),L());a&2&&(a=b.ngIf,b=N(),z(1),F("issueIds",a)("displayedColumns",b.DEFAULT_COLUMNS)("assigneeMode","avatar-in-progress"))},RXa=function(a){a&1&&I(0,"b-spinner")},TXa=function(a,b){if(a&1){var c=v();G(0,"span",6);M("click",function(){w(c);var e=N().$implicit,g=N();return y(g.toggleSignal(e))});I(1,"mat-icon",7);R(2);
H()}if(a&2){a=b.$implicit;b=N().$implicit;var d=N();pf("chippy rounded ",a.className," margin-s-right");mf("selected",d.selectedSignals.includes(b));F("matTooltip",SXa(b));z(1);F("svgIcon",a.icon);z(1);Bf(" ",a.text," (",d.signalCounts[b],") ")}},UXa=function(a,b){a&1&&(J(0),Q(1,TXa,3,9,"span",5),L());a&2&&(a=b.$implicit,b=N(),z(1),F("ngIf",b.SIGNAL_MAPPING[a]))},VXa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",9);M("onDismiss",function(){w(c);var e=N().$implicit,g=N();return y(g.dismissIssue(e.issueId))});
H();L()}if(a&2){a=b.$implicit;b=N().$implicit;var d=N();z(1);F("issue",b)("moreInfoIconSvg",a.icon)("moreInfoMessage",d.getSignalTypeTooltip(b.issueId))("moreInfoAccentColor",a.color)("disableDismiss",d.dismissInProgress[b.issueId])}},XXa=function(a,b){a&1&&(J(0),Q(1,VXa,2,5,"ng-container",8),L());a&2&&(b=b.$implicit,a=N(),z(1),b=WXa(a,b.issueId),F("ngIf",b?a.SIGNAL_MAPPING[b.signalType]:null))},YXa=function(a,b){a&1&&(G(0,"span",1),I(1,"mat-icon",2),H());a&2&&(a=b.ngIf,b=N(),pf("chippy rounded ",
a.className," margin-xs-right"),F("matTooltip",b.getSignalTypeTooltip()),z(1),F("svgIcon",a.icon))},ZXa=function(a,b){a&1&&(J(0),I(1,"b-signal-chip",8),L());a&2&&(a=b.$implicit,z(1),F("signal",a))},$Xa=function(a,b){a&1&&(G(0,"span"),Q(1,ZXa,2,1,"ng-container",7),H());a&2&&(a=b.row,b=N(2),z(1),F("ngIf",WXa(b,a.issueId)))},aYa=function(a,b){if(a&1){var c=v();J(0);G(1,"button",9);M("click",function(d){var e=w(c).$implicit,g=N().row;N(2).navigateToIssue(d,e,g);return y(d.stopPropagation())});R(2);H();
L()}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"}zf(" ",a," ")}},bYa=function(a,b){a&1&&(G(0,"span"),Q(1,aYa,3,1,"ng-container",7),H());a&2&&(a=b.row,b=N(2),z(1),F("ngIf",WXa(b,a.issueId)))},cYa=function(a){a&1&&(G(0,"flat-issues-table",5),Q(1,$Xa,2,1,"span",6),Q(2,bYa,2,1,"span",6),H());a&2&&(a=N(),mf("collapsed",a.hackyPrefs.prefs.collapsed[a.SECTION_SLUG]),F("issueIds",a.getIssueIdsToDisplay())("displayedColumns",
a.columnsToDisplay)("customColumns",a.customColumns),z(1),F("forViewCell","alert"),z(1),F("forViewCell","action"))},dYa=function(a){a&1&&(G(0,"p",10),R(1,"None"),H())},eYa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",4);M("onDismiss",function(){var d=w(c).$implicit,e=N();Ho(e.hackyPrefs,d.issueId);e.refreshMonitor.refreshRequest.next();return y()});H();L()}a&2&&(a=b.$implicit,z(1),F("issue",a))},fYa=function(a){a&1&&(J(0),R(1," No pinned issues. Click the 'pin' icon to add issues here. "),
L())},gYa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},hYa=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)},iYa=function(a){a&1&&(G(0,"h4",11),R(1,"Pinned"),H())},jYa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",12);M("onDismiss",function(){var d=w(c).$implicit,e=N(2);Ho(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return y()});H();
L()}a&2&&(a=b.$implicit,z(1),F("issue",a))},lYa=function(a){a&1&&(J(0),Q(1,iYa,2,0,"h4",8),S(2,"async"),G(3,"section",9),Q(4,jYa,2,1,"ng-container",10),S(5,"async"),H(),L());if(a&2){a=N();var b;z(1);F("ngIf",null!==(b=0<(null!==(b=T(2,2,a.pinnedIssues$))&&void 0!==b?b:Ef(6,kYa)).length)&&void 0!==b?b:!1);z(3);F("ngForOf",T(5,4,a.pinnedIssues$))}},mYa=function(a){if(a&1){var b=v();J(0);G(1,"button",13);M("click",function(c){w(b);var d=N().row,e=N();Ho(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();
return y(c.stopPropagation())});G(2,"mat-icon",14);R(3,"keep_off");H()();L()}},nYa=function(a){if(a&1){var b=v();J(0);G(1,"button",15);M("click",function(c){w(b);var d=N().row,e=N();pn(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return y(c.stopPropagation())});G(2,"mat-icon",14);R(3,"keep");H()();L()}},pYa=function(a,b){a&1&&(G(0,"span"),Q(1,mYa,4,0,"ng-container",1),Q(2,nYa,4,0,"ng-container",1),H());a&2&&(a=b.row,b=N(),z(1),F("ngIf",oYa(b,a.issueId)),z(1),F("ngIf",!oYa(b,a.issueId)))},qYa=
function(a,b){a&1&&(J(0),I(1,"flat-issues-table",5),L());a&2&&(a=b.ngIf,b=N(),z(1),mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),F("issueIds",a)("displayedColumns",b.columnsToDisplay))},rYa=function(a){a&1&&I(0,"b-spinner")},sYa=function(a){a&1&&(G(0,"div",4),I(1,"mat-icon",5),R(2),S(3,"async"),H());if(a&2){a=N();var b=yf(4);F("onedevHovercardTrigger",b);z(2);zf("",T(3,2,a.teamName$)," ")}},tYa=function(a,b){a&1&&I(0,"b-team-chip",7);a&2&&F("teamId",b.$implicit)},uYa=function(a){a&
1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," submitted "),I(5,"b-changelist-link",16),R(6," for "),G(7,"b-issue-reference-widget",17),R(8),H(),I(9,"b-formatted-date-time",18),H(),G(10,"p",19),R(11),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("email",b.clAuthorToEmailAddress(a.event));z(1);F("model",b.clAuthorToUser(a.event));z(2);F("changelistId",b.getClNumber(a.event));z(2);F("href","b/issues/{{event.issueId}}")("issueId",a.issueId);z(1);zf("b/",a.issueId,"");
z(1);F("timestamp",a.event.modifiedDate);z(2);Af(b.clEventToClDescription(a.event))}},vYa=function(a){a&1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," commented on "),G(5,"b-issue-reference-widget",17),R(6),H(),I(7,"b-formatted-date-time",18),H(),G(8,"p",19),R(9),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(1);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);
z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Af(a.event.unlinkifiedComment)}},wYa=function(a){a&1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," changed priority for "),G(5,"b-issue-reference-widget",17),R(6),H(),I(7,"b-formatted-date-time",18),H(),G(8,"p",20),R(9,"Priority changed from "),I(10,"b-issue-priority-display",21),R(11," to "),I(12,"b-issue-priority-display",21),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));
z(1);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(3);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));z(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},xYa=function(a){a&1&&(J(0),G(1,"div",2),I(2,"b-user-image",14)(3,"b-user-display",15),R(4," changed status for "),G(5,"b-issue-reference-widget",17),
R(6),H(),I(7,"b-formatted-date-time",18),H(),G(8,"p",20),R(9),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(1);F("model",a.event.userPerformingActionUser);z(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);z(1);zf("b/",a.issueId,"");z(1);F("timestamp",a.event.modifiedDate);z(2);Bf("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},yYa=function(a){a&1&&(J(0),G(1,"div",2),
I(2,"b-user-image",14)(3,"b-user-display",15),R(4),H(),L());if(a&2){a=N().$implicit;var b=N(2);z(2);F("email",b.getUserEmailIfAvailable(a.event));z(1);F("model",a.event.userPerformingActionUser);z(1);zf(" updated ",a.issueId," ")}},zYa=function(a,b){a&1&&(G(0,"div",10),J(1,11),Q(2,uYa,12,8,"ng-container",12),Q(3,vYa,10,7,"ng-container",12),Q(4,wYa,13,8,"ng-container",12),Q(5,xYa,10,8,"ng-container",12),Q(6,yYa,5,3,"ng-container",13),L(),H());a&2&&(a=b.$implicit,mf("margin-bottom",!b.last),z(1),F("ngSwitch",
a.eventType),z(1),F("ngSwitchCase","changelist"),z(1),F("ngSwitchCase","comment"),z(1),F("ngSwitchCase","priority"),z(1),F("ngSwitchCase","status"))},AYa=function(a){a&1&&(G(0,"div",8),Q(1,zYa,7,7,"div",9),H());a&2&&(a=N(),z(1),F("ngForOf",a.teamActivityEvents))},BYa=function(a,b){a&1&&I(0,"b-team-chip",12);a&2&&F("teamId",b.$implicit)},CYa=function(){},DYa=function(a){a&1&&Q(0,CYa,0,0,"ng-template")},FYa=function(a,b){a&1&&(G(0,"li"),Q(1,DYa,1,0,null,14),H());if(a&2){a=b.$implicit;N(2);var c=yf(38);
z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ff(2,EYa,a))}},GYa=function(a,b){a&1&&(G(0,"div")(1,"ol"),Q(2,FYa,2,4,"li",13),H()());a&2&&(a=b.$implicit,z(2),F("ngForOf",null==a?null:a.results))},HYa=function(){},IYa=function(a){a&1&&Q(0,HYa,0,0,"ng-template")},JYa=function(a,b){a&1&&(G(0,"li"),Q(1,IYa,1,0,null,14),H());if(a&2){a=b.$implicit;N(2);var c=yf(38);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ff(2,EYa,a))}},KYa=function(a,b){a&1&&(G(0,"div")(1,"ol"),Q(2,JYa,2,4,"li",13),
H()());a&2&&(a=b.$implicit,z(2),F("ngForOf",null==a?null:a.results))},LYa=function(a){a&1&&I(0,"b-issue-card",24,25);if(a&2){var b=yf(1);a=N().$implicit;F("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},MYa=function(a){a&1&&(G(0,"span",26),R(1),H());a&2&&(a=N().$implicit,z(1),zf("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},NYa=function(a){a&1&&(G(0,"span",26),R(1),H());a&2&&(a=N().$implicit,z(1),zf("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length,
" Duplicates)"))},OYa=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.$implicit,b=N(2),pf("chippy status-",a,""),z(1),zf(" ",b.STATUS_TERSE[a]," "))},PYa=function(a,b){a&1&&(G(0,"onedev-hovercard",null,15),Q(2,LYa,2,2,"b-issue-card",16),H(),G(3,"div",17)(4,"span",18)(5,"span"),R(6),H(),G(7,"span",19),R(8),H()(),G(9,"span")(10,"a",20),R(11),H(),Q(12,MYa,2,1,"span",21),Q(13,NYa,2,1,"span",21),H(),G(14,"span",22),Q(15,OYa,2,4,"span",23),H()());if(a&2){a=b.$implicit;var c=yf(1);N();z(5);b=a.snapshot[0].priority;
b=null!=b?$ra[b]:void 0;pf("p-chip priority-",b," margin-s-right");z(1);zf(" ",a.snapshot[0].priority," ");z(2);Af(a.issueId);z(2);vf("href","/issues/",a.issueId,"",Id);F("onedevHovercardTrigger",c);z(1);Af(a.snapshot[0].title);z(1);var d,e;b=0<(null!=(e=null==(d=a.aggregatedData)?void 0:d.voteCount)?e:0);F("ngIf",b);z(1);var g;d=0<(null!=(g=null==a?void 0:a.snapshot[0].duplicateIssueId)?g:[]).length;F("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?gj[g]:void 0;F("ngIf",g)}},QYa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},RYa=function(a,b){if(a&1){var c=v();J(0);G(1,"issue-card-compact",5);M("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();L()}a&2&&(a=b.$implicit,z(1),F("issue",a)("onlyTitle",!0))},
SYa=function(a){if(a&1){var b=v();J(0);I(1,"br");R(2," Some tasks are hidden, ");G(3,"a",11);M("click",function(){w(b);var c=N(3);return y(c.showHiddenTasks.emit())});R(4,"show hidden tasks");H();R(5,"? ");L()}},TYa=function(a){a&1&&(G(0,"mat-header-cell",8),I(1,"img",9),G(2,"div"),R(3," No tasks available that meet the criteria. "),Q(4,SYa,6,0,"ng-container",10),H()());a&2&&(a=N(2),z(4),F("ngIf",a.areTasksHidden))},UYa=function(a){a&1&&I(0,"mat-cell")},VYa=function(a){a&1&&I(0,"mat-header-row",12)},
WYa=function(a){a&1&&I(0,"mat-row")},ZYa=function(a){a&1&&(G(0,"mat-table",2),J(1,3),Q(2,TYa,5,1,"mat-header-cell",4),Q(3,UYa,1,0,"mat-cell",5),L(),Q(4,VYa,1,0,"mat-header-row",6),Q(5,WYa,1,0,"mat-row",7),H());a&2&&(F("dataSource",Ef(3,XYa)),z(4),F("matHeaderRowDef",Ef(4,YYa)),z(1),F("matRowDefColumns",Ef(5,YYa)))},$Ya=function(a){a&1&&(G(0,"mat-header-cell"),R(1,"Task title"),H())},aZa=function(a,b){if(a&1){var c=v();G(0,"mat-cell")(1,"div",19);I(2,"mat-icon",20);S(3,"taskIcon");G(4,"span",21)(5,
"a",22);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.logTaskOpenedMetric(d))});R(6);H()()()()}a&2&&(a=b.$implicit,z(2),F("svgIcon",T(3,3,a)),z(3),F("href",a.resourceUrl,Id),z(1),zf(" ",a.title," "))},bZa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Signals "),H())},cZa=function(a,b){a&1&&(G(0,"div",24),R(1),H());a&2&&(a=b.$implicit,F("matTooltip",a.tooltipText)("matTooltipDisabled",!a.tooltipText),z(1),zf(" ",a.text," "))},dZa=function(a,b){a&1&&(G(0,"mat-cell"),Q(1,cZa,2,3,"div",
23),H());a&2&&(a=b.$implicit,z(1),F("ngForOf",a.signals))},eZa=function(a){a&1&&(G(0,"mat-header-cell"),R(1," Actions "),H())},fZa=function(a){if(a&1){var b=v();G(0,"button",27);M("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),F("svgIcon","show_task"))},gZa=function(a){if(a&1){var b=v();G(0,"button",28);M("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),F("svgIcon","hide_task"))},
hZa=function(a,b){a&1&&(G(0,"mat-cell"),Q(1,fZa,2,1,"button",25),S(2,"async"),Q(3,gZa,2,1,"ng-template",null,26,Vf),H());if(a&2){a=b.$implicit;var c=yf(4);z(1);F("ngIf",T(2,2,a.isHidden$))("ngIfElse",c)}},iZa=function(a){a&1&&I(0,"mat-header-row")},jZa=function(a,b){a&1&&(G(0,"mat-row"),S(1,"async"),H());a&2&&mf("hidden-task",T(1,2,b.$implicit.isHidden$))},kZa=function(a){a&1&&(G(0,"mat-table",2),J(1,13),Q(2,$Ya,2,0,"mat-header-cell",14),Q(3,aZa,7,5,"mat-cell",5),L(),J(4,15),Q(5,bZa,2,0,"mat-header-cell",
14),Q(6,dZa,2,1,"mat-cell",5),L(),J(7,16),Q(8,eZa,2,0,"mat-header-cell",14),Q(9,hZa,5,4,"mat-cell",5),L(),Q(10,iZa,1,0,"mat-header-row",17),Q(11,jZa,2,4,"mat-row",18),H());a&2&&(a=N(),F("dataSource",a.tasks),z(10),F("matHeaderRowDef",a.displayedColumns),z(1),F("matRowDefColumns",a.displayedColumns))},lZa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new E.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)})},mZa=function(a){a&1&&(J(0),R(1,"Recommended Tasks"),L())},nZa=function(a){a&1&&(J(0),R(1,"Needs My Input"),L())},oZa=function(a){a&1&&I(0,"mat-progress-spinner",5);a&2&&F("diameter",16)},pZa=function(a){a&1&&(J(0),R(1,"Less"),L())},qZa=function(a){a&1&&(J(0),R(1,"More"),L())},rZa=function(a){if(a&1){var b=v();G(0,"button",8);M("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()});R(1," View ");Q(2,pZa,2,0,"ng-container",2);Q(3,qZa,2,0,"ng-container",2);H()}a&2&&(a=N().ngIf,z(2),F("ngIf",a.viewAll),z(1),F("ngIf",!a.viewAll))},sZa=function(a){a&1&&(J(0),R(1,"Hide"),L())},tZa=function(a){a&1&&(J(0),R(1,"Show"),L())},uZa=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=N().ngIf,d=N(2);return y(d.setShowHidden(!c.showHidden))});Q(1,sZa,2,0,"ng-container",2);Q(2,tZa,2,0,"ng-container",2);R(3,
" Hidden Tasks ");H()}a&2&&(a=N().ngIf,z(1),F("ngIf",a.showHidden),z(1),F("ngIf",!a.showHidden))},vZa=function(a){a&1&&(J(0),Q(1,rZa,4,2,"button",6),S(2,"async"),Q(3,uZa,4,2,"button",7),S(4,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,2,a.areTasksFiltered$)),z(2),F("ngIf",T(4,4,a.areTasksHidden$)))},xZa=function(a){a&1&&(uf(0),Q(1,vZa,5,6,"ng-container",2),S(2,"async"),S(3,"async"));a&2&&(a=N(),z(1),F("ngIf",Gf(5,wZa,T(2,1,a.showHidden$),T(3,3,a.viewAll$))))},yZa=function(a){if(a&1){var b=v();J(0);
G(1,"tp-task-table",10);M("showHiddenTasks",function(){w(b);var e=N(2);return y(e.setShowHidden(!0))});S(2,"async");H();L()}if(a&2){a=N().ngIf;var c=N(),d;z(1);F("tasks",a.tasks)("showZeroState",!!a.areAllTasksLoaded&&0===a.tasks.length)("areTasksHidden",null!==(d=T(2,3,c.areTasksHidden$))&&void 0!==d?d:!1)}},zZa=function(a,b){a&1&&(J(0),Q(1,yZa,3,5,"ng-container",2),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.tasks&&(0<a.tasks.length||a.areAllTasksLoaded)))},BZa=function(a,b){if(a&1){var c=v();G(0,"div",
42);I(1,"span",43);G(2,"button",44);M("click",function(){w(c);var d=N(2);AZa(d.userFeedback);return y()});R(3," Give feedback ");H()()}a&2&&(a=b.$implicit,z(1),F("innerHtml",a,Hd))},CZa=function(a){if(a&1){var b=v();G(0,"button",45);M("click",function(){w(b);var c=N(2);AZa(c.userFeedback);return y()});R(1," Give feedback ");H()}},DZa=function(a,b){if(a&1){var c=v();G(0,"button",46);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.prefs.sectionA=d)});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",
a," "))},EZa=function(a,b){if(a&1){var c=v();G(0,"button",46);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.prefs.sectionW=d)});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",a," "))},FZa=function(a,b){if(a&1){var c=v();G(0,"button",46);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.prefs.sectionT=d)});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",a," "))},GZa=function(a){a&1&&I(0,"working-on-this-week")},HZa=function(a){a&1&&I(0,"pinned-issues")},IZa=function(a){a&1&&I(0,"needs-attention-widget")},
JZa=function(a){a&1&&I(0,"needs-attention-table")},KZa=function(a){a&1&&I(0,"mvp-needs-attention")},LZa=function(a){a&1&&(G(0,"section",47),Q(1,GZa,1,0,"working-on-this-week",37),Q(2,HZa,1,0,"pinned-issues",37),Q(3,IZa,1,0,"needs-attention-widget",37),Q(4,JZa,1,0,"needs-attention-table",37),Q(5,KZa,1,0,"mvp-needs-attention",37),H());a&2&&(a=N(2),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("working-on-this-week")),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("pinned-issues")),
z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-cards")),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-table")),z(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("mvp-needs-attention")))},MZa=function(a){a&1&&I(0,"my-projects",48)},NZa=function(a){a&1&&I(0,"my-projects-as-cards")},OZa=function(a){a&1&&I(0,"my-projects-as-tabs",49)},PZa=function(a){a&1&&(G(0,"h2"),R(1," My issues "),H())},QZa=function(a){a&
1&&I(0,"working-on-this-week")},RZa=function(a){if(a&1){var b=v();G(0,"pinned-issues",50,51);M("cdkDropListDropped",function(c){w(b);var d=N(2);pn(d.hackyPrefs,c.previousContainer.data[c.previousIndex].issueId);d.refreshMonitor.refreshRequest.next();return y()});H()}},SZa=function(a){a&1&&I(0,"recently-viewed-i-own")},TZa=function(a){a&1&&I(0,"suggested-issues")},UZa=function(a){a&1&&I(0,"my-tasks-area",49)},VZa=function(a){a&1&&I(0,"my-work-card",52);a&2&&F("assignedOnly",!0)},WZa=function(a){a&
1&&I(0,"my-work-card",52);a&2&&F("assignedOnly",!1)},XZa=function(a){a&1&&I(0,"team-inbox",55)},YZa=function(a,b){a&1&&(G(0,"div",57),R(1),H());a&2&&(a=b.ngIf,z(1),zf(" ",a," "))},ZZa=function(a){a&1&&(G(0,"tp-needs-attention",55),Q(1,YZa,2,1,"div",56),S(2,"async"),H());a&2&&(a=N(3),z(1),F("ngIf",T(2,1,a.taskPrioritizationTasksCount$)))},$Za=function(a){a&1&&I(0,"team-activity-stream",55)},a_a=function(a){a&1&&I(0,"b-activity-stream",55)},b_a=function(a){a&1&&I(0,"my-tasks-area",49)},c_a=function(a){a&
1&&I(0,"my-work-card",52);a&2&&F("assignedOnly",!0)},d_a=function(a){a&1&&I(0,"my-work-card",52);a&2&&F("assignedOnly",!1)},e_a=function(a){a&1&&I(0,"mvp-my-tasks")},f_a=function(a){a&1&&I(0,"mvp-my-work")},g_a=function(a){a&1&&(G(0,"section",53),Q(1,XZa,1,0,"team-inbox",54),Q(2,ZZa,3,3,"tp-needs-attention",54),Q(3,$Za,1,0,"team-activity-stream",54),Q(4,a_a,1,0,"b-activity-stream",54),Q(5,b_a,1,0,"my-tasks-area",38),Q(6,c_a,1,1,"my-work-card",40),Q(7,d_a,1,1,"my-work-card",40),Q(8,e_a,1,0,"mvp-my-tasks",
37),Q(9,f_a,1,0,"mvp-my-work",37),H());a&2&&(a=N(2),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-inbox")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("tp-my-work")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-activity-stream")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("activity-stream")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("my-tasks-area")),z(1),F("ngIf",null==
a.prefs.sectionT?null:a.prefs.sectionT.includes("assigned-to-me")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("recent-stuff-i-follow")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-tasks")),z(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-work")))},j_a=function(a){if(a&1){var b=v();G(0,"article",2)(1,"header",3);Q(2,BZa,4,1,"div",4);Q(3,CZa,2,0,"ng-template",null,5,Vf);G(5,"form",6);M("submit",function(){w(b);var d=
N(),e=d.ldapOverride;null!=e&&(document.location.search="?ldap="+e,d.hackyPrefs.init(e));return y()});G(6,"input",7);M("ngModelChange",function(d){w(b);var e=N();return y(e.ldapOverride=d)});H();I(7,"input",8);H();G(8,"button",9);M("click",function(){w(b);var d=N();d.showSettings=!d.showSettings;return y(d.log(d.prefs))});I(9,"mat-icon",10);H()();G(10,"aside",11)(11,"div",12)(12,"h2",13);R(13," Dashboard Settings ");H();G(14,"p",13);R(15," Layout: ");G(16,"mat-button-toggle-group",14);M("change",
function(d){w(b);var e=N();return y(cp(e.hackyPrefs,{layout:d.value}))});G(17,"mat-button-toggle",15)(18,"mat-icon",16);R(19,"space_dashboard");H()();G(20,"mat-button-toggle",17)(21,"mat-icon",16);R(22,"view_stream");H()();G(23,"mat-button-toggle",18);I(24,"mat-icon",19);H()();I(25,"br");R(26," Show Hidden Settings: ");G(27,"mat-button-toggle-group",20);M("change",function(d){w(b);var e=N();cp(e.hackyPrefs,{showHiddenSettings:d.value});e.showSettings=!1;return y()});G(28,"mat-button-toggle",21);R(29,
" Yes ");H();G(30,"mat-button-toggle",22);R(31," No ");H()()();G(32,"form",23);M("submit",function(){w(b);var d=N();console.log("Saving settings",d.prefs);d.showSettings=!1;d.hackyPrefs.save(d.prefs);return y()});G(33,"div",13)(34,"h2");R(35," Widgets in Each Section ");H();G(36,"label");R(37,"A: Alerts - Zero Inbox");H();G(38,"div",24)(39,"input",25);M("ngModelChange",function(d){w(b);var e=N();return y(e.prefs.sectionA=d)});H();G(40,"span",26);Q(41,DZa,2,1,"button",27);H()();G(42,"label");R(43,
"W: My Work - Big Rocks");H();G(44,"div",24)(45,"input",25);M("ngModelChange",function(d){w(b);var e=N();return y(e.prefs.sectionW=d)});H();G(46,"span",26);Q(47,EZa,2,1,"button",27);H()();G(48,"label");R(49,"T: Team - Broader awareness, opportunity");H();G(50,"div",24)(51,"input",25);M("ngModelChange",function(d){w(b);var e=N();return y(e.prefs.sectionT=d)});H();G(52,"span",26);Q(53,FZa,2,1,"button",27);H()()();G(54,"button",28);R(55,"Close");H();G(56,"a",29);R(57,"Power edit");H();G(58,"button",
30);M("click",function(){w(b);var d=N();return y(h_a(d))});R(59,"Clear all settings");H();G(60,"button",31);M("click",function(){w(b);N().refreshMonitor.refreshRequest.next();return y()});I(61,"mat-icon",32);H()()()();G(62,"div",33);Q(63,LZa,6,5,"section",34);G(64,"section",35);Q(65,MZa,1,0,"my-projects",36);Q(66,NZa,1,0,"my-projects-as-cards",37);Q(67,OZa,1,0,"my-projects-as-tabs",38);Q(68,PZa,2,0,"h2",37);Q(69,QZa,1,0,"working-on-this-week",37);Q(70,RZa,2,0,"pinned-issues",39);Q(71,SZa,1,0,"recently-viewed-i-own",
37);Q(72,TZa,1,0,"suggested-issues",37);Q(73,UZa,1,0,"my-tasks-area",38);Q(74,VZa,1,1,"my-work-card",40);Q(75,WZa,1,1,"my-work-card",40);H();Q(76,g_a,10,9,"section",41);H()()}if(a&2){var c=yf(4);a=N();mf("settings-open",a.showSettings)("show-hidden-settings",a.prefs.showHiddenSettings);z(2);F("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);F("ngModel",a.ldapOverride)("ngModelOptions",
Ef(45,i_a));z(2);mf("active",a.showSettings);z(2);mf("collapsed",!a.showSettings);z(7);F("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-a"));z(3);F("checked",null==a.prefs.layout||a.prefs.layout.includes("-b"));z(3);F("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-c"));z(5);F("value",!0)("checked",a.prefs.showHiddenSettings);z(2);F("value",!1)("checked",!a.prefs.showHiddenSettings);z(9);F("ngModel",a.prefs.sectionA)("ngModelOptions",Ef(46,i_a));z(2);F("ngForOf",a.VALID_WIDGETS_A);
z(4);F("ngModel",a.prefs.sectionW)("ngModelOptions",Ef(47,i_a));z(2);F("ngForOf",a.VALID_WIDGETS_W);z(4);F("ngModel",a.prefs.sectionT)("ngModelOptions",Ef(48,i_a));z(2);F("ngForOf",a.VALID_WIDGETS_T);z(3);vf("href","/issues/",a.prefs.id,"",Id);z(6);pf("grid padded margin-top ",a.prefs.layout,"");z(1);F("ngIf",a.isCurrentUserHomepage);z(2);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tree"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-cards"));
z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tabs"));z(1);F("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);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("working-on-this-week"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own"));
z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("suggested-issues"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-tasks-area"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("assigned-to-me"));z(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recent-stuff-i-follow"));z(1);F("ngIf",a.isCurrentUserHomepage)}},k_a=function(a){a&1&&(G(0,"button",16)(1,"span"),R(2,"Edit"),H(),I(3,"b-icon",17),H());if(a&2){a=N();var b=
yf(7);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},l_a=function(a){a&1&&(G(0,"button",16)(1,"span"),R(2,"Link"),H(),I(3,"b-icon",17),H());if(a&2){a=N();var b=yf(69);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},m_a=function(a){a&1&&(G(0,"button",16)(1,"span"),R(2,"CC"),H(),I(3,"b-icon",17),H());if(a&2){a=N();var b=yf(85);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},n_a=function(a){if(a&1){var b=v();G(0,"button",3);M("click",function(){w(b);var c=N();return y(c.bulkEdit("ESTIMATED_EFFORT"))});
R(1,"Estimated Effort");H()}},o_a=function(a,b){if(a&1){var c=v();G(0,"button",3);M("click",function(){var d=w(c).$implicit,e=N();return y(e.quickBulkEdit("PRIORITY",d))});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",a," "))},p_a=function(a,b){if(a&1){var c=v();G(0,"button",3);M("click",function(){var d=w(c).$implicit,e=N();return y(e.quickBulkEdit("SEVERITY",d))});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",a," "))},q_a=function(a,b){if(a&1){var c=v();G(0,"button",3);M("click",function(){var d=w(c).$implicit,
e=N();return y(e.quickBulkEdit("STATUS",d))});R(1);H()}a&2&&(a=b.$implicit,b=N(),z(1),zf(" ",b.STATUS_FULL_TEXT[a]," "))},r_a=function(a,b){if(a&1){var c=v();G(0,"button",18);M("click",function(){var e=w(c).$implicit,g=N();return y(g.quickBulkEdit("TYPE",e))});R(1);H()}if(a&2){a=b.$implicit;b=N();var d;F("matTooltip",null!==(d=b.constants.protoIssueTypesShortDescriptions.get(a))&&void 0!==d?d:"");z(1);zf(" ",b.constants.protoIssueTypesDisplayNames.get(a)," ")}},s_a=function(a){if(a&1){var b=v();G(0,
"button",5);M("click",function(){w(b);var c=N(2);return y(c.exportCsvClicked.emit())});R(1,"Export issues to CSV ");H()}},t_a=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=N(2);return y(c.flagAsSpamClicked.emit())});R(1,"Flag issues as spam ");H()}},u_a=function(a){a&1&&(J(0),G(1,"button",1)(2,"span"),R(3,"More"),H(),I(4,"b-icon",2),H(),G(5,"mat-menu",null,3),Q(7,s_a,2,0,"button",4),Q(8,t_a,2,0,"button",4),H(),L());if(a&2){var b=yf(6);a=N();z(1);F("disabled",a.isAnonymous)("matMenuTriggerFor",
b);z(6);F("ngIf",a.showExportCsv);z(1);F("ngIf",a.showFlagIssuesAsSpam)}},v_a=function(a){a&1&&(J(0),R(1," Network connection has been interrupted. "),L())},w_a=function(a){a&1&&R(0," Network connection has been interrupted or login credentials may have expired. ")},z_a=function(a){if(a&1){var b=v();G(0,"button",5);M("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=Xca("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:"/refreshSso")||Yca;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("Rd");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(",");la()&&c.navigator&&c.navigator.standalone&&g&&"_self"!=g?(d=Ln(document,"A"),e=e instanceof Tb?e:x_a(e),d.href=Ub(e),d.target=g,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),d.dispatchEvent(e)):h?(c=y_a("",c,g,q),e=Ub(e),c&&(dp&&fa(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=yg('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
ep(e)+'">'),(c=c.document)&&c.write&&(c.write(dk(e)),c.close()))):((c=y_a(e,c,g,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return y()});R(1," Log in again ");H()}},A_a=function(a){a&1&&(G(0,"b-callout",1)(1,"b-callout-body"),Q(2,v_a,2,0,"ng-container",2),Q(3,w_a,1,0,"ng-template",null,3,Vf),H(),G(5,"b-callout-actions"),Q(6,z_a,2,0,"button",4),H()());if(a&2){var b=yf(4);a=N();F("messageType","error");z(2);F("ngIf",a.isAnonymous)("ngIfElse",b);z(4);F("ngIf",!a.isAnonymous)}},
B_a=function(a){a&1&&(G(0,"a",1),R(1," Hiring!\n"),H())},C_a=function(a,b){a&1&&(G(0,"tr")(1,"td",5),R(2),H(),G(3,"td"),R(4,":"),H(),G(5,"td",6),R(6),H()());a&2&&(a=b.$implicit,z(2),Af(a.displayAs),z(4),Af(a.description))},D_a=function(a,b){a&1&&(G(0,"thead")(1,"tr"),I(2,"th",3),G(3,"th",4),R(4),H()(),Q(5,C_a,7,2,"tr",1),H());a&2&&(a=b.$implicit,z(4),Af(a.title),z(1),F("ngForOf",a.hotkeys))},G_a=function(a,b){var c=new E_a;F_a(c,a,b);return c},F_a=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=ul[d.status])?0:h.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=
Zh(d.reporterUser);a.assignee=Zh(d.assigneeUser);a.assigneeEmail=ci(d.assigneeUser);a.verifier=Zh(d.verifierUser);a.verifierEmail=ci(d.verifierUser);a.cc=$h(d.ccUsers);a.collaborator=$h(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=Zh(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.hotlists=[];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)},H_a=function(a){a&1&&I(0,"bug-screensaver")},I_a=function(a,b){a&1&&(G(0,"div")(1,"span",3),R(2,"|"),H(),G(3,"a",6),R(4,"Code of Conduct"),H()());a&2&&(a=b.ngIf,z(3),F("href",a,Id))},J_a=function(a){a&1&&(G(0,"footer"),I(1,"img",1),S(2,"async"),G(3,"span",2),R(4),S(5,"async"),H(),
R(6," Powered by Google "),G(7,"span",3),R(8,"|"),H(),G(9,"a",4),R(10,"Privacy"),H(),G(11,"span",3),R(12,"|"),H(),G(13,"a",5),R(14,"Terms"),H(),Q(15,I_a,5,1,"div",0),S(16,"async"),H());a&2&&(a=N(),z(1),F("src",T(2,3,a.trackerLogo$),Id),z(3),zf("",T(5,5,a.trackerName$)," Issue Tracker"),z(11),F("ngIf",T(16,7,a.trackerCoc$)))},K_a=function(a){var b;return null!=(b=hi(a))?b:null},L_a=function(a){var b;return null!=(b=ii(a))?b:null},M_a=function(a,b){if(a&1){var c=v();J(0);G(1,"b-fab-segmented",1);M("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();L()}if(a&2){a=b.ngIf;b=N().ngIf;var d=N().ngIf,e=N();z(1);F("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},N_a=function(a){a&1&&(J(0),Q(1,M_a,2,4,"ng-container",0),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.buttonIcon$)))},O_a=function(a){a&1&&(J(0),Q(1,N_a,3,3,"ng-container",0),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,1,a.buttonLabel$)))},
P_a=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},Q_a=function(a){return a.map(P_a)},R_a=function(a){var b={name:a.getName(),description:a.getDescription()};1===Ai(a,fp)?b.hotlistId=Number(a.getHotlistId()):4===Ai(a,fp)&&(b.savedSearchId=Number(wi(a,ko(a,fp,4))));return b},S_a=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(R_a),adminUsers:di(a.getAdminUsersList())}},T_a=function(a){var b=new gp;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&&Xn(b,4,fp,String(a.savedSearchId));return b},U_a=function(a){var b;return(null!=(b=a.getBookmarkGroupsList())?b:[]).map(S_a)},V_a=function(a){a&1&&rf(0)},W_a=function(a){a&1&&
rf(0)},X_a=function(a){a&1&&(J(0),Q(1,W_a,1,0,"ng-container",1),L());a&2&&(a=N(),z(1),F("ngTemplateOutlet",a.content))},Y_a=function(a){a&1&&R(0," Archived ")},Z_a=function(a){a&1&&(G(0,"button",16),M("click",function(c){return c.stopPropagation()}),I(1,"mat-icon",17),H());if(a&2){N();var b=yf(5);F("matMenuTriggerFor",b)}},$_a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=N(3).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},a0a=function(a){if(a&1){var b=v();
G(0,"button",18);M("click",function(){w(b);var c=N(3).$implicit;return y(c.unarchive())});R(1," Unarchive ");H()}},b0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");H();G(2,"button",18);M("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");H();G(4,"button",18);M("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.openEditBookmarkGroup(c.id))});
R(5," Settings ");H();Q(6,$_a,2,0,"button",19);Q(7,a0a,2,0,"button",19)}a&2&&(a=N(2).$implicit,z(6),F("ngIf",a.isUnstarable()),z(1),F("ngIf",a.isEditable()))},c0a=function(a){a&1&&(G(0,"div",11)(1,"span",12),R(2),H(),Q(3,Z_a,2,1,"button",13),G(4,"mat-menu",null,14),Q(6,b0a,8,2,"ng-template",15),H()());a&2&&(a=N().$implicit,ef("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),z(2),Af(a.name),z(1),F("ngIf",a))},d0a=function(a,b){if(a&1){var c=v();G(0,"li",22)(1,"a",23);M("click",function(d){var e=
w(c).$implicit,g=N(5);return y(g.onAnchorClick(e.href,d))});G(2,"span",12);R(3);H()()()}a&2&&(a=b.$implicit,b=N(2).$implicit,mf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),Vja("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.name),z(1),F("href",a.href,Id),z(2),zf(" ",a.name," "))},e0a=function(a){a&1&&(G(0,"ul",20),Q(1,d0a,4,12,"li",21),H());a&2&&(a=N().$implicit,z(1),F("ngForOf",
a.items))},f0a=function(a,b){a&1&&(G(0,"li",7)(1,"sidebar-zippy",8),Q(2,c0a,7,3,"ng-template",null,9,Vf),Q(4,e0a,2,1,"ng-template",null,10,Vf),H()());if(a&2){a=b.$implicit;var c=yf(3),d=yf(5);F("title",a.name);z(1);F("header",c)("content",d)}},g0a=function(a){a&1&&(G(0,"button",28),I(1,"mat-icon",17),H());if(a&2){N();var b=yf(6);F("matMenuTriggerFor",b)}},h0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=N(2).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},
i0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=N(2).$implicit;return y(c.unarchive())});R(1," Unarchive ");H()}},j0a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=N().$implicit,d=N(3);return y(d.openEditHotlist(c.id))});R(1," Settings ");H();Q(2,h0a,2,0,"button",19);Q(3,i0a,2,0,"button",19)}a&2&&(a=N().$implicit,z(2),F("ngIf",a.isUnstarable()),z(1),F("ngIf",a.isEditable()))},k0a=function(a,b){if(a&1){var c=v();G(0,"li",24)(1,"a",
25);M("click",function(d){var e=w(c).$implicit,g=N(3);return y(g.onAnchorClick(e.href,d))});G(2,"span",12);R(3);H()();Q(4,g0a,2,1,"button",26);G(5,"mat-menu",null,27);Q(7,j0a,4,2,"ng-template",15);H()()}a&2&&(a=b.$implicit,mf("selected",a.isSelected()),vf("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),F("title",a.name),z(1),F("href",a.href,Id),z(2),Af(a.name),z(1),F("ngIf",a))},l0a=function(a){a&1&&(G(0,"ul",4),Q(1,f0a,6,3,"li",5),Q(2,k0a,8,7,"li",6),H());a&2&&(a=N(2),z(1),F("ngForOf",a.bookmarkGroups),
z(1),F("ngForOf",a.hotlists))},m0a=function(a){a&1&&(G(0,"div"),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,Y_a,1,0,"ng-template",null,2,Vf),Q(5,l0a,3,2,"ng-template",null,3,Vf),H()());if(a&2){var b=yf(4),c=yf(6);z(2);F("header",b)("content",c)}},n0a=function(a){a&1&&I(0,"b-spinner")},o0a=function(a){if(a&1){var b=v();G(0,"b-star-toggle",15);M("starClicked",function(){w(b);var c=N().$implicit,d=N();return y(d.toggleStar(c))});H()}a&2&&(a=N().$implicit,F("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",
a.isStarred))},p0a=function(a){a&1&&I(0,"b-hotlist-card",16);a&2&&(a=N().$implicit,F("hotlist",a))},q0a=function(a){a&1&&I(0,"b-bookmark-group-card",17);a&2&&(a=N().$implicit,F("bookmarkGroup",a))},r0a=function(a,b){a&1&&(G(0,"mat-option",8)(1,"div",9),Q(2,o0a,1,3,"b-star-toggle",10),G(3,"onedev-hovercard",null,11),Q(5,p0a,1,1,"b-hotlist-card",12),Q(6,q0a,1,1,"b-bookmark-group-card",13),H(),G(7,"span",14),R(8),H()()());if(a&2){a=b.$implicit;var c=yf(4);b=N();F("value",a);z(1);mf("bv2-bookmark-group",
b.showHotlists&&a.isGroup);z(1);F("ngIf",b.shouldShowStar(a));z(3);F("ngIf",!a.isGroup);z(1);F("ngIf",!!a.isGroup);z(1);F("onedevHovercardTrigger",c);z(1);Af(a.name)}},s0a=function(){return Fia(function(){return(0,E.from)(Promise.resolve(void 0))})},t0a=function(a){a&1&&I(0,"a",1)},u0a=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);M("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),F("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},v0a=function(a){if(a&1){var b=v();G(0,"span");R(1,"Bookmark groups");H();G(2,"b-hotlist-search-popup",4);M("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),F("showHotlists",!1))},w0a=function(a){a&1&&(G(0,"button",17),M("click",
function(c){return c.stopPropagation()}),I(1,"mat-icon",18),H());if(a&2){N();var b=yf(5);F("matMenuTriggerFor",b)}},x0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=N(3).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},y0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=N(3).$implicit;return y(c.archive())});R(1," Archive ");H()}},z0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=N(3).$implicit;
return y(c.setAsPreferredHomepage())});R(1," Set as homepage ");H()}},A0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");H();G(2,"button",19);M("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");H();G(4,"button",19);M("click",function(){w(b);var c=N(2).$implicit,d=N(3);return y(d.editBookmarkGroup(c.id))});R(5," Settings ");
H();Q(6,x0a,2,0,"button",20);Q(7,y0a,2,0,"button",20);Q(8,z0a,2,0,"button",20)}a&2&&(a=N(2).$implicit,z(6),F("ngIf",a.isUnstarable()),z(1),F("ngIf",a.isEditable()),z(1),F("ngIf",!a.isPreferredHomepage()))},B0a=function(a){a&1&&(G(0,"div",12)(1,"span",13),R(2),H(),Q(3,w0a,2,1,"button",14),G(4,"mat-menu",null,15),Q(6,A0a,9,3,"ng-template",16),H()());a&2&&(a=N().$implicit,ef("id","bv2-user-bookmarkgroup-item-",a.id,""),z(2),Af(a.name),z(1),F("ngIf",a))},C0a=function(a){a&1&&(G(0,"button",27),I(1,"mat-icon",
18),H());if(a&2){N();var b=yf(6);F("matMenuTriggerFor",b)}},D0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=N(2).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},E0a=function(a){if(a&1){var b=v();G(0,"button",19);M("click",function(){w(b);var c=N(2).$implicit;return y(c.setAsPreferredHomepage())});R(1," Set as homepage ");H()}},F0a=function(a){if(a&1){var b=v();G(0,"button",19);M("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()});R(1," Settings ");H();Q(2,D0a,2,0,"button",20);Q(3,E0a,2,0,"button",20)}a&2&&(a=N().$implicit,z(2),F("ngIf",a.isUnstarable()),z(1),F("ngIf",!a.isPreferredHomepage()))},G0a=function(a,b){if(a&1){var c=v();G(0,"li",23)(1,"a",24);M("click",function(d){var e=w(c).$implicit,g=N(5);return y(g.onAnchorClick(e.href,d))});G(2,"span",13);R(3);H()();Q(4,C0a,2,1,"button",25);G(5,"mat-menu",null,26);Q(7,F0a,4,2,"ng-template",16);H()()}a&2&&(a=b.$implicit,
b=N(2).$implicit,mf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),Vja("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.name),z(1),F("href",a.href,Id),z(2),zf(" ",a.name," "),z(1),F("ngIf",b))},H0a=function(a){a&1&&(G(0,"ul",21),Q(1,G0a,8,13,"li",22),H());a&2&&(a=N().$implicit,z(1),F("ngForOf",a.items))},I0a=function(a,b){a&1&&(G(0,"li",8)(1,"sidebar-zippy",9),Q(2,B0a,7,3,
"ng-template",null,10,Vf),Q(4,H0a,2,1,"ng-template",null,11,Vf),H()());if(a&2){a=b.$implicit;var c=yf(3),d=yf(5);F("title",a.name);z(1);F("header",c)("content",d)("expanded",!1)}},J0a=function(a){a&1&&(G(0,"ul",6),Q(1,I0a,6,4,"li",7),H());a&2&&(a=N(2),z(1),F("ngForOf",a.bookmarkGroups))},K0a=function(a){a&1&&Q(0,J0a,2,1,"ul",5);a&2&&(a=N(),F("ngIf",a.bookmarkGroups))},L0a=function(a){if(a&1){var b=v();G(0,"span");R(1,"Hotlists");H();G(2,"b-hotlist-search-popup",4);M("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),F("showGroups",!1))},M0a=function(a){a&1&&(G(0,"button",14),I(1,"mat-icon",15),H());if(a&2){N();var b=yf(6);F("matMenuTriggerFor",b)}},N0a=function(a){if(a&1){var b=v();G(0,"button",16);M("click",function(){w(b);var c=N(2).$implicit;return y(c.unstar())});R(1," Unstar ");H()}},O0a=function(a){if(a&1){var b=v();G(0,"button",16);M("click",
function(){w(b);var c=N(2).$implicit;return y(c.setAsPreferredHomepage())});R(1," Set as homepage ");H()}},P0a=function(a){if(a&1){var b=v();G(0,"button",16);M("click",function(){w(b);var c=N().$implicit,d=N(3);return y(d.openEditHotlist(c.id))});R(1," Settings ");H();Q(2,N0a,2,0,"button",17);Q(3,O0a,2,0,"button",17)}a&2&&(a=N().$implicit,z(2),F("ngIf",a.isUnstarable()),z(1),F("ngIf",!a.isPreferredHomepage()))},Q0a=function(a,b){if(a&1){var c=v();G(0,"li",8)(1,"a",9);M("click",function(d){var e=w(c).$implicit,
g=N(3);return y(g.onAnchorClick(e.href,d))});G(2,"span",10);R(3);H()();Q(4,M0a,2,1,"button",11);G(5,"mat-menu",null,12);Q(7,P0a,4,2,"ng-template",13);H()()}a&2&&(a=b.$implicit,mf("selected",a.isSelected()),vf("id","bv2-user-hotlists-hotlist-item-",a.id,""),F("title",a.name),z(1),F("href",a.href,Id),z(2),Af(a.name),z(1),F("ngIf",a))},R0a=function(a){a&1&&(G(0,"ul",6),Q(1,Q0a,8,7,"li",7),H());a&2&&(a=N(2),z(1),F("ngForOf",a.hotlists))},S0a=function(a){a&1&&Q(0,R0a,2,1,"ul",5);a&2&&(a=N(),F("ngIf",a.hotlists))},
T0a=function(a){a&1&&(G(0,"span"),R(1,"Saved searches"),H())},U0a=function(a){if(a&1){var b=v();G(0,"button",14);M("click",function(){w(b);var c=N(2).$implicit;return y(c.setAsPreferredHomepage())});R(1," Set as homepage ");H()}},W0a=function(a){if(a&1){var b=v();G(0,"button",14);M("click",function(){w(b);var c=N().$implicit,d=N(3);return y(d.openEditSavedSearch(c.id))});R(1," Settings ");H();Q(2,U0a,2,0,"button",15);G(3,"button",14);M("click",function(){w(b);var c=N().$implicit,d=N(3);return y(V0a(d,
c))});R(4," Delete ");H()}a&2&&(a=N().$implicit,z(2),F("ngIf",!a.isPreferredHomepage()))},X0a=function(a,b){if(a&1){var c=v();G(0,"li",7)(1,"a",8);M("click",function(e){var g=w(c).$implicit,h=N(3);return y(h.onAnchorClick(g.href,e))});G(2,"span",9);R(3);H()();G(4,"button",10);I(5,"mat-icon",11);H();G(6,"mat-menu",null,12);Q(8,W0a,5,1,"ng-template",13);H()()}if(a&2){a=b.$implicit;var d=yf(7);mf("selected",a.isSelected());ef("id","bv2-saved-searches-search-item-",a.id,"");F("title",a.name);z(1);F("href",
a.href,Id);z(2);Af(a.name);z(1);F("matMenuTriggerFor",d)}},Y0a=function(a){a&1&&(G(0,"ul",5),Q(1,X0a,9,7,"li",6),H());a&2&&(a=N(2),z(1),F("ngForOf",a.searches))},Z0a=function(a){a&1&&Q(0,Y0a,2,1,"ul",4);a&2&&(a=N(),F("ngIf",a.searches))},b1a=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter($0a).length;var c=a.filter(function(d){return!$0a(d)}).filter(a1a).length;return{filters:b,text:a.length-b-c,resourceIds:c}},
a1a=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)},$0a=function(a){return!!a.match(/\w:\w/g)},c1a=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},e1a=function(a){if(a&1){var b=v();G(0,"button",27);M("click",function(){w(b);var c=N(2);return y(d1a(c,c.EXPERIMENTAL_HOMEPAGE))});R(1," Set as homepage ");H();G(2,"span",28);R(3," Experimental. ");G(4,"a",29);R(5,"Learn more");H();R(6,". ");H()}},
f1a=function(a){if(a&1){var b=v();J(0);G(1,"li",22)(2,"a",7);M("click",function(d){w(b);var e=N();e.onAnchorClick(e.experimentalHomepagePath,d);e.appSearchState.clear();return y()});I(3,"mat-icon",23);R(4," Home ");H();G(5,"button",24);I(6,"mat-icon",25);H();G(7,"mat-menu",null,26);Q(9,e1a,7,0,"ng-template",10);H()();L()}if(a&2){var c=yf(8);a=N();z(1);mf("selected",!!a.location.path().match(/^\/dash\b/));z(1);F("href",a.experimentalHomepagePath,Id);z(3);F("matMenuTriggerFor",c)}},g1a=function(a,b){a&
1&&I(0,"mat-icon",34);a&2&&(a=b.$implicit,F("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" issues need attention"))},h1a=function(a){a&1&&I(0,"mat-icon",35)},i1a=function(a){a&1&&(J(0),G(1,"button",36),I(2,"mat-icon",25),H(),L());if(a&2){N();var b=yf(10);z(1);F("matMenuTriggerFor",b)}},j1a=function(a){if(a&1){var b=v();G(0,"button",27);M("click",function(){w(b);var c=N(2);d1a(c,"NEEDS_ATTENTION");return y()});R(1," Set as homepage ");H()}},k1a=function(a){if(a&
1){var b=v();G(0,"li",30)(1,"a",7);M("click",function(d){w(b);var e=N();return y(e.onAnchorClick(e.needsAttentionPath,d))});Q(2,g1a,1,3,"mat-icon",31);S(3,"async");Q(4,h1a,1,0,"ng-template",null,32,Vf);R(6," Needs attention ");H();Q(7,i1a,3,1,"ng-container",4);S(8,"async");G(9,"mat-menu",null,33);Q(11,j1a,2,0,"ng-template",10);H()()}if(a&2){var c=yf(5);a=N();mf("selected",!!a.location.path().match(/^\/attention\b/));z(1);F("href",a.needsAttentionPath,Id);z(1);F("ngIf",T(3,6,a.needsAttentionIssueCount$))("ngIfElse",
c);z(5);F("ngIf",!T(8,8,a.isHomepageNeedsAttention$))}},l1a=function(a){a&1&&(J(0),G(1,"button",37),I(2,"mat-icon",25),H(),L());if(a&2){N();var b=yf(14);z(1);F("matMenuTriggerFor",b)}},n1a=function(a){if(a&1){var b=v();G(0,"button",27);M("click",function(){w(b);var c=N();return y(m1a(c))});R(1," Set as homepage ");H()}},p1a=function(a){if(a&1){var b=v();G(0,"li")(1,"a",7);M("click",function(c){w(b);var d=N();return y(d.onAnchorClick(d.votedPath,c))});I(2,"mat-icon",38);R(3," Upvoted by me ");H()()}a&
2&&(a=N(),mf("selected",o1a(a.appSearchState)),z(1),F("href",a.votedPath,Id))},q1a=function(a,b){if(a&1){var c=v();G(0,"li")(1,"a",7);M("click",function(d){var e=w(c).$implicit,g=N();return y(g.onAnchorClick(e,d))});I(2,"mat-icon",39);R(3," Recently Viewed ");H()()}a&2&&(a=b.$implicit,b=N(),mf("selected",!!b.location.path().match(/^\/recent\b/)),z(1),F("href",a,Id))},r1a=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},s1a=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)},u1a=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;t1a++;var d=156;d+=12*(t1a-1);return function(e){e=void 0===e?b:e;var g,h=null!=(g=document.getElementById(a))?
g:r1a(a,d);s1a(h,e,c)}},v1a=function(a){a=void 0===a?!1:a;var b=Pya(),c=b.total,d=b.redundancyRatio;Lm("after-60s","xhr","redundant",b.redundant);Lm("after-60s","xhr","total",c);Lm("after-60s","xhr","redundancyRatio",d);a&&(console.table(Nya()),console.log(b))},x1a=function(a){if(a&1){var b=v();G(0,"a",8);M("keydown.enter",function(){w(b);var c=N(2);return y(w1a(c))})("keydown.space",function(){w(b);var c=N(2);return y(w1a(c))})("click",function(){w(b);var c=N(2);return y(w1a(c))});R(1," Dismiss");
H()}},y1a=function(a){a&1&&(G(0,"div",4)(1,"div",5),I(2,"span",6),Q(3,x1a,2,0,"a",7),H()());a&2&&(a=N(),z(2),F("innerHtml",a.announcement.message,Hd),z(1),F("ngIf",a.announcement.dismissible))},A1a=function(a){if(a&1){var b=v();G(0,"b-resizable-sidebar",9);M("widthChanged",function(c){w(b);var d=N();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,z1a(d,c));return y()});I(1,"b-sidebar");H()}a&2&&(a=N(),F("size",a.matSidebarWidth)("disableToggleBtn",!0))},B1a=function(a){switch(a){case "COMFORTABLE":return"d-comfort";
case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},D1a=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=N(2),d=new Hh;c.date=d;c.dateSelectionChange.emit(d);C1a(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return y(c.saveClicked.emit())});R(1,"Today");H()}},E1a=function(a){if(a&1){var b=v();G(0,"button",11);M("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())});R(1,"None");H()}},F1a=function(a){a&1&&(G(0,"div",1),Q(1,D1a,2,0,"button",8),Q(2,E1a,2,0,"button",9),I(3,"mat-divider"),H());a&2&&(a=N(),z(1),F("ngIf",a.todayButtonEnabled),z(1),F("ngIf",a.noneButtonEnabled&&!a.required))},G1a=function(a){a&1&&I(0,"b-formatted-date-time",4);a&2&&(a=N(),F("date",a.value))},H1a=function(a){a&1&&(J(0),R(1,"---"),L())},I1a=function(a,b){if(a&1){var c=v();G(0,"div",8)(1,"mat-checkbox",9);M("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()});R(2);H()()}a&2&&(a=b.$implicit,b=N(),F("title",b.getDisplayString(a)),z(1),F("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),z(1),zf(" ",b.getDisplayString(a)," "))},K1a=
function(a){if(a&1){var b=v();G(0,"input",10,11);M("keydown",function(c){w(b);var d=N();"Enter"===c.key&&(J1a(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(),F("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},L1a=function(a){a&1&&I(0,"mat-divider")},M1a=
function(a){if(a&1){var b=v();G(0,"div",12);M("click",function(c){w(b);var d=N();c.stopPropagation();return y(d.addValue())});R(1," Add ");H()}},N1a=function(a){if(a&1){var b=v();G(0,"div")(1,"b-date-time-input",13);M("valueChange",function(c){w(b);var d=N();return y(d.currentSelectedDate=c)});H();G(2,"div",14);M("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()});R(3," Add ");H()()}a&2&&(a=N(),z(1),F("value",a.currentSelectedDate))},O1a=function(a){a&1&&rf(0)},Q1a=function(a){if(a&1){var b=v();G(0,"div",3);M("click",function(){w(b);var d=N();return y(d.select(void 0))});Q(1,O1a,1,0,"ng-container",4);H()}if(a&2){a=N();var c=yf(3);F("option",void 0);bf("aria-selected",a.isSelected(void 0));z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ef(4,P1a))}},R1a=function(a){a&1&&rf(0)},T1a=function(a){if(a&1){var b=v();G(0,"div",3);M("click",
function(){w(b);var e=N().$implicit,g=N();return y(g.select(e))});Q(1,R1a,1,0,"ng-container",4);H()}if(a&2){a=N().$implicit;var c=N(),d=yf(3);F("option",a);bf("aria-selected",c.isSelected(a));z(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Ff(4,S1a,a))}},U1a=function(a,b){a&1&&(J(0),Q(1,T1a,2,6,"div",0),L());a&2&&(a=b.$implicit,z(1),F("ngIf",a))},V1a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N(2).$implicit,z(1),zf(" ",a," "))},W1a=function(a){a&1&&(G(0,"span",8),R(1,"--"),H())},X1a=function(a){a&
1&&(J(0),Q(1,V1a,2,1,"ng-container",5),Q(2,W1a,2,0,"ng-template",null,7,Vf),L());if(a&2){var b=yf(3);a=N().$implicit;z(1);F("ngIf",null!=a)("ngIfElse",b)}},Y1a=function(a){a&1&&rf(0)},Z1a=function(a){a&1&&Q(0,Y1a,1,0,"ng-container",4);if(a&2){a=N().$implicit;var b=N();F("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Ff(2,S1a,a))}},$1a=function(a){a&1&&(Q(0,X1a,4,2,"ng-container",5),Q(1,Z1a,1,4,"ng-template",null,6,Vf));if(a&2){var b=yf(2);a=N();F("ngIf",!a.optionTemplate)("ngIfElse",
b)}},a2a=function(a){a&1&&rf(0)},c2a=function(a){a&1&&(J(0),Q(1,a2a,1,0,"ng-container",10),L());a&2&&(a=N(),z(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ff(2,b2a,a.value)))},d2a=function(a){a&1&&rf(0)},e2a=function(a){a&1&&(J(0),Q(1,d2a,1,0,"ng-container",10),L());a&2&&(a=N(2),z(1),F("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Ff(2,b2a,a.value)))},f2a=function(a){a&1&&Q(0,e2a,2,4,"ng-container",3);if(a&2){a=N();var b=yf(8);F("ngIf",a.optionTemplate)("ngIfElse",
b)}},g2a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N(2),z(1),zf(" ",a.value," "))},h2a=function(a){a&1&&(G(0,"span",12),R(1,"--"),H())},i2a=function(a){a&1&&(Q(0,g2a,2,1,"ng-container",3),Q(1,h2a,2,0,"ng-template",null,11,Vf));if(a&2){var b=yf(2);a=N();F("ngIf",null!=a.value)("ngIfElse",b)}},j2a=function(a){a&1&&(fd(),G(0,"svg",13),I(1,"path",14),H())},k2a=function(a){a&1&&(G(0,"div"),R(1," The selected issues have no custom fields in common. "),H())},l2a=function(a){a&1&&(G(0,"span"),R(1,"*"),H())},
m2a=function(a){if(a&1){var b=v();G(0,"input",16);M("ngModelChange",function(c){w(b);var d=N(2).$implicit;return y(d.textValue=c)});H()}a&2&&(a=N(2).$implicit,N(),F("ngModel",a.textValue),bf("aria-labelledby",hp(a)))},n2a=function(a){if(a&1){var b=v();G(0,"input",17);M("ngModelChange",function(c){w(b);var d=N(2).$implicit;return y(d.numericValue=c)});H()}a&2&&(a=N(2).$implicit,N(),F("ngModel",a.numericValue),bf("aria-labelledby",hp(a)))},p2a=function(a){if(a&1){var b=v();G(0,"div")(1,"b-date-time-input",
18);M("valueChange",function(e){w(b);var g=N(2).$implicit;N();return y(g.dateValue=e?Jh(e):void 0)});H()()}if(a&2){a=N(2).$implicit;var c=N(),d;z(1);F("value",null!==(d=o2a(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",hp(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},r2a=function(a){if(a&1){var b=v();G(0,"onedev-single-select",19);M("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;F("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:Ef(3,q2a));bf("aria-labelledby",hp(a))}},t2a=function(a){if(a&1){var b=v();G(0,"b-bulk-repeated-field-picker",20);M("onSave",function(e){w(b);var g=N(2).$implicit,h=N();return y(s2a(h,g.customFieldId,e))});H()}if(a&2){a=N(2).$implicit;var c=N(),d;F("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&void 0!==d?d:Ef(3,q2a))}},u2a=
function(a){a&1&&(J(0,10),Q(1,m2a,1,2,"input",11),Q(2,n2a,1,2,"input",12),Q(3,p2a,2,4,"div",13),Q(4,r2a,1,4,"onedev-single-select",14),Q(5,t2a,1,4,"b-bulk-repeated-field-picker",15),L());if(a&2){a=N().$implicit;var b=N();F("ngSwitch",b.getCustomFieldType(a));z(1);F("ngSwitchCase","TEXT");z(1);F("ngSwitchCase","NUMERIC");z(1);F("ngSwitchCase","DATE");z(1);F("ngSwitchCase","ENUM")}},v2a=function(a){if(a&1){var b=v();G(0,"span");R(1," Multiple values ");H();G(2,"a",21);M("click",function(){w(b);var c=
N().$implicit,d=N();return y(d.clearCustomFieldValue(c))});R(3,"X");H()}},w2a=function(a,b){a&1&&(G(0,"div",5)(1,"div",6)(2,"label",7),R(3),Q(4,l2a,2,0,"span",1),H()(),Q(5,u2a,6,5,"ng-template",8),Q(6,v2a,4,0,"ng-template",null,9,Vf),H());if(a&2){a=b.$implicit;var c=yf(7);N();z(2);F("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");bf("id",hp(a));z(1);zf(" ",a.name," ");z(1);F("ngIf",a.required);z(1);F("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},x2a=function(a){return new Set(a.map(function(b){return Oh(b)}))},
ip=function(a,b,c){return a.has(b)?c:""},y2a=function(a,b,c){return a.has(b)?c:[]},jp=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},B2a=function(a){if(!a)return"";var b=z2a.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=A2a.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},D2a=function(a){if(!a)return"";var b=a.inherit,c=C2a.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},E2a=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},F2a=function(a){a&1&&(G(0,"li")(1,"a",4),R(2," Create an issue in this component"),H()());a&2&&(a=N(2),z(1),F("href",a.createIssueUrl,Id))},G2a=function(a,b){a&1&&(J(0),G(1,"h3"),R(2),H(),G(3,"p"),R(4),H(),I(5,"b-access-level-indicator",3),G(6,"p"),R(7),H(),G(8,
"ul")(9,"li")(10,"a",4),R(11," View recent open issues"),H()(),Q(12,F2a,3,1,"li",2),G(13,"li")(14,"a",4),R(15," View component"),H()()(),L());a&2&&(a=b.ngIf,b=N(),z(2),Af(a.name),z(2),zf("ID: ",b.componentId,""),z(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),z(2),Af(a.description),z(3),F("href",b.recentIssuesUrl,Id),z(2),F("ngIf",!b.isAnonymous),z(2),F("href",b.viewComponentUrl,Id))},H2a=function(a,b){a&1&&(G(0,"mat-option",19),R(1),H());a&2&&(a=b.$implicit,
F("value",a),z(1),zf(" ",a," "))},I2a=function(a){if(a&1){var b=v();G(0,"mat-form-field",16)(1,"mat-select",17);M("selectionChange",function(c){w(b);var d=N(2);return y(d._changePageSize(c.value))});Q(2,H2a,2,2,"mat-option",18);H()()}a&2&&(a=N(2),F("appearance",a._formFieldAppearance)("color",a.color),z(1),F("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),
z(1),F("ngForOf",a._displayedPageSizeOptions))},J2a=function(a){a&1&&(G(0,"div",20),R(1),H());a&2&&(a=N(2),z(1),Af(a.pageSize))},K2a=function(a){a&1&&(G(0,"div",12)(1,"div",13),R(2),H(),Q(3,I2a,3,8,"mat-form-field",14),Q(4,J2a,2,1,"div",15),H());a&2&&(a=N(),z(2),zf(" ",a._intl.itemsPerPageLabel," "),z(1),F("ngIf",1<a._displayedPageSizeOptions.length),z(1),F("ngIf",1>=a._displayedPageSizeOptions.length))},L2a=function(a){if(a&1){var b=v();G(0,"button",21);M("click",function(){w(b);var c=N();if(c.hasPreviousPage()){var d=
c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return y()});fd();G(1,"svg",7);I(2,"path",22);H()()}a&2&&(a=N(),F("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),bf("aria-label",a._intl.firstPageLabel))},M2a=function(a){if(a&1){var b=v();fd();gd();G(0,"button",23);M("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()});fd();G(1,"svg",7);I(2,"path",24);H()()}a&2&&(a=N(),F("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),bf("aria-label",a._intl.lastPageLabel))},N2a=function(a){if(a&1){var b=v();G(0,"mat-paginator",3);M("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(),F("length",a.children.length)("pageSize",
a.pageSize)("pageSizeOptions",a.pageSizeOptions))},O2a=function(a,b){if(a&1){var c=v();G(0,"li")(1,"a",4);M("click",function(){var e=w(c).$implicit,g=N();return y(g.onVisit.emit(e))});R(2);H();G(3,"onedev-hovercard",null,5);I(5,"b-component-card",6);H()()}if(a&2){a=b.$implicit;var d=yf(4);b=N();z(1);F("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),Id);z(1);zf(" ",a.name," ");z(3);F("componentId",a.componentId.toString())}},P2a=function(a){if(a&1){var b=v();G(0,"button",
6);M("click",function(){w(b);var c=N();return y(c.onClickCopyIssueShortLinks.emit())});R(1);H()}a&2&&(a=N(),z(1),zf(" Copy '",a.shortLinkPrefix,"'' links "))},Q2a=function(a,b){a&1&&(G(0,"span",5)(1,"a",6),R(2),H(),G(3,"onedev-hovercard",null,7),I(5,"b-component-card",8),H()());if(a&2){a=b.$implicit;var c=yf(4);z(1);F("onedevHovercardTrigger",c)("routerLinkObj",a.route);z(1);Af(a.name);z(3);F("componentId",a.id.toString())}},R2a=function(a){a&1&&(G(0,"span",9),R(1,"[Archived]"),H())},kp=function(a,
b){b=void 0===b?Wl: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}})},S2a=function(a){if(a&1){var b=v();G(0,"a",18);M("click",function(){w(b);var c=N().$implicit,d=N();return y(d.showChildren(c))});I(1,"mat-icon",19);H()}},T2a=function(a){if(a&1){var b=v();G(0,"a",20);M("click",function(){w(b);var c=N().$implicit;return y(c.showChildren=!1)});
I(1,"mat-icon",21);H()}},V2a=function(a){a&1&&(G(0,"a",22),R(1," (Recent Issues) "),H());if(a&2){a=N().$implicit;var b=N();F("href",b.paths.listIssues(Ff(1,U2a,"status:open componentid:"+a.componentId)),Id)}},W2a=function(a){a&1&&(G(0,"span"),R(1,"[Archived]"),H())},X2a=function(a){a&1&&(G(0,"a",23),R(1," Create issue "),H());if(a&2){a=N().$implicit;var b=N();F("href",b.paths.createIssue()+"?component="+a.componentId,Id)}},Y2a=function(a){a&1&&(G(0,"div",28),R(1," No child components found. "),H())},
Z2a=function(a){a&1&&(G(0,"div",29),I(1,"b-spinner"),H())},$2a=function(a){if(a&1){var b=v();G(0,"component-subtree-list",30);M("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();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},a3a=function(a){a&1&&(G(0,"div",24),Q(1,Y2a,2,0,"div",25),Q(2,Z2a,2,0,"div",26),Q(3,$2a,1,4,"component-subtree-list",27),H());a&2&&(a=
N().$implicit,z(1),F("ngIf",a.noChildren),z(1),F("ngIf",!(a.noChildren||a.children)),z(1),F("ngIf",a.children))},b3a=function(a,b){if(a&1){var c=v();G(0,"li",2);M("click",function(d){var e=w(c).$implicit,g=N();return y(g.setSelected(e.componentId,d))});G(1,"div",3);I(2,"div",4);G(3,"div",5);Q(4,S2a,2,0,"a",6);Q(5,T2a,2,0,"a",7);H();G(6,"div",8)(7,"div")(8,"a",9);R(9);H();Q(10,V2a,2,3,"a",10);Q(11,W2a,2,0,"span",11);I(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);H();G(14,"div",14);
R(15);H()();G(16,"div",15);Q(17,X2a,2,1,"a",16);H()();Q(18,a3a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=N(),vf("id","component-",a.componentId,""),z(4),F("ngIf",!a.showChildren),z(1),F("ngIf",a.showChildren),z(3),F("href",b.paths.viewComponent(a.componentId),Id),z(1),zf(" ",a.name," "),z(1),F("ngIf",!a.archived),z(1),F("ngIf",a.archived),z(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),F("trackerId",a.trackerId),z(2),Af(a.description),z(2),F("ngIf",!a.archived),z(1),F("ngIf",
a.showChildren))},c3a=function(a){if(a&1){var b=v();G(0,"a",18);M("click",function(){w(b);var c=N().$implicit,d=N();return y(d.showChildren(c))});I(1,"mat-icon",19);H()}},d3a=function(a){if(a&1){var b=v();G(0,"a",20);M("click",function(){w(b);var c=N().$implicit;return y(c.showChildren=!1)});I(1,"mat-icon",21);H()}},f3a=function(a){a&1&&(G(0,"a",22),R(1," (Recent Issues) "),H());if(a&2){a=N().$implicit;var b=N();F("href",b.paths.listIssues(Ff(1,e3a,"status:open componentid:"+a.componentId)),Id)}},
g3a=function(a){a&1&&(G(0,"span"),R(1,"[Archived]"),H())},h3a=function(a){a&1&&(G(0,"a",23),R(1," Create issue "),H());if(a&2){a=N().$implicit;var b=N();F("href",b.paths.createIssue()+"?component="+a.componentId,Id)}},i3a=function(a){a&1&&(G(0,"div",28),R(1," No child components found. "),H())},j3a=function(a){a&1&&(G(0,"div",29),I(1,"b-spinner"),H())},k3a=function(a){if(a&1){var b=v();G(0,"component-subtree-list",30);M("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();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},l3a=function(a){a&1&&(G(0,"div",24),Q(1,i3a,2,0,"div",25),Q(2,j3a,2,0,"div",26),Q(3,k3a,1,4,"component-subtree-list",27),H());a&2&&(a=N().$implicit,z(1),F("ngIf",a.noChildren),z(1),F("ngIf",!(a.noChildren||a.children)),z(1),F("ngIf",a.children))},m3a=function(a,b){if(a&1){var c=v();G(0,"li",2);M("click",function(d){var e=w(c).$implicit,g=
N();return y(g.setSelected(e.componentId,d))});G(1,"div",3);I(2,"div",4);G(3,"div",5);Q(4,c3a,2,0,"a",6);Q(5,d3a,2,0,"a",7);H();G(6,"div",8)(7,"div")(8,"a",9);R(9);H();Q(10,f3a,2,3,"a",10);Q(11,g3a,2,0,"span",11);I(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);H();G(14,"div",14);R(15);H()();G(16,"div",15);Q(17,h3a,2,1,"a",16);H()();Q(18,l3a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=N(),F("id","component-"+a.componentId),z(4),F("ngIf",!a.showChildren),z(1),F("ngIf",a.showChildren),
z(3),F("href",b.paths.viewComponent(a.componentId),Id),z(1),zf(" ",a.name," "),z(1),F("ngIf",!a.archived),z(1),F("ngIf",a.archived),z(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),z(1),F("trackerId",a.trackerId),z(2),Af(a.description),z(2),F("ngIf",!a.archived),z(1),F("ngIf",a.showChildren))},n3a=function(a){a&1&&(I(0,"div"),S(1,"lowercase"));a&2&&(a=N(3),pf("bv2-edit-icon ",T(1,3,a.type),""))},o3a=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,n3a,2,5,"div",10),H());
a&2&&(a=N(2),pf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),zf(" ",a.title," "),z(1),F("ngIf",!a.readonly&&!a.disabled))},p3a=function(a){a&1&&rf(0)},q3a=function(a){if(a&1){var b=v();G(0,"div",14);M("menuClosed",function(){w(b);var e=N(2);return y(lp(e,null,!1,!0))});Q(1,p3a,1,0,"ng-container",15);H()}if(a&2){N();var c=yf(6);N();var d=yf(7);F("matMenuTriggerFor",d);z(1);F("ngTemplateOutlet",c)}},r3a=function(a){a&1&&rf(0)},s3a=function(a){a&1&&(G(0,"div",16),Q(1,r3a,1,0,
"ng-container",15),H());if(a&2){N();var b=yf(6);z(1);F("ngTemplateOutlet",b)}},t3a=function(a){a&1&&I(0,"b-user-membership-chip",25);a&2&&(a=N(5),F("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},u3a=function(a){a&1&&I(0,"b-user-image",26);a&2&&(a=N(5),F("email",a.value))},v3a=function(a){a&1&&(G(0,"span",27)(1,"b-person-hovercard",28),R(2),H()());a&2&&(a=N(5),z(1),F("email",a.value),z(1),zf(" ",a.getDisplayValue("--")," "))},w3a=function(a){a&1&&(J(0),G(1,"div",21),Q(2,
t3a,1,4,"b-user-membership-chip",22),Q(3,u3a,1,1,"b-user-image",23),Q(4,v3a,3,2,"span",24),H(),L());a&2&&(a=N(4),z(2),F("ngIf",a.enableTeamAnnotations&&!!a.value),z(1),F("ngIf",!a.enableTeamAnnotations&&!!a.value),z(1),F("ngIf",!a.enableTeamAnnotations))},x3a=function(a){a&1&&(G(0,"div"),Q(1,w3a,5,3,"ng-container",3),H());a&2&&(a=N(3),z(1),F("ngIf",a.isUser))},y3a=function(a){a&1&&I(0,"b-truncated-span",33);a&2&&(a=N(4),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},
z3a=function(a){a&1&&I(0,"b-truncated-span",34);a&2&&(a=N(4),F("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},A3a=function(a){a&1&&I(0,"b-truncated-span",33);a&2&&(a=N(4),pf("chippy status-",a.convertIssueStatusStrToTag(a.value),""),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},B3a=function(a){a&1&&I(0,"div",35)},C3a=function(a){a&1&&(G(0,"div"),Q(1,y3a,1,3,"b-truncated-span",29),Q(2,z3a,1,4,"b-truncated-span",
30),Q(3,A3a,1,6,"b-truncated-span",31),Q(4,B3a,1,0,"div",32),H());a&2&&(a=N(3),z(1),F("ngIf","Priority"!==a.title&&"Status"!==a.title),z(1),F("ngIf","Priority"===a.title),z(1),F("ngIf","Status"===a.title),z(1),F("ngIf",!a.title&&!a.readonly&&!a.disabled))},D3a=function(a){a&1&&(G(0,"div",36),I(1,"mat-icon",37),H())},E3a=function(a){a&1&&(G(0,"div",38),I(1,"mat-icon",39),H())},G3a=function(a){if(a&1){var b=v();G(0,"div",17,18);M("keydown",function(c){w(b);var d=N(2);return y(F3a(d,c))})("click",function(c){w(b);
var d=N(2);return y(lp(d,c,!0,!1))});Q(2,x3a,2,1,"div",3);Q(3,C3a,5,4,"div",3);Q(4,D3a,2,0,"div",19);Q(5,E3a,2,0,"div",20);H()}a&2&&(a=N(2),mf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),z(2),F("ngIf",a.isUser),z(1),F("ngIf",!a.isUser),z(1),F("ngIf","ENUM"!=a.type),z(1),F("ngIf","ENUM"==a.type))},H3a=function(a){if(a&1){var b=v();G(0,"div",8,9);M("click",function(c){w(b);var d=N();return y(lp(d,c,!0,!1))})("keydown",function(c){w(b);var d=N();return y(F3a(d,c))});Q(2,
o3a,4,5,"div",10);Q(3,q3a,2,2,"div",11);Q(4,s3a,2,1,"div",12);Q(5,G3a,6,8,"ng-template",null,13,Vf);H()}a&2&&(a=N(),pf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),mf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),ff("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),F("matTooltip",a.getTooltip()),bf("aria-disabled",!1),z(2),F("ngIf",a.title),z(1),F("ngIf","ENUM"===a.type),z(1),F("ngIf","ENUM"!==a.type))},I3a=function(a){if(a&1){var b=v();G(0,"div",
43);M("click",function(){w(b);var c=N(2);return y(c.setFieldValue(!c.value))});G(1,"label");R(2);H()()}a&2&&(a=N(2),pf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),z(2),Af(a.title))},K3a=function(a){if(a&1){var b=v();G(0,"div",40);Q(1,I3a,3,4,"div",41);G(2,"b-slide-toggle",42);M("modelChange",function(){w(b);var d=N();return y(d.setFieldValue(!d.value))});H()()}if(a&2){a=N();var c;pf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");F("ngClass",Gf(10,J3a,a.disabled,
a.readonly))("matTooltip",a.getTooltip());bf("aria-disabled",!1);z(1);F("ngIf",a.title);z(1);F("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},L3a=function(a){a&1&&I(0,"b-availability-chip",45);a&2&&(a=N(2),F("user",a.value))},M3a=function(a){a&1&&(J(0),Q(1,L3a,1,1,"b-availability-chip",44),L());a&2&&(a=N(),z(1),F("ngIf",a.value&&a.enableWaldoAvailability))},N3a=function(a){if(a&1){var b=v();G(0,"button",48);M("click",function(){w(b);var c=
N(2);return y(c.clearFieldValue())});G(1,"span",49);I(2,"mat-icon",50);H();R(3," \u00a0 ");H()}a&2&&(a=N(2),mf("b-menu-item-checked",null==a.value),F("disabled",null==a.value))},O3a=function(a,b){if(a&1){var c=v();G(0,"button",51);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.setFieldValue(d.value))});G(1,"span",49);I(2,"mat-icon",50);H();R(3);H()}a&2&&(a=b.$implicit,b=N(2),mf("b-menu-item-checked",b.value==a.value),F("disabled",b.value==a.value)("matTooltip",a.altText||""),bf("aria-label",
a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),z(3),zf(" ",a.displayText," "))},P3a=function(a){a&1&&(Q(0,N3a,4,3,"button",46),Q(1,O3a,4,7,"button",47));a&2&&(a=N(),F("ngIf",a.clearable),z(1),F("ngForOf",a.choices))},Q3a=function(a){a&1&&rf(0)},R3a=function(a){a&1&&rf(0)},S3a=function(a){if(a&1){var b=v();G(0,"div",43);M("click",function(d){return d.stopPropagation()});G(1,"b-date-time-picker-content",57);M("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(lp(d,null,!1,!1))});H()()}if(a&2){a=N(2);var c;z(1);F("required",!(a.clearable&&"DATE"===a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},U3a=function(a){if(a&1){var b=v();G(0,"textarea",66);M("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(T3a(d,
c))});H()}a&2&&(a=N(4),F("ngModel",a.textBuffer),bf("aria-label",a.title))},W3a=function(a){if(a&1){var b=v();G(0,"input",67);M("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(V3a(d,c))});H()}a&2&&(a=N(4),F("ngModel",a.textBuffer),bf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},X3a=function(a){a&1&&(G(0,"div"),Q(1,U3a,1,2,"textarea",64),Q(2,W3a,1,3,"input",65),H());a&2&&(a=N(3),z(1),F("ngIf",a.multiline),z(1),
F("ngIf",!a.multiline))},Y3a=function(a){if(a&1){var b=v();G(0,"textarea",70);M("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(T3a(d,c))})("autocompleteActive",function(c){w(b);var d=N(4);return y(d.autocompleteActive=c)});H()}a&2&&(a=N(4),F("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),bf("aria-label",a.title))},Z3a=function(a){if(a&1){var b=v();G(0,"input",71);M("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(V3a(d,c))})("autocompleteActive",function(c){w(b);var d=N(4);return y(d.autocompleteActive=c)});H()}a&2&&(a=N(4),F("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),bf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},$3a=function(a){a&1&&(G(0,"div"),Q(1,Y3a,1,3,"textarea",68),Q(2,Z3a,1,4,"input",69),H());a&2&&(a=N(3),z(1),F("ngIf",a.multiline),z(1),F("ngIf",!a.multiline))},b4a=function(a){if(a&1){var b=v();G(0,"div",58);
M("click",function(c){return c.stopPropagation()});Q(1,X3a,3,2,"div",3);Q(2,$3a,3,2,"div",3);G(3,"div",59)(4,"button",60);M("click",function(){w(b);var c=N(2);return y(a4a(c))});I(5,"mat-icon",61);H();G(6,"button",62);M("click",function(c){w(b);var d=N(2);return y(lp(d,c,!1,!0))});I(7,"mat-icon",63);H()();G(8,"div",36);I(9,"mat-icon",37);H()()}a&2&&(a=N(2),z(1),F("ngIf",!a.isUser),z(1),F("ngIf",a.isUser),z(2),ef("aria-label","Apply change to ",a.title,""),vf("matTooltip","Apply change to ",a.title,
""),F("disabled",a.value==a.textBuffer),z(2),ef("aria-label","Discard change to ",a.title,""),vf("matTooltip","Discard change to ",a.title,""))},c4a=function(a){a&1&&(G(0,"div",52,53),Q(2,Q3a,1,0,"ng-container",54),Q(3,R3a,1,0,"ng-container",54),Q(4,S3a,2,2,"div",55),Q(5,b4a,10,7,"div",56),H());a&2&&(a=N(),pf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),F("ngSwitch",a.type),z(2),F("ngSwitchCase","ENUM"),z(1),F("ngSwitchCase","BOOL"),z(1),F("ngSwitchCase","DATE"))},d4a=
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}},e4a=function(a){a&1&&I(0,"b-icon",7);a&2&&(a=N(),F("name",a.iconName))},f4a=function(a){a&1&&(G(0,"span",8),R(1),H());a&2&&(a=N(),z(1),Af(a.title))},g4a=function(a){a&1&&(G(0,"div",9),R(1,"\u00a0"),H())},h4a=function(a){a&1&&(G(0,"label"),R(1),H());a&2&&(a=N(),z(1),zf(" ",a.title," "))},j4a=function(a,b){a&1&&(G(0,"div",18),rf(1,
19),H());if(a&2){a=b.$implicit;b=b.index;N(2);var c=yf(13);z(1);F("ngTemplateOutletContext",Gf(2,i4a,a,b))("ngTemplateOutlet",c)}},k4a=function(a){a&1&&(G(0,"collapsible-panel",15),Q(1,j4a,2,5,"div",16),rf(2,17),H());if(a&2){a=N();var b=yf(15);F("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);z(1);F("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);F("ngTemplateOutlet",b)}},l4a=function(a,b){a&1&&(G(0,"div",18),rf(1,19),
H());if(a&2){a=b.$implicit;b=b.index;N(2);var c=yf(13);z(1);F("ngTemplateOutletContext",Gf(2,i4a,a,b))("ngTemplateOutlet",c)}},m4a=function(a){a&1&&(G(0,"div"),R(1,"--"),H())},n4a=function(a){a&1&&(J(0),Q(1,l4a,2,5,"div",16),rf(2,17),Q(3,m4a,2,0,"div",3),L());if(a&2){a=N();var b=yf(15);z(1);F("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);z(1);F("ngTemplateOutlet",b);z(1);F("ngIf",!(null==a.values?0:a.values.length))}},q4a=function(a){if(a&1){var b=v();G(0,"button",24);M("menuOpened",
function(){w(b);var d=N(2);o4a(d);d.enumPendingValues=new Set(d.values||[]);return y()})("menuClosed",function(){w(b);var d=N(2);return y(p4a(d))});R(1,"Edit ");H()}if(a&2){a=N(2);var c=yf(17);ef("aria-label","Add item to ",a.title,"");F("matMenuTriggerFor",c)}},r4a=function(a){a&1&&(G(0,"button",25),R(1,"Add "),H());if(a&2){a=N(2);var b=yf(22);ef("aria-label","Add item to ",a.title,"");F("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},s4a=function(a){if(a&1){var b=v();G(0,
"button",26);M("beforeOpened",function(){w(b);var d=N(2);return y(d.invalidMessage="")});R(1,"Add ");H()}if(a&2){a=N(2);var c=yf(20);ef("aria-label","Add item to ",a.title,"");vf("matTooltip","Add item to ",a.title,"");F("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},t4a=function(a){a&1&&(J(0,20),Q(1,q4a,2,2,"button",21),Q(2,r4a,2,3,"button",22),Q(3,s4a,2,4,"button",23),L());a&2&&(a=N(),F("ngSwitch",a.type),z(1),F("ngSwitchCase","REPEATED_ENUM"),z(1),F("ngSwitchCase","REPEATED_DATE"))},
u4a=function(a){a&1&&(G(0,"div"),I(1,"b-changelist-link",37),H());if(a&2){a=N(2).item;var b=N();z(1);F("changelistId",b.asNumber(a))}},v4a=function(a){a&1&&(G(0,"div")(1,"a",38),R(2),H()());if(a&2){a=N(3).item;var b=N();z(1);F("href",b.getTaskFlowLink(a),Id);bf("aria-label","Workspace"+a.workspaceId);z(1);zf(" ",a.workspaceName," ")}},w4a=function(a){a&1&&Q(0,v4a,3,3,"div",30);if(a&2){N();var b=yf(6);N();a=N();F("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},x4a=function(a){a&1&&(G(0,"div"),I(1,"b-team-display",
39),H());a&2&&(a=N(3).item,z(1),F("teamId",a.teamId)("componentId",a.componentId))},y4a=function(a){a&1&&Q(0,x4a,2,2,"div",30);if(a&2){N();var b=yf(8);N();a=N();F("ngIf","TEAM"===a.type)("ngIfElse",b)}},z4a=function(a){if(a&1){var b=v();G(0,"div")(1,"a",40);M("click",function(){w(b);var c=N(4);return y(c.trackClick("postmortem"))});R(2);H()()}a&2&&(a=N(3).item,z(1),vf("href","https://pm.corp.google.com/",a,"",Id),ef("aria-label","Postmortem ",a,""),z(1),zf(" ",a," "))},A4a=function(a){a&1&&Q(0,z4a,
3,3,"div",30);if(a&2){N();var b=yf(10);N();a=N();F("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},B4a=function(a){a&1&&(G(0,"div"),I(1,"b-truncated-span",42),H());if(a&2){a=N(3).item;var b=N();z(1);F("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},C4a=function(a){a&1&&I(0,"b-user-membership-chip",46);if(a&2){a=N(4).item;var b=N();F("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)}},D4a=function(a){a&1&&(G(0,"b-person-hovercard",47),R(1),H());a&2&&(a=N(4).item,F("email",
a),z(1),zf(" ",a," "))},E4a=function(a){a&1&&(G(0,"div",43),Q(1,C4a,1,4,"b-user-membership-chip",44),Q(2,D4a,2,2,"b-person-hovercard",45),H());a&2&&(a=N(4),z(1),F("ngIf",a.enableTeamAnnotations),z(1),F("ngIf",!a.enableTeamAnnotations))},F4a=function(a){a&1&&(Q(0,B4a,2,3,"div",3),Q(1,E4a,3,2,"div",41));if(a&2){a=N(2).item;var b=N();F("ngIf",!b.isUser&&b.isString(a));z(1);F("ngIf",b.isUser&&b.isString(a))}},G4a=function(a){if(a&1){var b=v();G(0,"button",48,49);M("click",function(){w(b);var d=N(2).$index,
e=N();return y(e.removeItem(d))});H()}if(a&2){a=N(2).item;var c=N();ff("aria-label","Remove ",a," from ",c.title,"");F("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},H4a=function(a){a&1&&(G(0,"div",28)(1,"div",29),Q(2,u4a,2,1,"div",30),Q(3,w4a,1,2,"ng-template",null,31,Vf),Q(5,y4a,1,2,"ng-template",null,32,Vf),Q(7,A4a,1,2,"ng-template",null,33,Vf),Q(9,F4a,2,2,"ng-template",null,34,Vf),H(),Q(11,G4a,2,4,"button",35),I(12,"div",36),H());if(a&2){var b=yf(4);N();a=N();z(2);F("ngIf","CHANGELISTS"===
a.type)("ngIfElse",b);z(9);F("ngIf",!a.readonly&&"REPEATED_ENUM"!==a.type)}},I4a=function(a,b){a&1&&Q(0,H4a,13,3,"div",27);a&2&&(a=b.$index,b=N(),F("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===b.defaultLineCount+1))},J4a=function(a){if(a&1){var b=v();G(0,"div",51,52);M("click",function(c){w(b);var d=N(2);return y(mp(d,!1,c))})("keydown.enter",function(c){w(b);var d=N(2);return y(mp(d,!1,c))})("keydown.space",function(c){w(b);var d=N(2);return y(mp(d,!1,c))});R(2," (show fewer) ");
H()}a&2&&(a=N(2),ff("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),vf("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},K4a=function(a){if(a&1){var b=v();G(0,"div")(1,"div",53);R(2);G(3,"span",54,55);M("click",function(c){w(b);var d=N(2);return y(mp(d,!0,c))})("keydown.enter",function(c){w(b);var d=N(2);return y(mp(d,!0,c))})("keydown.space",function(c){w(b);var d=N(2);return y(mp(d,!0,c))});R(5," (show all) ");H()()()}a&2&&(a=N(2),z(2),zf(" ... and ",
a.values.length-a.defaultLineCount," more "),z(1),ff("aria-label","Show all ",null==a.values?null:a.values.length," ",a.title," items"),vf("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},L4a=function(a){a&1&&(Q(0,J4a,3,3,"div",50),Q(1,K4a,6,4,"div",3));a&2&&(a=N(),F("ngIf",a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1),z(1),F("ngIf",!a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1))},M4a=function(a,b){if(a&1){var c=v();G(0,"button",
57);M("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()});G(1,"span",58);I(2,"mat-icon",59);H();R(3);H()}a&2&&(a=b.$implicit,b=N(2),mf("b-menu-item-checked",b.enumPendingValues.has(a.value)),F("disabled",b.listFieldDisabled),bf("aria-label",a.displayText),z(3),zf(" ",a.displayText," "))},N4a=function(a){a&1&&Q(0,M4a,4,5,"button",56);a&2&&(a=N(),F("ngForOf",a.sortedEnumChoices)("ngForTrackBy",
a.trackByIndex))},O4a=function(a){a&1&&I(0,"input",69);a&2&&(a=N(2),ef("aria-label","Addition to ",a.title,""),F("bContactAutocomplete","MULTI"))},P4a=function(a){a&1&&I(0,"input",70);a&2&&(a=N(2),ef("aria-label","Addition to ",a.title,""),F("type","REPEATED_NUMERIC"===a.type?"number":"text"))},Q4a=function(a){a&1&&(G(0,"mat-error"),R(1),H());a&2&&(a=N(2),ff("aria-label","",a.title," error: ",a.invalidMessage,""),z(1),zf(" ",a.invalidMessage," "))},T4a=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout")(1,
"xap-dialog-layout-content")(2,"form",60,61);M("ngSubmit",function(){w(b);var d=yf(3),e=yf(4),g=N();return y(R4a(g,d,e))});Q(5,O4a,1,2,"input",62);Q(6,P4a,1,2,"input",63);G(7,"div",64)(8,"button",65);I(9,"mat-icon",66);H();G(10,"button",67);M("click",function(){w(b);var d=N();return y(S4a(d,!0))});I(11,"mat-icon",68);H()();Q(12,Q4a,2,3,"mat-error",3);H()()()}if(a&2){var c=yf(3);a=N();z(5);F("ngIf",a.isUser);z(1);F("ngIf",!a.isUser);z(2);ef("aria-label","Apply addition to ",a.title,"");F("disabled",
!c.valid||a.listFieldDisabled);z(2);ef("aria-label","Discard addition to ",a.title,"");z(2);F("ngIf",a.invalidMessage)}},U4a=function(a){if(a&1){var b=v();G(0,"b-date-time-picker-content",71);M("dateChange",function(c){w(b);var d=N();return y(c&&d.addItems(c))})("cancelClicked",function(){w(b);var c=N();return y(S4a(c,!1))});H()}a&2&&F("required",!0)("renderPanel",!1)},np=function(a,b){return{originX:a,originY:b}},op=function(a,b){return{overlayX:a,overlayY:b}},V4a=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}},W4a=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},Z4a=function(a){if(a&1){var b=v();G(0,"b-edit-field",3);M("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;F("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",X4a(c))("displayValueOverride",c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:Ef(11,Y4a))("showEnumTitle",!0)("disabled",c.disabled)}},
a5a=function(a){if(a&1){var b=v();G(0,"b-list-field",4);M("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();F("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("values",$4a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},b5a=function(a,b){a&1&&(J(0),Q(1,Z4a,1,12,"b-edit-field",1),Q(2,a5a,1,9,"b-list-field",2),L());a&2&&
(a=b.ngIf,z(1),F("ngIf",!a.isRepeated()),z(1),F("ngIf",a.isRepeated()))},c5a=function(a){a&1&&(G(0,"div"),R(1," Loading custom fields... "),H())},d5a=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=N(2),z(1),zf(" There are no custom fields in component ",a.selectedComponent.name,". "))},e5a=function(a,b){a&1&&(G(0,"mat-option",9),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",a.name," "))},f5a=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",6)(2,"mat-label");R(3,"Custom field");
H();G(4,"mat-select",7);M("selectionChange",function(c){w(b);var d=N(2);return y(d.fieldSelected.emit(c.value))});Q(5,e5a,2,2,"mat-option",8);H()()()}a&2&&(a=N(2),z(5),F("ngForOf",a.customFields))},g5a=function(a){a&1&&(G(0,"div",4),Q(1,c5a,2,0,"div",5),Q(2,d5a,2,1,"div",5),Q(3,f5a,6,1,"div",5),H());a&2&&(a=N(),z(1),F("ngIf",null==a.customFields),z(1),F("ngIf",a.customFields&&!a.customFields.length),z(1),F("ngIf",null==a.customFields?null:a.customFields.length))},h5a=function(a){a&1&&rf(0)},i5a=function(){},
j5a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N().value,z(1),Af(a.textValue))},k5a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",5),L());if(a&2){a=N().value;var b=N();z(1);F("date",b.toDate(a.dateValue))}},l5a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N().value,z(1),Af(a.enumValue))},m5a=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N().value,z(1),Af(a.numericValue))},n5a=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(1),Bf("",a,"",b?"":", ",""))},o5a=function(a){a&1&&(J(0),Q(1,n5a,
2,2,"ng-container",6),L());a&2&&(a=N().value,z(1),F("ngForOf",a.repeatedTextValue.values))},p5a=function(a,b){a&1&&(J(0),I(1,"b-formatted-date-time",5),R(2),L());if(a&2){a=b.$implicit;b=b.last;var c=N(3);z(1);F("date",c.toDate(a));z(1);Af(b?"":", ")}},q5a=function(a){a&1&&(J(0),Q(1,p5a,3,2,"ng-container",6),L());a&2&&(a=N().value,z(1),F("ngForOf",a.repeatedDateValue.values))},r5a=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(1),Bf("",a,"",b?"":", ",""))},s5a=function(a){a&1&&(J(0),
Q(1,r5a,2,2,"ng-container",6),L());a&2&&(a=N().value,z(1),F("ngForOf",a.repeatedEnumValue.values))},t5a=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,z(1),Bf("",a,"",b?"":", ",""))},u5a=function(a){a&1&&(J(0),Q(1,t5a,2,2,"ng-container",6),L());a&2&&(a=N().value,z(1),F("ngForOf",a.repeatedNumericValue.values))},v5a=function(a,b){a&1&&(Q(0,j5a,2,1,"ng-container",4),Q(1,k5a,2,1,"ng-container",4),Q(2,l5a,2,1,"ng-container",4),Q(3,m5a,2,1,"ng-container",4),Q(4,o5a,2,1,"ng-container",
4),Q(5,q5a,2,1,"ng-container",4),Q(6,s5a,2,1,"ng-container",4),Q(7,u5a,2,1,"ng-container",4));a&2&&(a=b.value,b=N(),F("ngIf",null!=a.textValue),z(1),F("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),z(1),F("ngIf",null!=a.enumValue),z(1),F("ngIf",null!=a.numericValue),z(1),F("ngIf",null!=a.repeatedTextValue),z(1),F("ngIf",null!=a.repeatedDateValue),z(1),F("ngIf",null!=a.repeatedEnumValue),z(1),F("ngIf",null!=a.repeatedNumericValue))},pp=function(a){var b=void 0===b?w5a:b;var c=xa(a),d=function(e){e=
k(e);e.next();e=te(e);return b(c,e)};return function(){var e=Lc.apply(0,arguments),g=this||ba,h=x5a.get(g);h||(h={},x5a.set(g,h));g=h;h=[this].concat(Pc(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=te(l);h=a.apply(h,l);g=g[e]=h}return g}},qp=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},rp=function(a,b){for(var c in a)if(c.toLowerCase()===
b.toLowerCase())return a[c]},y5a=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},A5a=function(a){a=Sb(a);for(var b=0;b<z5a.length;++b){var c=z5a[b],d=rp(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,y5a(a,c))}return a},B5a=function(a){a=Sb(a);y5a(a,"X-Goog-Upload-Status");return a},D5a=function(a){if(a&1){var b=v();G(0,"button",3);M("fileSelected",function(c){w(b);var d=N();return y(C5a(d,c))});I(1,"mat-icon",4);H()}a&2&&(a=N(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",
!0)("disabled",a.disabled))},E5a=function(a){if(a&1){var b=v();G(0,"button",5);M("fileSelected",function(c){w(b);var d=N();return y(C5a(d,c))});I(1,"mat-icon",4);R(2," Add attachments ");H()}a&2&&(a=N(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},F5a=function(a){a&1&&(G(0,"span"),R(1),S(2,"humanFileSize"),S(3,"humanFileSize"),H());if(a&2){a=N().$implicit;var b;z(1);Bf(" ",T(2,2,a.transferredBytes)," of ",T(3,4,null!==(b=a.size)&&void 0!==
b?b:0)," ")}},G5a=function(a){a&1&&(G(0,"span",11),R(1),H());a&2&&(a=N().$implicit,z(1),zf(" ",a.errorMessage," "))},H5a=function(a){a&1&&(G(0,"span",11),R(1),S(2,"humanFileSize"),H());if(a&2){a=N().$implicit;var b;z(1);zf(" ",T(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},J5a=function(a,b){if(a&1){var c=v();G(0,"div",3)(1,"div",4);I(2,"mat-icon",5);G(3,"span",6);R(4);H();G(5,"span",7);Q(6,F5a,4,6,"span",8);Q(7,G5a,2,1,"span",9);Q(8,H5a,3,3,"span",9);H()();G(9,"button",10);M("click",function(){var d=
w(c).$implicit,e=N(2);return y(e.cancel(d))});H()()}a&2&&(a=b.$implicit,b=N(2),F("ngClass",Ff(8,I5a,a.state===b.uploadStates.ERROR)),z(3),F("matTooltip",a.name),z(1),Af(a.name),z(2),F("ngIf",a.state===b.uploadStates.UPLOADING),z(1),F("ngIf",a.state===b.uploadStates.ERROR),z(1),F("ngIf",a.state===b.uploadStates.COMPLETE),z(1),F("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),bf("aria-label","Remove attachment"+a.name))},K5a=function(a){a&1&&(G(0,"div",1),Q(1,J5a,
10,10,"div",2),H());a&2&&(a=N(),z(1),F("ngForOf",a.uploads))},L5a=function(a){this.action=a;this.wfv=!1},M5a=function(a,b){L5a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},N5a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},P5a=function(a,b){var c=b&&b.getWindow()||window;if(N5a(b))a();else if(O5a)O5a.push(a);else var d=O5a=[a],e=c.setInterval(function(){if(N5a(b)){c.clearInterval(e);for(var g=0;g<d.length;g++)d[g]();O5a=null}},100)},R5a=function(a,b){var c;
a:{for(c=b.target;c;){if(1==c.nodeType){var d=sp(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!Q5a(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()},S5a=function(a){if(a&1){var b=v();G(0,"div",1);I(1,"mat-icon",2);G(2,"div",3);R(3," Comment and vote +1 on this issue to increase visibility ");H();G(4,"div",4)(5,"button",5);M("click",function(){w(b);var c=N();return y(c.onClick())});
R(6,"Comment and vote +1");H()()()}a&2&&(z(1),F("matTooltip","The +1 button is located in the top right corner of the issue details page"))},T5a=function(a){if(a&1){var b=v();J(0);G(1,"b-plus-one-comment-callout",7);M("onSubmitComment",function(){w(b);N().onSubmit.emit();return y()});H();L()}a&2&&(a=N(),z(1),F("isPlusOneText","+1"===a.comment.value.trim()))},U5a=function(a){if(a&1){var b=v();G(0,"b-drive-attachment",12);M("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),F("disabled",a.attachmentsDisabled))},V5a=function(a){if(a&1){var b=v();J(0);G(1,"button",16);M("click",function(){w(b);var c=N(3);return y(c.onRestrict.emit())});I(2,"mat-icon",17);H();L()}a&2&&(a=N(3),z(1),F("disabled",a.attachmentsDisabled))},W5a=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=N(3);return y(c.onRestrict.emit())});I(1,"mat-icon",
17);R(2);H()}a&2&&(a=N(3),z(2),zf(" ",a.getRestrictedLabel()," "))},X5a=function(a){a&1&&(G(0,"div",13),Q(1,V5a,3,1,"ng-container",14),Q(2,W5a,3,1,"ng-template",null,15,Vf),H());if(a&2){var b=yf(3);a=N(2);z(1);F("ngIf",!a.isRestricted())("ngIfElse",b)}},Y5a=function(a){if(a&1){var b=v();G(0,"div",8);uf(1,1,["class","goog-inline-block"]);G(2,"b-attachment-selector",9);M("onSelect",function(d){w(b);var e=N();return y(e.uploadFile(d))});H();Q(3,U5a,1,1,"b-drive-attachment",10);S(4,"async");Q(5,X5a,4,
2,"div",11);H()}if(a&2){a=N();var c;z(2);F("disabled",a.attachmentsDisabled);z(1);F("ngIf",!(null!==(c=T(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));z(2);F("ngIf",a.showRestrictionOptions)}},Z5a=function(a){a&1&&(G(0,"div"),I(1,"b-live-preview",19),H());a&2&&(a=N(),z(1),F("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},a6a=function(a,b){if(a&1){var c=v();G(0,"button",13);M("click",function(){var d=w(c).$implicit,e=N(3);return y($5a(e.issueEditBuilder,
d))});R(1);H()}a&2&&(a=b.$implicit,b=N(3),F("disabled",b.issueEditBuilder.issueState==a),z(1),zf(" ",a.displayValue," "))},b6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2,"Multiple");H();G(3,"a",28);M("click",function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearAssignee())});R(4,"X");H()()}},c6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2,"Possibly multiple");H();G(3,"a",28);M("click",function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearAssignee())});R(4,
"X");H()()}},e6a=function(a){if(a&1){var b=v();G(0,"div")(1,"input",29);M("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(d6a(c.issueEditBuilder))});H()()}a&2&&(a=N(4),z(1),F("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete","SINGLE"),bf("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},f6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2);H();G(3,"a",30);M("click",
function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearVerifier())});R(4,"X");H()()}a&2&&(a=N(4),mf("bv2-invalid-multiple-user-chip",!tp(a.issueEditBuilder)),z(2),zf(" Multiple ",tp(a.issueEditBuilder)?"":"(some unset)"," "))},g6a=function(a){if(a&1){var b=v();G(0,"div",27)(1,"span");R(2);H();G(3,"a",30);M("click",function(){w(b);var c=N(4);return y(c.issueEditBuilder.clearVerifier())});R(4,"X");H()()}a&2&&(a=N(4),mf("bv2-invalid-multiple-user-chip",!tp(a.issueEditBuilder)),z(2),zf(" Possibly multiple ",
tp(a.issueEditBuilder)?"":"(some unset)"," "))},h6a=function(a){if(a&1){var b=v();G(0,"div")(1,"input",31);M("ngModelChange",function(c){w(b);var d=N(4);return y(d.issueEditBuilder.commonVerifier=c)});H()()}a&2&&(a=N(4),z(1),F("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),bf("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},i6a=function(a){a&1&&(G(0,
"div")(1,"div",21)(2,"label",22),R(3," Assignee "),H(),G(4,"div",15),Q(5,b6a,5,0,"div",23),Q(6,c6a,5,0,"div",23),Q(7,e6a,2,3,"div",24),H()(),G(8,"div",21)(9,"label",25),R(10," Verifier "),H(),G(11,"div",15),Q(12,f6a,5,3,"div",26),Q(13,g6a,5,3,"div",26),Q(14,h6a,2,4,"div",24),H()()());a&2&&(a=N(3),z(4),F("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),z(1),F("ngSwitchCase","MULTIPLE"),z(1),F("ngSwitchCase","POSSIBLY_MULTIPLE"),z(5),F("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),z(1),
F("ngSwitchCase","MULTIPLE"),z(1),F("ngSwitchCase","POSSIBLY_MULTIPLE"))},j6a=function(a){if(a&1){var b=v();G(0,"div",21)(1,"label",32);R(2," Issue ID ");H();G(3,"input",33);M("ngModelChange",function(c){w(b);var d=N(3);return y(d.issueEditBuilder.commonDuplicateOf=c.trim())});H()()}a&2&&(a=N(3),z(3),F("ngModel",a.issueEditBuilder.commonDuplicateOf),bf("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},k6a=function(a,b){a&1&&(G(0,"li"),R(1),I(2,"b-access-level-indicator",36),H());a&2&&
(a=b.$implicit,z(1),zf(" ",a.path," "),z(1),F("accessLevel",a.accessLevel))},l6a=function(a){a&1&&(G(0,"div",34)(1,"div")(2,"strong"),R(3,"You are editing issues in components that have external viewers:"),H()(),G(4,"ul"),Q(5,k6a,3,2,"li",35),H()());a&2&&(a=N(3),z(5),F("ngForOf",a.externalWarnings))},m6a=function(a){if(a&1){var b=v();G(0,"div",9)(1,"button",10)(2,"span");R(3);H();I(4,"b-icon",11);H();G(5,"mat-menu",null,12)(7,"button",13);M("click",function(){w(b);var d=N(2);return y(d.issueEditBuilder.issueState=
void 0)});R(8,"No change ");H();Q(9,a6a,2,2,"button",14);H();G(10,"div",15);Q(11,i6a,15,6,"div",16);Q(12,j6a,4,2,"div",17);H();G(13,"div")(14,"b-comment-box",18);M("onSubmit",function(){w(b);var d;null==(d=N(2).matDialogRef)||d.close(!0);return y()});H()();I(15,"div",19);Q(16,l6a,6,1,"div",20);H()}if(a&2){var c=yf(6);a=N(2);z(1);F("matMenuTriggerFor",c);z(2);Af(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");z(4);F("disabled",!a.issueEditBuilder.issueState);z(2);
F("ngForOf",a.issueStates);z(1);F("ngSwitch",!a.issueEditBuilder.issueState||"DUPLICATE"!==a.issueEditBuilder.issueState.status);z(1);F("ngSwitchCase",!0);z(3);F("comment",a.comment)("showToolbar",!1);z(2);F("ngIf",0<a.externalWarnings.length)}},n6a=function(a){if(a&1){var b=v();G(0,"div",37)(1,"b-recaptcha",38);M("onUpdate",function(c){w(b);var d=N(2);return y(d.issueEditBuilder.recaptchaResponse=c)});H()()}},p6a=function(a){a&1&&(G(0,"form",null,1)(2,"h1",2),R(3,"Change issue status"),H(),G(4,"div",
3)(5,"span"),R(6,"Enter updated issue status information below"),H(),Q(7,m6a,17,9,"div",4),H(),Q(8,n6a,2,0,"div",5),G(9,"div",6)(10,"button",7),R(11," Cancel "),H(),G(12,"button",8),R(13," Save "),H()()());if(a&2){var b=yf(1);a=N();z(7);F("ngIf",a.issueEditBuilder);z(1);F("ngIf",a.issueEditBuilder&&a.enableRecaptcha);z(2);F("mat-dialog-close",!1);z(2);var c=F("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=o6a(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===
e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!tp(a.issueEditBuilder)&&!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},up=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},q6a=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},vp=function(a){var b;return"EXTERNAL_PUBLIC"===(null==
a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},r6a=function(a,b){return a?a.join(" > "):String(b)},s6a=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""}},t6a=function(a){a&
1&&(G(0,"div")(1,"p"),R(2),H()());a&2&&(a=N(),z(2),Bf(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},u6a=function(a,b){a&1&&(G(0,"li"),R(1),H());a&2&&(a=b.$implicit,z(1),Bf(" ",a.issueId," - ",a.title," "))},v6a=function(a){a&1&&(G(0,"div")(1,"p"),R(2),H(),G(3,"ul"),Q(4,u6a,2,2,"li",9),H()());a&2&&(a=N(),z(2),zf(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),
z(2),F("ngForOf",a.protectedIssues))},w6a=function(a){if(a&1){var b=v();G(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");R(3);H();G(4,"input",5);M("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),zf(" ",a.effortSpecName," "),z(1),F("ngModel",a.numericEstimatedEffort))},x6a=function(a){if(a&1){var b=v();G(0,"div",6)(1,"label");
R(2);H();G(3,"onedev-single-select",7);M("valueChange",function(c){w(b);var d=N();return y(d.currentEnumLabel=c)});H()()}a&2&&(a=N(),z(2),zf(" ",a.effortSpecName," "),z(1),F("value",a.currentEnumLabel)("includeEmptyOption",!0)("options",a.allowedLabels))},C6a=function(a,b){if(a&1){var c=v();G(0,"div",18,19);M("click",function(){var e=w(c).$implicit,g=N(2);y6a(g,e)||wp(g,e);return y()});G(2,"mat-pseudo-checkbox",20);M("click",function(e){var g=w(c).$implicit,h=N(2);e.stopPropagation();return y(z6a(h,
g))});H();G(3,"span");R(4);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);lf("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");mf("focused",b===d.focusedRowIndex);wf("title",a.name);bf("id","hotlist-item-"+a.hotlistId)("aria-checked",A6a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",y6a(d,a));z(2);F("state",B6a(d.selectedHotlistMap[a.hotlistId]))("disabled",y6a(d,a));z(2);zf(" ",a.name," ")}},D6a=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(2),z(1),zf(" (",a.filterText,")"))},
E6a=function(a){if(a&1){var b=v();G(0,"div",21,22);M("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())});R(2,"Load hotlist from id ");G(3,"span");R(4);H()()}a&2&&(a=N(2),mf("focused",a.focusedRowIndex===a.choices.length+1),bf("aria-label","Load hotlist from"+a.filterText),z(4),zf("(",a.filterText,")"))},G6a=function(a){if(a&1){var b=v();G(0,"div",23,24);M("click",function(){w(b);var c=N(2);return y(F6a(c))})("keydown.enter",
function(){w(b);var c=N(2);return y(F6a(c))});R(2,"Apply");H()}a&2&&(a=N(2),mf("focused",a.focusedRowIndex===a.choices.length+2))},H6a=function(a){if(a&1){var b=v();G(0,"div",5)(1,"div",10,11);Q(3,C6a,5,11,"div",12);H()();I(4,"mat-divider");G(5,"div",13,14);M("click",function(){w(b);var c=N();return y(c.createHotlist())})("keydown.enter",function(){w(b);var c=N();return y(c.createHotlist())});R(7,"Create new hotlist ");Q(8,D6a,2,1,"span",15);H();Q(9,E6a,5,4,"div",16);Q(10,G6a,3,2,"div",17)}a&2&&(a=
N(),z(3),F("ngForOf",a.choices),z(2),mf("focused",a.focusedRowIndex===a.choices.length),F("disabled",!a.canCreate),bf("aria-label","Create new hotlist"+a.filterText),z(3),F("ngIf",!!a.filterText),z(1),F("ngIf",a.canLoad),z(1),F("ngIf",a.pendingChanges))},J6a=function(a){if(a&1){var b=v();G(0,"b-app-bar-bulk-edit-menus",6);M("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())});S(1,"async");H()}if(a&2){a=N();var c;F("readStatePrompt",I6a(a))("enableBulkEstimatedEffortOption",null!==(c=T(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)}},N6a=function(a){if(a&1){var b=v();G(0,"b-copy-issue-id-button",7);M("onClickCopyIssueIds",function(){w(b);var c=N();return y(K6a(c.copyIssueIdService,xp(c)))})("onClickCopyIssueShortLinks",function(){w(b);
var c=N();return y(L6a(c.copyIssueIdService,xp(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=N();return y(M6a(c.copyIssueIdService,xp(c)))});H()}a&2&&(a=N(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},O6a=function(a){if(a&1){var b=v();G(0,"div",8)(1,"b-hotlist-picker",9);M("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),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},Q6a=function(a){if(a&1){var b=v();G(0,"b-comment-box",16);M("commentChange",function(c){w(b);var d=N(2);return y(d.comment=c)})("onSubmit",function(){w(b);var c=N(2);return y(P6a(c))});H()}a&2&&(a=N(2),F("comment",a.comment)("showToolbar",!1))},R6a=function(a,b){a&1&&(G(0,"li"),R(1),I(2,"b-access-level-indicator",19),H());a&2&&(a=b.$implicit,
z(1),zf(" ",a.path," "),z(1),F("accessLevel",a.accessLevel))},S6a=function(a){a&1&&(G(0,"div",17)(1,"div")(2,"strong"),R(3,"You are commenting on issues in components that have external viewers:"),H()(),G(4,"ul"),Q(5,R6a,3,2,"li",18),H()());a&2&&(a=N(2),z(5),F("ngForOf",a.externalWarnings))},T6a=function(a){if(a&1){var b=v();G(0,"div",20)(1,"b-recaptcha",21);M("onUpdate",function(c){w(b);var d=N(2);return y(d.recaptchaResponse=c)});H()()}},U6a=function(a){a&1&&(G(0,"h1",10),R(1,"Add comment"),H(),
G(2,"mat-dialog-content"),Q(3,Q6a,1,2,"b-comment-box",11),Q(4,S6a,6,1,"div",12),H(),Q(5,T6a,2,0,"div",13),G(6,"mat-dialog-actions")(7,"button",14),R(8," Cancel "),H(),G(9,"button",15),R(10," Save "),H()());a&2&&(a=N(),z(3),F("ngIf",a.comment),z(1),F("ngIf",0<a.externalWarnings.length),z(1),F("ngIf",a.enableRecaptcha),z(2),F("mat-dialog-close",!1),z(2),F("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},W6a=function(a){for(var b=k(V6a),c=b.next();!c.done;c=b.next())if(c=
c.value,c.accessLevel===a)return c.title;return yp.title},X6a=function(a){a&1&&I(0,"mat-icon",10);a&2&&(a=N(),F("matTooltip",a.disabledDropdownTooltip))},Y6a=function(a,b){if(a&1){var c=v();G(0,"button",11);M("click",function(){var d=w(c).$implicit,e=N();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return y()});G(1,"div",12);I(2,"mat-icon",13);G(3,"span",14);R(4);H()();G(5,"div",15);R(6);H()()}a&2&&(a=b.$implicit,b=N(),z(2),F("svgIcon",a.icon),z(2),zf(" ",a.title," "),
z(2),zf(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},Z6a=function(a){a&1&&(G(0,"span"),R(1,"Edit"),H())},$6a=function(a){a&1&&(G(0,"span"),R(1,"Cancel"),H())},f7a=function(a){if(a&1){var b=v();J(0);G(1,"td")(2,"div")(3,"div",11);R(4);H();G(5,"div",12)(6,"a",13);R(7);H()()()();G(8,"td",3)(9,"mat-radio-button",14);M("change",function(d){w(b);var e=N(2);return y(a7a(e,d.value))});H()();G(10,"td",3)(11,"b-button",15);M("onAction",function(){w(b);var d=
N().$implicit,e=N();return y(b7a(e,d))});Q(12,Z6a,2,0,"span",9);Q(13,$6a,2,0,"span",9);H()();G(14,"td",3)(15,"b-button",16);M("onAction",function(){w(b);var d=N().$implicit,e=N();return y(c7a(e,d))});R(16," Delete ");H()();L()}if(a&2){a=N().$implicit;var c=N();z(3);mf("selected",d7a(c,a));z(1);zf(" ",a.name," ");z(2);F("href",e7a(c,a),Id);bf("aria-label",a.name+"- Click to create a new issue");z(1);zf(" ",e7a(c,a)," ");z(2);vf("id","template-default-radio-",a.index,"");F("checked",c.defaultIndex===
a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);z(2);F("bAriaLabel",d7a(c,a)?"Cancel editing "+a.name:"Edit "+a.name);z(1);F("ngIf",!d7a(c,a));z(1);F("ngIf",d7a(c,a));z(2);F("bAriaLabel","Delete "+a.name)("disabled",!(0<=a.index&&!c.templates[a.index].default))}},g7a=function(a){a&1&&(G(0,"h2",70),R(1," Create Template "),H())},h7a=function(a){a&1&&(G(0,"h2",70),R(1),H());a&2&&(a=N(2).$implicit,z(1),Bf(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?
"(changed)":""," "))},j7a=function(a,b){if(a&1){var c=v();G(0,"button",71);M("click",function(){var e=w(c).$implicit,g=N(2).$implicit,h=N();g.issueType=e.value;return y(i7a(h))});R(1);H()}if(a&2){a=b.$implicit;b=N(2).$implicit;var d;F("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");z(1);zf(" ",a.displayText," ")}},k7a=function(a,b){if(a&1){var c=v();G(0,"button",72);M("click",function(){var d=w(c).$implicit,e=N(2).$implicit;e.editableTemplate.priority=d.value;
e.editableTemplate.dirty=!0;return y()});R(1);H()}a&2&&(a=b.$implicit,b=N(2).$implicit,F("disabled",b.editableTemplate.priority===a.value),z(1),zf(" ",a.displayText," "))},l7a=function(a,b){if(a&1){var c=v();G(0,"button",72);M("click",function(){var d=w(c).$implicit,e=N(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return y()});R(1);H()}a&2&&(a=b.$implicit,b=N(2).$implicit,F("disabled",b.editableTemplate.severity===a.value),z(1),zf(" ",a.displayText," "))},m7a=function(a,
b){if(a&1){var c=v();G(0,"div",73)(1,"b-hotlist-chip",74);M("removeHotlist",function(){var d=w(c).$implicit,e=N(3);return y(e.removeHotlist(d.hotlistId))});H()()}a&2&&(a=b.$implicit,z(1),F("hotlist",a))},n7a=function(a){a&1&&(G(0,"h3"),R(1,"Custom issue fields"),H())},o7a=function(a){if(a&1){var b=v();G(0,"input",82);M("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;ef("id","template-cf-",a.id,"");F("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},p7a=function(a){if(a&1){var b=v();G(0,"input",83);M("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;ef("id","template-cf-",
a.id,"");F("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},r7a=function(a){if(a&1){var b=v();G(0,"b-edit-field",84);M("valueChange",function(h){w(b);var l=N().$implicit,q=N(2).$implicit,x=N();return y(x.setCustomField(q,l.id,h))});H()}if(a&2){a=N().$implicit;var c=N(2).$implicit,d=N(),e,g;ef("id","template-cf-",a.id,"");F("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:Ef(6,q7a))}},s7a=function(a){if(a&1){var b=v();G(0,"bv2-input-date-picker",85);M("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;ef("id","template-cf-",a.id,"");F("boundValue",null!==
(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},u7a=function(a){if(a&1){var b=v();G(0,"b-list-field",86);M("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();ef("id","template-cf-",a.id,"");F("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",t7a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",
!0)}},v7a=function(a,b){a&1&&(G(0,"div")(1,"div",21)(2,"label",75),R(3),H()(),G(4,"div",76),Q(5,o7a,1,2,"input",77),Q(6,p7a,1,2,"input",78),Q(7,r7a,1,7,"b-edit-field",79),Q(8,s7a,1,2,"bv2-input-date-picker",80),Q(9,u7a,1,6,"b-list-field",81),H()());a&2&&(a=b.$implicit,pf("cell-",a.cellType,""),z(2),vf("for","template-cf-",a.id,""),z(1),Bf("",a.name," (id=",a.id,")"),z(1),F("ngSwitch",a.type),z(1),F("ngSwitchCase","TEXT"),z(1),F("ngSwitchCase","NUMERIC"),z(1),F("ngSwitchCase","ENUM"),z(1),F("ngSwitchCase",
"DATE"))},A7a=function(a){if(a&1){var b=v();G(0,"td",17)(1,"div",18);Q(2,g7a,2,0,"h2",19);Q(3,h7a,2,2,"h2",19);G(4,"div",20)(5,"div",21)(6,"label",22);R(7,"Template Name");H()();G(8,"input",23);M("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()();G(9,"div",20)(10,"div",21)(11,"label",24);R(12,"Description of Template");H()();G(13,"input",25);M("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()();G(14,"div",26)(15,"h3");R(16," Standard issue fields ");H();G(17,"div",20)(18,"div",21)(19,"label",27);R(20,"Issue Access Level");H()();G(21,"b-issue-access-limits-dropdown",28);M("updatedAccessLimitLevel",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.onAccessLimitLevelSelected(h))});H()();G(22,"div",20)(23,"div",21)(24,"label",
29);R(25,"Title");H()();G(26,"input",30);M("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()();G(27,"div",31)(28,"div",21)(29,"label",32);R(30,"Type");H()();G(31,"button",33)(32,"span");R(33);H();I(34,"b-icon",34);H();G(35,"mat-menu",35,36);Q(37,j7a,2,3,"button",37);H()();G(38,"div",31)(39,"div",21)(40,"label",38);R(41,"Priority");H()();G(42,"button",39)(43,"span");R(44);
H();I(45,"b-icon",34);H();G(46,"mat-menu",35,40);Q(48,k7a,2,2,"button",41);H()();G(49,"div",31)(50,"div",21)(51,"label",42);R(52,"Severity");H()();G(53,"button",43)(54,"span");R(55);H();I(56,"b-icon",34);H();G(57,"mat-menu",35,44);Q(59,l7a,2,2,"button",41);H()();G(60,"div",45)(61,"div",21)(62,"label",46);R(63,"Default Hotlists");H()();G(64,"b-hotlist-picker",47);M("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();Q(65,m7a,2,1,"div",48);H();I(66,"div",49);G(67,"div",50)(68,"div",21)(69,"label",51);R(70,"Assignee");H()();G(71,"input",52);M("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()();G(72,"div",50)(73,"div",21)(74,"label",53);R(75,"Verifier");H()();G(76,"input",54);M("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()();G(77,"div",20)(78,"div",21)(79,"label",55);R(80,"Collaborators");H();I(81,"mat-icon",56);H();G(82,"input",57);M("ngModelChange",function(h){w(b);var l=N().$implicit;return y(w7a(l.editableTemplate,h))});H()();G(83,"div",20)(84,"div",21)(85,"label",58);R(86,"CC");H()();G(87,"input",59);M("ngModelChange",function(h){w(b);var l=N().$implicit;return y(x7a(l.editableTemplate,
h))});H()();G(88,"div",20)(89,"div",21)(90,"label",60);R(91,"Initial Comment");H()();G(92,"textarea",61);M("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()});R(93,"              ");H();G(94,"b-markdown-toggle",62);M("change",function(h){w(b);var l=N().$implicit;return y(l.editableTemplate.setFormattingMode(h))});H()();G(95,"div",20)(96,"div",21)(97,"label",63);R(98,"In Prod");
H()();G(99,"b-slide-toggle",64);M("modelChange",function(){w(b);var h=N().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return y()});H()()();G(100,"div",65);Q(101,n7a,2,0,"h3",9);Q(102,v7a,10,11,"div",66);H();G(103,"div",67)(104,"b-button",68);M("onAction",function(){w(b);var h=N(2);return y(y7a(h))});R(105," Save ");H();G(106,"b-button",69);M("onAction",function(){w(b);var h=N(2);return y(z7a(h))});R(107," Cancel ");H()()()()}if(a&2){var c=yf(36),d=yf(47),e=yf(58);a=N().$implicit;var g=
N();z(2);F("ngIf",a.editableTemplate.new);z(1);F("ngIf",!a.editableTemplate.new);z(5);F("ngModel",a.editableTemplate.name);z(5);F("ngModel",a.editableTemplate.description);z(8);F("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",g.implicitAccessEnabled);z(5);F("ngModel",a.editableTemplate.title);z(5);F("matMenuTriggerFor",c);z(2);Af(a.issueType);z(2);F("overlapTrigger",!0);z(2);F("ngForOf",g.issueTypeChoices);z(5);F("matMenuTriggerFor",d);z(2);
Af(a.editableTemplate.priority);z(2);F("overlapTrigger",!0);z(2);F("ngForOf",g.priorityChoices);z(5);F("matMenuTriggerFor",e);z(2);Af(a.editableTemplate.severity);z(2);F("overlapTrigger",!0);z(2);F("ngForOf",g.severityChoices);z(5);F("selectedHotlistIds",g.selectedHotlistIds)("choices",g.hotlists);z(1);F("ngForOf",g.selectedHotlists);z(6);F("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);z(5);F("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);z(6);F("bContactAutocomplete",
"MULTI")("ngModel",a.editableTemplate.collaborators.join(", "));z(5);F("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));z(5);F("ngModel",a.editableTemplate.comment);z(2);F("initialValue",a.editableTemplate.formattingMode);z(5);F("model",a.editableTemplate.inProd);z(2);F("ngIf",0<g.customFieldRows.length);z(1);F("ngForOf",g.customFieldRows);z(2);F("disabled",!a.editableTemplate.isDirty())}},B7a=function(a,b){a&1&&(G(0,"tr"),Q(1,f7a,17,15,"ng-container",9),Q(2,A7a,108,37,
"td",10),H());a&2&&(a=b.$implicit,z(1),F("ngIf",!a.editableTemplate),z(1),F("ngIf",!!a.editableTemplate))},C7a=function(a,b){a&1&&(G(0,"div",87),R(1),H(),G(2,"div",88)(3,"button",89),R(4," Cancel "),H(),G(5,"button",90),R(6," Confirm "),H()());a&2&&(a=b.$implicit,z(1),zf(' Are you sure you want to delete the template "',a.name,'"? '),z(2),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},D7a=function(a,b){a&1&&(G(0,"div",87),R(1),H(),G(2,"div",88)(3,"button",91),R(4," Cancel "),H(),G(5,"button",
91),R(6," Don't Save "),H(),G(7,"button",92),R(8," Save "),H()());a&2&&(a=b.$implicit,z(1),zf(' Do you want to save changes to template "',a.name,'" before closing? '),z(2),F("mat-dialog-close",void 0),z(2),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},F7a=function(a){if("CUSTOM_FIELD"===a.type)return new zp({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});
a=Oh(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return E7a.includes(a)?Ap(a):null},H7a=function(a){return G7a(a.map(F7a).filter(function(b){return!!b}))},I7a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:Ph(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})},G7a=function(a){return nl(a,
function(b){return b.name})},Ap=function(a){var b={name:a,label:a.toUpperCase()},c=J7a[a];c?Object.assign(b,c):E7a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new zp(b)},L7a=function(a,b){b=void 0===b?document.documentElement:b;return(0,E.concat)((0,E.defer)(function(){return(0,E.of)(b.querySelector(a))}),K7a(b,{childList:!0,subtree:!0}).pipe(ue(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),
D(function(){return b.querySelector(a)}))).pipe(ue(ni),Ce(),D(function(c){return c}))},K7a=function(a,b){return new E.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},Bp=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)}}},M7a=function(a,b){a&1&&I(0,"col");a&2&&pf("",b.$implicit.name,"-col")},N7a=function(a){a&1&&rf(0)},P7a=function(a,b){a&
1&&(J(0),Q(1,N7a,1,0,"ng-container",8),L());a&2&&(a=b.$implicit,b=N(),z(1),F("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Ff(2,O7a,a)))},Q7a=function(a){a&1&&rf(0)},S7a=function(a,b){a&1&&(J(0),Q(1,Q7a,1,0,"ng-container",8),L());if(a&2){a=b.$implicit;b=b.index;var c=N(),d=c.$implicit;c=c.index;var e=N().ngIf;z(1);F("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Hf(R7a,d,a,c))}},T7a=function(a,b){if(a&1){var c=v();G(0,"tr",10,11);M("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()});Q(2,S7a,2,6,"ng-container",4);H()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);mf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);bf("data-row-id",a.id)("data-is-read",
a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));z(2);F("ngForOf",d.columns)}},U7a=function(a){a&1&&(J(0),Q(1,T7a,3,12,"tr",9),L());a&2&&(a=N(),z(1),F("ngForOf",a.list))},V7a=function(a,b){a&1&&(G(0,"th"),I(1,"pop-grid-default-th",12),H());a&2&&(a=b.column,z(1),F("column",a))},W7a=function(a,b){a&1&&(G(0,"td"),I(1,"pop-grid-default-cell",13),H());a&2&&(a=b.row,b=b.column,z(1),F("row",a)("column",b))},X7a=function(a){if(a&1){var b=v();G(0,"b-sortable-header",3);M("sortChanged",
function(c){w(b);var d=N();d.grid&&d.grid.sortChange.emit(c);return y()});H()}a&2&&(a=N(),F("columnLabel",a.column.label)("columnName",a.column.name)("defaultSortDirection",a.column.defaultSortDirection||"ASC")("sort",null==a.grid?null:a.grid.sort)("matTooltip",a.column.tooltip||""))},Y7a=function(a){a&1&&(G(0,"span",6),R(1),H());a&2&&(a=N(2),z(1),zf("column-",a.column.name,""))},Z7a=function(a){a&1&&(G(0,"div",4),Q(1,Y7a,2,1,"span",5),R(2),H());a&2&&(a=N(),bf("aria-label",a.column.label),z(1),F("ngIf",
!a.column.label),z(1),zf(" ",a.column.label," "))},$7a=function(a){if(a&1){var b=v();G(0,"div",13,14);M("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);yf(1).openMenu();d.preventDefault();return y(d.stopPropagation())})("keydown.space",function(){w(b);var d=yf(1);return y(d.openMenu())});H()}if(a&2){a=N();var c=yf(5);mf("columnpicker-button-active",a.menuOpen);ef("aria-label","",a.column.fullLabel,
" column configuration");F("matMenuTriggerFor",c)}},c8a=function(a,b){if(a&1){var c=v();G(0,"button",15);M("click",function(){var d=w(c).$implicit,e=N();return y(a8a(e,d.name))});I(1,"b-icon",16);G(2,"span",17);R(3);H()()}a&2&&(a=b.$implicit,b=N(),mf("b-menu-item-checked",b8a(a.name).get(b.listViewPrefs)),z(3),zf(" ",a.menuItem," "))},d8a=function(a){a&1&&I(0,"mat-divider")},e8a=function(a){if(a&1){var b=v();G(0,"button",22);M("click",function(){w(b);var c=N().$implicit,d=N().before,e=N();return y(e.add(c,
d))});R(1);H()}a&2&&(a=N().$implicit,F("matTooltip",a.tooltip),z(1),zf(" ",a.fullLabel," "))},g8a=function(a){a&1&&(G(0,"button",9)(1,"span"),R(2),H()());if(a&2){a=N().$implicit;var b=N().before;N();var c=yf(18);F("matMenuTriggerFor",c)("matMenuTriggerData",Gf(3,f8a,a.columns,b));z(2);Af(a.label)}},h8a=function(a,b){a&1&&(J(0),Q(1,e8a,2,2,"button",20),Q(2,g8a,3,6,"button",21),L());a&2&&(a=b.$implicit,b=N(2),z(1),F("ngIf",b.isIssueGridColumn(a)),z(1),F("ngIf",!b.isIssueGridColumn(a)))},j8a=function(a){if(a&
1){var b=v();G(0,"button",18);M("click",function(){var c=w(b).before,d=N();return y(i8a(d,c))});R(1," Custom Field ");H();I(2,"mat-divider");Q(3,h8a,3,2,"ng-container",19)}a&2&&(a=N(),z(3),F("ngForOf",a.currentAvailableItems))},k8a=function(a,b){if(a&1){var c=v();G(0,"button",18);M("click",function(){var d=w(c).$implicit,e=N().before,g=N();return y(g.add(d,e))});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",a.fullLabel," "))},l8a=function(a,b){a&1&&Q(0,k8a,2,1,"button",23);a&2&&F("ngForOf",b.columns)},
b8a=function(a){switch(a){case "showHotlists":return{get:function(b){return b.showHotlists},set:function(b,c){b.showHotlists=c}};case "wrapTitles":return{get:function(b){return b.wrapTitles},set:function(b,c){b.wrapTitles=c}};case "wrapComponents":return{get:function(b){return b.wrapComponents},set:function(b,c){b.wrapComponents=c}};case "showStatusIcons":return{get:function(b){var c;return"icon"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?
d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;return"plain"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"plain":void 0}};case "rtlComponentPath":return{get:function(b){return b.rtlComponentPath},set:function(b,c){b.rtlComponentPath=c}};default:throw Error("ke`"+a);}},m8a=function(a){a&1&&(J(0),R(1," This issue has not been modified since "),I(2,"b-formatted-date-time",
4),R(3," and is scheduled for deletion on "),G(4,"strong"),I(5,"b-formatted-date-time",4),H(),R(6,". "),L());a&2&&(a=N(2),z(2),F("mode","date")("timestamp",a.modifiedTime),z(3),F("mode","date")("timestamp",a.retentionExpireTime))},n8a=function(a){a&1&&R(0," This issue is retained indefinitely. ")},o8a=function(a){a&1&&(J(0),Q(1,m8a,7,4,"ng-container",1),Q(2,n8a,1,0,"ng-template",null,2,Vf),G(4,"a",3),R(5,"Learn more"),H(),L());if(a&2){var b=yf(3);a=N();z(1);F("ngIf",a.retentionState.retentionPeriod)("ngIfElse",
b);z(3);F("href",a.documentationLink,Id)}},p8a=function(a){a&1&&(G(0,"b-base-chip",1)(1,"div",2),I(2,"retention-text",3),H(),G(3,"div",4),I(4,"retention-help-text",5),H()());a&2&&(a=N(),F("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),z(2),F("retentionState",a.retentionState)("compactMode",a.compactMode),z(2),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},q8a=function(a){var b=void 0===b?new Date:b;var c=Wm(Vm(a.scheduledDeletionTime));
b=b.getTime();a=(a=Dza(a.retentionPeriod))?1E3*a.getSeconds()+(a.getNanos()||0)/1E6:0;return b>=c-Math.max(12096E5,.2*a)},r8a=function(a){a&1&&rf(0)},s8a=function(a,b){a&1&&(G(0,"th",22),Q(1,r8a,1,0,"ng-container",23),H());a&2&&(a=b.column,b=N(),bf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},t8a=function(a){a&1&&rf(0)},u8a=function(a,b){a&1&&(G(0,"th",24),Q(1,t8a,1,0,"ng-container",23),H());a&2&&(a=b.column,b=N(),bf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},
w8a=function(a){if(a&1){var b=v();J(0);G(1,"mat-pseudo-checkbox",26);M("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();L()}a&2&&(a=N(2),z(1),F("state",a.getHeaderCheckboxState()),bf("aria-checked",v8a(a)))},x8a=function(a,b){a&1&&(G(0,"th",25),
Q(1,w8a,2,2,"ng-container",23),H());a&2&&(a=b.column,b=N(),bf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},y8a=function(a){a&1&&rf(0)},z8a=function(a,b){a&1&&(G(0,"th"),Q(1,y8a,1,0,"ng-container",23),H());a&2&&(a=b.column,b=N(),bf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},A8a=function(a){a&1&&(J(0),I(1,"pop-grid-default-th",27),L());a&2&&(a=N().column,z(1),F("column",a))},B8a=function(a,b){a&1&&(G(0,"th"),Q(1,A8a,2,1,"ng-container",23),
H());a&2&&(a=b.column,b=N(),bf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},C8a=function(a){if(a&1){var b=v();G(0,"b-column-picker",30);M("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();F("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},D8a=function(a){a&1&&I(0,"pop-grid-default-th",27);a&2&&(a=N(2).column,F("column",a))},E8a=
function(a){a&1&&(J(0),Q(1,C8a,1,3,"b-column-picker",28),Q(2,D8a,1,1,"pop-grid-default-th",29),L());a&2&&(a=N(2),z(1),F("ngIf",a.enableColumnSaving),z(1),F("ngIf",!a.enableColumnSaving))},F8a=function(a,b){a&1&&(G(0,"th"),Q(1,E8a,3,2,"ng-container",23),H());a&2&&(a=b.column,b=N(),bf("data-stable-column-name",a.name),z(1),F("ngIf",b.isIssueGridColumn(a)))},G8a=function(a){a&1&&rf(0)},H8a=function(a){a&1&&(G(0,"td",22),Q(1,G8a,1,0,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},I8a=function(a){a&
1&&rf(0)},J8a=function(a){a&1&&(G(0,"td",31),Q(1,I8a,1,0,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},K8a=function(a){if(a&1){var b=v();J(0);G(1,"mat-pseudo-checkbox",32);M("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();L()}a&2&&(a=N().row,z(1),F("state",a.selected?"checked":"unchecked"),bf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},L8a=function(a){a&1&&(G(0,"td",25),Q(1,K8a,2,3,"ng-container",
23),H());a&2&&(N(),z(1),F("ngIf",!0))},M8a=function(a){if(a&1){var b=v();J(0);G(1,"b-star-toggle",34);M("starClicked",function(){w(b);var d=N().row,e=N();return y(e.toggleStar(d))});H();L()}if(a&2){a=N().row;var c=N();z(1);F("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},N8a=function(a){a&1&&(G(0,"td",33),Q(1,M8a,2,4,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},O8a=function(a){a&1&&(J(0),G(1,"span"),R(2),
H(),L());a&2&&(a=N().row,z(1),bf("title",a.position),z(1),zf(" ",a.position," "))},P8a=function(a){a&1&&(G(0,"td"),Q(1,O8a,3,2,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},Q8a=function(a){a&1&&(J(0),G(1,"a",36),R(2),H(),L());if(a&2){a=N().row;var b=N();z(1);F("href",b.paths.editIssue(a.issueId),Id);bf("title",a.title);z(1);zf(" ",a.issueId," ")}},R8a=function(a){a&1&&(G(0,"td",35),Q(1,Q8a,3,3,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},S8a=function(a){a&1&&I(0,"archived-issue-indicator")},
T8a=function(a,b){a&1&&I(0,"b-hotlist-chip-smart",47);a&2&&F("id",b.$implicit)("removable",!1)},U8a=function(a){a&1&&(G(0,"div",45),Q(1,T8a,1,2,"b-hotlist-chip-smart",46),H());a&2&&(a=N(2).row,z(1),F("ngForOf",a.hotlistId))},V8a=function(a){a&1&&(J(0),G(1,"div",38),Q(2,S8a,1,0,"archived-issue-indicator",23),I(3,"b-access-level-indicator",39)(4,"b-tracker-chip-smart",40)(5,"b-retention-chip",41),G(6,"div",42)(7,"a",43),R(8),H()(),Q(9,U8a,2,1,"div",44),H(),L());if(a&2){a=N().row;var b=N();z(1);mf("bv2-grid-cell-flex-wrap",
b.listViewPrefs&&b.listViewPrefs.wrapTitles);z(1);F("ngIf",a.archived);z(1);F("accessLevel",a.accessLevel)("compactMode",!0);z(1);F("trackerId",a.trackerId)("compactMode",!0);z(1);F("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);F("href",b.paths.editIssue(a.issueId),Id);bf("title",a.title);z(1);zf(" ",a.title," ");z(1);F("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},W8a=function(a){a&1&&(G(0,"td",37),Q(1,V8a,10,15,"ng-container",
23),H());a&2&&(a=N(),mf("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),z(1),F("ngIf",!0))},Y8a=function(a){a&1&&(J(0),G(1,"div",49),R(2),H(),L());if(a&2){a=N().row;var b=N();z(1);F("ngClass",Hf(X8a,b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));z(1);zf(" P",a.priority," ")}},Z8a=function(a){a&1&&(G(0,"td",48),Q(1,Y8a,3,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},$8a=function(a){a&1&&(J(0),G(1,"div",49),R(2),H(),L());a&2&&(a=N().row,N(),z(1),F("ngClass",
Hf(X8a,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),z(1),zf(" S",a.severity," "))},a9a=function(a){a&1&&(G(0,"td",50),Q(1,$8a,3,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},b9a=function(a){a&1&&I(0,"mat-icon",56);if(a&2){a=N().$implicit;var b=N(3);F("svgIcon",b.STATUS_ICON[a])}},c9a=function(a){a&1&&(J(0),R(1),L());if(a&2){a=N().$implicit;var b=N(3);z(1);Af(b.STATUS_TERSE[a])}},d9a=function(a){a&1&&(G(0,"span"),R(1),H());if(a&2){a=N().$implicit;var b=N(3);pf("chippy status-",
a," margin-left-auto");z(1);zf(" ",b.STATUS_TERSE[a]," ")}},e9a=function(a,b){a&1&&(J(0),G(1,"span",52),Q(2,b9a,1,1,"mat-icon",53),Q(3,c9a,2,1,"ng-container",54),Q(4,d9a,2,4,"span",55),H(),L());a&2&&(a=b.$implicit,b=N(3),z(1),F("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),F("ngSwitchCase","icon"),z(1),F("ngSwitchCase","plain"))},f9a=function(a){a&1&&(J(0),
Q(1,e9a,5,4,"ng-container",23),L());if(a&2){a=N().row;var b=N();z(1);F("ngIf",b.convertIssueStatusStrToTag(a.status))}},g9a=function(a){a&1&&(G(0,"td",51),Q(1,f9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},h9a=function(a){a&1&&(J(0),R(1),S(2,"enumToHuman"),L());a&2&&(a=N().row,z(1),zf(" ",T(2,1,a.type)," "))},i9a=function(a){a&1&&(G(0,"td",57),Q(1,h9a,3,3,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},j9a=function(a){a&1&&(G(0,"b-person-hovercard",60),S(1,"omitObfuscatedEmail"),
R(2),H());a&2&&(a=N(2).row,F("email",T(1,2,a.reporter)),z(2),zf(" ",a.reporter," "))},k9a=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},l9a=function(a){a&1&&(J(0),Q(1,j9a,3,4,"b-person-hovercard",59),S(2,"omitObfuscatedEmail"),Q(3,k9a,2,0,"span",23),L());a&2&&(a=N().row,z(1),F("ngIf",T(2,2,a.reporter)),z(2),F("ngIf",!a.reporter))},m9a=function(a){a&1&&(G(0,"td",58),Q(1,l9a,4,4,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},n9a=function(a){a&1&&(G(0,"b-person-hovercard",60),S(1,"omitObfuscatedEmail"),
R(2),H());a&2&&(a=N(2).row,F("email",T(1,2,a.assignee)),z(2),zf(" ",a.assignee," "))},o9a=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},p9a=function(a){a&1&&(J(0),Q(1,n9a,3,4,"b-person-hovercard",59),S(2,"omitObfuscatedEmail"),Q(3,o9a,2,0,"span",23),L());a&2&&(a=N().row,z(1),F("ngIf",T(2,2,a.assignee)),z(2),F("ngIf",!a.assignee))},q9a=function(a){a&1&&(G(0,"td",58),Q(1,p9a,4,4,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},r9a=function(a){a&1&&(G(0,"b-person-hovercard",60),S(1,"omitObfuscatedEmail"),
R(2),H());a&2&&(a=N(2).row,F("email",T(1,2,a.verifier)),z(2),zf(" ",a.verifier," "))},s9a=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},t9a=function(a){a&1&&(J(0),Q(1,r9a,3,4,"b-person-hovercard",59),S(2,"omitObfuscatedEmail"),Q(3,s9a,2,0,"span",23),L());a&2&&(a=N().row,z(1),F("ngIf",T(2,2,a.verifier)),z(2),F("ngIf",!a.verifier))},u9a=function(a){a&1&&(G(0,"td",58),Q(1,t9a,4,4,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},v9a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,
"arrayToHuman"),H(),L());a&2&&(a=N().row,z(1),bf("title",T(2,2,a.cc)),z(2),zf(" ",T(4,4,a.cc)," "))},w9a=function(a){a&1&&(G(0,"td",58),Q(1,v9a,5,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},x9a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=N().row,z(1),bf("title",T(2,2,a.changelist)),z(2),zf(" ",T(4,4,a.changelist)," "))},y9a=function(a){a&1&&(G(0,"td",58),Q(1,x9a,5,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},z9a=function(a){a&
1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=N().row,z(1),bf("title",T(2,2,a.postmortem)),z(2),zf(" ",T(4,4,a.postmortem)," "))},A9a=function(a){a&1&&(G(0,"td",58),Q(1,z9a,5,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},B9a=function(a){a&1&&rf(0)},C9a=function(a){a&1&&(G(0,"span"),R(1,", "),H())},E9a=function(a,b){a&1&&(J(0),Q(1,B9a,1,0,"ng-container",62),Q(2,C9a,2,0,"span",23),L());if(a&2){a=b.$implicit;b=b.last;N(3);var c=yf(48);z(1);F("ngTemplateOutlet",
c)("ngTemplateOutletContext",Ff(3,D9a,a));z(1);F("ngIf",!b)}},F9a=function(a){a&1&&(J(0),Q(1,E9a,3,5,"ng-container",61),L());a&2&&(a=N().row,z(1),F("ngForOf",a.blockingIssueId))},G9a=function(a){a&1&&(G(0,"td",58),Q(1,F9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},H9a=function(a){a&1&&rf(0)},I9a=function(a){a&1&&(G(0,"span"),R(1,", "),H())},J9a=function(a,b){a&1&&(J(0),Q(1,H9a,1,0,"ng-container",62),Q(2,I9a,2,0,"span",23),L());if(a&2){a=b.$implicit;b=b.last;N(3);var c=yf(48);z(1);F("ngTemplateOutlet",
c)("ngTemplateOutletContext",Ff(3,D9a,a));z(1);F("ngIf",!b)}},K9a=function(a){a&1&&(J(0),Q(1,J9a,3,5,"ng-container",61),L());a&2&&(a=N().row,z(1),F("ngForOf",a.blockedByIssueId))},L9a=function(a){a&1&&(G(0,"td",58),Q(1,K9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},M9a=function(a){a&1&&rf(0)},N9a=function(a){a&1&&(J(0),Q(1,M9a,1,0,"ng-container",62),L());if(a&2){a=N(2).row;N();var b=yf(48);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(2,D9a,a.duplicateOfIssueId))}},O9a=
function(a){a&1&&(J(0),Q(1,N9a,2,4,"ng-container",23),L());a&2&&(a=N().row,z(1),F("ngIf",a.duplicateOfIssueId))},P9a=function(a){a&1&&(G(0,"td",58),Q(1,O9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},Q9a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",64),L());a&2&&(a=N().row,z(1),F("timestamp",a.createdTime))},R9a=function(a){a&1&&(G(0,"td",63),Q(1,Q9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},S9a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",64),L());a&2&&(a=
N().row,z(1),F("timestamp",a.modifiedTime))},T9a=function(a){a&1&&(G(0,"td",63),Q(1,S9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},U9a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",64),L());a&2&&(a=N().row,z(1),F("timestamp",a.resolvedTime))},V9a=function(a){a&1&&(G(0,"td",63),Q(1,U9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},W9a=function(a){a&1&&(J(0),I(1,"b-formatted-date-time",64),L());a&2&&(a=N().row,z(1),F("timestamp",a.verifiedTime))},X9a=function(a){a&1&&
(G(0,"td",63),Q(1,W9a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},Y9a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=N().row,z(1),bf("title",T(2,2,a.foundInVersion)),z(2),zf(" ",T(4,4,a.foundInVersion)," "))},Z9a=function(a){a&1&&(G(0,"td",58),Q(1,Y9a,5,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},$9a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=N().row,z(1),bf("title",T(2,
2,a.targetedToVersion)),z(2),zf(" ",T(4,4,a.targetedToVersion)," "))},a$a=function(a){a&1&&(G(0,"td",58),Q(1,$9a,5,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},b$a=function(a){a&1&&(J(0),G(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),H(),L());a&2&&(a=N().row,z(1),bf("title",T(2,2,a.verifiedInVersion)),z(2),zf(" ",T(4,4,a.verifiedInVersion)," "))},c$a=function(a){a&1&&(G(0,"td",58),Q(1,b$a,5,6,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},d$a=function(a){a&1&&(J(0),R(1),
S(2,"yesNo"),L());a&2&&(a=N().row,z(1),zf(" ",T(2,1,a.inProd)," "))},e$a=function(a){a&1&&(G(0,"td",58),Q(1,d$a,3,3,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},f$a=function(a){a&1&&(J(0),R(1),S(2,"yesNo"),L());a&2&&(a=N().row,z(1),zf(" ",T(2,1,a.archived)," "))},g$a=function(a){a&1&&(G(0,"td",58),Q(1,f$a,3,3,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},h$a=function(a){a&1&&(J(0),G(1,"div",38)(2,"div",42)(3,"span"),R(4),H()()(),L());if(a&2){a=N().row;var b=N();z(3);bf("title",b.getComponentPath(a.componentPath));
z(1);Af(b.getComponentPath(a.componentPath))}},j$a=function(a){a&1&&(G(0,"td",65),Q(1,h$a,5,2,"ng-container",23),H());if(a&2){a=N();var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);F("ngClass",Gf(2,i$a,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));z(1);F("ngIf",!0)}},k$a=function(a){a&1&&(G(0,"slo-status-card",68),I(1,"b-aggregated-slo-status-indicator",69),H());a&2&&(a=N(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),z(1),F("sloStatus",a.sloStatus)("sloStartTime",
a.sloStartTime))},l$a=function(a){a&1&&(J(0),Q(1,k$a,2,5,"slo-status-card",67),L());a&2&&(a=N().row,z(1),F("ngIf",a.sloStatus))},m$a=function(a){a&1&&(G(0,"td",66),Q(1,l$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},n$a=function(a){a&1&&(G(0,"slo-status-card",71),I(1,"b-slo-time-indicator",72),H());a&2&&(a=N(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),z(1),F("sloBounds",a.sloStatus.responseBounds))},o$a=function(a){a&
1&&(J(0),Q(1,n$a,2,5,"slo-status-card",70),L());a&2&&(a=N().row,z(1),F("ngIf",a.sloStatus))},p$a=function(a){a&1&&(G(0,"td",66),Q(1,o$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},q$a=function(a){a&1&&(G(0,"slo-status-card",71),I(1,"b-slo-time-indicator",72),H());a&2&&(a=N(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),z(1),F("sloBounds",a.sloStatus.assignmentBounds))},r$a=function(a){a&1&&(J(0),Q(1,q$a,2,5,"slo-status-card",
70),L());a&2&&(a=N().row,z(1),F("ngIf",a.sloStatus))},s$a=function(a){a&1&&(G(0,"td",66),Q(1,r$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},t$a=function(a){a&1&&(G(0,"slo-status-card",71),I(1,"b-slo-time-indicator",72),H());a&2&&(a=N(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),z(1),F("sloBounds",a.sloStatus.closureBounds))},u$a=function(a){a&1&&(J(0),Q(1,t$a,2,5,"slo-status-card",70),L());a&2&&(a=N().row,z(1),F("ngIf",
a.sloStatus))},v$a=function(a){a&1&&(G(0,"td",66),Q(1,u$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},w$a=function(a,b){a&1&&I(0,"b-formatted-date-time",74);a&2&&(a=b.$implicit,N(3),F("timestamp",1E3*a.seconds))},x$a=function(a){a&1&&(J(0),Q(1,w$a,1,1,"b-formatted-date-time",73),L());a&2&&(a=N().row,z(1),F("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},y$a=function(a){a&1&&(G(0,"td",58),Q(1,x$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},z$a=
function(a){a&1&&I(0,"div",76)},A$a=function(a){a&1&&(G(0,"div"),I(1,"b-team-display",77),H());a&2&&(a=N(2).row,z(1),F("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},B$a=function(a){a&1&&(J(0),Q(1,z$a,1,0,"div",75),Q(2,A$a,2,3,"div",23),L());a&2&&(a=N(2),z(1),F("ngIf",a.isLoadingTeams),z(1),F("ngIf",!a.isLoadingTeams))},C$a=function(a){a&1&&(G(0,"td",58),Q(1,B$a,3,2,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},D$a=function(a){a&1&&(J(0),R(1),
L());a&2&&(a=N().row,z(1),zf(" ",null==a.effort?null:a.effort.estimate," "))},E$a=function(a){a&1&&(G(0,"td",58),Q(1,D$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},F$a=function(a){a&1&&(J(0),R(1),L());if(a&2){a=N().row;var b=N();z(1);zf(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},G$a=function(a){a&1&&(G(0,"td",58),Q(1,F$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},H$a=function(a){a&1&&(J(0),R(1),L());if(a&2){a=N().row;var b=N();
z(1);zf(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||"":""," ")}},I$a=function(a){a&1&&(G(0,"td",58),Q(1,H$a,2,1,"ng-container",23),H());a&2&&(N(),z(1),F("ngIf",!0))},J$a=function(a){a&1&&I(0,"b-issue-card",81,82);if(a&2){var b=yf(1);a=N().id;F("onedevIsHovercardReady",b.init)("issueId",a)}},K$a=function(a,b){a&1&&(G(0,"onedev-hovercard",null,78),Q(2,J$a,2,2,"b-issue-card",79),H(),G(3,"span",80),R(4),H());if(a&2){a=b.id;var c=yf(1);z(3);F("onedevHovercardTrigger",c);
z(1);Af(a)}},L$a=function(a){if(a&1){var b=v();G(0,"b-app-bar-bulk-edit-menus",10);M("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())});S(1,"async");H()}if(a&2){a=N();var c;F("enableBulkEstimatedEffortOption",null!==(c=T(1,2,a.enableBulkEstimatedEffortOption$))&&
void 0!==c?c:!1)("readStatePrompt",I6a(a))}},M$a=function(a){if(a&1){var b=v();G(0,"b-copy-issue-id-button",11);M("onClickCopyIssueIds",function(){w(b);var c=N();return y(K6a(c.copyIssueIdService,xp(c)))})("onClickCopyIssueShortLinks",function(){w(b);var c=N();return y(L6a(c.copyIssueIdService,xp(c)))})("onClickCopyAsIssueSearch",function(){w(b);var c=N();return y(M6a(c.copyIssueIdService,xp(c)))});H()}a&2&&(a=N(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",
a.activeSession.isInternalSession()))},N$a=function(a){if(a&1){var b=v();G(0,"div",12)(1,"b-hotlist-picker",13);M("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),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},O$a=function(a){if(a&1){var b=v();G(0,"hotlist-add-issue-btn",16);
M("issueAddedToHotlist",function(){w(b);var c=N(2);return y(c.refresh())});H()}a&2&&(a=N(2),F("hotlistId",a.currentHotlistId))},P$a=function(a){a&1&&I(0,"hotlist-archive-btn",17);a&2&&(a=N(2),F("hotlistId",a.currentHotlistId))},Q$a=function(a){a&1&&(J(0),Q(1,O$a,1,1,"hotlist-add-issue-btn",14),Q(2,P$a,1,1,"hotlist-archive-btn",15),L());a&2&&(a=N(),z(1),F("ngIf",a.enableBulkEditUi),z(1),F("ngIf",a.isHotlistAdmin))},R$a=function(a){a&1&&(G(0,"span",21),R(1,"Reporting"),H())},S$a=function(a){if(a&1){var b=
v();G(0,"b-button",18);M("onAction",function(){w(b);var c=N();return y(c.openInEstado())});I(1,"b-icon",19);Q(2,R$a,2,0,"span",20);H()}a&2&&(a=N(),F("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),z(2),F("ngIf",!a.hasSelectedIssues()))},T$a=function(a){if(a&1){var b=v();G(0,"b-comment-box",28);M("commentChange",function(c){w(b);var d=N(2);return y(d.comment=c)})("onSubmit",function(){w(b);var c=N(2);return y(P6a(c))});H()}a&2&&(a=N(2),F("comment",a.comment)("showToolbar",
!1))},U$a=function(a,b){a&1&&(G(0,"li"),R(1),I(2,"b-access-level-indicator",31),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.path," "),z(1),F("accessLevel",a.accessLevel))},V$a=function(a){a&1&&(G(0,"div",29)(1,"div")(2,"strong"),R(3,"You are commenting on issues in components that have external viewers:"),H()(),G(4,"ul"),Q(5,U$a,3,2,"li",30),H()());a&2&&(a=N(2),z(5),F("ngForOf",a.externalWarnings))},W$a=function(a){if(a&1){var b=v();G(0,"div",32)(1,"b-recaptcha",33);M("onUpdate",function(c){w(b);var d=
N(2);return y(d.recaptchaResponse=c)});H()()}},X$a=function(a){a&1&&(G(0,"h1",22),R(1,"Add comment"),H(),G(2,"mat-dialog-content"),Q(3,T$a,1,2,"b-comment-box",23),Q(4,V$a,6,1,"div",24),H(),Q(5,W$a,2,0,"div",25),G(6,"mat-dialog-actions")(7,"button",26),R(8," Cancel "),H(),G(9,"button",27),R(10," Save "),H()());a&2&&(a=N(),z(3),F("ngIf",a.comment),z(1),F("ngIf",0<a.externalWarnings.length),z(1),F("ngIf",a.enableRecaptcha),z(2),F("mat-dialog-close",!1),z(2),F("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",
!0))},Z$a=function(a,b){if(a&1){var c=v();G(0,"div",5)(1,"b-contact-chip",6);M("chipSelection",function(){var d=w(c).index,e=N();e.selectedChipIndex!==d&&Cp(e,d)&&(Y$a(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return y()})("chipClear",function(){w(c);var d=N();return y(Y$a(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),F("isReadonly",a.isReadonly)("isSelected",a.isSelected)("isWidgetDisabled",b.isWidgetDisabled())("principalType",
a.principalType)("detailedUserType",a.detailedUserType)("nestedChips",a.nestedChips)("value",a.value)("displayText",a.displayText)("accessLevel",b.getAccessLevel()))},bab=function(a){if(a&1){var b=v();G(0,"input",7,8);M("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($$a(c))})("blur",function(){w(b);var c=N();aab(c,c.typedText.split(",")[0].trim());c.isFocused=!1;
return y()});H()}a&2&&(a=N(),F("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()),bf("id",a.idForInputBox))},cab=function(a){a&1&&(G(0,"span"),R(1," Groups cannot be granted Restricted+ reader permission. "),G(2,"a",9),R(3,"Learn more"),H()());a&2&&(a=N(),z(2),bf("href",Fn(a.documentationLinks)+"#components",Id))},dab=function(a){a&1&&(G(0,"span"),R(1," Invalid user(s). "),H())},eab=function(a){a&1&&(G(0,"span"),
R(1,' "Public" or external users are not allowed for component designated as "internal access". '),H())},fab=function(a){a&1&&(G(0,"span"),R(1,' "Public" is not allowed for components designated as "external partner access". '),H())},gab=function(a){a&1&&(G(0,"span"),R(1," SLO lead can not be a group. "),H())},hab=function(a){a&1&&(G(0,"span"),R(1," SLO lead can only be a full-time Googler. "),H())},iab=function(a){if(a&1){var b=v();G(0,"div",7)(1,"button",8);M("click",function(){w(b);var c=N();return y(c.onPressSave())});
R(2," Save ");H();G(3,"button",9);M("click",function(){w(b);var c=N();return y(c.onPressRevert())});R(4," Revert changes ");H()()}a&2&&(a=N(),z(1),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),z(2),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},jab=function(a){if(a&
1){var b=v();G(0,"div",7)(1,"button",8);M("click",function(){w(b);var d=N();return y(d.save())});R(2," Save ");H();G(3,"button",9);M("click",function(){w(b);var d=N();return y(d.revert())});R(4," Revert changes ");H();I(5,"hotlist-archive-btn",10);S(6,"async");H()}if(a&2){a=N();var c;z(1);F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");z(2);F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":
"Go back to the last saved state");z(2);F("hotlistId",null!==(c=T(6,5,a.id$))&&void 0!==c?c:void 0)}},kab=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.$implicit,z(1),zf(" ",a.name," "))},lab=function(a){a&1&&(G(0,"strong",4),R(1,"(archived)"),H())},mab=function(a){a&1&&I(0,"b-spinner")},nab=function(a){a&1&&(I(0,"hotlist-add-issue-btn",5),S(1,"async"));if(a&2){a=N();var b;F("hotlistId",null!==(b=T(1,1,a.id$))&&void 0!==b?b:void 0)}},oab=function(a){a&1&&(G(0,"p",8),R(1," This hotlist cannot be edited because you are not an administrator of it. "),
H())},pab=function(a){a&1&&(J(0),I(1,"b-edit-hotlist-toolbar",1),G(2,"div",2),I(3,"b-edit-hotlist-header",1),G(4,"mat-tab-group",3)(5,"mat-tab",4),I(6,"b-edit-hotlist-basic",5),S(7,"async"),H(),G(8,"mat-tab",6),I(9,"b-edit-hotlist-acl",5),S(10,"async"),H()(),Q(11,oab,2,0,"p",7),S(12,"async"),H(),L());a&2&&(a=N(),z(1),F("hotlistId",a.id),z(2),F("hotlistId",a.id),z(1),F("selectedIndex",a.tabIndex),z(2),F("hotlistId",a.id)("isReadOnly",!1===T(7,8,a.isAdmin$)),z(3),F("hotlistId",a.id)("isReadOnly",!1===
T(10,10,a.isAdmin$)),z(2),F("ngIf",!1===T(12,12,a.isAdmin$)))},qab=function(a,b){a&1&&(J(0),I(1,"empty-toolbar"),G(2,"div",9)(3,"h2"),R(4,"Error"),H(),G(5,"p"),R(6),H()(),L());a&2&&(a=b.$implicit,z(6),Af(a))},rab=function(a){a&1&&(G(0,"b-callout",1)(1,"b-callout-body"),R(2),H()());a&2&&(a=N(),z(2),Af(a.error))},sab=function(a){a&1&&rf(0)},tab=function(a){a&1&&(G(0,"span"),R(1,"Details"),H())},uab=function(a){a&1&&(G(0,"span"),R(1,"Members"),H())},wab=function(a){a&1&&(G(0,"div",13)(1,"a",14),Q(2,
tab,2,0,"span",15),Q(3,uab,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=vab(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":MAa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}F("href",b,Id);z(1);F("ngIf",vab(a.email));z(1);F("ngIf",!vab(a.email))}},xab=function(a){a&1&&(J(0),G(1,"span",2),Q(2,sab,1,0,"ng-container",3),
H(),G(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),R(11),H()(),G(12,"div",10),I(13,"mat-icon",11),G(14,"span"),R(15),H()()(),Q(16,wab,4,3,"div",12),H()()()(),L());if(a&2){var b=yf(4);a=N();var c=yf(2);z(1);F("onedevHovercardTrigger",b);z(1);F("ngTemplateOutlet",c);z(9);Af(a.getName());z(4);Af(a.email);z(1);F("ngIf",a.shouldShowLinks())}},yab=function(a){a&1&&uf(0)},zab=function(a,b){a&1&&I(0,"mat-icon",8);a&2&&F("svgIcon",b.ngIf)},Aab=function(a){a&
1&&(G(0,"b-person-hovercard",9),R(1),H());a&2&&(a=N(),F("email",a.value),z(1),zf(" ",a.displayText," "))},Bab=function(a){a&1&&(G(0,"b-group-email-card",9),R(1),H());a&2&&(a=N(),F("email",a.value),z(1),zf(" ",a.displayText," "))},Cab=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=N(),z(1),zf(" ",a.displayText," "))},Dab=function(a){if(a&1){var b=v();G(0,"div",10);M("click",function(){w(b);var c=N();return y(c.chipRemove.emit())});I(1,"mat-icon",11);H()}a&2&&(a=N(),vf("matTooltip","'Remove ",a.displayText,
"'"),bf("aria-label","Remove "+a.displayText))},Eab=function(a,b){a&1&&(G(0,"div",19),I(1,"b-contact-chip",20),H());a&2&&(a=b.$implicit,b=N(2),z(1),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},Fab=function(a){a&1&&(G(0,"div",12)(1,"div",13)(2,"div",14),Q(3,Eab,2,5,"div",15),G(4,"div",16),I(5,"div",17)(6,"div",18),H()()()());a&2&&(a=N(),z(3),F("ngForOf",a.nestedChips))},Gab=function(a){a&1&&(J(0),
R(1,", "),L())},Hab=function(a,b){a&1&&(J(0),R(1),Q(2,Gab,2,0,"ng-container",14),L());if(a&2){a=b.$implicit;b=b.last;var c=N(2);z(1);zf(" ",c.convertUserToString(a)," ");z(1);F("ngIf",!b)}},Iab=function(a,b){if(a&1){var c=v();G(0,"tr",7);M("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);G(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);H()();G(5,"td",10);R(6);
H();G(7,"td",11);Q(8,Hab,3,2,"ng-container",12);H();G(9,"td",13);R(10);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N();mf("grid-focus",d.isFocused(b));bf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);F("href",d.paths.editHotlist(a.hotlistId),Id);z(1);zf(" ",a.name," ");z(2);zf(" ",a.description," ");z(2);F("ngForOf",a.adminUsers);z(2);zf(" ",a.hotlistId," ")}},Jab=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});
R(1," Move to top ");H()}},Kab=function(a){if(a&1){var b=v();G(0,"button",10);M("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});R(1," Move up ");H()}},Lab=function(a){if(a&1){var b=v();G(0,"button",11);M("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});R(1," Move down ");H()}},Mab=function(a){if(a&1){var b=v();G(0,"button",12);M("click",function(){w(b);var c=N(2);return y(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});
R(1," Move to bottom ");H()}},Nab=function(a){if(a&1){var b=v();Q(0,Jab,2,0,"button",4);Q(1,Kab,2,0,"button",5);Q(2,Lab,2,0,"button",6);Q(3,Mab,2,0,"button",7);G(4,"button",8);M("click",function(){w(b);var c=N();return y(c.removePanel())});R(5," Remove ");H()}a&2&&(a=N(),F("ngIf",!a.first),z(1),F("ngIf",!a.first),z(1),F("ngIf",!a.last),z(1),F("ngIf",!a.last))},Oab=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(),bf("title",a.getValue()),z(1),zf(" ",a.getValue(),"\n"))},Pab=function(a){a&1&&I(0,
"b-custom-field-value-display",2);a&2&&(a=N(),F("customFieldValue",a.getCustomFieldValue()))},Qab=function(a){a&1&&I(0,"b-actions-menu",7);a&2&&(a=N(),F("menuItems",a.menuItems))},Rab=function(a){a&1&&(G(0,"span",8)(1,"strong"),R(2),H(),R(3,"\u00a0of\u00a0"),G(4,"strong"),R(5),H()());a&2&&(a=N(),z(2),Bf("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),z(3),Af(a.searchResults.totalText))},Sab=function(a){a&1&&(G(0,"div"),R(1," Hotlist not found. "),H())},Uab=function(a){a&
1&&(G(0,"div"),R(1," Loading details... "),H())},Vab=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=N(2),F("panelId",a.panel.panelId))},Wab=function(a){a&1&&(G(0,"span",12),R(1," \u00a0(changed) "),H())},Xab=function(a){a&1&&(G(0,"div"),Q(1,Vab,1,1,"b-panel-controls",6),G(2,"span",7),R(3," Hotlist: "),G(4,"a",8)(5,"span",9),R(6),H()()(),Q(7,Wab,2,0,"span",10),H());a&2&&(a=N(),z(1),F("ngIf",a.isDashboardEditable),z(3),F("href",a.paths.viewHotlist(a.hotlistId),Id),z(1),wf("matTooltip",a.resource.description),
z(1),Af(a.resource.name),z(1),F("ngIf",a.hasParamChanges()))},Yab=function(a){if(a&1){var b=v();G(0,"div",13)(1,"button",14);M("click",function(){w(b);var c=N();return y(c.save())});R(2,"Save ");H();G(3,"button",15);M("click",function(){w(b);var c=N();return y(c.discardChanges())});R(4," Discard changes ");H()()}},Zab=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(3),z(1),zf(" Searching for ",a.searchParams.query," ..."))},$ab=function(a){a&1&&(G(0,"div",19),I(1,"b-spinner",20),Q(2,Zab,2,1,"span",
3),H());a&2&&(a=N(2),z(1),F("large",!1),z(1),F("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},abb=function(a){a&1&&(G(0,"div",21),R(1," No issues in hotlist. "),H())},cbb=function(a){if(a&1){var b=v();G(0,"div",22)(1,"b-issues-grid",23);M("init",function(c){w(b);var d=N(2);return y(bbb(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),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",
a.isColumnSaveEnabled)("sort",a.getSort()))},dbb=function(a){a&1&&(G(0,"div"),Q(1,$ab,3,2,"div",16),Q(2,abb,2,0,"div",17),Q(3,cbb,2,5,"div",18),H());a&2&&(a=N(),z(1),F("ngIf",a.isLoading),z(1),F("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),z(1),F("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},ebb=function(a){a&1&&(G(0,"div"),R(1," Saved search not found. "),H())},
fbb=function(a){a&1&&(G(0,"div"),R(1," Loading details... "),H())},gbb=function(a){a&1&&I(0,"b-panel-controls",11);a&2&&(a=N(2),F("panelId",a.panel.panelId))},hbb=function(a){a&1&&(G(0,"span",12),R(1," \u00a0(changed) "),H())},ibb=function(a){a&1&&(G(0,"div",6),Q(1,gbb,1,1,"b-panel-controls",7),G(2,"span",6),R(3," Saved search: "),G(4,"a",8)(5,"span",9),R(6),H()()(),Q(7,hbb,2,0,"span",10),H());a&2&&(a=N(),z(1),F("ngIf",a.isDashboardEditable),z(3),F("href",a.paths.viewSavedSearch(a.savedSearchId),
Id),z(1),wf("matTooltip",a.resource.description),z(1),Af(a.resource.name),z(1),F("ngIf",a.hasParamChanges()))},jbb=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.ngIf,z(1),zf("Searching for ",a,"..."))},kbb=function(a){a&1&&(G(0,"div",16),I(1,"b-spinner",17),Q(2,jbb,2,1,"span",3),H());a&2&&(a=N(2),z(1),F("large",!1),z(1),F("ngIf",null==a.searchParams?null:a.searchParams.query))},lbb=function(a){a&1&&(G(0,"div",18),R(1," No issues in saved search. "),H())},mbb=function(a){if(a&1){var b=v();G(0,
"div",19)(1,"b-issues-grid",20);M("init",function(c){w(b);var d=N(2);return y(bbb(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),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},nbb=function(a){a&1&&(G(0,"div"),Q(1,kbb,3,2,"div",13),Q(2,lbb,2,0,"div",14),Q(3,mbb,2,5,"div",15),H());a&2&&(a=N(),z(1),F("ngIf",a.isLoading),z(1),F("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),z(1),F("ngIf",!a.isLoading&&a.searchResults&&
0!==a.searchResults.issues.length))},obb=function(a,b){a&1&&(G(0,"span",3)(1,"a",4),R(2),H()());a&2&&(a=b.$implicit,z(1),vf("routerLink","/teams/",a.id,"/edit"),F("preserveFragment",!0),z(1),Af(a.name))},pbb=function(a){a&1&&(G(0,"p")(1,"span",6),R(2,"NOTE:"),H(),R(3),G(4,"a",7),R(5,"Learn more"),H()());a&2&&(a=N(),z(3),zf(" ",a.data.noteText," "),z(1),F("href",a.getDisablingFieldsHelpLink(),Id))},qbb=function(a){a&1&&(J(0),I(1,"span",26)(2,"b-icon",27),L());a&2&&(a=N(),z(1),F("innerHTML",a.menuLabel,
Hd))},rbb=function(a){a&1&&(G(0,"div",28),R(1," This includes emails about major updates and: "),G(2,"ul",29)(3,"li"),R(4,"All title, hotlist, and status changes."),H(),G(5,"li"),R(6,"Blocking, Blocked By, or Duplicate changes."),H(),G(7,"li"),R(8,"Changes to Reporter, Verifier, and CCs."),H(),G(9,"li"),R(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),H(),G(11,"li"),R(12,"Changes to custom fields marked as minor."),H()()())},sbb=function(a){a&1&&(G(0,"div",30),R(1," This includes emails about: "),
G(2,"ul",29)(3,"li"),R(4,"New comments."),H(),G(5,"li"),R(6,"Priority or Severity changes."),H(),G(7,"li"),R(8,"Assignee changes."),H(),G(9,"li"),R(10,"Component changes."),H(),G(11,"li"),R(12,"Issue closure or reopening."),H(),G(13,"li"),R(14,"Changes to custom fields marked as major."),H()()())},tbb=function(a,b){a&1&&(G(0,"mat-option",6),R(1),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",a.name," "))},ubb=function(a){a&1&&(G(0,"span",11),R(1," (must be between 30 days and 10 years) "),H())},
wbb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"b-duration-picker",13);M("durationDaysChange",function(c){w(b);var d=N();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dp(d);return y()});H();G(2,"div",14);R(3);H()()}a&2&&(a=N(),z(1),F("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),z(2),zf(" Issues will be marked for deletion when they have not been modified for ",vbb(a.model.retentionPeriodDays),". "))},xbb=function(a){a&1&&
(G(0,"div",15)(1,"p"),R(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),G(3,"b"),R(4,"one or more"),H(),R(5," of the following is true:"),H(),G(6,"ol")(7,"li"),R(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),H(),G(9,"li"),R(10,"You have a process in place to manually delete this data within an approved period of time."),H(),G(11,"li"),R(12,"Legal and Privacy have approved this non-standard retention period."),
H()()())},ybb=function(a){a&1&&(G(0,"span",11),R(1," (Issue Retention is shorter than default Restricted Retention) "),H())},Abb=function(a){a&1&&(G(0,"span",11),R(1),H());a&2&&(a=N(),z(1),zf(" ",zbb(a)," "))},Bbb=function(a){a&1&&(G(0,"div",21)(1,"p"),R(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),
H()())},Dbb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"div")(2,"span",16);R(3,"Restricted retention:");H();G(4,"b-duration-picker",17);M("durationDaysChange",function(c){w(b);var d=N();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dp(d);return y()});H()();G(5,"div",18)(6,"p");R(7);H()();G(8,"div")(9,"span",16);R(10,"Restricted+ retention:");H();G(11,"b-duration-picker",19);M("durationDaysChange",function(c){w(b);var d=N();d.model.spiiRetentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dp(d);return y()});H()();G(12,"div",18)(13,"p");R(14);H()();Q(15,Bbb,3,0,"div",20);H()}a&2&&(a=N(),z(4),F("disabled",!Ep(a))("durationDays",a.model.piiRetentionPeriodDays),z(3),zf(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",vbb(a.model.piiRetentionPeriodDays),". "),z(4),F("disabled",!Ep(a))("durationDays",a.model.spiiRetentionPeriodDays),z(3),zf(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
vbb(a.model.spiiRetentionPeriodDays),". "),z(1),F("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&Cbb(a)))},Ebb=function(a){a&1&&(G(0,"div",22)(1,"p"),R(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),H()())},Fp=function(a,b,
c,d){var e=a.slice(0,b);e=(e=Fbb(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}},Fbb=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},Gp=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},Gbb=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,token:a}},Hp=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?Rh(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},Ip=function(a,b,c,d){return{trackId:b+":"+a,name:a,id:a,label:c,completionCfg:{enableShadowPlaceholder:!0,completionValue:a,type:d}}},Jbb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10);M("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;Hbb(g);Ibb(g);g.optionsChange.emit(g.options);return y()});G(2,"mat-checkbox",11);M("change",function(d){var e=w(c).$implicit,g=N();e.value.value=d.checked;Hbb(g);Ibb(g);g.optionsChange.emit(g.options);return y()})("click",function(d){return d.stopPropagation()});R(3);H()()()}a&2&&(a=b.$implicit,bf("aria-checked",a.value.value),z(2),F("checked",a.value.value),z(1),zf(" ",a.value.displayString,
" "))},Kbb=function(a){a&1&&(G(0,"div",12),R(1),H());a&2&&(a=N(),z(1),zf(" ",a.errorString," "))},Mbb=function(a){if(a&1){var b=v();G(0,"span",4)(1,"input",5);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.businessDayString=c)})("ngModelChange",function(){w(b);var c=N(2);return y(Lbb(c))});H();G(2,"span",8);R(3,"days,");H()()}a&2&&(a=N(2),z(1),mf("ng-invalid",!!a.errorString),F("ngModel",a.businessDayString))},Obb=function(a,b){a&1&&(G(0,"mat-option",9),R(1),H());a&2&&(a=b.$implicit,b=N(2),
F("value",a),z(1),zf(" ",Nbb(b,a)," "))},Rbb=function(a){if(a&1){var b=v();G(0,"span",2);Q(1,Mbb,4,3,"span",3);G(2,"span",4)(3,"input",5);M("ngModelChange",function(c){w(b);var d=N();return y(d.intervalString=c)})("ngModelChange",function(){w(b);var c=N();return y(Lbb(c))});H();G(4,"mat-select",6);M("ngModelChange",function(c){w(b);var d=N();return y(d.intervalUnit=c)})("selectionChange",function(){w(b);var c=N();Pbb(c);Qbb(c);return y()});Q(5,Obb,2,2,"mat-option",7);H()()()}a&2&&(a=N(),z(1),F("ngIf",
"BUSINESS"===a.dayType),z(2),mf("invalid",!!a.errorString),F("ngModel",a.intervalString),z(1),F("ngModel",a.intervalUnit),z(1),F("ngForOf",a.getUnits()))},Sbb=function(a){a&1&&(G(0,"span",13),R(1),H());a&2&&(a=N(2),z(1),Bf(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},Tbb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},Ubb=function(a){a&1&&(G(0,"span"),Q(1,Tbb,2,0,"span",12),G(2,"span"),R(3),H()());a&2&&(a=N(2),z(1),F("ngIf",a.objectiveBusinessDays),z(2),Bf("",a.intervalString,
" ",Nbb(a,a.intervalUnit),""))},Vbb=function(a){a&1&&(G(0,"span",10),Q(1,Sbb,2,2,"span",11),Q(2,Ubb,4,3,"span",12),H());a&2&&(a=N(),z(1),F("ngIf",a.objectiveBusinessDays),z(1),F("ngIf",a.intervalString&&"0"!=a.intervalString))},Xbb=function(a){if(a&1){var b=v();G(0,"b-icon",22);M("click",function(){w(b);var c=N(2);return y(Wbb(c,0))});H()}a&2&&F("name","add")("size","small")},Zbb=function(a){if(a&1){var b=v();G(0,"span",17)(1,"span",18)(2,"span",19);Q(3,Xbb,1,2,"b-icon",20);H();G(4,"span",19)(5,"b-icon",
21);M("click",function(c){w(b);var d=N();return y(Ybb(d,c))});H()()()()}a&2&&(a=N(),z(3),F("ngIf",a.canPerformActions),z(2),F("name","delete")("size","small"))},$bb=function(a){a&1&&I(0,"td",42)},acb=function(a){if(a&1){var b=v();G(0,"td",43)(1,"slo-element-property-picker",44);M("optionsChange",function(c){w(b);var d=N().$implicit;return y(d.typePickerValues=c)});H()()}a&2&&(a=N().$implicit,z(1),F("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},bcb=function(a){if(a&
1){var b=v();G(0,"td",45)(1,"slo-element-property-picker",46);M("optionsChange",function(c){w(b);var d=N().$implicit;return y(d.priorityPickerValues=c)});H()()}a&2&&(a=N().$implicit,z(1),F("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},ccb=function(a){if(a&1){var b=v();G(0,"td",47)(1,"slo-element-property-picker",48);M("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);F("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},ecb=function(a,b){a&1&&(G(0,"mat-option",53),R(1),H());a&2&&(a=b.$implicit,N(4),F("value",a),z(1),zf(" ",dcb(a)," "))},fcb=function(a){if(a&1){var b=v();G(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);M("ngModelChange",function(d){w(b);var e=N().$implicit;return y(e.selectedMetric=d)});Q(3,ecb,2,2,"mat-option",52);H()()()}if(a&2){a=N().$implicit;var c=
N(2);z(2);F("ngModel",a.selectedMetric)("customValidators",a.metricValidators);z(1);F("ngForOf",c.metricChoices)}},gcb=function(a){if(a&1){var b=v();G(0,"td",54)(1,"slo-objective-selector",55);M("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),F("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays)("validator",a.validateObjective))},icb=function(a,b){a&1&&(G(0,"mat-option",53),R(1),H());a&2&&(a=b.$implicit,N(4),F("value",a),z(1),zf(" ",hcb.get(a||"CALENDAR")," "))},jcb=function(a){if(a&1){var b=v();G(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);M("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()});Q(3,icb,2,2,"mat-option",52);H()()()}if(a&2){a=N().$implicit;var c=N(2);z(2);F("ngModel",a.selectedDayType);z(1);F("ngForOf",c.dayTypes)}},ncb=function(a){if(a&1){var b=v();G(0,"td",59)(1,"span",18)(2,"span",19)(3,
"b-icon",60);M("click",function(){w(b);var c=N(3);if(c.openRow)if(c.openRow.isValid())kcb(c.openRow.typePickerValues)&&kcb(c.openRow.priorityPickerValues)&&kcb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:cn("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}):lcb(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:cn('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()();G(4,
"span",19)(5,"b-icon",61);M("click",function(){w(b);var c=N().$implicit,d=N(2);return y(mcb(d,c))});H()()()()}a&2&&(z(3),F("name","done")("size","small"),z(2),F("name","delete")("size","small"))},ocb=function(a){a&1&&I(0,"td",62)},pcb=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=N(2).$implicit,z(1),zf("ERROR: ",a.parseResult.error,""))},qcb=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),R(2),H()());a&2&&(a=b.$implicit,z(2),Af(a))},scb=function(a){a&1&&(G(0,"span",66),Q(1,qcb,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.jspbTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(rcb(a.controllerReference,d));a=b}F("ngForOf",a)}},tcb=function(a){a&1&&(G(0,"td",63),Q(1,pcb,2,1,"div",64),Q(2,scb,2,1,"span",65),H());a&2&&(a=N().$implicit,z(1),F("ngIf",a.parseResult.error),z(1),F("ngIf",!a.parseResult.error))},ucb=function(a){a&1&&(G(0,"div"),
R(1),H());a&2&&(a=N(2).$implicit,z(1),zf("ERROR: ",a.parseResult.error,""))},vcb=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),R(2),H()());a&2&&(a=b.$implicit,z(2),Af(a))},xcb=function(a){a&1&&(G(0,"span",66),Q(1,vcb,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.jspbPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(wcb(a.controllerReference,
d));a=b}F("ngForOf",a)}},ycb=function(a){a&1&&(G(0,"td",70),Q(1,ucb,2,1,"div",64),Q(2,xcb,2,1,"span",65),H());a&2&&(a=N().$implicit,z(1),F("ngIf",a.parseResult.error),z(1),F("ngIf",!a.parseResult.error))},zcb=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=N(2).$implicit,z(1),zf("ERROR: ",a.parseResult.error,""))},Acb=function(a,b){a&1&&(G(0,"span",68)(1,"span",69),R(2),H()());a&2&&(a=b.$implicit,z(2),Af(a))},Bcb=function(a){a&1&&(G(0,"span",66),Q(1,Acb,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])];F("ngForOf",a)}},Ccb=function(a){a&1&&(G(0,"td",71),Q(1,zcb,2,1,"div",64),Q(2,Bcb,2,1,"span",65),H());a&2&&(a=N().$implicit,z(1),F("ngIf",a.parseResult.error),z(1),F("ngIf",!a.parseResult.error))},Dcb=function(a){a&1&&(G(0,"td",72),R(1),H());a&2&&(a=N().$implicit,N(2),z(1),zf(" ",dcb(a.sloElement.metric),
" "))},Ecb=function(a){if(a&1){var b=v();G(0,"td",73)(1,"slo-objective-selector",74);M("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),F("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",!a.isEditingInternal))},
Fcb=function(a){a&1&&(G(0,"td",75),R(1),H());a&2&&(a=N().$implicit,N(2),z(1),zf(" ",hcb.get(a.sloElement.dayType||"CALENDAR")," "))},Hcb=function(a){if(a&1){var b=v();G(0,"b-icon",85);M("click",function(c){w(b);var d=N(2).$implicit,e=N(2);return y(Gcb(e,d,c))});H()}a&2&&F("name","edit")("size","small")},Icb=function(a){a&1&&I(0,"b-icon",86);if(a&2){N();var b=yf(8);F("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},Kcb=function(a){if(a&1){var b=v();G(0,"button",87);M("click",
function(){w(b);var c=N(2).$implicit,d=N(2);return y(Jcb(d,c,1))});R(1," Move row down ");H()}},Lcb=function(a){if(a&1){var b=v();G(0,"button",88);M("click",function(){w(b);var c=N(2).$implicit,d=N(2);return y(Jcb(d,c,-1))});R(1," Move row up ");H()}},Ncb=function(a){if(a&1){var b=v();G(0,"td",76)(1,"span",18)(2,"span",19);Q(3,Hcb,1,2,"b-icon",77);H();G(4,"span",19)(5,"span");Q(6,Icb,1,3,"b-icon",78);H();G(7,"mat-menu",null,79);Q(9,Kcb,2,0,"button",80);Q(10,Lcb,2,0,"button",81);G(11,"button",82);
M("click",function(){w(b);var d=N().$implicit,e=N(2);Wbb(e,e.collection.indexOf(d)+1);return y()});R(12," Add row below ");H();G(13,"button",83);M("click",function(){w(b);var d=N().$implicit,e=N(2);Wbb(e,e.collection.indexOf(d));return y()});R(14," Add row above ");H();G(15,"button",84);M("click",function(){w(b);var d=N().$implicit,e=N(2);return y(mcb(e,d))});R(16," Remove ");H()()()()()}if(a&2){a=N().$implicit;var c=N(2);z(3);F("ngIf",a.canEdit);z(3);F("ngIf",a.canEdit);z(3);F("ngIf",Mcb(c,a,1).valid);
z(1);F("ngIf",Mcb(c,a,-1).valid)}},Ocb=function(a,b){a&1&&(G(0,"tr",25),Q(1,$bb,1,0,"td",26),Q(2,acb,2,3,"td",27),Q(3,bcb,2,3,"td",28),Q(4,ccb,2,3,"td",29),Q(5,fcb,4,3,"td",30),Q(6,gcb,2,4,"td",31),Q(7,jcb,4,2,"td",32),Q(8,ncb,6,4,"td",33),Q(9,ocb,1,0,"td",34),Q(10,tcb,3,2,"td",35),Q(11,ycb,3,2,"td",36),Q(12,Ccb,3,2,"td",37),Q(13,Dcb,2,1,"td",38),Q(14,Ecb,2,4,"td",39),Q(15,Fcb,2,1,"td",40),Q(16,Ncb,17,4,"td",41),H());a&2&&(a=b.$implicit,b=N(2),mf("draggable",!b.isDisabled&&null==b.openRow),z(1),F("ngIf",
a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),z(1),F("ngIf",!a.isEditingInternal),
z(1),F("ngIf",!a.isEditingInternal))},Pcb=function(a){if(a&1){var b=v();G(0,"tbody",23);M("cdkDropListDropped",function(c){w(b);var d=N();return y(d.onDrop(c))});Q(1,Ocb,17,18,"tr",24);H()}a&2&&(a=N(),F("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),z(1),F("ngForOf",a.collection))},Qcb=function(a){a&1&&(G(0,"div",89),R(1," There are currently no rules for this SLO "),H())},Rcb=function(a,b){if(a&1){var c=v();G(0,"tr",7);M("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);G(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);H()();G(5,"td",10);R(6);H()()}if(a&2){a=b.$implicit;b=b.index;var d=N();mf("grid-focus",d.isFocused(b));bf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));z(3);F("href",d.paths.editSlo(a.sloId),Id);z(1);zf(" ",a.name," ");z(2);zf(" ",a.description," ")}},Scb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return Ph(b)}):[Ph(a)]).filter(function(b){return!isNaN(b)})},Tcb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Jp(c,b)})},Ucb=function(a,b){"string"===typeof a&&(a=a.trim())&&b(gi(a))},Vcb=function(a,b){if(!a)return[];a=k("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())Ucb(c.value,function(d){return b.push(d)});return cqa(b)},Wcb=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("pe");}},Kp=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(zg(b)))},Xcb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(zg(b)))},Ycb=function(a,b){a.setAttribute("pkd-ps-state",String(zg("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(zg("2")))},function(){a.setAttribute("pkd-ps-state",
String(zg("3")))})},bdb=function(a){var b=zo(Zcb,{id:Lp($cb)});a.appendChild(b);return new adb(b)},cdb=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},edb=function(a,b,c){return new Mp(new ddb(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},fdb=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}},gdb=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},hdb=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&c&&a?JSON.stringify([b.serialize(),c.serialize(),a]):null},idb=function(a){var b=new Np;if(a instanceof Op)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},Rp=function(a){a=void 0===a?null:a;var b=(new Pp).setExperimentFlags(new Qp).setSource(3);a&&b.setError(idb(a));return b},qdb=function(a){var b=void 0===b?new jdb:b;if(kdb)return kdb;var c=new ldb(a),d=new mdb(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 Sp(a,b):new Tp(a);b.clean();
c=new ndb(new odb(b,c),d);return kdb=new pdb(a,c)},Up=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},Vp=function(a,b,c,d){d=void 0===d?[]:d;rdb()?(fdb(a,b,c,d),b=a.getAttribute("jslog").concat("; cid:peopleweb"),a.setAttribute("jslog",b)):(d=void 0===d?[]:d,b=[Lp(sdb),b,c.join(","),d.join(",")].join(";"),b=zg(b),a.setAttribute("pk-log",
String(b)))},udb=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=tdb.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},vdb=function(a){return a.map(function(b){if(Wp)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)}})},ydb=function(a,b){var c=Lp(Xp.getInstance()),d=Object,
e=d.assign;c=c+":"+a.id;var g=vdb(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("re`"+b);}d=zo(wdb,e.call(d,{},a,{id:c,keyboardShortcut:g,densityClass:b}));a.veid&&Vp(d,a.veid,["impression","pk-click"]);return new xdb(d,a)},Adb=function(a){var b=new zdb([]);return new Yp(a,b)},Zp=function(a,b){return a.querySelector('[peoplekit-id="'+
b+'"]')},Bdb=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"))})},aq=function(a){return new $p(a)},Cdb=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},Edb=function(a,b){return new Ddb(a,b)},Kdb=function(a,b,c,d,e){var g=Fdb(c),h=bq(a),l=cq(a);l&&h.intersection(Gdb(l));Hdb(h,
yo(a),yo(c));a=Idb(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new dq(b,h.top+(a&1?h.height:0));h=eq(h,g);a=Idb(c,d);h=Jdb(h,fq(c),a).rect;c=cq(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},Ndb=function(a,b){gq(a,new dq(b.left,b.top));b=b.getSize();Ldb(fq(a),b)||Mdb(a,b)},
Odb=function(a,b,c){return new hq(a,b,c)},Pdb=function(a){return Cdb("pk-click",a)},Sdb=function(a,b,c,d){var e=zo(Qdb);Vp(e,28041,["impression"]);var g=new Rdb(e);a.appendChild(e);return new iq(e,b,c,g,d)},Vdb=function(a,b){b=zo(Tdb,{label:b.label});a.appendChild(b);return new Udb(b)},Xdb=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=Wdb.get(b))&&a.classList.add(b)},$db=function(a,b,c,d){b=zo(Ydb,{content:b,header:d});
a.appendChild(b);a=Vdb(Zp(b,"TvD9Pc"),{label:"Close"});Xdb(b,c.getTheme());return new Zdb(b,a)},beb=function(a,b){var c=aeb({header:"Couldn't hide suggestion"});var d=jq("<div>There was a problem and this person could not be hidden</div>");return $db(a,d,b,c)},ceb=function(a,b){var c=aeb({header:"Couldn't hide suggestion"});var d=jq("<div>Groups of 2 or more people can't be hidden</div>");return $db(a,d,b,c)},deb=function(a,b){var c=aeb({header:"Couldn't show suggestion"});var d=jq("<div>There was a problem and this person could not be shown in suggestions</div>");
return $db(a,d,b,c)},eeb=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},lq=function(a,b,c,d,e,g){e=void 0===e?new kq:e;g=void 0===g?"":g;b=zo(feb,{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:geb()});e=new heb(b,e);a.appendChild(b);return e},jeb=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 ieb(ieb(ep(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},keb=function(a){var b=a.getDisplayName();return b?jeb(b,a.getMatchInfo().getDisplayNameMatches()):""},leb=function(a){var b=a.getDisplayValue();return b?jeb(b,a.getMatchInfo().getDisplayValueMatches()):""},meb=
function(a,b){var c=b?keb(a):ep(a.getDisplayName());b=b?leb(a):ep(a.getDisplayValue());c=c||b;b=b||ep(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()]}},peb=function(a,b,c,d){var e=b.result().getMemberList();1===e.length?(b=meb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=meb(e,!1),b=b.getDisplayNameWithOverrideApplied(),
b={label:ep(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=jq;g='<div peoplekit-id="'+mq("tJHJj")+'" class="'+mq("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+mq(g)+'" data-name="'+mq(h)+'"><div class="'+mq("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+mq("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=jq('<div class="'+mq("peoplekitComponentsHideconfirmationdialogImplAvatar")+
'"><div class="'+mq("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+mq("d6MZcd")+'"></div></div>');g=g+h+'</div><div class="'+mq("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';l=jq('<div class="'+mq("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+mq("E0kCZc")+'" class="'+mq("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+mq("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+nq(oq(l))+
"</div>"+(q?'<div class="'+mq("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+mq("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+nq(oq(q))+"</div>":"")+"</div>");l=e(g+l+"</div></div></div>");e=0===d?"Hide":"Show";q='<div peoplekit-id="'+mq("bN97Pc")+'" class="'+mq("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+mq("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(0==d?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+
mq("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=jq((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=zo(neb,{content:d,header:l});a.appendChild(d);a=Vdb(Zp(d,"IbE0S"),{label:"Cancel"});l=l={confirmButtonText:e};l=l.confirmButtonText;q="";switch(va(l)?l.toString():l){case "Confirm":q+="Confirm";break;case "Hide":q+="Hide";break;case "Show":q+="Show";break;default:q+="Apply"}l=
Vdb(Zp(d,"McfNlf"),{label:q});Xdb(d,c.getTheme());q=l.getRoot();switch(e){case "Hide":Vp(q,131909,["pk-click","impression"]);break;case "Show":Vp(q,131910,["pk-click","impression"])}a=new oeb(d,a,l);d=Zp(a.getRoot(),"d6MZcd");lq(d,b.photos,36,36,c);return new pq(a)},qeb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("re`"+a);}},qq=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";
default:throw Error("re`"+a);}},seb=function(a,b,c,d){var e=meb(a,!0);a=reb(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}},reb=function(a,b,c,d){var e=[];Gj(rq.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:Lp(teb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,allowSublabelTranslation:!1}},web=function(a,b,c){var d="",e=ep(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 x,A;(q=(q=null==(x=l.getPrimaryTarget())?
void 0:null==(A=x.getName())?void 0:A.getGivenName())?jeb(q,l.getMatchInfo().getGivenNameMatches()):"")||(q=keb(l))}q||(q=leb(l));return q}),b&&(d=d.reverse()),d=keb(a)||ueb({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=Number(a.getTotalMemberCount()),e=veb({memberCount:e}),g=!0);else if(1===h)return d=a.getMemberList()[0],e=meb(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}},yeb=function(a,b,c,d,e,g){a=web(a,d,e);if(a.flatResult)return g=reb(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:Lp(xeb),hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:g,tags:[],allowSublabelTranslation:d}},Aeb=function(a,b,c,d,e,g){return new zeb(a,b,c,d,e,g)},Ceb=function(a,b){return new Beb(a,void 0===b?"":b)},Deb=function(a){var b=-1;(a=sq(a))&&Bk(a,2)&&(b=Eh(a,2,0));return"index:"+b},Jeb=function(a,
b){var c=zo(Eeb,{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("re`"+g);}}e.call(d,g);if(b.tooltipLabel){e=c.getAttribute("data-tooltip-id")||"";d={label:b.tooltipLabel,ariaLabel:b.ariaLabel};e=zo(Feb,{label:d.label,id:e,ariaLabel:d.ariaLabel});
a.appendChild(e);var h=new Geb(e,d.showDelayMs,d.hideDelayMs);Heb(h,c)}return new Ieb(c,b.icon,b.disabledIcon,h,b.disableNavigationFocus,b.onClick)},Leb=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 Keb(a,b,e)},Peb=function(a,b){var c=(new Meb).filterResult(b.result)===b.result;Gj(b.clientConfig.getInternal(),7,!1)&&c&&Neb()?a=new Oeb(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomization.secondaryActionButtonConfig&&
(a=Leb(a,b.appearanceConfig,b.resultCustomization.secondaryActionButtonConfig,b.interactions));return a},Qeb=function(a,b){var c=(new Meb).filterResult(b.result)===b.result;Gj(b.clientConfig.getInternal(),7,!1)&&!c&&Neb()&&(a=new tq(a,b.appearanceConfig,b.clientConfig,b.result));return a},Teb=function(){return function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=seb(b,d,g,qq(e.getDensity())),l=zo(Reb,h);Vp(l,25285,["impression","pk-select",
"pk-deselect"],[Deb(b.getPrimaryTarget().getLoggingToken())]);var q=Zp(l,"d6MZcd"),x=qeb(e.getDensity()),A;g=null!=(A=g.backupAvatarUrl)?A:"";e=lq(q,h.photos,x,x,e,g);b=new Seb(l,b,c,d,h.tags,e);c=new uq(new vq(b,c));return Qeb(Peb(c,a),a)}},Web=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=wq(l)||xq(l)?yeb(c,d,h,b,Gj(g.getInternal(),6,!1),qq(e.getDensity())):seb(c,
d,h,qq(e.getDensity()));b=Object;l=b.assign;a:switch(a){case 1:var q=jq('<div class="'+mq("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+mq(". Already selected")+'">'+jq('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+(mq("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=jq("");
break a;default:q='<div class="'+mq("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',q=jq(q+"DISABLED</div>")}b=zo(Ueb,l.call(b,{},g,{disableReason:q}));l=Zp(b,"d6MZcd");q=qeb(e.getDensity());var x;h=null!=(x=h.backupAvatarUrl)?x:"";e=lq(l,g.photos,q,q,e,h);return new Veb(b,c,d,g.tags,e)}},Yeb=function(a,b,c,d,e,g,h,l){b=d.getResultCustomizationCallback()(a,b);var q=!!c.get(a.getPrimaryTarget().getId());if(b.shouldDisable)q=6;else{var x=a.getPrimaryTarget().getId();q=xq(x)?3:wq(x)?2:
q&&!d.getAllowResultDeselection()?5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}q=Xeb.get(q);if(!q)throw Error("Ce");return q({result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:g,isRightToLeft:h,interactions:l,resultCustomization:b})},afb=function(a){var b=Lp(Xp.getInstance());b=zo(Zeb,{id:b,header:a});return new $eb(b,a)},bfb=function(a,b,c){return new yq(a,b,c)},cfb=function(a,b,c){return(b=b.getGroupName(c))?new zq(a,b):a},efb=function(a,b,c,d){b=b.getGroupName(c);
c=dfb();return b&&c.infoGroupConfig?new Aq(a,c.infoGroupConfig,d):a},ffb=function(a,b,c){b=b.getGroupName(c);c=dfb();return b&&c.collapsibleGroupConfig?new Bq(a,c.collapsibleGroupConfig):a},ifb=function(a,b,c,d,e,g,h,l){h=zo(gfb,{header:h||""});a.appendChild(h);a=bdb(Zp(h,"tjneg"));return{resultList:new hfb(a,b,c,d,e,g,l),list:a}},lfb=function(a,b,c,d,e,g,h,l,q){a=ifb(a,b,c,d,e,l,q,g);b=a.resultList;b=new jfb(b,a.list,h);return new kfb(b,g)},nfb=function(a,b){return new mfb(a,b)},ofb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},
Cq=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},Dq=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;},pfb=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)},qfb=function(a){var b=document.createElement("div");fdb(b,a.veid,a.action,a.pairs);return b},rfb=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})},tfb=function(a){if(sfb.has(a))return sfb.get(a);throw Error("Ge`"+a);},vfb=function(a){if(ufb.has(a))return ufb.get(a);throw Error("He`"+a);},wfb=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},yfb=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:
xfb(a):null},zfb=function(a,b,c){for(c||(a=yfb(a));a&&!b(a);)a=yfb(a)},Cfb=function(a,b){var c=new Eq,d=LLa();b=(new Afb).setClientId(a.getClientId()).setApplication(a.getSocialApplicationOrUndefined()).setEntryPoint(b).setVersionName("1.0").setBaselineCl(537372493);c=new Fq(c,1394,d,void 0,void 0,void 0,new Bfb(b));c.setClientSideLogOnlyForDevelopment(!a.getEnableClearcut()||!1);a=new Gq;d=rq.getExperimentIds();a=ob(a,3,d,Za);c.clearcut_.setClearExperimentIds(a);return c},Efb=function(a,b,c,d,e,
g){var h=c.beginSession(function(){},g.sessionOptions||new Hq);return Dfb(a,b,c,h,d,e,g)},Dfb=function(a,b,c,d,e,g,h){g.getInternal().getClearcut().setInterfaceType(4);g.getInternal().getClearcut().setComponentFlow(7);var l=g.getInternal(),q=e.getEnvironmentConfig(),x=q.experimentsConfig_.getProfileId();if(x)if(l.getExperiments().getIsEnabled()){var A=hb(Ffb||(Ffb=Gfb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));A=new Hfb(A,7)}else A=new Iq;else A=new Iq;l=l.getExperiments();
q=A.loadExperiments(l.getApplication(),(new Jq).setPeopleApiEnv(q.apiEnv_),x);rq=new Ifb(l,q);q=zo(Jfb);a.appendChild(q);Xdb(q,e.getTheme());Vp(q,64611,["impression"]);a=new Kq;x=e.getEntryPoint();x=new Kfb(d,a,x);l=g.getInternal().getClearcut();A=new Lfb(l);A=Lq(A);l=l.getInterfaceType();l=new Mfb(new Nfb(A,l));var B=new Ofb(h.intelligence);h=zo(Pfb);q.appendChild(h);A=zo(Qfb);Vp(A,85843,["impression"]);h.appendChild(A);var K=Zp(A,"tjneg");a:{var O=e.getAutocompleteHeader();var P=e.getAutocompleteCustomGrouping();
switch(e.getAutocompleteGroupingType()){case 1:P=lfb(K,e,e,g,a,x,new Rfb(e.getAutocompleteGroupingLabel()),B,O);break a;case 2:P=lfb(K,e,e,g,a,x,new Sfb(e.getAutocompleteGroupingLabel()),B,O);break a;case 3:if(!P)break;P=lfb(K,e,e,g,a,x,P,B,O);break a;case 4:if(P){B=zo(gfb,{header:O||""});K.appendChild(B);B=bdb(Zp(B,"tjneg"));P=new Tfb(B,e,e,g,a,x,P);P=new kfb(P,x);break a}}P=ifb(K,e,e,g,a,B,O,x);P=new kfb(P.resultList,x)}K=Zp(K,"rymPhb");b.setAttribute("aria-owns",K.id);b.setAttribute("aria-controls",
K.id);K.setAttribute("aria-labelledby",b.id);B=e.getNoResultsMessage();K=zo(Ufb);B?B.display?B=new Vfb(K,B):(B=zo(Wfb,B),K.appendChild(B),B=new Xfb):B=new Yfb;A.appendChild(K);l=new Zfb(A,b,P,d,l,e,B,g);Gj(g.getInternal(),7,!1)&&Neb()&&(l=new Mq(l,c,d,g,e,b));b=new $fb(h,b,l,a,e);Ycb(b.getRoot(),c);c=g.getInternal().getClearcut();g=e.getEntryPoint();rdb()?c=new agb(q,Cfb(c,g)):(d=rq.getExperiments(),Gj(d,2,!1)||Gj(c,6,!0)?(c=Cfb(c,g),q.hasAttribute("pk-log")?(c=new bgb(new Nq(q),c),c=new cgb(q,c),
c=new dgb(c)):c=new egb):c=new egb);c.start();return new fgb(q,b,a,x,c,e)},igb=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);ggb.lastIndex=0;for(var d=ggb.exec(a);d&&d.index<c;d=ggb.exec(a))b.push(a.substring(Number(ggb.lastIndex)));return b},mgb=function(a){a=Array.from(a).flatMap(function(g){return(g||"").split(jgb)}).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=Oq(kgb(c.value)).replace(lgb,"").toUpperCase().toLowerCase();c=k(igb(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})},ogb=function(a){var b;return ngb(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)})},pgb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&wq(a.id)&&9!==a.id.getType()?
isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},sgb=function(a,b,c){if(wq(a.id)||wq(b.id)){var d=qgb.has(a.id.getType()),e=qgb.has(b.id.getType());if(d!==e)return d?-1:1;if(wq(a.id)&&wq(b.id))return rgb(a,b,c,!1)}d=pgb(a,c);c=pgb(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},rgb=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?sgb(a,b,c):0},xgb=function(a,b,c){var d=Pq(b.getTargetType(),b.getValue()),e=[].concat(Pc(b.getProfileIdList().map(tgb)),Pc(Fh(b,6).map(ugb)),Pc(b.getCustomSourceIdList().map(vgb)));wgb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Fh(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}},ygb=function(a){return(a||"").trim()},Egb=function(a){var b=a.resultData,c=a.targetData,d=zgb(Qq(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&d.setResultType(b.getResultType());c.hasValue()&&d.setValue(ygb(c.getValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new Agb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&
(e=c.getPhoto(),d.setPhoto((new Rq).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()&&Bgb(d,c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&Cgb(d,c.getTagList().map(function(h){return Dgb(h.altText_).setIconUrl(h.getIconUrl())}));
c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());return d},Ggb=function(a){return a?Fgb.get(a)||0:0},Jgb=function(a){switch(a.getValueCase()){case 2:return Sq(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&m(b,2)?(a=Hgb(b.getOriginalValue()||""),b=Hgb(m(b,2)||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):Hgb(m(b,2)||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Pj(a,Tq,4,Vq);if(a.hasProfileId())return a=a.getProfileId()||"",
new Wq(8,uo(a).toLowerCase(),a);switch(Ai(a,Xq)){case 2:return a=a.getEmail()||"",new Wq(6,uo(a).toLowerCase(),a);case 3:return Igb(a.getPhone()||"")}}return Yq},Kgb=function(a){return a.getSourceIdsList().map(function(b){switch(b.getIdCase()){case 1:return tgb(b.getProfileId()||"");case 2:return ugb(b.getContactId()||"");default:return null}}).filter(Boolean)},Lgb=function(a,b){return Aj(a,Zq,3)&&Z(a,Zq,3).getIsPlaceholder()?3:$q(b,8)?1:0},Mgb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):
-Infinity},Ngb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Ogb=function(a){return!!a&&!!a.getPrimary()},Qgb=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"+Pgb(a):""},Tgb=function(a){var b=void 0;if(Z(a,Zq,3)){var c;
b=null!=(c=b)?c:new ar;br(b,Rgb,Z(a,Zq,3))}if(a.getPeopleStackPersonExtendedData()){var d;b=null!=(d=b)?d:new ar;br(b,Sgb,a.getPeopleStackPersonExtendedData())}return b},Vgb=function(a){var b=void 0;if(Z(a,cr,9)){var c;b=null!=(c=b)?c:new ar;br(b,Ugb,Z(a,cr,9))}return b},Xgb=function(a){var b=new dr,c=a?2:1;Wgb(b.setEventType(4),c).setToken(a);return b},Zgb=function(a,b){var c=new er;c=(new dr).setLookupInfo(c);fr(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Ygb.get(b)||0);return c},
$gb=function(){var a=new dr;fr(a.setEventType(6),11);return a},ahb=function(){var a=new dr;fr(a.setEventType(6),10);return a},bhb=function(a,b){var c=new dr;fr(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(Ygb.get(b)||0);return c},chb=function(a){var b=new dr;fr(b.setEventType(6),5).setQueryScope(Ygb.get(a)||0);return b},dhb=function(a,b){switch(a){case 8:case 3:case 17:return(new gr).setProfileId(b);case 1:case 6:return(new gr).setEmail(b);case 7:case 2:return(new gr).setPhone(b);default:return null}},
fhb=function(a){return((a=Ch(a,hr,2).find(function(b){return 1===ir(b,1)}))?ehb.get(ir(a,2)):0)||0},ihb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(ghb(Bca(no(b.getAffinity(),1))||""));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new Agb).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 Rq).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(hhb.get(b.getType())||
0)))},jhb=function(a,b){if(b.hasProfileId())switch(Ai(b,Xq)){case 2:var c=b.getEmail()||"";return Qq(a.id).setValue(b.getProfileId()||"").setOriginatingField((new jr).setType(1).setValue(c));case 3:return c=b.getPhone()||"",Qq(a.id).setValue(b.getProfileId()||"").setOriginatingField((new jr).setType(2).setValue(c));default:return b=b.getProfileId()||"",Qq(a.id).setValue(b)}switch(Ai(b,Xq)){case 2:return b=b.getEmail()||"",Qq(a.id).setValue(b).setOriginatingField((new jr).setType(1).setValue(b));case 3:return b=
b.getPhone()||"",Qq(a.id).setValue(b).setOriginatingField((new jr).setType(2).setValue(b));default:return b=b.getProfileId()||"",Qq(a.id).setValue(b)}},lhb=function(a,b){var c=zgb(Qq(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&ihb(c,b);a.group&&((b=Ch(a.group,kr,6).find(function(d){return null!=mo(d,1,khb)}))?c.setValue(mo(b,1,khb)||""):a.group.hasGroupId()&&c.setValue(a.group.getGroupId()||""));a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},nhb=
function(a){return new mhb(a)},qhb=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=ohb.get(b)))return b}return(b=phb.get(a.getTargetType()))?b:wq(a.getId())?8:0},shb=function(a,b,c){var d=new lr,e=new mr;Wi(d,mr,2,e);e.setProvenance(b);b=new nr;Wi(d,nr,1,b);Ij(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===qhb(a)?8:a.getIsPersonalResult()?4:3;n(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&
ohb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);wq(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);b.setFieldType(qhb(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 rhb(a,d)},uhb=function(a){a=thb.indexOf(a.provenance);return 0>a?thb.length:a},vhb=function(a){return a.containerIds&&
a.containerIds.some(function(b){return 3===b.getType()})},xhb=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new Mp(new whb(a,d))},zhb=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=xhb(d,new yhb(g,e))}return[c,d]})));return a},Ahb=function(a){return 0!==a&&12!==a},Chb=function(){return new Bhb(Lc.apply(0,arguments))},Ehb=function(){return new Dhb(Lc.apply(0,arguments))},Ghb=function(){var a=Lc.apply(0,arguments);return 1===a.length?a[0]:new Fhb(a)},Hhb=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},b):c(a)})},Ihb=function(a,b,c){b=Hhb(b,c);return Promise.race([a,b])},Jhb=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)}}},Mhb=function(a,b,c,d){b=Khb(a,b).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new or(e,g)});c=Khb(a,c).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new or(e,g)});a=Khb(a,d).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new or(e,g)});return new Lhb(b,c,a)},
Nhb=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}},Ohb=function(a){return a.reduce(function(b,c){var d=Nhb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},Phb=function(a,b){b=void 0===b?new pr: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}},
Rhb=function(a){return!a||a instanceof Qhb?a:new Qhb(a)},Thb=function(a){return Shb.get(a)||0},Vhb=function(a,b){var c=Uhb(qr(new rr,"PeopleStore").setLogSource(W(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(537372493).setEnableClearcut(a.getEnableClearcut()),[].concat(Pc(b.getExperiments().getExperimentIdsList()),Pc(sr?sr.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());(a=
Ch(a,tr,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(ur(a,4));return c},Whb=function(a){return(Aj(a,vr,12)?Z(Z(a,vr,12),tr,2):a.getSources())||new tr},Xhb=function(a){return(Aj(a,vr,12)?Z(Z(a,vr,12),tr,3):a.getSources())||new tr},Yhb=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)},Zhb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return dj(a,3,0)+":"+dj(a,4,0)+":"+dj(a,5,0)+":"+a.getInstanceId()},
$hb=function(a){return Aj(a,mr,2)?sq(a).getContext()||0:0},aib=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?dj(d,3,0)+"-"+dj(d,4,0)+"-"+dj(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},xr=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Gj(h,4,!1)});if(d){d=k(a);for(var e=d.next();!e.done;e=d.next())Ij(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=aib(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 wr;g.setSessionState(e);g.setEventType(b);aj(g,3,d);g.setEventSources(e.getSources());c.push(g)}return c},bib=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new yr},cib=function(a){a&1&&(G(0,"a",3),R(1),
S(2,"async"),H());if(a&2){a=N();var b;F("href",a.manageComponentLink,Id);z(1);Af(null==(b=T(2,2,a.component$))?null:b.name)}},dib=function(a){a&1&&(G(0,"output"),R(1),H());a&2&&(a=N(),z(1),Af(a.componentId))},eib=function(a){a&1&&(G(0,"li")(1,"label"),R(2,"Component"),H(),I(3,"b-async-component",7),H());a&2&&(a=N(2),z(3),F("componentId",a.issueComponentId))},fib=function(a){a&1&&(G(0,"li")(1,"label"),R(2,"Team"),H(),I(3,"b-team-display",8),H());a&2&&(a=N(2),z(3),F("teamId",a.issueTeamId))},gib=function(a){a&
1&&(G(0,"ol",3)(1,"li")(2,"label"),R(3,"ID"),H(),G(4,"output"),R(5),H()(),G(6,"li")(7,"label"),R(8,"Type"),H(),G(9,"output"),R(10),H()(),G(11,"li")(12,"label"),R(13,"Priority"),H(),I(14,"b-issue-priority-display",4),H(),G(15,"li")(16,"label"),R(17,"Severity"),H(),G(18,"output"),R(19),H()(),G(20,"li")(21,"label"),R(22,"Status"),H(),G(23,"output"),R(24),H()(),G(25,"li")(26,"label"),R(27,"Last modified"),H(),G(28,"output"),R(29),S(30,"date"),H()(),G(31,"li")(32,"label"),R(33,"Issue access limit"),H(),
G(34,"output"),R(35),G(36,"a",5),R(37,"Learn more"),H()()(),Q(38,eib,4,1,"li",6),Q(39,fib,4,1,"li",6),H());a&2&&(a=N(),z(5),Af(a.issueId),z(5),Af(a.issueType),z(4),F("issuePriority",a.issuePriority),z(5),Af(a.issueSeverity),z(5),Af(a.issueStatus),z(5),Af(If(30,10,a.issueLastModified,"medium")),z(6),zf("",a.accessLimitLevel," "),z(1),F("href",a.documentationLinks.getIssueAccessLimit(),Id),z(2),F("ngIf",a.issueComponentId),z(1),F("ngIf",a.issueTeamId))},hib=function(a){return a.startsWith('"')&&a.endsWith('"')||
a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},iib=function(a){a.label||(a=Lh(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},kib=function(a){return{type:jib[a.getType()],value:a.getValue()}},mib=function(a){var b,c;return{type:lib[a.getType()],values:(null!=(b=a.getValuesList())?b:[]).map(mib),simpleValues:(null!=(c=Ch(a,nib,3))?c:[]).map(kib)}},rib=function(a){var b,c=oib[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(mib);b=Gj(a,3);if(a.hasLabel()){var e=
a.getLabel();e={field:pib[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:qib[W(a,5,0)]}},tib=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:V(Pj(a,zr,2,Ar),1)},queryBuilderResponse:void 0};case 1:a=Pj(a,Br,1,Ar);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:sib[a.getType()],expressions:(null!=(b=Ch(a,Cr,2))?b:[]).map(rib)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},
uib=function(a){a&1&&(G(0,"span",11),R(1," > "),H())},xib=function(a,b){if(a&1){var c=v();G(0,"span")(1,"a",9);M("click",function(d){var e=w(c).$implicit,g=N(2);e=new vib(e.pathIds,e.pathNames);g.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();wib(g.autocompleteTrigger);return y()});R(2);H();Q(3,uib,2,0,"span",10);H()}a&2&&(a=b.$implicit,b=b.last,z(1),F("matTooltip",a.pathNameText),z(1),Af(a.name),z(1),F("ngIf",!b))},yib=function(a,b){a&1&&(G(0,"mat-option",6)(1,"div"),Q(2,xib,4,3,"span",
7),H(),G(3,"span",8),R(4),S(5,"slice"),H()());a&2&&(a=b.$implicit,F("value",a),z(2),F("ngForOf",a.teamPath),z(1),F("matTooltip",a.description),z(1),zf("",Jf(5,4,a.description,0,100)," "))},zib=function(a,b){a&1&&(G(0,"mat-option",5)(1,"div",6),R(2),H()());a&2&&(a=b.$implicit,F("value",a),z(2),zf(" ",a.name," "))},Aib=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=b.$implicit,F("value",a.key),z(1),zf(" ",a.value," "))},Bib=function(a){if(a&1){var b=v();G(0,"mat-form-field",10)(1,"mat-select",
11);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.expressionType=c)});Q(2,Aib,2,2,"mat-option",12);S(3,"keyvalue");H()()}a&2&&(a=N(2),z(1),F("ngModel",a.expressionType),z(1),F("ngForOf",T(3,2,a.globalTypeLabels)))},Cib=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=b.$implicit,F("value",a[0]),z(1),zf(" ",a[1]," "))},Dib=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());if(a&2){a=b.$implicit;b=N(2).$implicit;var c=N(2);F("value",a);z(1);zf(" ",c.getTypeLabel(b,a)," ")}},Eib=
function(a){if(a&1){var b=v();G(0,"mat-form-field",10)(1,"mat-select",21);M("ngModelChange",function(c){w(b);var d=N().$implicit;return y(d.type=c)});Q(2,Dib,2,2,"mat-option",12);H()()}a&2&&(a=N().$implicit,z(1),F("ngModel",a.type),z(1),F("ngForOf",a.getLegalTypes()))},Fib=function(a,b){if(a&1){var c=v();G(0,"div",28)(1,"mat-checkbox",29);M("change",function(d){var e=w(c).$implicit,g=N(3).$implicit;return y(g.enumValues[e.id]=d.checked)});R(2);H()()}a&2&&(a=b.$implicit,b=N(3).$implicit,z(1),F("checked",
b.enumValues[a.id]),z(1),zf(" ",a.label||a.id," "))},Gib=function(a){a&1&&(G(0,"div",26),Q(1,Fib,3,2,"div",27),H());a&2&&(a=N(2).$implicit,z(1),F("ngForOf",a.getOptions()))},Hib=function(a){if(a&1){var b=v();G(0,"div")(1,"input",30);M("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),F("ngModel",a.csv)("bContactAutocomplete","MULTI"))},Iib=function(a){if(a&1){var b=v();G(0,"div",22)(1,"input",31);M("ngModelChange",function(c){w(b);var d=N(3).$implicit;
return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),F("ngModel",a.csv))},Jib=function(a){if(a&1){var b=v();G(0,"div",22)(1,"input",32);M("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),F("ngModel",a.csv))},Kib=function(a){if(a&1){var b=v();G(0,"div",22)(1,"input",33);M("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.csv=c)});H()()}a&2&&(a=N(3).$implicit,z(1),F("ngModel",a.csv))},Lib=function(a){a&1&&(G(0,"div"),Q(1,Hib,
2,2,"div",24),Q(2,Iib,2,1,"div",18),Q(3,Jib,2,1,"div",18),Q(4,Kib,2,1,"div",18),H());a&2&&(a=N(2).$implicit,z(1),F("ngIf","user"==a.getWidgetType()),z(1),F("ngIf","csv"==a.getWidgetType()),z(1),F("ngIf","id"==a.getWidgetType()),z(1),F("ngIf","number"==a.getWidgetType()))},Mib=function(a,b){if(a&1){var c=v();G(0,"div",37)(1,"div",38)(2,"input",33);M("ngModelChange",function(d){var e=w(c).$implicit;return y(e.value=d)});H()();G(3,"button",39);M("click",function(){var d=w(c).$implicit,e=N(3).$implicit,
g=N(2);return y(Dr(g,e,d))});H()()}a&2&&(a=b.$implicit,z(2),F("ngModel",a.value))},Nib=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y(Er(d,c))});R(1);H()}a&2&&(a=N(3).$implicit,z(1),zf(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},Oib=function(a){a&1&&(G(0,"div",34),Q(1,Mib,4,1,"div",35),Q(2,Nib,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},Qib=function(a){if(a&1){var b=v();G(0,"div",
49);M("click",function(){w(b);var d=N(2).$implicit,e=N(5);return y(Pib(e,d))});G(1,"span",50);R(2);H()()}if(a&2){a=N(2).$implicit;var c=N(5);F("title",c.getComponentPath(c.components[a.value]));z(2);zf(" ",c.getComponentPath(c.components[a.value])," ")}},Rib=function(a){if(a&1){var b=v();G(0,"div",38)(1,"b-team-component-picker",51);M("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;Fr(d);return y()});H()()}a&2&&(a=N(7),z(1),F("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},Sib=function(a){if(a&1){var b=v();G(0,"div",43);Q(1,Qib,3,2,"div",44);Q(2,Rib,2,3,"div",45);G(3,"button",46);M("click",function(){w(b);var d=N().$implicit;N(5);d.includeSubs=!d.includeSubs;return y()});I(4,"mat-icon",47);H();G(5,"button",48);M("click",function(){w(b);
var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Dr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(5);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a);z(1);F("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");bf("aria-checked",a.includeSubs);z(1);F("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},Tib=function(a,b){a&1&&(J(0),Q(1,Sib,6,5,"div",42),L());a&2&&(a=b.$implicit,b=N(5),z(1),F("ngIf",b.chipUnderEdit===
a||a.value))},Uib=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y(Er(d,c))});R(1);H()}a&2&&(a=N(3).$implicit,z(1),zf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Vib=function(a){a&1&&(G(0,"div",34),Q(1,Tib,2,1,"ng-container",41),Q(2,Uib,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},Xib=function(a){if(a&1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=N(2).$implicit,e=N(5);
return y(Wib(e,d))});G(1,"span",50);R(2);H()()}if(a&2){a=N(2).$implicit;var c=N(5);F("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);z(2);zf(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},Yib=function(a){if(a&1){var b=v();G(0,"div",38)(1,"b-tracker-picker",54);M("onTrackerSelect",function(c){w(b);var d=N(7);d.analytics.trackEvent(Gn.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;Fr(d);return y()});H()()}a&2&&(a=N(7),z(1),F("selectedTracker",a.trackerUnderEdit))},Zib=function(a){if(a&1){var b=v();G(0,"div",53);Q(1,Xib,3,2,"div",44);Q(2,Yib,2,1,"div",45);G(3,"button",48);M("click",function(){w(b);var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Dr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(5);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a)}},$ib=function(a,b){a&1&&(J(0),Q(1,Zib,4,2,"div",52),L());
a&2&&(a=b.$implicit,b=N(5),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},ajb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y(Er(d,c))});R(1);H()}a&2&&(a=N(3).$implicit,z(1),zf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},bjb=function(a){a&1&&(G(0,"div",34),Q(1,$ib,2,1,"ng-container",41),Q(2,ajb,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},djb=function(a){if(a&1){var b=v();G(0,"div",
49);M("click",function(){w(b);var d=N(2).$implicit,e=N(6);return y(cjb(e,d))});S(1,"teamPath");G(2,"span",50);R(3);S(4,"teamPath");H()()}if(a&2){a=N(2).$implicit;var c=N(6);F("title",T(1,2,c.teams[a.value]));z(3);zf(" ",T(4,4,c.teams[a.value])," ")}},fjb=function(a){if(a&1){var b=v();G(0,"div",38)(1,"b-team-picker",58);M("onTeamSelect",function(c){w(b);var d=N(8);return y(ejb(d,c))});H()()}a&2&&(a=N(8),z(1),F("teamSelected",a.teamUnderEdit))},gjb=function(a){if(a&1){var b=v();G(0,"div",56);Q(1,djb,
5,6,"div",44);Q(2,fjb,2,1,"div",45);G(3,"button",57);M("click",function(){w(b);var d=N().$implicit;N(6);d.includeSubs=!d.includeSubs;return y()});I(4,"mat-icon",47);H();G(5,"button",48);M("click",function(){w(b);var d=N().$implicit,e=N(4).$implicit,g=N(2);return y(Dr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(6);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a);z(1);F("title",a.includeSubs?"Subteams are included":"Subteams are not included");bf("aria-checked",a.includeSubs);
z(1);F("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},hjb=function(a,b){a&1&&(J(0),Q(1,gjb,6,5,"div",55),L());a&2&&(a=b.$implicit,b=N(6),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},ijb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=N(4).$implicit,d=N(2);return y(Er(d,c))});R(1);H()}a&2&&(a=N(4).$implicit,z(1),zf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},jjb=function(a){a&1&&(J(0),Q(1,hjb,2,1,"ng-container",41),Q(2,ijb,2,1,"button",
36),L());a&2&&(a=N(3).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},kjb=function(a){a&1&&(G(0,"div",34),Q(1,jjb,3,2,"ng-container",24),H());a&2&&(a=N(4),z(1),F("ngIf",a.sessionIsInternal))},mjb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",59);M("boundValueChange",function(c){w(b);N(3).$implicit.dateFrom=ljb(c);return y()});H();R(2," and ");G(3,"bv2-input-date-picker",59);M("boundValueChange",function(c){w(b);N(3).$implicit.dateTo=ljb(c);return y()});H()()}a&2&&
(a=N(3).$implicit,z(1),F("boundValue",a.dateFrom)("isRequired",!0),z(2),F("boundValue",a.dateTo)("isRequired",!0))},njb=function(a){if(a&1){var b=v();G(0,"div");R(1," the last ");G(2,"input",60);M("ngModelChange",function(c){w(b);var d=N(3).$implicit;return y(d.duration=c)});H();R(3," days. ");H()}a&2&&(a=N(3).$implicit,z(2),F("ngModel",a.duration))},ojb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",59);M("boundValueChange",function(c){w(b);N(3).$implicit.dateFrom=ljb(c);return y()});
H()()}a&2&&(a=N(3).$implicit,z(1),F("boundValue",a.dateFrom)("isRequired",!0))},pjb=function(a){a&1&&(G(0,"div"),Q(1,mjb,4,4,"div",24),Q(2,njb,4,1,"div",24),Q(3,ojb,2,2,"div",24),H());a&2&&(a=N(2).$implicit,z(1),F("ngIf","RANGE"==a.type||"NRANGE"==a.type),z(1),F("ngIf","DURATION"==a.type||"NDURATION"==a.type),z(1),F("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},qjb=function(a){if(a&1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=N(2).$implicit,e=N(5);return y(Gr(e,
d))});G(1,"span",50);R(2);H()()}if(a&2){a=N(2).$implicit;var c=N(5);F("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);z(2);zf(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},rjb=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=b.$implicit,F("value",a.hotlistId),z(1),zf(" ",a.name," "))},sjb=function(a){if(a&1){var b=v();G(0,"mat-form-field",64)(1,"mat-select",65);M("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(Fr(d))});Q(2,rjb,2,2,"mat-option",12);H()()}if(a&2){a=N(2).$implicit;var c=N(5);z(1);F("ngModel",a.value);z(1);F("ngForOf",c.userHotlists)}},tjb=function(a){if(a&1){var b=v();G(0,"div",62);Q(1,qjb,3,2,"div",44);Q(2,sjb,3,2,"mat-form-field",63);G(3,"button",48);M("click",function(){w(b);var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Dr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(5);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",
c.chipUnderEdit===a)}},ujb=function(a,b){a&1&&(J(0),Q(1,tjb,4,2,"div",61),L());a&2&&(a=b.$implicit,b=N(5),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},vjb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y(Er(d,c))});R(1);H()}a&2&&(a=N(3).$implicit,z(1),zf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},wjb=function(a){a&1&&(G(0,"div",34),Q(1,ujb,2,1,"ng-container",41),Q(2,vjb,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),F("ngForOf",
a.values),z(1),F("ngIf",a.type))},xjb=function(a){if(a&1){var b=v();G(0,"div",49);M("click",function(){w(b);var d=N(2).$implicit,e=N(5);return y(Gr(e,d))});G(1,"span",50);R(2);H()()}if(a&2){a=N(2).$implicit;var c=N(5);F("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);z(2);zf(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},yjb=function(a,b){a&1&&(G(0,"mat-option",13),R(1),H());a&2&&(a=b.$implicit,F("value",a.searchId),z(1),
zf(" ",a.name," "))},zjb=function(a){if(a&1){var b=v();G(0,"mat-form-field",64)(1,"mat-select",66);M("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(Fr(d))});Q(2,yjb,2,2,"mat-option",12);H()()}if(a&2){a=N(2).$implicit;var c=N(5);z(1);F("ngModel",a.value);z(1);F("ngForOf",c.userSavedSearches)}},Ajb=function(a){if(a&1){var b=v();G(0,"div",62);Q(1,xjb,3,2,"div",44);Q(2,zjb,3,2,"mat-form-field",63);G(3,"button",48);M("click",
function(){w(b);var d=N().$implicit,e=N(3).$implicit,g=N(2);return y(Dr(g,e,d))});H()()}if(a&2){a=N().$implicit;var c=N(5);z(1);F("ngIf",c.chipUnderEdit!==a);z(1);F("ngIf",c.chipUnderEdit===a)}},Bjb=function(a,b){a&1&&(J(0),Q(1,Ajb,4,2,"div",61),L());a&2&&(a=b.$implicit,b=N(5),z(1),F("ngIf",b.chipUnderEdit===a||a.value))},Cjb=function(a){if(a&1){var b=v();G(0,"button",40);M("click",function(){w(b);var c=N(3).$implicit,d=N(2);return y(Er(d,c))});R(1);H()}a&2&&(a=N(3).$implicit,z(1),zf(" + ","OR"==
a.type||"NAND"==a.type?"OR":"AND"," "))},Djb=function(a){a&1&&(G(0,"div",34),Q(1,Bjb,2,1,"ng-container",41),Q(2,Cjb,2,1,"button",36),H());a&2&&(a=N(2).$implicit,z(1),F("ngForOf",a.values),z(1),F("ngIf",a.type))},Ejb=function(a){a&1&&(G(0,"div",22),Q(1,Gib,2,1,"div",23),Q(2,Lib,5,4,"div",24),Q(3,Oib,3,2,"div",25),Q(4,Vib,3,2,"div",25),Q(5,bjb,3,2,"div",25),Q(6,kjb,2,1,"div",25),Q(7,pjb,4,3,"div",24),Q(8,wjb,3,2,"div",25),Q(9,Djb,3,2,"div",25),H());if(a&2){a=N().$implicit;var b=N(2);z(1);F("ngIf","enum"===
a.getWidgetType());z(1);F("ngIf",a instanceof Hr);z(1);F("ngIf","text"==a.getWidgetType());z(1);F("ngIf","component"==a.getWidgetType());z(1);F("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());z(1);F("ngIf","team"==a.getWidgetType());z(1);F("ngIf","date"===a.getWidgetType());z(1);F("ngIf","hotlist"==a.getWidgetType());z(1);F("ngIf","savedsearch"==a.getWidgetType())}},Fjb=function(a){a&1&&(G(0,"div",67),R(1),H());if(a&2){a=N().$implicit;var b=N(2);z(1);zf(" ",b.getCustomFieldName(a),
" ")}},Ijb=function(a){if(a&1){var b=v();G(0,"div",68)(1,"b-custom-field-picker",69);M("fieldSelected",function(c){w(b);var d=N().index,e=N(2),g=c.customFieldId;e.customFields[g]=c;e.expressions[d]=Gjb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[g]);Hjb(e,e.expressions[d]);return y()});H()()}},Kjb=function(a,b){if(a&1){var c=v();G(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);M("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(Jjb(e,d))});Q(4,Cib,2,2,"mat-option",12);H()();Q(5,Eib,3,2,"mat-form-field",3);H();G(6,"button",17);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.removeExpression(d))});H();Q(7,Ejb,10,9,"div",18);Q(8,Fjb,2,1,"div",19);Q(9,Ijb,2,0,"div",20);H()}a&2&&(a=b.$implicit,b=N(2),z(3),F("ngModel",a.label.field),z(1),F("ngForOf",b.availableLabels),z(1),F("ngIf",!a.isPendingCustomField),z(2),F("ngIf",!a.isPendingCustomField),z(1),F("ngIf",a.label.customFieldId),
z(1),F("ngIf",a.isPendingCustomField))},Ljb=function(a,b){if(a&1){var c=v();G(0,"button",70);M("click",function(){var d=w(c).$implicit,e=N(2);e.expressions.push({label:{field:d[0]}});Jjb(e,e.expressions.length-1);return y()});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",a[1]," "))},Mjb=function(a){a&1&&(G(0,"div",1)(1,"span",2),R(2,"Advanced search query builder"),H(),Q(3,Bib,4,4,"mat-form-field",3),Q(4,Kjb,10,6,"div",4),G(5,"div",5)(6,"button",6),R(7),H(),G(8,"mat-menu",7,8),Q(10,Ljb,2,1,"button",9),
H()()());if(a&2){var b=yf(9);a=N();z(3);F("ngIf",a.expressions.length);z(1);F("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);z(2);F("matMenuTriggerFor",b);z(1);zf(" ",a.expressionType," ... ");z(3);F("ngForOf",a.availableLabels)}},Pjb=function(a){return{experimentId:a.getExperimentId(),state:Njb[a.getState()],userGroup:Ojb[W(a,3,0)],title:a.getTitle(),description:a.getDescription(),learnMoreLink:V(a,6)}},Qjb=function(a){a&1&&I(0,"div",3)},Rjb=function(a){a&1&&I(0,"div",4)},Tjb=function(a){if(a&
1){var b=v();G(0,"button",2);M("click",function(){w(b);var c=N();return y(Sjb(c))});I(1,"mat-icon",3);R(2);H()}a&2&&(a=N(),F("matTooltip","Open release notes"),z(1),F("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),z(1),zf(" ",a.buttonLabel," "))},Ujb=function(a){if(a&1){var b=v();G(0,"button",4);M("click",function(){w(b);var c=N();return y(Sjb(c))});R(1);H()}a&2&&(a=N(),z(1),zf(" ",a.buttonLabel," "))},Vjb=function(a){if(a&1){var b=v();G(0,"button",9);M("click",function(c){w(b);
var d=N();return y(d.manageSlos(c))});R(1,"Manage SLOs");H()}},Wjb=function(a){a&1&&(G(0,"a",13),R(1,"Early Access "),I(2,"b-feature-stage-label",14),H())},Xjb=function(a){a&1&&(J(0),I(1,"mat-divider")(2,"b-whats-new-button",15),L());a&2&&(z(2),F("menuMode",!0))},Yjb=function(a){a&1&&I(0,"b-whats-new-button",4);a&2&&(a=N(),F("alertMode",a.majorReleaseNotesUpdated))},Zjb=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);N().userFeedback.startFeedback();return y()});I(1,"mat-icon",
6);H()}},$jb=function(a,b){if(a&1){var c=v();G(0,"button",6);M("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);G(2,"span",8);R(3);H()()}a&2&&(a=b.$implicit,F("value",a.trackerId),bf("title",a.name),z(1),F("src",null==a.branding?null:a.branding.logoUrl,Id),z(2),Af(a.name))},akb=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=N();return y(c.clickMenu.emit())});
I(1,"mat-icon",6);H()}},dkb=function(a,b){a&1&&(G(0,"output",7),R(1),H());a&2&&(a=b.$implicit,F("ngClass",a.color?Ff(2,bkb,a.color):Ef(4,ckb)),z(1),Af(a.name))},ekb=function(a){a&1&&I(0,"tracker-switcher",2);a&2&&(a=N(),F("associatedTrackers",a.associatedTrackers))},fkb=function(a){a&1&&(G(0,"span"),R(1," Currently selected hotlist: "),G(2,"strong"),R(3),H()());a&2&&(a=N(3),z(3),Af(a.header.hotlist.name))},gkb=function(a){a&1&&R(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},
hkb=function(a){a&1&&(J(0),Q(1,fkb,4,1,"span",5),Q(2,gkb,1,0,"ng-template",null,6,Vf),L());if(a&2){var b=yf(3);a=N(2);z(1);F("ngIf",a.header.hotlist)("ngIfElse",b)}},ikb=function(a){a&1&&(G(0,"span"),R(1,"Currently selected saved search: "),G(2,"strong"),R(3),H()());a&2&&(a=N(3),z(3),Af(a.header.savedSearch.name))},jkb=function(a){a&1&&R(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},kkb=function(a){a&1&&(J(0),Q(1,ikb,4,1,"span",5),Q(2,jkb,1,0,"ng-template",
null,7,Vf),L());if(a&2){var b=yf(3);a=N(2);z(1);F("ngIf",a.header.savedSearch)("ngIfElse",b)}},lkb=function(a){a&1&&(G(0,"span"),R(1," and "),G(2,"strong"),R(3,"subcomponents"),H()())},mkb=function(a){a&1&&(G(0,"span"),R(1," Currently selected component: "),G(2,"strong",9),R(3),H(),I(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),Q(6,lkb,4,0,"span",4),H());if(a&2){a=N(3);z(3);var b=a.header.component;var c=Ir(a.currentTracker,b.componentPathInfo);b=c&&c.componentPathName?c.componentPathName.join(" > "):
b.name;Af(b);z(1);F("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);z(1);F("trackerId",a.header.component.trackerId);z(1);F("ngIf",a.header.includeChildren)}},nkb=function(a){a&1&&R(0," Start typing a component name or ID to see auto-complete suggestions. ")},okb=function(a){a&1&&(J(0),Q(1,mkb,7,4,"span",5),Q(2,nkb,1,0,"ng-template",null,8,Vf),L());if(a&2){var b=yf(3);a=N(2);z(1);F("ngIf",a.header.component)("ngIfElse",b)}},pkb=function(a){a&1&&
(G(0,"span"),R(1," Currently selected tracker: "),G(2,"strong"),R(3),H()());a&2&&(a=N(3),z(3),Af(a.header.tracker.name))},qkb=function(a){a&1&&R(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},rkb=function(a){a&1&&(J(0),Q(1,pkb,4,1,"span",5),Q(2,qkb,1,0,"ng-template",null,12,Vf),L());if(a&2){var b=yf(3);a=N(2);z(1);F("ngIf",a.header.tracker)("ngIfElse",b)}},skb=function(a){a&1&&(G(0,"span"),R(1," and "),G(2,"strong"),R(3,"subteams"),H()())},tkb=function(a){a&1&&(G(0,"span"),
R(1," Currently selected team: "),G(2,"strong"),R(3),H(),Q(4,skb,4,0,"span",4),H());a&2&&(a=N(3),z(3),Af(a.header.team.name),z(1),F("ngIf",a.header.includeChildren))},ukb=function(a){a&1&&R(0," Start typing a team name or ID to see auto-complete suggestions. ")},vkb=function(a){a&1&&(J(0),Q(1,tkb,5,2,"span",5),Q(2,ukb,1,0,"ng-template",null,13,Vf),L());if(a&2){var b=yf(3);a=N(2);z(1);F("ngIf",a.header.team)("ngIfElse",b)}},wkb=function(a,b){a&1&&(G(0,"span"),R(1," Currently selected custom field: "),
G(2,"strong"),R(3),H(),R(4," of type "),G(5,"strong"),R(6),S(7,"lowercase"),H(),R(8,". "),H());a&2&&(a=b.$implicit,z(3),Af(a.name),z(3),Af(T(7,2,a.type)))},xkb=function(a){a&1&&R(0," customfield[id]: [value] ")},ykb=function(a){a&1&&(J(0),Q(1,wkb,9,4,"span",5),Q(2,xkb,1,0,"ng-template",null,14,Vf),L());if(a&2){var b=yf(3);a=N(2);z(1);F("ngIf",a.header.customField)("ngIfElse",b)}},zkb=function(a){a&1&&(G(0,"div",3),Q(1,hkb,4,2,"ng-container",4),Q(2,kkb,4,2,"ng-container",4),Q(3,okb,4,2,"ng-container",
4),Q(4,rkb,4,2,"ng-container",4),Q(5,vkb,4,2,"ng-container",4),Q(6,ykb,4,2,"ng-container",4),H());a&2&&(a=N(),z(1),F("ngIf","hotlist"===a.header.type),z(1),F("ngIf","savedsearch"===a.header.type),z(1),F("ngIf","component"===a.header.type),z(1),F("ngIf","tracker"===a.header.type),z(1),F("ngIf","team"===a.header.type),z(1),F("ngIf","customfield"===a.header.type))},Akb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),Bf(" ",a.id,": ",a.name," "))},Bkb=function(a){a&1&&(G(0,"span"),
R(1),G(2,"span"),R(3),H()());a&2&&(a=N().$implicit,z(1),zf(" Hotlist ",a.hotlistId,": "),z(2),Af(a.name))},Ckb=function(a){a&1&&(G(0,"span"),R(1),G(2,"span"),R(3),H(),I(4,"br"),G(5,"span",16),R(6),H()());a&2&&(a=N().$implicit,z(1),zf(" Saved search ",a.searchId,": "),z(2),Af(a.name),z(3),Af(a.query))},Dkb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),zf(" ",a.name," "))},Ekb=function(a){a&1&&(G(0,"span"),R(1," > "),H())},Gkb=function(a,b){if(a&1){var c=v();J(0);G(1,"span",19);
M("click",function(d){var e=w(c).$implicit;Fkb(e);return y(d.stopPropagation())});R(2);H();Q(3,Ekb,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,z(1),xf("title","",a.id,": ",a.name,""),z(1),Af(a.name),z(1),F("ngIf",!b))},Hkb=function(a){a&1&&(G(0,"span"),R(1," Component "),G(2,"strong",9),R(3),H(),I(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),G(6,"span",17),Q(7,Gkb,4,4,"ng-container",18),H()());a&2&&(a=N().$implicit,z(3),Af(a.componentId),z(1),F("accessLevel",null==a.accessLimit?
null:a.accessLimit.accessLevel),z(1),F("trackerId",a.trackerId),z(2),F("ngForOf",a.componentPath))},Ikb=function(a){a&1&&(G(0,"span"),R(1),G(2,"span"),R(3),H()());a&2&&(a=N().$implicit,z(1),zf(" Tracker ",a.trackerId,": "),z(2),Af(a.name))},Jkb=function(a){a&1&&(G(0,"span"),R(1," > "),H())},Kkb=function(a,b){if(a&1){var c=v();J(0);G(1,"span",19);M("click",function(d){var e=w(c).$implicit;Fkb(e);return y(d.stopPropagation())});R(2);H();Q(3,Jkb,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,z(1),xf("title",
"",a.id,": ",a.name,""),z(1),Af(a.name),z(1),F("ngIf",!b))},Lkb=function(a){a&1&&(G(0,"span"),R(1," Team "),G(2,"strong"),R(3),H(),G(4,"span",17),Q(5,Kkb,4,4,"ng-container",18),H()());a&2&&(a=N().$implicit,z(3),Af(a.id),z(2),F("ngForOf",a.teamPath))},Mkb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),Bf(" ",a.label,": ",a.name," "))},Okb=function(a,b){if(a&1){var c=v();G(0,"b-app-search-auto-complete-option",15);M("optionClicked",function(e){w(c);var g=N();0<=e&&e<g.items.length&&
(e=g.items[e],e.id&&e.completionCfg&&Nkb(e),g.itemSelected.emit(e));return y()});Q(1,Akb,2,2,"span",4);Q(2,Bkb,4,2,"span",4);Q(3,Ckb,7,3,"span",4);Q(4,Dkb,2,1,"span",4);Q(5,Hkb,8,4,"span",4);Q(6,Ikb,4,2,"span",4);Q(7,Lkb,6,2,"span",4);Q(8,Mkb,2,2,"span",4);H()}if(a&2){a=b.$implicit;b=b.index;var d=N();ef("id","b-app-search-option-",b,"");F("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);z(1);F("ngIf","issue"===a.completionCfg.type);z(1);F("ngIf","hotlist"===a.completionCfg.type);
z(1);F("ngIf","savedsearch"===a.completionCfg.type);z(1);F("ngIf","atom"===a.completionCfg.type);z(1);F("ngIf","component"===a.completionCfg.type);z(1);F("ngIf","tracker"===a.completionCfg.type);z(1);F("ngIf","team"===a.completionCfg.type);z(1);F("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},Qkb=function(a){if(a&1){var b=v();G(0,"div",21)(1,"input",22,23);M("ngModelChange",function(c){w(b);var d=N();return y(d.searchName=c)})("keydown.Tab",function(){w(b);var c=N();return y(Pkb(c))})("keydown.enter",
function(){w(b);var c=N();return y(c.saveSearch())});H();G(3,"button",24);M("click",function(){w(b);var c=N();return y(c.saveSearch())});I(4,"mat-icon",25);H()()}a&2&&(a=N(),z(1),F("ngModel",a.searchName),z(2),F("disabled",!a.searchName))},Rkb=function(a){a&1&&(J(0),G(1,"span",10),R(2),H(),L());a&2&&(a=N(),z(1),mf("muted",a.disabled),z(1),Af(a.cardTitle))},Skb=function(a){a&1&&I(0,"mat-icon",11)},Tkb=function(a){a&1&&I(0,"mat-icon",12)},Ukb=function(a){a&1&&(G(0,"mat-select-trigger"),I(1,"mat-icon",
20),G(2,"span"),R(3),H()());a&2&&(a=N(3),z(1),F("svgIcon",a.selectedOption.icon),z(2),Af(a.selectedOption.displayText))},Vkb=function(a){a&1&&I(0,"mat-icon",20);a&2&&(a=N().$implicit,F("svgIcon",a.icon))},Wkb=function(a,b){a&1&&(G(0,"mat-option",21),Q(1,Vkb,1,1,"mat-icon",22),R(2),H());a&2&&(a=b.$implicit,F("value",a),z(1),F("ngIf",a.icon),z(1),zf("",a.displayText," "))},Xkb=function(a){if(a&1){var b=v();G(0,"mat-form-field",16)(1,"mat-label");R(2," Choose type... ");H();G(3,"mat-select",17);M("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()});Q(4,Ukb,4,2,"mat-select-trigger",18);Q(5,Wkb,3,3,"mat-option",19);H()()}a&2&&(a=N(2),z(3),F("disabled",a.disabled)("value",a.selectedOption),z(1),F("ngIf",a.selectedOption&&a.selectedOption.icon),z(1),F("ngForOf",a.dropdownOptions))},Ykb=function(a){if(a&1){var b=v();G(0,"mat-form-field",13)(1,"input",14);M("ngModelChange",function(c){w(b);var d=N();
return y(d.cardTitleChange.emit(c))});H()();Q(2,Xkb,6,4,"mat-form-field",15)}a&2&&(a=N(),z(1),mf("muted",a.disabled||!a.selected),F("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),bf("aria-label",a.ariaLabelForCardTitle),z(1),F("ngIf",a.dropdownOptions.length))},Zkb=function(a){a&1&&(G(0,"div",23),uf(1),H())},$kb=function(a){a&1&&(G(0,"button",31),I(1,"mat-icon",32),H());a&2&&(a=N(2),F("disabled",a.disabled))},alb=function(a){a&1&&I(0,"mat-divider",
33);a&2&&F("vertical",!0)},blb=function(a){a&1&&(G(0,"mat-slide-toggle",34),R(1," Required "),H());a&2&&(a=N(2),F("disabled",a.disabled))},clb=function(a){if(a&1){var b=v();G(0,"mat-slide-toggle",35);M("change",function(c){w(b);var d=N(2);return y(d.isInheritedChange.emit(c))});R(1," Inherited ");H()}a&2&&(a=N(2),F("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},dlb=function(a){if(a&1){var b=v();G(0,
"div",24)(1,"button",25);M("click",function(){w(b);var c=N();return y(c.onSave())});R(2," Save ");H();G(3,"button",26);M("click",function(){w(b);var c=N();return y(c.onCancel())});R(4," Cancel ");H();Q(5,$kb,2,1,"button",27);Q(6,alb,1,1,"mat-divider",28);Q(7,blb,2,1,"mat-slide-toggle",29);Q(8,clb,2,4,"mat-slide-toggle",30);H()}a&2&&(a=N(),z(1),F("disabled",a.isSaveButtonDisabled),z(2),F("disabled",a.disabled),z(2),F("ngIf",a.showDeleteButton),z(1),F("ngIf",a.showDeleteButton&&a.showRequiredToggle),
z(1),F("ngIf",a.showRequiredToggle),z(1),F("ngIf",a.showInheritedToggle))},elb=function(a){a&1&&(G(0,"h3"),R(1),H());a&2&&(a=N(2),z(1),zf(" Edit Custom Field ",a.editableField.customFieldId," "))},flb=function(a){a&1&&(G(0,"h3"),R(1," Create Custom Field "),H())},glb=function(a){a&1&&(G(0,"div",40),R(1),H());a&2&&(a=N(2),z(1),zf(" ",a.serverError," "))},ilb=function(a,b){a&1&&(G(0,"button",41),R(1),S(2,"enumToHuman"),H());if(a&2){a=b.$implicit;N();var c=yf(32);F("matMenuTriggerFor",c)("matMenuTriggerData",
Ff(5,hlb,a));z(1);zf(" ",T(2,3,a)," ")}},jlb=function(a,b){if(a&1){var c=v();G(0,"button",43);M("click",function(){var d=w(c).$implicit,e=N().type,g=N(2);return y(g.setType(e,"Multiple"===d))});R(1);H()}a&2&&(a=b.$implicit,z(1),zf(" ",a," "))},klb=function(a){a&1&&Q(0,jlb,2,1,"button",42);a&2&&(a=N(2),F("ngForOf",a.secondaryTypes))},mlb=function(a){if(a&1){var b=v();G(0,"td",7)(1,"label",44);R(2," Allowed Values: ");H();G(3,"b-list-field",45);M("valuesChange",function(c){w(b);var d=N(2);return y(llb(d,
c.values))});H()()}a&2&&(a=N(2),z(3),F("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},nlb=function(a){a&1&&(G(0,"label",46),R(1," Default Value: "),H())},qlb=function(a,b){if(a&1){var c=v();G(0,"b-edit-field",47);M("valueChange",function(d){w(c);var e=N(2);olb(e,d);return y()});H()}a&2&&(a=b.ngIf,b=N(2),F("name","Default")("type",a)("tooltip",
"Set default value")("value",plb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},rlb=function(a){a&1&&(G(0,"label",48),R(1," Default Values: "),H())},slb=function(a,b){if(a&1){var c=v();G(0,"b-list-field",49);M("valuesChange",function(d){w(c);var e=N(2);olb(e,d.values);return y()});H()}a&2&&(a=b.ngIf,b=N(2),F("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",
!0)("listFieldDisabled",b.isSaving)("truncate",!0))},tlb=function(a,b){if(a&1){var c=v();G(0,"button",50);M("click",function(){var d=w(c).$implicit,e=N(2);return y(e.setFieldSignificance(d))});R(1);S(2,"enumToHuman");H()}a&2&&(a=b.$implicit,z(1),zf(" ",T(2,1,a)," "))},ulb=function(a){if(a&1){var b=v();G(0,"div",4);Q(1,elb,2,1,"h3",3);Q(2,flb,2,0,"h3",3);Q(3,glb,2,1,"div",5);G(4,"form",6)(5,"div",7)(6,"label",8);R(7,"Name:");H();G(8,"input",9);M("ngModelChange",function(h){w(b);var l=N();return y(l.editableField.name=
h)});H()();G(9,"div",7)(10,"label",10);R(11,"Description:");H();G(12,"textarea",11);M("ngModelChange",function(h){w(b);var l=N();return y(l.editableField.description=h)});H()();G(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);R(18," Type: ");H();G(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);R(23," You can only choose type of field when creating a new custom field. You won't be able to edit it after the custom field is created. ");H()()()();G(24,"button",18);R(25);S(26,
"enumToHuman");I(27,"b-icon",19);H();G(28,"mat-menu",null,20);Q(30,ilb,3,7,"button",21);H();G(31,"mat-menu",null,22);Q(33,klb,1,1,"ng-template",23);H()();Q(34,mlb,4,7,"td",24);G(35,"td",7);Q(36,nlb,2,0,"label",25);Q(37,qlb,1,9,"b-edit-field",26);Q(38,rlb,2,0,"label",27);Q(39,slb,1,8,"b-list-field",28);H();G(40,"td",7)(41,"label",29);R(42," Required: ");H();G(43,"b-edit-field",30);M("valueChange",function(h){w(b);var l=N();return y(l.editableField.required=!!h)});H()();G(44,"td",7)(45,"div",13)(46,
"label",31);R(47," Field Significance: ");H();G(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);R(52," This affects whether users will receive notifications when changes are made to this field. ");I(53,"br");R(54," See\u00a0 ");G(55,"a",34);R(56,"Email Settings ");H()()()()();G(57,"button",35);R(58);S(59,"enumToHuman");I(60,"b-icon",19);H();G(61,"mat-menu",null,36);Q(63,tlb,3,3,"button",37);H()()()();G(64,"button",38);M("click",function(){w(b);var h=N();return y(h.save())});R(65," Save ");
H();G(66,"button",39);M("click",function(){w(b);var h=N();return y(h.cancel())});R(67," Cancel ");H()()()}if(a&2){var c=yf(20),d=yf(29),e=yf(49),g=yf(62);a=N();z(1);F("ngIf",!!a.editableField.customFieldId);z(1);F("ngIf",!a.editableField.customFieldId);z(1);F("ngIf",a.serverError);z(5);F("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);z(4);F("ngModel",a.editableField.description)("disabled",a.isSaving);z(5);F("onedevHovercardTrigger",c);z(7);F("matMenuTriggerFor",
d)("disabled",!!a.editableField.customFieldId);z(1);zf(" ",T(26,28,a.editableField.type)," ");z(5);F("ngForOf",a.typeChoices);z(4);F("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));z(2);F("ngIf",!a.editableField.isRepeated());z(1);F("ngIf",a.getSingleEditFieldType(a.editableField));z(1);F("ngIf",a.editableField.isRepeated());z(1);F("ngIf",a.getListFieldType(a.editableField));z(4);F("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",a.editableField.required);
z(3);F("onedevHovercardTrigger",e);z(9);F("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Id);z(2);F("matMenuTriggerFor",g);z(1);zf(" ",T(59,30,a.editableField.fieldSignificance)," ");z(5);F("ngForOf",a.significanceChoices);z(1);F("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},vlb=function(a){a&1&&(G(0,"div",51),I(1,"b-spinner",52),H());a&2&&(z(1),F("large",!0))},wlb=function(a){a&1&&(G(0,"th"),R(1,"Actions"),H())},ylb=function(a){if(a&1){var b=v();G(0,"td",
59)(1,"button",60);M("click",function(){w(b);var c=N().index,d=N(2);return y(d.editField(c))});R(2,"Edit");H();G(3,"button",60);M("click",function(){w(b);var c=N().index,d=N(2);return y(xlb(d,c))});R(4,"Delete");H()()}},zlb=function(a,b){a&1&&(G(0,"tr",56)(1,"td"),R(2),H(),G(3,"td"),R(4),H(),G(5,"td"),R(6),S(7,"enumToHuman"),H(),G(8,"td"),R(9),H(),G(10,"td"),R(11),S(12,"yesNo"),H(),G(13,"td"),I(14,"b-custom-field-value-display",57),H(),G(15,"td"),R(16),S(17,"arrayToHuman"),H(),G(18,"td"),R(19),S(20,
"enumToHuman"),H(),Q(21,ylb,5,0,"td",58),H());a&2&&(a=b.$implicit,b=N(2),F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),z(2),Af(a.name),z(2),Af(a.customFieldId),z(2),Af(T(7,10,a.type)),z(3),Af(a.description),z(2),Af(T(12,12,a.required)),z(3),F("customFieldValue",a.typedDefaultValue),z(2),Af(T(17,14,a.allowedValue)),z(3),Af(T(20,16,a.fieldSignificance)),z(2),F("ngIf",b.editMode))},Alb=function(a){a&1&&(G(0,"tr")(1,"td",61),R(2," There are no custom fields defined on this component. "),
H()())},Blb=function(a){a&1&&(G(0,"tr")(1,"td",62)(2,"strong"),R(3,"Fields inherited from parent components"),H()()())},Clb=function(a){a&1&&(J(0),I(1,"b-component-card",69,70),L());if(a&2){var b=yf(2);a=N().$implicit;z(1);F("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},Elb=function(a){if(a&1){var b=v();G(0,"b-field-state-menu",71,72);M("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);F("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",Dlb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);bf("aria-label",c.msgFieldStateTip)}},Flb=function(a,b){if(a&1){var c=v();G(0,"tr",56)(1,"td");R(2);H();G(3,"td");R(4);H();G(5,"td");R(6);S(7,"enumToHuman");H();G(8,"td");R(9);H();G(10,"td");R(11);S(12,"yesNo");H();G(13,"td");I(14,"b-custom-field-value-display",57);H();G(15,"td");R(16);S(17,"arrayToHuman");H();G(18,"td");
R(19);S(20,"enumToHuman");H();G(21,"td",59)(22,"div",63)(23,"div",64);R(24,"Inherited From");H();G(25,"a",65);M("click",function(){w(c);var e=N(3);return y(e.trackClick("parentCustomFields"))});R(26);H();G(27,"onedev-hovercard",null,66);Q(29,Clb,3,2,"ng-container",67);H()();Q(30,Elb,2,6,"b-field-state-menu",68);H()()}if(a&2){a=b.$implicit;var d=yf(28);b=N(3);F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");z(2);Af(a.name);z(2);Af(a.customFieldId);z(2);Af(T(7,13,a.type));z(3);Af(a.description);
z(2);Af(T(12,15,a.required));z(3);F("customFieldValue",a.typedDefaultValue);z(2);Af(T(17,17,a.allowedValue));z(3);Af(T(20,19,a.fieldSignificance));z(6);F("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),Id);z(1);zf(" ",b.componentIdsToNames[a.componentId]," ");z(4);F("ngIf",b.editMode)}},Glb=function(a){a&1&&(J(0),Q(1,Flb,31,21,"tr",54),L());a&2&&(a=N(2),z(1),F("ngForOf",a.inheritedCustomFields))},Hlb=function(a){a&1&&(G(0,"tfoot")(1,"tr")(2,"td",62),R(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
G(4,"a",73),R(5,"Field Ordering"),H(),R(6," tab."),I(7,"br"),R(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),H()()())},Ilb=function(a){if(a&1){var b=v();G(0,"div",74)(1,"button",75);M("click",function(){w(b);var c=N(2);c.editableField=new Vh;c.originalEditableFieldValue=Lh(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return y()});R(2," Add a Custom Field ");H()()}},Jlb=function(a){a&1&&(G(0,"div")(1,"table",
53)(2,"tr")(3,"th"),R(4,"Name"),H(),G(5,"th"),R(6,"ID"),H(),G(7,"th"),R(8,"Type"),H(),G(9,"th"),R(10,"Description"),H(),G(11,"th"),R(12,"Required?"),H(),G(13,"th"),R(14,"Default Value"),H(),G(15,"th"),R(16,"Allowed Values"),H(),G(17,"th"),R(18,"Field Significance"),H(),Q(19,wlb,2,0,"th",3),H(),Q(20,zlb,22,18,"tr",54),Q(21,Alb,3,0,"tr",3),Q(22,Blb,4,0,"tr",3),Q(23,Glb,2,1,"ng-container",3),Q(24,Hlb,9,0,"tfoot",3),H(),Q(25,Ilb,3,0,"div",55),H());a&2&&(a=N(),z(19),F("ngIf",a.editMode),z(1),F("ngForOf",
a.customFields),z(1),F("ngIf",!a.customFields.length),z(1),F("ngIf",a.inheritedCustomFields.length),z(1),F("ngIf",a.inheritedCustomFields.length),z(1),F("ngIf",a.customFields.length),z(1),F("ngIf",a.editMode))},Klb=function(a){if(a&1){var b=v();G(0,"button",18);M("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,bf("aria-label","Delete row "+a.label))},Llb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10);I(2,"mat-icon",
11);G(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);M("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()()();G(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);M("change",function(g){var h=w(c).index,l=N();return y(l.valueChange(g,h))});H()()();Q(11,Klb,2,1,"button",17);H()()}if(a&2){a=b.$implicit;var d=yf(6),e=yf(10);b=N();z(4);F("appearance",d.focused||e.focused?"standard":"none");z(1);mf("muted",b.disabled);F("value",
a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);z(3);F("appearance",d.focused||e.focused?"standard":"none");z(1);mf("muted",b.disabled);F("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled);z(2);F("ngIf",!b.disabled)}},Mlb=function(a){if(a&1){var b=v();G(0,"button",20);M("click",function(){w(b);var c=N();return y(c.addRow.emit())});R(1," Add row\n");H()}},Nlb=function(a){a&1&&rf(0)},Olb=function(a){a&1&&(J(0),Q(1,Nlb,1,0,"ng-container",
5),L());if(a&2){N();var b=yf(7);z(1);F("ngTemplateOutlet",b)}},Plb=function(a){if(a&1){var b=v();J(0);G(1,"b-numeric-config",6);M("valueChange",function(c){w(b);var d=N();return y(d.numericSpecMultiplier=c)});H();L()}a&2&&(a=N(),z(1),F("disabled",a.disabled)("value",a.numericSpecMultiplier))},Qlb=function(a){a&1&&rf(0)},Rlb=function(a){if(a&1){var b=v();G(0,"div",7)(1,"label",8);R(2,"Aggregation Rule");H();G(3,"a",9);I(4,"mat-icon",10);H();I(5,"br");G(6,"mat-form-field",11)(7,"mat-select",12);M("valueChange",
function(c){w(b);var d=N();return y(d.selectedAggregationRule=c)});G(8,"mat-select-trigger");R(9);S(10,"aggregationRuleText");H();G(11,"mat-option",13)(12,"div",14);R(13);S(14,"aggregationRuleText");H();G(15,"div",15);R(16,"All parents and children are added to the total");H()();G(17,"mat-option",13)(18,"div",14);R(19);S(20,"aggregationRuleText");H();G(21,"div",15);R(22,"Take the assigned estimate if larger than total of all immediate children");H()()()()()}a&2&&(a=N(),z(7),F("value",a.selectedAggregationRule)("disabled",
a.disabled),z(2),zf(" ",T(10,7,a.selectedAggregationRule)," "),z(2),F("value",a.aggregationRules.SUM),z(2),Af(T(14,9,a.aggregationRules.SUM)),z(4),F("value",a.aggregationRules.MAX),z(2),Af(T(20,11,a.aggregationRules.MAX)))},Slb=function(a){if(a&1){var b=v();G(0,"b-config-grid",16);M("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(),F("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},Tlb=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},Ulb=function(a){if(a&1){var b=v();G(0,"div",6);R(1," Select a team from the suggestions below, or edit in ");G(2,"a",7);M("click",function(){w(b);var c=N();return y(c.trackClick("viewTeamAssociationOnComponent"))});R(3,"component settings");H();R(4,".\n");H()}a&2&&(a=N(),z(2),F("href",a.componentSetting,Id))},Vlb=function(a){a&1&&(G(0,"div",6),
R(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),G(2,"a",8),R(3,"component settings"),H(),R(4,".\n"),H());a&2&&(a=N(),z(2),F("href",a.componentSetting,Id))},Wlb=function(a){if(a&1){var b=v();G(0,"mat-radio-group",9);M("ngModelChange",function(c){w(b);var d=N();return y(d.teamAction=c)});G(1,"p")(2,"mat-radio-button",10);R(3," Don't make any changes ");H()();G(4,"p")(5,"mat-radio-button",11);R(6," Map component to selected team ");
H()()()}a&2&&(a=N(),F("ngModel",a.teamAction))},Xlb=function(a){a&1&&(J(0),G(1,"span",19),R(2),H(),L());a&2&&(a=N().$implicit,z(2),Af(a.teamPath))},Ylb=function(a){a&1&&R(0," -- ")},Zlb=function(a,b){a&1&&(Q(0,Xlb,3,1,"ng-container",17),Q(1,Ylb,1,0,"ng-template",null,18,Vf));if(a&2){a=b.$implicit;var c=yf(2);F("ngIf",a)("ngIfElse",c)}},$lb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"onedev-single-select",13);M("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();Q(2,Zlb,3,2,"ng-template",null,14,Vf);G(4,"a",15);M("click",function(){w(b);var d=N();return y(d.trackClick("viewTeamInMoma"))});I(5,"mat-icon",16);H()()}if(a&2){var c=yf(3);a=N();z(1);F("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);z(3);bf("href",a.getMomaTeamLink(),Id)}},amb=function(a){if(a&1){var b=v();G(0,"b-callout-actions")(1,"b-button",2);M("click",
function(){w(b);var c=N();return y(c.openDialog())});R(2);H()()}a&2&&(a=N(),z(2),Af(a.buttonName))},bmb=function(a){a&1&&(G(0,"div",8),I(1,"b-team-warning",9),H());a&2&&(a=N().ngIf,z(1),F("warningType",a)("messageOnly",!0))},cmb=function(a,b){a&1&&(J(0),Q(1,bmb,2,2,"div",7),L());a&2&&(a=b.ngIf,b=N(),z(1),F("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},dmb=function(a){if(a&1){var b=v();G(0,"div",10)(1,"mat-checkbox",11);M("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()});R(2," Override the inherited team ");H()()}a&2&&(a=N(),z(1),F("disabled",!a.isAdmin)("checked",!a.inherit))},fmb=function(a){if(a&1){var b=v();G(0,"a",13);M("click",function(){w(b);N(2);Lm(Gn.MANAGE_COMPONENT,"navigate","to-internal-team-page");return y()});I(1,"mat-icon",14);H()}a&2&&(a=N(2),F("routerLink",emb(a)?"/teams/"+a.model.id+"/edit":
null)("target",a.anchorTarget))},gmb=function(a){a&1&&(J(0),Q(1,fmb,2,2,"a",12),L());a&2&&(a=N(),z(1),F("ngIf",emb(a)))},hmb=function(a){if(a&1){var b=v();G(0,"a",16);M("click",function(){w(b);var c=N(2);Lm(Gn.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return y()});I(1,"mat-icon",14);H()}a&2&&(a=N(2),bf("href",a.getMomaTeamLink(),Id))},imb=function(a){a&1&&Q(0,hmb,2,1,"a",15);a&2&&(a=N(),F("ngIf",emb(a)))},lmb=function(a,b){if(a&1){var c=v();G(0,"li",11);M("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);G(2,"span");R(3);H();G(4,"div",13)(5,"button",14);M("click",function(){var e=w(c).index,g=N();return y(jmb(g,e))});I(6,"mat-icon",15);H();G(7,"button",16);M("click",function(){var e=w(c).index,g=N();return y(kmb(g,e))});I(8,"mat-icon",17);H()()()}if(a&2){a=b.$implicit;b=b.index;var d=N();bf("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);z(3);Af(a.name);z(2);
mf("invisible",0===b);z(2);mf("invisible",b===d.fields.length-1)}},mmb=function(a){a&1&&(G(0,"th",14),R(1," Order"),H())},nmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.index,z(1),zf(" ",a+1," "))},omb=function(a){a&1&&(G(0,"th",14),R(1," Name"),H())},pmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.name," "))},qmb=function(a){a&1&&(G(0,"th",14),R(1," Type"),H())},rmb=function(a,b){a&1&&(G(0,"td",15),R(1),S(2,"toCustomFieldTypeDisplayValue"),H());a&2&&(a=
b.$implicit,z(1),zf(" ",T(2,1,a.type)," "))},smb=function(a){a&1&&(G(0,"th",14),R(1," Required"),H())},tmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.required?"Yes":"No"," "))},umb=function(a){a&1&&(G(0,"th",14),R(1," ID"),H())},vmb=function(a,b){a&1&&(G(0,"td",15),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.customFieldId," "))},wmb=function(a){a&1&&I(0,"tr",16)},xmb=function(a){a&1&&I(0,"tr",17)},ymb=function(a){a&1&&(G(0,"div",18),R(1," There are no custom fields defined on this component. "),
H())},Bmb=function(a){if(a&1){var b=v();G(0,"div",19)(1,"div")(2,"button",20);M("click",function(){w(b);var c=N();return y(zmb(c))});R(3," Reorder fields ");H();G(4,"button",20);M("click",function(){w(b);var c=N();return y(Amb(c))});R(5," Reset ordering ");H()()()}a&2&&(a=N(),z(2),F("disabled",0===a.fields.length),z(2),F("disabled","CUSTOMIZED"!==a.fieldOrdering))},Cmb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(),z(1),a=a.lineNumbers.length,zf(" (",a+(1==a?" TODO":" TODOs"),") "))},Emb=function(a,
b){if(a&1){var c=v();G(0,"li",5)(1,"a",6);M("click",function(){w(c);var d=N(2);return y(d.trackClick("lineNumber"))});R(2);H()()}a&2&&(a=b.$implicit,b=N(2),z(1),F("href",Dmb(b,a),Id),z(1),Af(a))},Fmb=function(a){a&1&&(G(0,"span"),R(1," ("),G(2,"ul",3),Q(3,Emb,3,2,"li",4),H(),R(4,") "),H());a&2&&(a=N(),z(3),F("ngForOf",a.lineNumbers))},Gmb=function(a){a&1&&I(0,"div",2)},Hmb=function(a){a&1&&(J(0),uf(1),L())},Imb=function(a){a&1&&(fd(),G(0,"svg",1),I(1,"path",2),H());a&2&&(a=N(),F("matTooltip",a.warning))},
Jmb=function(a){a&1&&rf(0)},Mmb=function(a){if(a&1){var b=v();G(0,"div",1);M("keydown",function(c){w(b);var d=N();return y(d.processKeydown(c))});G(1,"div",2);Q(2,Jmb,1,0,"ng-container",3);H();G(3,"div",4)(4,"button",5);M("click",function(){w(b);var c=N();return y(Kmb(c))});R(5,"Save");H();G(6,"button",6);M("click",function(){w(b);var c=N();return y(Lmb(c))});R(7,"Cancel");H()()()}a&2&&(a=N(),F("cdkTrapFocusAutoCapture",!0),z(2),F("ngTemplateOutlet",a.editorTemplate))},Nmb=function(a){a&1&&rf(0)},
Pmb=function(a){a&1&&(J(0),Q(1,Nmb,1,0,"ng-container",8),L());a&2&&(a=N(),z(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ff(2,Omb,a.value)))},Qmb=function(a){a&1&&R(0);a&2&&(a=N(),Af(null!=a.value?a.value:"--"))},Rmb=function(a){a&1&&(fd(),G(0,"svg",9),I(1,"path",10),H())},Smb=function(a){if(a&1){var b=v();G(0,"input",11);M("ngModelChange",function(c){w(b);var d=N();return y(d.editingValue=c)});H()}a&2&&(a=N(),F("ngModel",a.editingValue))},Tmb=function(a){return null!=a?Number(a):
void 0},Umb=function(a){a&1&&I(0,"mat-icon",12);if(a&2){N();var b=yf(5);F("onedevHovercardTrigger",b)}},Vmb=function(a){if(a&1){var b=v();J(0);G(1,"onedev-numeric-field",13);M("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();L()}if(a&2){a=N(2);var c=yf(2);z(1);F("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},Wmb=function(a){a&
1&&(J(0),R(1),L());a&2&&(a=N().$implicit,z(1),zf(" ",a.label," "))},Xmb=function(a){a&1&&R(0," -- ")},Ymb=function(a,b){a&1&&(Q(0,Wmb,2,1,"ng-container",16),Q(1,Xmb,1,0,"ng-template",null,17,Vf));if(a&2){a=b.$implicit;var c=yf(2);F("ngIf",a)("ngIfElse",c)}},$mb=function(a){if(a&1){var b=v();J(0);G(1,"onedev-single-select",14);M("valueChange",function(e){w(b);var g=N(2);return y(g.selectOption(e))});H();Q(2,Ymb,3,2,"ng-template",null,15,Vf);L()}if(a&2){var c=yf(3);a=N(2);var d;z(1);F("value",a.selectedOption)("options",
null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:Ef(6,Zmb))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},anb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N(2),z(1),zf(" ",null==a.effort?null:a.effort.estimate," "))},bnb=function(a){a&1&&(G(0,"onedev-edit-field")(1,"onedev-field-label",2),R(2),Q(3,Umb,1,1,"mat-icon",3),H(),G(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),R(8," This estimate was made under a different configuration and needs to be updated. "),
G(9,"a",7),R(10,"Learn more"),H()()()(),G(11,"onedev-field-value",8),J(12,9),Q(13,Vmb,2,4,"ng-container",10),Q(14,$mb,4,7,"ng-container",10),Q(15,anb,2,1,"ng-container",11),L(),H()());a&2&&(a=N(),z(1),F("thinking",a.thinking),z(1),zf(" ",a.fieldName," "),z(1),F("ngIf",!a.isCompatibleValue),z(8),F("thinking",a.thinking),z(1),F("ngSwitch",a.fieldType),z(1),F("ngSwitchCase","NUMERIC"),z(1),F("ngSwitchCase","DROPDOWN"))},cnb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N(2),z(1),zf(" ",null==a.effort?null:
a.effort.estimate," "))},dnb=function(a){a&1&&R(0);a&2&&(a=N().$implicit,zf(" ",null!=a?a:"--"," "))},enb=function(a,b){a&1&&(Q(0,cnb,2,1,"ng-container",16),Q(1,dnb,1,1,"ng-template",null,18,Vf));if(a&2){a=b.$implicit;var c=yf(2);b=N();F("ngIf",b.isNaN(a))("ngIfElse",c)}},fnb=function(a){a&1&&I(0,"mat-icon",13)},gnb=function(a){a&1&&I(0,"mat-icon",14)},hnb=function(a){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=N(2),z(1),F("timestamp",a.sloStartTime))},inb=function(a){a&1&&(G(0,
"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=N(2),z(1),F("timestamp",a.issueCreationTimestamp/1E3))},jnb=function(a){if(a&1){var b=v();G(0,"slo-edit-date-time-picker",24);M("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),F("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},knb=function(a){if(a&1){var b=v();G(0,"div",15);R(1," Start Date: ");G(2,"div",
16)(3,"a",17,18);M("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()});Q(5,hnb,2,1,"span",19);Q(6,inb,2,1,"span",19);H();G(7,"a",20);I(8,"mat-icon",21);H();Q(9,jnb,1,2,"ng-template",22);H()()}if(a&2){var c=yf(4);
a=N();z(5);F("ngIf",a.sloStartTime);z(1);F("ngIf",!a.sloStartTime);z(3);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloStartEditTimePickerOpen)}},lnb=function(a){a&1&&(G(0,"span"),R(1," Set closure SLO "),H())},mnb=function(a){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=N(2),z(1),F("timestamp",a.sloEndTime))},nnb=function(a){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",23),H());a&2&&(a=N(2),z(1),F("timestamp",1E3*a.closureSloTarget))},onb=function(a){if(a&1){var b=
v();G(0,"slo-edit-date-time-picker",24);M("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),F("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},pnb=function(a){if(a&1){var b=v();G(0,"div",25);R(1," End date: ");G(2,"div",16)(3,"a",26,18);M("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()});Q(5,lnb,2,0,"span",19);Q(6,mnb,2,1,"span",19);Q(7,nnb,2,1,"span",19);H();G(8,"a",20);I(9,"mat-icon",21);H();Q(10,onb,1,2,"ng-template",22);H()()}if(a&2){var c=yf(4);a=N();z(5);F("ngIf",!a.hasClosureSlo);z(1);F("ngIf",a.hasClosureSlo&&a.sloEndTime);z(1);F("ngIf",a.hasClosureSlo&&!a.sloEndTime);z(3);F("cdkConnectedOverlayOrigin",
c)("cdkConnectedOverlayOpen",a.isSloEndEditTimePickerOpen)}},qnb=function(a,b){if(a&1){var c=v();G(0,"a",29);M("click",function(){w(c);var d=N(2);return y(d.trackOpenSlo())});R(1);H()}a&2&&(a=b.ngIf,b=N(2),bf("href",b.editSloLink,Id),z(1),zf(" ",a.name," "))},rnb=function(a){a&1&&(G(0,"div",27),R(1," SLO definition: "),Q(2,qnb,2,2,"a",28),S(3,"async"),H());a&2&&(a=N(),z(2),F("ngIf",T(3,1,a.slo$)))},snb=function(a){if(a&1){var b=v();G(0,"div",27)(1,"a",30);M("click",function(){w(b);N();Lm(Gn.MANAGE_COMPONENT,
"open","fromIssueSloBox");return y()});R(2,"Select an SLO");H()()}a&2&&(a=N(),z(1),bf("href",a.componentSloLink,Id))},tnb=function(a){a&1&&(G(0,"a",10),R(1," Create Component "),H());a&2&&(a=N(),F("href",a.createComponentPath,Id))},unb=function(a){if(a&1){var b=v();G(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);M("selectedComponentChange",function(d){w(b);var e=N();return y(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});S(3,"async");H()()()}if(a&
2){a=N();var c;z(2);F("includeArchived",null!==(c=T(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},wnb=function(a){if(a&1){var b=v();G(0,"div",13)(1,"b-slide-toggle",14);M("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&&vnb(e,d,(0,E.firstValueFrom)(e.topLevelComponents$));return y()});S(2,"async");H()()}if(a&2){a=N();var c;z(1);F("model",null!==(c=T(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},xnb=function(a){a&1&&(G(0,"div",15),I(1,"b-spinner",16),H())},ynb=function(a){a&1&&(G(0,"p",3),R(1),H());a&2&&(a=N(),z(1),Af(a.packageMentionSet.packageName))},znb=function(a,b){a&1&&(G(0,"li"),I(1,"b-file-mention",4),H());a&2&&(a=b.$implicit,
b=N(),z(1),F("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},Anb=function(a){a&1&&(G(0,"span",6),R(1," Select at least one tracker "),H())},Bnb=function(a,b){if(a&1){var c=v();G(0,"div",7)(1,"mat-checkbox",8);M("change",function(d){var e=w(c).$implicit,g=N();return y(g.trackerCheckboxValues[e.trackerId]=d.checked)});R(2);H()()}a&2&&(a=b.$implicit,b=N(),z(1),F("checked",b.trackerCheckboxValues[a.trackerId]||
!1),z(1),zf(" ",a.name," "))},Cnb=function(a){a&1&&(I(0,"b-tracker-search",6),S(1,"async"),S(2,"async"));a&2&&(a=N(),F("currentTrackerId",T(1,2,a.currentTracker.trackerId$))("availableTrackers",T(2,4,a.currentTracker.availableTrackers$)))},Dnb=function(a){a&1&&(G(0,"div",7),I(1,"b-spinner"),G(2,"span"),R(3,"Initializing query builder..."),H()())},Enb=function(a){a&1&&(G(0,"div",10),I(1,"mat-icon",11),G(2,"p"),R(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),
H()())},Fnb=function(a){a&1&&(G(0,"div"),R(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),H())},Gnb=function(a){a&1&&(G(0,"div",8),Q(1,Enb,4,0,"div",9),Q(2,Fnb,2,0,"div",5),H());a&2&&(a=N(),z(1),F("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),z(1),F("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},
Hnb=function(a){a&1&&(G(0,"div",8),R(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),H())},Inb=function(a){a&1&&I(0,"b-tracker-account-menu-hack")},Jnb=function(a){a&1&&(G(0,"span"),R(1),I(2,"span",16),H());a&2&&(a=N(2).$implicit,z(1),zf(" ",a.diff.oldValue," "))},Knb=function(a){a&1&&(G(0,"span")(1,"label"),R(2),H(),Q(3,Jnb,3,1,"span",15),R(4),H());a&2&&(a=N().$implicit,z(2),zf("",a.fieldName,":"),z(1),F("ngIf",a.diff.oldValue),
z(1),zf(" ",a.diff.newValue," "))},Lnb=function(a,b){a&1&&(G(0,"div")(1,"label"),R(2),H(),R(3),H());a&2&&(a=b.$implicit,b=N(3).$implicit,z(2),zf("-",b.fieldName,":"),z(1),zf(" ",a," "))},Mnb=function(a){a&1&&(J(0),Q(1,Lnb,4,2,"div",17),L());a&2&&(a=N(2).$implicit,z(1),F("ngForOf",a.diff.removed))},Nnb=function(a,b){a&1&&(G(0,"div")(1,"label"),R(2),H(),R(3),H());a&2&&(a=b.$implicit,b=N(3).$implicit,z(2),zf("+",b.fieldName,":"),z(1),zf(" ",a," "))},Onb=function(a){a&1&&(J(0),Q(1,Nnb,4,2,"div",17),L());
a&2&&(a=N(2).$implicit,z(1),F("ngForOf",a.diff.added))},Pnb=function(a){a&1&&(G(0,"div"),Q(1,Mnb,2,1,"ng-container",15),Q(2,Onb,2,1,"ng-container",15),H());a&2&&(a=N().$implicit,z(1),F("ngIf",a.diff.removed),z(1),F("ngIf",a.diff.added))},Qnb=function(a,b){a&1&&(G(0,"div",14),Q(1,Knb,5,3,"span",15),Q(2,Pnb,3,2,"div",15),H());a&2&&(a=b.$implicit,z(1),F("ngIf","SINGLE_VALUE"==a.diffType),z(1),F("ngIf","COLLECTION"==a.diffType))},Rnb=function(a,b){a&1&&(G(0,"li",5)(1,"div",6),I(2,"b-user-image",7),H(),
G(3,"div",8)(4,"h4"),I(5,"b-user-display-name",9),G(6,"span",10),I(7,"b-formatted-date-time",11),H()(),G(8,"div",12),Q(9,Qnb,3,2,"div",13),H()()());a&2&&(a=b.$implicit,b=N(),z(2),F("email",b.userToDisplay(a.author)),z(3),F("email",b.userToDisplay(a.author)),z(2),F("timestamp",a.timestamp),z(2),F("ngForOf",a.diffs))},Snb=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"}},Tnb=function(a,b){a&1&&(G(0,"mat-option",3),R(1),I(2,"br"),G(3,"span",4),R(4),H()());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",a.title,""),z(3),Af(a.description))},Unb=function(a,b){a&1&&(J(0),rf(1,5),L());if(a&2){a=b.$implicit;N();var c=yf(2);z(1);
F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ff(2,Jr,a))}},Vnb=function(a){a&1&&(J(0),rf(1,5),L());if(a&2){a=N().question;N();var b=yf(4);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(2,Jr,a))}},Wnb=function(a){a&1&&(J(0),rf(1,5),L());if(a&2){a=N().question;N();var b=yf(6);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(2,Jr,a))}},Xnb=function(a){a&1&&(J(0),rf(1,5),L());if(a&2){a=N().question;N();var b=yf(8);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(2,Jr,
a))}},Ynb=function(a,b){a&1&&(J(0,6),Q(1,Vnb,2,4,"ng-container",7),Q(2,Wnb,2,4,"ng-container",7),Q(3,Xnb,2,4,"ng-container",7),L());a&2&&(a=b.question,b=N(),F("ngSwitch",a.type),z(1),F("ngSwitchCase",b.CustomQuestionType.INPUT),z(1),F("ngSwitchCase",b.CustomQuestionType.TEXT),z(1),F("ngSwitchCase",b.CustomQuestionType.SELECT))},Znb=function(a,b){if(a&1){var c=v();I(0,"h4",8);G(1,"mat-form-field",9)(2,"input",10);M("ngModelChange",function(d){var e=w(c).question;return y(e.response=d)});H()()}a&2&&
(a=b.question,F("innerHtml",a.question,Hd),z(2),F("ngModel",a.response),bf("aria-label",a.question))},$nb=function(a,b){if(a&1){var c=v();I(0,"h4",8);G(1,"mat-form-field",11)(2,"textarea",10);M("ngModelChange",function(d){var e=w(c).question;return y(e.response=d)});R(3,"    ");H()()}a&2&&(a=b.question,F("innerHtml",a.question,Hd),z(2),F("ngModel",a.response),bf("aria-label",a.question))},bob=function(a,b){a&1&&(G(0,"mat-option",15),R(1),H());a&2&&(a=b.$implicit,N(2),F("value",a),z(1),zf(" ",aob(a)?
a.text:a," "))},cob=function(a){a&1&&rf(0,5);if(a&2){a=N().question;N();var b=yf(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(2,Jr,a.response.child))}},eob=function(a,b){if(a&1){var c=v();I(0,"h4",8);G(1,"mat-form-field",9)(2,"mat-select",12);M("valueChange",function(d){var e=w(c).question,g=N();e.response=d;return y(dob(g))});Q(3,bob,2,2,"mat-option",13);H()();Q(4,cob,1,4,"ng-container",14)}a&2&&(a=b.question,N(),F("innerHtml",a.question,Hd),z(2),F("value",a.response),z(1),F("ngForOf",
a.options),z(1),F("ngIf",aob(a.response)))},fob=function(a){a&1&&uf(0)},gob=function(a){a&1&&rf(0,8);a&2&&(a=N(),F("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},hob=function(a){a&1&&(G(0,"span",13),R(1),H());a&2&&(a=N(2),z(1),Af(a._getDefaultTextForState(a.state)))},iob=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=N(2),z(1),Af(a._intl.completedLabel))},job=function(a){a&1&&(G(0,"span",14),R(1),H());a&2&&(a=N(2),z(1),Af(a._intl.editableLabel))},
kob=function(a){a&1&&(G(0,"mat-icon",13),R(1),H());a&2&&(a=N(2),z(1),Af(a._getDefaultTextForState(a.state)))},lob=function(a){a&1&&(J(0,9),Q(1,hob,2,1,"span",10),Q(2,iob,2,1,"span",11),Q(3,job,2,1,"span",11),Q(4,kob,2,1,"mat-icon",12),L());a&2&&(a=N(),F("ngSwitch",a.state),z(1),F("ngSwitchCase","number"),z(1),F("ngIf","done"===a.state),z(1),F("ngIf","edit"===a.state))},mob=function(a){a&1&&(G(0,"div",15),rf(1,16),H());a&2&&(a=N(),z(1),F("ngTemplateOutlet",a._templateLabel().template))},nob=function(a){a&
1&&(G(0,"div",15),R(1),H());a&2&&(a=N(),z(1),Af(a.label))},oob=function(a){a&1&&(G(0,"div",17),R(1),H());a&2&&(a=N(),z(1),Af(a._intl.optionalLabel))},pob=function(a){a&1&&(G(0,"div",18),R(1),H());a&2&&(a=N(),z(1),Af(a.errorMessage))},qob=function(){},rob=function(a){a&1&&(uf(0),Q(1,qob,0,0,"ng-template",0));a&2&&(a=N(),z(1),F("cdkPortalOutlet",a._portal))},sob=function(a){a&1&&I(0,"div",11)},uob=function(a,b){a&1&&(J(0),rf(1,9),Q(2,sob,1,0,"div",10),L());if(a&2){a=b.$implicit;var c=b.index;b=b.last;
N(2);var d=yf(4);z(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Gf(3,tob,a,c));z(1);F("ngIf",!b)}},xob=function(a,b){if(a&1){var c=v();G(0,"div",12);M("@horizontalStepTransition.done",function(e){w(c);var g=N(2);return y(g._animationDone.next(e))});rf(1,13);H()}if(a&2){a=b.$implicit;b=b.index;var d=N(2);mf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);F("@horizontalStepTransition",Gf(8,vob,d._getAnimationDirection(b),Ff(6,wob,d._getAnimationDuration())))("id",d._getStepContentId(b));
bf("aria-labelledby",d._getStepLabelId(b));z(1);F("ngTemplateOutlet",a.content)}},yob=function(a){a&1&&(G(0,"div",4)(1,"div",5),Q(2,uob,3,6,"ng-container",6),H(),G(3,"div",7),Q(4,xob,2,11,"div",8),H()());a&2&&(a=N(),z(2),F("ngForOf",a.steps),z(2),F("ngForOf",a.steps))},zob=function(a,b){if(a&1){var c=v();G(0,"div",15);rf(1,9);G(2,"div",16)(3,"div",17);M("@verticalStepTransition.done",function(h){w(c);var l=N(2);return y(l._animationDone.next(h))});G(4,"div",18);rf(5,13);H()()()()}if(a&2){a=b.$implicit;
var d=b.index;b=b.last;var e=N(2),g=yf(4);z(1);F("ngTemplateOutlet",g)("ngTemplateOutletContext",Gf(10,tob,a,d));z(1);mf("mat-stepper-vertical-line",!b);z(1);mf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);F("@verticalStepTransition",Gf(15,vob,e._getAnimationDirection(d),Ff(13,wob,e._getAnimationDuration())))("id",e._getStepContentId(d));bf("aria-labelledby",e._getStepLabelId(d));z(2);F("ngTemplateOutlet",a.content)}},Aob=function(a){a&1&&(J(0),Q(1,zob,6,18,"div",14),L());a&2&&(a=
N(),z(1),F("ngForOf",a.steps))},Bob=function(a,b){if(a&1){var c=v();G(0,"mat-step-header",19);M("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();mf("mat-horizontal-stepper-header","horizontal"===d.orientation)("mat-vertical-stepper-header","vertical"===d.orientation);F("tabIndex",d._getFocusIndex()===b?0:-1)("id",d._getStepLabelId(b))("index",b)("state",d._getIndicatorType(b,a.state))("label",
a.stepLabel||a.label)("selected",d.selectedIndex===b)("active",d._stepIsNavigable(b,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",d._iconOverrides)("disableRipple",d.disableRipple||!d._stepIsNavigable(b,a))("color",a.color||d.color);bf("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)}},Dob=function(a){if(a&1){var b=v();J(0);G(1,"h4",2);R(2,"Which of the following best describes the issue that you are reporting?");H();G(3,"wizard-category-select",47);M("categoryChange",function(c){w(b);var d=N();return y(d.model.category=c)});H();G(4,"mat-card",48)(5,"mat-card-header");R(6," Avoid duplicate issue reports: ");H();G(7,"mat-card-content")(8,"mat-checkbox",49);M("ngModelChange",function(c){w(b);var d=N();return y(d.ackDupes=c)});R(9," By checking this box, I'm acknowledging that I have searched for ");
G(10,"a",50);R(11,"existing issues");H();R(12," that already report this problem. ");H()()();G(13,"div",32)(14,"button",35);R(15," Next ");I(16,"mat-icon",36);H()();L()}a&2&&(a=N(),z(3),F("persona",a.model.persona)("category",a.model.category),z(5),F("ngModel",a.ackDupes),z(6),F("disabled",!Cob(a,0)))},Eob=function(a){a&1&&(G(0,"div")(1,"h3"),R(2,"Prefer to file an issue manually?"),H(),G(3,"p"),R(4," It's usually best to work through this short wizard so that your issue is given the labels needed for the right team to see it. Otherwise it might take longer for your issue to be triaged and resolved. "),
H(),G(5,"p"),R(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),G(7,"a",51),R(8,"form"),H(),R(9,". "),H()());a&2&&(a=N(),z(7),F("href",a.paths.createIssue(),Id))},Fob=function(a){if(a&1){var b=v();G(0,"wizard-custom-questions",52);M("responses",function(c){w(b);var d=N();return y(d.model.customQuestionResponses=c)});H()}a&2&&(a=N(),F("category",a.model.category.value))},Gob=function(a){if(a&1){var b=v();G(0,"div",53)(1,"b-recaptcha",
54);M("onUpdate",function(c){w(b);var d=N();return y(d.recaptchaResponse=c)});H()()}},Hob=function(){},Iob=function(){},Job=function(){},Lob=function(a){return a.length?"# Custom Questions\n"+Kob(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},Kob=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,aob(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,Pc(Kob([c.response.child])))):
b.push(c);return b},Mob=function(a){a&1&&(J(0),R(1," > "),L())},Nob=function(a,b){a&1&&(J(0),G(1,"a",7),R(2),H(),Q(3,Mob,2,0,"ng-container",3),L());a&2&&(a=b.$implicit,b=b.last,z(1),ef("aria-label","View recent issues in ",a.name,""),F("routerLinkObj",a.route),z(1),Af(a.name),z(1),F("ngIf",!b))},Oob=function(a){a&1&&(G(0,"span"),R(1," [Archived]"),H())},Pob=function(a){a&1&&(G(0,"div",5),Q(1,Nob,4,4,"ng-container",6),S(2,"async"),Q(3,Oob,2,0,"span",3),S(4,"async"),H());a&2&&(a=N(),z(1),F("ngForOf",
T(2,2,a.componentPath$)),z(2),F("ngIf",T(4,4,a.isArchived$)))},Qob=function(a,b){a&1&&(J(0),G(1,"div",8),I(2,"mat-icon",9),G(3,"div",10),R(4),H()(),G(5,"p",11),R(6),H(),G(7,"p",10),R(8),H(),L());a&2&&(a=b.$implicit,z(4),Af(a.name),z(2),zf("Component ID: ",a.componentId,""),z(2),Af(a.description))},Rob=function(a,b){a&1&&(G(0,"div",12)(1,"a",13),R(2,"View recent open issues"),H(),G(3,"a",14),R(4,"View component settings"),H(),G(5,"a",15),R(6,"Create issue in this component"),H()());a&2&&(a=b.$implicit,
z(1),F("routerLinkObj",a.recentIssues),z(2),F("routerLinkObj",a.componentSettings),z(2),F("routerLinkObj",a.createIssue))},Sob=function(a){a&1&&(G(0,"a",15),R(1," Create Component "),H())},Tob=function(a){a&1&&(G(0,"p",19),R(1," None found. "),G(2,"a",20),R(3,"Learn More"),H()())},Uob=function(a){a&1&&(J(0),I(1,"b-component-path-card",31,32),L());if(a&2){var b=yf(2);a=N().$implicit;z(1);F("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},Vob=function(a,b){a&1&&(G(0,"li")(1,"a",21)(2,
"div",22)(3,"span",23),R(4),I(5,"b-access-level-indicator",24)(6,"b-tracker-chip-smart",25),H(),G(7,"p",26),R(8),H()(),G(9,"div",27)(10,"a",28),R(11," Edit "),H(),G(12,"a",28),R(13," Create Issue "),H()()(),G(14,"onedev-hovercard",null,29),Q(16,Uob,3,2,"ng-container",30),H()());if(a&2){a=b.$implicit;var c=yf(15);b=N(2);z(1);F("routerLinkObj",b.viewIssues(a.componentId));z(1);F("onedevHovercardTrigger",c);z(2);zf(" ",a.name||a.componentId," ");z(1);F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",
!0);z(1);F("trackerId",a.trackerId)("showHovercard",!1);z(2);Af(a.description);z(2);F("routerLinkObj",b.componentSettings(a.componentId));z(2);F("routerLinkObj",b.createIssue(a.componentId))}},Wob=function(a,b){a&1&&(J(0),Q(1,Tob,4,0,"p",16),G(2,"ol",17),Q(3,Vob,17,10,"li",18),H(),L());a&2&&(a=b.$implicit,z(1),F("ngIf",0===a.length),z(2),F("ngForOf",a))},Yob=function(a){a&1&&(G(0,"a",25),R(1," Learn more "),H());a&2&&(N(),F("href",Xob(),Id))},Zob=function(a){var b;return(null!=(b=a.getIssueDigestsList())?
b:[]).map(osa)},apb=function(a){var b=new Set,c=0;a=k(a.matchAll($ob));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(Pc(b))},bpb=function(a){a&1&&(G(0,"div"),I(1,"b-spinner"),G(2,"span"),R(3,"Loading..."),H()())},cpb=function(a){a&1&&(G(0,"div",2),Q(1,bpb,4,0,"div",3),H());if(a&2){a=N();var b=yf(2);z(1);F("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},dpb=function(a){a&1&&(G(0,"span",17)(1,"strong"),R(2),H(),R(3," of "),
G(4,"strong"),R(5),H()());a&2&&(a=N(4),z(2),Bf("",a.startIndex,"\u2013",a.endIndex,""),z(3),Af(a.totalText))},epb=function(a){if(a&1){var b=v();G(0,"div",11);Q(1,dpb,6,3,"span",12);G(2,"b-button",13);M("onAction",function(){w(b);var c=N(3);return y(c.fetchIssues(c.page-1))});I(3,"b-icon",14);H();G(4,"b-button",15);M("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),F("ngIf",!a.isRefreshing),z(1),F("disabled",1>=a.page),z(2),F("disabled",
a.page>=a.numPages))},fpb=function(a){if(a&1){var b=v();G(0,"button",18);M("click",function(){w(b);var c=N(3);return y(c.triggerSimilarIssuesSurvey())});I(1,"mat-icon",19);H()}},gpb=function(a){a&1&&(G(0,"li")(1,"h3"),R(2),H(),Q(3,epb,6,3,"div",9),Q(4,fpb,2,0,"button",10),H());a&2&&(a=N(2),z(2),Af(a.getHeader()),z(1),F("ngIf",!a.enableSimilarIssues),z(1),F("ngIf",a.showSuggestedDupes))},hpb=function(a){a&1&&(G(0,"div",20),R(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),
H())},ipb=function(a){if(a&1){var b=v();G(0,"b-issue-card",26,27);M("init",function(){w(b);var e=N(4);return y(e.trackTitleHoverOver())});H()}if(a&2){var c=yf(1);a=N().$implicit;var d=N(3);F("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},jpb=function(a,b){if(a&1){var c=v();G(0,"li",22)(1,"onedev-hovercard",null,23);Q(3,ipb,2,3,"b-issue-card",24);H();G(4,"a",25);M("click",function(){w(c);var e=N(3);return y(e.trackTitleClick())});R(5);H()()}if(a&
2){a=b.$implicit;var d=yf(2);b=N(3);F("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");z(4);vf("href","issues/",a.id,"",Id);F("onedevHovercardTrigger",d);z(1);zf(" ",a.title," ")}},kpb=function(a){a&1&&(J(0),Q(1,jpb,6,4,"li",21),L());a&2&&(a=N(2),z(1),F("ngForOf",a.magicBoxIssues))},lpb=function(a){a&1&&(G(0,"li"),R(1),H());a&2&&(a=N(2),z(1),zf(" No ",a.getHeader().toLowerCase()," found. "))},mpb=function(a){a&1&&(G(0,"li",28)(1,"a",29),R(2," View All Issues \u2192 "),H()());
a&2&&(a=N(2),z(1),wf("href",a.viewAllHref,Id))},npb=function(a){if(a&1){var b=v();G(0,"li",30)(1,"button",31);M("click",function(){w(b);var c=N(2);c.fetchIssues(c.page+1);c.analytics.trackEvent(Gn.MAGIC_BOX,"loadMore");return y()});I(2,"mat-icon",32);R(3," Load more ");H()()}},opb=function(a){if(a&1){var b=v();G(0,"li",33)(1,"a",29)(2,"button",34);M("click",function(){w(b);N(2).analytics.trackEvent(Gn.MAGIC_BOX,"viewAll");return y()});R(3,"View all ");I(4,"mat-icon",35);H()()()}a&2&&(a=N(2),z(1),
wf("href",a.viewAllHref,Id))},ppb=function(a){a&1&&(G(0,"li"),I(1,"b-spinner"),G(2,"span"),R(3,"Loading..."),H()())},qpb=function(a){a&1&&(G(0,"ul"),Q(1,gpb,5,3,"li",4),Q(2,hpb,2,0,"div",5),Q(3,kpb,2,1,"ng-container",4),Q(4,lpb,2,1,"li",4),Q(5,mpb,3,1,"li",6),Q(6,npb,4,0,"li",7),Q(7,opb,5,1,"li",8),Q(8,ppb,4,0,"li",4),H());a&2&&(a=N(),z(1),F("ngIf",!a.hideHeader),z(1),F("ngIf",a.showSuggestedDupes),z(1),F("ngIf",!a.isRefreshing),z(1),F("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),z(1),F("ngIf",
!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),z(1),F("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),z(1),F("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),z(1),F("ngIf",a.isRefreshing))},rpb=function(a){a&1&&rf(0)},tpb=function(a){a&1&&(J(0),Q(1,rpb,1,0,"ng-container",8),L());a&2&&(a=N(),z(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ff(2,spb,a.value)))},upb=function(a){a&1&&R(0);a&2&&(a=N(),Af(a.value||
"--"))},vpb=function(a){a&1&&(fd(),G(0,"svg",9),I(1,"path",10),H());a&2&&(a=N(),mf("centered",a.centerEditIcon))},wpb=function(a){a&1&&I(0,"textarea",15);a&2&&(a=N(3),F("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},xpb=function(a){a&1&&I(0,"input",16);a&2&&(a=N(3),F("formControl",a.editingValue))},ypb=function(a){a&1&&(J(0),G(1,"div",12),Q(2,wpb,1,2,"textarea",13),Q(3,xpb,1,1,"ng-template",null,14,Vf),H(),L());if(a&2){var b=yf(4);a=N(2);z(2);F("ngIf",a.allowMultipleLines)("ngIfElse",
b)}},zpb=function(a){a&1&&rf(0)},Bpb=function(a){a&1&&(J(0),Q(1,zpb,1,0,"ng-container",8),L());a&2&&(a=N(2),z(1),F("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Ff(2,Apb,a.editingValue)))},Cpb=function(a){a&1&&(Q(0,ypb,5,2,"ng-container",11),Q(1,Bpb,2,4,"ng-container",11));a&2&&(a=N(),F("ngIf",!a.editorTemplate),z(1),F("ngIf",a.editorTemplate))},Dpb=function(){},Epb=function(a){a&1&&I(0,"span",2);a&2&&(a=N(),F("@indicatorRotate",a._getExpandedState()))},Fpb=function(a){if(a&1){var b=
v();G(0,"b-hotlist-picker",24);M("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(),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},Kpb=function(a){a&1&&(G(0,"div",25),I(1,"b-icon",26),G(2,"span"),R(3),H(),G(4,"a",27),R(5,"View access settings"),H()());a&2&&(a=N(),F("ngClass",Gf(5,Gpb,Hpb(a),Ipb(a))),z(1),
F("name","alert")("size","small"),z(2),zf("",Jpb(a),"\u00a0"),z(1),F("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Id))},Npb=function(a){a&1&&(G(0,"div",30),R(1),H());a&2&&(a=N(2),z(1),zf(" Error: The following required field(s) have not been filled: ",Lpb(a).concat(Mpb(a)).join(", ")," "))},Opb=function(a){a&1&&(G(0,"li"),R(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"):"";Af(a)}},Ppb=function(a){a&1&&(G(0,"li"),R(1),H());a&2&&(a=N(3),z(1),zf(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},Qpb=function(a){a&1&&(G(0,"div",30),R(1," Error: The following field(s) have invalid values: "),G(2,"ul"),Q(3,Opb,2,1,"li",20),Q(4,Ppb,2,1,"li",20),H()());a&2&&(a=N(2),z(3),F("ngIf",!a.isBlockedByIssueIdValid||
!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),z(1),F("ngIf",!a.isCollaboratorsValid))},Rpb=function(a){a&1&&(G(0,"div",30),R(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),H())},Tpb=function(a){a&1&&(G(0,"div",28),Q(1,Npb,2,1,"div",29),Q(2,Qpb,5,2,"div",29),Q(3,Rpb,2,0,"div",29),H());a&2&&(a=N(),z(1),F("ngIf",0!==Lpb(a).length||0!==Mpb(a).length),z(1),F("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||
!a.isCollaboratorsValid),z(1),F("ngIf",Spb(a.comment)))},Upb=function(a,b){if(a&1){var c=v();G(0,"div",33)(1,"b-hotlist-chip",34);M("removeHotlist",function(){var d=w(c).$implicit,e=N(2);return y(e.removeHotlist(d.hotlistId))});H()()}a&2&&(a=b.$implicit,z(1),F("hotlist",a))},Vpb=function(a){a&1&&(G(0,"div",31),Q(1,Upb,2,1,"div",32),H());a&2&&(a=N(),z(1),F("ngForOf",a.selectedHotlists))},Wpb=function(a,b){if(a&1){var c=v();G(0,"button",43);M("click",function(){var d=w(c).$implicit,e=N(2);e.selectedTemplate=
d;e.getIssueTemplate();return y()});R(1);H()}a&2&&(a=b.$implicit,z(1),Af(a.name))},Xpb=function(a){if(a&1){var b=v();G(0,"button",43);M("click",function(){w(b);var c=N(2);c.selectedTemplate=c.availableExistingIssueTemplate;c.getIssueTemplate();return y()});R(1);H()}a&2&&(a=N(2),z(1),Af(a.availableExistingIssueTemplate.name))},Ypb=function(a){a&1&&(G(0,"div",35)(1,"div",14)(2,"label",36),R(3,"Template"),H()(),G(4,"button",37),R(5),I(6,"b-icon",38),H(),G(7,"mat-menu",39,40),Q(9,Wpb,2,1,"button",41),
Q(10,Xpb,2,1,"button",42),H()());if(a&2){var b=yf(8);a=N();var c;z(4);F("matMenuTriggerFor",b);z(1);Af(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");z(2);F("overlapTrigger",!0);z(2);F("ngForOf",a.availablePredefinedTemplates);z(1);F("ngIf",a.availableExistingIssueTemplate)}},Zpb=function(a){a&1&&(G(0,"div",44)(1,"div",30),R(2," You do not have permission to create issues in this component. "),H()())},$pb=function(a){if(a&1){var b=v();G(0,"div",69)(1,"b-magic-box",
70);M("headerChange",function(c){w(b);var d=N(3);return y(d.magicBoxHeader=c)});H()()}a&2&&(a=N(3),z(1),F("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},bqb=function(a){if(a&1){var b=v();G(0,"div",65)(1,"div",66)(2,"a",67);M("click",function(){w(b);var c=N(2);return y(aqb(c))})("keydown.enter",function(){w(b);var c=N(2);return y(aqb(c))})("keydown.space",function(){w(b);var c=
N(2);return y(aqb(c))});R(3);H()();Q(4,$pb,2,6,"div",68);H()}a&2&&(a=N(2),z(3),Bf(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),z(1),F("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},cqb=function(a,b){if(a&1){var c=v();G(0,"button",74);M("click",function(){var d=w(c).$implicit,e=N(3);return y(e.setPriority(d.value))});R(1);H()}a&2&&(a=b.$implicit,z(1),Af(a.displayText))},dqb=function(a){if(a&1){var b=v();G(0,"div",35)(1,"div",14)(2,"label",71);R(3,"Priority");
H()();G(4,"button",72);R(5);I(6,"b-icon",38);H();G(7,"mat-menu",39,73)(9,"button",74);M("click",function(){w(b);var d=N(2);return y(d.setPriority(void 0))});R(10,"--");H();Q(11,cqb,2,1,"button",75);H()()}if(a&2){var c=yf(8);a=N(2);z(4);F("matMenuTriggerFor",c);bf("aria-label","Priority, required"+(a.issue.priority?", "+a.issue.priority:""));z(1);zf("",a.issue.priority?a.issue.priority:"--"," ");z(2);F("overlapTrigger",!0);z(4);F("ngForOf",a.priorityChoices)}},fqb=function(a,b){if(a&1){var c=v();G(0,
"button",79);M("click",function(){var d=w(c).$implicit,e=N(3);return y(eqb(e,d.value))});R(1);H()}a&2&&(a=b.$implicit,wf("title",a.altText||""),z(1),Af(a.displayText))},gqb=function(a){if(a&1){var b=v();G(0,"div",35)(1,"div",14)(2,"label",76);R(3,"Type");H()();G(4,"button",72);S(5,"enumToHuman");R(6);S(7,"enumToHuman");I(8,"b-icon",38);H();G(9,"mat-menu",39,77)(11,"button",74);M("click",function(){w(b);var d=N(2);return y(eqb(d))});R(12,"--");H();Q(13,fqb,2,2,"button",78);H()()}if(a&2){var c=yf(10);
a=N(2);z(4);F("matMenuTriggerFor",c);bf("aria-label","Type, required"+(a.issue.type?T(5,5,", "+a.issue.type):""));z(2);zf("",T(7,7,a.issue.type||"--")," ");z(3);F("overlapTrigger",!0);z(4);F("ngForOf",a.issueTypeChoices)}},hqb=function(a){if(a&1){var b=v();G(0,"div",80)(1,"div",14)(2,"label",81);R(3,"Assignee");H()();G(4,"div",82)(5,"input",83);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.assigneeText=c)});H()()()}a&2&&(a=N(2),z(5),F("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},
iqb=function(a){a&1&&(G(0,"mat-error"),R(1," Collaborators only accepts individual users. "),H())},kqb=function(a){if(a&1){var b=v();G(0,"div",84)(1,"div",14)(2,"label",85);R(3,"Collaborators");H();I(4,"mat-icon",86);H();G(5,"div",82)(6,"input",87);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.collaboratorsText=jqb(c))});H()();Q(7,iqb,2,0,"mat-error",20);H()}a&2&&(a=N(2),z(6),mf("invalid",!a.isCollaboratorsValid),F("ngModel",Kr(a.collaboratorsText))("bContactAutocomplete","MULTI"),z(1),
F("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},lqb=function(a){if(a&1){var b=v();G(0,"div",88)(1,"div",14)(2,"label",89);R(3,"CC");H()();G(4,"div",82)(5,"input",90);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.ccsText=jqb(c))});H()()()}a&2&&(a=N(2),z(5),F("ngModel",Kr(a.ccsText))("bContactAutocomplete","MULTI"))},mqb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"div",13)(2,"div",14)(3,"label",91);R(4," Issue access level ");H()();G(5,"b-issue-access-limits-dropdown",92);M("updatedAccessLimitLevel",
function(c){w(b);var d=N(2);return y(d.onAccessLimitLevelSelected(c))});H()()()}a&2&&(a=N(2),z(5),F("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel))},nqb=function(a,b){if(a&1){var c=v();G(0,"button",74);M("click",function(){var d=w(c).$implicit,e=N(3);return y(e.issue.severity=e.toIssueSeverity(d.value))});R(1);H()}a&2&&(a=b.$implicit,z(1),Af(a.displayText))},oqb=function(a){a&1&&(G(0,"span"),R(1,"*"),H())},pqb=function(a){a&
1&&(G(0,"span"),R(1,"*"),H())},qqb=function(a){a&1&&(G(0,"span"),R(1,"*"),H())},sqb=function(a){if(a&1){var b=v();G(0,"div",100)(1,"div",14)(2,"label",118);R(3," Parents ");Q(4,qqb,2,0,"span",20);H()();G(5,"input",119);M("ngModelChange",function(c){w(b);var d=N(3);d.parentIssueIds=rqb(d,c).map(hn);c=Kr(d.parentIssueIds);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return y()});H()()}a&2&&(a=N(3),z(4),F("ngIf",!a.isParentIssueIdsValid),z(1),F("ngModel",Kr(a.parentIssueIds)))},tqb=function(a){a&
1&&(G(0,"span"),R(1,"*"),H())},uqb=function(a){if(a&1){var b=v();G(0,"div",100)(1,"div",14)(2,"label",120);R(3," Children ");Q(4,tqb,2,0,"span",20);H()();G(5,"input",121);M("ngModelChange",function(c){w(b);var d=N(3);d.childrenIssueIds=rqb(d,c).map(hn);c=Kr(d.childrenIssueIds);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return y()});H()()}a&2&&(a=N(3),z(4),F("ngIf",!a.isChildIssueIdsValid),z(1),F("ngModel",Kr(a.childrenIssueIds)))},vqb=function(a){if(a&1){var b=v();G(0,"div",100)(1,"div",
14)(2,"label",91);R(3," Issue access level ");H()();G(4,"b-issue-access-limits-dropdown",122);M("updatedAccessLimitLevel",function(c){w(b);var d=N(3);return y(d.onAccessLimitLevelSelected(c))});H()()}a&2&&(a=N(3),z(4),F("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},wqb=function(a){if(a&1){var b=v();G(0,"onedev-text-field",126);M("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);vf("id","bv2-custom-field-",a.customFieldId,"");F("value",a.textValue);bf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},xqb=function(a){if(a&1){var b=v();G(0,"onedev-numeric-field",126);M("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);vf("id","bv2-custom-field-",a.customFieldId,"");F("value",a.numericValue);
bf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},yqb=function(a){if(a&1){var b=v();G(0,"div")(1,"bv2-input-date-picker",127);M("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);wf("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");F("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+
a.customFieldId)}},zqb=function(a){if(a&1){var b=v();G(0,"onedev-single-select",128);M("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);F("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);bf("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Aqb=function(a,b){a&1&&(G(0,"div"),Q(1,wqb,1,4,"onedev-text-field",124),Q(2,xqb,1,4,"onedev-numeric-field",124),Q(3,
yqb,2,4,"div",20),Q(4,zqb,1,4,"onedev-single-select",125),H());a&2&&(a=b.ngIf,b=N(4),z(1),F("ngIf",a===b.FieldType.TEXT),z(1),F("ngIf",a===b.FieldType.NUMERIC),z(1),F("ngIf",a===b.FieldType.DATE),z(1),F("ngIf",a===b.FieldType.ENUM))},Bqb=function(a,b){if(a&1){var c=v();G(0,"div")(1,"b-list-field",129);M("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);F("defaultLineCount",2)("type",a)("values",
d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);bf("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},Dqb=function(a,b){a&1&&(G(0,"div",100)(1,"div",14)(2,"label",123),R(3),H()(),Q(4,Aqb,5,4,"div",20),Q(5,Bqb,2,6,"div",20),H());if(a&2){a=b.$implicit;b=N(3);z(2);vf("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];wf("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+
"]");F("ngClass",Ff(7,Cqb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");bf("aria-label",d);z(1);zf(" ",b.getCustomFieldName(a)," ");z(1);F("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));z(1);F("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},Eqb=function(a){if(a&1){var b=v();G(0,"mat-expansion-panel",93)(1,"mat-expansion-panel-header")(2,
"mat-panel-title");R(3," Advanced fields (Required fields marked with");G(4,"span",94);R(5,"*");H();R(6,") ");H()();G(7,"div",95)(8,"div",96)(9,"div",14)(10,"label",97);R(11," Severity ");H()();G(12,"button",98);R(13);I(14,"b-icon",38);H();G(15,"mat-menu",39,99);Q(17,nqb,2,1,"button",75);H()();G(18,"div",100)(19,"div",14)(20,"label",101);R(21," Found in ");H()();G(22,"input",102);M("ngModelChange",function(d){w(b);var e=N(2);return y(e.issue.foundInVersion=jqb(d))});H()();G(23,"div",103)(24,"div",
14)(25,"label",104);R(26," In prod ");H()();G(27,"mat-slide-toggle",105);M("ngModelChange",function(d){w(b);var e=N(2);return y(e.issue.inProd=d)});H()();I(28,"div",57);G(29,"div",100)(30,"div",14)(31,"label",106);R(32," Reporter ");H()();G(33,"input",107);M("ngModelChange",function(d){w(b);var e=N(2);return y(e.reporterText=d)});H()();G(34,"div",100)(35,"div",14)(36,"label",108);R(37," Verifier ");H()();G(38,"input",109);M("ngModelChange",function(d){w(b);var e=N(2);return y(e.verifierText=d)});
H()();G(39,"div",100)(40,"div",14)(41,"label",110);R(42," Targeted to ");H()();G(43,"input",111);M("ngModelChange",function(d){w(b);var e=N(2);return y(e.issue.targetedToVersion=jqb(d))});H()();I(44,"div",57);G(45,"div",100)(46,"div",14)(47,"label",112);R(48," Blocked by ");Q(49,oqb,2,0,"span",20);H()();G(50,"input",113);M("ngModelChange",function(d){w(b);var e=N(2);e.issue.blockedByIssueId=rqb(e,d);d=Kr(e.issue.blockedByIssueId);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return y()});
H()();G(51,"div",100)(52,"div",14)(53,"label",114);R(54," Blocking ");Q(55,pqb,2,0,"span",20);H()();G(56,"input",115);M("ngModelChange",function(d){w(b);var e=N(2);e.issue.blockingIssueId=rqb(e,d);d=Kr(e.issue.blockingIssueId);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return y()});H()();Q(57,sqb,6,2,"div",116);Q(58,uqb,6,2,"div",116);Q(59,vqb,5,3,"div",116);I(60,"div",57);Q(61,Dqb,6,9,"div",117);H()()}if(a&2){var c=yf(16);a=N(2);z(12);F("matMenuTriggerFor",c);bf("aria-label","Severity"+
(a.issue.severity?", "+a.issue.severity:""));z(1);Af(a.issue.severity);z(2);F("overlapTrigger",!0);z(2);F("ngForOf",a.severityChoices);z(5);F("ngModel",Kr(a.originalIssueCopy.foundInVersion));z(5);F("ngModel",a.issue.inProd);z(6);F("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");z(5);F("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");z(5);F("ngModel",Kr(a.originalIssueCopy.targetedToVersion));z(6);F("ngIf",!a.isBlockedByIssueIdValid);z(1);F("ngModel",Kr(a.issue.blockedByIssueId));
z(5);F("ngIf",!a.isBlockingIssueIdValid);z(1);F("ngModel",Kr(a.issue.blockingIssueId));z(1);F("ngIf",!a.sessionIsExternal);z(1);F("ngIf",!a.sessionIsExternal);z(1);F("ngIf",a.enableIssueAccessLimits&&!vp(a.selectedComponent));z(2);F("ngForOf",a.issue.customField)}},Fqb=function(a){a&1&&(G(0,"div",25),I(1,"b-icon",26),G(2,"span"),R(3),H(),G(4,"a",27),R(5,"View access settings"),H()());a&2&&(a=N(2),F("ngClass",Gf(5,Gpb,Hpb(a),Ipb(a))),z(1),F("name","alert")("size","small"),z(2),zf("",Jpb(a),"\u00a0"),
z(1),F("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Id))},Gqb=function(a){if(a&1){var b=v();G(0,"div",130)(1,"b-recaptcha",131);M("onUpdate",function(c){w(b);var d=N(2);return y(d.recaptchaResponse=c)});H()()}},Lqb=function(a){if(a&1){var b=v();G(0,"div");Q(1,bqb,5,3,"div",45);G(2,"div",12)(3,"div",13)(4,"div",14)(5,"label",46);R(6,"Title");H()();G(7,"div",47)(8,"input",48);M("ngModelChange",function(c){w(b);var d=N();return y(d.setTitle(c))});H()()();
Q(9,dqb,12,5,"div",18);Q(10,gqb,14,9,"div",18);H();J(11);G(12,"div",12);Q(13,hqb,6,2,"div",49);Q(14,kqb,8,5,"div",50);H();G(15,"div",12);Q(16,lqb,6,2,"div",51);H();L();G(17,"div",52)(18,"div",12)(19,"div",13)(20,"div",14)(21,"label",53);R(22,"Description");H()();G(23,"b-comment-box",54);M("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(Hqb(d,!c))})("onRestrict",function(){w(b);
var c=N();return y(c.showNewContentJudgementDialog())});G(24,"b-markdown-toggle",55);M("change",function(c){w(b);var d=N();return y(d.comment.formattingMode=c)});H()()()();Q(25,mqb,6,3,"div",56);I(26,"div",57);G(27,"div",58);Q(28,Eqb,62,20,"mat-expansion-panel",59);H();Q(29,Fqb,6,8,"div",9);Q(30,Gqb,2,0,"div",60);G(31,"div",61)(32,"b-button",62);M("onAction",function(){w(b);var c=N();return y(Hqb(c,!0))});R(33," Create ");H();G(34,"b-button",63);M("onAction",function(){w(b);var c=N();return y(Hqb(c,
!1))});R(35," Create & Start Another ");H();G(36,"b-button",64);M("onAction",function(){w(b);var c=N();c.draftStore.$window.sessionStorage.removeItem(Ym("0"));Iqb(c.reloadService);return y()});R(37," Discard ");H()()()()}a&2&&(a=N(),z(1),F("ngIf",a.selectedComponent),z(7),F("ngModel",a.issue.title)("bFocus",a.newIssueStarted),z(1),F("ngIf",a.canEditIssuesInComponent),z(1),F("ngIf",a.canEditIssuesInComponent),z(3),F("ngIf",a.canEditIssuesInComponent),z(1),F("ngIf",a.canEditIssuesInComponent),z(2),
F("ngIf",a.canEditIssuesInComponent),z(7),F("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",Ff(26,Jqb,Spb(a.comment))),z(1),F("initialValue",a.comment.formattingMode),z(1),F("ngIf",a.canEditIssuesInComponent&&
a.enableIssueAccessLimits&&!!vp(a.selectedComponent)),z(3),F("ngIf",a.canEditIssuesInComponent),z(1),F("ngIf",Hpb(a)||Ipb(a)),z(1),F("ngIf",a.enableRecaptcha),z(2),F("disabled",Kqb(a)),z(2),F("disabled",Kqb(a)),z(2),F("disabled",Kqb(a)))},Mqb=function(a,b){a&1&&(G(0,"h2",132),R(1,"This component has a default description"),H(),G(2,"mat-dialog-content"),R(3," You have already entered a description, but the component you chose has a default description: "),G(4,"div",133),R(5),H()(),G(6,"mat-dialog-actions")(7,
"button",134),R(8,"Use component description"),H(),G(9,"button",135),R(10,"Keep my description"),H()());a&2&&(a=b.$implicit,z(5),Af(a),z(2),F("mat-dialog-close",!0))},Nqb=function(a,b){b.assigneeText=Zh(a.assigneeUser);b.reporterText=Zh(a.reporterUser);b.verifierText=Zh(a.verifierUser);b.collaboratorsText=$h(a.collaboratorsUsers);b.ccsText=$h(a.ccUsers)},Pqb=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=gi(a.assigneeText));null!=a.reporterText&&(b.reporterUser=gi(a.reporterText));null!=a.verifierText&&(b.verifierUser=gi(a.verifierText));a.collaboratorsText&&(c=Oqb(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Oqb(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},Oqb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=gi(c.value))&&b.push(c);return b},Rqb=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=Qqb[d];"customField"===d||Kh(e,g)||(Array.isArray(e)?a[d]?(e=cqa([].concat(Pc(e),Pc(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},Sqb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},Tqb=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},Uqb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",12);M("starClicked",function(){w(b);
var c=N(2);return y(c.toggleStar())});H()}a&2&&(a=N(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},Vqb=function(a){a&1&&I(0,"b-star-toggle",13);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},Wqb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",7);Q(2,Uqb,1,3,"b-star-toggle",
8);Q(3,Vqb,1,4,"b-star-toggle",9);G(4,"span",10);R(5);G(6,"span")(7,"button",11);M("click",function(){w(b);var c=N();return y(c.editBookmarkGroup())});H()()()()()}a&2&&(a=N(),z(2),F("ngIf",!a.isAdmin),z(1),F("ngIf",a.isAdmin),z(2),zf("",a.bookmarkGroup.name," "))},Zqb=function(a){if(a&1){var b=v();G(0,"b-saved-search-panel",17);M("focusedRowIndexChange",function(g){w(b);var h=N().$implicit,l=N();return y(Xqb(l,h,g))})("selectionChange",function(g){w(b);var h=N(2);return y(Yqb(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();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},$qb=function(a){if(a&1){var b=v();G(0,"b-hotlist-panel",18);M("focusedRowIndexChange",function(g){w(b);var h=N().$implicit,l=N();return y(Xqb(l,h,g))})("selectionChange",function(g){w(b);var h=N(2);return y(Yqb(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();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},arb=function(a,b){a&1&&(G(0,"div",14),Q(1,Zqb,1,6,"b-saved-search-panel",15),Q(2,$qb,1,6,"b-hotlist-panel",16),H());a&2&&(F("ngSwitch",b.$implicit.type),z(1),F("ngSwitchCase","SAVED_SEARCH"),z(1),F("ngSwitchCase","HOTLIST"))},brb=function(a){if(a&1){var b=v();
G(0,"button",8);M("click",function(){w(b);var c=N();return y(c.archive())});R(1," Archive bookmark group ");H()}a&2&&(a=N(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},crb=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=N();return y(c.unarchive())});R(1," Unarchive bookmark group ");H()}a&2&&(a=N(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},drb=function(a){a&1&&(G(0,"span",32),R(1," (archived) "),H())},frb=function(a,b){if(a&1){var c=v();G(0,"div")(1,
"b-hotlist-chip-smart",48);M("removeHotlist",function(){var d=w(c).ngIf,e=N(4);return y(erb(e,d))});H()()}a&2&&(a=b.ngIf,z(1),F("id",a))},hrb=function(a,b){if(a&1){var c=v();G(0,"div",49)(1,"a",50);R(2);H();G(3,"span",51);M("click",function(){var e=w(c).ngIf,g=N(4);return y(grb(g,e))})("keydown.enter",function(){var e=w(c).ngIf,g=N(4);return y(grb(g,e))})("keydown.space",function(){var e=w(c).ngIf,g=N(4);return y(grb(g,e))});R(4," \u00d7 ");H()()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N(3);z(1);F("href",
d.paths.viewSavedSearch(a),Id)("matTooltip","Go to saved search: "+d.getDisplayName(b));z(1);zf(" S: ",d.getDisplayName(b)," ");z(1);F("matTooltip","Remove item: "+d.getDisplayName(b));bf("aria-label","Remove item: "+d.getDisplayName(b))}},irb=function(a){a&1&&(G(0,"span",52),R(1,"<None>"),H())},jrb=function(a,b){a&1&&(G(0,"div",45),Q(1,frb,2,1,"div",7),Q(2,hrb,5,5,"div",46),Q(3,irb,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;F("ngIf",d);z(1);F("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);z(1);F("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},lrb=function(a,b){if(a&1){var c=v();G(0,"button",61);M("click",function(){var d=w(c).$implicit,e=N(5);return y(krb(e,d))});R(1);H()}a&2&&(a=b.$implicit,z(1),zf("",a.name," "))},mrb=function(a){a&1&&Q(0,lrb,2,1,"button",60);a&2&&(a=N(4),F("ngForOf",a.savedSearchChoices))},nrb=function(a){a&1&&(G(0,
"div",53)(1,"label",54),R(2,"Add from saved searches:"),H(),G(3,"button",55)(4,"span",56),R(5,"Select"),H(),I(6,"mat-icon",57),H(),G(7,"mat-menu",null,58),Q(9,mrb,1,1,"ng-template",59),H()());if(a&2){var b=yf(8);z(3);F("matMenuTriggerFor",b)}},srb=function(a){if(a&1){var b=v();J(0);G(1,"div",30)(2,"label",33)(3,"span",18);R(4,"Selected items");H()();G(5,"div",34,35);Q(7,jrb,4,3,"div",36);H()();G(8,"div",37)(9,"div",38)(10,"label",39);R(11,"Add hotlist from favorites:");H();G(12,"b-hotlist-picker",
40);M("onApply",function(c){w(b);var d=N(2);return y(orb(d,c))})("onCreate",function(c){w(b);var d=N(2);return y(prb(d,c))})("onLoad",function(c){w(b);var d=N(2);return y(qrb(d,c))});H()();G(13,"div",41)(14,"label",42);R(15,"Add hotlist by query:");H();G(16,"b-hotlist-search",43);M("itemSelect",function(c){w(b);var d=N(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(rrb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));
return y()});H()();Q(17,nrb,10,1,"div",44);H();L()}a&2&&(a=N(2),z(7),F("ngForOf",a.bookmarkGroupUnderEdit.item),z(5),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),z(4),F("showGroups",!1)("allowStarring",!1),z(1),F("ngIf",0<a.savedSearchChoices.length))},urb=function(a){a&1&&(G(0,"span"),R(1),G(2,"a",65),R(3),H()());if(a&2){a=N().$implicit;var b=N(3);z(1);zf(" Hotlist ",a.hotlistId,": ");z(1);F("href",trb(b,a),Id);z(1);zf(" ",a.name||"(name not available)",
" ")}},vrb=function(a){a&1&&(G(0,"span"),R(1),G(2,"a",65),R(3),H()());if(a&2){a=N().$implicit;var b=N(3);z(1);zf(" Saved search ",a.savedSearchId,": ");z(1);F("href",trb(b,a),Id);z(1);zf(" ",a.name||"(name not available)"," ")}},wrb=function(a,b){a&1&&(G(0,"li"),Q(1,urb,4,3,"span",7),Q(2,vrb,4,3,"span",7),H());a&2&&(a=b.$implicit,z(1),F("ngIf","HOTLIST"===a.resourceType),z(1),F("ngIf","SAVED_SEARCH"===a.resourceType))},xrb=function(a){a&1&&(G(0,"div",62)(1,"label")(2,"span",18),R(3,"Items"),H()(),
G(4,"div",63)(5,"ul"),Q(6,wrb,3,2,"li",64),H()()());a&2&&(a=N(2),z(6),F("ngForOf",a.bookmarkGroup.item))},yrb=function(a){if(a&1){var b=v();G(0,"div",66)(1,"button",67);M("click",function(){w(b);var c=N(2);return y(c.saveMetadata())});R(2," Update ");H();G(3,"button",68);M("click",function(){w(b);var c=N(2);return y(c.revertMetadataChanges())});R(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},zrb=function(a){if(a&1){var b=v();G(0,"div",66)(1,
"button",67);M("click",function(){w(b);var c=N(2);return y(c.saveAccessPolicy())});R(2," Update ");H();G(3,"button",68);M("click",function(){w(b);var c=N(2);return y(c.revertAccessPolicyChanges())});R(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Drb=function(a){if(a&1){var b=v();J(0);G(1,"div",9)(2,"h2");R(3);H();Q(4,drb,2,0,"span",10);G(5,"a",11);R(6," (View Dashboard)");H()();G(7,"mat-tab-group",
12);M("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))});G(8,"mat-tab",13)(9,"div",14);I(10,"b-error-banner",15);G(11,"div",16)(12,"label",17)(13,"span",18);R(14,"Name");H()();G(15,"input",19,20);M("ngModelChange",function(d){w(b);var e=N();return y(e.bookmarkGroupUnderEdit.name=d)});H()();G(17,"div",16)(18,"label",21)(19,"span",18);R(20,"Description");H()();G(21,"textarea",22);M("ngModelChange",
function(d){w(b);var e=N();return y(e.bookmarkGroupUnderEdit.description=d)});H()();Q(22,srb,18,7,"ng-container",23);Q(23,xrb,7,1,"ng-template",null,24,Vf);Q(25,yrb,5,1,"div",25);H()();G(26,"mat-tab",26)(27,"div",14)(28,"div",16)(29,"label")(30,"span",18);R(31,"Admins");H();G(32,"p",27);R(33," Edit access controls, edit name and description, reorder items, add/remove items ");H()();G(34,"b-multi-user-input",28);M("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()();G(35,"div",16)(36,"label")(37,"span",18);R(38,"View only");H();G(39,"p",27);R(40," View the bookmark group ");H();G(41,"b-multi-user-input",29);M("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()()();G(42,"div",30);R(43," See ");G(44,"a",31);R(45,"access control documentation");H();R(46," for an explanation of the settings. ");
H();Q(47,zrb,5,1,"div",25);H()()();L()}if(a&2){var c=yf(24);a=N();z(3);Bf(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," ");z(1);F("ngIf",a.isArchived());z(1);F("href",a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),Id);z(2);F("selectedIndex",a.selectedTabIndex);z(3);F("error",a.error);z(1);F("ngClass",Ff(28,Arb,a.isEditDisabled()));z(4);F("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());z(2);F("ngClass",Ff(30,Arb,a.isEditDisabled()));z(4);
F("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());z(1);F("ngIf",a.isAdmin)("ngIfElse",c);z(3);F("ngIf",a.isAdmin);z(3);F("ngClass",Ff(32,Arb,a.isEditDisabled()));z(6);mf("disabled",a.isEditDisabled());F("users",a.accessPolicyUnderEdit.admins);z(1);F("ngClass",Ff(34,Arb,a.isEditDisabled()));z(6);mf("disabled",a.isEditDisabled());F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Ff(38,Brb,Ff(36,Crb,a.accessPolicyUnderEdit.admins)));
z(3);F("href",Fn(a.documentationLinks)+"#bookmark-groups",Id);z(3);F("ngIf",a.isAdmin)}},Erb=function(a){if(a&1){var b=v();G(0,"button",8);M("click",function(){w(b);var c=N();return y(c.delete())});R(1," Delete saved search ");H()}a&2&&(a=N(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},Frb=function(a){a&1&&(J(0),G(1,"div",9)(2,"h2"),R(3," Saved search not found "),H()(),L())},Grb=function(a){if(a&1){var b=v();G(0,"div",34)(1,"button",35);M("click",function(){w(b);var c=N(2);return y(c.saveMetadata())});
R(2," Update ");H();G(3,"button",36);M("click",function(){w(b);var c=N(2);return y(c.revertMetadataChanges())});R(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Hrb=function(a){if(a&1){var b=v();G(0,"div",34)(1,"button",35);M("click",function(){w(b);var c=N(2);return y(c.saveAccessPolicy())});R(2," Update ");H();G(3,"button",36);M("click",function(){w(b);var c=N(2);return y(c.revertAccessPolicyChanges())});R(4," Revert changes ");H()()}a&
2&&(a=N(2),z(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Lrb=function(a){if(a&1){var b=v();J(0);G(1,"div",9)(2,"h2");R(3);H();G(4,"a",10);R(5," (View Issues)");H()();G(6,"mat-tab-group",11);M("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))});G(7,"mat-tab",12)(8,"div",13);I(9,"b-error-banner",14);G(10,"div",15)(11,"label",
16)(12,"span",17);R(13,"Name");H()();G(14,"input",18,19);M("ngModelChange",function(c){w(b);var d=N();return y(d.savedSearchUnderEdit.name=c)});H()();G(16,"div",15)(17,"label",20)(18,"span",17);R(19,"Description");H()();G(20,"textarea",21);M("ngModelChange",function(c){w(b);var d=N();return y(d.savedSearchUnderEdit.description=c)});R(21,"            ");H()();G(22,"div",22)(23,"label",23)(24,"span",17);R(25,"Query");H();G(26,"p",24);R(27," To modify query and display preferences, run the saved search and modify its parameters ");
H();G(28,"div",25);R(29);H()()();Q(30,Grb,5,1,"div",26);H()();G(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,"label",28)(35,"span",17);R(36,"Admins");H();G(37,"p",24);R(38," Edit access controls, edit name and description, edit query ");H()();G(39,"b-multi-user-input",29);M("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()();G(40,"div",15)(41,"label",30)(42,"span",17);R(43,"View and execute search");
H()();G(44,"b-multi-user-input",31);M("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()();G(45,"div",32);R(46," See ");G(47,"a",33);R(48,"access control documentation");H();R(49," for an explanation of the settings. ");H();Q(50,Hrb,5,1,"div",26);H()()();L()}a&2&&(a=N(),z(3),Bf(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),z(1),F("href",a.paths.viewSavedSearch(a.savedSearch.searchId),
Id),z(2),F("selectedIndex",a.selectedTabIndex),z(3),F("error",a.error),z(1),F("ngClass",Ff(26,Irb,a.isEditDisabled())),z(4),F("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),z(2),F("ngClass",Ff(28,Irb,a.isEditDisabled())),z(4),F("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),z(9),zf(" ",a.savedSearch.query," "),z(1),F("ngIf",a.isAdmin),z(3),F("ngClass",Ff(30,Irb,a.isEditDisabled())),z(6),mf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.admins),
z(1),F("ngClass",Ff(32,Irb,a.isEditDisabled())),z(4),mf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Ff(36,Jrb,Ff(34,Krb,a.accessPolicyUnderEdit.admins))),z(3),F("href",Fn(a.documentationLinks)+"#saved-searches",Id),z(3),F("ngIf",a.isAdmin))},Mrb=function(a){a&1&&(G(0,"div",7),I(1,"b-spinner"),H())},Nrb=function(a){if(a&1){var b=v();G(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);M("change",function(c){w(b);
var d=N(2);return y(d.alertState.setValue(c.checked))});H()();G(3,"div")(4,"strong",42);R(5,"SLO Notifications");H();G(6,"div",43);R(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");H()()()}a&2&&(a=N(2),mf("bv2-edit-resource-readonly",a.isEditDisabled()),z(2),F("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},Orb=function(a){a&1&&(G(0,"div",44),R(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),
G(2,"a",45),R(3," Learn more "),H()())},Qrb=function(a){if(a&1){var b=v();G(0,"b-button",50);M("onAction",function(){w(b);var c=N(3);return y(Prb(c,!0))});R(1," Archive ");H()}a&2&&(a=N(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Rrb=function(a){if(a&1){var b=v();G(0,"b-button",51);M("onAction",function(){w(b);var c=N(3);return y(Prb(c,!1))});R(1," Unarchive ");H()}a&2&&(a=N(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Srb=function(a){if(a&1){var b=v();G(0,"div",
26)(1,"b-button",46);M("onAction",function(){w(b);var d=N(2);return y(d.saveMetadata())});R(2," Update ");H();G(3,"b-button",47);M("onAction",function(){w(b);var d=N(2);return y(d.revertMetadataChanges())});R(4," Revert changes ");H();Q(5,Qrb,2,1,"b-button",48);Q(6,Rrb,2,1,"b-button",49);H()}if(a&2){N();var c=yf(9);a=N();z(1);F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);z(2);F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||
!!c.pending||!!c.invalid);z(2);F("ngIf",a.slo&&!a.slo.isArchived);z(1);F("ngIf",a.slo&&a.slo.isArchived)}},Trb=function(a){if(a&1){var b=v();G(0,"div",25)(1,"b-button",52);M("onAction",function(){w(b);var c=N(2);return y(c.saveAccessPolicy())});R(2," Update ");H();G(3,"b-button",53);M("onAction",function(){w(b);var c=N(2);return y(c.revertAccessPolicyChanges())});R(4," Revert changes ");H()()}a&2&&(a=N(2),z(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},Urb=function(a){if(a&
1){var b=v();G(0,"div")(1,"div",8)(2,"h2")(3,"span",9);R(4);H()()();G(5,"mat-tab-group",10);M("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))});G(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);R(13,"Name");H()();G(14,"input",18);M("ngModelChange",function(c){w(b);var d=N();return y(d.editableCopy.name=c)});H()();G(15,"div",15)(16,"label",19)(17,"span",
17);R(18,"Description");H()();G(19,"textarea",20);M("ngModelChange",function(c){w(b);var d=N();return y(d.editableCopy.description=c)});R(20,"              ");H()();Q(21,Nrb,8,4,"div",21);H();Q(22,Orb,4,0,"div",22);G(23,"div",15)(24,"slo-elements-picker",23);M("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()();G(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);M("onAction",function(){w(b);
var c=N();return y(c.showUpdateHistoryModal())});R(29," View history ");H()()();G(30,"div",25);Q(31,Srb,7,4,"div",28);H()()()();G(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);R(38,"Admins");H();G(39,"p",33);R(40," Edit name, description and metrics ");H()();G(41,"b-multi-user-input",34);M("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()();G(42,"div",
15)(43,"label",35)(44,"span",17);R(45,"Readers");H();G(46,"p",33);R(47," View the SLO definition (this is not required to see an issue's SLO status) ");H()();G(48,"b-multi-user-input",36);M("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()()();G(49,"div",15);R(50," See ");G(51,"a",37);R(52,"access control documentation");H();R(53," for an explanation of the settings. ");H();Q(54,Trb,5,1,"div",
38);H()()()()}a&2&&(a=N(),z(4),Bf(" SLO ",a.slo.sloId,": ",a.slo.name," "),z(1),F("selectedIndex",a.selectedTabIndex),z(5),mf("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),F("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),z(1),mf("bv2-edit-resource-readonly",a.isEditDisabled()),z(4),F("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),z(2),F("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),z(1),F("ngIf",a.isUneditedFromBugScope&&
a.isAdmin()),z(1),mf("bv2-edit-resource-readonly",a.isEditDisabled()),z(1),F("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),z(7),F("ngIf",a.isAdmin()),z(4),mf("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),F("users",a.editableAccessPolicy.admins),bf("disabled",a.isEditDisabled()?!0:null),z(1),mf("bv2-edit-resource-readonly",a.isEditDisabled()),z(6),F("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),bf("disabled",a.isEditDisabled()?
!0:null),z(3),vf("href","",Fn(a.documentationLinks),"#slos",Id),z(3),F("ngIf",a.isAdmin()))},Vrb=function(a){if(a&1){var b=v();G(0,"div",5);I(1,"img",6)(2,"img",7);G(3,"p",8);R(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");H();G(5,"p",9);R(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');G(7,"a",10);R(8,"Learn more");H()();G(9,"button",11);M("click",function(){w(b);var c=N(2);return y(c.onClickAdd())});
R(10," Add ");H()()}a&2&&(a=N(2),z(1),F("src",a.TEA_LIGHT,Id),z(1),F("src",a.TEA_DARK,Id))},Wrb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),F("issueIds",a)("menuItemFactory",b.getMenuItems))},Xrb=function(a){a&1&&(J(0),Q(1,Wrb,1,2,"b-issues-table",17),S(2,"async"),L());a&2&&(a=N(5),z(1),F("ngIf",T(2,1,a.blockedAndOpenIds$)))},Yrb=function(a){a&1&&(G(0,"p",19),R(1,"Not blocking any open issues \ud83e\udd73"),H())},Zrb=function(a,b){a&1&&(J(0),G(1,"h4",15),R(2),H(),Q(3,Xrb,3,3,
"ng-container",12),Q(4,Yrb,2,0,"ng-template",null,16,Vf),L());if(a&2){a=b.$implicit;var c=yf(5);z(2);zf("Open (",a.length,")");z(1);F("ngIf",0<a.length)("ngIfElse",c)}},$rb=function(a,b){a&1&&I(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=N(6),F("issueIds",a)("menuItemFactory",b.getMenuItems))},asb=function(a){a&1&&(J(0),G(1,"h4",15),R(2),H(),Q(3,$rb,1,2,"b-issues-table",17),S(4,"async"),L());if(a&2){a=N().$implicit;var b=N(4);z(2);zf("Closed (",a.length,")");z(1);F("ngIf",T(4,2,b.blockedAndClosedIds$))}},
bsb=function(a,b){a&1&&(J(0),Q(1,asb,5,4,"ng-container",1),L());a&2&&(a=b.$implicit,z(1),F("ngIf",0<a.length))},csb=function(a){a&1&&(J(0),Q(1,Zrb,6,3,"ng-container",1),S(2,"async"),Q(3,bsb,2,1,"ng-container",1),S(4,"async"),L());a&2&&(a=N(3),z(1),F("ngIf",T(2,2,a.blockedAndOpen$)),z(2),F("ngIf",T(4,4,a.blockedAndClosed$)))},dsb=function(a,b){a&1&&(G(0,"li")(1,"a",22)(2,"span",9),R(3),H(),G(4,"aside",23),I(5,"button",24),H()()());a&2&&(a=b.$implicit,z(1),vf("routerLink","/issues/",a,""),ef("aria-label",
"Issue ",a,""),z(2),zf("b/",a,""))},esb=function(a){a&1&&(G(0,"h4",15),R(1,"Loading..."),H(),G(2,"ol",20),Q(3,dsb,6,3,"li",21),H());a&2&&(a=N(2).$implicit,z(3),F("ngForOf",a))},fsb=function(a,b){a&1&&(J(0),G(1,"a",25),R(2," View as search results "),H(),L());a&2&&(a=b.ngIf,z(1),F("routerLink",a.path)("queryParams",a.params))},gsb=function(a){if(a&1){var b=v();Q(0,csb,5,6,"ng-container",12);S(1,"async");Q(2,esb,4,1,"ng-template",null,13,Vf);G(4,"aside",14)(5,"button",11);M("click",function(){w(b);
var d=N(2);return y(d.onClickAdd())});R(6," Add ");H();Q(7,fsb,3,2,"ng-container",1);S(8,"async");H()}if(a&2){var c=yf(3);a=N(2);F("ngIf",T(1,3,a.issuesBeingBlocked$))("ngIfElse",c);z(7);F("ngIf",T(8,5,a.searchUrl$))}},hsb=function(a,b){a&1&&(J(0),Q(1,Vrb,11,2,"div",3),Q(2,gsb,9,7,"ng-template",null,4,Vf),L());if(a&2){a=b.$implicit;var c=yf(3);z(1);F("ngIf",0===a.length)("ngIfElse",c)}},isb=function(a){a&1&&(G(0,"aside",26),I(1,"b-spinner"),H())},jsb=function(a,b){if(a&&a.length)return a.map(b)},
ksb=function(a){return{filename:a.getFilename(),lineNumber:Bh(a,2),changeNumber:dj(a,3)}},lsb=function(a){return{packageName:a.getPackageName(),fileMentionSet:jsb(Ch(a,Lr,2),ksb)}},msb=function(a){return{totalMentions:Eh(a,1),truncated:Gj(a,2),packageMentionSet:jsb(Ch(a,Mr,3),lsb)}},Nr=function(a){var b=nsb(a.open);a=nsb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},nsb=function(a){var b=a.count;a=a.exact;return 0===b||a?""+b:b+"+"},osb=function(a){return"("+nsb(a)+")"},Or=function(a){return{count:99<
a?99:a,exact:99<a?!1:!0}},psb=function(a,b){switch(b){case "BLOCKED_BY":return"blockingid:"+a+" status:open";case "BLOCKING":return"blockedbyid:"+a+" status:open";case "DUPLICATE":return"canonicalid:"+a;case "CHILDREN":return"parentid:"+a+" status:open";case "PARENT":break;default:nh(b)}},qsb=function(a){a&1&&rf(0)},rsb=function(a){a&1&&(J(0),Q(1,qsb,1,0,"ng-container",9),L());if(a&2){N();var b=yf(15);z(1);F("ngTemplateOutlet",b)}},ssb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",10),L());a&2&&(a=
b.ngIf,b=N(2),z(1),F("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},tsb=function(a){a&1&&(J(0),Q(1,ssb,2,5,"ng-container",4),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,1,a.blockerIds$)))},usb=function(a,b){if(a&1){var c=v();G(0,"p",11);R(1);G(2,"button",12);M("click",function(){w(c);var d=N();return y(d.shouldResetFilters.next())});R(3,"Show all");H()()}a&2&&(a=b.$implicit,z(1),Bf(" Filtering ",a," issue",1===
a?"":"s",". "))},vsb=function(a){a&1&&rf(0)},wsb=function(a){a&1&&(G(0,"div")(1,"span",11),R(2,"This issue is not blocked "),G(3,"span",13),R(4,"\ud83c\udf89"),H()(),Q(5,vsb,1,0,"ng-container",9),H());if(a&2){N();var b=yf(15);z(5);F("ngTemplateOutlet",b)}},ysb=function(a){if(a&1){var b=v();G(0,"b-button",14);M("onAction",function(){w(b);var c=N();return y(xsb(c))});S(1,"async");R(2," Add blocker ");H()}a&2&&(a=N(),F("disabled",!T(1,1,a.canEdit$)))},zsb=function(a){a&1&&I(0,"th",27)},Asb=function(a){if(a&
1){var b=v();G(0,"td",28,29);M("click",function(c){w(b);yf(1).focus();return y(c.stopPropagation())});H()}},Bsb=function(a){a&1&&I(0,"th",27)},Csb=function(a){if(a&1){var b=v();G(0,"td",30,31);M("click",function(c){w(b);yf(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()}},Dsb=function(a){a&1&&(G(0,"th",27),R(1," Id "),H())},Esb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-id-cell",34),H());a&2&&(a=b.$implicit,
z(1),F("id",a.id))},Fsb=function(a){a&1&&(G(0,"th",27),R(1," Id "),H())},Gsb=function(a){a&1&&(G(0,"td",33),R(1,"--"),H())},Hsb=function(a){a&1&&(G(0,"th",27),R(1," Title "),H())},Isb=function(a,b){if(a&1){var c=v();G(0,"td",33)(1,"b-expandable-issue-title-cell",35);M("expansionChange",function(){var d=w(c).$implicit,e=N();return y(e.toggleExpansion(d))});S(2,"async");S(3,"async");H()()}a&2&&(a=b.$implicit,z(1),F("issue",T(2,4,a.issue$))("expandable",T(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",
a.level))},Jsb=function(a){a&1&&(G(0,"th",27),R(1," Type "),H())},Ksb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-type-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},Lsb=function(a){a&1&&(G(0,"th",27),R(1," Assignee "),H())},Msb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-assignee-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},Nsb=function(a){a&1&&(G(0,"th",27),R(1," Status "),H())},Osb=function(a,b){a&1&&(G(0,"td",33),I(1,
"b-issue-status-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},Psb=function(a){a&1&&(G(0,"th",27),R(1," Team "),H())},Qsb=function(a,b){a&1&&(G(0,"td",33),I(1,"b-issue-team-cell",36),S(2,"async"),H());a&2&&(a=b.$implicit,z(1),F("issue",T(2,1,a.issue$)))},Rsb=function(a){a&1&&I(0,"th",27)},Ssb=function(a,b){a&1&&(G(0,"td",33)(1,"b-actions-menu",37),M("click",function(c){return c.stopPropagation()}),H()());a&2&&(a=b.$implicit,b=N(),z(1),F("menuItems",b.getMenuItems(a)))},
Tsb=function(a){a&1&&I(0,"th",27)},Usb=function(a){a&1&&(G(0,"b-actions-menu",37),M("click",function(c){return c.stopPropagation()}),H());if(a&2){a=N().$implicit;var b=N();F("menuItems",b.getMenuItemsForDraft(a))}},Vsb=function(a){a&1&&I(0,"b-spinner")},Wsb=function(a,b){a&1&&(G(0,"td",38),Q(1,Usb,1,1,"b-actions-menu",39),Q(2,Vsb,1,0,"ng-template",null,40,Vf),H());if(a&2){a=b.$implicit;var c=yf(3);z(1);F("ngIf",!a.saving)("ngIfElse",c)}},Xsb=function(a,b){if(a&1){var c=v();G(0,"td",33)(1,"b-async-data-placeholder",
41);S(2,"async");G(3,"b-button",42);M("onAction",function(){var d=w(c).$implicit,e=N();return y(e.displayAllSiblings(d))});G(4,"span",43);R(5);H()()()()}a&2&&(a=b.$implicit,b=N(),lf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),bf("colspan",b.tableColumns.length),z(1),F("isReady",!!T(2,5,a.parentIssue$)),z(4),zf("Display ",a.truncatedSiblingCount," more"))},Ysb=function(a){a&1&&(G(0,"th",27),R(1," Title "),H())},Zsb=function(a,b){if(a&1){var c=v();G(0,"td",33)(1,"div",44)(2,"b-text-input-cell",
45);M("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();G(3,"b-button",46);M("onAction",function(){var d=w(c).$implicit,e=N();return y(e.saveDraft(d))});R(4," Create ");H();G(5,"b-button",47);M("onAction",function(){var d=w(c).$implicit,e=N();return y(e.cancelDraft(d))});R(6," Cancel ");H()()()}a&2&&(a=b.$implicit,lf("padding-left",24*(a.level+1),"px"),z(2),F("value",a.title)("readonly",a.saving),z(1),
F("disabled",!a.title||a.saving),z(2),F("disabled",a.saving))},$sb=function(a){a&1&&I(0,"tr",48)},atb=function(a,b){if(a&1){var c=v();G(0,"tr",49);M("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(Bn(e.focusManager,d))})("keydown",function(d){var e=w(c).$implicit,g=N();return y(g.onRowKeydown(e,d))});S(1,"async");S(2,"async");
H()}a&2&&(a=b.$implicit,b=N(),mf("selected",T(1,8,SJa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(T(2,10,a.issue$))),F("row",a),bf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},btb=function(a,b){if(a&1){var c=v();G(0,"tr",50);M("focusin",function(){var d=w(c).$implicit,e=N();return y(Bn(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,F("row",a),bf("data-level",a.level)("data-type",
a.type)("data-ancestorchain",a.ancestorChain.hash()))},ctb=function(a,b){if(a&1){var c=v();G(0,"tr",51);M("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(Bn(e.focusManager,d))});H()}a&2&&(a=b.$implicit,F("row",a),bf("data-type",a.type))},
dtb=function(a,b){a&1&&(J(0),I(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=N(),z(1),F("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},etb=function(a,b){a&1&&(G(0,"span",10),R(1),H());a&2&&(a=b.ngIf,vf("title","",a," applied filter(s)"),z(1),Af(a))},ftb=function(a){a&1&&(J(0),Q(1,etb,2,2,"span",9),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,1,a.internalSelectedOptions.size$)))},gtb=function(a){a&1&&
(G(0,"h1",11),R(1),H());a&2&&(a=N(),z(1),Af(a.overlayTitle))},htb=function(a){a&1&&(G(0,"h1"),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a.title))},itb=function(a){a&1&&(G(0,"p"),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a.description))},jtb=function(a,b){if(a&1){var c=v();G(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);M("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()});S(3,"async");H();G(4,"div");Q(5,htb,2,1,"h1",3);Q(6,itb,2,1,"p",3);H()()()}a&2&&(a=b.$implicit,b=N(),z(2),F("checked",T(3,3,An(b.internalSelectedOptions,a.key))),z(3),F("ngIf",a.title),z(1),F("ngIf",a.description))},ktb=function(a){if(a&1){var b=v();J(0);I(1,"mat-divider");G(2,"div",15)(3,"button",16);M("click",function(){w(b);var c=N(),d=yf(1);return y(c.cancel(d))});R(4);H();G(5,"button",17);M("click",function(){w(b);var c=N(),d=yf(1);return y(c.confirm(d))});R(6);H()();L()}a&2&&(a=
N(),z(4),Af(a.cancelButtonLabel),z(2),Af(a.confirmButtonLabel))},ltb=function(a){a&1&&I(0,"b-spinner")},mtb=function(a){a&1&&rf(0)},ntb=function(a){a&1&&(J(0),Q(1,mtb,1,0,"ng-container",23),L());if(a&2){N(2);var b=yf(12);z(1);F("ngTemplateOutlet",b)}},otb=function(a){a&1&&(I(0,"b-parents-table",24),S(1,"async"),S(2,"async"));if(a&2){a=N().ngIf;var b=N();F("issueId",a)("parentIds",T(1,3,b.parentIds$))("filters",T(2,5,b.issueFilters.value$))}},ptb=function(a){a&1&&rf(0)},rtb=function(a){a&1&&(J(0),
Q(1,ptb,1,0,"ng-container",25),S(2,"async"),L());if(a&2){a=N(2);var b=yf(10);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(4,qtb,T(2,2,null==a.parentsTable?null:a.parentsTable.filteredRowCount$)))}},stb=function(a){a&1&&rf(0)},ttb=function(a){a&1&&(G(0,"div")(1,"span",26),R(2,"This issue has no parents"),H(),Q(3,stb,1,0,"ng-container",23),H());if(a&2){N(2);var b=yf(12);z(3);F("ngTemplateOutlet",b)}},utb=function(a){a&1&&rf(0)},vtb=function(a){a&1&&(J(0),Q(1,utb,1,0,"ng-container",23),
L());if(a&2){N(2);var b=yf(14);z(1);F("ngTemplateOutlet",b)}},wtb=function(a){a&1&&(G(0,"div",27)(1,"section",28)(2,"div",29),R(3," Progress: "),H(),G(4,"div",29),R(5),S(6,"number"),S(7,"async"),S(8,"number"),S(9,"async"),H(),G(10,"div",30),S(11,"async"),G(12,"div",31)(13,"div",32),S(14,"async"),H(),G(15,"onedev-hovercard",null,33)(17,"div",34)(18,"div",35),R(19),S(20,"async"),H()()()()(),I(21,"mat-icon",36),G(22,"onedev-hovercard",null,37)(24,"div",34)(25,"div",38)(26,"p"),R(27," The progress of child issues takes into consideration all child issues and descendant issues which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is not reflected in the progress bar. "),
H()()()()()());if(a&2){var b=yf(16),c=yf(23);a=N(2);z(5);Bf(" ",If(6,8,T(7,11,a.totalDaysComplete$),"1.0-2")," of ",If(8,13,T(9,16,a.totalDaysCount$),"1.0-2")," days complete ");z(5);ef("aria-label","",T(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");z(2);F("onedevHovercardTrigger",b);z(1);lf("width",T(14,20,a.totalDaysDisplayPercent$),"%");z(6);zf(" ",T(20,22,a.progressHovercardContent$)," ");z(2);F("onedevHovercardTrigger",c)}},xtb=function(a){a&1&&rf(0)},ytb=function(a){a&
1&&(J(0),Q(1,xtb,1,0,"ng-container",25),S(2,"async"),L());if(a&2){a=N(2);var b=yf(10);z(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Ff(4,qtb,T(2,2,null==a.relationsTable?null:a.relationsTable.filteredRowCount$)))}},ztb=function(a){a&1&&rf(0)},Atb=function(a){a&1&&(J(0),G(1,"span",26),R(2,"This issue has no children"),H(),Q(3,ztb,1,0,"ng-container",23),L());if(a&2){N(3);var b=yf(14);z(3);F("ngTemplateOutlet",b)}},Btb=function(a){a&1&&(J(0),Q(1,Atb,4,1,"ng-container",1),S(2,"async"),S(3,"async"),
L());if(a&2){a=N(2);var b;z(1);F("ngIf",0===T(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=T(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},Ctb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,"div",13);I(5,"mat-icon",14);H();R(6);S(7,"async");H();Q(8,ntb,2,1,"ng-container",1);S(9,"async");H();Q(10,otb,3,7,"b-parents-table",15);S(11,"async");Q(12,rtb,3,6,"ng-container",1);S(13,"async");Q(14,ttb,4,1,"ng-template",null,16,Vf);
H();G(16,"section")(17,"b-blockers-table",17);M("shouldResetFilters",function(){w(c);var h=N();return y(h.shouldResetFilters())});S(18,"async");H()();G(19,"section")(20,"div",18)(21,"h4",12)(22,"div",19);I(23,"mat-icon",20);H();R(24);S(25,"async");H();Q(26,vtb,2,1,"ng-container",1);S(27,"async");S(28,"async");H();Q(29,wtb,28,24,"div",21);S(30,"async");S(31,"async");I(32,"b-issue-relations-table",22);S(33,"async");S(34,"async");S(35,"async");Q(36,ytb,3,6,"ng-container",1);S(37,"async");Q(38,Btb,4,
5,"ng-container",1);S(39,"async");H()()}if(a&2){a=b.ngIf;var d=yf(15);b=N();var e,g;z(6);zf(" Parents ",T(7,15,b.counts.countParentsDisplay$)," ");z(2);F("ngIf",T(9,17,b.parentsCount$));z(2);F("ngIf",T(11,19,b.parentsCount$))("ngIfElse",d);z(2);F("ngIf",T(13,21,b.issueFilters.value$));z(5);F("filters",T(18,23,b.issueFilters.value$));z(7);zf(" Child issues ",T(25,25,b.counts.countChildrenDisplay$)," ");z(2);F("ngIf",T(27,27,b.unarchivedChildIssueCount$)||0<((null==(e=T(28,29,null==b.relationsTable?
null:b.relationsTable.rows$))?null:e.length)||0));z(3);F("ngIf",b.isTotalEstimatesEnabled&&T(30,31,b.unarchivedChildIssueCount$)&&T(31,33,b.totalDaysCount$));z(3);mf("hidden",!(null==(g=T(33,35,null==b.relationsTable?null:b.relationsTable.rows$))?0:g.length)&&!T(34,37,null==b.relationsTable?null:b.relationsTable.filteredRowCount$));F("rootIssueId",a)("filters",T(35,39,b.issueFilters.value$));z(4);F("ngIf",T(37,41,b.issueFilters.value$));z(2);F("ngIf",null!==T(39,43,b.unarchivedChildIssueCount$))}},
Dtb=function(a){if(a&1){var b=v();G(0,"p",26);R(1);G(2,"button",40);M("click",function(){w(b);var c=N(2);return y(c.issueFilters.reset([]))});R(3,"Show all");H()()}a&2&&(a=N().filteredCount,z(1),Bf(" Filtering ",a," issue",1===a?"":"s",". "))},Etb=function(a,b){a&1&&Q(0,Dtb,4,2,"p",39);a&2&&F("ngIf",b.filteredCount)},Gtb=function(a){if(a&1){var b=v();G(0,"b-button",41);M("onAction",function(){w(b);var c=N();return y(Ftb(c))});S(1,"async");R(2," Add parent ");H()}a&2&&(a=N(),F("disabled",!T(1,1,a.canEdit$)))},
Htb=function(a){if(a&1){var b=v();G(0,"b-button",44);M("onAction",function(){w(b);var c=N(2);return y(c.createChild())});S(1,"async");R(2," Create new child ");H()}a&2&&(a=N(2),F("disabled",!T(1,1,a.canEdit$)))},Itb=function(a){if(a&1){var b=v();Q(0,Htb,3,3,"b-button",42);G(1,"b-button",43);M("onAction",function(){w(b);var c=N();return y(c.addChild())});S(2,"async");R(3," Add existing child ");H()}a&2&&(a=N(),F("ngIf",a.isNonPublicSession),z(1),F("disabled",!T(2,2,a.canEdit$)))},Jtb=function(a,b){return(0,E.combineLatest)([a,
b]).pipe(D(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}))},Ktb=function(a){return 1===a?a+" day":a+" days"},Ltb=function(a){a&1&&(G(0,"div",3),I(1,"mat-icon",4),G(2,"span",5),R(3),S(4,"async"),H()());if(a&2){a=N();var b;z(3);zf("",null==(b=T(4,1,a.issues$))?null:b.length," parent issues")}},Mtb=function(a){a&1&&(G(0,"div",3),I(1,"mat-icon",6),G(2,"span",5),R(3),S(4,"async"),H()());if(a&2){a=N();var b;z(3);zf("Blocked by ",null==(b=T(4,1,a.issues$))?
null:b.length," issues")}},Ntb=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.$implicit,b=N(4),pf("chippy status-",a," margin-s-left"),z(1),zf(" ",b.STATUS_TERSE[a]," "))},Otb=function(a){a&1&&(J(0),G(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),R(5),H(),G(6,"div",12),R(7),H()(),G(8,"div",10)(9,"div",13),R(10),H(),Q(11,Ntb,2,4,"span",14),H()()(),L());if(a&2){var b=N();a=b.$implicit;b=b.last;var c=N(2);z(1);vf("routerLink","/issues/",a.issueId,"");z(1);mf("border-bottom",!b);z(3);Af(a.issueId);
z(2);Af(a.snapshot[0].title);z(2);F("ngClass",c.priorityClass(a.snapshot[0].priority));z(1);Af(a.snapshot[0].priority);z(1);F("ngIf",c.convertIssueStatusStrToTag(a.snapshot[0].status))}},Ptb=function(a,b){a&1&&(J(0),Q(1,Otb,12,8,"ng-container",2),L());a&2&&(a=b.index,z(1),F("ngIf",5>a))},Rtb=function(a){if(a&1){var b=v();J(0);G(1,"div",15)(2,"button",16);M("click",function(){w(b);var c=N(2);return y(Qtb(c))});R(3,"View all parent issues");H()();L()}},Stb=function(a){if(a&1){var b=v();J(0);G(1,"div",
15)(2,"button",16);M("click",function(){w(b);var c=N(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Pr(c.router,"/issues/"+c.currentIssueId+"/dependencies");return y()});R(3,"View all blockers");H()();L()}},Ttb=function(a,b){a&1&&(G(0,"div"),Q(1,Ptb,2,1,"ng-container",7),Q(2,Rtb,4,0,"ng-container",2),Q(3,Stb,4,0,"ng-container",2),H());a&2&&(a=b.$implicit,b=N(),z(1),F("ngForOf",a),z(1),F("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),F("ngIf",5<a.length&&b.mode===
b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},Utb=function(a){a&1&&I(0,"mat-icon",7)},Vtb=function(a){a&1&&(J(0),I(1,"b-list-issues-card",8,9),L());if(a&2){var b=yf(2);N();var c=yf(5);a=N();z(1);F("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},Wtb=function(a){a&1&&(J(0),G(1,"a",3),R(2),H(),Q(3,Utb,1,0,"mat-icon",4),G(4,"onedev-hovercard",null,5),Q(6,Vtb,3,5,"ng-container",6),H(),
L());if(a&2){var b=yf(5);a=N();z(1);vf("title","",a.multiParentIssueIds.length," parents at this position");F("onedevHovercardTrigger",b);z(1);zf("",a.multiParentIssueIds.length," Parents\u2026");z(1);F("ngIf",1<a.multiParentIssueIds.length)}},Xtb=function(a,b){a&1&&(J(0),G(1,"b-issue-reference-widget",10),R(2),H(),I(3,"mat-icon",7),L());if(a&2){a=b.$implicit;b=b.last;var c=N();z(1);F("href",c.getIssueLink(a))("issueId",a);z(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=XAa(a)):a=String(a);
Af(a);z(1);mf("last",b)}},Ytb=function(a){a&1&&(J(0),R(1,"\u2026 >"),L())},Ztb=function(a){a&1&&(J(0),R(1,"\u2026"),L())},$tb=function(a){if(a&1){var b=v();G(0,"a",16);M("click",function(){w(b);var c=N(4);return y(c.compactMode$.next(!1))});Q(1,Ytb,2,0,"ng-container",6);Q(2,Ztb,2,0,"ng-container",6);H()}a&2&&(a=N().$implicit,z(1),F("ngIf",a.isSpliced),z(1),F("ngIf",a.isTruncated))},aub=function(a){a&1&&(G(0,"a",17),R(1),H());if(a&2){a=N().$implicit;var b=yf(7);mf("muted",a.name==a.id);F("routerLinkObj",
a.route)("onedevHovercardTrigger",b);z(1);Af(a.name)}},bub=function(a){a&1&&(G(0,"span",18),R(1),H());a&2&&(a=N().$implicit,mf("muted",a.name==a.id),z(1),Af(a.name))},cub=function(a){a&1&&(J(0),R(1," > "),L())},dub=function(a){a&1&&(J(0),I(1,"b-component-path-card",19,20),L());if(a&2){var b=yf(2);a=N().$implicit;z(1);F("onedevIsHovercardReady",b.init)("componentId",a.id)}},eub=function(a,b){a&1&&(J(0),Q(1,$tb,3,2,"a",11),Q(2,aub,2,5,"a",12),Q(3,bub,2,3,"ng-template",null,13,Vf),Q(5,cub,2,0,"ng-container",
6),G(6,"onedev-hovercard",null,14),Q(8,dub,3,2,"ng-container",15),H(),L());if(a&2){a=b.$implicit;b=b.last;var c=yf(4),d=N(3);z(1);F("ngIf",a.isSpliced||a.isTruncated);z(1);F("ngIf",!d.viewOnly)("ngIfElse",c);z(3);F("ngIf",!b)}},fub=function(a,b){a&1&&(G(0,"span",9),Q(1,eub,9,4,"ng-container",10),H());a&2&&(a=b.$implicit,z(1),F("ngForOf",a))},gub=function(a){a&1&&(G(0,"span"),R(1,"[Archived]"),H())},hub=function(a){if(a&1){var b=v();G(0,"button",21);M("click",function(){w(b);N(2).editing=!0;return y()});
I(1,"mat-icon",22);H()}},iub=function(a){a&1&&(G(0,"a",23),S(1,"async"),I(2,"mat-icon",24),H());if(a&2){a=N(2);var b;F("routerLinkObj",a.popoutLink(null==(b=T(1,1,a.component$))?null:b.componentId))}},jub=function(a){a&1&&(G(0,"b-async-data-placeholder",2),S(1,"async"),G(2,"div",3),I(3,"mat-icon",4),Q(4,fub,2,1,"span",5),S(5,"async"),Q(6,gub,2,0,"span",6),S(7,"async"),Q(8,hub,2,0,"button",7),Q(9,iub,3,3,"a",8),H()());a&2&&(a=N(),F("isReady",T(1,6,a.isReady$)),z(3),F("svgIcon",a.currentTracker.enableTrackersComponentPathTruncation&&
a.currentTracker.inTracker?"folder_special_24px":"folder"),z(1),F("ngIf",T(5,8,a.componentPath$)),z(2),F("ngIf",T(7,10,a.isArchived$)),z(2),F("ngIf",!a.viewOnly),z(1),F("ngIf",a.popoutLink))},lub=function(a){if(a&1){var b=v();G(0,"b-team-component-picker",25);M("selectedComponentChange",function(c){w(b);var d=N();d.editing=!1;c&&kub(d.issueEditComponentService,d.issueId,c);return y()})("dropdownClosed",function(){w(b);N().editing=!1;return y()});S(1,"async");H()}a&2&&(a=N(),F("selectedComponent",
T(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},mub=function(a){a&1&&(fd(),gd(),J(0),R(1,"Insights"),L())},nub=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)})},oub=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},
pub=function(a){if(a&1){var b=v();G(0,"b-insights-graph-menu",2);M("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();F("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},qub=function(a){a&1&&(J(0),Q(1,pub,1,3,"b-insights-graph-menu",1),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,1,a.shouldShowInsightsGraphMenu$)))},rub=function(a){a&1&&rf(0)},sub=function(a){a&1&&(J(0),Q(1,rub,1,0,"ng-container",5),L());
a&2&&(a=N(),z(1),F("ngTemplateOutlet",a.content))},tub=function(a,b){if(a&1){var c=v();G(0,"button",13);M("click",function(e){var g=w(c).$implicit;return y(g.action(e))});I(1,"mat-icon",14);R(2);H()}if(a&2){a=b.$implicit;var d;F("disabled",a.disabled)("title",a.title);bf("aria-label",a.title);z(1);F("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");z(1);zf(" ",a.label," ")}},uub=function(a){if(a&1){var b=v();J(0);G(1,"button",15);M("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);R(3," Retention: ");I(4,"retention-text",17);R(5," \u00a0 ");I(6,"help-hover",18);H();L()}if(a&2){a=N().ngIf;var c=yf(14);z(4);F("retentionState",a.retentionState);z(2);F("content",c)}},vub=function(a){a&1&&(J(0),I(1,"retention-help-text",19),L());a&2&&(a=N(2).ngIf,z(1),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},wub=function(a){a&1&&Q(0,vub,2,2,"ng-container",0);a&2&&(a=N().ngIf,F("ngIf",
a.retentionState&&a.modifiedTimeMilliseconds))},xub=function(a,b){if(a&1){var c=v();J(0);I(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);G(3,"smart-dupe-btn",3,4);M("onHotkey",function(){w(c);var e=yf(4);return y(nRa(e))});H();G(5,"b-notification-menu",5);M("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);G(7,"button",7);I(8,
"mat-icon",8);H();G(9,"mat-menu",9,10);Q(11,tub,3,5,"button",11);Q(12,uub,7,2,"ng-container",0);H();Q(13,wub,1,1,"ng-template",null,12,Vf);L()}if(a&2){a=b.ngIf;var d=yf(10);b=N();z(1);F("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);z(1);F("issueId",a.issueId);z(1);F("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);z(2);F("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);z(1);F("iconOnly",!0);z(1);F("matMenuTriggerFor",d);z(4);F("ngForOf",
a.menuItems);z(1);F("ngIf",b.retentionEnabled)}},yub=function(){},zub=function(a){a&1&&(G(0,"output"),R(1),S(2,"async"),H());if(a&2){a=N().ngIf;var b=N();z(1);Bf(" ",a," of ",T(2,2,b.currentSearchResults.totalText$)," ")}},Dub=function(a,b){if(a&1){var c=v();J(0);Q(1,zub,3,4,"output",0);G(2,"span",1)(3,"button",2);M("onHotkey",function(){w(c);var d=N();return y(Aub(d.currentSearchResults))})("click",function(){w(c);var d=N();return y(Aub(d.currentSearchResults))});S(4,"async");I(5,"mat-icon",3);H();
G(6,"button",4);M("onHotkey",function(){w(c);var d=N();return y(Bub(d.currentSearchResults))})("click",function(){w(c);var d=N();return y(Bub(d.currentSearchResults))});S(7,"async");I(8,"mat-icon",5);H()();L()}a&2&&(a=b.ngIf,b=N(),z(1),F("ngIf",-1!==a),z(1),F("ngClass",Ff(10,Cub,-1===a)),z(1),F("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!T(4,6,b.currentSearchResults.hasPreviousIssue$)),z(3),F("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!T(7,8,b.currentSearchResults.hasNextIssue$)))},
Fub=function(a,b){if(a&1){var c=v();J(0);G(1,"mat-checkbox",21);M("click",function(e){return e.stopPropagation()})("change",function(e){var g=w(c).$implicit,h=N(2);g=g.value.user;e=e.source.checked;var l=h.trustedCollaboratorsEmailToDetailsMap.get(g.emailAddress).specifiedOnIssue;e?(l||h.addedTrustedCollaborators.add(g),h.removedTrustedCollaborators.delete(g)):(l&&h.removedTrustedCollaborators.add(g),h.addedTrustedCollaborators.delete(g));var q;Eub(h,null!=(q=h.updatedAccessLimitLevel$.getValue())?
q:h.defaultAccessLimitLevel);return y()});S(2,"async");H();G(3,"span",22);R(4);H();L()}if(a&2){a=b.$implicit;b=N(2);var d;z(1);F("disabled","LIMIT_NONE"===(null!==(d=T(2,5,b.updatedAccessLimitLevel$))&&void 0!==d?d:b.defaultAccessLimitLevel))("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue);z(3);Af(a.key)}},Gub=function(a){a&1&&(J(0),G(1,"div")(2,"span",17),R(3,"Add trusted groups"),H(),I(4,"mat-icon",18),H(),G(5,"div",19),S(6,"async"),Q(7,Fub,5,7,"ng-container",20),S(8,"keyvalue"),H(),
L());if(a&2){a=N();var b;z(5);mf("disabled","LIMIT_NONE"===(null!==(b=T(6,3,a.updatedAccessLimitLevel$))&&void 0!==b?b:a.defaultAccessLimitLevel));z(2);F("ngForOf",T(8,5,a.trustedCollaboratorsEmailToDetailsMap))}},Hub=function(a){if(a&1){var b=v();J(0);G(1,"button",23);M("click",function(){w(b);var c=N();return y(c.onPressCancel())});R(2," Cancel ");H();G(3,"button",24);M("click",function(){w(b);var c=N();return y(c.onPressSave())});S(4,"async");R(5," Save ");H();L()}a&2&&(a=N(),z(3),F("disabled",
!T(4,1,a.hasSelectionChanged$)))},Iub=function(a){if(a&1){var b=v();G(0,"button",25);M("click",function(){w(b);var c=N();return y(c.onPressCancel())});R(1," Close ");H()}},Jub=function(a){a&1&&I(0,"b-access-level-indicator",6);a&2&&(a=N(2).$implicit,F("accessLevel",a.accessLevel))},Kub=function(a){a&1&&I(0,"b-access-limits-chip",7);a&2&&(a=N(2).$implicit,F("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},Lub=function(a){a&1&&I(0,"b-retention-chip",8);
a&2&&(a=N(2).$implicit,F("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},Mub=function(a){a&1&&(G(0,"div",2),Q(1,Jub,1,1,"b-access-level-indicator",3),Q(2,Kub,1,3,"b-access-limits-chip",4),Q(3,Lub,1,3,"b-retention-chip",5),H());a&2&&(a=N().$implicit,z(1),F("ngIf",a.isShowingPublicPartner),z(1),F("ngIf",a.isAccessLimited),z(1),F("ngIf",a.isShowingRetention))},Nub=function(a,b){a&1&&(J(0),Q(1,Mub,4,3,"div",1),L());a&2&&(a=b.$implicit,z(1),F("ngIf",a.isShowingPublicPartner||
a.isShowingRetention||a.isAccessLimited))},Oub=function(a){a&1&&rf(0)},Pub=function(a){a&1&&(J(0),Q(1,Oub,1,0,"ng-container",23),L());if(a&2){N();var b=yf(12);z(1);F("ngTemplateOutlet",b)}},Qub=function(a,b){a&1&&I(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=N(3),F("ancestors",a)("issueId",b.issueId))},Rub=function(a){a&1&&(J(0),I(1,"b-component-breadcrumb-chip",26),S(2,"async"),G(3,"div",27),Q(4,Qub,1,2,"ancestors-breadcrumbs",28),S(5,"async"),I(6,"b-issue-id-picker",29),S(7,"async"),S(8,"async"),
S(9,"async"),H(),L());a&2&&(a=N(2),z(1),F("componentId",T(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),z(3),F("ngIf",T(5,10,a.ancestors$)),z(2),F("issueId",a.issueId)("componentId",T(7,12,a.componentId$))("issueTitle",T(8,14,a.issueTitle$))("isExternalIssue",!!T(9,16,a.isWithinExternalComponent$)))},Sub=function(a){if(a&1){var b=v();G(0,"b-team-chip",24);M("onTeamLoaded",function(){w(b);var c=N();return y(c.isTeamLoaded=!0)});S(1,"async");S(2,"async");H();Q(3,Rub,10,18,"ng-container",
25)}a&2&&(a=N(),F("componentId",T(1,3,a.componentId$))("teamId",T(2,5,a.teamId$)),z(3),F("ngIf",a.isTeamLoaded))},Tub=function(a){a&1&&(J(0),I(1,"b-component-breadcrumb-chip",31),S(2,"async"),G(3,"div",32),I(4,"b-issue-id-picker",33),S(5,"async"),S(6,"async"),S(7,"async"),H(),L());a&2&&(a=N(2),z(1),F("componentId",T(2,6,a.componentId$))("issueId",a.issueId),z(3),F("issueId",a.issueId)("componentId",T(5,8,a.componentId$))("issueTitle",T(6,10,a.issueTitle$))("isExternalIssue",!!T(7,12,a.isWithinExternalComponent$)))},
Uub=function(a){if(a&1){var b=v();G(0,"b-team-chip",24);M("onTeamLoaded",function(){w(b);var c=N();return y(c.isTeamLoaded=!0)});S(1,"async");S(2,"async");H();Q(3,Tub,8,14,"ng-container",25)}a&2&&(a=N(),F("componentId",T(1,3,a.componentId$))("teamId",T(2,5,a.teamId$)),z(3),F("ngIf",a.isTeamLoaded))},Vub=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N().$implicit,z(1),zf(" ",a," "))},Wub=function(a,b){a&1&&(G(0,"div",34),I(1,"mat-icon",35),Q(2,Vub,2,1,"ng-container",25),H());if(a&2){a=b.$implicit;N();var c=
yf(36);F("onedevHovercardTrigger",c);z(2);F("ngIf",2<=a)}},Xub=function(a){a&1&&(J(0),I(1,"b-list-issues-card",36,37),S(3,"async"),L());if(a&2){var b=yf(2);a=N();var c=yf(36);z(1);F("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",T(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},Yub=function(a){return 1===a?"Blocked":"Blocked by "+a+" issues"},Zub=function(a){if(0!==a.length)return 1===a.length?Qr.ISSUE(a[0]):Qr.ISSUE_LIST},
$ub=function(a,b){a&1&&(G(0,"div",1),I(1,"img",2),G(2,"h3"),R(3),H(),G(4,"a",3),S(5,"async"),R(6),H()());a&2&&(a=b.$implicit,b=N(),z(1),F("src",null==a.branding?null:a.branding.logoUrl,Id),z(2),zf("This issue is a part of the ",a.name," tracker."),z(1),F("href",T(5,4,b.trackerRedirectUrl$),Id),z(2),zf(" View in ",a.name," Tracker "))},avb=function(a){a&1&&(G(0,"div")(1,"ol")(2,"li")(3,"label"),R(4,"Issue ID"),H(),G(5,"output"),R(6),H()(),G(7,"li")(8,"label"),R(9,"Type"),H(),G(10,"output"),R(11),H()(),
G(12,"li")(13,"label"),R(14,"Status"),H(),G(15,"output"),R(16),H()()()());a&2&&(a=N(2),z(6),Af(a.issueId),z(5),Af(a.issueType),z(5),Af(a.issueStatus))},bvb=function(a){a&1&&(G(0,"div",1)(1,"div",2),I(2,"img",3),S(3,"async"),I(4,"mat-icon",4)(5,"img",3),S(6,"async"),H(),G(7,"h3",5),R(8),S(9,"async"),H(),Q(10,avb,17,3,"div",6),G(11,"div",7)(12,"a",8),S(13,"async"),R(14,"Continue"),H()()());a&2&&(a=N(),z(2),F("src",T(3,5,a.currentTrackerLogo$),Id),z(3),F("src",T(6,7,a.trackerLogo$),Id),z(3),zf(" Redirecting to ",
T(9,9,a.trackerName$)," "),z(2),F("ngIf",null!=a.issue),z(2),F("href",T(13,11,a.trackerRedirectUrl$),Id))},cvb=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))},dvb=function(a){if(a&1){var b=v();G(0,"input",3,4);M("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(),F("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("ngModel",a.inputValue))},evb=function(a){a&1&&rf(0)},gvb=function(a){a&1&&(J(0),Q(1,evb,1,0,"ng-container",6),L());a&2&&(a=N(),z(1),F("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",
Ff(2,fvb,a.email)))},hvb=function(a){a&1&&R(0);a&2&&(a=N(),zf(" ",a.email," "))},ivb=function(a){a&1&&(fd(),G(0,"svg",7),I(1,"path",8),H())},jvb=function(a){a&1&&I(0,"b-user-membership-chip",4);if(a&2){a=N().$implicit;var b=N(),c;F("email",a)("teamId",null!==(c=b.teamId)&&void 0!==c?c:"")("enableSmallChip",!0)}},kvb=function(a,b){a&1&&Q(0,jvb,1,3,"b-user-membership-chip",3);a&2&&F("ngIf",b.$implicit)},lvb=function(a){a&1&&rf(0)},mvb=function(a){a&1&&(J(0),Q(1,lvb,1,0,"ng-container",48),L());if(a&
2){N();var b=yf(109);z(1);F("ngTemplateOutlet",b)}},ovb=function(a,b){a&1&&I(0,"b-list-field",50);a&2&&(a=b.ngIf,b=N(3),F("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Ff(5,nvb,a)))},pvb=function(a){a&1&&(J(0),Q(1,ovb,1,7,"b-list-field",49),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.teamHovercardInputs$)))},rvb=function(a){if(a&1){var b=v();G(0,"div",52)(1,"b-team-warning",53);M("updateTeam",function(){w(b);var h=N(3);h.issueFridge.poke(h.issueId);
return y()});S(2,"async");S(3,"async");H()()}if(a&2){a=N().ngIf;var c=N().ngIf,d=N(),e,g;z(1);F("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=T(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(g=T(3,6,d.teamSuggestions$))&&void 0!==g?g:Ef(8,qvb))}},svb=function(a){a&1&&(J(0),Q(1,rvb,4,9,"div",51),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.shouldDisplayTeamSuggestions$)))},uvb=function(a){if(a&1){var b=v();J(0);G(1,"b-edit-field",54,
55);M("valueChange",function(g){w(b);var h=yf(2),l=N(2);return y(tvb(l,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");H();L()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);F("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",!T(3,10,c.hasAclToEdit$))("disabled",!!T(4,12,c.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(e=T(5,14,c.teamId$))&&void 0!==e?e:"")}},
wvb=function(a){if(a&1){var b=v();G(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Reporter");H();G(3,"onedev-field-value",56);S(4,"async");G(5,"b-user-picker",57);M("emailChange",function(e){w(b);var g=N(2);return y(vvb(g.editIssueService,g.issueId,e))});S(6,"async");S(7,"async");H()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);F("thinking",!!T(4,4,c.isSaving$("reporter")));z(2);F("user",a.reporterUser)("teamId",null!==(d=T(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!T(7,8,c.hasAclToEdit$))}},
xvb=function(a){a&1&&rf(0)},yvb=function(a){a&1&&(J(0),Q(1,xvb,1,0,"ng-container",48),L());if(a&2){N();var b=yf(111);z(1);F("ngTemplateOutlet",b)}},zvb=function(a,b){if(a&1){var c=v();G(0,"div",59);I(1,"div",60);G(2,"span",61);M("click",function(){var d=w(c).ngIf,e=N(3);return y(Rr(e,d))})("keydown.enter",function(d){var e=w(c).ngIf;Rr(N(3),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Rr(N(3),e);d.stopPropagation();return y(d.preventDefault())});
S(3,"async");S(4,"async");R(5);H()()}a&2&&(a=b.ngIf,b=N(3),z(2),mf("disabled",!!T(3,6,b.isSaving$("status"))),F("matTooltip",a.description||""),bf("aria-disabled",!!T(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),z(3),zf(" ",a.displayText," "))},Avb=function(a){a&1&&(J(0),Q(1,zvb,6,10,"div",58),S(2,"async"),L());a&2&&(a=N(2),z(1),F("ngIf",T(2,1,a.issueStatusQuickAction$)))},Bvb=function(a){a&1&&(I(0,"b-issue-card",62,63),S(2,"async"));if(a&2){var b=yf(1);a=N(2);F("onedevIsHovercardReady",
b.init)("issueId",T(2,2,a.canonicalIssueId$))}},Dvb=function(a){if(a&1){var b=v();G(0,"b-estimated-effort-row",64);M("effortChange",function(e){w(b);var g=N(2);return y(Cvb(g.editIssueService,g.issueId,e))});S(1,"async");S(2,"async");S(3,"async");H()}if(a&2){a=N(2);var c,d;F("effort",null!==(c=T(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=T(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!T(3,7,a.hasAclToEdit$))}},Evb=function(a){a&1&&(G(0,"div"),R(1," Expanded access is turned on for this component. Assignees, verifiers and collaborators can edit issues in this component, and CC'd users can comment on them. "),
G(2,"a",70),R(3,"Learn more"),H()());a&2&&(a=N(3),z(2),F("href",Fn(a.documentationLinks)+"#expanded-access",Id))},Fvb=function(a){a&1&&(G(0,"div",65)(1,"span",66),R(2,"Expanded Access"),H(),G(3,"xap-bubble",67)(4,"xap-icon-trigger"),I(5,"mat-icon",68),H(),Q(6,Evb,4,1,"ng-template",null,69,Vf),H()());if(a&2){var b=yf(7);z(3);F("panelTemplate",b)}},Gvb=function(a){a&1&&(G(0,"span",76),S(1,"async"),R(2),H());if(a&2){a=N().ngIf;var b=N(4);mf("disabled",!!T(1,3,b.isSaving$("assignee")));z(2);zf(" ",a.displayText,
" ")}},Hvb=function(a,b){if(a&1){var c=v();G(0,"div",74);M("onHotkey",function(){var d=w(c).ngIf,e=N(4);return y(Rr(e,d))})("click",function(){var d=w(c).ngIf,e=N(4);return y(Rr(e,d))})("keydown.enter",function(d){var e=w(c).ngIf;Rr(N(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Rr(N(4),e);d.stopPropagation();return y(d.preventDefault())});S(1,"async");I(2,"div",60);Q(3,Gvb,3,5,"span",75);S(4,"async");H()}a&2&&(a=b.ngIf,b=N(4),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",
a.description),bf("aria-disabled",!!T(1,5,b.isSaving$("assignee")))("aria-label",a.description),z(3),F("ngIf",T(4,7,b.hasAclToEdit$)))},Ivb=function(a){a&1&&(J(0),Q(1,Hvb,5,9,"div",73),S(2,"async"),L());a&2&&(a=N(3),z(1),F("ngIf",T(2,1,a.issueAssigneeQuickAction$)))},Kvb=function(a){if(a&1){var b=v();J(0);G(1,"b-edit-field",71,72);M("onHotkey",function(){w(b);var g=yf(2);return y(lp(g,null,!0,!1))})("valueChange",function(g){w(b);var h=yf(2),l=N(2);return y(Jvb(l,h,null!==g&&void 0!==g?g:""))});S(3,
"async");S(4,"async");S(5,"async");H();Q(6,Ivb,3,3,"ng-container",0);L()}if(a&2){a=N().ngIf;var c=N(),d,e;z(1);F("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",!T(3,12,c.hasAclToEdit$))("disabled",!!T(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=T(5,16,c.teamId$))&&void 0!==e?e:"");z(5);F("ngIf",c.defaultAssigneeQuickActionEnabled)}},
Mvb=function(a){if(a&1){var b=v();G(0,"div",81);M("click",function(){w(b);var c=N(3);return y(Lvb(c.editIssueService,c.issueId,""))});R(1," Un-assign ");H()}},Nvb=function(a,b){if(a&1){var c=v();G(0,"div",83);M("onHotkey",function(){var d=w(c).ngIf,e=N(4);return y(Rr(e,d))})("click",function(){var d=w(c).ngIf,e=N(4);return y(Rr(e,d))})("keydown.enter",function(d){var e=w(c).ngIf;Rr(N(4),e);d.stopPropagation();return y(d.preventDefault())})("keydown.space",function(d){var e=w(c).ngIf;Rr(N(4),e);d.stopPropagation();
return y(d.preventDefault())});S(1,"async");S(2,"async");R(3);H()}a&2&&(a=b.ngIf,b=N(4),mf("disabled",!!T(1,7,b.isSaving$("assignee"))),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),bf("aria-disabled",!!T(2,9,b.isSaving$("assignee")))("aria-label",a.description),z(3),zf(" ",a.displayText," "))},Ovb=function(a){a&1&&(J(0),Q(1,Nvb,4,11,"div",82),S(2,"async"),L());a&2&&(a=N(3),z(1),F("ngIf",T(2,1,a.issueAssigneeQuickAction$)))},Pvb=function(a){if(a&1){var b=v();G(0,
"onedev-edit-field")(1,"onedev-field-label");R(2,"Assignee");H();G(3,"onedev-field-value",56);S(4,"async");G(5,"b-user-picker",77,78);M("onHotkey",function(){w(b);var e=yf(6);return y(e.openPopOver())})("emailChange",function(e){w(b);var g=N(2);return y(Lvb(g.editIssueService,g.issueId,e))});S(7,"async");S(8,"async");H();G(9,"div",79);Q(10,Mvb,2,0,"div",80);S(11,"async");Q(12,Ovb,3,3,"ng-container",0);S(13,"async");H()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);F("thinking",!!T(4,7,c.isSaving$("assignee")));
z(2);F("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(d=T(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!T(8,11,c.hasAclToEdit$));z(5);F("ngIf",a.assigneeUser&&T(11,13,c.hasAclToEdit$));z(2);F("ngIf",c.defaultAssigneeQuickActionEnabled&&T(13,15,c.hasAclToEdit$))}},Rvb=function(a){if(a&1){var b=v();J(0);G(1,"b-edit-field",84,85);M("valueChange",function(g){w(b);var h=yf(2),l=N(2);return y(Qvb(l,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");H();L()}if(a&
2){a=N().ngIf;var c=N(),d,e;z(1);F("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",!T(3,10,c.hasAclToEdit$))("disabled",!!T(4,12,c.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(e=T(5,14,c.teamId$))&&void 0!==e?e:"")}},Tvb=function(a){if(a&1){var b=v();G(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Verifier");H();G(3,"onedev-field-value",56);S(4,"async");G(5,"b-user-picker",
57);M("emailChange",function(e){w(b);var g=N(2);return y(Svb(g.editIssueService,g.issueId,e))});S(6,"async");S(7,"async");H()()()}if(a&2){a=N().ngIf;var c=N(),d;z(3);F("thinking",!!T(4,4,c.isSaving$("verifier")));z(2);F("user",a.verifierUser)("teamId",null!==(d=T(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!T(7,8,c.hasAclToEdit$))}},Uvb=function(a){a&1&&(G(0,"span"),R(1," Remove me "),H())},Vvb=function(a){a&1&&(G(0,"span"),R(1," Add me "),H())},Xvb=function(a){if(a&1){var b=v();G(0,"div",16);M("click",
function(){w(b);var c=N(2);return y(Wvb(c))})("keydown.enter",function(c){w(b);var d=N(2);Wvb(d);c.stopPropagation();c.preventDefault();return y()})("keydown.space",function(c){w(b);var d=N(2);Wvb(d);c.stopPropagation();c.preventDefault();return y()});S(1,"async");S(2,"async");S(3,"async");S(4,"async");Q(5,Uvb,2,0,"span",0);S(6,"async");Q(7,Vvb,2,0,"span",0);S(8,"async");S(9,"async");H()}a&2&&(a=N(2),mf("disabled",!!T(1,7,a.isSaving$("collaborators"))),F("matTooltip",T(4,13,a.isCurrentUserCollaborator$)?
"Remove yourself from collaborators":"Add yourself to collaborators"),bf("aria-disabled",!!T(2,9,a.isSaving$("collaborators")))("aria-label",T(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),z(5),F("ngIf",T(6,15,a.isCurrentUserCollaborator$)),z(2),F("ngIf",!T(8,17,a.isCurrentUserCollaborator$)&&T(9,19,a.hasAclToEdit$)))},Yvb=function(a){a&1&&(G(0,"span"),R(1," Un-CC me "),H())},Zvb=function(a){a&1&&(G(0,"span"),R(1," CC me "),H())},awb=function(a){if(a&
1){var b=v();G(0,"div",16);M("click",function(){w(b);var c=N(2);return y($vb(c))})("keydown.enter",function(c){w(b);var d=N(2);$vb(d);c.stopPropagation();c.preventDefault();return y()})("keydown.space",function(c){w(b);var d=N(2);$vb(d);c.stopPropagation();c.preventDefault();return y()});S(1,"async");S(2,"async");S(3,"async");S(4,"async");Q(5,Yvb,2,0,"span",0);S(6,"async");Q(7,Zvb,2,0,"span",0);S(8,"async");S(9,"async");H()}a&2&&(a=N(2),mf("disabled",!!T(1,7,a.isSaving$("ccs"))),F("matTooltip",T(4,
13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),bf("aria-disabled",!!T(2,9,a.isSaving$("ccs")))("aria-label",T(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),z(5),F("ngIf",T(6,15,a.isCurrentUserCCd$)),z(2),F("ngIf",!T(8,17,a.isCurrentUserCCd$)&&T(9,19,a.isAllowedToEditCC$)))},bwb=function(a){a&1&&rf(0)},cwb=function(a){a&1&&(J(0),Q(1,bwb,1,0,"ng-container",48),L());if(a&2){N();var b=yf(113);z(1);F("ngTemplateOutlet",b)}},dwb=function(a){a&1&&I(0,
"b-list-field",86);if(a&2){a=N().ngIf;var b=N(2);F("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},ewb=function(a,b){a&1&&(J(0),Q(1,dwb,1,6,"b-list-field",35),S(2,"async"),L());a&2&&(a=b.ngIf,b=N(2),z(1),F("ngIf",T(2,1,b.shouldDisplayWtdmUi$)&&a.length))},fwb=function(a){a&1&&I(0,"b-list-field",86);if(a&2){a=N().ngIf;var b=N();F("readonly",!0)("defaultLineCount",3)("title",
"Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},hwb=function(a,b){a&1&&(G(0,"div"),rf(1,87),H());if(a&2){a=b.$implicit;N();var c=yf(125);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ff(2,gwb,a))}},iwb=function(a){a&1&&rf(0)},jwb=function(a){a&1&&(J(0),Q(1,iwb,1,0,"ng-container",48),L());if(a&2){N();var b=yf(123);z(1);F("ngTemplateOutlet",b)}},kwb=function(a){a&1&&I(0,"hr",88)},lwb=function(a){a&
1&&rf(0)},mwb=function(a){a&1&&(J(0),Q(1,lwb,1,0,"ng-container",48),L());if(a&2){N(2);var b=yf(109);z(1);F("ngTemplateOutlet",b)}},nwb=function(a){a&1&&rf(0)},owb=function(a){a&1&&(J(0),Q(1,nwb,1,0,"ng-container",48),L());if(a&2){N(2);var b=yf(111);z(1);F("ngTemplateOutlet",b)}},pwb=function(a){a&1&&rf(0)},qwb=function(a){a&1&&(J(0),Q(1,pwb,1,0,"ng-container",48),L());if(a&2){N(2);var b=yf(113);z(1);F("ngTemplateOutlet",b)}},rwb=function(a,b){a&1&&(G(0,"div"),rf(1,87),H());if(a&2){a=b.$implicit;N(2);
var c=yf(125);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ff(2,gwb,a))}},swb=function(a){a&1&&rf(0)},twb=function(a){a&1&&(J(0),Q(1,swb,1,0,"ng-container",48),L());if(a&2){N(2);var b=yf(123);z(1);F("ngTemplateOutlet",b)}},uwb=function(a){a&1&&(G(0,"collapsible-panel",89),S(1,"async"),Q(2,mwb,2,1,"ng-container",0),S(3,"async"),Q(4,owb,2,1,"ng-container",0),S(5,"async"),Q(6,qwb,2,1,"ng-container",0),S(7,"async"),Q(8,rwb,2,4,"div",36),S(9,"async"),Q(10,twb,2,1,"ng-container",0),S(11,"async"),
H());if(a&2){a=N(2);var b;F("titleWhenCollapsed",null!==(b=T(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");z(2);F("ngIf",a.showSloStatus&&!T(3,10,a.isSloStatusPrimary$));z(2);F("ngIf",!T(5,12,a.isSeverityPrimary$));z(2);F("ngIf",a.showChangelists&&!T(7,14,a.isChangelistPrimary$));z(2);F("ngForOf",T(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);z(2);F("ngIf",!T(11,18,a.isForgottenFourPrimary$))}},vwb=function(a){if(a&1){var b=v();G(0,
"b-issue-slo-box",91);M("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))});S(1,"async");S(2,"async");S(3,"async");S(4,"async");H()}if(a&2){a=N(2).ngIf;var c=N(),d,e,g;F("sloStatus",null!==(d=T(1,7,c.sloStatus$))&&void 0!==d?d:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",null!==(e=T(2,9,c.sloId$))&&
void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!T(3,11,c.hasAclToEdit$))("issueCreationTimestamp",null!==(g=T(4,13,c.createdTimeMicros$))&&void 0!==g?g:0)}},wwb=function(a){a&1&&Q(0,vwb,5,15,"ng-template",90);a&2&&(a=N(2),F("refreshable",a.refreshMonitor.getObservable()))},ywb=function(a){if(a&1){var b=v();G(0,"b-edit-field",92);M("valueChange",function(d){w(b);var e=N(2);return y(xwb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"async");S(2,"async");H()}if(a&2){a=
N().ngIf;var c=N();F("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity, which reflects how much the issue affects the use of the product")("value",a.severity)("choices",c.severityChoices)("readonly",!T(1,8,c.hasAclToEdit$))("disabled",!!T(2,10,c.isSaving$("severity")))}},zwb=function(a){if(a&1){var b=v();G(0,"insights-graph-btn",96);M("pressed",function(){w(b);var c=N(3).issueInsightsSidebarService;c.analytics.trackEvent(Gn.SIDEBAR,"ingress-click");c.openSidebar("deployments");
return y()});H()}},Bwb=function(a){if(a&1){var b=v();G(0,"b-list-field",93);M("valuesChange",function(h){w(b);var l=N(2);return y(Awb(l.editIssueService,l.issueId,h.values))});S(1,"async");S(2,"async");G(3,"div",94);Q(4,zwb,1,0,"insights-graph-btn",95);S(5,"async");H()();I(6,"b-list-field",86);S(7,"async");S(8,"async");S(9,"async")}if(a&2){a=N().ngIf;var c=N(),d,e,g;F("readonly",!T(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",
!!T(2,17,c.isSaving$("changelists")));z(4);F("ngIf",T(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));z(2);mf("bv2-issue-metadata-error",null==(d=T(7,21,c.pendingChangelists$))?null:d.hasError);F("readonly",!0)("defaultLineCount",3)("title","Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=T(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:Ef(27,qvb))("tooltip",(null==(g=T(9,25,c.pendingChangelists$))?0:g.hasError)?"Error fetching pending CLs":
"Pending changelists (auto-populated)")}},Dwb=function(a){if(a&1){var b=v();G(0,"b-edit-field",97);M("valueChange",function(d){w(b);var e=N(2);return y(Cwb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");H()}if(a&2){a=N().ngIf;var c=N();F("name","foundInVersion")("title","Found In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product affected by this issue (comma-separated list)")("value",T(1,8,a.foundInVersion))("readonly",
!T(2,10,c.hasAclToEdit$))("disabled",!!T(3,12,c.isSaving$("foundInVersion")))}},Fwb=function(a){if(a&1){var b=v();G(0,"b-edit-field",98);M("valueChange",function(d){w(b);var e=N(2);return y(Ewb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");H()}if(a&2){a=N().ngIf;var c=N();F("name","targetedToVersion")("title","Targeted To")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue should be fixed (comma-separated list)")("value",
T(1,8,a.targetedToVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",!!T(3,12,c.isSaving$("targetedToVersion")))}},Hwb=function(a){if(a&1){var b=v();G(0,"b-edit-field",97);M("valueChange",function(d){w(b);var e=N(2);return y(Gwb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");H()}if(a&2){a=N().ngIf;var c=N();F("name","verifiedInVersion")("title","Verified In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue fix was verified (comma-separated list)")("value",
T(1,8,a.verifiedInVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",!!T(3,12,c.isSaving$("verifiedInVersion")))}},Jwb=function(a){if(a&1){var b=v();G(0,"b-edit-field",99);M("valueChange",function(d){w(b);var e=N(2);return y(Iwb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});S(1,"async");S(2,"async");H()}if(a&2){a=N().ngIf;var c=N();F("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!T(1,
7,c.hasAclToEdit$))("disabled",!!T(2,9,c.isSaving$("inProd")))}},Kwb=function(a){a&1&&rf(0)},Lwb=function(a){a&1&&rf(0)},Mwb=function(a){a&1&&rf(0)},Nwb=function(a){a&1&&rf(0)},Owb=function(a){a&1&&(G(0,"div",4),Q(1,Kwb,1,0,"ng-container",48),Q(2,Lwb,1,0,"ng-container",48),Q(3,Mwb,1,0,"ng-container",48),Q(4,Nwb,1,0,"ng-container",48),H());if(a&2){N();var b=yf(115),c=yf(117),d=yf(119),e=yf(121);z(1);F("ngTemplateOutlet",b);z(1);F("ngTemplateOutlet",c);z(1);F("ngTemplateOutlet",d);z(1);F("ngTemplateOutlet",
e)}},Qwb=function(a,b){if(a&1){var c=v();G(0,"b-custom-field-editor",100);M("save",function(e){var g=w(c).$implicit,h=N(2);return y(Pwb(h.editIssueService,h.issueId,g.customFieldId,e))});S(1,"async");S(2,"async");H()}if(a&2){a=b.$implicit;b=N().ngIf;var d=N();F("issue",b)("field",a)("readonly",!T(1,4,d.hasAclToEdit$))("disabled",!!T(2,6,d.isSaving$(a.customFieldId)))}},Wwb=function(a,b){if(a&1){var c=v();J(0);Q(1,mvb,2,1,"ng-container",0);S(2,"async");Q(3,pvb,3,3,"ng-container",0);Q(4,svb,3,3,"ng-container",
0);S(5,"async");Q(6,uvb,6,16,"ng-container",1);Q(7,wvb,8,10,"ng-template",null,2,Vf);G(9,"b-edit-field",3);M("valueChange",function(K){w(c);var O=N();return y(Rwb(O.editIssueService,O.issueId,null!==K&&void 0!==K?K:""))});S(10,"async");S(11,"async");H();G(12,"div",4)(13,"b-edit-field",5);M("onHotkey",function(K){w(c);var O=N();(K=kl("P"+K))&&Swb(O.editIssueService,O.issueId,K);return y()})("valueChange",function(K){w(c);var O=N();return y(Swb(O.editIssueService,O.issueId,null!==K&&void 0!==K?K:""))});
S(14,"async");S(15,"async");H();Q(16,yvb,2,1,"ng-container",0);S(17,"async");H();G(18,"div",6)(19,"b-edit-field",7);M("valueChange",function(K){w(c);var O=N();return y(Twb(O,null!==K&&void 0!==K?K:""))});S(20,"async");S(21,"async");S(22,"async");S(23,"async");H();Q(24,Avb,3,3,"ng-container",0);S(25,"async");H();G(26,"onedev-hovercard",null,8);Q(28,Bvb,3,4,"b-issue-card",9);H();Q(29,Dvb,4,9,"b-estimated-effort-row",10);S(30,"async");S(31,"async");G(32,"div",11)(33,"div",12)(34,"div",13)(35,"label");
R(36,"Access");H()();G(37,"div",14)(38,"span",15);R(39);S(40,"async");H();G(41,"div",16);M("click",function(){w(c);var K=N();return y(K.toggleAccessLimits())})("keydown.enter",function(K){w(c);var O=N();return y(O.toggleAccessLimitsWithKeystroke(K))})("keydown.space",function(K){w(c);var O=N();return y(O.toggleAccessLimitsWithKeystroke(K))});S(42,"async");S(43,"async");G(44,"span");R(45);S(46,"async");H()()()();G(47,"onedev-hovercard",null,17)(49,"div",18)(50,"div",19)(51,"span",20);R(52," Issue access level can only be set by Issue admins and it enables issue-level access control. ");
G(53,"a",21);R(54,"Learn more");H()()()()()();G(55,"div",22);S(56,"async");Q(57,Fvb,8,1,"div",23);S(58,"async");G(59,"div",24);Q(60,Kvb,7,18,"ng-container",1);Q(61,Pvb,14,17,"ng-template",null,25,Vf);H();Q(63,Rvb,6,16,"ng-container",1);Q(64,Tvb,8,10,"ng-template",null,26,Vf);J(66);G(67,"b-collaborators-field",27,28);M("valuesChange",function(K){w(c);var O=yf(68),P=N();return y(Uwb(P,O,K.values))});S(69,"async");S(70,"async");S(71,"async");G(72,"div",29);Q(73,Xvb,10,21,"div",30);S(74,"async");S(75,
"async");S(76,"async");H()();G(77,"onedev-hovercard",null,31)(79,"div",18)(80,"div",19)(81,"span",20);R(82," Collaborators are users who are actively working on an issue. ");G(83,"a",32);R(84,"Learn more.");H()()()()();G(85,"b-list-field",33,34);M("valuesChange",function(K){w(c);var O=yf(86),P=N();return y(Vwb(P,O,K.values))});S(87,"async");S(88,"async");S(89,"async");G(90,"div",29);Q(91,awb,10,21,"div",30);S(92,"async");S(93,"async");S(94,"async");H()();L();H();Q(95,cwb,2,1,"ng-container",0);S(96,
"async");Q(97,ewb,3,3,"ng-container",0);S(98,"async");Q(99,fwb,1,6,"b-list-field",35);Q(100,hwb,2,4,"div",36);S(101,"async");Q(102,jwb,2,1,"ng-container",0);S(103,"async");Q(104,kwb,1,0,"hr",37);S(105,"async");Q(106,uwb,12,20,"collapsible-panel",38);S(107,"async");Q(108,wwb,1,1,"ng-template",null,39,Vf);Q(110,ywb,3,12,"ng-template",null,40,Vf);Q(112,Bwb,10,28,"ng-template",null,41,Vf);Q(114,Dwb,4,14,"ng-template",null,42,Vf);Q(116,Fwb,4,14,"ng-template",null,43,Vf);Q(118,Hwb,4,14,"ng-template",null,
44,Vf);Q(120,Jwb,3,11,"ng-template",null,45,Vf);Q(122,Owb,5,4,"ng-template",null,46,Vf);Q(124,Qwb,3,8,"ng-template",null,47,Vf);L()}if(a&2){a=b.ngIf;var d=yf(8),e=yf(27),g=yf(48),h=yf(62),l=yf(65),q=yf(78);b=N();var x,A,B;z(1);F("ngIf",b.showSloStatus&&T(2,79,b.isSloStatusPrimary$));z(2);F("ngIf",b.sessionIsInternal);z(1);F("ngIf",T(5,81,b.teamWarningType$));z(2);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);z(3);F("name","type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",
!T(10,83,b.hasAclToEdit$))("disabled",!!T(11,85,b.isSaving$("type")));z(4);F("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",!T(14,87,b.hasAclToEdit$))("disabled",!!T(15,89,b.isSaving$("priority")));z(3);F("ngIf",T(17,91,b.isSeverityPrimary$));z(3);F("name","status")("title","Status")("type",b.FieldType.ENUM)("value",
a.status)("choices",null!==(x=T(20,93,b.statusChoices$))&&void 0!==x?x:Ef(155,qvb))("readonly",!T(21,95,b.hasAclToEdit$))("disabled",!!T(22,97,b.isSaving$("status")))("onedevHovercardActive",!!T(23,99,b.canonicalIssueId$))("onedevHovercardTrigger",e);z(5);F("ngIf",T(25,101,b.hasAclToEdit$));z(5);F("ngIf",b.sessionIsInternal&&T(30,103,b.isEffortEnabled$)&&!T(31,105,b.isWithinExternalComponent$));z(4);F("onedevHovercardTrigger",g)("onedevHovercardActive",!0)("onedevHovercardConfig",b.ACCESS_LIMITS_HOVERCARD_CONFIG);
z(6);Af(b.getAccessLimitLevelDisplay(T(40,107,b.accessLimitLevel$)));z(2);F("matTooltip",T(43,111,b.hasAclToAdmin$)?"Manage issue level access limits":"View issue level access limits");bf("aria-label",T(42,109,b.hasAclToAdmin$)?"Edit":"View");z(4);zf(" ",T(46,113,b.hasAclToAdmin$)?"Edit":"View"," ");z(8);F("href",b.documentationLinks.getIssueAccessLimit(),Id);z(2);mf("implicit-access-box",T(56,115,b.isImplicitAccessEnabled$));z(2);F("ngIf",T(58,117,b.isImplicitAccessEnabled$));z(3);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",
h);z(3);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",l);z(4);F("readonly",!T(69,119,b.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!T(70,121,b.isSaving$("collaborators")))("teamId",null!==(A=T(71,123,b.teamId$))&&void 0!==A?A:"")("isCollapsible",!0)("onedevHovercardTrigger",q)("onedevHovercardActive",!0)("onedevHovercardConfig",b.COLLABORATORS_HOVERCARD_CONFIG);z(6);F("ngIf",T(74,125,b.isCurrentUserCollaborator$)||!T(75,127,b.isCurrentUserCollaborator$)&&
T(76,129,b.hasAclToEdit$));z(12);xf("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");F("defaultLineCount",5)("readonly",!T(87,131,b.isAllowedToEditCC$))("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!T(88,133,b.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("teamId",null!==(B=T(89,135,b.teamId$))&&void 0!==B?B:"");z(6);F("ngIf",T(92,137,b.isCurrentUserCCd$)||!T(93,139,b.isCurrentUserCCd$)&&T(94,141,b.isAllowedToEditCC$));
z(4);F("ngIf",b.showChangelists&&T(96,143,b.isChangelistPrimary$));z(2);F("ngIf",T(98,145,b.workspaces$));z(2);F("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));z(1);F("ngForOf",T(101,147,b.visibleCustomFields$))("ngForTrackBy",b.trackCustomField);z(2);F("ngIf",T(103,149,b.isForgottenFourPrimary$));z(2);F("ngIf",T(105,151,b.hasHiddenFields$));z(2);F("ngIf",T(107,153,b.hasHiddenFields$))}},Xwb=function(a){a&1&&I(0,"edit-issue-metadata",5);a&2&&(a=N(),F("issueId",a.issueId))},
Ywb=function(a,b){if(a instanceof Element){var c=hi(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)}}},Zwb=function(a,b){a&1&&(G(0,"h2",5),R(1),H());a&2&&(a=b.ngIf,z(1),zf("Issue ",a,""))},$wb=function(a){a&1&&I(0,"div")},axb=function(a){a&1&&(G(0,"a",19),R(1,"Learn more"),H())},bxb=function(a){if(a&1){var b=v();G(0,"button",20);M("click",function(){var c=
w(b).ngIf,d=N(5);return y(d.editIssueService.unarchive(c))});R(1," Unarchive ");H()}},cxb=function(a){a&1&&(G(0,"b-callout",16)(1,"b-callout-body"),R(2,"This issue has been archived. "),Q(3,axb,2,0,"a",17),H(),G(4,"b-callout-actions"),Q(5,bxb,2,0,"button",18),S(6,"async"),H()());a&2&&(a=N(4),F("messageType","caution")("format","app")("iconOverride","archive_24px"),z(3),F("ngIf",a.activeSession.isInternalSession()),z(2),F("ngIf",T(6,5,a.id$)))},dxb=function(a){a&1&&(G(0,"a",23),R(1,"Learn more"),H())},
exb=function(a){a&1&&(G(0,"b-callout",21)(1,"b-callout-body"),R(2," This issue is in an archived component. "),Q(3,dxb,2,0,"a",22),H()());a&2&&(a=N(4),F("format","app")("iconOverride","archive_24px"),z(3),F("ngIf",a.activeSession.isInternalSession()))},fxb=function(a,b){a&1&&(J(0),R(1," Reason: "),G(2,"code"),R(3),H(),R(4,". "),L());a&2&&(a=b.$implicit,z(3),Af(a))},gxb=function(a){a&1&&(G(0,"a",27),R(1,"Learn more"),H())},ixb=function(a){if(a&1){var b=v();G(0,"button",28);M("click",function(){var d=
w(b).ngIf,e=N(5);return y(hxb(e.editIssueService,d))});S(1,"async");S(2,"async");R(3," Undelete ");H()}if(a&2){a=N(5);var c;F("matTooltip",null!==(c=T(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!T(2,4,a.permissions.canUndeleteIssue$))}},jxb=function(a){a&1&&(G(0,"b-callout",24)(1,"b-callout-body"),R(2," This issue has been deleted. "),Q(3,fxb,5,1,"ng-container",6),S(4,"async"),Q(5,gxb,2,0,"a",25),H(),G(6,"b-callout-actions"),Q(7,ixb,4,6,"button",26),S(8,"async"),H()());if(a&2){a=
N(4);var b;z(3);F("ngIf",null==(b=T(4,3,a.snapshot$))?null:b.deletionReason);z(2);F("ngIf",a.activeSession.isInternalSession());z(2);F("ngIf",T(8,5,a.id$))}},kxb=function(a,b){a&1&&(G(0,"output",37),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a," "))},mxb=function(a,b){a&1&&(G(0,"a",34,35),R(2),Q(3,kxb,2,1,"output",36),S(4,"async"),H());if(a&2){a=b.$implicit;var c=yf(1);F("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",Ef(7,lxb));z(2);zf(" ",a.title," ");z(1);F("ngIf",T(4,5,a.count$))}},
nxb=function(a,b){a&1&&(G(0,"header",29),I(1,"b-tracker-banner",30),S(2,"async"),S(3,"async"),I(4,"issue-header",31),G(5,"nav",32),Q(6,mxb,5,8,"a",33),H()());a&2&&(a=b.$implicit,b=N(4),z(1),F("issueId",T(2,4,b.id$))("trackerId",T(3,6,b.issueTrackerId$)),z(3),F("issueId",a),z(2),F("ngForOf",b.tabs))},oxb=function(a,b){a&1&&I(0,"issue-metadata-sidebar",31);a&2&&F("issueId",b.ngIf)},pxb=function(a){a&1&&(G(0,"div",8),S(1,"async"),Q(2,cxb,7,7,"b-callout",9),S(3,"async"),Q(4,exb,4,3,"b-callout",10),S(5,
"async"),Q(6,jxb,9,7,"b-callout",11),S(7,"async"),Q(8,nxb,7,8,"header",12),S(9,"async"),G(10,"div",13)(11,"article",14),I(12,"router-outlet"),H(),Q(13,oxb,1,1,"issue-metadata-sidebar",15),S(14,"async"),H()());a&2&&(a=N(3),mf("issue-editor-false",!T(1,7,a.permissions.hasAclToEdit$)),z(2),F("ngIf",T(3,9,a.archived$)),z(2),F("ngIf",T(5,11,a.inArchivedComponent$)),z(2),F("ngIf",T(7,13,a.deleted$)),z(2),F("ngIf",T(9,15,a.id$)),z(5),F("ngIf",T(14,17,a.id$)))},qxb=function(a){a&1&&(G(0,"div"),Q(1,pxb,15,
19,"div",7),S(2,"async"),H());if(a&2){a=N(2);var b=yf(7);z(1);F("ngIf",!T(2,2,a.showTrackerRedirect$))("ngIfElse",b)}},rxb=function(a){a&1&&(Q(0,qxb,3,4,"div",6),S(1,"async"));a&2&&(a=N(),F("ngIf",!T(1,1,a.issue404$)))},sxb=function(a){a&1&&(G(0,"div",38),I(1,"b-tracker-redirect",39),S(2,"async"),H());a&2&&(a=N(),z(1),F("issue",T(2,1,a.issue$)))},txb=function(a){a&1&&(G(0,"div",38),I(1,"b-access-denied-metadata",40),S(2,"async"),H());a&2&&(a=N(),z(1),F("issueMetadata",T(2,1,a.issueMetadata$)))},uxb=
function(a,b){a&1&&(J(0),I(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=N(),z(1),F("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},wxb=function(a){if(a&1){var b=v();G(0,"div",5);I(1,"img",6);G(2,"p",7);R(3," This issue has no duplicates ");H();G(4,"p",8);R(5," A duplicate is an issue with similar content. ");H();G(6,"p",8);R(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');G(8,"a",
9);R(9,"Learn more");H()();G(10,"button",10);M("click",function(){w(b);var c=N(2);return y(vxb(c))});R(11," Add ");H()()}a&2&&(a=N(2),z(1),F("src",a.ROBOT_SLEEPING,Id))},xxb=function(a,b){a&1&&I(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=N(2).$implicit,F("issueId",a)("duplicateIds",b))},yxb=function(a,b){a&1&&(J(0),G(1,"a",16),R(2," View as search results "),H(),L());a&2&&(a=b.ngIf,z(1),F("routerLink",a.path)("queryParams",a.params))},zxb=function(a){if(a&1){var b=v();G(0,"h4",11);R(1);S(2,
"async");G(3,"button",12);M("click",function(){w(b);var c=N(2);return y(vxb(c))});R(4," Add ");H()();Q(5,xxb,1,2,"b-duplicates-table",13);S(6,"async");G(7,"aside",14);Q(8,yxb,3,2,"ng-container",1);S(9,"async");H()}a&2&&(a=N(2),z(1),zf("Duplicates ",T(2,3,a.counts.countDuplicateDisplay$)," "),z(4),F("ngIf",T(6,5,a.id$)),z(3),F("ngIf",T(9,7,a.dupeUrl$)))},Axb=function(a){a&1&&(J(0),Q(1,wxb,12,1,"div",3),S(2,"async"),Q(3,zxb,10,9,"ng-template",null,4,Vf),L());if(a&2){var b=yf(4);a=N();z(1);F("ngIf",
!T(2,2,a.showTable$))("ngIfElse",b)}},Bxb=function(a){a&1&&(G(0,"aside",17),I(1,"b-spinner"),H())},Cxb=function(a,b){a&1&&(G(0,"mat-option",9)(1,"div",10),R(2),H(),G(3,"div",11),R(4),H()());a&2&&(a=b.$implicit,F("value",a),z(2),Af(a.name),z(2),Af(a.description))},Dxb=function(a){if(a&1){var b=v();G(0,"mat-form-field",6)(1,"mat-select",7);M("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(Pe(d.destroyed$)).subscribe();
d.analytics.trackEvent(Gn.EDIT_ISSUE,"click",c.commentFilterType);return y()});G(2,"mat-select-trigger");R(3);H();Q(4,Cxb,5,3,"mat-option",8);H()()}a&2&&(a=N(),z(1),F("value",a.selectedFilter),z(2),Af(null==a.selectedFilter?null:a.selectedFilter.displayName),z(1),F("ngForOf",a.filters))},Exb=function(a){a&1&&(J(0),I(1,"mat-icon",12),G(2,"span"),R(3,"Oldest first"),H(),L())},Fxb=function(a){a&1&&(J(0),I(1,"mat-icon",13),G(2,"span"),R(3,"Newest first"),H(),L())},Jxb=function(a){switch(a){case "FULL_HISTORY":return Gxb;
case "ALL_COMMENTS":return Sr;case "HUMAN_ONLY":return Hxb;case "TEAM_AND_ASSIGNEE":return Ixb;default:return Sr}},Kxb=function(a){a&1&&(J(0),R(1,", "),I(2,"br"),L())},Lxb=function(a){a&1&&(J(0),R(1," reacted"),L())},Mxb=function(a,b){a&1&&(J(0),G(1,"div"),R(2),Q(3,Kxb,3,0,"ng-container",3),Q(4,Lxb,2,0,"ng-container",3),S(5,"async"),H(),L());if(a&2){a=b.$implicit;b=b.last;var c=N();z(2);zf(" ",a,"");z(1);F("ngIf",!b);z(1);F("ngIf",!T(5,3,c.isOverflowReactionCount$)&&b)}},Nxb=function(a){if(a&1){var b=
v();G(0,"span");R(1," and ");G(2,"button",4);M("click",function(){w(b);var c=N();if(c.commentNumber&&c.issueId){var d,e,g=null!=(e=null==(d=Sm(c.reactionState$))?void 0:d.type)?e:"REACTION_TYPE_UNSPECIFIED";c.matDialogService.open(Tr,{width:"560px",data:{commentNumber:c.commentNumber,issueId:c.issueId,reactionType:g}})}return y()});R(3);S(4,"async");H();R(5," reacted ");H()}a&2&&(a=N(),z(3),zf(" ",T(4,1,a.overflowReactionCount$)," more "))},Oxb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N(2),z(1),zf(" by ",
Zh(a.event.lastCommentEditorUser),""))},Pxb=function(a){a&1&&(J(0)(1),R(2,"Message last modified"),L(),Q(3,Oxb,2,1,"ng-container",0),J(4),R(5," on "),I(6,"b-formatted-date-time",1),L()());a&2&&(a=N(),z(3),F("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),z(3),F("timestamp",a.event.commentLastModifiedAtDate))},Qxb=function(a){a&1&&I(0,"b-user-email",5);a&2&&(a=N().$implicit,F("email",a.text)("withProfile",!0))},Rxb=function(a){a&1&&(G(0,"b-issue-reference-widget",6),J(1),R(2),L(),H());
if(a&2){a=N().$implicit;var b=N();F("href",Sl(a.text))("issueId",b.getIssueId(a));z(2);Af(a.text)}},Sxb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N().$implicit,z(1),Af(a.text))},Txb=function(a,b){a&1&&(J(0)(1,1),Q(2,Qxb,1,2,"b-user-email",2),Q(3,Rxb,3,3,"b-issue-reference-widget",3),Q(4,Sxb,2,1,"ng-container",4),L()());a&2&&(a=b.$implicit,z(1),F("ngSwitch",a.tag),z(1),F("ngSwitchCase","user"),z(1),F("ngSwitchCase","bug"))},Uxb=function(a){a&1&&(J(0),I(1,"b-component-card",3,4),L());if(a&2){var b=yf(2);
a=N();z(1);F("onedevIsHovercardReady",b.init)("componentId",a.id)}},Vxb=function(a){a&1&&(G(0,"span"),R(1),H());if(a&2){a=N(5);var b;z(1);Af(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},Wxb=function(a){a&1&&(G(0,"label"),Q(1,Vxb,2,1,"span",11),R(2,":\u200b "),H());if(a&2){a=N(4);var b=yf(5);z(1);F("ngIf",a.effortEnabled)("ngIfElse",b)}},Xxb=function(a){a&1&&(G(0,"label"),R(1),H());a&2&&(a=N(3).$implicit,z(1),zf("",a.displayName,":\u200b"))},Yxb=function(a){a&1&&(G(0,"span"),I(1,
"b-user-display-name",14),H());a&2&&(a=N().$implicit,z(1),F("email",a)("showEmail",!0))},Zxb=function(a){a&1&&(J(0),I(1,"plain-component-path",15),L());a&2&&(a=N(4).$implicit,z(1),F("id",a.oldValue))},$xb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);F("timestamp",1E3*b.asNumber(a))}},ayb=function(a){a&1&&(G(0,"span"),R(1,"[Issue creation date]"),H())},byb=function(a){a&1&&(G(0,"span"),Q(1,$xb,1,1,"b-formatted-date-time",16),Q(2,ayb,2,0,"span",5),H());a&2&&(a=
N().$implicit,z(1),F("ngIf","<none>"!==a),z(1),F("ngIf","<none>"===a))},cyb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);F("timestamp",1E3*b.asNumber(a))}},dyb=function(a){a&1&&(G(0,"span"),R(1,"[Unset]"),H())},eyb=function(a){a&1&&(G(0,"span"),Q(1,cyb,1,1,"b-formatted-date-time",16),Q(2,dyb,2,0,"span",5),H());a&2&&(a=N().$implicit,z(1),F("ngIf","<none>"!==a),z(1),F("ngIf","<none>"===a))},fyb=function(a){a&1&&(J(0),G(1,"span"),R(2),H(),L());if(a&2){a=N().$implicit;
var b=N(4);z(2);Af(b.getAccessLimitLevel(a))}},gyb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a))},hyb=function(a){a&1&&(J(0),Q(1,Yxb,2,2,"span",5),Q(2,Zxb,2,1,"ng-container",5),Q(3,byb,3,2,"span",5),Q(4,eyb,3,2,"span",5),Q(5,fyb,3,1,"ng-container",5),Q(6,gyb,2,1,"span",5),R(7," \u00a0 "),I(8,"span",13),R(9," \u00a0 "),L());a&2&&(a=N(3).$implicit,z(1),F("ngIf",a.isUser),z(1),F("ngIf","component"===a.name),z(1),F("ngIf","sloStartTime"==a.name),z(1),F("ngIf","sloEndTime"==
a.name),z(1),F("ngIf","access_limit"===a.name),z(1),F("ngIf",!a.isUser&&"component"!==a.name&&"sloStartTime"!==a.name&&"sloEndTime"!==a.name&&"access_limit"!==a.name))},iyb=function(a){a&1&&I(0,"b-user-display-name",14);a&2&&(a=N().$implicit,F("email",a)("showEmail",!0))},jyb=function(a){a&1&&(G(0,"span"),I(1,"plain-component-path",15),H());a&2&&(a=N(4).$implicit,z(1),F("id",a.newValue))},kyb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);F("timestamp",1E3*b.asNumber(a))}},
lyb=function(a){a&1&&(G(0,"span"),R(1,"[Issue creation date]"),H())},myb=function(a){a&1&&(G(0,"span"),Q(1,kyb,1,1,"b-formatted-date-time",16),Q(2,lyb,2,0,"span",5),H());a&2&&(a=N().$implicit,z(1),F("ngIf","<none>"!==a),z(1),F("ngIf","<none>"===a))},nyb=function(a){a&1&&I(0,"b-formatted-date-time",17);if(a&2){a=N(2).$implicit;var b=N(4);F("timestamp",1E3*b.asNumber(a))}},oyb=function(a){a&1&&(G(0,"span"),R(1,"[Unset]"),H())},pyb=function(a){a&1&&(G(0,"span"),Q(1,nyb,1,1,"b-formatted-date-time",16),
Q(2,oyb,2,0,"span",5),H());a&2&&(a=N().$implicit,z(1),F("ngIf","<none>"!==a),z(1),F("ngIf","<none>"===a))},qyb=function(a){a&1&&(J(0),G(1,"span"),R(2),H(),L());if(a&2){a=N().$implicit;var b=N(4);z(2);Af(b.getAccessLimitLevel(a))}},syb=function(a){a&1&&(G(0,"span",20),R(1),H());if(a&2){a=N().$implicit;var b=N(3).$implicit;F("ngClass",Ff(2,ryb,b.oldValue&&"title"==b.name));z(1);Af(a)}},tyb=function(a){a&1&&(J(0),Q(1,iyb,1,2,"b-user-display-name",18),Q(2,jyb,2,1,"span",5),Q(3,myb,3,2,"span",5),Q(4,pyb,
3,2,"span",5),Q(5,qyb,3,1,"ng-container",5),Q(6,syb,2,4,"span",19),L());a&2&&(a=N(3).$implicit,z(1),F("ngIf",a.isUser),z(1),F("ngIf","component"===a.name),z(1),F("ngIf","sloStartTime"===a.name),z(1),F("ngIf","sloEndTime"===a.name),z(1),F("ngIf","access_limit"===a.name),z(1),F("ngIf",!a.isUser&&"component"!=a.name&&"sloStartTime"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},uyb=function(a){a&1&&(G(0,"div",10),Q(1,Wxb,3,2,"label",11),Q(2,Xxb,2,1,"ng-template",null,12,Vf),Q(4,hyb,10,6,"ng-container",
5),Q(5,tyb,7,6,"ng-container",5),H());if(a&2){var b=yf(3);a=N(2).$implicit;z(1);F("ngIf","effort"===a.name)("ngIfElse",b);z(3);F("ngIf",a.oldValue);z(1);F("ngIf",a.newValue)}},vyb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},wyb=function(a,b){a&1&&(G(0,"span"),I(1,"b-user-display-name",14),Q(2,vyb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("email",a)("showEmail",!0),z(1),F("ngIf",!b))},xyb=function(a){a&1&&(G(0,"span"),Q(1,wyb,3,3,"span",21),H());a&2&&(a=N(4).$implicit,z(1),F("ngForOf",
a.added))},yyb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},zyb=function(a,b){a&1&&(G(0,"span")(1,"span"),R(2),H(),Q(3,yyb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(2),Af(a),z(1),F("ngIf",!b))},Ayb=function(a){a&1&&(G(0,"span"),Q(1,zyb,4,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),F("ngForOf",a.added))},Byb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,xyb,2,1,"span",5),Q(4,Ayb,2,1,"span",5),H());a&2&&(a=N(3).$implicit,z(2),zf("+",a.displayName,":\u200b"),z(1),F("ngIf",a.isUser),
z(1),F("ngIf",!a.isUser))},Cyb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},Dyb=function(a,b){a&1&&(G(0,"span"),I(1,"b-user-display-name",14),Q(2,Cyb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("email",a)("showEmail",!0),z(1),F("ngIf",!b))},Eyb=function(a){a&1&&(G(0,"span"),Q(1,Dyb,3,3,"span",21),H());a&2&&(a=N(4).$implicit,z(1),F("ngForOf",a.removed))},Fyb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},Gyb=function(a,b){a&1&&(G(0,"span")(1,"span"),R(2),H(),Q(3,Fyb,2,0,"span",5),H());a&
2&&(a=b.$implicit,b=b.last,z(2),Af(a),z(1),F("ngIf",!b))},Hyb=function(a){a&1&&(G(0,"span"),Q(1,Gyb,4,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),F("ngForOf",a.removed))},Iyb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,Eyb,2,1,"span",5),Q(4,Hyb,2,1,"span",5),H());a&2&&(a=N(3).$implicit,z(2),zf("-",a.displayName,":\u200b"),z(1),F("ngIf",a.isUser),z(1),F("ngIf",!a.isUser))},Jyb=function(a){a&1&&(G(0,"div",10),Q(1,Byb,5,3,"div",5),Q(2,Iyb,5,3,"div",5),H());if(a&2){a=N(2).$implicit;var b=N();
z(1);F("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));z(1);F("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},Kyb=function(a){a&1&&rf(0)},Myb=function(a,b){a&1&&(G(0,"span"),Q(1,Kyb,1,0,"ng-container",22),H());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=yf(3);z(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Hf(Lyb,c,a,b))}},Nyb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,Myb,2,6,"span",21),H());a&2&&(a=N(3).$implicit,z(2),zf("+",a.displayName,
":\u200b"),z(1),F("ngForOf",a.added))},Oyb=function(a){a&1&&rf(0)},Pyb=function(a,b){a&1&&(G(0,"span"),Q(1,Oyb,1,0,"ng-container",22),H());if(a&2){a=b.$implicit;b=b.last;var c=N(4).$implicit;N();var d=yf(3);z(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Hf(Lyb,c,a,b))}},Qyb=function(a){a&1&&(G(0,"div")(1,"label"),R(2),H(),Q(3,Pyb,2,6,"span",21),H());a&2&&(a=N(3).$implicit,z(2),zf("-",a.displayName,":\u200b"),z(1),F("ngForOf",a.removed))},Ryb=function(a){a&1&&(G(0,"div",10),Q(1,Nyb,4,2,"div",
5),Q(2,Qyb,4,2,"div",5),H());if(a&2){a=N(2).$implicit;var b=N();z(1);F("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));z(1);F("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},Syb=function(a){a&1&&I(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,F("timestamp",a))},Tyb=function(a){a&1&&(G(0,"span"),R(1," - "),H())},Uyb=function(a,b){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",17),Q(2,Tyb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("timestamp",a),
z(1),F("ngIf",!b))},Vyb=function(a){a&1&&(G(0,"span"),Q(1,Uyb,3,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),F("ngForOf",a.oldValue.split(", ")))},Wyb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a))},Zyb=function(a){a&1&&(J(0),Q(1,Syb,1,1,"b-formatted-date-time",16),Q(2,Vyb,2,1,"span",5),Q(3,Wyb,2,1,"span",5),R(4," \u00a0 "),I(5,"span",13),R(6," \u00a0 "),L());if(a&2){a=N(3).$implicit;var b=N();z(1);F("ngIf",Xyb(b,a,"oldValue"));z(1);F("ngIf",Yyb(b,a,"oldValue"));z(1);F("ngIf",
!Xyb(b,a,"oldValue")&&!Yyb(b,a,"oldValue"))}},$yb=function(a){a&1&&I(0,"b-formatted-date-time",17);a&2&&(a=N().$implicit,F("timestamp",a))},azb=function(a){a&1&&(G(0,"span"),R(1," - "),H())},bzb=function(a,b){a&1&&(G(0,"span"),I(1,"b-formatted-date-time",17),Q(2,azb,2,0,"span",5),H());a&2&&(a=b.$implicit,b=b.last,z(1),F("timestamp",a),z(1),F("ngIf",!b))},czb=function(a){a&1&&(G(0,"span"),Q(1,bzb,3,2,"span",21),H());a&2&&(a=N(4).$implicit,z(1),F("ngForOf",a.newValue.split(", ")))},dzb=function(a){a&
1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a))},ezb=function(a){a&1&&(J(0),Q(1,$yb,1,1,"b-formatted-date-time",16),Q(2,czb,2,1,"span",5),Q(3,dzb,2,1,"span",5),L());if(a&2){a=N(3).$implicit;var b=N();z(1);F("ngIf",Xyb(b,a,"newValue"));z(1);F("ngIf",Yyb(b,a,"newValue"));z(1);F("ngIf",!Xyb(b,a,"newValue")&&!Yyb(b,a,"newValue"))}},fzb=function(a){a&1&&(G(0,"div",10)(1,"label"),R(2),H(),Q(3,Zyb,7,3,"ng-container",5),Q(4,ezb,4,3,"ng-container",5),H());if(a&2){a=N(2).$implicit;var b=N();z(1);
bf("title",b.customFieldName(a));z(1);zf("",b.customFieldName(a),":\u200b");z(1);F("ngIf",a.oldValue);z(1);F("ngIf",a.newValue)}},gzb=function(a){a&1&&(G(0,"span",26),R(1,"Updated"),H())},hzb=function(a){a&1&&(G(0,"span"),R(1,"Deleted"),H())},izb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N().$implicit,z(1),zf("Edited (unknown status '",a.status,"')"))},jzb=function(a,b){a&1&&(J(0)(1,7),Q(2,gzb,2,0,"span",23),Q(3,hzb,2,0,"span",24),Q(4,izb,2,1,"span",25),L()());a&2&&(a=b.$implicit,z(1),F("ngSwitch",
a.status),z(1),F("ngSwitchCase","ACTIVE"),z(1),F("ngSwitchCase","DELETED"))},kzb=function(a){a&1&&(G(0,"div",10)(1,"label"),R(2),H(),Q(3,jzb,5,3,"ng-container",5),H());a&2&&(a=N(2).$implicit,z(2),zf("",a.displayName,":\u200b"),z(1),F("ngIf",null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},lzb=function(a){a&1&&(G(0,"div",10)(1,"label"),R(2),H(),G(3,"pre",27),R(4),S(5,"json"),H()());a&2&&(a=N(2).$implicit,z(2),zf("",a.displayName,":\u200b"),z(2),Af(T(5,2,a)))},mzb=function(a){a&1&&(J(0),
I(1,"b-formatted-date-time",6),J(2,7),Q(3,uyb,6,4,"div",8),Q(4,Jyb,3,2,"div",8),Q(5,Ryb,3,2,"div",8),Q(6,fzb,5,4,"div",8),Q(7,kzb,4,2,"div",8),Q(8,lzb,6,4,"div",9),L()());a&2&&(a=N().$implicit,z(1),F("timestamp",a.timestamp),z(1),F("ngSwitch",!0),z(1),F("ngSwitchCase","SINGLE_VALUE"===a.type),z(1),F("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),z(1),F("ngSwitchCase","LINKED_COLLECTION"===a.type),z(1),F("ngSwitchCase","CUSTOM_FIELD"===a.type),z(1),F("ngSwitchCase","STATUS_UPDATE"===
a.type))},nzb=function(a,b){a&1&&(G(0,"div",4),Q(1,mzb,9,7,"ng-container",5),H());a&2&&(a=b.$implicit,b=N(),z(1),F("ngIf","sloStartTime"===(null==a?void 0:a.name)||"sloEndTime"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},ozb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},pzb=function(a){a&1&&(G(0,"span")(1,"b-issue-reference-widget",29),R(2),H(),Q(3,ozb,2,0,"span",5),H());if(a&2){a=N().$implicit;var b=N(),c=b.change;b=b.isLast;z(1);F("href",c.href)("issueId",a);z(1);Af(a);z(1);
F("ngIf",!b)}},qzb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},rzb=function(a){a&1&&(J(0),I(1,"hotlist-link",15),Q(2,qzb,2,0,"span",5),L());if(a&2){a=N(2).$implicit;var b=N().isLast;z(1);F("id",a);z(1);F("ngIf",!b)}},szb=function(a){a&1&&(G(0,"span"),R(1,", "),H())},tzb=function(a){a&1&&(G(0,"a",31),R(1),H(),Q(2,szb,2,0,"span",5));if(a&2){a=N(2).$implicit;var b=N(),c=b.isLast;F("href",b.change.href,Id);z(1);Af(a);z(1);F("ngIf",!c)}},uzb=function(a){a&1&&(Q(0,rzb,3,2,"ng-container",11),Q(1,tzb,3,
3,"ng-template",null,30,Vf));if(a&2){var b=yf(2);a=N(2).diff;var c=N();F("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},vzb=function(a){a&1&&(J(0),Q(1,pzb,4,4,"span",11),Q(2,uzb,3,2,"ng-template",null,28,Vf),L());if(a&2){var b=yf(3);a=N().diff;var c=N();z(1);F("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},wzb=function(a,b){a&1&&Q(0,vzb,4,2,"ng-container",5);a&2&&F("ngIf",b.change.value)},xzb=function(a){a&1&&(G(0,"span"),R(1,"Estimated Effort (disabled)"),H())},yzb=function(a,b){a&1&&(I(0,"b-user-membership-chip",
29),S(1,"async"));if(a&2){a=b.ngIf;b=N(2);var c;F("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=T(1,3,b.teamId$))&&void 0!==c?c:"")}},zzb=function(a){a&1&&I(0,"b-user-display",30);a&2&&(a=N(2),F("model",a.event.userPerformingActionUser))},Azb=function(a){a&1&&rf(0)},Bzb=function(a){a&1&&(J(0),G(1,"span",31),Q(2,Azb,1,0,"ng-container",32),H(),G(3,"onedev-hovercard",null,33),I(5,"b-issue-person-card",34),H(),L());if(a&2){var b=yf(4);N();var c=yf(11);a=N();z(1);F("onedevHovercardTrigger",
b);z(1);F("ngTemplateOutlet",c);z(3);F("email",a.getUserEmailIfAvailable())}},Czb=function(a){a&1&&(G(0,"span",35),R(1),H());a&2&&(a=N(2),z(1),zf(" <",Zh(a.event.userPerformingActionUser),"> "))},Dzb=function(a){if(a&1){var b=v();G(0,"span")(1,"a",36);M("click",function(c){w(b);var d=N(2);return y(d.scrollCommentIntoView(c,d.event.commentNumber))});R(2);H()()}a&2&&(a=N(2),z(1),F("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),bf("aria-label","Comment number"+a.event.commentNumber),
z(1),zf(" #",a.event.commentNumber,""))},Fzb=function(a){if(a&1){var b=v();G(0,"button",37);M("click",function(){w(b);var c=N(2);return y(Ezb(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});H()}},Gzb=function(a){a&1&&I(0,"b-restricted-chip",38);if(a&2){a=N(2);var b,c;F("label",a.getRestrictedLabel())("retention",null!==(b=a.event.commentRetention)&&void 0!==b?b:void 0)("retentionState",null!==(c=a.event.commentRetentionState)&&void 0!==c?c:void 0)}},Izb=function(a){a&1&&(I(0,
"b-actions-menu",39,40),S(2,"async"));if(a&2){a=N(2);var b;F("buttonLabel","Comment actions")("menuItems",null!==(b=T(2,2,a.commentActionMenuItems$))&&void 0!==b?b:Ef(4,Hzb))}},Jzb=function(a){a&1&&(G(0,"div",41),I(1,"b-tagged-text",42),H());a&2&&(a=N(2),z(1),F("texts",a.event.taggedSummary))},Kzb=function(a){a&1&&(I(0,"b-issue-event-details",43),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){a=N().ngIf;var b=N(),c,d;F("diffs",null!==(c=T(1,4,b.preEventDiffs$))&&void 0!==c?c:Ef(10,Hzb))("customFieldMap",
a.customFieldMap)("effortSpecName",null==(d=T(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!T(3,8,b.isEffortEnabled$))}},Lzb=function(a){a&1&&(G(0,"div",44),R(1," Comment has been deleted. "),H())},Mzb=function(a){if(a&1){var b=v();G(0,"b-restricted-comment-placeholder",45);M("onConfirm",function(){w(b);var c=N(2);return y(c.loadRestrictedComment())});S(1,"async");H()}a&2&&(a=N(2),F("disabled",!T(1,1,a.mayReadPii$)))},Nzb=function(a){a&1&&I(0,"b-note-container",46);a&2&&(a=N(2),F("issueId",a.issueId)("issueAccessLevel",
a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},Ozb=function(a){if(a&1){var b=v();J(0);I(1,"b-summarized-note-container",46);G(2,"button",47);M("click",function(){w(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return y()});I(3,"mat-icon",48);R(4,"Expand details");H();L()}a&2&&(a=N(2),z(1),F("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},Pzb=function(a){if(a&
1){var b=v();J(0);G(1,"button",47);M("click",function(){w(b);var c=N(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return y()});I(2,"mat-icon",49);R(3,"Collapse details");H();L()}},Qzb=function(a){a&1&&I(0,"b-formatted-date-time",50);a&2&&(a=N(2),F("timestamp",a.event.modifiedDate))},Rzb=function(a){a&1&&I(0,"mat-icon",58)},Szb=function(a){a&1&&I(0,"mat-icon",59)},Tzb=function(a,b){a&1&&(G(0,"span"),R(1),H());a&2&&(a=b.ngIf,z(1),Af(a))},Uzb=function(a){a&1&&I(0,"b-comment-reaction-responders-card",
60);a&2&&(a=N(3),F("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},Zzb=function(a){if(a&1){var b=v();G(0,"div",51)(1,"button",52,53);M("click",function(){w(b);var d=N(2);return y(Vzb(d))});S(3,"async");S(4,"async");S(5,"async");Q(6,Rzb,1,0,"mat-icon",54);Q(7,Szb,1,0,"mat-icon",55);Q(8,Tzb,2,1,"span",0);S(9,"async");H();G(10,"onedev-hovercard",null,56);Q(12,Uzb,1,3,"b-comment-reaction-responders-card",
57);S(13,"async");H()()}if(a&2){var c=yf(11);a=N(2);z(1);F("ariaLabel",Wzb(a,a.ReactionType.UPVOTE))("ngClass",Ff(20,Xzb,T(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",!!T(5,14,a.showCommentReactionHovercard$));bf("aria-disabled",!T(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);z(5);F("ngIf",!Yzb(a,a.ReactionType.UPVOTE));z(1);F("ngIf",Yzb(a,a.ReactionType.UPVOTE));z(1);F("ngIf",T(9,16,a.upvoteReactionCountDisplayString$));
z(4);F("ngIf",!T(13,18,a.noUpvoteReactions$))}},$zb=function(a){if(a&1){var b=v();G(0,"a",64);M("click",function(){w(b);var c=N(3);return y(c.showCommentHistoryDialog(c.event.commentNumber))});R(1," Show History ");H()}},aAb=function(a){a&1&&(G(0,"div",61),I(1,"b-comment-edit-timestamp-message",62),Q(2,$zb,2,0,"a",63),H());a&2&&(a=N(2),z(1),F("event",a.event),z(1),F("ngIf",a.commentHistoryEnabled))},bAb=function(a){a&1&&(I(0,"b-issue-event-details",43),S(1,"async"),S(2,"async"),S(3,"async"));if(a&
2){a=N().ngIf;var b=N(),c,d;F("diffs",null!==(c=T(1,4,b.postEventDiffs$))&&void 0!==c?c:Ef(10,Hzb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=T(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!T(3,8,b.isEffortEnabled$))}},cAb=function(a,b){a&1&&(G(0,"div",67),I(1,"b-attachment-viewer",68),H());a&2&&(a=b.$implicit,b=N(3),vf("id","attachment",a.attachmentId,""),z(1),F("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},dAb=function(a){a&1&&(G(0,
"div",65),Q(1,cAb,2,4,"div",66),H());a&2&&(a=N(2),z(1),F("ngForOf",a.event.attachments))},fAb=function(a){a&1&&(J(0),G(1,"div",1),I(2,"b-user-image",2),H(),G(3,"div",3)(4,"h4",4),S(5,"async"),Q(6,yzb,2,5,"b-user-membership-chip",5),Q(7,zzb,1,1,"ng-template",null,6,Vf),Q(9,Bzb,6,3,"ng-container",7),Q(10,Czb,2,1,"ng-template",null,8,Vf),Q(12,Dzb,3,3,"span",0),Q(13,Fzb,1,0,"button",9),S(14,"async"),G(15,"span",10),Q(16,Gzb,1,3,"b-restricted-chip",11),I(17,"b-formatted-date-time",12),Q(18,Izb,3,5,"b-actions-menu",
13),H()(),I(19,"div",14),Q(20,Jzb,2,1,"div",15),Q(21,Kzb,4,11,"b-issue-event-details",16),S(22,"async"),I(23,"div",14),G(24,"div",17)(25,"div",18),Q(26,Lzb,2,0,"div",19),Q(27,Mzb,2,3,"b-restricted-comment-placeholder",20),G(28,"div",21),Q(29,Nzb,1,4,"b-note-container",22),Q(30,Ozb,5,4,"ng-container",0),Q(31,Pzb,4,0,"ng-container",0),H(),G(32,"div",23)(33,"div",24),Q(34,Qzb,1,1,"b-formatted-date-time",25),S(35,"async"),H(),Q(36,Zzb,14,22,"div",26),H()(),Q(37,aAb,3,2,"div",27),H(),Q(38,bAb,4,11,"b-issue-event-details",
16),S(39,"async"),I(40,"div",14),Q(41,dAb,2,1,"div",28),I(42,"div",14),H(),L());if(a&2){var b=yf(8),c=yf(11);a=N();z(2);F("email",a.getUserEmailIfAvailable());z(2);bf("aria-label",T(5,23,a.ariaLabelHeading$));z(2);F("ngIf",a.enableTeamAnnotations&&a.getUserEmailIfAvailable())("ngIfElse",b);z(3);F("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);z(3);F("ngIf",a.isCommentEvent(a.event));z(1);F("ngIf",T(14,25,a.canEditComment$)&&!Ur(a));z(3);F("ngIf",a.isRestricted());z(1);F("timestamp",
a.event.modifiedDate);z(1);F("ngIf",a.isCommentEvent(a.event));z(2);F("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);z(1);F("ngIf","FULL_HISTORY"===T(22,27,a.showFullHistoryFromFiltering$));z(5);F("ngIf",a.isDeleted());z(1);F("ngIf",Ur(a)&&!a.isDeleted());z(2);F("ngIf",eAb(a)&&!Ur(a)&&!a.isDeleted()&&!a.isSummarized);z(1);F("ngIf",eAb(a)&&!Ur(a)&&!a.isDeleted()&&a.isSummarized);z(1);F("ngIf",a.wasSummarized&&!a.isSummarized);z(3);F("ngIf",T(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&&eAb(a)&&!a.isDeleted()&&!Ur(a)&&!h;F("ngIf",d);z(1);F("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!Ur(a));z(1);F("ngIf","FULL_HISTORY"===T(39,31,a.showFullHistoryFromFiltering$));z(3);F("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},gAb=
function(a){a&1&&(G(0,"aside",3),I(1,"b-spinner"),H())},hAb=function(a){a&1&&(J(0),R(1,"s"),L())},iAb=function(a){if(a&1){var b=v();J(0);G(1,"div",6)(2,"button",7);M("click",function(){w(b);var g=N().index,h=N(),l,q,x=null!=(q=null==(l=h.foldedCommentsCounts.get(g))?void 0:l.eventFoldedCount)?q:0;for(l=0;l<x&&((rl(h.internalEvents[g-l])||sl(h.internalEvents[g-l]))&&h.eventDisplayMode.set(g-l,"full"),0!==g-l);l++);h.foldedCommentsCounts.delete(g);return y()});R(3);Q(4,hAb,2,0,"ng-container",4);H();
I(5,"div",8);H();L()}if(a&2){a=N().index;var c=N(),d,e;z(3);zf(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");z(1);F("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?null:e.commentFoldedCount)&&void 0!==e?e:1))}},jAb=function(a){a&1&&(G(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);F("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===
c.eventDisplayModes.SUMMARIZED)}},lAb=function(a,b){a&1&&(J(0),Q(1,iAb,6,2,"ng-container",4),Q(2,jAb,2,4,"div",5),L());if(a&2){a=b.$implicit;b=b.index;var c=N(),d;z(1);F("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=kAb(c.eventDisplayMode.get(b));else{var e,g;d=(c.showFullHistory||a.isMajorEvent)&&(rl(a)&&!!a.unlinkifiedComment||
sl(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(g=a.postDiffs)?void 0:g.length))}F("ngIf",d)}},mAb=function(a){a&1&&(G(0,"aside",3),I(1,"b-spinner"),H())},nAb=function(a){if(a&1){var b=v();G(0,"div",12)(1,"b-recaptcha",13);M("onUpdate",function(c){w(b);var d=N(4);return y(d.recaptchaResponse$.next(c))});H()()}},pAb=function(a){if(a&1){var b=v();G(0,"span")(1,"mat-checkbox",14);M("change",function(){w(b);var c=N(4);return y(oAb(c))});S(2,"async");S(3,"async");R(4," CC Me ");H()()}a&2&&(a=
N(4),z(1),F("checked",!!T(2,2,a.autoCcOnComment$))("disabled",!!T(3,4,a.isCurrentUserCCd$)))},qAb=function(a){a&1&&(G(0,"mat-checkbox",17),R(1," CC Me "),H());a&2&&F("checked",!0)("disabled",!0)},rAb=function(a){a&1&&(G(0,"span",15),Q(1,qAb,2,2,"mat-checkbox",16),S(2,"async"),H());a&2&&(a=N(4),z(1),F("ngIf",T(2,1,a.isCurrentUserCCd$)))},sAb=function(a){if(a&1){var b=v();G(0,"b-markdown-toggle",18);M("change",function(c){w(b);var d=N().ngIf;return y(d.formattingMode=c)});H()}a&2&&(a=N().ngIf,F("initialValue",
a.formattingMode))},uAb=function(a,b){if(a&1){var c=v();J(0);G(1,"b-comment-box",3,4);M("onHotkey",function(){w(c);var l=yf(2);return y(tAb(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()});S(3,"async");S(4,"async");S(5,"async");S(6,"async");Q(7,nAb,2,0,"div",5);S(8,"async");G(9,"div",6)(10,"b-button",7);M("onAction",function(){w(c);var l=N(3);return y(l.submitCommentBox())})("click",function(){w(c);var l=N(3);return y(l.submitCommentBox())});S(11,"async");R(12," Comment ");H();G(13,"div",8);Q(14,pAb,5,6,"span",0);S(15,"async");S(16,"async");Q(17,rAb,3,3,"span",9);S(18,"async");S(19,"async");
Q(20,sAb,1,1,"b-markdown-toggle",10);S(21,"async");H();I(22,"b-access-level-indicator",11);S(23,"async");H()();L()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(),e,g,h;z(1);F("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",a)("componentId",b.componentId)("placeholder",null!==(e=T(3,17,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(g=T(4,19,d.judgementForNewContent$))&&void 0!==g?g:void 0)("audience",null!==(h=T(5,21,d.audience$))&&
void 0!==h?h:void 0)("disabled",!1===T(6,23,d.commentBoxEnabled$))("isPlusOneCalloutEnabled",d.isPlusOneCalloutEnabled());z(6);F("ngIf",T(8,25,d.showRecaptcha$));z(3);F("format",d.commentButtonStyle)("disabled",!1===T(11,27,d.commentButtonEnabled$));z(4);F("ngIf",!T(15,29,d.isCurrentUserCCd$)&&T(16,31,d.hasAclToEdit$));z(3);F("ngIf",T(18,33,d.isCurrentUserCCd$)||!T(19,35,d.hasAclToEdit$));z(3);F("ngIf",T(21,37,d.hasAclToComment$));z(2);F("accessLevel",T(23,39,d.accessLevel$))}},wAb=function(a){a&
1&&(J(0),G(1,"h3",1),R(2,"Add comment"),H(),G(3,"div",2),S(4,"async"),Q(5,uAb,24,41,"ng-container",0),S(6,"async"),H(),L());a&2&&(a=N(2),z(3),F("ngClass",Gf(6,vAb,T(4,2,a.empty$),!a.wasFocused)),z(2),F("ngIf",T(6,4,a.comment$)))},xAb=function(a,b){a&1&&(J(0),Q(1,wAb,7,9,"ng-container",0),L());a&2&&(a=b.ngIf,z(1),F("ngIf",!a.isDeleted))},yAb=function(a,b){a&1&&(I(0,"b-note-container",25),S(1,"async"));if(a&2){a=b.ngIf;b=N().ngIf;var c=N();F("issueId",b)("issueAccessLevel",T(1,4,c.canonicalAccessLevel$))("formattingMode",
a.formattingMode)("note",a)}},zAb=function(a,b){a&1&&(G(0,"div",26),R(1),H());a&2&&(a=b.ngIf,b=N(2),pf("chippy status-",a,""),F("title",b.STATUS_FULL_TEXT[a]),z(1),zf(" ",b.STATUS_TERSE[a]," "))},AAb=function(a,b){a&1&&(J(0),I(1,"span",27),G(2,"span",28),R(3),H(),L());a&2&&(a=b.ngIf,z(3),Bf(" ",a.length," duplicate",1===a.length?"":"s"," "))},BAb=function(a,b){a&1&&(J(0),I(1,"span",27),G(2,"div",29)(3,"span",30),R(4),H(),I(5,"mat-icon",31),H(),L());a&2&&(a=b.ngIf,z(2),vf("matTooltip","",a.voteCount,
" votes on this issue"),z(2),Af(9999<a.voteCount?"9999+":a.voteCount))},CAb=function(a,b){a&1&&(J(0),I(1,"span",27),G(2,"div",32)(3,"span",30),R(4),H(),I(5,"mat-icon",33),H(),L());a&2&&(a=b.ngIf,z(2),vf("matTooltip","",a.length," comments on this issue"),z(2),Af(a.length))},DAb=function(a,b){a&1&&(J(0),I(1,"span",27)(2,"b-formatted-date-time",34),L());a&2&&(a=b.ngIf,z(2),F("timestamp",a/1E3))},EAb=function(a,b){if(a&1){var c=v();G(0,"button",35);M("click",function(){var d=w(c).$implicit;N();var e=
yf(31);N().reject(d);var g;null==(g=e.trigger)||g.close();return y()});G(1,"span");R(2);H()()}a&2&&(a=b.$implicit,b=N(2),z(2),Af(b.REJECT_REASON_TO_DISPLAY[a]))},GAb=function(a,b){if(a&1){var c=v();G(0,"div",5)(1,"div",6)(2,"a",7)(3,"span",8);R(4);S(5,"async");H();I(6,"mat-icon",9);H();Q(7,yAb,2,6,"b-note-container",10);S(8,"async");G(9,"div",11);I(10,"b-issue-id-picker",12);S(11,"async");S(12,"async");S(13,"async");I(14,"b-issue-priority-display",13);S(15,"async");Q(16,zAb,2,5,"div",14);S(17,"async");
Q(18,AAb,4,2,"ng-container",15);S(19,"async");Q(20,BAb,6,2,"ng-container",15);S(21,"async");Q(22,CAb,6,2,"ng-container",15);S(23,"async");Q(24,DAb,3,1,"ng-container",15);S(25,"async");H()();G(26,"div",16)(27,"button",17);M("click",function(){w(c);var d=N();return y(d.accept())});I(28,"mat-icon",18);R(29," Accept ");H();G(30,"split-button",19,20)(32,"button",21);M("click",function(){w(c);var d=N();return y(d.reject())});I(33,"mat-icon",22);R(34," Reject ");H();G(35,"div",23);Q(36,EAb,3,1,"button",
24);H()()()()}a&2&&(a=b.ngIf,b=N(),z(2),F("href",b.getIssueLink(a),Id),z(2),Af(T(5,18,b.canonicalTitle$)),z(3),F("ngIf",T(8,20,b.canonicalDescription$)),z(3),F("issueId",a)("enableHotkeys",!1)("componentId",T(11,22,b.canonicalComponentId$))("issueTitle",T(12,24,b.canonicalTitle$))("isExternalIssue",!!T(13,26,b.isCanonicalInExternalComponent$)),z(4),F("issuePriority",T(15,28,b.canonicalPriority$)),z(2),F("ngIf",T(17,30,b.statusForChip$)),z(2),F("ngIf",T(19,32,b.canonicalDuplicates$)),z(2),F("ngIf",
Ff(40,FAb,T(21,34,b.canonicalVoteCount$)||0)),z(2),F("ngIf",T(23,36,b.canonicalComments$)),z(2),F("ngIf",T(25,38,b.canonicalCreateMicros$)),z(3),F("disabled",b.isSaving),z(3),F("disabled",b.isSaving),z(2),F("disabled",b.isSaving),z(4),F("ngForOf",b.REJECT_REASONS))},HAb=function(a){a&1&&(I(0,"canonical-recommendation",9,10),S(2,"async"));if(a&2){var b=yf(1);a=N().$implicit;mf("hidden",!T(2,3,b.show$));F("currentIssueId",a)}},IAb=function(a){if(a&1){var b=v();G(0,"button",17);M("click",function(){w(b);
var c=N(3);return y(c.userRequestedSummary=!0)});R(1," Generate ");H()}},JAb=function(a,b){a&1&&(J(0),G(1,"p",19),R(2),H(),G(3,"div",20)(4,"button",21),R(5," Accept "),H(),G(6,"button",21),R(7," Reject "),H()(),L());a&2&&(a=b.ngIf,z(2),Af(a))},KAb=function(a){a&1&&(J(0),Q(1,JAb,8,1,"ng-container",18),S(2,"async"),L());if(a&2){N();var b=yf(8);a=N(2);z(1);F("ngIf",T(2,2,a.commentThreadSummary$))("ngIfElse",b)}},LAb=function(a){a&1&&I(0,"b-spinner")},MAb=function(a){a&1&&(G(0,"div",11),I(1,"mat-icon",
12),G(2,"div",13)(3,"h4",14),R(4," ML-generated summary "),H(),Q(5,IAb,2,0,"button",15),Q(6,KAb,3,4,"ng-container",1),Q(7,LAb,1,0,"ng-template",null,16,Vf),H()());a&2&&(a=N(2),z(5),F("ngIf",!a.userRequestedSummary),z(1),F("ngIf",a.userRequestedSummary))},NAb=function(a,b){a&1&&(J(0),I(1,"issue-description-area",4),Q(2,HAb,3,5,"canonical-recommendation",5),S(3,"async"),I(4,"status-update",6),Q(5,MAb,9,2,"div",7),I(6,"b-issue-description",8),L());a&2&&(a=b.$implicit,b=N(),z(1),F("id",a),z(1),F("ngIf",
b.enableIDPCanonicalRecommendation&&T(3,5,b.issuePermissionService.hasAclToEdit$)),z(2),F("issueId",a),z(1),F("ngIf",b.enableLamdaDemo),z(1),F("id",a))},OAb=function(a,b){a&1&&(I(0,"issue-summary-card",22,23),S(2,"async"));if(a&2){a=b.$implicit;var c=yf(1);mf("hidden",!T(2,3,c.shouldShowSummaryCard$));F("issueId",a)}},PAb=function(a){a&1&&I(0,"issue-event-list",26);a&2&&(a=N().$implicit,F("id",a))},QAb=function(a){a&1&&I(0,"issue-event-list",26);a&2&&(a=N().$implicit,F("id",a))},RAb=function(a,b){a&
1&&(G(0,"div",24),I(1,"b-event-stream-header"),Q(2,PAb,1,1,"issue-event-list",25),I(3,"b-post-comment",6),Q(4,QAb,1,1,"issue-event-list",25),H());a&2&&(a=b.$implicit,b=N(),mf("recent-first",b.showRecentEventsFirst),z(2),F("ngIf",!b.showRecentEventsFirst),z(1),F("issueId",a),z(1),F("ngIf",b.showRecentEventsFirst))},SAb=function(a){a&1&&(G(0,"section")(1,"h4"),I(2,"mat-icon",2),R(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);zf(" Screenshots (",
a.length,") ");z(1);F("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},TAb=function(a){a&1&&(J(0),Q(1,SAb,7,4,"section",1),L());a&2&&(a=N().ngIf,z(1),F("ngIf",a.length))},UAb=function(a){a&1&&(J(0),Q(1,TAb,2,1,"ng-container",1),L());a&2&&(a=N(2),z(1),F("ngIf",a.isInternalSession))},VAb=function(a){a&1&&(G(0,"section")(1,"h4"),I(2,"mat-icon",5),R(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);zf(" Mentioned issues (",a.length,") ");z(1);F("issueReferences",
a)("currentIssueId",b.issueId)("paginate",!0)}},WAb=function(a,b){a&1&&(J(0),Q(1,VAb,7,4,"section",1),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},XAb=function(a){a&1&&(G(0,"section")(1,"h4"),I(2,"mat-icon",7),R(3),H(),I(4,"related-links-widget",8),H());if(a&2){a=N().ngIf;var b=N().ngIf;z(3);zf(" Links (",a.length,") ");z(1);F("links",a)("issueId",b.issueId)("paginate",!0)}},YAb=function(a,b){a&1&&(J(0),Q(1,XAb,5,4,"section",1),L());a&2&&(a=b.ngIf,z(1),F("ngIf",a.length))},ZAb=function(a){a&1&&(J(0),
Q(1,UAb,2,1,"ng-container",1),S(2,"async"),Q(3,WAb,2,1,"ng-container",1),S(4,"async"),Q(5,YAb,2,1,"ng-container",1),S(6,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,3,a.imageLinks$)),z(2),F("ngIf",T(4,5,a.issueReferences$)),z(2),F("ngIf",T(6,7,a.otherLinks$)))},$Ab=function(a){a&1&&(G(0,"div",4),I(1,"img",5),G(2,"p",6),R(3," This issue has no TODOs "),H(),G(4,"p",7),R(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),G(6,"a",8),R(7,"Learn more"),H()()());
a&2&&(a=N(3),z(1),F("src",a.ROBOT_SLEEPING,Id))},aBb=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();F("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},bBb=function(a){if(a&1){var b=v();J(0);Q(1,aBb,1,3,"b-package-mentions-listing",9);G(2,"p",10)(3,"a",11);M("click",function(){w(b);var c=N(4);return y(c.trackSqueegeeClick())});R(4,"View in Squeegee");H()();L()}a&2&&(a=N(2).ngIf,z(1),F("ngForOf",a.mentions.packageMentionSet),
z(2),F("href",a.link,Id))},cBb=function(a){a&1&&Q(0,bBb,5,2,"ng-container",1);a&2&&(a=N().ngIf,F("ngIf",a.mentions))},dBb=function(a,b){a&1&&(J(0),Q(1,$Ab,8,1,"div",2),Q(2,cBb,1,1,"ng-template",null,3,Vf),L());if(a&2){a=b.ngIf;var c=yf(3);N(2);z(1);F("ngIf",!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},eBb=function(a){a&1&&(J(0),Q(1,dBb,4,2,"ng-container",1),S(2,"async"),L());a&2&&(a=N(),z(1),F("ngIf",T(2,1,a.codeMentionsState$)))},fBb=function(a){a&1&&I(0,"b-spinner",6);a&2&&F("large",
!0)},gBb=function(a){a&1&&I(0,"b-hotlist-grid",7);a&2&&(a=N(),F("hotlists",a.hotlists))},hBb=function(a){a&1&&(G(0,"div",9),I(1,"b-spinner"),G(2,"span"),R(3),H()());a&2&&(a=N(),z(3),zf(" Searching",a.query?" for "+a.query:"","..."))},iBb=function(a){a&1&&(J(0),R(1," No issues match your search. "),L())},jBb=function(a){a&1&&R(0," Use search box to find issues. ")},lBb=function(a){a&1&&(G(0,"a",16),R(1," Click to see all open issues"),H());a&2&&F("queryParams",Ef(1,kBb))},mBb=function(a){a&1&&(G(0,
"a",17),R(1,"Learn more about searching"),H())},nBb=function(a){a&1&&(G(0,"div",10),I(1,"img",11),Q(2,iBb,2,0,"ng-container",12),Q(3,jBb,1,0,"ng-template",null,13,Vf),Q(5,lBb,2,2,"a",14),S(6,"async"),Q(7,mBb,2,0,"ng-template",null,15,Vf),H());if(a&2){var b=yf(4),c=yf(8);a=N();var d;F("bFocus",!0);z(1);F("src",a.SPACE_EMPTY_STATE,Id);z(1);F("ngIf",a.query)("ngIfElse",b);z(3);F("ngIf",null!==(d=T(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",c)}},pBb=function(a){if(a&1){var b=v();G(0,
"div",18)(1,"b-issues-grid",19);M("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();oBb();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(Vr(c,c.page,1))})("onPrevPage",function(){w(b);var c=N();return y(Vr(c,
c.page,-1))});H()()}a&2&&(a=N(),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},qBb=function(a){a&1&&(G(0,"div",9),I(1,"b-spinner"),R(2," Loading recent issues... "),H())},rBb=function(a){a&1&&(G(0,"div",10),R(1," No recent issues found. "),H())},sBb=function(a){if(a&1){var b=v();G(0,"div",11)(1,"b-issues-grid",12);M("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),F("searchResults",a.searchResults)("focusedRowIndex",
a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},tBb=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})},uBb=function(a){a&1&&(G(0,"div",6)(1,"h2"),R(2,"Manage SLOs"),H(),G(3,"p",7),R(4,"You have admin rights for all SLOs listed below."),
H()())},vBb=function(a){a&1&&I(0,"b-spinner",8);a&2&&F("large",!0)},wBb=function(a){a&1&&(G(0,"div",11),R(1,"You have no Active SLOs"),H())},xBb=function(a){a&1&&I(0,"b-slo-grid",12);a&2&&(a=N(2),F("slos",a.activeSlos))},yBb=function(a){a&1&&(J(0),Q(1,wBb,2,0,"div",9),Q(2,xBb,1,1,"b-slo-grid",10),L());a&2&&(a=N(),z(1),F("ngIf",!a.activeSlos.length),z(1),F("ngIf",a.activeSlos.length))},zBb=function(a){a&1&&(G(0,"p",19),R(1," You have no archived SLOs. "),H())},ABb=function(a){a&1&&I(0,"b-slo-grid",
12);a&2&&(a=N(3),F("slos",a.archivedSlos))},BBb=function(a){a&1&&(G(0,"div",17),Q(1,zBb,2,0,"p",18),Q(2,ABb,1,1,"b-slo-grid",10),H());a&2&&(a=N(2),z(1),F("ngIf",!a.archivedSlos.length),z(1),F("ngIf",a.archivedSlos.length))},CBb=function(a){if(a&1){var b=v();J(0);G(1,"button",13);M("click",function(){w(b);var c=N();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return y()});G(2,"h4",14);I(3,"mat-icon",15);R(4);H()();Q(5,BBb,3,2,"div",16);L()}a&2&&(a=N(),z(3),mf("rotate-180",a.areArchivedSlosExpanded),
F("svgIcon","arrow-dropdown"),z(1),zf(" Archived SLOs (",a.archivedSlos.length,") "),z(1),F("ngIf",a.areArchivedSlosExpanded))},DBb=function(a){a&1&&(J(0),G(1,"p"),R(2,"Team inheritance path:"),H(),I(3,"b-team-breadcrumb",1),L());a&2&&(a=N(),z(3),F("teamPath",a.teamPath))},EBb=function(a){a&1&&(J(0),G(1,"p"),R(2,"Component inheritance path:"),H(),I(3,"b-component-breadcrumb",2),L());a&2&&(a=N(),z(3),F("componentPathInfo",a.componentPath))},FBb=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},IBb=function(a){return{approximateSize:dj(a,2),groupEmail:V(a,1),sizeCategory:GBb[W(a,3,0)],permissionCategory:HBb[W(a,5,0)]}},KBb=function(a){var b;return{groupMetadata:(null!=(b=Ch(a,JBb,1))?b:[]).map(IBb)}},MBb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k(LBb),e=d.next();!e.done;e=d.next()){e=e.value;var g=Sh(e.accessor(b)||[],e.accessor(a)||[]);g.length&&c.push({field:e.field,addedPrincipals:g})}return c},OBb=function(a,b){if(!a.appenders||
!b||Kh(b.appenders,a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,NBb.has(c)&&!b.appenders.includes(c))return!0;return!1},PBb=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},QBb=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"},RBb=function(a){if(0===a.size)return Wr;for(var b=1===a.size?en("P",{},"The following large group is added: "):en("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(en("P",{},fn(en("B",{},e)," has approximately ",en("B",{},g)," Googlers.")))}return fn(b,c)},SBb=function(a){if(0===a.size)return Wr;var b=1===a.size?
en("P",{},"The following open group is added: "):en("P",{},"The following open groups are added: "),c=[];a=k(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(en("P",{},en("B",{},d.value)));return fn(b,c)},TBb=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},UBb=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},
VBb=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},Xr=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:wqa(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},WBb=function(a,b){a&1&&I(0,"b-contact-chip",6);a&2&&(a=b.$implicit,b=N(2),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},XBb=function(a,b){a&1&&(J(0),G(1,"tr",3)(2,"th",4),R(3),H(),G(4,"td"),Q(5,WBb,1,5,"b-contact-chip",5),H()(),L());a&2&&(a=b.$implicit,z(3),Af(a.permission),z(2),F("ngForOf",a.principals))},aCb=function(a){var b="minimal";b=void 0===b?"expanded":
b;a=YBb(a);a=Xza(a,function(c){c=ZBb(c);return $Bb(c,b)});return YBb(a)},cCb=function(a){a=YBb(a);a=Xza(a,function(b){b=bCb(b);return ZBb(b)});return YBb(a)},$Bb=function(a,b){var c="expanded"===b?dCb:eCb;return new Set([].concat(Pc(a)).flatMap(function(d){return[].concat(Pc(c.get(d)))}))},bCb=function(a){return new Set(Yr.filter(function(b){return aqa(a,eCb.get(b))}))},ZBb=function(a){a=$Bb(a,"expanded");var b=bCb(a);return new Set([].concat(Pc(b)).filter(function(c){return[].concat(Pc(fCb.get(c))).every(function(d){return!b.has(d)})}))},
YBb=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},hCb=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=gCb,c=new Map,d=[].concat(Pc(b.values())).flatMap(function(g){return[].concat(Pc(g))});
d=k(new Set([].concat(Pc(b.keys()),Pc(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},iCb=function(a){var b=aCb(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(Pc(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")}}},jCb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return ol([].concat(Pc(b?[].concat(Pc(b.inheritedAdmins||[]),Pc(b.admins||[]),Pc(b.appenders||[])):[]),Pc(a?[].concat(Pc(a.admins||[]),Pc(a.editors||[]),Pc(a.appenders||[]),Pc(a.readers||[]),Pc(a.restrictedReaders||[]),Pc(a.restrictedPlusReaders||[])):[]))).sort()},lCb=function(a){function b(e){var g;return[].concat(Pc(null!=(g=d.get(e))?
g:[])).sort()}if(!a)return kCb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=cCb(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}},mCb=function(a,b){var c;(c=!b)||(c=!(!Kh([].concat(Pc(b.admins)).sort(),[].concat(Pc(a.admins)).sort())||
!Kh([].concat(Pc(b.appenders)).sort(),[].concat(Pc(a.appenders)).sort())||!Kh(b.implicitAccess,a.implicitAccess)));return!c},nCb=function(a,b){return b&&a?!Kh([].concat(Pc(a.admins)).sort(),[].concat(Pc(b.admins)).sort())||!Kh([].concat(Pc(a.editors)).sort(),[].concat(Pc(b.editors)).sort())||!Kh([].concat(Pc(a.appenders)).sort(),[].concat(Pc(b.appenders)).sort())||!Kh([].concat(Pc(a.readers)).sort(),[].concat(Pc(b.readers)).sort())||!Kh([].concat(Pc(a.restrictedReaders)).sort(),[].concat(Pc(b.restrictedReaders)).sort())||
!Kh([].concat(Pc(a.restrictedPlusReaders)).sort(),[].concat(Pc(b.restrictedPlusReaders)).sort()):!1},oCb=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,!Hua(a[d],b[d]))return!0;return!1},pCb=function(a){if(a&1){var b=v();G(0,"input",17);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=N(2),F("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
qCb=function(a){if(a&1){var b=v();G(0,"input",18);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=N(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},rCb=function(a){if(a&1){var b=v();G(0,"input",19);M("ngModelChange",function(c){w(b);var d=N(2);return y(d.rolesEditor.component.accessLimit.accessLevel=c)});H()}a&2&&(a=N(2),F("disabled",!a.rolesEditor.isAdmin||
!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},sCb=function(a){a&1&&(G(0,"div",3)(1,"div",4)(2,"span",5),R(3,"Component visibility: "),H()(),G(4,"div",6)(5,"div",7),Q(6,pCb,1,2,"input",8),G(7,"label",9),R(8),H()(),G(9,"div",7),Q(10,qCb,1,2,"input",10),G(11,"label",11),R(12),H()(),G(13,"div",12),Q(14,rCb,1,2,"input",13),G(15,"label",14),R(16),H()()(),G(17,"p",15)(18,"a",16),R(19," Learn more "),H()()());a&2&&(a=N(),z(6),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
z(2),zf(" ",s6a(a.AccessLevelStrings.INTERNAL)," "),z(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),zf(" ",s6a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),z(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),z(2),zf(" ",s6a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),z(2),a=a.documentationLinks,a=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access",F("href",a,Id))},xCb=function(a,
b){if(a&1){var c=v();J(0);G(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);R(6);H();G(7,"button",5);I(8,"mat-icon",6);H()();G(9,"b-multi-user-input",7);M("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(Pc(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return y()});H()()();G(10,"td");I(11,"b-icon",8);H();G(12,"td");I(13,"b-icon",8);
H();G(14,"td");I(15,"b-icon",8);H();G(16,"td");I(17,"b-icon",8);H();G(18,"td");I(19,"b-icon",8);H();G(20,"td");I(21,"b-icon",8);H();G(22,"td");I(23,"b-icon",8);H();G(24,"td");I(25,"b-icon",8);H()();L()}if(a&2){a=b.$implicit;b=N();var d;z(3);mf("bv2-edit-resource-readonly",b.canEdit);z(2);F("htmlFor",a.roleType);z(1);Af(a.label);z(1);F("matTooltip",a.tooltip);z(2);F("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&
void 0!==d?d:Ef(22,tCb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Ff(26,uCb,Gf(23,vCb,a.chips.displayText,a.chips.values)):Ef(28,wCb));bf("disabled",b.canEdit?null:!0);z(2);F("name",b.getIconName(a,"componentAdmin"));z(2);F("name",b.getIconName(a,"createIssues"));z(2);F("name",b.getIconName(a,"issueAdmin"));z(2);F("name",b.getIconName(a,"issueEditor"));z(2);F("name",b.getIconName(a,"issueCommenter"));
z(2);F("name",b.getIconName(a,"issueReader"));z(2);F("name",b.getIconName(a,"restrictedReader"));z(2);F("name",b.getIconName(a,"restrictedPlusReader"))}},yCb=function(a){a&1&&(G(0,"div",1)(1,"p"),R(2," Your component is only using advanced roles. Simplify your component\u2019s role assignment by moving some users to standard roles. "),G(3,"a",2),R(4,"Learn more"),H()()());a&2&&(a=N(),z(3),vf("href","",Fn(a.documentationLinks),"#role-based-permissions",Id))},zCb=function(a){a&1&&(G(0,"div",2),I(1,
"b-spinner"),H())},BCb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);M("saveRolesMap",function(c){w(b);var d=N();ACb(d.rolesEditor,c);return y()});H()();G(5,"mat-tab",6);I(6,"permissions-view",7);H()()()()}a&2&&(a=N(),z(4),F("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),z(2),F("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",
a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",null==a.rolesEditor.component?null:null==a.rolesEditor.component.accessLimit?null:a.rolesEditor.component.accessLimit.accessLevel))},DCb=function(a){if(a&1){var b=v();G(0,"b-button",14,15);M("onAction",function(){w(b);var c=N(3);return y(CCb(c))});R(2);H()}a&2&&(a=N(3),F("disabled",a.isSaving()),z(2),zf(" ",a.archiveAction," Component "))},ECb=function(a){if(a&1){var b=v();G(0,"b-button",16);M("onAction",function(){w(b);var c=N(3);return y(c.createIssue())});
R(1," Create Issue ");H()}a&2&&(a=N(3),F("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},FCb=function(a){a&1&&(J(0),G(1,"a",11),R(2," Browse Components "),H(),Q(3,DCb,3,2,"b-button",12),Q(4,ECb,2,2,"b-button",13),L());a&2&&(a=N(2),z(1),F("routerLinkObj",a.componentListRoute(a.component.componentId)),z(2),F("ngIf",a.isAdmin()),z(1),F("ngIf",!a.isAnonymous))},GCb=function(a){a&1&&(G(0,"div",17),I(1,"b-spinner"),H())},HCb=function(a){a&1&&(G(0,"span",
38),R(1," (archived) "),H())},ICb=function(a){a&1&&rf(0)},JCb=function(a){a&1&&rf(0)},KCb=function(a){a&1&&rf(0)},LCb=function(a){a&1&&rf(0)},MCb=function(a){a&1&&rf(0)},OCb=function(a){if(a&1){var b=v();G(0,"div",78)(1,"div",48)(2,"label",79)(3,"span",45);R(4,"Parent Component");H()();G(5,"span",50)(6,"div",80)(7,"strong");R(8,"Careful!");H();R(9," Moving this component can have significant consequences. If this component has custom fields that are defined on the parent or ancestor components, those fields will be lost, and issues in this component will no longer display those fields. ");
G(10,"div",52);I(11,"div",53)(12,"div",54);H()()()();G(13,"b-team-component-picker",81);M("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),mf("required",a.isParentComponentRequired&&!NCb(a)),z(11),F("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!NCb(a)))},PCb=function(a){a&1&&(G(0,"a",82),R(1," Learn more "),H());a&2&&(N(4),F("href",Xob(),Id))},
QCb=function(a){if(a&1){var b=v();G(0,"div",83)(1,"label",84)(2,"span",45);R(3,"Retention Settings");H()();G(4,"div",85)(5,"p");R(6,"Please choose a period of time to retain the data stored in this component.");I(7,"br");G(8,"a",86);R(9," Learn more ");H()()();G(10,"div",87)(11,"b-retention-settings-form",88);M("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),mf("bv2-edit-resource-readonly",
!a.isAdmin()),z(8),F("href",Zr(),Id),z(3),F("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("initialModel",a.component.retentionSettings))},SCb=function(a){if(a&1){var b=v();G(0,"div",92)(1,"b-component-team-picker",93);M("modelChange",function(c){w(b);var d=N(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&RCb(d);return y()});H()()}a&2&&(a=N(5),z(1),wf("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),F("isAdmin",a.isAdmin())("isTopLevel",
!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},TCb=function(a){a&1&&(G(0,"div",89)(1,"label",90)(2,"span",45),R(3,"Team Configuration"),H()(),Q(4,SCb,2,6,"div",91),H());a&2&&(a=N(4),mf("bv2-edit-resource-readonly",!a.isAdmin()),z(4),F("ngIf",a.component.team))},UCb=function(a){a&1&&(G(0,"a",106),R(1),H());if(a&2){a=N().ngIf;var b=N(5),c;F("routerLinkObj",b.getSloManagementLink(a.id));z(1);zf(" ",null!==
(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},VCb=function(a){a&1&&R(0," None ")},WCb=function(a,b){a&1&&(G(0,"div",103),R(1," Inherited SLO Policy: "),Q(2,UCb,2,2,"a",104),Q(3,VCb,1,0,"ng-template",null,105,Vf),H());if(a&2){a=b.ngIf;var c=yf(4);z(2);F("ngIf","0"!==a.id)("ngIfElse",c)}},XCb=function(a){a&1&&(G(0,"a",111),R(1),S(2,"titlecase"),H());a&2&&(a=N().ngIf,F("routerLinkObj",a.link),z(1),Bf(" (",T(2,3,a.type),") ",a.name," "))},YCb=function(a){a&1&&R(0," None ")},ZCb=function(a){a&
1&&(G(0,"div",113),I(1,"slo-inheritance-breadcrumbs",114),H());a&2&&(a=N().ngIf,z(1),F("componentPath",a.componentPath)("teamPath",a.teamPath))},$Cb=function(a){a&1&&(J(0),Q(1,ZCb,2,2,"div",112),L());a&2&&(a=N(6),z(1),F("ngIf",a.showSloInheritancePath))},aDb=function(a,b){if(a&1){var c=v();G(0,"div",107);R(1," Policy Source: ");Q(2,XCb,3,5,"a",108);Q(3,YCb,1,0,"ng-template",null,109,Vf);G(5,"button",110);M("click",function(){w(c);var e=N(5);return y(e.showSloInheritancePath=!e.showSloInheritancePath)});
R(6);H();Q(7,$Cb,2,1,"ng-container",7);S(8,"async");H()}if(a&2){a=b.ngIf;var d=yf(4);b=N(5);z(2);F("ngIf",a.link)("ngIfElse",d);z(3);bf("aria-expanded",b.showSloInheritancePath);z(1);zf(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");z(1);F("ngIf",T(8,5,b.policySourcePath$))}},bDb=function(a){a&1&&(J(0),R(1,", "),G(2,"a",116),R(3,"Team Leads"),H(),L());a&2&&(a=N(7),z(2),F("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},cDb=function(a){a&1&&(J(0),R(1," SLO Admins: "),
G(2,"a",116),R(3,"Component Admins"),H(),Q(4,bDb,4,1,"ng-container",7),L());a&2&&(a=N(6),z(2),F("routerLinkObj",a.componentPermissions(a.componentId)),z(2),F("ngIf",a.component.team&&"0"!==a.component.team.id))},dDb=function(a){a&1&&(G(0,"div",115),Q(1,cDb,5,2,"ng-container",7),H());a&2&&(a=N(5),z(1),F("ngIf",a.enableTeamLeadSloEditingUi))},eDb=function(a){a&1&&(J(0),I(1,"mat-icon",118),R(2," on "),L())},fDb=function(a){a&1&&(I(0,"mat-icon",119),R(1," off "))},gDb=function(a){a&1&&(J(0),R(1," Lock: "),
Q(2,eDb,3,0,"ng-container",0),S(3,"async"),Q(4,fDb,2,0,"ng-template",null,117,Vf),L());if(a&2){var b=yf(5);a=N(5);z(2);F("ngIf",T(3,2,a.sloLocked$))("ngIfElse",b)}},iDb=function(a){if(a&1){var b=v();G(0,"div",120)(1,"mat-checkbox",121);M("change",function(c){w(b);var d=N(5);c=c.checked;d.component.slo.inherit=!c;c||RCb(d);return y()});G(2,"span");R(3,"Override the inherited SLO policy");H()()()}a&2&&(a=N(5),z(1),F("checked",!a.component.slo.inherit)("disabled",!hDb(a)))},jDb=function(a){if(a&1){var b=
v();G(0,"div",128)(1,"label",129);R(2," Justification ");H();I(3,"mat-icon",130);G(4,"textarea",131);M("ngModelChange",function(c){w(b);var d=N(6);return y(d.component.slo.comment=c)});H()()}a&2&&(a=N(6),z(4),F("ngModel",a.component.slo.comment)("disabled",!$r(a)))},kDb=function(a){a&1&&(G(0,"a",132),I(1,"mat-icon",133),H());a&2&&(a=N(6),wf("target",a.hasUnsavedChanges()?"_blank":"_self"),F("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},oDb=function(a){if(a&1){var b=v();J(0);Q(1,jDb,
5,2,"div",122);G(2,"mat-slide-toggle",123);M("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()});R(3," Enable SLO ");H();G(4,"div",124)(5,"label",125);R(6,"SLO policy");H();G(7,"slo-picker",126);M("onSloSelect",function(c){w(b);var d=N(5);return y(d.onSloChange(c))});H();Q(8,kDb,2,2,"a",127);H();L()}a&2&&(a=N(5),z(1),F("ngIf",lDb(a)),z(1),mf("indented",mDb(a)),
F("ngModel",a.isEnableSloChecked)("disabled",!nDb(a)),z(5),F("bv2Disabled",!a.isEnableSloChecked||!nDb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&nDb(a)?"Type to search for an SLO":"SLO disabled"),z(1),F("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},pDb=function(a){a&1&&(G(0,"div",94)(1,"div",48)(2,"label",95)(3,"span",45),R(4,"SLO Configuration"),H()(),G(5,"span",50)(6,"div",96)(7,"strong"),R(8,"Careful!"),H(),R(9," Changing the SLO (service level objective) of a component has the potential to impact the Buganizer SLO compliance status of every issue under that component. "),
G(10,"div",52),I(11,"div",53)(12,"div",54),H()()()(),G(13,"div",97),Q(14,WCb,5,2,"div",98),S(15,"async"),Q(16,aDb,9,7,"div",99),S(17,"async"),Q(18,dDb,2,1,"div",100),G(19,"div",101),Q(20,gDb,6,4,"ng-container",7),H()(),Q(21,iDb,4,2,"div",102),Q(22,oDb,9,9,"ng-container",7),H());if(a&2){a=N(4);mf("bv2-edit-resource-readonly",!$r(a));z(14);F("ngIf",T(15,8,a.inheritedSlo$));z(2);F("ngIf",T(17,10,a.sloPolicySource$));z(2);F("ngIf",a.sessionIsInternal);z(2);F("ngIf",a.enableSloLockingUi);z(1);F("ngIf",
mDb(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;F("ngIf",a)}},qDb=function(a){a&1&&I(0,"recommendation-settings",134);a&2&&(a=N(4),F("componentId",a.componentId))},rDb=function(a){if(a&1){var b=v();G(0,"div",74)(1,"b-button",135);M("onAction",function(){w(b);var c=N(4);return y(c.saveMetadata())});R(2," Update ");H();G(3,"b-button",136);M("onAction",function(){w(b);var c=
N(4);return y(c.revertMetadataChanges())});R(4," Revert Changes ");H();G(5,"b-button",136);M("onAction",function(){w(b);var c=N(4);return y(c.createChild())});R(6," Create Child Component ");H()()}a&2&&(a=N(4),z(1),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),z(2),F("disabled",a.hasUnsavedMetadataChanges()))},sDb=function(a){if(a&1){var b=v();G(0,"b-button",137);M("onAction",function(){w(b);var c=N(4);return y(c.showUpdateHistoryModal())});
R(1," View History ");H()}},tDb=function(a){a&1&&I(0,"b-spinner")},uDb=function(a){if(a&1){var b=v();G(0,"b-component-children-list",138);M("onVisit",function(){w(b);var c=N(4);return y(c.trackClick("openChildComponent"))});H()}a&2&&(a=N(4),F("children",a.childComponents))},vDb=function(a){a&1&&(G(0,"span"),R(1," No child components. "),H())},wDb=function(a){if(a&1){var b=v();G(0,"div",39)(1,"form",40,41);I(3,"b-error-banner",42);G(4,"div",43)(5,"label",44)(6,"span",45);R(7,"Name");H()();G(8,"input",
46);M("ngModelChange",function(c){w(b);var d=N(3);return y(d.component.name=c)});H()();G(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);R(13,"Description");H()();G(14,"span",50)(15,"div",51);R(16," The description will be used during component searches. You can add previous project names or keywords that will help users search for your component. ");G(17,"div",52);I(18,"div",53)(19,"div",54);H()()()();G(20,"textarea",55);M("ngModelChange",function(c){w(b);var d=N(3);return y(d.component.description=
c)});R(21,"            ");H()();Q(22,OCb,14,5,"div",56);G(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);M("change",function(c){w(b);var d=N(3);return y(d.setCommentEditState(c.checked))});H()();G(26,"div")(27,"strong",60);R(28,"Editable Comments");H();G(29,"div",61);R(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");I(31,"br");Q(32,PCb,2,1,"a",62);H()()();Q(33,QCb,12,6,"div",63);Q(34,TCb,5,3,"div",64);Q(35,pDb,23,
12,"div",65);G(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);R(40,"Component Alias");H()();G(41,"span",50)(42,"div",68);R(43," You can create a new issue in this component by sending an email to this alias. ");I(44,"br");G(45,"a",69);R(46," Learn more ");H();G(47,"div",52);I(48,"div",53)(49,"div",54);H()()()();G(50,"div")(51,"a",70);R(52);H()()();Q(53,qDb,1,1,"recommendation-settings",71);G(54,"div",72);Q(55,rDb,7,3,"div",73);G(56,"div",74);Q(57,sDb,2,0,"b-button",75);H()();G(58,"div",76)(59,
"label")(60,"span",45);R(61,"Child Components");H()();Q(62,tDb,1,0,"b-spinner",7);Q(63,uDb,1,1,"b-component-children-list",77);Q(64,vDb,2,0,"span",7);H()()()}a&2&&(a=N(3),z(1),mf("show-errors",a.error),z(2),F("error",a.error),z(1),mf("bv2-edit-resource-readonly",as(a)),z(4),F("ngModel",a.component.name)("disabled",as(a)),z(1),mf("bv2-edit-resource-readonly",as(a)),z(11),F("ngModel",a.component.description)("disabled",as(a)),z(2),F("ngIf",a.isAdmin()),z(1),mf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),
z(2),F("checked",a.commentEditsEnabled)("disabled",as(a)),z(7),F("ngIf",!a.sessionIsExternal),z(1),F("ngIf",!a.sessionIsExternal),z(1),F("ngIf",a.sessionIsInternal),z(1),F("ngIf",a.component.slo&&a.sessionIsInternal),z(10),F("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Id),z(6),vf("href","mailto:",a.component.emailAlias,"",Id),bf("aria-label","Component Alias -"+a.component.emailAlias),z(1),Af(a.component.emailAlias),z(1),F("ngIf",a.enableRecommendationSettingsPage),
z(2),F("ngIf",a.isEditorInternal||$r(a)),z(2),F("ngIf",a.componentHistoryUiEnabled),z(5),F("ngIf",void 0===a.childComponents),z(1),F("ngIf",a.childComponents&&0<a.childComponents.length),z(1),F("ngIf",a.childComponents&&0===a.childComponents.length))},xDb=function(a){a&1&&(G(0,"div",143),R(1," Standard Fields "),H())},zDb=function(a){if(a&1){var b=v();G(0,"b-component-standard-fields",144);M("updateComponent",function(c){w(b);var d=N(4);return y(yDb(d,c))});H()}a&2&&(a=N(4),F("effortSpec",a.component.effortSpec)("parentEffortSpec",
null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},ADb=function(a){a&1&&(G(0,"div",145),R(1," Custom Fields "),H())},BDb=function(a){a&1&&(Q(0,xDb,2,0,"div",139),Q(1,zDb,1,3,"b-component-standard-fields",140),Q(2,ADb,2,0,"div",141),I(3,"b-component-custom-fields",142));a&2&&(a=N(3),F("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),F("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),F("ngIf",a.sessionIsInternal&&!a.isExternal()),z(1),F("editMode",a.isEditorInternal)("isSaving",
a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},DDb=function(a){a&1&&(G(0,"a",149),R(1," Learn more "),H());a&2&&(N(4),F("href",CDb(),Id))},FDb=function(a){if(a&1){var b=v();G(0,"div",39)(1,"div",146);R(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");Q(3,DDb,2,1,"a",147);H();G(4,"b-field-reorder",148);M("onReload",function(){w(b);var c=N(3);return y(EDb(c))});H()()}a&2&&(a=N(3),z(3),
F("ngIf",a.sessionIsInternal),z(1),F("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},GDb=function(a){a&1&&I(0,"b-edit-templates",151);a&2&&(a=N(4),F("componentId",a.componentId)("supportCustomFields",!0))},HDb=function(a){a&1&&(G(0,"div"),R(1),H());a&2&&(a=N().$implicit,z(1),Af(a.description))},IDb=function(a,b){a&1&&(G(0,"div",153)(1,"label"),R(2),H(),Q(3,HDb,2,1,"div",7),G(4,"div")(5,"a",70),R(6),H()()());a&2&&(a=
b.$implicit,z(2),Af(a.name),z(1),F("ngIf",a.description),z(2),F("href",a.url,Id),bf("aria-label","Click to open the template "+a.name),z(1),Af(a.url))},JDb=function(a){a&1&&(J(0),Q(1,IDb,7,5,"div",152),L());a&2&&(a=N(4),z(1),F("ngForOf",a.templates))},KDb=function(a){a&1&&(G(0,"div",39),Q(1,GDb,1,2,"b-edit-templates",150),Q(2,JDb,2,1,"ng-container",7),H());a&2&&(a=N(3),z(1),F("ngIf",a.isEditorInternal),z(1),F("ngIf",!a.isEditorInternal))},LDb=function(a){a&1&&I(0,"role-based-permissions")},MDb=function(a){if(a&
1){var b=v();G(0,"div")(1,"div",18)(2,"h2");R(3);H();Q(4,HCb,2,0,"span",19);G(5,"a",20);M("click",function(){w(b);var l=N(2);return y(l.trackClick("recentIssues"))});R(6," (Recent Issues)");H();I(7,"b-access-level-indicator",21)(8,"b-tracker-chip-smart",22);H();G(9,"div",23);I(10,"b-component-breadcrumb",24)(11,"div",25);H();G(12,"mat-tab-group",26);M("selectedIndexChange",function(l){w(b);var q=N(2);return y(q.tabChange(l))});G(13,"mat-tab",27);Q(14,ICb,1,0,"ng-container",28);H();G(15,"mat-tab",
29);Q(16,JCb,1,0,"ng-container",28);H();G(17,"mat-tab",30);Q(18,KCb,1,0,"ng-container",28);H();G(19,"mat-tab",31);Q(20,LCb,1,0,"ng-container",28);H();G(21,"mat-tab",32);Q(22,MCb,1,0,"ng-container",28);H()();Q(23,wDb,65,30,"ng-template",null,33,Vf);Q(25,BDb,4,7,"ng-template",null,34,Vf);Q(27,FDb,5,5,"ng-template",null,35,Vf);Q(29,KDb,3,2,"ng-template",null,36,Vf);Q(31,LDb,1,0,"ng-template",null,37,Vf);H()}if(a&2){var c=yf(24),d=yf(26),e=yf(28),g=yf(30),h=yf(32);a=N(2);z(3);Bf(" Component ",a.component.componentId,
": ",a.currentName," ");z(1);F("ngIf",a.isArchived());z(1);F("routerLinkObj",a.getRecentIssuesLink());z(2);F("accessLevel",a.getComponentAccessLevel());z(1);F("trackerId",a.component.trackerId);z(2);F("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");z(2);F("selectedIndex",a.selectedTabIndex);z(1);F("id",a.Tab.BASIC);z(1);F("ngTemplateOutlet",c);z(1);F("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");
z(1);F("ngTemplateOutlet",d);z(1);F("id",a.Tab.FIELD_ORDERING);z(1);F("ngTemplateOutlet",e);z(1);F("id",a.Tab.TEMPLATES);z(1);F("ngTemplateOutlet",g);z(1);F("id",a.Tab.ACCESS);z(1);F("ngTemplateOutlet",h)}},NDb=function(a){a&1&&(G(0,"span")(1,"p"),R(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),I(3,"br"),G(4,"a",159),R(5," Learn more "),H()(),G(6,"p"),R(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),
I(8,"br"),R(9," so they can be scheduled for deletion. "),G(10,"a",160),R(11," Learn more "),H()()());a&2&&(N(3),z(4),F("href","http://go/archived-components",Id),z(6),F("href",Zr(),Id))},ODb=function(a){a&1&&(G(0,"span"),R(1," : "),G(2,"b"),R(3),H()());if(a&2){a=N().$implicit;var b=N(3);mf("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays);z(3);Af(b.getRetentionPeriod(a))}},PDb=function(a,b){a&1&&(G(0,"span")(1,"span"),R(2),H(),Q(3,ODb,4,3,"span",161),I(4,"br"),H());a&2&&(a=b.$implicit,
b=N(3),z(2),Af(a.componentPath),z(1),F("ngIf","Archive"===b.archiveAction))},QDb=function(a){if(a&1){var b=v();G(0,"h2",154);R(1);H();G(2,"mat-dialog-content");Q(3,NDb,12,2,"span",7);G(4,"p");R(5," The following components will be affected: ");H();G(6,"div",155);Q(7,PDb,5,2,"span",156);H()();G(8,"mat-dialog-actions")(9,"button",157);M("click",function(){w(b);var c=N(2);c.archive();c.isArchiving=!1;return y()});R(10," Yes ");H();G(11,"button",158);M("click",function(){w(b);N(2).isArchiving=!1;return y()});
R(12," No ");H()()}a&2&&(a=N(2),z(1),Af(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),z(2),F("ngIf","Archive"===a.archiveAction),z(4),F("ngForOf",a.descendants))},RDb=function(a){if(a&1){var b=v();J(0);G(1,"div",2)(2,"div",3)(3,"div",4)(4,"b-button",5);M("onAction",function(){w(b);var c=N();return y(c.back())});I(5,"b-icon",6);H();Q(6,FCb,5,3,"ng-container",7);H()()();G(7,"div",8);Q(8,GCb,2,0,"div",9);Q(9,
MDb,33,21,"div",7);H();Q(10,QDb,13,3,"ng-template",null,10,Vf);L()}a&2&&(a=N(),z(6),F("ngIf",a.component),z(2),F("ngIf",a.isLoading),z(1),F("ngIf",!a.isLoading&&a.component&&a.component.componentId))},SDb=function(a){a&1&&(G(0,"div",162),I(1,"b-tracker-redirect",163),H());a&2&&(a=N(),z(1),F("component",a.component))},TDb=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}},
UDb=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)}},VDb=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},WDb=function(a,b){a&1&&(G(0,"div",39),I(1,"b-team-breadcrumb",
40),H());a&2&&(a=b.ngIf,z(1),F("teamPath",a))},XDb=function(a,b){a&1&&(J(0),R(1),L());a&2&&(a=b.ngIf,z(1),Af(a.trim()))},YDb=function(a){a&1&&R(0," No description ")},ZDb=function(a,b){a&1&&(J(0),I(1,"b-multi-user-input",41),L());a&2&&(a=b.ngIf,z(1),F("users",a),bf("disabled",!0))},$Db=function(a){a&1&&(J(0),G(1,"p"),R(2,"No child teams"),H(),L())},aEb=function(a,b){a&1&&(J(0),I(1,"br"),G(2,"a",44),R(3),H(),L());a&2&&(a=b.$implicit,z(2),vf("routerLink","/teams/",a.id,"/edit"),z(1),Af(a.name))},bEb=
function(a){a&1&&Q(0,aEb,4,2,"ng-container",43);a&2&&(a=N().ngIf,F("ngForOf",a))},cEb=function(a,b){a&1&&(J(0),Q(1,$Db,3,0,"ng-container",18),Q(2,bEb,1,1,"ng-template",null,42,Vf),L());if(a&2){a=b.ngIf;var c=yf(3);z(1);F("ngIf",0===a.length)("ngIfElse",c)}},dEb=function(a){a&1&&(G(0,"a",48),R(1),H());if(a&2){a=N().ngIf;var b;F("routerLinkObj",a.link);z(1);zf(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},eEb=function(a){a&1&&R(0," None ")},fEb=function(a,b){a&1&&(G(0,"div",45),
R(1," Inherited SLO Policy: "),Q(2,dEb,2,2,"a",46),Q(3,eEb,1,0,"ng-template",null,47,Vf),H());if(a&2){a=b.ngIf;var c=yf(4);z(2);F("ngIf",a.link)("ngIfElse",c)}},gEb=function(a,b){a&1&&(G(0,"a",49),R(1),H());a&2&&(a=b.ngIf,F("routerLinkObj",a.link),z(1),zf(" ",a.name," "))},hEb=function(a){a&1&&R(0," None ")},iEb=function(a){a&1&&(J(0),I(1,"mat-icon",51),R(2," on "),L())},jEb=function(a){a&1&&(I(0,"mat-icon",52),R(1," off "))},kEb=function(a){a&1&&(J(0),R(1," Lock: "),Q(2,iEb,3,0,"ng-container",18),
Q(3,jEb,2,0,"ng-template",null,50,Vf),L());if(a&2){var b=yf(4);a=N(2);z(2);F("ngIf",a.originalSloLock)("ngIfElse",b)}},lEb=function(a){if(a&1){var b=v();G(0,"div",54)(1,"mat-checkbox",55);M("change",function(c){w(b);var d=N(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return y()});G(2,"span");R(3,"Override the inherited SLO");H()()()}a&2&&(a=N(3),z(1),F("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},mEb=function(a){if(a&1){var b=v();
G(0,"div",60)(1,"label",61);R(2," Justification to override the org SLO ");H();I(3,"mat-icon",62);G(4,"textarea",63);M("ngModelChange",function(c){w(b);var d=N(4);return y(d.sloJustification$.next(c))});S(5,"async");H()()}a&2&&(a=N(4),z(3),F("matTooltip",a.justificationRequiredText),bf("aria-label",a.justificationRequiredText),z(1),F("ngModel",T(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},nEb=function(a,b){a&1&&(G(0,"a",64),S(1,"async"),I(2,"mat-icon",9),H());a&2&&(a=b.ngIf,b=N(4),wf("target",
T(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),F("routerLinkObj",a))},oEb=function(a){if(a&1){var b=v();J(0);Q(1,mEb,6,6,"div",56);G(2,"div",14)(3,"mat-slide-toggle",57);M("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)});R(4," Enable SLO ");H();G(5,"slo-picker",58);M("onSloSelect",function(d){w(b);var e=N(3);return y(e.onSloChange(d))});H();Q(6,nEb,3,4,"a",59);S(7,"async");H();L()}if(a&2){a=N().ngIf;
var c=N(2);z(1);F("ngIf",!a.value);z(2);mf("indented",!a.value);F("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);z(2);F("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");z(1);F("ngIf",T(7,9,c.sloPickerLink$))}},pEb=function(a,b){a&1&&(J(0),Q(1,lEb,4,2,"div",53),Q(2,oEb,8,11,"ng-container",6),L());a&2&&(a=b.ngIf,b=N(2),z(1),F("ngIf",!a.value),z(1),F("ngIf",!b.isSloInheritEnabled))},
qEb=function(a){if(a&1){var b=v();G(0,"div",14)(1,"mat-checkbox",65);M("change",function(c){w(b);var d=N(2);return y(d.sloLocked=c.checked)});G(2,"span");R(3,"Lock for all child teams");H()()()}a&2&&(a=N(2),z(1),F("checked",a.sloLocked)("disabled",!a.canEditSloLock))},tEb=function(a){if(a&1){var b=v();G(0,"div",14)(1,"div",20)(2,"label",21)(3,"span",16);R(4," SLO lead ");H()();G(5,"span",22)(6,"div",23);R(7," Single team lead receiving SLO reports of unassigned issues. ");G(8,"div",24);I(9,"div",
25)(10,"div",26);H()()()();G(11,"div");J(12);G(13,"b-multi-user-input",66);M("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();L();H()()}a&2&&(a=N(2),z(13),F("users",a.sloLead?Ff(5,rEb,a.sloLead):Ef(7,sEb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1),bf("disabled",a.hasEditAccess?null:!0))},wEb=function(a){if(a&
1){var b=v();G(0,"div",67)(1,"div",68)(2,"button",69);M("click",function(){w(b);var c=N().ngIf,d=N();return y(uEb(d,c))});S(3,"async");R(4," Update ");H();G(5,"button",70);M("click",function(){w(b);var c=N(2);return y(vEb(c))});S(6,"async");R(7," Revert changes ");H()()()}a&2&&(a=N(2),z(2),F("disabled",!T(3,2,a.hasUnsavedChanges$)),z(3),F("disabled",!T(6,4,a.hasUnsavedChanges$)))},xEb=function(a){a&1&&(J(0),G(1,"p"),R(2,"No mapped components"),H(),L())},yEb=function(a,b){a&1&&(G(0,"ul")(1,"li")(2,
"a",44),R(3),H()()());a&2&&(a=b.$implicit,z(2),vf("routerLink","/components/",a.componentId,"/manage"),z(1),zf(" ",a.name," "))},zEb=function(a){a&1&&(Q(0,yEb,4,2,"ul",43),S(1,"async"));a&2&&(a=N(3),F("ngForOf",T(1,1,a.associatedComponents$)))},AEb=function(a,b){a&1&&(J(0),Q(1,xEb,3,0,"ng-container",18),Q(2,zEb,2,3,"ng-template",null,71,Vf),L());if(a&2){a=b.ngIf;var c=yf(3);z(1);F("ngIf",0===a.length)("ngIfElse",c)}},CEb=function(a,b){if(a&1){var c=v();J(0);G(1,"div",7)(2,"h2");R(3);G(4,"a",8);R(5);
I(6,"mat-icon",9);H()()();Q(7,WDb,2,1,"div",10);S(8,"async");G(9,"mat-tab-group",11);M("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))});G(10,"mat-tab",12)(11,"div",13);R(12," Team information on this page comes from ");G(13,"a",8);R(14," Team Graph ");I(15,"mat-icon",9);H();R(16," and is view only. ");G(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);R(21,"Description");H()();G(22,"div",
17);Q(23,XDb,2,1,"ng-container",18);Q(24,YDb,1,0,"ng-template",null,19,Vf);H()()();G(26,"div",14)(27,"div",20)(28,"label",21)(29,"span",16);R(30," Team admins ");H();G(31,"span",22)(32,"div",23);R(33," Team admins are team leads from Team Graph. ");G(34,"div",24);I(35,"div",25)(36,"div",26);H()()()();Q(37,ZDb,2,2,"ng-container",6);S(38,"async");H()();G(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);R(43,"Child team(s)");H()();Q(44,cEb,4,2,"ng-container",6);S(45,"async");H()()()();G(46,"mat-tab",
27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);R(51,"SLO configuration");H()();G(52,"span",22)(53,"div",28)(54,"strong");R(55,"Careful!");H();R(56," Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");G(57,"div",24);I(58,"div",25)(59,"div",26);H()()()();G(60,"div",29);Q(61,fEb,5,2,"div",30);S(62,"async");G(63,"div",31);R(64," Policy Source: ");Q(65,gEb,2,2,"a",32);S(66,"async");Q(67,
hEb,1,0,"ng-template",null,33,Vf);H();G(69,"div",34);Q(70,kEb,5,2,"ng-container",6);H()();I(71,"b-error-banner",35);Q(72,pEb,3,2,"ng-container",6);S(73,"async");Q(74,qEb,4,2,"div",36);Q(75,tEb,14,8,"div",36);Q(76,wEb,8,6,"div",37);H()();G(77,"mat-tab",38)(78,"div",13)(79,"div",14)(80,"div",15)(81,"label")(82,"span",16);R(83," Component(s) that have mapped to this team ");H()()();Q(84,AEb,4,2,"ng-container",6);S(85,"async");H()()()();L()}if(a&2){a=b.ngIf;var d=yf(25),e=yf(68);b=N();z(3);zf(" Team ",
a.teamId,": ");z(1);vf("href","https://moma.corp.google.com/team/",a.teamId,"",Id);z(1);zf(" ",a.name," ");z(2);F("ngIf",T(8,23,b.teamPath$));z(2);F("selectedIndex",b.selectedTabIndex);z(1);F("id",b.Tab.BASIC);z(3);vf("href","https://moma.corp.google.com/team/",a.teamId,"",Id);z(10);F("ngIf",a.description)("ngIfElse",d);z(14);F("ngIf",T(38,25,b.adminsAndLeads$));z(7);F("ngIf",T(45,27,b.childTeams$));z(2);F("id",b.Tab.SLO);z(15);F("ngIf",T(62,29,b.inheritedSlo$));z(4);F("ngIf",T(66,31,b.sloPolicySource$))("ngIfElse",
e);z(5);F("ngIf",b.enableSloLockingUi);z(1);F("error",b.error);z(1);F("ngIf",Ff(37,BEb,T(73,33,b.isRootTeam$)));z(2);F("ngIf",b.enableSloLockingUi);z(1);F("ngIf",b.enableSloLead);z(1);F("ngIf",b.hasEditAccess);z(1);F("id",b.Tab.MAPPINGS);z(7);F("ngIf",T(85,35,b.associatedComponents$))}},DEb=function(a,b){a&1&&(G(0,"div",14),I(1,"mat-checkbox",15),G(2,"div")(3,"label",16),R(4),H(),G(5,"label",17),R(6),H()()());if(a&2){a=b.ngIf;b=N().$implicit;var c=N().ngIf;z(1);F("id","select-signal-checkbox-"+b)("aria-labelledby",
"checkbox-label-"+b)("value",b)("checked",c.includes(b));z(2);vf("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");z(1);zf(" ",a.header," ");z(1);vf("for","select-signal-checkbox-",b,"-input");z(1);zf(" ",a.body," ")}},FEb=function(a,b){a&1&&(J(0),Q(1,DEb,7,9,"div",13),L());a&2&&(a=b.$implicit,N(3),z(1),F("ngIf",EEb.has(a)?EEb.get(a):null))},GEb=function(a){a&1&&(G(0,"div",11),Q(1,FEb,2,1,"ng-container",12),H());a&2&&(a=N(2),z(1),F("ngForOf",a.ALL_SIGNAL_TYPES))},HEb=function(a){if(a&
1){var b=v();G(0,"div",4)(1,"p",5);R(2," Select alerts ");G(3,"button",6);M("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()});R(4," Select all ");H()();Q(5,GEb,2,1,"div",7);S(6,"async");I(7,"mat-divider");G(8,"div",8)(9,"button",9);M("click",function(){w(b);var c=N();return y(c.closeMenu())});R(10,"Cancel");H();G(11,"button",10);M("click",function(){w(b);var c=N();return y(c.emitSelection())});R(12,"Apply");H()()()}a&
2&&(a=N(),z(5),F("ngIf",T(6,1,a.selectedSignals$)))},IEb=function(a){a&1&&(J(0),R(1),L());a&2&&(a=N(3),z(1),zf("(",a.count,")"))},JEb=function(a){a&1&&(J(0),R(1),Q(2,IEb,2,1,"ng-container",3),L());if(a&2){a=N().ngIf;var b=N();z(1);zf(" ",a.text," ");z(1);F("ngIf",-1<b.count)}},KEb=function(a){if(a&1){var b=v();G(0,"button",5);M("click",function(){w(b);var c=N(2);return y(c.onClickRemove())});G(1,"span",6);R(2);H();I(3,"mat-icon",7);H()}a&2&&(a=N().ngIf,z(2),zf("remove filter ",a.text,""))},LEb=function(a,
b){a&1&&(G(0,"span",1),S(1,"async"),I(2,"mat-icon",2),Q(3,JEb,3,2,"ng-container",3),Q(4,KEb,4,1,"button",4),H());a&2&&(a=b.ngIf,b=N(),pf("chippy rounded ",a.className," margin-xs-right"),mf("full-chip",!b.iconOnly)("selected",b.isSelected),F("matTooltip",T(1,12,b.getSignalTypeTooltip()))("matTooltipShowDelay",b.matTooltipShowDelay),z(2),F("svgIcon",a.icon),z(1),F("ngIf",!b.iconOnly),z(1),F("ngIf",b.removable))},MEb=function(a){a&1&&(G(0,"span",19),R(1,"No filters selected"),H())},OEb=function(a,b){if(a&
1){var c=v();J(0);G(1,"b-signal-chip",20);M("onRemove",function(){var d=w(c).$implicit,e=N(2);return y(e.toggleSignal(d))});H();L()}a&2&&(a=b.$implicit,z(1),F("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",Ff(6,NEb,a)))},REb=function(a){if(a&1){var b=v();G(0,"div",8)(1,"div",9)(2,"button",10);M("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();G(4,"p",12);R(5," Applied alerts ");H();G(6,"a",13);I(7,"mat-icon",14);H()();G(8,"section",15)(9,"select-signals-menu",16);M("selected",function(d){w(b);var e=N();return y(PEb(e,d))});H();Q(10,MEb,2,0,"span",17);S(11,"async");Q(12,OEb,2,8,"ng-container",18);S(13,"async");H()()}if(a&2){a=N();var c;z(2);F("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST);z(7);F("selectedSignals$",a.selectedSignals$);z(1);F("ngIf",0===(null!==(c=T(11,4,a.selectedSignals$))&&void 0!==c?c:Ef(8,QEb)).length);z(2);F("ngForOf",
T(13,6,a.selectedSignals$))}},TEb=function(a){if(a&1){var b=v();G(0,"div")(1,"button",21);M("click",function(){w(b);var c=N();return y(SEb(c))});R(2," Dismiss selected ");H()()}a&2&&(a=N(),z(1),F("disabled",a.dismissSelectedInProgress))},UEb=function(a){a&1&&(G(0,"div",22),I(1,"b-spinner"),G(2,"span"),R(3," Searching for issues needing attention..."),H()())},VEb=function(a){a&1&&(G(0,"p",28),R(1," No alerts are selected. Select alerts via the filter icon above. "),H())},WEb=function(a){a&1&&(G(0,
"p",28),R(1,"No issues matching the current filters."),H())},XEb=function(a){a&1&&(G(0,"div",23),I(1,"img",24),G(2,"p",25),R(3,"So empty"),H(),Q(4,VEb,2,0,"p",26),S(5,"async"),Q(6,WEb,2,0,"ng-template",null,27,Vf),H());if(a&2){var b=yf(7);a=N();var c;z(1);F("src",a.SPACE_EMPTY_STATE,Id);z(3);F("ngIf",0===(null!==(c=T(5,3,a.selectedSignals$))&&void 0!==c?c:Ef(5,QEb)).length)("ngIfElse",b)}},YEb=function(a,b){a&1&&(G(0,"th",44)(1,"span",0),R(2),H()());a&2&&(a=b.column,bf("data-stable-column-name",a.name),
z(2),zf("column-",a.name,""))},$Eb=function(a,b){if(a&1){var c=v();G(0,"th",45);J(1);G(2,"mat-pseudo-checkbox",46);M("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();L();H()}a&2&&(a=b.column,b=N(2),bf("data-stable-column-name",a.name),z(2),F("state",
b.getHeaderCheckboxState()),bf("aria-checked",ZEb(b)))},aFb=function(a,b){a&1&&(G(0,"th"),J(1),I(2,"pop-grid-default-th",47),L(),H());a&2&&(a=b.column,bf("data-stable-column-name",a.name),z(2),F("column",a))},bFb=function(a){a&1&&I(0,"td",44)},cFb=function(a,b){if(a&1){var c=v();G(0,"td",45);J(1);G(2,"mat-pseudo-checkbox",48);M("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();L();H()}a&2&&(a=b.row,z(2),F("state",a.selected?
"checked":"unchecked"),bf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},dFb=function(a,b){if(a&1){var c=v();G(0,"td",49);J(1);G(2,"b-star-toggle",50);M("starClicked",function(){var d=w(c).row,e=N(2);return y(e.toggleStar(d))});H();L();H()}a&2&&(a=b.row,b=N(2),z(2),F("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue"))},fFb=function(a,b){if(a&1){var c=v();G(0,"td",51);J(1);G(2,"a",52);M("click",function(){var d=
w(c).row,e=N(2);return y(eFb(e,d.issueId))});R(3);H();L();H()}a&2&&(a=b.row,b=N(2),z(2),F("href",b.paths.editIssue(a.issueId),Id),bf("title",a.title),z(1),zf(" ",a.issueId," "))},gFb=function(a,b){a&1&&(J(0),I(1,"b-signal-chip",54),L());a&2&&(a=b.$implicit,b=N(3),z(1),F("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},hFb=function(a,b){a&1&&(G(0,"td",53),Q(1,gFb,2,3,"ng-container",18),H());a&2&&(a=b.row,z(1),F("ngForOf",a.signals))},iFb=function(a,b){if(a&
1){var c=v();G(0,"td");J(1);G(2,"button",21);M("click",function(){var d=w(c).row,e=N(2);return y(e.dismissIssue(d))});R(3," Dismiss ");H();L();H()}a&2&&(a=b.row,b=N(2),z(2),F("disabled",b.dismissInProgress[a.issueId]))},jFb=function(a){a&1&&I(0,"archived-issue-indicator")},kFb=function(a,b){a&1&&I(0,"b-hotlist-chip-smart",64);a&2&&F("id",b.$implicit)("removable",!1)},lFb=function(a){a&1&&(G(0,"div",62),Q(1,kFb,1,2,"b-hotlist-chip-smart",63),H());a&2&&(a=N().row,z(1),F("ngForOf",a.hotlistId))},mFb=
function(a,b){if(a&1){var c=v();G(0,"td",55);S(1,"async");J(2);G(3,"div",56);S(4,"async");Q(5,jFb,1,0,"archived-issue-indicator",3);I(6,"b-access-level-indicator",57)(7,"b-retention-chip",58);G(8,"div",59)(9,"a",60);M("click",function(){var h=w(c).row,l=N(2);return y(eFb(l,h.issueId))});R(10);H()();Q(11,lFb,2,1,"div",61);S(12,"async");H();L();H()}if(a&2){a=b.row;b=N(2);var d,e,g;mf("bv2-grid-cell-variable-height",null==(d=T(1,15,b.listViewPrefs$))?null:d.wrapTitles);z(3);mf("bv2-grid-cell-flex-wrap",
null==(e=T(4,17,b.listViewPrefs$))?null:e.wrapTitles);z(2);F("ngIf",a.archived);z(1);F("accessLevel",a.accessLevel)("compactMode",!0);z(1);F("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);z(2);F("href",b.paths.editIssue(a.issueId),Id);bf("title",a.title);z(1);zf(" ",a.title," ");z(1);F("ngIf",null==(g=T(12,19,b.listViewPrefs$))?null:g.showHotlists)}},nFb=function(a,b){a&1&&(G(0,"td",65),J(1),G(2,"div",66),R(3),H(),L(),H());a&2&&(a=b.row,
b=N(2),z(2),mf("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",b.isP0Priority(a)),z(1),zf(" P",a.priority," "))},oFb=function(a){a&1&&I(0,"mat-icon",72);if(a&2){a=N().$implicit;var b=N(4);F("svgIcon",b.STATUS_ICON[a])}},pFb=function(a){a&1&&(J(0),R(1),L());if(a&2){a=N().$implicit;var b=N(4);z(1);Af(b.STATUS_TERSE[a])}},qFb=function(a){a&1&&(G(0,"span"),R(1),H());if(a&2){a=N().$implicit;var b=N(4);pf("chippy status-",a,"");z(1);zf(" ",b.STATUS_TERSE[a]," ")}},rFb=function(a,b){a&1&&(J(0),
G(1,"span",68),S(2,"async"),Q(3,oFb,1,1,"mat-icon",69),Q(4,pFb,2,1,"ng-container",70),Q(5,qFb,2,4,"span",71),H(),L());if(a&2){a=b.$implicit;b=N(4);var c;z(1);F("ngSwitch",null==(c=T(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);F("ngSwitchCase","icon");z(1);F("ngSwitchCase","plain")}},sFb=function(a){a&1&&(J(0),Q(1,rFb,6,6,"ng-container",3),L());if(a&2){a=N().row;var b=N(2);z(1);F("ngIf",b.convertIssueStatusStrToTag(a.status))}},
tFb=function(a){a&1&&(G(0,"td",67),Q(1,sFb,2,1,"ng-container",3),H());a&2&&(N(2),z(1),F("ngIf",!0))},uFb=function(a,b){a&1&&(G(0,"b-person-hovercard",75),R(1),H());a&2&&(a=b.ngIf,b=N().row,F("email",a),z(1),zf(" ",b.assignee," "))},vFb=function(a){a&1&&(G(0,"span"),R(1,"--"),H())},wFb=function(a,b){a&1&&(G(0,"td",73),J(1),Q(2,uFb,2,2,"b-person-hovercard",74),S(3,"omitObfuscatedEmail"),Q(4,vFb,2,0,"span",3),L(),H());a&2&&(a=b.row,z(2),F("ngIf",T(3,2,a.assignee)),z(2),F("ngIf",!a.assignee))},yFb=function(a){if(a&
1){var b=v();G(0,"div",29)(1,"pop-grid",30);M("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))});Q(2,YEb,3,2,"th",31);Q(3,$Eb,3,3,"th",32);Q(4,aFb,3,2,"th",33);Q(5,bFb,1,0,"td",34);Q(6,cFb,3,3,"td",35);Q(7,dFb,3,4,"td",36);Q(8,fFb,4,3,"td",37);Q(9,hFb,2,1,"td",38);Q(10,iFb,4,1,"td",39);Q(11,mFb,13,21,"td",40);Q(12,
nFb,4,7,"td",41);Q(13,tFb,2,1,"td",42);Q(14,wFb,5,4,"td",43);H()()}a&2&&(a=N(),z(1),F("list",xFb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),z(1),F("forHeaderCell","focused"),z(1),F("forHeaderCell","selected"),z(2),F("forViewCell","focused"),z(1),F("forViewCell","selected"),z(1),F("forViewCell","starred"),z(1),F("forViewCell","issueId"),z(1),F("forViewCell","alerts"),z(1),F("forViewCell","dismiss"),
z(1),F("forViewCell","title"),z(1),F("forViewCell","priority"),z(1),F("forViewCell","status"),z(1),F("forViewCell","assignee"))},zFb=function(a){a&1&&rf(0)},BFb=function(a,b){a&1&&(J(0),Q(1,zFb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;N(3);var c=yf(5);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ff(2,AFb,a))}},CFb=function(a){a&1&&(G(0,"div",4)(1,"div",5),R(2,"TEAMFOOD"),H(),Q(3,BFb,2,4,"ng-container",6),S(4,"async"),H());a&2&&(a=N(2),z(3),F("ngForOf",T(4,1,a.beapFeaturesTF$)))},
DFb=function(a){a&1&&rf(0)},EFb=function(a,b){a&1&&(J(0),Q(1,DFb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;N(3);var c=yf(5);z(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Ff(2,AFb,a))}},FFb=function(a){a&1&&(G(0,"div",4)(1,"div",5),R(2,"EARLY ACCESS"),H(),Q(3,EFb,2,4,"ng-container",6),S(4,"async"),H());a&2&&(a=N(2),z(3),F("ngForOf",T(4,1,a.beapFeaturesEA$)))},GFb=function(a){a&1&&(J(0),Q(1,CFb,5,3,"div",3),S(2,"async"),Q(3,FFb,5,3,"div",3),S(4,"async"),L());a&2&&(a=N(),z(1),F("ngIf",
T(2,2,a.hasFeaturesTF$)),z(2),F("ngIf",T(4,4,a.hasFeaturesEA$)))},HFb=function(a){a&1&&(G(0,"div",8),R(1,"No available experiments"),H())},IFb=function(a){a&1&&(G(0,"a",23),R(1," Learn more"),H());a&2&&(a=N().feature,bf("href",a.learnMoreLink,Id))},JFb=function(a){a&1&&(G(0,"b-callout",24)(1,"b-callout-body"),R(2," Reload page to see changes. "),H()())},KFb=function(a,b){if(a&1){var c=v();G(0,"div",9)(1,"div",10)(2,"div",11);I(3,"mat-slide-toggle",12);S(4,"featureState");S(5,"featureState");H();G(6,
"div",13)(7,"div",14);R(8);H();G(9,"span",15);R(10);Q(11,IFb,2,1,"a",16);H();G(12,"div",17)(13,"a",18);M("click",function(){var d=w(c).feature;N().linkClicked[d.experimentId]=!0;return y()});I(14,"mat-icon",19);R(15);S(16,"featureState");H()();Q(17,JFb,3,0,"b-callout",20);H();G(18,"div",21);I(19,"b-app-beap-state-indicator",22);H()()()}a&2&&(a=b.feature,b=N(),z(3),F("checked",T(4,10,a.state))("matTooltip",T(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),z(5),zf(" ",a.title," "),z(2),zf("",a.description,
" "),z(1),F("ngIf",a.learnMoreLink),z(2),bf("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Id),z(2),zf(" ",T(16,14,a.state)?"Opt out":"Opt in"," "),z(2),F("ngIf",!!b.linkClicked[a.experimentId]),z(2),F("experimentId",a.experimentId))},LFb=function(a){a&1&&(G(0,"mat-option",26),R(1),H());a&2&&(a=N().$implicit,F("value",a),z(1),zf(" ",a.name," "))},MFb=function(a,b){a&1&&(J(0),Q(1,LFb,2,2,"mat-option",25),L());a&2&&(a=b.$implicit,z(1),F("ngIf",a.shouldDisplay()))},
NFb=function(a,b){a&1&&(G(0,"mat-option",29),R(1),H());a&2&&(a=b.$implicit,F("value",a.id),z(1),zf(" ",a.name," "))},PFb=function(a){if(a&1){var b=v();G(0,"mat-form-field",5)(1,"mat-select",27);M("ngModelChange",function(c){w(b);var d=N();return y(d.preferredHomepage.selectedOptionId=c)})("selectionChange",function(){w(b);var c=N();return y(OFb(c.preferredHomepage))});Q(2,NFb,2,2,"mat-option",28);H()()}a&2&&(a=N(),z(1),F("ngModel",a.preferredHomepage.selectedOptionId),z(1),F("ngForOf",a.preferredHomepage.selectedMainOption.options))},
QFb=function(a,b){a&1&&(G(0,"mat-option",30),R(1),H());a&2&&(a=b.$implicit,F("value",a.value),z(1),zf(" ",a.label," "))},RFb=function(a,b){a&1&&(G(0,"mat-option",30),R(1),H());a&2&&(a=b.$implicit,F("value",a.value),z(1),zf(" ",a.label," "))},SFb=function(a,b){a&1&&(G(0,"mat-option",30),R(1),H());a&2&&(a=b.$implicit,F("value",a.value),z(1),zf(" ",a.label," "))},TFb=function(a){if(a&1){var b=v();G(0,"div",20)(1,"mat-slide-toggle",31);M("change",function(c){w(b);var d=N();c=c.checked;d.userPreferences.showInlineImages=
c;d.save("showInlineImages",c.toString());return y()});R(2," Show SnipIt images inline in comments ");H()()}a&2&&(a=N(),z(1),F("checked",a.getShowInlineImages()))},UFb=function(a){if(a&1){var b=v();J(0);G(1,"div",0)(2,"div",1)(3,"p",2);R(4,"Other");H()();G(5,"div")(6,"div")(7,"mat-slide-toggle",32);M("change",function(c){w(b);var d=N();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return y(d.save("saveBugScreensaverPreferences"))});R(8," Enable bug screensaver ");H()()()();
L()}a&2&&(a=N(),z(7),F("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},VFb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",T(2,2,a)," "))},WFb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",T(2,2,a)," "))},XFb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",
a),z(1),zf(" ",T(2,2,a)," "))},YFb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",T(2,2,a)," "))},ZFb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",T(2,2,a)," "))},$Fb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,F("value",a),z(1),zf(" ",T(2,2,a)," "))},aGb=function(a,b){a&1&&(G(0,"mat-option",
3),R(1),H());a&2&&(a=b.$implicit,F("value",a.id),z(1),zf(" ",a.displayName," "))},bGb=function(a){a&1&&(J(0),I(1,"b-spinner"),L())},cGb=function(a){a&1&&(G(0,"mat-hint"),R(1,"This field is read-only"),H())},dGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.frequency),z(1),zf(" ",a.display," "))},eGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.ordinal),z(1),zf(" ",a.display," "))},fGb=function(a){if(a&1){var b=v();G(0,"div")(1,
"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");H();G(4,"mat-select",16);M("ngModelChange",function(d){w(b);var e=N(2).ngIf,g=N(2);bs(g,Object.assign({},e,{ordinal:d}));return y()});Q(5,eGb,2,2,"mat-option",17);H()()()}if(a&2){a=N(2).ngIf;var c=N(2);z(4);F("ngModel",a.ordinal);z(1);F("ngForOf",c.repeatOnOptions.get(a.frequency))}},gGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.timeOfDay),z(1),zf(" ~",a.display," "))},hGb=function(a,b){if(a&1){var c=v();
J(0);G(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Repeat at ");H();G(5,"mat-select",21);M("ngModelChange",function(e){w(c);var g=N(2).ngIf,h=N(2);bs(h,Object.assign({},g,{timeOfDay:e}));return y()});Q(6,gGb,2,2,"mat-option",17);H()()();L()}if(a&2){a=b.ngIf;b=N(2).ngIf;var d=N(2);z(5);F("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);z(1);F("ngForOf",a)}},iGb=function(a){a&1&&(G(0,"div",22),R(1),H());a&2&&(a=N(2).ngIf,z(1),zf(" Subscription ID: ",a.id," "))},jGb=function(a){if(a&
1){var b=v();J(0);G(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Frequency ");H();G(5,"mat-select",16);M("ngModelChange",function(d){w(b);var e=N().ngIf,g=N(2);return y(g.setFrequency(d,e))});Q(6,dGb,2,2,"mat-option",17);H()()();Q(7,fGb,6,2,"div",0);Q(8,hGb,7,3,"ng-container",0);S(9,"async");G(10,"div")(11,"b-timezone-picker",18);M("timezoneIdChange",function(d){w(b);var e=N().ngIf,g=N(2);return y(g.setTimeZone(d,e))});H()();Q(12,iGb,2,1,"div",19);L()}if(a&2){a=N().ngIf;var c=N(2);z(5);F("ngModel",
a.frequency);z(1);F("ngForOf",c.frequencyOptions);z(1);F("ngIf",a.frequency!==c.DAILY);z(1);F("ngIf",T(9,7,c.repeatAtOptions$));z(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);z(1);F("ngIf",a.id)}},lGb=function(a,b){if(a&1){var c=v();J(0);G(1,"div")(2,"div",7)(3,"mat-slide-toggle",13);M("change",function(){w(c);var d=N(2);return y(kGb(d))});S(4,"async");R(5," Subscribe to your own reports ");Q(6,bGb,2,0,"ng-container",0);S(7,"async");H()();G(8,"div")(9,"mat-form-field",14)(10,"mat-label");R(11,
"Scope");H();G(12,"input",15);M("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();Q(13,cGb,2,0,"mat-hint",0);H()();Q(14,jGb,13,9,"ng-container",0);H();L()}a&2&&(a=b.ngIf,b=N(2),z(3),F("disabled",T(4,6,b.isThinking$))("checked",0!==a.id),z(3),F("ngIf",T(7,8,b.isThinking$)),z(6),F("ngModel",b.currentUser.email),z(1),F("ngIf",b.inputHasFocus),z(1),F("ngIf",0!==a.id))},mGb=function(a){a&1&&(J(0),G(1,"div",1)(2,"div",
2)(3,"p",3),R(4,"Frequency settings"),H(),G(5,"p",10),R(6," Choose when to receive your own reports. "),G(7,"a",11),R(8,"Learn more"),H()()(),Q(9,lGb,15,10,"ng-container",0),S(10,"async"),H(),I(11,"hr",12),L());a&2&&(a=N(),z(9),F("ngIf",T(10,1,a.userSubscription$)))},nGb=function(a){a&1&&(J(0),I(1,"b-spinner"),L())},oGb=function(a){a&1&&(G(0,"th",31),R(1,"Scope"),H())},pGb=function(a,b){a&1&&(G(0,"td",32),R(1),H());a&2&&(a=b.$implicit,z(1),zf(" ",a.lead.emailAddress," "))},qGb=function(a){a&1&&(G(0,
"th",31),R(1,"Frequency"),H())},tGb=function(a,b){a&1&&(G(0,"td",32),R(1),S(2,"async"),S(3,"async"),H());if(a&2){a=b.$implicit;b=N(2);var c;z(1);wka(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?"weekly"===a.frequency?"- "+rGb[a.ordinal-1].display:"monthly"===a.frequency?"- "+sGb(a.ordinal):"":""," - ",null==(c=T(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=T(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},uGb=function(a){a&1&&I(0,"th",31)},wGb=
function(a){if(a&1){var b=v();G(0,"td",32)(1,"button",33);I(2,"mat-icon",34);H();G(3,"mat-menu",null,35)(5,"button",36);M("click",function(){var d=w(b).$implicit,e=N(2);return y(e.openDialog(d))});R(6," Edit subscription ");H();G(7,"button",37);M("click",function(){var d=w(b).$implicit,e=N(2);return y(vGb(e,d))});R(8," Delete subscription ");H()()()}if(a&2){var c=yf(4);z(1);F("matMenuTriggerFor",c)}},xGb=function(a){a&1&&I(0,"tr",38)},yGb=function(a,b){a&1&&I(0,"tr",39);a&2&&(a=b.$implicit,bf("aria-label",
"Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},zGb=function(a){a&1&&(J(0),G(1,"table",23),J(2,24),Q(3,oGb,2,0,"th",25),Q(4,pGb,2,1,"td",26),L(),J(5,27),Q(6,qGb,2,0,"th",25),Q(7,tGb,4,8,"td",26),L(),J(8,28),Q(9,uGb,1,0,"th",25),Q(10,wGb,9,1,"td",26),L(),Q(11,xGb,1,0,"tr",29),Q(12,yGb,1,1,"tr",30),H(),L());a&2&&(a=N(),z(1),F("dataSource",a.subscriptions$),z(10),F("matHeaderRowDef",a.columns),z(1),F("matRowDefColumns",a.columns))},AGb=function(a){a&1&&(G(0,"mat-error"),R(1,"Please select a valid, single user"),
H())},BGb=function(a){a&1&&(G(0,"mat-error"),R(1,"Report for sundar@ cannot be generated"),H())},CGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.frequency),z(1),zf(" ",a.display," "))},DGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.ordinal),z(1),zf(" ",a.display," "))},EGb=function(a){if(a&1){var b=v();G(0,"div")(1,"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");H();G(4,"mat-select",16);M("ngModelChange",function(d){w(b);
var e=N().$implicit;return y(e.ordinal=d)});Q(5,DGb,2,2,"mat-option",17);H()()()}if(a&2){a=N().$implicit;var c=N();z(4);F("ngModel",a.ordinal);z(1);F("ngForOf",c.repeatOnOptions.get(a.frequency))}},FGb=function(a,b){a&1&&(G(0,"mat-option",20),R(1),H());a&2&&(a=b.$implicit,F("value",a.timeOfDay),z(1),zf(" ~",a.display," "))},GGb=function(a,b){if(a&1){var c=v();J(0);G(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Repeat at ");H();G(5,"mat-select",21);M("ngModelChange",function(e){w(c);var g=
N().$implicit;return y(g.timeOfDay=e)});Q(6,FGb,2,2,"mat-option",17);H()()();L()}if(a&2){a=b.ngIf;b=N().$implicit;var d=N();z(5);F("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);z(1);F("ngForOf",a)}},HGb=function(a){a&1&&(G(0,"div",22),R(1),H());a&2&&(a=N().$implicit,z(1),zf(" Subscription ID: ",a.id," "))},KGb=function(a,b){if(a&1){var c=v();G(0,"h1",40);R(1,"Add report subscription");H();G(2,"mat-dialog-content")(3,"p",41);R(4," Select the user (scope) and frequency of the report you wish to receive. ");
H();G(5,"div")(6,"mat-form-field",42)(7,"mat-label");R(8,"Scope");H();G(9,"input",43);M("ngModelChange",function(e){var g=w(c).$implicit,h=N();return y(g.lead=h.emailToUser(e))});H();Q(10,AGb,2,0,"mat-error",0);Q(11,BGb,2,0,"mat-error",0);H()();G(12,"div")(13,"mat-form-field",14)(14,"mat-label");R(15," Frequency ");H();G(16,"mat-select",16);M("ngModelChange",function(e){var g=w(c).$implicit;return y(g.frequency=e)})("ngModelChange",function(e){var g=w(c).$implicit;N();return y(IGb(e,g))});Q(17,CGb,
2,2,"mat-option",17);H()()();Q(18,EGb,6,2,"div",0);Q(19,GGb,7,3,"ng-container",0);S(20,"async");G(21,"div")(22,"b-timezone-picker",18);M("timezoneIdChange",function(e){var g=w(c).$implicit;return y(g.timeZone.id=e)});H()();Q(23,HGb,2,1,"div",19);G(24,"p",44);R(25," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");H();G(26,"a",45);R(27,"Learn more");H()();G(28,"mat-dialog-actions")(29,"button",46);R(30,"Cancel");H();
G(31,"button",8);M("click",function(){var e=w(c).$implicit,g=N();return y(JGb(g,e))});R(32);H()()}if(a&2){a=b.$implicit;b=N();var d;z(9);F("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&void 0!==d?d:"")("bContactAutocomplete","SINGLE");z(1);F("ngIf",b.dialogInvalidEmailFormat);z(1);F("ngIf",b.ceoSelected);z(5);F("ngModel",a.frequency);z(1);F("ngForOf",b.frequencyOptions);z(1);F("ngIf",a.frequency!==b.DAILY);z(1);F("ngIf",T(20,13,b.repeatAtOptions$));z(3);F("timezoneId",a.timeZone.id)("fullWidth",
!0);z(1);F("ngIf",a.id);z(8);F("disabled",!a.lead||!a.lead.emailAddress);z(1);zf(" ",0===a.id?"Add":"Update"," ")}},sGb=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"},LGb=function(a){a&1&&(G(0,"mat-tab",7)(1,"div",3),I(2,"b-slo-reports-settings"),H()())},MGb=function(a){a&1&&(G(0,"mat-tab",8)(1,"div",3),I(2,"b-beap-settings"),H()())},NGb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",13);M("starClicked",
function(){w(b);var c=N(2);return y(c.toggleStar())});H()}a&2&&(a=N(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},OGb=function(a){a&1&&I(0,"b-star-toggle",14);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},PGb=function(a,b){a&1&&(G(0,"li")(1,"a",15),R(2),H()());a&2&&
(a=b.$implicit,b=N(2),z(1),F("href",b.getUrl(a),Id)("title",a.description),z(1),zf(" ",b.getDisplayName(a)," "))},QGb=function(a){if(a&1){var b=v();G(0,"div")(1,"div",4)(2,"div",5);Q(3,NGb,1,3,"b-star-toggle",6);Q(4,OGb,1,4,"b-star-toggle",7);G(5,"span",8);R(6);H();G(7,"button",9);M("click",function(){w(b);var c=N();return y(c.openEditBookmarkGroup())});H()();G(8,"div",10);R(9);H()();G(10,"ul",11);Q(11,PGb,3,3,"li",12);H()()}a&2&&(a=N(),z(3),F("ngIf",!a.userIsAdmin),z(1),F("ngIf",a.userIsAdmin),z(2),
zf("Bookmark Group: ",a.bookmarkGroup.name," "),z(3),Af(a.bookmarkGroup.description),z(2),F("ngForOf",a.bookmarkGroup.item))},RGb=function(a){if(a&1){var b=v();G(0,"b-star-toggle",16);M("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),F("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},SGb=function(a){a&
1&&I(0,"b-star-toggle",17);a&2&&F("starMessage","You are an admin of this hotlist, and cannot star/unstar it.")("unStarMessage","You are an admin of this hotlist, and cannot star/unstar it.")("starred",!0)("disabled",!0)},TGb=function(a){a&1&&I(0,"b-star-toggle",17);a&2&&F("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},UGb=function(a){a&1&&(G(0,"div",18),R(1," Hotlist not found. "),H());a&2&&F("bFocus",!0)},VGb=function(a){a&1&&(G(0,"div"),R(1," Loading details... "),H())},WGb=
function(a){a&1&&(G(0,"span",25),R(1," (archived) "),H())},XGb=function(a){a&1&&(G(0,"span",26),R(1," \u00a0(changed) "),H())},YGb=function(a){if(a&1){var b=v();G(0,"div")(1,"span",19);R(2," Hotlist: ");G(3,"span",20);R(4);H()();Q(5,WGb,2,0,"span",21);G(6,"div",22)(7,"button",23);M("click",function(){w(b);var c=N(2);return y(c.openEditHotlist())});H()();Q(8,XGb,2,0,"span",24);H()}a&2&&(a=N(2),z(3),F("matTooltip",a.hotlist.description),z(1),zf(" ",a.hotlist.name," "),z(1),F("ngIf",a.hotlist.archived),
z(3),F("ngIf",a.hasParamChanges()))},ZGb=function(a){if(a&1){var b=v();G(0,"div",27)(1,"button",28);M("click",function(){w(b);var c=N(2);return y(c.save())});R(2,"Save ");H();G(3,"button",29);M("click",function(){w(b);var c=N(2);return y(c.discardChanges())});R(4,"Discard changes ");H()()}},$Gb=function(a){a&1&&(G(0,"div",9),Q(1,RGb,1,3,"b-star-toggle",10),Q(2,SGb,1,4,"b-star-toggle",11),Q(3,TGb,1,4,"b-star-toggle",11),G(4,"div",12),Q(5,UGb,2,1,"div",13),Q(6,VGb,2,0,"div",14),Q(7,YGb,9,4,"div",14),
H(),Q(8,ZGb,5,0,"div",15),H());a&2&&(a=N(),z(1),F("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),F("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),z(1),F("ngIf",!a.hotlist),z(2),F("ngIf",!a.hotlist&&!a.hotlistLoading),z(1),F("ngIf",a.hotlistLoading),z(1),F("ngIf",a.hotlist&&!a.hotlistLoading),z(1),F("ngIf",a.hasParamChanges()))},aHb=function(a){a&1&&(G(0,"div",30),I(1,"b-spinner"),G(2,"span"),R(3),H()());a&2&&(a=N(),z(3),zf(" Loading hotlist: ",a.hotlistId,""))},bHb=function(a){a&
1&&(G(0,"div",31),R(1),H());a&2&&(a=N(),F("bFocus",!0),z(1),zf(" No issues in hotlist ",a.hotlistId,". "))},cHb=function(a){if(a&1){var b=v();G(0,"div",32)(1,"b-issues-grid",33);M("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(Vr(c,c.page,1))})("onPrevPage",function(){w(b);var c=N();return y(Vr(c,c.page,-1))});H()()}a&2&&(a=N(),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},dHb=function(a){a&1&&(G(0,
"div"),R(1," Loading details... "),H())},eHb=function(a){a&1&&(G(0,"div"),R(1," Saved search not found. "),H())},fHb=function(a){a&1&&(G(0,"span",15),R(1," \u00a0(changed) "),H())},gHb=function(a){if(a&1){var b=v();G(0,"div",11);R(1," Saved search: ");G(2,"span",12);R(3);H();G(4,"button",13);M("click",function(){w(b);var c=N(2);return y(c.openEditSavedSearch())});H();Q(5,fHb,2,0,"span",14);H()}a&2&&(a=N(2),z(2),F("matTooltip",a.savedSearch.description),z(1),zf(" ",a.savedSearch.name," "),z(2),F("ngIf",
a.hasParamChanges()))},hHb=function(a){a&1&&(G(0,"div",9),Q(1,dHb,2,0,"div",8),Q(2,eHb,2,0,"div",8),Q(3,gHb,6,3,"div",10),H());a&2&&(a=N(),z(1),F("ngIf",!a.savedSearch&&a.isLoading),z(1),F("ngIf",!a.savedSearch&&!a.isLoading),z(1),F("ngIf",a.savedSearch))},iHb=function(a){if(a&1){var b=v();G(0,"div",16)(1,"button",17);M("click",function(){w(b);var c=N();return y(c.save())});R(2,"Save ");H();G(3,"button",18);M("click",function(){w(b);var c=N();return y(c.discardChanges())});R(4,"Discard changes ");
H();G(5,"span",19)(6,"a",20);M("click",function(){w(b);var c=N();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return y()});R(7," Back to normal search");H()()()}a&2&&(a=N(),z(6),F("href",a.exitLink,Id))},jHb=function(a){a&1&&(G(0,"span"),R(1),H());a&2&&(a=N(3),z(1),zf(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},kHb=function(a){a&1&&(G(0,"div",24),I(1,"b-spinner"),Q(2,jHb,2,1,"span",8),H());a&2&&(a=N(2),z(2),F("ngIf",a.searchParams))},lHb=function(a){a&
1&&(G(0,"div",25),R(1," No issues in saved search. "),H());a&2&&F("bFocus",!0)},mHb=function(a){if(a&1){var b=v();G(0,"div",26)(1,"b-issues-grid",27);M("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(Vr(c,c.page,1))})("onPrevPage",function(){w(b);var c=N(2);return y(Vr(c,c.page,-1))});H()()}a&2&&(a=N(2),z(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},nHb=function(a){a&1&&(G(0,"div"),Q(1,kHb,3,1,"div",21),Q(2,lHb,2,1,"div",22),Q(3,mHb,2,5,"div",23),H());a&2&&(a=N(),z(1),F("ngIf",a.isLoading),z(1),F("ngIf",
!a.isLoading&&!a.hasResults()),z(1),F("ngIf",!a.isLoading&&a.hasResults()))},cs=function(a,b){return jl().config.enabledFlags.get(a)?[b]:[]},oHb=function(){var a=wc(ds).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},pHb=function(a,b){var c={};return en("A",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),a)},rHb=function(){return new qHb(new es("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,
"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},sHb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},tHb="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},uHb=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");},ch=uHb(this),gs=function(a,b){if(b)a:{var c=ch;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&&tHb(c,a,{configurable:!0,writable:!0,value:b})}};
gs("Symbol",function(a){if(a)return a;var b=function(g,h){this.$jscomp$symbol$id_=g;tHb(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});
gs("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=ch[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&tHb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return vHb(sHb(this))}})}return a});gs("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var vHb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},hs=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:sHb(a)};throw Error("e`"+String(a));},te=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},Pc=function(a){return a instanceof Array?a:te(k(a))},is=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},wHb="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)is(d,e)&&(a[e]=d[e])}return a};gs("Object.assign",function(a){return a||wHb});var xHb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},yHb;
if("function"==typeof Object.setPrototypeOf)yHb=Object.setPrototypeOf;else{var zHb;a:{var AHb={a:!0},BHb={};try{BHb.__proto__=AHb;zHb=BHb.a;break a}catch(a){}zHb=!1}yHb=zHb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var js=yHb,U=function(a,b){a.prototype=xHb(b.prototype);a.prototype.constructor=a;if(js)js(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},CHb=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=CHb.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 ie=function(a){a.nextAddress=0},ee=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},ks=function(a,b){a.nextAddress=b;a.catchAddress_=0},he=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},fe=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},ge=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},DHb=function(a){this.context_=new CHb;this.program_=a};DHb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return EHb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return ls(this)};
var FHb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return EHb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return ls(a)};DHb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return EHb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return ls(this)};
var EHb=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),ls(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,g);return ls(a)},ls=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}},GHb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return FHb(a,b)};this[Symbol.iterator]=function(){return this}},ngb=function(a){var b=ogb;a=new GHb(new DHb(a));js&&b.prototype&&js(a,
b.prototype);return a},HHb=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())})},de=function(a){return HHb(new GHb(new DHb(a)))},Kha=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))})},Lc=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};gs("Reflect.setPrototypeOf",function(a){return a?a:js?function(b,c){try{return js(b,c),!0}catch(d){return!1}}:null});
gs("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=ch.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(x){this.asyncThrow_(x)}}}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(x){return function(A){q||(q=!0,x.call(l,A))}}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=ch.console;"undefined"!==typeof l&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=ch.CustomEvent,l=ch.Event,q=ch.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=ch.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(x){q.reject(x)}};e.prototype.then=function(h,l){function q(K,O){return"function"==typeof K?function(P){try{x(K(P))}catch(Y){A(Y)}}:
O}var x,A,B=new e(function(K,O){x=K;A=O});this.callWhenSettled_(q(h,x),q(l,A));return B};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(x.state_){case 1:h(x.result_);break;case 2:l(x.result_);break;default:throw Error("k`"+x.state_);}}var x=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 x=k(h),A=x.next();!A.done;A=x.next())c(A.value).callWhenSettled_(l,q)})};e.all=function(h){var l=k(h),q=l.next();return q.done?c([]):new e(function(x,A){function B(P){return function(Y){K[P]=Y;O--;0==O&&x(K)}}var K=[],O=0;do K.push(void 0),O++,c(q.value).callWhenSettled_(B(K.length-1),A),q=l.next();while(!q.done)})};return e});var ms=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
gs("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ms(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 IHb=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}};gs("Array.prototype.find",function(a){return a?a:function(b,c){return IHb(this,b,c).v}});
gs("WeakMap",function(a){function b(){}function c(q){var x=typeof q;return"object"===x&&null!==q||"function"===x}function d(q){if(!is(q,g)){var x=new b;tHb(q,g,{value:x})}}function e(q){var x=Object[q];x&&(Object[q]=function(A){if(A instanceof b)return A;Object.isExtensible(A)&&d(A);return x(A)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),x=Object.seal({}),A=new a([[q,2],[x,3]]);if(2!=A.get(q)||3!=A.get(x))return!1;A.delete(q);A.set(x,4);return!A.has(q)&&4==A.get(x)}catch(B){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 x;!(x=q.next()).done;)x=x.value,this.set(x[0],x[1])}};l.prototype.set=function(q,x){if(!c(q))throw Error("n");d(q);if(!is(q,g))throw Error("o`"+q);q[g][this.id_]=x;return this};l.prototype.get=function(q){return c(q)&&is(q,g)?q[g][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&is(q,g)&&is(q[g],this.id_)};l.prototype.delete=
function(q){return c(q)&&is(q,g)&&is(q[g],this.id_)?delete q[g][this.id_]:!1};return l});
gs("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 x=q.entries(),A=x.next();if(A.done||A.value[0]!=l||"s"!=A.value[1])return!1;A=x.next();return A.done||4!=A.value[0].x||"t"!=A.value[1]||!x.next().done?!1:!0}catch(B){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 x=d(this,l);x.list||(x.list=this.data_[x.id]=[]);x.entry?x.entry.value=q:(x.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:l,value:q},x.list.push(x.entry),this.head_.previous.next=x.entry,this.head_.previous=x.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 x=this.entries(),A;!(A=x.next()).done;)A=A.value,l.call(q,A[1],A[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var x=q&&typeof q;"object"==x||"function"==x?b.has(q)?x=b.get(q):(x=""+ ++h,b.set(q,x)):x="p_"+q;var A=l.data_[x];if(A&&is(l.data_,x))for(l=0;l<A.length;l++){var B=A[l];if(q!==q&&B.key!==B.key||q===B.key)return{id:x,list:A,index:l,entry:B}}return{id:x,list:A,index:-1,
entry:void 0}},e=function(l,q){var x=l.head_;return vHb(function(){if(x){for(;x.head!=l.head_;)x=x.previous;for(;x.next!=x.head;)return x=x.next,{done:!1,value:q(x)};x=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});gs("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
gs("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}});gs("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ms(this,b,"includes").indexOf(b,c||0)}});gs("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
gs("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});gs("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});gs("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});gs("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});
var JHb=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};gs("Array.prototype.entries",function(a){return a?a:function(){return JHb(this,function(b,c){return[b,c]})}});gs("Array.prototype.keys",function(a){return a?a:function(){return JHb(this,function(b){return b})}});
gs("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}});gs("Array.prototype.values",function(a){return a?a:function(){return JHb(this,function(b,c){return c})}});
gs("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 ns=function(a){return a?a:Array.prototype.fill};gs("Int8Array.prototype.fill",ns);gs("Uint8Array.prototype.fill",ns);gs("Uint8ClampedArray.prototype.fill",ns);gs("Int16Array.prototype.fill",ns);gs("Uint16Array.prototype.fill",ns);gs("Int32Array.prototype.fill",ns);
gs("Uint32Array.prototype.fill",ns);gs("Float32Array.prototype.fill",ns);gs("Float64Array.prototype.fill",ns);gs("Object.setPrototypeOf",function(a){return a||js});
gs("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});gs("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)is(b,d)&&c.push([d,b[d]]);return c}});gs("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}});
gs("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ms(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}});gs("String.prototype.repeat",function(a){return a?a:function(b){var c=ms(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}});gs("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
gs("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}});gs("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}});gs("Array.prototype.findIndex",function(a){return a?a:function(b,c){return IHb(this,b,c).i}});
gs("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}});
gs("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}});
gs("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;})})}});gs("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}});
gs("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ms(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}});gs("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)is(b,d)&&c.push(b[d]);return c}});
gs("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)}});
gs("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)}});gs("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
gs("String.prototype.codePointAt",function(a){return a?a:function(b){var c=ms(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 KHb=KHb||{},ba=this||self,ro=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},Kb=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ua=function(a){var b=Kb(a);return"array"==b||"object"==b&&"number"==typeof a.length},va=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},xa=function(a){return Object.prototype.hasOwnProperty.call(a,LHb)&&a[LHb]||(a[LHb]=++MHb)},LHb="closure_uid_"+(1E9*Math.random()>>>
0),MHb=0,NHb=function(a,b,c){return a.call.apply(a.bind,arguments)},OHb=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)}},ps=function(a,b,c){ps=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?NHb:OHb;return ps.apply(null,arguments)},qs=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)}},PHb=function(a){(0,eval)(a)},QHb=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},rs=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)}},RHb=function(a){return a};rs(aa,Error);aa.prototype.name="CustomError";var SHb;rs(aaa,aa);aaa.prototype.name="AssertionError";var Rh=function(a,b){return 0==a.lastIndexOf(b,0)},ss=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},vab=function(a){return 0==Jp("@ldap.google.com",a.slice(a.length-16))},yk=function(a){return/^[\s\xa0]*$/.test(a)},Th=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Jp=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},$Hb=function(a){if(!THb.test(a))return a;-1!=a.indexOf("&")&&
(a=a.replace(UHb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(VHb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(WHb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(XHb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(YHb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(ZHb,"&#0;"));return a},UHb=/&/g,VHb=/</g,WHb=/>/g,XHb=/"/g,YHb=/'/g,ZHb=/\x00/g,THb=/[\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=Th(String(a)).split(".");
b=Th(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=aIb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||aIb(0==g[2].length,0==h[2].length)||aIb(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},aIb=function(a,b){return a<b?-1:a>b?1:0};var da,bIb=ro("WIZ_global_data.oxN3nb"),cIb=bIb&&bIb[610401301];da=null!=cIb?cIb:!1;var ea,dIb=ba.navigator;ea=dIb?dIb.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)},eIb=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},fIb=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},gIb=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 hIb=function(a){hIb[" "](a);return a};hIb[" "]=function(){};var iIb=function(a,b){try{return hIb(a[b]),!0}catch(c){}return!1};var jIb=daa(),ts=eaa(),us=ha("Edge"),dp=us||ts,vs=ha("Gecko")&&!(na(ca(),"WebKit")&&!ha("Edge"))&&!(ha("Trident")||ha("MSIE"))&&!ha("Edge"),ws=na(ca(),"WebKit")&&!ha("Edge"),kIb=ws&&ha("Mobile"),Wp=qaa(),lIb=raa(),mIb=(ja()?"Linux"===ea.platform:ha("Linux"))||saa(),nIb=ba.navigator||null;nIb&&fa(nIb.appVersion||"","X11");var oIb=oaa(),pIb=paa(),qIb=ha("iPad"),rIb=ha("iPod"),sIb=la();na(ca(),"KaiOS");var tIb=function(){var a=ba.document;return a?a.documentMode:void 0},uIb;
a:{var vIb="",wIb=function(){var a=ca();if(vs)return/rv:([^\);]+)(\)|;)/.exec(a);if(us)return/Edge\/([\d\.]+)/.exec(a);if(ts)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ws)return/WebKit\/(\S+)/.exec(a);if(jIb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();wIb&&(vIb=wIb?wIb[1]:"");if(ts){var xIb=tIb();if(null!=xIb&&xIb>parseFloat(vIb)){uIb=String(xIb);break a}}uIb=vIb}var yIb=uIb,zIb;if(ba.document&&ts){var AIb=tIb();zIb=AIb?AIb:parseInt(yIb,10)||void 0}else zIb=void 0;var xs=zIb;var BIb=haa(),CIb=paa()||ha("iPod"),DIb=ha("iPad"),EIb=kaa(),FIb=iaa(),GIb=jaa()&&!la();var HIb={},ys=null,IIb=vs||ws||!GIb&&!ts&&"function"==typeof ba.atob,Kaa=function(a,b){void 0===b&&(b=0);JIb();b=HIb[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],x=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[g++]=x+h+l+q}x=0;q=d;switch(a.length-e){case 2:x=a[e+1],q=b[(x&15)<<2]||d;case 1:a=a[e],c[g]=b[a>>2]+b[(a&3)<<4|x>>4]+q+d}return c.join("")},ghb=function(a){if(IIb)return ba.atob(a);var b="";KIb(a,function(c){b+=
String.fromCharCode(c)});return b},LIb=function(a){var b=[];KIb(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;KIb(a,function(g){d[e++]=g});return e!==c?d.subarray(0,e):d},KIb=function(a,b){function c(q){for(;d<a.length;){var x=a.charAt(d++),A=ys[x];if(null!=A)return A;if(!yk(x))throw Error("F`"+x);}return q}JIb();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))}},JIb=function(){if(!ys){ys={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));HIb[c]=d;for(var e=0;e<d.length;e++){var g=d[e];void 0===ys[g]&&(ys[g]=e)}}}};var Raa="undefined"!==typeof Uint8Array,Jaa=!ts&&"function"===typeof btoa,Paa=/[-_.]/g,Maa={"-":"+",_:"/",".":"="},Saa,Da={};var MIb,Ca=function(a,b){if(b!==Da)throw Error("G");this.value_=a;if(null!=a&&0===a.length)throw Error("H");},Ba=function(){return MIb||(MIb=new Ca(null,Da))},Ab=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Laa(b)},FLa=function(a){return(a=Vaa(a))?new Uint8Array(a):Taa()};Ca.prototype.isEmpty=function(){return null==this.value_};Ca.prototype.sizeBytes=function(){var a=Vaa(this);return a?a.length:0};
var Vaa=function(a){if(Da!==Da)throw Error("G");var b=a.value_;null==b||za(b)||("string"===typeof b?b=Qaa(b):(Kb(b),b=null));return null==b?b:a.value_=b};var NIb="function"===typeof Uint8Array.prototype.slice,Ea=0,Fa=0,aba="function"===typeof BigInt;var OIb=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=OIb.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>PIb.length&&PIb.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){QIb(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;QIb(this,g);if(128>h)return a(b>>>0,c>>>0);throw Error("z");};var QIb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("A`"+b+"`"+a.end_);};f=OIb.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");QIb(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 QIb(this,b),!!(a&127)}throw Error("z");};f.readByteString=function(a){if(0==a)return Ba();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():NIb?c.slice(b,a):new Uint8Array(c.subarray(b,a)));return Uaa(b)};
var PIb=[];var RIb=function(a){var b=void 0;if(PIb.length){var c=PIb.pop();c.init(a,void 0,void 0,b);a=c}else a=new OIb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};f=RIb.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>SIb.length&&SIb.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 hca=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},jca=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?jca(a):a.decoder_.readBool();break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)jca(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(!hca(a))throw Error("x");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("y");break}jca(a)}while(1);break;default:throw Error("v`"+a.nextWireType_+"`"+a.fieldCursor_);}};f=RIb.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 SIb=[];var TIb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},VIb=function(a){if(!a)return UIb||(UIb=new TIb(0,0));if(!/^\d+$/.test(a))return null;dba(a);return new TIb(Ea,Fa)},UIb,WIb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},YIb=function(a){if(!a)return XIb||(XIb=new WIb(0,0));if(!/^-?\d+$/.test(a))return null;dba(a);return new WIb(Ea,Fa)},XIb;var zs=function(){this.buffer_=[]};zs.prototype.length=function(){return this.buffer_.length};zs.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};zs.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)};zs.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var ZIb=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},$Ib=function(a,b){if(0<=b)ZIb(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};f=zs.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;Ea=b;Fa=a;this.writeUint32(Ea);this.writeUint32(Fa)};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(Ea,Fa)};
f.writeDouble=function(a){var b=+a;if(0===b)Fa=0<1/b?0:2147483648,Ea=0;else if(isNaN(b))Fa=2147483647,Ea=4294967295;else if(b=(a=0>b?-2147483648:0)?-b:b,1.7976931348623157E308<b)Fa=(a|2146435072)>>>0,Ea=0;else if(2.2250738585072014E-308>b){var c=b/Math.pow(2,-1074);Fa=(a|c/4294967296)>>>0;Ea=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);Fa=(a|c+1023<<20|1048576*b&1048575)>>>0;Ea=4503599627370496*b>>>0}this.writeUint32(Ea);this.writeUint32(Fa)};
f.writeBool=function(a){this.buffer_.push(a?1:0)};var aJb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new zs},xca=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},As=function(a,b,c){ZIb(a.encoder_,8*b+c)};f=aJb.prototype;f.writeInt32=function(a,b){null!=b&&null!=b&&(As(this,a,0),$Ib(this.encoder_,b))};
f.writeInt64=function(a,b){null!=b&&("string"===typeof b&&YIb(b),null!=b&&(As(this,a,0),"number"===typeof b?(a=this.encoder_,Yaa(b),a.writeSplitVarint64(Ea,Fa)):(b=YIb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeUint32=function(a,b){null!=b&&null!=b&&(As(this,a,0),ZIb(this.encoder_,b))};
f.writeUint64=function(a,b){null!=b&&("string"===typeof b&&VIb(b),null!=b&&(As(this,a,0),"number"===typeof b?(a=this.encoder_,Yaa(b),a.writeSplitVarint64(Ea,Fa)):(b=VIb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeDouble=function(a,b){null!=b&&(As(this,a,1),this.encoder_.writeDouble(b))};f.writeBool=function(a,b){null!=b&&(As(this,a,0),this.encoder_.writeBool(b))};f.writeSplitFixed64=function(a,b){As(this,a,1);this.encoder_.writeSplitFixed64(b)};
f.writeSplitVarint64=function(a,b){As(this,a,0);this.encoder_.writeSplitVarint64(b)};var yca=function(a,b){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b};var Ga="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;var zba={},bJb,jb=Object.freeze(Ja([],23)),cJb=function(a){this.idx_=0;this.arr_=a};cJb.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};cJb.prototype[Symbol.iterator]=function(){return this};var Nba={};var Cba="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var mb=function(a,b,c,d){c=void 0===c?Dba:c;d=void 0===d?Dba:d;var e=Ia(a);e|=32;Ja(a,e);this.arrayState=e;this.valueCtor=b;this.keyToApi=c||Dba;this.valueToApi=this.valueCtor?Hba:d||Dba;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),x=l[1];b||(x=d(l[1],!1,!0,void 0,void 0,e));null!=q&&g.set(q,x)}this.size=g.size},dJb=function(a){if(a.arrayState&2)throw Error("S");},Wba=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},Pba=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=mb.prototype;f.getLength=function(){return this.size};f.clear=function(){dJb(this);this.map_.clear();this.size=0};f.delete=function(a){dJb(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 cJb(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 cJb(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){dJb(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&&hba(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)};mb.prototype[Symbol.iterator]=function(){return this.entries()};var m=function(a,b,c){return-1===b?null:b>=a.pivot_?a.internalSparseObject_?a.internalSparseObject_[b]:void 0:c&&a.internalSparseObject_&&(c=a.internalSparseObject_[b],null!=c)?c:a.internalArray_[b+a.arrayIndexOffset]},n=function(a,b,c,d){Ua(a);return kb(a,b,c,d)},kb=function(a,b,c,d){a.internalCachedImmutable_&&(a.internalCachedImmutable_=void 0);if(b>=a.pivot_||d)return d=a.pivot_+a.arrayIndexOffset,(a.internalSparseObject_||(a.internalSparseObject_=a.internalArray_[d]={}))[b]=c,a;a.internalArray_[b+
a.arrayIndexOffset]=c;(c=a.internalSparseObject_)&&b in c&&delete c[b];return a},Aj=function(a,b,c){return void 0!==Bs(a,b,c,!1)},Nj=function(a,b,c,d){return void 0!==Bs(a,b,ko(a,d,c))},Cs=function(a,b,c){return Rba(a,b,c,!1,3,Ia(a.internalArray_)).length},Ds=function(a,b,c,d,e){ub(a,b,c,e,d,!1,1);return a},Es=function(a,b){var c=m(a,b),d=qba(c);null!=d&&d!==c&&kb(a,b,d);return d},$q=function(a,b){a=m(a,b);return null==a?a:!!a},no=function(a,b){var c=m(a,b),d=Sa(c,!0,!!(Ia(a.internalArray_)&18));
null!=d&&d!==c&&kb(a,b,d);return d},Fs=function(a,b,c,d){return lb(a,b,qba,c,d)},Gs=function(a,b,c,d){return lb(a,b,Ia(a.internalArray_)&18?Kba:Lba,c,d)},Dj=function(a,b){a=no(a,b);return null==a?Ba():a},Mba,eJb=function(a,b,c){Ua(a);null==c?c=void 0:c=eba(c);kb(a,b,c)},hj=function(a,b,c){return ob(a,b,c,bb)},Di=function(a,b,c){return ob(a,b,c,xba)},Yk=function(a,b,c){return ob(a,b,c,tba)},Hs=function(a,b){return n(a,b,void 0,!1)},fJb=function(a,b,c){Ua(a);c=Sa(c,!1,!1);null==c||c.isEmpty()?pb(a,
b):kb(a,b,c);return a},kj=function(a,b,c){return rb(a,b,Wa(c),0)},Xn=function(a,b,c,d){Ua(a);(c=Ai(a,c))&&c!==b&&null!=d&&pb(a,c);return kb(a,b,d)},ko=function(a,b,c){return Ai(a,b)===c?c:-1},Ai=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];null!=m(a,e)&&(0!==c&&pb(a,c),c=e)}return c},Is=function(a,b,c){var d=Ia(a.internalArray_);kba(d);var e=m(a,c);b=hb(Bba(e,b,!0,d));e!==b&&kb(a,c,b);return b},Bs=function(a,b,c,d){var e=m(a,c,d);b=Bba(e,b,!1,Ia(a.internalArray_));b!==e&&null!=b&&kb(a,
c,b,d);return b},gJb=function(a,b,c){return(a=Bs(a,b,c,!1))?a:Aba(b)},Z=function(a,b,c,d){d=void 0===d?!1:d;b=Bs(a,b,c,d);if(null==b)return b;if(!Oa(a.internalArray_)){var e=hb(b);e!==b&&(b=e,kb(a,c,b,d))}return b},Ks=function(a,b,c){return gJb(a,b,ko(a,Js,c))},Ch=function(a,b,c){var d=Ia(a.internalArray_),e=!!(d&2);a=Rba(a,b,c,void 0,e?1:2,d);if(!(e||Ia(a)&8)){for(e=0;e<a.length;e++)b=a[e],c=hb(b),b!==c&&(a[e]=c);Ha(a,8)}return a},Wi=function(a,b,c,d,e){Ua(a);null==d&&(d=void 0);return kb(a,c,d,
e)},eo=function(a,b,c,d){Ua(a);null==d&&(d=void 0);return Xn(a,b,c,d)},Ls=function(a,b,c){return n(a,b,Wa(c))},aj=function(a,b,c){Ua(a);if(null!=c){for(var d=!!c.length,e=0;e<c.length;e++){var g=c[e];d=d&&!Oa(g.internalArray_)}e=Ia(c);g=e|1;g=(d?g|8:g&-9)|4;g!=e&&(c=gba(c,g))}null==c&&(c=void 0);return kb(a,b,c)},go=function(a,b,c,d,e){ub(a,b,c,d,e);return a},Ms=function(a,b){return rba(m(a,b))},Ns=function(a,b){return sba(m(a,b))},jo=function(a,b){return m(a,b)},ELa=function(a,b){return m(a,b)},
Bh=function(a,b,c,d){return lb(a,b,rba,c,d)},fl=function(a,b,c,d){return lb(a,b,vba,c,d)},Fh=function(a,b,c,d){return lb(a,b,wba,c,d)},Ij=function(a,b,c){return n(a,b,Xa(c))},Gh=function(a,b,c,d){return lb(a,b,yba,c,d)},jj=function(a,b,c){return rb(a,b,c,"")},ir=function(a,b){return uba(m(a,b))},Qk=function(a,b,c,d){return lb(a,b,uba,c,d)},Ni=function(a,b,c){return rb(a,b,c,0)},Gj=function(a,b,c){c=void 0===c?!1:c;return yb($q(a,b),c)},Eh=function(a,b,c){c=void 0===c?0:c;return yb(Ms(a,b),c)},Os=
function(a,b,c){c=void 0===c?0:c;return yb(Ns(a,b),c)},dj=function(a,b,c){c=void 0===c?0:c;return yb(m(a,b),c)},Ps=function(a,b){var c=void 0===c?0:c;return yb(m(a,b),c)},wi=function(a,b,c){c=void 0===c?"0":c;return yb(m(a,b),c)},hJb=function(a,b){var c=void 0===c?"0":c;return yb(m(a,b),c)},ej=function(a,b,c){c=void 0===c?0:c;return yb(Es(a,b),c)},V=function(a,b,c){c=void 0===c?"":c;return yb(m(a,b),c)},W=function(a,b,c){c=void 0===c?0:c;return yb(ir(a,b),c)},Qs=function(a,b,c){a=Bh(a,b,void 0,2);
Va(a,c);return a[c]},iJb=function(a,b){a=fl(a,b,void 0,2);Va(a);return a[void 0]},Rs=function(a,b,c){a=Fh(a,b,void 0,2);Va(a,c);return a[c]},jJb=function(a,b,c){a=Fs(a,b,void 0,2);Va(a,c);return a[c]},Ss=function(a,b,c){a=Gh(a,b,void 0,2);Va(a,c);return a[c]},kJb=function(a,b){a=Gs(a,b,void 0,2);Va(a);return a[void 0]},Ts=function(a,b,c){a=Qk(a,b,void 0,2);Va(a,c);return a[c]},Us=function(a,b,c){return tb(a,b,c,void 0,Fh)},Vs=function(a,b,c){return V(a,ko(a,c,b))},Ws=function(a,b,c){return $q(a,ko(a,
c,b))},Xs=function(a,b,c){return Ms(a,ko(a,c,b))},Ys=function(a,b,c){b=ko(a,c,b);return m(a,b)},lo=function(a,b,c){return Es(a,ko(a,c,b))},mo=function(a,b,c){b=ko(a,c,b);return m(a,b)},Pj=function(a,b,c,d){return Z(a,b,ko(a,d,c))},Zs=function(a,b,c){return ir(a,ko(a,c,b))},$s=function(a,b){a=Ms(a,b);return null==a?void 0:a},at=function(a,b){a=m(a,b);return null==a?void 0:a},bt=function(a,b){a=m(a,b);return null==a?void 0:a},ur=function(a,b){a=ir(a,b);return null==a?void 0:a},Ak=function(a,b){return null!=
$q(a,b)},Bk=function(a,b){return null!=Ms(a,b)},Lk=function(a,b){return null!=m(a,b)},vi=function(a,b){return null!=m(a,b)},tk=function(a,b){return null!=m(a,b)},cj=function(a,b){return null!=ir(a,b)},ct=function(a,b,c){return Qba(a,m(a,b),b,c,Fba)},Sj=function(a,b,c){return Qba(a,m(a,b),b,c,gb)};var Sba;var r=function(a,b,c){null==a&&(a=Sba);Sba=void 0;if(null==a)a=c?[c]:[],Ja(a,48);else{if(!Array.isArray(a))throw Error();if(c&&c!==a[0])throw Error();Ha(a,32)}this.arrayIndexOffset=c?0:-1;this.internalArray_=a;a:{c=this.internalArray_.length;a=c-1;if(c&&(c=this.internalArray_[a],Qa(c))){this.internalSparseObject_=c;this.pivot_=a-this.arrayIndexOffset;break a}b?(this.pivot_=Math.max(b,a+1-this.arrayIndexOffset),this.internalSparseObject_=void 0):this.pivot_=Number.MAX_VALUE}};
r.prototype.toJSON=function(){return bJb?eca(this,this.internalArray_,!1):eca(this,bca(this.internalArray_),!0)};r.prototype.serialize=function(){bJb=!0;try{return JSON.stringify(this.toJSON(),Vba)}finally{bJb=!1}};var Eca=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return Tba(a,hba(b))};
r.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 Aca=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};r.prototype.hasExtension=function(a){return void 0!==Aca(this,a)};r.prototype.clone=function(){return dca(this,!1)};r.prototype.isMutable=function(){return!Oa(this.internalArray_)};
r.prototype.isImmutable=function(){return Oa(this.internalArray_)};var br=function(a,b,c){b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};r.prototype.messagePrototypeMarker=zba;r.prototype.toString=function(){return eca(this,this.internalArray_,!1).toString()};var fca=Symbol(),oca=Symbol(),Cb=Symbol(),Bb=Symbol(),lJb=Db(function(a,b,c){if(0!==a.nextWireType_)return!1;kb(b,c,a.readInt64());return!0},function(a,b,c){a.writeInt64(c,m(b,c))}),dt=Db(function(a,b,c){if(0!==a.nextWireType_)return!1;kb(b,c,a.readInt32());return!0},function(a,b,c){a.writeInt32(c,Ms(b,c))}),mJb=Db(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Jba(b,c,0,!1,Oa(b.internalArray_));if(2==a.nextWireType_){c=OIb.prototype.readSignedVarint32;var d=a.decoder_.readSignedVarint32()>>>
0;for(d=a.decoder_.getCursor()+d;a.decoder_.getCursor()<d;)b.push(c.call(a.decoder_))}else b.push(a.readInt32());return!0},function(a,b,c){b=Bh(b,c);if(null!=b)for(var d=0;d<b.length;d++){var e=a,g=b[d];null!=g&&(As(e,c,0),$Ib(e.encoder_,g))}}),nJb=Db(function(a,b,c){if(1!==a.nextWireType_)return!1;kb(b,c,a.decoder_.readUint64String());return!0},function(a,b,c){b=m(b,c);null!=b&&("string"===typeof b&&VIb(b),As(a,c,1),"number"===typeof b?a.encoder_.writeUint64(b):(c=VIb(b),a.encoder_.writeSplitFixed64(c.lo,
c.hi)))}),oJb=Db(function(a,b,c){if(5!==a.nextWireType_)return!1;kb(b,c,a.decoder_.readUint32());return!0},function(a,b,c){b=Ns(b,c);null!=b&&(As(a,c,5),a.encoder_.writeUint32(b))}),pJb=Db(function(a,b,c){if(0!==a.nextWireType_)return!1;kb(b,c,a.readBool());return!0},function(a,b,c){a.writeBool(c,$q(b,c))}),qJb=Db(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;b=Is(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=Bs(b,d,c);if(null!=b){As(a,c,2);c=a.encoder_.end();xca(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 zca=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=Z;this.setExtensionFn=Wi;this.defaultValue=void 0};var et=function(a){r.call(this,a)};U(et,r);et.prototype.getAction=function(){return W(this,1,1)};et.prototype.hasAction=function(){return cj(this,1)};et.prototype.toObject=function(){return rJb(this)};var rJb=function(a){if(null!=a)return t(a),{action:p(ir(a,1)),prevState:p(ir(a,2))}};var sJb=function(a){r.call(this,a)};U(sJb,r);f=sJb.prototype;f.getValue=function(){return Dj(this,1)};f.setValue=function(a){return n(this,1,Sa(a,!1,!1))};f.hasValue=function(){return null!=no(this,1)};f.getTimestamp=function(){return dj(this,2)};f.setTimestamp=function(a){return n(this,2,a)};f.hasTimestamp=function(){return Lk(this,2)};f.toObject=function(){return tJb(this)};var tJb=function(a){if(null!=a)return t(a),{value:Jb(a.getValue()),timestamp:p(m(a,2)),encodedrestrict:Jb(Dj(a,3))}};var ft=function(a){r.call(this,a)};U(ft,r);ft.prototype.getObsolete4=function(){return Dj(this,4)};ft.prototype.toObject=function(){return gt(this)};var gt=function(a){if(null!=a)return t(a),{keyid:p(Ms(a,1)),wrappedkey:Jb(Dj(a,2)),extendedkeyhashstring:p(m(a,3)),obsolete4:Jb(a.getObsolete4())}};var uJb=function(a){r.call(this,a)};U(uJb,r);uJb.prototype.toObject=function(){return vJb(this)};var vJb=function(a){if(null!=a)return t(a),{sgnDomain:p(m(a,1)),sgnPk:p(m(a,2)),sgnIdent:p(m(a,3))}};var wJb=function(a){r.call(this,a)};U(wJb,r);wJb.prototype.toObject=function(){return xJb(this)};var xJb=function(a){if(null!=a)return t(a),{chatid:p(m(a,33)),membertype:p(Ms(a,34))}};var yJb=function(a){r.call(this,a)};U(yJb,r);yJb.prototype.toObject=function(){return zJb(this)};var zJb=function(a){if(null!=a)return t(a),{ownergaiaid:p(m(a,24)),circleid:p(m(a,25))}};var AJb=function(a){r.call(this,a)};U(AJb,r);AJb.prototype.toObject=function(){return BJb(this)};var BJb=function(a){if(null!=a)return t(a),{eventid:p(m(a,30)),membertype:p(Ms(a,31))}};var CJb=function(a){r.call(this,a)};U(CJb,r);CJb.prototype.toObject=function(){return DJb(this)};var DJb=function(a){if(null!=a)return t(a),{ownergaiaid:p(m(a,6)),groupid:p(m(a,7))}};var EJb=function(a){r.call(this,a)};U(EJb,r);EJb.prototype.toObject=function(){return FJb(this)};var FJb=function(a){if(null!=a)return t(a),{keyvalue:p(m(a,15))}};var ht=function(a){r.call(this,a)};U(ht,r);f=ht.prototype;f.getApplication=function(){return V(this,1)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return bt(this,1)};f.getId=function(){return V(this,2)};f.setId=function(a){return n(this,2,a)};f.toObject=function(){return GJb(this)};var GJb=function(a){if(null!=a)return t(a),{application:p(m(a,1)),id:p(m(a,2)),part:p(m(a,3))}};var it=function(a){r.call(this,a)};U(it,r);it.prototype.getResourceId=function(){return Z(this,ht,39)};it.prototype.setResourceId=function(a){Wi(this,ht,39,a)};it.prototype.hasResourceId=function(){return Aj(this,ht,39)};it.prototype.toObject=function(){return HJb(this)};var HJb=function(a){if(null!=a)return t(a),{obsolete36:p(m(a,36)),obsolete37:p(m(a,37)),roleId:p(Ms(a,38)),resourceId:GJb(a.getResourceId())}};var jt=function(a){r.call(this,a)};U(jt,r);jt.prototype.getBlob=function(){return Dj(this,13)};jt.prototype.clearBlob=function(){return Hs(this,13)};jt.prototype.toObject=function(){return IJb(this)};var IJb=function(a){if(null!=a)return t(a),{serviceid:p(Ms(a,12)),blob:Jb(a.getBlob())}};var JJb=function(a){r.call(this,a)};U(JJb,r);JJb.prototype.toObject=function(){return KJb(this)};var KJb=function(a){if(null!=a)return t(a),{squareid:p(m(a,27)),membertype:p(Ms(a,28))}};var kt=function(a){r.call(this,a)};U(kt,r);f=kt.prototype;f.getKey=function(){return Z(this,EJb,14)};f.hasKey=function(){return Aj(this,EJb,14)};f.getCircle=function(){return Z(this,yJb,23)};f.getEvent=function(){return Z(this,AJb,29)};f.toObject=function(){return LJb(this)};
var LJb=function(a){if(null!=a)return t(a),{gaiaid:p(m(a,1)),gaiaemail:p(m(a,2)),inviteid:p(m(a,3)),orginatinginviteid:p(m(a,9)),gaiagroup:p(m(a,4)),focusGroup:DJb(Z(a,CJb,5)),allusers:p($q(a,8)),allauthenticatedusers:p($q(a,10)),nouser:p($q(a,41)),serviceBlob:IJb(Z(a,jt,11)),key:FJb(a.getKey()),userpseudonym:vJb(Z(a,uJb,16)),mdbuser:p(m(a,17)),mdbgroup:p(m(a,18)),ldapuser:p(m(a,19)),ldapgroup:p(m(a,20)),obsolete21:p(Ms(a,21)),obsolete22:Jb(Dj(a,22)),circle:zJb(a.getCircle()),square:KJb(Z(a,JJb,26)),
event:BJb(a.getEvent()),chat:xJb(Z(a,wJb,32)),resourceRole:HJb(Z(a,it,35)),anonymousinviteid:p(m(a,40))}};var lt=function(a){r.call(this,a)};U(lt,r);lt.prototype.getScope=function(){return Z(this,kt,1)};lt.prototype.getWrappedkeyList=function(){return Ch(this,ft,3)};lt.prototype.getMetadata=function(){return Z(this,sJb,4)};lt.prototype.setMetadata=function(a){Wi(this,sJb,4,a)};lt.repeatedFields_=[3];lt.prototype.toObject=function(){return mt(this)};var mt=function(a){if(null!=a)return t(a),{role:p(Ms(a,2)),scope:LJb(a.getScope()),wrappedkeyList:Gb(a.getWrappedkeyList(),gt),metadata:tJb(a.getMetadata())}};var nt=function(a){r.call(this,a)};U(nt,r);nt.repeatedFields_=[4,5];nt.prototype.toObject=function(){return MJb(this)};var MJb=function(a){if(null!=a)return t(a),{addedEntryList:Gb(Ch(a,lt,4),mt),removedEntryList:Gb(Ch(a,lt,5),mt),readersCanEditAclChange:rJb(Z(a,et,13)),writersCanEditAclChange:rJb(Z(a,et,14)),changeReason:p(ir(a,25))}};var ot=function(a){r.call(this,a,1)};U(ot,r);var pt={};ot.prototype.toObject=function(){return qt(this)};var qt=function(a){if(null!=a){t(a);var b={};Hb(a,b,pt);return b}};pt[52221103]=Eb(52221103,{messageSetExtension:0},nt,MJb);var NJb=function(a){r.call(this,a)};U(NJb,r);NJb.prototype.toObject=function(){return OJb(this)};var OJb=function(a){if(null!=a)return t(a),{shareUrl:p(m(a,1))}};var rt=function(a){r.call(this,a)};U(rt,r);rt.prototype.getEmail=function(){return V(this,3)};rt.prototype.setEmail=function(a){return n(this,3,a)};rt.prototype.hasEmail=function(){return tk(this,3)};rt.prototype.toObject=function(){return PJb(this)};var PJb=function(a){if(null!=a){t(a);var b=ct(a,1,NJb);return{recipientsMap:Ib(b,OJb),role:p(ir(a,2)),email:p(m(a,3))}}};var st=function(a){r.call(this,a)};U(st,r);st.prototype.getMessage=function(){return V(this,2)};st.prototype.setMessage=function(a){n(this,2,a)};st.prototype.toObject=function(){return QJb(this)};var QJb=function(a){if(null!=a){t(a);var b=ct(a,1,rt);b=Ib(b,PJb);var c=p(m(a,2)),d=p($q(a,3));a=Sj(a,7,rt);return{granteesMap:b,message:c,shouldNotify:d,nonGaiaGranteesMap:Ib(a,PJb)}}};var tt=function(a){r.call(this,a)};U(tt,r);tt.repeatedFields_=[1];tt.prototype.toObject=function(){return RJb(this)};var RJb=function(a){if(null!=a)return t(a),{aclChangeStructList:Gb(Ch(a,nt,1),MJb)}};var SJb=function(a){r.call(this,a)};U(SJb,r);f=SJb.prototype;f.getValue=function(){return V(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return tk(this,1)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.toObject=function(){return TJb(this)};var TJb=function(a){if(null!=a)return t(a),{value:p(m(a,1)),displayName:p(m(a,2))}};var UJb=function(a){r.call(this,a)};U(UJb,r);UJb.repeatedFields_=[1];UJb.prototype.toObject=function(){return VJb(this)};var VJb=function(a){if(null!=a)return t(a),{namedValuesList:Gb(Ch(a,SJb,1),TJb)}};var ut=function(a){r.call(this,a)};U(ut,r);ut.prototype.getValuesList=function(){return Gh(this,1)};ut.prototype.setValuesList=function(a){Di(this,1,a)};ut.prototype.getValues=function(a){return Ss(this,1,a)};ut.prototype.setValues=function(a,b){tb(this,1,a,b,Gh)};ut.repeatedFields_=[1];ut.prototype.toObject=function(){return vt(this)};var vt=function(a){if(null!=a)return t(a),{valuesList:p(Gh(a,1))}};var yh=function(a){r.call(this,a)};U(yh,r);f=yh.prototype;f.getSeconds=function(){return dj(this,1)};f.setSeconds=function(a){return xb(this,1,a)};f.getNanos=function(){return Eh(this,2)};f.setNanos=function(a){return wb(this,2,a)};f.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};f.toObject=function(){return wt(this)};var wt=function(a){if(null!=a)return t(a),{seconds:dj(a,1),nanos:Eh(a,2)}};var xt=function(a){r.call(this,a)};U(xt,r);f=xt.prototype;f.getValueCase=function(){return Ai(this,yt)};f.getTextValue=function(){return Vs(this,1,yt)};f.setTextValue=function(a){Xn(this,1,yt,a)};f.getTextListValues=function(){return Pj(this,ut,2,yt)};f.getSelectionListValue=function(){return Pj(this,ut,4,yt)};f.getUserListValues=function(){return Pj(this,ut,13,yt)};f.getDateValue=function(){return Pj(this,yh,14,yt)};f.setDateValue=function(a){eo(this,14,yt,a)};
var yt=[1,2,3,4,5,11,12,13,14],zt=[6,7,8,9,10,15,16,17,18];xt.prototype.toObject=function(){return WJb(this)};
var WJb=function(a){if(null!=a)return t(a),{textValue:p(mo(a,1,yt)),textListValues:vt(a.getTextListValues()),selectionValue:p(mo(a,3,yt)),selectionListValue:vt(a.getSelectionListValue()),longTextValue:p(mo(a,5,yt)),numberValue:p(Ys(a,11,yt)),userValue:p(mo(a,12,yt)),userListValues:vt(a.getUserListValues()),dateValue:wt(a.getDateValue()),namedTextValue:p(mo(a,6,zt)),namedLongTextValue:p(mo(a,7,zt)),namedTextListValues:vt(Pj(a,ut,8,zt)),namedSelectionValue:TJb(Pj(a,SJb,9,zt)),namedSelectionListValue:VJb(Pj(a,
UJb,10,zt)),namedNumberValue:p(Ys(a,15,zt)),namedUserValue:p(mo(a,16,zt)),namedUserListValues:vt(Pj(a,ut,17,zt)),namedDateValue:wt(Pj(a,yh,18,zt))}};var XJb=function(a){r.call(this,a)};U(XJb,r);f=XJb.prototype;f.getFieldId=function(){return V(this,1)};f.setFieldId=function(a){n(this,1,a)};f.getOldValue=function(){return Z(this,xt,2)};f.getNewValue=function(){return Z(this,xt,3)};f.getDisplayName=function(){return V(this,4)};f.setDisplayName=function(a){return n(this,4,a)};f.toObject=function(){return YJb(this)};
var YJb=function(a){if(null!=a)return t(a),{fieldId:p(m(a,1)),oldValue:WJb(a.getOldValue()),newValue:WJb(a.getNewValue()),displayName:p(m(a,4))}};var At=function(a){r.call(this,a)};U(At,r);f=At.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return tk(this,1)};f.getTitle=function(){return V(this,5)};f.setTitle=function(a){return n(this,5,a)};At.repeatedFields_=[3,4];At.prototype.toObject=function(){return ZJb(this)};
var ZJb=function(a){if(null!=a)return t(a),{label:p(m(a,1)),labelScope:p(ir(a,2)),changeTypesList:p(Qk(a,3)),fieldChangesList:Gb(Ch(a,XJb,4),YJb),title:p(m(a,5)),reasonType:p(ir(a,6))}};var $Jb=function(a){r.call(this,a)};U($Jb,r);$Jb.prototype.toObject=function(){return aKb(this)};var aKb=function(a){if(null!=a)return t(a),{removedReviewerGaiaId:p(m(a,1)),addedReviewerGaiaId:p(m(a,2))}};var Bt=function(a){r.call(this,a)};U(Bt,r);Bt.prototype.getApprovalStatus=function(){return W(this,6,0)};Bt.repeatedFields_=[3,4,8,12];Bt.prototype.toObject=function(){return bKb(this)};
var bKb=function(a){if(null!=a)return t(a),{approvalEventType:p(ir(a,1)),approvalId:p(m(a,2)),approvalEventIdList:p(Bh(a,3)),reviewerGaiaIdsList:p(lb(a,4,cb)),initiatorGaiaId:p(m(a,5)),approvalStatus:p(ir(a,6)),reviewerDecision:p(ir(a,7)),reviewerChangesList:Gb(Ch(a,$Jb,8),aKb),dueTimeMs:p(m(a,9)),oldDueTimeMs:p(m(a,10)),resetReviewerGaiaIdsList:p(lb(a,12,cb)),userInteractionMode:p(ir(a,11)),approvalProcess:p(ir(a,13))}};var Ct=function(a){r.call(this,a)};U(Ct,r);Ct.prototype.getApprovalStatus=function(){return W(this,3,0)};Ct.repeatedFields_=[5];Ct.prototype.toObject=function(){return cKb(this)};var cKb=function(a){if(null!=a)return t(a),{approvalId:p(m(a,1)),notificationType:p(ir(a,2)),approvalStatus:p(ir(a,3)),initiatorGaiaId:p(m(a,4)),recipientGaiaIdsList:p(fl(a,5)),dueTimeMs:p(m(a,6)),userInteractionMode:p(ir(a,7))}};var Dt=function(a){r.call(this,a)};U(Dt,r);Dt.prototype.getValuesList=function(){return Gh(this,1)};Dt.prototype.setValuesList=function(a){Di(this,1,a)};Dt.prototype.getValues=function(a){return Ss(this,1,a)};Dt.prototype.setValues=function(a,b){tb(this,1,a,b,Gh)};Dt.repeatedFields_=[1];Dt.prototype.toObject=function(){return dKb(this)};var dKb=function(a){if(null!=a)return t(a),{valuesList:p(Gh(a,1))}};var Et=function(a){r.call(this,a)};U(Et,r);f=Et.prototype;f.getValueCase=function(){return Ai(this,Ft)};f.getTextValue=function(){return Vs(this,1,Ft)};f.setTextValue=function(a){Xn(this,1,Ft,a)};f.getTextListValues=function(){return Pj(this,Dt,2,Ft)};f.getSelectionListValue=function(){return Pj(this,Dt,4,Ft)};f.getUserListValues=function(){return Pj(this,Dt,8,Ft)};f.getDateValue=function(){return Pj(this,yh,9,Ft)};f.setDateValue=function(a){eo(this,9,Ft,a)};var Ft=[1,2,3,4,5,6,7,8,9];
Et.prototype.toObject=function(){return eKb(this)};var eKb=function(a){if(null!=a)return t(a),{textValue:p(mo(a,1,Ft)),textListValues:dKb(a.getTextListValues()),selectionValue:p(mo(a,3,Ft)),selectionListValue:dKb(a.getSelectionListValue()),longTextValue:p(mo(a,5,Ft)),numberValue:p(Ys(a,6,Ft)),userValue:p(mo(a,7,Ft)),userListValues:dKb(a.getUserListValues()),dateValue:wt(a.getDateValue())}};var Gt=function(a){r.call(this,a)};U(Gt,r);Gt.prototype.getOldValue=function(){return Z(this,Et,2)};Gt.prototype.getNewValue=function(){return Z(this,Et,3)};Gt.prototype.toObject=function(){return fKb(this)};var fKb=function(a){if(null!=a)return t(a),{attributeId:p(m(a,1)),oldValue:eKb(a.getOldValue()),newValue:eKb(a.getNewValue())}};var gKb=function(a){r.call(this,a)};U(gKb,r);gKb.repeatedFields_=[3,4];gKb.prototype.toObject=function(){return hKb(this)};var hKb=function(a){if(null!=a)return t(a),{publishedCategoryName:p(m(a,1)),categoryScope:p(ir(a,2)),changeTypesList:p(Qk(a,3)),attributeChangesList:Gb(Ch(a,Gt,4),fKb),reasonType:p(ir(a,5))}};var Ht=function(a){r.call(this,a)};U(Ht,r);Ht.repeatedFields_=[7];Ht.prototype.toObject=function(){return iKb(this)};var iKb=function(a){if(null!=a){t(a);var b=p(Ms(a,1)),c=p(Ms(a,2)),d=p(Ms(a,3)),e=p(Ms(a,4));var g=nb(a,5,Eba);return{characterCount:b,wordCount:c,nonStopWordCount:d,newLineCount:e,punctuationCountMap:Ib(g),validUrlCount:p(Ms(a,6)),languageCodeList:p(Gh(a,7))}}};var It=function(a){r.call(this,a)};U(It,r);It.repeatedFields_=[7];It.prototype.toObject=function(){return jKb(this)};var jKb=function(a){if(null!=a)return t(a),{discussionId:p(m(a,3)),postId:p(m(a,4)),linkToDoco:p(m(a,5)),suggestionId:p(m(a,6)),mentionedUsersList:p(fl(a,7)),assignedUser:p(m(a,8)),commentSummary:iKb(Z(a,Ht,9)),anchorTextSummary:iKb(Z(a,Ht,10))}};var kKb=function(a){r.call(this,a)};U(kKb,r);kKb.prototype.toObject=function(){return lKb(this)};var lKb=function(a){if(null!=a)return t(a),{originalTitle:p(m(a,1)),originalDocid:p(m(a,3)),originalCustomerId:p(m(a,4)),originalOwnerGaiaId:p(m(a,5)),originalMimeType:p(m(a,6))}};var Jt=function(a){r.call(this,a)};U(Jt,r);Jt.prototype.getId=function(){return dj(this,1)};Jt.prototype.setId=function(a){return n(this,1,a)};Jt.prototype.toObject=function(){return mKb(this)};var mKb=function(a){if(null!=a)return t(a),{id:p(m(a,1))}};var Kt=function(a){r.call(this,a)};U(Kt,r);Kt.repeatedFields_=[1];Kt.prototype.toObject=function(){return nKb(this)};var nKb=function(a){if(null!=a)return t(a),{matchingRuleList:Gb(Ch(a,Jt,1),mKb)}};var oKb=function(a){r.call(this,a)};U(oKb,r);oKb.prototype.toObject=function(){return pKb(this)};var pKb=function(a){if(null!=a)return t(a),{previousViolation:nKb(Z(a,Kt,1)),currentViolation:nKb(Z(a,Kt,2))}};var qKb=function(a){r.call(this,a)};U(qKb,r);qKb.prototype.toObject=function(){return rKb(this)};var rKb=function(a){if(null!=a)return t(a),{sourceDomainGaiaId:p(m(a,1)),destinationDomainGaiaId:p(m(a,2))}};var sKb=function(a){r.call(this,a)};U(sKb,r);sKb.prototype.toObject=function(){return tKb(this)};var tKb=function(a){if(null!=a)return t(a),{downloadUuid:p(m(a,1))}};var uKb=function(a){r.call(this,a)};U(uKb,r);uKb.repeatedFields_=[1];uKb.prototype.toObject=function(){return vKb(this)};var vKb=function(a){if(null!=a)return t(a),{additionalEffectiveEntriesList:Gb(Ch(a,lt,1),mt)}};var wKb=function(a){r.call(this,a)};U(wKb,r);wKb.repeatedFields_=[1];wKb.prototype.toObject=function(){return xKb(this)};var xKb=function(a){if(null!=a)return t(a),{recipientEmailList:p(Gh(a,1))}};var yKb=function(a){r.call(this,a)};U(yKb,r);yKb.prototype.toObject=function(){return zKb(this)};var zKb=function(a){if(null!=a)return t(a),{allowLessSecureLink:p($q(a,1))}};var AKb=function(a){r.call(this,a)};U(AKb,r);f=AKb.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return n(this,2,a)};f.toObject=function(){return BKb(this)};var BKb=function(a){if(null!=a)return t(a),{id:p(m(a,1)),title:p(m(a,2)),isRoot:p($q(a,3)),isTeamDriveRoot:p($q(a,4))}};var Lt=function(a){r.call(this,a)};U(Lt,r);Lt.prototype.getParentId=function(){return V(this,1)};Lt.prototype.setParentId=function(a){return n(this,1,a)};Lt.prototype.toObject=function(){return CKb(this)};var CKb=function(a){if(null!=a)return t(a),{parentId:p(m(a,1)),shortcutId:p(m(a,2))}};var DKb=function(a){r.call(this,a)};U(DKb,r);DKb.repeatedFields_=[1,2];DKb.prototype.toObject=function(){return EKb(this)};var EKb=function(a){if(null!=a)return t(a),{migratedParentsList:Gb(Ch(a,Lt,1),CKb),removedParentIdsList:p(Gh(a,2))}};var Mt=function(a){r.call(this,a)};U(Mt,r);Mt.prototype.getReason=function(){return W(this,1,0)};Mt.prototype.setReason=function(a){n(this,1,a)};Mt.prototype.toObject=function(){return FKb(this)};var FKb=function(a){if(null!=a)return t(a),{reason:p(ir(a,1))}};var GKb=function(a){r.call(this,a)};U(GKb,r);GKb.repeatedFields_=[1,2,3];GKb.prototype.toObject=function(){return HKb(this)};var HKb=function(a){if(null!=a)return t(a),{addedParentList:Gb(Ch(a,AKb,1),BKb),removedParentList:Gb(Ch(a,AKb,2),BKb),reparentReasonList:Gb(Ch(a,Mt,3),FKb),multiparentMigrationInfo:EKb(Z(a,DKb,4))}};var IKb=function(a){r.call(this,a)};U(IKb,r);IKb.repeatedFields_=[1];IKb.prototype.toObject=function(){return JKb(this)};var JKb=function(a){if(null!=a)return t(a),{authedUsersList:p(fl(a,1))}};var KKb=function(a){r.call(this,a)};U(KKb,r);var LKb=[2];KKb.prototype.toObject=function(){return MKb(this)};var MKb=function(a){if(null!=a)return t(a),{privateDescription:p(m(a,1)),authedUserList:JKb(Pj(a,IKb,2,LKb))}};var NKb=function(a){r.call(this,a)};U(NKb,r);f=NKb.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getUrl=function(){return V(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return tk(this,2)};f.toObject=function(){return OKb(this)};var OKb=function(a){if(null!=a)return t(a),{text:p(m(a,1)),url:p(m(a,2)),privateContext:MKb(Z(a,KKb,3))}};var Nt=function(a){r.call(this,a)};U(Nt,r);Nt.repeatedFields_=[1];Nt.prototype.toObject=function(){return PKb(this)};var PKb=function(a){if(null!=a)return t(a),{ownerGaiaIdList:p(lb(a,1,cb)),ownerIsTeamDrive:p($q(a,2)),teamDriveRootId:p(m(a,3)),teamDriveName:p(m(a,4)),teamDriveCreatorId:p(m(a,5))}};var QKb=function(a){r.call(this,a)};U(QKb,r);QKb.prototype.toObject=function(){return RKb(this)};var RKb=function(a){if(null!=a)return t(a),{publishMode:p(ir(a,1)),signinRequired:p($q(a,2)),publishedTime:wt(Z(a,yh,3))}};var SKb=function(a){r.call(this,a)};U(SKb,r);SKb.prototype.toObject=function(){return TKb(this)};var TKb=function(a){if(null!=a)return t(a),{oldPublishState:RKb(Z(a,QKb,1)),newPublishState:RKb(Z(a,QKb,2))}};var UKb=function(a){r.call(this,a)};U(UKb,r);UKb.prototype.toObject=function(){return VKb(this)};var VKb=function(a){if(null!=a)return t(a),{oldTitle:p(m(a,1)),newTitle:p(m(a,2))}};var WKb=function(a){r.call(this,a)};U(WKb,r);WKb.repeatedFields_=[2];WKb.prototype.toObject=function(){return XKb(this)};var XKb=function(a){if(null!=a)return t(a),{recipientDocId:p(m(a,1)),importedRangesList:p(Gh(a,2))}};var Ot=function(a){r.call(this,a)};U(Ot,r);f=Ot.prototype;f.getType=function(){return W(this,1,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getAppId=function(){return V(this,2)};f.setAppId=function(a){n(this,2,a)};f.toObject=function(){return YKb(this)};var YKb=function(a){if(null!=a)return t(a),{type:W(a,1,1),appId:p(m(a,2))}};var ZKb=function(a){r.call(this,a)};U(ZKb,r);ZKb.prototype.toObject=function(){return $Kb(this)};var $Kb=function(a){if(null!=a)return t(a),{newItemId:p(m(a,1)),newItemTitle:p(m(a,2)),newItemCustomerId:p(m(a,3)),newOwnerGaiaId:p(m(a,4)),newMimeType:p(m(a,5))}};var aLb=function(a){r.call(this,a)};U(aLb,r);aLb.prototype.toObject=function(){return bLb(this)};var bLb=function(a){if(null!=a)return t(a),{packageRootId:p(m(a,1)),packageParentId:p(m(a,2)),packageMimeType:p(m(a,3))}};var Pt=function(a){r.call(this,a)};U(Pt,r);f=Pt.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getVersion=function(){return Ps(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){var a=m(this,4);return null==a?void 0:a};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return tk(this,2)};f.getNameOrUndefined=function(){return bt(this,2)};
f.getMimeType=function(){return V(this,3)};f.setMimeType=function(a){n(this,3,a)};Pt.repeatedFields_=[6];Pt.prototype.toObject=function(){return cLb(this)};var cLb=function(a){if(null!=a)return t(a),{id:p(m(a,1)),version:p(m(a,4)),name:p(m(a,2)),mimeType:p(m(a,3)),objectType:W(a,5,0),objectFamilyList:p(Bh(a,6)),isTeamDriveRoot:p($q(a,7)),packageEmbeddingData:bLb(Z(a,aLb,8)),shortcutTargetId:p(m(a,9)),shortcutTargetMimeType:p(m(a,10))}};var dLb=function(a){r.call(this,a)};U(dLb,r);dLb.prototype.toObject=function(){return eLb(this)};var eLb=function(a){if(null!=a)return t(a),{allowLessSecureLinkForAllFiles:p($q(a,1))}};var fLb=function(a){r.call(this,a)};U(fLb,r);fLb.repeatedFields_=[5,6,10,9];fLb.prototype.toObject=function(){return gLb(this)};
var gLb=function(a){if(null!=a)return t(a),{teamDriveId:p(m(a,1)),teamDriveJoinMessage:p(m(a,3)),membershipChangeType:p(ir(a,4)),addedTeamDriveRoleList:p(Qk(a,5)),removedTeamDriveRoleList:p(Qk(a,6)),resharedTeamDriveRoleList:p(Qk(a,10)),sendShareNotification:Gj(a,7,!0),isIndirectMembershipChange:p($q(a,8)),indirectGroupsList:p(lb(a,9,cb)),isFromGroupAddedToTeamDrive:p($q(a,11))}};var Qt=function(a){r.call(this,a)};U(Qt,r);Qt.prototype.getOldValue=function(){return W(this,1,0)};Qt.prototype.getNewValue=function(){return W(this,2,0)};Qt.prototype.toObject=function(){return Rt(this)};var Rt=function(a){if(null!=a)return t(a),{oldValue:p(ir(a,1)),newValue:p(ir(a,2))}};var St=function(a){r.call(this,a)};U(St,r);St.prototype.getDownload=function(){return Z(this,Qt,3)};St.prototype.setDownload=function(a){Wi(this,Qt,3,a)};St.prototype.toObject=function(){return hLb(this)};var hLb=function(a){if(null!=a)return t(a),{crossDomainSharing:Rt(Z(a,Qt,1)),directAcl:Rt(Z(a,Qt,2)),download:Rt(a.getDownload()),driveFs:Rt(Z(a,Qt,4)),fileOrganizerCanShareFolders:Rt(Z(a,Qt,5))}};var iLb=function(a){r.call(this,a)};U(iLb,r);iLb.prototype.toObject=function(){return jLb(this)};var jLb=function(a){if(null!=a)return t(a),{currentState:p(ir(a,1)),restoredSinceThisEvent:p($q(a,2))}};var Tt=function(a){r.call(this,a)};U(Tt,r);Tt.prototype.getCode=function(){return W(this,2,0)};Tt.prototype.setCode=function(a){return n(this,2,a)};Tt.prototype.toObject=function(){return kLb(this)};var kLb=function(a){if(null!=a)return t(a),{entry:mt(Z(a,lt,1)),code:W(a,2,0)}};var lLb=function(a){r.call(this,a)};U(lLb,r);lLb.repeatedFields_=[1,2,3,4];lLb.prototype.toObject=function(){return mLb(this)};var mLb=function(a){if(null!=a)return t(a),{addedEntryVisibilityList:Gb(Ch(a,Tt,1),kLb),removedEntryVisibilityList:Gb(Ch(a,Tt,2),kLb),fullAclVisibilityList:p(Qk(a,3)),beforeEventVisibilityList:p(Qk(a,4))}};var nLb=function(a){r.call(this,a)};U(nLb,r);nLb.repeatedFields_=[1,2];nLb.prototype.toObject=function(){return oLb(this)};var oLb=function(a){if(null!=a)return t(a),{addedWorkspaceIdsList:p(Gh(a,1)),removedWorkspaceIdsList:p(Gh(a,2))}};var pLb=function(a){r.call(this,a)};U(pLb,r);pLb.prototype.toObject=function(){return qLb(this)};var qLb=function(a){if(null!=a)return t(a),{deviceUserSessionId:p(m(a,1)),userAuthenticationTimeMs:p(m(a,2))}};var Ut=function(a){r.call(this,a)};U(Ut,r);Ut.prototype.getType=function(){return W(this,1,0)};Ut.prototype.setType=function(a){return n(this,1,a)};Ut.prototype.hasType=function(){return cj(this,1)};Ut.prototype.toObject=function(){return rLb(this)};var rLb=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),groupingId:p(m(a,2)),propagationStartTimeMillis:p(m(a,3)),propagationRootItemId:p(m(a,4))}};var sLb=function(a){r.call(this,a)};U(sLb,r);sLb.prototype.toObject=function(){return tLb(this)};var tLb=function(a){if(null!=a)return t(a),{intentType:p(ir(a,1))}};var Vt=function(a){r.call(this,a)};U(Vt,r);Vt.prototype.getType=function(){return W(this,1,0)};Vt.prototype.setType=function(a){return n(this,1,a)};Vt.prototype.hasType=function(){return cj(this,1)};Vt.prototype.toObject=function(){return uLb(this)};var uLb=function(a){if(null!=a)return t(a),{type:p(ir(a,1))}};var Wt=function(a){r.call(this,a)};U(Wt,r);Wt.prototype.getEmail=function(){return V(this,14)};Wt.prototype.setEmail=function(a){return n(this,14,a)};Wt.prototype.hasEmail=function(){return tk(this,14)};Wt.prototype.toObject=function(){return vLb(this)};var vLb=function(a){if(null!=a)return t(a),{gaiaid:p(m(a,13)),email:p(m(a,14))}};var Xt=function(a){r.call(this,a)};U(Xt,r);Xt.prototype.getId=function(){return Ps(this,11)};Xt.prototype.setId=function(a){return n(this,11,a)};Xt.prototype.toObject=function(){return wLb(this)};var wLb=function(a){if(null!=a)return t(a),{id:p(m(a,11))}};var xLb=function(a){r.call(this,a)};U(xLb,r);xLb.repeatedFields_=[10];xLb.prototype.toObject=function(){return yLb(this)};var yLb=function(a){if(null!=a)return t(a),{keyvalue:p(m(a,9)),gaiaIdList:Gb(Ch(a,Xt,10),wLb)}};var zLb=function(a){r.call(this,a)};U(zLb,r);zLb.repeatedFields_=[1];zLb.prototype.toObject=function(){return ALb(this)};var ALb=function(a){if(null!=a)return t(a),{scopeList:Gb(Ch(a,kt,1),LJb)}};var Yt=function(a){r.call(this,a)};U(Yt,r);Yt.prototype.getWrappedkeyList=function(){return Ch(this,ft,2)};Yt.repeatedFields_=[2];Yt.prototype.toObject=function(){return BLb(this)};var BLb=function(a){if(null!=a)return t(a),{hmacsha1:Jb(Dj(a,1)),wrappedkeyList:Gb(a.getWrappedkeyList(),gt)}};var Zt=function(a){r.call(this,a)};U(Zt,r);Zt.prototype.getEmail=function(){return V(this,2)};Zt.prototype.setEmail=function(a){return n(this,2,a)};Zt.prototype.hasEmail=function(){return tk(this,2)};Zt.repeatedFields_=[12,7];Zt.prototype.toObject=function(){return CLb(this)};
var CLb=function(a){if(null!=a)return t(a),{inviteid:p(m(a,1)),requirelistedtoken:Gj(a,13,!1),tokenmetadataList:Gb(Ch(a,Yt,12),BLb),email:p(m(a,2)),singleuse:Gj(a,3,!1),uses:p(Ms(a,4)),creationtimems:p(m(a,5)),rolevalue:p(Ms(a,6)),recipientemailList:p(Gh(a,7)),indirect:p($q(a,8)),expirationtimems:p(m(a,9)),allowanonymoususage:p($q(a,11)),inviter:p(m(a,14)),obsolete10:Jb(Dj(a,10))}};var DLb=function(a){r.call(this,a)};U(DLb,r);DLb.repeatedFields_=[1];DLb.prototype.toObject=function(){return ELb(this)};var ELb=function(a){if(null!=a)return t(a),{abuseTypeList:p(Bh(a,1))}};var FLb=function(a){r.call(this,a)};U(FLb,r);FLb.prototype.toObject=function(){return GLb(this)};var GLb=function(a){if(null!=a)return t(a),{minimumAgeYears:p(Ms(a,1)),maximumAgeYears:p(Ms(a,2))}};var HLb=function(a){r.call(this,a)};U(HLb,r);HLb.prototype.getContentType=function(){return W(this,1,1)};HLb.prototype.toObject=function(){return ILb(this)};var ILb=function(a){if(null!=a)return t(a),{contentType:p(ir(a,1))}};var JLb=function(a){r.call(this,a)};U(JLb,r);JLb.repeatedFields_=[2];JLb.prototype.toObject=function(){return KLb(this)};var KLb=function(a){if(null!=a)return t(a),{globalAgeRestriction:GLb(Z(a,FLb,1)),locationBasedAgeRestrictionList:Gb(Ch(a,HLb,2),ILb)}};var LLb=function(a){r.call(this,a)};U(LLb,r);var MLb=[1];LLb.prototype.toObject=function(){return NLb(this)};var NLb=function(a){if(null!=a)return t(a),{driveItemContentRegion:p(Zs(a,1,MLb))}};var OLb=function(a){r.call(this,a)};U(OLb,r);OLb.prototype.toObject=function(){return PLb(this)};var PLb=function(a){if(null!=a)return t(a),{matchingDetectorId:p(m(a,1)),matchingDlpContentRegion:NLb(Z(a,LLb,2))}};var QLb=function(a){r.call(this,a)};U(QLb,r);QLb.repeatedFields_=[2,3];QLb.prototype.toObject=function(){return RLb(this)};var RLb=function(a){if(null!=a)return t(a),{matchingRuleId:p(m(a,1)),matchingDetectorIdList:p(Gh(a,2)),matchingDetectorDetailList:Gb(Ch(a,OLb,3),PLb)}};var $t=function(a){r.call(this,a)};U($t,r);$t.prototype.getObsolete4=function(){return iJb(this,4)};$t.repeatedFields_=[2,3,4];$t.prototype.toObject=function(){return SLb(this)};var SLb=function(a){if(null!=a)return t(a),{timestampMillis:p(m(a,1)),obsolete2List:p(fl(a,2)),matchingDlpRuleList:Gb(Ch(a,QLb,3),RLb),obsolete4List:p(fl(a,4)),matchedAtleastOnce:p($q(a,5))}};var au=function(a){r.call(this,a)};U(au,r);au.prototype.toObject=function(){return TLb(this)};var TLb=function(a){if(null!=a)return t(a),{domainId:p(m(a,1))}};var ULb=function(a){r.call(this,a)};U(ULb,r);ULb.prototype.hasUserId=function(){return Lk(this,1)};ULb.prototype.toObject=function(){return VLb(this)};var VLb=function(a){if(null!=a)return t(a),{userId:p(m(a,1))}};var WLb=function(a){r.call(this,a)};U(WLb,r);f=WLb.prototype;f.getDomain=function(){return Z(this,au,2)};f.setDomain=function(a){return Wi(this,au,2,a)};f.hasDomain=function(){return Aj(this,au,2)};f.getDlpInfo=function(){return Z(this,$t,5)};f.toObject=function(){return XLb(this)};var XLb=function(a){if(null!=a)return t(a),{liableUser:VLb(Z(a,ULb,1)),domain:TLb(a.getDomain()),abuse:ELb(Z(a,DLb,3)),ageRestriction:KLb(Z(a,JLb,4)),dlpInfo:SLb(a.getDlpInfo())}};var YLb=function(a){r.call(this,a)};U(YLb,r);YLb.prototype.toObject=function(){return ZLb(this)};var ZLb=function(a){if(null!=a)return t(a),{gaiaEmail:Gj(a,1,!1)}};var $Lb=function(a){r.call(this,a)};U($Lb,r);$Lb.prototype.getScope=function(){return Z(this,kt,1)};$Lb.prototype.toObject=function(){return aMb(this)};var aMb=function(a){if(null!=a)return t(a),{scope:LJb(a.getScope()),knownsharetimedata:ZLb(Z(a,YLb,3))}};var bu=function(a){r.call(this,a)};U(bu,r);bu.prototype.getEntriesList=function(){return Ch(this,lt,2)};bu.repeatedFields_=[2,17,3,7,8,12,22,20];bu.prototype.toObject=function(){return cu(this)};
var cu=function(a){if(null!=a)return t(a),{entriesList:Gb(a.getEntriesList(),mt),scopeinfoList:Gb(Ch(a,$Lb,17),aMb),invitesList:Gb(Ch(a,Zt,3),CLb),obsolete16:Jb(Dj(a,16)),writerscaneditacl:p($q(a,4)),readerscaneditacl:p($q(a,6)),noanonymousaccess:p($q(a,5)),revokedkeyvaluesList:p(lb(a,7,cb)),persistentAccessSetList:Gb(Ch(a,xLb,8),yLb),acceptedEmailInviteList:Gb(Ch(a,Wt,12),vLb),requiredscopes:ALb(Z(a,zLb,15)),policydata:XLb(Z(a,WLb,18)),zookie:Jb(Dj(a,19)),resourceid:GJb(Z(a,ht,21)),zanzibarwrappedkeyList:Gb(Ch(a,
ft,22),gt),ticketedwrappedkeyList:Gb(Ch(a,ft,20),gt)}};var bMb=function(a){r.call(this,a)};U(bMb,r);bMb.prototype.toObject=function(){return cMb(this)};var cMb=function(a){if(null!=a)return t(a),{membershipAcl:cu(Z(a,bu,2)),visitorAcl:cu(Z(a,bu,3)),teamDriveState:p(ir(a,4)),inheritedAcl:cu(Z(a,bu,5))}};var dMb=function(a){r.call(this,a)};U(dMb,r);dMb.prototype.toObject=function(){return eMb(this)};var eMb=function(a){if(null!=a)return t(a),{domainPolicyVisibilityState:p(ir(a,1)),namedPartyState:p(ir(a,2))}};var du=function(a){r.call(this,a)};U(du,r);f=du.prototype;f.getEventType=function(){return Ts(this,2)};f.setEventType=function(a){return tb(this,2,a,void 0,Qk)};f.getSource=function(){return Z(this,Ot,35)};f.setSource=function(a){return Wi(this,Ot,35,a)};f.hasSource=function(){return Aj(this,Ot,35)};f.getTimestamp=function(){return Ps(this,4)};f.setTimestamp=function(a){return n(this,4,a)};f.hasTimestamp=function(){return null!=m(this,4)};f.getUser=function(){return Ps(this,5)};
f.setUser=function(a){n(this,5,a)};f.hasUser=function(){return null!=m(this,5)};f.getTarget=function(){return Z(this,Pt,6)};f.setTarget=function(a){return Wi(this,Pt,6,a)};f.getComment=function(){return Z(this,It,14)};f.setComment=function(a){Wi(this,It,14,a)};f.getVisibility=function(){return Z(this,lLb,51)};f.getDownload=function(){return Z(this,sKb,91)};f.setDownload=function(a){Wi(this,sKb,91,a)};f.getEventId=function(){return V(this,18)};f.setEventId=function(a){n(this,18,a)};
f.getParent=function(a){return Ss(this,20,a)};f.setParent=function(a){return tb(this,20,a,void 0,Gh)};f.getDlpInfo=function(){return Z(this,$t,64)};du.repeatedFields_=[2,41,29,57,24,77,85,20,21,22,39];du.prototype.toObject=function(){return fMb(this)};
var fMb=function(a){if(null!=a)return t(a),{primaryEventType:p(ir(a,1)),eventTypeList:p(Qk(a,2)),originatingApp:p(m(a,15)),originatingAppSubId:p(m(a,34)),source:YKb(a.getSource()),isAdminAction:Gj(a,31,!1),systemEvent:uLb(Z(a,Vt,68)),requestIntentList:Gb(Ch(a,sLb,41),tLb),timestamp:p(m(a,4)),user:p(m(a,5)),targetUserList:p(lb(a,29,cb)),targetGroupList:p(lb(a,57,cb)),target:cLb(a.getTarget()),move:HKb(Z(a,GKb,7)),rename:VKb(Z(a,UKb,8)),aclChange:RJb(Z(a,tt,9)),visitorAclChange:RJb(Z(a,tt,55)),teamDriveInheritedAclChange:RJb(Z(a,
tt,82)),copy:lKb(Z(a,kKb,13)),sourceCopy:$Kb(Z(a,ZKb,90)),comment:jKb(a.getComment()),trash:jLb(Z(a,iLb,56)),dlpUpdate:pKb(Z(a,oKb,52)),teamDriveMembershipChange:gLb(Z(a,fLb,46)),teamDriveSettingsChange:hLb(Z(a,St,70)),teamDriveLinkShareMetadataChange:eLb(Z(a,dLb,88)),visibility:mLb(a.getVisibility()),originAppContext:OKb(Z(a,NKb,65)),approvalChangeMessage:bKb(Z(a,Bt,75)),approvalSystemNotificationMessage:cKb(Z(a,Ct,78)),accessRequestMessage:QJb(Z(a,st,72)),sheetsRangeImportMessage:XKb(Z(a,WKb,74)),
propagationInfo:rLb(Z(a,Ut,66)),hijackDetectionInfo:qLb(Z(a,pLb,67)),ownerDomainIdList:p(lb(a,24,cb)),actorDomainId:p(m(a,59)),ownerCustomerId:p(m(a,79)),actorCustomerId:p(m(a,80)),previousOwnerCustomerId:p(m(a,92)),viewHistoryVisibility:eMb(Z(a,dMb,71)),categoryMetadataChangesList:Gb(Ch(a,gKb,77),hKb),publishChange:TKb(Z(a,SKb,84)),appliedLabelChangesList:Gb(Ch(a,At,85),ZJb),linkShareMetadataChange:zKb(Z(a,yKb,87)),download:tKb(a.getDownload()),eventId:p(m(a,18)),parentList:p(Gh(a,20)),ancestorList:p(Gh(a,
21)),subscriberList:p(lb(a,22,cb)),ownerInfo:PKb(Z(a,Nt,62)),previousOwnerInfo:PKb(Z(a,Nt,61)),creatorGaiaId:p(m(a,63)),acl:cu(Z(a,bu,25)),teamDriveAcls:cMb(Z(a,bMb,76)),ipAddress:p(m(a,26)),trashed:p($q(a,27)),dlpInfo:SLb(a.getDlpInfo()),customExtensionList:Gb(Ch(a,ot,39),qt),domainTransferData:rKb(Z(a,qKb,73)),workspaceChange:oLb(Z(a,nLb,81)),emailAsAttachment:xKb(Z(a,wKb,83)),effectiveAclChangeInfo:vKb(Z(a,uKb,86))}};pt[10837399]=Eb(10837399,{messageSetExtension:0},bu,cu);pt[62513794]=Eb(62513794,{messageSetExtension:0},du,fMb);var gMb=function(a){r.call(this,a)};U(gMb,r);gMb.prototype.getResourceKey=function(){return m(this,2)};gMb.prototype.toObject=function(){return hMb(this)};var hMb=function(a){if(null!=a)return t(a),{resourceKey:p(m(a,2))}};var iMb=function(a){r.call(this,a)};U(iMb,r);iMb.prototype.getCustomerId=function(){return m(this,1)};iMb.prototype.toObject=function(){return jMb(this)};var jMb=function(a){if(null!=a)return t(a),{customerId:p(m(a,1))}};var kMb=function(a){r.call(this,a)};U(kMb,r);kMb.prototype.toObject=function(){return lMb(this)};var lMb=function(a){if(null!=a)return t(a),{}};var mMb=function(a){r.call(this,a)};U(mMb,r);mMb.prototype.getCustomerId=function(){return Z(this,iMb,1)};mMb.prototype.toObject=function(){return nMb(this)};var nMb=function(a){if(null!=a)return t(a),{customerId:jMb(a.getCustomerId())}};var oMb=function(a){r.call(this,a)};U(oMb,r);var pMb=[1,2];oMb.prototype.toObject=function(){return qMb(this)};var qMb=function(a){if(null!=a)return t(a),{consumerInfo:lMb(Pj(a,kMb,1,pMb)),customerInfo:nMb(Pj(a,mMb,2,pMb))}};var eu=function(a){r.call(this,a)};U(eu,r);eu.prototype.toObject=function(){return rMb(this)};var rMb=function(a){if(null!=a)return t(a),{membershipCount:p(Ms(a,1)),memberType:p(ir(a,2)),membershipState:p(ir(a,3))}};var fu=function(a){r.call(this,a)};U(fu,r);fu.prototype.getValueList=function(){return Ch(this,eu,1)};fu.prototype.addValue=function(){return go(this,1,eu)};fu.prototype.setValue=function(a,b){return Ds(this,1,eu,a,b)};fu.repeatedFields_=[1];fu.prototype.toObject=function(){return sMb(this)};var sMb=function(a){if(null!=a)return t(a),{valueList:Gb(a.getValueList(),rMb)}};var gu=function(a){r.call(this,a)};U(gu,r);gu.prototype.getIndex=function(){return Os(this,1)};gu.prototype.setIndex=function(a){rb(this,1,a,0)};gu.prototype.toObject=function(){return tMb(this)};var tMb=function(a){if(null!=a)return t(a),{index:Os(a,1),dataSourceIndex:Os(a,2)}};var hu=function(a){r.call(this,a)};U(hu,r);f=hu.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return jj(this,1,a)};f.getSourceId=function(){return W(this,2,0)};f.setSourceId=function(a){return Ni(this,2,a)};f.toObject=function(){return uMb(this)};var uMb=function(a){if(null!=a)return t(a),{id:V(a,1),sourceId:W(a,2,0)}};var vMb=function(a){r.call(this,a)};U(vMb,r);vMb.prototype.toObject=function(){return wMb(this)};var wMb=function(a){if(null!=a)return t(a),{sampleRate:Eh(a,1),samples:Jb(Dj(a,2))}};var Ah=function(a){r.call(this,a)};U(Ah,r);f=Ah.prototype;f.getSeconds=function(){return dj(this,1)};f.setSeconds=function(a){return xb(this,1,a)};f.getNanos=function(){return Eh(this,2)};f.setNanos=function(a){return wb(this,2,a)};f.toObject=function(){return iu(this)};var iu=function(a){if(null!=a)return t(a),{seconds:dj(a,1),nanos:Eh(a,2)}};var xMb=function(a){r.call(this,a)};U(xMb,r);xMb.prototype.getDuration=function(){return Z(this,Ah,1)};xMb.prototype.toObject=function(){return yMb(this)};var yMb=function(a){if(null!=a)return t(a),{duration:iu(a.getDuration()),internalPreviewUrl:V(a,2),internalWaveformUrl:V(a,3),internalWaveformData:wMb(Z(a,vMb,4))}};var ju=function(a){r.call(this,a)};U(ju,r);f=ju.prototype;f.getUrl=function(){return V(this,1)};f.setUrl=function(a){return jj(this,1,a)};f.getHeight=function(){return Eh(this,2)};f.setHeight=function(a){return wb(this,2,a)};f.getWidth=function(){return Eh(this,3)};f.setWidth=function(a){return wb(this,3,a)};f.toObject=function(){return ku(this)};var ku=function(a){if(null!=a)return t(a),{url:V(a,1),height:Eh(a,2),width:Eh(a,3),rotation:Os(a,4)}};var lu=function(a){r.call(this,a)};U(lu,r);lu.prototype.getDuration=function(){return Z(this,Ah,2)};lu.prototype.toObject=function(){return zMb(this)};var zMb=function(a){if(null!=a)return t(a),{aspectRatio:ej(a,1),duration:iu(a.getDuration()),internalPreviewUrl:V(a,3)}};var mu=function(a){r.call(this,a)};U(mu,r);mu.prototype.getLeft=function(){return ej(this,1)};mu.prototype.getRight=function(){return ej(this,3)};mu.prototype.toObject=function(){return AMb(this)};var AMb=function(a){if(null!=a)return t(a),{left:ej(a,1),top:ej(a,2),right:ej(a,3),bottom:ej(a,4)}};var nu=function(a){r.call(this,a)};U(nu,r);nu.prototype.getRotate=function(){return Eh(this,2)};nu.prototype.setRotate=function(a){return wb(this,2,a)};nu.prototype.toObject=function(){return BMb(this)};var BMb=function(a){if(null!=a)return t(a),{cropCoordinates:AMb(Z(a,mu,1)),rotate:Eh(a,2),caption:V(a,3)}};var CMb=function(a){r.call(this,a)};U(CMb,r);f=CMb.prototype;f.getEmail=function(){return V(this,1)};f.setEmail=function(a){return jj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return jj(this,2,a)};f.getDisplayName=function(){return V(this,3)};f.setDisplayName=function(a){return jj(this,3,a)};f.toObject=function(){return DMb(this)};
var DMb=function(a){if(null!=a)return t(a),{email:V(a,1),name:V(a,2),displayName:V(a,3),templateProfilePhotoUrl:V(a,4),profilePhoto:ku(Z(a,ju,5))}};var ou=function(a){r.call(this,a)};U(ou,r);ou.prototype.getBackgroundColor=function(){return V(this,2)};ou.prototype.setBackgroundColor=function(a){jj(this,2,a)};ou.prototype.setSelected=function(a){return vb(this,5,a)};ou.prototype.toObject=function(){return EMb(this)};var EMb=function(a){if(null!=a)return t(a),{accessRole:W(a,1,0),backgroundColor:V(a,2),foregroundColor:V(a,3),hidden:Gj(a,4),selected:Gj(a,5),profileMetadata:DMb(Z(a,CMb,6))}};var FMb=function(a){r.call(this,a)};U(FMb,r);FMb.prototype.toObject=function(){return GMb(this)};var GMb=function(a){if(null!=a)return t(a),{rawBytes:Jb(Dj(a,1))}};var pu=function(a){r.call(this,a)};U(pu,r);f=pu.prototype;f.getEmailList=function(){return Gh(this,1)};f.addEmail=function(a){return sb(this,1,a)};f.getEmail=function(a){return Ss(this,1,a)};f.setEmail=function(a){return tb(this,1,a,void 0,Gh)};f.getGroupId=function(a){return Ss(this,2,a)};f.setGroupId=function(a){tb(this,2,a,void 0,Gh)};pu.repeatedFields_=[1,2];pu.prototype.toObject=function(){return HMb(this)};var HMb=function(a){if(null!=a)return t(a),{emailList:p(Gh(a,1)),groupIdList:p(Gh(a,2))}};var IMb=function(a){r.call(this,a)};U(IMb,r);IMb.prototype.toObject=function(){return JMb(this)};var JMb=function(a){if(null!=a)return t(a),{searchTerm:V(a,1)}};var KMb=function(a){r.call(this,a)};U(KMb,r);KMb.prototype.toObject=function(){return LMb(this)};var LMb=function(a){if(null!=a)return t(a),{originalGif:ku(Z(a,ju,1)),originalLmsImage:ku(Z(a,ju,2)),collectionMetadata:JMb(Z(a,IMb,3))}};var MMb=function(a){r.call(this,a)};U(MMb,r);MMb.prototype.getCategory=function(){return W(this,1,0)};MMb.prototype.toObject=function(){return NMb(this)};var NMb=function(a){if(null!=a)return t(a),{category:W(a,1,0),categoryLabel:V(a,2)}};var qu=function(a){r.call(this,a)};U(qu,r);qu.prototype.getTotalItems=function(){return Os(this,1)};qu.prototype.setTotalItems=function(a){return rb(this,1,a,0)};qu.prototype.toObject=function(){return OMb(this)};var OMb=function(a){if(null!=a)return t(a),{totalItems:Os(a,1),startTimestamp:wt(Z(a,yh,2)),endTimestamp:wt(Z(a,yh,3))}};var ru=function(a){r.call(this,a)};U(ru,r);ru.prototype.getLatitude=function(){return ej(this,1)};ru.prototype.getLongitude=function(){return ej(this,2)};ru.prototype.toObject=function(){return PMb(this)};var PMb=function(a){if(null!=a)return t(a),{latitude:p(Es(a,1)),longitude:p(Es(a,2))}};var QMb=function(a){r.call(this,a)};U(QMb,r);QMb.prototype.toObject=function(){return RMb(this)};var RMb=function(a){if(null!=a)return t(a),{albumMetadata:OMb(Z(a,qu,1)),dedupKey:V(a,2),geolocationInfo:PMb(Z(a,ru,3))}};var SMb=function(a){r.call(this,a)};U(SMb,r);SMb.prototype.toObject=function(){return TMb(this)};var TMb=function(a){if(null!=a)return t(a),{assetId:V(a,1)}};var UMb=function(a){r.call(this,a)};U(UMb,r);UMb.prototype.toObject=function(){return VMb(this)};var VMb=function(a){if(null!=a)return t(a),{contentId:V(a,1)}};var su=function(a){r.call(this,a)};U(su,r);su.prototype.getPhotoId=function(){return V(this,1)};su.prototype.toObject=function(){return WMb(this)};var WMb=function(a){if(null!=a)return t(a),{photoId:V(a,1)}};var XMb=function(a){r.call(this,a)};U(XMb,r);XMb.prototype.toObject=function(){return YMb(this)};var YMb=function(a){if(null!=a)return t(a),{remoteRef:V(a,1)}};var ZMb=function(a){r.call(this,a)};U(ZMb,r);ZMb.prototype.toObject=function(){return $Mb(this)};var $Mb=function(a){if(null!=a)return t(a),{serializedUploadFileResponse:V(a,1)}};var tu=function(a){r.call(this,a)};U(tu,r);tu.prototype.getAgentId=function(){return W(this,3,0)};var uu=[2,4,5,6,7];tu.prototype.toObject=function(){return aNb(this)};var aNb=function(a){if(null!=a)return t(a),{dataUrl:V(a,1),agentId:W(a,3,0),gmailPhotosMetadata:YMb(Pj(a,XMb,2,uu)),geoPhotoMetadata:WMb(Pj(a,su,4,uu)),myMapsMetadata:$Mb(Pj(a,ZMb,5,uu)),culturalMetadata:TMb(Pj(a,SMb,7,uu)),genericMetadata:VMb(Pj(a,UMb,6,uu))}};var bNb=function(a){r.call(this,a)};U(bNb,r);bNb.prototype.getCategory=function(){return V(this,1)};bNb.prototype.toObject=function(){return cNb(this)};var cNb=function(a){if(null!=a)return t(a),{category:V(a,1)}};var dNb=function(a){r.call(this,a)};U(dNb,r);f=dNb.prototype;f.getWidth=function(){return Os(this,1)};f.setWidth=function(a){return rb(this,1,a,0)};f.getHeight=function(){return Os(this,2)};f.setHeight=function(a){return rb(this,2,a,0)};f.toObject=function(){return eNb(this)};var eNb=function(a){if(null!=a)return t(a),{width:Os(a,1),height:Os(a,2)}};var fNb=function(a){r.call(this,a)};U(fNb,r);fNb.prototype.toObject=function(){return gNb(this)};var gNb=function(a){if(null!=a)return t(a),{imageSize:eNb(Z(a,dNb,1))}};var hNb=function(a){r.call(this,a)};U(hNb,r);hNb.prototype.toObject=function(){return iNb(this)};var iNb=function(a){if(null!=a)return t(a),{originalImage:ku(Z(a,ju,1)),referrerUrl:V(a,2)}};var vu=function(a){r.call(this,a)};U(vu,r);vu.prototype.getVideoMetadata=function(){return Z(this,lu,1)};vu.prototype.hasVideoMetadata=function(){return Aj(this,lu,1)};vu.prototype.toObject=function(){return jNb(this)};var jNb=function(a){if(null!=a)return t(a),{videoMetadata:zMb(a.getVideoMetadata()),channelName:V(a,2),channelId:V(a,3),viewCount:Ps(a,4)}};var kNb=function(a){r.call(this,a)};U(kNb,r);kNb.prototype.toObject=function(){return lNb(this)};var lNb=function(a){if(null!=a)return t(a),{youtubeVideoMetadata:jNb(Z(a,vu,1))}};var wu=function(a){r.call(this,a)};U(wu,r);f=wu.prototype;f.getId=function(){return Z(this,hu,1)};f.setId=function(a){return Wi(this,hu,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return jj(this,2,a)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return jj(this,3,a)};f.getParentId=function(){return V(this,4)};f.setParentId=function(a){return jj(this,4,a)};f.getType=function(){return W(this,6,0)};f.setType=function(a){return Ni(this,6,a)};
f.getMimeType=function(){return V(this,7)};f.setMimeType=function(a){jj(this,7,a)};f.getUrl=function(){return V(this,8)};f.setUrl=function(a){return jj(this,8,a)};f.getIconUrl=function(){return V(this,11)};f.setIconUrl=function(a){return jj(this,11,a)};var xu=function(a){return Ch(a,ju,10)};wu.prototype.getLastModifiedTimestamp=function(){return Z(this,yh,12)};wu.prototype.getVideoMetadata=function(){return Z(this,lu,34)};wu.prototype.hasVideoMetadata=function(){return Aj(this,lu,34)};
var yu=function(a){return Z(a,mNb,21)},nNb=function(a){r.call(this,a)};U(nNb,r);var mNb=function(a){r.call(this,a)};U(mNb,r);f=mNb.prototype;f.getShared=function(){return Gj(this,1)};f.setShared=function(a){vb(this,1,a)};f.getVideoMetadata=function(){return Z(this,lu,3)};f.hasVideoMetadata=function(){return Aj(this,lu,3)};f.getResourceKey=function(){return V(this,11)};wu.repeatedFields_=[5,10,22];wu.prototype.toObject=function(){return zu(this)};
var zu=function(a){if(null!=a)return t(a),{id:uMb(a.getId()),name:V(a,2),description:V(a,3),parentId:V(a,4),allParentIdList:p(Gh(a,5)),type:W(a,6,0),mimeType:V(a,7),url:V(a,8),templateThumbUrl:V(a,9),iconUrl:V(a,11),embedUrl:V(a,13),previewUrl:V(a,20),thumbnailList:Gb(xu(a),ku),internalThumbnailList:Gb(Ch(a,ju,22),ku),lastModifiedTimestamp:wt(a.getLastModifiedTimestamp()),creationTimestampMs:wt(Z(a,yh,16)),videoMetadata:zMb(a.getVideoMetadata()),audioMetadata:yMb(Z(a,xMb,35)),calendarMetadata:EMb(Z(a,
ou,14)),webMetadata:iNb(Z(a,hNb,15)),photosMetadata:RMb(Z(a,QMb,18)),themesMetadata:cNb(Z(a,bNb,19)),driveMetadata:oNb(yu(a)),youtubeMetadata:lNb(Z(a,kNb,24)),cameraMetadata:GMb(Z(a,FMb,26)),contactsMetadata:HMb(Z(a,pu,27)),partyMetadata:NMb(Z(a,MMb,28)),urlMetadata:gNb(Z(a,fNb,29)),uploadMetadata:aNb(Z(a,tu,30)),cropPhotoMetadata:BMb(Z(a,nu,32)),lmsMetadata:LMb(Z(a,KMb,33)),bucketId:V(a,17),sizeBytes:Ps(a,23),itemDiagnosticsInfo:tMb(Z(a,gu,25)),isAttachment:Gj(a,31)}};nNb.prototype.toObject=function(){return pNb(this)};
var pNb=function(a){if(null!=a)return t(a),{targetId:V(a,1),targetMimeType:V(a,2),targetItem:zu(Z(a,wu,3)),targetLookupStatus:W(a,4,0)}};mNb.prototype.toObject=function(){return oNb(this)};
var oNb=function(a){if(null!=a)return t(a),{shared:Gj(a,1),hasPrimarySyncParent:Gj(a,2),videoMetadata:zMb(a.getVideoMetadata()),recencyTimestamp:wt(Z(a,yh,4)),recencyReason:dj(a,5),sharedDriveId:V(a,6),hasOwnPermissions:Gj(a,7),shortcutDetails:pNb(Z(a,nNb,8)),copyable:Gj(a,9),downloadUrl:V(a,10),resourceKey:V(a,11),isRecentUpload:Gj(a,12),canDownload:Gj(a,13),restrictedDownload:Gj(a,14)}};var Au=function(a){r.call(this,a)};U(Au,r);Au.prototype.getLabel=function(){return V(this,2)};Au.prototype.setLabel=function(a){return jj(this,2,a)};Au.prototype.toObject=function(){return qNb(this)};var qNb=function(a){if(null!=a)return t(a),{viewId:V(a,1),label:V(a,2),optionsJson:V(a,3)}};var Bu=function(a){r.call(this,a)};U(Bu,r);f=Bu.prototype;f.getStatus=function(){return W(this,1,0)};f.setStatus=function(a){return Ni(this,1,a)};f.getItemList=function(){return Ch(this,wu,2)};f.setItemList=function(a){aj(this,2,a)};f.addItem=function(a,b){return go(this,2,wu,a,b)};f.setItem=function(a,b){return Ds(this,2,wu,a,b)};f.getItemCount=function(){return Cs(this,wu,2)};f.getAction=function(){return W(this,3,0)};f.getErrorCode=function(){return W(this,4,0)};
f.getInternalOnlyV1ViewInfo=function(){return Z(this,Au,7)};Bu.repeatedFields_=[2];Bu.prototype.toObject=function(){return rNb(this)};var rNb=function(a){if(null!=a)return t(a),{status:W(a,1,0),itemList:Gb(a.getItemList(),zu),action:W(a,3,0),errorCode:W(a,4,0),internalOnlyV1ViewInfo:qNb(a.getInternalOnlyV1ViewInfo())}};var Cu=function(a){r.call(this,a)};U(Cu,r);Cu.prototype.getEventType=function(){return W(this,1,0)};Cu.prototype.setEventType=function(a){return Ni(this,1,a)};Cu.prototype.toObject=function(){return sNb(this)};var sNb=function(a){if(null!=a)return t(a),{eventType:W(a,1,0)}};var Du=function(a){r.call(this,a)};U(Du,r);f=Du.prototype;f.getItemList=function(){return Ch(this,wu,1)};f.setItemList=function(a){aj(this,1,a)};f.addItem=function(a,b){return go(this,1,wu,a,b)};f.setItem=function(a,b){return Ds(this,1,wu,a,b)};f.getItemCount=function(){return Cs(this,wu,1)};Du.repeatedFields_=[1];Du.prototype.toObject=function(){return tNb(this)};var tNb=function(a){if(null!=a)return t(a),{itemList:Gb(a.getItemList(),zu),currentItem:zu(Z(a,wu,2)),currentItemIndex:Os(a,3)}};var uNb=function(a){r.call(this,a)};U(uNb,r);f=uNb.prototype;f.getQuery=function(){return V(this,1)};f.setQuery=function(a){return jj(this,1,a)};f.clearQuery=function(){Hs(this,1)};f.setShowHidden=function(a){return vb(this,3,a)};f.toObject=function(){return vNb(this)};var vNb=function(a){if(null!=a)return t(a),{query:V(a,1),minAccessRole:W(a,2,0),showHidden:Gj(a,3),fetchProfile:Gj(a,4)}};var Eu=function(a){r.call(this,a)};U(Eu,r);Eu.prototype.getUploadUrl=function(){return V(this,1)};Eu.prototype.getAgentId=function(){return W(this,3,0)};Eu.repeatedFields_=[11];Eu.prototype.toObject=function(){return wNb(this)};
var wNb=function(a){if(null!=a){t(a);var b=V(a,1);var c=nb(a,7,gb);c=Ib(c);var d=nb(a,2,gb);d=Ib(d);var e=nb(a,6,gb);return{uploadUrl:b,uploadUrlParametersMap:c,metadataMap:d,videoMetadataMap:Ib(e),agentId:W(a,3,0),configurationId:W(a,4,0),sendDataUrl:Gj(a,5),fileExtensionsList:p(Gh(a,11))}}};var xNb=function(a){r.call(this,a)};U(xNb,r);xNb.prototype.getUploadSourceOptions=function(){return Z(this,Eu,2)};xNb.prototype.toObject=function(){return yNb(this)};var yNb=function(a){if(null!=a)return t(a),{uploadMode:W(a,1,0),uploadSourceOptions:wNb(a.getUploadSourceOptions())}};var Fu=function(a){r.call(this,a)};U(Fu,r);Fu.prototype.getQuery=function(){return V(this,1)};Fu.prototype.setQuery=function(a){return jj(this,1,a)};Fu.prototype.clearQuery=function(){Hs(this,1)};Fu.prototype.toObject=function(){return zNb(this)};var zNb=function(a){if(null!=a)return t(a),{query:V(a,1)}};var Gu=function(a){r.call(this,a)};U(Gu,r);Gu.prototype.getParent=function(a){return Ss(this,1,a)};Gu.prototype.setParent=function(a){return tb(this,1,a,void 0,Gh)};Gu.repeatedFields_=[1,3];Gu.prototype.toObject=function(){return ANb(this)};var ANb=function(a){if(null!=a)return t(a),{parentList:p(Gh(a,1)),embeddingParent:V(a,2),fileExtensionsList:p(Gh(a,3)),convertToDocsItem:Gj(a,4)}};var BNb=function(a){r.call(this,a)};U(BNb,r);BNb.repeatedFields_=[3];BNb.prototype.toObject=function(){return CNb(this)};var CNb=function(a){if(null!=a)return t(a),{allowOnlyDownloadableItems:Gj(a,1),allowOnlyCopyableItems:Gj(a,2),disabledItemIdsList:p(Gh(a,3))}};var DNb=function(a){r.call(this,a)};U(DNb,r);f=DNb.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Ni(this,1,a)};f.getDirection=function(){return W(this,2,0)};f.setDirection=function(a){return Ni(this,2,a)};f.toObject=function(){return ENb(this)};var ENb=function(a){if(null!=a)return t(a),{type:W(a,1,0),direction:W(a,2,0),foldersFirst:Gj(a,3)}};var FNb=function(a){r.call(this,a)};U(FNb,r);f=FNb.prototype;f.getParentId=function(){return V(this,1)};f.setParentId=function(a){return jj(this,1,a)};f.getQuery=function(){return V(this,2)};f.setQuery=function(a){return jj(this,2,a)};f.clearQuery=function(){Hs(this,2)};f.getStarred=function(){return Gj(this,7)};f.setStarred=function(a){vb(this,7,a)};f.getLastModified=function(){return Z(this,yh,9)};f.toObject=function(){return GNb(this)};
var GNb=function(a){if(null!=a)return t(a),{parentId:V(a,1),query:V(a,2),sortBy:ENb(Z(a,DNb,3)),ownedBy:W(a,4,0),sharedWithMe:Gj(a,5),starred:Gj(a,7),viewMode:W(a,8,0),lastModified:wt(a.getLastModified()),disableInstantUpdates:Gj(a,10),inSharedDrive:Gj(a,11),inComputers:Gj(a,12),permissions:W(a,13,0),itemSuggest:Gj(a,14),driveUploadOptions:ANb(Z(a,Gu,15)),encryptedOnlyMode:Gj(a,16),includeEncryptedItems:Gj(a,17),excludeSharedDriveItems:Gj(a,20),itemSuggestScenarioType:W(a,18,0),restrictions:CNb(Z(a,
BNb,19))}};var HNb=function(a){r.call(this,a)};U(HNb,r);f=HNb.prototype;f.getValueCase=function(){return Ai(this,INb)};f.getFieldName=function(){return W(this,1,0)};f.setFieldName=function(a){Ni(this,1,a)};f.getStringValue=function(){return Vs(this,3,INb)};f.setStringValue=function(a){return Xn(this,3,INb,a)};var INb=[3,4];HNb.prototype.toObject=function(){return JNb(this)};
var JNb=function(a){if(null!=a)return t(a),{fieldName:W(a,1,0),filterOperator:W(a,2,0),stringValue:p(mo(a,3,INb)),doubleValue:p(lo(a,4,INb))}};var KNb=function(a){r.call(this,a)};U(KNb,r);KNb.prototype.getFilterNodeList=function(){return Ch(this,Hu,1)};var LNb=function(a){r.call(this,a)};U(LNb,r);LNb.prototype.getFilterNodeList=function(){return Ch(this,Hu,1)};var Hu=function(a){r.call(this,a)};U(Hu,r);Hu.prototype.getFilter=function(){return Pj(this,HNb,3,MNb)};Hu.prototype.setFilter=function(a){return eo(this,3,MNb,a)};KNb.repeatedFields_=[1];KNb.prototype.toObject=function(){return NNb(this)};
var NNb=function(a){if(null!=a)return t(a),{filterNodeList:Gb(a.getFilterNodeList(),ONb)}};LNb.repeatedFields_=[1];LNb.prototype.toObject=function(){return PNb(this)};var PNb=function(a){if(null!=a)return t(a),{filterNodeList:Gb(a.getFilterNodeList(),ONb)}},MNb=[1,2,3];Hu.prototype.toObject=function(){return ONb(this)};var ONb=function(a){if(null!=a)return t(a),{andNode:PNb(Pj(a,LNb,1,MNb)),orNode:NNb(Pj(a,KNb,2,MNb)),filter:JNb(a.getFilter())}};var Iu=function(a){r.call(this,a)};U(Iu,r);Iu.prototype.getQuery=function(){return V(this,1)};Iu.prototype.setQuery=function(a){return jj(this,1,a)};Iu.prototype.clearQuery=function(){Hs(this,1)};Iu.prototype.toObject=function(){return QNb(this)};var QNb=function(a){if(null!=a)return t(a),{query:V(a,1),viewMode:W(a,2,0),filterType:W(a,3,0),rootFilterNode:ONb(Z(a,Hu,4))}};var RNb=function(a){r.call(this,a)};U(RNb,r);RNb.prototype.getCategory=function(){return W(this,2,0)};RNb.prototype.toObject=function(){return SNb(this)};var SNb=function(a){if(null!=a)return t(a),{category:W(a,2,0),deprecatedCategory:V(a,1)}};var TNb=function(a){r.call(this,a)};U(TNb,r);TNb.repeatedFields_=[8];TNb.prototype.toObject=function(){return UNb(this)};var UNb=function(a){if(null!=a)return t(a),{parentAlbumKey:V(a,1),bucketBy:W(a,2,0),viewMode:W(a,3,0),queryText:V(a,4),includePhotos:Gj(a,5),includeVideos:Gj(a,6),enableVideoPreviews:Gj(a,9),viewType:W(a,7,0),associationOriginList:p(Qk(a,8))}};var VNb=function(a){r.call(this,a)};U(VNb,r);VNb.prototype.toObject=function(){return WNb(this)};var WNb=function(a){if(null!=a)return t(a),{themeSourceId:W(a,1,0)}};var XNb=function(a){r.call(this,a)};U(XNb,r);XNb.prototype.setMode=function(a){return Ni(this,1,a)};XNb.prototype.toObject=function(){return YNb(this)};var YNb=function(a){if(null!=a)return t(a),{mode:W(a,1,0)}};var Ju=function(a){r.call(this,a)};U(Ju,r);Ju.prototype.getQuery=function(){return V(this,1)};Ju.prototype.setQuery=function(a){return jj(this,1,a)};Ju.prototype.clearQuery=function(){Hs(this,1)};Ju.prototype.toObject=function(){return ZNb(this)};var ZNb=function(a){if(null!=a)return t(a),{query:V(a,1),usageRights:W(a,2,0),disableSafeSearchMode:Gj(a,3),viewMode:W(a,4,0)}};var Ku=function(a){r.call(this,a)};U(Ku,r);Ku.prototype.getQuery=function(){return V(this,2)};Ku.prototype.setQuery=function(a){return jj(this,2,a)};Ku.prototype.clearQuery=function(){Hs(this,2)};Ku.prototype.toObject=function(){return $Nb(this)};var $Nb=function(a){if(null!=a)return t(a),{viewMode:W(a,1,0),query:V(a,2)}};var Lu=function(a){r.call(this,a)};U(Lu,r);f=Lu.prototype;f.getSourceId=function(){return W(this,1,0)};f.setSourceId=function(a){return Ni(this,1,a)};f.getName=function(){return V(this,8)};f.setName=function(a){return jj(this,8,a)};f.getUploadSourceOptions=function(){return Z(this,Eu,10)};f.getInternalOnlyV1ViewInfo=function(){return Z(this,Au,18)};Lu.repeatedFields_=[14];Lu.prototype.toObject=function(){return aOb(this)};
var aOb=function(a){if(null!=a)return t(a),{sourceId:W(a,1,0),name:V(a,8),driveSourceOptions:GNb(Z(a,FNb,3)),calendarSourceOptions:vNb(Z(a,uNb,4)),webSourceOptions:ZNb(Z(a,Ju,5)),photosSourceOptions:UNb(Z(a,TNb,6)),themesSourceOptions:WNb(Z(a,VNb,7)),youtubeSourceOptions:$Nb(Z(a,Ku,9)),uploadSourceOptions:wNb(a.getUploadSourceOptions()),contactsSourceOptions:zNb(Z(a,Fu,12)),partySourceOptions:SNb(Z(a,RNb,13)),urlSourceOptions:YNb(Z(a,XNb,15)),cameraSourceOptions:yNb(Z(a,xNb,16)),lmsSourceOptions:QNb(Z(a,
Iu,17)),childSourceList:Gb(Ch(a,Lu,14),aOb),internalOnlyV1ViewInfo:qNb(a.getInternalOnlyV1ViewInfo())}};var Mu=function(a){r.call(this,a)};U(Mu,r);f=Mu.prototype;f.getCommand=function(){return W(this,1,0)};f.setCommand=function(a){return Ni(this,1,a)};f.getSource=function(){return Z(this,Lu,2)};f.setSource=function(a){return Wi(this,Lu,2,a)};f.hasSource=function(){return Aj(this,Lu,2)};f.setVisible=function(a){return vb(this,5,a)};f.getItemList=function(){return Ch(this,wu,7)};f.setItemList=function(a){aj(this,7,a)};f.addItem=function(a,b){return go(this,7,wu,a,b)};
f.setItem=function(a,b){return Ds(this,7,wu,a,b)};f.getItemCount=function(){return Cs(this,wu,7)};Mu.repeatedFields_=[3,7];Mu.prototype.toObject=function(){if(null!=this){t(this);var a={command:W(this,1,0),source:aOb(this.getSource()),itemIdList:Gb(Ch(this,hu,3),uMb),correlationId:V(this,4),visible:Gj(this,5),cssVisibilityChanged:Gj(this,6),itemList:Gb(this.getItemList(),zu)}}else a=void 0;return a};var bOb=function(a){r.call(this,a)};U(bOb,r);f=bOb.prototype;f.getCommand=function(){return W(this,1,0)};f.setCommand=function(a){return Ni(this,1,a)};f.getItemList=function(){return Ch(this,wu,4)};f.setItemList=function(a){aj(this,4,a)};f.addItem=function(a,b){return go(this,4,wu,a,b)};f.setItem=function(a,b){return Ds(this,4,wu,a,b)};f.getItemCount=function(){return Cs(this,wu,4)};var cOb=Nb(bOb);bOb.repeatedFields_=[4];
bOb.prototype.toObject=function(){if(null!=this){t(this);var a={command:W(this,1,0),pickerResult:rNb(Z(this,Bu,2)),correlationId:V(this,3),itemList:Gb(this.getItemList(),zu),previewData:tNb(Z(this,Du,5)),latencyData:sNb(Z(this,Cu,6))}}else a=void 0;return a};var dOb=function(a){r.call(this,a)};U(dOb,r);dOb.prototype.getResourceKey=function(){return Z(this,gMb,2)};dOb.prototype.toObject=function(){return eOb(this)};var eOb=function(a){if(null!=a)return t(a),{documentId:V(a,1),resourceKey:hMb(a.getResourceKey())}};var fOb=function(a){r.call(this,a)};U(fOb,r);fOb.prototype.getGroupId=function(){return V(this,1)};fOb.prototype.setGroupId=function(a){jj(this,1,a)};fOb.prototype.toObject=function(){return gOb(this)};var gOb=function(a){if(null!=a)return t(a),{groupId:V(a,1)}};var Nu=function(a){r.call(this,a)};U(Nu,r);f=Nu.prototype;f.getCode=function(){return Ms(this,1)};f.getCode_legacyNullable=function(){return Ms(this,1)};f.setCode=function(a){return n(this,1,a)};f.getMessage=function(){return m(this,3)};f.setMessage=function(a){n(this,3,a)};f.toObject=function(){return hOb(this)};var hOb=function(a){if(null!=a)return t(a),{code:p(Ms(a,1)),space:p(m(a,2)),message:p(m(a,3)),canonicalCode:p(Ms(a,6)),messageSet:qt(Z(a,ot,5))}};pt[10071]=Eb(10071,{messageSetExtension:0},Nu,hOb);var Ou=function(a){r.call(this,a)};U(Ou,r);Ou.prototype.getQuery=function(){return V(this,4)};Ou.prototype.setQuery=function(a){return n(this,4,a)};Ou.prototype.clearQuery=function(){Hs(this,4)};Ou.prototype.hasQuery=function(){return tk(this,4)};Ou.repeatedFields_=[5];Ou.prototype.toObject=function(){return iOb(this)};
var iOb=function(a){if(null!=a)return t(a),{rpcStatus:hOb(Z(a,Nu,7)),executedCode:p(m(a,9)),query:p(m(a,4)),msgOut:p(m(a,2)),msgErr:p(m(a,3)),exitStatus:p(ir(a,6)),imagesList:p(Gh(a,5)),selfRefineIterations:p(Ms(a,8)),elapsedServerTimeMs:p(m(a,10))}};var jOb=function(a){r.call(this,a)};U(jOb,r);jOb.repeatedFields_=[2,3];jOb.prototype.toObject=function(){return kOb(this)};var kOb=function(a){if(null!=a)return t(a),{includesHeaderRow:p($q(a,1)),columnNamesList:p(Gh(a,2)),sampleRowsList:p(Gh(a,3))}};var lOb=function(a){r.call(this,a)};U(lOb,r);lOb.prototype.getFileName=function(){return V(this,1)};var mOb=[2];lOb.prototype.toObject=function(){return nOb(this)};var nOb=function(a){if(null!=a)return t(a),{fileName:p(m(a,1)),csvFile:kOb(Pj(a,jOb,2,mOb))}};var oOb=function(a){r.call(this,a)};U(oOb,r);oOb.repeatedFields_=[1];oOb.prototype.toObject=function(){return pOb(this)};var pOb=function(a){if(null!=a)return t(a),{availableInputFileMetadataList:Gb(Ch(a,lOb,1),nOb),previousCodeExecutionMetadata:iOb(Z(a,Ou,2))}};var qOb=function(a){r.call(this,a)};U(qOb,r);qOb.prototype.getState=function(){return W(this,1,0)};qOb.prototype.toObject=function(){return rOb(this)};var rOb=function(a){if(null!=a)return t(a),{state:p(ir(a,1))}};var sOb=function(a){r.call(this,a)};U(sOb,r);sOb.prototype.toObject=function(){return tOb(this)};var tOb=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseSafeUrlWrappedValue:p(m(a,3))}};var Pu=function(a){r.call(this,a)};U(Pu,r);Pu.prototype.toObject=function(){return uOb(this)};var uOb=function(a){if(null!=a)return t(a),{rawUrl:V(a,1),safeUrl:tOb(Z(a,sOb,2))}};var vOb=function(a){r.call(this,a)};U(vOb,r);f=vOb.prototype;f.getUrl=function(){return Z(this,Pu,1)};f.setUrl=function(a){return Wi(this,Pu,1,a)};f.hasUrl=function(){return Aj(this,Pu,1)};f.getWidth=function(){return Eh(this,3)};f.setWidth=function(a){return n(this,3,a)};f.getHeight=function(){return Eh(this,4)};f.setHeight=function(a){return n(this,4,a)};f.getTitle=function(){return V(this,5)};f.setTitle=function(a){return n(this,5,a)};f.toObject=function(){return wOb(this)};
var wOb=function(a){if(null!=a)return t(a),{url:uOb(a.getUrl()),width:p(Ms(a,3)),height:p(Ms(a,4)),title:p(m(a,5)),embeddedUrl:p(m(a,6)),docid:p(m(a,7))}};var xOb=function(a){r.call(this,a)};U(xOb,r);f=xOb.prototype;f.getUrl=function(){return Z(this,Pu,1)};f.setUrl=function(a){return Wi(this,Pu,1,a)};f.hasUrl=function(){return Aj(this,Pu,1)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return n(this,2,a)};f.toObject=function(){return yOb(this)};var yOb=function(a){if(null!=a)return t(a),{url:uOb(a.getUrl()),title:p(m(a,2)),imageSourceType:p(ir(a,3)),faviconUrl:p(m(a,4))}};var zOb=function(a){r.call(this,a)};U(zOb,r);f=zOb.prototype;f.setImage=function(){Wi(this,vOb,1,void 0)};f.getAnchor=function(){return V(this,3)};f.getErrorCode=function(){return W(this,7,0)};f.hasErrorCode=function(){return cj(this,7)};f.toObject=function(){return AOb(this)};var AOb=function(a){if(null!=a)return t(a),{image:wOb(Z(a,vOb,1)),attribution:yOb(Z(a,xOb,2)),anchor:p(m(a,3)),imageTagIndex:p(Ms(a,5)),thumbnail:wOb(Z(a,vOb,4)),errorCode:p(ir(a,7))}};var Qu=function(a){r.call(this,a)};U(Qu,r);Qu.prototype.getTemporaryData=function(){return Z(this,ot,3)};Qu.prototype.toObject=function(){return BOb(this)};var BOb=function(a){if(null!=a)return t(a),{cellId:p(m(a,1)),fprint:p(m(a,2)),temporaryData:qt(a.getTemporaryData())}};pt[13258261]=Eb(13258261,{messageSetExtension:0},Qu,BOb);var COb=function(a){r.call(this,a)};U(COb,r);COb.prototype.toObject=function(){return DOb(this)};var DOb=function(a){if(null!=a)return t(a),{provider:W(a,1,4369),dataset:p(m(a,2))}};var EOb=function(a){r.call(this,a)};U(EOb,r);EOb.prototype.toObject=function(){return FOb(this)};var FOb=function(a){if(null!=a)return t(a),{sourceSummary:DOb(Z(a,COb,1)),isAuto:Gj(a,2,!1)}};var Ru=function(a){r.call(this,a)};U(Ru,r);Ru.prototype.getInternal=function(){return Z(this,EOb,15)};Ru.prototype.toObject=function(){return GOb(this)};var GOb=function(a){if(null!=a)return t(a),{internal:FOb(a.getInternal())}};var Su=function(a){r.call(this,a,500)};U(Su,r);Su.prototype.getMetadata=function(){return Z(this,Ru,500)};Su.prototype.setMetadata=function(a){Wi(this,Ru,500,a)};Su.prototype.getTemporaryData=function(){return Z(this,ot,15)};Su.prototype.toObject=function(){return HOb(this)};var HOb=function(a){if(null!=a)return t(a),{latE7:p(Ns(a,1)),lngE7:p(Ns(a,2)),metadata:GOb(a.getMetadata()),temporaryData:qt(a.getTemporaryData())}};pt[14827556]=Eb(14827556,{messageSetExtension:0},Su,HOb);var Tu=function(a){r.call(this,a)};U(Tu,r);Tu.prototype.getStatus=function(){return W(this,1,-1)};Tu.prototype.setStatus=function(a){return n(this,1,a)};Tu.prototype.hasStatus=function(){return cj(this,1)};Tu.prototype.toObject=function(){return IOb(this)};var IOb=function(a){if(null!=a)return t(a),{status:p(ir(a,1)),distanceMeters:p(Ms(a,2)),durationSeconds:p(Ms(a,3)),durationInTrafficSeconds:p(Ms(a,4)),latencyMs:p(Ms(a,5))}};var JOb=function(a){r.call(this,a)};U(JOb,r);JOb.prototype.toObject=function(){return KOb(this)};var KOb=function(a){if(null!=a)return t(a),{canonicalResponseSummary:IOb(Z(a,Tu,1)),comparisonResponseSummary:IOb(Z(a,Tu,2))}};var Uu=function(a){r.call(this,a)};U(Uu,r);Uu.prototype.getType=function(a){return Ss(this,3,a)};Uu.prototype.setType=function(a,b){return tb(this,3,a,b,Gh)};Uu.prototype.getTypeCount=function(){return Gh(this,3,void 0,2).length};Uu.repeatedFields_=[3];Uu.prototype.toObject=function(){return LOb(this)};var LOb=function(a){if(null!=a)return t(a),{geocoderStatus:p(ir(a,1)),typeList:p(Gh(a,3)),partialMatch:p($q(a,4)),placeId:p(m(a,5))}};var Vu=function(a){r.call(this,a)};U(Vu,r);f=Vu.prototype;f.getValue=function(){return Os(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return null!=Ns(this,1)};f.getText=function(){return V(this,2)};f.setText=function(a){return n(this,2,a)};f.toObject=function(){return Wu(this)};var Wu=function(a){if(null!=a)return t(a),{value:p(Ns(a,1)),text:p(m(a,2))}};var MOb=function(a){r.call(this,a)};U(MOb,r);MOb.repeatedFields_=[1,2];MOb.prototype.toObject=function(){return NOb(this)};var NOb=function(a){if(null!=a)return t(a),{durationList:Gb(Ch(a,Vu,1),Wu),percentileList:p(Fs(a,2))}};var Xu=function(a){r.call(this,a)};U(Xu,r);Xu.prototype.toObject=function(){return Yu(this)};var Yu=function(a){if(null!=a)return t(a),{lat:p(Es(a,1)),lng:p(Es(a,2))}};var OOb=function(a){r.call(this,a)};U(OOb,r);OOb.prototype.getLocation=function(){return Z(this,Xu,1)};OOb.prototype.toObject=function(){return POb(this)};var POb=function(a){if(null!=a)return t(a),{location:Yu(a.getLocation()),stepIndex:p(Ns(a,2)),stepInterpolation:p(Es(a,3))}};var Zu=function(a){r.call(this,a)};U(Zu,r);Zu.prototype.getNumber=function(){return ej(this,1)};Zu.prototype.getFeatureId=function(){return Z(this,Qu,2)};Zu.prototype.toObject=function(){return QOb(this)};var QOb=function(a){if(null!=a)return t(a),{number:p(Es(a,1)),featureId:BOb(a.getFeatureId())}};var ROb=function(a){r.call(this,a)};U(ROb,r);ROb.prototype.toObject=function(){return SOb(this)};var SOb=function(a){if(null!=a)return t(a),{points:p(m(a,1))}};var $u=function(a){r.call(this,a)};U($u,r);f=$u.prototype;f.getValue=function(){return Ps(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return null!=m(this,1)};f.getText=function(){return V(this,2)};f.setText=function(a){return n(this,2,a)};f.getTimeZone=function(){return V(this,3)};f.setTimeZone=function(a){return n(this,3,a)};f.hasTimeZone=function(){return tk(this,3)};f.toObject=function(){return TOb(this)};
var TOb=function(a){if(null!=a)return t(a),{value:p(m(a,1)),text:p(m(a,2)),timeZone:p(m(a,3))}};var UOb=function(a){r.call(this,a)};U(UOb,r);f=UOb.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getUrl=function(){return V(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return tk(this,2)};f.getPhone=function(){return V(this,3)};f.setPhone=function(a){return n(this,3,a)};f.hasPhone=function(){return tk(this,3)};f.toObject=function(){return VOb(this)};
var VOb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),url:p(m(a,2)),phone:p(m(a,3))}};var WOb=function(a){r.call(this,a)};U(WOb,r);f=WOb.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getType=function(){return W(this,2,1)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return cj(this,2)};f.getIcon=function(){return V(this,3)};f.toObject=function(){return XOb(this)};
var XOb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),type:p(ir(a,2)),icon:p(m(a,3)),localIcon:p(m(a,4))}};var YOb=function(a){r.call(this,a)};U(YOb,r);f=YOb.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getShortName=function(){return V(this,2)};f.getUrl=function(){return V(this,3)};f.setUrl=function(a){return n(this,3,a)};f.hasUrl=function(){return tk(this,3)};f.getIcon=function(){return V(this,6)};f.setColor=function(a){return n(this,7,a)};
f.clearColor=function(){return Hs(this,7)};YOb.repeatedFields_=[5];YOb.prototype.toObject=function(){return ZOb(this)};var ZOb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),shortName:p(m(a,2)),url:p(m(a,3)),vehicle:XOb(Z(a,WOb,4)),agencyList:Gb(Ch(a,UOb,5),VOb),icon:p(m(a,6)),color:p(m(a,7)),textColor:p(m(a,8))}};var $Ob=function(a){r.call(this,a)};U($Ob,r);f=$Ob.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getLocation=function(){return Z(this,Xu,2)};f.toObject=function(){return aPb(this)};var aPb=function(a){if(null!=a)return t(a),{name:p(m(a,1)),location:Yu(a.getLocation())}};var av=function(a){r.call(this,a)};U(av,r);av.prototype.clearLine=function(){return Hs(this,3)};av.prototype.getDepartureTime=function(){return Z(this,$u,6)};av.prototype.getArrivalTime=function(){return Z(this,$u,7)};av.prototype.toObject=function(){return bPb(this)};
var bPb=function(a){if(null!=a)return t(a),{departureStop:aPb(Z(a,$Ob,1)),arrivalStop:aPb(Z(a,$Ob,2)),line:ZOb(Z(a,YOb,3)),numStops:p(Ns(a,4)),headsign:p(m(a,5)),departureTime:TOb(a.getDepartureTime()),arrivalTime:TOb(a.getArrivalTime()),headway:p(Ns(a,8)),tripShortName:p(m(a,9))}};var bv=function(a){r.call(this,a)};U(bv,r);f=bv.prototype;f.getStartLocation=function(){return Z(this,Xu,2)};f.getEndLocation=function(){return Z(this,Xu,3)};f.getDuration=function(){return Z(this,Vu,5)};f.getDistance=function(){return Z(this,Vu,7)};f.getBuildingLevel=function(){return Z(this,Zu,11)};f.getStepList=function(){return Ch(this,bv,9)};bv.repeatedFields_=[9];bv.prototype.toObject=function(){return cPb(this)};
var cPb=function(a){if(null!=a)return t(a),{travelMode:p(ir(a,1)),startLocation:Yu(a.getStartLocation()),endLocation:Yu(a.getEndLocation()),polyline:SOb(Z(a,ROb,4)),duration:Wu(a.getDuration()),htmlInstructions:p(m(a,6)),distance:Wu(a.getDistance()),transitDetails:bPb(Z(a,av,8)),maneuver:p(m(a,10)),buildingLevel:QOb(a.getBuildingLevel()),stepList:Gb(a.getStepList(),cPb)}};var dPb=function(a){r.call(this,a)};U(dPb,r);dPb.prototype.toObject=function(){return ePb(this)};var ePb=function(a){if(null!=a)return t(a),{speedCategory:p(ir(a,1)),offsetMeters:p(Ns(a,2))}};var fPb=function(a){r.call(this,a)};U(fPb,r);f=fPb.prototype;f.getStepList=function(){return Ch(this,bv,1)};f.getDuration=function(){return Z(this,Vu,2)};f.getDistance=function(){return Z(this,Vu,3)};f.getStartLocation=function(){return Z(this,Xu,6)};f.getEndLocation=function(){return Z(this,Xu,7)};f.getDepartureTime=function(){return Z(this,$u,10)};f.getArrivalTime=function(){return Z(this,$u,11)};fPb.repeatedFields_=[1,14,100];fPb.prototype.toObject=function(){return gPb(this)};
var gPb=function(a){if(null!=a)return t(a),{stepList:Gb(a.getStepList(),cPb),duration:Wu(a.getDuration()),distance:Wu(a.getDistance()),startLocation:Yu(a.getStartLocation()),endLocation:Yu(a.getEndLocation()),startAddress:p(m(a,8)),endAddress:p(m(a,9)),departureTime:TOb(a.getDepartureTime()),arrivalTime:TOb(a.getArrivalTime()),durationInTraffic:Wu(Z(a,Vu,12)),durationInTrafficPercentiles:NOb(Z(a,MOb,13)),trafficSpeedEntryList:Gb(Ch(a,dPb,14),ePb),viaWaypointList:Gb(Ch(a,OOb,100),POb)}};var hPb=function(a){r.call(this,a,500)};U(hPb,r);f=hPb.prototype;f.getPoint=function(){return Z(this,Su,9)};f.setPoint=function(a){Wi(this,Su,9,a)};f.getFeatureId=function(){return Z(this,Qu,10)};f.getPriority=function(){return W(this,8,1)};f.setPriority=function(a){return n(this,8,a)};f.hasPriority=function(){return cj(this,8)};f.getLevelFeatureId=function(){return Z(this,Qu,13)};f.getMetadata=function(){return Z(this,Ru,500)};f.setMetadata=function(a){Wi(this,Ru,500,a)};hPb.repeatedFields_=[12];
hPb.prototype.toObject=function(){return iPb(this)};var iPb=function(a){if(null!=a)return t(a),{point:HOb(a.getPoint()),featureId:BOb(a.getFeatureId()),featureType:p(Ms(a,11)),segmentPosition:p(Es(a,2)),pointOnSegment:HOb(Z(a,Su,3)),pointOffSegment:HOb(Z(a,Su,4)),canEnter:p($q(a,5)),canExit:p($q(a,6)),priority:W(a,8,1),unsuitableTravelModeList:p(Qk(a,12)),levelFeatureId:BOb(a.getLevelFeatureId()),metadata:GOb(a.getMetadata())}};var cv=function(a){r.call(this,a)};U(cv,r);cv.prototype.getLatlng=function(){return Z(this,Xu,1)};cv.prototype.getAddress=function(){return V(this,2)};cv.prototype.getBuildingLevel=function(){return Z(this,Zu,4)};cv.repeatedFields_=[100];cv.prototype.toObject=function(){return jPb(this)};
var jPb=function(a){if(null!=a)return t(a),{latlng:Yu(a.getLatlng()),address:p(m(a,2)),placeId:p(m(a,5)),snapZoomLevel:p(Ms(a,3)),buildingLevel:QOb(a.getBuildingLevel()),heading:p(Ms(a,6)),sideOfRoad:p($q(a,7)),accessPointList:Gb(Ch(a,hPb,100),iPb)}};var kPb=function(a){r.call(this,a)};U(kPb,r);f=kPb.prototype;f.getValue=function(){return ej(this,1)};f.setValue=function(a){return Ls(this,1,a)};f.hasValue=function(){return null!=Es(this,1)};f.getText=function(){return V(this,3)};f.setText=function(a){return n(this,3,a)};f.toObject=function(){return lPb(this)};var lPb=function(a){if(null!=a)return t(a),{value:p(Es(a,1)),currency:p(m(a,2)),text:p(m(a,3))}};var mPb=function(a){r.call(this,a)};U(mPb,r);mPb.prototype.toObject=function(){return nPb(this)};var nPb=function(a){if(null!=a)return t(a),{southwest:Yu(Z(a,Xu,1)),northeast:Yu(Z(a,Xu,2))}};var dv=function(a){r.call(this,a)};U(dv,r);dv.prototype.getWarning=function(){return Ss(this,5)};dv.prototype.getResolvedWaypointList=function(){return Ch(this,cv,100)};dv.repeatedFields_=[2,5,6,100];dv.prototype.toObject=function(){return oPb(this)};
var oPb=function(a){if(null!=a){t(a);var b=p(m(a,1)),c=Gb(Ch(a,fPb,2),gPb),d=p(m(a,3)),e=SOb(Z(a,ROb,4)),g=nPb(Z(a,mPb,7)),h=p(Gh(a,5));var l=lb(a,6,sba);return{summary:b,legList:c,copyrights:d,overviewPolyline:e,bounds:g,warningList:h,waypointIndexList:p(l),fare:lPb(Z(a,kPb,8)),resolvedWaypointList:Gb(a.getResolvedWaypointList(),jPb)}}};var pPb=function(a){r.call(this,a)};U(pPb,r);f=pPb.prototype;f.getStatus=function(){return W(this,1,-1)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return cj(this,1)};f.getErrorMessage=function(){return V(this,4)};f.setErrorMessage=function(a){n(this,4,a)};f.getResolvedWaypointList=function(){return Ch(this,cv,100)};pPb.repeatedFields_=[2,5,6,100];pPb.prototype.toObject=function(){return qPb(this)};
var qPb=function(a){if(null!=a)return t(a),{status:p(ir(a,1)),errorMessage:p(m(a,4)),errorDetail:p(m(a,3)),routeList:Gb(Ch(a,dv,2),oPb),availableTravelModeList:p(Qk(a,5)),geocodedWaypointList:Gb(Ch(a,Uu,6),LOb),resolvedWaypointList:Gb(a.getResolvedWaypointList(),jPb),includeFareInfo:Gj(a,101,!1),experiment:KOb(Z(a,JOb,103)),crpSucceeded:p($q(a,104))}};var rPb=function(a){r.call(this,a)};U(rPb,r);rPb.prototype.toObject=function(){return sPb(this)};var sPb=function(a){if(null!=a)return t(a),{directionsResponse:qPb(Z(a,pPb,1))}};var ev=function(a){r.call(this,a)};U(ev,r);ev.prototype.getLatitude=function(){return ej(this,1)};ev.prototype.getLongitude=function(){return ej(this,2)};ev.prototype.toObject=function(){return tPb(this)};var tPb=function(a){if(null!=a)return t(a),{latitude:ej(a,1),longitude:ej(a,2)}};var uPb=function(a){r.call(this,a)};U(uPb,r);f=uPb.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.getLocation=function(){return Z(this,ev,3)};f.toObject=function(){return vPb(this)};var vPb=function(a){if(null!=a)return t(a),{id:p(m(a,1)),displayName:p(m(a,2)),location:tPb(a.getLocation())}};var wPb=function(a){r.call(this,a)};U(wPb,r);wPb.repeatedFields_=[1];wPb.prototype.toObject=function(){return xPb(this)};var xPb=function(a){if(null!=a)return t(a),{placesList:Gb(Ch(a,uPb,1),vPb)}};var yPb=function(a){r.call(this,a)};U(yPb,r);yPb.prototype.getContentCase=function(){return Ai(this,zPb)};var zPb=[1,2];yPb.prototype.toObject=function(){return APb(this)};var APb=function(a){if(null!=a)return t(a),{placeMarkerContent:xPb(Pj(a,wPb,1,zPb)),directionsContent:sPb(Pj(a,rPb,2,zPb))}};var BPb=function(a){r.call(this,a)};U(BPb,r);f=BPb.prototype;f.getContentCase=function(){return Ai(this,fv)};f.getAnchor=function(){return V(this,1)};f.getUrl=function(){return Vs(this,4,fv)};f.setUrl=function(a){return Xn(this,4,fv,a)};f.hasUrl=function(){return null!=mo(this,4,fv)};var fv=[3,4,5,6,7,8,9];BPb.prototype.toObject=function(){return CPb(this)};
var CPb=function(a){if(null!=a)return t(a),{anchor:p(m(a,1)),llmDescription:p(m(a,2)),imageContent:AOb(Pj(a,zOb,3,fv)),url:p(mo(a,4,fv)),iframeContent:p(mo(a,5,fv)),json:p(mo(a,6,fv)),csv:p(mo(a,7,fv)),pngBase64:p(mo(a,8,fv)),mapContent:APb(Pj(a,yPb,9,fv))}};var DPb=function(a){r.call(this,a)};U(DPb,r);DPb.prototype.addItems=function(a,b){return go(this,1,BPb,a,b)};DPb.repeatedFields_=[1];DPb.prototype.toObject=function(){return EPb(this)};var EPb=function(a){if(null!=a)return t(a),{itemsList:Gb(Ch(a,BPb,1),CPb)}};var FPb=function(a){r.call(this,a)};U(FPb,r);f=FPb.prototype;f.getMessageId=function(){return V(this,1)};f.getSubject=function(){return V(this,2)};f.getDate=function(){return V(this,4)};f.setDate=function(a){return n(this,4,a)};f.hasBody=function(){return tk(this,5)};f.toObject=function(){return GPb(this)};var GPb=function(a){if(null!=a)return t(a),{messageId:p(m(a,1)),messageUrl:p(m(a,6)),subject:p(m(a,2)),sender:p(m(a,3)),date:p(m(a,4)),body:p(m(a,5))}};var gv=function(a){r.call(this,a)};U(gv,r);gv.prototype.getSubject=function(){return V(this,1)};gv.prototype.getMessagesList=function(){return Ch(this,FPb,2)};gv.prototype.setMessagesList=function(a){return aj(this,2,a)};gv.repeatedFields_=[2];gv.prototype.toObject=function(){return HPb(this)};var HPb=function(a){if(null!=a)return t(a),{subject:p(m(a,1)),messagesList:Gb(a.getMessagesList(),GPb),threadId:p(m(a,3)),threadUrl:p(m(a,4))}};var IPb=function(a){r.call(this,a)};U(IPb,r);IPb.prototype.getFileName=function(){return V(this,2)};IPb.prototype.toObject=function(){return JPb(this)};var JPb=function(a){if(null!=a)return t(a),{fileId:p(m(a,1)),fileName:p(m(a,2)),fileContents:p(m(a,3)),fileUrl:p(m(a,4))}};var KPb=function(a){r.call(this,a)};U(KPb,r);f=KPb.prototype;f.getTaskId=function(){return V(this,1)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};f.getTitle=function(){return V(this,3)};f.setTitle=function(a){return n(this,3,a)};f.toObject=function(){return LPb(this)};var LPb=function(a){if(null!=a)return t(a),{taskId:p(m(a,1)),description:p(m(a,2)),title:p(m(a,3)),updated:p(m(a,4))}};var MPb=function(a){r.call(this,a)};U(MPb,r);MPb.prototype.getTasksList=function(){return Ch(this,KPb,3)};MPb.repeatedFields_=[1,2,3];MPb.prototype.toObject=function(){return NPb(this)};var NPb=function(a){if(null!=a)return t(a),{filesList:Gb(Ch(a,IPb,1),JPb),emailsList:Gb(Ch(a,gv,2),HPb),tasksList:Gb(a.getTasksList(),LPb)}};var Nca="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var OPb=function(a){return function(){return a}},hv=function(){},PPb=function(a){return a},jMa=function(){var a=iMa;return function(){return!a.apply(this,arguments)}},QPb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},RPb=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)}},SPb=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 TPb={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 UPb,VPb=function(){if(void 0===UPb){var a=null,b=ba.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:RHb,createScript:RHb,createScriptURL:RHb})}catch(c){ba.console&&ba.console.error(c.message)}UPb=a}else UPb=a}return UPb};var Vb=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===WPb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=XPb};Vb.prototype.implementsGoogStringTypedString=!0;Vb.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var Wb=function(a){return a instanceof Vb&&a.constructor===Vb&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===XPb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},Dn=function(a){return new Vb(WPb,a)},XPb={},WPb={};var iv=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};iv.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};iv.prototype.implementsGoogStringTypedString=!0;iv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var rh=function(a){if(a instanceof iv&&a.constructor===iv)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;Kb(a);return"type_error:TrustedResourceUrl"},Cn=function(a){return Ag(Wb(a))},YPb={},Ag=function(a){var b=VPb();a=b?b.createScriptURL(a):a;return new iv(a,YPb)};var Tb=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};Tb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};Tb.prototype.implementsGoogStringTypedString=!0;Tb.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var Ub=function(a){if(a instanceof Tb&&a.constructor===Tb)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;Kb(a);return"type_error:SafeUrl"},ZPb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,$Pb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Xca=function(a){if(a instanceof Tb)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);$Pb.test(a)?a=Dg(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(ZPb)?Dg(a):null);return a},aQb;
try{new URL("s://g"),aQb=!0}catch(a){aQb=!1}
var bQb=aQb,x_a=function(a){if(a instanceof Tb)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(bQb){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 Dg(a)},cQb={},Dg=function(a){return new Tb(a,cQb)},Yca=Dg("about:invalid#zClosurez");var dQb={},jv=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a;this.implementsGoogStringTypedString=!0};jv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};jv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var eQb=function(a){if(a instanceof jv&&a.constructor===jv)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;Kb(a);return"type_error:SafeStyle"},fQb=new jv("",dQb),Sca=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),Rca=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Qca=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"),Tca=/\/\*/;var kv=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a;this.implementsGoogStringTypedString=!0};kv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};kv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var gQb=function(a){if(a instanceof kv&&a.constructor===kv)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;Kb(a);return"type_error:SafeStyleSheet"};var hQb={},Ao=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;this.implementsGoogStringTypedString=!0};Ao.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};Ao.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var dk=function(a){if(a instanceof Ao&&a.constructor===Ao)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;Kb(a);return"type_error:SafeHtml"},cn=function(a){return a instanceof Ao?a:yg($Hb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},lv=function(a){if(a instanceof Ao)return a;a=cn(a);a=dk(a).toString().replace(/(\r\n|\r|\n)/g,"<br>");return yg(a)},en=function(a,b,c){var d=String(a);if(!iQb.test(d))throw Error("ba");if(d.toUpperCase()in jQb)throw Error("ba");
a=String(a);d="<"+a;var e="";if(b)for(var g in b)if(Object.prototype.hasOwnProperty.call(b,g)){if(!iQb.test(g))throw Error("ba");var h=b[g];if(null!=h){var l=g;var q=h;if(q instanceof Vb)q=Wb(q);else if("style"==l.toLowerCase()){h=void 0;if(!va(q))throw Error("ba");if(!(q instanceof jv)){var x="";for(h in q)if(Object.prototype.hasOwnProperty.call(q,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("aa`"+h);var A=q[h];null!=A&&(A=Array.isArray(A)?A.map(Wca).join(" "):Wca(A),x+=h+":"+A+";")}q=x?new jv(x,
dQb):fQb}q=eQb(q)}else{if(/^on/i.test(l))throw Error("ba");if(l.toLowerCase()in kQb)if(q instanceof iv)q=rh(q).toString();else if(q instanceof Tb)q=Ub(q);else if("string"===typeof q)q=(Xca(q)||Yca).getTypedStringValue();else throw Error("ba");}q.implementsGoogStringTypedString&&(q=q.getTypedStringValue());l=l+'="'+$Hb(String(q))+'"';e+=" "+l}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===TPb[a.toLowerCase()]?b+=">":(g=fn(c),b+=">"+dk(g).toString()+"</"+a+">");return yg(b)},lQb=function(a){var b=
cn(Wr),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=cn(e),c.push(dk(e).toString()))};a.forEach(d);return yg(c.join(dk(b).toString()))},fn=function(a){return lQb(Array.prototype.slice.call(arguments))},yg=function(a){var b=VPb();a=b?b.createHTML(a):a;return new Ao(a,hQb)},iQb=/^[a-zA-Z0-9-]+$/,kQb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},jQb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Wr=
new Ao(ba.trustedTypes&&ba.trustedTypes.emptyHTML||"",hQb);var mQb=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=dk(Wr);return!b.parentElement}),hMa=function(a,b){if(mQb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=dk(b)},nQb=function(a,b){b=b instanceof Tb?b:x_a(b);a.action=Ub(b)},pQb=function(a,b){var c=oQb(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=rh(b)},y_a=function(a,
b,c,d){a=a instanceof Tb?a:x_a(a);b=b||ba;c=c instanceof Vb?Wb(c):c||"";return void 0!==d?b.open(Ub(a),c,d):b.open(Ub(a),c)},qQb=/^[\w+/_-]+[=]{0,2}$/,oQb=function(a){a=(a||ba).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&qQb.test(a)?a:"":""};var rQb=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")},sQb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},ep=function(a){return a=$Hb(a)},tQb=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},ieb=function(a,b,c){return a.replace(new RegExp(dn(b),"g"),c.replace(/\$/g,
"$$$$"))},dn=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},uQb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},mv=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+uQb("0",Math.max(0,b-c))+a},xk=function(a){return null==a?"":String(a)},vQb=function(){return Math.floor(2147483648*
Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},Uh=function(a){var b=Number(a);return 0==b&&yk(a)?NaN:b},Xh=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Ph=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},wQb=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(wa){q&&q.mark&&q.mark(wa)}function c(wa,Ka){q&&q.measure&&q.measure(wa,Ka)}function d(wa){return x+wa}function e(wa){Aa||a[X]&&(Aa=a[X].resolve(0));if(Aa){var Ka=Aa[ka];Ka||(Ka=Aa.then);Ka.call(Aa,wa)}else a[Y](wa,0)}function g(wa){0===Ya&&0===ma.length&&e(h);wa&&ma.push(wa)}function h(){if(!ya){for(ya=!0;ma.length;){var wa=ma;ma=[];for(var Ka=0;Ka<wa.length;Ka++){var Na=wa[Ka];try{Na.zone.runTask(Na,null,null)}catch(eb){Ta.onUnhandledError(eb)}}}Ta.microtaskDrainDone();ya=
!1}}function l(){}var q=a.performance;b("Zone");var x=a.__Zone_symbol_prefix||"__zone_symbol__",A=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(A||"function"!==typeof a.Zone.__symbol__)throw Error("ca");return a.Zone}var B=function(wa,Ka){this._parent=wa;this._name=Ka?Ka.name||"unnamed":"<root>";this._properties=Ka&&Ka.properties||{};this._zoneDelegate=new O(this,this._parent&&this._parent._zoneDelegate,Ka)};B.assertZonePatched=function(){if(a.Promise!==Ra.ZoneAwarePromise)throw Error("da");
};B.__load_patch=function(wa,Ka,Na){Na=void 0===Na?!1:Na;if(Ra.hasOwnProperty(wa)){if(!Na&&A)throw Error("ea`"+wa);}else a["__Zone_disable_"+wa]||(Na="Zone:"+wa,b(Na),Ra[wa]=Ka(a,B,Ta),c(Na,Na))};B.prototype.get=function(wa){var Ka=this.getZoneWith(wa);if(Ka)return Ka._properties[wa]};B.prototype.getZoneWith=function(wa){for(var Ka=this;Ka;){if(Ka._properties.hasOwnProperty(wa))return Ka;Ka=Ka._parent}return null};B.prototype.fork=function(wa){if(!wa)throw Error("fa");return this._zoneDelegate.fork(this,
wa)};B.prototype.wrap=function(wa,Ka){if("function"!==typeof wa)throw Error("ga`"+wa);var Na=this._zoneDelegate.intercept(this,wa,Ka),eb=this;return function(){return eb.runGuarded(Na,this,arguments,Ka)}};B.prototype.run=function(wa,Ka,Na,eb){Lb={parent:Lb,zone:this};try{return this._zoneDelegate.invoke(this,wa,Ka,Na,eb)}finally{Lb=Lb.parent}};B.prototype.runGuarded=function(wa,Ka,Na,eb){Lb={parent:Lb,zone:this};try{try{return this._zoneDelegate.invoke(this,wa,void 0===Ka?null:Ka,Na,eb)}catch(ab){if(this._zoneDelegate.handleError(this,
ab))throw ab;}}finally{Lb=Lb.parent}};B.prototype.runTask=function(wa,Ka,Na){if(wa.zone!=this)throw Error("ha`"+(wa.zone||Ma).name+"`"+this.name);if("notScheduled"!==wa.state||"eventTask"!==wa.type&&"macroTask"!==wa.type){var eb="running"!=wa.state;eb&&wa._transitionTo("running","scheduled");wa.runCount++;var ab=qb;qb=wa;Lb={parent:Lb,zone:this};try{"macroTask"==wa.type&&wa.data&&!wa.data.isPeriodic&&(wa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,wa,Ka,Na)}catch(Sc){if(this._zoneDelegate.handleError(this,
Sc))throw Sc;}}finally{"notScheduled"!==wa.state&&"unknown"!==wa.state&&("eventTask"==wa.type||wa.data&&wa.data.isPeriodic?eb&&wa._transitionTo("scheduled","running"):(wa.runCount=0,this._updateTaskCount(wa,-1),eb&&wa._transitionTo("notScheduled","running","notScheduled"))),Lb=Lb.parent,qb=ab}}};B.prototype.scheduleTask=function(wa){if(wa.zone&&wa.zone!==this)for(var Ka=this;Ka;){if(Ka===wa.zone)throw Error("ia`"+this.name+"`"+wa.zone.name);Ka=Ka.parent}wa._transitionTo("scheduling","notScheduled");
Ka=[];wa._zoneDelegates=Ka;wa._zone=this;try{wa=this._zoneDelegate.scheduleTask(this,wa)}catch(Na){throw wa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Na),Na;}wa._zoneDelegates===Ka&&this._updateTaskCount(wa,1);"scheduling"==wa.state&&wa._transitionTo("scheduled","scheduling");return wa};B.prototype.scheduleMicroTask=function(wa,Ka,Na,eb){return this.scheduleTask(new P("microTask",wa,Ka,Na,eb,void 0))};B.prototype.scheduleMacroTask=function(wa,Ka,Na,eb,
ab){return this.scheduleTask(new P("macroTask",wa,Ka,Na,eb,ab))};B.prototype.scheduleEventTask=function(wa,Ka,Na,eb,ab){return this.scheduleTask(new P("eventTask",wa,Ka,Na,eb,ab))};B.prototype.cancelTask=function(wa){if(wa.zone!=this)throw Error("ja`"+(wa.zone||Ma).name+"`"+this.name);if("scheduled"===wa.state||"running"===wa.state){wa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,wa)}catch(Ka){throw wa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
Ka),Ka;}this._updateTaskCount(wa,-1);wa._transitionTo("notScheduled","canceling");wa.runCount=0;return wa}};B.prototype._updateTaskCount=function(wa,Ka){var Na=wa._zoneDelegates;-1==Ka&&(wa._zoneDelegates=null);for(var eb=0;eb<Na.length;eb++)Na[eb]._updateTaskCount(wa.type,Ka)};ch.Object.defineProperties(B.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});ch.Object.defineProperties(B,{root:{configurable:!0,
enumerable:!0,get:function(){for(var wa=B.current;wa.parent;)wa=wa.parent;return wa}},current:{configurable:!0,enumerable:!0,get:function(){return Lb.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return qb}}});B.__symbol__=d;var K={name:"",onHasTask:function(wa,Ka,Na,eb){return wa.hasTask(Na,eb)},onScheduleTask:function(wa,Ka,Na,eb){return wa.scheduleTask(Na,eb)},onInvokeTask:function(wa,Ka,Na,eb,ab,Sc){return wa.invokeTask(Na,eb,ab,Sc)},onCancelTask:function(wa,Ka,Na,eb){return wa.cancelTask(Na,
eb)}},O=function(wa,Ka,Na){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=wa;this._parentDelegate=Ka;this._forkZS=Na&&(Na&&Na.onFork?Na:Ka._forkZS);this._forkDlgt=Na&&(Na.onFork?Ka:Ka._forkDlgt);this._forkCurrZone=Na&&(Na.onFork?this.zone:Ka._forkCurrZone);this._interceptZS=Na&&(Na.onIntercept?Na:Ka._interceptZS);this._interceptDlgt=Na&&(Na.onIntercept?Ka:Ka._interceptDlgt);this._interceptCurrZone=Na&&(Na.onIntercept?this.zone:Ka._interceptCurrZone);this._invokeZS=Na&&(Na.onInvoke?
Na:Ka._invokeZS);this._invokeDlgt=Na&&(Na.onInvoke?Ka:Ka._invokeDlgt);this._invokeCurrZone=Na&&(Na.onInvoke?this.zone:Ka._invokeCurrZone);this._handleErrorZS=Na&&(Na.onHandleError?Na:Ka._handleErrorZS);this._handleErrorDlgt=Na&&(Na.onHandleError?Ka:Ka._handleErrorDlgt);this._handleErrorCurrZone=Na&&(Na.onHandleError?this.zone:Ka._handleErrorCurrZone);this._scheduleTaskZS=Na&&(Na.onScheduleTask?Na:Ka._scheduleTaskZS);this._scheduleTaskDlgt=Na&&(Na.onScheduleTask?Ka:Ka._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Na&&(Na.onScheduleTask?this.zone:Ka._scheduleTaskCurrZone);this._invokeTaskZS=Na&&(Na.onInvokeTask?Na:Ka._invokeTaskZS);this._invokeTaskDlgt=Na&&(Na.onInvokeTask?Ka:Ka._invokeTaskDlgt);this._invokeTaskCurrZone=Na&&(Na.onInvokeTask?this.zone:Ka._invokeTaskCurrZone);this._cancelTaskZS=Na&&(Na.onCancelTask?Na:Ka._cancelTaskZS);this._cancelTaskDlgt=Na&&(Na.onCancelTask?Ka:Ka._cancelTaskDlgt);this._cancelTaskCurrZone=Na&&(Na.onCancelTask?this.zone:Ka._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var eb=Na&&Na.onHasTask,ab=Ka&&Ka._hasTaskZS;if(eb||ab)this._hasTaskZS=eb?Na:K,this._hasTaskDlgt=Ka,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=wa,Na.onScheduleTask||(this._scheduleTaskZS=K,this._scheduleTaskDlgt=Ka,this._scheduleTaskCurrZone=this.zone),Na.onInvokeTask||(this._invokeTaskZS=K,this._invokeTaskDlgt=Ka,this._invokeTaskCurrZone=this.zone),Na.onCancelTask||(this._cancelTaskZS=K,this._cancelTaskDlgt=Ka,this._cancelTaskCurrZone=this.zone)};O.prototype.fork=
function(wa,Ka){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,wa,Ka):new B(wa,Ka)};O.prototype.intercept=function(wa,Ka,Na){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,wa,Ka,Na):Ka};O.prototype.invoke=function(wa,Ka,Na,eb,ab){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,wa,Ka,Na,eb,ab):Ka.apply(Na,eb)};O.prototype.handleError=function(wa,Ka){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,wa,Ka):!0};O.prototype.scheduleTask=function(wa,Ka){var Na=Ka;if(this._scheduleTaskZS)this._hasTaskZS&&Na._zoneDelegates.push(this._hasTaskDlgtOwner),(Na=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,wa,Ka))||(Na=Ka);else if(Ka.scheduleFn)Ka.scheduleFn(Ka);else if("microTask"==Ka.type)g(Ka);else throw Error("ka");return Na};O.prototype.invokeTask=function(wa,Ka,Na,eb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,wa,Ka,Na,eb):Ka.callback.apply(Na,eb)};O.prototype.cancelTask=function(wa,Ka){if(this._cancelTaskZS)wa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,wa,Ka);else{if(!Ka.cancelFn)throw Error("la");wa=Ka.cancelFn(Ka)}return wa};O.prototype.hasTask=function(wa,Ka){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,wa,Ka)}catch(Na){this.handleError(wa,Na)}};O.prototype._updateTaskCount=function(wa,Ka){var Na=this._taskCounts,
eb=Na[wa];Ka=Na[wa]=eb+Ka;if(0>Ka)throw Error("ma");0!=eb&&0!=Ka||this.hasTask(this.zone,{microTask:0<Na.microTask,macroTask:0<Na.macroTask,eventTask:0<Na.eventTask,change:wa})};var P=function(wa,Ka,Na,eb,ab,Sc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=wa;this.source=Ka;this.data=eb;this.scheduleFn=ab;this.cancelFn=Sc;if(!Na)throw Error("na");this.callback=Na;var fb=this;this.invoke="eventTask"===wa&&eb&&eb.useG?P.invokeTask:function(){return P.invokeTask.call(a,
fb,this,arguments)}};P.invokeTask=function(wa,Ka,Na){wa||(wa=this);Ya++;try{return wa.runCount++,wa.zone.runTask(wa,Ka,Na)}finally{1==Ya&&h(),Ya--}};P.prototype._transitionTo=function(wa,Ka,Na){if(this._state===Ka||this._state===Na)this._state=wa,"notScheduled"==wa&&(this._zoneDelegates=null);else throw Error("oa`"+this.type+"`"+this.source+"`"+wa+"`"+Ka+"`"+(Na?" or '"+Na+"'":"")+"`"+this._state);};P.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};P.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};ch.Object.defineProperties(P.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"),X=d("Promise"),ka=d("then"),ma=[],ya=!1,Aa,Ma={name:"NO ZONE"},Ra={},Ta={symbol:d,currentZoneFrame:function(){return Lb},onUnhandledError:l,
microtaskDrainDone:l,scheduleMicroTask:g,showUncaughtError:function(){return!B[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},Lb={parent:null,zone:new B(null,null)},qb=null,Ya=0;c("Zone","Zone");return a.Zone=B})("undefined"!==typeof window&&window||"undefined"!==typeof self&&self||global);Zone.__load_patch("Error",function(a,b,c){function d(ma){for(var ya={zoneName:ma.zone.name},Aa=ya;ma.parent;){ma=ma.parent;var Ma={zoneName:ma.zone.name};ya=ya.parent=Ma}return Aa}function e(ma,ya,Aa){Aa=void 0===Aa?!0:Aa;ma=ma.split("\n");for(var Ma=0;ma[Ma]!==x&&ma[Ma]!==A&&ma[Ma]!==B&&ma[Ma]!==K&&ma[Ma]!==O&&Ma<ma.length;)Ma++;for(;Ma<ma.length&&ya;Ma++){var Ra=ma[Ma];if(Ra.trim())switch(q[Ra]){case 0:ma.splice(Ma,1);Ma--;break;case 1:ya.parent?ya=ya.parent:ya=null;ma.splice(Ma,1);Ma--;break;default:ma[Ma]+=
Aa?" ["+ya.zone.name+"]":" ["+ya.zoneName+"]"}}return ma.join("\n")}function g(){var ma=this,ya=l.apply(this,arguments),Aa=ya.originalStack=ya.stack;if(g.stackRewrite&&Aa){var Ma=c.currentZoneFrame();if("lazy"===P)ya[c.symbol("zoneFrameNames")]=d(Ma);else if("default"===P)try{ya.stack=ya.zoneAwareStack=e(Aa,Ma)}catch(Ra){}}return this instanceof l&&this.constructor!=l?(Object.keys(ya).concat("stack","message").forEach(function(Ra){var Ta=ya[Ra];if(void 0!==Ta)try{ma[Ra]=Ta}catch(Lb){}}),this):ya}
var h=c.symbol("zoneJsInternalStackFrames"),l=a[c.symbol("Error")]=a.Error,q={},x,A,B,K,O;a.Error=g;var P=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"===P&&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(ma){this.originalStack=
ma;this[Y]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var X=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(l))&&a.forEach(function(ma){0===X.filter(function(ya){return ya===ma}).length&&Object.defineProperty(g,ma,{get:function(){return l[ma]},set:function(ya){l[ma]=ya}})});l.hasOwnProperty("stackTraceLimit")&&(l.stackTraceLimit=Math.max(l.stackTraceLimit,15),Object.defineProperty(g,"stackTraceLimit",{get:function(){return l.stackTraceLimit},set:function(ma){return l.stackTraceLimit=
ma}}));l.hasOwnProperty("captureStackTrace")&&Object.defineProperty(g,"captureStackTrace",{value:function(ma,ya){l.captureStackTrace(ma,ya)}});Object.defineProperty(g,"prepareStackTrace",{get:function(){return l.prepareStackTrace},set:function(ma){return ma&&"function"===typeof ma?l.prepareStackTrace=function(ya,Aa){if(Aa)for(var Ma=0;Ma<Aa.length;Ma++)if("zoneCaptureStackTrace"===Aa[Ma].getFunctionName()){Aa.splice(Ma,1);break}return ma.call(this,ya,Aa)}:l.prepareStackTrace=ma}});if("disable"!==
P){var ka=b.current.fork({name:"detect",onHandleError:function(ma,ya,Aa,Ma){if(Ma.originalStack&&Error===g)for(ma=Ma.originalStack.split(/\n/),Ma=Aa=ya=!1;ma.length;){var Ra=ma.shift();if(/:\d+:\d+/.test(Ra)||"ZoneAwareError"===Ra){var Ta=Ra.split("(")[0].split("@")[0],Lb=1;-1!==Ta.indexOf("ZoneAwareError")&&(-1!==Ta.indexOf("new ZoneAwareError")?(x=Ra,A=Ra.replace("new ZoneAwareError","new Error.ZoneAwareError")):(B=Ra,K=Ra.replace("Error.",""),-1===Ra.indexOf("Error.ZoneAwareError")&&(O=Ra.replace("ZoneAwareError",
"Error.ZoneAwareError"))),q[A]=0);-1!==Ta.indexOf("runGuarded")?Aa=!0:-1!==Ta.indexOf("runTask")?Ma=!0:-1!==Ta.indexOf("run")?ya=!0:Lb=0;q[Ra]=Lb;if(ya&&Aa&&Ma){g.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ma,ya,Aa,Ma){return ma.scheduleTask(Aa,Ma)},onInvokeTask:function(ma,ya,Aa,Ma,Ra,Ta){return ma.invokeTask(Aa,Ma,Ra,Ta)},onCancelTask:function(ma,ya,Aa,Ma){return ma.cancelTask(Aa,Ma)},onInvoke:function(ma,ya,Aa,Ma,Ra,Ta,Lb){return ma.invoke(Aa,Ma,Ra,Ta,Lb)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;ka.run(function(){ka.runGuarded(function(){var ma=function(){};ka.scheduleEventTask(h,function(){ka.scheduleMacroTask(h,function(){ka.scheduleMicroTask(h,function(){throw Error();},void 0,function(ya){ya._transitionTo=ma;ya.invoke()});ka.scheduleMicroTask(h,function(){throw Error();},void 0,function(ya){ya._transitionTo=ma;ya.invoke()})},void 0,function(ya){ya._transitionTo=ma;ya.invoke()},function(){})},void 0,function(ya){ya._transitionTo=ma;ya.invoke()},
function(){})})});Error.stackTraceLimit=b}});var Xb=Object.getOwnPropertyDescriptor,eda=Object.defineProperty,hda=Object.getPrototypeOf,xQb=Object.create,yQb=Array.prototype.slice,zQb=Zone.__symbol__("addEventListener"),AQb=Zone.__symbol__("removeEventListener"),ec=Zone.__symbol__(""),Zb=Zone.__symbol__,BQb="undefined"!==typeof window,dc=BQb?window:void 0,$b=BQb&&dc||"object"===typeof self&&self||global,CQb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,oda=!("nw"in $b)&&"undefined"!==typeof $b.process&&"[object process]"===
{}.toString.call($b.process),DQb=!oda&&!CQb&&!(!BQb||!dc.HTMLElement),EQb="undefined"!==typeof $b.process&&"[object process]"==={}.toString.call($b.process)&&!CQb&&!(!BQb||!dc.HTMLElement),cda={},dda=function(a){if(a=a||$b.event){var b=cda[a.type];b||(b=cda[a.type]=Zb("ON_PROPERTY"+a.type));var c=this||a.target||$b;b=c[b];DQb&&c===dc&&"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}},ac=Zb("originalInstance"),jda=!1,kda=!1;var hc=!1;if("undefined"!==typeof window)try{var FQb=Object.defineProperty({},"passive",{get:function(){hc=!0}});window.addEventListener("test",FQb,FQb);window.removeEventListener("test",FQb,FQb)}catch(a){hc=!1}var qda={useG:!0},fc={},pda={},sda=new RegExp("^"+ec+"(\\w+)(true|false)$"),nda=Zb("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(fb){if(fb&&fb.toString===Object.prototype.toString){var zb=fb.constructor&&fb.constructor.name;return(zb?zb:"")+": "+JSON.stringify(fb)}return fb?fb.toString():Object.prototype.toString.call(fb)}function e(fb){c.onUnhandledError(fb);try{var zb=b[Aa];"function"===typeof zb&&zb.call(this,fb)}catch($a){}}function g(fb){return fb}function h(fb){return ab.reject(fb)}function l(fb,zb){return function($a){try{q(fb,zb,$a)}catch(Fb){q(fb,!1,Fb)}}}
function q(fb,zb,$a){var Fb=Ya();if(fb===$a)throw new TypeError("qa");if(null===fb[Ma]){var ib=null;try{if("object"===typeof $a||"function"===typeof $a)ib=$a&&$a.then}catch(Mb){return Fb(function(){q(fb,!1,Mb)})(),fb}if(!1!==zb&&$a instanceof ab&&$a.hasOwnProperty(Ma)&&$a.hasOwnProperty(Ra)&&null!==$a[Ma])x($a),q(fb,$a[Ma],$a[Ra]);else if(!1!==zb&&"function"===typeof ib)try{ib.call($a,Fb(l(fb,zb)),Fb(l(fb,!1)))}catch(Mb){Fb(function(){q(fb,!1,Mb)})()}else{fb[Ma]=zb;Fb=fb[Ra];fb[Ra]=$a;fb[Ta]===Ta&&
!0===zb&&(fb[Ma]=fb[qb],fb[Ra]=fb[Lb]);!1===zb&&$a instanceof Error&&(ib=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&P($a,wa,{configurable:!0,enumerable:!1,writable:!0,value:ib});for(ib=0;ib<Fb.length;)A(fb,Fb[ib++],Fb[ib++],Fb[ib++],Fb[ib++]);if(0==Fb.length&&0==zb){fb[Ma]=0;zb=$a;try{throw Error("ra`"+d($a)+"`"+($a&&$a.stack?"\n"+$a.stack:""));}catch(Mb){zb=Mb}ka&&(zb.throwOriginal=!0);zb.rejection=$a;zb.promise=fb;zb.zone=b.current;zb.task=b.currentTask;X.push(zb);
c.scheduleMicroTask()}}}return fb}function x(fb){if(0===fb[Ma]){try{var zb=b[Ka];zb&&"function"===typeof zb&&zb.call(this,{rejection:fb[Ra],promise:fb})}catch($a){}fb[Ma]=!1;for(zb=0;zb<X.length;zb++)fb===X[zb].promise&&X.splice(zb,1)}}function A(fb,zb,$a,Fb,ib){x(fb);var Mb=fb[Ma],jc=Mb?"function"===typeof Fb?Fb:g:"function"===typeof ib?ib:h;zb.scheduleMicroTask("Promise.then",function(){try{var Ec=fb[Ra],Vc=!!$a&&Ta===$a[Ta];Vc&&($a[Lb]=Ec,$a[qb]=Mb);var df=zb.run(jc,void 0,Vc&&jc!==h&&jc!==g?[]:
[Ec]);q($a,!0,df)}catch(Fd){q($a,!1,Fd)}},$a)}function B(fb){var zb=fb.prototype,$a=O(zb,"then");if(!$a||!1!==$a.writable&&$a.configurable){var Fb=zb.then;zb[ya]=Fb;fb.prototype.then=function(ib,Mb){var jc=this;return(new ab(function(Ec,Vc){Fb.call(jc,Ec,Vc)})).then(ib,Mb)};fb[Sc]=!0}}function K(fb){return function(zb,$a){zb=fb.apply(zb,$a);if(zb instanceof ab)return zb;$a=zb.constructor;$a[Sc]||B($a);return zb}}var O=Object.getOwnPropertyDescriptor,P=Object.defineProperty,Y=c.symbol,X=[],ka=!0===
a[Y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],ma=Y("Promise"),ya=Y("then");c.onUnhandledError=function(fb){if(c.showUncaughtError()){var zb=fb&&fb.rejection;zb?console.error("Unhandled Promise rejection:",zb instanceof Error?zb.message:zb,"; Zone:",fb.zone.name,"; Task:",fb.task&&fb.task.source,"; Value:",zb,zb instanceof Error?zb.stack:void 0):console.error(fb)}};c.microtaskDrainDone=function(){for(var fb={};X.length;){fb.$jscomp$loop$prop$uncaughtPromiseError$2234=X.shift();try{fb.$jscomp$loop$prop$uncaughtPromiseError$2234.zone.runGuarded(function(zb){return function(){if(zb.$jscomp$loop$prop$uncaughtPromiseError$2234.throwOriginal)throw zb.$jscomp$loop$prop$uncaughtPromiseError$2234.rejection;
throw zb.$jscomp$loop$prop$uncaughtPromiseError$2234;}}(fb))}catch(zb){e(zb)}fb={$jscomp$loop$prop$uncaughtPromiseError$2234:fb.$jscomp$loop$prop$uncaughtPromiseError$2234}}};var Aa=Y("unhandledPromiseRejectionHandler"),Ma=Y("state"),Ra=Y("value"),Ta=Y("finally"),Lb=Y("parentPromiseValue"),qb=Y("parentPromiseState"),Ya=function(){var fb=!1;return function(zb){return function(){fb||(fb=!0,zb.apply(null,arguments))}}},wa=Y("currentTaskTrace"),Ka=Y("rejectionHandledHandler"),Na=function(){},eb=a.AggregateError,
ab=function(fb){if(!(this instanceof ab))throw Error("sa");this[Ma]=null;this[Ra]=[];try{var zb=Ya();fb&&fb(zb(l(this,!0)),zb(l(this,!1)))}catch($a){q(this,!1,$a)}};ab.toString=function(){return"function ZoneAwarePromise() { [native code] }"};ab.resolve=function(fb){return q(new this(null),!0,fb)};ab.reject=function(fb){return q(new this(null),!1,fb)};ab.any=function(fb){if(!fb||"function"!==typeof fb[Symbol.iterator])return Promise.reject(new eb([],"All promises were rejected"));var zb=[],$a=0;try{for(var Fb=
k(fb),ib=Fb.next();!ib.done;ib=Fb.next()){var Mb=ib.value;$a++;zb.push(ab.resolve(Mb))}}catch(Vc){return Promise.reject(new eb([],"All promises were rejected"))}if(0===$a)return Promise.reject(new eb([],"All promises were rejected"));var jc=!1,Ec=[];return new ab(function(Vc,df){for(var Fd=0;Fd<zb.length;Fd++)zb[Fd].then(function(le){jc||(jc=!0,Vc(le))},function(le){Ec.push(le);$a--;0===$a&&(jc=!0,df(new eb(Ec,"All promises were rejected")))})})};ab.race=function(fb){function zb(Ec){Fb(Ec)}function $a(Ec){ib(Ec)}
var Fb,ib,Mb=new this(function(Ec,Vc){Fb=Ec;ib=Vc});fb=k(fb);for(var jc=fb.next();!jc.done;jc=fb.next())(jc=jc.value)&&jc.then||(jc=this.resolve(jc)),jc.then(zb,$a);return Mb};ab.all=function(fb){return ab.allWithCallback(fb)};ab.allSettled=function(fb){return(this&&this.prototype instanceof ab?this:ab).allWithCallback(fb,{thenCallback:function(zb){return{status:"fulfilled",value:zb}},errorCallback:function(zb){return{status:"rejected",reason:zb}}})};ab.allWithCallback=function(fb,zb){var $a,Fb,ib=
new this(function(Fd,le){$a=Fd;Fb=le}),Mb=2,jc=0,Ec=[],Vc={};fb=k(fb);for(var df=fb.next();!df.done;Vc={$jscomp$loop$prop$curValueIndex$2237:Vc.$jscomp$loop$prop$curValueIndex$2237},df=fb.next()){(df=df.value)&&df.then||(df=this.resolve(df));Vc.$jscomp$loop$prop$curValueIndex$2237=jc;try{df.then(function(Fd){return function(le){Ec[Fd.$jscomp$loop$prop$curValueIndex$2237]=zb?zb.thenCallback(le):le;Mb--;0===Mb&&$a(Ec)}}(Vc),function(Fd){return function(le){zb?(Ec[Fd.$jscomp$loop$prop$curValueIndex$2237]=
zb.errorCallback(le),Mb--,0===Mb&&$a(Ec)):Fb(le)}}(Vc))}catch(Fd){Fb(Fd)}Mb++;jc++}Mb-=2;0===Mb&&$a(Ec);return ib};ch.Object.defineProperty(ab.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});ch.Object.defineProperty(ab.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return ab}});ab.prototype.then=function(fb,zb){var $a,Fb=null==($a=this.constructor)?void 0:$a[Symbol.species];Fb&&"function"===typeof Fb||(Fb=this.constructor||ab);
$a=new Fb(Na);Fb=b.current;null==this[Ma]?this[Ra].push(Fb,$a,fb,zb):A(this,Fb,$a,fb,zb);return $a};ab.prototype.catch=function(fb){return this.then(null,fb)};ab.prototype.finally=function(fb){var zb,$a=null==(zb=this.constructor)?void 0:zb[Symbol.species];$a&&"function"===typeof $a||($a=ab);zb=new $a(Na);zb[Ta]=Ta;$a=b.current;null==this[Ma]?this[Ra].push($a,zb,fb,fb):A(this,$a,zb,fb,fb);return zb};ab.resolve=ab.resolve;ab.reject=ab.reject;ab.race=ab.race;ab.all=ab.all;ma=a[ma]=a.Promise;a.Promise=
ab;var Sc=Y("thenPatched");c.patchThen=B;ma&&(B(ma),cc(a,"fetch",function(fb){return K(fb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=X;return ab});var vda=Zb("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=Zb("OriginalDelegate"),d=Zb("Promise"),e=Zb("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=yda(a);c.patchOnProperties=gda;c.patchMethod=cc;c.bindArguments=$ca;c.patchMacroTask=ida;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=uda;c.patchEventTarget=tda;c.isIEOrEdge=lda;c.ObjectDefineProperty=eda;c.ObjectGetOwnPropertyDescriptor=Xb;c.ObjectCreate=xQb;c.ArraySlice=yQb;c.patchClass=bc;c.wrapWithCurrentZone=Zca;c.filterProperties=xda;c.attachOriginToPatched=
Yb;c._redefineProperty=Object.defineProperty;c.patchCallbacks=wda;c.getGlobalObjects=function(){return{globalSources:pda,zoneSymbolEventNames:fc,eventNames:d,isBrowser:DQb,isMix:EQb,isNode:oda,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:ec,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var zda,Ada,Bda,Cda,kc;var Kda=[].concat(Pc("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(" ")),
Pc(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),Pc(["autocomplete","autocompleteerror"]),Pc(["toggle"]),Pc("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),Pc("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(" ")),
Pc("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),Pc("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=Gda;Fda()});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){Hda(c,e);d=e.getGlobalObjects();var g=d.isMix;d.isNode&&!g||Jda(e,c)||(d="undefined"!==typeof WebSocket,Lda(e),e.patchClass("XMLHttpRequest"),d&&Ida(e,c),Zone[e.symbol("patchEvents")]=!0)})}})("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{});Zone.__load_patch("legacy",function(a){(a=a[Zone.__symbol__("legacyPatch")])&&a()});Zone.__load_patch("queueMicrotask",function(a,b,c){c.patchMethod(a,"queueMicrotask",function(){return function(d,e){b.current.scheduleMicroTask("queueMicrotask",e[0])}})});Zone.__load_patch("timers",function(a){ic(a,"set","clear","Timeout");ic(a,"set","clear","Interval");ic(a,"set","clear","Immediate")});
Zone.__load_patch("requestAnimationFrame",function(a){ic(a,"request","cancel","AnimationFrame");ic(a,"mozRequest","mozCancel","AnimationFrame");ic(a,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)cc(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],x=d+(q+h),A=d+(q+g);e[q]={};e[q][h]=x;e[q][g]=A}(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(){bc("MutationObserver");bc("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){bc("IntersectionObserver")});Zone.__load_patch("FileReader",function(){bc("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!oda||EQb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(DQb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=dc.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=yda(d);var h=b?b.concat(e):b;e=hda(d);d&&(g=xda(d,g,h),gda(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=yda(e.prototype),g&&(e=xda(g,e,b),gda(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 x(Aa){var Ma=Aa.data,Ra=Ma.target;Ra[g]=!1;Ra[l]=!1;var Ta=Ra[e];O||(O=Ra[zQb],P=Ra[AQb]);Ta&&P.call(Ra,"readystatechange",Ta);Ta=Ra[e]=function(){if(Ra.readyState===Ra.DONE)if(!Ma.aborted&&Ra[g]&&"scheduled"===Aa.state){var Lb=Ra[b.__symbol__("loadfalse")];if(0!==Ra.status&&Lb&&0<Lb.length){var qb=Aa.invoke;Aa.invoke=function(){for(var Ya=Ra[b.__symbol__("loadfalse")],wa=0;wa<Ya.length;wa++)Ya[wa]===Aa&&Ya.splice(wa,1);Ma.aborted||"scheduled"!==
Aa.state||qb.call(Aa)};Lb.push(Aa)}else Aa.invoke()}else Ma.aborted||!1!==Ra[g]||(Ra[l]=!0)};O.call(Ra,"readystatechange",Ta);Ra[c]||(Ra[c]=Aa);ma.apply(Ra,Ma.args);Ra[g]=!0;return Aa}function A(){}function B(Aa){Aa=Aa.data;Aa.aborted=!0;return ya.apply(Aa.target,Aa.args)}var K=q.XMLHttpRequest;if(K){K=K.prototype;var O=K[zQb],P=K[AQb];!O&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,O=q[zQb],P=q[AQb]);var Y=cc(K,"open",function(){return function(Aa,Ma){Aa[d]=0==Ma[2];Aa[h]=Ma[1];return Y.apply(Aa,
Ma)}}),X=Zb("fetchTaskAborting"),ka=Zb("fetchTaskScheduling"),ma=cc(K,"send",function(){return function(Aa,Ma){if(!0===b.current[ka]||Aa[d])return ma.apply(Aa,Ma);Ma={target:Aa,url:Aa[h],isPeriodic:!1,args:Ma,aborted:!1};var Ra=Zone.current.scheduleMacroTask("XMLHttpRequest.send",A,Ma,x,B);Aa&&!0===Aa[l]&&!Ma.aborted&&"scheduled"===Ra.state&&Ra.invoke()}}),ya=cc(K,"abort",function(){return function(Aa,Ma){var Ra=Aa[c];if(Ra&&"string"==typeof Ra.type)null==Ra.cancelFn||Ra.data&&Ra.data.aborted||Ra.zone.cancelTask(Ra);
else if(!0===b.current[X])return ya.apply(Aa,Ma)}})}})(a);var c=Zb("xhrTask"),d=Zb("xhrSync"),e=Zb("xhrListener"),g=Zb("xhrScheduled"),h=Zb("xhrURL"),l=Zb("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&bda(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){rda(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[Zb("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[Zb("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;"undefined"!==typeof a&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})});var Nda=lc({"\u0275prov":lc}),Rda=lc({"\u0275inj":lc}),Oda=lc({ngInjectableDef:lc}),Sda=lc({ngInjectorDef:lc});var qc=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};U(qc,Error);var Wda;var Zda=lc({__forward_ref__:lc});var Dd="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof global&&global||"undefined"!==typeof window&&window||"undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var GQb={},HQb=/\n/gm,uc=void 0;var Nc=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=mc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Nc.prototype.toString=function(){return"InjectionToken "+this._desc};ch.Object.defineProperties(Nc.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Dea=new Nc("ENVIRONMENT_INITIALIZER");var IQb=new Nc("INJECTOR",-1);var Cea=new Nc("INJECTOR_DEF_TYPES");var Hea=function(){};Hea.prototype.get=function(a,b){b=void 0===b?GQb:b;if(b===GQb)throw a=Error("wa`"+pc(a)),a.name="NullInjectorError",a;return b};var Cc=lc({"\u0275cmp":lc}),mea=lc({"\u0275dir":lc}),qea=lc({"\u0275pipe":lc}),JQb=lc({"\u0275mod":lc}),sea=lc({"\u0275fac":lc}),jd=lc({__NG_ELEMENT_ID__:lc}),KQb=lc({__NG_ENV_ID__:lc});var Fc={},Ac=[];var Eea=lc({provide:String,useValue:lc});var Cja=new Nc("Set Injector scope.");var Mea={},LQb={},Gea=void 0,nv=function(){},qd=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;Oea(a,function(g){return MQb(e,g)});this.records.set(IQb,Oc(void 0,this));d.has("environment")&&this.records.set(nv,Oc(void 0,this));a=this.records.get(Cja);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Cea.multi,Ac,2))};U(qd,nv);
qd.prototype.destroy=function(){NQb(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()}};
qd.prototype.onDestroy=function(a){var b=this;NQb(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};qd.prototype.runInContext=function(a){NQb(this);var b=vc(this),c=rc();try{return a()}finally{vc(b),rc(c)}};
qd.prototype.get=function(a,b,c){b=void 0===b?GQb:b;c=void 0===c?0:c;NQb(this);if(a.hasOwnProperty(KQb))return a[KQb](this);c=aea(c);var d=vc(this),e=rc();try{if(!(c&4)){var g=this.records.get(a);if(void 0===g){var h=("function"===typeof a||"object"===typeof a&&a instanceof Nc)&&Pda(a),l;if(l=h)if(h.providedIn){var q=tc(h.providedIn);l="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?g=Oc(Kea(a),Mea):g=null;this.records.set(a,g)}if(null!=g){b=g;b.value===
Mea&&(b.value=LQb,b.value=b.factory());var x;if(x="object"===typeof b.value&&b.value){var A=b.value;x=null!==A&&"object"===typeof A&&"function"===typeof A.ngOnDestroy}x&&this._ngOnDestroyHooks.add(b.value);return b.value}}var B=c&2?Iea():this.parent;b=c&8&&b===GQb?null:b;return B.get(a,b)}catch(ya){if("NullInjectorError"===ya.name){(ya.ngTempTokenPath=ya.ngTempTokenPath||[]).unshift(pc(a));if(d)throw ya;x=ya;var K=this.source,O=x.ngTempTokenPath;a.__source&&O.unshift(a.__source);var P="\n"+x.message;
a=K;a=void 0===a?null:a;P=P&&"\n"===P.charAt(0)&&"\u0275"==P.charAt(1)?P.slice(2):P;var Y=pc(O);if(Array.isArray(O))Y=O.map(pc).join(" -> ");else if("object"===typeof O){K=[];for(var X in O)if(O.hasOwnProperty(X)){var ka=O[X];K.push(X+":"+("string"===typeof ka?JSON.stringify(ka):pc(ka)))}Y="{"+K.join(", ")+"}"}var ma="R3InjectorError"+(a?"("+a+")":"")+"["+Y+"]: "+P.replace(HQb,"\n  ");x.message=ma;x.ngTokenPath=O;x.ngTempTokenPath=null;throw x;}throw ya;}finally{rc(e),vc(d)}};
var zfa=function(a){var b=vc(a),c=rc();try{for(var d=a.get(Dea.multi,Ac,2),e=k(d),g=e.next();!g.done;g=e.next()){var h=g.value;h()}}finally{vc(b),rc(c)}};qd.prototype.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(pc(c.value));return"R3Injector["+a.join(", ")+"]"};
var NQb=function(a){if(a._destroyed)throw new qc(205,!1);},MQb=function(a,b){b=tc(b);var c=Mc(b)?b:tc(b&&b.provide),d=Nea(b);if(Mc(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=Oc(void 0,Mea,!0),e.factory=function(){return bea(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};ch.Object.defineProperties(qd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var OQb=xc(Qc(function(a){return{token:a}}),-1),ov=xc(Qc(),8);xc(Qc(),2);var pv=xc(Qc(),4);xc(Qc(),1);var Tea=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};Tea.prototype.isFirstChange=function(){return this.firstChange};Uc.ngInherit=!0;var $c=$ea(null),Aga=null,qf=!0;var PQb=function(a){this.ref=a};PQb.prototype.deref=function(){return this.ref};var QQb,RQb=null!=(QQb=Dd.WeakRef)?QQb:PQb;var SQb=0,cfa=null,TQb=function(){this.id=SQb++;this.ref=new RQb(this);this.producers=new Map;this.consumers=new Map;this.trackingVersion=0};ch.Object.defineProperties(TQb.prototype,{hasProducers:{configurable:!0,enumerable:!0,get:function(){return 0<this.producers.size}}});var UQb=function(){},VQb=function(a,b){TQb.call(this);var c=this;this.watch=a;this.schedule=b;this.dirty=!1;this.cleanupFn=UQb;this.registerOnCleanup=function(d){c.cleanupFn=d}};U(VQb,TQb);VQb.prototype.notify=function(){this.dirty||this.schedule(this);this.dirty=!0};
VQb.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=hd(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=UQb,
this.watch(this.registerOnCleanup)}finally{hd(a)}}};VQb.prototype.cleanup=function(){this.cleanupFn()};var nd=function(a,b){var c=C;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var jfa=!0,lfa=0,ld={},od=function(a,b){this._tNode=a;this._lView=b};od.prototype.get=function(a,b,c){return ufa(this._tNode,this._lView,a,aea(c),b)};lc({provide:String,useValue:lc});var qv=function(){},Ve=function(a){if(Array.isArray(a))return Afa({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return Afa({name:c},a.parent,a.providers,c)},WQb=new Hea;qv.\u0275prov=mc({token:qv,providedIn:"any",factory:function(){return u(IQb)}});qv.__NG_ELEMENT_ID__=-1;var rv=function(){};var XQb=function(){},YQb=function(){};var Bfa=void 0;var ZQb=new Nc("AppId",{providedIn:"root",factory:function(){return"ng"}}),wja=new Nc("Platform Initializer"),sv=new Nc("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new Nc("Application Packages Root URL");var tv=new Nc("AnimationModuleType"),$Qb=new Nc("CSP nonce",{providedIn:"root",factory:function(){var a,b;return(null==(a=Cfa().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}});new Nc("",{providedIn:"root",factory:function(){return new Set}});var aRb=function(){},bRb=function(){};var rd=function(a){this.nativeElement=a};rd.__NG_ELEMENT_ID__=function(){return sd(ad(),v())};var cRb=function(){},uv=function(){};uv.__NG_ELEMENT_ID__=function(){var a=v(),b=Yc(ad().index,a);return(Rc(b)?b:a)[11]};var Efa=new Map,yga=0;var Md=function(){this._console=console};Md.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Md.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};new Nc("");var dRb=new Nc("",{providedIn:"root",factory:function(){return!1}});var Kfa=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Lfa=/(<|>)/;var zd=function(){TQb.apply(this,arguments);this._lView=null};U(zd,TQb);zd.prototype.runInContext=function(a,b,c){var d=hd(this);this.trackingVersion++;try{a(b,c)}finally{hd(d)}};zd.prototype.destroy=function(){this.trackingVersion++};ch.Object.defineProperties(zd.prototype,{lView:{configurable:!0,enumerable:!0,set:function(a){this._lView=a}},hasReadASignal:{configurable:!0,enumerable:!0,get:function(){return this.hasProducers}}});var yd=null;var Kd={};var Ad=function(a){this.changingThisBreaksApplicationSecurity=a};Ad.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var eRb=function(){Ad.apply(this,arguments)};U(eRb,Ad);eRb.prototype.getTypeName=function(){return"HTML"};var fRb=function(){Ad.apply(this,arguments)};U(fRb,Ad);fRb.prototype.getTypeName=function(){return"URL"};var gRb=function(){Ad.apply(this,arguments)};U(gRb,Ad);
gRb.prototype.getTypeName=function(){return"ResourceURL"};var $fa;var jga=function(a){this.inertDocumentHelper=a};jga.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(bga(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var iga=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
iga.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=bga(a);return b};var cga=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var hRb=Ed("area,br,col,hr,img,wbr"),iRb=Ed("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jRb=Ed("rp,rt"),kRb=Gd(jRb,iRb),lRb=Gd(iRb,Ed("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")),mRb=Gd(jRb,Ed("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")),
lga=Gd(hRb,lRb,mRb,kRb),nga=Ed("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nRb=Ed("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"),
oRb=Ed("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"),
mga=Gd(nga,nRb,oRb),oga=Ed("script,style,template"),kga=function(){this.buf=[]};kga.prototype.endElement=function(a){a=a.nodeName.toLowerCase();lga.hasOwnProperty(a)&&!hRb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var pga=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Aa`"+a.outerHTML);return b},ega=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fga=/([^#-~ |!])/g,hga;var pRb={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 rga;var vv=function(){this.all=new Set;this.queue=new Map};vv.prototype.create=function(a,b,c){var d=this,e="undefined"===typeof Zone?null:Zone.current,g=new VQb(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}};
vv.prototype.flush=function(){if(0!==this.queue.size)for(var a={},b=k(this.queue),c=b.next();!c.done;a={$jscomp$loop$prop$watch$2244:a.$jscomp$loop$prop$watch$2244},c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a.$jscomp$loop$prop$watch$2244=c;c=d;this.queue.delete(a.$jscomp$loop$prop$watch$2244);c?c.run(function(e){return function(){return e.$jscomp$loop$prop$watch$2244.run()}}(a)):a.$jscomp$loop$prop$watch$2244.run()}};vv.\u0275prov=mc({token:vv,providedIn:"root",factory:function(){return new vv}});var Wf=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};f=Wf.prototype;f.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(Tc(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Ofa(a,c),uea(b,c))}this._attachedToViewContainer=!1}Qfa(this._lView[1],this._lView)};f.onDestroy=function(a){var b=this._lView;if(256===(b[2]&256))throw new qc(911,!1);null===b[21]&&(b[21]=[]);b[21].push(a)};
f.markForCheck=function(){Hfa(this._cdRefInjectingView||this._lView)};f.detach=function(){this._lView[2]&=-129};f.detectChanges=function(){$ga(this._lView[1],this._lView,this.context)};
ch.Object.defineProperties(Wf.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Yga(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 qRb=function(a){Wf.call(this,a);this._view=a};U(qRb,Wf);qRb.prototype.detectChanges=function(){var a=this._view;$ga(a[1],a,a[8],!1)};
ch.Object.defineProperties(qRb.prototype,{context:{configurable:!0,enumerable:!0,get:function(){return null}}});var rRb=function(){};rRb.\u0275prov=mc({token:rRb,providedIn:"root",factory:function(){return null}});var wv=function(){this.full="0.0.0-PLACEHOLDER";this.minor=this.major="0";this.patch=["0","0","0-PLACEHOLDER"].slice(2).join(".")},sRb=new wv;var tRb={};var uRb=function(a){this.ngModule=a};U(uRb,rv);var vRb=function(a,b){return new Yf(b[Cc]||null,a.ngModule)},wRb=function(a,b){this.injector=a;this.parentInjector=b};wRb.prototype.get=function(a,b,c){c=aea(c);var d=this.injector.get(a,tRb,c);return d!==tRb||b===tRb?d:this.parentInjector.get(a,b,c)};
var Yf=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(hea).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};U(Yf,bRb);
Yf.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 wRb(a,d):a;a=g.get(cRb,null);if(null===a)throw new qc(407,!1);e=g.get(rRb,null);d=g.get(vv,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(dRb,
!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=Kga(0,null,null,1,0,null,null,null,null,null,null);g=zga(null,e,null,l,null,null,d,a,g,null,null);Zea(g);try{var q=this.componentDef;l=null;if(q.findHostDirectiveDefs){var x=[];l=new Map;q.findHostDirectiveDefs(q,x,l);x.push(q)}else x=[q];var A=g[1];g[25]=h;var B=Jd(A,25,2,"#host",null);A=x;for(var K=
g[1],O=k(A),P=O.next();!P.done;P=O.next())B.mergedAttrs=yc(B.mergedAttrs,P.value.hostAttrs);null!==B.mergedAttrs&&(Xga(B,B.mergedAttrs,!0),null!==h&&Wfa(a,h,B));O=null;null!==h&&(O=null);var Y=d.rendererFactory.createRenderer(h,q);P=16;q.signals?P=4096:q.onPush&&(P=64);var X=zga(g,Ega(q),null,P,g[B.index],B,d,Y,null,null,O);K.firstCreatePass&&Nga(K,B,A.length-1);Fga(g,X);var ka=g[B.index]=X;var ma=e.data[25];if(h)if(c)dea(a,h,["ng-version",sRb.full]);else{var ya=q.selectors[0];c=[];B=[];K=1;for(Y=
2;K<ya.length;){var Aa=ya[K];if("string"===typeof Aa)2===Y?""!==Aa&&c.push(Aa,ya[++K]):8===Y&&B.push(Aa);else{if(0!==(Y&1))break;Y=Aa}K++}c&&dea(a,h,c);if(B&&0<B.length){var Ma=B.join(" ");""===Ma?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Ma)}}if(void 0!==b){var Ra=this.ngContentSelectors,Ta=ma.projection=[];for(ya=0;ya<Ra.length;ya++){var Lb=b[ya];Ta.push(null!=Lb?Array.from(Lb):null)}}b=x;Ra=l;x=[dha];var qb=ad(),Ya=g[1],wa=Xc(qb,g);Oga(Ya,g,qb,b,null,Ra);for(Ra=0;Ra<b.length;Ra++){var Ka=
md(g,Ya,qb.directiveStart+Ra,qb);td(Ka,g)}Hga(Ya,g,qb);wa&&td(wa,g);var Na=md(g,Ya,qb.directiveStart+qb.componentOffset,qb);ka[8]=g[8]=Na;if(null!==x)for(var eb=k(x),ab=eb.next();!ab.done;ab=eb.next()){var Sc=ab.value;Sc(Na,q)}Dga(Ya,qb,ka);var fb=Na;Wga(e,g,null)}finally{bfa()}return new xv(this.componentType,fb,sd(ma,g),g,ma)};
ch.Object.defineProperties(Yf.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){return cha(this.componentDef.inputs)}},outputs:{configurable:!0,enumerable:!0,get:function(){return cha(this.componentDef.outputs)}}});var xv=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 qRb(d);this.componentType=a};U(xv,aRb);
xv.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,Mga(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=Yc(this._tNode.index,c),Hfa(a)))};xv.prototype.destroy=function(){this.hostView.destroy()};xv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
ch.Object.defineProperties(xv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new od(this._tNode,this._rootLView)}}});var Nd=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new uRb(this);var d=(a[JQb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=yfa(a,b,[{provide:XQb,useValue:this},{provide:rv,useValue:this.componentFactoryResolver}].concat(Pc(c)),pc(a),new Set(["environment"]));zfa(this._r3Injector);this.instance=this._r3Injector.get(a)};U(Nd,XQb);
Nd.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Nd.prototype.onDestroy=function(a){this.destroyCbs.push(a)};ch.Object.defineProperties(Nd.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var xRb=function(a){this.moduleType=a};U(xRb,YQb);xRb.prototype.create=function(a){return new Nd(this.moduleType,a,[])};
var fha=function(a){this.componentFactoryResolver=new uRb(this);this.instance=null;var b=new qd([].concat(Pc(a.providers),[{provide:XQb,useValue:this},{provide:rv,useValue:this.componentFactoryResolver}]),a.parent||Iea(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&zfa(b)};U(fha,XQb);fha.prototype.destroy=function(){this.injector.destroy()};fha.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var yRb=new Nc("Application Initializer"),yv=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=wc(yRb,{optional:!0}))?b:[]},zRb=function(a){if(!a.initialized){for(var b=[],c={},d=k(a.appInits),e=d.next();!e.done;c={$jscomp$loop$prop$initResult$2246:c.$jscomp$loop$prop$initResult$2246},e=d.next())e=e.value,c.$jscomp$loop$prop$initResult$2246=e(),Od(c.$jscomp$loop$prop$initResult$2246)?b.push(c.$jscomp$loop$prop$initResult$2246):
hha(c.$jscomp$loop$prop$initResult$2246)&&(e=new Promise(function(g){return function(h,l){g.$jscomp$loop$prop$initResult$2246.subscribe({complete:h,error:l})}}(c)),b.push(e));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}};yv.\u0275fac=function(a){return new (a||yv)};yv.\u0275prov=mc({token:yv,factory:yv.\u0275fac,providedIn:"root"});var zv=function(){};zv.prototype.log=function(a){console.log(a)};zv.prototype.warn=function(a){console.warn(a)};zv.\u0275fac=function(a){return new (a||zv)};zv.\u0275prov=mc({token:zv,factory:zv.\u0275fac,providedIn:"platform"});var jha=["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 kha={};var hh=new Nc("LocaleId",{providedIn:"root",factory:function(){return wc(hh,12)||("undefined"!==typeof KHb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new Nc("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new Nc("Translations");new Nc("TranslationsFormat");var ARb=!1,Wd={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):ARb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");ARb=a},get useDeprecatedSynchronousErrorHandling(){return ARb}};var me="function"===typeof Symbol&&Symbol.observable||"@@observable";var BRb={closed:!0,next:function(){},error:function(a){if(Wd.useDeprecatedSynchronousErrorHandling)throw a;Qd(a)},complete:function(){}};var Td=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 be=Array.isArray||function(a){return a&&"number"===typeof a.length};var Sd=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
Sd.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 Sd)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(Rd(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var g=q instanceof Td?nha(q.errors):[q]}}if(be(d)){e=-1;for(var h=d.length;++e<h;){var l=d[e];if(lha(l))try{l.unsubscribe()}catch(q){g=
g||[],q instanceof Td?g=g.concat(nha(q.errors)):g.push(q)}}}if(g)throw new Td(g);}};
Sd.prototype.add=function(a){var b=a;if(!a)return Sd.EMPTY;switch(typeof a){case "function":b=new Sd(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof Sd||(a=b,b=new Sd,b._subscriptions=[a]);break;default:throw Error("Ca`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof Sd){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};Sd.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var CRb=new Sd;CRb.closed=!0;Sd.EMPTY=CRb;var Ud=function(a,b,c){Sd.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=BRb;break;case 1:if(!a){this.destination=BRb;break}if("object"===typeof a){a instanceof Ud?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new Av(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new Av(this,a,b,c)}};U(Ud,Sd);
Ud.EMPTY=Sd.EMPTY;Ud.create=function(a,b,c){a=new Ud(a,b,c);a.syncErrorThrowable=!1;return a};f=Ud.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,Sd.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 Av=function(a,b,c,d){Ud.call(this);this._parentSubscriber=a;var e=this;if(Rd(b))var g=b;else b&&(g=b.next,c=b.error,d=b.complete,b!==BRb&&(e=Object.create(b),mha(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};U(Av,Ud);Av.EMPTY=Ud.EMPTY;Av.create=Ud.create;f=Av.prototype;
f.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;Wd.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=Wd.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):Qd(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;Qd(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)};Wd.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(Wd.useDeprecatedSynchronousErrorHandling)throw c;Qd(c)}};
f.__tryOrSetError=function(a,b,c){if(!Wd.useDeprecatedSynchronousErrorHandling)throw Error("Da");try{b.call(this._context,c)}catch(d){return Wd.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):Qd(d),!0}return!1};f._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var DRb=function(a){Ud.call(this);this.destination=a};U(DRb,Ud);DRb.EMPTY=Ud.EMPTY;DRb.create=Ud.create;var Xd=function(a){a&&(this._subscribe=a)};f=Xd.prototype;f.lift=function(a){var b=new Xd;b.source=this;b.operator=a;return b};
f.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof Ud||qha(a)&&mha(a))break a;if(qha(a)){a=new DRb(a);break a}}a=a||b||c?new Ud(a,b,c):new Ud(BRb)}d?a.add(d.call(a,this.source)):a.add(this.source||Wd.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(Wd.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
f._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){Wd.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),oha(a)?a.error(b):console.warn(b)}};f.forEach=function(a,b){var c=this;b=rha(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)};Xd.prototype[me]=function(){return this};
Xd.prototype.pipe=function(){var a=Lc.apply(0,arguments);return 0===a.length?this:pha(a)(this)};var ERb=function(a){var b=rha(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)})})};Xd.create=function(a){return new Xd(a)};var FRb=function(a,b){Sd.call(this);this.subject=a;this.subscriber=b;this.closed=!1};U(FRb,Sd);FRb.EMPTY=Sd.EMPTY;FRb.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 Bv=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var Je=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};U(Je,Xd);f=Je.prototype;f.lift=function(a){var b=new Cv(this,this);b.operator=a;return b};f.next=function(a){if(this.closed)throw new Bv;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 Bv;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 Bv;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 Bv;return Xd.prototype._trySubscribe.call(this,a)};f._subscribe=function(a){if(this.closed)throw new Bv;if(this.hasError)return a.error(this.thrownError),Sd.EMPTY;if(this.isStopped)return a.complete(),Sd.EMPTY;this.observers.push(a);return new FRb(this,a)};var GRb=function(a){var b=new Xd;b.source=a;return b};
ch.Object.defineProperties(Je.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});Je.create=function(a,b){return new Cv(a,b)};var Cv=function(a,b){Je.call(this);this.destination=a;this.source=b};U(Cv,Je);Cv.create=Je.create;Cv.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};Cv.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
Cv.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};Cv.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):Sd.EMPTY};var ce=function(){Je.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};U(ce,Je);ce.create=Je.create;ce.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),Sd.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),Sd.EMPTY):Je.prototype._subscribe.call(this,a)};ce.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};ce.prototype.error=function(a){this.hasCompleted||Je.prototype.error.call(this,a)};
ce.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&Je.prototype.next.call(this,this.value);Je.prototype.complete.call(this)};var Dv=function(a){Je.call(this);this._value=a};U(Dv,Je);Dv.create=Je.create;Dv.prototype._subscribe=function(a){var b=Je.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};Dv.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Bv;return this._value};Dv.prototype.next=function(a){Je.prototype.next.call(this,this._value=a)};ch.Object.defineProperties(Dv.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var se=new Xd(function(a){return a.complete()});var uha=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var HRb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};HRb.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)}};
HRb.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 IRb={now:function(){return(IRb.delegate||Date).now()},delegate:void 0};var Ie=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?IRb:c;Je.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};U(Ie,Je);Ie.create=Je.create;f=Ie.prototype;
f.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();Je.prototype.next.call(this,a)};f.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();Je.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 Bv;if(this.isStopped||this.hasError)var e=Sd.EMPTY;else this.observers.push(a),e=new FRb(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():IRb.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 KRb=function(a,b){b=void 0===b?JRb:b;this.SchedulerAction=a;this.now=b};KRb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var JRb=IRb.now;var De=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var yha=function(){};yha.prototype.call=function(a,b){b._refCount++;a=new LRb(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var LRb=function(a,b){Ud.call(this,a);this.connectable=b;this.connection=null};U(LRb,Ud);LRb.EMPTY=Ud.EMPTY;LRb.create=Ud.create;
LRb.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 Ev=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};U(Ev,Xd);Ev.create=Xd.create;Ev.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};Ev.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
Ev.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new Sd,a.add(this.source.subscribe(new Fv(this.getSubject(),this))),a.closed&&(this._connection=null,a=Sd.EMPTY));return a};Ev.prototype.refCount=function(){return ae()(this)};var Zia,MRb=Ev.prototype;
Zia={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:MRb._subscribe},_isComplete:{value:MRb._isComplete,writable:!0},getSubject:{value:MRb.getSubject},connect:{value:MRb.connect},refCount:{value:MRb.refCount}};var Fv=function(a,b){Ud.call(this);this.destination=a;this.connectable=b};U(Fv,Ud);Fv.EMPTY=Ud.EMPTY;Fv.create=Ud.create;
Fv.prototype._error=function(a){this._unsubscribe();Ud.prototype._error.call(this,a)};Fv.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();Ud.prototype._complete.call(this)};Fv.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 zha=function(a){this.project=a;this.thisArg=void 0};zha.prototype.call=function(a,b){return b.subscribe(new NRb(a,this.project,this.thisArg))};var NRb=function(a,b,c){Ud.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};U(NRb,Ud);NRb.EMPTY=Ud.EMPTY;NRb.create=Ud.create;NRb.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 ke="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var Qha=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var ORb=function(a){return function(b){var c=a[ke]();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 PRb=function(a){return function(b){var c=a[me]();if("function"!==typeof c.subscribe)throw new TypeError("Ha");return c.subscribe(b)}};var QRb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,Qd);return b}};var Lha=function(a){if(a&&"function"===typeof a[me])return PRb(a);if(Qha(a))return uha(a);if(Hha(a))return QRb(a);if(a&&"function"===typeof a[ke])return ORb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return Jha(a);throw new TypeError("Ia`"+(lha(a)?"an invalid object":"'"+a+"'"));};var Gv=function(a){Ud.call(this);this.parent=a};U(Gv,Ud);Gv.EMPTY=Ud.EMPTY;Gv.create=Ud.create;Gv.prototype._next=function(a){this.parent.notifyNext(a)};Gv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Gv.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var Hv=function(a,b,c){Ud.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};U(Hv,Ud);Hv.EMPTY=Ud.EMPTY;Hv.create=Ud.create;
Hv.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};Hv.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Hv.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var Iv=function(){Ud.apply(this,arguments)};U(Iv,Ud);Iv.EMPTY=Ud.EMPTY;Iv.create=Ud.create;Iv.prototype.notifyNext=function(a){this.destination.next(a)};Iv.prototype.notifyError=function(a){this.destination.error(a)};
Iv.prototype.notifyComplete=function(){this.destination.complete()};var Jv=function(){Ud.apply(this,arguments)};U(Jv,Ud);Jv.EMPTY=Ud.EMPTY;Jv.create=Ud.create;Jv.prototype.notifyNext=function(a,b){this.destination.next(b)};Jv.prototype.notifyError=function(a){this.destination.error(a)};Jv.prototype.notifyComplete=function(){this.destination.complete()};var RRb={},zia=function(a,b){this.resultSelector=a;this.keys=b};zia.prototype.call=function(a,b){return b.subscribe(new SRb(a,this.resultSelector,this.keys))};var SRb=function(a,b,c){Jv.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};U(SRb,Jv);SRb.EMPTY=Jv.EMPTY;SRb.create=Jv.create;f=SRb.prototype;f._next=function(a){this.values.push(RRb);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(je(a[c],new Hv(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===RRb?--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 Sha=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};Sha.prototype.call=function(a,b){return b.subscribe(new Kv(a,this.project,this.concurrent))};var Kv=function(a,b,c){c=void 0===c?Infinity:c;Iv.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};U(Kv,Iv);Kv.EMPTY=Iv.EMPTY;Kv.create=Iv.create;
Kv.prototype._next=function(a){if(this.active<this.concurrent){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}this.active++;a=new Gv(this);this.destination.add(a);je(c,a)}else this.buffer.push(a)};Kv.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};Kv.prototype.notifyNext=function(a){this.destination.next(a)};
Kv.prototype.notifyComplete=function(){var a=this.buffer;this.active--;0<a.length?this._next(a.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};var Vha=function(a){var b=requestAnimationFrame,c=cancelAnimationFrame;Lv&&(b=Lv.requestAnimationFrame,c=Lv.cancelAnimationFrame);var d=b(function(e){c=void 0;a(e)});return new Sd(function(){var e;return null==(e=c)?void 0:e(d)})},TRb=function(){return((null==Lv?void 0:Lv.requestAnimationFrame)||requestAnimationFrame).apply(null,Pc(Lc.apply(0,arguments)))},URb=function(){((null==Lv?void 0:Lv.cancelAnimationFrame)||cancelAnimationFrame).apply(null,Pc(Lc.apply(0,arguments)))},Lv=void 0;var Uha={now:function(){return(Uha.delegate||performance).now()},delegate:void 0};var VRb=Wha();var WRb=function(){Sd.call(this)};U(WRb,Sd);WRb.EMPTY=Sd.EMPTY;WRb.prototype.schedule=function(){return this};var XRb=function(a,b){var c=Lc.apply(2,arguments);return(null==Mv?0:Mv.setInterval)?Mv.setInterval.apply(Mv,[a,b].concat(Pc(c))):setInterval.apply(null,[a,b].concat(Pc(c)))},Mv=void 0;var Nv=function(a,b){Sd.call(this);this.scheduler=a;this.work=b;this.pending=!1};U(Nv,WRb);Nv.EMPTY=WRb.EMPTY;f=Nv.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 XRb(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==Mv?void 0:Mv.clearInterval)||clearInterval)(b)};f.execute=function(a,b){if(this.closed)return Error("Ma");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 Ov=function(a,b){b=void 0===b?JRb:b;KRb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};U(Ov,KRb);Ov.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 ve=new Ov(Nv);var YRb=new Xd(re);var fia=function(a,b){this.predicate=a;this.thisArg=b};fia.prototype.call=function(a,b){return b.subscribe(new ZRb(a,this.predicate,this.thisArg))};var ZRb=function(a,b,c){Ud.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};U(ZRb,Ud);ZRb.EMPTY=Ud.EMPTY;ZRb.create=Ud.create;ZRb.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 hia=function(){};hia.prototype.call=function(a,b){return b.subscribe(new $Rb(a))};var $Rb=function(a){Jv.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};U($Rb,Jv);$Rb.EMPTY=Jv.EMPTY;$Rb.create=Jv.create;f=$Rb.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=je(a[c],new Hv(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;Jv.prototype.notifyComplete.call(this,a)};f.notifyError=function(a){this.hasFirst=!0;Jv.prototype.notifyError.call(this,a)};var aSb=function(a){this.resultSelector=a};aSb.prototype.call=function(a,b){return b.subscribe(new Pv(a,this.resultSelector))};var Pv=function(a,b,c){void 0===c&&Object.create(null);Ud.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};U(Pv,Ud);Pv.EMPTY=Ud.EMPTY;Pv.create=Ud.create;Pv.prototype._next=function(a){var b=this.iterators;be(a)?b.push(new bSb(a)):"function"===typeof a[ke]?b.push(new cSb(a[ke]())):b.push(new Qv(this.destination,this,a))};
Pv.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--}}};Pv.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var cSb=function(a){this.iterator=a;this.nextResult=a.next()};cSb.prototype.hasValue=function(){return!0};
cSb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};cSb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var bSb=function(a){this.array=a;this.length=this.index=0;this.length=a.length};bSb.prototype[ke]=function(){return this};bSb.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};bSb.prototype.hasValue=function(){return this.array.length>this.index};
bSb.prototype.hasCompleted=function(){return this.array.length===this.index};var Qv=function(a,b,c){Iv.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};U(Qv,Iv);Qv.EMPTY=Iv.EMPTY;Qv.create=Iv.create;Qv.prototype[ke]=function(){return this};f=Qv.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 je(this.observable,new Gv(this))};var dSb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};U(dSb,Xd);dSb.create=Xd.create;dSb.prototype._subscribe=function(a){var b=new Sd,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new eSb(c));b.add(d.subscribe(a));return b};var eSb=function(a){Sd.call(this);this.parent=a;a.count++};U(eSb,Sd);eSb.EMPTY=Sd.EMPTY;
eSb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(Sd.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var oia=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 fSb=function(a,b){a=void 0===a?Rv:a;b=void 0===b?Infinity:b;Ov.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};U(fSb,Ov);fSb.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 Rv=function(a,b,c){c=void 0===c?a.index+=1:c;Nv.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};U(Rv,Nv);Rv.EMPTY=Nv.EMPTY;Rv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return Nv.prototype.schedule.call(this,a,b);this.active=!1;var c=new Rv(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return Sd.EMPTY};
Rv.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(gSb);return!0};Rv.prototype.recycleAsyncId=function(){};Rv.prototype._execute=function(a,b){if(!0===this.active)return Nv.prototype._execute.call(this,a,b)};var gSb=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 hSb=function(a,b){Nv.call(this,a,b);this.scheduler=a;this.work=b};U(hSb,Nv);hSb.EMPTY=Nv.EMPTY;hSb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Nv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=TRb(function(){return a.flush(void 0)}))};
hSb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return Nv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(URb(b),a.scheduled=void 0)};var iSb=function(){Ov.apply(this,arguments)};U(iSb,Ov);iSb.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 jSb=new iSb(hSb);var kSb=1,lSb,pia={},mSb=function(a){var b=kSb++;pia[b]=!0;lSb||(lSb=Promise.resolve());lSb.then(function(){return qia(b)&&a()});return b},nSb=function(a){qia(a)};var pSb=function(){return((null==oSb?void 0:oSb.setImmediate)||mSb).apply(null,Pc(Lc.apply(0,arguments)))},oSb=void 0;var qSb=function(a,b){Nv.call(this,a,b);this.scheduler=a;this.work=b};U(qSb,Nv);qSb.EMPTY=Nv.EMPTY;qSb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return Nv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=pSb(a.flush.bind(a,void 0)))};
qSb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return Nv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(((null==oSb?void 0:oSb.clearImmediate)||nSb)(b),a.scheduled=void 0)};var rSb=function(){Ov.apply(this,arguments)};U(rSb,Ov);rSb.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 sSb=new rSb(qSb);var Sv=function(a,b){Nv.call(this,a,b);this.scheduler=a;this.work=b};U(Sv,Nv);Sv.EMPTY=Nv.EMPTY;Sv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return Nv.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};Sv.prototype.execute=function(a,b){return 0<b||this.closed?Nv.prototype.execute.call(this,a,b):this._execute(a,b)};
Sv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?Nv.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var tSb=function(){Ov.apply(this,arguments)};U(tSb,Ov);var uSb=new tSb(Sv);var vSb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var wSb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var xSb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var E={};E.Observable=Xd;E.ConnectableObservable=Ev;E.GroupedObservable=dSb;E.observable=me;E.animationFrames=function(a){return a?Wha(a):VRb};E.Subject=Je;E.BehaviorSubject=Dv;E.ReplaySubject=Ie;E.AsyncSubject=ce;E.asap=sSb;E.asapScheduler=sSb;E.async=ve;E.asyncScheduler=ve;E.queue=uSb;E.queueScheduler=uSb;E.animationFrame=jSb;E.animationFrameScheduler=jSb;E.VirtualTimeScheduler=fSb;E.VirtualAction=Rv;E.Scheduler=KRb;E.Subscription=Sd;E.Subscriber=Ud;E.Notification=HRb;
E.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};E.pipe=function(){return pha(Lc.apply(0,arguments))};E.noop=re;E.identity=Vd;E.isObservable=function(a){return!!a&&(a instanceof Xd||"function"===typeof a.lift&&"function"===typeof a.subscribe)};E.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 De)}})})};
E.firstValueFrom=function(a){return new Promise(function(b,c){var d=new Sd;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new De)}}))})};E.ArgumentOutOfRangeError=vSb;E.EmptyError=De;E.NotFoundError=wSb;E.ObjectUnsubscribedError=Bv;E.SequenceError=xSb;E.TimeoutError=oia;E.UnsubscriptionError=Td;E.bindCallback=Aha;E.bindNodeCallback=Dha;
E.combineLatest=function(){var a=Lc.apply(0,arguments),b=void 0,c=void 0,d=void 0;Zd(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];be(e)&&(a=e);lha(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(g){return e[g]}))}return $d(Yd(a,c),new zia(b,d))};E.concat=qe;E.defer=Tha;E.empty=function(a){return a?sha(a):se};
E.forkJoin=function(){var a=Lc.apply(0,arguments);if(1===a.length){var b=a[0];if(be(b))return Xha(b,null);if(lha(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),Xha(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&be(a[0])?a[0]:a;return Xha(a,null).pipe(D(function(d){return c.apply(null,Pc(d))}))}return Xha(a,null)};E.from=ne;E.fromEvent=Yha;E.fromEventPattern=$ha;
E.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||Vd;e=a.scheduler}else void 0===d||Zd(d)?(g=a,h=Vd,e=d):(g=a,h=d);return new Xd(function(l){var q=g;if(e)return e.schedule(aia,0,{subscriber:l,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var x=void 0;try{x=b(q)}catch(A){l.error(A);break}if(!x){l.complete();break}}x=void 0;try{x=h(q)}catch(A){l.error(A);break}l.next(x);if(l.closed)break;try{q=c(q)}catch(A){l.error(A);
break}}while(1)})};E.iif=function(a,b,c){b=void 0===b?se:b;c=void 0===c?se:c;return Tha(function(){return a()?b:c})};E.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?ve:b;if(!bia(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=ve);return new Xd(function(c){c.add(b.schedule(cia,a,{subscriber:c,counter:0,period:a}));return c})};
E.merge=function(){var a=Lc.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];Zd(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 Xd?a[0]:pe(b)(Yd(a,c))};E.never=function(){return YRb};E.of=vha;E.onErrorResumeNext=dia;
E.pairs=function(a,b){return b?new Xd(function(c){var d=Object.keys(a),e=new Sd;e.add(b.schedule(eia,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new Xd(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()})};E.partition=function(a,b,c){return[ue(b,c)(new Xd(Lha(a))),ue(gia(b,c))(new Xd(Lha(a)))]};E.race=iia;
E.range=function(a,b,c){a=void 0===a?0:a;return new Xd(function(d){void 0===b&&(b=a,a=0);var e=0,g=a;if(c)return c.schedule(jia,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)})};E.throwError=function(a,b){return b?new Xd(function(c){return b.schedule(wha,0,{error:a,subscriber:c})}):new Xd(function(c){return c.error(a)})};E.timer=mia;
E.using=function(a,b){return new Xd(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?ne(e):se).subscribe(c);return function(){g.unsubscribe();d&&d.unsubscribe()}})};E.zip=function(){var a=Lc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return $d(Yd(a),new aSb(b))};E.scheduled=Rha;E.EMPTY=se;E.NEVER=YRb;E.config=Wd;var Tv=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new E.BehaviorSubject(!1)};Tv.prototype.add=function(){this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};Tv.prototype.remove=function(a){this.pendingTasks.delete(a);0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)};Tv.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this.hasPendingTasks.next(!1)};Tv.\u0275fac=function(a){return new (a||Tv)};
Tv.\u0275prov=mc({token:Tv,factory:Tv.\u0275fac,providedIn:"root"});var Uv=function(){};Uv.prototype.getModuleId=function(){};Uv.\u0275fac=function(a){return new (a||Uv)};Uv.\u0275prov=mc({token:Uv,factory:Uv.\u0275fac,providedIn:"root"});new Nc("compilerOptions");var ria=Promise.resolve(0);var Vv=function(a){a=void 0===a?!1:a;E.Subject.call(this);this.__isAsync=a};U(Vv,E.Subject);Vv.create=E.Subject.create;Vv.prototype.emit=function(a){E.Subject.prototype.next.call(this,a)};
Vv.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=tia(b),d&&(d=tia(d)),c&&(c=tia(c)));d=E.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof E.Subscription&&a.add(d);return d};var via=function(a){this.durationSelector=a};via.prototype.call=function(a,b){return b.subscribe(new Wv(a,this.durationSelector))};var Wv=function(a,b){Iv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};U(Wv,Iv);Wv.EMPTY=Iv.EMPTY;Wv.create=Iv.create;
Wv.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=je(c,new Gv(this));!a||a.closed?ySb(this):this.add(this.throttled=a)}};var ySb=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))};Wv.prototype.notifyNext=function(){ySb(this)};Wv.prototype.notifyComplete=function(){ySb(this)};var xia=function(a){this.closingNotifier=a};xia.prototype.call=function(a,b){return b.subscribe(new Xv(a,this.closingNotifier))};var Xv=function(a,b){Iv.call(this,a);this.buffer=[];this.add(je(b,new Gv(this)))};U(Xv,Iv);Xv.EMPTY=Iv.EMPTY;Xv.create=Iv.create;Xv.prototype._next=function(a){this.buffer.push(a)};Xv.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Eia=function(a){this.durationSelector=a};Eia.prototype.call=function(a,b){return b.subscribe(new zSb(a,this.durationSelector))};var zSb=function(a,b){Iv.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};U(zSb,Iv);zSb.EMPTY=Iv.EMPTY;zSb.create=Iv.create;f=zSb.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(){ASb(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=je(b,new Gv(this)))&&!c.closed&&this.add(this.durationSubscription=c)};f.notifyNext=function(){ASb(this)};f.notifyComplete=function(){ASb(this)};var ASb=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;Iv.prototype._next.call(a,b)}};var Gia=function(a,b){this.dueTime=a;this.scheduler=b};Gia.prototype.call=function(a,b){return b.subscribe(new Yv(a,this.dueTime,this.scheduler))};var Yv=function(a,b,c){Ud.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};U(Yv,Ud);Yv.EMPTY=Ud.EMPTY;Yv.create=Ud.create;Yv.prototype._next=function(a){BSb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Iia,this.dueTime,this))};
Yv.prototype._complete=function(){Hia(this);this.destination.complete()};var Hia=function(a){BSb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},BSb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var Jia=function(a){this.defaultValue=a};Jia.prototype.call=function(a,b){return b.subscribe(new Zv(a,this.defaultValue))};var Zv=function(a,b){Ud.call(this,a);this.defaultValue=b;this.isEmpty=!0};U(Zv,Ud);Zv.EMPTY=Ud.EMPTY;Zv.create=Ud.create;Zv.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};Zv.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var Lia=function(a,b){this.delay=a;this.scheduler=b};Lia.prototype.call=function(a,b){return b.subscribe(new $v(a,this.delay,this.scheduler))};var $v=function(a,b,c){Ud.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};U($v,Ud);$v.EMPTY=Ud.EMPTY;$v.create=Ud.create;
var CSb=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)};$v.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(CSb,this.delay,{source:this,destination:b,scheduler:a}))};
$v.prototype._next=function(a){var b=this.scheduler;a=new DSb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};$v.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};$v.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var DSb=function(a,b){this.time=a;this.value=b};var Mia=function(a){this.compare=a;this.keySelector=void 0};Mia.prototype.call=function(a,b){return b.subscribe(new aw(a,this.compare,this.keySelector))};var aw=function(a,b,c){Ud.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};U(aw,Ud);aw.EMPTY=Ud.EMPTY;aw.create=Ud.create;aw.prototype.compare=function(a,b){return a===b};
aw.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 Nia=function(){this.count=1};Nia.prototype.call=function(a,b){return b.subscribe(new ESb(a,this.count))};var ESb=function(a,b){Ud.call(this,a);this.count=b;this._valueCount=0};U(ESb,Ud);ESb.EMPTY=Ud.EMPTY;ESb.create=Ud.create;ESb.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 Pia=function(a){this.errorFactory=a};Pia.prototype.call=function(a,b){return b.subscribe(new bw(a,this.errorFactory))};var bw=function(a,b){Ud.call(this,a);this.errorFactory=b;this.hasValue=!1};U(bw,Ud);bw.EMPTY=Ud.EMPTY;bw.create=Ud.create;bw.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};bw.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var Ria=function(a){this.callback=a};Ria.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var Sia=function(){};Sia.prototype.call=function(a,b){return b.subscribe(new FSb(a))};var FSb=function(){Ud.apply(this,arguments)};U(FSb,Ud);FSb.EMPTY=Ud.EMPTY;FSb.create=Ud.create;FSb.prototype._next=function(){};var Uia=function(){this.total=1};Uia.prototype.call=function(a,b){return b.subscribe(new cw(a,this.total))};var cw=function(a,b){Ud.call(this,a);this.total=b;this.ring=[];this.count=0};U(cw,Ud);cw.EMPTY=Ud.EMPTY;cw.create=Ud.create;cw.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
cw.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 Xia=function(a){this.value=a};Xia.prototype.call=function(a,b){return b.subscribe(new GSb(a,this.value))};var GSb=function(a,b){Ud.call(this,a);this.value=b};U(GSb,Ud);GSb.EMPTY=Ud.EMPTY;GSb.create=Ud.create;GSb.prototype._next=function(){this.destination.next(this.value)};var Yia=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};Yia.prototype.call=function(a,b){return b.subscribe(new HSb(a,this.accumulator,this.seed,this.hasSeed))};var HSb=function(a,b,c,d){Ud.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};U(HSb,Ud);HSb.EMPTY=Ud.EMPTY;HSb.create=Ud.create;
HSb.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 eja=function(a){this.total=a};eja.prototype.call=function(a,b){return b.subscribe(new ISb(a,this.total))};var ISb=function(a,b){Ud.call(this,a);this.total=b;this.count=0};U(ISb,Ud);ISb.EMPTY=Ud.EMPTY;ISb.create=Ud.create;ISb.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var fja=function(a){this.project=a};fja.prototype.call=function(a,b){return b.subscribe(new JSb(a,this.project))};var JSb=function(a,b){Iv.call(this,a);this.destination=a;this.project=b;this.index=0};U(JSb,Iv);JSb.EMPTY=Iv.EMPTY;JSb.create=Iv.create;f=JSb.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 Gv(this);this.destination.add(a);this.innerSubscription=a;je(c,a)};
f._complete=function(){var a=this.innerSubscription;a&&!a.closed||Iv.prototype._complete.call(this);this.unsubscribe()};f._unsubscribe=function(){this.innerSubscription=void 0};f.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&Iv.prototype._complete.call(this)};f.notifyNext=function(a){this.destination.next(a)};var gja=function(a){this.notifier=a};gja.prototype.call=function(a,b){a=new dw(a);var c=je(this.notifier,new Gv(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var dw=function(a){Iv.call(this,a);this.notifierHasNotified=!1};U(dw,Iv);dw.EMPTY=Iv.EMPTY;dw.create=Iv.create;dw.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};dw.prototype.notifyComplete=function(){};var hja=function(a,b){this.predicate=a;this.inclusive=b};hja.prototype.call=function(a,b){return b.subscribe(new KSb(a,this.predicate,this.inclusive))};var KSb=function(a,b,c){Ud.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};U(KSb,Ud);KSb.EMPTY=Ud.EMPTY;KSb.create=Ud.create;KSb.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 jja=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};jja.prototype.call=function(a,b){return b.subscribe(new ew(a,this.nextOrObserver,this.error,this.complete))};var ew=function(a,b,c,d){Ud.call(this,a);this._tapComplete=this._tapError=this._tapNext=re;this._tapError=c||re;this._tapComplete=d||re;Rd(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||re,this._tapError=b.error||re,this._tapComplete=b.complete||re)};U(ew,Ud);ew.EMPTY=Ud.EMPTY;
ew.create=Ud.create;ew.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};ew.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};ew.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var kja={leading:!0,trailing:!1},lja=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};lja.prototype.call=function(a,b){return b.subscribe(new fw(a,this.durationSelector,this.leading,this.trailing))};var fw=function(a,b,c,d){Iv.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};U(fw,Iv);fw.EMPTY=Iv.EMPTY;fw.create=Iv.create;
fw.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():LSb(this,a))};fw.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=je(c,new Gv(a)))},MSb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
fw.prototype.notifyNext=function(){MSb(this)};fw.prototype.notifyComplete=function(){MSb(this)};var nja=function(a,b){this.observables=a;this.project=b};nja.prototype.call=function(a,b){return b.subscribe(new gw(a,this.observables,this.project))};var gw=function(a,b,c){Jv.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(je(b[c],new Hv(this,void 0,c)))};U(gw,Jv);gw.EMPTY=Jv.EMPTY;gw.create=Jv.create;
gw.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))};gw.prototype.notifyComplete=function(){};gw.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(Pc(this.values)),this.project?this._tryProject(a):this.destination.next(a))};gw.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var Se=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 Vv(!1);this.onMicrotaskEmpty=new Vv(!1);this.onStable=new Vv(!1);this.onError=new Vv(!1);if("undefined"==typeof Zone)throw new qc(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=Dd.requestAnimationFrame;c=Dd.cancelAnimationFrame;"undefined"!==typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));
this.nativeRequestAnimationFrame=b;sja(this)},uja=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},tja=function(){if(uja())throw new qc(909,!1);};Se.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};Se.prototype.runTask=function(a,b,c){var d=this._inner;a=d.scheduleEventTask("NgZoneEvent: undefined",a,NSb,uia,uia);try{return d.runTask(a,b,c)}finally{d.cancelTask(a)}};Se.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};
Se.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var NSb={},We=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new Vv;this.onMicrotaskEmpty=new Vv;this.onStable=new Vv;this.onError=new Vv};We.prototype.run=function(a,b,c){return a.apply(b,c)};We.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};We.prototype.runOutsideAngular=function(a){return a()};We.prototype.runTask=function(a,b,c){return a.apply(b,c)};
var Lja=new Nc("",{providedIn:"root",factory:vja});var OSb=new Nc(""),PSb=new Nc(""),hw=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")})};
hw.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(){tja();sia(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};hw.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
hw.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())sia(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=hw.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("Pa");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[]};hw.\u0275fac=function(a){return new (a||hw)(u(Se),u(iw),u(PSb))};hw.\u0275prov=mc({token:hw,factory:hw.\u0275fac});var iw=function(){this._applications=new Map};
iw.prototype.registerApplication=function(a,b){this._applications.set(a,b)};iw.prototype.unregisterApplication=function(a){this._applications.delete(a)};iw.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};iw.\u0275fac=function(a){return new (a||iw)};iw.\u0275prov=mc({token:iw,factory:iw.\u0275fac,providedIn:"platform"});var QSb;var TSb=this,Te=null,zja=new Nc("AllowMultipleToken"),Dja=new Nc("PlatformDestroyListeners"),USb=new Nc("appBootstrapListener"),VSb=function(a,b){this.name=a;this.token=b},Ue=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},WSb=function(a,b,c){var d=Fja(null==c?void 0:c.ngZone,Eja({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=eha(b.moduleType,a.injector,Mja(function(){return d})),
g=e.injector.get(Md,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(l){g.handleError(l)}});e.onDestroy(function(){Ija(a._modules,e);h.unsubscribe()})});return Gja(g,d,function(){var h=e.injector.get(yv);zRb(h);return h.donePromise.then(function(){var l=e.injector.get(hh,"en-US")||"en-US";if(null==l)throw Error("va`Expected localeId to be defined` [Expected=> null != "+(l+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},YSb=function(){var a=XSb(),b=jw;var c=void 0===
c?[]:c;var d=Hja({},c);Promise.resolve(new xRb(b)).then(function(e){return WSb(a,e,d)})};Ue.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(kw);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 qc(-403,!1);this._modules.push(a)};Ue.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
Ue.prototype.destroy=function(){if(this._destroyed)throw new qc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Dja,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};ch.Object.defineProperties(Ue.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
Ue.\u0275fac=function(a){return new (a||Ue)(u(qv))};Ue.\u0275prov=mc({token:Ue,factory:Ue.\u0275fac,providedIn:"platform"});var kw=function(){var a=this;this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=wc(Kja);this.zoneIsStable=wc(Lja);this.componentTypes=[];this.components=[];this.isStable=wc(Tv).hasPendingTasks.pipe(oe(function(b){return b?(0,E.of)(!1):a.zoneIsStable}),Be(),Ke());this._injector=wc(nv)};
kw.prototype.bootstrap=function(a,b){var c=this,d=a instanceof bRb;if(!this._injector.get(yv).done)throw new qc(405,!1);var e;d?e=a:e=vRb(this._injector.get(rv),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(XQb);var g=e.create(WQb,[],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);Ija(c.components,g);null==l||l.unregisterApplication(h)});this._loadComponent(g);
return g};var ZSb=function(a){if(a._runningTick)throw new qc(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}},$Sb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new qc(902,!1);b._appRef=a};f=kw.prototype;f.detachView=function(a){Ija(this._views,a);a._appRef=null;var b=a._lView;xd(b[11],2,a._lView[1].firstChild,b,null,null,!1)};
f._loadComponent=function(a){$Sb(this,a.hostView);ZSb(this);this.components.push(a);var b=this._injector.get(USb,[]);b.push.apply(b,Pc(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 Ija(b._destroyListeners,a)}};f.destroy=function(){if(this._destroyed)throw new qc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};ch.Object.defineProperties(kw.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}}});
kw.\u0275fac=function(a){return new (a||kw)};kw.\u0275prov=mc({token:kw,factory:kw.\u0275fac,providedIn:"root"});var Kja=new Nc("",{providedIn:"root",factory:function(){return wc(Md).handleError.bind(TSb)}}),Xe=function(){this.zone=wc(Se);this.applicationRef=wc(kw)};Xe.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){ZSb(a.applicationRef)})}}))};
Xe.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};Xe.\u0275fac=function(a){return new (a||Xe)};Xe.\u0275prov=mc({token:Xe,factory:Xe.\u0275fac,providedIn:"root"});new Nc("");new Nc("AnalyzeForEntryComponents");var gf=0,hf=0,jf=0,$ja=0,bka=0;var uka=vka;var Df=function(a){this._injector=a;this.cachedInjectors=new Map};Df.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()}};Df.\u0275prov=mc({token:Df,providedIn:"environment",factory:function(){return new Df(u(nv))}});var Tf=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=Tf.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Kka)};f=Tf.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 Of=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};Tf.prototype.setDirty=function(){this.dirty=!0};
Tf.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};ch.Object.defineProperties(Tf.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new Vv)}}});Symbol.iterator;var Mf=function(){};Mf.__NG_ELEMENT_ID__=Mka;var Kf=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};U(Kf,Mf);Kf.__NG_ELEMENT_ID__=Mf.__NG_ELEMENT_ID__;Kf.prototype.createEmbeddedView=function(a,b){return aTb(this,a,b)};
var aTb=function(a,b,c){var d=a._declarationTContainer.tView;c=zga(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));Wga(d,c,b);return new Wf(c)};ch.Object.defineProperties(Kf.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var Nf=function(){};Nf.__NG_ELEMENT_ID__=Oka;var Lf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};U(Lf,Nf);Lf.__NG_ELEMENT_ID__=Nf.__NG_ELEMENT_ID__;f=Lf.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=aTb(a,b||{},e);bTb(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 Yf(a[Cc]||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);bTb(this,d.hostView,b);return d};f.insert=function(a,b){return bTb(this,a,b)};
var bTb=function(a,b,c){var d=b._lView,e=d[1];if(Tc(d[3])){var g=a.indexOf(b);-1!==g?a.detach(g):(g=d[3],g=new Lf(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&&cTb(g,e);d[2]|=128;g=Tfa(c,a);h=d[11];var l=h.parentNode(a[7]);if(null!==
l){var q=a[6];d[0]=l;d[6]=q;xd(h,1,e.firstChild,d,l,g,!1)}if(b._appRef)throw new qc(902,!1);b._attachedToViewContainer=!0;d=Pka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};f=Lf.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=Ofa(this._lContainer,a);b&&(uea(Pka(this._lContainer),a),Qfa(b[1],b))};
f.detach=function(a){a=this._adjustIndex(a,-1);var b=Ofa(this._lContainer,a);return b&&null!=uea(Pka(this._lContainer),a)?new Wf(b):null};f._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
ch.Object.defineProperties(Lf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return sd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new od(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=pfa(this._hostTNode,this._hostLView);if(-1!==a){var b=ifa(a,this._hostLView);return new od(b[1].data[(a&32767)+8],b)}return new od(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-11}}});var Qka=Rka;var Yka=function(a){this.queryList=a;this.matches=null};Yka.prototype.clone=function(){return new Yka(this.queryList)};Yka.prototype.setDirty=function(){this.queryList.setDirty()};var Xka=function(a){this.queries=a=void 0===a?[]:a};Xka.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 Xka(c)}return null};
Xka.prototype.detachView=function(a){cTb(this,a)};var cTb=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},Vka=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},Zka=function(a){this.queries=a=void 0===a?[]:a};f=Zka.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 Zka(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)};ch.Object.defineProperties(Zka.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var Uf=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};
Uf.prototype.elementStart=function(a,b){if(dTb(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}eTb(this,a,b,g);eTb(this,a,b,wfa(b,a,e,!1,!1))}else c===Mf?b.type&4&&eTb(this,a,b,-1):eTb(this,a,b,wfa(b,a,c,!1,!1))}};Uf.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
Uf.prototype.template=function(a,b){this.elementStart(a,b)};Uf.prototype.embeddedTView=function(a,b){return dTb(this,a)?(this.crossesNgTemplate=!0,fTb(this,-a.index,b),new Uf(this.metadata)):null};
var dTb=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},eTb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===rd||e===Nf||e===Mf&&c.type&4?fTb(a,c.index,-2):(b=wfa(c,b,e,!1,!1),null!==b&&fTb(a,c.index,b)):fTb(a,c.index,d)}},fTb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var lw=function(){};lw.\u0275fac=function(a){return new (a||lw)(u(kw))};lw.\u0275mod=Dc({type:lw});lw.\u0275inj=nc({});var mw=function(){};mw.__NG_ELEMENT_ID__=$ka;var gTb=function(){};gTb.prototype.supports=function(a){return Sja(a)};gTb.prototype.create=function(a){return new nw(a)};var hTb=function(a,b){return b},nw=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||hTb};
nw.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var iTb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var g=!a||c&&c.currentIndex<ala(a,d,e)?c:a,h=ala(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,x=l-d;if(q!=x){for(var A=0;A<q;A++){var B=A<e.length?e[A]:e[A]=0,K=B+A;x<=K&&K<q&&(e[A]=B+1)}e[g.previousIndex]=x-q}}h!==l&&b(g,h,l)}};
nw.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};nw.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var jTb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};f=nw.prototype;f.diff=function(a){null==a&&(a=[]);if(!Sja(a))throw new qc(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;Tja(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 kTb(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 ow);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 ow);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};ch.Object.defineProperties(nw.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var kTb=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},lTb=function(){this._tail=this._head=null};lTb.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)};
lTb.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};lTb.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 ow=function(){this.map=new Map};ow.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new lTb,this.map.set(b,c));c.add(a)};
ow.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};ow.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};ow.prototype.clear=function(){this.map.clear()};ch.Object.defineProperties(ow.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var mTb=function(){};mTb.prototype.supports=function(a){return a instanceof Map||Rja(a)};mTb.prototype.create=function(){return new nTb};var nTb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};nTb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var oTb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
f=nTb.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||Rja(a)))throw new qc(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 pTb(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)})};ch.Object.defineProperties(nTb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var pTb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var pw=function(a){this.factories=a};pw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new qc(901,!1);};pw.\u0275prov=mc({token:pw,providedIn:"root",factory:function(){return new pw([new gTb])}});var qw=function(a){this.factories=a};qw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new qc(901,!1);};qw.\u0275prov=mc({token:qw,providedIn:"root",factory:function(){return new qw([new mTb])}});var qTb=Bja(null,"core",[]);var rTb=/\s+/,sTb=[],rw=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=sTb;this.stateMap=new Map};
rw.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()};
rw.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})};rw.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}};
rw.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(rTb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};ch.Object.defineProperties(rw.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(rTb):sTb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(rTb):a}}});
rw.\u0275fac=function(a){return new (a||rw)(C(pw),C(qw),C(rd),C(uv))};rw.\u0275dir=Gc({type:rw,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var tTb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};ch.Object.defineProperties(tTb.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 sw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};sw.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)};
sw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;iTb(a,function(h,l,q){null==h.previousIndex?c.createEmbeddedView(b._template,new tTb(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}jTb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
ch.Object.defineProperties(sw.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)}}});sw.\u0275fac=function(a){return new (a||sw)(C(Nf),C(Mf),C(pw))};
sw.\u0275dir=Gc({type:sw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var tw=function(a,b){this._viewContainer=a;this._context=new uTb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
tw.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)))};
ch.Object.defineProperties(tw.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){cla("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){cla("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});tw.\u0275fac=function(a){return new (a||tw)(C(Nf),C(Mf))};
tw.\u0275dir=Gc({type:tw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var uTb=function(){this.ngIf=this.$implicit=null};var vTb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};vTb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};vTb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var uw=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};uw.prototype._addCase=function(){return this._caseCount++};uw.prototype._addDefault=function(a){this._defaultViews.push(a)};
uw.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};
uw.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()}}};ch.Object.defineProperties(uw.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});uw.\u0275fac=function(a){return new (a||uw)};
uw.\u0275dir=Gc({type:uw,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var vw=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new vTb(a,b)};vw.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};vw.\u0275fac=function(a){return new (a||vw)(C(Nf),C(Mf),C(uw,9))};vw.\u0275dir=Gc({type:vw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var ww=function(a,b,c){c._addDefault(new vTb(a,b))};ww.\u0275fac=function(a){return new (a||ww)(C(Nf),C(Mf),C(uw,9))};ww.\u0275dir=Gc({type:ww,selectors:[["","ngSwitchDefault",""]],standalone:!0});var xw=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};xw.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};xw.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)};
xw.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)});oTb(a,function(c){return b._setStyle(c.key,c.currentValue)})};ch.Object.defineProperties(xw.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});xw.\u0275fac=function(a){return new (a||xw)(C(rd),C(qw),C(uv))};
xw.\u0275dir=Gc({type:xw,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var yw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};
yw.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)};
yw.\u0275fac=function(a){return new (a||yw)(C(Nf))};yw.\u0275dir=Gc({type:yw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Uc]});var wTb=function(){};wTb.prototype.createSubscription=function(a,b){return dfa(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};wTb.prototype.dispose=function(a){dfa(function(){return a.unsubscribe()})};var xTb=function(){};xTb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};xTb.prototype.dispose=function(){};var yTb=new xTb,zTb=new wTb,zw=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};f=zw.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(Od(a))return yTb;if(hha(a))return zTb;throw ag();};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())};zw.\u0275fac=function(a){return new (a||zw)(C(mw,16))};zw.\u0275pipe=Hc({name:"async",type:zw,pure:!1,standalone:!0});var Aw=function(){};Aw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ag();return a.toLowerCase()};Aw.\u0275fac=function(a){return new (a||Aw)};Aw.\u0275pipe=Hc({name:"lowercase",type:Aw,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,Bw=
function(){};Bw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ag();return a.replace(ATb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Bw.\u0275fac=function(a){return new (a||Bw)};Bw.\u0275pipe=Hc({name:"titlecase",type:Bw,pure:!0,standalone:!0});var Cla=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,eg={},pla=/((?:[^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]*)/,sla={};var BTb=new Nc("DATE_PIPE_DEFAULT_TIMEZONE"),CTb=new Nc("DATE_PIPE_DEFAULT_OPTIONS"),Cw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
Cw.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,x,A=null!=(x=null!=(q=null!=c?c:null==(l=this.defaultOptions)?void 0:l.timezone)?q:this.defaultTimezone)?x:void 0;return wla(a,h,d||this.locale,A)}catch(B){throw ag();}};Cw.\u0275fac=function(a){return new (a||Cw)(C(hh,16),C(BTb,24),C(CTb,24))};Cw.\u0275pipe=Hc({name:"date",type:Cw,pure:!0,standalone:!0});var Dw=function(){};Dw.prototype.transform=function(a){return JSON.stringify(a,null,2)};Dw.\u0275fac=function(a){return new (a||Dw)};Dw.\u0275pipe=Hc({name:"json",type:Dw,pure:!1,standalone:!0});var Ew=function(a){this.differs=a;this.keyValues=[];this.compareFn=Ela};Ew.prototype.transform=function(a,b){var c=this;b=void 0===b?Ela: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};
Ew.\u0275fac=function(a){return new (a||Ew)(C(qw,16))};Ew.\u0275pipe=Hc({name:"keyvalue",type:Ew,pure:!1,standalone:!0});var Hla=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var Fw=function(a){this._locale=a};
Fw.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("$a`"+a);var d=a}else d=Number(a);a=d;var e=Pd(c)[14][0],g=$f(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],x=-1!==l.indexOf(".")?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],A=x[0],B=x[1]||"";d.posPre=A.substring(0,A.indexOf("#"));for(e=0;e<B.length;e++){var K=B.charAt(e);"0"===K?d.minFrac=d.maxFrac=e+1:"#"===K?d.maxFrac=e+1:d.posSuf+=K}var O=A.split(",");d.gSize=O[1]?O[1].length:0;d.lgSize=O[2]||O[1]?(O[2]||O[1]).length:0;if(q){var P=l.length-d.posPre.length-d.posSuf.length,Y=q.indexOf("#");d.negPre=q.substring(0,Y).replace(/'/g,"");d.negSuf=q.slice(Y+P).replace(/'/g,"")}else d.negPre=g+d.posPre,d.negSuf=d.posSuf;return Kla(a,d,c,b)}catch(X){throw ag();}};
Fw.\u0275fac=function(a){return new (a||Fw)(C(hh,16))};Fw.\u0275pipe=Hc({name:"number",type:Fw,pure:!0,standalone:!0});var Gw=function(){};Gw.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw ag();return a.slice(b,c)};Gw.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};Gw.\u0275fac=function(a){return new (a||Gw)};Gw.\u0275pipe=Hc({name:"slice",type:Gw,pure:!1,standalone:!0});var Hw=function(){};Hw.\u0275fac=function(a){return new (a||Hw)};Hw.\u0275mod=Dc({type:Hw});Hw.\u0275inj=nc({});var Iw=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};Iw.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};Iw.prototype.registerOnTouched=function(a){this.onTouched=a};Iw.prototype.registerOnChange=function(a){this.onChange=a};Iw.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};Iw.\u0275fac=function(a){return new (a||Iw)(C(uv),C(rd))};Iw.\u0275dir=Gc({type:Iw});
var lg=function(){Iw.apply(this,arguments)};U(lg,Iw);lg.\u0275fac=function(){var a;return function(b){return(a||(a=pd(lg)))(b||lg)}}();lg.\u0275dir=Gc({type:lg,features:[Ye]});var Jw=new Nc("NgValueAccessor");var DTb=function(a){return a.src};new Nc("ImageLoader",{providedIn:"root",factory:function(){return DTb}});var ah=new Nc("DocumentToken");new Nc("PRECONNECT_CHECK_BLOCKLIST");new Nc("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 Nc("ImageConfig",{providedIn:"root",factory:function(){return ETb}});var FTb=null,GTb=function(){};var Kw=function(){};Kw.prototype.historyGo=function(){throw Error("ab");};Kw.\u0275fac=function(a){return new (a||Kw)};Kw.\u0275prov=mc({token:Kw,factory:function(){return wc(Lw)},providedIn:"platform"});var HTb=new Nc("Location Initialized"),Lw=function(){this._doc=wc(ah);this._location=window.location;this._history=window.history};U(Lw,Kw);
Lw.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=Lw.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};
ch.Object.defineProperties(Lw.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}}});Lw.\u0275fac=function(a){return new (a||Lw)};Lw.\u0275prov=mc({token:Lw,factory:function(){return new Lw},providedIn:"platform"});var Mw=function(){};Mw.prototype.historyGo=function(){throw Error("ab");};Mw.\u0275fac=function(a){return new (a||Mw)};Mw.\u0275prov=mc({token:Mw,factory:function(){return wc(Nw)},providedIn:"root"});var KTb=new Nc("appBaseHref"),Nw=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=wc(ah).location)?void 0:c.origin)?e:""};U(Nw,Mw);f=Nw.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 Lla(this._baseHref,a)};f.path=function(a){var b=this._platformLocation.pathname+gg(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+gg(d)))};
f.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+gg(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)};Nw.\u0275fac=function(a){return new (a||Nw)(u(Kw),u(KTb,8))};Nw.\u0275prov=mc({token:Nw,factory:Nw.\u0275fac,providedIn:"root"});var Ow=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};U(Ow,Mw);f=Ow.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=Lla(this._baseHref,a);return 0<a.length?"#"+a:a};f.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+gg(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+gg(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)};Ow.\u0275fac=function(a){return new (a||Ow)(u(Kw),u(KTb,8))};
Ow.\u0275prov=mc({token:Ow,factory:Ow.\u0275fac});var Pw=function(a){var b=this;this._subject=new Vv;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Nla(Mla(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=Pw.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 Mla(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+gg(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+gg(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})};Pw.\u0275fac=function(a){return new (a||Pw)(u(Mw))};Pw.\u0275prov=mc({token:Pw,factory:function(){return new Pw(u(Mw))},providedIn:"root"});new wv;var LTb=function(){};LTb.\u0275prov=mc({token:LTb,providedIn:"root",factory:function(){return new MTb}});var MTb=function(){var a=u(ah),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:Jw,useExisting:sc(function(){return kg}),multi:!0},RTb=new Nc("CompositionEventMode"),kg=function(a,b,c){Iw.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((FTb?window.navigator.userAgent:"").toLowerCase()))};U(kg,Iw);kg.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};kg.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
kg.prototype._compositionStart=function(){this._composing=!0};kg.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};kg.\u0275fac=function(a){return new (a||kg)(C(uv),C(rd),C(RTb,8))};
kg.\u0275dir=Gc({type:kg,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},features:[Cf([QTb]),Ye]});var Qw=new Nc("NgValidators"),STb=new Nc("NgAsyncValidators"),TTb=function(a){return Qla(a)};var Rw=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};f=Rw.prototype;f._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=$la(this._rawValidators)};f._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=bma(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};
ch.Object.defineProperties(Rw.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 Sw=function(){Rw.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};U(Sw,Rw);var Tw=function(){Rw.apply(this,arguments)};U(Tw,Rw);ch.Object.defineProperties(Tw.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var UTb=function(a){this._cd=a};
ch.Object.defineProperties(UTb.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 Uw=function(a){this._cd=a};U(Uw,UTb);Uw.\u0275fac=function(a){return new (a||Uw)(C(Sw,2))};
Uw.\u0275dir=Gc({type:Uw,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&mf("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:[Ye]});var Vw=function(a){this._cd=a};U(Vw,UTb);Vw.\u0275fac=function(a){return new (a||Vw)(C(Tw,10))};
Vw.\u0275dir=Gc({type:Vw,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&mf("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:[Ye]});var VTb=new Nc("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var Ww=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)},mma=function(a,b){a._assignValidators(b)},nma=function(a,b){a._assignAsyncValidators(b)},WTb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(TTb):a===TTb},pma=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&pma(a._parent,b)},XTb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){XTb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},qma=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&qma(a._parent,b)},YTb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){YTb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};f=Ww.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}))});jg(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&&(jg(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 jg=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&&jg(a._parent,b)};f=Ww.prototype;
f._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});jg(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=Vla(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 Vv;this.statusChanges=new Vv};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){mg(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)?$la(a):a||null};f._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?bma(a):a||null};
ch.Object.defineProperties(Ww.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 Xw=function(a,b,c){var d=Ww.call,e=uma(b);c=(mg(b)?b.asyncValidators:c)||null;d.call(Ww,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();jg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};U(Xw,Ww);var ZTb=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=Xw.prototype;
f.addControl=function(a){var b=void 0===b?{}:b;ZTb(this,a);jg(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];jg(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;vma(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new qc(1E3,"");if(!e[d])throw new qc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});jg(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);jg(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&&jg(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 $Tb={provide:Tw,useExisting:sc(function(){return Yw})},aUb=Promise.resolve(),Yw=function(a,b,c){Tw.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new Vv;this.form=new Xw({},$la(a),bma(b))};U(Yw,Tw);f=Yw.prototype;f.ngAfterViewInit=function(){this._setUpdateStrategy()};
f.addControl=function(a){var b=this;aUb.then(function(){var c=b._findContainer(a.path);a.control=ZTb(c,a.name,a.control);hg(a.control,a,b.callSetDisabledState);jg(a.control,{emitEvent:!1});b._directives.add(a)})};f.removeControl=function(a){var b=this;aUb.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;aUb.then(function(){c.form.get(a.path).setValue(b)})};f.setValue=function(a){this.control.setValue(a)};
f.onSubmit=function(a){this.submitted=!0;sma(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};
ch.Object.defineProperties(Yw.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}}});Yw.\u0275fac=function(a){return new (a||Yw)(C(Qw,10),C(STb,10),C(VTb,8))};
Yw.\u0275dir=Gc({type:Yw,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Cf([$Tb]),Ye]});var Zw=function(a,b,c){a=void 0===a?null:a;var d=Ww.call,e=uma(b);c=(mg(b)?b.asyncValidators:c)||null;d.call(Ww,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();jg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});mg(b)&&(b.nonNullable||b.initialValueIsDefault)&&(wma(a)?this.defaultValue=a.value:this.defaultValue=a)};U(Zw,Ww);f=Zw.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)});jg(this,b)};f.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);YTb(this,b);XTb(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&&qma(this),this._pendingTouched&&pma(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};f._applyFormState=function(a){wma(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 bUb={provide:Sw,useExisting:sc(function(){return $w})},cUb=Promise.resolve(),$w=function(a,b,c,d,e,g){Sw.call(this);this._changeDetectorRef=e;this.callSetDisabledState=g;this.control=new Zw;this._registered=!1;this.name="";this.update=new Vv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=tma(d)};U($w,Sw);f=$w.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);rma(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(){hg(this.control,this,this.callSetDisabledState);jg(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;cUb.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&&Xf(a);cUb.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?dma(a,this._parent):[a]};
ch.Object.defineProperties($w.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}}});$w.\u0275fac=function(a){return new (a||$w)(C(Tw,9),C(Qw,10),C(STb,10),C(Jw,10),C(mw,8),C(VTb,8))};
$w.\u0275dir=Gc({type:$w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Cf([bUb]),Ye,Uc]});var ax=function(){};ax.\u0275fac=function(a){return new (a||ax)};ax.\u0275dir=Gc({type:ax,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var dUb={provide:Jw,useExisting:sc(function(){return bx}),multi:!0},bx=function(){lg.apply(this,arguments)};U(bx,lg);bx.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};bx.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};bx.\u0275fac=function(){var a;return function(b){return(a||(a=pd(bx)))(b||bx)}}();
bx.\u0275dir=Gc({type:bx,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Cf([dUb]),Ye]});var eUb={provide:Jw,useExisting:sc(function(){return cx}),multi:!0},dx=function(){};dx.\u0275fac=function(a){return new (a||dx)};dx.\u0275mod=Dc({type:dx});dx.\u0275inj=nc({});var ex=function(){this._accessors=[]};ex.prototype.add=function(a,b){this._accessors.push([a,b])};ex.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}};
ex.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};ex.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};ex.\u0275fac=function(a){return new (a||ex)};ex.\u0275prov=mc({token:ex,factory:ex.\u0275fac,providedIn:dx});
var cx=function(a,b,c,d){lg.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=wc(VTb,{optional:!0}))?e:"whenDisabledForLegacyCode"};U(cx,lg);f=cx.prototype;f.ngOnInit=function(){this._control=this._injector.get(Sw);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)};
cx.\u0275fac=function(a){return new (a||cx)(C(uv),C(rd),C(ex),C(qv))};cx.\u0275dir=Gc({type:cx,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&M("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Cf([eUb]),Ye]});var fUb=new Nc("NgModelWithFormControlWarning"),gUb={provide:Sw,useExisting:sc(function(){return fx})},fx=function(a,b,c,d,e){Sw.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new Vv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=tma(c)};U(fx,Sw);
fx.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&kma(b,this);hg(this.form,this,this.callSetDisabledState);jg(this.form,{emitEvent:!1})}rma(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};fx.prototype.ngOnDestroy=function(){this.form&&kma(this.form,this)};fx.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};fx.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
ch.Object.defineProperties(fx.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}}});fx.\u0275fac=function(a){return new (a||fx)(C(Qw,10),C(STb,10),C(Jw,10),C(fUb,8),C(VTb,8))};
fx.\u0275dir=Gc({type:fx,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Cf([gUb]),Ye,Uc]});var hUb={provide:Tw,useExisting:sc(function(){return gx})},gx=function(a,b,c){Tw.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 Vv;this._setValidators(a);this._setAsyncValidators(b)};U(gx,Tw);f=gx.prototype;f.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
f.ngOnDestroy=function(){this.form&&(jma(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};f.addControl=function(a){var b=this.form.get(a.path);hg(b,a,this.callSetDisabledState);jg(b,{emitEvent:!1});this.directives.push(a);return b};f.removeControl=function(a){kma(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;sma(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&&(kma(c||null,b),d instanceof Zw&&(hg(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
f._setUpFormContainer=function(a){var b=this.form.get(a.path);ema(b,a);jg(b,{emitEvent:!1})};f._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&jma(b,a)&&jg(b,{emitEvent:!1})}};f._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};f._updateValidators=function(){ema(this.form,this);this._oldForm&&jma(this._oldForm,this)};f._checkFormPresent=function(){};
ch.Object.defineProperties(gx.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[]}}});gx.\u0275fac=function(a){return new (a||gx)(C(Qw,10),C(STb,10),C(VTb,8))};
gx.\u0275dir=Gc({type:gx,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Cf([hUb]),Ye,Uc]});var iUb={provide:Sw,useExisting:sc(function(){return hx})},hx=function(a,b,c,d,e){Sw.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new Vv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=tma(d)};U(hx,Sw);f=hx.prototype;f.ngOnChanges=function(a){this._added||this._setUpControl();rma(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};
ch.Object.defineProperties(hx.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return dma(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});hx.\u0275fac=function(a){return new (a||hx)(C(Tw,13),C(Qw,10),C(STb,10),C(Jw,10),C(fUb,8))};
hx.\u0275dir=Gc({type:hx,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Cf([iUb]),Ye,Uc]});var ix=function(){this._validator=Sla};ix.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):Sla,this._onChange&&this._onChange())};ix.prototype.validate=function(a){return this._validator(a)};ix.prototype.registerOnValidatorChange=function(a){this._onChange=a};ix.prototype.enabled=function(a){return null!=a};ix.\u0275fac=function(a){return new (a||ix)};
ix.\u0275dir=Gc({type:ix,features:[Uc]});var jUb={provide:Qw,useExisting:sc(function(){return jx}),multi:!0},jx=function(){ix.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return Pla(a)}};U(jx,ix);jx.\u0275fac=function(){var a;return function(b){return(a||(a=pd(jx)))(b||jx)}}();
jx.\u0275dir=Gc({type:jx,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&&bf("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Cf([jUb]),Ye]});var kUb={provide:Qw,useExisting:sc(function(){return kx}),multi:!0},kx=function(){ix.apply(this,arguments);this.inputName="required";this.normalizeInput=Xf;this.createValidator=function(){return Qla}};
U(kx,ix);kx.prototype.enabled=function(a){return a};kx.\u0275fac=function(){var a;return function(b){return(a||(a=pd(kx)))(b||kx)}}();kx.\u0275dir=Gc({type:kx,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&bf("required",b._enabled?"":null)},inputs:{required:"required"},features:[Cf([kUb]),Ye]});
var lUb={provide:Qw,useExisting:sc(function(){return lx}),multi:!0},lx=function(){ix.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return Rla(a)}};U(lx,ix);lx.\u0275fac=function(){var a;return function(b){return(a||(a=pd(lx)))(b||lx)}}();
lx.\u0275dir=Gc({type:lx,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&bf("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Cf([lUb]),Ye]});var mUb={provide:Qw,useExisting:sc(function(){return mx}),multi:!0},mx=function(){ix.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return Tla(a)}};
U(mx,ix);mx.\u0275fac=function(){var a;return function(b){return(a||(a=pd(mx)))(b||mx)}}();mx.\u0275dir=Gc({type:mx,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&bf("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Cf([mUb]),Ye]});var nx=function(){};nx.\u0275fac=function(a){return new (a||nx)};nx.\u0275mod=Dc({type:nx});nx.\u0275inj=nc({imports:[dx]});var ox=function(){};ox.\u0275fac=function(a){return new (a||ox)};ox.\u0275mod=Dc({type:ox});ox.\u0275inj=nc({imports:[nx]});var px=function(){};px.\u0275fac=function(a){return new (a||px)};px.\u0275mod=Dc({type:px});px.\u0275inj=nc({imports:[nx]});new wv;var xma,yma="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 ng;var Cma,pg;var Ema;var nUb;try{nUb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){nUb=!1}
var qx=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&&!nUb)&&"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};qx.\u0275fac=function(a){return new (a||qx)(u(sv))};qx.\u0275prov=mc({token:qx,factory:qx.\u0275fac,providedIn:"root"});var rx=function(a){this._platform=a};rx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};rx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var oUb=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===Ima(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=Ima(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};
rx.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")||Hma(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};rx.\u0275fac=function(a){return new (a||rx)(u(qx))};rx.\u0275prov=mc({token:rx,factory:rx.\u0275fac,providedIn:"root"});var sx=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 pUb(g)};this.endAnchorListener=function(){return qUb(g)};this._enabled=!0;(void 0===e?0:e)||rUb(this)};
sx.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 rUb=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))},sUb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
sx.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)};
sx.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 qUb(this)};var qUb=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},pUb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};f=sx.prototype;f.hasAttached=function(){return this._hasAttached};
f._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&oUb(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)&&oUb(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 tUb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
sx.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Ce()).subscribe(a)};ch.Object.defineProperties(sx.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 tx=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
tx.prototype.create=function(a,b){return new sx(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};tx.\u0275fac=function(a){return new (a||tx)(u(rx),u(Se),u(ah))};tx.\u0275prov=mc({token:tx,factory:tx.\u0275fac,providedIn:"root"});var ux=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};f=ux.prototype;
f.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};f.ngAfterContentInit=function(){rUb(this.focusTrap);this.autoCapture&&this._captureFocus()};f.ngDoCheck=function(){this.focusTrap.hasAttached()||rUb(this.focusTrap)};f.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
f._captureFocus=function(){this._previouslyFocusedElement=qg();sUb(this.focusTrap)};ch.Object.defineProperties(ux.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=tg(a)}},autoCapture:{configurable:!0,enumerable:!0,get:function(){return this._autoCapture},set:function(a){this._autoCapture=tg(a)}}});ux.\u0275fac=function(a){return new (a||ux)(C(rd),C(tx),C(ah))};
ux.\u0275dir=Gc({type:ux,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Uc]});var uUb=new Nc("cdk-input-modality-detector-options"),vUb={ignoreKeys:[18,17,224,91,16]},vx=og({passive:!0,capture:!0}),wx=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new E.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=rg(g))};this._onMousedown=function(g){650>Date.now()-e._lastTouchMs||
(e._modality.next(Kma(g)?"keyboard":"mouse"),e._mostRecentTarget=rg(g))};this._onTouchstart=function(g){Lma(g)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=rg(g))};this._options=Object.assign({},vUb,d);this.modalityDetected=this._modality.pipe(Me(1));this.modalityDetected.pipe(Be());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,vx);c.addEventListener("mousedown",e._onMousedown,vx);c.addEventListener("touchstart",
e._onTouchstart,vx)})};wx.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,vx),document.removeEventListener("mousedown",this._onMousedown,vx),document.removeEventListener("touchstart",this._onTouchstart,vx))};ch.Object.defineProperties(wx.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
wx.\u0275fac=function(a){return new (a||wx)(u(qx),u(Se),u(ah),u(uUb,8))};wx.\u0275prov=mc({token:wx,factory:wx.\u0275fac,providedIn:"root"});var wUb=new Nc("cdk-focus-monitor-default-options"),xUb=og({passive:!0,capture:!0}),xx=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 E.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var l=rg(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};
xx.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=vg(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,E.of)(null);var c=Fma(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new E.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
xx.prototype.stopMonitoring=function(a){a=vg(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var yx=function(a,b,c,d){b=vg(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=xx.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=rg(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,xUb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,xUb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(Pe(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,xUb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,xUb),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};xx.\u0275fac=function(a){return new (a||xx)(u(Se),u(qx),u(wx),u(ah,8),u(wUb,8))};xx.\u0275prov=mc({token:xx,factory:xx.\u0275fac,providedIn:"root"});
var zx=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new Vv};zx.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)})};zx.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
ch.Object.defineProperties(zx.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});zx.\u0275fac=function(a){return new (a||zx)(C(rd),C(xx))};zx.\u0275dir=Gc({type:zx,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var Ax=function(){};Ax.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};Ax.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};ch.Object.defineProperties(Ax.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var Bx=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};U(Bx,Ax);
var Cx=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};U(Cx,Ax);Cx.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return Ax.prototype.attach.call(this,a)};Cx.prototype.detach=function(){this.context=void 0;return Ax.prototype.detach.call(this)};ch.Object.defineProperties(Cx.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Dx=function(){this._isDisposed=!1};f=Dx.prototype;
f.hasAttached=function(){return!!this._attachedPortal};f.attach=function(a){if(a instanceof Bx)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Cx)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 Ex=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};U(Ex,Dx);
Ex.prototype.attachComponentPortal=function(a){var b=this,c=vRb(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||WQb),$Sb(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};Ex.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};
Ex.prototype.dispose=function(){Dx.prototype.dispose.call(this);this.outletElement.remove()};Ex.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var Fx=function(a,b){Cx.call(this,a,b)};U(Fx,Cx);Fx.\u0275fac=function(a){return new (a||Fx)(C(Mf),C(Nf))};Fx.\u0275dir=Gc({type:Fx,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Ye]});var Gx=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new Vv;this._document=c};U(Gx,Dx);f=Gx.prototype;f.ngOnInit=function(){this._isInitialized=!0};
f.ngOnDestroy=function(){Dx.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=vRb(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]);Dx.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});Dx.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};
ch.Object.defineProperties(Gx.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Dx.prototype.detach.call(this),a&&Dx.prototype.attach.call(this,a),this._attachedPortal=a||null}}});Gx.\u0275fac=function(a){return new (a||Gx)(C(rv),C(Nf),C(ah))};
Gx.\u0275dir=Gc({type:Gx,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ye]});var Hx=function(){};Hx.\u0275fac=function(a){return new (a||Hx)};Hx.\u0275mod=Dc({type:Hx});Hx.\u0275inj=nc({});var yUb=function(){};U(yUb,GTb);var Ix=function(){};U(Ix,yUb);var zUb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};Ix.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};Ix.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};Ix.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};
Ix.prototype.getBaseHref=function(){var a=(AUb=AUb||document.querySelector("base"))?AUb.getAttribute("href"):null;null==a?a=null:(BUb=BUb||document.createElement("a"),BUb.setAttribute("href",a),a=BUb.pathname,a="/"===a.charAt(0)?a:"/"+a);return a};var AUb=null,BUb;var CUb=function(){},RSb=function(a){Dd.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new qc(5103,!1);return b};Dd.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Dd.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Dd.frameworkStabilizers||(Dd.frameworkStabilizers=[]);Dd.frameworkStabilizers.push(function(b){var c=Dd.getAllAngularTestabilities(),d=c.length,e=!1,g=function(h){e=e||
h;d--;0==d&&b(e)};c.forEach(function(h){h.whenStable(g)})})};CUb.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 Jx=function(){};Jx.prototype.build=function(){return new XMLHttpRequest};Jx.\u0275fac=function(a){return new (a||Jx)};Jx.\u0275prov=mc({token:Jx,factory:Jx.\u0275fac});var DUb=new Nc("EventManagerPlugins"),Kx=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()};Kx.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};Kx.prototype.getZone=function(){return this._zone};
Kx.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 qc(5101,!1);this._eventNameToPlugin.set(a,b);return b};Kx.\u0275fac=function(a){return new (a||Kx)(u(DUb),u(Se))};Kx.\u0275prov=mc({token:Kx,factory:Kx.\u0275fac});var EUb=function(a){this._doc=a};var Lx=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=FUb(this);this.platformIsServer="server"===d;GUb(this)},JUb=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===HUb(a,c,1))for(var d=a,e=k(d.hostNodes),g=e.next();!g.done;g=e.next())IUb(d,g.value,c)};
Lx.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())KUb(this,b.value);GUb(this)};
var KUb=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)},FUb=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},HUb=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},IUb=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})},GUb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
Lx.\u0275fac=function(a){return new (a||Lx)(u(ah),u(ZQb),u($Qb,8),u(sv))};Lx.\u0275prov=mc({token:Lx,factory:Lx.\u0275fac});var LUb={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/"},Mma=/%COMP%/g,MUb=new Nc("RemoveStylesOnCompDestory",{providedIn:"root",factory:function(){return!1}}),Nx=function(a,b,c,d,e,g,h,l){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestory=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 Mx(a,e,h,this.platformIsServer)};Nx.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&3===b.encapsulation&&(b=Object.assign({},b,{encapsulation:0}));b=NUb(this,a,b);b instanceof OUb?(JUb(b.sharedStylesHost,b.styles),b.rendererUsageCount++,b.setAttribute(a,b.hostAttr,"")):b instanceof Ox&&(JUb(b.sharedStylesHost,b.styles),b.rendererUsageCount++);return b};
var NUb=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.removeStylesOnCompDestory,x=a.platformIsServer;switch(c.encapsulation){case 0:e=new OUb(h,l,c,a.appId,q,e,g,x);break;case 3:return new PUb(h,l,b,c,e,g,a.nonce,x);default:e=new Ox(h,l,c,q,e,g,x)}e.onDestroy=function(){return d.delete(c.id)};d.set(c.id,e)}return e};Nx.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};
Nx.\u0275fac=function(a){return new (a||Nx)(u(Kx),u(Lx),u(ZQb),u(MUb),u(ah),u(sv),u(Se),u($Qb))};Nx.\u0275prov=mc({token:Nx,factory:Nx.\u0275fac});var Mx=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=Mx.prototype;f.destroy=function(){};f.createElement=function(a,b){return b?this.doc.createElementNS(LUb[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 qc(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=LUb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};f.removeAttribute=function(a,b,c){if(c){var d=LUb[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("bb`"+a+"`"+b);return this.eventManager.addEventListener(a,b,QUb(this,c))};
var QUb=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()}},PUb=function(a,b,c,d,e,g,h,l){Mx.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())IUb(a,b,e.value);d=Nma(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)};U(PUb,Mx);var RUb=function(a,b){return b===a.hostEl?a.shadowRoot:b};f=PUb.prototype;f.appendChild=function(a,b){return Mx.prototype.appendChild.call(this,RUb(this,a),b)};f.insertBefore=function(a,b,c){return Mx.prototype.insertBefore.call(this,RUb(this,a),b,c)};f.removeChild=function(a,b){return Mx.prototype.removeChild.call(this,RUb(this,a),b)};
f.parentNode=function(a){return RUb(this,Mx.prototype.parentNode.call(this,RUb(this,a)))};f.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var Ox=function(a,b,c,d,e,g,h,l){Mx.call(this,a,e,g,h);this.sharedStylesHost=b;this.removeStylesOnCompDestory=d;this.rendererUsageCount=0;this.styles=l?Nma(l,c.styles):c.styles};U(Ox,Mx);
Ox.prototype.destroy=function(){if(this.removeStylesOnCompDestory){for(var a=this.sharedStylesHost,b=k(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=HUb(a,c,-1)&&KUb(a,c);this.rendererUsageCount--;if(0===this.rendererUsageCount){var d;null==(d=this.onDestroy)||d.call(this)}}};var OUb=function(a,b,c,d,e,g,h,l){d=d+"-"+c.id;Ox.call(this,a,b,c,e,g,h,l,d);this.contentAttr="_ngcontent-%COMP%".replace(Mma,d);this.hostAttr="_nghost-%COMP%".replace(Mma,d)};U(OUb,Ox);
OUb.prototype.createElement=function(a,b){a=Ox.prototype.createElement.call(this,a,b);Ox.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var Px=function(a){this._doc=a};U(Px,EUb);Px.prototype.supports=function(){return!0};Px.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};Px.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};Px.\u0275fac=function(a){return new (a||Px)(u(ah))};Px.\u0275prov=mc({token:Px,factory:Px.\u0275fac});var SUb=["alt","control","meta","shift"],TUb={"\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"},UUb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},Qx=function(a){this._doc=a};U(Qx,EUb);Qx.prototype.supports=function(a){return null!=VUb(a)};
Qx.prototype.addEventListener=function(a,b,c){var d=VUb(b),e=WUb(d.fullKey,c,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return zUb(a,d.domEventName,e)})};
var VUb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=XUb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");SUb.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},YUb=function(a,b){var c=TUb[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");SUb.forEach(function(e){e!==c&&(0,UUb[e])(a)&&(d+=e+".")});d+=c;return d===b},WUb=function(a,b,c){return function(d){YUb(d,a)&&c.runGuarded(function(){return b(d)})}},XUb=function(a){switch(a){case "esc":return"escape";default:return a}};Qx.\u0275fac=function(a){return new (a||Qx)(u(ah))};Qx.\u0275prov=mc({token:Qx,factory:Qx.\u0275fac});var XSb=Bja(qTb,"browser",[{provide:sv,useValue:"browser"},{provide:wja,useValue:function(){var a=new Ix;FTb||(FTb=a)},multi:!0},{provide:ah,useFactory:function(){return Bfa=document},deps:[]}]),ZUb=new Nc(""),$Ub=[{provide:PSb,useClass:CUb,deps:[]},{provide:OSb,useClass:hw,deps:[Se,iw,PSb]},{provide:hw,useClass:hw,deps:[Se,iw,PSb]}],aVb=[{provide:Cja,useValue:"root"},{provide:Md,useFactory:function(){return new Md},deps:[]},{provide:DUb,useClass:Px,multi:!0,deps:[ah,Se,sv]},{provide:DUb,useClass:Qx,
multi:!0,deps:[ah]},Nx,Lx,Kx,{provide:cRb,useExisting:Nx},{provide:PTb,useClass:Jx,deps:[]},[]],Rx=function(){};Rx.\u0275fac=function(a){return new (a||Rx)(u(ZUb,12))};Rx.\u0275mod=Dc({type:Rx});Rx.\u0275inj=nc({providers:[].concat(Pc(aVb),Pc($Ub)),imports:[Hw,lw]});var Sx=function(a){this._doc=a};Sx.prototype.getTitle=function(){return this._doc.title};Sx.prototype.setTitle=function(a){this._doc.title=a||""};Sx.\u0275fac=function(a){return new (a||Sx)(u(ah))};Sx.\u0275prov=mc({token:Sx,factory:function(a){var b=null;a?b=new a:b=new Sx(u(ah));return b},providedIn:"root"});new Nc("HammerGestureConfig");new Nc("HammerLoader");new ov;var bVb=function(){},cVb=function(){};var Ux=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?this.lazyInit="string"===typeof a?function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(0<d){var e=c.slice(0,d),g=e.toLowerCase();c=c.slice(d+1).trim();dVb(b,e,g);b.headers.has(g)?b.headers.get(g).push(c):b.headers.set(g,[c])}})}:function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;d="string"===typeof d?[d]:"number"===typeof d?
[d.toString()]:d.map(function(g){return g.toString()});if(0<d.length){var e=c.toLowerCase();b.headers.set(e,d);dVb(b,c,e)}})}:this.headers=new Map};f=Ux.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 dVb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};
Ux.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof Ux?eVb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return fVb(a,b)}),this.lazyUpdate=null))};var eVb=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))})};
Ux.prototype.clone=function(a){var b=new Ux;b.lazyInit=this.lazyInit&&this.lazyInit instanceof Ux?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var fVb=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;dVb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,Pc(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)}};
Ux.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 gVb=function(){},Pma=/%(\d[a-f0-9])/gi,Qma={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},Vx=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new gVb;if(a.fromString){if(a.fromObject)throw Error("cb");this.map=Oma(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(Sma):[""+d];b.map.set(c,d)})):this.map=null};f=Vx.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=Rma(b);return a.map.get(b).map(function(d){return c+"="+Rma(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};f.clone=function(a){var b=new Vx({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 hVb=function(){this.map=new Map};f=hVb.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 Wx=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 Ux);this.context||(this.context=new hVb);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 Vx,this.urlWithParams=b)},iVb=function(a){return null===a.body?null:Tma(a.body)||Uma(a.body)||Vma(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?a.body:a.body instanceof
Vx?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
Wx.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,x,A=null!=(x=a.context)?x:this.context;void 0!==a.setHeaders&&(l=Object.keys(a.setHeaders).reduce(function(B,K){return B.set(K,a.setHeaders[K])},l));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(B,K){return B.set(K,a.setParams[K])},q));return new Wx(b,c,e,{params:q,headers:l,context:A,reportProgress:h,responseType:d,withCredentials:g})};var Xx=function(a,b,c){this.headers=a.headers||new Ux;this.status=void 0!==a.status?a.status:void 0===b?200:b;this.statusText=a.statusText||(void 0===c?"OK":c);this.url=a.url||null;this.ok=200<=this.status&&300>this.status},jVb=function(a){a=void 0===a?{}:a;Xx.call(this,a);this.type=2};U(jVb,Xx);
jVb.prototype.clone=function(a){a=void 0===a?{}:a;return new jVb({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 Yx=function(a){a=void 0===a?{}:a;Xx.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};U(Yx,Xx);
Yx.prototype.clone=function(a){a=void 0===a?{}:a;return new Yx({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 kVb=function(a){Xx.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};U(kVb,Xx);var Zx=function(a){this.handler=a};f=Zx.prototype;
f.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof Wx)b=a;else{var e=void 0;e=c.headers instanceof Ux?c.headers:new Ux(c.headers);var g=void 0;c.params&&(g=c.params instanceof Vx?c.params:new Vx({fromObject:c.params}));b=new Wx(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,E.of)(b).pipe(oe(function(h){return d.handler.handle(h)},1));if(a instanceof
Wx||"events"===c.observe)return e;a=e.pipe(ue(function(h){return h instanceof Yx}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(D(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("db");return h.body}));case "blob":return a.pipe(D(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("eb");return h.body}));case "text":return a.pipe(D(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("fb");return h.body}));
default:return a.pipe(D(function(h){return h.body}))}case "response":return a;default:throw Error("gb`"+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 Vx).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,Wma(c,b))};f.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,Wma(c,b))};f.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,Wma(c,b))};Zx.\u0275fac=function(a){return new (a||Zx)(u(bVb))};Zx.\u0275prov=mc({token:Zx,factory:Zx.\u0275fac});var lVb=new Nc(""),mVb=new Nc(""),nVb=new Nc(""),ay=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=wc(Tv)};U(ay,bVb);ay.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(Pc(this.injector.get(mVb)),Pc(this.injector.get(nVb,[]))))).reduceRight(function(d,e){return Zma(d,e,b.injector)},Xma));var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(Ee(function(){return b.pendingTasks.remove(c)}))};
ay.\u0275fac=function(a){return new (a||ay)(u(cVb),u(nv))};ay.\u0275prov=mc({token:ay,factory:ay.\u0275fac});var oVb=/^\)\]\}',?\n/,by=function(a){this.xhrFactory=a};
by.prototype.handle=function(a){if("JSONP"===a.method)throw new qc(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,E.from)(b.\u0275loadImpl()):(0,E.of)(null)).pipe(Oe(function(){return new E.Observable(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(O,P){return d.setRequestHeader(O,P.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
null===a.body||Vma(a.body)?null:Uma(a.body)?a.body.type||null:Tma(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof Vx?"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=iVb(a),h=null,l=function(){if(null!==h)return h;var O=d.statusText||"OK",P=
new Ux(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 jVb({headers:P,status:d.status,statusText:O,url:Y})},q=function(){var O=l(),P=O.headers,Y=O.status,X=O.statusText;O=O.url;var ka=null;204!==Y&&(ka="undefined"===typeof d.response?d.responseText:d.response);0===Y&&(Y=ka?200:0);var ma=200<=Y&&300>Y;if("json"===a.responseType&&"string"===typeof ka){var ya=
ka;ka=ka.replace(oVb,"");try{ka=""!==ka?JSON.parse(ka):null}catch(Aa){ka=ya,ma&&(ma=!1,ka={error:Aa,text:ka})}}ma?(c.next(new Yx({body:ka,headers:P,status:Y,statusText:X,url:O||void 0})),c.complete()):c.error(new kVb({error:ka,headers:P,status:Y,statusText:X,url:O||void 0}))},x=function(O){var P=l().url;c.error(new kVb({error:O,status:d.status||0,statusText:d.statusText||"Unknown Error",url:P||void 0}))},A=!1,B=function(O){A||(c.next(l()),A=!0);var P={type:3,loaded:O.loaded};O.lengthComputable&&(P.total=
O.total);"text"===a.responseType&&d.responseText&&(P.partialText=d.responseText);c.next(P)},K=function(O){var P={type:1,loaded:O.loaded};O.lengthComputable&&(P.total=O.total);c.next(P)};d.addEventListener("load",q);d.addEventListener("error",x);d.addEventListener("timeout",x);d.addEventListener("abort",x);a.reportProgress&&(d.addEventListener("progress",B),null!==g&&d.upload&&d.upload.addEventListener("progress",K));d.send(g);c.next({type:0});return function(){d.removeEventListener("error",x);d.removeEventListener("abort",
x);d.removeEventListener("load",q);d.removeEventListener("timeout",x);a.reportProgress&&(d.removeEventListener("progress",B),null!==g&&d.upload&&d.upload.removeEventListener("progress",K));d.readyState!==d.DONE&&d.abort()}})}))};by.\u0275fac=function(a){return new (a||by)(u(PTb))};by.\u0275prov=mc({token:by,factory:by.\u0275fac});var $ma=new Nc("XSRF_ENABLED"),pVb=new Nc("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),bna=new Nc("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),ana=function(){},cy=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
cy.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};
cy.\u0275fac=function(a){return new (a||cy)(u(ah),u(sv),u(pVb))};cy.\u0275prov=mc({token:cy,factory:cy.\u0275fac});var qVb=new Nc("LEGACY_INTERCEPTOR_FN");var rVb={cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"},sVb=rVb.cookieName,tVb=rVb.headerName,uVb=[];void 0!==sVb&&uVb.push({provide:pVb,useValue:sVb});void 0!==tVb&&uVb.push({provide:bna,useValue:tVb});var dy=function(){};dy.\u0275fac=function(a){return new (a||dy)};dy.\u0275mod=Dc({type:dy});
dy.\u0275inj=nc({providers:[function(){for(var a=[Zx,by,ay,{provide:bVb,useExisting:ay},{provide:cVb,useExisting:by},{provide:mVb,useValue:cna,multi:!0},{provide:$ma,useValue:!0},{provide:ana,useClass:cy}],b=k(Lc.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,Pc(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:qVb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=wc(lVb,{optional:!0}))?d:[]).reduceRight(Yma,
Xma)}var e=wc(Tv),g=e.add();return a(b,c).pipe(Ee(function(){return e.remove(g)}))}}},{provide:mVb,useExisting:qVb,multi:!0}]})]});new Nc("");var ey=function(){};ey.\u0275fac=function(a){return new (a||ey)};ey.\u0275prov=mc({token:ey,factory:function(a){return a?new (a||ey):u(fy)},providedIn:"root"});var fy=function(a){this._doc=a};U(fy,ey);
fy.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return Cd(b,"HTML")?Bd(b):qga(this._doc,String(b)).toString();case 2:return Cd(b,"Style")?Bd(b):b;case 3:if(Cd(b,"Script"))return Bd(b);throw new qc(5200,!1);case 4:return Cd(b,"URL")?Bd(b):dga(String(b));case 5:if(Cd(b,"ResourceURL"))return Bd(b);throw new qc(5201,!1);default:throw new qc(5202,!1);}};fy.prototype.bypassSecurityTrustHtml=function(a){return new eRb(a)};fy.prototype.bypassSecurityTrustUrl=function(a){return new fRb(a)};
fy.prototype.bypassSecurityTrustResourceUrl=function(a){return new gRb(a)};fy.\u0275fac=function(a){return new (a||fy)(u(ah))};fy.\u0275prov=mc({token:fy,factory:function(a){a?a=new a:(a=u(qv),a=new fy(a.get(ah)));return a},providedIn:"root"});new wv;(function(){return""}).toString().indexOf("`");var xVb=function(a){var b=ro("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=vVb(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,wVb[c])c=wVb[c];else{c=String(c);if(!wVb[c]){var g=/function\s+([^\(]+)/m.exec(c);wVb[c]=g?g[1]:"[Anonymous]"}c=wVb[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}},vVb=function(a,b){b||(b={});b[yVb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[yVb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=vVb(a,b));return c},yVb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},wVb={};var zVb;try{new URL("s://g"),zVb=!0}catch(a){zVb=!1}var dna=zVb;var fna=function(a){this.isValid=a},gna=[Cg("data"),Cg("http"),Cg("https"),Cg("mailto"),Cg("ftp"),new fna(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var gy=function(a){this.decorated=new fy(a)};U(gy,ey);gy.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof iv||b instanceof Tb||b instanceof Ao){if(AVb(b,a))return this.decorated.sanitize(a,BVb(this,b));throw Error("hb`"+pRb[a]+"`"+b);}return this.decorated.sanitize(a,b)};gy.prototype.bypassSecurityTrustHtml=function(){throw Error("ib");};gy.prototype.bypassSecurityTrustUrl=function(){throw Error("ib");};
gy.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("ib");};var BVb=function(a,b){if(null!=b){if(b instanceof Ao)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof Tb)return a.decorated.bypassSecurityTrustUrl(Ub(b));if(b instanceof iv)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},AVb=function(a,b){switch(b){case 1:return a instanceof Ao;case 4:return a instanceof Tb||a instanceof iv;case 5:return a instanceof iv;case 3:return!1;default:return!1}};
gy.\u0275fac=function(a){return new (a||gy)(u(ah))};gy.\u0275prov=mc({token:gy,factory:gy.\u0275fac});var CVb=[{provide:rRb,useExisting:ey},{provide:ey,useClass:gy}],hy=function(){};hy.\u0275fac=function(a){return new (a||hy)};hy.\u0275mod=Dc({type:hy});hy.\u0275inj=nc({providers:CVb,imports:[Rx]});var kna=new Set(["true","1"]),lna=new Set(["false","0"]);var DVb=function(){},EVb=function(){};/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
 @param {function(): ?} cb
 @return {void}
*/
var Kg=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=Kg.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(),FVb(this));this._started=!0};var FVb=function(a){Promise.resolve().then(function(){return a._onFinish()})};f=Kg.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 ona=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?Promise.resolve().then(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=ona.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 wna="undefined"===typeof document?null:document.documentElement;var Gna=RegExp("{{\\s*(.+?)\\s*}}","g"),Ina=/-+([a-z0-9])/g;var Kna=RegExp("s*:selfs*,?","g"),GVb=function(a){this._driver=a};f=GVb.prototype;f.build=function(a,b){b=new HVb(b);this._resetContextStyleTimingState(b);return Ug(this,Sg(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 qc(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(x){l.name=x;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 qc(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){Ena(l).forEach(function(q){g.hasOwnProperty(q)||e.add(q)})})});e.size&&(Hna(e.values()),b.errors.push(new qc(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=Ug(this,Sg(a.animation),b);return{type:1,matchers:jna(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:Vg(a.options)}};f.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return Ug(c,d,b)}),options:Vg(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=Ug(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:g,options:Vg(a.options)}};
f.visitAnimate=function(a,b){var c=Nna(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Hg({});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=Hg(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 qc(3002,!1)):c.push(Cna(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),x=q.get(l),A=!0;x&&(e!=d&&e>=x.startTime&&d<=x.endTime&&(b.errors.push(new qc(3010,!1)),A=!1),e=x.startTime);A&&q.set(l,{startTime:e,endTime:d});b.options&&Fna(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 qc(3011,!1)),d;var e=0,g=[],h=!1,l=!1,q=0,x=a.steps.map(function(Y){Y=c._makeStyleAst(Y,b);var X=null!=Y.offset?Y.offset:Mna(Y.styles),ka=0;null!=X&&(e++,ka=Y.offset=X);l=l||0>ka||1<ka;h=h||ka<q;q=ka;g.push(ka);return Y});l&&b.errors.push(new qc(3012,!1));h&&b.errors.push(new qc(3200,!1));a=a.steps.length;var A=0;0<e&&e<a?b.errors.push(new qc(3202,!1)):0==e&&(A=1/(a-1));
var B=a-1,K=b.currentTime,O=b.currentAnimateTimings,P=O.duration;x.forEach(function(Y,X){X=0<A?X==B?1:A*X:g[X];var ka=X*P;b.currentTime=K+O.delay+ka;O.duration=ka;c._validateStyleAst(Y,b);Y.offset=X;d.styles.push(Y)});return d};f.visitReference=function(a,b){return{type:8,animation:Ug(this,Sg(a.animation),b),options:Vg(a.options)}};f.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:Vg(a.options)}};
f.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:Vg(a.options)}};
f.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(Lna(a.selector)),g=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+g:g;Mg(b.collectedStyles,b.currentQuerySelector,new Map);var h=Ug(this,Sg(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:Vg(a.options)}};
f.visitStagger=function(a,b){b.currentQuery||b.errors.push(new qc(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Bna(a.timings,b.errors,!0);return{type:12,animation:Ug(this,Sg(a.animation),b),timings:c,options:null}};var HVb=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 iy=function(){this._map=new Map};iy.prototype.get=function(a){return this._map.get(a)||[]};iy.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,Pc(b))};iy.prototype.has=function(a){return this._map.has(a)};iy.prototype.clear=function(){this._map.clear()};var IVb=RegExp(":enter","g"),JVb=RegExp(":leave","g"),Pna=function(){};f=Pna.prototype;
f.buildKeyframes=function(a,b,c,d,e,g,h,l,q,x){x=void 0===x?[]:x;q=q||new iy;a=new KVb(a,b,q,d,e,x,[]);a.options=l;d=l.delay?Ng(l.delay):0;a.currentTimeline.delayNextStep(d);LVb(a.currentTimeline,[g],null,a.errors,l);Ug(this,c,a);c=a.timelines.filter(function(B){return B.containsAnimation()});if(c.length&&h.size){for(g=c.length-1;0<=g;g--)if(e=c[g],e.element===b){var A=e;break}A&&A._currentEmptyStepKeyframe===A._currentKeyframe&&LVb(A,[h],null,a.errors,l)}return c.length?c.map(function(B){return B.buildKeyframes()}):
[Ona(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=jy(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&ky(b,c)}b.previousNode=a};
f.visitAnimateRef=function(a,b){var c=jy(b,a.options);ky(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);ky(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:Ng(Tg(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?Ng(c.duration):null,g=null!=c.delay?Ng(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 MVb(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){NVb(b,a.options,!0);Ug(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=jy(b,g),ky(e),null!=g.delay&&(6==e.previousNode.type&&(OVb(e.currentTimeline),e.previousNode=PVb),e.delayNextStep(Ng(g.delay))));a.steps.length&&(a.steps.forEach(function(h){return Ug(c,h,e)}),ly(e.currentTimeline),e.subContextCount>d&&ky(e));b.previousNode=a};
f.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,g=a.options&&a.options.delay?Ng(a.options.delay):0;a.steps.forEach(function(h){var l=jy(b,a.options);g&&l.delayNextStep(g);Ug(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return QVb(b.currentTimeline,h)});ky(b,e);b.previousNode=a};
f._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?Tg(a,b.params,b.errors):a,Bna(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&&(RVb(b.currentTimeline,b.currentTimeline.duration+c.delay),OVb(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(RVb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),ly(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 LVb(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=jy(b).currentTimeline;g.easing=c.easing;a.styles.forEach(function(h){RVb(g,(h.offset||0)*e);LVb(g,h.styles,h.easing,b.errors,b.options);ly(g)});QVb(b.currentTimeline,g);ky(b,d+e);b.previousNode=a};
f.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},g=e.delay?Ng(e.delay):0;g&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(OVb(b.currentTimeline),b.previousNode=PVb);var h=d;d=SVb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,x){b.currentQueryIndex=x;x=jy(b,a.options,q);g&&x.delayNextStep(g);q===b.element&&(l=x.currentTimeline);Ug(c,a.animation,x);ly(x.currentTimeline);
h=Math.max(h,x.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;ky(b,h);l&&(QVb(b.currentTimeline,l),OVb(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;Ug(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var PVb={},KVb=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=PVb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new my(this._driver,b,0);h.push(this.currentTimeline)},NVb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
Ng(b.duration));null!=b.delay&&(d.delay=Ng(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]=Tg(e[h],g,a.errors))})}}};KVb.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 jy=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new KVb(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();NVb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},ky=function(a,b){a.previousNode=PVb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};KVb.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var SVb=function(a,b,c,d,e,g){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(IVb,"."+a._enterClassName),b=b.replace(JVb,"."+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,Pc(a)));e||0!=h.length||g.push(new qc(3014,!1));return h};
ch.Object.defineProperties(KVb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var my=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()};my.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};my.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(RVb(this,this.currentTime+a),b&&OVb(this)):this.startTime+=a};
my.prototype.fork=function(a,b){ly(this);return new my(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};my.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 RVb=function(a,b){ly(a);a.duration=b;a._loadKeyframe()};
my.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 LVb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=Sna(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=Tg(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)}},ly=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)}))},OVb=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)}},QVb=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)})};
my.prototype.buildKeyframes=function(){var a=this;ly(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(x,A){x=Pg(x,new Map,a._backFill);x.forEach(function(B,K){"!"===B?b.add(K):"*"===B&&c.add(K)});d||x.set("offset",A/a.duration);e.push(x)});var g=b.size?Hna(b.values()):[],h=c.size?Hna(c.values()):[];if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return Ona(this.element,e,g,h,this.duration,this.startTime,this.easing,
!1)};ch.Object.defineProperties(my.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 MVb=function(a,b,c,d,e,g,h){h=void 0===h?!1:h;my.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}};
U(MVb,my);MVb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
MVb.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=Pg(a[0]);h.set("offset",0);b.push(h);h=Pg(a[0]);h.set("offset",Rna(g));b.push(h);g=a.length-1;for(h=1;h<=g;h++){var l=Pg(a[h]),q=l.get("offset");l.set("offset",Rna((c+q*d)/e));b.push(l)}d=e;c=0;e="";a=b}return Ona(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var TVb=function(){};var UVb=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(" ")),VVb=function(){};U(VVb,TVb);
var qna=function(a,b,c){var d="",e=b.toString().trim();UVb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new qc(3005,!1)));return e+d};var ny=function(){};f=ny.prototype;f.containsElement=function(a,b){return yna(a,b)};f.getParentElement=function(a){return xna(a)};f.query=function(a,b,c){return zna(a,b,c)};f.computeStyle=function(a,b,c){return c||""};f.animate=function(a,b,c,d){return new Kg(c,d)};ny.\u0275fac=function(a){return new (a||ny)};ny.\u0275prov=mc({token:ny,factory:ny.\u0275fac});var WVb=function(){};var XVb={},Wg=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};Wg.prototype.match=function(a,b,c,d){return Una(this.ast.matchers,a,b,c,d)};Wg.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};
Wg.prototype.build=function(a,b,c,d,e,g,h,l,q,x){var A=[],B=this.ast.options&&this.ast.options.params||XVb;h=this.buildStyles(c,h&&h.params||XVb,A);var K=l&&l.params||XVb;l=this.buildStyles(d,K,A);var O=new Set,P=new Map,Y=new Map,X="void"===d,ka;B={params:Vna(K,B),delay:null==(ka=this.ast.options)?void 0:ka.delay};a=x?[]:Qna(a,b,this.ast.animation,e,g,h,l,B,q,A);var ma=0;a.forEach(function(ya){ma=Math.max(ya.duration+ya.delay,ma)});if(A.length)return Tna(b,this._triggerName,c,d,X,h,l,[],[],P,Y,ma,
A);a.forEach(function(ya){var Aa=ya.element,Ma=Mg(P,Aa,new Set);ya.preStyleProps.forEach(function(Ta){return Ma.add(Ta)});var Ra=Mg(Y,Aa,new Set);ya.postStyleProps.forEach(function(Ta){return Ra.add(Ta)});Aa!==b&&O.add(Aa)});A=Hna(O.values());return Tna(b,this._triggerName,c,d,X,h,l,a,A,P,Y,ma)};var YVb=function(a,b){this.styles=a;this.defaultParams=b};
YVb.prototype.buildStyles=function(a,b){var c=new Map,d=Og(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=Tg(g,d,b));var l=pna(h);g=qna(l,g,b);c.set(h,g)})});return c};var ZVb=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 YVb(e.style,e.options&&e.options.params||{}))});Xna(this.states,"true","1");Xna(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new Wg(a,e,d.states))});this.fallbackTransition=Wna(a,this.states)},$Vb=function(a,b,c,d,e){return a.transitionFactories.find(function(g){return g.match(b,c,
d,e)})||null};var aWb=new iy,bWb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};f=bWb.prototype;f.register=function(a,b){var c=[];b=(new GVb(this._driver)).build(b,c,[]);if(c.length)throw new qc(3503,!1);this._animations.set(a,b)};f._buildPlayer=function(a,b,c){var d=a.element;b=rna(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=Qna(this._driver,b,g,"ng-enter","ng-leave",new Map,new Map,c,aWb,e),b.forEach(function(l){var q=Mg(h,l.element,new Map);l.postStyleProps.forEach(function(x){return q.set(x,null)})})):(e.push(new qc(3300,!1)),b=[]);if(e.length)throw new qc(3504,!1);h.forEach(function(l,q){l.forEach(function(x,A){l.set(A,d._driver.computeStyle(q,A,"*"))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,
new Map,q)});e=Lg(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 qc(3301,!1);return a};f.listen=function(a,b,c,d){b=una(b,"","","");tna(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 cWb=[],dWb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$na={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},eWb=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=Og(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},fWb=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])})}};ch.Object.defineProperties(eWb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var gWb=new eWb("void"),oy=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;Xg(b,this._hostClassName)};f=oy.prototype;
f.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new qc(3302,!1);if(null==c||0==c.length)throw new qc(3303,!1);if("start"!=c&&"done"!=c)throw new qc(3400,!1);var g=Mg(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};g.push(h);var l=Mg(this._engine.statesByElement,a,new Map);l.has(b)||(Xg(a,"ng-trigger"),Xg(a,"ng-trigger-"+b),l.set(b,gWb));return function(){hWb(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 qc(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 iWb(this.id,b,a),l=this._engine.statesByElement.get(a);l||(Xg(a,"ng-trigger"),Xg(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),x=new eWb(c,this.id);c&&c.hasOwnProperty("value")||!q||fWb(x,q.options);l.set(b,x);q||(q=gWb);if("void"!==x.value&&q.value===x.value){if(!foa(q.params,x.params)){d=[];var A=g.fallbackTransition.buildStyles(q.value,q.params,d),B=g.fallbackTransition.buildStyles(x.value,
x.params,d);d.length?this._engine.reportError(d):hWb(this._engine,function(){Rg(a,A);Qg(a,B)})}}else{c=Mg(this._engine.playersByElement,a,[]);c.forEach(function(O){O.namespaceId==e.id&&O.triggerName==b&&O.queued&&O.destroy()});l=$Vb(g,q.value,x.value,a,x.params);var K=!1;if(!l){if(!d)return;l=g.fallbackTransition;K=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:x,player:h,isFallbackTransition:K});K||(Xg(a,"ng-animate-queued"),h.onStart(function(){Yg(a,
"ng-animate-queued")}));h.onDone(function(){var O=e.players.indexOf(h);0<=O&&e.players.splice(O,1);if(O=e._engine.playersByElement.get(a)){var P=O.indexOf(h);0<=P&&O.splice(P,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 jWb=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))};
oy.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=kWb(c._engine,e);g.size?g.forEach(function(h){return lWb(h,e,b,!1,!0)}):jWb(c,e)}});mWb(this._engine,function(){return d.forEach(function(e){return jWb(c,e)})})};
var lWb=function(a,b,c,d,e){var g=a._engine.statesByElement.get(b),h=new Map;if(g){var l=[];g.forEach(function(q,x){h.set(x,q.value);a._triggers.has(x)&&(q=a.trigger(b,x,"void",e))&&l.push(q)});if(l.length){nWb(a._engine,a.id,b,!0,c,h);if(d)Lg(l).onDone(function(){return Zg(a._engine,b)});return!0}}return!1},oWb=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)||gWb,q=new eWb("void"),x=new iWb(a.id,g,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:g,transition:h,fromState:l,toState:q,player:x,isFallbackTransition:!0})}})}};
oy.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!lWb(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}}oWb(this,a);e?nWb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==dWb||(hWb(d,function(){return jWb(c,a)}),pWb(d,a),d._onRemovalComplete(a,b)))}};
oy.prototype.insertNode=function(a){Xg(a,this._hostClassName)};
var qWb=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=una(g,d.triggerName,d.fromState.value,d.toState.value);q._data=b;tna(d.player,l.phase,q,l.callback)}});e.markedForDestroy?hWb(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})};oy.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var py=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=py.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 oy(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);hWb(this,function(){c.namespacesByHostElement.delete(d.hostElement);delete c._namespaceLookup[a];var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1)});mWb(this,function(){return d.destroy(b)})}};f._fetchNamespace=function(a){return this._namespaceLookup[a]};
var kWb=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};py.prototype.trigger=function(a,b,c,d){return Yna(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
py.prototype.insertNode=function(a,b,c,d){if(Yna(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 rWb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),Xg(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),Yg(b,"ng-animate-disabled"))};
py.prototype.removeNode=function(a,b,c){if(Yna(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):nWb(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var nWb=function(a,b,c,d,e,g){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:g}};py.prototype.listen=function(a,b,c,d,e){return Yna(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
py.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 pWb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return sWb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return tWb(a,d)}))},sWb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},tWb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Zg=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
dWb;if(c.namespaceId){pWb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&jWb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&rWb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(g){rWb(a,g,!1)})};
py.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++)Xg(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++)Zg(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)Lg(c).onDone(function(){e.forEach(function(g){return g()})});else e.forEach(function(g){return g()})}};
py.prototype.reportError=function(){throw new qc(3402,!1);};
py.prototype._flushAnimations=function(a,b){var c=this,d=new iy,e=[],g=new Map,h=[],l=new Map,q=new Map,x=new Map,A=new Set;this.disabledNodes.forEach(function($a){A.add($a);$a=c.driver.query($a,".ng-animate-queued",!0);for(var Fb=0;Fb<$a.length;Fb++)A.add($a[Fb])});var B=this.bodyNode,K=Array.from(this.statesByElement.keys()),O=boa(K,this.collectedEnterElements),P=new Map,Y=0;O.forEach(function($a,Fb){var ib="ng-enter"+Y++;P.set(Fb,ib);$a.forEach(function(Mb){return Xg(Mb,ib)})});for(var X=[],ka=
new Set,ma=new Set,ya=0;ya<this.collectedLeaveElements.length;ya++){var Aa=this.collectedLeaveElements[ya],Ma=Aa.__ng_removed;Ma&&Ma.setForRemoval&&(X.push(Aa),ka.add(Aa),Ma.hasAnimation?this.driver.query(Aa,".ng-star-inserted",!0).forEach(function($a){return ka.add($a)}):ma.add(Aa))}var Ra=new Map,Ta=boa(K,Array.from(ka));Ta.forEach(function($a,Fb){var ib="ng-leave"+Y++;Ra.set(Fb,ib);$a.forEach(function(Mb){return Xg(Mb,ib)})});a.push(function(){O.forEach(function($a,Fb){var ib=P.get(Fb);$a.forEach(function(Mb){return Yg(Mb,
ib)})});Ta.forEach(function($a,Fb){var ib=Ra.get(Fb);$a.forEach(function(Mb){return Yg(Mb,ib)})});X.forEach(function($a){Zg(c,$a)})});var Lb=[],qb=[];for(a=this._namespaceList.length-1;0<=a;a--)qWb(this._namespaceList[a],b).forEach(function($a){var Fb=$a.player,ib=$a.element;Lb.push(Fb);if(c.collectedEnterElements.length){var Mb=ib.__ng_removed;if(Mb&&Mb.setForMove){if(Mb.previousTriggersValues&&Mb.previousTriggersValues.has($a.triggerName)){Mb=Mb.previousTriggersValues.get($a.triggerName);var jc=
c.statesByElement.get($a.element);if(jc&&jc.has($a.triggerName)){var Ec=jc.get($a.triggerName);Ec.value=Mb;jc.set($a.triggerName,Ec)}}Fb.destroy();return}}Mb=!B||!c.driver.containsElement(B,ib);jc=Ra.get(ib);Ec=P.get(ib);var Vc=c._buildInstruction($a,d,Ec,jc,Mb);if(Vc.errors&&Vc.errors.length)qb.push(Vc);else if(Mb)Fb.onStart(function(){return Rg(ib,Vc.fromStyles)}),Fb.onDestroy(function(){return Qg(ib,Vc.toStyles)}),e.push(Fb);else if($a.isFallbackTransition)Fb.onStart(function(){return Rg(ib,Vc.fromStyles)}),
Fb.onDestroy(function(){return Qg(ib,Vc.toStyles)}),e.push(Fb);else{var df=[];Vc.timelines.forEach(function(Fd){Fd.stretchStartingKeyframe=!0;c.disabledNodes.has(Fd.element)||df.push(Fd)});Vc.timelines=df;d.append(ib,Vc.timelines);h.push({instruction:Vc,player:Fb,element:ib});Vc.queriedElements.forEach(function(Fd){return Mg(l,Fd,[]).push(Fb)});Vc.preStyleProps.forEach(function(Fd,le){if(Fd.size){var Li=q.get(le);Li||q.set(le,Li=new Set);Fd.forEach(function(oU,Lo){return Li.add(Lo)})}});Vc.postStyleProps.forEach(function(Fd,
le){var Li=x.get(le);Li||x.set(le,Li=new Set);Fd.forEach(function(oU,Lo){return Li.add(Lo)})})}});if(qb.length){var Ya=[];qb.forEach(function(){Ya.push(new qc(3505,!1))});Lb.forEach(function($a){return $a.destroy()});this.reportError(Ya)}var wa=new Map,Ka=new Map;h.forEach(function($a){var Fb=$a.element;d.has(Fb)&&(Ka.set(Fb,Fb),c._beforeAnimationBuild($a.player.namespaceId,$a.instruction,wa))});e.forEach(function($a){var Fb=$a.element;c._getPreviousPlayers(Fb,!1,$a.namespaceId,$a.triggerName,null).forEach(function(ib){Mg(wa,
Fb,[]).push(ib);ib.destroy()})});var Na=X.filter(function($a){return goa($a,q,x)}),eb=new Map;aoa(eb,this.driver,ma,x,"*").forEach(function($a){goa($a,q,x)&&Na.push($a)});var ab=new Map;O.forEach(function($a){aoa(ab,c.driver,new Set($a),q,"!")});Na.forEach(function($a){var Fb=eb.get($a),ib=ab.get($a),Mb,jc;eb.set($a,new Map([].concat(Pc(null!=(Mb=null==Fb?void 0:Fb.entries())?Mb:[]),Pc(null!=(jc=null==ib?void 0:ib.entries())?jc:[]))))});var Sc=[],fb=[],zb={};h.forEach(function($a){var Fb=$a.element,
ib=$a.player,Mb=$a.instruction;if(d.has(Fb))if(A.has(Fb))ib.onDestroy(function(){return Qg(Fb,Mb.toStyles)}),ib.disabled=!0,ib.totalTime=Mb.totalTime,e.push(ib);else{var jc=zb;if(1<Ka.size){$a=Fb;for(var Ec=[];$a=$a.parentNode;){var Vc=Ka.get($a);if(Vc){jc=Vc;break}Ec.push($a)}Ec.forEach(function(df){return Ka.set(df,jc)})}$a=c._buildAnimation(ib.namespaceId,Mb,wa,g,ab,eb);uWb(ib,$a);jc===zb?Sc.push(ib):(($a=c.playersByElement.get(jc))&&$a.length&&(ib.parentPlayer=Lg($a)),e.push(ib))}else Rg(Fb,Mb.fromStyles),
ib.onDestroy(function(){return Qg(Fb,Mb.toStyles)}),fb.push(ib),A.has(Fb)&&e.push(ib)});fb.forEach(function($a){var Fb=g.get($a.element);Fb&&Fb.length&&(Fb=Lg(Fb),uWb($a,Fb))});e.forEach(function($a){$a.parentPlayer?vWb($a,$a.parentPlayer):$a.destroy()});for(b=0;b<X.length;b++)if(ma=X[b],a=ma.__ng_removed,Yg(ma,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((K=l.get(ma))&&K.length&&a.push.apply(a,Pc(K)),K=this.driver.query(ma,".ng-animating",!0),ya=0;ya<K.length;ya++)(Aa=l.get(K[ya]))&&Aa.length&&
a.push.apply(a,Pc(Aa));a=a.filter(function($a){return!$a.destroyed});a.length?coa(this,ma,a):Zg(this,ma)}X.length=0;Sc.forEach(function($a){c.players.push($a);$a.onDone(function(){$a.destroy();var Fb=c.players.indexOf($a);c.players.splice(Fb,1)});$a.play()});return Sc};var hWb=function(a,b){a._flushFns.push(b)},mWb=function(a,b){a._whenQuietFns.push(b)};
py.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};
py.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={},h=k(b.timelines),l=h.next();!l.done;g={$jscomp$loop$prop$players$2257:g.$jscomp$loop$prop$players$2257},l=h.next()){l=l.value.element;var q=l!==e;g.$jscomp$loop$prop$players$2257=Mg(c,l,[]);this._getPreviousPlayers(l,q,a,d,b.toState).forEach(function(x){return function(A){var B=A._player;B.beforeDestroy&&B.beforeDestroy();A.destroy();x.$jscomp$loop$prop$players$2257.push(A)}}(g))}Rg(e,
b.fromStyles)};
py.prototype._buildAnimation=function(a,b,c,d,e,g){var h=this,l=b.triggerName,q=b.element,x=[],A=new Set,B=new Set,K=b.timelines.map(function(P){var Y=P.element;A.add(Y);var X=Y.__ng_removed;if(X&&X.removedBeforeQueried)return new Kg(P.duration,P.delay);X=Y!==q;var ka=eoa((c.get(Y)||cWb).map(function(Aa){return Aa._player})).filter(function(Aa){return Aa.element?Aa.element===Y:!1}),ma=e.get(Y),ya=g.get(Y);ma=rna(P.keyframes,ma,ya);ka=h._buildPlayer(P,ma,ka);P.subTimeline&&d&&B.add(Y);X&&(P=new iWb(a,
l,Y),uWb(P,ka),x.push(P));return ka});x.forEach(function(P){Mg(h.playersByQueriedElement,P.element,[]).push(P);P.onDone(function(){var Y=h.playersByQueriedElement,X=P.element,ka=Y.get(X);if(ka){if(ka.length){var ma=ka.indexOf(P);ka.splice(ma,1)}0==ka.length&&Y.delete(X)}return ka})});A.forEach(function(P){return Xg(P,"ng-animating")});var O=Lg(K);O.onDestroy(function(){A.forEach(function(P){return Yg(P,"ng-animating")});Qg(q,b.toStyles)});B.forEach(function(P){Mg(d,P,[]).push(O)});return O};
py.prototype._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new Kg(a.duration,a.delay)};
var iWb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new Kg;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},uWb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return tna(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
vWb=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=iWb.prototype;f._queueEvent=function(a,b){Mg(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 qy=function(a,b,c){var d=this;this.bodyNode=a;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new py(a,b,c);this._timelineEngine=new bWb(a,b,c);this._transitionEngine.onRemovalComplete=function(e,g){return d.onRemovalComplete(e,g)}};f=qy.prototype;
f.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new GVb(this._driver)).build(e,c,[]);if(c.length)throw new qc(3404,!1);c=new ZVb(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){rWb(this._transitionEngine,a,b)};f.process=function(a,b,c,d){"@"==c.charAt(0)?(c=k(vna(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(vna(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)};
ch.Object.defineProperties(qy.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}});var ioa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=wWb.get(a);d||wWb.set(a,d=new Map);this._initialStyles=d};ioa.prototype.start=function(){1>this._state&&(this._startStyles&&Qg(this._element,this._startStyles,this._initialStyles),this._state=1)};ioa.prototype.finish=function(){this.start();2>this._state&&(Qg(this._element,this._initialStyles),this._endStyles&&(Qg(this._element,this._endStyles),this._endStyles=null),this._state=1)};
ioa.prototype.destroy=function(){this.finish();3>this._state&&(wWb.delete(this._element),this._startStyles&&(Rg(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rg(this._element,this._endStyles),this._endStyles=null),Qg(this._element,this._initialStyles),this._state=3)};var wWb=new WeakMap;var xWb=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=xWb.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};ch.Object.defineProperties(xWb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var yWb=function(){};f=yWb.prototype;f.containsElement=function(a,b){return yna(a,b)};f.getParentElement=function(a){return xna(a)};f.query=function(a,b,c){return zna(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(x){return x instanceof xWb});0!==c&&0!==d||e.forEach(function(x){x.currentSnapshot.forEach(function(A,B){return l.set(B,A)})});var q=Dna(b).map(function(x){return Pg(x)});q=Jna(a,q,l);b=joa(a,q);return new xWb(a,q,h,b)};var ry=function(a,b){this._nextAnimationId=0;this._renderer=a.createRenderer(b.body,{id:"0",encapsulation:2,styles:[],data:{animation:[]}})};U(ry,DVb);ry.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 zWb(b,this._renderer)};ry.\u0275fac=function(a){return new (a||ry)(u(cRb),u(ah))};ry.\u0275prov=mc({token:ry,factory:ry.\u0275fac});
var zWb=function(a,b){this._id=a;this._renderer=b};U(zWb,EVb);zWb.prototype.create=function(a,b){return new AWb(this._id,a,b||{},this._renderer)};var AWb=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=AWb.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,Lc.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 sy=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;this.promise=Promise.resolve(0);b.onRemovalComplete=function(d,e){var g=null==e?void 0:e.parentNode(d);g&&e.removeChild(g,d)}};
sy.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 BWb("",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 CWb(this,g,d,this.engine)};
sy.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};sy.prototype._scheduleCountTask=function(){var a=this;this.promise.then(function(){a._microtaskId++})};
var DWb=function(a,b,c,d){0<=b&&b<a._microtaskId?a._zone.run(function(){return c(d)}):(0==a._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){a._zone.run(function(){a._animationCallbacksBuffer.forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;e(g)});a._animationCallbacksBuffer=[]})}),a._animationCallbacksBuffer.push([c,d]))};
sy.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()};sy.\u0275fac=function(a){return new (a||sy)(u(cRb),u(qy),u(Se))};sy.\u0275prov=mc({token:sy,factory:sy.\u0275fac});
var BWb=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=BWb.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)};ch.Object.defineProperties(BWb.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});
var CWb=function(a,b,c,d,e){BWb.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};U(CWb,BWb);CWb.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)};
CWb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=koa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=k(loa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(g){DWb(d.factory,g._data||-1,c,g)})}return this.delegate.listen(a,b,c)};var ty=function(a,b,c){qy.call(this,a.body,b,c)};U(ty,qy);ty.prototype.ngOnDestroy=function(){this.flush()};ty.\u0275fac=function(a){return new (a||ty)(u(ah),u(WVb),u(TVb),u(kw))};ty.\u0275prov=mc({token:ty,factory:ty.\u0275fac});var EWb=[{provide:DVb,useClass:ry},{provide:TVb,useFactory:function(){return new VVb}},{provide:qy,useClass:ty},{provide:cRb,useFactory:function(a,b,c){return new sy(a,b,c)},deps:[Nx,qy,Se]}],FWb=[{provide:WVb,useFactory:function(){return new yWb}},{provide:tv,useValue:"BrowserAnimations"}].concat(Pc(EWb));
[{provide:WVb,useClass:ny},{provide:tv,useValue:"NoopAnimations"}].concat(Pc(EWb));var uy=function(){};uy.\u0275fac=function(a){return new (a||uy)};uy.\u0275mod=Dc({type:uy});uy.\u0275inj=nc({providers:FWb,imports:[hy]});var GWb=new Set,vy,wy=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):moa};wy.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!GWb.has(a))try{vy||(vy=document.createElement("style"),b&&(vy.nonce=b),vy.setAttribute("type","text/css"),document.head.appendChild(vy)),vy.sheet&&(vy.sheet.insertRule("@media "+a+" {body{ }}",0),GWb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
wy.\u0275fac=function(a){return new (a||wy)(u(qx),u($Qb,8))};wy.\u0275prov=mc({token:wy,factory:wy.\u0275fac,providedIn:"root"});var xy=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new E.Subject};xy.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
xy.prototype.observe=function(a){var b=this;a=noa(sg(a)).map(function(c){return b._registerQuery(c).observable});a=(0,E.combineLatest)(a);a=(0,E.concat)(a.pipe(Ce()),a.pipe(Me(1),ze(0)));return a.pipe(D(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}))};
xy.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 E.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(Ne(c),D(function(e){return{query:a,matches:e.matches}}),Pe(this._destroySubject)),mql:c};this._queries.set(a,d);return d};xy.\u0275fac=function(a){return new (a||xy)(u(wy),u(Se))};
xy.\u0275prov=mc({token:xy,factory:xy.\u0275fac,providedIn:"root"});var yy=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=wc(xy).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},HWb=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};yy.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
yy.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=HWb(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")}};
yy.\u0275fac=function(a){return new (a||yy)(u(qx),u(ah))};yy.\u0275prov=mc({token:yy,factory:yy.\u0275fac,providedIn:"root"});var IWb=new Nc("liveAnnouncerElement",{providedIn:"root",factory:ooa}),JWb=new Nc("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var zy=function(){};zy.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};zy.\u0275fac=function(a){return new (a||zy)};zy.\u0275prov=mc({token:zy,factory:zy.\u0275fac,providedIn:"root"});var Ay=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};f=Ay.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=vg(a);return new E.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 E.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)}};Ay.\u0275fac=function(a){return new (a||Ay)(u(zy))};Ay.\u0275prov=mc({token:Ay,factory:Ay.\u0275fac,providedIn:"root"});
var By=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new Vv;this._disabled=!1;this._currentSubscription=null};By.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};By.prototype.ngOnDestroy=function(){this._unsubscribe()};
By.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(ze(a.debounce)):b).subscribe(a.event)})};By.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
ch.Object.defineProperties(By.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=tg(a))?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=wg(a);this._subscribe()}}});By.\u0275fac=function(a){return new (a||By)(C(Ay),C(rd),C(Se))};
By.\u0275dir=Gc({type:By,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var Cy=function(){};Cy.\u0275fac=function(a){return new (a||Cy)};Cy.\u0275mod=Dc({type:Cy});Cy.\u0275inj=nc({providers:[zy]});var KWb=0,Dy=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};f=Dy.prototype;
f.announce=function(a){var b=Lc.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-"+KWb++;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)}};Dy.\u0275fac=function(a){return new (a||Dy)(u(IWb,8),u(Se),u(ah),u(JWb,8))};Dy.\u0275prov=mc({token:Dy,factory:Dy.\u0275fac,providedIn:"root"});var Ey=function(a){a._applyBodyHighContrastModeCssClasses()};Ey.\u0275fac=function(a){return new (a||Ey)(u(yy))};Ey.\u0275mod=Dc({type:Ey});Ey.\u0275inj=nc({imports:[Cy]});var soa=0,Fy=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+soa++;this._document=a;this._id=wc(ZQb)+"-"+soa++};Fy.prototype.describe=function(a,b,c){if(this._canBeDescribed(a,b)){var d=roa(b,c);"string"!==typeof b?(toa(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 LWb=function(a,b,c,d){if(c&&a._isElementNode(b)){d=roa(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=Fy.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");toa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(roa(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=poa(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);qoa(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--;$g(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};f._isElementDescribedByMessage=function(a,b){a=poa(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};Fy.\u0275fac=function(a){return new (a||Fy)(u(ah),u(qx))};Fy.\u0275prov=mc({token:Fy,factory:Fy.\u0275fac,providedIn:"root"});var Gy=function(a,b,c,d,e,g,h){sx.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=g;this._focusTrapManager.register(this)};U(Gy,sx);Gy.prototype.destroy=function(){this._focusTrapManager.deregister(this);sx.prototype.destroy.call(this)};Gy.prototype._enable=function(){MWb(this._inertStrategy,this);tUb(this,!0)};Gy.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);tUb(this,!1)};
ch.Object.defineProperties(Gy.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 NWb=function(){this._listener=null},MWb=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)})};NWb.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)&&qUb(a)})};var OWb=new Nc("FOCUS_TRAP_INERT_STRATEGY");var Hy=function(){this._focusTrapStack=[]};Hy.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()};Hy.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())};Hy.\u0275fac=function(a){return new (a||Hy)};Hy.\u0275prov=mc({token:Hy,factory:Hy.\u0275fac,providedIn:"root"});var Iy=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new NWb};Iy.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new Gy(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};Iy.\u0275fac=function(a){return new (a||Iy)(u(rx),u(Se),u(Hy),u(ah),u(OWb,8))};Iy.\u0275prov=mc({token:Iy,factory:Iy.\u0275fac,providedIn:"root"});var Jy=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new E.Subject;this._typeaheadSubscription=E.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 E.Subject;this.change=new E.Subject;a instanceof Tf&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},PWb=function(a,b){a._skipPredicateFn=b;return a},Ky=function(a){a._wrap=!0;return a},Ly=function(a,b){a._vertical=void 0===b?!0:b;return a},My=function(a,b){a._horizontal=b;return a},QWb=function(a){a._allowedModifierKeys=["shiftKey"];return a},RWb=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(Qe(function(c){return a._pressedLetters.push(c)}),
ze(b),ue(function(){return 0<a._pressedLetters.length}),D(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},Ny=function(a){a._homeAndEnd=!0;return a},SWb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
Jy.prototype.setActiveItem=function(a){var b=this._activeItem;Oy(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
Jy.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){TWb(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||xg(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 TWb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};Jy.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
Jy.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?TWb(this):this._setActiveItemByDelta(-1)};var Oy=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=Jy.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 Tf?this._items.toArray():this._items};ch.Object.defineProperties(Jy.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var Py=function(){Jy.apply(this,arguments)};U(Py,Jy);Py.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();Jy.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var Qy=function(){Jy.apply(this,arguments);this._origin="program"};U(Qy,Jy);var UWb=function(a,b){a._origin=b;return a};Qy.prototype.setActiveItem=function(a){Jy.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var VWb=new Nc("cdk-dir-doc",{providedIn:"root",factory:uoa});var WWb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Ry=function(a){this.value="ltr";this.change=new Vv;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)?WWb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};Ry.prototype.ngOnDestroy=function(){this.change.complete()};
Ry.\u0275fac=function(a){return new (a||Ry)(u(VWb,8))};Ry.\u0275prov=mc({token:Ry,factory:Ry.\u0275fac,providedIn:"root"});var Sy=function(){};Sy.\u0275fac=function(a){return new (a||Sy)};Sy.\u0275mod=Dc({type:Sy});Sy.\u0275inj=nc({});var Ty=function(a){this._attachedOverlays=[];this._document=a};Ty.prototype.ngOnDestroy=function(){this.detach()};Ty.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Ty.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};Ty.\u0275fac=function(a){return new (a||Ty)(u(ah))};Ty.\u0275prov=mc({token:Ty,factory:Ty.\u0275fac,providedIn:"root"});var Uy=function(a,b){Ty.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$2259:g.$jscomp$loop$prop$keydownEvents$2259},h--)if(0<e[h]._keydownEvents.observers.length){g.$jscomp$loop$prop$keydownEvents$2259=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(l){return function(){return l.$jscomp$loop$prop$keydownEvents$2259.next(d)}}(g)):g.$jscomp$loop$prop$keydownEvents$2259.next(d);break}}};
U(Uy,Ty);Uy.prototype.add=function(a){var b=this;Ty.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)};Uy.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Uy.\u0275fac=function(a){return new (a||Uy)(u(ah),u(Se,8))};Uy.\u0275prov=mc({token:Uy,factory:Uy.\u0275fac,providedIn:"root"});var Vy=function(a,b,c){Ty.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=rg(e)};this._clickListener=function(e){var g=rg(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:g;d._pointerDownEventTarget=null;for(var l=d._attachedOverlays.slice(),q={},x=l.length-1;-1<x;q={$jscomp$loop$prop$outsidePointerEvents$2261:q.$jscomp$loop$prop$outsidePointerEvents$2261},x--){var A=l[x];if(!(1>
A._outsidePointerEvents.observers.length)&&A.hasAttached()){if(A.overlayElement.contains(g)||A.overlayElement.contains(h))break;q.$jscomp$loop$prop$outsidePointerEvents$2261=A._outsidePointerEvents;d._ngZone?d._ngZone.run(function(B){return function(){return B.$jscomp$loop$prop$outsidePointerEvents$2261.next(e)}}(q)):q.$jscomp$loop$prop$outsidePointerEvents$2261.next(e)}}}};U(Vy,Ty);
Vy.prototype.add=function(a){var b=this;Ty.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}};
Vy.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}};
Vy.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)};Vy.\u0275fac=function(a){return new (a||Vy)(u(ah),u(qx),u(Se,8))};Vy.\u0275prov=mc({token:Vy,factory:Vy.\u0275fac,providedIn:"root"});var Wy=function(a,b){this._platform=b;this._document=a};Wy.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var XWb=function(a){a._containerElement||a._createContainer();return a._containerElement};
Wy.prototype._createContainer=function(){if(this._platform.isBrowser||Gma())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");Gma()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Wy.\u0275fac=function(a){return new (a||Wy)(u(ah),u(qx))};Wy.\u0275prov=mc({token:Wy,factory:Wy.\u0275fac,providedIn:"root"});var YWb=Bma(),ZWb=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};ZWb.prototype.attach=function(){};
ZWb.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=ug(-this._previousScrollPosition.left);a.style.top=ug(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
ZWb.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");YWb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);YWb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
ZWb.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 $Wb=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()})}};$Wb.prototype.attach=function(a){this._overlayRef=a};
$Wb.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(ue(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)}};$Wb.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};$Wb.prototype.detach=function(){this.disable();this._overlayRef=null};var aXb=function(){};aXb.prototype.enable=function(){};aXb.prototype.disable=function(){};aXb.prototype.attach=function(){};var bXb=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};bXb.prototype.attach=function(a){this._overlayRef=a};
bXb.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;voa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
bXb.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};bXb.prototype.detach=function(){this.disable();this._overlayRef=null};var cXb=new Nc("VIRTUAL_SCROLL_STRATEGY");var Xy=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new E.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};Xy.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Xy.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Xy.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new E.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(xe(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,E.of)()};
Xy.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var dXb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Xy.prototype._getWindow=function(){return this._document.defaultView||window};
Xy.prototype._scrollableContainsElement=function(a,b){b=vg(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Xy.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,E.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
Xy.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};Xy.\u0275fac=function(a){return new (a||Xy)(u(Se),u(qx),u(ah,8))};Xy.\u0275prov=mc({token:Xy,factory:Xy.\u0275fac,providedIn:"root"});var Yy=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new E.Subject;this._elementScrolled=new E.Observable(function(g){return e.ngZone.runOutsideAngular(function(){return(0,E.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(Pe(e._destroyed)).subscribe(g)})})};Yy.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Yy.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Yy.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!=Dma()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==Dma()?a.left=a.right:1==Dma()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Yy.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;Bma()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};Yy.\u0275fac=function(a){return new (a||Yy)(C(rd),C(Xy),C(Se),C(Ry,8))};Yy.\u0275dir=Gc({type:Yy,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var eXb=function(){},fXb=function(a,b,c,d){iTb(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})}})};eXb.prototype.detach=function(){};var Zy=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 E.Subject;b&&b.length&&(a?b.forEach(function(g){return e._markSelected(g)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};f=Zy.prototype;
f.select=function(){var a=this;Lc.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.deselect=function(){var a=this;Lc.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};ch.Object.defineProperties(Zy.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var $y=function(){this._listeners=[]};$y.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)};$y.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};$y.prototype.ngOnDestroy=function(){this._listeners=[]};$y.\u0275fac=function(a){return new (a||$y)};$y.\u0275prov=mc({token:$y,factory:$y.\u0275fac,providedIn:"root"});var gXb=new Nc("_ViewRepeater");var az=function(a,b,c){var d=this;this._platform=a;this._change=new E.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=az.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(xe(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}};az.\u0275fac=function(a){return new (a||az)(u(qx),u(Se),u(ah,8))};az.\u0275prov=mc({token:az,factory:az.\u0275fac,providedIn:"root"});var hXb=new Nc("VIRTUAL_SCROLLABLE"),bz=function(a,b,c,d){Yy.call(this,a,b,c,d)};U(bz,Yy);bz.\u0275fac=function(a){return new (a||bz)(C(rd),C(Xy),C(Se),C(Ry,8))};bz.\u0275dir=Gc({type:bz,features:[Ye]});var iXb=["contentWrapper"],jXb="undefined"!==typeof requestAnimationFrame?E.animationFrameScheduler:E.asapScheduler,cz=function(a,b,c,d,e,g,h,l){Yy.call(this,a,g,c,e);var q=this;this.elementRef=a;this._changeDetectorRef=b;this._scrollStrategy=d;this.scrollable=l;this._platform=wc(qx);this._detachedSubject=new E.Subject;this._renderedRangeSubject=new E.Subject;this._orientation="vertical";this._appendOnly=!1;this.scrolledIndexChange=new E.Observable(function(x){return q._scrollStrategy.scrolledIndexChange.subscribe(function(A){return Promise.resolve().then(function(){return q.ngZone.run(function(){return x.next(A)})})})});
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=E.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)};U(cz,bz);cz.\u0275dir=bz.\u0275dir;f=cz.prototype;f.ngOnInit=function(){var a=this;this._platform.isBrowser&&(this.scrollable===this&&bz.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){a._measureViewportSize();a._scrollStrategy.attach(a);a.scrollable._elementScrolled.pipe(Ne(null),xe(0,jXb)).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();bz.prototype.ngOnDestroy.call(this)};f.attach=function(a){var b=this;this.ngZone.runOutsideAngular(function(){b._forOf=a;b._forOf.dataStream.pipe(Pe(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":""};ch.Object.defineProperties(cz.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=tg(a)}}});
cz.\u0275fac=function(a){return new (a||cz)(C(rd),C(mw),C(Se),C(cXb,8),C(Ry,8),C(Xy),C(az),C(hXb,8))};
cz.\u0275cmp=Bc({type:cz,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,b){a&1&&Qf(iXb,7);if(a&2){var c;Pf(c=Sf())&&(b._contentWrapper=c.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,b){a&2&&mf("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:[Cf([{provide:Yy,useFactory:function(a,b){return a||b},deps:[[new ov,new OQb(hXb)],cz]}]),Ye,Dka],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(a,b){a&1&&(tf(),G(0,"div",0,1),uf(2),H(),I(3,"div",2));a&2&&(z(3),lf("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 dz=function(){};dz.\u0275fac=function(a){return new (a||dz)};dz.\u0275mod=Dc({type:dz});dz.\u0275inj=nc({});var ez=function(){};ez.\u0275fac=function(a){return new (a||ez)};ez.\u0275mod=Dc({type:ez});ez.\u0275inj=nc({imports:[Sy,dz,Sy,dz]});var fz=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new aXb};this.close=function(g){return new $Wb(e._scrollDispatcher,e._ngZone,e._viewportRuler,g)};this.block=function(){return new ZWb(e._viewportRuler,e._document)};this.reposition=function(g){return new bXb(e._scrollDispatcher,e._viewportRuler,e._ngZone,g)};this._document=d};fz.\u0275fac=function(a){return new (a||fz)(u(Xy),u(az),u(Se),u(ah))};
fz.\u0275prov=mc({token:fz,factory:fz.\u0275fac,providedIn:"root"});var gz=function(a){this.scrollStrategy=new aXb;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 hz=function(a,b,c,d,e,g,h,l,q,x){var A=this;x=void 0===x?!1:x;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=x;this._backdropElement=null;this._backdropClick=new E.Subject;this._attachments=new E.Subject;this._detachments=new E.Subject;this._locationChanges=E.Subscription.EMPTY;this._backdropClickHandler=function(B){return A._backdropClick.next(B)};
this._backdropTransitionendHandler=function(B){A._disposeBackdrop(B.target)};this._keydownEvents=new E.Subject;this._outsidePointerEvents=new E.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};f=hz.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(Ce()).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()){kXb(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=ug(this._config.width);a.height=ug(this._config.height);a.minWidth=ug(this._config.minWidth);a.minHeight=ug(this._config.minHeight);a.maxWidth=ug(this._config.maxWidth);a.maxHeight=ug(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 kXb=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)})))};
hz.prototype._toggleClasses=function(a,b,c){b=sg(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,Pc(b)):a.classList.remove.apply(a.classList,Pc(b)))};
hz.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(Pe((0,E.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())})})};
hz.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};hz.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)};
ch.Object.defineProperties(hz.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var lXb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var yoa=/([A-Za-z%]+)$/,iz=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 E.Subject;this._resizeSubscription=E.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};iz.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()})};
iz.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)mXb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=XWb(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),x=this._getOverlayPoint(q,b,l),A=this._getOverlayFit(x,b,c,l);if(A.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(A,x,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!g||g.overlayFit.visibleArea<A.visibleArea)g={overlayFit:A,
overlayPoint:x,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)}};iz.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
iz.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&bh(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 mXb=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=XWb(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},nXb=function(a,b){a._scrollables=b;return a},jz=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=
null);return a},kz=function(a,b){a._viewportMargin=b;return a},lz=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},oXb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},pXb=function(a,b){a._canPush=void 0===b?!0:b;return a},qXb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};iz.prototype.setOrigin=function(a){this._origin=a;return this};var rXb=function(a,b){a._transformOriginSelector=b;return a};f=iz.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=Aoa(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=zoa(this._overlayRef.getConfig().minHeight);var e=zoa(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=Aoa(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 lXb(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 x=a.x;b=c.right-a.x}else x=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*x,x=a.x-x,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(x=a.x-c/2);return{top:e,left:x,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=ug(a.height);c.top=ug(a.top);c.bottom=ug(a.bottom);
c.width=ug(a.width);c.left=ug(a.left);c.right=ug(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=ug(d));e&&(c.maxWidth=ug(e))}this._lastBoundingBoxSize=a;bh(this._boundingBox.style,c)};f._resetBoundingBoxStyles=function(){bh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
f._resetOverlayElementStyles=function(){bh(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();bh(c,this._getExactOverlayY(b,a,h));bh(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=ug(g.maxHeight):e&&(c.maxHeight=""));g.maxWidth&&
(d?c.maxWidth=ug(g.maxWidth):e&&(c.maxWidth=""));bh(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=ug(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=ug(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:woa(a,c),isOriginOutsideView:voa(a,c),isOverlayClipped:woa(b,c),isOverlayOutsideView:voa(b,c)}};f._subtractOverflows=function(a){return Lc.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&&sg(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 rd)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}};
ch.Object.defineProperties(iz.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var sXb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};f=sXb.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 tXb=function(a){a.left("");a._xPosition="center";return a},uXb=function(a){a.top("");a._alignItems="center";return a};
sXb.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="",x="";if(d)x="flex-start";else if("center"===
g)x="center",h?q=c:l=c;else if(h)if("left"===g||"end"===g)x="flex-end",l=c;else{if("right"===g||"start"===g)x="flex-start",q=c}else if("left"===g||"start"===g)x="flex-start",l=c;else if("right"===g||"end"===g)x="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=x;b.alignItems=e?"flex-start":this._alignItems}};
sXb.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 mz=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};mz.prototype.global=function(){return new sXb};var nz=function(a,b){return new iz(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};mz.\u0275fac=function(a){return new (a||mz)(u(az),u(ah),u(qx),u(Wy))};mz.\u0275prov=mc({token:mz,factory:mz.\u0275fac,providedIn:"root"});var vXb=0,oz=function(a,b,c,d,e,g,h,l,q,x,A,B){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=x;this._outsideClickDispatcher=A;this._animationsModuleType=B};f=oz.prototype;
f.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new gz(a);a.direction=a.direction||this._directionality.value;return new hz(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-"+vXb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};f._createHostElement=function(){var a=this._document.createElement("div");XWb(this._overlayContainer).appendChild(a);return a};f._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(kw));return new Ex(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
oz.\u0275fac=function(a){return new (a||oz)(u(fz),u(Wy),u(rv),u(mz),u(Uy),u(qv),u(Se),u(ah),u(Ry),u(Pw),u(Vy),u(tv,8))};oz.\u0275prov=mc({token:oz,factory:oz.\u0275fac,providedIn:"root"});var wXb=[{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"}],xXb=new Nc("cdk-connected-overlay-scroll-strategy"),pz=function(a){this.elementRef=a};pz.\u0275fac=function(a){return new (a||pz)(C(rd))};
pz.\u0275dir=Gc({type:pz,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var qz=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=E.Subscription.EMPTY;this.viewportMargin=0;this.disableClose=this.open=!1;this.backdropClick=new Vv;this.positionChange=new Vv;this.attach=new Vv;this.detach=new Vv;this.overlayKeydown=new Vv;this.overlayOutsideClick=new Vv;this._templatePortal=new Cx(b,
c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};f=qz.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=wXb);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||xg(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 gz({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 rXb(qXb(kz(oXb(pXb(lz(jz(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
f._createPositionStrategy=function(){var a=nz(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};f._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof pz?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(ija(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()};
ch.Object.defineProperties(qz.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=
tg(a)}},lockPosition:{configurable:!0,enumerable:!0,get:function(){return this._lockPosition},set:function(a){this._lockPosition=tg(a)}},flexibleDimensions:{configurable:!0,enumerable:!0,get:function(){return this._flexibleDimensions},set:function(a){this._flexibleDimensions=tg(a)}},growAfterOpen:{configurable:!0,enumerable:!0,get:function(){return this._growAfterOpen},set:function(a){this._growAfterOpen=tg(a)}},push:{configurable:!0,enumerable:!0,get:function(){return this._push},set:function(a){this._push=
tg(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"}}});qz.\u0275fac=function(a){return new (a||qz)(C(oz),C(Mf),C(Nf),C(xXb),C(Ry,8))};
qz.\u0275dir=Gc({type:qz,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:[Uc]});var yXb={provide:xXb,deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var rz=function(){};rz.\u0275fac=function(a){return new (a||rz)};rz.\u0275mod=Dc({type:rz});rz.\u0275inj=nc({providers:[oz,yXb],imports:[Sy,Hx,ez,ez]});new wv;new wv;var zXb=new Nc("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),sz=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};sz.prototype._checkIsEnabled=function(a){return Gma()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};sz.\u0275fac=function(a){return new (a||sz)(u(yy),u(zXb,8),u(ah))};sz.\u0275mod=Dc({type:sz});
sz.\u0275inj=nc({imports:[Sy,Sy]});new Nc("MAT_DATE_LOCALE",{providedIn:"root",factory:Doa});var tz=function(){this.localeChanges=this._localeChanges=new E.Subject},uz=function(a,b){return AXb(b)&&a.isValid(b)?b:null};tz.prototype.deserialize=function(a){return null==a||AXb(a)&&this.isValid(a)?a:this.invalid()};tz.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var vz=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
tz.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!vz(this,a,b):c==d}return a==b};var BXb=function(a,b,c,d){return c&&0>vz(a,b,c)?c:d&&0<vz(a,b,d)?d:b};var wz=new Nc("mat-date-formats");var xz=function(){};xz.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};xz.\u0275fac=function(a){return new (a||xz)};xz.\u0275prov=mc({token:xz,factory:xz.\u0275fac,providedIn:"root"});var CXb=function(){};CXb.\u0275fac=function(a){return new (a||CXb)};CXb.\u0275dir=Gc({type:CXb,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});var yz=function(){};yz.\u0275fac=function(a){return new (a||yz)};yz.\u0275mod=Dc({type:yz});yz.\u0275inj=nc({imports:[sz,sz]});var DXb=new Nc("MAT_OPTION_PARENT_COMPONENT");fh(function(){});var EXb=new Nc("MatOptgroup");var FXb=og({passive:!0,capture:!0}),HXb=function(a,b,c,d){var e=GXb,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,FXb)}))};var IXb=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 JXb={enterDuration:225,exitDuration:150},KXb=og({passive:!0,capture:!0}),LXb=["mousedown","touchstart"],MXb=["mouseup","mouseleave","touchend","touchcancel"],NXb=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=vg(c))},OXb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),g=Object.assign({},
JXb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Foa(b,c,e);b-=e.left;var 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 x=new IXb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";x.state=0;d.persistent||(a._mostRecentTransientRipple=x);var A=null;e||!c&&!g.exitDuration||a._ngZone.runOutsideAngular(function(){var B=function(){return a._finishRippleTransition(x)},K=function(){return a._destroyRipple(x)};q.addEventListener("transitionend",B);q.addEventListener("transitioncancel",K);A={onTransitionEnd:B,onTransitionCancel:K}});a._activeRipples.set(x,A);!e&&c||a._finishRippleTransition(x);
return x},PXb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},JXb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};NXb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||PXb(a._renderer,a)})};
var QXb=function(a,b){var c=vg(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,LXb.forEach(function(d){HXb(a._ngZone,d,c,a)}))};f=NXb.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(){MXb.forEach(function(c){b._triggerElement.addEventListener(c,b,KXb)})}),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||PXb(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=Kma(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,OXb(this,a.clientX,a.clientY,this._target.rippleConfig))};f._onTouchStart=function(a){if(!this._target.rippleDisabled&&!Lma(a)){this._lastTouchStartEvent=Date.now();this._isPointerDown=!0;a=a.changedTouches;for(var b=0;b<a.length;b++)OXb(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&&PXb(a._renderer,a)}))};f._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
f._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(LXb.forEach(function(c){var d=GXb,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,FXb)))}}),this._pointerUpEventsRegistered&&MXb.forEach(function(c){return b.removeEventListener(c,a,KXb)}))};
var GXb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=rg(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 RXb=new Nc("mat-ripple-global-options"),zz=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 NXb(this,b,a,c)};f=zz.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&&QXb(this._rippleRenderer,this.trigger)};f.launch=function(a,b,c){return"number"===typeof a?OXb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):OXb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
ch.Object.defineProperties(zz.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}}});zz.\u0275fac=function(a){return new (a||zz)(C(rd),C(Se),C(qx),C(RXb,8),C(tv,8))};
zz.\u0275dir=Gc({type:zz,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&mf("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 Az=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};Az.\u0275fac=function(a){return new (a||Az)(C(tv,8))};
Az.\u0275cmp=Bc({type:Az,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&mf("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 SXb=["text"],TXb=0,UXb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},Bz=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-"+TXb++;this.onSelectionChange=new Vv;this._stateChanges=new E.Subject};f=Bz.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||xg(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 UXb(this,void 0===a?!1:a))};
ch.Object.defineProperties(Bz.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=tg(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()}}});Bz.\u0275fac=function(){vd()};
Bz.\u0275dir=Gc({type:Bz,viewQuery:function(a,b){a&1&&Qf(SXb,7);if(a&2){var c;Pf(c=Sf())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});var Cz=function(){};Cz.\u0275fac=function(a){return new (a||Cz)};Cz.\u0275mod=Dc({type:Cz});Cz.\u0275inj=nc({imports:[sz,sz]});var Dz=function(){};Dz.\u0275fac=function(a){return new (a||Dz)};Dz.\u0275mod=Dc({type:Dz});Dz.\u0275inj=nc({imports:[sz]});var VXb={capture:!0},WXb=["focus","click","mouseenter","touchstart"],Ez=function(){var a=this;this._document=wc(ah,{optional:!0});this._animationMode=wc(tv,{optional:!0});this._globalRippleOptions=wc(RXb,{optional:!0});this._platform=wc(qx);this._ngZone=wc(Se);this._onInteraction=function(b){b.target!==a._document&&(b=b.target.closest("[mat-button-ripple-uninitialized]"))&&(b.removeAttribute("mat-button-ripple-uninitialized"),a._appendRipple(b))};this._ngZone.runOutsideAngular(function(){for(var b=
k(WXb),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a._document)||d.addEventListener(c,a._onInteraction,VXb)}})};Ez.prototype.ngOnDestroy=function(){for(var a=k(WXb),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,VXb)}};
Ez.prototype._appendRipple=function(a){if(this._document){var b=this._document.createElement("span");b.classList.add("mat-mdc-button-ripple");var c=new XXb(a,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);c.rippleConfig.centered=a.hasAttribute("mat-icon-button");QXb(new NXb(c,this._ngZone,b,this._platform),a);a.append(b)}};
Ez.prototype._createMatRipple=function(a){if(this._document){var b;null==(b=a.querySelector(".mat-mdc-button-ripple"))||b.remove();a.removeAttribute("mat-button-ripple-uninitialized");b=this._document.createElement("span");b.classList.add("mat-mdc-button-ripple");var c=new zz(new rd(b),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);c._isInitialized=!0;c.trigger=a;a.append(b);return c}};
Ez.\u0275fac=function(a){return new (a||Ez)};Ez.\u0275prov=mc({token:Ez,factory:Ez.\u0275fac,providedIn:"root"});var XXb=function(a,b,c){this._button=a;this._globalRippleOptions=b;this._setRippleConfig(b,c)};XXb.prototype._setRippleConfig=function(a,b){this.rippleConfig=a||{};"NoopAnimations"===b&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})};
ch.Object.defineProperties(XXb.prototype,{rippleDisabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._button.hasAttribute("disabled")||!(null==(a=this._globalRippleOptions)||!a.disabled)}}});var YXb=[{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"]}],ZXb=dh(fh(eh(function(a){this._elementRef=a}))),Fz=function(a,b,c,d){var e=ZXb.call(this,a)||this;e._platform=b;e._ngZone=c;e._animationMode=d;e._focusMonitor=wc(xx);e._rippleLoader=wc(Ez);e._isFab=!1;var g=a.nativeElement.classList;a=k(YXb);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};U(Fz,ZXb);f=Fz.prototype;
f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnChanges=function(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){(a=void 0===a?"program":a)?yx(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};f._hasHostAttributes=function(){var a=this;return Lc.apply(0,arguments).some(function(b){return a._elementRef.nativeElement.hasAttribute(b)})};
ch.Object.defineProperties(Fz.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement));return this._ripple},set:function(a){this._ripple=a}}});Fz.\u0275fac=function(){vd()};Fz.\u0275dir=Gc({type:Fz,features:[Ye,Uc]});var Gz=function(a,b,c,d){var e=Fz.call(this,a,b,c,d)||this;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};
U(Gz,Fz);Gz.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};Gz.prototype.ngOnDestroy=function(){Fz.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};Gz.\u0275fac=function(){vd()};Gz.\u0275dir=Gc({type:Gz,features:[Ye]});var $Xb=["mat-button",""],aYb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],bYb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
cYb=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'},
dYb=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"},Hz=function(a,b,c,d){return Fz.call(this,a,b,c,d)||this};U(Hz,Fz);Hz.\u0275dir=Fz.\u0275dir;
Hz.\u0275fac=function(a){return new (a||Hz)(C(rd),C(qx),C(Se),C(tv,8))};
Hz.\u0275cmp=Bc({type:Hz,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(a,b){a&2&&(bf("disabled",b.disabled||null),mf("_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:[Ye],attrs:$Xb,ngContentSelectors:bYb,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&&(tf(aYb),I(0,"span",0),uf(1),G(2,"span",1),uf(3,1),H(),uf(4,2),I(5,"span",2)(6,"span",3));a&2&&mf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[cYb(),dYb()],encapsulation:2,changeDetection:0});var Iz=function(a,b,c,d){return Gz.call(this,a,b,c,d)||this};
U(Iz,Gz);Iz.\u0275dir=Gz.\u0275dir;Iz.\u0275fac=function(a){return new (a||Iz)(C(rd),C(qx),C(Se),C(tv,8))};
Iz.\u0275cmp=Bc({type:Iz,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(a,b){a&2&&(bf("disabled",b.disabled||null)("tabindex",b.disabled?-1:b.tabIndex)("aria-disabled",b.disabled.toString()),mf("_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:[Ye],attrs:$Xb,ngContentSelectors:bYb,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&&(tf(aYb),I(0,"span",0),uf(1),G(2,"span",1),uf(3,1),H(),uf(4,2),I(5,"span",2)(6,"span",3));a&2&&mf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[cYb(),dYb()],encapsulation:2,changeDetection:0});var Jz=function(a,b,c,d){return Fz.call(this,a,b,c,d)||this};U(Jz,Fz);Jz.\u0275dir=Fz.\u0275dir;ch.Object.defineProperties(Jz.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0);return this._ripple}}});Jz.\u0275fac=function(a){return new (a||Jz)(C(rd),C(qx),C(Se),C(tv,8))};
Jz.\u0275cmp=Bc({type:Jz,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(a,b){a&2&&(bf("disabled",b.disabled||null),mf("_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:[Ye],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&&(tf(),I(0,"span",0),uf(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 Kz=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new E.Subject;this.selection=a};Kz.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};Kz.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};Kz.prototype._isValidDateInstance=function(a){return AXb(a)&&this._adapter.isValid(a)};Kz.\u0275fac=function(){vd()};Kz.\u0275prov=mc({token:Kz,factory:Kz.\u0275fac});
var Lz=function(a){Kz.call(this,null,a)};U(Lz,Kz);Lz.prototype.add=function(a){Kz.prototype.updateSelection.call(this,a,this)};Lz.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};Lz.prototype.isComplete=function(){return null!=this.selection};Lz.prototype.clone=function(){var a=new Lz(this._adapter);a.updateSelection(this.selection,this);return a};Lz.\u0275fac=function(a){return new (a||Lz)(u(tz))};Lz.\u0275prov=mc({token:Lz,factory:Lz.\u0275fac});
var eYb={provide:Kz,deps:[[new ov,new pv,Kz],tz],useFactory:function(a,b){return a||new Lz(b)}};new ov;new pv;var Mz=function(){this.changes=new E.Subject};Mz.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};Mz.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};Mz.\u0275fac=function(a){return new (a||Mz)};Mz.\u0275prov=mc({token:Mz,factory:Mz.\u0275fac,providedIn:"root"});var fYb=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},gYb=1,hYb=og({passive:!1,capture:!0}),Nz=og({passive:!0,capture:!0}),iYb=og({passive:!0}),Oz=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=wc(qx);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new Vv;this.previewChange=new Vv;this.activeDateChange=new Vv;this.dragStarted=new Vv;this.dragEnded=new Vv;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=Roa(d),g=e?c._getCellFromElement(e):
null;e!==d.target&&(c._didDragSinceMouseDown=!0);Noa(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=Noa(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=Roa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+gYb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,hYb);d.addEventListener("mouseenter",c._enterHandler,Nz);d.addEventListener("focus",c._enterHandler,Nz);d.addEventListener("mouseleave",c._leaveHandler,Nz);d.addEventListener("blur",
c._leaveHandler,Nz);d.addEventListener("mousedown",c._mousedownHandler,iYb);d.addEventListener("touchstart",c._mousedownHandler,iYb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};f=Oz.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,hYb);a.removeEventListener("mouseenter",this._enterHandler,Nz);a.removeEventListener("focus",this._enterHandler,Nz);a.removeEventListener("mouseleave",this._leaveHandler,Nz);a.removeEventListener("blur",this._leaveHandler,Nz);a.removeEventListener("mousedown",this._mousedownHandler,iYb);a.removeEventListener("touchstart",this._mousedownHandler,iYb);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(Ce()).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 Ooa(a,this.startValue,this.endValue)};f._isRangeEnd=function(a){return Poa(a,this.startValue,this.endValue)};f._isInRange=function(a){return Qoa(a,this.startValue,this.endValue,this.isRange)};f._isComparisonStart=function(a){return Ooa(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 Poa(a,this.comparisonStart,this.comparisonEnd)};f._isInComparisonRange=function(a){return Qoa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};f._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};f._isPreviewStart=function(a){return Ooa(a,this.previewStart,this.previewEnd)};f._isPreviewEnd=function(a){return Poa(a,this.previewStart,this.previewEnd)};
f._isInPreview=function(a){return Qoa(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=Noa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
Oz.\u0275fac=function(a){return new (a||Oz)(C(rd),C(Se))};
Oz.\u0275cmp=Bc({type:Oz,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:[Uc],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&&(Q(0,Ioa,3,6,"tr",0),Q(1,Loa,3,2,"tr",1),G(2,"label",
2),R(3),H(),G(4,"label",2),R(5),H());a&2&&(F("ngIf",b._firstRowOffset<b.labelMinRequiredCells),z(1),F("ngForOf",b.rows),z(1),F("id",b._startDateLabelId),z(1),zf(" ",b.startDateAccessibleName,"\n"),z(1),F("id",b._endDateLabelId),z(1),zf(" ",b.endDateAccessibleName,"\n"))},dependencies:[rw,sw,tw],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 jYb=new Nc("MAT_DATE_RANGE_SELECTION_STRATEGY");new ov;new pv;var Pz=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=E.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new Vv;this._userSelection=new Vv;this.dragStarted=new Vv;this.dragEnded=new Vv;this.activeDateChange=new Vv;this._activeDate=new Xm};f=Pz.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ne(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);vz(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=Qz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Qz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Qz(this._activeDate,-7);break;case 40:this.activeDate=Qz(this._activeDate,7);break;case 36:this.activeDate=Qz(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=Qz(this._activeDate,kYb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?Rz(this._activeDate,-1):Sz(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?Rz(this._activeDate,1):Sz(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||xg(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}vz(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 Xm);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=Tz(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 Tz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
f._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=lYb(this._dateAdapter,"narrow"),c=lYb(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=kYb(this.activeDate),b=mYb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=Tz(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 fYb(c+1,b[c],h,g,l,this._getCellCompareValue(e),
e))}};f._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=vz(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=vz(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};
ch.Object.defineProperties(Pz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=uz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Xm;this._activeDate=BXb(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=uz(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=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Pz.\u0275fac=function(a){return new (a||Pz)(C(mw),C(wz,8),C(tz,8),C(Ry,8),C(jYb,8))};
Pz.\u0275cmp=Bc({type:Pz,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&Qf(Oz,5);if(a&2){var c;Pf(c=Sf())&&(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:[Uc],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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),Q(3,Soa,5,2,"th",2),H(),G(4,"tr"),I(5,"th",3),H()(),G(6,"tbody",4),M("selectedValueChange",function(c){return b._dateSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("previewChange",
function(c){return b._previewChanged(c)})("dragStarted",function(c){return b.dragStarted.emit(c)})("dragEnded",function(c){return b._dragEnded(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),H()());a&2&&(z(3),F("ngForOf",b._weekdays),z(3),F("label",b._monthLabel)("rows",b._weeks)("todayValue",b._todayDate)("startValue",b._rangeStart)("endValue",b._rangeEnd)("comparisonStart",b._comparisonRangeStart)("comparisonEnd",b._comparisonRangeEnd)("previewStart",
b._previewStart)("previewEnd",b._previewEnd)("isRange",b._isRange)("labelMinRequiredCells",3)("activeCell",b._dateAdapter.getDate(b.activeDate)-1)("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName))},dependencies:[sw,Oz],encapsulation:2,changeDetection:0});var Uz=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=E.Subscription.EMPTY;this.selectedChange=new Vv;this.yearSelected=new Vv;this.activeDateChange=new Vv;this._activeDate=new Xm};f=Uz.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ne(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Xm);var b=this._dateAdapter.getYear(this._activeDate)-ih(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=Tz(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);vz(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=Rz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Rz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Rz(this._activeDate,-4);break;case 40:this.activeDate=Rz(this._activeDate,4);break;case 36:this.activeDate=Rz(this._activeDate,-ih(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=Rz(this._activeDate,24-ih(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=Rz(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=Rz(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}vz(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 ih(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=Tz(a,b,1);c=kYb(c);return Tz(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};f._createCellForYear=function(a){var b=Tz(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new fYb(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=Tz(a,0,1);this._dateAdapter.getYear(b)==a;b=Qz(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))};
ch.Object.defineProperties(Uz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=uz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Xm;this._activeDate=BXb(this._dateAdapter,a,this.minDate,this.maxDate);Uoa(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=uz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Uz.\u0275fac=function(a){return new (a||Uz)(C(mw),C(tz,8),C(Ry,8))};
Uz.\u0275cmp=Bc({type:Uz,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&Qf(Oz,5);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),H()(),G(4,"tbody",3),M("selectedValueChange",function(c){return b._yearSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",
function(c){return b._handleCalendarBodyKeydown(c)}),H()());a&2&&(z(4),F("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[Oz],encapsulation:2,changeDetection:0});var Vz=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=E.Subscription.EMPTY;this.selectedChange=new Vv;this.monthSelected=new Vv;this.activeDateChange=new Vv;this._activeDate=new Xm};f=Vz.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ne(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._monthSelected=function(a){a=a.value;var b=Tz(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);vz(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=Sz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Sz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Sz(this._activeDate,-4);break;case 40:this.activeDate=Sz(this._activeDate,4);break;case 36:this.activeDate=Sz(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=Sz(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=Rz(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=Rz(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}vz(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 Xm);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=Tz(this._dateAdapter.getYear(this.activeDate),a,1);b=kYb(b);return Tz(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
f._createCellForMonth=function(a,b){var c=Tz(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 fYb(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=Tz(b,a,1);this._dateAdapter.getMonth(b)==a;b=Qz(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)};
ch.Object.defineProperties(Vz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=uz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Xm;this._activeDate=BXb(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=uz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Vz.\u0275fac=function(a){return new (a||Vz)(C(mw),C(wz,8),C(tz,8),C(Ry,8))};
Vz.\u0275cmp=Bc({type:Vz,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&Qf(Oz,5);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"table",0)(1,"thead",1)(2,"tr"),I(3,"th",2),H()(),G(4,"tbody",3),M("selectedValueChange",function(c){return b._monthSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",
function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),H()());a&2&&(z(4),F("label",b._yearLabel)("rows",b._months)("todayValue",b._todayMonth)("startValue",b._selectedMonth)("endValue",b._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._dateAdapter.getMonth(b.activeDate)))},dependencies:[Oz],encapsulation:2,changeDetection:0});var nYb=1,Wz=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+nYb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
Wz.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):Uoa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
Wz.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-ih(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+Tz(a,0,1).getFullYear();b=""+Tz(b,0,1).getFullYear();return[a,b]};
ch.Object.defineProperties(Wz.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,Pc(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,Pc(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]}}});Wz.\u0275fac=function(a){return new (a||Wz)(C(Mz),C(sc(function(){return Xz})),C(tz,8),C(wz,8),C(mw))};
Wz.\u0275cmp=Bc({type:Wz,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&&(tf(),G(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),G(3,"span",3),R(4),H(),fd(),G(5,"svg",4),I(6,"polygon",5),H()(),gd(),I(7,"div",6),uf(8),G(9,"button",7),M("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?
Sz(b.calendar.activeDate,-1):Rz(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),H(),G(10,"button",8),M("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?Sz(b.calendar.activeDate,1):Rz(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),H()()(),G(11,"label",9),R(12),H());a&2&&(z(2),bf("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),z(2),Af(b.periodButtonText),z(1),mf("mat-calendar-invert","month"!==b.calendar.currentView),
z(4),F("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),bf("aria-label",b.prevButtonLabel),z(1),F("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),bf("aria-label",b.nextButtonLabel),z(1),F("id",b._periodButtonLabelId),z(1),Af(b.periodButtonDescription))},dependencies:[Hz,Jz],encapsulation:2,changeDetection:0});
var Xz=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 Vv;this.yearSelected=new Vv;this.monthSelected=new Vv;this.viewChanged=new Vv(!0);this._userSelection=new Vv;this._userDragDrop=new Vv;this._activeDrag=null;this.stateChanges=new E.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};f=Xz.prototype;
f.ngAfterContentInit=function(){this._calendarHeaderPortal=new Bx(this.headerComponent||Wz);this.activeDate=this.startAt||new Xm;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};
ch.Object.defineProperties(Xz.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=uz(this._dateAdapter,this._dateAdapter.deserialize(a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=BXb(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)}}});Xz.\u0275fac=function(a){return new (a||Xz)(C(Mz),C(tz,8),C(wz,8),C(mw))};
Xz.\u0275cmp=Bc({type:Xz,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(Qf(Pz,5),Qf(Vz,5),Qf(Uz,5));if(a&2){var c;Pf(c=Sf())&&(b.monthView=c.first);Pf(c=Sf())&&(b.yearView=c.first);Pf(c=Sf())&&(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:[Cf([eYb]),Uc],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&&(Q(0,Voa,
0,0,"ng-template",0),G(1,"div",1),Q(2,Woa,1,11,"mat-month-view",2),Q(3,Xoa,1,6,"mat-year-view",3),Q(4,Yoa,1,6,"mat-multi-year-view",4),H());a&2&&(F("cdkPortalOutlet",b._calendarHeaderPortal),z(1),F("ngSwitch",b.currentView),z(1),F("ngSwitchCase","month"),z(1),F("ngSwitchCase","year"),z(1),F("ngSwitchCase","multi-year"))},dependencies:[uw,vw,zx,Gx,Pz,Vz,Uz],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 oYb=["mat-button",""],pYb=["*"],qYb=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"},
rYb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),sYb=dh(fh(eh(function(a){this._elementRef=a}))),Yz=function(a,b,c){var d=sYb.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(rYb),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};U(Yz,sYb);f=Yz.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){a?yx(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 Lc.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};Yz.\u0275fac=function(a){return new (a||Yz)(C(rd),C(xx),C(tv,8))};
Yz.\u0275cmp=Bc({type:Yz,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&&Qf(zz,5);if(a&2){var c;Pf(c=Sf())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(a,b){a&2&&(bf("disabled",b.disabled||null),mf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ye],attrs:oYb,ngContentSelectors:pYb,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&&(tf(),G(0,"span",0),uf(1),H(),I(2,"span",1)(3,"span",2));a&2&&(z(2),mf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),F("matRippleDisabled",
b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[zz],styles:[qYb()],encapsulation:2,changeDetection:0});var Zz=function(a,b,c,d){var e=Yz.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};U(Zz,Yz);
Zz.prototype.ngAfterViewInit=function(){var a=this;Yz.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};Zz.prototype.ngOnDestroy=function(){Yz.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
Zz.\u0275fac=function(a){return new (a||Zz)(C(xx),C(rd),C(tv,8),C(Se,8))};
Zz.\u0275cmp=Bc({type:Zz,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&&(bf("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString()),mf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Ye],attrs:oYb,ngContentSelectors:pYb,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&&(tf(),G(0,"span",0),uf(1),H(),I(2,"span",1)(3,"span",2));a&2&&(z(2),mf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),
F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[zz],styles:[qYb()],encapsulation:2,changeDetection:0});var $z=function(a,b,c,d){return Bz.call(this,a,b,c,d)||this};U($z,Bz);$z.\u0275fac=function(a){return new (a||$z)(C(rd),C(mw),C(DXb,8),C(EXb,8))};
$z.\u0275cmp=Bc({type:$z,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(a,b){a&1&&M("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(sf("id",b.id),bf("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),mf("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",b.disabled))},
exportAs:["matOption"],features:[Ye],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&&(tf(),Q(0,Zoa,1,2,"mat-pseudo-checkbox",0),G(1,"span",1,2),uf(3),H(),Q(4,$oa,2,1,"span",
3),I(5,"div",4));a&2&&(F("ngIf",b.multiple),z(4),F("ngIf",b.group&&b.group._inert),z(1),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[zz,tw,Az],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 aA=function(){};aA.\u0275fac=function(a){return new (a||aA)};aA.\u0275mod=Dc({type:aA});aA.\u0275inj=nc({imports:[Cz,Hw,sz,Dz]});var tYb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},uYb=Fg("dialogContainer",[Ig("void, exit",Hg({opacity:0,transform:"scale(0.7)"})),Ig("enter",Hg({transform:"none"})),Jg("* => enter",{type:3,steps:[Gg("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Hg({transform:"none",opacity:1})),nna("@*",mna())],options:null},tYb),Jg("* => void, * => exit",{type:3,steps:[Gg("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Hg({opacity:0})),nna("@*",mna())],options:null},
tYb)]);var vYb=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 wYb=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 bA=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};U(bA,Dx);f=bA.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":sUb(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=qg();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(yx(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=qg();return a===b||a.contains(b)};f._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=qg())};
f._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};bA.\u0275fac=function(a){return new (a||bA)(C(rd),C(tx),C(ah,8),C(wYb),C(rx),C(Se),C(hz),C(xx))};
bA.\u0275cmp=Bc({type:bA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&Qf(Gx,7);if(a&2){var c;Pf(c=Sf())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&bf("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:[Ye],decls:1,
vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&Q(0,apa,0,0,"ng-template",0)},dependencies:[Gx],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var xYb=new Nc("DialogScrollStrategy"),yYb=new Nc("DialogData"),zYb=new Nc("DefaultDialogConfig"),AYb={provide:xYb,deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.block()}}};var BYb=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new E.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||xg(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=BYb.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 CYb=0,cA=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 E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this._ariaHiddenElements=new Map;(0,E.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(Ne(void 0))});this._scrollStrategy=g};f=cA.prototype;
f.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new wYb,b);b.id=b.id||"cdk-dialog-"+CYb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new BYb(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.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};f.ngOnDestroy=function(){var a=this;bpa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});bpa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
f._getOverlayConfig=function(a){var b=new gz({positionStrategy:a.positionStrategy||uXb(tXb(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:wYb,useValue:c},{provide:BYb,useValue:b},{provide:hz,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,Pc(c.container.providers(c)))):d=bA;c=new Bx(d,c.viewContainerRef,Ve({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
f._attachDialogContent=function(a,b,c,d){if(a instanceof Mf){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 Cx(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Bx(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:yYb,useValue:a.data},{provide:BYb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,Pc(a.providers(b,a,c))):e.push.apply(e,Pc(a.providers)));!a.direction||g&&g.get(Ry,null,{optional:!0})||e.push({provide:Ry,useValue:{value:a.direction,change:(0,E.of)()}});return Ve({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=XWb(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};
ch.Object.defineProperties(cA.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}}});cA.\u0275fac=function(a){return new (a||cA)(u(oz),u(qv),u(zYb,8),u(cA,12),u(Wy),u(xYb))};cA.\u0275prov=mc({token:cA,factory:cA.\u0275fac});var dA=function(){};dA.\u0275fac=function(a){return new (a||dA)};dA.\u0275mod=Dc({type:dA});dA.\u0275inj=nc({providers:[cA,AYb],imports:[rz,Hx,Ey,Hx]});var eA=function(a,b,c,d,e,g,h,l){bA.call(this,a,b,c,d,e,g,h,l);this._animationStateChanged=new Vv};U(eA,bA);eA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};eA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};eA.\u0275fac=function(a){return new (a||eA)(C(rd),C(tx),C(ah,8),C(vYb),C(rx),C(Se),C(hz),C(xx))};
eA.\u0275cmp=Bc({type:eA,selectors:[["ng-component"]],features:[Ye],decls:0,vars:0,template:function(){},encapsulation:2});var DYb=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new E.Subject;this._beforeClosed=new E.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(ue(function(e){return"opened"===e.state}),Ce()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(ue(function(e){return"closed"===e.state}),Ce()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,E.merge)(this.backdropClick(),this.keydownEvents().pipe(ue(function(e){return 27===e.keyCode&&!d.disableClose&&!xg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};
DYb.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(ue(function(c){return"closing"===c.state}),Ce()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();kXb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};DYb.prototype.afterOpened=function(){return this._afterOpened};var fA=function(a){return a._ref.closed};
f=DYb.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):tXb(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):uXb(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 Nc("MatMdcDialogData");new Nc("mat-mdc-dialog-default-options");new Nc("mat-mdc-dialog-scroll-strategy");
var EYb=0,gA=function(a,b,c,d,e,g,h,l,q){var x=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=l;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=vYb;(0,E.defer)(function(){return x.openDialogs.length?x._getAfterAllClosed():x._getAfterAllClosed().pipe(Ne(void 0))});this._scrollStrategy=
g;this._dialog=b.get(cA)};f=gA.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 vYb,b);b.id=b.id||"mat-dialog-"+EYb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:uXb(tXb(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:wYb,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);fA(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.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()};
ch.Object.defineProperties(gA.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}}});gA.\u0275fac=function(){vd()};gA.\u0275prov=mc({token:gA,factory:gA.\u0275fac});var hA=function(){DYb.apply(this,arguments)};U(hA,DYb);var FYb=function(){vYb.apply(this,arguments);this.enterAnimationDuration=tYb.params.enterAnimationDuration;this.exitAnimationDuration=tYb.params.exitAnimationDuration};U(FYb,vYb);var iA=function(a,b,c,d,e,g,h,l,q){eA.call(this,a,b,c,d,e,g,h,q);this._changeDetectorRef=l;this._state="enter"};U(iA,eA);iA.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})};
iA.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})};iA.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
iA.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};iA.\u0275fac=function(a){return new (a||iA)(C(rd),C(tx),C(ah,8),C(FYb),C(rx),C(Se),C(hz),C(mw),C(xx))};
iA.\u0275cmp=Bc({type:iA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(a,b){a&1&&qka("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(sf("id",b._config.id),bf("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),oka("@dialogContainer",b._getAnimationState()))},features:[Ye],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&Q(0,cpa,0,0,"ng-template",0)},dependencies:[Gx],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:[uYb]}});var jA=new Nc("MatDialogData"),GYb=new Nc("mat-dialog-default-options"),HYb=new Nc("mat-dialog-scroll-strategy"),IYb={provide:HYb,deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},kA=function(a,b,c,d,e,g,h,l){gA.call(this,a,b,d,g,h,e,hA,iA,jA,l);this.dialogConfigClass=FYb};U(kA,gA);kA.\u0275fac=function(a){return new (a||kA)(u(oz),u(qv),u(Pw,8),u(GYb,8),u(HYb),u(kA,12),u(Wy),u(tv,8))};kA.\u0275prov=mc({token:kA,factory:kA.\u0275fac});var JYb=0,lA=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};lA.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=dpa(this._elementRef,this._dialog.openDialogs))};lA.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};lA.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
lA.\u0275fac=function(a){return new (a||lA)(C(hA,8),C(rd),C(kA))};lA.\u0275dir=Gc({type:lA,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(c){return b._onButtonClick(c)});a&2&&bf("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:[Uc]});
var mA=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+JYb++};mA.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=dpa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b=a._dialogRef._containerInstance;b&&!b._ariaLabelledBy&&(b._ariaLabelledBy=a.id)})};mA.\u0275fac=function(a){return new (a||mA)(C(hA,8),C(rd),C(kA))};
mA.\u0275dir=Gc({type:mA,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&sf("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});var nA=function(){};nA.\u0275fac=function(a){return new (a||nA)};nA.\u0275dir=Gc({type:nA,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var oA=function(){this.align="start"};
oA.\u0275fac=function(a){return new (a||oA)};oA.\u0275dir=Gc({type:oA,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&mf("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var pA=function(){};pA.\u0275fac=function(a){return new (a||pA)};pA.\u0275mod=Dc({type:pA});pA.\u0275inj=nc({providers:[kA,IYb],imports:[dA,rz,Hx,sz,sz]});var KYb=og({passive:!0}),qA=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
qA.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return E.EMPTY;var c=vg(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new E.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,KYb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,KYb)}});return d};
qA.prototype.stopMonitoring=function(a){a=vg(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))};qA.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};qA.\u0275fac=function(a){return new (a||qA)(u(qx),u(Se))};qA.\u0275prov=mc({token:qA,factory:qA.\u0275fac,providedIn:"root"});var rA=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new E.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=rA.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,LYb(this),this._ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a._getWindow(),"resize").pipe(xe(16),Pe(a._destroyed)).subscribe(function(){return LYb(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,LYb(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&&LYb(this)};
var LYb=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=rA.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)};
ch.Object.defineProperties(rA.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=wg(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=wg(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){a=tg(a);this._enabled!==a&&((this._enabled=a)?LYb(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()}}});rA.\u0275fac=function(a){return new (a||rA)(C(rd),C(qx),C(Se),C(ah,8))};
rA.\u0275dir=Gc({type:rA,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&M("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var sA=function(){};sA.\u0275fac=function(a){return new (a||sA)};sA.\u0275mod=Dc({type:sA});sA.\u0275inj=nc({});var MYb=new Nc("MatError");var NYb=new Nc("MatPrefix");var OYb=new Nc("MatSuffix");var PYb=Fg("transitionMessages",[Ig("enter",Hg({opacity:1,transform:"translateY(0%)"})),Jg("void => enter",[Hg({opacity:0,transform:"translateY(-5px)"}),Gg("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var tA=function(){};tA.\u0275fac=function(a){return new (a||tA)};tA.\u0275dir=Gc({type:tA});new Nc("FloatingLabelParent");var QYb=new Nc("MatFormField");new Nc("MAT_FORM_FIELD_DEFAULT_OPTIONS");var RYb=0,uA=function(a,b){this.id="mat-error-"+RYb++;a||b.nativeElement.setAttribute("aria-live","polite")};uA.\u0275fac=function(a){return new (a||uA)(kd("aria-live"),C(rd))};uA.\u0275dir=Gc({type:uA,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&bf("id",b.id)},inputs:{id:"id"},features:[Cf([{provide:MYb,useExisting:uA}])]});var SYb=0,TYb=new Nc("MatHint"),vA=function(){this.align="start";this.id="mat-hint-"+SYb++};vA.\u0275fac=function(a){return new (a||vA)};vA.\u0275dir=Gc({type:vA,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(a,b){a&2&&(bf("id",b.id)("align",null),mf("mat-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},features:[Cf([{provide:TYb,useExisting:vA}])]});var wA=function(){};wA.\u0275fac=function(a){return new (a||wA)};wA.\u0275dir=Gc({type:wA,selectors:[["mat-label"]]});var UYb=function(){};UYb.\u0275fac=function(a){return new (a||UYb)};UYb.\u0275dir=Gc({type:UYb,selectors:[["mat-placeholder"]]});var VYb=["connectionContainer"],WYb=["inputContainer"],XYb=["label"],YYb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ZYb=0,$Yb=dh(function(a){this._elementRef=a},"primary"),aZb=new Nc("MAT_FORM_FIELD_DEFAULT_OPTIONS"),xA=function(a,b,c,d,e,g,h){a=$Yb.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 E.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+ZYb++;a._labelId="mat-form-field-label-"+ZYb++;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};U(xA,$Yb);f=xA.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(Ne(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(Pe(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Pe(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
jh(a)})});(0,E.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe(Ne(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe(Ne(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(Pe(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return jh(a)})}):jh(a)})};f.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&jh(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,E.fromEvent)(this._label.nativeElement,"transitionend").pipe(Ce()).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,Pc(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,Pc(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};f._validateControlChild=function(){};
var jh=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"};xA.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};xA.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
ch.Object.defineProperties(xA.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=tg(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}}});xA.\u0275fac=function(a){return new (a||xA)(C(rd),C(mw),C(Ry,8),C(aZb,8),C(qx),C(Se),C(tv,8))};
xA.\u0275cmp=Bc({type:xA,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(Rf(c,tA,5),Rf(c,tA,7),Rf(c,wA,5),Rf(c,wA,7),Rf(c,UYb,5),Rf(c,MYb,5),Rf(c,TYb,5),Rf(c,NYb,5),Rf(c,OYb,5));if(a&2){var d;Pf(d=Sf())&&(b._controlNonStatic=d.first);Pf(d=Sf())&&(b._controlStatic=d.first);Pf(d=Sf())&&(b._labelChildNonStatic=d.first);Pf(d=Sf())&&(b._labelChildStatic=d.first);Pf(d=Sf())&&(b._placeholderChild=d.first);Pf(d=Sf())&&(b._errorChildren=d);Pf(d=Sf())&&(b._hintChildren=d);Pf(d=Sf())&&(b._prefixChildren=
d);Pf(d=Sf())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(Qf(VYb,7),Qf(WYb,5),Qf(XYb,5));if(a&2){var c;Pf(c=Sf())&&(b._connectionContainerRef=c.first);Pf(c=Sf())&&(b._inputContainerRef=c.first);Pf(c=Sf())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(a,b){a&2&&mf("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:[Cf([{provide:QYb,useExisting:xA}]),Ye],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&&(tf(YYb),G(0,"div",0)(1,"div",
1,2),M("click",function(){return b._control.onContainerClick()}),Q(3,epa,9,0,"ng-container",3),Q(4,fpa,2,1,"div",4),G(5,"div",5,6),uf(7),G(8,"span",7),Q(9,jpa,5,16,"label",8),H()(),Q(10,kpa,2,0,"div",9),H(),Q(11,lpa,2,4,"div",10),G(12,"div",11),Q(13,mpa,2,1,"div",12),Q(14,opa,5,2,"div",13),H()());a&2&&(z(3),F("ngIf","outline"==b.appearance),z(1),F("ngIf",b._prefixChildren.length),z(5),F("ngIf",b._hasFloatingLabel()),z(1),F("ngIf",b._suffixChildren.length),z(1),F("ngIf","outline"!=b.appearance),z(1),
F("ngSwitch",b._getDisplayedMessages()),z(1),F("ngSwitchCase","error"),z(1),F("ngSwitchCase","hint"))},dependencies:[tw,uw,vw,By],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:[PYb]},changeDetection:0});var yA=function(){};yA.\u0275fac=function(a){return new (a||yA)};yA.\u0275mod=Dc({type:yA});yA.\u0275inj=nc({imports:[Hw,sz,Cy,sz]});var bZb=new Nc("MAT_INPUT_VALUE_ACCESSOR");var cZb="button checkbox file hidden image radio range reset submit".split(" "),dZb=0,eZb=Boa(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new E.Subject}),zA=function(a,b,c,d,e,g,h,l,q,x){var A=eZb.call(this,g,d,e,c)||this;A._elementRef=a;A._platform=b;A._autofillMonitor=l;A._formField=x;A._uid="mat-input-"+dZb++;A.focused=!1;A.stateChanges=new E.Subject;A.controlType="mat-input";A.autofilled=!1;A._disabled=!1;A._type=
"text";A._readonly=!1;A._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(K){return zma().has(K)});A._iOSKeyupListener=function(K){K=K.target;K.value||0!==K.selectionStart||0!==K.selectionEnd||(K.setSelectionRange(1,1),K.setSelectionRange(0,0))};c=A._elementRef.nativeElement;var B=c.nodeName.toLowerCase();A._inputValueAccessor=h||c;A._previousNativeValue=A.value;A.id=A.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",A._iOSKeyupListener)});
A._isServer=!A._platform.isBrowser;A._isNativeSelect="select"===B;A._isTextarea="textarea"===B;A._isInFormField=!!x;A._isNativeSelect&&(A.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return A};U(zA,eZb);f=zA.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(){cZb.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)};
ch.Object.defineProperties(zA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=tg(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:WTb(b))?d:!1},
set:function(a){this._required=tg(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&zma().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=tg(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}}});
zA.\u0275fac=function(a){return new (a||zA)(C(rd),C(qx),C(Sw,10),C(Yw,8),C(gx,8),C(xz),C(bZb,10),C(qA),C(Se),C(QYb,8))};
zA.\u0275dir=Gc({type:zA,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(a,b){a&1&&M("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(sf("id",b.id)("disabled",b.disabled)("required",b.required),bf("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),mf("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:[Cf([{provide:tA,useExisting:zA}]),Ye,Uc]});var AA=function(){var a=zA.apply(this,arguments)||this;a._legacyFormField=wc(QYb,{optional:!0});return a};U(AA,zA);AA.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};AA.\u0275fac=function(){var a;return function(b){return(a||(a=pd(AA)))(b||AA)}}();
AA.\u0275dir=Gc({type:AA,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&&(bf("data-placeholder",b.placeholder),mf("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:[Cf([{provide:tA,useExisting:AA}]),Ye]});var BA=function(){};BA.\u0275fac=function(a){return new (a||BA)};BA.\u0275mod=Dc({type:BA});BA.\u0275inj=nc({providers:[xz],imports:[sA,yA,sz,sA,yA]});var fZb={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},CA=fZb;CA=fZb;var gZb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),hZb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,iZb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,jZb=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},kZb=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)},DA=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=DA.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 DA(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 DA(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 Hh=function(a,b,c){"number"===typeof a?(this.date=lZb(a,b||0,c||1),mZb(this,c||1)):va(a)?(this.date=lZb(a.getFullYear(),a.getMonth(),a.getDate()),mZb(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),mZb(this,a))},lZb=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};f=Hh.prototype;f.firstDayOfWeek_=CA.FIRSTDAYOFWEEK;
f.firstWeekCutOffDay_=CA.FIRSTWEEKCUTOFFDAY;f.clone=function(){var a=new Hh(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 kYb=function(a){return jZb(a.getFullYear(),a.getMonth())};f=Hh.prototype;
f.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=jZb(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(jZb(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()),mZb(this,a.getDate()))};
f.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+mv(Math.abs(b),c?6:4),mv(this.getMonth()+1,2),mv(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 mZb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};Hh.prototype.valueOf=function(){return this.date.valueOf()};
var Xm=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())};rs(Xm,Hh);f=Xm.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){Hh.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=Hh.prototype.toIsoString.call(this,a);return a?b+"T"+mv(this.getHours(),2)+":"+mv(this.getMinutes(),2)+":"+mv(this.getSeconds(),2):b+"T"+mv(this.getHours(),2)+mv(this.getMinutes(),2)+mv(this.getSeconds(),2)};f.equals=function(a){return this.getTime()==a.getTime()};f.toString=function(){return this.toIsoString()};f.clone=function(){var a=new Xm(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var nZb=function(){},rk=function(a){if("number"==typeof a){var b=new nZb;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(":",mv(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=oZb(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new nZb;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},oZb=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(mv(Math.floor(a/60)%100,2),":",mv(a%60,2));return b.join("")},pZb=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]};
nZb.prototype.getOffset=function(a){a=this.standardOffset_-pZb(this,a);return-1440===a?0:a};nZb.prototype.getShortName=function(a){return this.tzNames_[0<pZb(this,a)?2:0]};var EA=function(a){this.patternParts_=[];this.dateTimeSymbols_=CA;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},qZb=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],rZb=function(a){return a.getHours?a.getHours():0};
EA.prototype.applyPattern_=function(a){for(sZb&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<qZb.length;++c){var d=a.match(qZb[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("jb`"+a);}};
EA.prototype.format=function(a,b){if(!a)throw Error("kb");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()&&(e=6E4*(d.getTimezoneOffset()-a.getTimezoneOffset()),d=new Date(d.getTime()+e),c+=0<c?-864E5:864E5,e=new Date(a.getTime()+c));c=[];for(var g=0;g<this.patternParts_.length;++g){var h=this.patternParts_[g].text;1==this.patternParts_[g].type?c.push(tZb(this,h,a,d,e,b)):c.push(h)}return c.join("")};
EA.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 FA=function(a,b){return uZb(b,a.dateTimeSymbols_)},sZb=!1,uZb=function(a,b){a=String(a);b=b||CA;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("")},GA=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("lb");},vZb=function(a,b){GA(b);b=rZb(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},tZb=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),FA(a,mv(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=kZb(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),FA(a,mv(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=FA(a,mv(c+1,h))}return h;case "k":return GA(e),c=rZb(e)||24,FA(a,mv(c,h));case "S":return c=e.getMilliseconds()/1E3,FA(a,c.toFixed(Math.min(3,h)).slice(2)+(3<h?mv(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return vZb(a,e);case "b":return vZb(a,e);case "B":return vZb(a,e);case "h":return GA(e),c=rZb(e)%12||12,FA(a,mv(c,h));case "K":return GA(e),c=rZb(e)%
12,FA(a,mv(c,h));case "H":return GA(e),c=rZb(e),FA(a,mv(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=FA(a,mv(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=FA(a,mv(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 FA(a,mv(d.getDate(),h));case "m":return GA(e),FA(a,mv(e.getMinutes?e.getMinutes():0,h));case "s":return GA(e),FA(a,mv(e.getSeconds(),h));case "v":return(g||rk(c.getTimezoneOffset())).timeZoneId_;case "V":return a=g||rk(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<pZb(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=kZb(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),FA(a,mv(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=g||rk(c.getTimezoneOffset()),4>h?a.getShortName(c):a.tzNames_[0<pZb(a,c)?3:1];case "Z":return d=
g||rk(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(mv(Math.floor(h/60)%100,2),mv(h%60,2)),h=a.join("")):h=FA(a,oZb(d.getOffset(c))),h;default:return""}};var ppa;var wZb=function(a,b){this.url=a;this.svgText=null;this.options=b},HA=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},IA=function(a,b,c){a._addSvgIconConfig("",b,new wZb(c))},xZb=function(a,b){return a._fontCssClassesByAlias.get(b)||
b};HA.prototype.setDefaultFontSetClass=function(){this._defaultFontSetClass=Lc.apply(0,arguments)};var yZb=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,E.throwError)(Error("mb`"+d))};f=HA.prototype;
f.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};f._getSvgFromConfig=function(a){return a.svgText?(0,E.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(D(function(b){return b.cloneNode(!0)}))};
f._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,E.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(ye(function(g){g="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+g.message;c._errorHandler.handleError(Error(g));return(0,E.of)(null)}))});return(0,E.forkJoin)(d).pipe(D(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("mb`"+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(Qe(function(c){return a.svgText=c}),D(function(){return b._svgElementFromConfig(a)}))};
f._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,E.of)(null):this._fetchIcon(a).pipe(Qe(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(rpa("<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("pb");return a};f._toSvgElement=function(a){for(var b=this._svgElementFromString(rpa("<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("nb");if(null==c)throw Error("qb`"+c);var g=this._sanitizer.sanitize(5,c);if(!g)throw Error("ob`"+c);if(c=this._inProgressUrlFetches.get(g))return c;c=this._httpClient.get(g,{responseType:"text",withCredentials:a}).pipe(D(function(h){return rpa(h)}),Ee(function(){return b._inProgressUrlFetches.delete(g)}),Ke());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 wZb(d.url,d.options):new wZb(d)}};HA.\u0275fac=function(a){return new (a||HA)(u(Zx,8),u(ey),u(ah,8),u(Md))};HA.\u0275prov=mc({token:HA,factory:HA.\u0275fac,providedIn:"root"});new ov;new pv;new ov;new ov;var zZb=dh(function(a){this._elementRef=a}),AZb=new Nc("MAT_ICON_DEFAULT_OPTIONS"),BZb=new Nc("mat-icon-location",{providedIn:"root",factory:spa}),CZb="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),DZb=CZb.map(function(a){return"["+a+"]"}).join(", "),EZb=/^url\(['"]?#(.*?)['"]?\)$/,JA=function(a,b,c,d,e,g){var h=zZb.call(this,a)||this;h._iconRegistry=b;h._location=d;h._errorHandler=e;h._inline=!1;h._previousFontSetClass=[];h._currentIconFetch=
E.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};U(JA,zZb);f=JA.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("rb`"+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?xZb(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(DZb),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={$jscomp$loop$prop$i$2263:0};a.$jscomp$loop$prop$i$2263<b.length;a={$jscomp$loop$prop$i$2263:a.$jscomp$loop$prop$i$2263},a.$jscomp$loop$prop$i$2263++)CZb.forEach(function(d){return function(e){var g=b[d.$jscomp$loop$prop$i$2263],h=g.getAttribute(e);if(h=h?h.match(EZb):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=yZb(this._iconRegistry,d,c).pipe(Ce()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("sb`"+c+"`"+d+"`"+e.message))})}};
ch.Object.defineProperties(JA.prototype,{inline:{configurable:!0,enumerable:!0,get:function(){return this._inline},set:function(a){this._inline=tg(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())}}});JA.\u0275fac=function(a){return new (a||JA)(C(rd),C(HA),kd("aria-hidden"),C(BZb),C(Md),C(AZb,8))};
JA.\u0275cmp=Bc({type:JA,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(a,b){a&2&&(bf("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),mf("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:[Ye],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(tf(),uf(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 KA=function(){};KA.\u0275fac=function(a){return new (a||KA)};KA.\u0275mod=Dc({type:KA});KA.\u0275inj=nc({});var LA=function(){};LA.\u0275fac=function(a){return new (a||LA)};LA.\u0275mod=Dc({type:LA});LA.\u0275inj=nc({});var MA={};MA.AssertionError=aaa;MA.ENABLE_ASSERTS=!1;MA.assert=function(a){return a};MA.assertArray=function(a){return a};MA.assertBoolean=function(a){return a};MA.assertElement=function(a){return a};MA.assertExists=function(a){return a};MA.assertFinite=function(a){return a};MA.assertFunction=function(a){return a};MA.assertInstanceof=function(a){return a};MA.assertNumber=function(a){return a};MA.assertObject=function(a){return a};MA.assertString=function(a){return a};MA.fail=function(){};var NA=function(){};NA.\u0275fac=function(a){return new (a||NA)};NA.\u0275mod=Dc({type:NA});NA.\u0275inj=nc({});var OA=function(){};OA.\u0275fac=function(a){return new (a||OA)};OA.\u0275mod=Dc({type:OA});OA.\u0275inj=nc({imports:[NA]});var PA=function(){};PA.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,E.of)(a?JSON.parse(a):null)};PA.prototype.getValues=function(a){return(0,E.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))};PA.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,E.of)(void 0)};PA.\u0275fac=function(a){return new (a||PA)};
PA.\u0275prov=mc({token:PA,factory:PA.\u0275fac,providedIn:NA});var FZb=function(a){this.cellValue_=a};var GZb=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};f=GZb.prototype;f.addCell=function(a){var b=Lc.apply(1,arguments),c=this.getCells(b);c?c.push(new FZb(a)):this.setCell(a,b)};f.setCell=function(a){var b=this.getKey_(Lc.apply(1,arguments));this.cellMap_.set(b,[new FZb(a)])};f.getCells=function(){var a=this.getKey_(Lc.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
f.getCell=function(){var a=this.getCells(Lc.apply(0,arguments));return a&&a.length?a[0]:void 0};f.clear=function(){this.cellMap_.clear()};f.getKey_=function(){var a=Lc.apply(0,arguments);return a?a.join(","):"key"};var HZb=function(a,b){GZb.call(this,a,3,b)};U(HZb,GZb);HZb.prototype.incrementCounter=function(){this.incrementCounterBy(1,Lc.apply(0,arguments))};HZb.prototype.incrementCounterBy=function(a){var b=Lc.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.setCell(c+a,b)};var IZb=function(a,b){GZb.call(this,a,2,b)};U(IZb,GZb);IZb.prototype.record=function(a){this.addCell(a,Lc.apply(1,arguments))};var mh=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};mh.prototype.disposed_=!1;mh.prototype.isDisposed=function(){return this.disposed_};mh.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var QA=function(a,b){b=qs(kh,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};mh.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var RA=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};RA.prototype.stopPropagation=function(){this.propagationStopped_=!0};RA.prototype.preventDefault=function(){this.defaultPrevented=!0};var JZb=[],KZb=[],LZb=!1,MZb=function(a){JZb[JZb.length]=a;if(LZb)for(var b=0;b<KZb.length;b++)a(ps(KZb[b].wrap,KZb[b]))};var NZb=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 SA=function(a,b){RA.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)};rs(SA,RA);var OZb={2:"touch",3:"pen",4:"mouse"};
SA.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)?vs&&(iIb(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=ws||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=ws||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=Wp?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:OZb[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&SA.superClass_.preventDefault.call(this)};SA.prototype.stopPropagation=function(){SA.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
SA.prototype.preventDefault=function(){SA.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var PZb="closure_listenable_"+(1E6*Math.random()|0),TA=function(a){return!(!a||!a[PZb])};var QZb=0;var RZb=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=++QZb;this.removed=this.callOnce=!1},SZb=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var UA=function(a){this.src=a;this.listeners={};this.typeCount_=0};UA.prototype.getTypeCount=function(){return this.typeCount_};UA.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=TZb(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new RZb(b,this.src,g,!!d,e),b.callOnce=c,a.push(b));return b};
UA.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=TZb(e,b,c,d);return-1<b?(SZb(e[b]),zaa(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var UZb=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=ra(a.listeners[c],b);d&&(SZb(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
UA.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,SZb(d[e]);delete this.listeners[c];this.typeCount_--}return b};UA.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=TZb(a,b,c,d));return-1<e?a[e]:null};
UA.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Gca(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 TZb=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 VZb="closure_lm_"+(1E6*Math.random()|0),WZb={},XZb=0,wo=function(a,b,c,d,e){if(d&&d.once)return VA(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)wo(a,b[g],c,d,e);return null}c=YZb(c);return TA(a)?a.listen(b,c,va(d)?!!d.capture:!!d,e):ZZb(a,b,c,!1,d,e)},ZZb=function(a,b,c,d,e,g){if(!b)throw Error("tb");var h=va(e)?!!e.capture:!!e,l=$Zb(a);l||(a[VZb]=l=new UA(a));c=l.add(b,c,d,h,g);if(c.proxy)return c;d=a_b();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)NZb||(e=h),void 0===
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(b_b(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ub");XZb++;return c},a_b=function(){var a=c_b,b=function(c){return a.call(b.src,b.listener,c)};return b},VA=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)VA(a,b[g],c,d,e);return null}c=YZb(c);return TA(a)?a.listenOnce(b,c,va(d)?!!d.capture:!!d,e):ZZb(a,b,c,!0,d,e)},WA=function(a,b,c,d,e){if(Array.isArray(b))for(var g=
0;g<b.length;g++)WA(a,b[g],c,d,e);else d=va(d)?!!d.capture:!!d,c=YZb(c),TA(a)?a.unlisten(b,c,d,e):a&&(a=$Zb(a))&&(b=a.getListener(b,c,d,e))&&XA(b)},XA=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(TA(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(b_b(c),d):b.addListener&&b.removeListener&&b.removeListener(d);XZb--;(c=$Zb(b))?(UZb(c,a),0==c.getTypeCount()&&(c.src=null,b[VZb]=null)):
SZb(a);return!0},b_b=function(a){return a in WZb?WZb[a]:WZb[a]="on"+a},c_b=function(a,b){if(a.removed)a=!0;else{b=new SA(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&XA(a);a=c.call(d,b)}return a},$Zb=function(a){a=a[VZb];return a instanceof UA?a:null},d_b="__closure_events_fn_"+(1E9*Math.random()>>>0),YZb=function(a){if("function"===typeof a)return a;a[d_b]||(a[d_b]=function(b){return a.handleEvent(b)});return a[d_b]};MZb(function(a){c_b=a(c_b)});var vo=function(){mh.call(this);this.eventTargetListeners_=new UA(this);this.actualEventTarget_=this;this.parentEventTarget_=null};rs(vo,mh);vo.prototype[PZb]=!0;f=vo.prototype;f.getParentEventTarget=function(){return this.parentEventTarget_};f.setParentEventTarget=function(a){this.parentEventTarget_=a};f.addEventListener=function(a,b,c,d){wo(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){WA(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 RA(a,c);else if(a instanceof RA)a.target=a.target||c;else{var e=a;a=new RA(d,c);Oca(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(){vo.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 UZb(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 e_b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};e_b.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};e_b.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 f_b=ts||ws;var g_b=function(a,b){return a+Math.random()*(b-a)};var dq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};dq.prototype.clone=function(){return new dq(this.x,this.y)};dq.prototype.equals=function(a){return a instanceof dq&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var eq=function(a,b){return new dq(a.x-b.x,a.y-b.y)};f=dq.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 dq?(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 YA=function(a,b){this.width=a;this.height=b},Ldb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};f=YA.prototype;f.clone=function(){return new YA(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 yo=function(a){return a?new ZA($A(a)):SHb||(SHb=new ZA)},h_b=function(a,b){return"string"===typeof b?a.getElementById(b):b},aB=function(a,b){return(b||document).getElementsByTagName(String(a))},j_b=function(a,b){Ob(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:i_b.hasOwnProperty(d)?a.setAttribute(i_b[d],c):Rh(d,"aria-")||Rh(d,"data-")?a.setAttribute(d,c):a[d]=c})},
i_b={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"},bB=function(a){a=(a||window).document;a=k_b(a)?a.documentElement:a.body;return new YA(a.clientWidth,a.clientHeight)},cB=function(a){var b=l_b(a);a=a.parentWindow||a.defaultView;return ts&&a.pageYOffset!=b.scrollTop?new dq(b.scrollLeft,b.scrollTop):new dq(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},l_b=function(a){return a.scrollingElement?a.scrollingElement:!ws&&k_b(a)?a.documentElement:a.body||a.documentElement},dB=function(a){return a?a.parentWindow||a.defaultView:window},n_b=function(a,b,c){return m_b(document,arguments)},m_b=function(a,b){var c=b[1],d=Ln(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):j_b(d,c));2<b.length&&o_b(a,d,b,2);return d},o_b=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(!ua(g)||va(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(va(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?ta(g):g,e)}}},Ln=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},k_b=function(a){return"CSS1Compat"==a.compatMode},p_b=function(a,b){o_b($A(a),a,arguments,
1)},q_b=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},eB=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},fB=function(a){return va(a)&&1==a.nodeType},xfb=function(a){var b;if(f_b&&(b=a.parentElement))return b;b=a.parentNode;return fB(b)?b:null},Q5a=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},$A=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},r_b=function(a){return a.contentDocument||a.contentWindow.document},s_b=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else q_b(a),a.appendChild($A(a).createTextNode(String(b)))},t_b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},u_b={IMG:" ",BR:"\n"},v_b=
function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},w_b=function(a,b,c){if(!(a.nodeName in t_b))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 u_b)b.push(u_b[a.nodeName]);else for(a=a.firstChild;a;)w_b(a,b,c),a=a.nextSibling},geb=function(){var a=dB();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?x_b(3)||x_b(2)||x_b(1.5)||x_b(1)||.75:1},x_b=function(a){return dB().matchMedia("(min-resolution: "+
a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},ZA=function(a){this.document_=a||ba.document||document};f=ZA.prototype;f.getDomHelper=yo;f.getElement=function(a){return h_b(this.document_,a)};f.$=ZA.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.$$=ZA.prototype.getElementsByTagNameAndClass;f.setProperties=j_b;f.getViewportSize=function(a){return bB(a||this.getWindow())};f.createDom=function(a,b,c){return m_b(this.document_,arguments)};f.createElement=function(a){return Ln(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=p_b;
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=q_b;f.removeNode=eB;
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=fB;f.getParentElement=xfb;f.contains=Q5a;
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")||v_b(a)):b=a.hasAttribute("tabindex")&&v_b(a);if(b&&ts){var c;"function"!==typeof a.getBoundingClientRect||ts&&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 y_b,z_b=function(){var a=ba.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ha("Presto")&&(a=function(){var e=Ln(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=ps(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)}},A_b=PPb;MZb(function(a){A_b=a});var B_b=function(){this.workTail_=this.workHead_=null};B_b.prototype.add=function(a,b){var c=C_b.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};B_b.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 C_b=new e_b(function(){return new D_b},function(a){return a.reset()}),D_b=function(){this.next=this.scope=this.fn=null};
D_b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};D_b.prototype.reset=function(){this.next=this.scope=this.fn=null};var E_b,F_b=!1,G_b=new B_b,gB=function(a,b){E_b||H_b();F_b||(E_b(),F_b=!0);G_b.add(a,b)},H_b=function(){if(ba.Promise&&ba.Promise.resolve){var a=ba.Promise.resolve(void 0);E_b=function(){a.then(I_b)}}else E_b=function(){var b=I_b;b=A_b(b);"function"!==typeof ba.setImmediate||ba.Window&&ba.Window.prototype&&!faa()&&ba.Window.prototype.setImmediate==ba.setImmediate?(y_b||(y_b=z_b()),y_b(b)):ba.setImmediate(b)}},I_b=function(){for(var a;a=G_b.remove();){try{a.fn.call(a.scope)}catch(b){baa(b)}C_b.put(a)}F_b=
!1};var J_b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var iB=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=hv)try{var b=this;a.call(void 0,function(c){hB(b,2,c)},function(c){hB(b,3,c)})}catch(c){hB(this,3,c)}},K_b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};K_b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var L_b=new e_b(function(){return new K_b},function(a){a.reset()}),M_b=function(a,b,c){var d=L_b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},N_b=function(a){if(a instanceof iB)return a;var b=new iB(hv);hB(b,2,a);return b},O_b=function(a){return new iB(function(b,c){c(a)})},Q_b=function(a,b,c){P_b(a,b,c,null)||gB(qs(b,a))},R_b=function(a){return new iB(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],Q_b(e,b,c)})},S_b=function(a){return new iB(function(b,c){var d=
a.length,e=[];if(d)for(var g=function(x,A){d--;e[x]=A;0==d&&b(e)},h=function(x){c(x)},l=0,q;l<a.length;l++)q=a[l],Q_b(q,qs(g,l),h);else b(e)})},T_b=function(a){return new iB(function(b,c){var d=a.length,e=[];if(d)for(var g=function(x){b(x)},h=function(x,A){d--;e[x]=A;0==d&&c(e)},l=0,q;l<a.length;l++)q=a[l],Q_b(q,g,qs(h,l));else b(void 0)})},V_b=function(){var a,b,c=new iB(function(d,e){a=d;b=e});return new U_b(c,a,b)};
iB.prototype.then=function(a,b,c){return W_b(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};iB.prototype.$goog_Thenable=!0;var Y_b=function(a,b){b=M_b(b,b);b.always=!0;X_b(a,b);return a};iB.prototype.thenCatch=function(a,b){return W_b(this,null,a,b)};iB.prototype.catch=iB.prototype.thenCatch;iB.prototype.cancel=function(a){if(0==this.state_){var b=new jB(a);gB(function(){Z_b(this,b)},this)}};
var Z_b=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?Z_b(c,b):(g?(d=g,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):$_b(c),a0b(c,e,3,b)))}a.parent_=null}else hB(a,3,b)},X_b=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||b0b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},W_b=function(a,b,c,d){var e=M_b(null,null,null);e.child=new iB(function(g,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);g(q)}catch(x){h(x)}}:g;e.onRejected=c?function(l){try{var q=c.call(d,l);void 0===q&&l instanceof jB?h(l):g(q)}catch(x){h(x)}}:h});e.child.parent_=a;X_b(a,e);return e.child};iB.prototype.unblockAndFulfill_=function(a){this.state_=0;hB(this,2,a)};iB.prototype.unblockAndReject_=function(a){this.state_=0;hB(this,3,a)};
var hB=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("vb")),a.state_=1,P_b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,b0b(a),3!=b||c instanceof jB||c0b(a,c)))},P_b=function(a,b,c,d){if(a instanceof iB)return X_b(a,M_b(b||hv,c||null,d)),!0;if(J_b(a))return a.then(b,c,d),!0;if(va(a))try{var e=a.then;if("function"===typeof e)return d0b(a,e,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1},d0b=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)}},b0b=function(a){a.executing_||(a.executing_=!0,gB(a.executeCallbacks_,a))},$_b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};iB.prototype.executeCallbacks_=function(){for(var a;a=$_b(this);)a0b(this,a,this.state_,this.result_);this.executing_=!1};
var a0b=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,e0b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):e0b(b,c,d)}catch(e){f0b.call(null,e)}L_b.put(b)},e0b=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},c0b=function(a,b){a.hadUnhandledRejection_=!0;gB(function(){a.hadUnhandledRejection_&&f0b.call(null,b)})},f0b=baa,jB=function(a){aa.call(this,
a);this.reportErrorToServer=!1};rs(jB,aa);jB.prototype.name="cancel";var U_b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var kB=function(a,b){vo.call(this);this.interval_=a||1;this.timerObject_=b||ba;this.boundTick_=ps(this.tick_,this);this.last_=Date.now()};rs(kB,vo);f=kB.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(){kB.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Tn=function(a,b,c){if("function"===typeof a)c&&(a=ps(a,c));else if(a&&"function"==typeof a.handleEvent)a=ps(a.handleEvent,a);else throw Error("wb");return 2147483647<Number(b)?-1:ba.setTimeout(a,b||0)},Un=function(a){ba.clearTimeout(a)},g0b=function(a,b){var c=null;return(new iB(function(d,e){c=Tn(function(){d(b)},a);-1==c&&e(Error("xb"))})).thenCatch(function(d){Un(c);throw d;})};var h0b=function(a){mh.call(this);this.streamzLogger_=a;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.flushInterval=3E4;this.flushTimer=new kB(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);QA(this,this.flushTimer)};U(h0b,mh);var i0b=function(a){a.flushTimer.enabled||a.flushTimer.start();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};f=h0b.prototype;
f.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(Pc(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger_.flush(a,!1);j0b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};f.addNewCounter=function(a){var b=Lc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new HZb(a,b))};f.addNewEventMetric=function(a){var b=Lc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new IZb(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(Pc(Lc.apply(1,arguments))))};f.incrementCounterBy=function(a,b){var c=Lc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof HZb&&(d.incrementCounterBy(b,c),i0b(this))};f.record=function(a,b){var c=Lc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof IZb&&(d.record(b,c),i0b(this))};var j0b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var k0b=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"})};k0b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};k0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var l0b=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"})};l0b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};l0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var m0b=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"})};m0b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};m0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var n0b=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"})};n0b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};n0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var o0b={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 r0b=function(a){a=p0b(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+=q0b(a,h),c+=q0b(a,h+4),d+=q0b(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 o0b.toString(d)},s0b=function(a){return a},p0b=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},q0b=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var lB=function(a){r.call(this,a)};U(lB,r);lB.prototype.getValueCase=function(){return Ai(this,mB)};var mB=[1,2,3];lB.prototype.toObject=function(){return t0b(this)};var t0b=function(a){if(null!=a)return t(a),{strVal:p(mo(a,1,mB)),intVal:p(Xs(a,2,mB)),boolVal:p(Ws(a,3,mB))}};var u0b=function(a){r.call(this,a)};U(u0b,r);u0b.prototype.getCount=function(){return dj(this,2)};u0b.prototype.setCount=function(a){return n(this,2,a)};u0b.prototype.toObject=function(){return v0b(this)};var v0b=function(a){if(null!=a)return t(a),{valueOrBucket:p(Es(a,1)),count:p(m(a,2))}};var w0b=function(a){r.call(this,a)};U(w0b,r);w0b.prototype.getEntryList=function(){return Ch(this,u0b,1)};w0b.repeatedFields_=[1];w0b.prototype.toObject=function(){return x0b(this)};var x0b=function(a){if(null!=a)return t(a),{entryList:Gb(a.getEntryList(),v0b)}};var nB=function(a){r.call(this,a)};U(nB,r);nB.prototype.getValueCase=function(){return Ai(this,oB)};var oB=[1,2,3];nB.prototype.toObject=function(){return y0b(this)};var y0b=function(a){if(null!=a)return t(a),{int64Val:p(Ys(a,1,oB)),doubleVal:p(lo(a,2,oB)),histogramVal:x0b(Pj(a,w0b,3,oB))}};var pB=function(a){r.call(this,a)};U(pB,r);pB.prototype.setField=function(a){Ds(this,1,lB,a)};pB.repeatedFields_=[1];pB.prototype.toObject=function(){return z0b(this)};var z0b=function(a){if(null!=a)return t(a),{fieldList:Gb(Ch(a,lB,1),t0b),incBy:y0b(Z(a,nB,2))}};var A0b=function(a){r.call(this,a)};U(A0b,r);A0b.prototype.getAppName=function(){return V(this,1)};A0b.prototype.toObject=function(){return B0b(this)};var B0b=function(a){if(null!=a)return t(a),{appName:p(m(a,1)),appVersion:p(m(a,2)),useMobilespec:p($q(a,3))}};var C0b=function(a){r.call(this,a)};U(C0b,r);C0b.prototype.getAppName=function(){return V(this,1)};C0b.prototype.getExperimentId=function(){return Eh(this,3)};C0b.prototype.toObject=function(){return D0b(this)};var D0b=function(a){if(null!=a)return t(a),{appName:p(m(a,1)),appVersion:p(m(a,2)),experimentId:p(Ms(a,3)),useMobilespec:p($q(a,4))}};var E0b=function(a){r.call(this,a)};U(E0b,r);E0b.prototype.getMobile=function(){return Pj(this,A0b,1,F0b)};var F0b=[1,2];E0b.prototype.toObject=function(){return G0b(this)};var G0b=function(a){if(null!=a)return t(a),{mobile:B0b(a.getMobile()),mobileExp:D0b(Pj(a,C0b,2,F0b))}};var qB=function(a){r.call(this,a)};U(qB,r);qB.prototype.getFieldName=function(){return Ss(this,3)};qB.prototype.setFieldName=function(a){tb(this,3,a,void 0,Gh)};qB.repeatedFields_=[3,6,4];qB.prototype.toObject=function(){return H0b(this)};var H0b=function(a){if(null!=a)return t(a),{streamzName:p(m(a,1)),hashedStreamzName:p(m(a,5)),rootSpec:G0b(Z(a,E0b,2)),fieldNameList:p(Gh(a,3)),hashedFieldNameList:p(lb(a,6,cb)),incList:Gb(Ch(a,pB,4),z0b)}};var I0b=function(a){r.call(this,a)};U(I0b,r);I0b.prototype.getKey=function(){return V(this,1)};I0b.prototype.hasKey=function(){return tk(this,1)};I0b.prototype.toObject=function(){return J0b(this)};var J0b=function(a){if(null!=a)return t(a),{key:p(m(a,1))}};var K0b=function(a){r.call(this,a)};U(K0b,r);K0b.repeatedFields_=[1];K0b.prototype.toObject=function(){if(null!=this){t(this);var a={batchList:Gb(Ch(this,qB,1),H0b),slicerMetadata:J0b(Z(this,I0b,2))}}else a=void 0;return a};var L0b=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("yb`"+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("zb`"+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 N0b=function(a,b,c){var d=String(ba.location.href);return d&&a&&b?[b,M0b(L0b(d),a,c||null)].join(" "):null},M0b=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)}),O0b(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=O0b(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},O0b=function(a){var b=
upa();b.update(a);return b.digestString().toLowerCase()};var P0b={};var Q0b=function(){this.document_=document||{cookie:""}};f=Q0b.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("Ab`"+a);if(/[;\r\n]/.test(b))throw Error("Bb`"+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=Th(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 R0b(this).keys};f.getValues=function(){return R0b(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=R0b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};f.clear=function(){for(var a=R0b(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var R0b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,g=0;g<a.length;g++)e=Th(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 S0b=function(a){return!!P0b.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},T0b=function(a,b,c,d){(a=ba[a])||"undefined"===typeof document||(a=(new Q0b).get(b));return a?N0b(a,c,d):null},so=function(a,b){b=void 0===b?!1:b;var c=L0b(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;S0b(e)&&(g=g||ba.__1PSAPISID);if(g)e=!0;else{if("undefined"!==typeof document){var h=new Q0b;g=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");S0b(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 Q0b,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?N0b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&S0b(b)&&((b=T0b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=T0b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var rB=function(a){r.call(this,a)};U(rB,r);rB.repeatedFields_=[2];rB.prototype.toObject=function(){return U0b(this)};var U0b=function(a){if(null!=a)return t(a),{clearBlob:Jb(no(a,1)),clearBlobJs:p(m(a,4)),encryptedBlobList:Jb(Gs(a,2)),usersMatch:p($q(a,3))}};var V0b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};V0b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};V0b.prototype.getValue=function(){return this.currValue_};var W0b=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,""))},X0b=function(a){try{return ba.JSON.parse(a)}catch(b){}a=String(a);if(W0b(a))try{return eval("("+a+")")}catch(b){}throw Error("Cb`"+a);},Z0b=function(a,b){return(new Y0b(b)).serialize(a)},Y0b=function(a){this.replacer_=
a};Y0b.prototype.serialize=function(a){var b=[];$0b(this,a,b);return b.join("")};
var $0b=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],$0b(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),a1b(d,c),c.push(":"),$0b(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":a1b(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("Db`"+typeof b);}}},b1b={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},c1b=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,a1b=function(a,b){b.push('"',a.replace(c1b,
function(c){var d=b1b[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),b1b[c]=d);return d}),'"')};var d1b=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 e1b=function(){};e1b.prototype.cachedOptions_=null;e1b.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var f1b,g1b=function(){};rs(g1b,e1b);g1b.prototype.createInstance=function(){var a=h1b(this);return a?new ActiveXObject(a):new XMLHttpRequest};g1b.prototype.internalGetOptions=function(){var a={};h1b(this)&&(a[0]=!0,a[1]=!0);return a};
var h1b=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("Eb");}return a.ieProgId_};f1b=new g1b;var i1b=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),j1b=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," ")):"")}}},k1b=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]},l1b=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)l1b(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},m1b=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)l1b(a[b],a[b+1],c);return c.join("&")},n1b=function(a){var b=[],c;for(c in a)l1b(c,a[c],b);return b.join("&")},sB=function(a,b){var c=2==arguments.length?m1b(arguments[1],0):m1b(arguments,
1);return k1b(a,c)},gwa=function(a,b){b=n1b(b);return k1b(a,b)},o1b=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return k1b(a,b+c)},p1b=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},q1b=/#|$/,r1b=function(a,b){var c=a.search(q1b),d=p1b(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," "))},s1b=/[?&]($|#)/;var tB=function(a){vo.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};rs(tB,vo);
var t1b=/^https?$/i,u1b=["POST","PUT"],v1b=[],lh=function(a,b,c,d,e,g,h){var l=new tB;v1b.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};tB.prototype.cleanupSend_=function(){this.dispose();ra(v1b,this)};tB.prototype.setTrustToken=function(a){this.trustToken_=a};
tB.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Fb`"+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():f1b.getOptions();this.xhr_.onreadystatechange=ps(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("Gb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=ba.FormData&&a instanceof ba.FormData;!qa(u1b,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{w1b(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=x1b(this.xhr_))?(this.xhr_.timeout=
this.timeoutInterval_,this.xhr_.ontimeout=ps(this.timeout_,this)):this.timeoutId_=Tn(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var x1b=function(a){return ts&&"number"===typeof a.timeout&&void 0!==a.ontimeout};tB.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():f1b.createInstance()};
tB.prototype.timeout_=function(){"undefined"!=typeof KHb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};tB.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;y1b(this);z1b(this)};var y1b=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
tB.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"),z1b(this))};tB.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),z1b(this,!0));tB.superClass_.disposeInternal.call(this)};
tB.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)A1b(this);else this.onReadyStateChangeEntryPoint_()};tB.prototype.onReadyStateChangeEntryPoint_=function(){A1b(this)};
var A1b=function(a){if(a.active_&&"undefined"!=typeof KHb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())Tn(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()+"]";y1b(a)}}finally{z1b(a)}}},z1b=function(a,
b){if(a.xhr_){w1b(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){}}},w1b=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(Un(a.timeoutId_),a.timeoutId_=null)};f=tB.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(i1b)[1]||null,!a&&ba.self&&ba.self.location&&(a=ba.self.location.protocol.slice(0,-1)),a=!t1b.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=X0b(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(!yk(b[c])){var d=wQb(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 Fca(a,function(h){return h.join(", ")})};var oh=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};tB.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
tB.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};MZb(function(a){tB.prototype.onReadyStateChangeEntryPoint_=a(tB.prototype.onReadyStateChangeEntryPoint_)});var uB=function(a){r.call(this,a)};U(uB,r);uB.prototype.setTransmissionType=function(a){n(this,1,a)};uB.prototype.setRetryCount=function(a){n(this,3,a)};uB.prototype.toObject=function(){return B1b(this)};var B1b=function(a){if(null!=a)return t(a),{transmissionType:p(ir(a,1)),isFinal:p($q(a,2)),retryCount:p(Ms(a,3))}};var C1b=function(a){r.call(this,a)};U(C1b,r);f=C1b.prototype;f.getVersion=function(){return m(this,2)};f.getVersion_legacyNullable=function(){return m(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return bt(this,2)};f.toObject=function(){return D1b(this)};var D1b=function(a){if(null!=a)return t(a),{brand:p(m(a,1)),version:p(m(a,2))}};var vB=function(a){r.call(this,a)};U(vB,r);vB.prototype.getMobile=function(){return $q(this,2)};vB.repeatedFields_=[1];vB.prototype.toObject=function(){return E1b(this)};var E1b=function(a){if(null!=a)return t(a),{uaListList:Gb(Ch(a,C1b,1),D1b),mobile:p($q(a,2)),platform:p(m(a,3)),platformVersion:p(m(a,4)),architecture:p(m(a,5)),model:p(m(a,6)),uaFullVersion:p(m(a,7)),bitness:p(m(a,8))}};var wB=function(a){r.call(this,a)};U(wB,r);f=wB.prototype;f.getLocale=function(){return m(this,5)};f.setLocale=function(a){return n(this,5,a)};f.setBuildLabel=function(a){n(this,7,a)};f.getMutableFlushInfo=function(){return Is(this,uB,10)};f.toObject=function(){return F1b(this)};
var F1b=function(a){if(null!=a)return t(a),{os:p(m(a,1)),osVersion:p(m(a,2)),deviceType:p(ir(a,3)),country:p(m(a,4)),locale:p(m(a,5)),osType:p(ir(a,6)),buildLabel:p(m(a,7)),continent:p(m(a,8)),clientHints:E1b(Z(a,vB,9)),flushInfo:B1b(Z(a,uB,10))}};var G1b=["platform","platformVersion","architecture","model","uaFullVersion"];new vB;var H1b=function(a){r.call(this,a)};U(H1b,r);H1b.prototype.toObject=function(){return I1b(this)};var I1b=function(a){if(null!=a)return t(a),{guestAngle:p($q(a,1))}};var J1b=function(a){r.call(this,a)};U(J1b,r);J1b.prototype.toObject=function(){return K1b(this)};var K1b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),buildType:p(m(a,4)),omahaChannel:p(m(a,5)),battlestarClientType:p(ir(a,2)),graphicsCapabilities:I1b(Z(a,H1b,3)),battlestarMachineTier:p(ir(a,6)),hypervisorType:p(ir(a,7))}};var xB=function(a){r.call(this,a)};U(xB,r);xB.prototype.getClientType=function(){return ir(this,1)};xB.prototype.setClientType=function(a){return n(this,1,a)};xB.prototype.setBuildLabel=function(a){n(this,2,a)};xB.prototype.toObject=function(){return L1b(this)};var L1b=function(a){if(null!=a)return t(a),{clientType:p(ir(a,1)),buildLabel:p(m(a,2)),birdsongBuildLabel:p(m(a,3))}};var M1b=function(a){r.call(this,a)};U(M1b,r);M1b.prototype.getLocale=function(){return m(this,1)};M1b.prototype.setLocale=function(a){return n(this,1,a)};M1b.prototype.toObject=function(){return N1b(this)};var N1b=function(a){if(null!=a)return t(a),{locale:p(m(a,1)),browser:p(m(a,2)),browserVersion:p(m(a,3)),flashVersion:p(m(a,4))}};var O1b=function(a){r.call(this,a)};U(O1b,r);f=O1b.prototype;f.getClientId=function(){return m(this,1)};f.setClientId=function(a){return n(this,1,a)};f.getLoggingId=function(){return m(this,2)};f.setLoggingId=function(a){n(this,2,a)};f.toObject=function(){return P1b(this)};
var P1b=function(a){if(null!=a)return t(a),{clientId:p(m(a,1)),loggingId:p(m(a,2)),os:p(m(a,3)),osMajorVersion:p(m(a,4)),osFullVersion:p(m(a,5)),applicationBuild:p(m(a,6)),country:p(m(a,7)),applicationBuildCl:p(m(a,8)),clearcutVersion:p(Ms(a,9))}};var Q1b=function(a){r.call(this,a)};U(Q1b,r);Q1b.prototype.toObject=function(){return R1b(this)};var R1b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),driveDesktopClientType:p(ir(a,2))}};var S1b=function(a){r.call(this,a)};U(S1b,r);S1b.prototype.toObject=function(){return T1b(this)};var T1b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),g1DesktopClientType:p(ir(a,2))}};var U1b=function(a){r.call(this,a)};U(U1b,r);U1b.prototype.getLocale=function(){return m(this,11)};U1b.prototype.setLocale=function(a){return n(this,11,a)};U1b.prototype.toObject=function(){return V1b(this)};
var V1b=function(a){if(null!=a)return t(a),{deviceId:p(m(a,9)),deviceModel:p(m(a,1)),appVersion:p(m(a,2)),acpVersion:p(m(a,16)),opalVersion:p(m(a,18)),virtualReleaseChannel:p(m(a,17)),manufacturer:p(m(a,3)),productName:p(m(a,4)),factoryCountry:p(m(a,5)),buildType:p(m(a,6)),systemBuild:p(m(a,7)),backendType:p(ir(a,8)),locale:p(m(a,11)),onDeviceAssistantEnabled:p($q(a,12)),surfaceType:p(ir(a,13)),ontologicalSurfaceType:p(ir(a,19)),osType:p(ir(a,14)),optedInMetricsLogging:p($q(a,15))}};var W1b=function(a){r.call(this,a)};U(W1b,r);W1b.prototype.getLocale=function(){return m(this,5)};W1b.prototype.setLocale=function(a){return n(this,5,a)};W1b.prototype.toObject=function(){return X1b(this)};var X1b=function(a){if(null!=a)return t(a),{appVersion:p(m(a,1)),coreAppVersion:p(m(a,3)),deviceModel:p(m(a,2)),mccMnc:p(m(a,4)),locale:p(m(a,5))}};var Y1b=function(a){r.call(this,a)};U(Y1b,r);Y1b.prototype.toObject=function(){return Z1b(this)};var Z1b=function(a){if(null!=a)return t(a),{osMajorVersion:p(m(a,1)),osFullVersion:p(m(a,2)),applicationBuild:p(m(a,3)),country:p(m(a,4)),applicationBuildCl:p(m(a,5)),clearcutVersion:p(Ms(a,6)),applicationBundleId:p(m(a,7))}};var $1b=function(a){r.call(this,a)};U($1b,r);$1b.prototype.getAppId=function(){return m(this,3)};$1b.prototype.setAppId=function(a){n(this,3,a)};$1b.prototype.toObject=function(){return a2b(this)};var a2b=function(a){if(null!=a)return t(a),{deviceId:p(m(a,1)),os:p(ir(a,2)),appId:p(m(a,3)),appVersion:p(m(a,4)),mccMnc:p(m(a,5))}};var b2b=function(a){r.call(this,a)};U(b2b,r);f=b2b.prototype;f.getClientId=function(){return m(this,1)};f.setClientId=function(a){return n(this,1,a)};f.getLoggingId=function(){return m(this,7)};f.setLoggingId=function(a){n(this,7,a)};f.toObject=function(){return c2b(this)};var c2b=function(a){if(null!=a)return t(a),{clientId:p(m(a,1)),loggingId:p(m(a,7)),make:p(m(a,3)),model:p(m(a,4)),applicationBuild:p(m(a,5)),platformVersion:p(m(a,6)),country:p(m(a,8))}};var d2b=function(a){r.call(this,a)};U(d2b,r);d2b.prototype.toObject=function(){return e2b(this)};var e2b=function(a){if(null!=a)return t(a),{usageType:p(ir(a,1))}};var f2b=function(a){r.call(this,a)};U(f2b,r);f2b.prototype.toObject=function(){return g2b(this)};var g2b=function(a){if(null!=a)return t(a),{isExtendedAdvertisingSupported:p($q(a,1)),isPeripheralRoleSupported:p($q(a,2)),isLowEnergySupported:p($q(a,3)),isAdvertisementOffloadSupported:p($q(a,4))}};var h2b=function(a){r.call(this,a)};U(h2b,r);h2b.prototype.toObject=function(){return i2b(this)};var i2b=function(a){if(null!=a)return t(a),{manufacturer:p(m(a,1)),deviceName:p(m(a,2)),driverProviderName:p(m(a,3)),driverVersion:p(m(a,4)),driverDate:p(m(a,5))}};var j2b=function(a){r.call(this,a)};U(j2b,r);j2b.repeatedFields_=[13,14];j2b.prototype.toObject=function(){return k2b(this)};
var k2b=function(a){if(null!=a)return t(a),{deviceType:p(ir(a,1)),deviceManufacturer:p(m(a,2)),deviceModel:p(m(a,3)),physicalMemory:p(m(a,4)),processorCount:p(Ms(a,5)),logicalProcessorCount:p(Ms(a,6)),osName:p(m(a,7)),osVersion:p(m(a,8)),osArchitecture:p(m(a,9)),osLanguageCode:p(m(a,10)),cpuManufacturer:p(m(a,11)),cpuName:p(m(a,12)),bluetoothDriverInfosList:Gb(Ch(a,h2b,13),i2b),networkDriverInfosList:Gb(Ch(a,h2b,14),i2b),bleExtdAdvSupported:p($q(a,15)),bluetoothInfo:g2b(Z(a,f2b,16)),usageType:p(ir(a,
17))}};var yB=function(a){r.call(this,a)};U(yB,r);yB.prototype.getBattlestarClientInfo=function(){return Pj(this,J1b,1,l2b)};yB.prototype.getDriveDesktopClientInfo=function(){return Pj(this,Q1b,2,l2b)};yB.prototype.getG1DesktopClientInfo=function(){return Pj(this,S1b,3,l2b)};yB.prototype.getWindowsClientInfo=function(){return Pj(this,j2b,5,l2b)};var l2b=[1,2,3,4,5];yB.prototype.toObject=function(){return m2b(this)};
var m2b=function(a){if(null!=a)return t(a),{battlestarClientInfo:K1b(a.getBattlestarClientInfo()),driveDesktopClientInfo:R1b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:T1b(a.getG1DesktopClientInfo()),nearbyClientInfo:e2b(Pj(a,d2b,4,l2b)),windowsClientInfo:k2b(a.getWindowsClientInfo())}};var n2b=function(a){r.call(this,a)};U(n2b,r);n2b.prototype.toObject=function(){return o2b(this)};var o2b=function(a){if(null!=a)return t(a),{machineClass:p(ir(a,1))}};var p2b=function(a){r.call(this,a)};U(p2b,r);p2b.prototype.toObject=function(){return q2b(this)};var q2b=function(a){if(null!=a)return t(a),{vrClientType:p(ir(a,1)),sdkVersion:p(m(a,2)),fingerprint:p(m(a,3)),gvrVersion:p(m(a,4)),manufacturer:p(m(a,5)),model:p(m(a,6)),language:p(m(a,7)),country:p(m(a,8)),unityVersion:p(m(a,9)),unitySdkVersion:p(m(a,10))}};var r2b=function(a){r.call(this,a)};U(r2b,r);f=r2b.prototype;f.setBuildLabel=function(a){n(this,1,a)};f.setEnvironment=function(a){return n(this,3,a)};f.getEnvironmentOrUndefined=function(){return bt(this,3)};f.getLocation=function(){return m(this,4)};f.toObject=function(){return s2b(this)};
var s2b=function(a){if(null!=a)return t(a),{buildLabel:p(m(a,1)),deploymentType:p(m(a,2)),environment:p(m(a,3)),location:p(m(a,4)),machine:p(m(a,5)),gameletId:p(m(a,6)),machineShape:p(m(a,7)),metro:p(m(a,8)),vmPurpose:p(m(a,9)),releaseStage:p(m(a,10))}};var zB=function(a){r.call(this,a)};U(zB,r);f=zB.prototype;f.getClientType=function(){return ir(this,1)};f.setClientType=function(a){return n(this,1,a)};f.getBattlestarClientInfo=function(){return Z(this,J1b,22)};f.getDriveDesktopClientInfo=function(){return Z(this,Q1b,24)};f.getG1DesktopClientInfo=function(){return Z(this,S1b,25)};f.getMutableJsClientInfo=function(){return Is(this,wB,11)};f.getWindowsClientInfo=function(){return Z(this,j2b,26)};f.toObject=function(){return t2b(this)};
var t2b=function(a){if(null!=a)return t(a),{clientType:p(ir(a,1)),remoteHost:p(m(a,6)),remoteHost6:p(m(a,7)),battlestarClientInfo:K1b(a.getBattlestarClientInfo()),birdsongClientInfo:L1b(Z(a,xB,14)),desktopClientInfo:P1b(Z(a,O1b,3)),driveDesktopClientInfo:R1b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:T1b(a.getG1DesktopClientInfo()),googleHomeClientInfo:V1b(Z(a,U1b,16)),jsClientInfo:F1b(Z(a,wB,11)),kaiosClientInfo:X1b(Z(a,W1b,20)),macClientInfo:Z1b(Z(a,Y1b,13)),pancettaClientInfo:a2b(Z(a,$1b,
10)),playCeClientInfo:c2b(Z(a,b2b,5)),portablePhenotypeLibraryClientInfo:m2b(Z(a,yB,23)),sparklightClientInfo:o2b(Z(a,n2b,18)),vrClientInfo:q2b(Z(a,p2b,8)),windowsClientInfo:k2b(a.getWindowsClientInfo()),yetiClientInfo:s2b(Z(a,r2b,15)),browserInfo:N1b(Z(a,M1b,9)),heterodyneConfigVersion:p(m(a,12))}};pt[66321687]=Eb(66321687,{messageSetExtension:0},zB,t2b);var u2b=function(a){r.call(this,a)};U(u2b,r);u2b.repeatedFields_=[1,2,3,4,5];u2b.prototype.toObject=function(){return v2b(this)};var v2b=function(a){if(null!=a)return t(a),{clientAlteringExperimentList:p(Gh(a,1)),otherExperimentList:p(Gh(a,2)),gwsExperimentList:p(Bh(a,3)),playExperimentList:p(fl(a,4)),unsupportedPlayExperimentList:p(fl(a,5))}};var w2b=function(a){r.call(this,a)};U(w2b,r);f=w2b.prototype;f.getVersion=function(){return m(this,3)};f.getVersion_legacyNullable=function(){return m(this,3)};f.setVersion=function(a){return n(this,3,a)};f.getVersionOrUndefined=function(){return bt(this,3)};f.toObject=function(){return x2b(this)};var x2b=function(a){if(null!=a)return t(a),{appType:p(Ms(a,1)),androidPackageName:p(m(a,2)),version:p(m(a,3))}};var y2b=function(a){r.call(this,a)};U(y2b,r);f=y2b.prototype;f.getKey=function(){return m(this,1)};f.hasKey=function(){return tk(this,1)};f.getValue=function(){return m(this,2)};f.getValue_legacyNullable=function(){return m(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return tk(this,2)};f.toObject=function(){return z2b(this)};var z2b=function(a){if(null!=a)return t(a),{key:p(m(a,1)),value:p(m(a,2))}};var A2b=function(a){r.call(this,a)};U(A2b,r);A2b.prototype.toObject=function(){return B2b(this)};var B2b=function(a){if(null!=a)return t(a),{networkType:W(a,1,-1),mobileSubtype:W(a,2,0)}};var AB=function(a){r.call(this,a,33)};U(AB,r);f=AB.prototype;f.getTag=function(){return m(this,2)};f.getComponentId=function(){return m(this,26)};f.setComponentId=function(a){return n(this,26,a)};f.hasComponentId=function(){return tk(this,26)};f.getValueList=function(){return Ch(this,y2b,3)};f.addValue=function(){return go(this,3,y2b)};f.setValue=function(a,b){return Ds(this,3,y2b,a,b)};f.getStore=function(){return no(this,4)};var C2b=function(a,b){return n(a,8,b)};
AB.prototype.getExperimentIds=function(){return Z(this,rB,16)};AB.prototype.setExperimentIds=function(a){Wi(this,rB,16,a)};var D2b=function(a,b){n(a,24,b)},E2b={};AB.repeatedFields_=[3,20,27];AB.prototype.toObject=function(){return F2b(this)};
var F2b=function(a){if(null!=a){t(a);var b={eventTimeMs:p(m(a,1)),eventUptimeMs:p(m(a,17)),bootCount:p(m(a,22)),sequencePosition:p(m(a,21)),tag:p(m(a,2)),eventCode:p(Ms(a,11)),componentId:p(m(a,26)),eventFlowId:p(m(a,12)),isUserInitiated:p($q(a,10)),valueList:Gb(a.getValueList(),z2b),store:Jb(a.getStore()),appUsage1p:x2b(Z(a,w2b,9)),sourceExtension:Jb(no(a,6)),sourceExtensionJs:p(m(a,8)),sourceExtensionJson:p(m(a,13)),sourceExtensionJsonProto3:p(m(a,29)),exp:v2b(Z(a,u2b,7)),testId:p(m(a,14)),timezoneOffsetSeconds:dj(a,
15,18E4),experimentIds:U0b(a.getExperimentIds()),clientVe:Jb(no(a,18)),clientVeJs:p(m(a,24)),internalEvent:p(ir(a,19)),testCodeList:p(Bh(a,20)),genericDimensionsList:p(Bh(a,27)),networkConnectionInfo:B2b(Z(a,A2b,23)),inDirectBootMode:p($q(a,25)),zwiebackCookieOverride:p(m(a,28)),moduleAppliedSamplingRate:p(Es(a,30)),clientAppliedSamplingRate:p(Es(a,32))};Hb(a,b,E2b);return b}};var G2b=function(a){r.call(this,a)};U(G2b,r);G2b.prototype.toObject=function(){return H2b(this)};var H2b=function(a){if(null!=a)return t(a),{collectStartMs:p(m(a,3)),collectUntilMs:p(m(a,1)),skipPersistentLogStorage:p($q(a,2))}};var I2b=function(a){r.call(this,a)};U(I2b,r);I2b.prototype.toObject=function(){return J2b(this)};var J2b=function(a){if(null!=a)return t(a),{isUnmetered:p($q(a,1)),isCharging:p($q(a,2)),autoTimeStatus:p(ir(a,3)),isGooglerDevice:p($q(a,4))}};var K2b=function(a){r.call(this,a)};U(K2b,r);f=K2b.prototype;f.getSource=function(){return m(this,3)};f.setSource=function(a){return n(this,3,a)};f.hasSource=function(){return tk(this,3)};f.getSourceOrUndefined=function(){return bt(this,3)};f.toObject=function(){return L2b(this)};var L2b=function(a){if(null!=a)return t(a),{timeMs:p(m(a,1)),uptimeMs:p(m(a,2)),source:p(m(a,3))}};var M2b=function(a){r.call(this,a)};U(M2b,r);M2b.prototype.toObject=function(){return N2b(this)};var N2b=function(a){if(null!=a)return t(a),{originAssociatedProductId:p(Ms(a,13))}};var O2b=function(a){r.call(this,a)};U(O2b,r);O2b.prototype.toObject=function(){return P2b(this)};var P2b=function(a){if(null!=a)return t(a),{prequest:N2b(Z(a,M2b,2))}};var Q2b=function(a){r.call(this,a)};U(Q2b,r);Q2b.prototype.toObject=function(){return R2b(this)};var R2b=function(a){if(null!=a)return t(a),{privacyContext:P2b(Z(a,O2b,1)),productIdOrigin:W(a,2,0)}};var S2b=function(a){r.call(this,a,19)};U(S2b,r);f=S2b.prototype;f.getClientInfo=function(){return Z(this,zB,1)};f.getMutableClientInfo=function(){return Is(this,zB,1)};f.setClientInfo=function(a){Wi(this,zB,1,a)};f.setLogSource=function(a){return n(this,2,a)};f.getQosTier=function(){return W(this,9,0)};var T2b={};S2b.repeatedFields_=[3,5];
S2b.prototype.toObject=function(){if(null!=this){t(this);var a={requestTimeMs:p(m(this,4)),requestUptimeMs:p(m(this,8)),clientInfo:t2b(this.getClientInfo()),logSource:W(this,2,-1),logSourceName:p(m(this,6)),zwiebackCookie:p(m(this,7)),logEventList:Gb(Ch(this,AB,3),F2b),serializedLogEventsList:Jb(Gs(this,5)),logEventDroppedCount:p(m(this,14)),qosTier:W(this,9,0),scheduler:p(ir(this,10)),deviceStatus:J2b(Z(this,I2b,11)),externalTimestamp:L2b(Z(this,K2b,12)),collectForDebug:H2b(Z(this,G2b,13)),appMobilespecId:p(Ns(this,
16)),complianceData:R2b(Z(this,Q2b,18))};Hb(this,a,T2b)}else a=void 0;return a};var BB=function(a){r.call(this,a)};U(BB,r);BB.prototype.getId=function(a){return Ss(this,1,a)};BB.prototype.setId=function(a){return tb(this,1,a,void 0,Gh)};BB.repeatedFields_=[1];BB.prototype.toObject=function(){return U2b(this)};var U2b=function(a){if(null!=a)return t(a),{idList:p(Gh(a,1))}};var V2b=function(a){r.call(this,a)};U(V2b,r);V2b.prototype.toObject=function(){return W2b(this)};var W2b=function(a){if(null!=a)return t(a),{logRequestIndex:p(Ms(a,1)),responseAction:p(ir(a,2))}};var X2b=function(a){r.call(this,a)};U(X2b,r);X2b.repeatedFields_=[1];X2b.prototype.toObject=function(){return Y2b(this)};var Y2b=function(a){if(null!=a)return t(a),{logSourceNameList:p(Gh(a,1))}};var Z2b=function(a){r.call(this,a)};U(Z2b,r);Z2b.prototype.getQosTier=function(){return ir(this,2)};Z2b.prototype.setLogSource=function(a){return n(this,3,a)};Z2b.prototype.toObject=function(){return $2b(this)};var $2b=function(a){if(null!=a)return t(a),{logSourceName:p(m(a,1)),qosTier:p(ir(a,2)),logSource:W(a,3,-1)}};var a3b=function(a){r.call(this,a)};U(a3b,r);a3b.repeatedFields_=[1];a3b.prototype.toObject=function(){return b3b(this)};var b3b=function(a){if(null!=a)return t(a),{qosTierConfigurationList:Gb(Ch(a,Z2b,1),$2b),qosTierFingerprint:p(m(a,2))}};var CB=function(a){r.call(this,a,6)};U(CB,r);CB.prototype.getExperiments=function(){return Z(this,BB,2)};CB.prototype.setExperiments=function(a){Wi(this,BB,2,a)};CB.prototype.hasExperiments=function(){return Aj(this,BB,2)};CB.prototype.getQosTier=function(){return Z(this,a3b,3)};var c3b={};CB.repeatedFields_=[5];
CB.prototype.toObject=function(){if(null!=this){t(this);var a={nextRequestWaitMillis:wi(this,1,"-1"),experiments:U2b(this.getExperiments()),qosTier:b3b(this.getQosTier()),logSourceBatchingDenylist:Y2b(Z(this,X2b,4)),logResponseDetailsList:Gb(Ch(this,V2b,5),W2b)};Hb(this,a,c3b)}else a=void 0;return a};var d3b=function(a){r.call(this,a)};U(d3b,r);d3b.prototype.toObject=function(){return e3b(this)};var e3b=function(a){if(null!=a)return t(a),{suggestedFlushIntervalMillis:Eh(a,1,-1)}};var f3b=Eb(175237375,{jsExtension:0},d3b,e3b);c3b[175237375]=f3b;var EB=function(a,b,c,d,e,g,h,l,q,x,A){vo.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;vo.call(this);this.logSource=a;this.getAuthHeaderValue=b||function(){};this.logRequestBuilder=new DB(a,g);this.networkIOSend=d;this.network=A;this.bufferSize=1E3;this.uniformRandomFunction=qs(g_b,0,1);this.clearcutUrl=e||null;this.sessionIndex=c||null;this.disableAutomaticFlush=h||!1;this.pageId=q||null;this.logger=null;this.withCredentials=!l;this.isServiceWorkerScope=g||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&(65<=naa("Chromium")||45<=naa("Firefox")||
12<=naa("Safari")||la()&&uaa())&&!!dB()&&!!dB().navigator&&!!dB().navigator.sendBeacon;a=(new zB).setClientType(1);this.logRequestBuilder.setClientInfo(a);this.flushBackoff=new V0b(1E4);this.flushTimer=new kB(this.flushBackoff.getValue());QA(this,this.flushTimer);x=g3b(this,x);wo(this.flushTimer,"tick",x,!1,this);this.backupTimer=new kB(6E5);QA(this,this.backupTimer);wo(this.backupTimer,"tick",x,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(wo(document,
"visibilitychange",function(){"hidden"===document.visibilityState&&B.finalFlush()}),wo(document,"pagehide",this.finalFlush,!1,this))};U(EB,vo);var g3b=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};EB.prototype.disposeInternal=function(){this.finalFlush();vo.prototype.disposeInternal.call(this)};EB.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};EB.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
EB.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 FB=function(a,b){b instanceof AB?a.log(b):(b=C2b(new AB,b.serialize()),a.log(b))};f=EB.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 rB);eJb(this.experimentIds,2,a)};f.setClearExperimentIds=function(a){a?(this.experimentIds||(this.experimentIds=new rB),a=a.serialize(),n(this.experimentIds,4,a)):this.experimentIds&&Hs(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;h3b(this,a)};var h3b=function(a,b){a.flushBackoff=new V0b(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
EB.prototype.log=function(a){a=a.clone();var b=this.sequencePosition++;a=n(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!m(a,1)){b=a;var c=Date.now().toString();n(b,1,c)}Lk(a,15)||n(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 i3b(a));
this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
EB.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents.length)a&&a();else if(this.sendBeaconApiEnabled)this.logRequestBuilder.setTransmissionType(3),j3b(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=o1b(h,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,h=o1b(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 x={url:h,body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},A=function(O){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(O){var P=null;try{var Y=JSON.parse(O.replace(")]}'\n",""));P=new CB(Y)}catch(X){}P&&(O=Number(wi(P,1,"-1")),0<O&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+O),P=P.getExtension(f3b))&&(P=Eh(P,1,-1),-1!==P&&(c.clientSpecifiedFlushInterval||
h3b(c,P)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},B=function(O,P){var Y=Ch(e,AB,3),X=c.flushBackoff;X.currBaseValue_=Math.min(3E5,2*X.currBaseValue_);X.currValue_=Math.min(3E5,X.currBaseValue_+Math.round(.2*(Math.random()-.5)*X.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===O&&g&&(c.lastFailedAuth=g);void 0===P&&(P=500<=O&&600>O||401===O||0===O);P&&(c.pendingEvents=Y.concat(c.pendingEvents),c.disableAutomaticFlush||c.flushTimer.enabled||c.flushTimer.start());b&&
b("net-send-failed",O);++c.numRetriesSinceLastSuccessfulFlush},K=function(){c.network?c.network.send(x,A,B):c.networkIOSend(x,A,B)};q?q.then(function(O){x.requestHeaders["Content-Encoding"]="gzip";x.requestHeaders["Content-Type"]="application/binary";x.body=O;x.bodyType=2;K()},function(){K()}):K()}}}};
EB.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(k3b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),j3b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),l3b(this)),this.flush(),k3b(this.logRequestBuilder,!1))};
var j3b=function(a){m3b(a,32,10,function(b,c){b=o1b(b,"format","json");var d=!1;try{d=dB().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},l3b=function(a){m3b(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=sB(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},m3b=function(a,b,c,d){if(0!==a.pendingEvents.length){var e=
a.getClearcutUrl();for(var g=e.search(q1b),h=0,l,q=[];0<=(l=p1b(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(s1b,"$1");e=sB(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()}},i3b=function(){RA.call(this,"event-logged",void 0)};U(i3b,RA);var DB=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new S2b;this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new zB)};
DB.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};DB.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(),Z(a,vB,9)||Wi(a,vB,9,this.uach))};DB.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
DB.prototype.setTransmissionType=function(a){Aj(this.getMutableClientInfo(),wB,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var k3b=function(a,b){Aj(a.getMutableClientInfo(),wB,11)&&(a=a.getMutableFlushInfo(),Ij(a,2,b))};DB.prototype.setRetryCount=function(a){Aj(this.getMutableClientInfo(),wB,11)&&this.getMutableFlushInfo().setRetryCount(a)};DB.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var n3b=function(a,b){var c=void 0===c?G1b:c;b(dB(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();Wi(d,vB,9,a.uach);return!0}).catch(function(){return!1})};DB.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=Z(a,wB,11);b||(b=new wB,Wi(a,wB,11,b));return b};DB.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=Z(a,uB,10);b||(b=new uB,Ij(b,2,!1),Wi(a,uB,10,b));return b};
DB.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=n(c,4,d);a=aj(c,3,a);b&&n(a,14,b);return a};rs(wpa,mh);f=wpa.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.useSendBeaconForFinalFlush_=!0;return this};
f.useGetRequestForFinalFlush=function(){this.useGetRequestForFinalFlush_=!0;return this};f.setFlushIntervalMs=function(a){this.flushIntervalMs_=Math.max(a,1E3)};f.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
f.build=function(){var a=new EB(this.logSource_,this.getAuthHeaderValue_?this.getAuthHeaderValue_:so,this.sessionIndex_,this.networkIOSend_,this.destinationUrl_,this.enableServiceWorkerScope_,!1,this.disableWithCredentials_,void 0,void 0,this.network_?this.network_:void 0);QA(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.useSendBeaconForFinalFlush_&&(a.useSendBeaconForFinalFlush=this.useSendBeaconForFinalFlush_&&a.isSendBeaconSupported);this.useGetRequestForFinalFlush_&&(a.useGetRequestForFinalFlush=this.useGetRequestForFinalFlush_);this.flushIntervalMs_&&a.setFlushIntervalMs(this.flushIntervalMs_);this.enableSendBeaconApi_&&(a.sendBeaconApiEnabled=a.isSendBeaconSupported);
this.userAgentClientHintsProvider_&&n3b(a.logRequestBuilder,this.userAgentClientHintsProvider_);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);return a};var o3b=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;mh.call(this);g?c=g:(g=(new wpa(a,"0")).setComponentId(b),QA(this,g),""!=c&&(g.destinationUrl_=c),d&&(g.enableServiceWorkerScope_=!0),e&&g.setBuildLabel(e),c=g.build());this.logSource_=a;this.componentId_=b;this.transport_=c};U(o3b,mh);o3b.prototype.getComponentId=function(){return this.componentId_};
o3b.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new K0b,c=[],d=0;d<a.length;d++){var e=a[d],g=e;var h=new qB;h=n(h,1,g.metricName_);for(var l=g,q=[],x=0;x<l.fields_.length;x++)q.push(l.fields_[x].field_name);h=Di(h,3,q);l=[];q=[];x=k(g.cellMap_.keys());for(var A=x.next();!A.done;A=x.next())q.push(A.value.split(","));for(x=0;x<q.length;x++){A=q[x];var B=g.cellType_;for(var K=g.getCells(A)||[],O=[],P=0;P<K.length;P++){var Y=K[P];Y=Y&&Y.cellValue_;var X=new nB;switch(B){case 3:Xn(X,1,
oB,Number(Y));break;case 2:Xn(X,2,oB,Wa(Number(Y)))}O.push(X)}B=O;for(K=0;K<B.length;K++){O=B[K];P=new pB;O=Wi(P,nB,2,O);P=A;Y=[];X=g;for(var ka=[],ma=0;ma<X.fields_.length;ma++)ka.push(X.fields_[ma].field_type);X=ka;for(ka=0;ka<X.length;ka++){ma=X[ka];var ya=P[ka],Aa=new lB;switch(ma){case 3:Xn(Aa,1,mB,String(ya));break;case 2:Xn(Aa,2,mB,Number(ya));break;case 1:Xn(Aa,3,mB,Xa("true"==ya))}Y.push(Aa)}aj(O,1,Y);l.push(O)}}aj(h,4,l);c.push(h);e.clear()}aj(b,1,c);FB(this.transport_,b);this.transport_.flush()}};var p3b=new Nc("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(" ")}}),q3b=new Nc("STREAMZ_PRODUCT_IDENTIFIER"),r3b=new Nc("STREAMZ_ALLOWLIST_IDENTIFIER"),s3b=new Nc("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return wc(Se).runOutsideAngular(function(){var a=new o3b(1503);a=new h0b(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),GB=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new k0b(this.streamzService);new l0b(this.streamzService);new m0b(this.streamzService);new n0b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(s0b);this.allowlistIdentifier=r0b(null!=e?e:this.productIdentifier)};
GB.prototype.logUsageMetric=function(a,b){var c=this;this.zone.runOutsideAngular(function(){t3b(c)&&c.oneDeveloperWorkflowUsageMetrics.increment(a,c.productIdentifier,b)})};var t3b=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};GB.\u0275fac=function(a){return new (a||GB)(u(s3b),u(Se),u(p3b),u(q3b,8),u(r3b,8))};GB.\u0275prov=mc({token:GB,factory:GB.\u0275fac,providedIn:"root"});var u3b=new Nc("Feature Tooltip Controller Config");new Nc("TooltipAnchor");new Nc("TooltipPeventer");var v3b=Fg("transformMenu",[Ig("void",Hg({opacity:0,transform:"scale(0.8)"})),Jg("void => enter",Gg("120ms cubic-bezier(0, 0, 0.2, 1)",Hg({opacity:1,transform:"scale(1)"}))),Jg("* => void",Gg("100ms 25ms linear",Hg({opacity:0})))]),w3b=Fg("fadeInItems",[Ig("showing",Hg({opacity:1})),Jg("void => *",[Hg({opacity:0}),Gg("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var x3b=new Nc("MatMenuContent"),HB=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 E.Subject};
HB.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new Cx(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Ex(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()};
HB.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};HB.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};HB.\u0275fac=function(a){return new (a||HB)(C(Mf),C(rv),C(kw),C(qv),C(Nf),C(ah),C(mw))};HB.\u0275dir=Gc({type:HB});var y3b=new Nc("MAT_MENU_PANEL");var z3b=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],A3b=eh(fh(function(){})),IB=function(a,b,c,d,e){var g=A3b.call(this)||this;g._elementRef=a;g._document=b;g._focusMonitor=c;g._parentMenu=d;g._changeDetectorRef=e;g.role="menuitem";g._hovered=new E.Subject;g._focused=new E.Subject;g._highlighted=!1;g._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,g);return g};U(IB,A3b);f=IB.prototype;
f.focus=function(a,b){this._focusMonitor&&a?yx(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()};IB.\u0275fac=function(a){return new (a||IB)(C(rd),C(ah),C(xx),C(y3b,8),C(mw))};
IB.\u0275cmp=Bc({type:IB,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&&M("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(bf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),mf("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:[Ye],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&&(tf(z3b),uf(0),G(1,"span",0),uf(2,1),H(),I(3,"div",1),Q(4,xpa,2,0,"svg",2));a&2&&(z(3),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),F("ngIf",b._triggersSubmenu))},dependencies:[tw,zz],encapsulation:2,changeDetection:0});var B3b=0,C3b=new Nc("mat-menu-default-options",{providedIn:"root",factory:zpa}),JB=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new Tf;this._classList={};this._panelAnimationState="void";this._animationDone=new E.Subject;this.close=this.closed=new Vv;this.panelId="mat-menu-panel-"+B3b++;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=JB.prototype;f.ngOnInit=function(){this.setPositionClasses()};
f.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=Ny(RWb(Ky(new Qy(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(Ne(this._directDescendantItems),Oe(function(b){return E.merge.apply(null,Pc(b.map(function(c){return c._focused})))})).subscribe(function(b){return Oy(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(Ne(this._directDescendantItems),Oe(function(a){return E.merge.apply(null,Pc(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:xg(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||UWb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var D3b=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(Ce()).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;UWb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};f=JB.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(Ne(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));Of(a._directDescendantItems)})};
ch.Object.defineProperties(JB.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=tg(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=tg(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}}});
JB.\u0275fac=function(a){return new (a||JB)(C(rd),C(Se),C(C3b),C(mw))};
JB.\u0275dir=Gc({type:JB,contentQueries:function(a,b,c){a&1&&(Rf(c,x3b,5),Rf(c,IB,5),Rf(c,IB,4));if(a&2){var d;Pf(d=Sf())&&(b.lazyContent=d.first);Pf(d=Sf())&&(b._allItems=d);Pf(d=Sf())&&(b.items=d)}},viewQuery:function(a,b){a&1&&Qf(Mf,5);if(a&2){var c;Pf(c=Sf())&&(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 KB=function(a,b,c,d){JB.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=8};U(KB,JB);KB.\u0275dir=JB.\u0275dir;KB.\u0275fac=function(a){return new (a||KB)(C(rd),C(Se),C(C3b),C(mw))};
KB.\u0275cmp=Bc({type:KB,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&bf("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Cf([{provide:y3b,useExisting:KB}]),Ye],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&&(tf(),Q(0,ypa,3,6,"ng-template"))},dependencies:[rw],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:[v3b,w3b]},changeDetection:0});var E3b=new Nc("mat-menu-scroll-strategy"),F3b={provide:E3b,deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},G3b=og({passive:!0}),LB=function(a,b,c,d,e,g,h,l,q){var x=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=E.Subscription.EMPTY;this._changeDetectorRef=
wc(mw);this._handleTouchStart=function(A){Lma(A)||(x._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new Vv;this.onMenuClose=this.menuClosed=new Vv;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof JB?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,G3b)};LB.prototype.ngAfterContentInit=function(){this._handleHover()};
LB.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,G3b);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var MB=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};f=LB.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?!MB(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 JB&&(b._startAnimation(),b._directDescendantItems.changes.pipe(Pe(b.close)).subscribe(function(){mXb(qXb(e,
!1));qXb(e,!0)}))}};f.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};f.focus=function(a,b){this._focusMonitor&&a?yx(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&&MB(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof JB)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(ue(function(e){return"void"===e.toState}),Ce(),Pe(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=MB(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);D3b(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(),MB(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 gz({positionStrategy:rXb(oXb(qXb(nz(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]),x=q.next().value;q=q.next().value;var A=0;MB(this)?(q=d="before"===a.xPosition?"start":"end",c=x="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),A="bottom"===g?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l="top"===g?"bottom":"top",h="top"===e?"bottom":"top");jz(b,[{originX:d,originY:l,overlayX:x,overlayY:g,offsetY:A},{originX:c,originY:l,overlayX:q,overlayY:g,offsetY:A},{originX:d,originY:h,overlayX:x,overlayY:e,offsetY:-A},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-A}])};
f._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,E.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ue(function(g){return g!==a._menuItemInstance}),ue(function(){return a._menuOpen})):(0,E.of)();return(0,E.merge)(b,d,e,c)};f._handleMousedown=function(a){Kma(a)||(this._openedBy=0===a.button?"mouse":void 0,MB(this)&&a.preventDefault())};
f._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";MB(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};f._handleClick=function(a){MB(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
f._handleHover=function(){var a=this;MB(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ue(function(b){return b===a._menuItemInstance&&!b.disabled}),Ae(0,E.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof JB&&a.menu._isAnimating?a.menu._animationDone.pipe(Ce(),Ae(0,E.asapScheduler),Pe(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
f._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Cx(a.templateRef,this._viewContainerRef));return this._portal};
ch.Object.defineProperties(LB.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(MB(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"}}});LB.\u0275fac=function(a){return new (a||LB)(C(oz),C(rd),C(Nf),C(E3b),C(y3b,8),C(IB,10),C(Ry,8),C(xx),C(Se))};
LB.\u0275dir=Gc({type:LB,hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&bf("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 NB=function(){LB.apply(this,arguments)};U(NB,LB);NB.\u0275fac=function(){var a;return function(b){return(a||(a=pd(NB)))(b||NB)}}();NB.\u0275dir=Gc({type:NB,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[Ye]});var OB=function(){HB.apply(this,arguments)};U(OB,HB);OB.\u0275fac=function(){var a;return function(b){return(a||(a=pd(OB)))(b||OB)}}();OB.\u0275dir=Gc({type:OB,selectors:[["ng-template","matMenuContent",""]],features:[Cf([{provide:x3b,useExisting:OB}]),Ye]});var PB=function(){return IB.apply(this,arguments)||this};U(PB,IB);PB.\u0275fac=function(){var a;return function(b){return(a||(a=pd(PB)))(b||PB)}}();
PB.\u0275cmp=Bc({type:PB,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(a,b){a&2&&(bf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null),mf("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:[Cf([{provide:IB,useExisting:PB}]),Ye],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&&(tf(),uf(0),I(1,"div",0),Q(2,Apa,2,0,"svg",1));a&2&&(z(1),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),z(1),F("ngIf",b._triggersSubmenu))},dependencies:[tw,zz],encapsulation:2,changeDetection:0});var QB=function(){LB.apply(this,arguments)};U(QB,LB);QB.\u0275fac=function(){var a;return function(b){return(a||(a=pd(QB)))(b||QB)}}();QB.\u0275dir=Gc({type:QB,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[Ye]});var RB=function(a,b,c,d){JB.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};U(RB,JB);RB.\u0275dir=JB.\u0275dir;RB.\u0275fac=function(a){return new (a||RB)(C(rd),C(Se),C(C3b),C(mw))};
RB.\u0275cmp=Bc({type:RB,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&bf("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Cf([{provide:y3b,useExisting:RB}]),Ye],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&&(tf(),Q(0,Bpa,3,6,"ng-template"))},dependencies:[rw],
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:[v3b,w3b]},changeDetection:0});var SB=function(){};SB.\u0275fac=function(a){return new (a||SB)};SB.\u0275mod=Dc({type:SB});SB.\u0275inj=nc({providers:[F3b],imports:[Hw,sz,Cz,rz,dz,sz]});var H3b=["tooltip"],I3b=new Nc("mat-tooltip-scroll-strategy"),J3b={provide:I3b,deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},K3b=new Nc("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),L3b=og({passive:!0}),TB=function(a,b,c,d,e,g,h,l,q,x,A,B){var K=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=x;this._defaultOptions=A;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new E.Subject;this._scrollStrategy=q;this._document=B;A&&(this._showDelay=A.showDelay,this._hideDelay=A.hideDelay,A.position&&(this.position=A.position),A.positionAtOrigin&&
(this.positionAtOrigin=A.positionAtOrigin),A.touchGestures&&(this.touchGestures=A.touchGestures));x.change.pipe(Pe(this._destroyed)).subscribe(function(){K._overlayRef&&K._updatePosition(K._overlayRef)})};f=TB.prototype;f.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Pe(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,L3b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();LWb(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 Bx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b._onHide.pipe(Pe(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 rd)return this._overlayRef;this._detach()}c=dXb(this._scrollDispatcher,this._elementRef);a=nXb(kz(lz(rXb(nz(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Pe(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(Pe(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Pe(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Pe(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!xg(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();jz(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(Ce(),Pe(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,Pc(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,L3b)})};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"}};
ch.Object.defineProperties(TB.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=tg(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=tg(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=wg(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=wg(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;LWb(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)}}});TB.\u0275fac=function(){vd()};
TB.\u0275dir=Gc({type:TB,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 VB=function(a,b,c,d,e,g,h,l,q,x,A,B){TB.call(this,a,b,c,d,e,g,h,l,q,x,A,B);this._tooltipComponent=UB;this._cssClassPrefix="mat-mdc";this._viewportMargin=8};U(VB,TB);VB.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};
VB.\u0275fac=function(a){return new (a||VB)(C(oz),C(rd),C(Xy),C(Nf),C(Se),C(qx),C(Fy),C(xx),C(I3b),C(Ry,8),C(K3b,8),C(ah))};VB.\u0275dir=Gc({type:VB,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&mf("mat-mdc-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[Ye]});
var WB=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new E.Subject;this._animationsDisabled="NoopAnimations"===b};f=WB.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))};
WB.\u0275fac=function(a){return new (a||WB)(C(mw),C(tv,8))};WB.\u0275dir=Gc({type:WB});var UB=function(a,b,c){WB.call(this,a,c);this._elementRef=b;this._isMultiline=!1;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};U(UB,WB);UB.\u0275dir=WB.\u0275dir;UB.prototype._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
UB.prototype._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return 24<a.height&&200<=a.width};UB.\u0275fac=function(a){return new (a||UB)(C(mw),C(rd),C(tv,8))};
UB.\u0275cmp=Bc({type:UB,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Qf(H3b,7);if(a&2){var c;Pf(c=Sf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&lf("zoom",b.isVisible()?1:null)},features:[Ye],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&&(G(0,"div",0,1),M("animationend",function(c){return b._handleAnimationEnd(c)}),G(2,"div",2),R(3),H()());a&2&&(mf("mdc-tooltip--multiline",b._isMultiline),F("ngClass",b.tooltipClass),z(3),Af(b.message))},dependencies:[rw],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 XB=function(){};XB.\u0275fac=function(a){return new (a||XB)};XB.\u0275mod=Dc({type:XB});XB.\u0275inj=nc({providers:[J3b],imports:[Ey,Hw,rz,sz,sz,dz]});/*

 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 M3b=["tooltip"],ZB=function(a,b,c,d,e,g,h,l,q,x,A,B){TB.call(this,a,b,c,d,e,g,h,l,q,x,A,B);this._tooltipComponent=YB};U(ZB,TB);ZB.\u0275fac=function(a){return new (a||ZB)(C(oz),C(rd),C(Xy),C(Nf),C(Se),C(qx),C(Fy),C(xx),C(I3b),C(Ry,8),C(K3b,8),C(ah))};ZB.\u0275dir=Gc({type:ZB,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&mf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[Ye]});
var YB=function(a,b,c){WB.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)")};U(YB,WB);YB.\u0275dir=WB.\u0275dir;YB.\u0275fac=function(a){return new (a||YB)(C(mw),C(xy),C(tv,8))};
YB.\u0275cmp=Bc({type:YB,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Qf(M3b,7);if(a&2){var c;Pf(c=Sf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&lf("zoom",b.isVisible()?1:null)},features:[Ye],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(G(0,"div",0,1),M("animationend",function(d){return b._handleAnimationEnd(d)}),
S(2,"async"),R(3),H());if(a&2){var c;mf("mat-tooltip-handset",null==(c=T(2,4,b._isHandset))?null:c.matches);F("ngClass",b.tooltipClass);z(3);Af(b.message)}},dependencies:[rw,zw],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 $B=function(){};$B.\u0275fac=function(a){return new (a||$B)};$B.\u0275mod=Dc({type:$B});$B.\u0275inj=nc({imports:[sz,sz]});var N3b=new Nc("g3cWidgetTaskManagementServicePromiseClient"),O3b=new Nc("g3cWidgetUserPrefsServicePromiseClient"),P3b=new Nc("g3cWidgetServiceConfig");var wh=function(a){r.call(this,a)};U(wh,r);f=wh.prototype;f.getYear=function(){return Eh(this,1)};f.setYear=function(a){return wb(this,1,a)};f.getMonth=function(){return Eh(this,2)};f.setMonth=function(a){return wb(this,2,a)};f.getDay=function(){return Eh(this,3)};f.setDay=function(a){wb(this,3,a)};f.toObject=function(){return aC(this)};var aC=function(a){if(null!=a)return t(a),{year:Eh(a,1),month:Eh(a,2),day:Eh(a,3)}};var Q3b=function(a){r.call(this,a)};U(Q3b,r);Q3b.prototype.getDueDate=function(){return Pj(this,wh,1,R3b)};var R3b=[1,2];Q3b.prototype.toObject=function(){return S3b(this)};var S3b=function(a){if(null!=a)return t(a),{dueDate:aC(a.getDueDate()),dueTimeMs:p(Ys(a,2,R3b)),dueType:W(a,3,0)}};var T3b=function(a){r.call(this,a)};U(T3b,r);T3b.prototype.toObject=function(){return U3b(this)};var U3b=function(a){if(null!=a)return t(a),{taskStatus:W(a,1,0)}};var $o=function(a){r.call(this,a)};U($o,r);$o.prototype.getLabel=function(){return V(this,1)};$o.prototype.setLabel=function(a){return jj(this,1,a)};$o.prototype.getApprovalStatus=function(){return W(this,2,0)};$o.prototype.getOwnersList=function(){return Gh(this,3)};$o.repeatedFields_=[3];$o.prototype.toObject=function(){return V3b(this)};var V3b=function(a){if(null!=a)return t(a),{label:V(a,1),approvalStatus:W(a,2,0),ownersList:p(Gh(a,3))}};var W3b=function(a){r.call(this,a)};U(W3b,r);f=W3b.prototype;f.getId=function(){return dj(this,1)};f.setId=function(a){return xb(this,1,a)};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return jj(this,2,a)};f.toObject=function(){return X3b(this)};var X3b=function(a){if(null!=a)return t(a),{id:dj(a,1),label:V(a,2)}};var Y3b=function(a){r.call(this,a)};U(Y3b,r);f=Y3b.prototype;f.getId=function(){return dj(this,2)};f.setId=function(a){return xb(this,2,a)};f.getLabel=function(){return V(this,3)};f.setLabel=function(a){return jj(this,3,a)};f.toObject=function(){return Z3b(this)};var Z3b=function(a){if(null!=a)return t(a),{deprecated:Gj(a,1),id:dj(a,2),label:V(a,3),helpText:V(a,4)}};var $3b=function(a){r.call(this,a)};U($3b,r);$3b.prototype.toObject=function(){return a4b(this)};var a4b=function(a){if(null!=a)return t(a),{selectOptionId:dj(a,1),fdlcPhase:W(a,2,0)}};var b4b=function(a){r.call(this,a)};U(b4b,r);b4b.repeatedFields_=[1];b4b.prototype.toObject=function(){return c4b(this)};var c4b=function(a){if(null!=a)return t(a),{fdlcMapList:Gb(Ch(a,$3b,1),a4b)}};var d4b=function(a){r.call(this,a)};U(d4b,r);f=d4b.prototype;f.getId=function(){return hJb(this,1)};f.setId=function(a){Ua(this);null!=a&&0!==+a?kb(this,1,a):pb(this,1);return this};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return jj(this,2,a)};f.getTeamId=function(){return Ps(this,3)};f.setTeamId=function(a){return rb(this,3,a,0)};f.toObject=function(){return e4b(this)};var e4b=function(a){if(null!=a)return t(a),{id:hJb(a,1),label:V(a,2),teamId:Ps(a,3)}};var f4b=function(a){r.call(this,a)};U(f4b,r);f=f4b.prototype;f.getId=function(){return dj(this,1)};f.setId=function(a){return xb(this,1,a)};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return jj(this,2,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return Ni(this,3,a)};f.getOwner=function(){return Gj(this,9)};f.setOwner=function(a){return vb(this,9,a)};f.getOptionsList=function(){return Ch(this,Y3b,16)};f.setOptionsList=function(a){return aj(this,16,a)};
f.setOptions=function(a){Ds(this,16,Y3b,a)};f4b.repeatedFields_=[16];var g4b=[5,6],h4b=[20];f4b.prototype.toObject=function(){return i4b(this)};
var i4b=function(a){if(null!=a)return t(a),{id:dj(a,1),label:V(a,2),type:W(a,3,0),helpText:V(a,4),productArea:e4b(Pj(a,d4b,5,g4b)),approverDefinition:X3b(Pj(a,W3b,6,g4b)),doNotCopy:Gj(a,7),pdaRelated:Gj(a,8),owner:Gj(a,9),mcrRelated:Gj(a,10),eventsRelated:Gj(a,11),brandingRelated:Gj(a,12),securityRelated:Gj(a,13),marketingPdaRelated:Gj(a,14),alwaysEditable:Gj(a,15),onlyConfigurableByAdmins:Gj(a,17),isConfigurationAttribute:Gj(a,18),emptySetNotValid:Gj(a,19),optionsList:Gb(a.getOptionsList(),Z3b),
singleSelectMetadata:c4b(Pj(a,b4b,20,h4b))}};var bC=function(a){r.call(this,a)};U(bC,r);bC.prototype.getTypeName=function(){return V(this,1).split("/").pop()};bC.prototype.getValue=function(){var a=m(this,2);if(Array.isArray(a)||a instanceof r)throw Error("W");return Dj(this,2)};bC.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=n(this,2,bca(a));else if("string"===typeof a||a instanceof Ca||za(a))a=fJb(this,2,a);else throw Error("X`"+a);return a};bC.prototype.toObject=function(){return j4b(this)};
var j4b=function(a){if(null!=a)return t(a),{typeUrl:V(a,1),value:Cca(a)}};var cC=function(a){r.call(this,a)};U(cC,r);cC.prototype.getValue=function(){return Z(this,bC,2)};cC.prototype.setValue=function(a){return Wi(this,bC,2,a)};cC.prototype.hasValue=function(){return Aj(this,bC,2)};cC.prototype.toObject=function(){return k4b(this)};var k4b=function(a){if(null!=a)return t(a),{definition:i4b(Z(a,f4b,1)),value:j4b(a.getValue())}};var dC=function(a){r.call(this,a)};U(dC,r);dC.prototype.getYear=function(){return Eh(this,1)};dC.prototype.setYear=function(a){return wb(this,1,a)};dC.prototype.getNumber=function(){return Eh(this,2)};dC.prototype.toObject=function(){return l4b(this)};var l4b=function(a){if(null!=a)return t(a),{year:Eh(a,1),number:Eh(a,2)}};var NVa=function(a){r.call(this,a)};U(NVa,r);var OVa=[1,2,3];NVa.prototype.toObject=function(){return m4b(this)};var m4b=function(a){if(null!=a)return t(a),{specificDate:aC(Pj(a,wh,1,OVa)),quarter:l4b(Pj(a,dC,2,OVa)),toBeDetermined:p(Ws(a,3,OVa))}};var eC=function(a){r.call(this,a)};U(eC,r);f=eC.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return jj(this,1,a)};f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Ni(this,3,a)};f.getVersion=function(){return dj(this,5)};f.setVersion=function(a){return xb(this,5,a)};f.getOwnedByMe=function(){return Gj(this,7)};f.setOwnedByMe=function(a){return vb(this,7,a)};eC.repeatedFields_=[4,6];eC.prototype.toObject=function(){return n4b(this)};
var n4b=function(a){if(null!=a)return t(a),{description:V(a,1),launchDate:m4b(Z(a,NVa,2)),status:W(a,3,0),approversList:Gb(Ch(a,$o,4),V3b),version:dj(a,5),attributesList:Gb(Ch(a,cC,6),k4b),ownedByMe:Gj(a,7),needBitApprovalFromMe:Gj(a,8),creatorEmail:V(a,9)}};var o4b=function(a){r.call(this,a)};U(o4b,r);f=o4b.prototype;f.getContent=function(){return V(this,1)};f.setContent=function(a){return jj(this,1,a)};f.getAuthorEmail=function(){return V(this,2)};f.getCommentNumber=function(){return Eh(this,4)};f.setCommentNumber=function(a){return wb(this,4,a)};f.getFormattingMode=function(){return W(this,5,0)};f.setFormattingMode=function(a){return Ni(this,5,a)};f.toObject=function(){return p4b(this)};
var p4b=function(a){if(null!=a)return t(a),{content:V(a,1),authorEmail:V(a,2),modifiedTimestamp:dj(a,3),commentNumber:Eh(a,4),formattingMode:W(a,5,0)}};var fC=function(a){r.call(this,a)};U(fC,r);fC.prototype.toObject=function(){return q4b(this)};var q4b=function(a){if(null!=a)return t(a),{startTimeMs:dj(a,1),endTimeMs:dj(a,2),targetTimeMs:dj(a,3)}};var r4b=function(a){r.call(this,a)};U(r4b,r);f=r4b.prototype;f.getAssignmentBounds=function(){return Z(this,fC,1)};f.setAssignmentBounds=function(a){Wi(this,fC,1,a)};f.hasAssignmentBounds=function(){return Aj(this,fC,1)};f.getResponseBounds=function(){return Z(this,fC,2)};f.setResponseBounds=function(a){Wi(this,fC,2,a)};f.hasResponseBounds=function(){return Aj(this,fC,2)};f.getClosureBounds=function(){return Z(this,fC,3)};f.setClosureBounds=function(a){Wi(this,fC,3,a)};
f.hasClosureBounds=function(){return Aj(this,fC,3)};f.toObject=function(){return s4b(this)};var s4b=function(a){if(null!=a)return t(a),{assignmentBounds:q4b(a.getAssignmentBounds()),responseBounds:q4b(a.getResponseBounds()),closureBounds:q4b(a.getClosureBounds())}};var gC=function(a){r.call(this,a)};U(gC,r);gC.prototype.getAccessLevel=function(){return W(this,1,0)};gC.prototype.setAccessLevel=function(a){return Ni(this,1,a)};gC.prototype.toObject=function(){return t4b(this)};var t4b=function(a){if(null!=a)return t(a),{accessLevel:W(a,1,0)}};var u4b=function(a){r.call(this,a)};U(u4b,r);f=u4b.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Ni(this,1,a)};f.getPriority=function(){return W(this,2,0)};f.setPriority=function(a){return Ni(this,2,a)};f.getSeverity=function(){return W(this,3,0)};f.setSeverity=function(a){return Ni(this,3,a)};f.getStatus=function(){return W(this,4,0)};f.setStatus=function(a){return Ni(this,4,a)};f.getSloStatus=function(){return Z(this,r4b,20)};
f.setSloStatus=function(a){Wi(this,r4b,20,a)};f.hasSloStatus=function(){return Aj(this,r4b,20)};f.getIsStarred=function(){return Gj(this,8)};f.getComponentId=function(){return dj(this,11)};f.setComponentId=function(a){return xb(this,11,a)};f.getVersion=function(){return Eh(this,16)};f.setVersion=function(a){return wb(this,16,a)};f.getAssignedToMe=function(){return Gj(this,13)};f.getAccessLimit=function(){return Z(this,gC,21)};f.setAccessLimit=function(a){return Wi(this,gC,21,a)};
f.getBlockingIssueIdsList=function(){return fl(this,22)};f.getCommentsList=function(){return Ch(this,o4b,10)};u4b.repeatedFields_=[7,22,10];u4b.prototype.toObject=function(){return v4b(this)};
var v4b=function(a){if(null!=a)return t(a),{type:W(a,1,0),priority:W(a,2,0),severity:W(a,3,0),status:W(a,4,0),sloStatus:s4b(a.getSloStatus()),reporterEmail:V(a,5),assigneeEmail:V(a,6),verifierEmail:V(a,14),ccEmailsList:p(Gh(a,7)),isStarred:Gj(a,8),lastModifiedByUserEmail:V(a,9),componentId:dj(a,11),canonicalIssueId:dj(a,18),version:Eh(a,16),majorModifiedTimestampMs:dj(a,19),reportedByMe:Gj(a,12),assignedToMe:Gj(a,13),ccIncludesMe:Gj(a,17),bugjugglerInCcList:Gj(a,15),accessLimit:t4b(a.getAccessLimit()),
blockingIssueIdsList:p(fl(a,22)),commentsList:Gb(a.getCommentsList(),p4b),isOwnedByMyTeams:Gj(a,23)}};var hC=function(a){r.call(this,a)};U(hC,r);hC.prototype.getType=function(){return W(this,1,0)};hC.prototype.setType=function(a){return Ni(this,1,a)};hC.prototype.getState=function(){return W(this,5,0)};hC.repeatedFields_=[3];hC.prototype.toObject=function(){return w4b(this)};var w4b=function(a){if(null!=a)return t(a),{type:W(a,1,0),approverEmailsList:p(Gh(a,3)),reasonMessage:V(a,4),state:W(a,5,0)}};var iC=function(a){r.call(this,a)};U(iC,r);iC.prototype.getAuthorEmail=function(){return V(this,3)};iC.prototype.getContent=function(){return V(this,4)};iC.prototype.setContent=function(a){return jj(this,4,a)};iC.prototype.toObject=function(){return x4b(this)};var x4b=function(a){if(null!=a)return t(a),{publishTimestamp:dj(a,2),authorEmail:V(a,3),content:V(a,4),resolved:Gj(a,8)}};var y4b=function(a){r.call(this,a)};U(y4b,r);f=y4b.prototype;f.getAuthorEmail=function(){return V(this,2)};f.getContent=function(){return V(this,3)};f.setContent=function(a){return jj(this,3,a)};f.getRepliesList=function(){return Ch(this,iC,5)};f.getExternalLink=function(){return V(this,6)};y4b.repeatedFields_=[5];y4b.prototype.toObject=function(){return z4b(this)};
var z4b=function(a){if(null!=a)return t(a),{publishTimestamp:dj(a,1),authorEmail:V(a,2),content:V(a,3),resolved:Gj(a,4),repliesList:Gb(a.getRepliesList(),x4b),externalLink:V(a,6)}};var jC=function(a){r.call(this,a)};U(jC,r);f=jC.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return jj(this,1,a)};f.getCategory=function(){return W(this,2,0)};f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Ni(this,3,a)};f.getIsStarred=function(){return Gj(this,4)};f.getReviewerEmailsList=function(){return Gh(this,6)};f.getCommentsList=function(){return Ch(this,y4b,7)};f.getAuthorEmail=function(){return V(this,10)};
f.getNeedsAttention=function(){return Gj(this,12)};f.getChangeSize=function(){return W(this,18,0)};jC.repeatedFields_=[5,6,7,11,17,13,14];jC.prototype.toObject=function(){return A4b(this)};
var A4b=function(a){if(null!=a)return t(a),{description:V(a,1),descriptionUsesMarkdown:Gj(a,16),category:W(a,2,0),status:W(a,3,0),isStarred:Gj(a,4),approvalStatesList:Gb(Ch(a,hC,5),w4b),reviewerEmailsList:p(Gh(a,6)),commentsList:Gb(a.getCommentsList(),z4b),externalLinkToCider:V(a,8),needsAttentionFromReviewer:Gj(a,9),authorEmail:V(a,10),isAuthorFromMyTeams:Gj(a,19),ccEmailsList:p(Gh(a,11)),needsAttention:Gj(a,12),attentionSetUsersList:p(Gh(a,17)),bugsList:p(Gh(a,13)),fixedBugsList:p(Gh(a,14)),workspaceName:V(a,
15),changeSize:W(a,18,0)}};var B4b=function(a){r.call(this,a)};U(B4b,r);f=B4b.prototype;f.getContent=function(){return V(this,3)};f.setContent=function(a){return jj(this,3,a)};f.getExternalLink=function(){return V(this,4)};f.getAction=function(){return W(this,6,0)};f.toObject=function(){return C4b(this)};var C4b=function(a){if(null!=a)return t(a),{authorDisplayName:V(a,1),authorPhotoLink:V(a,2),content:V(a,3),externalLink:V(a,4),modifiedTimestamp:dj(a,5),action:W(a,6,0)}};var D4b=function(a){r.call(this,a)};U(D4b,r);f=D4b.prototype;f.getCommentId=function(){return V(this,1)};f.getAssignedToMe=function(){return Gj(this,2)};f.getContent=function(){return V(this,8)};f.setContent=function(a){return jj(this,8,a)};f.getExternalLink=function(){return V(this,12)};f.getRepliesList=function(){return Ch(this,B4b,14)};f.getDueDate=function(){return Z(this,wh,18)};D4b.repeatedFields_=[14];D4b.prototype.toObject=function(){return E4b(this)};
var E4b=function(a){if(null!=a)return t(a),{commentId:V(a,1),assignedToMe:Gj(a,2),mentioningMe:Gj(a,3),isSuggestion:Gj(a,4),commentStatus:W(a,5,0),authorDisplayName:V(a,6),authorPhotoLink:V(a,7),content:V(a,8),prependQuotedContent:V(a,9),quotedContent:V(a,10),appendQuotedContent:V(a,11),externalLink:V(a,12),modifiedTimestamp:dj(a,13),repliesList:Gb(a.getRepliesList(),C4b),isDocwrapComment:Gj(a,15),assignedToMeTimestampMs:dj(a,16),mentioningMeTimestampMs:dj(a,17),dueDate:aC(a.getDueDate())}};var kC=function(a){r.call(this,a)};U(kC,r);f=kC.prototype;f.getCreatedTimestamp=function(){return dj(this,1)};f.getOwnedByMe=function(){return Gj(this,3)};f.setOwnedByMe=function(a){return vb(this,3,a)};f.getSharedToMe=function(){return Gj(this,14)};f.getMimeType=function(){return V(this,15)};f.setMimeType=function(a){jj(this,15,a)};f.getCommentsList=function(){return Ch(this,D4b,6)};f.getIsStarred=function(){return Gj(this,9)};kC.repeatedFields_=[17,6];kC.prototype.toObject=function(){return F4b(this)};
var F4b=function(a){if(null!=a)return t(a),{createdTimestamp:dj(a,1),createdByMe:Gj(a,2),ownedByMe:Gj(a,3),recentlySharedWithMe:Gj(a,8),sharedWithMeTimestamp:dj(a,4),sharedToMe:Gj(a,14),sharedToMyGroups:Gj(a,18),sharedToMyTeamDrive:Gj(a,19),actionItemsChecksum:V(a,5),mimeType:V(a,15),teamDriveId:V(a,16),parentIdsList:p(Gh(a,17)),openCommentsCount:Eh(a,21),commentsAssignedToMeCount:Eh(a,22),commentsMentioningMeCount:Eh(a,23),suggestionsCount:Eh(a,24),isDocwrapIncoming:Gj(a,25),isDocwrapOutgoing:Gj(a,
26),commentsList:Gb(a.getCommentsList(),E4b),lastCommentedTimestamp:dj(a,7),lastCommentedByGaiaId:dj(a,20),isStarred:Gj(a,9),ownerEmail:V(a,10),creatorEmail:V(a,11),lastModifiedByUserEmail:V(a,12),lastCommentedByUserDisplayName:V(a,13)}};var G4b=function(a){r.call(this,a)};U(G4b,r);G4b.prototype.getTitle=function(){return V(this,2)};G4b.prototype.setTitle=function(a){return jj(this,2,a)};G4b.prototype.toObject=function(){return H4b(this)};var H4b=function(a){if(null!=a)return t(a),{gtaskId:V(a,1),title:V(a,2),isCompleted:Gj(a,3),details:V(a,4),dueDateTimestamp:dj(a,5)}};var I4b=function(a){r.call(this,a)};U(I4b,r);f=I4b.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return jj(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return jj(this,2,a)};f.toObject=function(){return J4b(this)};var J4b=function(a){if(null!=a)return t(a),{id:V(a,1),title:V(a,2)}};var K4b=function(a){r.call(this,a)};U(K4b,r);K4b.prototype.getTaskList=function(){return Z(this,I4b,8)};K4b.repeatedFields_=[5];var L4b=[9,10];K4b.prototype.toObject=function(){return M4b(this)};var M4b=function(a){if(null!=a)return t(a),{isCompleted:Gj(a,4),details:V(a,1),dueDateTimestamp:dj(a,2),emailLink:V(a,3),subtasksList:Gb(Ch(a,G4b,5),H4b),isNewTask:Gj(a,7),taskList:J4b(a.getTaskList()),sourceGroup:gOb(Pj(a,fOb,9,L4b)),sourceDocument:eOb(Pj(a,dOb,10,L4b))}};var lC=function(a){r.call(this,a)};U(lC,r);lC.prototype.getParentId=function(){return dj(this,11)};lC.prototype.setParentId=function(a){return xb(this,11,a)};lC.prototype.toObject=function(){return N4b(this)};var N4b=function(a){if(null!=a)return t(a),{membershipId:dj(a,1),childId:dj(a,10),childName:V(a,2),childEmail:V(a,3),parentId:dj(a,11),parentName:V(a,4),parentEmail:V(a,5),createTimeMs:dj(a,6),expireTimeMs:dj(a,7),membershipType:W(a,8,0),getEmail:Gj(a,9)}};var O4b=function(a){r.call(this,a)};U(O4b,r);O4b.prototype.getMembership=function(){return Pj(this,lC,1,P4b)};var P4b=[1];O4b.prototype.toObject=function(){return Q4b(this)};var Q4b=function(a){if(null!=a)return t(a),{membership:N4b(a.getMembership())}};var R4b=function(a){r.call(this,a)};U(R4b,r);R4b.prototype.getState=function(){return W(this,1,0)};R4b.prototype.toObject=function(){return S4b(this)};var S4b=function(a){if(null!=a)return t(a),{state:W(a,1,0),updaterId:dj(a,2),updaterName:V(a,3),updaterEmail:V(a,4),updateTimeMs:dj(a,5),updateReason:V(a,6)}};var mC=function(a){r.call(this,a)};U(mC,r);mC.prototype.getOriginal=function(){return Z(this,O4b,2)};mC.prototype.getState=function(){return W(this,6,0)};mC.repeatedFields_=[7];mC.prototype.toObject=function(){return T4b(this)};var T4b=function(a){if(null!=a)return t(a),{upsert:Q4b(Z(a,O4b,1)),original:Q4b(a.getOriginal()),changeType:W(a,3,0),createTimeMs:dj(a,4),state:W(a,6,0),proposalUpdatesList:Gb(Ch(a,R4b,7),S4b)}};var U4b=function(a){r.call(this,a)};U(U4b,r);U4b.prototype.getResourceCase=function(){return Ai(this,V4b)};U4b.prototype.getMembership=function(){return Pj(this,lC,2,V4b)};var V4b=[1,2];U4b.prototype.toObject=function(){return W4b(this)};var W4b=function(a){if(null!=a)return t(a),{proposal:T4b(Pj(a,mC,1,V4b)),membership:N4b(a.getMembership())}};var X4b=function(a){r.call(this,a)};U(X4b,r);f=X4b.prototype;f.getCommentId=function(){return V(this,1)};f.getMessage=function(){return V(this,2)};f.setMessage=function(a){jj(this,2,a)};f.getAuthorEmail=function(){return V(this,3)};f.toObject=function(){return Y4b(this)};var Y4b=function(a){if(null!=a)return t(a),{commentId:V(a,1),message:V(a,2),authorEmail:V(a,3),updatedTimeMs:dj(a,4),unresolved:Gj(a,5),inReplyTo:V(a,6)}};var Z4b=function(a){r.call(this,a)};U(Z4b,r);Z4b.prototype.getValue=function(){return Eh(this,1)};Z4b.prototype.setValue=function(a){return wb(this,1,a)};Z4b.prototype.toObject=function(){return $4b(this)};var $4b=function(a){if(null!=a)return t(a),{value:Eh(a,1),voterEmail:V(a,2)}};var a5b=function(a){r.call(this,a)};U(a5b,r);a5b.repeatedFields_=[2];a5b.prototype.toObject=function(){return b5b(this)};var b5b=function(a){if(null!=a)return t(a),{labelName:V(a,1),votesList:Gb(Ch(a,Z4b,2),$4b),minVoteValue:Eh(a,3),maxVoteValue:Eh(a,4)}};var c5b=function(a){r.call(this,a)};U(c5b,r);f=c5b.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return jj(this,1,a)};f.getCategory=function(){return W(this,15,0)};f.getReviewerEmailsList=function(){return Gh(this,6)};f.getNeedsAttention=function(){return Gj(this,18)};f.setHost=function(a){return jj(this,8,a)};f.getProject=function(){return V(this,9)};f.setProject=function(a){jj(this,9,a)};f.getChangeSize=function(){return W(this,11,0)};
f.getIsStarred=function(){return Gj(this,13)};f.getCommentsList=function(){return Ch(this,X4b,14)};c5b.repeatedFields_=[3,6,7,17,12,14];c5b.prototype.toObject=function(){return d5b(this)};
var d5b=function(a){if(null!=a)return t(a),{description:V(a,1),category:W(a,15,0),ownerEmail:V(a,2),statusesList:p(Qk(a,3)),submittable:Gj(a,4),assigneeEmail:V(a,5),reviewerEmailsList:p(Gh(a,6)),ccEmailsList:p(Gh(a,7)),attentionSetEmailsList:p(Gh(a,17)),needsAttention:Gj(a,18),host:V(a,8),project:V(a,9),branch:V(a,10),changeSize:W(a,11,0),labelApprovalStatesList:Gb(Ch(a,a5b,12),b5b),isStarred:Gj(a,13),commentsList:Gb(a.getCommentsList(),Y4b),hostRepoBranchLink:V(a,16)}};var e5b=function(a){r.call(this,a)};U(e5b,r);e5b.prototype.getDescription=function(){return V(this,3)};e5b.prototype.setDescription=function(a){return jj(this,3,a)};e5b.prototype.toObject=function(){return f5b(this)};var f5b=function(a){if(null!=a)return t(a),{eventLogTimestamp:wt(Z(a,yh,1)),updaterEmail:V(a,2),description:V(a,3)}};var g5b=function(a){r.call(this,a)};U(g5b,r);g5b.prototype.getEntriesList=function(){return Ch(this,e5b,1)};g5b.repeatedFields_=[1];g5b.prototype.toObject=function(){return h5b(this)};var h5b=function(a){if(null!=a)return t(a),{entriesList:Gb(a.getEntriesList(),f5b)}};var i5b=function(a){r.call(this,a)};U(i5b,r);f=i5b.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return jj(this,1,a)};f.getStatus=function(){return W(this,2,0)};f.setStatus=function(a){return Ni(this,2,a)};f.getPriority=function(){return W(this,3,0)};f.setPriority=function(a){return Ni(this,3,a)};f.getAssignedToMe=function(){return Gj(this,10)};f.getDueDate=function(){return Z(this,wh,13)};i5b.repeatedFields_=[6];i5b.prototype.toObject=function(){return j5b(this)};
var j5b=function(a){if(null!=a)return t(a),{description:V(a,1),status:W(a,2,0),priority:W(a,3,0),assigneeEmail:V(a,4),requesterEmail:V(a,5),ccEmailsList:p(Gh(a,6)),ticketType:V(a,7),worklog:h5b(Z(a,g5b,8)),requestedByMe:Gj(a,9),assignedToMe:Gj(a,10),myApprovalNeeded:Gj(a,11),ccIncludesMe:Gj(a,12),dueDate:aC(a.getDueDate())}};var k5b=function(a){r.call(this,a)};U(k5b,r);f=k5b.prototype;f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Ni(this,3,a)};f.getPriority=function(){return W(this,4,0)};f.setPriority=function(a){return Ni(this,4,a)};f.getDescription=function(){return V(this,10)};f.setDescription=function(a){return jj(this,10,a)};k5b.repeatedFields_=[7,8,11];k5b.prototype.toObject=function(){return l5b(this)};
var l5b=function(a){if(null!=a)return t(a),{productName:V(a,1),productLink:V(a,2),status:W(a,3,0),priority:W(a,4,0),resolveDeadline:wt(Z(a,yh,5)),creatorEmail:V(a,6),productEmailsList:p(Gh(a,7)),privacyEmailsList:p(Gh(a,8)),autoCreated:Gj(a,9),description:V(a,10),descriptionUsesMarkdown:Gj(a,13),participantEmailsList:p(Gh(a,11)),bugId:dj(a,12)}};var nC=function(a){r.call(this,a)};U(nC,r);nC.prototype.getResourceCase=function(){return Ai(this,m5b)};nC.prototype.getNeedsAttention=function(){return Gj(this,5)};nC.repeatedFields_=[2];var m5b=[101];nC.prototype.toObject=function(){return n5b(this)};var n5b=function(a){if(null!=a)return t(a),{ownerEmail:V(a,1),attentionSetList:p(Gh(a,2)),taskStatus:W(a,3,0),referenceName:V(a,4),needsAttention:Gj(a,5),trackable:l5b(Pj(a,k5b,101,m5b))}};var oC=function(a){r.call(this,a)};U(oC,r);f=oC.prototype;f.getResourceCase=function(){return Ai(this,Js)};f.getResourceId=function(){return V(this,17)};f.setResourceId=function(a){jj(this,17,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return jj(this,2,a)};f.getLastModifiedTimestamp=function(){return dj(this,3)};f.getIconName=function(){return V(this,10)};f.getExternalLink=function(){return V(this,16)};f.getIsDeleted=function(){return Gj(this,19)};
f.setIsDeleted=function(a){vb(this,19,a)};var bp=function(a){return Pj(a,kC,5,Js)},ap=function(a){return Pj(a,u4b,6,Js)},Wo=function(a){return Pj(a,jC,8,Js)},Zo=function(a){return Pj(a,eC,9,Js)},Js=[5,6,7,8,9,18,22,23,24];oC.prototype.toObject=function(){return o5b(this)};
var o5b=function(a){if(null!=a)return t(a),{resourceId:V(a,17),taskSource:V(a,1),title:V(a,2),lastModifiedTimestamp:dj(a,3),fingerprint:V(a,4),iconName:V(a,10),itemTypeName:V(a,11),statusDescription:V(a,12),latestAction:V(a,13),latestActionTimestamp:dj(a,14),latestActionByUserEmail:V(a,20),hasDetails:Gj(a,15),externalLink:V(a,16),isDeleted:Gj(a,19),driveResource:F4b(bp(a)),buganizerResource:v4b(ap(a)),gtasksResource:M4b(Pj(a,K4b,7,Js)),critiqueResource:A4b(Wo(a)),arianeResource:n4b(Zo(a)),gerritResource:d5b(Pj(a,
c5b,18,Js)),ganpatiResource:W4b(Pj(a,U4b,22,Js)),gutsResource:j5b(Pj(a,i5b,23,Js)),privacyResource:n5b(Pj(a,nC,24,Js))}};var p5b=function(a){r.call(this,a)};U(p5b,r);f=p5b.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return jj(this,1,a)};f.getContent=function(){return V(this,2)};f.setContent=function(a){return jj(this,2,a)};f.toObject=function(){return q5b(this)};var q5b=function(a){if(null!=a)return t(a),{name:V(a,1),content:V(a,2)}};var pC=function(a){r.call(this,a)};U(pC,r);f=pC.prototype;f.getTaskId=function(){return V(this,1)};f.getResource=function(){return Z(this,oC,6)};f.setResource=function(a){return Wi(this,oC,6,a)};f.getNote=function(){return Z(this,p5b,22)};f.hasNote=function(){return Aj(this,p5b,22)};f.getCreatedTimestamp=function(){return dj(this,7)};f.getUpdatedTimestamp=function(){return dj(this,8)};f.toObject=function(){return r5b(this)};
var r5b=function(a){if(null!=a)return t(a),{taskId:V(a,1),gaiaId:dj(a,2),taskStatus:W(a,3,0),naturallyCompleted:Gj(a,4),hasNoActionItems:Gj(a,24),naturallyCompletedDescription:V(a,11),priorityOrder:ej(a,5),priorityOrderReservedUpper:ej(a,9),priorityOrderResetTimestampMs:dj(a,16),currentStatusSince:dj(a,10),currentStatusAutoUpdated:Gj(a,17),resource:o5b(a.getResource()),snoozeUntilMs:dj(a,12),autoUnsnoozeOnUpdate:Gj(a,18),prevStatusState:U3b(Z(a,T3b,13)),note:q5b(a.getNote()),readTimestampMs:dj(a,
15),createdTimestamp:dj(a,7),updatedTimestamp:dj(a,8),manuallyAdded:Gj(a,19),hasNote:Gj(a,20),dueInfo:S3b(Z(a,Q3b,23)),taskStatusRequiresAck:Gj(a,25),taskStatusRequiresAckReason:V(a,26)}};var s5b=function(a){r.call(this,a)};U(s5b,r);s5b.prototype.toObject=function(){return t5b(this)};var t5b=function(a){if(null!=a)return t(a),{autoArchiveInactive:W(a,1,0),launchDateAsDueDate:W(a,2,0)}};var u5b=function(a){r.call(this,a)};U(u5b,r);u5b.prototype.toObject=function(){return v5b(this)};var v5b=function(a){if(null!=a)return t(a),{autoArchiveClosed:W(a,1,0),sloAsDueDate:W(a,2,0)}};var w5b=function(a){r.call(this,a)};U(w5b,r);w5b.prototype.toObject=function(){return x5b(this)};var x5b=function(a){if(null!=a)return t(a),{autoArchiveSubmitted:W(a,1,0),dueAfterReceivingDays:dj(a,2),dueDateEnabled:W(a,3,0)}};var y5b=function(a){r.call(this,a)};U(y5b,r);y5b.prototype.toObject=function(){return z5b(this)};var z5b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,2,0),autoArchiveSelfOwnedAllResolved:W(a,3,0),autoArchiveOthersOwnedAllResolved:W(a,4,0),dueAfterMentionReceivingDays:dj(a,5),dueAfterAssignmentReceivingDays:dj(a,6),mentionDueDateEnabled:W(a,7,0),assignmentDueDateEnabled:W(a,8,0),dueAfterReceivingDays:dj(a,9),dueDateEnabled:W(a,10,0)}};var A5b=function(a){r.call(this,a)};U(A5b,r);A5b.prototype.toObject=function(){return B5b(this)};var B5b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,1,0),unsnoozedTasks:W(a,2,0)}};var C5b=function(a){r.call(this,a)};U(C5b,r);C5b.repeatedFields_=[4];C5b.prototype.toObject=function(){return D5b(this)};var D5b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,1,0),autoArchiveCompleted:W(a,2,0),completeOnArchiveOrMute:W(a,3,0),gtaskTaskListIdsList:p(Gh(a,4))}};var E5b=function(a){r.call(this,a)};U(E5b,r);E5b.prototype.toObject=function(){return F5b(this)};var F5b=function(a){if(null!=a)return t(a),{expirationAsDue:W(a,4,0),autoArchiveResolved:W(a,3,0)}};var G5b=function(a){r.call(this,a)};U(G5b,r);G5b.repeatedFields_=[1];G5b.prototype.toObject=function(){return H5b(this)};var H5b=function(a){if(null!=a)return t(a),{gerritHostsList:p(Gh(a,1)),autoArchiveSubmitted:W(a,2,0),invitationUserAction:W(a,3,0),dueAfterReceivingDays:dj(a,4),dueDateEnabled:W(a,5,0)}};var I5b=function(a){r.call(this,a)};U(I5b,r);I5b.prototype.toObject=function(){return J5b(this)};var J5b=function(a){if(null!=a)return t(a),{invitationUserAction:W(a,1,0),autoArchiveClosed:W(a,2,0),dueDateEnabled:W(a,3,0)}};var K5b=function(a){r.call(this,a)};U(K5b,r);K5b.prototype.toObject=function(){return L5b(this)};var L5b=function(a){if(null!=a)return t(a),{orderingOption:W(a,1,0),pinOverdueTasks:W(a,2,0),pinTasksDueInFiveDays:W(a,3,0)}};var M5b=function(a){r.call(this,a)};U(M5b,r);M5b.prototype.toObject=function(){return N5b(this)};var N5b=function(a){if(null!=a)return t(a),{autoArchiveClosed:W(a,1,0),trackableDueDateEnabled:W(a,2,0)}};var O5b=function(a){r.call(this,a)};U(O5b,r);O5b.prototype.toObject=function(){return P5b(this)};var P5b=function(a){if(null!=a)return t(a),{filterEnabled:Gj(a,1),arianeLaunches:W(a,2,0),arianeReviews:W(a,3,0)}};var Q5b=function(a){r.call(this,a)};U(Q5b,r);Q5b.prototype.getAssignedToMe=function(){return Gj(this,2)};Q5b.prototype.toObject=function(){return R5b(this)};var R5b=function(a){if(null!=a)return t(a),{filterEnabled:Gj(a,1),assignedToMe:Gj(a,2),reportedByMe:Gj(a,3),ccIncludesMe:Gj(a,6),bugjugglerInCcList:W(a,4,0),other:W(a,5,0)}};var S5b=function(a){r.call(this,a)};U(S5b,r);S5b.prototype.toObject=function(){return T5b(this)};var T5b=function(a){if(null!=a)return t(a),{filterEnabled:Gj(a,1),outgoingReviews:Gj(a,2),incomingReviews:Gj(a,3),ccedReviews:Gj(a,4),inAttentionSet:W(a,5,0),inPending:W(a,7,0),other:W(a,6,0)}};var U5b=function(a){r.call(this,a)};U(U5b,r);U5b.prototype.getSharedToMe=function(){return W(this,12,0)};U5b.prototype.toObject=function(){return V5b(this)};
var V5b=function(a){if(null!=a)return t(a),{filterEnabled:Gj(a,1),includeDocs:Gj(a,2),includeSlides:Gj(a,3),includeSheets:Gj(a,4),includeOtherTypes:Gj(a,5),commentsWithMentions:Gj(a,6),commentsWithAssignments:Gj(a,7),commentsWithSuggestions:Gj(a,8),filterBySharingAge:Gj(a,9),maxSharingAgeInDays:Eh(a,10),openComments:Gj(a,11),sharedToMe:W(a,12,0),sharedToMyGroups:W(a,13,0),sharedToMyTeamDrive:W(a,14,0),other:W(a,15,0),incomingDesignReview:W(a,16,0),outgoingDesignReview:W(a,17,0)}};var W5b=function(a){r.call(this,a)};U(W5b,r);W5b.prototype.toObject=function(){return X5b(this)};var X5b=function(a){if(null!=a)return t(a),{filterEnabled:Gj(a,1)}};var Y5b=function(a){r.call(this,a)};U(Y5b,r);Y5b.prototype.toObject=function(){return Z5b(this)};var Z5b=function(a){if(null!=a)return t(a),{filterEnabled:W(a,1,0)}};var $5b=function(a){r.call(this,a)};U($5b,r);$5b.prototype.toObject=function(){return a6b(this)};var a6b=function(a){if(null!=a)return t(a),{filterEnabled:Gj(a,1),outgoingReviews:W(a,2,0),incomingReviews:W(a,3,0),ccedReviews:W(a,4,0),inAttentionSet:W(a,5,0),other:W(a,6,0)}};var b6b=function(a){r.call(this,a)};U(b6b,r);b6b.prototype.toObject=function(){return c6b(this)};var c6b=function(a){if(null!=a)return t(a),{filterEnabled:W(a,1,0)}};var d6b=function(a){r.call(this,a)};U(d6b,r);d6b.prototype.toObject=function(){return e6b(this)};var e6b=function(a){if(null!=a)return t(a),{filterEnabled:W(a,1,0),inAttentionSet:W(a,2,0),other:W(a,3,0)}};var qC=function(a){r.call(this,a)};U(qC,r);qC.prototype.toObject=function(){return rC(this)};var rC=function(a){if(null!=a)return t(a),{critiqueFilter:T5b(Z(a,S5b,1)),driveFilter:V5b(Z(a,U5b,2)),buganizerFilter:R5b(Z(a,Q5b,3)),arianeFilter:P5b(Z(a,O5b,4)),gtasksFilter:X5b(Z(a,W5b,5)),gerritFilter:a6b(Z(a,$5b,7)),ganpatiFilter:Z5b(Z(a,Y5b,8)),gutsFilter:c6b(Z(a,b6b,10)),privacyFilter:e6b(Z(a,d6b,11)),taskAgeInDays:Eh(a,6),showPrivateNoteOnly:W(a,9,0)}};var f6b=function(a){r.call(this,a)};U(f6b,r);f6b.prototype.toObject=function(){return g6b(this)};
var g6b=function(a){if(null!=a){t(a);var b=V(a,1),c=t5b(Z(a,s5b,15)),d=v5b(Z(a,u5b,16)),e=x5b(Z(a,w5b,17)),g=z5b(Z(a,y5b,3)),h=F5b(Z(a,E5b,27)),l=H5b(Z(a,G5b,23)),q=D5b(Z(a,C5b,4)),x=J5b(Z(a,I5b,29)),A=N5b(Z(a,M5b,32)),B=Gj(a,5),K=Gj(a,6),O=Gj(a,7),P=Gj(a,8),Y=Gj(a,24),X=W(a,28,0),ka=Gj(a,22),ma=Gj(a,9),ya=Gj(a,30),Aa=W(a,31,0),Ma=rC(Z(a,qC,10)),Ra=rC(Z(a,qC,11)),Ta=rC(Z(a,qC,12)),Lb=rC(Z(a,qC,13)),qb=rC(Z(a,qC,14)),Ya=V(a,19),wa=dj(a,20),Ka=dj(a,21);var Na=Sj(a,25,K5b);return{mostRecentWorkspaceId:b,
arianeTaskPrefs:c,buganizerTaskPrefs:d,critiqueTaskPrefs:e,driveTaskPrefs:g,ganpatiTaskPrefs:h,gerritTaskPrefs:l,gtasksTaskPrefs:q,gutsTaskPrefs:x,privacyTaskPrefs:A,arianeEnabled:B,buganizerEnabled:K,critiqueEnabled:O,driveEnabled:P,ganpatiEnabledDeprecated:Y,ganpatiEnabled:X,gerritEnabled:ka,gtasksEnabled:ma,gutsEnabled:ya,privacyEnabled:Aa,pinnedTaskFilter:Ma,inboxFilter:Ra,snoozedTaskFilter:Ta,completedTaskFilter:Lb,dismissedTaskFilter:qb,viewedLaunchVersion:Ya,hiringChipDismissedTimestampMs:wa,
latestVisitTimestampMs:Ka,taskOrderingPrefsMap:Ib(Na,L5b),g3NotificationsPrefs:B5b(Z(a,A5b,26))}}};var sC=function(a){r.call(this,a)};U(sC,r);sC.prototype.getCreatedTimestamp=function(){return dj(this,3)};sC.prototype.getUpdatedTimestamp=function(){return dj(this,4)};var h6b=[2];sC.prototype.toObject=function(){return i6b(this)};var i6b=function(a){if(null!=a)return t(a),{prefsId:V(a,1),taskManagementPrefs:g6b(Pj(a,f6b,2,h6b)),initialized:Gj(a,5),createdTimestamp:dj(a,3),updatedTimestamp:dj(a,4)}};var Xi=function(a){r.call(this,a)};U(Xi,r);f=Xi.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return jj(this,1,a)};f.getVersion=function(){return V(this,2)};f.setVersion=function(a){return jj(this,2,a)};f.toObject=function(){return tC(this)};var tC=function(a){if(null!=a)return t(a),{id:V(a,1),version:V(a,2)}};var uC=function(a){r.call(this,a)};U(uC,r);uC.prototype.getName=function(){return V(this,1)};uC.prototype.setName=function(a){return jj(this,1,a)};uC.prototype.toObject=function(){if(null!=this){t(this);var a={name:V(this,1)}}else a=void 0;return a};var vC=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.config=c;this.sessionIndex="0";(0,E.defer)(function(){var e=(new uC).setName("keys/2");return(0,E.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(D(function(e){return(e=Pj(e.getUserPrefs()||new sC,f6b,2,h6b))?12096E5>=Date.now()-dj(e,21):!1}),Le(1))};
vC.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:so([])||"","X-Goog-AuthUser":this.sessionIndex}};vC.\u0275fac=function(a){return new (a||vC)(u(O3b),u(N3b),u(P3b,8))};vC.\u0275prov=mc({token:vC,factory:vC.\u0275fac,providedIn:"root"});var wC=function(){};wC.\u0275fac=function(a){return new (a||wC)};wC.\u0275mod=Dc({type:wC});wC.\u0275inj=nc({imports:[Cz,sz,sz]});var xC=function(){};xC.\u0275fac=function(a){return new (a||xC)};xC.\u0275mod=Dc({type:xC});xC.\u0275inj=nc({imports:[Ey,KA,Hw,OA,wC,$B,rz,LA]});var j6b=function(a){r.call(this,a)};U(j6b,r);j6b.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};var k6b=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};k6b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};k6b.prototype.getMetadata=function(){return this.metadata_};var l6b=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};l6b.prototype.getMetadata=function(){return this.metadata_};l6b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};l6b.prototype.getStatus=function(){return this.status_};var yC=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},m6b=function(a,b,c){c=void 0===c?{}:c;return new k6b(b,a,c)};yC.prototype.getName=function(){return this.name};yC.prototype.getName=yC.prototype.getName;var n6b=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}},o6b=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 zC=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};U(zC,Error);zC.prototype.toString=function(){var a="RpcError("+(o6b(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};zC.prototype.name="RpcError";var p6b=Promise;var AC=function(a){r.call(this,a)};U(AC,r);AC.prototype.getCode=function(){return Eh(this,1)};AC.prototype.setCode=function(a){return wb(this,1,a)};AC.prototype.getMessage=function(){return V(this,2)};AC.prototype.setMessage=function(a){jj(this,2,a)};var q6b=Nb(AC);AC.repeatedFields_=[3];AC.prototype.toObject=function(){return r6b(this)};var r6b=function(a){if(null!=a)return t(a),{code:Eh(a,1),message:V(a,2),detailsList:Gb(Ch(a,bC,3),j4b)}};var BC=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_&&s6b(this)},y6b=function(a,b){wo(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("Hb");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(g){t6b(a,new zC(13,"Error when deserializing response data; error: "+g+(", response: "+c)));return}c=n6b(a.xhr_.getStatus());u6b(a,v6b(a));0==c?w6b(a,d):t6b(a,new zC(c,"Xhr succeeded but the status code is not 200"))}else{d=a.xhr_.getResponseText();var e={};d?(e=x6b(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());u6b(a,v6b(a));t6b(a,new zC(d,c,e))}})},s6b=function(a){a.xhrNodeReadableStream_.on("data",
function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){t6b(a,new zC(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&w6b(a,d)}if("2"in b)for(b=x6b(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){u6b(a,v6b(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=n6b(c);break;default:d=14}u6b(a,v6b(a));b=d1b(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);t6b(a,new zC(d,b))}})},v6b=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},x6b=function(a,b){var c=2,d={};try{var e=q6b(b);c=e.getCode();var g=e.getMessage();
Ch(e,bC,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}};BC.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 z6b=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};BC.prototype.removeListener=function(a,b){"data"==a?z6b(this.onDataCallbacks_,b):"metadata"==a?z6b(this.onMetadataCallbacks_,b):"status"==a?z6b(this.onStatusCallbacks_,b):"end"==a?z6b(this.onEndCallbacks_,b):"error"==a&&z6b(this.onErrorCallbacks_,b);return this};BC.prototype.cancel=function(){this.xhr_.abort()};
var w6b=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},u6b=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},t6b=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};BC.prototype.cancel=BC.prototype.cancel;BC.prototype.removeListener=BC.prototype.removeListener;BC.prototype.on=BC.prototype.on;var CC=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};rs(CC,e1b);CC.prototype.createInstance=function(){var a=new DC(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};CC.prototype.internalGetOptions=OPb({});CC.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
CC.prototype.setCacheMode=function(a){this.cacheMode_=a};var DC=function(a,b){vo.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};
rs(DC,vo);DC.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Ib");this.method_=a;this.url_=b;this.readyState=1;A6b(this)};DC.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Jb");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))};
DC.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,B6b(this));this.readyState=0};
DC.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,A6b(this)),this.inProgress_&&(this.readyState=3,A6b(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("Kb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;C6b(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var C6b=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
DC.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?B6b(this):A6b(this);3==this.readyState&&C6b(this)}};DC.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,B6b(this))};
DC.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,B6b(this))};DC.prototype.handleSendFailure_=function(){this.inProgress_&&B6b(this)};var B6b=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;A6b(a)};f=DC.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 A6b=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(DC.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var D6b=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(ua(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},EC=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(ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Hca(a)},E6b=
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(ua(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}}},F6b=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ua(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=E6b(a),e=EC(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)},G6b=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(ua(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=E6b(a),e=EC(a),g=e.length,h=0;h<g;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Bo=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Bo?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,FC(this,a.scheme_),this.setUserInfo(a.getUserInfo()),this.setDomain(a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),H6b(this,a.queryData_.clone()),I6b(this,a.fragment_)):a&&(c=String(a).match(i1b))?(this.ignoreCase_=!!b,FC(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),this.setDomain(c[3]||
"",!0),this.setPort(c[4]),this.setPath(c[5]||"",!0),H6b(this,c[6]||"",!0),I6b(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new GC(null,this.ignoreCase_))};
Bo.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(J6b(b,K6b,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(J6b(b,K6b,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.getPort(),null!=c&&a.push(":",String(c));if(c=this.getPath())this.hasDomain()&&"/"!=c.charAt(0)&&a.push("/"),a.push(J6b(c,"/"==c.charAt(0)?L6b:M6b,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",J6b(c,
N6b));return a.join("")};
Bo.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?FC(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=a.hasDomain();c?b.setDomain(a.getDomain()):c=a.hasPort();var d=a.getPath();if(c)b.setPort(a.getPort());else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.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=Rh(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?H6b(b,a.queryData_.clone()):c=!!a.fragment_;c&&I6b(b,a.fragment_);return b};Bo.prototype.clone=function(){return new Bo(this)};var FC=function(a,b,c){a.scheme_=c?HC(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};f=Bo.prototype;f.getUserInfo=function(){return this.userInfo_};
f.setUserInfo=function(a,b){this.userInfo_=b?HC(a):a;return this};f.hasUserInfo=function(){return!!this.userInfo_};f.getDomain=function(){return this.domain_};f.setDomain=function(a,b){this.domain_=b?HC(a,!0):a;return this};f.hasDomain=function(){return!!this.domain_};f.getPort=function(){return this.port_};f.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Lb`"+a);this.port_=a}else this.port_=null;return this};f.hasPort=function(){return null!=this.port_};f.getPath=function(){return this.path_};
f.setPath=function(a,b){this.path_=b?HC(a,!0):a;return this};f.hasPath=function(){return!!this.path_};f.hasQuery=function(){return""!==this.queryData_.toString()};var H6b=function(a,b,c){b instanceof GC?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=J6b(b,O6b)),a.queryData_=new GC(b,a.ignoreCase_));return a};Bo.prototype.setQuery=function(a){return H6b(this,a)};Bo.prototype.getQuery=function(){return this.queryData_.toString()};
var IC=function(a,b,c){a.queryData_.set(b,c);return a},JC=function(a,b){return a.queryData_.get(b)},I6b=function(a,b,c){a.fragment_=c?HC(b):b;return a},P6b=function(a){IC(a,"zx",vQb());return a};Bo.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Bo.prototype.isReadOnly=function(){return!1};Bo.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var KC=function(a,b){return a instanceof Bo?a.clone():new Bo(a,b)},Q6b=function(a,b,c,d,e){var g=new Bo(null);a&&FC(g,a);b&&g.setUserInfo(b);c&&g.setDomain(c);d&&g.setPort(d);e&&g.setPath(e);return g},HC=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},J6b=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,R6b),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},R6b=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
K6b=/[#\/\?@]/g,M6b=/[#\?:]/g,L6b=/[#\?]/g,O6b=/[#\?@]/g,N6b=/#/g,GC=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},LC=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&j1b(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};f=GC.prototype;f.getCount=function(){LC(this);return this.count_};
f.add=function(a,b){LC(this);this.encodedQuery_=null;a=MC(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){LC(this);a=MC(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(){LC(this);return 0==this.count_};f.containsKey=function(a){LC(this);a=MC(this,a);return this.keyMap_.has(a)};
f.containsValue=function(a){var b=this.getValues();return qa(b,a)};f.forEach=function(a,b){LC(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.getKeys=function(){LC(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){LC(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(MC(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){LC(this);this.encodedQuery_=null;a=MC(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(MC(this,a),ta(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 GC;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var MC=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};GC.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(LC(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};
GC.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)F6b(arguments[b],function(c,d){this.add(d,c)},this)};var S6b=function(a){var b="";Ob(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},T6b=function(a,b,c){if(Qb(c))return a;c=S6b(c);if("string"===typeof a)return o1b(a,encodeURIComponent(String(b)),c);IC(a,b,c);return a};var $p=function(a){mh.call(this);this.handler_=a;this.keys_={}};rs($p,mh);var U6b=[];$p.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(U6b[0]=b.toString()),b=U6b);for(var e=0;e<b.length;e++){var g=wo(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!g)break;this.keys_[g.key]=g}return this};$p.prototype.listenOnce=function(a,b,c,d){return V6b(this,a,b,c,d)};
var V6b=function(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)V6b(a,b,c[h],d,e,g);else{b=VA(b,c,d||a.handleEvent,e,g||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
$p.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=va(d)?!!d.capture:!!d,e=e||this.handler_||this,c=YZb(c),d=!!d,b=TA(a)?a.getListener(b,c,d,e):a?(a=$Zb(a))?a.getListener(b,c,d,e):null:null,b&&(XA(b),delete this.keys_[b.key]);return this};$p.prototype.removeAll=function(){Ob(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&XA(a)},this);this.keys_={}};
$p.prototype.disposeInternal=function(){$p.superClass_.disposeInternal.call(this);this.removeAll()};$p.prototype.handleEvent=function(){throw Error("Nb");};var W6b=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};W6b.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Ob`"+this.streamPos_+"`"+b+"`"+a);};
W6b.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=LIb(this.leftoverInput_.slice(0,4*a))}catch(c){this.error_(this.leftoverInput_,c.message)}this.streamPos_+=4*a;this.leftoverInput_=this.leftoverInput_.slice(4*a);return b};var ph=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};ph.prototype.getErrorMessage=function(){return this.errorMessage_};ph.prototype.error_=function(a,b,c){this.state_=3;this.errorMessage_="The stream is broken @"+this.streamPos_+"/"+b+". Error: "+c+". With input:\n"+a;throw Error(this.errorMessage_);};ph.prototype.acceptsBinaryInput=function(){return!0};
ph.prototype.parse=function(a){function b(q){q&128&&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("Pb`"+g.state_);}g.streamPos_++;l++}a=
g.result_;g.result_=[];return 0<a.length?a:null};var qh=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new W6b;this.pbParser_=new ph};qh.prototype.getErrorMessage=function(){return this.errorMessage_};qh.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};qh.prototype.acceptsBinaryInput=function(){return!1};
qh.prototype.parse=function(a){null!==this.errorMessage_&&this.error_(a,"stream already broken");var b=null;try{var c=this.base64Decoder_.decode(a);b=null===c?null:this.pbParser_.parse(c)}catch(d){this.error_(a,d.message)}this.streamPos_+=a.length;return b};var NC=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Dpa=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)},X6b={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=Dpa.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(;K<a.length;)if(NC(a[K]))K++,g.pos_++;else break;return K<x}function c(){for(var P;;){P=a[K++];if(!P)break;g.pos_++;switch(g.state_){case q.INIT:"{"===P?g.state_=q.OBJECT_OPEN:"["===P?g.state_=q.ARRAY_OPEN:NC(P)||g.error_(a,K);continue;case q.KEY_START:case q.OBJECT_OPEN:if(NC(P))continue;if(g.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===P){e("{}");g.state_=d();continue}else h.push(q.OBJECT_END);'"'===P?g.state_=q.STRING:g.error_(a,K);continue;case q.KEY_END:case q.OBJECT_END:if(NC(P))continue;
":"===P?(g.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),g.depth_++),g.state_=q.VALUE):"}"===P?(g.depth_--,e(),g.state_=d()):","===P?(g.state_===q.OBJECT_END&&h.push(q.OBJECT_END),g.state_=q.KEY_START):g.error_(a,K);continue;case q.ARRAY_OPEN:case q.VALUE:if(NC(P))continue;if(g.state_===q.ARRAY_OPEN)if(g.depth_++,g.state_=q.VALUE,"]"===P){g.depth_--;if(0===g.depth_){g.state_=q.ARRAY_END;return}e("[]");g.state_=d();continue}else h.push(q.ARRAY_END);'"'===P?g.state_=q.STRING:"{"===P?g.state_=q.OBJECT_OPEN:
"["===P?g.state_=q.ARRAY_OPEN:"t"===P?g.state_=q.TRUE1:"f"===P?g.state_=q.FALSE1:"n"===P?g.state_=q.NULL1:"-"!==P&&(-1!=="0123456789".indexOf(P)?g.state_=q.NUM_DIGIT:g.error_(a,K));continue;case q.ARRAY_END:if(","===P)h.push(q.ARRAY_END),g.state_=q.VALUE,1===g.depth_&&(B=K);else if("]"===P){g.depth_--;if(0===g.depth_)return;e();g.state_=d()}else if(NC(P))continue;else g.error_(a,K);continue;case q.STRING:var Y=K;a:for(;;){for(;0<g.unicodeCount_;)if(P=a[K++],4===g.unicodeCount_?g.unicodeCount_=0:g.unicodeCount_++,
!P)break a;if('"'===P&&!g.slashed_){g.state_=d();break}if("\\"===P&&!g.slashed_&&(g.slashed_=!0,P=a[K++],!P))break;if(g.slashed_)if(g.slashed_=!1,"u"===P&&(g.unicodeCount_=1),P=a[K++])continue;else break;l.lastIndex=K;P=l.exec(a);if(!P){K=a.length+1;break}K=P.index+1;P=a[P.index];if(!P)break}g.pos_+=K-Y;continue;case q.TRUE1:if(!P)continue;"r"===P?g.state_=q.TRUE2:g.error_(a,K);continue;case q.TRUE2:if(!P)continue;"u"===P?g.state_=q.TRUE3:g.error_(a,K);continue;case q.TRUE3:if(!P)continue;"e"===P?
g.state_=d():g.error_(a,K);continue;case q.FALSE1:if(!P)continue;"a"===P?g.state_=q.FALSE2:g.error_(a,K);continue;case q.FALSE2:if(!P)continue;"l"===P?g.state_=q.FALSE3:g.error_(a,K);continue;case q.FALSE3:if(!P)continue;"s"===P?g.state_=q.FALSE4:g.error_(a,K);continue;case q.FALSE4:if(!P)continue;"e"===P?g.state_=d():g.error_(a,K);continue;case q.NULL1:if(!P)continue;"u"===P?g.state_=q.NULL2:g.error_(a,K);continue;case q.NULL2:if(!P)continue;"l"===P?g.state_=q.NULL3:g.error_(a,K);continue;case q.NULL3:if(!P)continue;
"l"===P?g.state_=d():g.error_(a,K);continue;case q.NUM_DECIMAL_POINT:"."===P?g.state_=q.NUM_DIGIT:g.error_(a,K);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(P))continue;else K--,g.pos_--,g.state_=d();continue;default:g.error_(a,K)}}}function d(){var P=h.pop();return null!=P?P:q.VALUE}function e(P){1<g.depth_||(P||(P=-1===B?g.buffer_+a.substring(A,K):a.substring(B,K)),g.deliverMessageAsRawString_?g.result_.push(P):g.result_.push(JSON.parse(P)),B=K)}for(var g=this,h=g.stack_,l=g.stringInputPattern_,
q=X6b,x=a.length,A=0,B=-1,K=0;K<x;)switch(g.streamState_){case 3:return g.error_(a,K),null;case 2:return b()&&g.error_(a,K),null;case 0:if(b()){var O=a[K++];g.pos_++;if("["===O){g.streamState_=1;A=K;g.state_=q.ARRAY_OPEN;continue}else g.error_(a,K)}return null;case 1:return c(),0===g.depth_&&g.state_==q.ARRAY_END?(g.streamState_=2,g.buffer_=a.substring(K)):g.buffer_=-1===B?g.buffer_+a.substring(A):a.substring(B),0<g.result_.length?(O=g.result_,g.result_=[],O):null}return null};var Cpa=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Cpa.prototype.getErrorMessage=function(){return this.errorMessage_};Cpa.prototype.acceptsBinaryInput=function(){return!1};
Cpa.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 Dpa({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var x=0;x<q.length;x++){var A={};A[1]=q[x];g.result_.push(A)}}function e(q){if(q){(g.statusParsed_||1<q.length)&&b("extra status: "+q);g.statusParsed_=!0;var x={};x[2]=q[0];g.result_.push(x)}}for(var g=
this,h=0;h<a.length;){var l;if(l=2!==g.state_){a:{for(;h<a.length;){if(!NC(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 Y6b=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 $p(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};Y6b.prototype.getXhr=function(){return this.xhr_};
var OC=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},Z6b=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};Y6b.prototype.getStatus=function(){return this.status_};
Y6b.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?OC(this,7):7==c?OC(this,8):d||OC(this,3)),this.parser_||(this.parser_=Epa(this.xhr_),
null==this.parser_&&OC(this,5)),2<this.status_)Z6b(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("Qb");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(A){OC(this,
5);Z6b(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var x=this.parser_.parse(l);null!=x&&this.dataHandler_&&this.dataHandler_(x)}catch(A){OC(this,5);Z6b(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?OC(this,2):OC(this,4),Z6b(this)):OC(this,1)}}}catch(A){OC(this,6),Z6b(this)}};var $6b=function(a){this.xhrReader_=a;a=ps(this.onData_,this);this.xhrReader_.dataHandler_=a;a=ps(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};f=$6b.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&&a7b(this,a,b);(b=this.callbackOnceMap_.data)&&a7b(this,a,b);this.callbackOnceMap_.data=[]};
var a7b=function(a,b,c){for(var d={},e=0;e<b.length;d={$jscomp$loop$prop$message$2265:d.$jscomp$loop$prop$message$2265},e++)d.$jscomp$loop$prop$message$2265=b[e],c.forEach(function(g){return function(h){try{h(g.$jscomp$loop$prop$message$2265)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};
$6b.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:b7b(this,"readable");break;case 5:case 6:case 4:case 7:case 3:b7b(this,"error");break;case 8:b7b(this,"close");break;case 2:b7b(this,"end")}};var b7b=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]=[]};$6b.prototype.handleError_=function(){};var PC=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||ro("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||ro("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},e7b=function(a,b,c,d,e){var g=b.substr(0,b.length-e.name.length);return c7b(function(h){return new p6b(function(l,q){var x=
{},A=d7b(a,h,g);A.on("error",function(B){return q(B)});A.on("metadata",function(B){x=B});A.on("data",function(B){var K=x;K=void 0===K?{}:K;l(new l6b(B,h.getMethodDescriptor(),K))})})},a.unaryInterceptors_).call(a,m6b(e,c,d)).then(function(h){return h.responseMessage_})},QC=function(a,b,c,d,e){return e7b(a,b,c,d,e)};
PC.prototype.serverStreaming=function(a,b,c,d){var e=this,g=a.substr(0,a.length-d.name.length);return c7b(function(h){var l=h.getMethodDescriptor(),q=h.getMetadata(),x=f7b(e,!1);q=g7b(e,q,x,g+l.getName());var A=h7b(x,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);x.send(q,"POST",h);return A},this.streamInterceptors_).call(this,m6b(d,b,c))};
var d7b=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),g=f7b(a,!0);a=g7b(a,e,g,c+d.getName());c=h7b(g,d.responseDeserializeFn,!1);y6b(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);g.send(a,"POST",b);return c},f7b=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new tB(new CC({worker:a.workerScope_,streamBinaryChunks:b})):new tB},g7b=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=T6b(d,"$httpHeaders",b);else for(var g in b)c.headers.set(g,b[g]);return d},h7b=function(a,b,c){if(c)if(!ts||10<=Number(xs)){c=new Y6b(a);var d=new $6b(c)}else d=null;return new BC({xhr:a,nodeReadableStream:d},b)},c7b=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(g){return d.intercept(g,
e)}});return c};var i7b=function(a){this.client_=new PC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var j7b=function(a){r.call(this,a)};U(j7b,r);j7b.prototype.getUserPrefs=function(){return Z(this,sC,1)};var k7b=Nb(j7b);j7b.prototype.toObject=function(){if(null!=this){t(this);var a={userPrefs:i6b(this.getUserPrefs())}}else a=void 0;return a};var l7b=new yC("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",uC,j7b,function(a){return a.serialize()},k7b);var RC=function(a){r.call(this,a)};U(RC,r);RC.repeatedFields_=[1];RC.prototype.toObject=function(){return SC(this)};var SC=function(a){if(null!=a)return t(a),{pathsList:p(Gh(a,1))}};var m7b=function(a){this.client_=new PC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};m7b.prototype.getUserPrefs=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},l7b)};var n7b=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},TC=function(a,b,c){var d=this;this._elementRef=a;this._dateAdapter=b;this._dateFormats=c;this.dateChange=new Vv;this.dateInput=new Vv;this.stateChanges=new E.Subject;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=E.Subscription.EMPTY;this._parseValidator=function(){return d._lastValueValid?null:{matDatepickerParse:{text:d._elementRef.nativeElement.value}}};
this._filterValidator=function(e){e=uz(d._dateAdapter,d._dateAdapter.deserialize(e.value));return!e||d._matchesFilter(e)?null:{matDatepickerFilter:!0}};this._minValidator=function(e){e=uz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.min;return!g||!e||0>=vz(d._dateAdapter,g,e)?null:{matDatepickerMin:{min:g,actual:e}}};this._maxValidator=function(e){e=uz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.max;return!g||!e||0<=vz(d._dateAdapter,g,e)?null:
{matDatepickerMax:{max:g,actual:e}}};this._lastValueValid=!1;this._localeSubscription=b.localeChanges.subscribe(function(){d._assignValueProgrammatically(d.value)})};f=TC.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 n7b(b,b._elementRef.nativeElement)),b.dateChange.emit(new n7b(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(AXb(d)&&AXb(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"];xg(a,"altKey")&&40===a.keyCode&&b.every(function(c){return!xg(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=uz(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 n7b(this,this._elementRef.nativeElement)))};f._onChange=function(){this.dateChange.emit(new n7b(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=uz(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};f._matchesFilter=function(a){var b=this._rangeInput.dateFilter;return!b||b(a)};
ch.Object.defineProperties(TC.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=tg(a);var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
TC.\u0275fac=function(a){return new (a||TC)(C(rd),C(tz,8),C(wz,8))};TC.\u0275dir=Gc({type:TC,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Uc]});var o7b=new Nc("MAT_DATE_RANGE_INPUT_PARENT"),UC=function(a,b,c,d,e,g,h,l){TC.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=wc(Ry,{optional:!0})};U(UC,TC);f=UC.prototype;f.ngOnInit=function(){var a=this._injector.get(Sw,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){TC.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){TC.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 Fpa(this._elementRef.nativeElement,!0)};
UC.\u0275fac=function(a){return new (a||UC)(C(o7b),C(rd),C(xz),C(qv),C(Yw,8),C(gx,8),C(tz,8),C(wz,8))};UC.\u0275dir=Gc({type:UC,features:[Ye]});Boa(UC);var p7b={provide:new Nc("mat-datepicker-scroll-strategy"),deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};dh(function(a){this._elementRef=a});var q7b=new Nc("mat-mdc-fab-default-options",{providedIn:"root",factory:Gpa});[].concat(Pc(["disabled","disableRipple","color","tabIndex"]),["extended"]);var VC=function(){};VC.\u0275fac=function(a){return new (a||VC)};VC.\u0275mod=Dc({type:VC});VC.\u0275inj=nc({imports:[sz,Cz,sz]});var WC=function(){};WC.\u0275fac=function(a){return new (a||WC)};WC.\u0275mod=Dc({type:WC});WC.\u0275inj=nc({providers:[Mz,p7b],imports:[Hw,VC,rz,Ey,Hx,sz,dz]});var XC=function(){};XC.\u0275fac=function(a){return new (a||XC)};XC.\u0275mod=Dc({type:XC});XC.\u0275inj=nc({providers:[J3b],imports:[Ey,Hw,rz,sz,sz,dz]});var YC=function(){};YC.\u0275fac=function(a){return new (a||YC)};YC.\u0275mod=Dc({type:YC});YC.\u0275inj=nc({providers:[{provide:O3b,useFactory:function(a){return new m7b(Hpa(a))},deps:[P3b]},{provide:N3b,useFactory:function(a){return new i7b(Hpa(a))},deps:[P3b]},vC],imports:[Hw,xC,wC,WC,pA,$B,BA,SB,XC]});var r7b=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"})};r7b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};r7b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var s7b=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"})};s7b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};s7b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var t7b=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"})};t7b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};t7b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var u7b="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var v7b=function(a){this.servicePromise_=a;a.then(ps(function(){},this),function(){},this)},w7b=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Sb`"+b);return e.apply(d,c)})},y7b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=x7b(a,b).then(function(g){return g.apply(null,d)});return new v7b(e)},z7b={},x7b=function(a,b){var c=z7b[b];if(c)return c;c=(c=ro(b))?N_b(c):(new iB(function(d,e){var g=(new ZA(document)).createElement("SCRIPT");
g.async=!0;sh(g,Cn(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=ro(b);if(!d)throw Error("Tb`"+b+"`"+a);return d});return z7b[b]=c};var A7b=function(a){this.loader_=a};A7b.prototype.startFeedback=function(a){w7b(this.loader_,"startFeedback",arguments)};A7b.prototype.requestSurvey=function(a){w7b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};A7b.prototype.presentSurvey=function(a){w7b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var B7b=Dn("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");x7b(B7b,"help.service.Lazy.create").thenCatch(function(){});var ZC=function(){},$C=function(){};var aD=function(a){r.call(this,a,0,aD.messageId)};U(aD,r);f=aD.prototype;f.getAuthor=function(){return V(this,1)};f.setAuthor=function(a){n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};f.getPending=function(){return Gj(this,3)};f.getTimestamp=function(){return dj(this,4)};f.setTimestamp=function(a){return n(this,4,a)};f.hasTimestamp=function(){return Lk(this,4)};aD.repeatedFields_=[5];
aD.prototype.toObject=function(){if(null!=this){t(this);var a={author:p(m(this,1)),description:p(m(this,2)),pending:p($q(this,3)),timestamp:p(m(this,4)),affectedFilesList:p(Gh(this,5))}}else a=void 0;return a};aD.messageId="b.ChangelistDetailsResponse";var bD=function(a){r.call(this,a)};U(bD,r);bD.prototype.getIssueIdsList=function(){return Fh(this,1)};bD.prototype.setIssueIdsList=function(a){return hj(this,1,a)};bD.prototype.addIssueIds=function(a){sb(this,1,a)};bD.prototype.getAuthorEmail=function(){return V(this,3)};bD.repeatedFields_=[1];bD.prototype.toObject=function(){return C7b(this)};
var C7b=function(a){if(null!=a)return t(a),{issueIdsList:p(Fh(a,1)),changelistStatus:p(ir(a,2)),authorEmail:p(m(a,3)),reviewerEmail:p(m(a,4)),ccEmail:p(m(a,5))}};var D7b=function(a){r.call(this,a,0,D7b.messageId)};U(D7b,r);f=D7b.prototype;f.getQuery=function(){return Z(this,bD,1)};f.setQuery=function(a){return Wi(this,bD,1,a)};f.clearQuery=function(){Hs(this,1)};f.hasQuery=function(){return Aj(this,bD,1)};f.getNextPageToken=function(){return V(this,2)};f.toObject=function(){if(null!=this){t(this);var a={query:C7b(this.getQuery()),nextPageToken:p(m(this,2))}}else a=void 0;return a};D7b.messageId="b.ListChangelistsRequest";var Dh=function(a){r.call(this,a)};U(Dh,r);f=Dh.prototype;f.getAuthor=function(){return V(this,1)};f.setAuthor=function(a){n(this,1,a)};f.getPending=function(){return Gj(this,3)};f.getTimestamp=function(){return Z(this,yh,4)};f.setTimestamp=function(a){return Wi(this,yh,4,a)};f.hasTimestamp=function(){return Aj(this,yh,4)};f.getIssueIdsList=function(){return Fh(this,5)};f.setIssueIdsList=function(a){return hj(this,5,a)};f.addIssueIds=function(a){sb(this,5,a)};Dh.repeatedFields_=[5,6];
Dh.prototype.toObject=function(){return E7b(this)};var E7b=function(a){if(null!=a)return t(a),{author:p(m(a,1)),changelistNumber:p(Ms(a,2)),pending:p($q(a,3)),timestamp:wt(a.getTimestamp()),issueIdsList:p(Fh(a,5)),fixedIssueIdsList:p(Fh(a,6))}};var cD=function(a){r.call(this,a,0,cD.messageId)};U(cD,r);cD.prototype.getNextPageToken=function(){return V(this,2)};cD.repeatedFields_=[1];cD.prototype.toObject=function(){if(null!=this){t(this);var a={changelistsList:Gb(Ch(this,Dh,1),E7b),nextPageToken:p(m(this,2))}}else a=void 0;return a};cD.messageId="b.ListChangelistsResponse";var dD=function(a){r.call(this,a,0,dD.messageId)};U(dD,r);dD.repeatedFields_=[1];dD.prototype.toObject=function(){if(null!=this){t(this);var a={changelistNumbersList:p(Bh(this,1))}}else a=void 0;return a};dD.messageId="b.PendingChangelistsResponse";var eD=function(a){this.executor=a};eD.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:dD}).pipe(D(Spa))};eD.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:aD}).pipe(D(Vpa))};eD.\u0275fac=function(a){return new (a||eD)(u(ZC))};eD.\u0275prov=mc({token:eD,factory:eD.\u0275fac,providedIn:"root"});
var fD=function(a){this.changelistResources=a};fD.prototype.getPendingChangelistsForIssue=function(a){return(0,E.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};fD.prototype.getChangelistDetails=function(a){return(0,E.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};fD.\u0275fac=function(a){return new (a||fD)(u(eD))};fD.\u0275prov=mc({token:fD,factory:fD.\u0275fac,providedIn:"root"});var F7b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},xqa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},zqa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},Xra={0:"ACCESS_LEVEL_UNSPECIFIED",1:"LIMIT_NONE",2:"LIMIT_VIEW",3:"LIMIT_APPEND",4:"LIMIT_VIEW_TRUSTED"},fsa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},
psa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},Lra={0:"OFF",1:"ON"},Mra={OFF:0,ON:1},JFa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},G7b={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},Yqa={0:"UNKNOWN",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},dra={UNKNOWN:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Gra={0:"DAY_TYPE_UNSPECIFIED",
1:"CALENDAR",2:"BUSINESS"},Jra={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Sra={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},dsa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,PII:3,RETENTION:4},Pta={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},cua={COMFORTABLE:1,COZY:2,COMPACT:3},Oza={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},fta={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",
3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},$qa={0:"UNKNOWN",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},era={UNKNOWN:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Dk={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},Uk={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Ota={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},bua={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},pib={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"},Vsa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},H7b={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},Zqa={0:"UNSPECIFIED",1:"INHERIT",2:"DISABLED",
3:"ENABLED"},I7b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},J7b={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},yta={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},bsa={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},Iqa={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},K7b={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},$k={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"},Xta={1:$k.ISSUE_ID,2:$k.COMPONENT_PATH,3:$k.TYPE,4:$k.STATUS,5:$k.PRIORITY,6:$k.SEVERITY,7:$k.REPORTER,8:$k.ASSIGNEE,9:$k.VERIFIER,10:$k.CC,43:$k.COLLABORATOR,11:$k.CHANGELIST,32:$k.POSTMORTEM,12:$k.BLOCKING_ISSUE_ID,13:$k.BLOCKED_BY_ISSUE_ID,14:$k.CREATED_TIME,15:$k.MODIFIED_TIME,16:$k.RESOLVED_TIME,17:$k.VERIFIED_TIME,38:$k.DELETION_TIME,18:$k.TITLE,19:$k.FOUND_IN_VERSION,20:$k.TARGETED_TO_VERSION,21:$k.VERIFIED_IN_VERSION,22:$k.IN_PROD,23:$k.CANONICAL_ISSUE_ID,
24:$k.CUSTOM_FIELD,25:$k.POSITION,26:$k.VOTE_COUNT,27:$k.DUPLICATE_COUNT,28:$k.CC_COUNT,44:$k.COLLABORATOR_COUNT,29:$k.MODIFIED_BY,30:$k.LAST_MODIFIER,31:$k.ARCHIVED,33:$k.MIN_SLO,35:$k.ASSIGNMENT_SLO,36:$k.RESPONSE_SLO,37:$k.CLOSURE_SLO,39:$k.TEAM,40:$k.ESTIMATE,41:$k.ESTIMATE_TOTAL_OPEN,42:$k.ESTIMATE_TOTAL_COMPLETE},kua={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},vsa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,
BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},Tra={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"},Zra={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},oib={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},
L7b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},kta={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},ssa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},qib={0:"OPERATOR_UNSPECIFIED",
1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},HBb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},M7b={PII_SEVERITY_UNSPECIFIED:"PII_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",PII:"PII",SPII:"SPII"},tra={0:"PII_SEVERITY_UNSPECIFIED",1:"NONE_DETECTED",2:"PII",3:"SPII"},Nza={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},N7b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},Ura={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},$ra=
{PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},O7b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},Bta={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},P7b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},Gsa={0:"UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},FFa={REJECTION_REASON_UNSPECIFIED:0,REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},mya={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},Q7b={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},R7b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",
COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Rra={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},csa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},S7b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},ora={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},qra={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,
CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},Vra={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},asa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},T7b={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"},Yta={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",
3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},mua={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,REPLIED_TO_MENTION:6,NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},jib={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"},GBb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Fra={0:"METRIC_UNSPECIFIED",1:"ASSIGNMENT",2:"RESPONSE",
3:"CLOSURE"},Ira={METRIC_UNSPECIFIED:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},Wra={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},esa={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},Usa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},yra={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Sqa={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"},Uqa={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},Njb={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},U7b={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"},bj={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"},gj={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},Hsa={0:"ACTIVE",1:"DELETED",2:"PURGED"},Gta={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},dya={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"},fya={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},sib={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},IFa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},V7b={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},EFa={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},Eqa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Fqa={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},Ojb={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},lib=
{0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},W7b={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var bqa=Object.prototype.hasOwnProperty;var Wh=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};
Wh.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};Wh.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 tqa={UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3};var zi=function(a){r.call(this,a,0,zi.messageId)};U(zi,r);f=zi.prototype;f.getCustomFieldId=function(){return dj(this,ko(this,gD,1))};f.setCustomFieldId=function(a){return Xn(this,1,gD,a)};f.hasCustomFieldId=function(){return null!=Ys(this,1,gD)};f.getStandardField=function(){return W(this,ko(this,gD,2),0)};f.setStandardField=function(a){Xn(this,2,gD,a)};var gD=[1,2];zi.prototype.toObject=function(){return X7b(this)};
var X7b=function(a){if(null!=a)return t(a),{customFieldId:p(Ys(a,1,gD)),standardField:p(Zs(a,2,gD))}};zi.messageId="b.FieldId";var hD=function(a){r.call(this,a,0,hD.messageId)};U(hD,r);f=hD.prototype;f.getFieldId=function(){return Z(this,zi,1)};f.setFieldId=function(a){Wi(this,zi,1,a)};f.getStateOnIssues=function(){return W(this,2,0)};f.setStateOnIssues=function(a){n(this,2,a)};f.getEnabledOnIssues=function(){return Gj(this,3)};f.setEnabledOnIssues=function(a){Ij(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={fieldId:X7b(this.getFieldId()),stateOnIssues:p(ir(this,2)),enabledOnIssues:p($q(this,3))}}else a=void 0;return a};hD.messageId="b.FieldConfig";var Vh=function(){this.required=!1;this.allowedValue=null;this.stateOnIssues=1;this.shared=!1;this.type="TEXT";this.fieldSignificance="MINOR"};Vh.prototype.isDate=function(){return"DATE"===this.type};Vh.prototype.isText=function(){return"TEXT"===this.type};Vh.prototype.isNumeric=function(){return"NUMERIC"===this.type};Vh.prototype.isRepeated=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var NBb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),Y7b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var Yh=function(a){r.call(this,a,0,Yh.messageId)};U(Yh,r);Yh.prototype.getAccessLevel=function(){return W(this,1,0)};Yh.prototype.setAccessLevel=function(a){return n(this,1,a)};Yh.prototype.toObject=function(){return Z7b(this)};var Z7b=function(a){if(null!=a)return t(a),{accessLevel:p(ir(a,1))}};Yh.messageId="b.AccessLimit";var Ti=function(a){r.call(this,a)};U(Ti,r);f=Ti.prototype;f.getEmailAddress=function(){return V(this,1)};f.setEmailAddress=function(a){jj(this,1,a)};f.getObfuscatedEmailAddress=function(){return V(this,2)};f.setObfuscatedEmailAddress=function(a){jj(this,2,a)};f.getUserGaiaStatus=function(){return W(this,3,0)};f.setUserGaiaStatus=function(a){Ni(this,3,a)};f.getAliasesList=function(){return Gh(this,4)};f.setAliasesList=function(a){Di(this,4,a)};Ti.repeatedFields_=[4];Ti.prototype.toObject=function(){return iD(this)};
var iD=function(a){if(null!=a)return t(a),{emailAddress:V(a,1),obfuscatedEmailAddress:V(a,2),userGaiaStatus:W(a,3,0),aliasesList:p(Gh(a,4))}};var ei=function(a){r.call(this,a)};U(ei,r);f=ei.prototype;f.getEmailAddress=function(){return V(this,1)};f.setEmailAddress=function(a){n(this,1,a)};f.getObfuscatedEmailAddress=function(){return V(this,2)};f.setObfuscatedEmailAddress=function(a){n(this,2,a)};f.getUserGaiaStatus=function(){return W(this,3,0)};f.setUserGaiaStatus=function(a){n(this,3,a)};f.getAliasesList=function(){return Gh(this,4)};f.setAliasesList=function(a){Di(this,4,a)};ei.repeatedFields_=[4];ei.prototype.toObject=function(){return jD(this)};
var jD=function(a){if(null!=a)return t(a),{emailAddress:p(m(a,1)),obfuscatedEmailAddress:p(m(a,2)),userGaiaStatus:p(ir(a,3)),aliasesList:p(Gh(a,4))}};var oi=function(a){r.call(this,a)};U(oi,r);f=oi.prototype;f.getUser=function(){return Pj(this,ei,1,kD)};f.setUser=function(a){eo(this,1,kD,a)};f.hasUser=function(){return Nj(this,ei,1,kD)};f.getGroup=function(){return Pj(this,ei,2,kD)};f.setGroup=function(a){eo(this,2,kD,a)};f.getAlias=function(){return Vs(this,3,kD)};f.setAlias=function(a){Xn(this,3,kD,a)};var kD=[1,2,3];oi.prototype.toObject=function(){return lD(this)};
var lD=function(a){if(null!=a)return t(a),{user:jD(a.getUser()),group:jD(a.getGroup()),alias:p(mo(a,3,kD))}};var mD=function(a){r.call(this,a,0,mD.messageId)};U(mD,r);f=mD.prototype;f.getAdminsList=function(){return Ch(this,oi,2)};f.setAdminsList=function(a){aj(this,2,a)};f.getInheritedAdminsList=function(){return Ch(this,oi,3)};f.getEditorsList=function(){return Ch(this,oi,4)};f.setEditorsList=function(a){aj(this,4,a)};f.getImplicitEditorsList=function(){return Ch(this,oi,5)};f.getAppendersList=function(){return Ch(this,oi,6)};f.setAppendersList=function(a){aj(this,6,a)};
f.getImplicitAppendersList=function(){return Ch(this,oi,7)};f.getReadersList=function(){return Ch(this,oi,8)};f.setReadersList=function(a){aj(this,8,a)};f.getImplicitReadersList=function(){return Ch(this,oi,9)};f.getRestrictedReadersList=function(){return Ch(this,oi,11)};f.setRestrictedReadersList=function(a){aj(this,11,a)};f.getRestrictedPlusReadersList=function(){return Ch(this,oi,12)};f.setRestrictedPlusReadersList=function(a){aj(this,12,a)};f.getImplicitAccess=function(){return W(this,10,0)};
f.setImplicitAccess=function(a){return n(this,10,a)};mD.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];
mD.prototype.toObject=function(){if(null!=this){t(this);var a={adminsList:Gb(this.getAdminsList(),lD),inheritedAdminsList:Gb(this.getInheritedAdminsList(),lD),editorsList:Gb(this.getEditorsList(),lD),implicitEditorsList:Gb(this.getImplicitEditorsList(),lD),appendersList:Gb(this.getAppendersList(),lD),implicitAppendersList:Gb(this.getImplicitAppendersList(),lD),readersList:Gb(this.getReadersList(),lD),implicitReadersList:Gb(this.getImplicitReadersList(),lD),restrictedReadersList:Gb(this.getRestrictedReadersList(),
lD),restrictedPlusReadersList:Gb(this.getRestrictedPlusReadersList(),lD),implicitAccess:p(ir(this,10))}}else a=void 0;return a};mD.messageId="b.AccessPolicy";var xi=function(a){r.call(this,a,0,xi.messageId)};U(xi,r);f=xi.prototype;f.getResourcePath=function(){return V(this,2)};f.setResourcePath=function(a){return n(this,2,a)};f.hasResourcePath=function(){return tk(this,2)};f.getSeverity=function(){return W(this,3,0)};f.setSeverity=function(a){return n(this,3,a)};f.hasSeverity=function(){return cj(this,3)};f.getJudgementReason=function(){return V(this,4)};f.setJudgementReason=function(a){return n(this,4,a)};f.toObject=function(){return nD(this)};
var nD=function(a){if(null!=a)return t(a),{contentJudgementId:p(m(a,1)),resourcePath:p(m(a,2)),severity:p(ir(a,3)),judgementReason:p(m(a,4)),contentJudge:p(m(a,5))}};xi.messageId="b.ContentJudgement";var Gi=function(a){r.call(this,a)};U(Gi,r);Gi.prototype.getValuesList=function(){return Ch(this,wh,1)};Gi.prototype.setValuesList=function(a){aj(this,1,a)};Gi.prototype.setValues=function(a,b){Ds(this,1,wh,a,b)};Gi.repeatedFields_=[1];Gi.prototype.toObject=function(){return $7b(this)};var $7b=function(a){if(null!=a)return t(a),{valuesList:Gb(a.getValuesList(),aC)}};var Fi=function(a){r.call(this,a)};U(Fi,r);Fi.prototype.getValuesList=function(){return Fs(this,1)};Fi.prototype.setValuesList=function(a){ob(this,1,a,pba)};Fi.prototype.getValues=function(a){return jJb(this,1,a)};Fi.prototype.setValues=function(a,b){tb(this,1,a,oba(b),Fs)};Fi.repeatedFields_=[1];Fi.prototype.toObject=function(){return a8b(this)};var a8b=function(a){if(null!=a)return t(a),{valuesList:p(Fs(a,1))}};var Ei=function(a){r.call(this,a)};U(Ei,r);Ei.prototype.getValuesList=function(){return Gh(this,1)};Ei.prototype.setValuesList=function(a){Di(this,1,a)};Ei.prototype.getValues=function(a){return Ss(this,1,a)};Ei.prototype.setValues=function(a,b){tb(this,1,a,b,Gh)};Ei.repeatedFields_=[1];Ei.prototype.toObject=function(){return b8b(this)};var b8b=function(a){if(null!=a)return t(a),{valuesList:p(Gh(a,1))}};var Ci=function(a){r.call(this,a)};U(Ci,r);f=Ci.prototype;f.getCustomFieldId=function(){return wi(this,1)};f.setCustomFieldId=function(a){return n(this,1,a)};f.hasCustomFieldId=function(){return vi(this,1)};f.getDisplayValues=function(){return Ss(this,12)};f.setDisplayValues=function(a,b){tb(this,12,a,b,Gh)};f.getTextValue=function(){return Vs(this,4,Bi)};f.setTextValue=function(a){Xn(this,4,Bi,a)};f.getDateValue=function(){return Pj(this,wh,5,Bi)};f.setDateValue=function(a){eo(this,5,Bi,a)};
f.getEnumValue=function(){return Vs(this,6,Bi)};f.setEnumValue=function(a){Xn(this,6,Bi,a)};f.getNumericValue=function(){return ej(this,ko(this,Bi,7))};f.setNumericValue=function(a){Xn(this,7,Bi,Wa(a))};f.getRepeatedTextValue=function(){return Pj(this,Ei,8,Bi)};f.setRepeatedTextValue=function(a){eo(this,8,Bi,a)};f.getRepeatedDateValue=function(){return Pj(this,Gi,9,Bi)};f.setRepeatedDateValue=function(a){eo(this,9,Bi,a)};f.getRepeatedEnumValue=function(){return Pj(this,Ei,10,Bi)};
f.setRepeatedEnumValue=function(a){eo(this,10,Bi,a)};f.getRepeatedNumericValue=function(){return Pj(this,Fi,11,Bi)};f.setRepeatedNumericValue=function(a){eo(this,11,Bi,a)};Ci.repeatedFields_=[12];var Bi=[4,5,6,7,8,9,10,11];Ci.prototype.toObject=function(){return c8b(this)};
var c8b=function(a){if(null!=a)return t(a),{customFieldId:p(m(a,1)),displayValuesList:p(Gh(a,12)),textValue:p(mo(a,4,Bi)),dateValue:aC(a.getDateValue()),enumValue:p(mo(a,6,Bi)),numericValue:p(lo(a,7,Bi)),repeatedTextValue:b8b(a.getRepeatedTextValue()),repeatedDateValue:$7b(a.getRepeatedDateValue()),repeatedEnumValue:b8b(a.getRepeatedEnumValue()),repeatedNumericValue:a8b(a.getRepeatedNumericValue())}};var Hi=function(a){r.call(this,a)};U(Hi,r);f=Hi.prototype;f.getCustomFieldId=function(){return wi(this,1)};f.setCustomFieldId=function(a){return n(this,1,a)};f.hasCustomFieldId=function(){return vi(this,1)};f.getComponentId=function(){return wi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return vi(this,2)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return cj(this,3)};
f.getRequired=function(){return Gj(this,4)};f.setRequired=function(a){Ij(this,4,a)};f.getName=function(){return V(this,5)};f.setName=function(a){return n(this,5,a)};f.hasName=function(){return tk(this,5)};f.getNameOrUndefined=function(){return bt(this,5)};f.getDescription=function(){return V(this,6)};f.setDescription=function(a){return n(this,6,a)};f.hasDescription=function(){return tk(this,6)};f.getTypedDefaultValue=function(){return Z(this,Ci,10)};
f.setTypedDefaultValue=function(a){Wi(this,Ci,10,a)};f.getFieldSignificance=function(){return W(this,9,0)};f.setFieldSignificance=function(a){return n(this,9,a)};f.getStateOnIssues=function(){return W(this,11,0)};f.setStateOnIssues=function(a){n(this,11,a)};f.getEnabledOnIssues=function(){return Gj(this,12)};f.setEnabledOnIssues=function(a){Ij(this,12,a)};f.getShared=function(){return Gj(this,13)};f.setShared=function(a){Ij(this,13,a)};Hi.repeatedFields_=[8];Hi.prototype.toObject=function(){return d8b(this)};
var d8b=function(a){if(null!=a)return t(a),{customFieldId:p(m(a,1)),componentId:p(m(a,2)),type:p(ir(a,3)),required:p($q(a,4)),name:p(m(a,5)),description:p(m(a,6)),typedDefaultValue:c8b(a.getTypedDefaultValue()),allowedValueList:p(Gh(a,8)),fieldSignificance:p(ir(a,9)),stateOnIssues:p(ir(a,11)),enabledOnIssues:p($q(a,12)),shared:p($q(a,13))}};var Mi=function(a){r.call(this,a)};U(Mi,r);f=Mi.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return jj(this,1,a)};f.getValue=function(){return ej(this,2)};f.setValue=function(a){return kj(this,2,a)};f.toObject=function(){return e8b(this)};var e8b=function(a){if(null!=a)return t(a),{label:V(a,1),value:ej(a,2)}};var Ki=function(a){r.call(this,a)};U(Ki,r);Ki.prototype.getOptionsList=function(){return Ch(this,Mi,1)};Ki.prototype.setOptionsList=function(a){return aj(this,1,a)};Ki.prototype.setOptions=function(a){Ds(this,1,Mi,a)};Ki.repeatedFields_=[1];Ki.prototype.toObject=function(){return f8b(this)};var f8b=function(a){if(null!=a)return t(a),{optionsList:Gb(a.getOptionsList(),e8b)}};var Ji=function(a){r.call(this,a)};U(Ji,r);var hra=function(a,b){return kj(a,1,b)};Ji.prototype.toObject=function(){return g8b(this)};var g8b=function(a){if(null!=a)return t(a),{multiplier:ej(a,1)}};var Ii=function(a){r.call(this,a)};U(Ii,r);f=Ii.prototype;f.getInherit=function(){return Gj(this,1)};f.setInherit=function(a){vb(this,1,a)};f.getId=function(){return dj(this,2)};f.setId=function(a){return xb(this,2,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return jj(this,3,a)};var gra=function(a,b){eo(a,4,Oj,b)},ira=function(a,b){eo(a,5,Oj,b)};Ii.prototype.getCustomFieldId=function(){return dj(this,100)};Ii.prototype.setCustomFieldId=function(a){return xb(this,100,a)};
var Oj=[4,5];Ii.prototype.toObject=function(){return h8b(this)};var h8b=function(a){if(null!=a)return t(a),{inherit:Gj(a,1),id:dj(a,2),name:V(a,3),numericSpec:g8b(Pj(a,Ji,4,Oj)),enumSpec:f8b(Pj(a,Ki,5,Oj)),aggregationType:W(a,6,0),customFieldId:dj(a,100)}};var ij=function(a){r.call(this,a)};U(ij,r);ij.prototype.toObject=function(){return i8b(this)};var i8b=function(a){if(null!=a)return t(a),{specId:dj(a,1),estimate:V(a,2),averageDays:ej(a,3),totalOpen:ej(a,4),totalComplete:ej(a,5)}};var oD=function(a){r.call(this,a)};U(oD,r);f=oD.prototype;f.getStartTime=function(){return Z(this,yh,1)};f.setStartTime=function(a){Wi(this,yh,1,a)};f.getEndTime=function(){return Z(this,yh,2)};f.setEndTime=function(a){Wi(this,yh,2,a)};f.getTargetTime=function(){return Z(this,yh,3)};f.setTargetTime=function(a){Wi(this,yh,3,a)};f.getObjective=function(){return Z(this,Ah,4)};f.setObjective=function(a){return Wi(this,Ah,4,a)};f.getBusinessDays=function(){return Eh(this,5)};
f.setBusinessDays=function(a){return wb(this,5,a)};f.getDayType=function(){return W(this,6,0)};f.setDayType=function(a){return Ni(this,6,a)};f.toObject=function(){return j8b(this)};var j8b=function(a){if(null!=a)return t(a),{startTime:wt(a.getStartTime()),endTime:wt(a.getEndTime()),targetTime:wt(a.getTargetTime()),objective:iu(a.getObjective()),businessDays:Eh(a,5),dayType:W(a,6,0)}};var k8b=function(a){r.call(this,a)};U(k8b,r);f=k8b.prototype;f.getAssignmentBounds=function(){return Z(this,oD,1)};f.setAssignmentBounds=function(a){Wi(this,oD,1,a)};f.hasAssignmentBounds=function(){return Aj(this,oD,1)};f.getResponseBounds=function(){return Z(this,oD,2)};f.setResponseBounds=function(a){Wi(this,oD,2,a)};f.hasResponseBounds=function(){return Aj(this,oD,2)};f.getClosureBounds=function(){return Z(this,oD,3)};f.setClosureBounds=function(a){Wi(this,oD,3,a)};
f.hasClosureBounds=function(){return Aj(this,oD,3)};f.toObject=function(){return l8b(this)};var l8b=function(a){if(null!=a)return t(a),{assignmentBounds:j8b(a.getAssignmentBounds()),responseBounds:j8b(a.getResponseBounds()),closureBounds:j8b(a.getClosureBounds())}};var xj=function(a){r.call(this,a)};U(xj,r);xj.prototype.getSourceIssueIdsList=function(){return fl(this,1)};xj.prototype.setSourceIssueIdsList=function(a){return ob(this,1,a,bb)};xj.repeatedFields_=[1];xj.prototype.toObject=function(){return m8b(this)};var m8b=function(a){if(null!=a)return t(a),{sourceIssueIdsList:p(fl(a,1))}};var n8b=function(a){r.call(this,a)};U(n8b,r);n8b.prototype.getBlobRef=function(){return Dj(this,2)};n8b.prototype.toObject=function(){return o8b(this)};var o8b=function(a){if(null!=a)return t(a),{resourceName:V(a,1),blobRef:Jb(a.getBlobRef())}};var p8b=function(a){r.call(this,a)};U(p8b,r);p8b.prototype.getSeverity=function(){return W(this,1,0)};p8b.prototype.setSeverity=function(a){return Ni(this,1,a)};p8b.prototype.toObject=function(){return q8b(this)};var q8b=function(a){if(null!=a)return t(a),{severity:W(a,1,0)}};var r8b=function(a){r.call(this,a)};U(r8b,r);r8b.prototype.toObject=function(){return s8b(this)};var s8b=function(a){if(null!=a)return t(a),{restrictionVerdict:q8b(Z(a,p8b,1))}};var pD=function(a){r.call(this,a)};U(pD,r);f=pD.prototype;f.getStatus=function(){return W(this,1,0)};f.setStatus=function(a){return Ni(this,1,a)};f.getReason=function(){return W(this,2,0)};f.setReason=function(a){Ni(this,2,a)};f.toObject=function(){return t8b(this)};var t8b=function(a){if(null!=a)return t(a),{status:W(a,1,0),reason:W(a,2,0)}};var rD=function(a){r.call(this,a)};U(rD,r);f=rD.prototype;f.getRetentionPeriod=function(){return Z(this,Ah,1)};f.setRetentionPeriod=function(a){Wi(this,Ah,1,a)};f.getScheduledDeletionTime=function(){return Z(this,yh,2)};f.setScheduledDeletionTime=function(a){Wi(this,yh,2,a)};f.toObject=function(){return u8b(this)};var u8b=function(a){if(null!=a)return t(a),{retentionPeriod:iu(a.getRetentionPeriod()),scheduledDeletionTime:wt(a.getScheduledDeletionTime())}};var v8b=function(a){r.call(this,a)};U(v8b,r);f=v8b.prototype;f.getAttachmentId=function(){return dj(this,1)};f.setAttachmentId=function(a){xb(this,1,a)};f.getContentType=function(){return V(this,2)};f.getLength=function(){return dj(this,3)};f.getFilename=function(){return V(this,4)};f.setFilename=function(a){jj(this,4,a)};f.getEntityStatus=function(){return Z(this,pD,6)};f.getEtag=function(){return Dj(this,7)};f.setEtag=function(a){fJb(this,7,a)};f.getContentVerdict=function(){return Z(this,r8b,10)};
f.getRestrictedRetentionState=function(){return Z(this,rD,11)};f.toObject=function(){return w8b(this)};var w8b=function(a){if(null!=a)return t(a),{attachmentId:dj(a,1),contentType:V(a,2),length:dj(a,3),filename:V(a,4),attachmentDataRef:o8b(Z(a,n8b,5)),entityStatus:t8b(a.getEntityStatus()),etag:Jb(a.getEtag()),contentVerdict:s8b(a.getContentVerdict()),restrictedRetentionState:u8b(a.getRestrictedRetentionState()),restrictedRetention:W(a,12,0)}};var sD=function(a){r.call(this,a)};U(sD,r);sD.prototype.getValuesList=function(){return Ch(this,wh,1)};sD.prototype.setValuesList=function(a){aj(this,1,a)};sD.prototype.setValues=function(a,b){Ds(this,1,wh,a,b)};sD.repeatedFields_=[1];sD.prototype.toObject=function(){return x8b(this)};var x8b=function(a){if(null!=a)return t(a),{valuesList:Gb(a.getValuesList(),aC)}};var tD=function(a){r.call(this,a)};U(tD,r);tD.prototype.getValuesList=function(){return Fs(this,1)};tD.prototype.setValuesList=function(a){ob(this,1,a,pba)};tD.prototype.getValues=function(a){return jJb(this,1,a)};tD.prototype.setValues=function(a,b){tb(this,1,a,oba(b),Fs)};tD.repeatedFields_=[1];tD.prototype.toObject=function(){return y8b(this)};var y8b=function(a){if(null!=a)return t(a),{valuesList:p(Fs(a,1))}};var uD=function(a){r.call(this,a)};U(uD,r);uD.prototype.getValuesList=function(){return Gh(this,1)};uD.prototype.setValuesList=function(a){Di(this,1,a)};uD.prototype.getValues=function(a){return Ss(this,1,a)};uD.prototype.setValues=function(a,b){tb(this,1,a,b,Gh)};uD.repeatedFields_=[1];uD.prototype.toObject=function(){return z8b(this)};var z8b=function(a){if(null!=a)return t(a),{valuesList:p(Gh(a,1))}};var vD=function(a){r.call(this,a)};U(vD,r);f=vD.prototype;f.getValueCase=function(){return Ai(this,wD)};f.getCustomFieldId=function(){return dj(this,1)};f.setCustomFieldId=function(a){return xb(this,1,a)};f.getTextValue=function(){return Vs(this,2,wD)};f.setTextValue=function(a){Xn(this,2,wD,a)};f.getDateValue=function(){return Pj(this,wh,3,wD)};f.setDateValue=function(a){eo(this,3,wD,a)};f.getEnumValue=function(){return Vs(this,4,wD)};f.setEnumValue=function(a){Xn(this,4,wD,a)};
f.getNumericValue=function(){return ej(this,ko(this,wD,5))};f.setNumericValue=function(a){Xn(this,5,wD,Wa(a))};f.getRepeatedTextValue=function(){return Pj(this,uD,6,wD)};f.setRepeatedTextValue=function(a){eo(this,6,wD,a)};f.getRepeatedDateValue=function(){return Pj(this,sD,7,wD)};f.setRepeatedDateValue=function(a){eo(this,7,wD,a)};f.getRepeatedEnumValue=function(){return Pj(this,uD,8,wD)};f.setRepeatedEnumValue=function(a){eo(this,8,wD,a)};
f.getRepeatedNumericValue=function(){return Pj(this,tD,9,wD)};f.setRepeatedNumericValue=function(a){eo(this,9,wD,a)};f.getDisplayString=function(){return V(this,10)};var wD=[2,3,4,5,6,7,8,9];vD.prototype.toObject=function(){return A8b(this)};
var A8b=function(a){if(null!=a)return t(a),{customFieldId:dj(a,1),textValue:p(mo(a,2,wD)),dateValue:aC(a.getDateValue()),enumValue:p(mo(a,4,wD)),numericValue:p(lo(a,5,wD)),repeatedTextValue:z8b(a.getRepeatedTextValue()),repeatedDateValue:x8b(a.getRepeatedDateValue()),repeatedEnumValue:z8b(a.getRepeatedEnumValue()),repeatedNumericValue:y8b(a.getRepeatedNumericValue()),displayString:V(a,10)}};var B8b=function(a){r.call(this,a)};U(B8b,r);f=B8b.prototype;f.getCustomFieldId=function(){return dj(this,1)};f.setCustomFieldId=function(a){return xb(this,1,a)};f.getComponentId=function(){return dj(this,2)};f.setComponentId=function(a){return xb(this,2,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return Ni(this,3,a)};f.getRequired=function(){return Gj(this,4)};f.setRequired=function(a){vb(this,4,a)};f.getName=function(){return V(this,5)};
f.setName=function(a){return jj(this,5,a)};f.getDescription=function(){return V(this,6)};f.setDescription=function(a){return jj(this,6,a)};f.getTypedDefaultValue=function(){return Z(this,vD,10)};f.setTypedDefaultValue=function(a){Wi(this,vD,10,a)};f.getEnumValues=function(a){return Ss(this,8,a)};f.getFieldSignificance=function(){return W(this,9,0)};f.setFieldSignificance=function(a){return Ni(this,9,a)};f.getShared=function(){return Gj(this,11)};f.setShared=function(a){vb(this,11,a)};
B8b.repeatedFields_=[8];B8b.prototype.toObject=function(){return C8b(this)};var C8b=function(a){if(null!=a)return t(a),{customFieldId:dj(a,1),componentId:dj(a,2),type:W(a,3,0),required:Gj(a,4),name:V(a,5),description:V(a,6),defaultValue:V(a,7),typedDefaultValue:A8b(a.getTypedDefaultValue()),enumValuesList:p(Gh(a,8)),fieldSignificance:W(a,9,0),shared:Gj(a,11)}};var D8b=function(a){r.call(this,a)};U(D8b,r);f=D8b.prototype;f.getCustomFieldId=function(){return dj(this,ko(this,xD,1))};f.setCustomFieldId=function(a){return Xn(this,1,xD,a)};f.hasCustomFieldId=function(){return null!=Ys(this,1,xD)};f.getStandardField=function(){return W(this,ko(this,xD,2),0)};f.setStandardField=function(a){Xn(this,2,xD,a)};var xD=[1,2];D8b.prototype.toObject=function(){return E8b(this)};
var E8b=function(a){if(null!=a)return t(a),{customFieldId:p(Ys(a,1,xD)),standardField:p(Zs(a,2,xD))}};var yD=function(a){r.call(this,a)};U(yD,r);f=yD.prototype;f.getHasReacted=function(){return Gj(this,1)};f.setHasReacted=function(a){return vb(this,1,a)};f.getCount=function(){return dj(this,2)};f.setCount=function(a){return xb(this,2,a)};f.getRecentRespondersList=function(){return Ch(this,Ti,3)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return Ni(this,4,a)};yD.repeatedFields_=[3];yD.prototype.toObject=function(){return F8b(this)};
var F8b=function(a){if(null!=a)return t(a),{hasReacted:Gj(a,1),count:dj(a,2),recentRespondersList:Gb(a.getRecentRespondersList(),iD),type:W(a,4,0)}};var zD=function(a){r.call(this,a)};U(zD,r);zD.prototype.getReactionStatesList=function(){return Ch(this,yD,2)};zD.prototype.addReactionStates=function(a){return go(this,2,yD,a)};zD.repeatedFields_=[2];zD.prototype.toObject=function(){return G8b(this)};var G8b=function(a){if(null!=a)return t(a),{reactionStatesList:Gb(a.getReactionStatesList(),F8b)}};var ek=function(a){r.call(this,a)};U(ek,r);ek.prototype.toObject=function(){return AD(this)};var AD=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseSafeHtmlWrappedValue:p(m(a,2))}};var BD=function(a){r.call(this,a)};U(BD,r);BD.prototype.getContent=function(){return Z(this,ek,1)};BD.prototype.setContent=function(a){return Wi(this,ek,1,a)};BD.prototype.hasContent=function(){return Aj(this,ek,1)};BD.prototype.toObject=function(){return H8b(this)};var H8b=function(a){if(null!=a)return t(a),{content:AD(a.getContent())}};var CD=function(a){r.call(this,a)};U(CD,r);CD.prototype.getContent=function(){return Z(this,ek,1)};CD.prototype.setContent=function(a){return Wi(this,ek,1,a)};CD.prototype.hasContent=function(){return Aj(this,ek,1)};CD.prototype.toObject=function(){return I8b(this)};var I8b=function(a){if(null!=a)return t(a),{content:AD(a.getContent())}};var J8b=function(a){r.call(this,a)};U(J8b,r);f=J8b.prototype;f.getIsQuoted=function(){return Gj(this,1)};f.setIsQuoted=function(a){return vb(this,1,a)};f.getContent=function(){return Z(this,ek,2)};f.setContent=function(a){return Wi(this,ek,2,a)};f.hasContent=function(){return Aj(this,ek,2)};f.toObject=function(){return K8b(this)};var K8b=function(a){if(null!=a)return t(a),{isQuoted:Gj(a,1),content:AD(a.getContent())}};var DD=function(a){r.call(this,a)};U(DD,r);DD.prototype.getPlainSectionList=function(){return Ch(this,J8b,1)};DD.prototype.setPlainSectionList=function(a){return aj(this,1,a)};DD.repeatedFields_=[1];DD.prototype.toObject=function(){return L8b(this)};var L8b=function(a){if(null!=a)return t(a),{plainSectionList:Gb(a.getPlainSectionList(),K8b)}};var ED=function(a){r.call(this,a)};U(ED,r);f=ED.prototype;f.getKindCase=function(){return Ai(this,FD)};f.getPlainFormat=function(){return Pj(this,DD,1,FD)};f.setPlainFormat=function(a){eo(this,1,FD,a)};f.hasPlainFormat=function(){return Nj(this,DD,1,FD)};f.getMarkdownFormat=function(){return Pj(this,CD,2,FD)};f.setMarkdownFormat=function(a){eo(this,2,FD,a)};f.hasMarkdownFormat=function(){return Nj(this,CD,2,FD)};f.getLiteralFormat=function(){return Pj(this,BD,3,FD)};
f.setLiteralFormat=function(a){eo(this,3,FD,a)};f.hasLiteralFormat=function(){return Nj(this,BD,3,FD)};var FD=[1,2,3];ED.prototype.toObject=function(){return M8b(this)};var M8b=function(a){if(null!=a)return t(a),{plainFormat:L8b(a.getPlainFormat()),markdownFormat:I8b(a.getMarkdownFormat()),literalFormat:H8b(a.getLiteralFormat())}};var GD=function(a){r.call(this,a)};U(GD,r);GD.prototype.getMentionedUser=function(){return Z(this,Ti,1)};GD.prototype.getState=function(){return W(this,2,0)};GD.repeatedFields_=[3];GD.prototype.toObject=function(){return N8b(this)};var N8b=function(a){if(null!=a)return t(a),{mentionedUser:iD(a.getMentionedUser()),state:W(a,2,0),displayEmailList:p(Gh(a,3))}};var HD=function(a){r.call(this,a)};U(HD,r);f=HD.prototype;f.getIssueId=function(){return dj(this,6)};f.setIssueId=function(a){return xb(this,6,a)};f.getCommentNumber=function(){return Eh(this,7)};f.setCommentNumber=function(a){return wb(this,7,a)};f.getComment=function(){return V(this,1)};f.setComment=function(a){jj(this,1,a)};f.getFormattedComment=function(){return Z(this,ED,16)};f.hasFormattedComment=function(){return Aj(this,ED,16)};f.getMentionsList=function(){return Ch(this,GD,14)};
f.getFormattingMode=function(){return W(this,9,0)};f.setFormattingMode=function(a){return Ni(this,9,a)};f.getAttachmentsList=function(){return Ch(this,v8b,2)};f.setAttachmentsList=function(a){aj(this,2,a)};f.getModifiedTime=function(){return Z(this,yh,4)};f.getEntityStatus=function(){return Z(this,pD,5)};f.getVersion=function(){return Eh(this,8)};f.setVersion=function(a){return wb(this,8,a)};f.getContentVerdict=function(){return Z(this,r8b,10)};
f.getRestrictedRetentionState=function(){return Z(this,rD,11)};f.getRedacted=function(){return Gj(this,13)};f.getEtag=function(){return Dj(this,15)};f.setEtag=function(a){fJb(this,15,a)};f.getCommentReaction=function(){return Z(this,zD,17)};HD.repeatedFields_=[14,2];HD.prototype.toObject=function(){return O8b(this)};
var O8b=function(a){if(null!=a)return t(a),{issueId:dj(a,6),commentNumber:Eh(a,7),comment:V(a,1),formattedComment:M8b(a.getFormattedComment()),mentionsList:Gb(a.getMentionsList(),N8b),formattingMode:W(a,9,0),attachmentsList:Gb(a.getAttachmentsList(),w8b),lastEditor:iD(Z(a,Ti,3)),modifiedTime:wt(a.getModifiedTime()),entityStatus:t8b(a.getEntityStatus()),version:Eh(a,8),contentVerdict:s8b(a.getContentVerdict()),restrictedRetentionState:u8b(a.getRestrictedRetentionState()),restrictedRetention:W(a,12,
0),redacted:Gj(a,13),etag:Jb(a.getEtag()),commentReaction:G8b(a.getCommentReaction())}};var ID=function(a){r.call(this,a)};U(ID,r);ID.prototype.getAccessLevel=function(){return W(this,1,0)};ID.prototype.setAccessLevel=function(a){return Ni(this,1,a)};ID.prototype.toObject=function(){return P8b(this)};var P8b=function(a){if(null!=a)return t(a),{accessLevel:W(a,1,0)}};var Q8b=function(a){r.call(this,a)};U(Q8b,r);f=Q8b.prototype;f.getComponentId=function(){return dj(this,1)};f.setComponentId=function(a){return xb(this,1,a)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return Ni(this,2,a)};f.getStatus=function(){return W(this,3,0)};f.setStatus=function(a){return Ni(this,3,a)};f.getPriority=function(){return W(this,4,0)};f.setPriority=function(a){return Ni(this,4,a)};f.getSeverity=function(){return W(this,5,0)};
f.setSeverity=function(a){return Ni(this,5,a)};f.getTitle=function(){return V(this,6)};f.setTitle=function(a){return jj(this,6,a)};f.getReporter=function(){return Z(this,Ti,7)};f.setReporter=function(a){Wi(this,Ti,7,a)};f.getAssignee=function(){return Z(this,Ti,8)};f.setAssignee=function(a){Wi(this,Ti,8,a)};f.clearAssignee=function(){return Hs(this,8)};f.getVerifier=function(){return Z(this,Ti,9)};f.setVerifier=function(a){Wi(this,Ti,9,a)};f.clearVerifier=function(){return Hs(this,9)};
f.getCcsList=function(){return Ch(this,Ti,10)};f.setCollaborators=function(a){Ds(this,31,Ti,a)};f.getBlockingIssueIdsList=function(){return fl(this,13)};f.addHotlistIds=function(a,b){return sb(this,14,a,b)};f.getCustomFieldsList=function(){return Ch(this,vD,15)};f.setCustomFieldsList=function(a){aj(this,15,a)};f.getInProd=function(){return Gj(this,20)};f.setInProd=function(a){vb(this,20,a)};f.getIsArchived=function(){return Gj(this,21)};f.setIsArchived=function(a){return vb(this,21,a)};
f.getIsDeleted=function(){return Gj(this,23)};f.setIsDeleted=function(a){vb(this,23,a)};f.getDeletionReason=function(){return W(this,24,0)};f.setDeletionReason=function(a){Ni(this,24,a)};f.getEntityStatus=function(){return Z(this,pD,25)};f.getSloEndTime=function(){return Z(this,yh,34)};f.setSloEndTime=function(a){Wi(this,yh,34,a)};f.getSloSnoozeType=function(){return W(this,30,0)};f.setSloSnoozeType=function(a){Ni(this,30,a)};f.getPostmortemsList=function(){return Gh(this,27)};
f.setPostmortemsList=function(a){Di(this,27,a)};f.getRetention=function(){return W(this,28,0)};f.setRetention=function(a){Ni(this,28,a)};f.getEffort=function(){return Z(this,ij,29)};f.setEffort=function(a){Wi(this,ij,29,a)};f.hasEffort=function(){return Aj(this,ij,29)};f.getAccessLimit=function(){return Z(this,ID,32)};f.setAccessLimit=function(a){return Wi(this,ID,32,a)};Q8b.repeatedFields_=[10,31,12,13,14,15,16,17,18,19,22,27];Q8b.prototype.toObject=function(){return R8b(this)};
var R8b=function(a){if(null!=a)return t(a),{componentId:dj(a,1),type:W(a,2,0),status:W(a,3,0),priority:W(a,4,0),severity:W(a,5,0),title:V(a,6),reporter:iD(a.getReporter()),assignee:iD(a.getAssignee()),verifier:iD(a.getVerifier()),ccsList:Gb(a.getCcsList(),iD),collaboratorsList:Gb(Ch(a,Ti,31),iD),canonicalIssueId:dj(a,11),blockedByIssueIdsList:p(fl(a,12)),blockingIssueIdsList:p(fl(a,13)),hotlistIdsList:p(fl(a,14)),customFieldsList:Gb(a.getCustomFieldsList(),A8b),codeChangesList:p(Gh(a,16)),foundInVersionsList:p(Gh(a,
17)),targetedToVersionsList:p(Gh(a,18)),verifiedInVersionsList:p(Gh(a,19)),inProd:Gj(a,20),isArchived:Gj(a,21),duplicateIssueIdsList:p(fl(a,22)),isDeleted:Gj(a,23),deletionReason:W(a,24,0),entityStatus:t8b(a.getEntityStatus()),sloSnoozeUntil:wt(Z(a,yh,26)),sloEndTime:wt(a.getSloEndTime()),sloSnoozeType:W(a,30,0),postmortemsList:p(Gh(a,27)),retention:W(a,28,0),effort:i8b(a.getEffort()),accessLimit:P8b(a.getAccessLimit())}};var JD=function(a){r.call(this,a)};U(JD,r);JD.prototype.getNotificationSubscription=function(){return W(this,4,0)};JD.prototype.setNotificationSubscription=function(a){return Ni(this,4,a)};JD.repeatedFields_=[3];JD.prototype.toObject=function(){return S8b(this)};var S8b=function(a){if(null!=a)return t(a),{hasStarred:Gj(a,1),hasUpvoted:Gj(a,2),editableCommentNumbersList:p(Bh(a,3)),notificationSubscription:W(a,4,0),lastViewedTime:wt(Z(a,yh,5))}};var ok=function(a){r.call(this,a)};U(ok,r);ok.prototype.getHref=function(){return V(this,1)};ok.prototype.toObject=function(){return T8b(this)};var T8b=function(a){if(null!=a)return t(a),{href:p(m(a,1))}};var uta=function(a){r.call(this,a)};U(uta,r);f=uta.prototype;f.getIssueId=function(){return dj(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Eh(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.toObject=function(){return U8b(this)};var U8b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),commentNumber:p(Ms(a,2))}};var V8b=function(a){r.call(this,a)};U(V8b,r);var nk=[1,2];V8b.prototype.toObject=function(){return W8b(this)};var W8b=function(a){if(null!=a)return t(a),{hyperlink:T8b(Pj(a,ok,1,nk)),issueReference:U8b(Pj(a,uta,2,nk)),sourceCommentNumber:Eh(a,3)}};var X8b=function(a){r.call(this,a)};U(X8b,r);f=X8b.prototype;f.getIssueId=function(){return dj(this,1)};f.setIssueId=function(a){return xb(this,1,a)};f.getUpdateText=function(){return V(this,2)};f.setUpdateText=function(a){jj(this,2,a)};f.getFormattingMode=function(){return W(this,4,0)};f.setFormattingMode=function(a){return Ni(this,4,a)};f.getAuthor=function(){return Z(this,Ti,5)};f.setAuthor=function(a){Wi(this,Ti,5,a)};f.getUpdateTime=function(){return Z(this,yh,6)};
f.setUpdateTime=function(a){Wi(this,yh,6,a)};f.getVersion=function(){return Eh(this,7)};f.setVersion=function(a){return wb(this,7,a)};f.getEntityStatus=function(){return Z(this,pD,8)};f.toObject=function(){return Y8b(this)};var Y8b=function(a){if(null!=a)return t(a),{issueId:dj(a,1),updateText:V(a,2),formattedUpdateText:M8b(Z(a,ED,3)),formattingMode:W(a,4,0),author:iD(a.getAuthor()),updateTime:wt(a.getUpdateTime()),version:Eh(a,7),entityStatus:t8b(a.getEntityStatus())}};var KD=function(a){r.call(this,a)};U(KD,r);f=KD.prototype;f.getIssueId=function(){return dj(this,2)};f.setIssueId=function(a){return xb(this,2,a)};f.getIssueState=function(){return Z(this,Q8b,3)};f.getAttachmentsList=function(){return Ch(this,v8b,18)};f.setAttachmentsList=function(a){aj(this,18,a)};f.getDescription=function(){return Z(this,HD,44)};f.setDescription=function(a){return Wi(this,HD,44,a)};f.hasDescription=function(){return Aj(this,HD,44)};
f.getStatusUpdate=function(){return Z(this,X8b,43)};f.hasStatusUpdate=function(){return Aj(this,X8b,43)};f.getCreatedTime=function(){return Z(this,yh,5)};f.getModifiedTime=function(){return Z(this,yh,6)};f.getLastModifier=function(){return Z(this,Ti,14)};f.setLastModifier=function(a){Wi(this,Ti,14,a)};f.getResolvedTime=function(){return Z(this,yh,7)};f.getVerifiedTime=function(){return Z(this,yh,8)};f.getUserData=function(){return Z(this,JD,9)};f.setUserData=function(a){Wi(this,JD,9,a)};
f.getVoteCount=function(){return dj(this,10)};f.setVoteCount=function(a){xb(this,10,a)};f.getParentIssueIdsList=function(){return fl(this,37)};f.setParentIssueIdsList=function(a){ob(this,37,a,bb)};f.getAccessLimit=function(){return Z(this,gC,11)};f.setAccessLimit=function(a){return Wi(this,gC,11,a)};f.getVersion=function(){return Eh(this,12)};f.setVersion=function(a){return wb(this,12,a)};f.getEtag=function(){return Dj(this,13)};f.setEtag=function(a){fJb(this,13,a)};
f.getCustomFieldsList=function(){return Ch(this,B8b,15)};f.setCustomFieldsList=function(a){aj(this,15,a)};f.getVisibleFieldsList=function(){return Ch(this,D8b,34)};f.setVisibleFieldsList=function(a){aj(this,34,a)};f.getSloStatus=function(){return Z(this,k8b,16)};f.setSloStatus=function(a){Wi(this,k8b,16,a)};f.hasSloStatus=function(){return Aj(this,k8b,16)};f.getSloId=function(){return dj(this,17)};f.setSloId=function(a){return xb(this,17,a)};f.getTeamId=function(){return dj(this,33)};
f.setTeamId=function(a){return xb(this,33,a)};f.getRetentionState=function(){return Z(this,rD,29)};f.setRetentionState=function(a){Wi(this,rD,29,a)};f.getAncestorsMap=function(){return ct(this,38,xj)};f.getChildIssueCount=function(){return Eh(this,39)};f.setChildIssueCount=function(a){wb(this,39,a)};f.getIsArchived=function(){return Gj(this,40)};f.setIsArchived=function(a){return vb(this,40,a)};f.getRelatedLinksList=function(){return Ch(this,V8b,41)};f.getTrackerId=function(){return dj(this,42)};
f.setTrackerId=function(a){xb(this,42,a)};KD.repeatedFields_=[18,37,31,15,34,41];KD.prototype.toObject=function(){return Z8b(this)};
var Z8b=function(a){if(null!=a)return t(a),{issueId:dj(a,2),issueState:R8b(a.getIssueState()),issueComment:O8b(Z(a,HD,4)),attachmentsList:Gb(a.getAttachmentsList(),w8b),description:O8b(a.getDescription()),statusUpdate:Y8b(a.getStatusUpdate()),createdTime:wt(a.getCreatedTime()),modifiedTime:wt(a.getModifiedTime()),majorModifiedTime:wt(Z(a,yh,35)),minorModifiedTime:wt(Z(a,yh,36)),lastModifier:iD(a.getLastModifier()),resolvedTime:wt(a.getResolvedTime()),verifiedTime:wt(a.getVerifiedTime()),userData:S8b(a.getUserData()),
voteCount:dj(a,10),parentIssueId:dj(a,30),parentIssueIdsList:p(fl(a,37)),incomingDependencyIdsList:p(fl(a,31)),accessLimit:t4b(a.getAccessLimit()),version:Eh(a,12),etag:Jb(a.getEtag()),customFieldsList:Gb(a.getCustomFieldsList(),C8b),visibleFieldsList:Gb(a.getVisibleFieldsList(),E8b),sloStatus:l8b(a.getSloStatus()),sloId:dj(a,17),teamId:dj(a,33),retentionState:u8b(a.getRetentionState()),ancestorsMap:Ib(a.getAncestorsMap(),m8b),childIssueCount:Eh(a,39),isArchived:Gj(a,40),relatedLinksList:Gb(a.getRelatedLinksList(),
W8b),trackerId:dj(a,42)}};var LD=function(a){r.call(this,a)};U(LD,r);LD.prototype.getContent=function(){return Z(this,ek,1)};LD.prototype.setContent=function(a){return Wi(this,ek,1,a)};LD.prototype.hasContent=function(){return Aj(this,ek,1)};LD.prototype.toObject=function(){return $8b(this)};var $8b=function(a){if(null!=a)return t(a),{content:AD(a.getContent())}};var MD=function(a){r.call(this,a)};U(MD,r);MD.prototype.getContent=function(){return Z(this,ek,1)};MD.prototype.setContent=function(a){return Wi(this,ek,1,a)};MD.prototype.hasContent=function(){return Aj(this,ek,1)};MD.prototype.toObject=function(){return a9b(this)};var a9b=function(a){if(null!=a)return t(a),{content:AD(a.getContent())}};var mra=function(a){r.call(this,a)};U(mra,r);f=mra.prototype;f.getIsQuoted=function(){return Gj(this,1)};f.setIsQuoted=function(a){return Ij(this,1,a)};f.getContent=function(){return Z(this,ek,2)};f.setContent=function(a){return Wi(this,ek,2,a)};f.hasContent=function(){return Aj(this,ek,2)};f.toObject=function(){return b9b(this)};var b9b=function(a){if(null!=a)return t(a),{isQuoted:p($q(a,1)),content:AD(a.getContent())}};var ND=function(a){r.call(this,a)};U(ND,r);ND.prototype.getPlainSectionList=function(){return Ch(this,mra,1)};ND.prototype.setPlainSectionList=function(a){return aj(this,1,a)};ND.repeatedFields_=[1];ND.prototype.toObject=function(){return c9b(this)};var c9b=function(a){if(null!=a)return t(a),{plainSectionList:Gb(a.getPlainSectionList(),b9b)}};var Bj=function(a){r.call(this,a)};U(Bj,r);f=Bj.prototype;f.getKindCase=function(){return Ai(this,OD)};f.getPlainFormat=function(){return Pj(this,ND,1,OD)};f.setPlainFormat=function(a){eo(this,1,OD,a)};f.hasPlainFormat=function(){return Nj(this,ND,1,OD)};f.getMarkdownFormat=function(){return Pj(this,MD,2,OD)};f.setMarkdownFormat=function(a){eo(this,2,OD,a)};f.hasMarkdownFormat=function(){return Nj(this,MD,2,OD)};f.getLiteralFormat=function(){return Pj(this,LD,3,OD)};
f.setLiteralFormat=function(a){eo(this,3,OD,a)};f.hasLiteralFormat=function(){return Nj(this,LD,3,OD)};var OD=[1,2,3];Bj.prototype.toObject=function(){return d9b(this)};var d9b=function(a){if(null!=a)return t(a),{plainFormat:c9b(a.getPlainFormat()),markdownFormat:a9b(a.getMarkdownFormat()),literalFormat:$8b(a.getLiteralFormat())}};var Pi=function(a){r.call(this,a)};U(Pi,r);Pi.prototype.getSeverity=function(){return W(this,1,0)};Pi.prototype.setSeverity=function(a){return n(this,1,a)};Pi.prototype.hasSeverity=function(){return cj(this,1)};Pi.prototype.toObject=function(){return e9b(this)};var e9b=function(a){if(null!=a)return t(a),{severity:p(ir(a,1))}};var pk=function(a){r.call(this,a)};U(pk,r);pk.prototype.toObject=function(){return f9b(this)};var f9b=function(a){if(null!=a)return t(a),{piiVerdict:e9b(Z(a,Pi,1))}};var Oi=function(a){r.call(this,a)};U(Oi,r);Oi.prototype.hasRetentionSelection=function(){return cj(this,1)};Oi.prototype.toObject=function(){return g9b(this)};var g9b=function(a){if(null!=a)return t(a),{retentionSelection:p(ir(a,1)),retentionPeriodDays:p(Ms(a,2)),piiRetentionSelection:p(ir(a,3)),piiRetentionPeriodDays:p(Ms(a,4)),spiiRetentionPeriodDays:p(Ms(a,5))}};var vj=function(a){r.call(this,a,0,vj.messageId)};U(vj,r);f=vj.prototype;f.getRetentionPeriod=function(){return Z(this,Ah,1)};f.setRetentionPeriod=function(a){Wi(this,Ah,1,a)};f.getScheduledDeletionTime=function(){return Z(this,yh,2)};f.setScheduledDeletionTime=function(a){Wi(this,yh,2,a)};f.toObject=function(){return h9b(this)};var h9b=function(a){if(null!=a)return t(a),{retentionPeriod:iu(a.getRetentionPeriod()),scheduledDeletionTime:wt(a.getScheduledDeletionTime())}};vj.messageId="b.RetentionState";var Ui=function(a){r.call(this,a)};U(Ui,r);f=Ui.prototype;f.getHours=function(){return Eh(this,1)};f.setHours=function(a){return wb(this,1,a)};f.getMinutes=function(){return Eh(this,2)};f.setMinutes=function(a){return wb(this,2,a)};f.getSeconds=function(){return Eh(this,3)};f.setSeconds=function(a){return wb(this,3,a)};f.getNanos=function(){return Eh(this,4)};f.setNanos=function(a){return wb(this,4,a)};f.toObject=function(){return i9b(this)};
var i9b=function(a){if(null!=a)return t(a),{hours:Eh(a,1),minutes:Eh(a,2),seconds:Eh(a,3),nanos:Eh(a,4)}};var Vi=function(a){r.call(this,a)};U(Vi,r);f=Vi.prototype;f.getId=function(){return dj(this,1)};f.setId=function(a){return n(this,1,a)};f.setFrequency=function(a){return Ni(this,3,a)};f.getOrdinal=function(){return Eh(this,4)};f.setOrdinal=function(a){return wb(this,4,a)};f.getTimeZone=function(){return Z(this,Xi,5)};f.setTimeZone=function(a){return Wi(this,Xi,5,a)};f.hasTimeZone=function(){return Aj(this,Xi,5)};f.toObject=function(){return j9b(this)};
var j9b=function(a){if(null!=a)return t(a),{id:p(m(a,1)),lead:iD(Z(a,Ti,2)),frequency:W(a,3,0),ordinal:Eh(a,4),timeZone:tC(a.getTimeZone()),timeOfDay:i9b(Z(a,Ui,6))}};var PD=function(a){r.call(this,a)};U(PD,r);PD.prototype.getTeamId=function(){return dj(this,1)};PD.prototype.setTeamId=function(a){return xb(this,1,a)};PD.prototype.getEffectiveSloEditPolicy=function(){return W(this,3,0)};PD.prototype.toObject=function(){return k9b(this)};var k9b=function(a){if(null!=a)return t(a),{teamId:dj(a,1),sloEditPolicy:W(a,2,0),effectiveSloEditPolicy:W(a,3,0)}};var Ri=function(a){r.call(this,a)};U(Ri,r);f=Ri.prototype;f.getInherit=function(){return Gj(this,1)};f.setInherit=function(a){Ij(this,1,a)};f.getSource=function(){return W(this,2,0)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return cj(this,2)};f.getSourceOrUndefined=function(){return ur(this,2)};f.getId=function(){return wi(this,3)};f.setId=function(a){return n(this,3,a)};f.getSourceTeamId=function(){return wi(this,5)};f.setSourceTeamId=function(a){n(this,5,a)};
f.getComment=function(){return V(this,4)};f.setComment=function(a){n(this,4,a)};f.toObject=function(){return l9b(this)};var l9b=function(a){if(null!=a)return t(a),{inherit:p($q(a,1)),source:p(ir(a,2)),id:p(m(a,3)),sourceTeamId:p(m(a,5)),sourceComponentId:p(m(a,6)),comment:p(m(a,4))}};var Qi=function(a){r.call(this,a)};U(Qi,r);f=Qi.prototype;f.getStartTime=function(){return Z(this,yh,1)};f.setStartTime=function(a){Wi(this,yh,1,a)};f.getEndTime=function(){return Z(this,yh,2)};f.setEndTime=function(a){Wi(this,yh,2,a)};f.getTargetTime=function(){return Z(this,yh,3)};f.setTargetTime=function(a){Wi(this,yh,3,a)};f.getObjective=function(){return Z(this,Ah,4)};f.setObjective=function(a){return Wi(this,Ah,4,a)};f.getBusinessDays=function(){return Eh(this,5)};
f.setBusinessDays=function(a){return n(this,5,a)};f.getDayType=function(){return W(this,6,0)};f.setDayType=function(a){return n(this,6,a)};f.toObject=function(){return m9b(this)};var m9b=function(a){if(null!=a)return t(a),{startTime:wt(a.getStartTime()),endTime:wt(a.getEndTime()),targetTime:wt(a.getTargetTime()),objective:iu(a.getObjective()),businessDays:p(Ms(a,5)),dayType:p(ir(a,6))}};var Yi=function(a){r.call(this,a)};U(Yi,r);f=Yi.prototype;f.getMetric=function(){return W(this,1,0)};f.getMatcher=function(){return V(this,2)};f.setMatcher=function(a){return n(this,2,a)};f.getDayType=function(){return W(this,4,0)};f.setDayType=function(a){return n(this,4,a)};f.getObjective=function(){return Z(this,Ah,3)};f.setObjective=function(a){return Wi(this,Ah,3,a)};f.getBusinessDays=function(){return Eh(this,5)};f.setBusinessDays=function(a){return n(this,5,a)};f.toObject=function(){return n9b(this)};
var n9b=function(a){if(null!=a)return t(a),{metric:p(ir(a,1)),matcher:p(m(a,2)),dayType:p(ir(a,4)),objective:iu(a.getObjective()),businessDays:p(Ms(a,5))}};var $i=function(a){r.call(this,a,0,$i.messageId)};U($i,r);f=$i.prototype;f.getSloId=function(){return wi(this,1)};f.setSloId=function(a){return n(this,1,a)};f.getVersion=function(){return Eh(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return $s(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};
f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return tk(this,4)};f.getParentId=function(){return wi(this,5)};f.setParentId=function(a){return n(this,5,a)};f.getIsArchived=function(){return Gj(this,8)};f.setIsArchived=function(a){return Ij(this,8,a)};$i.repeatedFields_=[6,7];$i.prototype.toObject=function(){return o9b(this)};
var o9b=function(a){if(null!=a)return t(a),{sloId:p(m(a,1)),version:p(Ms(a,2)),name:p(m(a,3)),description:p(m(a,4)),parentId:p(m(a,5)),elementsList:Gb(Ch(a,Yi,6),n9b),effectiveElementsList:Gb(Ch(a,Yi,7),n9b),isArchived:p($q(a,8)),alertState:p(ir(a,9))}};$i.messageId="b.SloState";var wj=function(a){r.call(this,a)};U(wj,r);f=wj.prototype;f.getAssignmentBounds=function(){return Z(this,Qi,1)};f.setAssignmentBounds=function(a){Wi(this,Qi,1,a)};f.hasAssignmentBounds=function(){return Aj(this,Qi,1)};f.getResponseBounds=function(){return Z(this,Qi,2)};f.setResponseBounds=function(a){Wi(this,Qi,2,a)};f.hasResponseBounds=function(){return Aj(this,Qi,2)};f.getClosureBounds=function(){return Z(this,Qi,3)};f.setClosureBounds=function(a){Wi(this,Qi,3,a)};
f.hasClosureBounds=function(){return Aj(this,Qi,3)};f.toObject=function(){return p9b(this)};var p9b=function(a){if(null!=a)return t(a),{assignmentBounds:m9b(a.getAssignmentBounds()),responseBounds:m9b(a.getResponseBounds()),closureBounds:m9b(a.getClosureBounds())}};var q9b=function(a){r.call(this,a,0,q9b.messageId)};U(q9b,r);f=q9b.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getReason=function(){return W(this,2,0)};f.setReason=function(a){n(this,2,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),reason:p(ir(this,2))}}else a=void 0;return a};q9b.messageId="b.DeleteIssueRequest";var oj=function(a){r.call(this,a)};U(oj,r);f=oj.prototype;f.getFieldName=function(){return V(this,1)};f.setFieldName=function(a){n(this,1,a)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return tk(this,2)};f.setActionType=function(a){n(this,3,a)};f.getCustomFieldValue=function(){return Z(this,Ci,5)};f.setCustomFieldValue=function(a){return Wi(this,Ci,5,a)};f.clearCustomFieldValue=function(){return Hs(this,5)};
f.hasCustomFieldValue=function(){return Aj(this,Ci,5)};f.toObject=function(){return r9b(this)};var r9b=function(a){if(null!=a)return t(a),{fieldName:p(m(a,1)),value:p(m(a,2)),actionType:p(ir(a,3)),customFieldValue:c8b(a.getCustomFieldValue())}};var mj=function(a){r.call(this,a)};U(mj,r);mj.prototype.getAccessLevel=function(){return W(this,1,0)};mj.prototype.setAccessLevel=function(a){return n(this,1,a)};mj.prototype.toObject=function(){return s9b(this)};var s9b=function(a){if(null!=a)return t(a),{accessLevel:p(ir(a,1))}};var lj=function(a){r.call(this,a,0,lj.messageId)};U(lj,r);f=lj.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueAccessLimit=function(){return Z(this,mj,2)};f.setIssueAccessLimit=function(a){Wi(this,mj,2,a)};f.getAddedCollaboratorsList=function(){return Ch(this,ei,3)};f.setAddedCollaboratorsList=function(a){aj(this,3,a)};f.getRemovedCollaboratorsList=function(){return Ch(this,ei,4)};f.setRemovedCollaboratorsList=function(a){aj(this,4,a)};
lj.repeatedFields_=[3,4];lj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueAccessLimit:s9b(this.getIssueAccessLimit()),addedCollaboratorsList:Gb(this.getAddedCollaboratorsList(),jD),removedCollaboratorsList:Gb(this.getRemovedCollaboratorsList(),jD)}}else a=void 0;return a};lj.messageId="b.GetRetainedAccessPrincipalsRequest";var uj=function(a){r.call(this,a)};U(uj,r);f=uj.prototype;f.getVoteCount=function(){return dj(this,1)};f.setVoteCount=function(a){n(this,1,a)};f.getCreatedTimeMicros=function(){return dj(this,2)};f.setCreatedTimeMicros=function(a){n(this,2,a)};f.getModifiedTimeMicros=function(){return dj(this,3)};f.setModifiedTimeMicros=function(a){n(this,3,a)};f.getLastModifier=function(){return Z(this,ei,10)};f.setLastModifier=function(a){Wi(this,ei,10,a)};f.getSloStatus=function(){return Z(this,wj,6)};
f.setSloStatus=function(a){Wi(this,wj,6,a)};f.hasSloStatus=function(){return Aj(this,wj,6)};f.getSloId=function(){return wi(this,7)};f.setSloId=function(a){return n(this,7,a)};f.getTeamId=function(){return wi(this,9)};f.setTeamId=function(a){return n(this,9,a)};f.getRetentionState=function(){return Z(this,vj,8)};f.setRetentionState=function(a){Wi(this,vj,8,a)};f.toObject=function(){return t9b(this)};
var t9b=function(a){if(null!=a)return t(a),{voteCount:p(m(a,1)),createdTimeMicros:p(m(a,2)),modifiedTimeMicros:p(m(a,3)),resolvedTimeMicros:p(m(a,4)),verifiedTimeMicros:p(m(a,5)),lastModifier:jD(a.getLastModifier()),sloStatus:p9b(a.getSloStatus()),sloId:p(m(a,7)),teamId:p(m(a,9)),retentionState:h9b(a.getRetentionState())}};var QD=function(a){r.call(this,a,0,QD.messageId)};U(QD,r);f=QD.prototype;f.getHasReacted=function(){return Gj(this,1)};f.setHasReacted=function(a){return Ij(this,1,a)};f.getCount=function(){return dj(this,2)};f.setCount=function(a){return n(this,2,a)};f.getRecentRespondersList=function(){return Ch(this,ei,3)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return cj(this,4)};QD.repeatedFields_=[3];QD.prototype.toObject=function(){return u9b(this)};
var u9b=function(a){if(null!=a)return t(a),{hasReacted:p($q(a,1)),count:p(m(a,2)),recentRespondersList:Gb(a.getRecentRespondersList(),jD),type:p(ir(a,4))}};QD.messageId="b.ReactionState";var RD=function(a){r.call(this,a,0,RD.messageId)};U(RD,r);RD.prototype.getReactionStatesList=function(){return Ch(this,QD,1)};RD.prototype.addReactionStates=function(a){return go(this,1,QD,a)};RD.repeatedFields_=[1];RD.prototype.toObject=function(){return v9b(this)};var v9b=function(a){if(null!=a)return t(a),{reactionStatesList:Gb(a.getReactionStatesList(),u9b)}};RD.messageId="b.CommentReaction";var SD=function(a){r.call(this,a)};U(SD,r);f=SD.prototype;f.getStatus=function(){return W(this,1,0)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return cj(this,1)};f.getReason=function(){return W(this,2,0)};f.setReason=function(a){n(this,2,a)};f.toObject=function(){return TD(this)};var TD=function(a){if(null!=a)return t(a),{status:p(ir(a,1)),reason:p(ir(a,2))}};var UD=function(a){r.call(this,a)};U(UD,r);UD.prototype.getMentionedUser=function(){return Z(this,ei,1)};UD.prototype.getState=function(){return W(this,2,0)};UD.repeatedFields_=[3];UD.prototype.toObject=function(){return w9b(this)};var w9b=function(a){if(null!=a)return t(a),{mentionedUser:jD(a.getMentionedUser()),state:p(ir(a,2)),displayEmailList:p(Gh(a,3))}};var VD=function(a){r.call(this,a,0,VD.messageId)};U(VD,r);f=VD.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentId=function(){return Eh(this,2)};f.getMentionsList=function(){return Ch(this,UD,16)};f.getLastModified=function(){return dj(this,5)};f.getVersion=function(){return Eh(this,6)};f.setVersion=function(a){return n(this,6,a)};f.getVersionOrUndefined=function(){return $s(this,6)};f.getEntityStatus=function(){return Z(this,SD,9)};
f.getFormattingMode=function(){return W(this,10,0)};f.setFormattingMode=function(a){return n(this,10,a)};f.getFormattedComment=function(){return Z(this,Bj,13)};f.hasFormattedComment=function(){return Aj(this,Bj,13)};f.getPiiRetentionState=function(){return Z(this,vj,11)};f.getPiiRetention=function(){return W(this,12,0)};f.setPiiRetention=function(a){return n(this,12,a)};f.getRedacted=function(){return Gj(this,15)};f.getEtag=function(){return V(this,17)};f.setEtag=function(a){n(this,17,a)};
f.hasEtag=function(){return tk(this,17)};f.getCommentReaction=function(){return Z(this,RD,18)};VD.repeatedFields_=[16];VD.prototype.toObject=function(){return x9b(this)};
var x9b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),commentId:p(Ms(a,2)),mentionsList:Gb(a.getMentionsList(),w9b),commentContentVerdict:f9b(Z(a,pk,14)),lastEditorUser:jD(Z(a,ei,8)),lastModified:p(m(a,5)),version:p(Ms(a,6)),unlinkifiedComment:p(m(a,7)),entityStatus:TD(a.getEntityStatus()),formattingMode:p(ir(a,10)),formattedComment:d9b(a.getFormattedComment()),piiRetentionState:h9b(a.getPiiRetentionState()),piiRetention:p(ir(a,12)),redacted:p($q(a,15)),etag:p(m(a,17)),commentReaction:v9b(a.getCommentReaction())}};
VD.messageId="b.IssueComment";var fj=function(a){r.call(this,a)};U(fj,r);f=fj.prototype;f.getCreatedTimeMicros=function(){return dj(this,2)};f.setCreatedTimeMicros=function(a){n(this,2,a)};f.getComponentId=function(){return wi(this,3)};f.setComponentId=function(a){return n(this,3,a)};f.hasComponentId=function(){return vi(this,3)};f.getVersion=function(){return dj(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return at(this,4)};f.getType=function(){return W(this,5,0)};
f.setType=function(a){return n(this,5,a)};f.hasType=function(){return cj(this,5)};f.getStatus=function(){return W(this,6,0)};f.setStatus=function(a){return n(this,6,a)};f.hasStatus=function(){return cj(this,6)};f.getPriority=function(){return W(this,7,0)};f.setPriority=function(a){return n(this,7,a)};f.hasPriority=function(){return cj(this,7)};f.getSeverity=function(){return W(this,8,0)};f.setSeverity=function(a){return n(this,8,a)};f.hasSeverity=function(){return cj(this,8)};
f.getTitle=function(){return V(this,9)};f.setTitle=function(a){return n(this,9,a)};f.getAttachmentId=function(){return Rs(this,14)};f.setAttachmentId=function(a){Us(this,14,a)};f.getPostmortemsList=function(){return Gh(this,35)};f.setPostmortemsList=function(a){Di(this,35,a)};f.setFoundInVersion=function(a){tb(this,19,a,void 0,Gh)};f.setTargetedToVersion=function(a){tb(this,20,a,void 0,Gh)};f.setVerifiedInVersion=function(a){tb(this,21,a,void 0,Gh)};f.getInProd=function(){return Gj(this,22)};
f.setInProd=function(a){Ij(this,22,a)};f.getHotlistIdList=function(){return Fh(this,23)};f.setHotlistIdList=function(a){hj(this,23,a)};f.getHotlistId=function(){return Rs(this,23)};f.setHotlistId=function(a){Us(this,23,a)};f.setCustomField=function(a,b){return Ds(this,24,Ci,a,b)};f.getRetention=function(){return W(this,42,0)};f.setRetention=function(a){n(this,42,a)};f.getIsDeleted=function(){return Gj(this,27)};f.setIsDeleted=function(a){Ij(this,27,a)};
f.getDeletionReason=function(){return W(this,28,0)};f.setDeletionReason=function(a){n(this,28,a)};f.getSignificanceOverride=function(){return W(this,29,0)};f.setSignificanceOverride=function(a){n(this,29,a)};f.getIsArchived=function(){return Gj(this,31)};f.setIsArchived=function(a){return Ij(this,31,a)};f.getComment=function(){return V(this,25)};f.setComment=function(a){n(this,25,a)};f.getFormattingMode=function(){return W(this,45,0)};f.setFormattingMode=function(a){return n(this,45,a)};
f.getSloStartTime=function(){return Z(this,yh,34)};f.setSloStartTime=function(a){Wi(this,yh,34,a)};f.getSloEndTime=function(){return Z(this,yh,54)};f.setSloEndTime=function(a){Wi(this,yh,54,a)};f.getSloSnoozeType=function(){return W(this,52,0)};f.setSloSnoozeType=function(a){n(this,52,a)};f.getEffort=function(){return Z(this,ij,50)};f.setEffort=function(a){Wi(this,ij,50,a)};f.hasEffort=function(){return Aj(this,ij,50)};f.getAccessLimitLevel=function(){return W(this,53,0)};
f.setAccessLimitLevel=function(a){n(this,53,a)};f.hasAccessLimitLevel=function(){return cj(this,53)};fj.repeatedFields_=[40,51,14,16,17,18,35,19,20,21,23,24,30];fj.prototype.toObject=function(){return y9b(this)};
var y9b=function(a){if(null!=a)return t(a),{authorUser:jD(Z(a,ei,36)),createdTimeMicros:p(m(a,2)),componentId:p(m(a,3)),version:p(m(a,4)),type:p(ir(a,5)),status:p(ir(a,6)),priority:p(ir(a,7)),severity:p(ir(a,8)),title:p(m(a,9)),reporterUser:jD(Z(a,ei,37)),assigneeUser:jD(Z(a,ei,38)),verifierUser:jD(Z(a,ei,39)),ccUsersList:Gb(Ch(a,ei,40),jD),collaboratorUsersList:Gb(Ch(a,ei,51),jD),attachmentIdList:p(Fh(a,14)),duplicateOfIssueId:p(m(a,15)),blockedByIssueIdList:p(Fh(a,16)),blockingIssueIdList:p(Fh(a,
17)),changelistList:p(Gh(a,18)),postmortemsList:p(Gh(a,35)),foundInVersionList:p(Gh(a,19)),targetedToVersionList:p(Gh(a,20)),verifiedInVersionList:p(Gh(a,21)),inProd:p($q(a,22)),hotlistIdList:p(Fh(a,23)),customFieldList:Gb(Ch(a,Ci,24),c8b),retention:p(ir(a,42)),isDeleted:p($q(a,27)),deletionReason:p(ir(a,28)),significanceOverride:p(ir(a,29)),duplicateIssueIdList:p(Fh(a,30)),isArchived:p($q(a,31)),comment:p(m(a,25)),formattingMode:p(ir(a,45)),sloStartTime:wt(a.getSloStartTime()),sloEndTime:wt(a.getSloEndTime()),
sloSnoozeType:p(ir(a,52)),effort:i8b(a.getEffort()),accessLimitLevel:p(ir(a,53))}};var tj=function(a){r.call(this,a,0,tj.messageId)};U(tj,r);f=tj.prototype;f.getStarred=function(){return Gj(this,1)};f.setStarred=function(a){Ij(this,1,a)};f.hasStarred=function(){return Ak(this,1)};f.getVoted=function(){return Gj(this,2)};f.setVoted=function(a){return Ij(this,2,a)};f.getNotificationSubscription=function(){return W(this,4,0)};f.setNotificationSubscription=function(a){return n(this,4,a)};f.toObject=function(){return z9b(this)};
var z9b=function(a){if(null!=a)return t(a),{starred:p($q(a,1)),voted:p($q(a,2)),notificationSubscription:p(ir(a,4)),lastViewedTimeMicros:p(m(a,5))}};tj.messageId="b.IssueUserData";var WD=function(a){r.call(this,a,0,WD.messageId)};U(WD,r);f=WD.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getUpdateText=function(){return V(this,2)};f.setUpdateText=function(a){n(this,2,a)};f.getFormattingMode=function(){return W(this,4,0)};f.setFormattingMode=function(a){return n(this,4,a)};f.getAuthor=function(){return Z(this,ei,5)};f.setAuthor=function(a){Wi(this,ei,5,a)};f.getUpdateTime=function(){return Z(this,yh,6)};
f.setUpdateTime=function(a){Wi(this,yh,6,a)};f.getVersion=function(){return Eh(this,7)};f.setVersion=function(a){return n(this,7,a)};f.getVersionOrUndefined=function(){return $s(this,7)};f.getEntityStatus=function(){return Z(this,SD,8)};f.toObject=function(){return A9b(this)};var A9b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),updateText:p(m(a,2)),formattedText:d9b(Z(a,Bj,3)),formattingMode:p(ir(a,4)),author:jD(a.getAuthor()),updateTime:wt(a.getUpdateTime()),version:p(Ms(a,7)),entityStatus:TD(a.getEntityStatus())}};
WD.messageId="b.StatusUpdate";var sj=function(a){r.call(this,a)};U(sj,r);f=sj.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setSnapshot=function(a){Ds(this,2,fj,a)};f.getUserData=function(){return Z(this,tj,3)};f.setUserData=function(a){Wi(this,tj,3,a)};f.getParentIssueIdsList=function(){return Fh(this,8)};f.setParentIssueIdsList=function(a){hj(this,8,a)};f.getAccessLimit=function(){return Z(this,Yh,5)};f.setAccessLimit=function(a){return Wi(this,Yh,5,a)};
f.getCustomFieldsList=function(){return Ch(this,Hi,15)};f.setCustomFieldsList=function(a){aj(this,15,a)};f.getDescription=function(){return Z(this,VD,16)};f.setDescription=function(a){return Wi(this,VD,16,a)};f.hasDescription=function(){return Aj(this,VD,16)};f.getVisibleFieldsList=function(){return Ch(this,zi,6)};f.setVisibleFieldsList=function(a){aj(this,6,a)};f.getAncestorsMap=function(){return ct(this,9,xj)};f.getChildIssueCount=function(){return Eh(this,10)};
f.setChildIssueCount=function(a){n(this,10,a)};f.getIsArchived=function(){return Gj(this,11)};f.setIsArchived=function(a){return Ij(this,11,a)};f.getRelatedLinksList=function(){return Ch(this,V8b,12)};f.getTrackerId=function(){return wi(this,13)};f.setTrackerId=function(a){n(this,13,a)};f.getStatusUpdate=function(){return Z(this,WD,14)};f.hasStatusUpdate=function(){return Aj(this,WD,14)};sj.repeatedFields_=[2,8,15,6,12];sj.prototype.toObject=function(){return XD(this)};
var XD=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),snapshotList:Gb(Ch(a,fj,2),y9b),userData:z9b(a.getUserData()),aggregatedData:t9b(Z(a,uj,4)),parentIssueIdsList:p(Fh(a,8)),accessLimit:Z7b(a.getAccessLimit()),customFieldsList:Gb(a.getCustomFieldsList(),d8b),description:x9b(a.getDescription()),visibleFieldsList:Gb(a.getVisibleFieldsList(),X7b),majorModifiedTimeMicros:p(m(a,7)),ancestorsMap:Ib(a.getAncestorsMap(),m8b),childIssueCount:p(Ms(a,10)),isArchived:p($q(a,11)),relatedLinksList:Gb(a.getRelatedLinksList(),
W8b),trackerId:p(m(a,13)),statusUpdate:A9b(a.getStatusUpdate())}};var rj=function(a){r.call(this,a,0,rj.messageId)};U(rj,r);f=rj.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getPosition=function(){return Eh(this,2)};f.setPosition=function(a){return n(this,2,a)};f.getIssue=function(){return Z(this,sj,3)};f.setIssue=function(a){Wi(this,sj,3,a)};f.toObject=function(){return B9b(this)};var B9b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),position:p(Ms(a,2)),issue:XD(a.getIssue())}};rj.messageId="b.HotlistIssue";var zj=function(a){r.call(this,a)};U(zj,r);f=zj.prototype;f.getSnapshot=function(){return Z(this,fj,1)};f.setSnapshot=function(a){Wi(this,fj,1,a)};f.getAttachmentsList=function(){return Gs(this,2)};f.setAttachmentsList=function(a){eJb(this,2,a)};f.getAttachments=function(){return kJb(this,2)};f.getTemplateId=function(){return wi(this,4)};f.setTemplateId=function(a){n(this,4,a)};f.getContentJudgement=function(){return Z(this,xi,5)};f.setContentJudgement=function(a){return Wi(this,xi,5,a)};
zj.repeatedFields_=[2,3];zj.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:y9b(this.getSnapshot()),attachmentsList:Jb(this.getAttachmentsList()),attachmentStringsList:p(Gh(this,3)),templateId:p(m(this,4)),contentJudgement:nD(this.getContentJudgement())}}else a=void 0;return a};var pj=function(a){r.call(this,a)};U(pj,r);f=pj.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getActionsList=function(){return Ch(this,oj,2)};f.setActionsList=function(a){aj(this,2,a)};f.getAttachmentsList=function(){return Gs(this,3)};f.setAttachmentsList=function(a){eJb(this,3,a)};f.getAttachments=function(){return kJb(this,3)};f.getSignificanceOverride=function(){return V(this,4)};f.setSignificanceOverride=function(a){n(this,4,a)};
pj.repeatedFields_=[2,3,5];pj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),actionsList:Gb(this.getActionsList(),r9b),attachmentsList:Jb(this.getAttachmentsList()),significanceOverride:p(m(this,4)),attachmentStringsList:p(Gh(this,5))}}else a=void 0;return a};var C9b=function(a){r.call(this,a)};U(C9b,r);f=C9b.prototype;f.getCount=function(){return Eh(this,2)};f.setCount=function(a){return n(this,2,a)};f.setS=function(a){n(this,3,a)};f.setP=function(a){return n(this,4,a)};f.getNextPageToken=function(){return V(this,5)};f.setTrackerIdsList=function(a){hj(this,6,a)};C9b.repeatedFields_=[6];
C9b.prototype.toObject=function(){if(null!=this){t(this);var a={q:p(m(this,1)),count:p(Ms(this,2)),s:p(m(this,3)),p:p(Ms(this,4)),nextPageToken:p(m(this,5)),trackerIdsList:p(Fh(this,6))}}else a=void 0;return a};var msa=function(a){r.call(this,a)};U(msa,r);f=msa.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComponentId=function(){return wi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return vi(this,2)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),componentId:p(m(this,2))}}else a=void 0;return a};var ksa=function(a){r.call(this,a)};U(ksa,r);f=ksa.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComponentId=function(){return wi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return vi(this,2)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),componentId:p(m(this,2))}}else a=void 0;return a};var yj=function(a){r.call(this,a)};U(yj,r);f=yj.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getRelation=function(){return W(this,3,0)};f.setRelation=function(a){n(this,3,a)};f.setActionType=function(a){n(this,4,a)};yj.repeatedFields_=[2];yj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),targetIdsList:p(Fh(this,2)),relation:p(ir(this,3)),actionType:p(ir(this,4))}}else a=void 0;return a};var nj=function(a){r.call(this,a,0,nj.messageId)};U(nj,r);nj.prototype.getIssueId=function(){return wi(this,1)};nj.prototype.setIssueId=function(a){return n(this,1,a)};nj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};nj.messageId="b.UnCcUserActionRequest";var YD=function(a){r.call(this,a,0,YD.messageId)};U(YD,r);YD.prototype.getIssueId=function(){return wi(this,1)};YD.prototype.setIssueId=function(a){return n(this,1,a)};YD.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};YD.messageId="b.UndeleteIssueRequest";var ZD=function(a){r.call(this,a)};U(ZD,r);ZD.prototype.getAccessLevel=function(){return W(this,1,0)};ZD.prototype.setAccessLevel=function(a){return n(this,1,a)};ZD.prototype.toObject=function(){return D9b(this)};var D9b=function(a){if(null!=a)return t(a),{accessLevel:p(ir(a,1))}};var $D=function(a){r.call(this,a,0,$D.messageId)};U($D,r);f=$D.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueAccessLimit=function(){return Z(this,ZD,2)};f.setIssueAccessLimit=function(a){Wi(this,ZD,2,a)};f.getAddedCollaboratorsList=function(){return Ch(this,ei,3)};f.setAddedCollaboratorsList=function(a){aj(this,3,a)};f.getRemovedCollaboratorsList=function(){return Ch(this,ei,4)};f.setRemovedCollaboratorsList=function(a){aj(this,4,a)};
$D.repeatedFields_=[3,4];$D.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueAccessLimit:D9b(this.getIssueAccessLimit()),addedCollaboratorsList:Gb(this.getAddedCollaboratorsList(),jD),removedCollaboratorsList:Gb(this.getRemovedCollaboratorsList(),jD)}}else a=void 0;return a};$D.messageId="b.UpdateIssueAccessLimitRequest";var qj=function(a){r.call(this,a)};U(qj,r);qj.prototype.setAddHotlistIdsList=function(a){hj(this,1,a)};qj.prototype.setRemoveHotlistIdsList=function(a){hj(this,2,a)};qj.prototype.getSignificanceOverride=function(){return W(this,4,0)};qj.prototype.setSignificanceOverride=function(a){n(this,4,a)};qj.repeatedFields_=[1,2];
qj.prototype.toObject=function(){if(null!=this){t(this);var a={addHotlistIdsList:p(Fh(this,1)),removeHotlistIdsList:p(Fh(this,2)),hotlistIssue:B9b(Z(this,rj,3)),significanceOverride:p(ir(this,4))}}else a=void 0;return a};var xsa=function(a){r.call(this,a)};U(xsa,r);f=xsa.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getRetention=function(){return W(this,2,0)};f.setRetention=function(a){n(this,2,a)};f.getSignificanceOverride=function(){return W(this,3,0)};f.setSignificanceOverride=function(a){n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),retention:p(ir(this,2)),significanceOverride:p(ir(this,3))}}else a=void 0;return a};var Ej=function(a){r.call(this,a)};U(Ej,r);Ej.prototype.getContentJudgement=function(){return Z(this,xi,2)};Ej.prototype.setContentJudgement=function(a){return Wi(this,xi,2,a)};Ej.prototype.toObject=function(){return E9b(this)};var E9b=function(a){if(null!=a)return t(a),{attachment:Jb(Dj(a,1)),contentJudgement:nD(a.getContentJudgement())}};var aE=function(a){r.call(this,a)};U(aE,r);aE.prototype.getIssueId=function(){return wi(this,1)};aE.prototype.setIssueId=function(a){return n(this,1,a)};aE.repeatedFields_=[3];aE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),attachmentsWithJudgementsList:Gb(Ch(this,Ej,3),E9b)}}else a=void 0;return a};var F9b=function(a){r.call(this,a)};U(F9b,r);f=F9b.prototype;f.getFilename=function(){return V(this,1)};f.setFilename=function(a){n(this,1,a)};f.getMimeType=function(){return V(this,2)};f.setMimeType=function(a){n(this,2,a)};f.getSize=function(){return dj(this,5)};f.setSize=function(a){return n(this,5,a)};f.toObject=function(){if(null!=this){t(this);var a={filename:p(m(this,1)),mimeType:p(m(this,2)),encryptedBlobId:p(m(this,3)),docId:p(m(this,4)),size:p(m(this,5))}}else a=void 0;return a};var Qsa=function(a){r.call(this,a)};U(Qsa,r);f=Qsa.prototype;f.getTeamId=function(){return dj(this,1)};f.setTeamId=function(a){return xb(this,1,a)};f.getScore=function(){return ej(this,2)};f.setScore=function(a){kj(this,2,a)};f.toObject=function(){return G9b(this)};var G9b=function(a){if(null!=a)return t(a),{teamId:dj(a,1),score:ej(a,2)}};var Kj=function(a){r.call(this,a)};U(Kj,r);f=Kj.prototype;f.getInherit=function(){return Gj(this,1)};f.setInherit=function(a){Ij(this,1,a)};f.getId=function(){return wi(this,2)};f.setId=function(a){return n(this,2,a)};f.toObject=function(){return H9b(this)};var H9b=function(a){if(null!=a)return t(a),{inherit:p($q(a,1)),id:p(m(a,2))}};var Hj=function(a){r.call(this,a)};U(Hj,r);Hj.prototype.getUser=function(){return Z(this,ei,1)};Hj.prototype.setUser=function(a){Wi(this,ei,1,a)};Hj.prototype.hasUser=function(){return Aj(this,ei,1)};Hj.prototype.toObject=function(){return I9b(this)};var I9b=function(a){if(null!=a)return t(a),{user:jD(a.getUser()),isLead:p($q(a,2))}};var Jj=function(a){r.call(this,a)};U(Jj,r);f=Jj.prototype;f.getInherit=function(){return Gj(this,1)};f.setInherit=function(a){Ij(this,1,a)};f.getSloId=function(){return wi(this,2)};f.setSloId=function(a){return n(this,2,a)};f.getComment=function(){return V(this,3)};f.setComment=function(a){n(this,3,a)};f.getSourceTeamId=function(){return wi(this,4)};f.setSourceTeamId=function(a){n(this,4,a)};f.toObject=function(){return J9b(this)};
var J9b=function(a){if(null!=a)return t(a),{inherit:p($q(a,1)),sloId:p(m(a,2)),comment:p(m(a,3)),sourceTeamId:p(m(a,4))}};var bE=function(a){r.call(this,a,0,bE.messageId)};U(bE,r);f=bE.prototype;f.getTeamId=function(){return wi(this,1)};f.setTeamId=function(a){return n(this,1,a)};f.getVersion=function(){return Eh(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return $s(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};
f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return tk(this,4)};f.getPathNamesList=function(){return Gh(this,5)};f.setPathNamesList=function(a){Di(this,5,a)};f.getPathIdsList=function(){return fl(this,10)};f.setPathIdsList=function(a){ob(this,10,a,bb)};f.getMembersList=function(){return Ch(this,Hj,7)};f.setMembersList=function(a){aj(this,7,a)};f.getDeleted=function(){return Gj(this,8)};
f.setDeleted=function(a){Ij(this,8,a)};f.getSlo=function(){return Z(this,Jj,11)};f.setSlo=function(a){Wi(this,Jj,11,a)};f.hasSlo=function(){return Aj(this,Jj,11)};bE.repeatedFields_=[5,10,6,7];bE.prototype.toObject=function(){return K9b(this)};
var K9b=function(a){if(null!=a)return t(a),{teamId:p(m(a,1)),version:p(Ms(a,2)),name:p(m(a,3)),description:p(m(a,4)),pathNamesList:p(Gh(a,5)),pathIdsList:p(fl(a,10)),collapsedPathNamesList:p(Gh(a,6)),membersList:Gb(a.getMembersList(),I9b),deleted:p($q(a,8)),estimatedComponentCount:p(m(a,9)),slo:J9b(a.getSlo()),sloLead:jD(Z(a,ei,12)),defaultSloLead:jD(Z(a,ei,13))}};bE.messageId="b.TeamState";var L9b=function(a){r.call(this,a)};U(L9b,r);f=L9b.prototype;f.getPathIdsList=function(){return Fh(this,1)};f.setPathIdsList=function(a){hj(this,1,a)};f.getPathNamesList=function(){return Gh(this,2)};f.setPathNamesList=function(a){Di(this,2,a)};f.getId=function(){return wi(this,3)};f.setId=function(a){return n(this,3,a)};f.getName=function(){return V(this,4)};f.setName=function(a){return n(this,4,a)};f.hasName=function(){return tk(this,4)};f.getNameOrUndefined=function(){return bt(this,4)};
f.getDescription=function(){return V(this,5)};f.setDescription=function(a){return n(this,5,a)};f.hasDescription=function(){return tk(this,5)};L9b.repeatedFields_=[1,2];L9b.prototype.toObject=function(){return M9b(this)};var M9b=function(a){if(null!=a)return t(a),{pathIdsList:p(Fh(a,1)),pathNamesList:p(Gh(a,2)),id:p(m(a,3)),name:p(m(a,4)),description:p(m(a,5))}};var N9b=function(a){r.call(this,a)};U(N9b,r);f=N9b.prototype;f.getId=function(){return wi(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return tk(this,2)};f.getNameOrUndefined=function(){return bt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return tk(this,3)};f.toObject=function(){return O9b(this)};
var O9b=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3))}};var Mj=function(a){r.call(this,a)};U(Mj,r);Mj.repeatedFields_=[1,2,4];Mj.prototype.toObject=function(){return P9b(this)};var P9b=function(a){if(null!=a)return t(a),{componentPathIdList:p(Fh(a,1)),componentPathNameList:p(Gh(a,2)),allCustomFieldList:Gb(Ch(a,Hi,4),d8b)}};var Qj=function(a){r.call(this,a,0,Qj.messageId)};U(Qj,r);f=Qj.prototype;f.getComponentId=function(){return wi(this,1)};f.setComponentId=function(a){return n(this,1,a)};f.hasComponentId=function(){return vi(this,1)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};
f.hasDescription=function(){return tk(this,4)};f.getArchived=function(){return Gj(this,5)};f.setArchived=function(a){Ij(this,5,a)};f.getCustomFieldId=function(){return Rs(this,7)};f.setCustomFieldId=function(a){return Us(this,7,a)};f.getHotlistIdList=function(){return Fh(this,8)};f.setHotlistIdList=function(a){hj(this,8,a)};f.getHotlistId=function(){return Rs(this,8)};f.setHotlistId=function(a){Us(this,8,a)};f.getTemplateId=function(){return Rs(this,9)};f.setTemplateId=function(a){Us(this,9,a)};
f.getAccessLimit=function(){return Z(this,Yh,12)};f.setAccessLimit=function(a){return Wi(this,Yh,12,a)};f.setCommentEditState=function(a){return n(this,15,a)};f.getSlo=function(){return Z(this,Ri,19)};f.setSlo=function(a){Wi(this,Ri,19,a)};f.hasSlo=function(){return Aj(this,Ri,19)};f.getRetentionSettings=function(){return Z(this,Oi,21)};f.setRetentionSettings=function(a){Wi(this,Oi,21,a)};f.hasRetentionSettings=function(){return Aj(this,Oi,21)};f.getTeam=function(){return Z(this,Kj,22)};
f.setTeam=function(a){Wi(this,Kj,22,a)};f.hasTeam=function(){return Aj(this,Kj,22)};f.getEffortSpec=function(){return Z(this,Ii,24)};f.getTeamSuggestionsList=function(){return Ch(this,Qsa,25)};f.setTeamSuggestionsList=function(a){aj(this,25,a)};f.getTrackerId=function(){return wi(this,26)};f.setTrackerId=function(a){n(this,26,a)};Qj.repeatedFields_=[6,7,8,9,25];Qj.prototype.toObject=function(){return cE(this)};
var cE=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),parentComponentId:p(m(a,2)),name:p(m(a,3)),description:p(m(a,4)),archived:p($q(a,5)),codenameList:p(Gh(a,6)),customFieldIdList:p(Fh(a,7)),hotlistIdList:p(Fh(a,8)),templateIdList:p(Fh(a,9)),componentPathInfo:P9b(Z(a,Mj,10)),accessLimit:Z7b(a.getAccessLimit()),emailAlias:p(m(a,13)),userHasEditAccess:p($q(a,14)),commentEditState:p(ir(a,15)),defaultTemplateId:p(m(a,18)),slo:l9b(a.getSlo()),bugscopeSloId:p(m(a,20)),retentionSettings:g9b(a.getRetentionSettings()),
team:H9b(a.getTeam()),fieldOrdering:p(ir(a,23)),effortSpec:h8b(a.getEffortSpec()),teamSuggestionsList:Gb(a.getTeamSuggestionsList(),G9b),trackerId:p(m(a,26))}};Qj.messageId="b.Component";var Rj=function(a){r.call(this,a)};U(Rj,r);f=Rj.prototype;f.getTemplateId=function(){return dj(this,1)};f.setTemplateId=function(a){n(this,1,a)};f.getComponentId=function(){return wi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return vi(this,2)};f.getDefault=function(){return Gj(this,6)};f.setDefault=function(a){Ij(this,6,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};
f.getNameOrUndefined=function(){return bt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return tk(this,4)};f.getSnapshot=function(){return Z(this,fj,5)};f.setSnapshot=function(a){Wi(this,fj,5,a)};f.toObject=function(){return Q9b(this)};var Q9b=function(a){if(null!=a)return t(a),{templateId:p(m(a,1)),componentId:p(m(a,2)),pb_default:p($q(a,6)),name:p(m(a,3)),description:p(m(a,4)),snapshot:y9b(a.getSnapshot())}};var dE=function(a){r.call(this,a,0,dE.messageId)};U(dE,r);dE.prototype.getSlo=function(){return Z(this,Ri,1)};dE.prototype.setSlo=function(a){Wi(this,Ri,1,a)};dE.prototype.hasSlo=function(){return Aj(this,Ri,1)};dE.prototype.toObject=function(){if(null!=this){t(this);var a={slo:l9b(this.getSlo())}}else a=void 0;return a};dE.messageId="b.UpdateComponentSloRequest";var eE=function(a){r.call(this,a,0,eE.messageId)};U(eE,r);eE.prototype.getTeam=function(){return Z(this,Kj,1)};eE.prototype.setTeam=function(a){Wi(this,Kj,1,a)};eE.prototype.hasTeam=function(){return Aj(this,Kj,1)};eE.prototype.toObject=function(){if(null!=this){t(this);var a={team:H9b(this.getTeam())}}else a=void 0;return a};eE.messageId="b.UpdateComponentTeamRequest";var lk=function(a){r.call(this,a)};U(lk,r);f=lk.prototype;f.getActionsList=function(){return Ch(this,oj,1)};f.setActionsList=function(a){aj(this,1,a)};f.getIssueIdsList=function(){return Fh(this,2)};f.setIssueIdsList=function(a){return hj(this,2,a)};f.addIssueIds=function(a){sb(this,2,a)};lk.repeatedFields_=[1,2];lk.prototype.toObject=function(){return R9b(this)};var R9b=function(a){if(null!=a)return t(a),{actionsList:Gb(a.getActionsList(),r9b),issueIdsList:p(Fh(a,2))}};var fE=function(a){r.call(this,a)};U(fE,r);fE.prototype.getSignificanceOverride=function(){return V(this,3)};fE.prototype.setSignificanceOverride=function(a){n(this,3,a)};fE.repeatedFields_=[4];fE.prototype.toObject=function(){if(null!=this){t(this);var a={bulkEditOpsList:Gb(Ch(this,lk,4),R9b),significanceOverride:p(m(this,3))}}else a=void 0;return a};var pua=function(a){r.call(this,a)};U(pua,r);pua.prototype.toObject=function(){return S9b(this)};var S9b=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseTrustedResourceUrlWrappedValue:p(m(a,4))}};var T9b=function(a){return"action/issues/"+a+"/statusUpdate"},Qr={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"},U9b={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var sk=function(a){r.call(this,a,0,sk.messageId)};U(sk,r);sk.prototype.getLogoUrl=function(){return V(this,1)};sk.prototype.getTheme=function(){return W(this,2,0)};sk.prototype.setTheme=function(a){return n(this,2,a)};sk.prototype.toObject=function(){return V9b(this)};var V9b=function(a){if(null!=a)return t(a),{logoUrl:p(m(a,1)),theme:p(ir(a,2)),cocUrl:p(m(a,3))}};sk.messageId="b.Branding";var il=function(a){r.call(this,a,0,il.messageId)};U(il,r);f=il.prototype;f.getTrackerId=function(){return wi(this,1)};f.setTrackerId=function(a){n(this,1,a)};f.getComponentId=function(){return wi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return vi(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};il.repeatedFields_=[4,8];
il.prototype.toObject=function(){return W9b(this)};var W9b=function(a){if(null!=a)return t(a),{trackerId:p(m(a,1)),componentId:p(m(a,2)),name:p(m(a,3)),associatedTrackerIdsList:p(Fh(a,4)),internalBaseUrl:p(m(a,6)),externalBaseUrl:p(m(a,7)),branding:V9b(Z(a,sk,5)),trustedCollaboratorsList:Gb(Ch(a,ei,8),jD)}};il.messageId="b.Tracker";var Kta={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"},X9b={},Y9b=(X9b[3]="LITERAL_FORMATTING_MODE",X9b[1]="PLAIN_FORMATTING_MODE",X9b[2]="MARKDOWN_FORMATTING_MODE",X9b),Z9b=Y9b[2],$9b=Y9b[1],gE={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 vk=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};vk.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};vk.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};vk.prototype.toString=function(){return this.toApiUrlParam()};var zk=function(a,b){this.fieldId=a;this.direction=b};zk.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};zk.prototype.toString=function(){return this.toApiUrlParam()};var Jk=function(a){r.call(this,a)};U(Jk,r);Jk.prototype.toObject=function(){return a$b(this)};var a$b=function(a){if(null!=a)return t(a),{announcementDismissed:p($q(a,2)),enableBugScreensaver:p($q(a,1))}};var Ok=function(a){r.call(this,a)};U(Ok,r);Ok.prototype.toObject=function(){return b$b(this)};var b$b=function(a){if(null!=a)return t(a),{commentFilter:p(ir(a,1))}};var Zk=function(a){r.call(this,a)};U(Zk,r);f=Zk.prototype;f.getType=function(){return W(this,1,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getCustomFieldId=function(){return dj(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return Lk(this,2)};f.toObject=function(){return c$b(this)};var c$b=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),customFieldId:p(m(a,2))}};var Wk=function(a){r.call(this,a)};U(Wk,r);Wk.prototype.getTimeZone=function(){return V(this,5)};Wk.prototype.setTimeZone=function(a){return n(this,5,a)};Wk.prototype.hasTimeZone=function(){return tk(this,5)};Wk.prototype.toObject=function(){return d$b(this)};var d$b=function(a){if(null!=a)return t(a),{calendarFormat:p(m(a,1)),timeFormat:p(m(a,2)),calendarTimeFormat:p(m(a,3)),fullCalendarTimeFormat:p(m(a,4)),timeZone:p(m(a,5)),timeZoneOffset:p(m(a,6)),sloEtaViewAs:p(ir(a,7))}};var Sk=function(a){r.call(this,a)};U(Sk,r);Sk.prototype.getColumnList=function(){return Ch(this,Zk,1)};Sk.prototype.setColumnList=function(a){return aj(this,1,a)};Sk.prototype.setColumn=function(a){return Ds(this,1,Zk,a)};Sk.repeatedFields_=[1];Sk.prototype.toObject=function(){return e$b(this)};var e$b=function(a){if(null!=a)return t(a),{columnList:Gb(a.getColumnList(),c$b)}};var Vk=function(a){r.call(this,a)};U(Vk,r);Vk.prototype.toObject=function(){return f$b(this)};var f$b=function(a){if(null!=a)return t(a),{leftSidebarWidth:p(Ms(a,1)),expandIssueSlo:p($q(a,2)),rightSidebarWidth:p(Ms(a,3))}};var Ek=function(a){r.call(this,a)};U(Ek,r);Ek.prototype.toObject=function(){return g$b(this)};var g$b=function(a){if(null!=a)return t(a),{showHotlists:p($q(a,1)),wrapTitles:p($q(a,2)),wrapComponents:p($q(a,3)),showStatusIcons:p($q(a,4)),rtlComponentPath:p($q(a,5)),fieldStatusMap:Ib(nb(a,6,gb)),modeForFieldMap:Ib(nb(a,7,gb))}};var al=function(a){r.call(this,a)};U(al,r);al.prototype.getColumn=function(){return Z(this,Zk,1)};al.prototype.setColumn=function(a){return Wi(this,Zk,1,a)};al.prototype.toObject=function(){return h$b(this)};var h$b=function(a){if(null!=a)return t(a),{column:c$b(a.getColumn()),order:p(ir(a,2))}};var Tk=function(a){r.call(this,a)};U(Tk,r);Tk.prototype.getColumnList=function(){return Ch(this,al,1)};Tk.prototype.setColumnList=function(a){return aj(this,1,a)};Tk.prototype.setColumn=function(a){return Ds(this,1,al,a)};Tk.repeatedFields_=[1];Tk.prototype.toObject=function(){return i$b(this)};var i$b=function(a){if(null!=a)return t(a),{columnList:Gb(a.getColumnList(),h$b)}};var Fk=function(a){r.call(this,a)};U(Fk,r);Fk.prototype.getDensity=function(){return W(this,1,1)};Fk.prototype.setDensity=function(a){return n(this,1,a)};Fk.prototype.toObject=function(){return j$b(this)};var j$b=function(a){if(null!=a)return t(a),{density:p(ir(a,1))}};var Kk=function(a){r.call(this,a)};U(Kk,r);Kk.prototype.toObject=function(){return k$b(this)};var k$b=function(a){if(null!=a)return t(a),{announcementDismissedMillis:p(m(a,1))}};var Xk=function(a){r.call(this,a)};U(Xk,r);f=Xk.prototype;f.getResourceType=function(){return W(this,1,1)};f.setResourceType=function(a){n(this,1,a)};f.hasResourceType=function(){return cj(this,1)};f.getResourceId=function(){return wi(this,2)};f.setResourceId=function(a){n(this,2,a)};f.hasResourceId=function(){return vi(this,2)};f.toObject=function(){return l$b(this)};var l$b=function(a){if(null!=a)return t(a),{resourceType:p(ir(a,1)),resourceId:p(m(a,2))}};var Gk=function(a){r.call(this,a)};U(Gk,r);Gk.prototype.toObject=function(){return m$b(this)};var m$b=function(a){if(null!=a)return t(a),{enableAllHotkeys:Gj(a,1,!0)}};var Pk=function(a){r.call(this,a)};U(Pk,r);Pk.repeatedFields_=[1];Pk.prototype.toObject=function(){return n$b(this)};var n$b=function(a){if(null!=a)return t(a),{selectedSignalsList:p(Qk(a,1))}};var Ck=function(a){r.call(this,a)};U(Ck,r);Ck.prototype.toObject=function(){return o$b(this)};var o$b=function(a){if(null!=a)return t(a),{reportedPriority:p(ir(a,1)),assignedPriority:p(ir(a,2)),verifiedPriority:p(ir(a,3)),ccdPriority:p(ir(a,4)),collaboratorPriority:p(ir(a,9)),starredPriority:p(ir(a,5)),excludeChangesByMe:p($q(a,6)),unsubscribeFromAll:p($q(a,7)),enableV2Prefs:p($q(a,8))}};var Nk=function(a){r.call(this,a)};U(Nk,r);Nk.prototype.getComponentId=function(){return dj(this,1)};Nk.prototype.setComponentId=function(a){return n(this,1,a)};Nk.prototype.hasComponentId=function(){return Lk(this,1)};Nk.prototype.toObject=function(){return p$b(this)};var p$b=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),dismissMillis:p(m(a,2))}};var Mk=function(a){r.call(this,a)};U(Mk,r);var lua=function(a,b){aj(a,1,b)};Mk.repeatedFields_=[1];Mk.prototype.toObject=function(){return q$b(this)};var q$b=function(a){if(null!=a)return t(a),{componentTeamWarningsList:Gb(Ch(a,Nk,1),p$b)}};var Ik=function(a){r.call(this,a)};U(Ik,r);Ik.prototype.toObject=function(){return r$b(this)};var r$b=function(a){if(null!=a)return t(a),{lastPublishMode:p(ir(a,1)),commentDisplayOverride:p(ir(a,2))}};var s$b=function(a){r.call(this,a)};U(s$b,r);s$b.repeatedFields_=[1];s$b.prototype.toObject=function(){return t$b(this)};var t$b=function(a){if(null!=a)return t(a),{recentComponentIdList:p(fl(a,1))}};var u$b=function(a){r.call(this,a)};U(u$b,r);u$b.prototype.toObject=function(){return v$b(this)};var v$b=function(a){if(null!=a)return t(a),{enableNewIssueDetailsPage:p($q(a,1)),onboardingDialogAcknowledgedMillis:p(m(a,2)),newIdpOptOut:p($q(a,3))}};var w$b=function(a){r.call(this,a)};U(w$b,r);w$b.repeatedFields_=[1];w$b.prototype.toObject=function(){return x$b(this)};var x$b=function(a){if(null!=a)return t(a),{hiddenSavedSearchList:p(fl(a,1))}};var y$b=function(a){r.call(this,a)};U(y$b,r);y$b.prototype.getValue=function(){return Gj(this,1)};y$b.prototype.setValue=function(a){return vb(this,1,a)};y$b.prototype.toObject=function(){return z$b(this)};var z$b=function(a){if(null!=a)return t(a),{value:Gj(a,1)}};var Rk=function(a){r.call(this,a)};U(Rk,r);f=Rk.prototype;f.getDisplayColumns=function(){return Z(this,Sk,4)};f.getSortColumns=function(){return Z(this,Tk,6)};f.getLayoutPreferences=function(){return Z(this,Vk,10)};f.getDateTimePreferences=function(){return Z(this,Wk,11)};f.getHomepagePreferences=function(){return Z(this,Xk,13)};f.clearHomepagePreferences=function(){return Hs(this,13)};f.getShowInlineImages=function(){return Gj(this,29)};f.toObject=function(){return A$b(this)};
var A$b=function(a){if(null!=a)return t(a),{showFullHistory:p($q(a,1)),useCodefont:p($q(a,2)),notificationPreferences:o$b(Z(a,Ck,3)),displayColumns:e$b(a.getDisplayColumns()),resultsPerPage:p(Ms(a,5)),sortColumns:i$b(a.getSortColumns()),bannerMessageId:p(m(a,7)),themePreferences:j$b(Z(a,Fk,8)),listViewPreferences:g$b(Z(a,Ek,9)),layoutPreferences:f$b(a.getLayoutPreferences()),dateTimePreferences:d$b(a.getDateTimePreferences()),sidebarPreferences:x$b(Z(a,w$b,12)),homepagePreferences:l$b(a.getHomepagePreferences()),
componentPreferences:t$b(Z(a,s$b,14)),keyboardPreferences:m$b(Z(a,Gk,17)),termsAcknowledgedMillis:p(m(a,15)),newFeaturesAcknowledgedMillis:p(m(a,16)),autoCcOnComment:p($q(a,18)),enableMaterialStyles:z$b(Z(a,y$b,19)),textDisplayPreferences:r$b(Z(a,Ik,20)),bugScreensaverPreferences:a$b(Z(a,Jk,21)),newIssueDetailsPagePreferences:v$b(Z(a,u$b,22)),teamWarningPreferences:q$b(Z(a,Mk,23)),g3nPreferences:k$b(Z(a,Kk,24)),dismissalTimestampsMap:Ib(Sj(a,25,yh),wt),showRecentEventsFirst:p($q(a,26)),collapsedMap:Ib(nb(a,
27,db)),commentFilterPreferences:b$b(Z(a,Ok,28)),showInlineImages:p($q(a,29)),needsAttentionPreferences:n$b(Z(a,Pk,30))}};var cl=function(a){r.call(this,a)};U(cl,r);f=cl.prototype;f.getAnalyticsId=function(){return V(this,1)};f.getAppName=function(){return V(this,2)};f.getDocumentationBaseUrl=function(){return V(this,3)};f.getEnvironmentType=function(){return V(this,5)};f.getMaxAccurateSearchResults=function(){return Eh(this,6)};f.getOnePickUrl=function(){return V(this,7)};f.getOnePickSecretToken=function(){return V(this,12)};f.getCommentNumberLimit=function(){return Eh(this,8)};
f.getCreateComponentRedirectDelay=function(){return ej(this,9)};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return iJb(this,13)};f.getIssueAccessLimitsComponentAllowlist=function(){return iJb(this,18)};cl.repeatedFields_=[10,13,18];cl.prototype.toObject=function(){return B$b(this)};
var B$b=function(a){if(null!=a)return t(a),{analyticsId:p(m(a,1)),appName:p(m(a,2)),documentationBaseUrl:p(m(a,3)),enabledFlagsMap:Ib(nb(a,4,db)),environmentType:p(m(a,5)),maxAccurateSearchResults:p(Ms(a,6)),onePickUrl:p(m(a,7)),onePickSecretToken:p(m(a,12)),commentNumberLimit:p(Ms(a,8)),createComponentRedirectDelay:p(Es(a,9)),whitelistedWhitelistDomainPartnerComponentIdsList:p(Fh(a,10)),isDogfooder:p($q(a,11)),createRestrictedSubresourcesComponentWhitelistList:p(fl(a,13)),issueAccessLimitsComponentAllowlistList:p(fl(a,
18))}};var el=function(a){r.call(this,a)};U(el,r);f=el.prototype;f.getEmail=function(){return V(this,1)};f.setEmail=function(a){return n(this,1,a)};f.hasEmail=function(){return tk(this,1)};f.getSessionIdentifier=function(){return V(this,3)};f.getUserTypeLabel=function(){return V(this,5)};f.toObject=function(){return C$b(this)};var C$b=function(a){if(null!=a)return t(a),{anonymous:p($q(a,4)),email:p(m(a,1)),sessionIdentifier:p(m(a,3)),userTypeLabel:p(m(a,5))}};var gl=function(a){r.call(this,a,0,gl.messageId)};U(gl,r);gl.prototype.getId=function(){return V(this,1)};gl.prototype.setId=function(a){return n(this,1,a)};gl.repeatedFields_=[2,4];gl.prototype.toObject=function(){return D$b(this)};var D$b=function(a){if(null!=a)return t(a),{id:p(m(a,1)),namesList:p(Gh(a,2)),stdOffset:p(Ms(a,3)),transitionsList:p(Bh(a,4))}};gl.messageId="b.TimeZoneData";var hl=function(a){r.call(this,a,0,hl.messageId)};U(hl,r);f=hl.prototype;f.getMessage=function(){return V(this,1)};f.setMessage=function(a){n(this,1,a)};f.getMessageId=function(){return V(this,2)};f.getTagsList=function(){return Gh(this,4)};f.getTags=function(a){return Ss(this,4,a)};hl.repeatedFields_=[4];hl.prototype.toObject=function(){return E$b(this)};var E$b=function(a){if(null!=a)return t(a),{message:p(m(a,1)),messageId:p(m(a,2)),dismissible:p($q(a,3)),tagsList:p(Gh(a,4))}};hl.messageId="b.Announcement";var dl=function(a){r.call(this,a)};U(dl,r);dl.prototype.getAnnouncement=function(){return Z(this,hl,2)};dl.repeatedFields_=[1];dl.prototype.toObject=function(){return F$b(this)};var F$b=function(a){if(null!=a)return t(a),{timezonesList:Gb(Ch(a,gl,1),D$b),announcement:E$b(a.getAnnouncement())}};var nua=function(a){r.call(this,a)};U(nua,r);f=nua.prototype;f.getUser=function(){return Z(this,el,1)};f.setUser=function(a){Wi(this,el,1,a)};f.hasUser=function(){return Aj(this,el,1)};f.getConfig=function(){return Z(this,cl,2)};f.getXsrfToken=function(){return V(this,3)};f.getCspNonce=function(){return V(this,8)};f.getFrontendAccessMode=function(){return V(this,4)};f.getMustAcknowledgeTerms=function(){return Gj(this,5)};f.getShowNewFeaturesDialog=function(){return Gj(this,6)};
f.getUserPreferences=function(){return Z(this,Rk,7)};f.getAppBaseHref=function(){return V(this,10)};f.getTracker=function(){return Z(this,il,11)};f.getPassiveLoginIframeUrl=function(){return Z(this,pua,12)};
f.toObject=function(){if(null!=this){t(this);var a={user:C$b(this.getUser()),config:B$b(this.getConfig()),xsrfToken:p(m(this,3)),cspNonce:p(m(this,8)),frontendAccessMode:p(m(this,4)),mustAcknowledgeTerms:p($q(this,5)),showNewFeaturesDialog:p($q(this,6)),userPreferences:A$b(this.getUserPreferences()),preload:F$b(Z(this,dl,9)),appBaseHref:p(m(this,10)),tracker:W9b(this.getTracker()),passiveLoginIframeUrl:S9b(this.getPassiveLoginIframeUrl())}}else a=void 0;return a};var oua=window,bl;var ds=function(){this.session=jl();this.tracker=this.session.tracker||void 0};ds.prototype.getAppBaseHref=function(){return this.session.appBaseHref};ds.prototype.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};ds.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};ds.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var G$b=function(a){return"PARTNER"===a.getFrontendAccessMode()},H$b=function(a){return"PUBLIC"===a.getFrontendAccessMode()};ds.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var hE=function(a,b){return!!a.session.config.enabledFlags.get(b)};f=ds.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 vFa=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:nh(a,"Unknown environment type.")}};f=ds.prototype;f.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?vFa(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":vFa(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.getIssueAccessLimitsComponentAllowlist=function(){return this.session.config.issueAccessLimitsComponentAllowlist};f.getCspNonce=function(){return this.session.cspNonce};f.getAnnouncement=function(){return this.session.preload.announcement};
f.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};ds.\u0275fac=function(a){return new (a||ds)};ds.\u0275prov=mc({token:ds,factory:ds.\u0275fac,providedIn:"root"});var iE=new Nc("buganizerWindow",{factory:function(){return window}});var jE=function(){this.destroyed$=new E.ReplaySubject(1);this.subscriptions=new E.Subscription};jE.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};jE.\u0275fac=function(a){return new (a||jE)};jE.\u0275dir=Gc({type:jE});var kE=function(a,b){jE.call(this);this.$window=a;this.activeSession=b;a=E.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)};U(kE,jE);kE.\u0275dir=jE.\u0275dir;kE.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};kE.prototype.getTrackerId=function(){return this.trackerId$.value};
kE.\u0275fac=function(a){return new (a||kE)(u(iE),u(ds))};kE.\u0275prov=mc({token:kE,factory:kE.\u0275fac,providedIn:"root"});var lE=function(a){r.call(this,a,0,lE.messageId)};U(lE,r);lE.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};lE.messageId="f.mt";var mE=function(a){r.call(this,a,0,mE.messageId)};U(mE,r);mE.prototype.getIdsList=function(){return Fh(this,2)};mE.prototype.setIdsList=function(a){hj(this,2,a)};mE.prototype.getIds=function(){return Rs(this,2)};mE.prototype.setIds=function(a){return Us(this,2,a)};mE.repeatedFields_=[2];mE.prototype.toObject=function(){if(null!=this){t(this);var a={idsList:p(Fh(this,2))}}else a=void 0;return a};mE.messageId="b.BatchGetIssuesRequest";var nE=function(a){r.call(this,a,0,nE.messageId)};U(nE,r);nE.prototype.getIssuesList=function(){return Ch(this,sj,1)};nE.repeatedFields_=[1];nE.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Gb(this.getIssuesList(),XD)}}else a=void 0;return a};nE.messageId="b.BatchGetIssuesResponse";var mk=function(a){r.call(this,a)};U(mk,r);f=mk.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getMessage=function(){return V(this,2)};f.setMessage=function(a){n(this,2,a)};f.toObject=function(){return I$b(this)};var I$b=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),message:p(m(a,2))}};var oE=function(a){r.call(this,a,0,oE.messageId)};U(oE,r);oE.prototype.setErrors=function(a,b){Ds(this,2,mk,a,b)};oE.repeatedFields_=[2];oE.prototype.toObject=function(){if(null!=this){t(this);var a={affectedIssuesMap:Ib(Sj(this,1,sj),XD),errorsList:Gb(Ch(this,mk,2),I$b),componentMapMap:Ib(Sj(this,3,Qj),cE)}}else a=void 0;return a};oE.messageId="b.BulkEditResponse";var pE=function(a){r.call(this,a,0,pE.messageId)};U(pE,r);pE.prototype.getReadersList=function(){return Ch(this,oi,1)};pE.prototype.setReadersList=function(a){aj(this,1,a)};pE.prototype.getAppendersList=function(){return Ch(this,oi,2)};pE.prototype.setAppendersList=function(a){aj(this,2,a)};pE.repeatedFields_=[1,2,3];
pE.prototype.toObject=function(){if(null!=this){t(this);var a={readersList:Gb(this.getReadersList(),lD),appendersList:Gb(this.getAppendersList(),lD),writersList:Gb(Ch(this,oi,3),lD)}}else a=void 0;return a};pE.messageId="b.GetRetainedAccessPrincipalsResponse";var qE=function(a){r.call(this,a,0,qE.messageId)};U(qE,r);qE.prototype.getIssueId=function(){return wi(this,1)};qE.prototype.setIssueId=function(a){return n(this,1,a)};qE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};qE.messageId="b.IssueCreateResponse";var J$b=function(a){r.call(this,a)};U(J$b,r);J$b.prototype.toObject=function(){return K$b(this)};var K$b=function(a){if(null!=a)return t(a),{blobId:p(m(a,1)),blobGeneration:p(m(a,5)),readToken:p(m(a,2)),uploadMetadataContainer:Jb(no(a,3)),downloadReadHandle:Jb(no(a,4))}};var rE=function(a){r.call(this,a)};U(rE,r);rE.prototype.toObject=function(){return L$b(this)};var L$b=function(a){if(null!=a)return t(a),{bucketName:p(m(a,1)),objectName:p(m(a,2)),generation:p(m(a,7))}};var sE=function(a){r.call(this,a)};U(sE,r);f=sE.prototype;f.getLength=function(){return m(this,1)};f.getLength_legacyNullable=function(){return m(this,1)};f.getPath=function(){return m(this,3)};f.setPath=function(a){return n(this,3,a)};f.hasPath=function(){return tk(this,3)};f.getBlobRef=function(){return no(this,4)};f.getInline=function(){return no(this,5)};f.getObjectId=function(){return Z(this,rE,6)};f.setObjectId=function(a){Wi(this,rE,6,a)};f.getBlobstore2Info=function(){return Z(this,J$b,7)};
f.getCosmoBinaryReference=function(){return no(this,8)};f.getMd5Hash=function(){return no(this,10)};f.getSha1Hash=function(){return no(this,11)};f.toObject=function(){return tE(this)};
var tE=function(a){if(null!=a)return t(a),{length:p(m(a,1)),referenceType:p(ir(a,2)),path:p(m(a,3)),blobRef:Jb(a.getBlobRef()),inline:Jb(a.getInline()),objectId:L$b(a.getObjectId()),blobstore2Info:K$b(a.getBlobstore2Info()),cosmoBinaryReference:Jb(a.getCosmoBinaryReference()),crc32cHash:p(Ns(a,9)),md5Hash:Jb(a.getMd5Hash()),sha1Hash:Jb(a.getSha1Hash())}};var M$b=function(a){r.call(this,a)};U(M$b,r);M$b.prototype.toObject=function(){return N$b(this)};var N$b=function(a){if(null!=a)return t(a),{bestGuess:p(m(a,1)),fromHeader:p(m(a,2)),fromFileName:p(m(a,3)),fromUrlPath:p(m(a,4)),fromBytes:p(m(a,5))}};var O$b=function(a){r.call(this,a)};U(O$b,r);O$b.prototype.getObjectLocation=function(){return Z(this,sE,5)};O$b.prototype.toObject=function(){return P$b(this)};var P$b=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectSizeBytes:p(m(a,2)),chunkSizeBytes:p(m(a,3)),checksumsLocation:tE(Z(a,sE,4)),objectLocation:tE(a.getObjectLocation())}};var Q$b=function(a){r.call(this,a)};U(Q$b,r);Q$b.prototype.getObjectLocation=function(){return Z(this,sE,1)};Q$b.prototype.toObject=function(){return R$b(this)};var R$b=function(a){if(null!=a)return t(a),{objectLocation:tE(a.getObjectLocation())}};var S$b=function(a){r.call(this,a)};U(S$b,r);S$b.prototype.toObject=function(){return T$b(this)};var T$b=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectInfo:tE(Z(a,sE,2)),checksumsInfo:tE(Z(a,sE,3))}};var U$b=function(a){r.call(this,a)};U(U$b,r);U$b.prototype.toObject=function(){return V$b(this)};var V$b=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),originalObject:tE(Z(a,sE,2))}};var W$b=function(a){r.call(this,a)};U(W$b,r);W$b.prototype.toObject=function(){return X$b(this)};var X$b=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectSizeBytes:p(m(a,2))}};var Y$b=function(a){r.call(this,a)};U(Y$b,r);Y$b.prototype.toObject=function(){return Z$b(this)};var Z$b=function(a){if(null!=a)return t(a),{allowGzipCompression:p($q(a,1)),ignoreRange:p($q(a,2))}};var Fj=function(a){r.call(this,a)};U(Fj,r);f=Fj.prototype;f.getContentType=function(){return m(this,1)};f.getTimestamp=function(){return m(this,2)};f.setTimestamp=function(a){return n(this,2,a)};f.hasTimestamp=function(){return null!=m(this,2)};f.getToken=function(){return m(this,3)};f.setToken=function(a){return n(this,3,a)};f.getLength=function(){return m(this,4)};f.getLength_legacyNullable=function(){return m(this,4)};f.getFilename=function(){return m(this,5)};
f.setFilename=function(a){n(this,5,a)};f.getPath=function(){return m(this,7)};f.setPath=function(a){return n(this,7,a)};f.hasPath=function(){return tk(this,7)};f.getBlobRef=function(){return no(this,8)};f.getInline=function(){return no(this,9)};f.getHash=function(){return m(this,11)};f.setHash=function(a){n(this,11,a)};f.getObjectId=function(){return Z(this,rE,15)};f.setObjectId=function(a){Wi(this,rE,15,a)};f.getBlobstore2Info=function(){return Z(this,J$b,16)};
f.getMd5Hash=function(){return no(this,25)};f.getSha1Hash=function(){return no(this,26)};f.getCosmoBinaryReference=function(){return no(this,28)};Fj.repeatedFields_=[13];Fj.prototype.toObject=function(){return $$b(this)};
var $$b=function(a){if(null!=a)return t(a),{contentType:p(m(a,1)),timestamp:p(m(a,2)),token:p(m(a,3)),length:p(m(a,4)),filename:p(m(a,5)),referenceType:p(ir(a,6)),path:p(m(a,7)),blobRef:Jb(a.getBlobRef()),inline:Jb(a.getInline()),mediaId:Jb(no(a,10)),hash:p(m(a,11)),algorithm:p(m(a,12)),compositeMediaList:Gb(Ch(a,sE,13),tE),bigstoreObjectRef:Jb(no(a,14)),objectId:L$b(a.getObjectId()),blobstore2Info:K$b(a.getBlobstore2Info()),diffVersionResponse:X$b(Z(a,W$b,17)),diffChecksumsResponse:P$b(Z(a,O$b,18)),
diffDownloadResponse:R$b(Z(a,Q$b,19)),diffUploadRequest:T$b(Z(a,S$b,20)),diffUploadResponse:V$b(Z(a,U$b,21)),contentTypeInfo:N$b(Z(a,M$b,22)),downloadParameters:Z$b(Z(a,Y$b,23)),crc32cHash:p(Ns(a,24)),md5Hash:Jb(a.getMd5Hash()),sha1Hash:Jb(a.getSha1Hash()),sha256Hash:Jb(no(a,30)),isPotentialRetry:Gj(a,27,!0),cosmoBinaryReference:Jb(a.getCosmoBinaryReference()),hashVerified:p($q(a,29))}};var uE=function(a){r.call(this,a,0,uE.messageId)};U(uE,r);f=uE.prototype;f.getAttachmentId=function(){return wi(this,1)};f.setAttachmentId=function(a){n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};f.getContentType=function(){return V(this,4)};f.getFilename=function(){return V(this,5)};f.setFilename=function(a){n(this,5,a)};f.getLength=function(){return dj(this,6)};
f.getEtag=function(){return V(this,8)};f.setEtag=function(a){n(this,8,a)};f.hasEtag=function(){return tk(this,8)};f.getContentVerdict=function(){return Z(this,pk,9)};f.getEntityStatus=function(){return Z(this,SD,10)};f.getPiiRetentionState=function(){return Z(this,vj,12)};f.getPiiRetention=function(){return W(this,13,0)};f.setPiiRetention=function(a){return n(this,13,a)};f.toObject=function(){return aac(this)};
var aac=function(a){if(null!=a)return t(a),{attachmentId:p(m(a,1)),description:p(m(a,2)),media:$$b(Z(a,Fj,3)),contentType:p(m(a,4)),filename:p(m(a,5)),length:p(m(a,6)),filecompUrl:p(m(a,7)),etag:p(m(a,8)),contentVerdict:f9b(a.getContentVerdict()),entityStatus:TD(a.getEntityStatus()),piiRetentionState:h9b(a.getPiiRetentionState()),piiRetention:p(ir(a,13))}};uE.messageId="b.Attachment";var Yj=function(a){r.call(this,a)};U(Yj,r);f=Yj.prototype;f.getOldValue=function(){return V(this,1)};f.getNewValue=function(){return V(this,2)};f.getCustomFieldId=function(){return dj(this,3)};f.setCustomFieldId=function(a){return n(this,3,a)};f.hasCustomFieldId=function(){return Lk(this,3)};f.toObject=function(){return bac(this)};var bac=function(a){if(null!=a)return t(a),{oldValue:p(m(a,1)),newValue:p(m(a,2)),customFieldId:p(m(a,3))}};var cac=function(a){r.call(this,a)};U(cac,r);f=cac.prototype;f.getHref=function(){return V(this,1)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return tk(this,2)};f.toObject=function(){return dac(this)};var dac=function(a){if(null!=a)return t(a),{href:p(m(a,1)),value:p(m(a,2))}};var bk=function(a){r.call(this,a)};U(bk,r);bk.prototype.getAddedList=function(){return Ch(this,cac,1)};bk.prototype.getRemovedList=function(){return Ch(this,cac,2)};bk.repeatedFields_=[1,2];bk.prototype.toObject=function(){return eac(this)};var eac=function(a){if(null!=a)return t(a),{addedList:Gb(a.getAddedList(),dac),removedList:Gb(a.getRemovedList(),dac)}};var Xj=function(a){r.call(this,a)};U(Xj,r);Xj.prototype.getOldValue=function(){return V(this,1)};Xj.prototype.getNewValue=function(){return V(this,2)};Xj.prototype.toObject=function(){return fac(this)};var fac=function(a){if(null!=a)return t(a),{oldValue:p(m(a,1)),newValue:p(m(a,2))}};var Vj=function(a){r.call(this,a)};U(Vj,r);Vj.prototype.toObject=function(){return gac(this)};var gac=function(a){if(null!=a)return t(a),{oldUser:jD(Z(a,ei,1)),newUser:jD(Z(a,ei,2))}};var Tj=function(a){r.call(this,a)};U(Tj,r);var Wj=[1,2];Tj.prototype.toObject=function(){return hac(this)};var hac=function(a){if(null!=a)return t(a),{userDiff:gac(Pj(a,Vj,1,Wj)),stringDiff:fac(Pj(a,Xj,2,Wj))}};var ck=function(a){r.call(this,a)};U(ck,r);ck.prototype.getEntityStatus=function(){return Z(this,SD,1)};ck.prototype.toObject=function(){return iac(this)};var iac=function(a){if(null!=a)return t(a),{entityStatus:TD(a.getEntityStatus())}};var ak=function(a){r.call(this,a)};U(ak,r);ak.prototype.getAddedList=function(){return Gh(this,1)};ak.prototype.getRemovedList=function(){return Gh(this,2)};ak.repeatedFields_=[1,2];ak.prototype.toObject=function(){return jac(this)};var jac=function(a){if(null!=a)return t(a),{addedList:p(Gh(a,1)),removedList:p(Gh(a,2))}};var Zj=function(a){r.call(this,a)};U(Zj,r);Zj.prototype.getAddedList=function(){return Ch(this,ei,1)};Zj.prototype.getRemovedList=function(){return Ch(this,ei,2)};Zj.repeatedFields_=[1,2];Zj.prototype.toObject=function(){return kac(this)};var kac=function(a){if(null!=a)return t(a),{addedList:Gb(a.getAddedList(),jD),removedList:Gb(a.getRemovedList(),jD)}};var gk=function(a){r.call(this,a,0,gk.messageId)};U(gk,r);f=gk.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return cj(this,3)};
f.getTimestamp=function(){return Z(this,yh,4)};f.setTimestamp=function(a){return Wi(this,yh,4,a)};f.hasTimestamp=function(){return Aj(this,yh,4)};var Uj=[6,7,8,9,10,11];gk.prototype.toObject=function(){return lac(this)};
var lac=function(a){if(null!=a)return t(a),{name:p(m(a,1)),displayName:p(m(a,2)),type:p(ir(a,3)),timestamp:wt(a.getTimestamp()),important:p($q(a,5)),singleValueDiff:hac(Pj(a,Tj,6,Uj)),collectionDiff:jac(Pj(a,ak,7,Uj)),linkedCollectionDiff:eac(Pj(a,bk,8,Uj)),customFieldDiff:bac(Pj(a,Yj,9,Uj)),userCollectionDiff:kac(Pj(a,Zj,10,Uj)),statusUpdateDiff:iac(Pj(a,ck,11,Uj))}};gk.messageId="b.EventDiff";var hk=function(a){r.call(this,a)};U(hk,r);hk.prototype.getTag=function(){return V(this,1)};hk.prototype.getText=function(){return V(this,2)};hk.prototype.setText=function(a){return n(this,2,a)};hk.prototype.toObject=function(){return mac(this)};var mac=function(a){if(null!=a)return t(a),{tag:p(m(a,1)),text:p(m(a,2))}};var jk=function(a){r.call(this,a,0,jk.messageId)};U(jk,r);f=jk.prototype;f.getComment=function(){return Z(this,VD,6)};f.setComment=function(a){Wi(this,VD,6,a)};f.getAttachmentsList=function(){return Ch(this,uE,10)};f.setAttachmentsList=function(a){aj(this,10,a)};f.getVersion=function(){return dj(this,7)};f.setVersion=function(a){return n(this,7,a)};f.getVersionOrUndefined=function(){return at(this,7)};f.getStatusUpdate=function(){return Z(this,WD,13)};
f.hasStatusUpdate=function(){return Aj(this,WD,13)};jk.repeatedFields_=[2,3,10,9];jk.prototype.toObject=function(){return nac(this)};
var nac=function(a){if(null!=a)return t(a),{preDiffsList:Gb(Ch(a,gk,2),lac),postDiffsList:Gb(Ch(a,gk,3),lac),modifiedDate:wt(Z(a,yh,4)),userPerformingAction:jD(Z(a,ei,5)),isHumanAuthor:p($q(a,11)),isCollaboratorAuthor:p($q(a,12)),comment:x9b(a.getComment()),attachmentsList:Gb(a.getAttachmentsList(),aac),version:p(m(a,7)),isMajorEvent:p($q(a,8)),taggedSummaryList:Gb(Ch(a,hk,9),mac),statusUpdate:A9b(a.getStatusUpdate())}};jk.messageId="b.IssueEvent";var Gm=function(a){r.call(this,a,0,Gm.messageId)};U(Gm,r);Gm.prototype.getIssue=function(){return Z(this,sj,1)};Gm.prototype.setIssue=function(a){Wi(this,sj,1,a)};Gm.prototype.toObject=function(){return oac(this)};var oac=function(a){if(null!=a)return t(a),{issue:XD(a.getIssue()),firstEvent:nac(Z(a,jk,5))}};Gm.messageId="b.IssueFetchResponse";var vE=function(a){r.call(this,a,0,vE.messageId)};U(vE,r);vE.prototype.getIssuesList=function(){return Ch(this,sj,1)};vE.prototype.getNumTotalResults=function(){return Eh(this,2)};vE.prototype.getComponentsMap=function(){return Sj(this,3,Qj)};vE.prototype.getNextPageToken=function(){return V(this,5)};vE.repeatedFields_=[1];
vE.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Gb(this.getIssuesList(),XD),numTotalResults:p(Ms(this,2)),componentsMap:Ib(this.getComponentsMap(),cE),positionsMap:Ib(nb(this,4,Eba)),nextPageToken:p(m(this,5))}}else a=void 0;return a};vE.messageId="b.IssueSearchResponse";var wE=function(a){r.call(this,a,0,wE.messageId)};U(wE,r);wE.repeatedFields_=[1];wE.prototype.toObject=function(){if(null!=this){t(this);var a={issueEventsList:Gb(Ch(this,jk,1),nac)}}else a=void 0;return a};wE.messageId="b.ListIssueEventsResponse";var pac=function(a){r.call(this,a)};U(pac,r);f=pac.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getStatus=function(){return W(this,2,0)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return cj(this,2)};f.getTitle=function(){return V(this,3)};f.setTitle=function(a){return n(this,3,a)};f.getVersion=function(){return Eh(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return $s(this,4)};
f.getIsArchived=function(){return Gj(this,5)};f.setIsArchived=function(a){return Ij(this,5,a)};f.toObject=function(){return qac(this)};var qac=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),status:p(ir(a,2)),title:p(m(a,3)),version:p(Ms(a,4)),isArchived:p($q(a,5))}};var xE=function(a){r.call(this,a,0,xE.messageId)};U(xE,r);xE.prototype.getIssueDigestsList=function(){return Ch(this,pac,1)};xE.prototype.getNumTotalResults=function(){return dj(this,2)};xE.repeatedFields_=[1];xE.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Gb(this.getIssueDigestsList(),qac),numTotalResults:p(m(this,2))}}else a=void 0;return a};xE.messageId="b.RelatedIssuesResponse";var yE=function(){},zE=function(a,b){this.executor=a;this.currentTrackerId=b};f=zE.prototype;f.createIssue=function(a){var b=zsa(a),c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues",body:b,options:{headers:c},responseConstructor:qE}).pipe(D(Asa))};
f.createIssueWithWizard=function(a){var b=zsa(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:qE}).pipe(D(Asa))};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:Gm}).pipe(D(function(d){return kk(d)}))};
f.batchGetIssues=function(a){var b=new mE;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:nE}).pipe(D(function(c){return c.getIssuesList().map(function(d){return fk(d)})}))};f.updateIssue=function(a,b){b=rsa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Gm}).pipe(D(function(c){return kk(c)}))};f.moveIssueExternal=function(a,b){b=nsa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Gm}).pipe(D(function(c){return kk(c)}))};
f.moveIssue=function(a,b){b=lsa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Gm}).pipe(D(function(c){return kk(c)}))};f.unCcUser=function(a){var b=jsa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Gm}).pipe(D(function(c){return kk(c)}))};
f.updateAccessLimit=function(a,b,c,d){var e=(new $D).setIssueId(a);if(b){if(b=fsa[b])b=(new ZD).setAccessLevel(b),e.setIssueAccessLimit(b);c&&e.setAddedCollaboratorsList(c.map(fi));d&&e.setRemovedCollaboratorsList(d.map(fi))}return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:e,responseConstructor:lE})};
f.getRetainedAccessPrincipals=function(a,b,c,d){b=isa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:pE}).pipe(D(function(e){var g,h,l;return{readers:qi(null!=(g=e.getReadersList())?g:[]),appenders:qi(null!=(h=e.getAppendersList())?h:[]),writers:qi(null!=(l=Ch(e,oi,3))?l:[])}}))};f.relateIssue=function(a,b){b=wsa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:Gm}).pipe(D(function(c){return kk(c)}))};
f.updateIssueHotlists=function(a,b){b=tsa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Gm}).pipe(D(function(c){return kk(c)}))};f.updateIssueRetention=function(a,b){b=ysa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Gm}).pipe(D(function(c){return kk(c)}))};
f.listIssues=function(a,b){b=void 0===b?{}:b;var c=new C9b;n(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:vE}).pipe(D(Eta))};
f.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new fE;var d=a.bulkEditOps.map(qta);aj(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:oE,options:{headers:c}}).pipe(D(sta))};
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:xE}).pipe(D(usa))};
var rac=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:wE}).pipe(D(function(c){return Ch(c,jk,1).map(function(d){return nta(d)})}))};zE.\u0275fac=function(a){return new (a||zE)(u(ZC),u(kE))};zE.\u0275prov=mc({token:zE,factory:zE.\u0275fac,providedIn:"root"});var AE=function(a){this.observableApi=a};U(AE,yE);f=AE.prototype;f.createIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssue(a))};
f.createIssueWithWizard=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};f.getIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.getIssue(a))};f.batchGetIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.batchGetIssues(a))};f.updateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssue(a,b))};f.moveIssueExternal=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};
f.moveIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssue(a,b))};f.unCcUser=function(a){return(0,E.firstValueFrom)(this.observableApi.unCcUser(a))};f.updateAccessLimit=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};f.getRetainedAccessPrincipals=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};
f.relateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.relateIssue(a,b))};f.updateIssueHotlists=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};f.updateIssueRetention=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};f.listIssues=function(a,b){b=void 0===b?{}:b;return(0,E.firstValueFrom)(this.observableApi.listIssues(a,b))};
f.issueBulkEdit=function(a,b){return(0,E.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};f.getRelatedIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.getRelatedIssues(a))};AE.\u0275fac=function(a){return new (a||AE)(u(zE))};AE.\u0275prov=mc({token:AE,factory:AE.\u0275fac,providedIn:"root"});var BE=function(a){r.call(this,a)};U(BE,r);var CE=function(a,b){return xb(a,1,b)},sac=function(a,b){return xb(a,2,b)};BE.prototype.toObject=function(){return DE(this)};var DE=function(a){if(null!=a)return t(a),{targetIssueId:dj(a,1),afterIssueId:dj(a,2),targetIssue:Z8b(Z(a,KD,3))}};var tac=function(a){r.call(this,a)};U(tac,r);f=tac.prototype;f.getIssueId=function(){return dj(this,1)};f.setIssueId=function(a){return xb(this,1,a)};f.setRelationshipType=function(a){return Ni(this,2,a)};f.getIssueRelationship=function(){return Z(this,BE,3)};f.setIssueRelationship=function(a){return Wi(this,BE,3,a)};f.getSignificanceOverride=function(){return W(this,4,0)};f.setSignificanceOverride=function(a){Ni(this,4,a)};f.toObject=function(){return uac(this)};
var uac=function(a){if(null!=a)return t(a),{issueId:dj(a,1),relationshipType:W(a,2,0),issueRelationship:DE(a.getIssueRelationship()),significanceOverride:W(a,4,0)}};var EE=function(a){r.call(this,a,0,EE.messageId)};U(EE,r);f=EE.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setRelationshipType=function(a){return n(this,2,a)};f.getRequestsList=function(){return Ch(this,tac,3)};f.setRequestsList=function(a){return aj(this,3,a)};f.addAndReturnRequests=function(){return ub(this,3,tac)};f.getSignificanceOverride=function(){return W(this,4,0)};f.setSignificanceOverride=function(a){n(this,4,a)};
EE.repeatedFields_=[3];EE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),relationshipType:p(ir(this,2)),requestsList:Gb(this.getRequestsList(),uac),significanceOverride:p(ir(this,4))}}else a=void 0;return a};EE.messageId="b.BatchCreateIssueRelationshipsRequest";var FE=function(a){r.call(this,a,0,FE.messageId)};U(FE,r);FE.prototype.getIssueRelationshipsList=function(){return Ch(this,BE,1)};FE.repeatedFields_=[1];FE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Gb(this.getIssueRelationshipsList(),DE)}}else a=void 0;return a};FE.messageId="b.BatchCreateIssueRelationshipsResponse";var GE=function(a){r.call(this,a,0,GE.messageId)};U(GE,r);f=GE.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setRelationshipType=function(a){return n(this,2,a)};f.getSignificanceOverride=function(){return W(this,4,0)};f.setSignificanceOverride=function(a){n(this,4,a)};GE.repeatedFields_=[3];
GE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),relationshipType:p(ir(this,2)),targetIssueIdsList:p(Fh(this,3)),significanceOverride:p(ir(this,4))}}else a=void 0;return a};GE.messageId="b.BatchDeleteIssueRelationshipsRequest";var HE=function(a){r.call(this,a,0,HE.messageId)};U(HE,r);HE.prototype.getSourceIssueIdsList=function(){return Fh(this,1)};HE.prototype.setSourceIssueIdsList=function(a){return hj(this,1,a)};HE.prototype.setRelationshipType=function(a){return n(this,2,a)};HE.prototype.setIncludeArchived=function(a){return Ij(this,3,a)};HE.repeatedFields_=[1];
HE.prototype.toObject=function(){if(null!=this){t(this);var a={sourceIssueIdsList:p(Fh(this,1)),relationshipType:p(ir(this,2)),includeArchived:p($q(this,3))}}else a=void 0;return a};HE.messageId="b.BatchGetIssueRelationshipsRequest";var IE=function(a){r.call(this,a)};U(IE,r);IE.prototype.getIssueRelationshipsList=function(){return Ch(this,BE,1)};IE.prototype.getTotalSize=function(){return Eh(this,2)};IE.repeatedFields_=[1];IE.prototype.toObject=function(){return vac(this)};var vac=function(a){if(null!=a)return t(a),{sourceIssueId:dj(a,3),issueRelationshipsList:Gb(a.getIssueRelationshipsList(),DE),totalSize:Eh(a,2)}};var JE=function(a){r.call(this,a,0,JE.messageId)};U(JE,r);JE.repeatedFields_=[1];JE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesList:Gb(Ch(this,IE,1),vac)}}else a=void 0;return a};JE.messageId="b.BatchGetIssueRelationshipsResponse";var KE=function(a){r.call(this,a,0,KE.messageId)};U(KE,r);KE.prototype.getIssueRelationship=function(){return Z(this,BE,1)};KE.prototype.setIssueRelationship=function(a){return Wi(this,BE,1,a)};KE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:DE(this.getIssueRelationship())}}else a=void 0;return a};KE.messageId="b.CreateIssueRelationshipResponse";var LE=function(a){r.call(this,a,0,LE.messageId)};U(LE,r);var wac=function(a,b){return hj(a,1,b)};LE.prototype.setRelationshipType=function(a){return n(this,2,a)};LE.prototype.setIncludeArchived=function(a){return Ij(this,3,a)};var xac=function(a,b){return n(a,4,b)},yac=function(a,b){return n(a,5,b)};LE.repeatedFields_=[1];
LE.prototype.toObject=function(){if(null!=this){t(this);var a={rootIssueIdsList:p(Fh(this,1)),relationshipType:p(ir(this,2)),includeArchived:p($q(this,3)),depthLimit:p(Ms(this,4)),prefixSizeLimit:p(Ms(this,5))}}else a=void 0;return a};LE.messageId="b.GetIssueDescendantsRequest";var zac=function(a){r.call(this,a,0,zac.messageId)};U(zac,r);zac.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesMap:Ib(ct(this,1,IE),vac)}}else a=void 0;return a};zac.messageId="b.GetIssueDescendantsResponse";var ME=function(a){r.call(this,a,0,ME.messageId)};U(ME,r);ME.prototype.getIssueRelationshipsList=function(){return Ch(this,BE,1)};ME.repeatedFields_=[1];ME.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Gb(this.getIssueRelationshipsList(),DE)}}else a=void 0;return a};ME.messageId="b.ListIssueRelationshipsResponse";var NE=function(a){r.call(this,a,0,NE.messageId)};U(NE,r);NE.prototype.getIssueRelationship=function(){return Z(this,BE,1)};NE.prototype.setIssueRelationship=function(a){return Wi(this,BE,1,a)};NE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:DE(this.getIssueRelationship())}}else a=void 0;return a};NE.messageId="b.UpdateIssueRelationshipResponse";var OE=function(a){this.executor=a};f=OE.prototype;f.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+b,responseConstructor:ME}).pipe(D(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:KE}).pipe(D(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new BE}))};
f.update=function(a,b,c){return this.executor.put({url:"action/issues/"+a+"/relationships/"+dj(c,1)+"?relationshipType="+b,body:c,responseConstructor:NE}).pipe(D(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new BE}))};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 HE).setSourceIssueIdsList(a).setRelationshipType(b).setIncludeArchived(c);return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:JE}).pipe(D(function(d){return Ch(d,IE,1)}))};
var Aac=function(a,b,c){c=c.map(function(d){return(new tac).setIssueRelationship(d)});b=(new EE).setIssueId(b).setRelationshipType(1).setRequestsList(c);return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:FE}).pipe(D(function(d){return d.getIssueRelationshipsList()}))},Bac=function(a,b,c){b=(new GE).setIssueId(b).setRelationshipType(1);c=hj(b,3,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:c,responseConstructor:null})};
OE.prototype.getDescendants=function(a){var b=a.issueIds,c=a.relationshipType,d=a.includeArchived,e=a.depthLimit;a=a.prefixSizeLimit;b=yac(xac(wac(new LE,b).setRelationshipType(c).setIncludeArchived(d),e),a);return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:zac}).pipe(D(function(g){var h=new Map;g=k(ct(g,1,IE).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}))};
OE.\u0275fac=function(a){return new (a||OE)(u(ZC))};OE.\u0275prov=mc({token:OE,factory:OE.\u0275fac,providedIn:"root"});var rua=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var PE=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,""]]),QE=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 RE={},SE=(RE[0]=QE.get(0),RE[1]=QE.get(1),RE[2]=QE.get(2),RE[3]=QE.get(3),RE[4]=QE.get(4),RE[5]=QE.get(5),RE[10]=QE.get(10),RE[9]=QE.get(9),RE[6]=QE.get(6),RE[8]=QE.get(8),RE[7]=QE.get(7),RE),Cac=Aua(SE,bj),TE={},Wua=(TE.STATUS_UNSPECIFIED=0,TE.NEW=10,TE.ASSIGNED=20,TE.ACCEPTED=30,TE.FIXED=40,TE.VERIFIED=50,TE.DUPLICATE=60,TE.INFEASIBLE=70,TE.NOT_REPRODUCIBLE=80,TE.OBSOLETE=90,TE.INTENDED_BEHAVIOR=100,TE),UE={},Dac=(UE.ASSIGNED=!0,UE.ACCEPTED=!0,UE.FIXED=!0,UE.VERIFIED=!0,UE.DUPLICATE=!0,UE.INFEASIBLE=
!0,UE.NOT_REPRODUCIBLE=!0,UE.OBSOLETE=!0,UE.INTENDED_BEHAVIOR=!0,UE),VE={},WE=(VE[0]=PE.get(0),VE[1]=PE.get(1),VE[2]=PE.get(2),VE[3]=PE.get(3),VE[4]=PE.get(4),VE[5]=PE.get(5),VE[10]=PE.get(10),VE[9]=PE.get(9),VE[6]=PE.get(6),VE[8]=PE.get(8),VE[7]=PE.get(7),VE),ll=Aua(WE,bj),XE={},Eac=(XE.P0="P0",XE.P1="P1",XE.P2="P2",XE.P3="P3",XE.P4="P4",XE.PRIORITY_UNSPECIFIED="--",XE),YE={},Fac=(YE.S0="S0",YE.S1="S1",YE.S2="S2",YE.S3="S3",YE.S4="S4",YE.SEVERITY_UNSPECIFIED="--",YE),ZE={},Gac=(ZE[0]="",ZE[1]="Bug",
ZE[2]="Feature Request",ZE[3]="Customer Issue",ZE[4]="Internal Cleanup",ZE[5]="Process",ZE[6]="Vulnerability",ZE[7]="Privacy Issue",ZE[8]="Project",ZE[9]="Feature",ZE[10]="Milestone",ZE[11]="Epic",ZE[12]="Story",ZE[13]="Task",ZE),Hac=Aua(Gac,Tra),$E={},Iac=($E[0]="issue-status-wont-fix",$E[1]="issue-status-new",$E[2]="issue-status-assigned",$E[3]="issue-status-accepted",$E[4]="issue-status-fixed",$E[5]="issue-status-verified",$E[10]="issue-status-duplicate",$E[9]="issue-status-wont-fix",$E[6]="issue-status-wont-fix",
$E[8]="issue-status-wont-fix",$E[7]="issue-status-wont-fix",$E),Jac=Aua(Iac,bj);var Bua=function(a,b,c,d,e){this.status=a;this.displayValue=b;this.open=c;this.assigneeRequirement=d;this.sortOrder=e},aF={},ul=(aF.NEW=ml("NEW",!0,"FORBIDDEN",10),aF.ASSIGNED=ml("ASSIGNED",!0,"REQUIRED",20),aF.ACCEPTED=ml("ACCEPTED",!0,"REQUIRED",30),aF.FIXED=ml("FIXED",!1,"REQUIRED",40),aF.VERIFIED=ml("VERIFIED",!1,"REQUIRED",50),aF.DUPLICATE=ml("DUPLICATE",!1,"ALLOWED",60),aF.INFEASIBLE=ml("INFEASIBLE",!1,"ALLOWED",70),aF.NOT_REPRODUCIBLE=ml("NOT_REPRODUCIBLE",!1,"ALLOWED",80),aF.OBSOLETE=ml("OBSOLETE",
!1,"ALLOWED",90),aF.INTENDED_BEHAVIOR=ml("INTENDED_BEHAVIOR",!1,"ALLOWED",100),aF),Kac=[ul.NEW,ul.ASSIGNED,ul.ACCEPTED,ul.FIXED,ul.VERIFIED,ul.NOT_REPRODUCIBLE,ul.INTENDED_BEHAVIOR,ul.OBSOLETE,ul.INFEASIBLE,ul.DUPLICATE],Lac=Kac.map(function(a){return{value:a.status,displayText:a.displayValue}}),Mac=new Set(Object.values(Pb(ul,function(a){return"REQUIRED"===a.assigneeRequirement})));var Nac=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};f=Nac.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 Oac=function(a){this.cfg=a;this.cache=new Map},Pac=function(a,b){a=bF(a,b);return null==a?Infinity:a},bF=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:c.age()};Oac.prototype.isFresh=function(a){return Pac(this,a)<this.cfg.freshUntil};var Qac=function(a,b){return Pac(a,b)<=a.cfg.ancientAfter};f=Oac.prototype;f.isAncient=function(){var a=bF(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 Nac(b,this.cfg))};f.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new Nac(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 Rac={trustMemory:!0},Sac=function(){},fqa=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],Tac=function(a){this.ids=[];Object.assign(this,a)};U(Tac,Sac);Tac.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var Uac={freshUntil:1E4,ancientAfter:792E5},cF=function(a){var b=this;a=void 0===a?{}:a;this.error$=new E.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("dc`"+b.idKey+"`"+c);throw Error("ec`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new E.BehaviorSubject(Object.freeze({}));
this.inFlightSaves$=new E.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(D(hva));this.saving$=this.inFlightSaves$.pipe(D(hva));this.thinking$=(0,E.combineLatest)(this.getting$,this.saving$).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Be());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?gva:Vac({label:c,value:bF(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):uh(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=Wac(b,c))?e.next(d):vh("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=Vac({label:c,value:bF(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,eqa);b.collectiveMemory.set(c,g);e("all-isChanged");(e=b.collectionsById.get(c))?(d=b.dereference(g,d.results),e.next(d)):Mpa(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&&vh("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?hva(b.inFlightSaves):!!b.inFlightSaves[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(D(function(d){return!!d[c]}),Be())};this.isGetting=function(c){return null==c?hva(b.inFlightGets):!!b.inFlightGets[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?Rac:d;"number"===typeof d&&
(d=Rac);if(null==c)return(0,E.of)();"number"===typeof c&&(c=String(c));var e=Xac(b,c);Yac(b,c,d).catch(function(){});return GRb(e)};this.watchSet=function(c,d){d=void 0===d?Rac:d;"number"===typeof d&&(d=Rac);if(0===c.length)return(0,E.of)([]);c=c.map(function(g){return"number"===typeof g?String(g):g});var e=Wac(b,c);Zac(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?Rac:d;c=Object.assign({},b.defaultQuery,c);var e=$ac(b,c);b.getAll(c,d);return GRb(e)};this.save=function(c){var d=b.idForRecord(c);
if(null==d)throw Error("fc");c=b.doSave(c).pipe(Ae(0,E.asapScheduler),aja(),ae());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),abc(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};iva(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){jva(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};iva(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){jva(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?qva():Yac(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("gc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new Oac(Object.assign({},Uac,a));this.collectiveMemory=new Oac(Object.assign({},Uac,a))};f=cF.prototype;f.fetchOne=function(){throw Error("hc");};f.fetchAll=function(){throw Error("ic");};
f.fetchSet=function(){throw Error("jc");};f.doSave=function(){throw Error("kc");};f.copy=function(){throw Error("lc");};f.isEqual=function(a,b){return eqa(a,b,100)};
var Yac=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=Vac({label:b,value:bF(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&Qac(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),pva(c);if(a.inFlightGets[b])return c("one-inFlight"),c=Xac(a,b),ova(c).then(pva);c("one-fetch");var g=a.fetchOne(b).pipe(Ae(0,E.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)},abc(b,a.inFlightGets$))})},Zac=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(Pc(b)).sort().join("-")+"]",e=Vac({label:d});if(c&&bbc(a,b))cbc(a,b),e("set-trustMemory");else if(a.inFlightGets[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Ae(0,E.asapScheduler));e={};e=(e[d]=!0,e);for(var g=k(b),h=g.next();!h.done;h=g.next())e[h.value]=!0;iva(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(l){kva(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){kva(a.inFlightGets$,
[d].concat(Pc(b)))})}},bbc=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},cbc=function(a,b){var c=dbc(a,b).filter(ni);Wac(a,b).next(c)};
cF.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=lva(a);var d=Vac({label:b,value:bF(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=dbc(this,a.ids).filter(ni),a=this.dereference(a,b),Promise.resolve(a);if(this.inFlightGets[b])return d("all-inFlight"),a=$ac(this,a),ova(a);d("all-fetch");c=this.fetchAll(a).pipe(Ae(0,E.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,
this.inFlightGets$),abc(b,this.inFlightGets$));a=$ac(this,a);return ova(a)};cF.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Npa(a+" gotErr()",d);jva(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var abc=function(a,b){return function(){jva(b,a)}};cF.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new Tac(Object.assign({},nva(a),{ids:b}))};
cF.prototype.dereference=function(a,b){b=a.ids.map(this.dereferenceOne(b)).filter(Boolean);return Object.assign({},nva(a),{results:b})};
var dbc=function(a,b){return b.map(function(c){return a.memory.getData(c)})},$ac=function(a,b){b=lva(b);return mva(a.collectionsById,b,new E.ReplaySubject(1))},Wac=function(a,b){b="["+[].concat(Pc(b)).sort().join("-")+"]";return mva(a.setsByLabel,b,new E.ReplaySubject(1))},Xac=function(a,b){var c=new E.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return mva(a.valsById,b,c)},ebc=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(lva(b))};
cF.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(lva(a))};var dF=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)};
ch.Object.defineProperties(cF.prototype,{inFlightGets:{configurable:!0,enumerable:!0,get:function(){return this.inFlightGets$.getValue()}},inFlightSaves:{configurable:!0,enumerable:!0,get:function(){return this.inFlightSaves$.getValue()}}});var Vac=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(){}},eF=function(){cF.apply(this,arguments);this.defaultQuery={}};U(eF,cF);var fF=function(a){eF.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};U(fF,eF);fF.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:Uua(null==a?void 0:a.events,null==b?void 0:b.events)};fF.prototype.copy=function(a){return a&&Lh(a)};fF.prototype.fetchOne=function(a){return rac(this.observableIssueResources,a).pipe(D(function(b){return{id:a,events:b}}))};fF.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(ni)}))};
fF.\u0275fac=function(a){return new (a||fF)(u(zE))};fF.\u0275prov=mc({token:fF,factory:fF.\u0275fac,providedIn:"root"});var rva=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),uva=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var gF=function(a,b,c,d){this.issueApi=a;this.issueRelationshipApi=b;this.changelistApi=c;this.eventsForIssueFridge=d},hbc=function(a,b){var c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb;return de(function(qb){switch(qb.nextAddress){case 1:return b=ol(b),d=c=0,e=[],g=[],h=[],l=[],q=[],x=[],A=[],B=[],null==b||0===b.length?qb.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:g,hyperLinks:h,issueLinks:l,screenshots:q,goLinks:x,contributors:A,comments:B}):qb.yield(fbc(a,b),2);case 2:return K=
qb.yieldResult,O=[].concat(Pc(b)),Object.values(K).forEach(function(Ya){O.push.apply(O,Pc(Ya))}),O=ol(O),qb.yield(a.getIssues(O),3);case 3:P=qb.yieldResult;Y={};X=k(P);for(ka=X.next();!ka.done;ka=X.next())ma=ka.value,Y[ma.issueId]=ma;c=O.length-b.length;ya=k(b);Aa=ya.next();case 4:if(Aa.done){qb.jumpTo(6);break}Ma=Aa.value;return qb.yield(gbc(a,Ma,K,Y),7);case 7:Ra=qb.yieldResult;d+=Ra.openCount;e.push.apply(e,Pc(Ra.clIds));g.push.apply(g,Pc(Ra.pendingChangeLists));h.push.apply(h,Pc(Ra.hyperLinks));
l.push.apply(l,Pc(Ra.issueLinks));q.push.apply(q,Pc(Ra.screenshots));x.push.apply(x,Pc(Ra.goLinks));A.push.apply(A,Pc(Ra.contributors));B.push.apply(B,Pc(Ra.comments));Aa=ya.next();qb.jumpTo(4);break;case 6:return B.sort(function(Ya,wa){var Ka,Na,eb,ab;return(null==(Ka=wa.comments)?NaN:null==(Na=Ka[0])?NaN:Na.modifiedTime)-(null==(eb=Ya.comments)?NaN:null==(ab=eb[0])?NaN:ab.modifiedTime)}),Ta=g.map(function(Ya){return Ya.fixedIssueIds}).flat(),Lb=g.map(function(Ya){return Ya.issueIds}).flat(),qb.return({totalCount:c,
openCount:d,clIds:ol(e),pendingChangeLists:nl(g,function(Ya){return Ya.changelistNumber}),bugToPendingCl:new Map(Lb.map(function(Ya){return[Ya,g.find(function(wa){return wa.issueIds.includes(Ya)})]})),bugToPendingFixCl:new Map(Ta.map(function(Ya){return[Ya,g.find(function(wa){return wa.fixedIssueIds.includes(Ya)})]})),hyperLinks:ol(h),issueLinks:ol(l),screenshots:ol(q),goLinks:ol(x),contributors:ol(A),comments:B})}})},mbc=function(a,b){var c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,
Ya,wa,Ka;return de(function(Na){switch(Na.nextAddress){case 1:return b=ol(b),c=b.length,d=0,e=[],g=[],h=[],l=[],q=[],x=[],A=[],null==b||0===b.length?Na.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:[],hyperLinks:g,issueLinks:h,screenshots:l,goLinks:q,contributors:x,comments:A}):Na.yield(Promise.all([a.getIssues(b),ibc(a,b)]),2);case 2:B=Na.yieldResult,K=k(B),O=K.next().value,P=K.next().value,Y=O,X=P,Y.sort(function(eb,ab){return ab.majorModifiedTimeMicros-eb.majorModifiedTimeMicros}),
ka=10,ma=0,ya=k(Y),Aa=ya.next();case 3:if(Aa.done){Na.jumpTo(5);break}Ma=Aa.value;vl(Ma)&&(d+=1);Ra=jbc(Ma);e.push.apply(e,Pc(Ra));Ta=kbc(Ma);g.push.apply(g,Pc(Ta.hyperLinks));h.push.apply(h,Pc(Ta.issueLinks));q.push.apply(q,Pc(Ta.goLinks));l.push.apply(l,Pc(Ta.screenshots));Lb=Qua(Ma);null!=Lb&&x.push(Lb);if(!(ma<ka)){Na.jumpTo(4);break}ee(Na,7);return Na.yield(lbc(a,Ma.issueId),9);case 9:qb=Na.yieldResult;0<qb.comments.length&&A.push(qb);ma+=1;ks(Na,4);break;case 7:Ya=he(Na),console.warn("fetch comments",
Ya);case 4:Aa=ya.next();Na.jumpTo(3);break;case 5:return e.sort(function(eb,ab){return Number(ab)-Number(eb)}),wa=X.map(function(eb){return eb.fixedIssueIds}).flat(),Ka=X.map(function(eb){return eb.issueIds}).flat(),Na.return({totalCount:c,openCount:d,clIds:ol(e),pendingChangeLists:nl(X,function(eb){return eb.changelistNumber}),bugToPendingCl:new Map(Ka.map(function(eb){return[eb,X.find(function(ab){return ab.issueIds.includes(eb)})]})),bugToPendingFixCl:new Map(wa.map(function(eb){return[eb,X.find(function(ab){return ab.fixedIssueIds.includes(eb)})]})),
hyperLinks:ol(g),issueLinks:ol(h),screenshots:ol(l),goLinks:ol(q),contributors:ol(x),comments:A})}})},gbc=function(a,b,c,d){var e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb;return de(function(Ya){switch(Ya.nextAddress){case 1:return g=e=0,h=[],l=[],q=[],x=[],A=[],B=[],K=[],O=nbc(a,d[b],c,d),P=O.map(function(wa){return wa.issueId}),Ya.yield(ibc(a,P),2);case 2:Y=Ya.yieldResult,O.sort(function(wa,Ka){return Ka.majorModifiedTimeMicros-wa.majorModifiedTimeMicros}),X=10,ka=0,ma=k(O),ya=ma.next();
case 3:if(ya.done){Ya.jumpTo(5);break}Aa=ya.value;Aa.issueId!==b&&vl(Aa)&&(g+=1);Ma=jbc(Aa);h.push.apply(h,Pc(Ma));Ra=kbc(Aa);l.push.apply(l,Pc(Ra.hyperLinks));q.push.apply(q,Pc(Ra.issueLinks));A.push.apply(A,Pc(Ra.goLinks));x.push.apply(x,Pc(Ra.screenshots));Ta=Qua(Aa);null!=Ta&&B.push(Ta);if(!(ka<X)){Ya.jumpTo(4);break}ee(Ya,7);return Ya.yield(lbc(a,Aa.issueId),9);case 9:Lb=Ya.yieldResult;0<Lb.comments.length&&K.push(Lb);ka+=1;ks(Ya,4);break;case 7:qb=he(Ya),console.warn("fetch comments",qb);case 4:ya=
ma.next();Ya.jumpTo(3);break;case 5:return h.sort(function(wa,Ka){return Number(Ka)-Number(wa)}),Ya.return({totalCount:e,openCount:g,clIds:h,pendingChangeLists:Y,hyperLinks:l,issueLinks:q,screenshots:x,goLinks:A,contributors:B,comments:K})}})},nbc=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=nbc(a,d[g.value],c,d),e.push.apply(e,Pc(g));return e},jbc=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,Pc(a));return b},ibc=function(a,b){var c;return de(function(d){if(1==d.nextAddress){var e=d.yield,g=E.firstValueFrom;var h=a.changelistApi;var l=new D7b,q=l.setQuery;var x=(new bD).setIssueIdsList(b);x=n(x,2,2);l=q.call(l,x);h=h.executor.post({url:"action/changelists/list",body:l,responseConstructor:cD}).pipe(D(Upa));return e.call(d,g.call(E,h),2)}c=d.yieldResult;return d.return(c.changelists)})},fbc=function(a,b){var c,
d,e,g,h,l,q,x,A,B;return de(function(K){if(1==K.nextAddress)return c={},K.yield((0,E.firstValueFrom)(a.issueRelationshipApi.getDescendants({issueIds:b,relationshipType:1,includeArchived:!1,depthLimit:10,prefixSizeLimit:100})),2);d=K.yieldResult;e=k(d.entries());for(g=e.next();!g.done;g=e.next())h=g.value,l=k(h),q=l.next().value,x=l.next().value,A=q,B=x,c[String(A)]=B.getIssueRelationshipsList().map(function(O){return String(dj(O,1))});return K.return(c)})},kbc=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?(sva(g.href)?d.push(g.href):b.push(g.href),vva(g)&&e.push(g.href)):"issueReference"===g.type&&c.push(g.issueId);return{hyperLinks:b,issueLinks:c,goLinks:e,screenshots:d}},lbc=function(a,b){var c,d,e,g,h,l,q,x,A,B;return de(function(K){if(1==K.nextAddress)return c=3,d=new Set,e=[],K.yield((0,E.firstValueFrom)(a.eventsForIssueFridge.watchOne(b)),2);g=K.yieldResult;if(void 0===g)return K.return({issueId:b,comments:e});
h=k(g.events.reverse());for(l=h.next();!l.done&&!(q=l.value,rl(q)&&q.isHumanAuthor&&(x=q.commentNumber,null!==x&&!d.has(x)&&(d.add(x),A=q.unlinkifiedComment,B=q.commentLastModifiedAtDate,null!=A&&0<A.length&&null!=B&&e.push({commentNumber:x,content:A,modifiedTime:B}),d.size>=c)));l=h.next());return K.return({issueId:b,comments:e})})};
gF.prototype.getIssues=function(a){var b=this,c,d,e,g,h;return de(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=[];ee(l,5);return l.yield(b.issueApi.batchGetIssues(e),7);case 7:g=l.yieldResult;ks(l,6);break;case 5:h=he(l),console.warn("fetch issues",h);case 6:c.push.apply(c,Pc(g));d+=100;l.jumpTo(2);break;case 4:return l.return(c)}})};gF.\u0275fac=function(a){return new (a||gF)(u(AE),u(OE),u(eD),u(fF))};
gF.\u0275prov=mc({token:gF,factory:gF.\u0275fac,providedIn:"root"});var obc=["needs-attention-table","needs-attention-cards","pinned-issues","working-on-this-week","mvp-needs-attention"],pbc="my-projects-as-cards my-projects-as-tabs my-projects-as-tree recently-viewed-i-own pinned-issues working-on-this-week suggested-issues assigned-to-me recent-stuff-i-follow my-tasks-area".split(" "),qbc="team-activity-stream team-inbox tp-my-work tp-needs-input activity-stream assigned-to-me recent-stuff-i-follow my-tasks-area".split(" ");[].concat(Pc(obc),Pc(pbc),Pc(qbc));
var rbc=["children","immersed"];Pc(rbc);
var Mva=["assigned-to-me","recent-stuff-i-follow"],sbc={collapsed:{},projectFilters:[]},tbc={layout:"layout-b",showHiddenSettings:!1,sectionA:"",sectionW:"my-projects-as-cards",sectionT:"tp-my-work tp-needs-input",collapsed:{},projectFilters:["OPEN"],pinned:[],issuesThisWeek:{issues:[],weekNumber:0}},ubc={"2022-may":tbc,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"}},vbc="title assignee status id modifiedTime menu".split(" ");var wbc=jl(),Hl=Jl(wbc.user.email);var hF=function(){};hF.prototype.adapt=function(a){var b,c=new xbc(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};hF.\u0275fac=function(a){return new (a||hF)};hF.\u0275prov=mc({token:hF,factory:hF.\u0275fac,providedIn:"root"});
var xbc=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new E.Subject;this.inputs$=this.inputSubject.pipe(yia(this.inputSubject.pipe(xe(this.bufferTimeMs,E.asapScheduler))));this.removeDuplicates=D(function(g){return[].concat(Pc(new Set(g)))});this.limitInputSize=D(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,E.pipe)(oe(function(g){try{return e.batchCall(g).pipe(Ce(),D(function(h){return{inputs:g,batchResponse:h,error:void 0}}),ye(function(h){return(0,E.of)({inputs:g,batchResponse:void 0,error:h})}))}catch(h){return(0,E.of)({inputs:g,batchResponse:void 0,error:h})}}),Ke());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
xbc.prototype.get=function(a){var b=this;return new E.Observable(function(c){c=b.batchResults$.pipe(ue(function(d){return d.inputs.has(a)}),Ce(),D(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw new ybc(d.error,d.inputs);})).subscribe(c);b.inputSubject.next(a);return c})};var ybc=function(a,b){var c=Error.call(this,"Error in batch call");this.message=c.message;"stack"in c&&(this.stack=c.stack);this.err=a;this.inputs=b;Object.setPrototypeOf(this,ybc.prototype)};
U(ybc,Error);var zbc=function(a){r.call(this,a,0,zbc.messageId)};U(zbc,r);zbc.prototype.toObject=function(){if(null!=this){t(this);var a={component:cE(Z(this,Qj,1))}}else a=void 0;return a};zbc.messageId="b.CreateComponentResponse";var iF=function(a){r.call(this,a,0,iF.messageId)};U(iF,r);iF.repeatedFields_=[1];iF.prototype.toObject=function(){if(null!=this){t(this);var a={componentList:Gb(Ch(this,Qj,1),cE)}}else a=void 0;return a};iF.messageId="b.ListComponentsResponse";var dta=function(a){r.call(this,a)};U(dta,r);f=dta.prototype;f.getComponentPath=function(){return V(this,1)};f.getRetentionSettings=function(){return Z(this,Oi,2)};f.setRetentionSettings=function(a){Wi(this,Oi,2,a)};f.hasRetentionSettings=function(){return Aj(this,Oi,2)};f.toObject=function(){return Abc(this)};var Abc=function(a){if(null!=a)return t(a),{componentPath:p(m(a,1)),retentionSettings:g9b(a.getRetentionSettings())}};var jF=function(a){r.call(this,a,0,jF.messageId)};U(jF,r);jF.repeatedFields_=[2];jF.prototype.toObject=function(){if(null!=this){t(this);var a={descendantsList:Gb(Ch(this,dta,2),Abc)}}else a=void 0;return a};jF.messageId="b.SubcomponentsResponse";var Bbc=function(){},Cbc=function(){},kF=function(a,b){this.executor=a;this.currentTrackerId=b};U(kF,Cbc);f=kF.prototype;f.get=function(a){return this.query({id:[a]}).pipe(D(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:jF}).pipe(D(eta))};
f.fetchComponent=function(a,b){var c={};b.checkEditAccess&&(c.checkEditAccess="true");return this.executor.get({url:"action/components/"+a,options:{params:c},responseConstructor:Qj}).pipe(D(Lj))};
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();Kl(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:iF}).pipe(D(bta))};
f.create=function(a){a=Wsa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:zbc}).pipe(D(function(b){return Lj(Z(b,Qj,1))}))};
f.update=function(a){var b=a.componentId,c=new Qj;c.setComponentId(String(a.componentId));n(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);hj(c,7,d)}if(a.componentPathInfo){var e=a.componentPathInfo;d=new Mj;if(e.componentPathId){var g=e.componentPathId.map(String);hj(d,1,g)}e.componentPathName&&(g=e.componentPathName.map(String),Di(d,2,g));e.allCustomField&&(e=e.allCustomField.map(fra),
aj(d,4,e));Wi(c,Mj,10,d)}a.accessLimit&&c.setAccessLimit(Aqa(a.accessLimit));n(c,13,a.emailAlias);a.userHasEditAccess&&Ij(c,14,a.userHasEditAccess);a.commentEditState&&c.setCommentEditState("ENABLED"===a.commentEditState?1:2);n(c,18,String(a.defaultTemplateId));a.slo&&c.setSlo(zra(a.slo));n(c,20,a.bugscopeSloId);a.retentionSettings&&c.setRetentionSettings(rra(a.retentionSettings));a.fieldOrdering&&n(c,23,H7b[a.fieldOrdering]);a.effortSpec&&(d=jra(a.effortSpec),Wi(c,Ii,24,d));a.team&&c.setTeam(Nsa(a.team));
var h;c.setTeamSuggestionsList((null!=(h=a.teamSuggestions)?h:[]).map(Rsa));return this.executor.post({url:"action/components/"+b,body:c,responseConstructor:Qj}).pipe(D(Lj))};f.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Qj}).pipe(D(Lj))};f.updateSlo=function(a,b){var c=new dE;c.setSlo(zra(b));return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Qj}).pipe(D(Lj))};
f.updateTeam=function(a,b){var c=new eE;c.setTeam(Nsa(b));return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Qj}).pipe(D(Lj))};kF.\u0275fac=function(a){return new (a||kF)(u(ZC),u(kE))};kF.\u0275prov=mc({token:kF,factory:kF.\u0275fac,providedIn:"root"});var lF=function(a){this.observableApi=a};U(lF,Bbc);f=lF.prototype;f.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};
f.getChildren=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};f.getDescendants=function(a){return(0,E.firstValueFrom)(this.observableApi.getDescendants(a))};f.fetchComponent=function(a,b){return(0,E.firstValueFrom)(this.observableApi.fetchComponent(a,b))};f.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};f.create=function(a){return(0,E.firstValueFrom)(this.observableApi.create(a))};f.update=function(a){return(0,E.firstValueFrom)(this.observableApi.update(a))};
f.move=function(a,b){return(0,E.firstValueFrom)(this.observableApi.move(a,b))};f.updateSlo=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateSlo(a,b))};f.updateTeam=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateTeam(a,b))};lF.\u0275fac=function(a){return new (a||lF)(u(kF))};lF.\u0275prov=mc({token:lF,factory:lF.\u0275fac,providedIn:"root"});var mF=function(a){eF.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};U(mF,eF);mF.prototype.fetchOne=function(a){return this.batchedComponentApi.get(a).pipe(ye(function(){return(0,E.of)(void 0)}))};mF.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(ni)}))};mF.\u0275fac=function(a){return new (a||mF)(u(nF))};
mF.\u0275prov=mc({token:mF,factory:mF.\u0275fac,providedIn:"root"});var nF=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)}})};
nF.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(Pc(a))[0],{}).pipe(D(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(Pc(a))}).pipe(D(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};nF.prototype.splitBatch=function(a,b){return b.get(Number(a))};nF.\u0275fac=function(a){return new (a||nF)(u(Cbc),u(hF))};nF.\u0275prov=mc({token:nF,factory:nF.\u0275fac,providedIn:"root"});var oF=function(a){r.call(this,a,0,oF.messageId)};U(oF,r);oF.prototype.getSnapshot=function(){return Z(this,fj,1)};oF.prototype.setSnapshot=function(a){Wi(this,fj,1,a)};oF.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:y9b(this.getSnapshot()),customFieldMapMap:Ib(Sj(this,2,Hi),d8b)}}else a=void 0;return a};oF.messageId="b.IssueTemplateResponse";var pF=function(a){r.call(this,a,0,pF.messageId)};U(pF,r);pF.repeatedFields_=[1];pF.prototype.toObject=function(){if(null!=this){t(this);var a={templatesList:Gb(Ch(this,Rj,1),Q9b)}}else a=void 0;return a};pF.messageId="b.ListTemplatesResponse";var qF=function(a){r.call(this,a,0,qF.messageId)};U(qF,r);qF.prototype.toObject=function(){if(null!=this){t(this);var a={template:Q9b(Z(this,Rj,1))}}else a=void 0;return a};qF.messageId="b.TemplateResponse";var Dbc=function(){},rF=function(a){this.executor=a};f=rF.prototype;f.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:qF}).pipe(D(Pva))};f.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:pF}).pipe(D(Qva))};f.create=function(a,b){b=$sa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:qF,body:b}).pipe(D(Pva))};
f.update=function(a,b,c){c=$sa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:qF,body:c}).pipe(D(Pva))};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:oF,options:{params:{templateId:String(b)}}}).pipe(D(ata))};rF.\u0275fac=function(a){return new (a||rF)(u(ZC))};
rF.\u0275prov=mc({token:rF,factory:rF.\u0275fac,providedIn:"root"});var sF=function(a){this.observableApi=a};U(sF,Dbc);f=sF.prototype;f.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};f.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};f.create=function(a,b){return(0,E.firstValueFrom)(this.observableApi.create(a,b))};f.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};
f.delete=function(a,b){return(0,E.firstValueFrom)(this.observableApi.delete(a,b))};f.getIssueTemplate=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getIssueTemplate(a,b))};sF.\u0275fac=function(a){return new (a||sF)(u(rF))};sF.\u0275prov=mc({token:sF,factory:sF.\u0275fac,providedIn:"root"});var Rva=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var Ebc=Symbol("mc"),Fbc=Symbol("nc"),Gbc=Symbol("oc"),tF=function(){};tF.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=Ll(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(g){c.reject(g);d[Gbc]=!0;return}c.resolve(e);d[Gbc]=!0},b);d[Ebc]=b;d[Fbc]=c.reject;d[Gbc]=!1;return c.promise};tF.prototype.cancel=function(a){var b=a[Ebc];if(null==b||a[Gbc])return!1;clearTimeout(b);var c;null==(c=a[Fbc])||c.call(a,Error("pc"));return a[Gbc]=!0};tF.\u0275fac=function(a){return new (a||tF)};
tF.\u0275prov=mc({token:tF,factory:tF.\u0275fac,providedIn:"root"});var uF=function(a){this.timeout=a};uF.prototype.adapt=function(a){return new Hbc(this.timeout,a)};uF.\u0275fac=function(a){return new (a||uF)(u(tF))};uF.\u0275prov=mc({token:uF,factory:uF.\u0275fac,providedIn:"root"});var Hbc=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
Hbc.prototype.get=function(a){var b=Ll(),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||Ibc(this);return b.promise};
var Ibc=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={$jscomp$loop$prop$batchedDeferred$2270:b.$jscomp$loop$prop$batchedDeferred$2270},c++){var d=a.batchedInputs[c];b.$jscomp$loop$prop$batchedDeferred$2270=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(g){for(var h=0;h<e.$jscomp$loop$prop$batchedDeferred$2270.length;h++)e.$jscomp$loop$prop$batchedDeferred$2270[h].resolve(g[h])}}(b),function(e){return function(g){for(var h=
k(e.$jscomp$loop$prop$batchedDeferred$2270),l=h.next();!l.done;l=h.next())l.value.reject(g)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];a.isBatchScheduled=!1})};var Ml=function(a){r.call(this,a,0,Ml.messageId)};U(Ml,r);f=Ml.prototype;f.getResource=function(){return V(this,1)};f.setResource=function(a){return n(this,1,a)};f.getRelation=function(){return W(this,2,0)};f.setRelation=function(a){n(this,2,a)};f.toObject=function(){return Jbc(this)};var Jbc=function(a){if(null!=a)return t(a),{resource:p(m(a,1)),relation:p(ir(a,2))}};Ml.messageId="b.ResourceRelation";var vF=function(a){r.call(this,a,0,vF.messageId)};U(vF,r);vF.repeatedFields_=[1];vF.prototype.toObject=function(){if(null!=this){t(this);var a={grantedList:Gb(Ch(this,Ml,1),Jbc)}}else a=void 0;return a};vF.messageId="b.UserAccessBatchResponse";var wF=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+)$")};wF.prototype.validate=function(a){return this.resourceNamePattern.test(a)};wF.\u0275fac=function(a){return new (a||wF)};wF.\u0275prov=mc({token:wF,factory:wF.\u0275fac,providedIn:"root"});
var xF=function(a,b,c){var d=this;this.userAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return Kbc(d,e)})},Kbc=function(a,b){return Lbc(a,b).then(function(c){return Tva(b,c)})},yF=function(a,b,c){return a.resourceNameValidator.validate(c)?Mbc(a,b,c):Promise.reject("invalid resource name: "+c)},Lbc=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 a.userAccess.bulkGetUserAccess(c,
d)},Mbc=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};xF.\u0275fac=function(a){return new (a||xF)(u(zF),u(wF),u(uF))};xF.\u0275prov=mc({token:xF,factory:xF.\u0275fac,providedIn:"root"});var AF=function(a){this.executor=a};
AF.prototype.bulkGetUserAccess=function(a,b){return this.executor.get({url:"action/user_access",options:{params:{relations:a.join(","),resourceNames:b.join(",")}},responseConstructor:vF}).pipe(D(Sva))};AF.\u0275fac=function(a){return new (a||AF)(u(ZC))};AF.\u0275prov=mc({token:AF,factory:AF.\u0275fac,providedIn:"root"});var zF=function(a){this.observableApi=a};zF.prototype.bulkGetUserAccess=function(a,b){return(0,E.firstValueFrom)(this.observableApi.bulkGetUserAccess(a,b))};
zF.\u0275fac=function(a){return new (a||zF)(u(AF))};zF.\u0275prov=mc({token:zF,factory:zF.\u0275fac,providedIn:"root"});var BF=function(){};BF.\u0275fac=function(a){return new (a||BF)};BF.\u0275mod=Dc({type:BF});BF.\u0275inj=nc({imports:[Hw,$B]});var Nbc=new Nc("MatSnackBarData"),Obc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var Pbc=Math.pow(2,31)-1,CF=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new E.Subject;this._afterOpened=new E.Subject;this._onAction=new E.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};CF.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var Yva=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};f=CF.prototype;f._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,Pbc))};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 Qbc=Fg("state",[Ig("void, hidden",Hg({transform:"scale(0.8)",opacity:0})),Ig("visible",Hg({transform:"scale(1)",opacity:1})),Jg("* => visible",Gg("150ms cubic-bezier(0, 0, 0.2, 1)")),Jg("* => void, * => hidden",Gg("75ms cubic-bezier(0.4, 0.0, 1, 1)",Hg({opacity:0})))]);var Rbc=0,DF=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=wc(ah);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new E.Subject;this._onExit=new E.Subject;this._onEnter=new E.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+Rbc++;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"))};U(DF,Dx);DF.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};DF.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var Sbc=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=DF.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(Ce()).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)})};DF.\u0275fac=function(a){return new (a||DF)(C(Se),C(rd),C(mw),C(qx),C(Obc))};DF.\u0275dir=Gc({type:DF,viewQuery:function(a,b){a&1&&Qf(Gx,7);if(a&2){var c;Pf(c=Sf())&&(b._portalOutlet=c.first)}},features:[Ye]});var Tbc=new Nc("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new Obc}}),EF=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=EF.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=Ve({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:Obc,useValue:b}]});a=a.attach(new Bx(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
f._attach=function(a,b){var c=this,d=Object.assign({},new Obc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var g=new CF(b,e);if(a instanceof Mf)g.instance=b.attachTemplatePortal(new Cx(a,null,{$implicit:d.data,snackBarRef:g}));else{var h=this._createInjector(d,g);a=b.attachComponentPortal(new Bx(a,void 0,h));g.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Pe(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 gz;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"):tXb(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
f._createInjector=function(a,b){return Ve({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:CF,useValue:b},{provide:Nbc,useValue:a.data}]})};ch.Object.defineProperties(EF.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}}});
EF.\u0275fac=function(a){return new (a||EF)(u(oz),u(Dy),u(qv),u(xy),u(EF,12),u(Tbc))};EF.\u0275prov=mc({token:EF,factory:EF.\u0275fac});var FF=function(a,b){this.snackBarRef=a;this.data=b};FF.prototype.action=function(){Yva(this.snackBarRef)};ch.Object.defineProperties(FF.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});FF.\u0275fac=function(a){return new (a||FF)(C(CF),C(Nbc))};
FF.\u0275cmp=Bc({type:FF,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&&(G(0,"span",0),R(1),H(),Q(2,Uva,3,1,"div",1));a&2&&(z(1),Af(b.data.message),z(1),F("ngIf",b.hasAction))},dependencies:[tw,Yz],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 GF=function(){DF.apply(this,arguments)};U(GF,DF);GF.\u0275dir=DF.\u0275dir;GF.prototype._afterPortalAttached=function(){DF.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")};GF.\u0275fac=function(){var a;return function(b){return(a||(a=pd(GF)))(b||GF)}}();
GF.\u0275cmp=Bc({type:GF,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&qka("@state.done",function(c){return Sbc(b,c)});a&2&&oka("@state",b._animationState)},features:[Ye],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(G(0,"div",0),Q(1,Vva,0,0,"ng-template",1),H(),I(2,"div"));a&2&&(z(2),bf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[Gx],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:[Qbc]}});var HF=function(){};HF.\u0275fac=function(a){return new (a||HF)};HF.\u0275mod=Dc({type:HF});HF.\u0275inj=nc({imports:[rz,Hx,Hw,wC,sz,sz]});var IF=function(a,b,c,d,e,g){EF.call(this,a,b,c,d,e,g);this.simpleSnackBarComponent=FF;this.snackBarContainerComponent=GF;this.handsetCssClass="mat-snack-bar-handset"};U(IF,EF);IF.\u0275fac=function(a){return new (a||IF)(u(oz),u(Dy),u(qv),u(xy),u(IF,12),u(Tbc))};IF.\u0275prov=mc({token:IF,factory:IF.\u0275fac,providedIn:HF});var JF=function(a){this.snackBar=a};JF.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(Ubc,b)};JF.\u0275fac=function(a){return new (a||JF)(u(IF))};JF.\u0275prov=mc({token:JF,factory:JF.\u0275fac,providedIn:"root"});
var Ubc=function(a,b){this.data=a;this.snackBarRef=b};Ubc.\u0275fac=function(a){return new (a||Ubc)(C(Nbc),C(CF))};
Ubc.\u0275cmp=Bc({type:Ubc,selectors:[["ng-component"]],decls:7,vars:5,consts:[[1,"snackbar-content"],["class","message",4,"ngIf"],["class","message",3,"innerHtml",4,"ngIf"],[1,"actions"],["mat-button","",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Dismiss",3,"click",4,"ngIf"],[1,"message"],[1,"message",3,"innerHtml"],["mat-button","",3,"click"],["mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(G(0,"div",0),Q(1,Wva,2,1,"span",1),
Q(2,Xva,1,1,"span",2),G(3,"div",3),Q(4,Zva,2,1,"button",4),Q(5,$va,2,1,"button",4),Q(6,awa,2,0,"button",5),H()());a&2&&(z(1),F("ngIf",!b.data.htmlMessage),z(1),F("ngIf",b.data.htmlMessage),z(2),F("ngIf",b.data.actionLabel),z(1),F("ngIf",b.data.dismissLabel),z(1),F("ngIf",!b.data.dismissLabel))},dependencies:[tw,JA,Yz],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 KF=function(a){this.snackbar=a};KF.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var LF=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},Vbc=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},MF=function(a,b,c){a.open({message:b,duration:void 0===c?0:c,snackbarType:"ERROR"})};KF.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};KF.\u0275fac=function(a){return new (a||KF)(u(JF))};
KF.\u0275prov=mc({token:KF,factory:KF.\u0275fac,providedIn:"root"});var NF=function(){};f=NF.prototype;f.debug=function(){uh.apply(null,Pc(Lc.apply(0,arguments)))};f.error=function(){Npa.apply(null,Pc(Lc.apply(0,arguments)))};f.info=function(){Lpa.apply(null,Pc(Lc.apply(0,arguments)))};f.log=function(){Mpa.apply(null,Pc(Lc.apply(0,arguments)))};f.warn=function(){vh.apply(null,Pc(Lc.apply(0,arguments)))};NF.\u0275fac=function(a){return new (a||NF)};NF.\u0275prov=mc({token:NF,factory:NF.\u0275fac,providedIn:"root"});var OF=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
OF.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.":Ol(b)?Ol(b):404===b.status?"Invalid ID.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);MF(c.butterBar,d)})};
var PF=function(a,b){a.$log.warn(b);MF(a.butterBar,b)},QF=function(a,b){if(Nl(b))a.errorHandler(null,b);else throw b;};OF.\u0275fac=function(a){return new (a||OF)(u(KF),u(ds),u(NF),u(tF))};OF.\u0275prov=mc({token:OF,factory:OF.\u0275fac,providedIn:"root"});var RF=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},Xbc=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 Wbc(a,
c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},Wbc=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return yF(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})};RF.\u0275fac=function(a){return new (a||RF)(u(yE),u(Dbc),u(OF),u(xF))};RF.\u0275prov=mc({token:RF,factory:RF.\u0275fac,providedIn:"root"});var SF=function(){this.bookmarkGroupModified=new E.Subject;this.commentSubmitted=new E.Subject;this.commentRendered=new E.Subject;this.componentModified=new E.Subject;this.contactChipsRevertChanges=new E.Subject;this.customFieldsModified=new E.Subject;this.dashboardPanels={moveDown:new E.Subject,moveUp:new E.Subject,moveToTop:new E.Subject,moveToBottom:new E.Subject,remove:new E.Subject};this.favoritesModified=new E.Subject;this.hotlistCreated=new E.Subject;this.onClickAppMenuIcon=new E.Subject;this.openEditField=
new E.Subject;this.sidebarWidthChanged=new E.Subject;this.hotlistChanged=new E.Subject;this.savedSearchModified=new E.Subject;this.sidebarUpdated=new E.Subject;this.topBarEvents={browseComponents:new E.Subject,manageHotlists:new E.Subject,manageSlos:new E.Subject,setDensity:new E.Subject,openSettings:new E.Subject};this.templateModified=new E.Subject;this.issueViewed=new E.Subject;this.issueEdited=new E.Subject;this.focusCommentBox=new E.Subject;this.scrollToCommentBox=new E.Subject;this.needsAttentionIssueCount=
new E.Subject;this.recaptchaSubmitted=new E.Subject};SF.\u0275fac=function(a){return new (a||SF)};SF.\u0275prov=mc({token:SF,factory:SF.\u0275fac,providedIn:"root"});var TF=function(a,b){eF.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(ue(ni),D(function(e){return e.templates}),D(function(e){var g;return null!=(g=e.find(function(h){return h.default}))?g:e[0]}))};this.appEvents.templateModified.pipe(ue(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};U(TF,eF);
TF.prototype.fetchOne=function(a){return(0,E.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};TF.\u0275fac=function(a){return new (a||TF)(u(RF),u(SF))};TF.\u0275prov=mc({token:TF,factory:TF.\u0275fac,providedIn:"root"});var UF=function(a){r.call(this,a,0,UF.messageId)};U(UF,r);UF.prototype.getCustomField=function(){return Z(this,Hi,1)};UF.prototype.setCustomField=function(a){return Wi(this,Hi,1,a)};UF.prototype.toObject=function(){if(null!=this){t(this);var a={customField:d8b(this.getCustomField())}}else a=void 0;return a};UF.messageId="b.CustomFieldResponse";var VF=function(){},WF=function(a){this.executor=a};U(WF,VF);f=WF.prototype;f.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:UF}).then(cra)};f.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:UF}).then(function(b){return Wqa(b.getCustomField())})};f.create=function(a,b){b=fra(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:UF}).then(cra)};
f.update=function(a,b,c){b=Number(b);c=fra(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:UF}).then(cra)};f.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};WF.\u0275fac=function(a){return new (a||WF)(u($C))};WF.\u0275prov=mc({token:WF,factory:WF.\u0275fac,providedIn:"root"});var XF=function(a){eF.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};U(XF,eF);XF.prototype.fetchOne=function(a){var b=this;return(0,E.defer)(function(){return b.api.getResource(a)}).pipe(ye(function(c){console.error("error fetching custom field "+a,c);return(0,E.of)(void 0)}))};XF.\u0275fac=function(a){return new (a||XF)(u(VF))};XF.\u0275prov=mc({token:XF,factory:XF.\u0275fac,providedIn:"root"});var YF=function(a){r.call(this,a,0,YF.messageId)};U(YF,r);YF.prototype.getIssueId=function(){return dj(this,1)};YF.prototype.setIssueId=function(a){return n(this,1,a)};YF.prototype.setCurrentTrackerId=function(a){n(this,3,a)};YF.repeatedFields_=[2];YF.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),commentNumbersList:p(Bh(this,2)),currentTrackerId:p(m(this,3))}}else a=void 0;return a};YF.messageId="b.BatchGetIssueCommentsRequest";var ZF=function(a){r.call(this,a,0,ZF.messageId)};U(ZF,r);ZF.prototype.getIssueCommentsList=function(){return Ch(this,VD,1)};ZF.repeatedFields_=[1];ZF.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Gb(this.getIssueCommentsList(),x9b)}}else a=void 0;return a};ZF.messageId="b.BatchGetIssueCommentsResponse";var $F=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};$F.prototype.batchGet=function(a,b){a=(new YF).setIssueId(Number(a));b=ob(a,2,b,Za);(a=this.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:ZF,body:b}).pipe(D(tta))};$F.\u0275fac=function(a){return new (a||$F)(u(ZC),u(kE))};$F.\u0275prov=mc({token:$F,factory:$F.\u0275fac,providedIn:"root"});var aG=function(a,b){eF.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)}})};U(aG,eF);
aG.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,E.combineLatest)(a.map(function(d){return b.get(d)})).pipe(D(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}))};
aG.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(D(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 x=void 0,A=Number(h)+"-"+(null!=(x=q.commentNumber)?x:0);l.set(A,q)}return l}))};aG.prototype.splitBatch=function(a,b){return b.get(a)};
aG.\u0275fac=function(a){return new (a||aG)(u($F),u(hF))};aG.\u0275prov=mc({token:aG,factory:aG.\u0275fac,providedIn:"root"});var bG=function(a){r.call(this,a,0,bG.messageId)};U(bG,r);bG.repeatedFields_=[1,2];bG.prototype.toObject=function(){if(null!=this){t(this);var a={noAccessEmailsList:p(Gh(this,1)),unknownEmailsList:p(Gh(this,2))}}else a=void 0;return a};bG.messageId="b.CheckPermissionResponse";var cG=function(){},dG=function(a){this.executor=a};f=dG.prototype;f.get=function(a,b){a=Pl(Ql(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:mD}).pipe(D(Jqa))};
f.update=function(a,b,c){a=Pl(Ql(a,b));b=new mD;var d;b.setAdminsList((null!=(d=c.admins)?d:[]).map(pi));var e;b.setAppendersList((null!=(e=c.appenders)?e:[]).map(pi));var g;b.setEditorsList((null!=(g=c.editors)?g:[]).map(pi));var h;b.setReadersList((null!=(h=c.readers)?h:[]).map(pi));var l;b.setRestrictedReadersList((null!=(l=c.restrictedReaders)?l:[]).map(pi));var q;b.setRestrictedPlusReadersList((null!=(q=c.restrictedPlusReaders)?q:[]).map(pi));c.implicitAccess&&b.setImplicitAccess(K7b[c.implicitAccess]);
return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:mD}).pipe(D(Jqa))};f.checkPermission=function(a,b,c,d){a=Pl(a.join(","));b=Pl(b);c=Pl(Ql(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:bG}).pipe(D(Gqa))};f.setAccessLimit=function(a,b,c){a=Pl(Ql(a,b));c=Aqa(c);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:Yh}).pipe(D(yqa))};
f.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(D(function(b){return"ALLOW"===b.implicitAccess}))};dG.\u0275fac=function(a){return new (a||dG)(u(ZC))};dG.\u0275prov=mc({token:dG,factory:dG.\u0275fac,providedIn:"root"});var eG=function(a){this.observableApi=a};U(eG,cG);f=eG.prototype;f.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};f.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};
f.checkPermission=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};f.setAccessLimit=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};f.checkComponentImplicitAccessEnabled=function(a){return(0,E.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};eG.\u0275fac=function(a){return new (a||eG)(u(dG))};eG.\u0275prov=mc({token:eG,factory:eG.\u0275fac,providedIn:"root"});var fG=function(a){eF.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=Kh};U(fG,eF);fG.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(D(function(b){return Object.assign({},{id:a},b)}))};fG.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(D(function(c){return Object.assign({},{id:b},c)}))};fG.\u0275fac=function(a){return new (a||fG)(u(dG))};
fG.\u0275prov=mc({token:fG,factory:fG.\u0275fac,providedIn:"root"});var Ybc=function(a){this.allowExecution=a;this.queue=[]};Ybc.prototype.addTask=function(a){this.queue.push(a);Zbc(this)};var Zbc=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=te(b);c();Zbc(a)}else setTimeout(function(){Zbc(a)},0)};var tm=Symbol("rc"),gG=function(a){this.params=a||{}};gG.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};gG.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};gG.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};ch.Object.defineProperties(gG.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var owa={exact:twa,subset:wwa},pwa={exact:rwa,subset:uwa,ignored:function(){return!0}},bm=function(a,b,c){a=void 0===a?new am([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};bm.prototype.toString=function(){return $bc.serialize(this)};ch.Object.defineProperties(bm.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new gG(this.queryParams));return this._queryParamMap}}});
var am=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})};am.prototype.hasChildren=function(){return 0<this.numberOfChildren};am.prototype.toString=function(){return Bwa(this)};ch.Object.defineProperties(am.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var fm=function(a,b){this.path=a;this.parameters=b};
fm.prototype.toString=function(){return zwa(this.path)+Awa(this.parameters)};var hG=function(){};hG.\u0275fac=function(a){return new (a||hG)};hG.\u0275prov=mc({token:hG,factory:function(){return new acc},providedIn:"root"});var acc=function(){};acc.prototype.parse=function(a){a=new bcc(a);iG(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new am([],{}):new am([],ccc(a));return new bm(b,a.parseQueryParams(),iG(a,"#")?decodeURIComponent(a.remaining):null)};
acc.prototype.serialize=function(a){var b="/"+$l(a.root,!0),c=Ewa(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var $bc=new acc,Fwa=/^[^\/()?;#]+/,dcc=/^[^\/()?;=#]+/,ecc=/^[^=?&#]+/,fcc=/^[^&#]+/,bcc=function(a){this.remaining=this.url=a};
bcc.prototype.parseQueryParams=function(){var a={};if(iG(this,"?")){do{var b,c=this.remaining.match(ecc);if(b=c?c[0]:""){this.capture(b);c="";if(iG(this,"=")){var d;if(d=(d=this.remaining.match(fcc))?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(iG(this,"&"))}return a};
var ccc=function(a){if(""===a.remaining)return{};iG(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(gcc(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(gcc(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=hcc(a,!0));var d={};a.remaining.startsWith("(")&&(d=hcc(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new am(b,c);return d},gcc=function(a){var b=Gwa(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new qc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};iG(a,";");){var d,e=a;if(d=(d=e.remaining.match(dcc))?d[0]:""){e.capture(d);var g="";if(iG(e,"=")){var h=Gwa(e.remaining);h&&(g=h,e.capture(g))}c[decodeURIComponent(d)]=decodeURIComponent(g)}}return new fm(b,c)},hcc=function(a,b){var c={};for(a.capture("(");!iG(a,")")&&0<a.remaining.length;){var d=Gwa(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new qc(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=ccc(a);c[e]=1===Object.keys(d).length?d.primary:new am([],d);iG(a,"//")}return c},iG=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};bcc.prototype.capture=function(a){if(!iG(this,a))throw new qc(4011,!1);};var Rwa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&Nwa(c[0]))throw new qc(4003,!1);if((a=c.find(em))&&a!==(0<c.length?c[c.length-1]:null))throw new qc(4004,!1);},Mwa=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var jG=function(a,b){this.id=a;this.url=b},Pm=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;jG.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};U(Pm,jG);Pm.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var um=function(a,b,c){jG.call(this,a,b);this.urlAfterRedirects=c;this.type=1};U(um,jG);
um.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var wm=function(a,b,c,d){jG.call(this,a,b);this.reason=c;this.code=d;this.type=2};U(wm,jG);wm.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var ym=function(a,b,c,d){jG.call(this,a,b);this.reason=c;this.code=d;this.type=16};U(ym,jG);
var xm=function(a,b,c,d){jG.call(this,a,b);this.error=c;this.target=d;this.type=3};U(xm,jG);xm.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var icc=function(a,b,c,d){jG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};U(icc,jG);icc.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var jcc=function(a,b,c,d){jG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};U(jcc,jG);jcc.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var kcc=function(a,b,c,d,e){jG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};U(kcc,jG);
kcc.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var lcc=function(a,b,c,d){jG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};U(lcc,jG);lcc.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var mcc=function(a,b,c,d){jG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};U(mcc,jG);mcc.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var ncc=function(a){this.route=a;this.type=9};ncc.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var occ=function(a){this.route=a;this.type=10};
occ.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var yxa=function(a){this.snapshot=a;this.type=11};yxa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var pcc=function(a){this.snapshot=a;this.type=12};pcc.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var zxa=function(a){this.snapshot=a;this.type=13};zxa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var qcc=function(a){this.snapshot=a;this.type=14};qcc.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var rcc=function(a,b){this.position=a;this.anchor=b;this.type=15};
rcc.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var scc=function(){this.injector=this.route=this.outlet=null;this.children=new kG;this.attachRef=null},kG=function(){this.contexts=new Map},tcc=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},ucc=function(a,b){var c=a.getContext(b);c||(c=new scc,a.contexts.set(b,c));return c};kG.prototype.getContext=function(a){return this.contexts.get(a)||null};kG.\u0275fac=function(a){return new (a||kG)};kG.\u0275prov=mc({token:kG,factory:kG.\u0275fac,providedIn:"root"});var lG=function(a){this._root=a};lG.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};lG.prototype.children=function(a){return(a=Wwa(a,this._root))?a.children.map(function(b){return b.value}):[]};lG.prototype.firstChild=function(a){return(a=Wwa(a,this._root))&&0<a.children.length?a.children[0].value:null};lG.prototype.pathFromRoot=function(a){return Xwa(a,this._root).map(function(b){return b.value})};
ch.Object.defineProperties(lG.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var hm=function(a,b){this.value=a;this.children=b};hm.prototype.toString=function(){return"TreeNode("+this.value+")"};var Zwa=function(a,b){this._root=a;this.snapshot=b;cxa(this,a)};U(Zwa,lG);Zwa.prototype.toString=function(){return this.snapshot.toString()};
var jm=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,x;this.title=null!=(x=null==(q=this.dataSubject)?void 0:q.pipe(D(function(A){return A[tm]})))?x:(0,E.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};jm.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
ch.Object.defineProperties(jm.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(D(function(a){return new gG(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(D(function(a){return new gG(a)})));return this._queryParamMap}}});
var im=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};im.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
ch.Object.defineProperties(im.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[tm]}},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 gG(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new gG(this.queryParams));return this._queryParamMap}}});var Ywa=function(a,b){this._root=b;this.url=a;cxa(this,b)};U(Ywa,lG);Ywa.prototype.toString=function(){return dxa(this._root)};var mG=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new Vv;this.deactivateEvents=new Vv;this.attachEvents=new Vv;this.detachEvents=new Vv;this.parentContexts=wc(kG);this.location=wc(Nf);this.changeDetector=wc(mw);this.environmentInjector=wc(nv);this.inputBinder=wc(vcc,{optional:!0})};mG.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(wcc(this,b)&&(this.deactivate(),tcc(this.parentContexts,b)),xcc(this))}};
mG.prototype.ngOnDestroy=function(){wcc(this,this.name)&&tcc(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||ycc(a,this)};var wcc=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};mG.prototype.ngOnInit=function(){xcc(this)};
var xcc=function(a){var b=a.parentContexts,c=a.name,d=ucc(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):zcc(a,b.route,b.injector))};mG.prototype.detach=function(){if(!this.activated)throw new qc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
mG.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(ycc(b,this),Acc(b,this));this.attachEvents.emit(a.instance)};mG.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var zcc=function(a,b,c){if(a.isActivated)throw new qc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,g=ucc(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new Bcc(b,g,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(ycc(b,a),Acc(b,a));a.activateEvents.emit(a.activated.instance)};
ch.Object.defineProperties(mG.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 qc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new qc(4012,!1);return this._activatedRoute}}});
mG.\u0275fac=function(a){return new (a||mG)};mG.\u0275dir=Gc({type:mG,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Uc]});var Bcc=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};Bcc.prototype.get=function(a,b){return a===jm?this.route:a===kG?this.childContexts:this.parent.get(a,b)};
var vcc=new Nc(""),nG=function(){this.outletDataSubscriptions=new Map},ycc=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},Acc=function(a,b){var c=b.activatedRoute,d=(0,E.combineLatest)([c.queryParams,c.params,c.data]).pipe(Oe(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,E.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var g=bla(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 ycc(a,b)}else ycc(a,b)});a.outletDataSubscriptions.set(b,d)};nG.\u0275fac=function(a){return new (a||nG)};nG.\u0275prov=mc({token:nG,factory:nG.\u0275fac});var km=function(){};km.\u0275fac=function(a){return new (a||km)};km.\u0275cmp=Bc({type:km,selectors:[["ng-component"]],standalone:!0,features:[Dka],decls:1,vars:0,template:function(a){a&1&&I(0,"router-outlet")},dependencies:[mG],encapsulation:2});var Dcc=function(a,b,c,d){return D(function(e){(new Ccc(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},Ccc=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};Ccc.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;Ecc(this,b,c,a);exa(this.futureState.root);Fcc(this,b,c,a)};
var Ecc=function(a,b,c,d){var e=gm(c);b.children.forEach(function(g){var h=g.value.outlet,l=e[h],q=g.value,x=l?l.value:null;q===x?q.component?(q=d.getContext(q.outlet))&&Ecc(a,g,l,q.children):Ecc(a,g,l,d):x&&Gcc(a,l,d);delete e[h]});Object.values(e).forEach(function(g){Gcc(a,g,d)})},Gcc=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=gm(b);for(var e=k(Object.keys(b)),g=e.next();!g.done;g=e.next())Gcc(a,b[g.value],c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},Fcc=function(a,b,c,d){var e=gm(c);b.children.forEach(function(g){var h=e[g.value.outlet],l=g.value,q=h?h.value:null;exa(l);l===q?l.component?(l=ucc(d,l.outlet),Fcc(a,g,h,l.children)):Fcc(a,g,h,d):l.component?(h=ucc(d,l.outlet),q=mm(l.snapshot),h.attachRef=null,h.route=l,h.injector=q,h.outlet&&zcc(h.outlet,l,h.injector),Fcc(a,g,null,h.children)):Fcc(a,g,null,d);a.forwardEvent(new qcc(g.value.snapshot))});b.children.length&&a.forwardEvent(new pcc(b.value.snapshot))};var pxa=Symbol("tc");var rxa=function(a){this.path=a;this.route=this.path[this.path.length-1]},sxa=function(a,b){this.component=a;this.route=b};var Fxa=function(a){this.segmentGroup=a||null},Hcc=function(a){this.urlTree=a},Icc=function(a,b){this.urlSerializer=a;this.urlTree=b},Jcc=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,E.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,E.throwError)(new qc(4E3,!1));a=a.children.primary}},Mcc=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=Kcc(a,c,e.root,b,d);return new bm(b,Lcc(e.queryParams,a.urlTree.queryParams),e.fragment)},Lcc=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},Kcc=function(a,b,c,d,e){var g=Ncc(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]=Kcc(a,b,q,d,e)});return new am(g,h)},Ncc=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new qc(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 Hxa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var Qxa=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 Icc(this.urlSerializer,this.urlTree)};
Qxa.prototype.recognize=function(){var a=this,b=Mxa(this.urlTree.root,[],[],this.config).segmentGroup;return Occ(this,this.injector,this.config,b,"primary").pipe(ye(function(c){if(c instanceof Hcc)return a.allowRedirects=!1,a.urlTree=c.urlTree,a.match(c.urlTree);if(c instanceof Fxa)throw new qc(4002,!1);throw c;}),D(function(c){var d=new im([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new Ywa("",new hm(d,
c));var e=a.urlTree.queryParams,g=a.urlTree.fragment;e=void 0===e?null:e;g=void 0===g?null:g;d=Jwa(d);d=Pwa(d,[],e,g);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);Pcc(a,c._root);return{state:c,tree:d}}))};Qxa.prototype.match=function(a){return Occ(this,this.injector,this.config,a.root,"primary").pipe(ye(function(b){if(b instanceof Fxa)throw new qc(4002,!1);throw b;}))};
var Pcc=function(a,b){var c=b.value,d=bxa(c,a.paramsInheritanceStrategy);c.params=Object.freeze(d.params);c.data=Object.freeze(d.data);b.children.forEach(function(e){return Pcc(a,e)})},Occ=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):Qcc(a,b,c,d,d.segments,e,!0)};
Qxa.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,E.from)(e).pipe(oe(function(l){var q=c.children[l],x=oxa(b,l);return Occ(d,a,x,q,l)},1),He(function(l,q){l.push.apply(l,Pc(q));return l}),Kia(null),Wia(),oe(function(l){if(null===l)return sm(c);l=Pxa(l);Nxa(l);return(0,E.of)(l)}))};
var Qcc=function(a,b,c,d,e,g,h){return(0,E.from)(c).pipe(oe(function(l){var q;return Rcc(a,null!=(q=l._injector)?q:b,c,l,d,e,g,h).pipe(ye(function(x){if(x instanceof Fxa)return(0,E.of)(null);throw x;}))},1),Fe(function(l){return!!l}),ye(function(l){if(txa(l))return 0!==e.length||d.children[g]?sm(d):(0,E.of)([]);throw l;}))},Rcc=function(a,b,c,d,e,g,h,l){if((lm(d)===h||"primary"!==h&&Lxa(e,g,d))&&("**"===d.path||Gxa(e,d,g).matched))if(void 0===d.redirectTo)a=Scc(a,b,e,d,g,h);else{var q;l&&a.allowRedirects?
q="**"===d.path?Tcc(a,b,c,d,h):Ucc(a,b,e,c,d,g,h):q=sm(e);a=q}else a=sm(e);return a},Tcc=function(a,b,c,d,e){var g=Mcc(a.applyRedirects,[],d.redirectTo,{});return d.redirectTo.startsWith("/")?(0,E.throwError)(new Hcc(g)):Jcc(g).pipe(oe(function(h){var l=new am(h,{});return Qcc(a,b,c,l,h,e,!1)}))},Ucc=function(a,b,c,d,e,g,h){g=Gxa(c,e,g);var l=g.consumedSegments,q=g.remainingSegments,x=g.positionalParamSegments;if(!g.matched)return sm(c);g=Mcc(a.applyRedirects,l,e.redirectTo,x);return e.redirectTo.startsWith("/")?
(0,E.throwError)(new Hcc(g)):Jcc(g).pipe(oe(function(A){return Qcc(a,b,d,c,A.concat(q),h,!1)}))},Scc=function(a,b,c,d,e,g){var h;if("**"===d.path){var l,q=new im(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||{},lm(d),null!=(l=null!=(h=d.component)?h:d._loadedComponent)?l:null,d,d.resolve||{});h=(0,E.of)({snapshot:q,consumedSegments:[],remainingSegments:[]});c.children={}}else h=Ixa(c,d,e,b).pipe(D(function(x){var A=
x.consumedSegments,B=x.remainingSegments;if(!x.matched)return null;var K,O;return{snapshot:new im(A,x.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},lm(d),null!=(O=null!=(K=d.component)?K:d._loadedComponent)?O:null,d,d.resolve||{}),consumedSegments:A,remainingSegments:B}}));return h.pipe(Oe(function(x){if(null===x)return sm(c);var A;b=null!=(A=d._injector)?A:b;return Vcc(a,b,d,e).pipe(Oe(function(B){B=B.routes;var K,O=null!=(K=d._loadedInjector)?K:
b,P=x.snapshot,Y=Mxa(c,x.consumedSegments,x.remainingSegments,B);K=Y.segmentGroup;Y=Y.slicedSegments;return 0===Y.length&&K.hasChildren()?a.processChildren(O,B,K).pipe(D(function(X){return null===X?null:[new hm(P,X)]})):0===B.length&&0===Y.length?(0,E.of)([new hm(P,[])]):Qcc(a,O,B,K,Y,lm(d)===g?"primary":g,!0).pipe(D(function(X){return[new hm(P,X)]}))}))}))},Vcc=function(a,b,c,d){return c.children?(0,E.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,E.of)({routes:c._loadedRoutes,
injector:c._loadedInjector}):Dxa(b,c,d).pipe(oe(function(e){return e?a.configLoader.loadChildren(b,c).pipe(Qe(function(g){c._loadedRoutes=g.routes;c._loadedInjector=g.injector})):(0,E.throwError)(jxa(3))})):(0,E.of)({routes:[],injector:b})};var Wcc=new Nc("ROUTES"),oG=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;wc(Uv)};
oG.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,E.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=Yl(a.loadComponent()).pipe(D(Yxa),Qe(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Ee(function(){b.componentLoaders.delete(a)}));c=(new E.ConnectableObservable(c,function(){return new E.Subject})).pipe(ae());this.componentLoaders.set(a,
c);return c};
oG.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,E.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=Xcc(b.loadChildren).pipe(D(function(e){if(c.onLoadEndListener)c.onLoadEndListener(b);if(!Array.isArray(e)){var g=e.create(a).injector;e=g.get(Wcc,[],10).flat()}return{routes:e.map(nxa),injector:g}}),Ee(function(){c.childrenLoaders.delete(b)}));d=
(new E.ConnectableObservable(d,function(){return new E.Subject})).pipe(ae());this.childrenLoaders.set(b,d);return d};var Xcc=function(a){return Yl(a()).pipe(D(Yxa),oe(function(b){return b instanceof YQb||Array.isArray(b)?(0,E.of)(b):(0,E.from)(Promise.resolve(new xRb(b)))}))};oG.\u0275fac=function(a){return new (a||oG)};oG.\u0275prov=mc({token:oG,factory:oG.\u0275fac,providedIn:"root"});var pG=function(){var a=this;this.lastSuccessfulNavigation=this.currentNavigation=null;this.events=new E.Subject;this.configLoader=wc(oG);this.environmentInjector=wc(nv);this.urlSerializer=wc(hG);this.rootContexts=wc(kG);this.inputBindingEnabled=null!==wc(vcc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,E.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new occ(b))};this.configLoader.onLoadStartListener=
function(b){return a.events.next(new ncc(b))}};pG.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var Ycc=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},cdc=function(a,b){a.transitions=new E.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(ue(function(c){return 0!==c.id}),D(function(c){return Object.assign({},c,{extractedUrl:b.urlHandlingStrategy.extract(c.rawUrl)})}),Oe(function(c){var d=!1,e=!1;return(0,E.of)(c).pipe(Qe(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}}),Oe(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 ym(g.id,b.urlSerializer.serialize(c.rawUrl),"",0)),b.rawUrlTree=g.rawUrl,g.resolve(null),E.EMPTY;"imperative"!==g.source&&
(b.browserUrlTree=g.extractedUrl);return(0,E.of)(g).pipe(Oe(function(x){var A,B=null==(A=a.transitions)?void 0:A.getValue();a.events.next(new Pm(x.id,a.urlSerializer.serialize(x.extractedUrl),x.source,x.restoredState));var K;return B!==(null==(K=a.transitions)?void 0:K.getValue())?E.EMPTY:Promise.resolve(x)}),Rxa(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,b.paramsInheritanceStrategy),Qe(function(x){c.targetSnapshot=x.targetSnapshot;c.urlAfterRedirects=x.urlAfterRedirects;
a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:x.urlAfterRedirects});if("eager"===b.urlUpdateStrategy){if(!x.extras.skipLocationChange){var A=b.urlHandlingStrategy.merge(x.urlAfterRedirects,x.rawUrl);Zcc(b,A,x)}b.browserUrlTree=x.urlAfterRedirects}x=new icc(x.id,a.urlSerializer.serialize(x.extractedUrl),a.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);a.events.next(x)}))}),Qe(function(g){g=new jcc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),
g.targetSnapshot);a.events.next(g)}),D(function(g){var h=Object,l=h.assign;var q=g.currentSnapshot;var x=g.targetSnapshot._root;q=pm(x,q?q._root:null,a.rootContexts,[x.value]);return c=l.call(h,{},g,{guards:q})}),wxa(a.environmentInjector,function(g){return a.events.next(g)}),Qe(function(g){c.guardsResult=g.guardsResult;if(cm(g.guardsResult))throw kxa(g.guardsResult);g=new kcc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot,!!g.guardsResult);
a.events.next(g)}),ue(function(g){return g.guardsResult?!0:($cc(b,g),adc(a,g,3),!1)}),Xxa(function(g){if(g.guards.canActivateChecks.length)return(0,E.of)(g).pipe(Qe(function(h){h=new lcc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),Oe(function(h){var l=!1;return(0,E.of)(h).pipe(Txa(b.paramsInheritanceStrategy,a.environmentInjector),Qe({next:function(){return l=!0},complete:function(){l||($cc(b,h),adc(a,h,2))}}))}),
Qe(function(h){h=new mcc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),Xxa(function(g){var h=function(l){var q=[],x;(null==(x=l.routeConfig)?0:x.loadComponent)&&!l.routeConfig._loadedComponent&&q.push(a.configLoader.loadComponent(l.routeConfig).pipe(Qe(function(B){l.component=B}),D(function(){})));x=k(l.children);for(var A=x.next();!A.done;A=x.next())q.push.apply(q,Pc(h(A.value)));return q};return(0,E.combineLatest)(h(g.targetSnapshot.root)).pipe(Kia(),
Ce())}),Xxa(function(){return a.afterPreactivation()}),D(function(g){var h=g.targetSnapshot;var l=g.currentRouterState;l=ixa(b.routeReuseStrategy,h._root,l?l._root:void 0);h=new Zwa(l,h);return c=Object.assign({},g,{targetRouterState:h})}),Qe(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||Zcc(b,b.rawUrlTree,g),b.browserUrlTree=g.urlAfterRedirects)}),
Dcc(a.rootContexts,b.routeReuseStrategy,function(g){return a.events.next(g)},a.inputBindingEnabled),Ce(),Qe({next:function(g){d=!0;a.lastSuccessfulNavigation=a.currentNavigation;b.navigated=!0;a.events.next(new um(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}}),Ee(function(){d||e||adc(a,c,1);var g;(null==(g=a.currentNavigation)?void 0:
g.id)===c.id&&(a.currentNavigation=null)}),ye(function(g){e=!0;if(lxa(g)){lxa(g)&&cm(g.url)||(b.navigated=!0,$cc(b,c,!0));var h=new wm(c.id,a.urlSerializer.serialize(c.extractedUrl),g.message,g.cancellationCode);a.events.next(h);lxa(g)&&cm(g.url)?(g=b.urlHandlingStrategy.merge(g.url,b.rawUrlTree),bdc(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{$cc(b,
c,!0);var l=new xm(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 E.EMPTY}))}))},adc=function(a,b,c){c=new wm(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)};ch.Object.defineProperties(pG.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});pG.\u0275fac=function(a){return new (a||pG)};
pG.\u0275prov=mc({token:pG,factory:pG.\u0275fac,providedIn:"root"});var qG=function(){},ddc=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[tm])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};qG.\u0275fac=function(a){return new (a||qG)};qG.\u0275prov=mc({token:qG,factory:function(){return wc(rG)},providedIn:"root"});var rG=function(a){this.title=a};U(rG,qG);rG.prototype.updateTitle=function(a){a=ddc(a);void 0!==a&&this.title.setTitle(a)};rG.\u0275fac=function(a){return new (a||rG)(u(Sx))};
rG.\u0275prov=mc({token:rG,factory:rG.\u0275fac,providedIn:"root"});var sG=function(){};sG.\u0275fac=function(a){return new (a||sG)};sG.\u0275prov=mc({token:sG,factory:function(){return wc(tG)},providedIn:"root"});var edc=function(){};edc.prototype.store=function(){};edc.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var tG=function(){};U(tG,edc);tG.\u0275fac=function(){var a;return function(b){return(a||(a=pd(tG)))(b||tG)}}();tG.\u0275prov=mc({token:tG,factory:tG.\u0275fac,providedIn:"root"});var fdc=new Nc("",{providedIn:"root",factory:function(){return{}}});var gdc=function(){};gdc.\u0275fac=function(a){return new (a||gdc)};gdc.\u0275prov=mc({token:gdc,factory:function(){return wc(uG)},providedIn:"root"});var uG=function(){};uG.prototype.extract=function(a){return a};uG.prototype.merge=function(a){return a};uG.\u0275fac=function(a){return new (a||uG)};uG.\u0275prov=mc({token:uG,factory:uG.\u0275fac,providedIn:"root"});var hdc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},idc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},vG=function(){var a=this;this.disposed=!1;this.currentPageId=0;this.console=wc(zv);this.options=wc(fdc,{optional:!0})||{};this.pendingTasks=wc(Tv);this.errorHandler=this.options.errorHandler||$xa;this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||aya;this.navigated=!1;this.lastSuccessfulId=-1;this.urlHandlingStrategy=
wc(gdc);this.routeReuseStrategy=wc(sG);this.titleStrategy=wc(qG);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";var b,c;this.config=null!=(c=null==(b=wc(Wcc,{optional:!0}))?void 0:b.flat())?c:[];this.navigationTransitions=wc(pG);this.urlSerializer=
wc(hG);this.location=wc(Pw);wc(vcc,{optional:!0});wc(Se)instanceof Se&&uja();this.config=this.config.map(nxa);this.navigated=!1;this.lastSuccessfulId=-1;this.browserUrlTree=this.rawUrlTree=this.currentUrlTree=new bm;this.routerState=$wa();cdc(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)})};
vG.prototype.initialNavigation=function(){jdc(this);if(!this.navigationTransitions.hasRequestedNavigation){var a=this.location.getState();kdc(this,this.location.path(!0),"imperative",a)}};
var jdc=function(a){a.locationSubscription||(a.locationSubscription=a.location.subscribe(function(b){var c="popstate"===b.type?"popstate":"hashchange";"popstate"===c&&setTimeout(function(){kdc(a,b.url,c,b.state)},0)}))},kdc=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=ldc(a,b);bdc(a,b,c,g,e)};vG.prototype.ngOnDestroy=function(){this.dispose()};
vG.prototype.dispose=function(){this.navigationTransitions.complete();this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0);this.disposed=!0};
var wG=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=mdc(d));try{var h=Jwa(c?c.snapshot:a.routerState.snapshot.root)}catch(l){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return Pwa(h,b,d,null!=
g?g:null)},Pr=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=cm(b)?b:ldc(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return bdc(a,b,"imperative",null,c)};vG.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 qc(4008,!1);return Pr(this,wG(this,a,b),b)};var ldc=function(a,b){try{var c=a.urlSerializer.parse(b)}catch(d){c=a.malformedUriErrorHandler(d,a.urlSerializer,b)}return c};
vG.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},hdc):!1===b?c=Object.assign({},idc):c=b;if(cm(a))return qwa(this.currentUrlTree,a,c);a=ldc(this,a);return qwa(this.currentUrlTree,a,c)};
var mdc=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},bdc=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(x,A){h=x;l=A});var q=a.pendingTasks.add();Zxa(a,function(){Promise.resolve().then(function(){return a.pendingTasks.remove(q)})});Ycc(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(x){return Promise.reject(x)})},Zcc=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+gg(e))||c.extras.replaceUrl){var g=Object.assign({},c.extras.state,ndc(a,c.id,a.browserPageId));a.location.replaceState(b,"",g)}else c=Object.assign({},c.extras.state,ndc(a,c.id,(null!=(g=a.browserPageId)?g:0)+
1)),a.location.go(b,"",c)},$cc=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,odc(a))}}else"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),odc(a))};
vG.prototype.resetState=function(a){this.routerState=a.currentRouterState;this.currentUrlTree=a.currentUrlTree;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)};var odc=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",ndc(a,a.lastSuccessfulId,a.currentPageId))},ndc=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
ch.Object.defineProperties(vG.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}}});vG.\u0275fac=function(a){return new (a||vG)};vG.\u0275prov=mc({token:vG,factory:vG.\u0275fac,providedIn:"root"});var xG=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._replaceUrl=this._skipLocationChange=this._preserveFragment=!1;this.commands=this.href=null;this.onChanges=new E.Subject;var l;b=null==(l=e.nativeElement.tagName)?void 0:l.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof um&&pdc(h)}):qdc(this,"0")},qdc=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||rdc(a,"tabindex",b)};xG.prototype.ngOnChanges=function(){this.isAnchorElement&&pdc(this);this.onChanges.next(this)};xG.prototype.onClick=function(a,b,c,d,e){if(null===this.urlTree||this.isAnchorElement&&(0!==a||b||c||d||e||"string"===typeof this.target&&"_self"!=this.target))return!0;Pr(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
xG.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var pdc=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?xga:Id)(a.href));rdc(a,"href",b)},rdc=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
ch.Object.defineProperties(xG.prototype,{preserveFragment:{configurable:!0,enumerable:!0,set:function(a){this._preserveFragment=Xf(a)},get:function(){return this._preserveFragment}},skipLocationChange:{configurable:!0,enumerable:!0,set:function(a){this._skipLocationChange=Xf(a)},get:function(){return this._skipLocationChange}},replaceUrl:{configurable:!0,enumerable:!0,set:function(a){this._replaceUrl=Xf(a)},get:function(){return this._replaceUrl}},routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=
a?(this.commands=Array.isArray(a)?a:[a],qdc(this,"0")):(this.commands=null,qdc(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:wG(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})}}});xG.\u0275fac=function(a){return new (a||xG)(C(vG),C(jm),kd("tabindex"),C(uv),C(rd),C(Mw))};
xG.\u0275dir=Gc({type:xG,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&bf("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,
features:[Uc]});var yG=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 Vv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof um&&g.update()})};yG.prototype.ngAfterContentInit=function(){var a=this;(0,E.of)(this.links.changes,(0,E.of)(null)).pipe(pe()).subscribe(function(){a.update();sdc(a)})};
var sdc=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(Pc(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,E.from)(b).pipe(pe()).subscribe(function(c){a._isActive!==tdc(a,a.router)(c)&&a.update()})};yG.prototype.ngOnChanges=function(){this.update()};
yG.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
yG.prototype.update=function(){var a=this;this.links&&this.router.navigated&&Promise.resolve().then(function(){var b=udc(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 tdc=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}},udc=function(a){var b=tdc(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
ch.Object.defineProperties(yG.prototype,{isActive:{configurable:!0,enumerable:!0,get:function(){return this._isActive}},routerLinkActive:{configurable:!0,enumerable:!0,set:function(a){this.classes=(Array.isArray(a)?a:a.split(" ")).filter(function(b){return!!b})}}});yG.\u0275fac=function(a){return new (a||yG)(C(vG),C(rd),C(uv),C(mw),C(xG,8))};
yG.\u0275dir=Gc({type:yG,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&Rf(c,xG,5);if(a&2){var d;Pf(d=Sf())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Uc]});var vdc=function(){},zG=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},wdc=function(a){a.subscription=a.router.events.pipe(ue(function(b){return b instanceof um}),oe(function(){return a.preload()},1)).subscribe(function(){})};zG.prototype.preload=function(){return xdc(this,this.injector,this.router.config)};zG.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var xdc=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=gha(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(ydc(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(xdc(a,g,null!=(h=e.children)?h:e._loadedRoutes))}return(0,E.from)(d).pipe(pe())},ydc=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,E.of)(null)).pipe(oe(function(g){if(null===g)return(0,E.of)(void 0);c._loadedRoutes=g.routes;c._loadedInjector=g.injector;var h;return xdc(a,null!=(h=g.injector)?h:b,g.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,E.from)([d,e]).pipe(pe())}return d})};zG.\u0275fac=function(a){return new (a||zG)(u(vG),u(Uv),u(nv),u(vdc),u(oG))};
zG.\u0275prov=mc({token:zG,factory:zG.\u0275fac,providedIn:"root"});var zdc=new Nc(""),AG=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"};
AG.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=Adc(this);this.scrollEventsSubscription=
Bdc(this)};
var Adc=function(a){return a.transitions.events.subscribe(function(b){b instanceof Pm?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof um?(a.lastId=b.id,Cdc(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof ym&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,Cdc(a,a.urlSerializer.parse(b.url).fragment))})},Bdc=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof rcc)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])})},Cdc=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new rcc("popstate"===a.lastSource?
a.store[a.restoredId]:null,b))})},0)})};AG.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};AG.\u0275fac=function(){vd()};AG.\u0275prov=mc({token:AG,factory:AG.\u0275fac});new Nc("",{providedIn:"root",factory:function(){return!1}});var Ddc=new Nc("",{factory:function(){return new E.Subject}}),Edc=new Nc("",{providedIn:"root",factory:function(){return 1}}),Fdc=new Nc("");var Gdc=new Nc("ROUTER_FORROOT_GUARD"),Hdc=[Pw,{provide:hG,useClass:acc},vG,kG,{provide:jm,useFactory:function(a){return a.routerState.root},deps:[vG]},oG,[]],BG=function(){};BG.\u0275fac=function(a){return new (a||BG)(u(Gdc,8))};BG.\u0275mod=Dc({type:BG});BG.\u0275inj=nc({});var Idc=new Nc("");new wv;var CG=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new Ybc(function(){return!e.router.navigationTransitions.currentNavigation})};f=CG.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 Jdc=function(a,b){a.path(b,!0)};f=CG.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 cya(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(){Pr(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)};CG.\u0275fac=function(a){return new (a||CG)(u(Pw),u(Kw),u(jm),u(vG))};CG.\u0275prov=mc({token:CG,factory:CG.\u0275fac,providedIn:"root"});var DG=function(a){this.bLocation=a};f=DG.prototype;f.createIssue=function(a){return Ul("issues/new",{params:a})};f.editIssue=function(a,b){return Sl(a,b)};f.listIssues=function(a){return Vl(a)};f.needsAttention=function(){return"attention"};f.viewSavedSearch=function(a){return Rl("savedsearches/:savedSearchId",{id:a,params:void 0})};
var Kdc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b},Ldc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.url();a=new Bo(a);b=new Bo(b);return a.getPath()===b.getPath()&&HC(a.queryData_.toString())===HC(b.queryData_.toString())};f=DG.prototype;f.viewHotlist=function(a){return Rl("hotlists/:hotlistId",{id:a})};f.editHotlist=function(a){return Ul("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 Rl("bookmark-groups/:groupId",{id:a})};f.editBookmarkGroup=function(a){return Ul("bookmark-groups/:groupId/edit",{id:a})};f.editSavedSearch=function(a){return Ul("savedsearches/:savedSearchId/edit",{id:a})};f.dashboard=function(a){return Ul("dashboard/:groupId",{id:a})};f.issuesCsvAction=function(a,b,c,d,e){c=cwa(c);d=dwa(d);return sB("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=cwa(c);(d=dwa(d))&&(d="position,"+d);return sB(a,"trackerIds",b,"s",c,"c",d,"h",e)};f.toApiSortParamValue=function(a){return cwa(a)};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return Ul("components",{params:void 0})};f.viewComponent=function(a,b){return Rl("components/:componentId",{id:a,tab:b})};
f.manageComponent=function(a,b){return ewa(a,b)};f.createComponent=function(a){return Ul("components/new",{params:a})};f.editComponent=function(a,b){return Ul("components/:componentId/edit",{id:a,tab:b})};f.createSlo=function(){return Ul("slos/new",{params:void 0})};f.editSlo=function(a){return lwa(a).path};f.listSlos=function(){return Ul("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 fwa(a)};DG.\u0275fac=function(a){return new (a||DG)(u(CG))};DG.\u0275prov=mc({token:DG,factory:DG.\u0275fac,providedIn:"root"});var Mdc=function(a,b){this.childIterator_=a[ba.Symbol.iterator]();this.mapFn_=b};Mdc.prototype[Symbol.iterator]=function(){return this};Mdc.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 Ndc=function(a,b){return new Mdc(a,b)};var EG=function(){};EG.prototype.next=function(){return Odc};var Odc={done:!0,value:void 0};EG.prototype.__iterator__=function(){return this};var Pdc=function(a){if(a instanceof FG||a instanceof GG||a instanceof HG)return a;if("function"==typeof a.next)return new FG(function(){return a});if("function"==typeof a[Symbol.iterator])return new FG(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new FG(function(){return a.__iterator__()});throw Error("uc");},FG=function(a){this.func_=a};FG.prototype.__iterator__=function(){return new GG(this.func_())};FG.prototype[Symbol.iterator]=function(){return new HG(this.func_())};
FG.prototype.toEs6=function(){return new HG(this.func_())};var GG=function(a){this.iter_=a};U(GG,EG);GG.prototype.next=function(){return this.iter_.next()};GG.prototype[Symbol.iterator]=function(){return new HG(this.iter_)};GG.prototype.toEs6=function(){return new HG(this.iter_)};var HG=function(a){FG.call(this,function(){return a});this.iter_=a};U(HG,FG);HG.prototype.next=function(){return this.iter_.next()};var IG=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("$");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};f=IG.prototype;f.getCount=function(){return this.size};f.getValues=function(){JG(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};f.getKeys=function(){JG(this);return this.keys_.concat()};f.containsKey=function(a){return this.has(a)};
f.has=function(a){return KG(this.map_,a)};f.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(KG(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||Qdc;JG(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Qdc=function(a,b){return a===b};IG.prototype.isEmpty=function(){return 0==this.size};
IG.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};IG.prototype.remove=function(a){return this.delete(a)};IG.prototype.delete=function(a){return KG(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&JG(this),!0):!1};
var JG=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];KG(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],KG(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};f=IG.prototype;f.get=function(a,b){return KG(this.map_,a)?this.map_[a]:b};f.set=function(a,b){KG(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 IG)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 IG(this)};f.transpose=function(){for(var a=new IG,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};
f.toObject=function(){JG(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 Pdc(this.__iterator__(!0)).toEs6()};f.values=function(){return Pdc(this.__iterator__(!1)).toEs6()};f.entries=function(){var a=this;return Ndc(this.keys(),function(b){return[b,a.get(b)]})};
f.__iterator__=function(a){JG(this);var b=0,c=this.version_,d=this,e=new EG;e.next=function(){if(c!=d.version_)throw Error("vc");if(b>=d.keys_.length)return Odc;var g=d.keys_[b++];return{value:a?g:d.map_[g],done:!1}};return e};f.setSizeInternal_=function(a){this.size=a};var KG=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var LG=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new IG;this.head_=new Rdc("");this.head_.next=this.head_.prev=this.head_},Tdc=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),Sdc(a,b));return b};LG.prototype.get=function(a,b){return(a=Tdc(this,a))?a.value:b};var Udc=function(a,b){return(a=a.map_.get(b))?a.value:void 0};f=LG.prototype;f.set=function(a,b){var c=Tdc(this,a);c?c.value=b:(c=new Rdc(a,b),this.map_.set(a,c),Sdc(this,c))};
f.shift=function(){return Vdc(this,this.head_.next)};f.pop=function(){return Vdc(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(){Wdc(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 Sdc=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_&&Wdc(a,a.maxCount_)},Wdc=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)}},Vdc=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},Rdc=function(a,b){this.key=a;this.value=b};
Rdc.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var MG=function(){this.caches=new Map};MG.prototype.create=function(a,b){if(this.caches.has(a))throw Error("wc`"+a);b=new Xdc(null==b?void 0:b.capacity);this.caches.set(a,b);return b};MG.prototype.get=function(a){return this.caches.get(a)};MG.\u0275fac=function(a){return new (a||MG)};MG.\u0275prov=mc({token:MG,factory:MG.\u0275fac,providedIn:"root"});var Xdc=function(a){this.lruCache=new LG(a,!0)};Xdc.prototype.get=function(a){return this.lruCache.get(a)};
Xdc.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};Xdc.prototype.remove=function(a){this.lruCache.remove(a)};Xdc.prototype.removeAll=function(){this.lruCache.clear()};var zm=function(a){r.call(this,a)};U(zm,r);f=zm.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getCustomFieldId=function(){return wi(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return vi(this,2)};f.getCustomFieldName=function(){return V(this,3)};f.toObject=function(){return Ydc(this)};
var Ydc=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),customFieldId:p(m(a,2)),customFieldName:p(m(a,3))}};var Am=function(a){r.call(this,a)};U(Am,r);f=Am.prototype;f.getField=function(){return Z(this,zm,1)};f.setField=function(a){Wi(this,zm,1,a)};f.getDirection=function(){return W(this,2,0)};f.setDirection=function(a){return n(this,2,a)};f.toObject=function(){return Zdc(this)};var Zdc=function(a){if(null!=a)return t(a),{field:Ydc(a.getField()),direction:p(ir(a,2))}};var Bm=function(a){r.call(this,a,0,Bm.messageId)};U(Bm,r);f=Bm.prototype;f.getHotlistId=function(){return wi(this,1)};f.setHotlistId=function(a){n(this,1,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return tk(this,4)};
f.getArchived=function(){return Gj(this,6)};f.setArchived=function(a){Ij(this,6,a)};f.getDisplayColumnList=function(){return Ch(this,zm,8)};f.setDisplayColumnList=function(a){aj(this,8,a)};f.getSortOrderList=function(){return Ch(this,Am,9)};f.setSortOrderList=function(a){aj(this,9,a)};f.getCreatedTimeMicros=function(){return dj(this,10)};f.setCreatedTimeMicros=function(a){n(this,10,a)};f.getModifiedTimeMicros=function(){return dj(this,11)};f.setModifiedTimeMicros=function(a){n(this,11,a)};
f.getAdminUsersList=function(){return Ch(this,ei,14)};f.setAdminUsersList=function(a){aj(this,14,a)};f.getEtag=function(){return V(this,15)};f.setEtag=function(a){n(this,15,a)};f.hasEtag=function(){return tk(this,15)};Bm.repeatedFields_=[8,9,14];Bm.prototype.toObject=function(){return $dc(this)};
var $dc=function(a){if(null!=a)return t(a),{hotlistId:p(m(a,1)),name:p(m(a,3)),description:p(m(a,4)),archived:p($q(a,6)),displayColumnList:Gb(a.getDisplayColumnList(),Ydc),sortOrderList:Gb(a.getSortOrderList(),Zdc),createdTimeMicros:p(m(a,10)),modifiedTimeMicros:p(m(a,11)),adminUsersList:Gb(a.getAdminUsersList(),jD),etag:p(m(a,15))}};Bm.messageId="b.Hotlist";var NG=function(a){r.call(this,a,0,NG.messageId)};U(NG,r);NG.prototype.getHotlistsList=function(){return Ch(this,Bm,1)};NG.repeatedFields_=[1];NG.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Gb(this.getHotlistsList(),$dc)}}else a=void 0;return a};NG.messageId="b.ListHotlistsResponse";var OG=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};OG.prototype.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};OG.prototype.bulkLoad=function(a){var b=this;a=a.filter(function(d){return!b.hotlistCache.get(String(d))});if(!a.length)return Promise.resolve();var c=this.hotlistApi.bulkLoad(a);aec(this,a,c);return c.then(function(){})};
var aec=function(a,b,c){c=c.then(function(g){if(g){var h={};g=k(g);for(var l=g.next();!l.done;l=g.next())l=l.value,h[l.hotlistId]=l;return h}});var d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$id$2274:d.$jscomp$loop$prop$id$2274},e=b.next())d.$jscomp$loop$prop$id$2274=e.value,a.hotlistCache.put(String(d.$jscomp$loop$prop$id$2274),c.then(function(g){return function(h){return h&&h[g.$jscomp$loop$prop$id$2274]?h[g.$jscomp$loop$prop$id$2274]:Promise.reject({data:{message:"Could not load hotlist "+
g.$jscomp$loop$prop$id$2274}})}}(d)))};f=OG.prototype;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)};OG.\u0275fac=function(a){return new (a||OG)(u(MG),u(PG))};OG.\u0275prov=mc({token:OG,factory:OG.\u0275fac,providedIn:"root"});var QG=function(a,b){this.paths=a;this.executor=b};f=QG.prototype;f.get=function(a){return this.executor.get({url:"action/hotlists/"+a,responseConstructor:Bm}).pipe(D(Cm))};f.bulkLoad=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:NG,options:{params:{id:a.map(String)}}}).pipe(D(kya))};
f.repositionHotlistIssue=function(a,b,c){var d=new rj;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 Bm;c.setName(a);b&&c.setDescription(b);return this.executor.post({url:"action/hotlists",body:c,responseConstructor:Bm}).pipe(D(Cm))};
f.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:NG,options:{params:{q:a}}}).pipe(D(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Cm)}))};f.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:jya(b),responseConstructor:Bm}).pipe(D(Cm))};
f.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:jya(b),options:{headers:c},responseConstructor:Bm}).pipe(D(Cm))};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:vE}).pipe(D(Eta))};
QG.\u0275fac=function(a){return new (a||QG)(u(DG),u(ZC))};QG.\u0275prov=mc({token:QG,factory:QG.\u0275fac,providedIn:"root"});var PG=function(a){this.observableApi=a};f=PG.prototype;f.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};f.bulkLoad=function(a){return(0,E.firstValueFrom)(this.observableApi.bulkLoad(a))};f.repositionHotlistIssue=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
f.createHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.createHotlist(a,b))};f.queryHotlists=function(a){return(0,E.firstValueFrom)(this.observableApi.queryHotlists(a))};f.archiveHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};f.updateMetadata=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
f.getPagedHotlistContent=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};PG.\u0275fac=function(a){return new (a||PG)(u(QG))};PG.\u0275prov=mc({token:PG,factory:PG.\u0275fac,providedIn:"root"});var bec=function(a){r.call(this,a)};U(bec,r);f=bec.prototype;f.getUser=function(){return Z(this,ei,5)};f.setUser=function(a){Wi(this,ei,5,a)};f.hasUser=function(){return Aj(this,ei,5)};f.getResourceType=function(){return W(this,2,0)};f.setResourceType=function(a){n(this,2,a)};f.hasResourceType=function(){return cj(this,2)};f.getResourceId=function(){return wi(this,3)};f.setResourceId=function(a){n(this,3,a)};f.hasResourceId=function(){return vi(this,3)};f.getName=function(){return V(this,4)};
f.setName=function(a){return n(this,4,a)};f.hasName=function(){return tk(this,4)};f.getNameOrUndefined=function(){return bt(this,4)};f.toObject=function(){return cec(this)};var cec=function(a){if(null!=a)return t(a),{user:jD(a.getUser()),resourceType:p(ir(a,2)),resourceId:p(m(a,3)),name:p(m(a,4))}};var Dm=function(a){r.call(this,a)};U(Dm,r);f=Dm.prototype;f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return tk(this,4)};f.getQuery=function(){return V(this,7)};f.setQuery=function(a){return n(this,7,a)};f.clearQuery=function(){Hs(this,7)};
f.hasQuery=function(){return tk(this,7)};f.getSortOrderList=function(){return Ch(this,Am,8)};f.setSortOrderList=function(a){aj(this,8,a)};f.getDisplayColumnList=function(){return Ch(this,zm,6)};f.setDisplayColumnList=function(a){aj(this,6,a)};f.getAdminUsersList=function(){return Ch(this,ei,11)};f.setAdminUsersList=function(a){aj(this,11,a)};Dm.repeatedFields_=[8,6,11];Dm.prototype.toObject=function(){return dec(this)};
var dec=function(a){if(null!=a)return t(a),{searchId:p(m(a,1)),name:p(m(a,3)),description:p(m(a,4)),query:p(m(a,7)),sortOrderList:Gb(a.getSortOrderList(),Zdc),displayColumnList:Gb(a.getDisplayColumnList(),Ydc),adminUsersList:Gb(a.getAdminUsersList(),jD)}};var RG=function(a){r.call(this,a,0,RG.messageId)};U(RG,r);RG.prototype.getFavorite=function(){return Z(this,bec,1)};RG.prototype.toObject=function(){if(null!=this){t(this);var a={favorite:cec(this.getFavorite())}}else a=void 0;return a};RG.messageId="b.Favorite";var SG=function(a){r.call(this,a,0,SG.messageId)};U(SG,r);SG.prototype.addHotlist=function(a){go(this,1,Bm,a)};SG.repeatedFields_=[1];SG.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistList:Gb(Ch(this,Bm,1),$dc)}}else a=void 0;return a};SG.messageId="b.HotlistBatchResponse";var Em=function(a){r.call(this,a)};U(Em,r);f=Em.prototype;f.getId=function(){return wi(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return tk(this,2)};f.getNameOrUndefined=function(){return bt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return tk(this,3)};f.getAdminUsersList=function(){return Ch(this,ei,8)};
f.setAdminUsersList=function(a){aj(this,8,a)};f.getStarred=function(){return Gj(this,5)};f.setStarred=function(a){Ij(this,5,a)};f.hasStarred=function(){return Ak(this,5)};f.getResourceType=function(){return V(this,6)};f.setResourceType=function(a){n(this,6,a)};f.hasResourceType=function(){return tk(this,6)};Em.repeatedFields_=[8];Em.prototype.toObject=function(){return eec(this)};
var eec=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),adminUsersList:Gb(a.getAdminUsersList(),jD),starred:p($q(a,5)),resourceType:p(m(a,6))}};var Fm=function(a){r.call(this,a)};U(Fm,r);f=Fm.prototype;f.getId=function(){return wi(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return tk(this,2)};f.getNameOrUndefined=function(){return bt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return tk(this,3)};f.getAdminUsersList=function(){return Ch(this,ei,8)};
f.setAdminUsersList=function(a){aj(this,8,a)};f.getStarred=function(){return Gj(this,5)};f.setStarred=function(a){Ij(this,5,a)};f.hasStarred=function(){return Ak(this,5)};Fm.repeatedFields_=[8,6];Fm.prototype.toObject=function(){return fec(this)};var fec=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),adminUsersList:Gb(a.getAdminUsersList(),jD),starred:p($q(a,5)),sublinksList:Gb(Ch(a,Em,6),eec)}};var TG=function(a){r.call(this,a,0,TG.messageId)};U(TG,r);TG.prototype.getHotlistsList=function(){return Ch(this,Em,1)};TG.prototype.getBookmarkGroupsList=function(){return Ch(this,Fm,2)};TG.repeatedFields_=[1,2,3,4];TG.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Gb(this.getHotlistsList(),eec),bookmarkGroupsList:Gb(this.getBookmarkGroupsList(),fec),archivedHotlistsList:Gb(Ch(this,Em,3),eec),archivedBookmarkGroupsList:Gb(Ch(this,Fm,4),fec)}}else a=void 0;return a};
TG.messageId="b.SidebarInfo";var UG=function(a){r.call(this,a,0,UG.messageId)};U(UG,r);UG.repeatedFields_=[1];UG.prototype.toObject=function(){if(null!=this){t(this);var a={componentsList:Gb(Ch(this,Qj,1),cE)}}else a=void 0;return a};UG.messageId="b.UserRecentComponentResponse";var VG=function(a){r.call(this,a,0,VG.messageId)};U(VG,r);VG.repeatedFields_=[1];VG.prototype.toObject=function(){if(null!=this){t(this);var a={searchesList:Gb(Ch(this,Dm,1),dec)}}else a=void 0;return a};VG.messageId="b.UserSavedSearchesResponse";var WG=function(){},XG=function(){};XG.\u0275fac=function(a){return new (a||XG)};XG.\u0275prov=mc({token:XG,factory:XG.\u0275fac,providedIn:"root"});var YG=function(a){this.executor=a};U(YG,XG);f=YG.prototype;f.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:SG}).pipe(D(lya))};f.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:TG}).pipe(D(sya))};
f.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:UG}).pipe(D(Xsa))};f.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:VG}).pipe(D(pya))};f.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:RG}).pipe(D(nya))};
f.saveFavorite=function(a){var b=new bec;b.setResourceType(Q7b[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:RG}).pipe(D(nya))};f.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var gec=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})};YG.\u0275fac=function(a){return new (a||YG)(u(ZC))};YG.\u0275prov=mc({token:YG,factory:YG.\u0275fac,providedIn:"root"});var ZG=function(a){this.observableApi=a};
U(ZG,WG);f=ZG.prototype;f.getUserHotlists=function(){return(0,E.firstValueFrom)(this.observableApi.getUserHotlists())};f.getUserSidebar=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSidebar())};f.getRecentComponents=function(){return(0,E.firstValueFrom)(this.observableApi.getRecentComponents())};f.getUserSavedSearches=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSavedSearches())};
f.getFavorite=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getFavorite(a,b))};f.saveFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.saveFavorite(a))};f.deleteFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.deleteFavorite(a))};ZG.\u0275fac=function(a){return new (a||ZG)(u(YG))};ZG.\u0275prov=mc({token:ZG,factory:ZG.\u0275fac,providedIn:"root"});var hec={parent:"me"},$G=function(a,b,c){eF.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,E.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(hec)})};U($G,eF);
$G.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(ye(function(b){return 403===b.status?(0,E.of)(void 0):(0,E.throwError)(b)}))};$G.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(D(function(b){return{results:b}}));vh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)({results:[]})};
$G.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(D(function(b){return(null!=b?b:[]).filter(ni)}))};$G.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var iec=function(a){return a.watchMany(hec).pipe(D(function(b){return b.results}))};$G.\u0275fac=function(a){return new (a||$G)(u(QG),u(XG),u(SF))};$G.\u0275prov=mc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var tya=function(a){r.call(this,a)};U(tya,r);tya.repeatedFields_=[1];tya.prototype.toObject=function(){if(null!=this){t(this);var a={issueDetailsList:Gb(Ch(this,Gm,1),oac),noIndex:p($q(this,2))}}else a=void 0;return a};var jec=!1;var Gn={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 aH=function(){var a=new wpa(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.enableSendBeaconApi_=!0;a=new o3b(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new h0b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};aH.\u0275fac=function(a){return new (a||aH)};aH.\u0275prov=mc({token:aH,factory:aH.\u0275fac,providedIn:"root"});var kec={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},Hm=window.localStorage||kec,lec=function(a){return function(){var b=Hm.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},mec=function(a){return function(){var b=Hm.getItem(a);if(null!=b)return String(b)}},nec=function(a){return function(b){null==b?Hm.removeItem(a):Hm.setItem(a,String(b))}},oec=function(a){return function(b){null==b?Hm.removeItem(a):Hm.setItem(a,b)}},pec=function(a){return function(){var b=
Im(a)();vya(a)(!b);return!b}},bH=function(a){return function(){var b=Hm.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},Qo=function(a){return function(b){null==b?Hm.removeItem(a):Hm.setItem(a,JSON.stringify(b))}};var qec=Im("debug-logging")(),cH=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new r7b(this.streamz.service);this.userLatency=new t7b(this.streamz.service);this.userActionCounter=new s7b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
cH.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);qec&&console.log("Clearcut stub",{action:b,duration:a})};var dH=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);qec&&console.log("Clearcut stub",{action:c,duration:b})},eH=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);qec&&console.log("Clearcut stub",{action:b})};
cH.\u0275fac=function(a){return new (a||cH)(u(ds),u(aH))};cH.\u0275prov=mc({token:cH,factory:cH.\u0275fac,providedIn:"root"});var wya=window,Kya=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},rec=function(a){if(Jm())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var Lya=Im("debug-logging")(),Nm=window,sec,Jya=!1;var tec=Gn.GLOBAL_SEARCH,uec=Gn.JOURNEY,vec=Qo("journey-log"),wec=bH("journey-log"),fH={},xec=(fH.ssue__edit="edit",fH.ssue__addComment="comment",fH["ssue__light-ixn"]="ixn",fH.ssue__copyIssueId="ixn",fH[tec+"__.*__.*text"]="ilp-search",fH[tec+"__.*__filters"]="ilp-filter",fH),gH={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},hH=function(a){this.clearcut=a},yec=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=wec())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));vec(e);if(gH.successEvents.includes(b)){b=e;c=gH.abortEvents;d=gH.successEvents;e=gH.startEvents;for(var g=gH.successMarker,h,l=b.length-1;0<=l;l--){var q=k(b[l]),x=q.next().value;q=q.next().value;if(c.includes(x))break;if(g===x)break;if(d.includes(x)){if(h&&A)break;var A=q}else A&&e.includes(x)&&(h=q)}A=h&&A?[h,A]:void 0;A&&(A=k(A),h=A.next().value,A=A.next().value-h,dH(a.clearcut,A,Mya(uec,"global-search-text")),Km({hitType:"event",
eventCategory:uec,eventAction:"global-search-text",eventLabel:"duration",eventValue:A}),yec(a,gH.successMarker))}};hH.\u0275fac=function(a){return new (a||hH)(u(cH))};hH.\u0275prov=mc({token:hH,factory:hH.\u0275fac,providedIn:"root"});var iH=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))}},zec=function(a){Jm()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new wya.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};iH.\u0275fac=function(a){return new (a||iH)(u(cH))};
iH.\u0275prov=mc({token:iH,factory:iH.\u0275fac,providedIn:"root"});var Om={},Aec={logInfo:function(){console.log(Pya());console.log("\nDuplicate Requests:");console.table(Nya())},getCounts:function(){return Om},getDupes:Nya,getAggregates:Pya};var Bec={attributes:!1,childList:!0,subtree:!0},jH=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new E.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new E.Subject;this.render$=(0,E.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(ze(200));this.navigatedTo$=this.router.events.pipe(ue(Rya),D(function(){return Qya(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(Oe(function(e){return d.renderSettled$.pipe(Ce(),D(function(){return e}))}),
Le(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},Cec=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,Bec)};jH.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Om[c]=~~Om[c]+1;this.xhr$.next(c);return b.handle(a)};jH.\u0275fac=function(a){return new (a||jH)(u(Se),u(vG),u(jm))};jH.\u0275prov=mc({token:jH,factory:jH.\u0275fac,providedIn:"root"});var Dec={provide:lVb,useExisting:jH,multi:!0};var kH=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};kH.prototype.ngOnDestroy=function(){this.destroyed=!0};kH.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};kH.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};kH.\u0275fac=function(a){return new (a||kH)(u(mw),u(Se))};kH.\u0275prov=mc({token:kH,factory:kH.\u0275fac});var lH=function(a){jE.call(this);var b=this;this.ngZone=a;this.activeSubject$=new E.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Be(),Pe(this.destroyed$),Tya(this.ngZone));this.onUserEvent=SPb(function(){b.activeSubject$.next(!0);Eec(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),Eec(b))}};U(lH,jE);lH.\u0275dir=jE.\u0275dir;
lH.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)};
lH.prototype.ngOnDestroy=function(){jE.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 Eec=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};lH.\u0275fac=function(a){return new (a||lH)(u(Se))};lH.\u0275prov=mc({token:lH,factory:lH.\u0275fac,providedIn:"root"});var Fec=[um,xm,wm],nH=function(a,b){jE.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new E.Subject;this.routeChangeSuccess=new E.Subject;this.locationChangeStart=new E.Subject;this.locationChangeSuccess=new E.Subject;this.routeUpdate=new E.Subject;this.viewContentLoaded=new E.Subject;this.navigationEnd$=this.router.events.pipe(ue(Rya));this.navigationOver$=this.router.events.pipe(ue(function(d){return Fec.some(function(e){return d instanceof e})}));mH(this,zxa).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=mH(this,qcc);(0,E.merge)(this.navigationOver$.pipe(Ge(E.NEVER)),this.routeChangeStart.pipe(Ge(a))).pipe(Oe(Vd),Pe(this.destroyed$),ue(function(d){return d.snapshot.routeConfig.isRootRoute}),D(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});mH(this,Pm).pipe(D(function(d){return d.url}),Be()).subscribe(function(){c.locationChangeStart.next()});mH(this,um).pipe(D(function(d){return d.url}),
Be()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(Re(mH(this,icc)));(0,E.merge)(this.routeChangeStart.pipe(Ge(E.NEVER)),this.navigationOver$.pipe(Ge(a))).pipe(Oe(Vd),Pe(this.destroyed$)).subscribe(function(d){d=k(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});mH(this,um).subscribe(function(){c.viewContentLoaded.next()})};U(nH,jE);nH.\u0275dir=jE.\u0275dir;
var mH=function(a,b){return a.router.events.pipe(ue(function(c){return c instanceof b}),D(function(c){return c}),Pe(a.destroyed$))};nH.\u0275fac=function(a){return new (a||nH)(u(vG),u(jm))};nH.\u0275prov=mc({token:nH,factory:nH.\u0275fac,providedIn:"root"});var Uya=lec("last-visit"),Vya=lec("last-visit-count"),Xya=nec("last-visit"),Wya=nec("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var Gec=Im("onedev-darkmode"),Hec=Im("hasClickedCommentSortBtn"),oH=function(a,b,c,d){jE.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var A=Iec;return function(B){return function(K,O){e.trackEvent(A,B,K,O)}}};Yya();Mm("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;Mm("dimension1",g);Mm("dimension7",Gec()?"dark":"default");var l;Mm("dimension3",null==
(l=d.themePreferences)?void 0:l.density);Mm("dimension6",hE(b,"readUnreadOptOut"));Mm("dimension8",hE(b,"enableEnhancedCommentThread"));Mm("dimension9",Hec());h=d.showFullHistory?"fh":"comments";var q;if(hE(b,"enableCommentFiltering")&&(null==(q=d.commentFilterPreferences)?0:q.commentFilter)){var x;h=null==(x=d.commentFilterPreferences)?void 0:x.commentFilter}Mm("dimension2",h);Mm("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");Mm("dimension11",hE(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.pipe(Ne(void 0)).subscribe(function(){var A=
Qya(c.snapshot);Mm("page",A);Km({hitType:"pageview",page:A})}))};U(oH,jE);oH.\u0275dir=jE.\u0275dir;oH.prototype.trackEvent=function(a,b,c,d){Lm(a,b,c,"boolean"===typeof d?d?1:0:d);d=this.journeyTracker;a=Mya(a,b,c);b=k(Object.entries(xec));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))){yec(d,e);break}}};
var Jec=function(a,b,c){Km(Object.assign({},{hitType:"timing",timingCategory:"userAction",timingVar:a,timingValue:b},void 0!==c?{timingLabel:c}:{}))};oH.\u0275fac=function(a){return new (a||oH)(u(nH),u(ds),u(jm),u(hH))};oH.\u0275prov=mc({token:oH,factory:oH.\u0275fac,providedIn:"root"});var Kec=function(a){r.call(this,a)};U(Kec,r);f=Kec.prototype;f.getComponentId=function(){return dj(this,1)};f.setComponentId=function(a){return n(this,1,a)};f.hasComponentId=function(){return Lk(this,1)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return cj(this,2)};f.getPriority=function(){return W(this,3,0)};f.setPriority=function(a){return n(this,3,a)};f.hasPriority=function(){return cj(this,3)};
f.getSeverity=function(){return W(this,4,0)};f.setSeverity=function(a){return n(this,4,a)};f.hasSeverity=function(){return cj(this,4)};f.getStatus=function(){return W(this,5,0)};f.setStatus=function(a){return n(this,5,a)};f.hasStatus=function(){return cj(this,5)};f.getReporter=function(){return Z(this,ei,6)};f.setReporter=function(a){Wi(this,ei,6,a)};f.getAssignee=function(){return Z(this,ei,7)};f.setAssignee=function(a){Wi(this,ei,7,a)};f.clearAssignee=function(){return Hs(this,7)};
f.getVerifier=function(){return Z(this,ei,8)};f.setVerifier=function(a){Wi(this,ei,8,a)};f.clearVerifier=function(){return Hs(this,8)};f.getCcsList=function(){return Ch(this,ei,9)};f.addHotlistIds=function(a,b){return sb(this,10,a,b)};f.getBlockingIssueIdsList=function(){return fl(this,12)};f.getInProd=function(){return Gj(this,15)};f.setInProd=function(a){Ij(this,15,a)};f.getSloStartTime=function(){return Z(this,yh,16)};f.setSloStartTime=function(a){Wi(this,yh,16,a)};
f.getSloEndTime=function(){return Z(this,yh,20)};f.setSloEndTime=function(a){Wi(this,yh,20,a)};f.getRetention=function(){return W(this,17,0)};f.setRetention=function(a){n(this,17,a)};f.getEntityStatus=function(){return Z(this,SD,18)};f.getIsArchived=function(){return Gj(this,19)};f.setIsArchived=function(a){return Ij(this,19,a)};f.getAccessLimitLevel=function(){return W(this,21,0)};f.setAccessLimitLevel=function(a){n(this,21,a)};f.hasAccessLimitLevel=function(){return cj(this,21)};
Kec.repeatedFields_=[9,10,11,12,14];Kec.prototype.toObject=function(){return Lec(this)};
var Lec=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),type:p(ir(a,2)),priority:p(ir(a,3)),severity:p(ir(a,4)),status:p(ir(a,5)),reporter:jD(a.getReporter()),assignee:jD(a.getAssignee()),verifier:jD(a.getVerifier()),ccsList:Gb(a.getCcsList(),jD),hotlistIdsList:p(fl(a,10)),blockedByIssueIdsList:p(fl(a,11)),blockingIssueIdsList:p(fl(a,12)),canonicalIssueId:p(m(a,13)),duplicateIssueIdsList:p(fl(a,14)),inProd:p($q(a,15)),sloStartTime:wt(a.getSloStartTime()),sloEndTime:wt(a.getSloEndTime()),
retention:p(ir(a,17)),entityStatus:TD(a.getEntityStatus()),isArchived:p($q(a,19)),accessLimitLevel:p(ir(a,21))}};var Mec=function(a){r.call(this,a,0,Mec.messageId)};U(Mec,r);f=Mec.prototype;f.getIssueId=function(){return dj(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueState=function(){return Z(this,Kec,2)};f.getVersion=function(){return Eh(this,3)};f.setVersion=function(a){return n(this,3,a)};f.getVersionOrUndefined=function(){return $s(this,3)};f.getCreatedTime=function(){return Z(this,yh,4)};f.getModifiedTime=function(){return Z(this,yh,5)};
f.getResolvedTime=function(){return Z(this,yh,6)};f.getVerifiedTime=function(){return Z(this,yh,7)};f.getSloId=function(){return dj(this,9)};f.setSloId=function(a){return n(this,9,a)};f.getSloStatus=function(){return Z(this,wj,10)};f.setSloStatus=function(a){Wi(this,wj,10,a)};f.hasSloStatus=function(){return Aj(this,wj,10)};f.getRetentionState=function(){return Z(this,vj,11)};f.setRetentionState=function(a){Wi(this,vj,11,a)};f.getAccessLimit=function(){return Z(this,Yh,12)};
f.setAccessLimit=function(a){return Wi(this,Yh,12,a)};f.getTeamId=function(){return dj(this,13)};f.setTeamId=function(a){return n(this,13,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueState:Lec(this.getIssueState()),version:p(Ms(this,3)),createdTime:wt(this.getCreatedTime()),modifiedTime:wt(this.getModifiedTime()),resolvedTime:wt(this.getResolvedTime()),verifiedTime:wt(this.getVerifiedTime()),sloId:p(m(this,9)),sloStatus:p9b(this.getSloStatus()),retentionState:h9b(this.getRetentionState()),accessLimit:Z7b(this.getAccessLimit()),teamId:p(m(this,13))}}else a=void 0;return a};Mec.messageId="b.IssueMetadata";var pH=function(a){r.call(this,a)};U(pH,r);pH.prototype.getIssueIdsList=function(){return fl(this,1)};pH.prototype.setIssueIdsList=function(a){return ob(this,1,a,bb)};pH.prototype.addIssueIds=function(a){sb(this,1,a)};pH.repeatedFields_=[1];pH.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(fl(this,1)),read:p($q(this,2))}}else a=void 0;return a};var Nec=function(a){r.call(this,a,0,Nec.messageId)};U(Nec,r);Nec.prototype.toObject=function(){if(null!=this){t(this);var a={readTimestamp:p(m(this,1))}}else a=void 0;return a};Nec.messageId="b.UpdateIssueReadTimestampResponse";var qH=function(a){this.executor=a};qH.prototype.delete=function(a,b){var c=new q9b;c.setIssueId(String(a));c.setReason(dsa[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};qH.prototype.undelete=function(a){var b=new YD;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};qH.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:Mec}).then(wta)};
qH.prototype.markRead=function(a,b){b=void 0===b?!0:b;var c=new pH;c.setIssueIdsList(a.map(Number));Ij(c,2,b);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:Nec}).then(vta)};qH.\u0275fac=function(a){return new (a||qH)(u($C))};qH.\u0275prov=mc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var rH=function(){this.refreshRequest=new E.Subject};rH.prototype.getObservable=function(){return this.refreshRequest};var Oec=function(a,b){return a.getObservable().pipe(Ne(void 0)).pipe(Oe(function(){return b}))};rH.\u0275fac=function(a){return new (a||rH)};rH.\u0275prov=mc({token:rH,factory:rH.\u0275fac,providedIn:"root"});var sH=Gn.ISSUE,tH=function(a,b,c,d,e,g,h,l){eF.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(x){return String(x.issueId)};this.isEqual=Kh;this.issueFetchResponse$=new E.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(x){return q.call(x)},split:function(x,
A){return q.splitBatch(x,A)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};U(tH,eF);tH.prototype.fetchOne=function(a){return this.get(a).pipe(ye(function(){return(0,E.of)(void 0)}))};tH.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(ni)}))};
tH.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(D(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Ec");};tH.prototype.copy=function(a){return a&&Lh(a)};
var Pec=function(a,b,c){a.analytics.trackEvent(sH,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};H$b(a.activeSession)&&(d.voted=c);return gec(a.userResources,b,d).pipe(Qe(function(){dF(a,b,function(e){e.userData&&(e.userData.starred=c,H$b(a.activeSession)&&(e.userData.voted=c))})}))};
tH.prototype.setVoted=function(a,b){var c=this;this.analytics.trackEvent(sH,"light-ixn","vote",b);return gec(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(Qe(function(){dF(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
tH.prototype.setNotificationSubscription=function(a,b){var c=this,d;return de(function(e){if(1==e.nextAddress)return c.analytics.trackEvent(sH,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},e.yield((0,E.firstValueFrom)(gec(c.userResources,a,d)),2);dF(c,a,function(g){g.userData&&(g.userData.notificationSubscription=b)});ie(e)})};
var Qec=function(a,b,c){a.analytics.trackEvent(sH,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};dF(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(Qe(function(e){e&&a.announce(e.issue)}))},Rec=function(a,b,c,d){var e,g,h,l,q,x,A;return de(function(B){if(1==B.nextAddress){a.analytics.trackEvent(sH,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};g=k([].concat(Pc(c),Pc(d)));for(h=g.next();!h.done;h=g.next())l=
h.value,a.hotlistFridge.setIsSaving(l);ee(B,2);return B.yield((0,E.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var K=k([].concat(Pc(c),Pc(d))),O=K.next();!O.done;O=K.next())a.hotlistFridge.clearIsSaving(O.value)}),4)}if(2!=B.nextAddress)return(q=B.yieldResult)&&a.announce(q.issue),B.return(null==(x=q)?void 0:x.issue);A=he(B);a.poke(b);throw A;})},Sec=function(a,b,c){return uH(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
tH.prototype.removeDuplicate=function(a,b){var c=this;return uH(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var uH=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);a.analytics.trackEvent(sH,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};Tec(a,b);var g=[d].concat(Pc(e));e=k(g);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,E.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)})},
vH=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 de(function(x){if(1==x.nextAddress)return a.activeSession.isAnonymous()?x.return():x.yield(a.issueService.markRead(b,d),2);g=x.yieldResult;if(e)for(h=k(b),l=h.next();!l.done;l=h.next())q=l.value,dF(a,String(q),function(A){A.userData&&(A.userData.lastViewedTimeMicros=g.readTimestamp)});return x.return(g.readTimestamp?Math.round(g.readTimestamp/1E3):void 0)})},Tec=function(a,
b){dF(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(Pc(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),Pc(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:[]}}})};
tH.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(Pc(a))[0];return this.issueResources.getIssue(c).pipe(Qe(function(d){b.issueFetchResponse$.next(d)}),D(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(Pc(a))).pipe(D(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};tH.prototype.splitBatch=function(a,b){return b.get(a)};tH.\u0275fac=function(a){return new (a||tH)(u(hF),u(zE),u(XG),u(rH),u(qH),u(ds),u($G),u(oH))};
tH.\u0275prov=mc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var wH=function(a,b){eF.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=Kh;this.destroyed$=new E.ReplaySubject(1);jec?a=void 0:(jec=!0,a=uya());a&&Uec(this,a);this.issueFridge.issueFetchResponse$.pipe(ue(ni),D($ya),Pe(this.destroyed$)).subscribe(this.announce)};U(wH,eF);
var xH=function(a,b){return a.watch(b).pipe(Oe(function(c){return a.issueFridge.watch(b).pipe(D(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},yH=function(a,b,c){return a.poke(b,c).then(function(){return(0,E.firstValueFrom)(xH(a,b))})},Uec=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)};
wH.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(Qe(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),D(function(c){return c&&$ya(c)}),ye(function(c){b.issueFridge.clearIsGetting(a);return(0,E.throwError)(c)}))};wH.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};wH.prototype.copy=function(a){return a&&Object.assign({},a)};
wH.\u0275fac=function(a){return new (a||wH)(u(zE),u(tH))};wH.\u0275prov=mc({token:wH,factory:wH.\u0275fac,providedIn:"root"});var zH={},Vec=(zH.BUG="BUG",zH.FEATURE_REQUEST="FEATURE_REQUEST",zH.CUSTOMER_ISSUE="CUSTOMER_ISSUE",zH.INTERNAL_CLEANUP="INTERNAL_CLEANUP",zH.PROCESS="PROCESS",zH.VULNERABILITY="VULNERABILITY",zH.PRIVACY_ISSUE="PRIVACY_ISSUE",zH.EPIC="STORY",zH.STORY="TASK",zH.TASK="TASK",zH.PROJECT="TASK",zH.FEATURE="TASK",zH.MILESTONE="TASK",zH);var AH=function(a,b,c){cF.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=Kh;this.activeMoveOperation$=new E.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=bza(function(e,g){return Wec(d,e,g)});this.assignParentToOneIssue=function(e,g){return Wec(d,String(e),[{issueId:g}])};
this.moveChildrenInAPI=aza(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=bza(function(e){var g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,Ya,wa,Ka,Na,eb;return de(function(ab){switch(ab.nextAddress){case 1:h=iza(e);if(0===h.length)return ab.return();l=h.map(function(Sc){return Sc.issues.map(function(fb){return fb.parentId})}).flat();q=h.map(function(Sc){return Sc.newParentId});x=ol([].concat(Pc(l),Pc(q)));A=k(x);for(B=A.next();!B.done;B=A.next())K=
B.value,d.setIsSaving(K);ee(ab,2);O=k(h);P=O.next();case 4:if(P.done){ks(ab,3);break}Y=P.value;X={};ka=k(Y.newRelations);ma=ka.next();case 7:if(ma.done){P=O.next();ab.jumpTo(4);break}X.$jscomp$loop$prop$newRelation$2276=ma.value;ya=Y.issues.find(function(Sc){return function(fb){return fb.issueId===Sc.$jscomp$loop$prop$newRelation$2276.targetIssueId}}(X)).parentId;if(Y.newParentId===ya)return Ma=void 0,ab.yield((0,E.firstValueFrom)(d.issueRelationshipService.update(Y.newParentId,1,CE(sac(new BE,null!=
(Ma=hi(X.$jscomp$loop$prop$newRelation$2276.afterIssueId))?Ma:0),Number(X.$jscomp$loop$prop$newRelation$2276.targetIssueId)))),8);Aa=void 0;return ab.yield((0,E.firstValueFrom)(d.issueRelationshipService.create(Y.newParentId,1,CE(sac(new BE,null!=(Aa=hi(X.$jscomp$loop$prop$newRelation$2276.afterIssueId))?Aa:0),Number(X.$jscomp$loop$prop$newRelation$2276.targetIssueId)))).catch(function(Sc){var fb,zb;if(!(null==Sc?0:null==(fb=Sc.error)?0:null==(zb=fb.details)?0:zb.includes("ALREADY_EXISTS")))throw Sc;
}),12);case 12:return ab.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(ya,1,X.$jscomp$loop$prop$newRelation$2276.targetIssueId)),8);case 8:X={$jscomp$loop$prop$newRelation$2276:X.$jscomp$loop$prop$newRelation$2276};ma=ka.next();ab.jumpTo(7);break;case 2:g=Ra=he(ab);case 3:Ta=d.activeMoveOperation$.value;Lb=k(e.map(function(Sc){return Sc.eventTimestamps}).flat());for(qb=Lb.next();!qb.done;qb=Lb.next())Ya=qb.value,Ta.delete(Ya);d.activeMoveOperation$.next(Ta);wa=k(x);for(B=wa.next();!B.done;B=
wa.next())Ka=B.value,d.clearIsSaving(Ka);Promise.all(x.map(function(Sc){return d.poke(Sc)}));Na=k(h);for(P=Na.next();!P.done;P=Na.next())eb=P.value,g&&eb.done.reject(g),eb.done.resolve();ie(ab)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};U(AH,cF);
AH.prototype.fetchOne=function(a){var b=this;return Xec(this,function(){return b.issueRelationshipService.list(a,1).pipe(D(function(c){return{issueId:a,relatedChildren:c.map(hsa),totalChildCount:c.length}}),ye(function(c){return Nl(c)&&403===c.status?(0,E.of)(void 0):(0,E.throwError)(c)}))})};
AH.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(Pc(null!=(c=a.ids)?c:[]));return 0===d.length?(0,E.of)({results:[]}):Xec(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:1,includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(D(pta),D(function(e){return{results:e}}))});default:nh(a.type)}};AH.prototype.copy=function(a){return a&&Lh(a)};
var Xec=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(ue(function(d){return 0===d.size}),Oe(function(){return b()}),Oe(function(d){return 0===a.activeMoveOperation$.value.size?(0,E.of)(d):c()}),Ce())};return c()},Yec=function(a,b){return a.watch(b).pipe(Oe(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,E.of)(c):a.watch(b,{trustMemory:!1})}))},Zec=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},$ec=function(a,
b){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:3})};
AH.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return de(function(g){switch(g.nextAddress){case 1:dF(d.issueFridge,b,function(h){--h.childIssueCount});dF(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});dF(d,b,function(h){var l=h.relatedChildren;h.relatedChildren=hza(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return g.return();ee(g,2);return g.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(b,
1,a)),4);case 4:ks(g,0);break;case 2:return e=he(g),g.yield(Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var Wec=function(a,b,c){var d,e,g,h,l,q,x,A,B,K;return de(function(O){switch(O.nextAddress){case 1:d=[];e=[];g=[];if(0===c.length)return O.return({added:d,notAdded:e});h=afc(a,b);l=c.map(function(P,Y){var X="-1"===P.afterIssueId?h:P.afterIssueId;return{targetIssueId:P.issueId,afterIssueId:Y?c[Y-1].issueId:X}});bfc(a,b,l);q=k(l);x=q.next();case 2:if(x.done){O.jumpTo(4);break}A=x.value;ee(O,5);B=void 0;return O.yield((0,E.firstValueFrom)(a.issueRelationshipService.create(b,1,CE(sac(new BE,null!=(B=
hi(A.afterIssueId))?B:0),Number(A.targetIssueId)))),7);case 7:d.push(A.targetIssueId);ks(O,3);break;case 5:K=he(O);if(!Nl(K))throw K;g.push(K);e.push(A.targetIssueId);case 3:x=q.next();O.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),O.return(Object.assign({},{added:d,notAdded:e},g.length?{errors:g}:{}))}})},bfc=function(a,b,c){var d=0;dF(a,b,function(e){var g=gza(e.relatedChildren,c);d=g.length-e.relatedChildren.length;e.relatedChildren=g;e.totalChildCount+=d},{evenWhenInFlight:!0});
dF(a.issueFridge,b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},cfc=function(a,b,c){var d,e,g,h,l,q,x,A,B,K,O,P;return de(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(X){return(0,E.firstValueFrom)(a.issueRelationshipService.create(X,1,CE(sac(new BE,Number(afc(a,X))),Number(b))))})),2);h=Y.yieldResult;l=k(h.entries());for(q=l.next();!q.done;q=l.next())x=q.value,A=k(x),B=A.next().value,K=A.next().value,
O=B,P=K,"fulfilled"===P.status&&d.push(c[O]),"rejected"===P.status&&(e.push(c[O]),g.push(P.reason));Promise.all(c.map(function(X){return a.poke(X)}));return Y.return({added:d,notAdded:e,errors:g})})},dfc=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var g={},h=k(c),l=h.next();!l.done;g={$jscomp$loop$prop$issue$2278:g.$jscomp$loop$prop$issue$2278},l=h.next())g.$jscomp$loop$prop$issue$2278=l.value,dF(a,g.$jscomp$loop$prop$issue$2278.parentId,
function(ka){return function(ma){ma.relatedChildren=hza(ma.relatedChildren,ka.$jscomp$loop$prop$issue$2278.issueId);--ma.totalChildCount}}(g));var q=void 0,x;if(null==(x=b.position)?0:x.issueId){var A;if("after"===(null==(A=b.position)?void 0:A.position))q=b.position.issueId;else{var B;if("before"===(null==(B=b.position)?void 0:B.position)){var K,O;g=null!=(O=null==(K=a.memory.getData(d))?void 0:K.relatedChildren)?O:[];K=k(g.entries());for(O=K.next();!O.done;O=K.next())if(h=k(O.value),O=h.next().value,
h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=null==(b=g[O-1])?void 0:b.targetIssueId;break}}}}var P=c.map(function(ka,ma){return{targetIssueId:ka.issueId,afterIssueId:ma?c[ma-1].issueId:q}});void 0!==ebc(a,d)?dF(a,d,function(ka){ka.relatedChildren=gza(ka.relatedChildren,P);ka.totalChildCount+=P.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:gza([],P),totalChildCount:P.length});b=new Rva;var Y,X;a.moveChildrenInAPI({newParentId:d,newRelations:P,issues:c,eventTimestamps:[e],
newParentChildrenSnapshot:null!=(X=null==(Y=a.memory.getData(d))?void 0:Y.relatedChildren)?X:[],done:b});return b.promise},afc=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"};AH.\u0275fac=function(a){return new (a||AH)(u(OE),u(tH),u(rH))};AH.\u0275prov=mc({token:AH,factory:AH.\u0275fac,providedIn:"root"});var BH=function(a){eF.call(this);this.observableAccessResources=a;this.recordType="permissions"};U(BH,eF);BH.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(D(function(b){return k(b).next().value}))};
BH.prototype.fetchSet=function(a){for(var b=[],c=k(a),d=c.next();!d.done;d=c.next())d=d.value,b.push(["admin",d]),b.push(["writer",d]),b.push(["appender",d]),b.push(["reader",d]);c=b.map(function(e){return e[0]});b=b.map(function(e){return e[1]});return this.observableAccessResources.bulkGetUserAccess(c,b).pipe(D(function(e){return a.map(function(g){return Object.assign({},e[g],{id:g})})}))};BH.\u0275fac=function(a){return new (a||BH)(u(AF))};BH.\u0275prov=mc({token:BH,factory:BH.\u0275fac,providedIn:"root"});var efc={results:[]},CH=function(a){eF.call(this);this.savedSearchResources=a;this.recordType="savedSearch";this.idKey="searchId"};U(CH,eF);CH.prototype.fetchAll=function(a){if("me"===a.parent)return this.savedSearchResources.getUserSavedSearches().pipe(D(function(b){return{results:b}}));vh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)(efc)};CH.\u0275fac=function(a){return new (a||CH)(u(XG))};CH.\u0275prov=mc({token:CH,factory:CH.\u0275fac,providedIn:"root"});var ffc=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new LG(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};ffc.prototype.get=function(a){var b=this;return new E.Observable(function(c){var d=b.lruCache.get(a);d||(d=gfc(b,a));return d.obs$.subscribe(c)})};
var gfc=function(a,b){var c=a.rawGet(b).pipe(Le({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 hfc(c,d);a.lruCache.set(b,c);return c},hfc=function(a,b){this.obs$=a;this.subscription=b};var DH=function(a){r.call(this,a,0,DH.messageId)};U(DH,r);DH.prototype.setTeamIdsList=function(a){return hj(this,1,a)};DH.repeatedFields_=[1];DH.prototype.toObject=function(){if(null!=this){t(this);var a={teamIdsList:p(Fh(this,1))}}else a=void 0;return a};DH.messageId="b.BatchChildTeamsRequest";var ifc=function(a){r.call(this,a)};U(ifc,r);ifc.repeatedFields_=[1];ifc.prototype.toObject=function(){return jfc(this)};var jfc=function(a){if(null!=a)return t(a),{teamSummariesList:Gb(Ch(a,N9b,1),O9b)}};var kfc=function(a){r.call(this,a,0,kfc.messageId)};U(kfc,r);kfc.prototype.toObject=function(){if(null!=this){t(this);var a={childTeamsMap:Ib(Sj(this,1,ifc),jfc)}}else a=void 0;return a};kfc.messageId="b.BatchChildTeamsResponse";var EH=function(a){r.call(this,a,0,EH.messageId)};U(EH,r);EH.prototype.toObject=function(){if(null!=this){t(this);var a={teamsMap:Ib(Sj(this,1,bE),K9b)}}else a=void 0;return a};EH.messageId="b.BatchGetTeamsResponse";var FH=function(a){r.call(this,a,0,FH.messageId)};U(FH,r);FH.prototype.getTeamSuggestionsList=function(){return Ch(this,L9b,1)};FH.prototype.setTeamSuggestionsList=function(a){aj(this,1,a)};FH.repeatedFields_=[1];FH.prototype.toObject=function(){if(null!=this){t(this);var a={teamSuggestionsList:Gb(this.getTeamSuggestionsList(),M9b)}}else a=void 0;return a};FH.messageId="b.TeamSuggestionResult";var GH=function(a){r.call(this,a,0,GH.messageId)};U(GH,r);GH.prototype.getTeamId=function(){return wi(this,1)};GH.prototype.setTeamId=function(a){return n(this,1,a)};GH.prototype.toObject=function(){if(null!=this){t(this);var a={teamId:p(m(this,1)),sloMetadata:J9b(Z(this,Jj,2))}}else a=void 0;return a};GH.messageId="b.UpdateTeamSloRequest";var HH=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 ffc(function(e){return d.batchAdaptedGet(e)},100)};HH.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:bE}).pipe(D(Ksa))};HH.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var IH=function(a,b){return a.getTeam(b).pipe(D(function(c){return null!=c?c:jza(b)}),ye(function(){return(0,E.of)(jza(b))}))},lfc=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,E.forkJoin)(b).pipe(D(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}))};
HH.prototype.getChildTeams=function(a){a=(new DH).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:kfc}).pipe(D(function(b){b=[].concat(Pc(Sj(b,1,ifc).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return[c,Ch(d,N9b,1).map(Isa)]}))}))};
var JH=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:FH}).pipe(D(function(c){return c.getTeamSuggestionsList().map(Osa)}))},mfc=function(a,b,c){return"0"===b?(0,E.of)(!1):a.memoizingTeamStateMap.get(b).pipe(D(function(d){return void 0!==(null==d?void 0:d.members.find(function(e){return e&&ci(e.user)===c}))}))},nfc=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:EH}).pipe(ye(function(){return(0,E.of)(new EH)}),
D(function(c){return new Map(Array.from(Sj(c,1,bE).entries()).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;return[d,dj(e,9)]}))}))};
HH.prototype.updateTeam=function(a){var b=new bE;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(hi).filter(ni));Di(b,6,a.collapsedPathNames);var d;b.setMembersList(null==(d=a.members)?void 0:d.map(Lsa));b.setDeleted(a.deleted);n(b,9,a.estimatedComponentCount);b.setSlo(Msa(a.slo));null!=a.sloLead&&(c=fi(a.sloLead),Wi(b,ei,12,c));null!=a.defaultSloLead&&(c=fi(a.defaultSloLead),
Wi(b,ei,13,c));return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:bE}).pipe(D(Ksa))};HH.\u0275fac=function(a){return new (a||HH)(u(ZC),u(KH),u(hF))};HH.\u0275prov=mc({token:HH,factory:HH.\u0275fac,providedIn:"root"});var KH=function(a){this.executor=a};KH.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(Pc(a)).join(",")}},responseConstructor:EH}).pipe(ye(function(){return(0,E.of)(new EH)}))};
KH.prototype.split=function(a,b){return(a=Sj(b,1,bE).get(a))?Ksa(a):void 0};KH.\u0275fac=function(a){return new (a||KH)(u(ZC))};KH.\u0275prov=mc({token:KH,factory:KH.\u0275fac,providedIn:"root"});var LH=function(a){cF.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};U(LH,cF);LH.prototype.fetchAll=function(a){if(a.myTeams)return JH(this.teamsApi,"").pipe(D(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Fc");};LH.\u0275fac=function(a){return new (a||LH)(u(HH))};LH.\u0275prov=mc({token:LH,factory:LH.\u0275fac,providedIn:"root"});var MH=function(a){eF.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};U(MH,eF);MH.prototype.fetchOne=function(a){return"0"===a?(0,E.of)(void 0):this.teamsApi.getTeam(a).pipe(ye(function(){return(0,E.of)(void 0)}))};MH.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(ni)}))};MH.\u0275fac=function(a){return new (a||MH)(u(HH))};
MH.\u0275prov=mc({token:MH,factory:MH.\u0275fac,providedIn:"root"});var NH=function(a){r.call(this,a,0,NH.messageId)};U(NH,r);NH.prototype.getTrackersList=function(){return Ch(this,il,1)};NH.repeatedFields_=[1];NH.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Gb(this.getTrackersList(),W9b)}}else a=void 0;return a};NH.messageId="b.BatchGetTrackersResponse";var OH=function(a){r.call(this,a,0,OH.messageId)};U(OH,r);OH.prototype.getTrackersList=function(){return Ch(this,il,1)};OH.prototype.getNextPageToken=function(){return V(this,2)};OH.prototype.getTotalSize=function(){return Eh(this,3)};OH.repeatedFields_=[1];OH.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Gb(this.getTrackersList(),W9b),nextPageToken:p(m(this,2)),totalSize:p(Ms(this,3))}}else a=void 0;return a};OH.messageId="b.ListTrackersResponse";var PH=function(a){this.jspbExecutor=a};PH.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:il}).pipe(D(Hta))};PH.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:NH,options:{params:{trackerIds:a}}}).pipe(D(Ita))};
PH.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:OH,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(D(Jta))};PH.\u0275fac=function(a){return new (a||PH)(u(ZC))};PH.\u0275prov=mc({token:PH,factory:PH.\u0275fac,providedIn:"root"});var QH=function(a,b){eF.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)};U(QH,eF);QH.prototype.fetchOne=function(a){return this.trackerApi.get(a)};QH.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
QH.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(D(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};QH.\u0275fac=function(a){return new (a||QH)(u(PH),u(ds))};QH.\u0275prov=mc({token:QH,factory:QH.\u0275fac,providedIn:"root"});var RH=function(a){this.issueFridge=a},ofc=function(a,b,c){c=void 0===c?!1:c;if(null==b)return(0,E.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(D(function(e){return e.results}))},pfc=function(a){var b=Il();return a.issueFridge.watchMany({filter:Gl()!==Hl?"(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(D(function(c){return c.results}))},qfc=function(a){return a.issueFridge.watchMany({filter:"assignee:"+Il()+" status:open modified:30d",
pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){return b.results}))};RH.\u0275fac=function(a){return new (a||RH)(u(tH))};RH.\u0275prov=mc({token:RH,factory:RH.\u0275fac,providedIn:"root"});var SH=function(a){var b=this;this.queryIssuesService=a;this.issuesFromQuery$=(0,E.defer)(function(){return ofc(b.queryIssuesService,Il(),!0)});this.suggestedHotlists$=this.issuesFromQuery$.pipe(D(this.fetchHotlistsFromIssues.bind(this)))};
SH.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 rfc(b)};
var rfc=function(a){return new Map([].concat(Pc(a.entries())).sort(function(b,c){return c[1].confidence-b[1].confidence}))};SH.prototype.calculateConfidence=function(a){var b=0,c=Il(),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,x;d=(null==(l=a.snapshot[0])?void 0:null==(q=l.reporterUser)?void 0:null==(x=q.emailAddress)?void 0:x.split("@")[0])===c;h&&(b+=5);d&&(b+=3);return b=vl(a)?b+2:b+1};
SH.\u0275fac=function(a){return new (a||SH)(u(RH))};SH.\u0275prov=mc({token:SH,factory:SH.\u0275fac,providedIn:"root"});var sfc=function(a){r.call(this,a)};U(sfc,r);f=sfc.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComment=function(){return V(this,2)};f.setComment=function(a){n(this,2,a)};f.getFormattingMode=function(){return W(this,3,0)};f.setFormattingMode=function(a){return n(this,3,a)};f.getContentJudgement=function(){return Z(this,xi,4)};f.setContentJudgement=function(a){return Wi(this,xi,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),comment:p(m(this,2)),formattingMode:p(ir(this,3)),contentJudgement:nD(this.getContentJudgement())}}else a=void 0;return a};var tfc=function(a){r.call(this,a,0,tfc.messageId)};U(tfc,r);f=tfc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.setPageSize=function(a){return n(this,2,a)};f.setPageToken=function(a){return n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={type:p(ir(this,1)),pageSize:p(Ms(this,2)),pageToken:p(m(this,3))}}else a=void 0;return a};tfc.messageId="b.ListCommentReactionRespondersRequest";var qk=function(a){r.call(this,a,0,qk.messageId)};U(qk,r);qk.prototype.getCreatedTime=function(){return Z(this,yh,2)};qk.prototype.toObject=function(){return ufc(this)};var ufc=function(a){if(null!=a)return t(a),{responder:jD(Z(a,ei,1)),createdTime:wt(a.getCreatedTime())}};qk.messageId="b.CommentReactionResponder";var TH=function(a){r.call(this,a,0,TH.messageId)};U(TH,r);TH.prototype.getNextPageToken=function(){return V(this,2)};TH.prototype.getTotalSize=function(){return Eh(this,3)};TH.repeatedFields_=[1];TH.prototype.toObject=function(){if(null!=this){t(this);var a={respondersList:Gb(Ch(this,qk,1),ufc),nextPageToken:p(m(this,2)),totalSize:p(Ms(this,3))}}else a=void 0;return a};TH.messageId="b.ListCommentReactionRespondersResponse";var UH=function(a){r.call(this,a,0,UH.messageId)};U(UH,r);UH.prototype.getIssueCommentsList=function(){return Ch(this,VD,1)};UH.repeatedFields_=[1];UH.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Gb(this.getIssueCommentsList(),x9b)}}else a=void 0;return a};UH.messageId="b.ListIssueCommentHistoryResponse";var vfc=function(a){r.call(this,a)};U(vfc,r);f=vfc.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Eh(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.getComment=function(){return V(this,3)};f.setComment=function(a){n(this,3,a)};f.getFormattingMode=function(){return W(this,4,0)};f.setFormattingMode=function(a){return n(this,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),commentNumber:p(Ms(this,2)),comment:p(m(this,3)),formattingMode:p(ir(this,4))}}else a=void 0;return a};var VH=function(){};VH.\u0275fac=function(a){return new (a||VH)};VH.\u0275prov=mc({token:VH,factory:VH.\u0275fac,providedIn:"root"});var WH=function(a){this.executor=a};f=WH.prototype;f.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(Nqa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:VD}).pipe(D(ik))};
f.create=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new sfc;e.setIssueId(a);e.setComment(b);e.setFormattingMode(xta(c));d&&e.setContentJudgement(Qqa(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 vfc;e.setIssueId(a);e.setCommentNumber(b);e.setComment(c);e.setFormattingMode(xta(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:VD}).pipe(D(ik))};f.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:UH}).pipe(D(Ata))};
f.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType;a=a.hasReacted;var e;d=(new RD).addReactionStates((new QD).setType(null!=(e=P7b[d])?e:0).setHasReacted(a));return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:d,responseConstructor:RD}).pipe(D(zta))};
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 tfc).setType(null!=(g=P7b[d])?g:0).setPageSize(a);e&&d.setPageToken(e);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/listReactionResponders",body:d,responseConstructor:TH}).pipe(D(Dta))};WH.\u0275fac=function(a){return new (a||WH)(u(ZC))};WH.\u0275prov=mc({token:WH,factory:WH.\u0275fac,providedIn:"root"});
var XH=function(a){this.observableApi=a};U(XH,VH);f=XH.prototype;f.get=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.get(a,b,c))};f.create=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};f.update=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};f.delete=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.delete(a,b,c,d))};
f.undelete=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.undelete(a,b,c))};f.listHistory=function(a,b){return(0,E.firstValueFrom)(this.observableApi.listHistory(a,b))};f.updateCommentReaction=function(a){return(0,E.firstValueFrom)(this.observableApi.updateCommentReaction(a))};f.listCommentReactionResponders=function(a){return(0,E.firstValueFrom)(this.observableApi.listCommentReactionResponders(a))};XH.\u0275fac=function(a){return new (a||XH)(u(WH))};
XH.\u0275prov=mc({token:XH,factory:XH.\u0275fac,providedIn:"root"});var YH=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new E.Subject;this.email=this.activeSession.getUserEmail();this.user=gi(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(D(function(c){return c.results}));this.teams$.pipe(D(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(D(function(c){return c.flatMap(function(d){return d.pathIds})}),
D(function(c){return[].concat(Pc(new Set(c))).filter(ni)}));this.allTeamIdsSubject$=Rm(this.allTeamIds$.pipe(Pe(this.destroyed$)),[])};YH.prototype.ngOnDestroy=function(){this.destroyed$.next()};ch.Object.defineProperties(YH.prototype,{allTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.allTeamIdsSubject$.value}}});YH.\u0275fac=function(a){return new (a||YH)(u(LH),u(ds))};YH.\u0275prov=mc({token:YH,factory:YH.\u0275fac,providedIn:"root"});var wfc="QA"===jl().config.environmentType?412808:1294964,Fua=[9019942154,9327443891,1953099861400,1292819114016,1525660445733],ZH=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 E.BehaviorSubject(void 0);this.issue$=new E.BehaviorSubject(void 0);this.projectIds$=this.prefs$.pipe(D(function(h){return null==h?void 0:h.id}),Oe(this.issueRelationshipsFridge.watch),D(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),xfc(g)):console.error("UNHANDLED: Couldn't save hackypref",h)}};ZH.prototype.init=function(a,b){a=void 0===a?Hl:a;var c=this;return de(function(d){c.ldap=a;c.pendingCfgBundleName=b;return d.yield(yfc(c),0)})};var yfc=function(a){return de(function(b){return b.yield(zfc(a),0)})};
ZH.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(){Afc(b,c)}).catch(this.onSaveError))};
var cp=function(a,b){a.save(Object.assign({},a.prefs,b))},xfc=function(a){var b,c,d,e,g;de(function(h){if(1==h.nextAddress){b=a.prefs.id;if(null==b)return h.return();d=null!=(c=Sm(a.projectIds$))?c:[];return h.yield(Bfc(a),2)}e=h.yieldResult;a.prefs.id=e;a.save(a.prefs);g=d.map(Number).map(function(l){return CE(new BE,l)});Aac(a.issueRelationshipService,e,g).subscribe();return h.yield(Cfc(a,b),0)})},Cfc=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"}]})};ZH.prototype.toggleCollapsed=function(a){this.prefs.collapsed[a]=!this.prefs.collapsed[a];this.save(this.prefs)};
var Afc=function(a,b){var c;return de(function(d){if(1==d.nextAddress)return d.yield(a.issueApi.getIssue(b),2);c=d.yieldResult;Dfc(a,c);ie(d)})},Dfc=function(a,b){var c,d,e,g,h,l,q,x;de(function(A){if(1==A.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(O){console.warn("unable to parse as json: `"+e+"`"),console.error(O)}return A.yield(Efc(a),
2)}q=A.yieldResult;x=Object.assign({},q,h,{id:c});a.prefs$.next(x);var B=a.pendingCfgBundleName;if(null!=B){var K=ubc[B];a.pendingCfgBundleName=void 0;null==K?console.error('No config bundle found named "'+B+'"'):cp(a,K)}ie(A)})},zfc=function(a){var b;return de(function(c){switch(c.nextAddress){case 1:return c.yield(Ffc(a),2);case 2:b=c.yieldResult;if(null!=b){c.jumpTo(3);break}return c.yield(Bfc(a),4);case 4:b=c.yieldResult;case 3:return c.yield(Afc(a,b),0)}})},Ffc=function(a){var b,c,d,e;return de(function(g){if(1==
g.nextAddress)return c=null!=(b=a.ldap)?b:Hl,null==c?g.return():g.yield(Gfc(a,c),2);d=g.yieldResult;return g.return(null==(e=d)?void 0:e.issueId)})},Gfc=function(a,b){var c,d,e,g;return de(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])})},Bfc=function(a){var b,c,d,e,g,h;return de(function(l){if(1==
l.nextAddress){c=null!=(b=a.ldap)?b:Hl;if(null==c)return console.error("createConfigIssue() needs an ldap to make an issue"),l.return("");d={snapshot:{title:"__experimental config__ for "+c,componentId:wfc,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)})},Efc=function(a){var b;return de(function(c){0<a.currentUser.allTeamIds.length?(b=a.currentUser.allTeamIds.map(Number),b=Gua(b)):console.warn("No team ids found on currentUser");return c.return(Object.assign({},tbc,{teamIds:b}))})};ZH.prototype.getPinned=function(){var a;return null!=(a=this.prefs.pinned)?a:[]};
var pn=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)},Ho=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)}},Go=function(a,b,c){var d=a.prefs;if(null!=d.pinned&&Io(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)}},Io=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},Hfc=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)};
ch.Object.defineProperties(ZH.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefs$.value)?a:sbc}}});ZH.\u0275fac=function(a){return new (a||ZH)(u(AE),u(VH),u(YH),u(AH),u(OE))};ZH.\u0275prov=mc({token:ZH,factory:ZH.\u0275fac,providedIn:"root"});var $H=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="("+kza(this.currTeamIds)+") (created<"+lza()+") -status:(duplicate | infeasible | intended_behavior | not_reproducible | obsolete)";this.recentTeamIssues$=(0,E.timer)(1,11E3).pipe(Oe(function(){return e.issueFridge.watchMany({filter:e.currTeamIssuesFilter,
sort:"modified_time:desc",pageSize:20})}),D(function(h){return h.results}));this.teamObjects$=this.teamFridge.watchSet(this.currTeamIds);this.noChangeEvents$=this.recentTeamIssues$.pipe(D(function(h){return e.getNoChangeEvents(h)}));this.changedIssues$=this.recentTeamIssues$.pipe(D(function(h){return Cva(h,e.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(D(function(h){return h.map(function(l){return l.issueId})}),Oe(this.eventsForIssueFridge.watchSet));this.allRecentTeamEvents$=
(0,E.combineLatest)([this.noChangeEvents$,this.eventsForUpdatedIssues$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;for(var q=k(l),x=q.next();!x.done;x=q.next())x=x.value,e.issuesToEventsMap.set(x.id,x);return[].concat(Pc(h),Pc(l))}),ue(ni));this.interestingEventsForTeamActivity$=(0,E.combineLatest)([this.teamObjects$,this.allRecentTeamEvents$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;return e.filterAllEventsToRecentActivity(h,l)}))};
$H.prototype.getInterestingEventType=function(a,b){if(b.modifiedDate<(new Date(Date.now()-3456E5)).getTime())return"";if(Ifc(a,b.userPerformingActionUser)&&(0<b.preDiffs.length||0<b.postDiffs.length)){a=[].concat(Pc(b.preDiffs),Pc(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 zl(b)?"changelist":rl(b)&&b.isHumanAuthor?"comment":""};
var Ifc=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&&ci(d.user)===ci(b)}))return!0;return!1};
$H.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};
$H.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};$H.\u0275fac=function(a){return new (a||$H)(u(tH),u(ZH),u(fF),u(MH))};$H.\u0275prov=mc({token:$H,factory:$H.\u0275fac,providedIn:"root"});var aI=function(a,b){var c=this;this.queryIssuesService=a;this.eventsForIssueFridge=b;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;this.ldap=Il();this.issuesFromQuery$=(0,E.defer)(function(){return ofc(c.queryIssuesService,c.ldap)});this.changedIssues$=this.issuesFromQuery$.pipe(D(function(d){return Cva(d,c.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(D(function(d){return d.map(function(e){return e.issueId})}),Oe(function(d){return(0,E.combineLatest)(d.map(function(e){return c.eventsForIssueFridge.watch(e,
{trustUncertainMemory:!0})}))}),ue(ni));this.suggestedIssues$=(0,E.combineLatest)([this.issuesFromQuery$,this.eventsForUpdatedIssues$]).pipe(Oe(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=E.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,x=q.snapshot[0].reporterUser,A=q.snapshot[0].assigneeUser;l=g;var B=l.push,K=q.issueId;x=null===x?0:c.getLdapFromUser(x)===e?1:0;A=null===A?0:c.getLdapFromUser(A)===e?1:0;var O=q.majorModifiedTimeMicros,P=c.getPriority(q);var Y=void 0;var X=e;var ka=0,ma=new Set,ya=null==(Y=c.issuesToEventsMap.get(q.issueId))?void 0:Y.events;if(void 0!==ya)for(Y=k(ya),ya=Y.next();!ya.done;ya=Y.next()){var Aa=ya.value;if(rl(Aa)&&Aa.isHumanAuthor){var Ma=Aa.commentNumber;null===
Ma||ma.has(Ma)||(ya=Aa.lastCommentEditorUser,null!=ya&&(ma.add(Ma),Aa=Aa.unlinkifiedComment,ya=c.getLdapFromUser(ya),null!=Aa&&0<Aa.length&&ya===X&&(ka+=1)))}}X=ka;ya=void 0;ka=e;ma=0;Y=new Set;q=null==(ya=c.issuesToEventsMap.get(q.issueId))?void 0:ya.events;if(void 0!==q)for(q=k(q),ya=q.next();!ya.done;ya=q.next())ya=ya.value,zl(ya)&&(Aa=ya.commentNumber,null==Aa||Y.has(Aa)||(Y.add(Aa),Bl(ya)===ka&&(ma+=1)));q=ma;B.call(l,{issueId:K,reporterStatus:x,assigneeStatus:A,lastModifiedTime:O,priority:P,
commentCountByUser:X,clCountByUser:q})}}else g=[];e=[];g=k(g);for(B=g.next();!B.done;B=g.next())h=e,l=h.push,B=B.value,K=5-B.priority,x=B.lastModifiedTime,x=Math.abs(1E3*Date.now()-x)/864E8,l.call(h,{issueId:B.issueId,interest:K+(1>=x?4:7>=x?3:14>=x?2:30>=x?1:0)+2*B.commentCountByUser+2*B.clCountByUser+2*B.assigneeStatus+B.reporterStatus,priority:B.priority});g=[];Jfc(e);for(h=0;10>h;++h)g.push(e[h].issueId);e=g}else e=[];return d.call(E,e)}),Le({refCount:!0,bufferSize:1}))};
aI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};aI.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 Jfc=function(a){a.sort(function(b,c){return b.interest===c.interest?b.priority-c.priority:c.interest-b.interest})};
aI.\u0275fac=function(a){return new (a||aI)(u(RH),u(fF))};aI.\u0275prov=mc({token:aI,factory:aI.\u0275fac,providedIn:"root"});var bI=function(a,b,c){this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistApi=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map},Lfc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(Oe(function(){return a.issueFridge.watchMany({filter:"parentid:"+b+"+ OR id:"+b,sort:"modified_time:desc",pageSize:20})}),D(function(e){return e.results})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(D(function(e){return Kfc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),
Oe(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(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(Pc(e),Pc(g))}),ue(ni),D(function(e){return a.filterAllEventsToRecentActivity(e)}))},Mfc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(Oe(function(){return a.hotlistApi.getPagedHotlistContent(b,1,20,[])}),D(function(e){return e.issues})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));
c=c.pipe(D(function(e){return Kfc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),Oe(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(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(Pc(e),Pc(g))}),ue(ni),D(function(e){return a.filterAllEventsToRecentActivity(e)}))},Nfc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(Oe(function(){return a.issueFridge.watchMany({filter:"savedsearchid:"+
b,sort:"modified_time:desc",pageSize:20})}),D(function(e){return e.results})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(D(function(e){return Kfc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),Oe(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(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(Pc(e),Pc(g))}),ue(ni),D(function(e){return a.filterAllEventsToRecentActivity(e)}))};
bI.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 Kfc=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};
bI.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};
bI.prototype.getInterestingEventType=function(a){if(a.modifiedDate<Date.now()-12096E5)return"";if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(Pc(a.preDiffs),Pc(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 zl(a)?"changelistFixed":"status"}}return zl(a)?"changelist":rl(a)&&a.isHumanAuthor?"comment":""};
bI.\u0275fac=function(a){return new (a||bI)(u(tH),u(fF),u(QG))};bI.\u0275prov=mc({token:bI,factory:bI.\u0275fac,providedIn:"root"});var Ofc={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},Pfc={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},cI=function(a,b){this.issueFridge=a;this.issueRelationshipApi=b;this.parentToChildIssueIds=
new Map},Qfc=function(a){return a.issueFridge.watchMany({filter:"(assignee:"+Il()+") t:(feature | feature_request | story | task | internal_cleanup | process) modified:90d parentId:any",pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){var c;return null!=(c=b.results)?c:[]}),oe(a.findPossibleProjectIssueIds.bind(a)))};
cI.prototype.findPossibleProjectIssueIds=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,O;return de(function(P){switch(P.nextAddress){case 1:if(!a||0===a.length)return P.return([]);c=[a[0]];for(d={$jscomp$loop$prop$g$2286:1};d.$jscomp$loop$prop$g$2286<a.length;d={$jscomp$loop$prop$g$2286:d.$jscomp$loop$prop$g$2286},d.$jscomp$loop$prop$g$2286++)c.some(function(Y){return function(X){return X.parentIssueIds[0]===a[Y.$jscomp$loop$prop$g$2286].parentIssueIds[0]}}(d))||c.push(a[d.$jscomp$loop$prop$g$2286]);
return P.yield(Rfc(b,c),2);case 2:e=[],g=0;case 3:if(!(g<c.length)){P.jumpTo(5);break}return P.yield(Sfc(b,c[g]),6);case 6:h=P.yieldResult;e.push.apply(e,Pc(h));g++;P.jumpTo(3);break;case 5:l=new Map;q=k(e);for(x=q.next();!x.done;x=q.next())A=x.value,A.isArchived||(A.confidence=b.calculateConfidence(A),l.has(A.issueId)&&(B=l.get(A.issueId),K=A,A.confidence=B.confidence>K.confidence?B.confidence:K.confidence),l.set(A.issueId,A));O=Array.from(l.values());O.sort(function(Y,X){return X.confidence-Y.confidence});
return P.return(O.filter(function(Y){return 0<Y.confidence}).map(function(Y){return Y.issueId}).slice(0,10))}})};
var Rfc=function(a,b){var c,d,e,g,h,l,q,x,A;return de(function(B){if(1==B.nextAddress)return c=b.filter(function(K){return K.parentIssueIds&&0<K.parentIssueIds.length}).map(function(K){return K.parentIssueIds[0]}),d=[].concat(Pc(c)),B.yield((0,E.firstValueFrom)(a.issueRelationshipApi.batchGet(c,1,!1)),2);if(3!=B.nextAddress){e=B.yieldResult;g=[];h=k(e);for(l=h.next();!l.done;l=h.next())q=l.value,g=q.getIssueRelationshipsList().map(function(K){return String(dj(K,1))}),a.parentToChildIssueIds.set(String(dj(q,
3)),g),d.push.apply(d,Pc(g));return B.yield((0,E.firstValueFrom)(a.issueFridge.watchSet(d)),3)}x=B.yieldResult;A=x.filter(function(K){return c.includes(K.issueId)});return 0<A.length?B.yield(Rfc(a,A),0):B.jumpTo(0)})},Sfc=function(a,b,c){c=void 0===c?[]:c;var d,e,g,h,l,q,x,A,B,K,O,P;return de(function(Y){switch(Y.nextAddress){case 1:var X=Object,ka=X.assign,ma=b.issueId,ya=b.isArchived,Aa=Tfc(a,b)?1:0,Ma=(null!=(d=b.snapshot[0].changelist)?d:[]).length;var Ra=2592E9>1E3*Date.now()-b.majorModifiedTimeMicros;
e=ka.call(X,{},Ofc,{issueId:ma,issueIdChain:[],isArchived:ya,issueNumAssignedOrReported:Aa,issueNumCls:Ma,issueNumRecentlyModified:Ra?1:0,issueChildrenCount:b.childIssueCount||0,issueNumOpen:vl(b)?1:0,issueNumClosed:vl(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}x=q.value;return Y.yield((0,E.firstValueFrom)(a.issueFridge.watchOne(x)),6);case 6:h=Y.yieldResult;if(!h){Y.jumpTo(4);break}e.directChildrenNumAssignedOrReported+=
Tfc(a,h)?1:0;A=void 0;e.directChildrenNumCls+=(null!=(A=h.snapshot[0].changelist)?A:[]).length;X=e.directChildrenNumRecentlyModified;ka=h;ka=2592E9>1E3*Date.now()-ka.majorModifiedTimeMicros;e.directChildrenNumRecentlyModified=X+(ka?1:0);e.directChildrenCount+=1;e.directChildrenNumOpen+=vl(h)?1:0;e.directChildrenNumClosed+=vl(h)?0:1;case 4:q=l.next();Y.jumpTo(3);break;case 2:B=k(c);for(K=B.next();!K.done;K=B.next())O=K.value,e.issueIdChain.unshift(O.issueId),e.rollupNumAssignedOrReported+=O.issueNumAssignedOrReported+
O.directChildrenNumAssignedOrReported,e.rollupNumCls+=O.issueNumCls+O.directChildrenNumCls,e.rollupNumRecentlyModified+=O.issueNumRecentlyModified+O.directChildrenNumRecentlyModified,e.rollupChildrenCount+=O.issueChildrenCount+O.directChildrenCount,e.rollupNumOpen+=O.issueNumOpen+O.directChildrenNumOpen,e.rollupNumClosed+=O.issueNumClosed+O.directChildrenNumClosed;e.issueIdChain.unshift(b.issueId);c.push(e);return b.parentIssueIds&&0<b.parentIssueIds.length?Y.yield((0,E.firstValueFrom)(a.issueFridge.watchOne(b.parentIssueIds[0])),
8):Y.return(c);case 8:return(P=Y.yieldResult)?Y.return(Sfc(a,P,c)):Y.return(c)}})};
cI.prototype.calculateConfidence=function(a){var b=void 0===b?Pfc: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 Tfc=function(a,b){var c=Il(),d=a.getLdapFromUser(b.snapshot[0].assigneeUser);return a.getLdapFromUser(b.snapshot[0].reporterUser)===c||d===c};cI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};
cI.\u0275fac=function(a){return new (a||cI)(u(tH),u(OE))};cI.\u0275prov=mc({token:cI,factory:cI.\u0275fac,providedIn:"root"});var dI=function(){},Ufc=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""}};dI.\u0275fac=function(a){return new (a||dI)};
dI.\u0275cmp=Bc({type:dI,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(G(0,"span",0),R(1),H());a&2&&(F("ngClass",Ufc(b)),z(1),a=b.issuePriority,zf(" ",null==a?"--":Eac[a]," "))},dependencies:[rw],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var eI=function(a){r.call(this,a)};U(eI,r);eI.prototype.getDisplayName=function(){return V(this,1)};eI.prototype.setDisplayName=function(a){return n(this,1,a)};eI.prototype.getPhotoUrl=function(){return V(this,2)};eI.prototype.toObject=function(){return Vfc(this)};var Vfc=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),photoUrl:p(m(a,2)),highResolutionPhotoUrl:p(m(a,3))}};var fI=function(a){r.call(this,a,0,fI.messageId)};U(fI,r);fI.prototype.toObject=function(){if(null!=this){t(this);var a={userProfileMap:Ib(Sj(this,1,eI),Vfc)}}else a=void 0;return a};fI.messageId="b.UserProfileBatchResponse";var gI=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new ffc(function(d){return c.batchAdaptedGet(d)},100)};gI.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};gI.\u0275fac=function(a){return new (a||gI)(u(hI),u(hF))};gI.\u0275prov=mc({token:gI,factory:gI.\u0275fac,providedIn:"root"});var hI=function(a){this.executor=a};
hI.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(Pc(a)).join(",")}},responseConstructor:fI}).pipe(ye(function(){return(0,E.of)(new fI)}))};hI.prototype.split=function(a,b){return(a=Sj(b,1,eI).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:V(a,3),displayName:a.getDisplayName()}:void 0};hI.\u0275fac=function(a){return new (a||hI)(u(ZC))};hI.\u0275prov=mc({token:hI,factory:hI.\u0275fac,providedIn:"root"});var iI=function(a,b,c){jE.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};U(iI,jE);ch.Object.defineProperties(iI.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(Pe(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});iI.\u0275fac=function(a){return new (a||iI)(C(Mf),C(Nf),C(mw))};
iI.\u0275dir=Gc({type:iI,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[Ye]});var Wfc=function(){};var Um=function(){this.Serializable$values={}},Tm=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},jI=function(a,b){return null!=a.Serializable$values[b]};var Xfc=function(){};var Yfc=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};U(Yfc,Xfc);
var Zfc=function(a,b,c){var d=mza(a.hookFactory,b);return null==d?c:E.EMPTY.pipe(Qe({complete:function(){d.onBeforeSend()}}),Cia(c.pipe(Qe(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},$fc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,g=b.body instanceof Um?rza(b.body,oza,pza,qza):b.body;return Zfc(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 agc=function(){};agc.prototype.send=function(a,b){zza(a);return this.makeRequest(a).pipe(D(function(c){return b?vza(b,c):c}))};var bgc=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};U(bgc,Um);bgc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
ch.Object.defineProperties(bgc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return jI(this,"dayOfWeek")?Tm(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return jI(this,"periodEndMinutes")?Tm(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return jI(this,"periodStartMinutes")?Tm(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var To=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};U(To,Um);To.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:So},keys:["debugOptions","userIds"],objects:{debugOptions:cgc}}};
ch.Object.defineProperties(To.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return jI(this,"debugOptions")?Tm(this,"debugOptions"):this.debugOptions=new cgc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return jI(this,"userIds")?Tm(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var dgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};U(dgc,Um);dgc.prototype.getPartialClassMetadata=function(){return{arrays:{results:egc},keys:["results"]}};
ch.Object.defineProperties(dgc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return jI(this,"results")?Tm(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var fgc=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};U(fgc,Um);
fgc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
ch.Object.defineProperties(fgc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"committedUntil")?Tm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return jI(this,"eventSummary")?Tm(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return jI(this,"nextAvailable")?Tm(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"occupiedUntil")?Tm(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var ggc=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};U(ggc,Um);ggc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:hgc}}};
ch.Object.defineProperties(ggc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return jI(this,"geoCoordinates")?Tm(this,"geoCoordinates"):this.geoCoordinates=new hgc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return jI(this,"label")?Tm(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return jI(this,"location")?Tm(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var igc=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};U(igc,Um);igc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
ch.Object.defineProperties(igc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"committedUntil")?Tm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return jI(this,"nextAvailable")?Tm(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"occupiedUntil")?Tm(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var jgc=function(){this.Serializable$values={}};U(jgc,Um);jgc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var kgc=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};U(kgc,Um);
kgc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
ch.Object.defineProperties(kgc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"committedUntil")?Tm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return jI(this,"eventSummary")?Tm(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"inMeetingsUntil")?Tm(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return jI(this,"nextAvailable")?Tm(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"occupiedUntil")?Tm(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var lgc=function(){this.Serializable$values={}};U(lgc,Um);
lgc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var hgc=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};U(hgc,Um);hgc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
ch.Object.defineProperties(hgc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return jI(this,"latitude")?Tm(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return jI(this,"longitude")?Tm(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var mgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
U(mgc,Um);mgc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};ch.Object.defineProperties(mgc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return jI(this,"timeZone")?Tm(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var ngc=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};U(ngc,Um);
ngc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
ch.Object.defineProperties(ngc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return jI(this,"experimentalBuildingId")?Tm(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return jI(this,"experimentalDeskId")?Tm(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return jI(this,"experimentalFloorId")?Tm(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return jI(this,"label")?Tm(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var ogc=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};U(ogc,Um);ogc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
ch.Object.defineProperties(ogc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"comeBackTime")?Tm(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return jI(this,"committedUntil")?Tm(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return jI(this,"eventSummary")?Tm(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var pgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};U(pgc,Um);pgc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
ch.Object.defineProperties(pgc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"comeBackTime")?Tm(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var qgc=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};U(qgc,Um);
qgc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
ch.Object.defineProperties(qgc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return jI(this,"code")?Tm(this,"code"):0},set:function(a){this.Serializable$values.code=a}},hasDetails:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"details")}},details:{configurable:!0,enumerable:!0,get:function(){return jI(this,"details")?Tm(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return jI(this,
"message")?Tm(this,"message"):""},set:function(a){this.Serializable$values.message=a}}});var kI=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};U(kI,Um);kI.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
ch.Object.defineProperties(kI.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"endTime")?Tm(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"startTime")?Tm(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var rgc=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};U(rgc,Um);rgc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
ch.Object.defineProperties(rgc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return jI(this,"computationDuration")?Tm(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"overrideCurrentTime")?Tm(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var sgc=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};U(sgc,Um);sgc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:lI}}};
ch.Object.defineProperties(sgc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return jI(this,"nextCommitmentStatus")?Tm(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new lI},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"nextCommitmentTime")?Tm(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var tgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};U(tgc,Um);tgc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:kI}}};ch.Object.defineProperties(tgc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return jI(this,"timeRange")?Tm(this,"timeRange"):this.timeRange=new kI},set:function(a){this.Serializable$values.timeRange=a}}});
var ugc=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};U(ugc,Um);ugc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:vgc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:wgc}}};
ch.Object.defineProperties(ugc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return jI(this,"availabilities")?Tm(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"nextPollTime")?Tm(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return jI(this,"workingHours")?
Tm(this,"workingHours"):this.workingHours=new wgc},set:function(a){this.Serializable$values.workingHours=a}}});var cgc=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};U(cgc,Um);cgc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:rgc}}};
ch.Object.defineProperties(cgc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return jI(this,"forceEnableUserStatusCache")?Tm(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return jI(this,"timeSettings")?Tm(this,"timeSettings"):this.timeSettings=new rgc},set:function(a){this.Serializable$values.timeSettings=a}}});
var egc=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};U(egc,Um);egc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:qgc,userAvailabilities:ugc,userId:So}}};
ch.Object.defineProperties(egc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return jI(this,"status")?Tm(this,"status"):this.status=new qgc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return jI(this,"userAvailabilities")?
Tm(this,"userAvailabilities"):this.userAvailabilities=new ugc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return jI(this,"userId")?Tm(this,"userId"):this.userId=new So},set:function(a){this.Serializable$values.userId=a}}});
var vgc=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};U(vgc,Um);vgc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:xgc,status:lI,timeRange:kI}}};
ch.Object.defineProperties(vgc.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return jI(this,"contexts")?Tm(this,"contexts"):this.contexts=new xgc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return jI(this,"status")?Tm(this,"status"):this.status=new lI},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return jI(this,"timeRange")?Tm(this,"timeRange"):this.timeRange=new kI},set:function(a){this.Serializable$values.timeRange=a}}});
var xgc=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};U(xgc,Um);
xgc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:mgc,upcomingCommitmentContext:sgc,upcomingOoo:tgc,workingElsewhere:ygc}}};
ch.Object.defineProperties(xgc.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"localTime")?Tm(this,"localTime"):this.localTime=new mgc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return jI(this,"upcomingCommitmentContext")?Tm(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new sgc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return jI(this,"upcomingOoo")?Tm(this,"upcomingOoo"):this.upcomingOoo=new tgc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return jI(this,"workingElsewhere")?Tm(this,"workingElsewhere"):this.workingElsewhere=new ygc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var So=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};U(So,Um);So.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
ch.Object.defineProperties(So.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return jI(this,"email")?Tm(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return jI(this,"obfuscatedGaiaId")?Tm(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var zgc=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};U(zgc,Um);zgc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:ggc,homeLocation:jgc,officeLocation:ngc}}};
ch.Object.defineProperties(zgc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return jI(this,"customLocation")?Tm(this,"customLocation"):this.customLocation=new ggc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return jI(this,"homeLocation")?Tm(this,"homeLocation"):this.homeLocation=new jgc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return jI(this,
"officeLocation")?Tm(this,"officeLocation"):this.officeLocation=new ngc},set:function(a){this.Serializable$values.officeLocation=a}}});
var lI=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};U(lI,Um);lI.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:fgc,doNotDisturb:igc,inMeeting:kgc,inactive:lgc,outOfOffice:ogc,outsideWorkingHours:pgc}}};
ch.Object.defineProperties(lI.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return jI(this,"calendarBusy")?Tm(this,"calendarBusy"):this.calendarBusy=new fgc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return jI(this,"doNotDisturb")?Tm(this,"doNotDisturb"):this.doNotDisturb=new igc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return jI(this,
"inMeeting")?Tm(this,"inMeeting"):this.inMeeting=new kgc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return jI(this,"inactive")?Tm(this,"inactive"):this.inactive=new lgc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return jI(this,"outOfOffice")?Tm(this,"outOfOffice"):
this.outOfOffice=new ogc},set:function(a){this.Serializable$values.outOfOffice=a}},hasOutsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return null!==Tm(this,"outsideWorkingHours")}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return jI(this,"outsideWorkingHours")?Tm(this,"outsideWorkingHours"):this.outsideWorkingHours=new pgc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});
var ygc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};U(ygc,Um);ygc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:zgc}}};ch.Object.defineProperties(ygc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return jI(this,"location")?Tm(this,"location"):this.location=new zgc},set:function(a){this.Serializable$values.location=a}}});
var wgc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};U(wgc,Um);wgc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:bgc},keys:["availableTime"]}};
ch.Object.defineProperties(wgc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return jI(this,"availableTime")?Tm(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var Agc=new Nc("API_VERSION"),Bgc=new Nc("REQUEST_SERVICE"),mI=function(){};mI.\u0275fac=function(a){return new (a||mI)};mI.\u0275mod=Dc({type:mI});mI.\u0275inj=nc({});
var Cgc={$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"},nI=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new Yfc(b,c)},Dgc=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;return $fc(a.$apiClient,{body:b,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",
path:"/"+a.gapiVersion+"/useravailabilities:batchget",queryParams:Aza(c,Cgc,d),responseCtor:dgc})};nI.\u0275fac=function(a){return new (a||nI)(u(Agc,8),u(Bgc),u(Wfc,8))};nI.\u0275prov=mc({token:nI,factory:nI.\u0275fac});var oI=function(){};oI.\u0275fac=function(a){return new (a||oI)};oI.\u0275prov=mc({token:oI,factory:function(a){return nI.\u0275fac(a)},providedIn:mI});var pI=function(a){var b=this;this.apiStub=a;this.result=new E.Subject;this.destroyed=new E.ReplaySubject(1);this.trigger=new E.Subject;this.batchedTrigger=this.trigger.pipe(yia(this.trigger.pipe(xe(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(Pe(this.destroyed)).subscribe(function(c){c=[].concat(Pc(new Set(c)));var d=c.slice(0,100);Egc(b,d);c=k(c.slice(100));for(d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},Egc=function(a,b){var c,d;de(function(e){for(var g=new To,h=[],l=k(b),q=l.next();!q.done;q=l.next()){q=q.value;var x=new So;x.email=q;h.push(x)}g.userIds=h;c=g;d=Dgc(a.apiStub,c);d.pipe(Pe(a.destroyed)).subscribe(a.responseHandler);
ie(e)})},Fgc=function(a,b){if(!b)return(0,E.of)("");a.trigger.next(b);return a.result.pipe(ue(function(c){return c.emailAddress===b})).pipe(D(function(c){return c.availability}))};pI.prototype.ngOnDestroy=function(){this.destroyed.next()};pI.\u0275fac=function(a){return new (a||pI)(u(oI))};pI.\u0275prov=mc({token:pI,factory:pI.\u0275fac});var qI=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new E.ReplaySubject(1);this.availability=this.userSubject.pipe(Oe(function(c){return Fgc(b.waldoAvailabilityService,c)}))};qI.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};qI.\u0275fac=function(a){return new (a||qI)(C(pI))};
qI.\u0275cmp=Bc({type:qI,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[Uc],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&&(Q(0,Bza,6,3,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.availability))},dependencies:[tw,zw],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 rI=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};rI.\u0275fac=function(a){return new (a||rI)(C(rH))};rI.\u0275cmp=Bc({type:rI,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&Q(0,Cza,1,2,"ng-template",0);a&2&&F("refreshable",b.refreshMonitor.getObservable())},dependencies:[qI,iI],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var Ggc=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"};
Ggc.prototype.setData=function(a,b,c){this.issueId=b;a=Lh(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=Lh(a);this.assignee=Zh(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.authorUser=a.authorUser;this.attachmentId=a.attachmentId;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=ai(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=ai(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=Zh(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=Zh(a.authorUser);this.verifiedInVersion=a.verifiedInVersion;this.verifier=Zh(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 Hgc(g)}));d={};c=k(c);for(e=c.next();!e.done;d={$jscomp$loop$prop$fieldResource$2293:d.$jscomp$loop$prop$fieldResource$2293},e=c.next())d.$jscomp$loop$prop$fieldResource$2293=e.value,e=d.$jscomp$loop$prop$fieldResource$2293.allowedValue?d.$jscomp$loop$prop$fieldResource$2293.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$2293.customFieldId}}(d)))?
(a.type=d.$jscomp$loop$prop$fieldResource$2293.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2293.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2293.customFieldId)]=a):(a=new Hgc({customFieldId:d.$jscomp$loop$prop$fieldResource$2293.customFieldId}),a.type=d.$jscomp$loop$prop$fieldResource$2293.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2293.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2293.customFieldId)]=a)};
var Jgc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Igc(a,d.customFieldId);e=e?e.getValue():null;var g=d.getValue();if(!Kh(e,g)){if(e=d.isEmpty())d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){sI(Zh(a.originalModelData.assigneeUser),a.assignee,"assignee",b);sI(a.originalModelData.componentId,a.componentId,"componentId",b);sI(a.originalModelData.createdTimeMicros,
a.createdTimeMicros,"createdTimeMicros",b);sI(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",b);sI(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);sI(a.originalModelData.inProd,a.inProd,"inProd",b);sI(a.originalModelData.isArchived,a.isArchived,"isArchived",b);sI(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);sI(a.originalModelData.priority,a.priority,"priority",b);sI(Zh(a.originalModelData.reporterUser),a.reporter,"reporter",b);
sI(a.originalModelData.severity,a.severity,"severity",b);sI(a.originalModelData.significanceOverride,a.significanceOverride,"significanceOverride",b);sI(a.originalModelData.status,a.status,"status",b);sI(a.originalModelData.title,a.title,"title",b);sI(a.originalModelData.type,a.type,"type",b);sI(Zh(a.originalModelData.authorUser),a.user,"user",b);sI(Zh(a.originalModelData.verifierUser),a.verifier,"verifier",b);sI(a.originalModelData.version,a.version,"version",b);var h,l,q,x;sI(null!=(q=null==(h=
a.originalModelData.sloStartTime)?void 0:h.seconds)?q:null,null!=(x=null==(l=a.sloStartTime)?void 0:l.seconds)?x:null,"sloStartTime",b);var A,B,K,O;sI(null!=(K=null==(A=a.originalModelData.sloEndTime)?void 0:A.seconds)?K:null,null!=(O=null==(B=a.sloEndTime)?void 0:B.seconds)?O:null,"sloEndTime",b);sI(a.originalModelData.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var P,Y;sI(null!=(Y=null==(P=a.originalModelData.effort)?void 0:P.estimate)?Y:null,a.effortEstimate,"effortEstimate",b);tI(a.originalModelData.attachmentId,
a.attachmentId,"attachmentId",b);tI(ai(a.originalModelData.ccUsers),a.cc,"ccs",b);tI(ai(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);tI(a.originalModelData.changelist,a.changelist,"changelists",b);tI(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);tI(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);tI(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);tI(a.originalModelData.targetedToVersion,
a.targetedToVersion,"targetedToVersion",b);tI(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);tI(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},sI=function(a,b,c,d){a!==b&&d.push({fieldName:c,value:null!=b?String(b):void 0})},tI=function(a,b,c,d){var e=nqa(b||[],new Set(a));a=nqa(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=Ggc.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:nh(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=ul[this.status];!this.assignee&&this.originalModelData&&Zh(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&&Zh(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
f.setStatus=function(a){this.status=a;a=ul[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 Igc=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?new Wh(a):null:null},Hgc=function(a){Wh.call(this,a);this.choices=this.customFieldName=this.type=null};U(Hgc,Wh);Hgc.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var Kgc=new Map([["assignee",function(a,b){a.assigneeUser=gi(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(gi).filter(ni)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=gi(b.reporter)}],["verifier",function(a,b){a.verifierUser=gi(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 uI=function(a){this.$window=a};uI.\u0275fac=function(a){return new (a||uI)(u(iE))};uI.\u0275prov=mc({token:uI,factory:uI.\u0275fac,providedIn:"root"});var vI=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},Fn=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},Lgc=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"};
vI.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 Mgc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Fn(a)},Ngc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},Ogc=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"},Xob=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},
Pgc=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"},Zr=function(){return"http://go/buganizer-retention"};vI.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 CDb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};vI.prototype.getDisablingFieldsHelpLink=function(){return CDb()+"#hiding-inherited-fields"};var Qgc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};vI.\u0275fac=function(a){return new (a||vI)(u(ds))};vI.\u0275prov=mc({token:vI,factory:vI.\u0275fac,providedIn:"root"});var Rgc=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};Rgc.\u0275fac=function(a){return new (a||Rgc)(C(hA),C(jA))};
Rgc.\u0275cmp=Bc({type:Rgc,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&&(G(0,"h1",0),R(1),H(),I(2,"div",1),G(3,"div",2),Q(4,Hza,2,1,"button",3),G(5,"button",4),
M("click",function(){return b.dialogRef.close(!0)}),R(6),H()());a&2&&(z(1),Af(b.data.title),z(1),F("innerHTML",b.data.content,Hd),z(2),F("ngIf",b.showCancelButton),z(1),F("color",b.confirmButtonTheme),z(1),zf(" ",b.confirmButtonText," "))},dependencies:[tw,Yz,mA,nA,oA],encapsulation:2});var wI=function(a){this.dialog=a},Sgc=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
wI.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;fA(this.dialog.open(Rgc,{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()})};wI.\u0275fac=function(a){return new (a||wI)(u(kA))};wI.\u0275prov=mc({token:wI,factory:wI.\u0275fac,providedIn:"root"});var xI=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},Ugc=function(a,b){return new Promise(function(c){Tgc(a,b,function(){c(!0)},function(){c(!1)})})},Tgc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",g=cn("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},g=fn(lv('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'),
en("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=fn(lv('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. '),en("A",(b.href="http://goto.google.com/pib-slo",b.target="_blank",b),"Learn more"),lv(".\n\nDO NOT use this type to file "),
en("A",(g.href="http://goto.google.com/incident-response-policy",g.target="_blank",g),"privacy incidents"),lv(". Incidents should be filed at "),en("A",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),lv(".\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(){}})}};xI.\u0275fac=function(a){return new (a||xI)(u(ds),u(vI),u(wI))};xI.\u0275prov=mc({token:xI,factory:xI.\u0275fac,providedIn:"root"});var yI=function(a){r.call(this,a,0,yI.messageId)};U(yI,r);yI.repeatedFields_=[1];yI.prototype.toObject=function(){if(null!=this){t(this);var a={zonesList:Gb(Ch(this,gl,1),D$b)}}else a=void 0;return a};yI.messageId="b.TimeZoneDataList";var zI=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new ffc(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,E.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:gl}).pipe(D(Fta))},10)};zI.prototype.get=function(a){return this.memoized.get(a)};
var Vgc=function(a){return a.executor.get({url:"action/timezone",responseConstructor:yI}).pipe(D(function(b){return null==b?void 0:Ch(b,gl,1).map(function(c){c=Fta(c);var d=oZb(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_}})}))};zI.\u0275fac=function(a){return new (a||zI)(u(ZC),u(ds))};zI.\u0275prov=mc({token:zI,factory:zI.\u0275fac,providedIn:"root"});var AI=function(a){this.executor=a},Wgc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:Rk,body:iua(b)}).pipe(D(function(c){return Wta(c)}))};AI.\u0275fac=function(a){return new (a||AI)(u(ZC))};AI.\u0275prov=mc({token:AI,factory:AI.\u0275fac,providedIn:"root"});var BI=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new E.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(D(Lh));this.textDisplayPreferences$=this.preferences$.pipe(D(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=Rm(this.textDisplayPreferences$.pipe(Pe(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(D(function(b){return b.lastPublishMode}),
Be());this.lastPublishModeProto$=this.lastPublishMode$.pipe(D(uk));this.themePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.themePreferences)?c:Lh(gE.themePreferences)}),Zm());this.listViewPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.listViewPreferences)?c:Lh(gE.listViewPreferences)}),Zm());this.layoutPreferences$=this.preferences$.pipe(D(this.getLayoutPreferences),Zm());this.dateTimePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:Lh(gE.dateTimePreferences)}),Zm());this.homepagePreferences$=this.preferences$.pipe(D(this.getHomepagePreferences),Zm());this.keyboardPrefs$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.keyboardPreferences)?c:Lh(gE.keyboardPreferences)}),Zm());this.displayColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),Zm());this.sortColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),Zm());this.needsAttentionPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:Lh(gE.needsAttentionPreferences)}),Zm());this.bugScreensaverPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:Lh(gE.bugScreensaverPreferences)}),Zm());this.bugScreensaverSubject$=Rm(this.bugScreensaverPreferences$.pipe(Pe(this.destroyed$)),gE.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.g3nPreferences)?c:Lh(gE.g3nPreferences)}),Zm());Rm(this.g3nPreferences$.pipe(Pe(this.destroyed$)),gE.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:Lh(gE.teamWarningPreferences)}),Zm());this.teamWarningPreferencesSubject$=Rm(this.teamWarningPreferences$.pipe(Pe(this.destroyed$)),gE.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(D(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:Lh(gE.commentFilterPreferences)}),Zm());Rm(this.commentFilterPreferences$.pipe(Pe(this.destroyed$)),gE.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(D(function(b){return!!b.useCodefont}),Be());this.autoCcOnComment$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Be());this.showFullHistory$=this.preferences$.pipe(D(function(b){return!!b.showFullHistory}),Be());
this.showRecentEventsFirst$=this.preferences$.pipe(D(function(b){return!!b.showRecentEventsFirst}),Be());this.showInlineImages$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.showInlineImages)?c:gE.showInlineImages}),Be())};BI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};BI.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var Xgc=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(D(a.getLayoutPreferences))},Ygc=function(a,b){return a.save({homepagePreferences:b}).pipe(D(a.getHomepagePreferences))};BI.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:Lh(gE.dateTimePreferences)};
var Zgc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},$gc=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]};BI.prototype.clearHomepagePreferences=function(){return Ygc(this,{})};var ahc=function(a,b){return a.save({displayColumns:{column:b}}).pipe(D(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
BI.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(D(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var bhc=function(a,b){return a.save({teamWarningPreferences:b}).pipe(D(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:Lh(gE.teamWarningPreferences)}))};BI.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:Lh(gE.layoutPreferences)};
BI.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:Lh(gE.homepagePreferences)};var CI=function(a){return Lh(a.preferencesSubject$.getValue())};BI.\u0275fac=function(a){return new (a||BI)(u(DI))};BI.\u0275prov=mc({token:BI,factory:BI.\u0275fac,providedIn:"root"});
var DI=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new E.BehaviorSubject(Lh(gE));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),chc(a);this.preferences$.next(a)};DI.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,E.of)(dhc(this,a)):Wgc(this.userPreferencesResources,a).pipe(D(function(){return dhc(b,a)}))};
var dhc=function(a,b){var c=Lh(a.preferences$.value);c=Object.assign({},c,b);chc(c);a.preferences$.next(c);return c},chc=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=gE.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=gE.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=gE.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=gE.notificationPreferences.collaboratorPriority)};DI.\u0275fac=function(a){return new (a||DI)(u(ds),u(AI))};DI.\u0275prov=mc({token:DI,factory:DI.\u0275fac,providedIn:"root"});var ehc=Lza({PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5}),fhc=Lza({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}),ghc=Lza({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});ghc.slice(0,7);var EI={},FI=(EI.BUG="Unintended behavior",EI.FEATURE_REQUEST="Request for new functionality",EI.CUSTOMER_ISSUE="Issue affecting a 3rd party",EI.INTERNAL_CLEANUP="Maintenance work",EI.PROCESS="Miscellaneous non-feature work",EI.VULNERABILITY="A security concern",EI.PRIVACY_ISSUE="A privacy concern",EI.PROJECT="Goal-driven effort",EI.FEATURE="A collection of work",EI.MILESTONE="An important achievement",EI.EPIC="A large collection of work",EI.STORY="A small collection of work",EI.TASK="A small unit of work",
EI.TYPE_UNSPECIFIED="Unspecified",EI),hhc="TYPE_UNSPECIFIED BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),ihc="PRIORITY_UNSPECIFIED P0 P1 P2 P3 P4".split(" ").slice(1),jhc="STATUS_UNSPECIFIED NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" ").slice(1),khc=hhc.slice(1),lhc=["S0","S1","S2","S3","S4"],mhc=hhc.slice(1,8),GI={},nhc=(GI.PRIORITY_UNSPECIFIED=
"(Unspecified Priority)",GI.P0="P0",GI.P1="P1",GI.P2="P2",GI.P3="P3",GI.P4="P4",GI),HI={},ohc=(HI.TYPE_UNSPECIFIED="(Unspecified Issue Type)",HI.BUG="Bug",HI.FEATURE_REQUEST="Feature Request",HI.CUSTOMER_ISSUE="Customer Issue",HI.INTERNAL_CLEANUP="Internal Cleanup",HI.PROCESS="Process",HI.VULNERABILITY="Vulnerability",HI.PRIVACY_ISSUE="Privacy Issue",HI.PROJECT="Project",HI.FEATURE="Feature",HI.MILESTONE="Milestone",HI.EPIC="Epic",HI.STORY="Story",HI.TASK="Task",HI),phc=ihc.map(function(a){return nhc[a]}),
qhc=khc.map(function(a){return ohc[a]}),rhc=new Map([[1,FI.BUG],[2,FI.FEATURE_REQUEST],[3,FI.CUSTOMER_ISSUE],[4,FI.INTERNAL_CLEANUP],[5,FI.PROCESS],[6,FI.VULNERABILITY],[7,FI.PRIVACY_ISSUE],[8,FI.PROJECT],[9,FI.FEATURE],[10,FI.MILESTONE],[11,FI.EPIC],[12,FI.STORY],[13,FI.TASK]]),shc=new Map([["BUG",FI.BUG],["FEATURE_REQUEST",FI.FEATURE_REQUEST],["CUSTOMER_ISSUE",FI.CUSTOMER_ISSUE],["INTERNAL_CLEANUP",FI.INTERNAL_CLEANUP],["PROCESS",FI.PROCESS],["VULNERABILITY",FI.VULNERABILITY],["PRIVACY_ISSUE",FI.PRIVACY_ISSUE],
["PROJECT",FI.PROJECT],["FEATURE",FI.FEATURE],["MILESTONE",FI.MILESTONE],["EPIC",FI.EPIC],["STORY",FI.STORY],["TASK",FI.TASK]]),thc=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),uhc=khc.map(function(a){return{value:a,displayText:zua(a),altText:shc.get(a)}}),II=function(){this.protoIssueTypesEnumStrings=new Map(pl(ghc,khc));this.protoIssueStatusesEnumStrings=new Map(pl(fhc,jhc));this.priorities=ihc;this.severities=lhc;this.issueTypes=mhc;this.editIssueTypes=khc;this.editIssueTypeChoices=
uhc;pl(khc,qhc);this.protoIssuePrioritiesDisplayNames=new Map(pl(ehc,phc));this.protoIssueTypesDisplayNames=new Map(pl(ghc,qhc));this.protoIssueTypesShortDescriptions=rhc;this.issueTypesShortDescriptions=shc;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};II.\u0275fac=function(a){return new (a||II)};II.\u0275prov=mc({token:II,factory:II.\u0275fac,providedIn:"root"});var JI=function(a,b,c,d){jE.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new E.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=gE.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(g){if(""===g.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(g.id).pipe(Pe(e.destroyed$));return(0,E.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(Pe(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)})};U(JI,jE);JI.\u0275dir=jE.\u0275dir;JI.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new EA(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var vhc=function(a,b){return a.formatPrefChange$.subscribe(b)};JI.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};JI.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};JI.\u0275fac=function(a){return new (a||JI)(u(BI),u(zI),u(II),u(OF))};JI.\u0275prov=mc({token:JI,factory:JI.\u0275fac,providedIn:"root"});var KI=function(a){this.dateFormatter=a};
KI.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(Ih(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(Ih(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};KI.\u0275fac=function(a){return new (a||KI)(u(JI))};KI.\u0275prov=mc({token:KI,factory:KI.\u0275fac,providedIn:"root"});var LI=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"]},yhc=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=Jza(b.bulkEditOps));var g=b.actions||[];!g.length&&b.bulkEditOps&&(g=Iza(b.bulkEditOps));b=whc(g).map(function(h){return xhc(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+"."},whc=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)},xhc=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 Wh(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=Sm(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(g=g?Xh(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 "'+ul[b.value].displayValue+'"'};LI.\u0275fac=function(a){return new (a||LI)(u(KI),u($G))};LI.\u0275prov=mc({token:LI,factory:LI.\u0275fac,providedIn:"root"});var MI=function(a){r.call(this,a,0,MI.messageId)};U(MI,r);MI.prototype.getAttachmentsList=function(){return Ch(this,uE,1)};MI.prototype.setAttachmentsList=function(a){aj(this,1,a)};MI.repeatedFields_=[1];MI.prototype.toObject=function(){if(null!=this){t(this);var a={attachmentsList:Gb(this.getAttachmentsList(),aac)}}else a=void 0;return a};MI.messageId="b.CreateAttachmentsResponse";var NI=function(a){r.call(this,a,0,NI.messageId)};U(NI,r);NI.prototype.getErrorMessage=function(){return V(this,2)};NI.prototype.setErrorMessage=function(a){n(this,2,a)};NI.prototype.toObject=function(){if(null!=this){t(this);var a={encryptedMedia:Jb(Dj(this,1)),errorMessage:p(m(this,2))}}else a=void 0;return a};NI.messageId="b.EncryptedMediaResponse";var zhc=function(){},OI=function(a){this.executor=a};U(OI,zhc);var Ahc=function(a,b){var c=new F9b;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&n(c,3,b.encryptedBlobId);n(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:NI}).then(Bsa)};OI.\u0275fac=function(a){return new (a||OI)(u($C))};OI.\u0275prov=mc({token:OI,factory:OI.\u0275fac,providedIn:"root"});var PI=function(){};PI.\u0275fac=function(a){return new (a||PI)};PI.\u0275prov=mc({token:PI,factory:PI.\u0275fac,providedIn:"root"});var QI=function(a){this.executor=a};U(QI,PI);QI.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})};
QI.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:uE}).then(Dsa)};QI.\u0275fac=function(a){return new (a||QI)(u($C))};QI.\u0275prov=mc({token:QI,factory:QI.\u0275fac,providedIn:"root"});var Mza=function(a){r.call(this,a)};U(Mza,r);Mza.prototype.toObject=function(){return Bhc(this)};var Bhc=function(a){if(null!=a)return t(a),{principalType:p(ir(a,1)),detailedUserType:p(ir(a,2))}};var Chc=function(a){r.call(this,a,0,Chc.messageId)};U(Chc,r);Chc.prototype.toObject=function(){if(null!=this){t(this);var a={principalTypeInfoMap:Ib(Sj(this,1,Mza),Bhc)}}else a=void 0;return a};Chc.messageId="b.PrincipalTypeInfoBatchResponse";var RI=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(Dhc(this,!1));this.principalTypeWithDetailGetter=b.adapt(Dhc(this,!0))},Dhc=function(a,b){return function(c){return Ehc(a.principalResources,c,b).then(function(d){return Qza(c,d)})}};RI.prototype.get=function(a){return SI(this,a,!1)};var SI=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:Rza()})};
RI.\u0275fac=function(a){return new (a||RI)(u(TI),u(uF))};RI.\u0275prov=mc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var TI=function(a){this.executor=a},Ehc=function(a,b,c){var d={};d.email=ol(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:Chc}).then(Pza).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:Rza()}return g})};
TI.\u0275fac=function(a){return new (a||TI)(u($C))};TI.\u0275prov=mc({token:TI,factory:TI.\u0275fac,providedIn:"root"});var UI=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};UI.prototype.close=function(a){this.dialogRef.close(a)};UI.\u0275fac=function(a){return new (a||UI)(C(hA),C(vI),C(jA))};
UI.\u0275cmp=Bc({type:UI,selectors:[["confirm-no-access-dialog"]],decls:18,vars:2,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngFor","ngForOf"],["mat-dialog-actions",""],[1,"help-label"],["target","_blank",3,"href"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"h1",1),R(2,"User may not have access"),H(),G(3,"section",2)(4,"p"),R(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
H(),G(6,"ul"),Q(7,Sza,2,1,"li",3),H(),G(8,"section"),R(9,"Continue anyway?"),H()(),G(10,"footer",4)(11,"div",5)(12,"a",6),R(13,"Learn more"),H()(),G(14,"button",7),M("click",function(){return b.close(!0)}),R(15,"Continue"),H(),G(16,"button",8),M("click",function(){return b.close(!1)}),R(17,"Cancel"),H()()());a&2&&(z(7),F("ngForOf",b.userEmails),z(5),F("href",b.readMoreLink,Id))},dependencies:[sw,Yz,mA,nA,oA],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var VI=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},Ghc=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,g=b.analyticsEventLabel,h,l,q;return de(function(x){switch(x.nextAddress){case 1:if(d.every(function(A){return 0===A.length}))return x.return(!0);ee(x,2);return x.yield(Fhc(a,c,d,e),4);case 4:h=x.yieldResult;if(0===h.length)return x.return(!0);a.analytics.trackEvent(Gn.ADD_USER_WITHOUT_ACCESS,"warn",g);return x.yield(a.confirm(h,
e),5);case 5:l=x.yieldResult;if(!l)return LF(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent(Gn.ADD_USER_WITHOUT_ACCESS,"cancel",g),x.return(!1);a.analytics.trackEvent(Gn.ADD_USER_WITHOUT_ACCESS,"proceed",g);return x.return(!0);case 2:return q=he(x),a.logger.error(q),x.return(!1)}})},Fhc=function(a,b,c,d){var e;return de(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(Pc(e.noAccessEmails||
[]),Pc(e.unknownEmails||[])))})};VI.prototype.confirm=function(a,b){var c=this,d,e,g;return de(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(UI,{width:"400px",data:d}),h.yield((0,E.firstValueFrom)(fA(e)),2);g=h.yieldResult;return h.return(!!g)})};VI.\u0275fac=function(a){return new (a||VI)(u(kA),u(oH),u(KF),u(NF),u(cG))};VI.\u0275prov=mc({token:VI,factory:VI.\u0275fac,providedIn:"root"});var Hhc=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};Hhc.prototype.cancel=function(){this.state=4};var Ihc={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var WI=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};WI.prototype.reset=function(){this.value="";Jhc(this)};var Jhc=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},Khc=function(a){return a.fromTemplate&&a.initialComment===a.value};
WI.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(Lh(c.blobRef));return a};WI.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var Lhc=function(a){return!a.isEmpty()&&!Spb(a)};WI.prototype.isEmpty=function(){return!this.value&&!Mhc(this)};
var Spb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},Mhc=function(a){return a.uploads.some(function(b){return 2===b.state})};var XI=function(a,b){jE.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new E.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(D(function(c){return c.issueId}),Be())};U(XI,jE);XI.\u0275dir=jE.\u0275dir;
var Ohc=function(a){a.activatedRoute.queryParams.pipe(Pe(a.destroyed$)).subscribe(function(b){Nhc(a,a.routeParams$.value,b)});a.router.events.pipe(ue(function(b){return b instanceof zxa}),D(function(b){return b}),Pe(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);Nhc(a,c,b.queryParams)})},Phc=function(a,b){return a.routeParams$.pipe(D(function(c){return c[b]}))},Nhc=function(a,b,c){a.clearParams();a.routeParams$.next(b);
c=k(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;a.params[Tza(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[Tza(c)]=d};XI.prototype.clearParams=function(){for(var a=k(Object.keys(this.params)),b=a.next();!b.done;b=a.next())delete this.params[Tza(b.value)]};XI.\u0275fac=function(a){return new (a||XI)(u(vG),u(jm))};XI.\u0275prov=mc({token:XI,factory:XI.\u0275fac,providedIn:"root"});var YI=new Nc("routeParams",{factory:function(){return wc(XI).params}});var ZI=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};ZI.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,E.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=Ph(this.routeParams.template_comment)||1;return(0,E.defer)(function(){return Qhc(b,c,d,b.routeParams.do_attribution)})}return a?(0,E.of)(this.draftStore.$window.sessionStorage.getItem(Ym(a))||""):(0,E.of)("")};
var Qhc=function(a,b,c,d){var e,g,h,l,q;return de(function(x){if(1==x.nextAddress)return ee(x,2),x.yield(a.issueComments.get(b,c),4);if(2!=x.nextAddress)return e=x.yieldResult,g=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",x.return(l+"\n\n"+g)):x.return(g);q=he(x);QF(a.errorHandler,q);return x.return("")})};ZI.\u0275fac=function(a){return new (a||ZI)(u(YI),u(VH),u(uI),u(OF))};
ZI.\u0275prov=mc({token:ZI,factory:ZI.\u0275fac,providedIn:"root"});var Rhc=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$=xH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(D(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(D(function(h){return null==h?void 0:h.snapshot[0].componentId}),Be());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(Ne(""),Be(),Re(this.userPreferencesManager.lastPublishModeProto$),
D(function(h){var l=k(h);h=l.next().value;l=l.next().value;h=new WI(h);h.formattingMode=l;return h}),Le({bufferSize:1,refCount:!0}));this.comment=function(){return Sm(g.comment$)};this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist();this.componentJudgementForNewContent$=this.componentId$.pipe(D(function(h){if(h&&g.createRestrictedResourcesComponentWhitelist.includes(h))return{severity:"PII",judgementReason:"None Specified"}}),Le({bufferSize:1,
refCount:!0}));this.userDefinedJudgementForNewContent$=new E.BehaviorSubject(void 0);this.judgementForNewContent$=(0,E.combineLatest)([this.componentJudgementForNewContent$.pipe(Ne(void 0)),this.userDefinedJudgementForNewContent$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;return null!=l?l:h}),Le({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return Sm(g.judgementForNewContent$)}},Shc=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=Lh({attachment:g.blobRef}),d&&(g.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(g));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},Thc=function(a){var b=Shc(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},$I=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};$I.prototype.create=function(a){return new Rhc(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};$I.\u0275fac=function(a){return new (a||$I)(u(ZI),u(wH),u(ds),u(BI))};$I.\u0275prov=mc({token:$I,factory:$I.\u0275fac,providedIn:"root"});var aJ=function(){};aJ.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var bJ=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},Uhc=function(a){return bJ(a.assignmentBounds)||bJ(a.responseBounds)||bJ(a.closureBounds)},Vhc=function(a,b){switch(b){case "ASSIGNMENT":return bJ(a.assignmentBounds);case "RESPONSE":return bJ(a.responseBounds);case "CLOSURE":return bJ(a.closureBounds);default:return Uhc(a)}},Whc=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&Uza(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&Uza(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&Uza(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(Vza),b[0]):0<c.length?(c.sort(Vza),{sloBounds:c[0].sloBounds,sloMetric:""}):null};aJ.\u0275fac=function(a){return new (a||aJ)};aJ.\u0275prov=mc({token:aJ,factory:aJ.\u0275fac,providedIn:"root"});var Xhc=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=hE(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=xH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(D(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(D(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(D(function(h){var l;return null==h?void 0:null==(l=h.aggregatedData)?void 0:l.sloStatus}),D(function(h){return!!h&&Uhc(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(D(function(h){return null!=(null==h?void 0:h.type)&&thc.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(D(function(h){return!h&&!g.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,E.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(D(function(h){var l=k(h);h=l.next().value;l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(D(function(h){return!h}));this.isChangelistPrimary$=(0,E.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(D(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(D(function(h){var l;
return null!=(l=null==h?void 0:h.issue.customFields)?l:[]}));this.visibleFields$=this.issue$.pipe(D(function(h){var l;return null!=(l=null==h?void 0:h.visibleFields)?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(D(function(h){return h.map(function(l){return l.customFieldId}).filter(ni)}),D(function(h){return new Set(h)}),Le({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,E.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(D(function(h){h=k(h);var l=h.next().value;
return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),Le({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,E.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(D(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),Le({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,E.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(D(function(h){var l=
k(h);h=l.next().value;var q=l.next().value,x=l.next().value,A=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!g.showSloStatus||x?0:1)+(!g.showChangelists||A?0:2)+l.length}),Le({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(D(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(D(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},cJ=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};cJ.prototype.create=function(a){return new Xhc(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};cJ.\u0275fac=function(a){return new (a||cJ)(u(wH),u(II),u(ds),u(aJ))};cJ.\u0275prov=mc({token:cJ,factory:cJ.\u0275fac,providedIn:"root"});var Iec=Gn.EDIT_ISSUE,dJ=function(a,b){jE.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=$m(this.issueToTrackingState,Yza);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")};U(dJ,jE);dJ.\u0275dir=jE.\u0275dir;
var Zhc=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),Yhc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Fo=function(a,b,c){a.getState(b).variations.add(c)},Yhc=function(a,b,c,d){dH(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())dH(a.clearcut,b,c+"-"+e.value)};dJ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
dJ.\u0275fac=function(a){return new (a||dJ)(u(oH),u(cH))};dJ.\u0275prov=mc({token:dJ,factory:dJ.\u0275fac,providedIn:"root"});var eJ=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.paramsService=g;this.activatedRoute=h;this.id$=this.paramsService.issueId$;this.urlComment$=this.activatedRoute.fragment.pipe(D(JAa),Le({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(Oe(function(q){return xH(l.issueFetchResponseFridge,q)}),Le({refCount:!0,bufferSize:1}));this.issueJs$.pipe(D(function(q){return null==q?void 0:q.firstEvent}));
this.eventsJs$=this.id$.pipe(Oe(this.eventsForIssue.watch),D(function(q){var x;return null!=(x=null==q?void 0:q.events)?x:[]}));this.starred$=this.issueJs$.pipe(D(Zza));this.lastViewedTimeMicros$=this.issueJs$.pipe(D($za));this.lastViewedTimeMicros$.pipe(D(function(q){return!q}));this.issueJs$.pipe(D(aAa));this.issueJs$.pipe(D(rAa));this.accessLimitLevel$=this.issueJs$.pipe(D(iAa));this.voted$=this.issueJs$.pipe(D(sAa));this.status$=this.issueJs$.pipe(D(bAa));this.priority$=this.issueJs$.pipe(D(cAa));
this.assignee$=this.issueJs$.pipe(D(dAa));this.issueJs$.pipe(D(eAa));this.teamId$=this.issueJs$.pipe(D(fAa));this.team$=this.teamId$.pipe(Oe(this.teamFridge.watch),Le({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(D(hAa));this.collaboratorsUsers$=this.issueJs$.pipe(D(jAa));this.issueJs$.pipe(D(function(q){var x,A;return null!=(A=null==(x=yl(q))?void 0:x.severity)?A:void 0}));this.type$=this.issueJs$.pipe(D(kAa));this.issueJs$.pipe(D(lAa));this.issueJs$.pipe(D(mAa));this.issueJs$.pipe(D(nAa));
this.postmortems$=this.issueJs$.pipe(D(oAa));this.postmortems$.pipe(D(function(q){return 0<q.length}));this.issueJs$.pipe(D(pAa));this.effort$=this.issueJs$.pipe(D(qAa));this.isDeleted$=this.issueJs$.pipe(D(uAa));this.accessLevel$=this.issueJs$.pipe(D(wAa));this.modifiedTime$=this.issueJs$.pipe(D(xAa));this.retention$=this.issueJs$.pipe(D(zAa));this.retention=function(){return Sm(l.retention$)};this.retentionState$=this.issueJs$.pipe(D(DAa));this.retentionState=function(){return Sm(l.retentionState$)};
this.canonicalIssueId$=this.issueJs$.pipe(D(BAa));this.canonicalIssue$=this.canonicalIssueId$.pipe(Oe(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(D(function(q){var x;return null==q?void 0:null==(x=q.issue.aggregatedData)?void 0:x.sloStatus}));this.sloId$=this.issueJs$.pipe(D(EAa));this.createdTimeMicros$=this.issueJs$.pipe(D(FAa));this.componentId$=this.issueJs$.pipe(D(gAa));this.component$=this.componentId$.pipe(Oe(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(D(function(q){var x;
return null!=(x=null==q?void 0:q.teamSuggestions)?x:[]}));this.effortSpec$=this.component$.pipe(D(GAa));this.isEffortEnabled$=this.component$.pipe(D(HAa));this.component$.pipe(D(IAa));this.thinking$=this.issueFetchResponseFridge.thinking$};eJ.\u0275fac=function(a){return new (a||eJ)(u(wH),u(tH),u(MH),u(mF),u(fF),u(XI),u(jm))};eJ.\u0275prov=mc({token:eJ,factory:eJ.\u0275fac,providedIn:"root"});var $hc={admin:!1,writer:!0,appender:!0,reader:!0},gJ=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("^"+dn(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(Oe(function(l){return l?h.permissionsFridge.watchOne("issues/"+
l):(0,E.of)(void 0)}),D(function(l){return null!=l?l:$hc}),Ne($hc),Le({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(D(function(l){return!!l.writer}));this.hasAclToEdit=function(){return!!Sm(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(D(function(l){return!!l.appender}));this.hasAclToComment=function(){return!!Sm(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(D(function(l){return!!l.admin}));this.hasAclToAdmin=function(){return!!Sm(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(D(function(l){return l.some(function(q){return fJ(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!Sm(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(D(function(l){return l.some(function(q){return fJ(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!Sm(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,E.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(D(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(Be(),Oe(function(l){return l?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(l)):(0,E.of)(!1)}),ye(function(l){if(403===l.status)return(0,E.of)(!0);h.errorHandler.errorHandler(null,l);return(0,E.of)(!1)}),
Le({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!Sm(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,E.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(D(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Be(),Oe(function(l){return l?yF(h.userAccess,"admin","components/"+l):(0,E.of)(!1)}),ye(function(l){h.errorHandler.errorHandler(null,
l);return(0,E.of)(!1)}),Le({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return Sm(h.accessLevel$)};this.isWithinExternalComponent$=this.accessLevel$.pipe(D(function(l){return!(!l||"INTERNAL"===l)}));this.audience$=this.isWithinExternalComponent$.pipe(D(function(l){return l?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return Sm(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=
function(){return Sm(h.canChangeCommentRetention$)}},fJ=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},aic=function(a,b){return rl(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||Zh(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},bic=function(a,b){return rl(b)&&"ACTIVE"===b.commentDeletionStatus?ci(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
gJ.prototype.canEditComment$=function(a){var b=this;return(0,E.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(D(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&&ci(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
gJ.\u0275fac=function(a){return new (a||gJ)(u(eJ),u(BH),u(ds),u(cG),u(OF),u(xF))};gJ.\u0275prov=mc({token:gJ,factory:gJ.\u0275fac,providedIn:"root"});var cic={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},dic={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},eic={type:"START",displayText:"Start work",description:"Change issue status to '"+ll.ACCEPTED+"'"},fic={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+ll.FIXED+"'"},gic={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+ll.VERIFIED+"'"},hic={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+ll.ASSIGNED+"'"};var jic=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFridge.watch(this.issueId).pipe(Le({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(D(function(g){return null==g?void 0:g.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(D(function(g){return(null==g?void 0:g.assigneeUser)&&ci(g.assigneeUser)}),D(ii));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(D(function(g){return null==g?void 0:g.componentId}),Be(),Oe(function(g){return g?e.componentTemplatesFridge.defaultTemplate$(String(g)):(0,E.of)(void 0)}),D(function(g){return g&&ci(g.snapshot.assigneeUser)}),Le({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return Sm(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,E.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(D(function(g){var h=
k(g);g=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&g!==h?dic:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(D(function(g){return g&&iic(e,g)}))},iic=function(a,b){var c=a.activeSession.getUserEmail();a=ci(b.assigneeUser)===c;c=ci(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return gic;if(a)switch(b){case "ASSIGNED":return eic;case "ACCEPTED":return fic;default:return hic}switch(b){case "NEW":return cic;case "ASSIGNED":return cic;case "ACCEPTED":return cic;
default:return hic}},hJ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};hJ.prototype.create=function(a){return new jic(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};hJ.\u0275fac=function(a){return new (a||hJ)(u(ds),u(tH),u(TF))};hJ.\u0275prov=mc({token:hJ,factory:hJ.\u0275fac,providedIn:"root"});var LAa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),KAa=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])?$"),OAa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var kic=function(){this.transform=PAa};kic.\u0275fac=function(a){return new (a||kic)};kic.\u0275pipe=Hc({name:"toNewEmailPreference",type:kic,pure:!0});var iJ=function(){this.transform=QAa};iJ.\u0275fac=function(a){return new (a||iJ)};iJ.\u0275pipe=Hc({name:"enumToHuman",type:iJ,pure:!0});var jJ=function(){this.transform=RAa};jJ.\u0275fac=function(a){return new (a||jJ)};jJ.\u0275pipe=Hc({name:"arrayToHuman",type:jJ,pure:!0});var kJ=function(){};
kJ.prototype.transform=function(a,b){return dk(SAa(a,b)).toString()};kJ.\u0275fac=function(a){return new (a||kJ)};kJ.\u0275pipe=Hc({name:"boldPrefixMatches",type:kJ,pure:!0});var lJ=function(){this.transform=TAa};lJ.\u0275fac=function(a){return new (a||lJ)};lJ.\u0275pipe=Hc({name:"yesNo",type:lJ,pure:!0});var lic=function(){this.transform=UAa};lic.\u0275fac=function(a){return new (a||lic)};lic.\u0275pipe=Hc({name:"teamPath",type:lic,pure:!0});var mic=function(){this.transform=VAa};
mic.\u0275fac=function(a){return new (a||mic)};mic.\u0275pipe=Hc({name:"humanFileSize",type:mic,pure:!0});var mJ=function(){this.transform=gn};mJ.\u0275fac=function(a){return new (a||mJ)};mJ.\u0275pipe=Hc({name:"omitObfuscatedEmail",type:mJ,pure:!0});var nic=function(){this.transform=hn};nic.\u0275fac=function(a){return new (a||nic)};nic.\u0275pipe=Hc({name:"toString",type:nic,pure:!0});var oic=function(){this.transform=WAa};oic.\u0275fac=function(a){return new (a||oic)};
oic.\u0275pipe=Hc({name:"csv",type:oic,pure:!0});var pic=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),nJ=function(){};nJ.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=pic.get(b))?c:b}).join("")};nJ.\u0275fac=function(a){return new (a||nJ)};nJ.\u0275pipe=Hc({name:"reverse",type:nJ,pure:!0});var oJ=function(){};oJ.\u0275fac=function(a){return new (a||oJ)};oJ.\u0275mod=Dc({type:oJ});
oJ.\u0275inj=nc({});var pJ=function(a){a=void 0===a?[]:a;this.internalValue$=new E.BehaviorSubject(new Set);this.value$=GRb(this.internalValue$).pipe(D(function(b){return new Set(b)}),Be(Kh),Le({refCount:!0,bufferSize:1}));this.reset(a)};f=pJ.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(Lc.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 An=function(a,b){return a.internalValue$.pipe(D(function(c){return c.has(b)}),Be())};pJ.prototype[Symbol.iterator]=function(){return this.value.values()};
pJ.prototype.toString=function(){return"[ReactiveSet](["+[].concat(Pc(this.value.values())).join(", ")+"])"};pJ.prototype.indexOf=function(a){return[].concat(Pc(this.value.values())).indexOf(a)};
ch.Object.defineProperties(pJ.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(D(function(a){return a.size}),Be())}}});var qic=function(){this.propertiesBeingSaved=new pJ};qic.prototype.get=function(a){return this.propertiesBeingSaved.has(hn(a))};var qJ=function(a,b){a.propertiesBeingSaved.add(hn(b))},rJ=function(a,b){a.propertiesBeingSaved.delete(hn(b))};qic.prototype.properties=function(){return[].concat(Pc(this.propertiesBeingSaved))};var sJ=function(){};sJ.prototype.transform=function(a){return jn(a)};sJ.\u0275fac=function(a){return new (a||sJ)};sJ.\u0275pipe=Hc({name:"appendDomain",type:sJ,pure:!0});var $Aa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var tJ=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,Ya){var wa=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=x;this.confirmationDialogService=A;this.principalTypes=B;this.issuePermissionService=K;this.accessPolicy=O;this.issueTypeDialog=P;this.logger=Y;this.issueFridge=X;this.confirmNoAccessService=
ka;this.issueService=ma;this.attachmentsMember=ya;this.userPreferencesManager=Aa;this.issueComments=Ma;this.draftStore=Ra;this.attachmentApi=Ta;this.issueFieldsFactory=Lb;this.issueQuickActionsFactory=qb;this.issueCommentDraftFactory=Ya;this.isSavingMap=new Map;this.savingState=$m(this.isSavingMap,function(){return new qic});this.issueFieldsMap=new Map;this.issueFields=$m(this.issueFieldsMap,function(Ka){return wa.issueFieldsFactory.create(Ka)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
$m(this.issueQuickActionsMap,function(Ka){return wa.issueQuickActionsFactory.create(Ka)});this.editableIssueMap=new Map;this.editableIssue$=$m(this.editableIssueMap,function(Ka){return ric(wa,Ka)});this.editableIssue=function(Ka){return wa.editableIssue$(Ka).value};this.subscriptions=new Map;this.getSubscription=$m(this.subscriptions,function(){return new E.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=$m(this.issueCommentDraftMap,function(Ka){return wa.issueCommentDraftFactory.create(Ka)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};tJ.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()};
tJ.prototype.updateComponent=function(a,b,c){var d=this,e,g,h,l,q;return de(function(x){if(1==x.nextAddress)return e=d.editableIssue(a),e.componentId=b,(g=sic(d,e))&&g.actions&&g.actions.length?x.yield(d.getRetentionState(a),2):x.return();h=x.yieldResult;tic(d,g);l={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,l):d.issueApi.moveIssue(a,l);return x.return(uic(d,q,g,{originalRetentionState:h}))})};
var vvb=function(a,b,c){var d;return de(function(e){if(!c)return MF(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())})},Rwb=function(a,b,c){var d,e,g,h;return de(function(l){if(1==l.nextAddress){d=wua(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(Ugc(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())})},Swb=function(a,b,c){var d,e,g;return de(function(h){d=kl(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())})},wic=function(a,b,c){var d,e,g;return de(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=sic(a,d);return e?(g=e.actions.find(function(l){return"duplicateOfIssueId"===
l.fieldName&&!yk(l.value||"")}))&&g.value?h.return(vic(a,b,{actionIssueId:g.value,implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},xic=function(a,b,c){var d,e;return de(function(g){d=a.editableIssue(b);d.setStatus(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},yic=function(a,b,c){var d,e,g;return de(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:nh(c.type)}return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Cvb=function(a,b,c){var d,e;return de(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())})},Cwb=function(a,b,c){var d,e,g;return de(function(h){d=a.editableIssue(b);e=pqa(c,!1);d.setFoundInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Gwb=function(a,b,c){var d,e,g;return de(function(h){d=a.editableIssue(b);e=pqa(c,!1);d.setVerifiedInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},
Ewb=function(a,b,c){var d,e,g;return de(function(h){d=a.editableIssue(b);e=pqa(c,!1);d.setTargetedToVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Iwb=function(a,b,c){var d,e;return de(function(g){d=a.editableIssue(b);d.setInProd(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},xwb=function(a,b,c){var d,e,g;return de(function(h){d=xua(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())})};tJ.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return de(function(g){d=c.editableIssue(a);d.setSloStartTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};tJ.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return de(function(g){d=c.editableIssue(a);d.setSloEndTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var Awb=function(a,b,c){var d,e,g;return de(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Pwb=function(a,b,c,d){var e,g;return de(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Svb=function(a,b,c){var d,e,g,h;return de(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?l.yield(zic(a,
b,"verifier",[c]),5):l.yield(Ghc(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())}})},Lvb=function(a,b,c){var d,e,g,h;return de(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
l.yield(zic(a,b,"assignee",[c]),5):l.yield(Ghc(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())}})},Aic=function(a,b,c){var d,e,g,h,l,q;return de(function(x){switch(x.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return x.yield(zic(a,
b,"CC",c),5);e=Iua(d.cc,c);g=e.added;return x.yield(Ghc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=x.yieldResult;if(!h)return x.return();x.jumpTo(3);break;case 5:if(l=x.yieldResult,!l)return x.return();case 3:return d.cc=c,x.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},Bic=function(a,b,c){var d,e,g,h,l,q;return de(function(x){switch(x.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return x.yield(zic(a,
b,"collaborators",c),5);e=Iua(d.collaborators,c);g=e.added;return x.yield(Ghc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=x.yieldResult;if(!h)return x.return();x.jumpTo(3);break;case 5:if(l=x.yieldResult,!l)return x.return();case 3:return d.setCollaborators(c),x.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};
tJ.prototype.unarchive=function(a){var b=this,c,d;return de(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
tJ.prototype.updateIssueRetention=function(a,b){var c=this,d,e,g;return de(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),qJ(e,"retention"),ee(h,2,3),h.yield(c.issueApi.updateIssueRetention(a,d),5);case 5:return h.yield(c.issueFridge.poke(a),6);case 6:LF(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:fe(h);rJ(e,"retention");ge(h,0);break;case 2:g=he(h),QF(c.errorHandler,g),h.jumpTo(3)}})};
var Cic=function(a,b){var c,d,e;return de(function(g){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=sic(a,c);if(!d||!d.actions)return g.jumpTo(0);tic(a,d);e=a.issueService.delete(b,"ABUSE");return g.yield(uic(a,e,d),0)})},hxb=function(a,b){var c,d,e;return de(function(g){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=sic(a,c);if(!d||!d.actions)return g.jumpTo(0);tic(a,d);e=a.issueService.undelete(b);return g.yield(uic(a,e,d),0)})};
tJ.prototype.updateSubscription=function(a,b){var c=this,d,e,g,h,l;return de(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),q.yield((0,E.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();ee(q,3,4);qJ(d,"subscribe");return q.yield(c.issueFridge.setNotificationSubscription(a,b),4);case 4:fe(q);rJ(d,"subscribe");ge(q,0);break;case 3:l=he(q),QF(c.errorHandler,
l),q.jumpTo(4)}})};
var Dic=function(a,b,c){var d,e;de(function(g){switch(g.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return g.return();ee(g,2,3);LF(a.butterBar,"Restoring attachment...");qJ(d,"undeleteAttachment");return g.yield(a.attachmentsMember.undelete(b.toString(),c),5);case 5:LF(a.butterBar,"Attachment restored."),yH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:fe(g);rJ(d,"undeleteAttachment");ge(g,0);break;case 2:e=he(g),QF(a.errorHandler,e),
g.jumpTo(3)}})},Eic=function(a,b,c,d){var e,g;return de(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();ee(h,2,3);LF(a.butterBar,"Deleting attachment...");qJ(e,"deleteAttachment");return h.yield(a.attachmentsMember.delete(b,c,d),5);case 5:LF(a.butterBar,"Attachment deleted."),yH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:fe(h);rJ(e,"deleteAttachment");ge(h,0);break;case 2:g=he(h),QF(a.errorHandler,
g),h.jumpTo(3)}})};
tJ.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),g=Shc(d);if(!g.commentText&&!g.attachmentsWithJudgements.length)return Promise.resolve();var h=Thc(d);tic(this,h);return uic(this,function(){return de(function(l){switch(l.nextAddress){case 1:return l.yield(Fic(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(Ym(a));
case 3:if(!g.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=l.yield;var x=c.attachmentApi;var A=g.attachmentsWithJudgements,B=new aE;B.setIssueId(String(a));void 0!==A&&(A=A.map(Csa),aj(B,3,A));x=x.executor.post({url:"action/issues/"+a+"/attachments",body:B,responseConstructor:MI}).then(Esa);return q.call(l,x,6);case 6:e.reset();case 5:return d.userDefinedJudgementForNewContent$.next(void 0),l.return(yH(c.issueFetchResponseFridge,a))}})}(),h)};
var Fic=function(a,b){var c,d;return de(function(e){if(!CI(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var g=[].concat(Pc(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)})},ric=function(a,b){var c=xH(a.issueFetchResponseFridge,b).pipe(D(function(e){var g=
new Ggc;if(e){var h=Gic(a,b,Lh(oa(e.issue.snapshot))),l=a.activeSession.getUserEmail();g.currentUserEmail=l;g.setData(h,b,e.issue.customFields)}return g})),d=new E.BehaviorSubject(new Ggc);a.getSubscription(b).add(c.subscribe(d));return d};
tJ.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=sic(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 x=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=x.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":g=x.split(",").filter(Boolean);break;case "duplicateOfIssueId":yk(x)||(e=b.cc,h=String(x),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 vic(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:g,isDeduping:d,isRemovingSelfFromCc:b,requestData:c})};
var vic=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,g=c.implicitEditors,h=c.isDeduping,l=c.isRemovingSelfFromCc,q=c.requestData,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra;return de(function(Ta){switch(Ta.nextAddress){case 1:return Ta.yield(Promise.all([Hic(a,e,"appender",d),Hic(a,g,"writer",d)]),2);case 2:x=Ta.yieldResult;A=k(x);B=A.next().value;K=A.next().value;O=B;P=K;Y=O.noAccessEmails||[];X=P.noAccessEmails||[];ka=[].concat(Pc(Y),Pc(X));if(0===ka.length)return Ta.return(Iic(a,q,h,l));ee(Ta,
3);return Ta.yield(Promise.all(ka.map(function(Lb){return Jic(a,Lb)})),5);case 5:return ma=Ta.yieldResult,ya=fva({userPrincipals:ma,newEditors:X,newImplicitUsers:ka,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),Aa=ya.title,Ma=ya.content,Ta.yield(Sgc(a.confirmationDialogService,{title:Aa,content:cn(Ma),confirmButtonText:"Allow"}),6);case 6:if(Ra=Ta.yieldResult)return Ta.return(Iic(a,q,h,l));a.permissionsFridge.poke("issues/"+b);yH(a.issueFetchResponseFridge,b);ks(Ta,
0);break;case 3:he(Ta),MF(a.butterBar,"Could not determine email type."),ie(Ta)}})},Iic=function(a,b,c,d){tic(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 uic(a,e,b)},Hic=function(a,b,c,d,e,g){e=void 0===e?!1:e;g=void 0===g?null:g;if(e&&!g)throw Error("Jc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?g:d;e={noAccessEmails:[]};
return 0!==b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(jn),c,h,d):Promise.resolve(e)},Gic=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&Sm(a);if(!a||!d)return c;b=d.properties();d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$customFieldId$2297:d.$jscomp$loop$prop$customFieldId$2297},e=b.next())if(e=e.value,e.match(/^\d+$/)){d.$jscomp$loop$prop$customFieldId$2297=Ph(e);var g=(c.customField||[]).find(function(h){return function(l){return l.customFieldId===
h.$jscomp$loop$prop$customFieldId$2297}}(d));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=Kgc.get(e))||g(c,a);return c},sic=function(a,b){var c=Jgc(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(cBa(e)))});return c.actions.length?c:null},tic=function(a,b){var c=String(b.issueId);LF(a.butterBar,"Saving...",0);var d=
b.actions.map(function(e){return e.fieldName}).join(",");Zhc(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=k(b.actions);for(c=b.next();!c.done;c=b.next())qJ(a,cBa(c.value))},uic=function(a,b,c,d){var e,g;return de(function(h){switch(h.nextAddress){case 1:return ee(h,2),h.yield(b,4);case 4:return e=h.yieldResult,vH(a.issueFridge,[c.issueId],{eagerUpdate:!1}).then(function(){var l=String(c.issueId);yH(a.issueFetchResponseFridge,l);a.eventsForIssueFridge.poke(l)}),h.yield(Kic(a,c,e,d),
5);case 5:ks(h,0);break;case 2:g=he(h),Lic(a,c,g),ie(h)}})},Kic=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,g,h,l,q;return de(function(x){g=a.savingState(String(b.issueId));h=k(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,rJ(g,cBa(q));return c?x.yield(Mic(a,b,e),0):x.jumpTo(0)})},Lic=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())rJ(e,cBa(g.value));a.permissionsFridge.poke("issues/"+d);yH(a.issueFetchResponseFridge,
d);Nl(c)&&403===c.status&&Ol(c)?PF(a.errorHandler,Ol(c)):QF(a.errorHandler,c)},Mic=function(a,b,c){var d,e,g,h,l,q,x,A,B,K,O;return de(function(P){switch(P.nextAddress){case 1:return P.yield(a.getEffortSpec(String(b.issueId)),2);case 2:d=P.yieldResult;e=a.editableIssue(String(b.issueId));l=yhc(a.statusMessages,b,e.customFieldMap,null!=(h=null==(g=d)?void 0:g.name)?h:"");if(!c){P.jumpTo(3);break}return P.yield(Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),
4);case 4:q=P.yieldResult;x=k(q);A=x.next().value;B=x.next().value;K=A;O=B;var Y=l;if("INDEFINITE"!==O&&c&&K){var X=Gza(c);var ka=Gza(K);X=X===ka?"":" Issue retention period changed from "+X+" to "+ka+"."}else X="";l=Y+X;case 3:LF(a.butterBar,l),ie(P)}})},zic=function(a,b,c,d){return de(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(Pc(g.values())).flat())).has(h)?(g.set(c,d),h=!(new Set([].concat(Pc(g.values())).flat())).has(h)):h=!1;e=h?e.yield(Nic(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},Nic=function(a,b,c,d){var e;return de(function(g){if(1==g.nextAddress)return g.yield(Hic(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=g.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?g.return(Sgc(a.confirmationDialogService,
{title:"Removing yourself from "+d+" may revoke your access to the issue",content:cn("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)})};tJ.prototype.getRetentionState=function(a){return(0,E.firstValueFrom)(xH(this.issueFetchResponseFridge,a).pipe(D(DAa)))};
tJ.prototype.getRetention=function(a){return(0,E.firstValueFrom)(xH(this.issueFetchResponseFridge,a).pipe(D(zAa)))};tJ.prototype.getEffortSpec=function(a){return(0,E.firstValueFrom)(xH(this.issueFetchResponseFridge,a).pipe(D(gAa),Oe(this.componentFridge.watch),D(GAa)))};var Jic=function(a,b){return de(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(SI(a.principalTypes,b,!0))})};
tJ.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()};tJ.\u0275fac=function(a){return new (a||tJ)(u(wH),u(ds),u(KF),u(dJ),u(yE),u(mF),u(BH),u(fF),u(LI),u(OF),u(wI),u(RI),u(gJ),u(cG),u(xI),u(NF),u(tH),u(VI),u(qH),u(PI),u(BI),u(VH),u(uI),u(zhc),u(cJ),u(hJ),u($I))};
tJ.\u0275prov=mc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var uJ=function(a,b,c){jE.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new E.ReplaySubject(1);this.ccInProgress$=new E.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(D(function(d){var e;return Zh(null==(e=Pua(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(D(function(d){var e;return $h(null==(e=Pua(d))?void 0:e.ccUsers)||[]}));
this.assignee$=this.assigneeUpdate$.pipe(Le({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(Le({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};U(uJ,jE);uJ.\u0275dir=jE.\u0275dir;
var Oic=function(a,b){var c,d,e;return de(function(g){switch(g.nextAddress){case 1:c=Sm(a.id$);if(!c)return g.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;ee(g,2,3);return g.yield(Lvb(a.editIssueService,c,d),5);case 5:return g.yield((0,E.firstValueFrom)(a.assigneeUpdate$.pipe(ue(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),we(6E4))),3);case 3:fe(g);a.assigneeInProgress$.next(!1);ge(g,0);break;case 2:throw e=he(g),e;}})},Pic=function(a,b){var c,d,e,
g,h;return de(function(l){switch(l.nextAddress){case 1:c=Sm(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=Aic(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):g=Aic(a.editIssueService,c,[].concat(Pc(d.cc),[b.email]));if(!g)return l.return();ee(l,2,3);a.ccInProgress$.next(!0);return l.yield(g,5);case 5:return l.yield((0,E.firstValueFrom)(a.ccUpdate$.pipe(ue(function(q){q=
q.includes(b.email);return"set_user"===b.action?q:!q}),we(6E4))),3);case 3:fe(l);a.ccInProgress$.next(!1);ge(l,0);break;case 2:throw h=he(l),h;}})};uJ.\u0275fac=function(a){return new (a||uJ)(u(eJ),u(gJ),u(tJ))};uJ.\u0275prov=mc({token:uJ,factory:uJ.\u0275fac});var dBa;var vJ=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Vv;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};vJ.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};vJ.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
vJ.prototype.getRoot=function(){var a;return null!=(a=eBa(this.elementRef.nativeElement))?a:document};vJ.\u0275fac=function(a){return new (a||vJ)(C(rd))};vJ.\u0275dir=Gc({type:vJ,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var wJ=function(){};wJ.\u0275fac=function(a){return new (a||wJ)};wJ.\u0275mod=Dc({type:wJ});wJ.\u0275inj=nc({});var Qic,Ric=Symbol("Kc"),Sic=Symbol("Lc"),xJ=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new Vv;this[Qic]=new E.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new E.BehaviorSubject(!1);this.closeHovercard$=new E.Subject};xJ.prototype.ngOnInit=function(){};var Tic=function(a){var b=a[Sic];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[Ric].pipe(Ae(0))):(0,E.of)(void 0)};Qic=Ric;
xJ.\u0275fac=function(a){return new (a||xJ)(C(Nf))};
xJ.\u0275cmp=Bc({type:xJ,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&Qf(Mf,7);if(a&2){var c;Pf(c=Sf())&&(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&&(tf(),Q(0,fBa,2,3,"ng-template"))},dependencies:[ux,vJ],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 yJ=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[Sic]=this};yJ.\u0275fac=function(a){return new (a||yJ)(C(Mf),C(Nf),C(mw),C(xJ))};yJ.\u0275dir=Gc({type:yJ,selectors:[["","onedevHovercardLazyBody",""]]});var zJ=function(a){this.hovercard=a;this.destroyed$=new E.ReplaySubject(1)};zJ.prototype.ngOnDestroy=function(){this.destroyed$.next()};zJ.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(Pe(this.destroyed$)).subscribe(this.hovercard[Ric])};
zJ.\u0275fac=function(a){return new (a||zJ)(C(xJ))};zJ.\u0275dir=Gc({type:zJ,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var Uic={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},Vic={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},Wic=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},Vic,{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 AJ=function(){this.delay=600;this.position=Wic;this.triggerKey=[]},BJ=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new AJ;this.active=!1;this.hovercardShown$=new E.ReplaySubject(1);this.hide$=new E.Subject;this.hovercard$=new E.BehaviorSubject(null);this.isHovered$=new E.BehaviorSubject(!1);this.isKeyboardActivated$=new E.BehaviorSubject(!1);this.destroyed$=new E.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(Xic(c),
d.stopPropagation(),d.preventDefault())};Yic(this);this.handleClose()},Yic=function(a){Zic(a).pipe(Pe(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};BJ.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(Oe(function(b){return(null==b?void 0:b.closeHovercard$)||E.NEVER}),Pe(this.destroyed$)).subscribe(function(){Xic(a)})};BJ.prototype.dispose=function(){$ic(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
BJ.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};BJ.prototype.toggle=function(a){this.isHovered$.next(a)};var Xic=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
BJ.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,Tic(this.hovercard$.getValue()).pipe(Ce(),Pe(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};BJ.prototype.hide=function(){$ic(this);this.hide$.next()};
var $ic=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()}};BJ.prototype.getPositionStrategy=function(){return jz(kz(lz(nz(this.overlay.position(),this.origin)),8),this.config.position)};
var Zic=function(a){return(0,E.combineLatest)([ajc(a).pipe(Ne(!1)),a.isKeyboardActivated$]).pipe(Me(1),D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),Oe(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(Ge(b)))||(0,E.of)(b)}))},ajc=function(a){return a.hovercard$.pipe(Oe(function(b){return(0,E.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,E.of)(!1)]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),ze(a.config.delay),
Pe(a.destroyed$))}))};var bjc=new Nc("onedevHovercardLoggingOn"),CJ=function(a,b,c,d,e){var g=this;this.viewContainerRef=c;this.injector=e;this.config=new AJ;this.destroyed$=new E.ReplaySubject(1);this.triggerControl=new BJ(a,b);this.triggerControl.hovercardShown$.pipe(Re(d||(0,E.of)(!1)),Pe(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h.next().value&&(g.clientStreamzService||(g.clientStreamzService=g.injector.get(GB)),g.clientStreamzService.logUsageMetric("hovercardShown",!0))})};f=CJ.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 Cx(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()};ch.Object.defineProperties(CJ.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
CJ.\u0275fac=function(a){return new (a||CJ)(C(oz),C(rd),C(Nf),C(bjc,8),C(qv))};
CJ.\u0275dir=Gc({type:CJ,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("keydown.alt.arrowRight",function(c){var d=b.triggerControl;c.stopPropagation();c.preventDefault();d.isKeyboardActivated$.next(!0)})("keydown",function(c){return b.onKeyDown(c)});a&2&&bf("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[Uc]});var cjc=function(a){return["chip","gmat-caption",a]},DJ=function(){this.variant="grey";this.isTall=!1};DJ.\u0275fac=function(a){return new (a||DJ)};
DJ.\u0275cmp=Bc({type:DJ,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&mf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(tf(),G(0,"div",0)(1,"div",1),uf(2),H()());a&2&&F("ngClass",Ff(1,cjc,b.variant))},dependencies:[rw],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 djc=function(a){this.chip=a};djc.\u0275fac=function(a){return new (a||djc)(C(DJ))};djc.\u0275dir=Gc({type:djc,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&lf("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 ejc=function(){};ejc.\u0275fac=function(a){return new (a||ejc)};ejc.\u0275cmp=Bc({type:ejc,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&bf("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&R(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var fjc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],gjc=function(a){return{"with-avatar":a}},EJ=function(){};EJ.prototype.ngOnInit=function(){};EJ.\u0275fac=function(a){return new (a||EJ)};
EJ.\u0275cmp=Bc({type:EJ,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&&(tf(fjc),G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,gBa,1,2,"img",3),G(4,"div",4),R(5),H(),Q(6,hBa,2,1,"div",5),H(),Q(7,iBa,4,1,"div",6),G(8,"div",7),Q(9,mBa,7,3,"ng-container",8),Q(10,nBa,4,1,"ng-container",8),Q(11,qBa,21,6,"ng-container",8),uf(12),H()(),uf(13,1),H());a&2&&(z(2),F("ngClass",Ff(8,gjc,b.person.imageUrl)),z(1),F("ngIf",b.person.imageUrl),z(2),zf(" ",b.person.name||b.person.email," "),z(1),F("ngIf",b.person.name),z(1),F("ngIf",b.outOfOfficeDescription),z(2),F("ngIf",b.person.title||
b.person.department),z(1),F("ngIf",b.person.location),z(1),F("ngIf",b.person.ldap))},dependencies:[DJ,djc,rw,tw,ejc,JA],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 hjc=new Nc("API_VERSION"),ijc=new Nc("REQUEST_SERVICE"),FJ=function(){};FJ.\u0275fac=function(a){return new (a||FJ)};FJ.\u0275mod=Dc({type:FJ});FJ.\u0275inj=nc({});
var jjc={$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",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",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",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",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"},GJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new Yfc(b,c)};
GJ.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return $fc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:Aza(a,jjc,b)})};GJ.\u0275fac=function(a){return new (a||GJ)(u(hjc,8),u(ijc),u(Wfc,8))};GJ.\u0275prov=mc({token:GJ,factory:GJ.\u0275fac});var kjc=function(){};kjc.\u0275fac=function(a){return new (a||kjc)};kjc.\u0275prov=mc({token:kjc,factory:function(a){return GJ.\u0275fac(a)},providedIn:FJ});
var HJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new Yfc(b,c)};HJ.\u0275fac=function(a){return new (a||HJ)(u(hjc,8),u(ijc),u(Wfc,8))};HJ.\u0275prov=mc({token:HJ,factory:HJ.\u0275fac});var ljc=function(){};ljc.\u0275fac=function(a){return new (a||ljc)};ljc.\u0275prov=mc({token:ljc,factory:function(a){return HJ.\u0275fac(a)},providedIn:FJ});var rBa=/.*@google.com/,mjc=new Nc("onedevPeopleServiceConfig"),njc={},IJ=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new E.Subject;this.config=njc;c&&c.pipe(Qe(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),Pe(this.destroy$)).subscribe({next:function(e){d.config=e}})},pjc=function(a,b){return ojc(a,[b]).pipe(D(function(c){return c[0]}))},ojc=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(D(function(c){return vBa(b,c)}))};IJ.prototype.ngOnDestroy=function(){this.destroy$.next()};IJ.\u0275fac=function(a){return new (a||IJ)(u(kjc),u(ljc),u(mjc,8))};IJ.\u0275prov=mc({token:IJ,factory:IJ.\u0275fac});var qjc=function(a){r.call(this,a)};U(qjc,r);f=qjc.prototype;f.getSize=function(){return Ms(this,1)};f.setSize=function(a){return n(this,1,a)};f.getWidth=function(){return Ms(this,12)};f.setWidth=function(a){return n(this,12,a)};f.getHeight=function(){return Ms(this,13)};f.setHeight=function(a){return n(this,13,a)};f.setStretch=function(a){return Ij(this,33,a)};f.setCrop=function(a){return Ij(this,2,a)};f.setCircleCrop=function(a){return Ij(this,51,a)};
f.setImageCrop=function(a){return Ij(this,32,a)};f.setSmartCrop=function(a){return Ij(this,19,a)};f.setSmartCropNoClip=function(a){return Ij(this,52,a)};f.setSmartCropUseFace=function(a){return Ij(this,67,a)};f.setDetectFaces=function(a){Ij(this,80,a)};f.setCenterCrop=function(a){return Ij(this,20,a)};f.setPad=function(a){return Ij(this,60,a)};f.getDownload=function(){return Gj(this,3,!1)};f.setDownload=function(a){Ij(this,3,a)};f.setHtml=function(a){Ij(this,4,a)};
f.getObjectId=function(){return m(this,7)};f.setObjectId=function(a){n(this,7,a)};f.setLooseFaceCrop=function(a){return Ij(this,65,a)};f.setFaceCropVersion=function(a){n(this,94,a)};f.setFrameId=function(a){n(this,29,a)};f.setTileX=function(a){n(this,9,a)};f.setTileY=function(a){n(this,10,a)};f.setTileZoom=function(a){n(this,11,a)};f.setTileGeneration=function(a){Ij(this,14,a)};f.setForceTileGeneration=function(a){Ij(this,34,a)};f.setTilePyramidAsProto=function(a){Ij(this,72,a)};
f.setExpirationTime=function(a){n(this,15,a)};f.setImageFilter=function(a){return n(this,16,a)};f.setKillAnimation=function(a){return Ij(this,17,a)};f.setUnfiltered=function(a){Ij(this,18,a)};f.setUnfilteredWithTransforms=function(a){Ij(this,45,a)};f.setIncludeMetadata=function(a){Ij(this,22,a)};f.setIncludePublicMetadata=function(a){Ij(this,54,a)};f.setStripGoogleData=function(a){Ij(this,82,a)};f.setPreserveGoogleData=function(a){Ij(this,83,a)};f.setStripMetadata=function(a){Ij(this,93,a)};
f.setStripGeoinfo=function(a){Ij(this,95,a)};f.setEsPortraitApprovedOnly=function(a){return Ij(this,21,a)};f.setBypassTakedown=function(a){Ij(this,23,a)};f.getToken=function(){return m(this,24)};f.setToken=function(a){return n(this,24,a)};f.setVersionedToken=function(a){n(this,36,a)};f.setSkipRefererCheck=function(a){Ij(this,6,a)};f.getRotate=function(){return Ms(this,26)};f.setRotate=function(a){return n(this,26,a)};f.setHorizontalFlip=function(a){Ij(this,30,a)};
f.setVerticalFlip=function(a){Ij(this,31,a)};f.getOverlay=function(){return $q(this,27)};f.setOverlay=function(a){return Ij(this,27,a)};f.getQueryString=function(){return m(this,28)};f.setQueryString=function(a){n(this,28,a)};f.setRequestJpeg=function(a){return Ij(this,57,a)};f.setRequestPng=function(a){return Ij(this,58,a)};f.setRequestGif=function(a){Ij(this,59,a)};f.setRequestAvif=function(a){Ij(this,103,a)};f.setRequestWebp=function(a){return Ij(this,35,a)};
f.setRequestWebpUnlessMaybeTransparent=function(a){Ij(this,41,a)};f.setRequestAnimatedWebp=function(a){Ij(this,64,a)};f.setNoWebp=function(a){Ij(this,48,a)};f.setRequestH264=function(a){return Ij(this,49,a)};f.setLossy=function(a){Ij(this,97,a)};f.setNoOverlay=function(a){return Ij(this,37,a)};f.setBorderSize=function(a){n(this,38,a)};f.setBorderRadius=function(a){n(this,86,a)};f.setBorderColor=function(a){n(this,39,a)};f.getBackgroundColor=function(){return Ms(this,87)};
f.setBackgroundColor=function(a){n(this,87,a)};f.setPadColor=function(a){n(this,88,a)};f.setSubstitutionColor=function(a){n(this,89,a)};f.setNoSilhouette=function(a){Ij(this,40,a)};f.setFocusBlur=function(a){n(this,42,a)};f.setFocalPlane=function(a){n(this,43,a)};f.setQualityLevel=function(a){return n(this,44,a)};f.setQualityBucket=function(a){return n(this,62,a)};f.setNoUpscale=function(a){Ij(this,46,a)};f.setPreserveAspectRatio=function(a){Ij(this,61,a)};
f.setForceTransformation=function(a){Ij(this,50,a)};f.setNoDefaultImage=function(a){Ij(this,53,a)};f.setNoCorrectExifOrientation=function(a){Ij(this,55,a)};f.setSelectFrameNumber=function(a){n(this,56,a)};f.setVideoFormat=function(a){n(this,63,a)};f.setVideoMultiFormat=function(a){n(this,81,a)};f.setVideoManifest=function(a){Ij(this,98,a)};f.setDownloadVideo=function(a){Ij(this,90,a)};f.setVideoBegin=function(a){n(this,68,a)};f.setVideoLength=function(a){n(this,69,a)};
f.setMatchVersion=function(a){Ij(this,66,a)};f.setImageDigest=function(a){Ij(this,70,a)};f.setInternalClient=function(a){n(this,71,a)};f.setMonogram=function(a){Ij(this,73,a)};f.setForceMonogram=function(a){return Ij(this,84,a)};f.setMonogramDogfood=function(a){Ij(this,91,a)};f.setIgnoreLowResProfilePhoto=function(a){Ij(this,96,a)};f.setAutoloop=function(a){Ij(this,74,a)};f.getImageVersion=function(){return m(this,75)};f.setImageVersion=function(a){n(this,75,a)};
f.setPitchDegrees=function(a){Ls(this,76,a)};f.setYawDegrees=function(a){Ls(this,77,a)};f.getRollDegrees=function(){return Es(this,78)};f.setRollDegrees=function(a){Ls(this,78,a)};f.setFovDegrees=function(a){Ls(this,79,a)};f.setBadge=function(a){n(this,85,a)};f.setColorProfile=function(a){n(this,92,a)};f.setDeepCrop=function(a){n(this,99,a)};f.setRequestVideoFast=function(a){Ij(this,100,a)};f.setVideoFormatFilters=function(a){n(this,102,a)};f.setDummyCacheKeyModifier=function(a){Ij(this,104,a)};
f.setGainMap=function(a){Ij(this,105,a)};
f.toObject=function(){if(null!=this){t(this);var a={size:p(Ms(this,1)),width:p(Ms(this,12)),height:p(Ms(this,13)),stretch:p($q(this,33)),crop:Gj(this,2,!1),circleCrop:p($q(this,51)),imageCrop:p($q(this,32)),smartCrop:Gj(this,19,!1),smartCropNoClip:Gj(this,52,!1),smartCropUseFace:Gj(this,67,!1),detectFaces:p($q(this,80)),centerCrop:Gj(this,20,!1),pad:p($q(this,60)),download:Gj(this,3,!1),html:Gj(this,4,!1),objectId:p(m(this,7)),looseFaceCrop:p($q(this,65)),faceCropVersion:p(Ms(this,94)),frameId:p(m(this,
29)),imageUrlDomain:Eh(this,8,0),tileX:p(Ms(this,9)),tileY:p(Ms(this,10)),tileZoom:p(Ms(this,11)),tileGeneration:Gj(this,14,!1),forceTileGeneration:Gj(this,34,!1),tilePyramidAsProto:Gj(this,72,!1),expirationTime:p(Ms(this,15)),imageFilter:p(m(this,16)),killAnimation:p($q(this,17)),unfiltered:p($q(this,18)),unfilteredWithTransforms:p($q(this,45)),includeMetadata:p($q(this,22)),includePublicMetadata:p($q(this,54)),stripGoogleData:p($q(this,82)),preserveGoogleData:p($q(this,83)),stripMetadata:p($q(this,
93)),stripGeoinfo:p($q(this,95)),esPortraitApprovedOnly:p($q(this,21)),bypassTakedown:Gj(this,23,!1),token:p(m(this,24)),versionedToken:p(m(this,36)),skipRefererCheck:Gj(this,6,!1),rotate:p(Ms(this,26)),horizontalFlip:p($q(this,30)),verticalFlip:p($q(this,31)),overlay:p($q(this,27)),queryString:p(m(this,28)),requestJpeg:p($q(this,57)),requestPng:p($q(this,58)),requestGif:p($q(this,59)),requestAvif:Gj(this,103,!1),requestWebp:Gj(this,35,!1),requestWebpUnlessMaybeTransparent:Gj(this,41,!1),requestAnimatedWebp:Gj(this,
64,!1),noWebp:Gj(this,48,!1),requestH264:Gj(this,49,!1),lossy:p($q(this,97)),noOverlay:Gj(this,37,!1),borderSize:p(Ms(this,38)),borderRadius:p(Ms(this,86)),borderColor:p(Ms(this,39)),backgroundColor:p(Ms(this,87)),padColor:p(Ms(this,88)),substitutionColor:p(Ms(this,89)),noSilhouette:p($q(this,40)),focusBlur:p(Ms(this,42)),focalPlane:p(Ms(this,43)),qualityLevel:p(Ms(this,44)),qualityBucket:p(Ms(this,62)),noUpscale:p($q(this,46)),preserveAspectRatio:p($q(this,61)),forceTransformation:p($q(this,50)),
noDefaultImage:p($q(this,53)),noCorrectExifOrientation:p($q(this,55)),selectFrameNumber:p(Ms(this,56)),videoFormat:p(Ms(this,63)),videoMultiFormat:p(m(this,81)),videoManifest:p($q(this,98)),downloadVideo:p($q(this,90)),videoBegin:p(m(this,68)),videoLength:p(m(this,69)),matchVersion:p($q(this,66)),imageDigest:p($q(this,70)),internalClient:p(Ms(this,71)),monogram:p($q(this,73)),forceMonogram:p($q(this,84)),monogramDogfood:p($q(this,91)),ignoreLowResProfilePhoto:p($q(this,96)),autoloop:p($q(this,74)),
imageVersion:p(m(this,75)),pitchDegrees:p(Es(this,76)),yawDegrees:p(Es(this,77)),rollDegrees:p(Es(this,78)),fovDegrees:p(Es(this,79)),badge:p(Ms(this,85)),colorProfile:p(Ms(this,92)),deepCrop:p(m(this,99)),requestVideoFast:p($q(this,100)),videoFormatFilters:p(m(this,102)),dummyCacheKeyModifier:p($q(this,104)),gainMap:p($q(this,105))}}else a=void 0;return a};var JJ=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};JJ.prototype.set=function(a,b){rjc(this,a,b,!1)};JJ.prototype.add=function(a,b){rjc(this,a,b,!0)};var rjc=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 JJ);a=a.childNodes_[g]}if(d&&void 0!==a.value_)throw Error("Mc`"+b);a.value_=c};JJ.prototype.setAll=function(a){var b=E6b(a);a=EC(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var sjc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};JJ.prototype.get=function(a){return(a=sjc(this,a))?a.value_:void 0};JJ.prototype.getValues=function(){var a=[];tjc(this,a);return a};var tjc=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)tjc(a.childNodes_[c],b)};
JJ.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]}ujc(c,a,b)}else ujc(this,"",b);return b};var ujc=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)ujc(a.childNodes_[d],b+d,c)};f=JJ.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("Nc`"+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 JJ(this)};f.getCount=function(){return D6b(this.getValues())};f.isEmpty=function(){return void 0===this.value_&&Qb(this.childNodes_)};var xjc=function(){if(!vjc){var a=vjc=new JJ,b;for(b in wjc)a.add(b,wjc[b])}},vjc,KJ=function(a,b){this.types=a;this.setters=b},wjc={a:new KJ([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new KJ([3],[function(a,b){a.setAutoloop(b)}]),b:new KJ([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new KJ([0],[function(a,b){a.setBadge(b)}]),bc:new KJ([0],[function(a,b){a.setBackgroundColor(b)}]),br:new KJ([0],[function(a,
b){a.setBorderRadius(b)}]),c:new KJ([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new KJ([3],[function(a,b){a.setCircleCrop(b)}]),ci:new KJ([3],[function(a,b){a.setImageCrop(b)}]),ckm:new KJ([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new KJ([0],[function(a,b){a.setColorProfile(b)}]),cv:new KJ([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new KJ([3],[function(a,b){a.setDownload(b)}]),dc:new KJ([5],[function(a,b){a.setDeepCrop(b)}]),df:new KJ([3],[function(a,
b){a.setDetectFaces(b)}]),dv:new KJ([3],[function(a,b){a.setDownloadVideo(b)}]),e:new KJ([0],[function(a,b){a.setExpirationTime(b)}]),f:new KJ([4],[function(a,b){a.setImageFilter(b)}]),fg:new KJ([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new KJ([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new KJ([3],[function(a,b){a.setForceMonogram(b)}]),fo:new KJ([2],[function(a,b){a.setFovDegrees(b)}]),ft:new KJ([3],[function(a,b){a.setForceTransformation(b)}]),fv:new KJ([3],[function(a,b){a.setVerticalFlip(b)}]),
g:new KJ([3],[function(a,b){a.setTileGeneration(b)}]),gd:new KJ([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new KJ([3],[function(a,b){a.setGainMap(b)}]),h:new KJ([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new KJ([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new KJ([0],[function(a,b){a.setInternalClient(b)}]),id:new KJ([3],[function(a,b){a.setImageDigest(b)}]),il:new KJ([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new KJ([3],[function(a,b){a.setIncludePublicMetadata(b)}]),
iv:new KJ([0],[function(a,b){a.setImageVersion(b)}]),j:new KJ([1],[function(a,b){a.setFrameId(b)}]),k:new KJ([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new KJ([0],[function(a,b){a.setQualityLevel(b)}]),lf:new KJ([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new KJ([3],[function(a,b){a.setLossy(b)}]),m:new KJ([0],[function(a,b){a.setVideoFormat(b)}]),md:new KJ([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new KJ([4],[function(a,b){a.setVideoMultiFormat(b)}]),
mo:new KJ([3],[function(a,b){a.setMonogram(b)}]),mv:new KJ([3],[function(a,b){a.setMatchVersion(b)}]),n:new KJ([3],[function(a,b){a.setCenterCrop(b)}]),nc:new KJ([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new KJ([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new KJ([3],[function(a,b){a.setStripGeoinfo(b)}]),no:new KJ([3],[function(a,b){a.setNoOverlay(b)}]),ns:new KJ([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new KJ([4],[function(a,b){a.setVersionedToken(b)}]),nu:new KJ([3],[function(a,
b){a.setNoUpscale(b)}]),nw:new KJ([3],[function(a,b){a.setNoWebp(b)}]),o:new KJ([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new KJ([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new KJ([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new KJ([0],[function(a,b){a.setPadColor(b)}]),pd:new KJ([3],[function(a,b){a.setPad(b)}]),pf:new KJ([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new KJ([3],[function(a,b){a.setTilePyramidAsProto(b)}]),
pi:new KJ([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new KJ([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new KJ([4],[function(a,b){a.setQueryString(b)}]),r:new KJ([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new KJ([3],[function(a,b){a.setRequestAvif(b)}]),rf:new KJ([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new KJ([3],[function(a,b){a.setRequestGif(b)}]),rh:new KJ([3],[function(a,b){a.setRequestH264(b)}]),rj:new KJ([3],[function(a,b){a.setRequestJpeg(b)}]),
ro:new KJ([2],[function(a,b){a.setRollDegrees(b)}]),rp:new KJ([3],[function(a,b){a.setRequestPng(b)}]),rw:new KJ([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new KJ([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new KJ([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new KJ([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new KJ([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new KJ([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new KJ([3],[function(a,
b){a.setStripMetadata(b)}]),t:new KJ([4],[function(a,b){a.setToken(b)}]),u:new KJ([3],[function(a,b){a.setUnfiltered(b)}]),ut:new KJ([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new KJ([0],[function(a,b){a.setQualityBucket(b)}]),vb:new KJ([0],[function(a,b){a.setVideoBegin(b)}]),vf:new KJ([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new KJ([0],[function(a,b){a.setVideoLength(b)}]),vm:new KJ([3],[function(a,b){a.setVideoManifest(b)}]),w:new KJ([0],[function(a,b){a.setWidth(b)}]),
x:new KJ([0],[function(a,b){a.setTileX(b)}]),y:new KJ([0],[function(a,b){a.setTileY(b)}]),ya:new KJ([2],[function(a,b){a.setYawDegrees(b)}]),z:new KJ([0],[function(a,b){a.setTileZoom(b)}])};
xjc.prototype.parse=function(a){var b=new qjc,c=new qjc;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 x=h.charAt(0);x!=x.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var A=vjc;for(x=1;x<=q.length;++x){var B=A,K=q.substring(0,x);if(0==K.length?B.isEmpty():!sjc(B,K))break}q=1==x?null:(q=A.get(q.substring(0,x-1)))?{option:h.substring(0,x-1),value:h.substring(x-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];x=!1;for(A=0;A<q.attributes.types.length;A++){B=q.attributes.types[A];var O=q.value;K=e;if(q.signed&&1==B)for(var P=O.length;12>P&&K<a.length-1;)O+="-"+a[K+1],P=O.length,++K;else if(2==B)for(;K<a.length-1&&a[K+1].match(/^[\d\.]/);)O+="-"+a[K+1],++K;P=q.attributes.setters[A];O=yjc(this,B)(q.option,O,b,c,P);if(null===O){x=!0;e=K;break}else h.push(B),l.push(O)}if(!x)for(q=0;q<l.length;q++)A=h[q],O=l[q],zjc(this,A)(g,O);d=d&&x}else d=!1}}a=d}return new Ajc(b,c,a)};
var Bjc=function(a,b,c,d,e,g){e(c,b);a=a.charAt(0);g=g(a==a.toUpperCase());e(d,g)};f=xjc.prototype;f.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=Ph(b);if(isNaN(b))return 1;Bjc(a,b,c,d,e,Number);return null};f.logIntParseError_=function(){};f.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=Uh(b);if(isNaN(b))return 1;Bjc(a,b,c,d,e,Number);return null};f.logFloatParseError_=function(){};
f.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;Bjc(a,!0,c,d,e,Boolean);return null};f.logBoolParseError_=function(){};f.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;Bjc(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;Bjc(a,b,c,d,e,function(g){return g?1:0});return null};
var yjc=function(a,b){switch(b){case 0:return ps(a.parseAndSetIntOption_,a);case 2:return ps(a.parseAndSetFloatOption_,a);case 3:return ps(a.parseAndSetBoolOption_,a);case 4:return ps(a.parseAndSetStringOption_,a);case 1:return ps(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},zjc=function(a,b){switch(b){case 0:return ps(a.logIntParseError_,a);case 2:return ps(a.logFloatParseError_,a);case 3:return ps(a.logBoolParseError_,a);case 4:case 1:return ps(a.logStringParseError_,a);default:return function(){}}},
Ajc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Ajc.prototype.isValid=function(){return this.valid_};var Cjc=function(a,b){null!=a&&this.append.apply(this,arguments)};f=Cjc.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 Ejc=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;Djc(this,a)};Ejc.prototype.getParsedOptions=function(){return this.parsedOptions_};var Fjc=function(a){null==a.parser_&&(a.parser_=new xjc);return a.parser_},Djc=function(a,b){a.parsedOptions_=b?"string"===typeof b?Fjc(a).parse(b):b:Fjc(a).parse("")},LJ=function(a,b){return a==b?!1:!0};f=Ejc.prototype;
f.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,21),$q(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};f.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,56),Ms(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};f.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,74),$q(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
f.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,23,!1),Gj(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};f.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,38),Ms(b.signatureFlagProto_,38))&&c.setBorderSize(a)};f.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,85),Ms(b.signatureFlagProto_,85))&&c.setBadge(a)};
f.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};f.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,86),Ms(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};f.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,2,!1),Gj(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
f.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,39),Ms(b.signatureFlagProto_,39))&&c.setBorderColor(a)};f.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,51),$q(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};f.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,32),$q(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
f.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,104),$q(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};f.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,92),Ms(b.signatureFlagProto_,92))&&c.setColorProfile(a)};f.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,94),Ms(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};
f.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getDownload(),b.signatureFlagProto_.getDownload())&&c.setDownload(a)};f.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,99),m(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};f.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,80),$q(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};
f.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,90),$q(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};f.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,15),Ms(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};f.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,16),m(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};
f.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,34,!1),Gj(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};f.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,30),$q(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};f.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,84),$q(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};
f.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Es(c,79),Es(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};f.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,50),$q(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};f.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,31),$q(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};
f.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,14,!1),Gj(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};f.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,83),$q(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};f.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,105),$q(b.signatureFlagProto_,105))&&c.setGainMap(a)};
f.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,4,!1),Gj(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};f.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(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_;LJ(a,$q(c,22),$q(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};
f.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,71),Ms(b.signatureFlagProto_,71))&&c.setInternalClient(a)};f.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,70),$q(b.signatureFlagProto_,70))&&c.setImageDigest(a)};f.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,96),$q(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};
f.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,54),$q(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};f.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};f.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,29),m(b.signatureFlagProto_,29))&&c.setFrameId(a)};
f.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,17),$q(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};f.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,42),Ms(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};f.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,44),Ms(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};
f.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,65),$q(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};f.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,97),$q(b.signatureFlagProto_,97))&&c.setLossy(a)};f.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,63),Ms(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};
f.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,91),$q(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};f.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,81),m(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};f.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,73),$q(b.signatureFlagProto_,73))&&c.setMonogram(a)};
f.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,66),$q(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};f.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,20,!1),Gj(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};f.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,55),$q(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};
f.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,53),$q(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};f.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,95),$q(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};f.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,37,!1),Gj(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};
f.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,40),$q(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};f.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,36),m(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};f.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,46),$q(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
f.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,48,!1),Gj(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};f.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getObjectId(),b.signatureFlagProto_.getObjectId())&&c.setObjectId(a)};f.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(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_;LJ(a,Gj(c,19,!1),Gj(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};f.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,43),Ms(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};f.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,61),$q(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
f.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,88),Ms(b.signatureFlagProto_,88))&&c.setPadColor(a)};f.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,60),$q(b.signatureFlagProto_,60))&&c.setPad(a);return this};f.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,67,!1),Gj(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};
f.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,72,!1),Gj(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};f.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Es(c,76),Es(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};f.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,52,!1),Gj(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};
f.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getQueryString(),b.signatureFlagProto_.getQueryString())&&c.setQueryString(a)};f.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,6,!1),Gj(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};f.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(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_;LJ(a,Gj(c,103,!1),Gj(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};f.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,100),$q(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};f.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,59),$q(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
f.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,49,!1),Gj(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};f.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,57),$q(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};f.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getRollDegrees(),b.signatureFlagProto_.getRollDegrees())&&c.setRollDegrees(a)};
f.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,58),$q(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};f.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,35,!1),Gj(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};f.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,64,!1),Gj(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
f.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Gj(c,41,!1),Gj(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};f.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,33),$q(b.signatureFlagProto_,33))&&c.setStretch(a);return this};f.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};
f.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,89),Ms(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};f.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,82),$q(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};f.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,93),$q(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};
f.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(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_;LJ(a,$q(c,18),$q(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};f.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,45),$q(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};
f.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,62),Ms(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};f.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,68),m(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};f.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,102),m(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};
f.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,m(c,69),m(b.signatureFlagProto_,69))&&c.setVideoLength(a)};f.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;LJ(a,$q(c,98),$q(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};f.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};
f.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,9),Ms(b.signatureFlagProto_,9))&&c.setTileX(a)};f.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,10),Ms(b.signatureFlagProto_,10))&&c.setTileY(a)};f.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Es(c,77),Es(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};f.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;LJ(a,Ms(c,11),Ms(b.signatureFlagProto_,11))&&c.setTileZoom(a)};
f.setOptions=function(a){Djc(this,a)};
f.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;MJ(this,"s",b.getSize(),a.getSize());MJ(this,"w",b.getWidth(),a.getWidth());NJ(this,"c",Gj(b,2,!1),Gj(a,2,!1));NJ(this,"d",b.getDownload(),a.getDownload());MJ(this,"h",b.getHeight(),a.getHeight());NJ(this,"s",$q(b,33),$q(a,33));NJ(this,"h",Gj(b,4,!1),Gj(a,4,!1));NJ(this,"p",Gj(b,19,!1),Gj(a,19,!1));NJ(this,"pp",Gj(b,52,!1),Gj(a,52,!1));NJ(this,"pf",Gj(b,67,!1),Gj(a,67,!1));NJ(this,"n",Gj(b,
20,!1),Gj(a,20,!1));MJ(this,"r",b.getRotate(),a.getRotate());NJ(this,"r",Gj(b,6,!1),Gj(a,6,!1));NJ(this,"o",b.getOverlay(),a.getOverlay());var c=b.getObjectId();OJ(this,"o",c,a.getObjectId());c=m(b,29);OJ(this,"j",c,m(a,29));MJ(this,"x",Ms(b,9),Ms(a,9));MJ(this,"y",Ms(b,10),Ms(a,10));MJ(this,"z",Ms(b,11),Ms(a,11));NJ(this,"g",Gj(b,14,!1),Gj(a,14,!1));MJ(this,"e",Ms(b,15),Ms(a,15));OJ(this,"f",m(b,16),m(a,16));NJ(this,"k",$q(b,17),$q(a,17));NJ(this,"u",$q(b,18),!0);NJ(this,"ut",$q(b,45),!0);NJ(this,
"i",$q(b,22),!0);NJ(this,"a",$q(b,21),$q(a,21));NJ(this,"b",Gj(b,23,!1),Gj(a,23,!1));MJ(this,"b",Ms(b,38),Ms(a,38));MJ(this,"c",Ms(b,39),Ms(a,39),16,8);OJ(this,"q",b.getQueryString(),a.getQueryString());NJ(this,"fh",$q(b,30),$q(a,30));NJ(this,"fv",$q(b,31),$q(a,31));NJ(this,"fg",Gj(b,34,!1),Gj(a,34,!1));NJ(this,"ci",$q(b,32),$q(a,32));OJ(this,"t",b.getToken(),a.getToken());OJ(this,"nt0",m(b,36),m(a,36));NJ(this,"rw",Gj(b,35,!1),Gj(a,35,!1));NJ(this,"rwu",Gj(b,41,!1),Gj(a,41,!1));NJ(this,"rwa",Gj(b,
64,!1),Gj(a,64,!1));NJ(this,"nw",Gj(b,48,!1),Gj(a,48,!1));NJ(this,"rh",Gj(b,49,!1),Gj(a,49,!1));NJ(this,"no",Gj(b,37,!1),Gj(a,37,!1));NJ(this,"ns",$q(b,40),$q(a,40));MJ(this,"k",Ms(b,42),Ms(a,42));MJ(this,"p",Ms(b,43),Ms(a,43));MJ(this,"l",Ms(b,44),Ms(a,44));MJ(this,"v",Ms(b,62),Ms(a,62));NJ(this,"nu",$q(b,46),$q(a,46));NJ(this,"ft",$q(b,50),$q(a,50));NJ(this,"cc",$q(b,51),$q(a,51));NJ(this,"nd",$q(b,53),$q(a,53));NJ(this,"ip",$q(b,54),$q(a,54));NJ(this,"nc",$q(b,55),$q(a,55));MJ(this,"a",Ms(b,56),
Ms(a,56));NJ(this,"rj",$q(b,57),$q(a,57));NJ(this,"rp",$q(b,58),$q(a,58));NJ(this,"rg",$q(b,59),$q(a,59));NJ(this,"pd",$q(b,60),$q(a,60));NJ(this,"pa",$q(b,61),$q(a,61));MJ(this,"m",Ms(b,63),Ms(a,63));MJ(this,"vb",m(b,68),m(a,68));MJ(this,"vl",m(b,69),m(a,69));NJ(this,"lf",$q(b,65),$q(a,65));NJ(this,"mv",$q(b,66),$q(a,66));NJ(this,"id",$q(b,70),$q(a,70));MJ(this,"ic",Ms(b,71),!0);NJ(this,"pg",Gj(b,72,!1),Gj(a,72,!1));NJ(this,"mo",$q(b,73),$q(a,73));NJ(this,"al",$q(b,74),$q(a,74));MJ(this,"iv",b.getImageVersion(),
a.getImageVersion());MJ(this,"pi",Es(b,76),Es(a,76));MJ(this,"ya",Es(b,77),Es(a,77));MJ(this,"ro",b.getRollDegrees(),a.getRollDegrees());MJ(this,"fo",Es(b,79),Es(a,79));NJ(this,"df",$q(b,80),$q(a,80));OJ(this,"mm",m(b,81),m(a,81));NJ(this,"sg",$q(b,82),$q(a,82));NJ(this,"gd",$q(b,83),$q(a,83));NJ(this,"fm",$q(b,84),$q(a,84));MJ(this,"ba",Ms(b,85),Ms(a,85));MJ(this,"br",Ms(b,86),Ms(a,86));MJ(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);MJ(this,"pc",Ms(b,88),Ms(a,88),16,8);MJ(this,
"sc",Ms(b,89),Ms(a,89),16,8);NJ(this,"dv",$q(b,90),$q(a,90));NJ(this,"md",$q(b,91),$q(a,91));MJ(this,"cp",Ms(b,92),Ms(a,92));NJ(this,"sm",$q(b,93),$q(a,93));MJ(this,"cv",Ms(b,94),Ms(a,94));NJ(this,"ng",$q(b,95),$q(a,95));NJ(this,"il",$q(b,96),$q(a,96));NJ(this,"lo",$q(b,97),$q(a,97));NJ(this,"vm",$q(b,98),$q(a,98));OJ(this,"dc",m(b,99),m(a,99));NJ(this,"rf",$q(b,100),$q(a,100));OJ(this,"vf",m(b,102),m(a,102));NJ(this,"ra",Gj(b,103,!1),Gj(a,103,!1));NJ(this,"ckm",$q(b,104),$q(a,104));NJ(this,"gm",
$q(b,105),$q(a,105));return this.components_.join("-")};var MJ=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 Cjc;e.append(16==h?"0x":"");h=e.append;void 0==g?g="":(g-=c.length,g=0>=g?"":uQb("0",g));h.call(e,g);e.append(c);Gjc(a,b,e.toString(),!!d)}},NJ=function(a,b,c,d){c&&Gjc(a,b,"",!!d)},OJ=function(a,b,c,d){c&&Gjc(a,b,c,!!d)},Gjc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var PJ=function(a){Ejc.call(this,a)};rs(PJ,Ejc);f=PJ.prototype;f.setCrop=function(a){a&&QJ(this);return PJ.superClass_.setCrop.call(this,a)};f.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return PJ.superClass_.setHeight.call(this,a)};f.setStretch=function(a){a&&QJ(this);return PJ.superClass_.setStretch.call(this,a)};f.setQualityLevel=function(a){return PJ.superClass_.setQualityLevel.call(this,a)};
f.setImageFilter=function(a){a&&(a=a.replace(";",":"));return PJ.superClass_.setImageFilter.call(this,a)};f.setImageCrop=function(a){a&&QJ(this);return PJ.superClass_.setImageCrop.call(this,a)};f.setCircleCrop=function(a){a&&QJ(this);return PJ.superClass_.setCircleCrop.call(this,a)};f.setSize=function(a){va(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return PJ.superClass_.setSize.call(this,a)};
f.setSmartCrop=function(a){a&&QJ(this);return PJ.superClass_.setSmartCrop.call(this,a)};f.setSmartCropNoClip=function(a){a&&QJ(this);return PJ.superClass_.setSmartCropNoClip.call(this,a)};f.setSmartCropUseFace=function(a){a&&QJ(this);return PJ.superClass_.setSmartCropUseFace.call(this,a)};f.setCenterCrop=function(a){a&&QJ(this);return PJ.superClass_.setCenterCrop.call(this,a)};f.setPad=function(a){a&&QJ(this);return PJ.superClass_.setPad.call(this,a)};
f.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return PJ.superClass_.setWidth.call(this,a)};var QJ=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
PJ.prototype.build=function(){var a=this.getParsedOptions().valueProto_;$q(a,18)||$q(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),QJ(this)));return PJ.superClass_.build.call(this)};var Hjc=/^[^\/]*\/\//,RJ=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(Hjc))&&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_=KC(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},Ijc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},SJ=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]&&(Ijc(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)Ijc(a,
a.components_[0]);else if("image"==a.components_[0])Ijc(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(Ijc(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_};RJ.prototype.isValid=function(){SJ(this);return this.valid_};var Jjc=function(a){SJ(a);return a.obfuscated_},Kjc=function(a){SJ(a);return a.isFreeformUrl_};
RJ.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};RJ.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var TJ=function(a){SJ(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};RJ.prototype.hasOptions=function(){switch(SJ(this).length){case 7:return!0;case 6:return null==TJ(this);case 5:return!1;case 3:return!0;case 2:return null==TJ(this);case 1:return!1;default:return!1}};
var UJ=function(a,b){if(Kjc(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=SJ(a)[b]}else if(Jjc(a))a:{var c=null!=TJ(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=SJ(a)[b]}else a:{c=null!=TJ(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=SJ(a)[b]}return a};f=RJ.prototype;f.getOriginal=function(){return this.original_};f.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=UJ(this,0));return this.obfuscatedGaiaId_};f.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=UJ(this,1));return this.photoId_};f.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=UJ(this,2));return this.imageVersion_};
f.getOptions=function(){void 0==this.options_&&(this.options_=UJ(this,4));return this.options_};f.getFilename=function(){void 0==this.filename_&&(this.filename_=UJ(this,5));return this.filename_};var Ljc=function(){};Ljc.prototype.parse=function(a,b){return new Mjc(a,void 0===b?!1:b)};var Mjc=function(a,b){RJ.call(this,a,void 0===b?!1:b)};U(Mjc,RJ);Mjc.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new xjc).parse(a)}return this.parsedOptions_};var VJ=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof Mjc||(void 0==Njc&&(Njc=new Ljc),a=Njc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();Ejc.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},Njc;rs(VJ,PJ);VJ.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
VJ.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.getOriginal();var a=VJ.superClass_.build.call(this),b=[];null!=TJ(this.parsedImageUrl_)&&b.push(TJ(this.parsedImageUrl_));var c=Kjc(this.parsedImageUrl_);if(Jjc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=UJ(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=UJ(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_=UJ(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=c?b.join("="):b.join("/");a=KC(this.protocolPrefix_+this.domain_+"/"+a+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//",
"://"));return a};var Ojc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],WJ=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new E.ReplaySubject(1);this.person$=this.providedEmail$.pipe(Oe(function(d){return pjc(c.peopleService,d)}),D(function(d){if(d){var e=Object,g=e.assign;if(d.imageUrl){var h=d.imageUrl;var l=new VJ(h);l.setSize(48);h=l.build()||h}else h=d.imageUrl;d=g.call(e,{},d,{imageUrl:h})}return d}),Le(1));this.outOfOfficeDescription$=
new E.ReplaySubject;this.init=new E.ReplaySubject(1);this.destroyed$=new E.ReplaySubject(1)};WJ.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Ce(),Pe(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&Pjc(this)};var Pjc=function(a){a.waldoService&&a.person$.pipe(Oe(function(b){return b?Fgc(a.waldoService,b.email):(0,E.of)("")}),Pe(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
ch.Object.defineProperties(WJ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});WJ.\u0275fac=function(a){return new (a||WJ)(C(IJ),C(pI,8))};
WJ.\u0275cmp=Bc({type:WJ,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&&(tf(Ojc),Q(0,wBa,4,4,"onedev-person-hovercard-body",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.person$))},dependencies:[tw,EJ,zw],encapsulation:2,changeDetection:0});var Qjc=[[["onedev-hovercard-action"],["",8,"actions"]]],XJ=function(){};XJ.prototype.ngOnInit=function(){};XJ.\u0275fac=function(a){return new (a||XJ)};
XJ.\u0275cmp=Bc({type:XJ,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&&(tf(Qjc),Q(0,xBa,3,3,"onedev-person-hovercard",0))},dependencies:[WJ,yJ,zJ],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 YJ=function(){this.isNonObfuscatedEmail=bn};YJ.\u0275fac=function(a){return new (a||YJ)};
YJ.\u0275cmp=Bc({type:YJ,selectors:[["b-person-hovercard"]],inputs:{email:"email",triggerClass:"triggerClass"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],[3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(tf(),Q(0,zBa,6,4,"ng-container",0),Q(1,ABa,1,0,"ng-template",null,1,Vf));if(a&2){var c=yf(2);F("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",c)}},dependencies:[tw,
yw,xJ,CJ,XJ],encapsulation:2,changeDetection:0});var ZJ=function(a){this.window=a};ZJ.prototype.openInNewTab=function(a){a=Eg(a);Kpa(this.window,a,"_blank")};var En=function(a,b){b=Eg(b);Kpa(a.window,b)},Rjc=function(a,b){a=a.window.location;b=Eg(b);b=ena(b);void 0!==b&&(a.href=b)};ZJ.\u0275fac=function(a){return new (a||ZJ)(u(iE))};ZJ.\u0275prov=mc({token:ZJ,factory:ZJ.\u0275fac,providedIn:"root"});var $J=function(){this.onAction=new Vv;this.disabled=!1};$J.prototype.handleClick=function(){this.onAction.emit()};$J.\u0275fac=function(a){return new (a||$J)};
$J.\u0275cmp=Bc({type:$J,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&&(tf(),G(0,"button",0),M("click",function(){return b.handleClick()}),uf(1),H());a&2&&F("disabled",b.disabled)},dependencies:[Yz],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 aK=function(a,b,c){jE.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};U(aK,jE);aK.\u0275dir=jE.\u0275dir;
aK.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(Pe(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(Pe(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var BBa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Lm(Gn.PERSON_CARD,"assigneeAction",b);Oic(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},CBa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Lm(Gn.PERSON_CARD,"ccAction",b);Pic(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};aK.\u0275fac=function(a){return new (a||aK)(C(ZJ),C(kH,2),C(uJ,8))};
aK.\u0275cmp=Bc({type:aK,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Cf([kH]),Ye],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"disabled","onAction"]],template:function(a,b){a&1&&(G(0,"b-person-card",0),Q(1,DBa,9,8,"ng-container",1),S(2,"async"),G(3,"onedev-hovercard-action",2),M("click",function(c){Lm(Gn.PERSON_CARD,"showAssignedIssuesAction");var d=Vl({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
Rjc(b.domSafe,d)}),G(4,"span"),R(5,"Show assigned issues"),H()()());a&2&&(F("email",b.email),z(1),F("ngIf",b.actionService&&T(2,2,b.actionService.editAccess$)))},dependencies:[tw,$J,XJ,zw],encapsulation:2,changeDetection:0});var bK=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new E.ReplaySubject(1);this.showEmail$=new E.BehaviorSubject(!1);this.isNonObfuscatedEmail=bn;this.userProfile$=this.email$.pipe(Oe(function(d){return c.userProfiles.get(d)})).pipe(Ne(void 0));this.content$=(0,E.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(D(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,E.combineLatest)([this.email$,this.content$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=hE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};ch.Object.defineProperties(bK.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)}}});
bK.\u0275fac=function(a){return new (a||bK)(C(ds),C(gI))};
bK.\u0275cmp=Bc({type:bK,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&&(Q(0,IBa,4,2,"ng-container",
0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[tw,yw,rI,aK,xJ,CJ,zw],encapsulation:2,changeDetection:0});var LBa={"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 cK=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new E.ReplaySubject(1);this.isNonObfuscatedEmail=bn;this.userProfile$=this.email$.pipe(Oe(function(d){return d?c.userProfiles.get(d).pipe(Ne(void 0)):(0,E.of)(void 0)}));this.vars$=(0,E.combineLatest)([this.email$,this.userProfile$]).pipe(D(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}}))},PBa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==LBa[b]};ch.Object.defineProperties(cK.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){bn(a)?this.email$.next(a):this.email$.next(void 0)}}});cK.\u0275fac=function(a){return new (a||cK)(C(gI),C(ds))};
cK.\u0275cmp=Bc({type:cK,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&&(Q(0,RBa,4,2,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[tw,yw,aK,xJ,CJ,zw],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 dK=function(){this.onlyTitle=this.disableDismiss=!1;this.onDismiss=new Vv;this.STATUS_TERSE=SE;this.STATUS_FULL_TEXT=WE};dK.prototype.convertIssueStatusStrToTag=function(a){return gj[a]};dK.\u0275fac=function(a){return new (a||dK)};
dK.\u0275cmp=Bc({type:dK,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&&Q(0,dCa,8,7,"ng-container",0);a&2&&F("ngIf",b.issue)},dependencies:[tw,JA,cK,bK,dI,Yz,ZB,iJ],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 Sjc={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"}}},Tjc=Sjc;Tjc=Sjc;var Ujc={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 Vjc={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"},eK=Vjc;eK=Vjc;var fK=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_=eK.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)};
fK.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=Wjc(this,a,b);for(var c=b[0],d=-1,e=0,g=0,h=0,l=-1,q=a.length,x=!0;b[0]<q&&x;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("Xc`"+a);g++;0<=l&&0>d&&l++;break;case ",":0<l&&this.groupingArray_.push(l);l=0;break;case ".":if(0<=d)throw Error("Yc`"+a);d=e+g+h;break;case "E":if(this.useExponentialNotation_)throw Error("Zc`"+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("$c`"+a);x=!1;break;default:b[0]--,x=!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("ad`"+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_=Wjc(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=Wjc(this,a,b),b[0]+=c,
this.negativeSuffix_=Wjc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
fK.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(eK.DECIMAL_PATTERN);break;case 2:this.applyPattern_(eK.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(eK.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=eK.CURRENCY_PATTERN;var c=["0"],d=Ujc[eK.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:Xjc(this,1);break;case 6:Xjc(this,2);break;default:throw Error("Rc");
}};var Xjc=function(a,b){a.compactStyle_=b;a.applyPattern_(eK.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("Pc");a.significantDigits_=2};
fK.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("Sc");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(eK.INFINITY,b[0])==b[0]){b[0]+=eK.INFINITY.length;var e=Infinity}else{e=
a;var g=!1,h=!1,l=!1,q=-1,x=1,A=eK.DECIMAL_SEP,B=eK.GROUP_SEP,K=eK.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("Tc");B=B.replace(/\u202f/g,"\u00a0");for(var O="";b[0]<e.length;b[0]++){var P=e.charAt(b[0]),Y=Yjc(P);if(0<=Y&&9>=Y)O+=Y,l=!0;else if(P==A.charAt(0)){if(g||h)break;O+=".";g=!0}else if(P==B.charAt(0)&&("\u00a0"!=B.charAt(0)||b[0]+1<e.length&&0<=Yjc(e.charAt(b[0]+1)))){if(g||h)break}else if(P==K.charAt(0)){if(h)break;O+="E";h=!0;q=b[0]}else if("+"==P||"-"==P){if(l&&q!=b[0]-1)break;O+=
P}else if(1==this.multiplier_&&P==eK.PERCENT.charAt(0)){if(1!=x)break;x=100;if(l){b[0]++;break}}else if(1==this.multiplier_&&P==eK.PERMILL.charAt(0)){if(1!=x)break;x=1E3;if(l){b[0]++;break}}else break}1!=this.multiplier_&&(x=this.multiplier_);e=parseFloat(O)/x}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};
fK.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Uc");if(isNaN(a))return eK.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=Zjc;else{c=Math.abs(c);var d=$jc(this,1>=c?0:akc(c)).divisorBase;c=$jc(this,d+akc(bkc(this,gK(c,-d)).intValue))}a=gK(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)ckc(this,e,this.minimumIntegerDigits_,b),dkc(this,0,b);else{var g=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=gK(e,-g);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=g%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=gK(e,h),g-=h,h=1):1>this.minimumIntegerDigits_?(g++,e=gK(e,-1)):(g-=this.minimumIntegerDigits_-1,e=gK(e,this.minimumIntegerDigits_-
1));ckc(this,e,h,b);dkc(this,g,b)}}else ckc(this,a,this.minimumIntegerDigits_,b);else b.push(eK.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 bkc=function(a,b){var c=gK(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=ekc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(gK(c,-a.maximumFractionDigits_)),a=Math.floor(c-gK(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},ckc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Uc");d||(d=[]);b=bkc(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(gK(q,-1));l=q+l;var x=eK.DECIMAL_SEP;q=eK.ZERO_DIGIT.charCodeAt(0);var A=l.length,B=0;if(0<e||0<c){for(e=A;e<c;e++)d.push(String.fromCharCode(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)B+=a.groupingArray_[c];c=A-B;if(0<c){e=a.groupingArray_;B=A=0;for(var K,O=eK.GROUP_SEP,P=l.length,Y=0;Y<P;Y++)if(d.push(String.fromCharCode(q+Number(l.charAt(Y)))),1<P-Y)if(K=e[B],Y<c){var X=c-Y;(1===K||0<K&&1===
X%K)&&d.push(O)}else B<e.length&&(Y===c?B+=1:K===Y-c-A+1&&(d.push(O),A+=K,B+=1))}else{c=l;l=a.groupingArray_;e=eK.GROUP_SEP;K=c.length;O=[];for(A=l.length-1;0<=A&&0<K;A--){B=l[A];for(P=0;P<B&&0<=K-P-1;P++)O.push(String.fromCharCode(q+Number(c.charAt(K-P-1))));K-=B;0<K&&O.push(e)}d.push.apply(d,O.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(x);g=String(g);h=g.split("e+");2==h.length&&(g=String(ekc(parseFloat(h[0]),a.significantDigits_,1)),g=g.replace(".",
""),g+=uQb("0",parseInt(h[1],10)-g.length+1));a.maximumFractionDigits_+1>g.length&&(g="1"+uQb("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))))},dkc=function(a,b,c){c.push(eK.EXP_SYMBOL);0>b?(b=-b,c.push(eK.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(eK.PLUS_SIGN);b=""+b;for(var d=eK.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},Yjc=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=eK.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},Wjc=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+=eK.DEF_CURRENCY_CODE):(h=eK.DEF_CURRENCY_CODE,d+=h in Ujc?Ujc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("Vc");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("Wc");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=eK.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("Vc");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("Wc");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=eK.PERMILL;break;default:d+=h}}return d},Zjc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
$jc=function(a,b){a=1==a.compactStyle_?Tjc.COMPACT_DECIMAL_SHORT_PATTERN:Tjc.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=Tjc.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return Zjc;b=Math.min(14,b);var c=a[gK(1,b)];for(--b;!c&&3<=b;)c=a[gK(1,b)],b--;if(!c)return Zjc;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]}:Zjc:Zjc},akc=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},gK=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))},fkc=function(a,b){return a&&isFinite(a)?gK(Math.round(gK(a,b)),-b):a},ekc=function(a,b,c){if(!a)return a;b=b-akc(a)-1;return b<-c?fkc(a,-c):fkc(a,b)};var gkc=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"},hkc=gkc;hkc=gkc;var ikc=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"},jkc=ikc;jkc=ikc;var nkc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=eK;var b=Tjc;if(kkc!==a||lkc!==b)kkc=a,lkc=b,mkc=new fK(1);this.numberFormatter_=mkc},kkc=null,lkc=null,mkc=null,okc=RegExp("'([{}#].*?)'","g"),pkc=RegExp("''","g");nkc.prototype.format=function(a){return this.format_(a,!1)};
nkc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=qkc(this,this.pattern_);this.parsedPattern_=rkc(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=ta(this.initialLiterals_);c=[];skc(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 skc=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,x=c[h];void 0===x?q.push("Undefined parameter - "+h):(l.literals_.push(x),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[g].value;l=a;q=c;x=d;var A=e,B=h.argumentIndex;void 0===q[B]?A.push("Undefined parameter - "+B):(B=h[q[B]],void 0===B&&(B=h.other),skc(l,B,q,x,A));break;case 0:h=b[g].value;tkc(a,h,c,jkc,d,e);break;case 1:h=b[g].value,tkc(a,h,c,hkc,
d,e)}},tkc=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=[],skc(a,h,c,e,b),c=b.join(""),e?g.push(c):(a=a.numberFormatter_.format(l),g.push(c.replace(/#/g,a))))},qkc=function(a,b){var c=a.initialLiterals_,d=ps(a.buildPlaceholder_,a);b=b.replace(pkc,function(){c.push("'");return d(c)});return b=b.replace(okc,function(e,g){c.push(g);return d(c)})},
ukc=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},vkc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,wkc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,xkc=/^\s*(\w+)\s*,\s*select\s*,/,rkc=function(a,b){var c=[];b=ukc(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(vkc.test(g)?0:wkc.test(g)?1:xkc.test(g)?2:/^\s*\w+\s*/.test(g)?3:5){case 2:e.type=2;e.value=ykc(a,b[d].value);break;case 0:e.type=0;e.value=zkc(a,b[d].value);break;case 1:e.type=1;e.value=Akc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},ykc=function(a,b){var c="";b=b.replace(xkc,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=ukc(b);for(var e=0;e<
b.length;){var g=b[e].value;e++;var h;1==b[e].type&&(h=rkc(a,b[e].value));d[g.replace(/\s/g,"")]=h;e++}return d},zkc=function(a,b){var c="",d=0;b=b.replace(vkc,function(q,x,A){c=x;A&&(d=parseInt(A,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=ukc(b);for(var g=0;g<b.length;){var h=b[g].value;g++;var l;1==b[g].type&&(l=rkc(a,b[g].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;g++}return e},Akc=function(a,b){var c="";b=b.replace(wkc,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=ukc(b);for(var e=0;e<b.length;){var g=b[e].value;e++;if(1==b[e].type)var h=rkc(a,b[e].value);d[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};nkc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var Ckc=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=uZb(b),g=uZb(c),h=uZb(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=Bkc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=Bkc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,g);d=Bkc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},Bkc=function(a,b,c){return(new nkc(a)).format({COUNT:b,TEXT:c})};var hK=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new LG(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(D(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(D(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(Oe(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,E.of)(void 0)}))};
hK.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new EA(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};hK.prototype.formatUserCalendar=function(a){var b=this;return(0,E.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
hK.prototype.formatUserTime=function(a){var b=this;return(0,E.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var Dkc=function(a,b){return(0,E.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(D(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)}))},Ekc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(D(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,E.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},RKa=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new Hh;c&&d.setTime(c);c=new Hh;
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 DA("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new DA(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"};hK.\u0275fac=function(a){return new (a||hK)(u(BI),u(zI))};hK.\u0275prov=mc({token:hK,factory:hK.\u0275fac,providedIn:"root"});var Fkc=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]];var Gkc,Hkc,Ikc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],Jkc=Symbol("bd"),Kkc=Symbol("bd"),iK=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new E.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(D(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(D(function(c){if(void 0!==c)return new Date(c)}));this[Gkc]=this.timestampDate$.pipe(Oe(function(c){if(void 0===c)return(0,E.of)("");
switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return Dkc(b.dateFormatter,c);case "relativepast":c=c.getTime()/1E3;a:{var d=(new Date).getTime()/1E3;c=Math.floor(d-c);if(300>c)c="just now";else{d=k(Fkc);for(var 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,E.of)(c);
default:return nh(b.mode)}}));this[Hkc]=this.timestampDate$.pipe(Oe(function(c){return void 0===c?(0,E.of)(""):(0,E.combineLatest)(Ikc.map(function(d){return Ekc(b.dateFormatter,c,d.id).pipe(D(function(e){return{formatted:e,tzName:d.name}}))})).pipe(Lkc)}));this.vars$=(0,E.combineLatest)([this[Jkc],this[Kkc]]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};iK.prototype.ngOnInit=function(){};
ch.Object.defineProperties(iK.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 yh?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())}}});Gkc=Jkc;Hkc=Kkc;iK.\u0275fac=function(a){return new (a||iK)(C(hK))};
iK.\u0275cmp=Bc({type:iK,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&&(Q(0,eCa,4,8,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[tw,zw],encapsulation:2,changeDetection:0});
var Lkc=(0,E.pipe)(D(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 jK=function(){};jK.\u0275fac=function(a){return new (a||jK)};jK.\u0275cmp=Bc({type:jK,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&&(tf(),Q(0,fCa,1,0,"div",0),Q(1,gCa,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),z(1),F("ngIf",b.isReady))},dependencies:[tw],encapsulation:2});var kK=function(){this.issue=null;this.isDataLoaded=!1};kK.prototype.ngOnChanges=function(){var a;this.assignee=gn(ci(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};kK.\u0275fac=function(a){return new (a||kK)};
kK.\u0275cmp=Bc({type:kK,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[Uc],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,hCa,2,2,"b-person-hovercard",1),Q(2,iCa,1,0,"ng-template",null,2,Vf),H());if(a&2){var c=yf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[jK,tw,YJ],encapsulation:2,changeDetection:0});var lK=function(){this.mode="datetime";this.isDataLoaded=!1};lK.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};lK.\u0275fac=function(a){return new (a||lK)};
lK.\u0275cmp=Bc({type:lK,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[Uc],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&&(G(0,"b-async-data-placeholder",0),Q(1,jCa,1,2,"b-formatted-date-time",1),H(),Q(2,kCa,1,0,"ng-template",null,2,Vf));if(a&2){var c=yf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.createdTime)("ngIfElse",c)}},dependencies:[jK,tw,
iK],encapsulation:2,changeDetection:0});var mK=function(){this.issue=null;this.isDataLoaded=!1};mK.prototype.ngOnChanges=function(){var a;this.reporter=gn(ci(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};mK.\u0275fac=function(a){return new (a||mK)};
mK.\u0275cmp=Bc({type:mK,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[Uc],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,lCa,2,2,"b-person-hovercard",1),Q(2,mCa,1,0,"ng-template",null,2,Vf),H());if(a&2){var c=yf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[jK,tw,YJ],encapsulation:2,changeDetection:0});var nK=function(){this.STATUS_FULL_TEXT=WE;this.STATUS_TERSE=SE;this.issue=null;this.isDataLoaded=!1};nK.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};nK.prototype.convertIssueStatusStrToTag=function(a){return gj[a]};nK.\u0275fac=function(a){return new (a||nK)};
nK.\u0275cmp=Bc({type:nK,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[Uc],decls:4,vars:3,consts:[[3,"isReady"],[3,"class","title",4,"ngIf","ngIfElse"],["noData",""],[3,"title"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,nCa,2,5,"div",1),Q(2,oCa,1,0,"ng-template",null,2,Vf),H());if(a&2){var c=yf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.convertIssueStatusStrToTag(b.status))("ngIfElse",c)}},dependencies:[jK,tw],encapsulation:2,changeDetection:0});var Mkc=0,oK=function(a,b){jE.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new Vv;this.linkBlurred=new Vv;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new E.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Mkc;this.fetchedTeam$=this.providedTeamId$.pipe(Be(),ue(function(d){return"0"!==d}),Oe(function(d){return IH(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(D(function(){return!0}),
Ne(!1));this.fetchedTeam$.pipe(Pe(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});Mkc++};U(oK,jE);oK.\u0275dir=jE.\u0275dir;f=oK.prototype;f.ngOnInit=function(){};f.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};f.trackClick=function(a){Lm(Gn.TEAM_CARD,"click",a,1)};f.manageComponentLink=function(){return ewa(this.componentId,"basic")};
f.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};oK.\u0275fac=function(a){return new (a||oK)(C(ds),C(HH))};
oK.\u0275cmp=Bc({type:oK,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[Ye,Uc],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&&(G(0,"div",0)(1,"div",1)(2,"div",2),I(3,"img",3),G(4,"div",4)(5,"div",5),I(6,"mat-icon",6),R(7),H(),G(8,"div",7),R(9),H()()(),G(10,"p",8),R(11),H(),G(12,"div",9)(13,"a",10),M("click",function(){return b.trackClick("viewTeamSettingsPage")}),G(14,"button",11),R(15,"View team settings"),H()(),G(16,"a",12),M("click",function(){return b.trackClick("viewTeamInMoma")}),G(17,"button",11),R(18,"View team in Moma "),I(19,"mat-icon",13),H()(),Q(20,pCa,3,1,"a",14),
H()()());a&2&&(z(3),bf("src",b.teamLogoUrl,Id),z(4),zf(" Team: ",b.teamName," "),z(2),zf("Team ID: ",b.teamId,""),z(2),Af(b.teamDescription),z(2),vf("routerLink","/teams/",b.teamId,"/edit"),z(3),vf("href","https://moma.corp.google.com/team/",b.teamId,"",Id),z(4),F("ngIf",b.componentId))},dependencies:[tw,JA,xG,Yz],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 Nkc=0,pK=function(a){jE.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new E.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Nkc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Be(),ue(function(c){return"0"!==c}),Oe(function(c){return IH(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(D(function(){return!0}),Ne(!1));this.fetchedTeam$.pipe(Pe(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});Nkc++};U(pK,jE);pK.\u0275dir=jE.\u0275dir;pK.prototype.ngOnInit=function(){};pK.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};pK.prototype.trackClick=function(a){Lm(Gn.TEAM_CARD,"click",a,1)};pK.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};pK.\u0275fac=function(a){return new (a||pK)(C(HH))};
pK.\u0275cmp=Bc({type:pK,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[Ye,Uc],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&&(Q(0,sCa,3,2,"ng-container",0),S(1,"async"),G(2,"onedev-hovercard",null,1),J(4),I(5,"b-team-card",2),L(),H(),Q(6,vCa,2,2,"ng-template",null,3,Vf));if(a&2){var c=yf(7);F("ngIf","0"!=b.teamId&&T(1,4,b.isTeamFetched$))("ngIfElse",c);z(5);F("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[tw,JA,xJ,CJ,oK,zw]});var qK=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};qK.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};qK.\u0275fac=function(a){return new (a||qK)};
qK.\u0275cmp=Bc({type:qK,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[Uc],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&&(G(0,"b-async-data-placeholder",0),Q(1,wCa,1,3,"b-team-display",1),Q(2,xCa,1,0,"ng-template",null,2,Vf),H());if(a&2){var c=yf(3);F("isReady",b.isDataLoaded);
z(1);F("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[jK,tw,pK],encapsulation:2,changeDetection:0});var Okc=hs(["https://www.gstatic.com/buganizer/gfx/","/",""]),rK=hs(["https://www.gstatic.com/buganizer/img/v2/",""]),Pkc=Bg(Okc,"2023-06-01-5f958f26","all-icons.svg"),Qkc=Bg(rK,"empty_blocker_light.png"),Rkc=Bg(rK,"empty_blocker_dark.png"),Skc=Bg(rK,"empty_child_light.png"),Tkc=Bg(rK,"empty_child_dark.png"),Ukc=Bg(rK,"robot_sleeping.png"),Vkc=Bg(rK,"tea_light.png"),Wkc=Bg(rK,"tea_dark.png"),Xkc=Bg(rK,"space_empty_state.png");var sK=function(a,b,c,d){jE.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=hE(this.activeSession,"enableTrackersComponentPathTruncation");this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(Oe(function(g){return""===g?(0,E.of)(void 0):e.trackerFridge.watch(g).pipe(Ne(void 0))}));this.inTracker$=
this.tracker$.pipe(D(function(g){return!!g}));this.inTracker=!1;this.associatedTrackers$=this.tracker$.pipe(D(function(g){var h;return null!=(h=null==g?void 0:g.associatedTrackerIds)?h:[]}),Oe(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(Re(this.tracker$),D(function(g){var h=k(g);g=h.next().value;return(h=h.next().value)?[h].concat(Pc(g)):[]}));this.trackerFridge.error$.pipe(Pe(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(Pe(this.destroyed$)).subscribe(function(g){e.tracker=
g});this.inTracker$.pipe(Pe(this.destroyed$)).subscribe(function(g){e.inTracker=g})};U(sK,jE);sK.\u0275dir=jE.\u0275dir;sK.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var Ykc=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};sK.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var tK=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:Zkc(a,b,!0,c.trackerId,d)):a=Zkc(a,b,!1,"",d);return a},Zkc=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},Ir=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)}};sK.\u0275fac=function(a){return new (a||sK)(u(kE),u(ds),u(QH),u(OF))};sK.\u0275prov=mc({token:sK,factory:sK.\u0275fac,providedIn:"root"});var uK=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=""};
uK.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=tK(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}};uK.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:""};uK.\u0275fac=function(a){return new (a||uK)(C(ds),C(sK))};
uK.\u0275cmp=Bc({type:uK,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[Uc],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&&Q(0,ACa,17,12,"ng-container",0);a&2&&F("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[tw,xJ,CJ,Zz],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 vK=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(oe(function(d){return Kl(d)?(0,E.of)(void 0):c.trackerFridge.watch(d)}));this.isCurrentTracker$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return Kl(d)?Kl(e):d===e}))};
vK.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};ch.Object.defineProperties(vK.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return Kl(this.trackerId)}}});vK.\u0275fac=function(a){return new (a||vK)(C(sK),C(QH))};
vK.\u0275cmp=Bc({type:vK,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[Uc],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(Q(0,BCa,2,6,"b-tracker-chip",0),S(1,"async"));a&2&&F("ngIf",!1===T(1,1,b.isCurrentTracker$))},dependencies:[tw,uK,zw],encapsulation:2,changeDetection:0});var wK=function(){this.issue=null;this.useButtonToNavigate=!1;this.anchorTarget=void 0;this.title="";this.isDataLoaded=!1;this.link=""};wK.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:"")};wK.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Sl(a)};
wK.\u0275fac=function(a){return new (a||wK)};
wK.\u0275cmp=Bc({type:wK,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget"},features:[Uc],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&&(G(0,"b-async-data-placeholder",0),I(1,"b-tracker-chip-smart",1),Q(2,CCa,5,3,"ng-container",2),Q(3,DCa,2,3,"ng-template",null,3,Vf),H());if(a&2){var c=yf(4);F("isReady",b.isDataLoaded);z(1);F("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);z(1);F("ngIf",b.useButtonToNavigate)("ngIfElse",
c)}},dependencies:[jK,tw,JA,Zz,xG,vK],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 xK=function(){this.type=this.issue=null;this.isDataLoaded=!1};xK.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};xK.\u0275fac=function(a){return new (a||xK)};
xK.\u0275cmp=Bc({type:xK,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[Uc],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,ECa,3,3,"ng-container",1),Q(2,FCa,1,0,"ng-template",null,2,Vf),H());if(a&2){var c=yf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.type)("ngIfElse",c)}},dependencies:[jK,tw,iJ],encapsulation:2,changeDetection:0});var $kc=["actionsMenuIconButton"],yK=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};yK.prototype.trackByIndex=function(a){return a};yK.prototype.onAction=function(a,b){return de(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);ie(c)})};yK.prototype.ngOnInit=function(){};yK.\u0275fac=function(a){return new (a||yK)};
yK.\u0275cmp=Bc({type:yK,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&Qf($kc,5);if(a&2){var c;Pf(c=Sf())&&(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&&(Q(0,GCa,3,4,"button",0),G(1,"mat-menu",null,1)(3,"div",2),Q(4,HCa,2,1,"div",3),Q(5,VCa,3,2,"ng-container",4),H()());a&2&&(F("ngIf",0<b.menuItems.length),z(4),F("ngIf",b.header),z(1),F("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[RB,
PB,QB,rw,sw,tw,JA,Yz,ZB],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 zK=function(){};zK.prototype.onClick=function(a,b){alc(b)&&a.preventDefault()};var alc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};zK.\u0275fac=function(a){return new (a||zK)};zK.\u0275dir=Gc({type:zK,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c,c.target)})}});var blc=new Nc("CDK_DRAG_PARENT");var clc=new Nc("CdkDragHandle"),AK=function(a,b){this.element=a;this._stateChanges=new E.Subject;this._disabled=!1;this._parentDrag=b};AK.prototype.ngOnDestroy=function(){this._stateChanges.complete()};ch.Object.defineProperties(AK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=tg(a);this._stateChanges.next(this)}}});AK.\u0275fac=function(a){return new (a||AK)(C(rd),C(blc,12))};
AK.\u0275dir=Gc({type:AK,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[Cf([{provide:clc,useExisting:AK}])]});var dlc=new Nc("CdkDragPlaceholder");var elc=new Nc("CdkDragPreview"),BK=function(a){this.templateRef=a;this._matchSize=!1};ch.Object.defineProperties(BK.prototype,{matchSize:{configurable:!0,enumerable:!0,get:function(){return this._matchSize},set:function(a){this._matchSize=tg(a)}}});BK.\u0275fac=function(a){return new (a||BK)(C(Mf))};BK.\u0275dir=Gc({type:BK,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[Cf([{provide:elc,useExisting:BK}])]});var flc=new Nc("CDK_DRAG_CONFIG");var glc=og({passive:!1,capture:!0}),CK=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 E.Subject;this.pointerUp=new E.Subject;this.scroll=new E.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},hlc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},ilc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,glc)})},klc=function(a,b){a._dragInstances.delete(b);jlc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
glc)};
CK.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:glc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:glc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var jlc=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};CK.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
CK.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new E.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 E.merge.apply(null,Pc(c))};
CK.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return klc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};CK.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};CK.\u0275fac=function(a){return new (a||CK)(u(Se),u(ah))};
CK.\u0275prov=mc({token:CK,factory:CK.\u0275fac,providedIn:"root"});var cDa=0;var llc=function(a){this._document=a;this.positions=new Map};llc.prototype.clear=function(){this.positions.clear()};llc.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:WCa(c)})})};
var mlc=function(a,b){var c=rg(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)&&kn(l.clientRect,g,h)});b.top=e;b.left=d;return{top:g,left:h}};llc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var nlc=og({passive:!0}),olc=og({passive:!1}),eDa=new Set(["position"]),rlc=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 E.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=E.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 E.Subject;this.started=new E.Subject;this.released=new E.Subject;this.ended=new E.Subject;this.entered=new E.Subject;this.exited=new E.Subject;this.dropped=new E.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 x=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(x);if(h._dropContainer)h._updateActiveDropContainer(x,q);else{q=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var A=h._activeTransform;A.x=x.x-q.x+h._passiveTransform.x;A.y=x.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(A.x,A.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:x,event:l,distance:h._getDragDistance(x),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),A=h._dropContainer,q)?A&&(A.isDragging()||0<A._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()};plc(qlc(this,a),b.parentDragRef||null);this._parentPositions=new llc(c);ilc(g,this)};rlc.prototype.getPlaceholderElement=function(){return this._placeholder};
rlc.prototype.getRootElement=function(){return this._rootElement};
var slc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},tlc=function(a,b){a._handles=b.map(function(d){return vg(d)});a._handles.forEach(function(d){return ln(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},qlc=function(a,b){var c=vg(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,olc);c.addEventListener("touchstart",a._pointerDown,nlc);c.addEventListener("dragstart",a._nativeDragStart,olc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},ulc=function(a,b){a._boundaryElement=b?vg(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},plc=function(a,b){a._parentDragRef=b};f=rlc.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();klc(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(),jlc(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();
jlc(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();jlc(this._dragDropRegistry,this)}};
f._startDragSequence=function(a){mn(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();fDa(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=mn(b),g=!e&&0!==b.button,h=this._rootElement,l=rg(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?Lma(b):Kma(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(x){return c._updateOnScroll(x)}),this._boundaryElement&&(this._boundaryRect=WCa(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;fDa(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=lDa(c,this._document);this._previewRef=c;a.matchSize?mDa(e,d):e.style.transform=kDa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=bDa(this._rootElement),mDa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
dDa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},eDa);ln(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=jDa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||rg(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=lDa(this._placeholderRef,this._document)):a=bDa(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=mn(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=mn(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,ln(this._rootElement,a))}};f._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,olc);a.removeEventListener("touchstart",this._pointerDown,nlc);a.removeEventListener("dragstart",this._nativeDragStart,olc)};
f._applyRootElementTransform=function(a,b){a=kDa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=gDa(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=gDa(kDa(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:mn(a)?b.touch:b?b.mouse:0};
f._updateOnScroll=function(a){var b=mlc(this._parentPositions,a);b&&(a=rg(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&kn(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=Fma(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):vg(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))})};ch.Object.defineProperties(rlc.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){var b=tg(a);b!==this._disabled&&(this._disabled=b,this._toggleNativeDragInteractions(),this._handles.forEach(function(c){return ln(c,b)}))}}});var DK=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};DK.prototype.start=function(a){this.withItems(a)};
DK.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(P){return P.drag===a}),q=e[g],x=q.clientRect,A=l>g?1:-1,B=this._getItemOffsetPx(e[l].clientRect,x,A),K=this._getSiblingOffsetPx(l,e,A),O=e.slice();nn(e,l,g);e.forEach(function(P,Y){if(O[Y]!==P){var X=P.drag===a;Y=X?B:K;X=X?a.getPlaceholderElement():P.drag.getRootElement();P.offset+=Y;h?(X.style.transform=
gDa("translate3d("+Math.round(P.offset)+"px, 0, 0)",P.initialTransform),kn(P.clientRect,0,Y)):(X.style.transform=gDa("translate3d(0, "+Math.round(P.offset)+"px, 0)",P.initialTransform),kn(P.clientRect,Y,0))}});this._previousSwap.overlaps=XCa(x,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:g}};
DK.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)):(vg(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
DK.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var vlc=function(a,b){a._sortPredicate=b};
DK.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};
DK.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 wlc=function(a,b,c){a._itemPositions.forEach(function(d){kn(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};f=DK.prototype;
f._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=slc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:WCa(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 x=g?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&x===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 ylc=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 E.Subject;this.entered=new E.Subject;this.exited=new E.Subject;this.dropped=new E.Subject;this.sorted=new E.Subject;this.receivingStarted=new E.Subject;this.receivingStopped=new E.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=E.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new E.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){g._stopScrolling();(0,E.interval)(0,E.animationFrameScheduler).pipe(Pe(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=vg(a);this._document=c;xlc(this,[this.element]);hlc(b,this);this._parentPositions=new llc(c);this._sortStrategy=new DK(this.element,b);vlc(this._sortStrategy,function(h,l){return g.sortPredicate(h,l,g)})};f=ylc.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 zlc=function(a,b){a._sortStrategy.orientation=b},xlc=function(a,b){var c=vg(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(Pc(b)):b.slice()};f=ylc.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&&YCa(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,x){if(x!==c._document&&q.clientRect&&!l&&YCa(q.clientRect,a,b)){var A=q.clientRect;q=nDa(A,b);A=oDa(A,a);var B=0,K=0;if(q){var O=x.scrollTop;1===q?0<O&&(B=1):x.scrollHeight-O>x.clientHeight&&(B=2)}A&&(q=x.scrollLeft,1===A?0<q&&(K=1):x.scrollWidth-q>x.clientWidth&&(K=2));q=k([B,K]);d=q.next().value;e=q.next().value;if(d||e)l=x}});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=nDa(h,b);e=oDa(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=vg(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=vg(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=vg(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&&XCa(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||!XCa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=vg(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=mlc(a._parentPositions,b))&&wlc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};f._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Fma(vg(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 Alc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},EK=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};EK.prototype.createDrag=function(a,b){b=void 0===b?Alc:b;return new rlc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};EK.\u0275fac=function(a){return new (a||EK)(u(ah),u(Se),u(az),u(CK))};EK.\u0275prov=mc({token:EK,factory:EK.\u0275fac,providedIn:"root"});var Blc=new Nc("CdkDropList"),FK=function(a,b,c,d,e,g,h,l,q,x,A){var B=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=x;this._parentDrag=A;this._destroyed=new E.Subject;this.started=new Vv;this.released=new Vv;this.ended=new Vv;this.entered=new Vv;this.exited=new Vv;this.dropped=new Vv;this.moved=new E.Observable(function(K){var O=B._dragRef.moved.pipe(D(function(P){return{source:B,pointerPosition:P.pointerPosition,
event:P.event,delta:P.delta,distance:P.distance}})).subscribe(K);return function(){O.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;Clc.push(this);g&&this._assignDefaults(g);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);
this._handleEvents(this._dragRef)};f=FK.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(Ce(),Pe(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=Clc.indexOf(this);-1<b&&Clc.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)}qlc(this._dragRef,b||a)};
f._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):vg(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:wg(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=ulc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=g;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Ce()).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;plc(a,(null==(d=Clc.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(Ne(this._handles),Qe(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);tlc(a._dragRef,b)}),Oe(function(b){return E.merge.apply(null,Pc(b.map(function(c){return c._stateChanges.pipe(Ne(c))})))}),Pe(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),ln(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),ln(d,c.disabled))})};ch.Object.defineProperties(FK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=tg(a);this._dragRef.disabled=this._disabled}}});var Clc=[];FK.\u0275fac=function(a){return new (a||FK)(C(rd),C(Blc,12),C(ah),C(Se),C(Nf),C(flc,8),C(Ry,8),C(EK),C(mw),C(clc,10),C(blc,12))};
FK.\u0275dir=Gc({type:FK,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(Rf(c,elc,5),Rf(c,dlc,5),Rf(c,clc,5));if(a&2){var d;Pf(d=Sf())&&(b._previewTemplate=d.first);Pf(d=Sf())&&(b._placeholderTemplate=d.first);Pf(d=Sf())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&mf("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:[Cf([{provide:blc,useExisting:FK}]),Uc]});var Dlc=new Nc("CdkDropListGroup"),GK=function(){this._items=new Set;this._disabled=!1};GK.prototype.ngOnDestroy=function(){this._items.clear()};ch.Object.defineProperties(GK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=tg(a)}}});GK.\u0275fac=function(a){return new (a||GK)};
GK.\u0275dir=Gc({type:GK,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Cf([{provide:Dlc,useExisting:GK}])]});var Elc=0,HK=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 E.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+Elc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new Vv;this.entered=new Vv;this.exited=new Vv;this.sorted=new Vv;this._unsortedItems=new Set;this._dropListRef=new ylc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,x){return l.enterPredicate(q.data,x.data)};this._dropListRef.sortPredicate=function(q,x,A){return l.sortPredicate(q,x.data,A.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Flc.push(this);g&&g._items.add(this)};HK.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
HK.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Glc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return slc(b._dragRef).compareDocumentPosition(slc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};f=HK.prototype;
f.ngOnDestroy=function(){var a=Flc.indexOf(this);-1<a&&Flc.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(Ne(this._dir.value),Pe(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=sg(b.connectedTo).map(function(e){return"string"===typeof e?Flc.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=dXb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
xlc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=tg(b.sortingDisabled);a.autoScrollDisabled=tg(b.autoScrollDisabled);a.autoScrollStep=wg(b.autoScrollStep,2);zlc(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,E.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(Glc(this).map(function(a){return a._dragRef}))};
ch.Object.defineProperties(HK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=tg(a)}}});var Flc=[];HK.\u0275fac=function(a){return new (a||HK)(C(rd),C(EK),C(mw),C(Xy),C(Ry,8),C(Dlc,12),C(flc,8))};
HK.\u0275dir=Gc({type:HK,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(bf("id",b.id),mf("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:[Cf([{provide:Dlc,useValue:void 0},{provide:Blc,useExisting:HK}])]});var IK=function(){};IK.\u0275fac=function(a){return new (a||IK)};IK.\u0275mod=Dc({type:IK});IK.\u0275inj=nc({providers:[EK],imports:[dz]});var JK=new Nc("CDK_TABLE");new Nc("text-column-options");var KK=function(a){this.template=a};KK.\u0275fac=function(a){return new (a||KK)(C(Mf))};KK.\u0275dir=Gc({type:KK,selectors:[["","cdkCellDef",""]]});var LK=function(a){this.template=a};LK.\u0275fac=function(a){return new (a||LK)(C(Mf))};LK.\u0275dir=Gc({type:LK,selectors:[["","cdkHeaderCellDef",""]]});var Hlc=function(a){this.template=a};Hlc.\u0275fac=function(a){return new (a||Hlc)(C(Mf))};Hlc.\u0275dir=Gc({type:Hlc,selectors:[["","cdkFooterCellDef",""]]});
var Ilc=pDa(function(){}),MK=function(a){var b=Ilc.call(this)||this;b._table=a;b._stickyEnd=!1;return b};U(MK,Ilc);MK.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};MK.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
ch.Object.defineProperties(MK.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=tg(a);this._hasStickyChanged=b!==this._stickyEnd}}});MK.\u0275fac=function(a){return new (a||MK)(C(JK,8))};
MK.\u0275dir=Gc({type:MK,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(Rf(c,KK,5),Rf(c,LK,5),Rf(c,Hlc,5));if(a&2){var d;Pf(d=Sf())&&(b.cell=d.first);Pf(d=Sf())&&(b.headerCell=d.first);Pf(d=Sf())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Cf([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:MK}]),Ye]});
var Jlc=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,Pc(a._columnCssClassName))},NK=function(a,b){Jlc.call(this,a,b)};U(NK,Jlc);NK.\u0275fac=function(a){return new (a||NK)(C(MK),C(rd))};NK.\u0275dir=Gc({type:NK,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ye]});
var OK=function(a,b){Jlc.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"))};U(OK,Jlc);OK.\u0275fac=function(a){return new (a||OK)(C(MK),C(rd))};OK.\u0275dir=Gc({type:OK,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ye]});var Klc=function(){this.tasks=[];this.endTasks=[]},Llc=new Nc("_COALESCED_STYLE_SCHEDULER"),PK=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new E.Subject};PK.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};PK.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
PK.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new Klc,this._getScheduleObservable().pipe(Pe(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new Klc;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}))};
PK.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,E.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ce())};PK.\u0275fac=function(a){return new (a||PK)(u(Se))};PK.\u0275prov=mc({token:PK,factory:PK.\u0275fac});var QK=function(a,b){this.template=a;this._differs=b};QK.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};QK.\u0275fac=function(a){return new (a||QK)(C(Mf),C(pw))};QK.\u0275dir=Gc({type:QK,features:[Uc]});var Mlc=function(){QK.apply(this,arguments)};U(Mlc,QK);Mlc.\u0275dir=QK.\u0275dir;Mlc.\u0275fac=QK.\u0275fac;
var Nlc=pDa(Mlc),RK=function(a,b,c){a=Nlc.call(this,a,b)||this;a._table=c;return a};U(RK,Nlc);RK.prototype.ngOnChanges=function(a){Nlc.prototype.ngOnChanges.call(this,a)};RK.\u0275fac=function(a){return new (a||RK)(C(Mf),C(pw),C(JK,8))};RK.\u0275dir=Gc({type:RK,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Ye,Uc]});var Olc=function(){QK.apply(this,arguments)};U(Olc,QK);Olc.\u0275dir=QK.\u0275dir;
Olc.\u0275fac=QK.\u0275fac;var Plc=pDa(Olc),SK=function(a,b,c){a=Plc.call(this,a,b)||this;a._table=c;return a};U(SK,Plc);SK.prototype.ngOnChanges=function(a){Plc.prototype.ngOnChanges.call(this,a)};SK.\u0275fac=function(a){return new (a||SK)(C(Mf),C(pw),C(JK,8))};SK.\u0275dir=Gc({type:SK,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Ye,Uc]});var TK=function(a,b,c){QK.call(this,a,b);this._table=c};U(TK,QK);
TK.\u0275fac=function(a){return new (a||TK)(C(Mf),C(pw),C(JK,8))};TK.\u0275dir=Gc({type:TK,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Ye]});var UK=function(a){this._viewContainer=a;Qlc=this};UK.prototype.ngOnDestroy=function(){Qlc===this&&(Qlc=null)};var Qlc=null;UK.\u0275fac=function(a){return new (a||UK)(C(Nf))};UK.\u0275dir=Gc({type:UK,selectors:[["","cdkCellOutlet",""]]});var VK=function(){};
VK.\u0275fac=function(a){return new (a||VK)};VK.\u0275cmp=Bc({type:VK,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&&rf(0,0)},dependencies:[UK],encapsulation:2});var WK=function(){};WK.\u0275fac=function(a){return new (a||WK)};
WK.\u0275cmp=Bc({type:WK,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&rf(0,0)},dependencies:[UK],encapsulation:2});var Rlc=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};Rlc.\u0275fac=function(a){return new (a||Rlc)(C(Mf))};Rlc.\u0275dir=Gc({type:Rlc,selectors:[["ng-template","cdkNoDataRow",""]]});var Slc=new Nc("CDK_SPL");var Tlc=["top","bottom","left","right"],Ulc=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"}},Vlc=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)})},Wlc=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(K){return K})||d.some(function(K){return K}))){var g=b[0],h=g.children.length,l=a._getCellWidths(g,e),q=a._getStickyStartColumnPositions(l,c),x=a._getStickyEndColumnPositions(l,
d),A=c.lastIndexOf(!0),B=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var K="rtl"===a.direction,O=K?"right":"left";K=K?"left":"right";for(var P=k(b),Y=P.next();!Y.done;Y=P.next()){Y=Y.value;for(var X=0;X<h;X++){var ka=Y.children[X];c[X]&&a._addStickyStyle(ka,O,q[X],X===A);d[X]&&a._addStickyStyle(ka,K,x[X],X===B)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===A?[]:l.slice(0,A+1).map(function(ma,ya){return c[ya]?ma:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
B?[]:l.slice(B).map(function(ma,ya){return d[ya+B]?ma:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},Xlc=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 x=e[b];q[b]=a._isNativeHtmlTable?Array.from(x.children):[x];x=x.getBoundingClientRect().height;c+=x;l[b]=x}var A=
g.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var B=0;B<e.length;B++)if(g[B])for(var K=h[B],O=B===A,P=k(q[B]),Y=P.next();!Y.done;Y=P.next())a._addStickyStyle(Y.value,d,K,O);if("top"===d){var X;null==(X=a._positionListener)||X.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var ka;null==(ka=a._positionListener)||ka.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})}},Ylc=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=Ulc.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]);Tlc.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(Tlc),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 Zlc=[[["caption"]],[["colgroup"],["col"]]],XK=function(a,b){this.viewContainer=a;this.elementRef=b};XK.\u0275fac=function(a){return new (a||XK)(C(Nf),C(rd))};XK.\u0275dir=Gc({type:XK,selectors:[["","rowOutlet",""]]});var YK=function(a,b){this.viewContainer=a;this.elementRef=b};YK.\u0275fac=function(a){return new (a||YK)(C(Nf),C(rd))};YK.\u0275dir=Gc({type:YK,selectors:[["","headerRowOutlet",""]]});var ZK=function(a,b){this.viewContainer=a;this.elementRef=b};
ZK.\u0275fac=function(a){return new (a||ZK)(C(Nf),C(rd))};ZK.\u0275dir=Gc({type:ZK,selectors:[["","footerRowOutlet",""]]});var $K=function(a,b){this.viewContainer=a;this.elementRef=b};$K.\u0275fac=function(a){return new (a||$K)(C(Nf),C(rd))};$K.\u0275dir=Gc({type:$K,selectors:[["","noDataRowOutlet",""]]});
var aL=function(a,b,c,d,e,g,h,l,q,x,A,B){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=l;this._coalescedStyleScheduler=q;this._viewportRuler=x;this._stickyPositioningListener=A;this._ngZone=B;this._onDestroy=new E.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 Vv;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=g;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
aL.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(Pe(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};
aL.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&&bL(this);this._checkStickyStates()};
aL.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();xoa(this.dataSource)&&this.dataSource.disconnect(this)};
aL.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;fXb(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();jTb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&uja()?this._ngZone.onStable.pipe(Ce(),
Pe(this._onDestroy)).subscribe(function(){bL(a)}):bL(this)}else this._updateNoDataRow();this.contentChanged.next()};
var $lc=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});Vlc(a._stickyStyler,b,["top"]);Xlc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},amc=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});
Vlc(a._stickyStyler,b,["bottom"]);Xlc(a._stickyStyler,b,c,"bottom");Ylc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},bL=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)Vlc(a._stickyStyler,[].concat(Pc(b),Pc(c),Pc(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=aL.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();qDa(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=qDa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=qDa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=qDa(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=[];xoa(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;xoa(this.dataSource)?b=this.dataSource.connect(this):(0,E.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,E.of)(this.dataSource));this._renderChangeSubscription=b.pipe(Pe(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)});$lc(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)});amc(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});Wlc(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,Qlc&&Qlc._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 RK?c.headerCell.template:a instanceof SK?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)&&$lc(this);this._footerRowDefs.reduce(a,!1)&&amc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,bL(this))};
f._setupStickyStyler=function(){var a=this;this._stickyStyler=new Ulc(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,E.of)()).pipe(Pe(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;bL(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}}};
ch.Object.defineProperties(aL.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=tg(a);this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),bL(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=tg(a);this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});aL.\u0275fac=function(a){return new (a||aL)(C(pw),C(mw),C(rd),kd("role"),C(Ry,8),C(ah),C(qx),C(gXb),C(Llc),C(az),C(Slc,12),C(Se,8))};
aL.\u0275cmp=Bc({type:aL,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(Rf(c,Rlc,5),Rf(c,MK,5),Rf(c,TK,5),Rf(c,RK,5),Rf(c,SK,5));if(a&2){var d;Pf(d=Sf())&&(b._noDataRow=d.first);Pf(d=Sf())&&(b._contentColumnDefs=d);Pf(d=Sf())&&(b._contentRowDefs=d);Pf(d=Sf())&&(b._contentHeaderRowDefs=d);Pf(d=Sf())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(Qf(XK,7),Qf(YK,7),Qf(ZK,7),Qf($K,7));if(a&2){var c;Pf(c=Sf())&&(b._rowOutlet=c.first);Pf(c=Sf())&&(b._headerRowOutlet=
c.first);Pf(c=Sf())&&(b._footerRowOutlet=c.first);Pf(c=Sf())&&(b._noDataRowOutlet=c.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&mf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Cf([{provide:JK,useExisting:aL},{provide:gXb,useClass:eXb},{provide:Llc,useClass:PK},
{provide:Slc,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(tf(Zlc),uf(0),uf(1,1),rf(2,0)(3,1)(4,2)(5,3))},dependencies:[XK,YK,ZK,$K],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var cL=function(){};cL.\u0275fac=function(a){return new (a||cL)};cL.\u0275mod=Dc({type:cL});cL.\u0275inj=nc({imports:[ez]});var dL=function(){KK.apply(this,arguments)};U(dL,KK);dL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(dL)))(b||dL)}}();dL.\u0275dir=Gc({type:dL,selectors:[["","matCellDef",""]],features:[Cf([{provide:KK,useExisting:dL}]),Ye]});var eL=function(){LK.apply(this,arguments)};U(eL,LK);eL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(eL)))(b||eL)}}();eL.\u0275dir=Gc({type:eL,selectors:[["","matHeaderCellDef",""]],features:[Cf([{provide:LK,useExisting:eL}]),Ye]});
var fL=function(){return MK.apply(this,arguments)||this};U(fL,MK);fL.prototype._updateColumnCssClassName=function(){MK.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};ch.Object.defineProperties(fL.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});fL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(fL)))(b||fL)}}();
fL.\u0275dir=Gc({type:fL,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Cf([{provide:MK,useExisting:fL},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:fL}]),Ye]});var gL=function(){NK.apply(this,arguments)};U(gL,NK);gL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(gL)))(b||gL)}}();gL.\u0275dir=Gc({type:gL,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[Ye]});
var hL=function(){OK.apply(this,arguments)};U(hL,OK);hL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(hL)))(b||hL)}}();hL.\u0275dir=Gc({type:hL,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[Ye]});var iL=function(){return RK.apply(this,arguments)||this};U(iL,RK);iL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(iL)))(b||iL)}}();iL.\u0275dir=Gc({type:iL,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Cf([{provide:RK,useExisting:iL}]),Ye]});var jL=function(){TK.apply(this,arguments)};U(jL,TK);jL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(jL)))(b||jL)}}();
jL.\u0275dir=Gc({type:jL,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Cf([{provide:TK,useExisting:jL}]),Ye]});var kL=function(){};U(kL,VK);kL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(kL)))(b||kL)}}();
kL.\u0275cmp=Bc({type:kL,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Cf([{provide:VK,useExisting:kL}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&rf(0,0)},dependencies:[UK],encapsulation:2});var lL=function(){};U(lL,WK);lL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(lL)))(b||lL)}}();
lL.\u0275cmp=Bc({type:lL,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Cf([{provide:WK,useExisting:lL}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&rf(0,0)},dependencies:[UK],encapsulation:2});var bmc=[[["caption"]],[["colgroup"],["col"]]],mL=function(){aL.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};U(mL,aL);mL.\u0275fac=function(){var a;return function(b){return(a||(a=pd(mL)))(b||mL)}}();
mL.\u0275cmp=Bc({type:mL,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(a,b){a&2&&mf("mat-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Cf([{provide:gXb,useClass:eXb},{provide:aL,useExisting:mL},{provide:JK,useExisting:mL},{provide:Llc,useClass:PK},{provide:Slc,useValue:null}]),Ye],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a){a&1&&(tf(bmc),uf(0),uf(1,1),rf(2,0)(3,1)(4,2)(5,3))},dependencies:[XK,YK,ZK,$K],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 aEa=function(a){return{row:a}},hEa=function(){return["pinnedIssues"]},cmc=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"]]),nL=function(a,b,c,d){this.issueFridge=a;this.domSafe=b;this.router=c;this.hackyPrefs=d;this.getUserInvolvement=Ova;this.ldapOnly=
Jl;this.viewCellTemplates={};this.COLUMN_TITLES=cmc;this.issueIds$=new E.BehaviorSubject([]);this.defaultColumns=["title","priority","type","id","status"];this.displayedColumns=[];this.customColumns=[];this.displayedIssues$=this.issueIds$.pipe(Oe(this.issueFridge.watchSet))};f=nL.prototype;f.ngOnChanges=function(a){!a.displayedColumns||0!==this.displayedColumns.length&&this.displayedColumns.every(function(b){return cmc.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=Sl(b.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?En(this.domSafe,b):Pr(this.router,b))};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Add to My Projects",action:function(){pn(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 gn(ci(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};
ch.Object.defineProperties(nL.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}}});nL.\u0275fac=function(a){return new (a||nL)(C(tH),C(ZJ),C(vG),C(ZH))};
nL.\u0275cmp=Bc({type:nL,selectors:[["flat-issues-table"]],inputs:{issueIds:"issueIds",displayedColumns:"displayedColumns",customColumns:"customColumns",assigneeMode:"assigneeMode"},features:[Uc],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&&(Q(0,iEa,38,8,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.displayedIssues$))},dependencies:[sw,tw,yw,uw,vw,ww,mL,eL,iL,fL,dL,jL,gL,hL,kL,lL,kK,lK,mK,nK,qK,wK,xK,dI,yK,HK,BK,dK,cK,YJ,zK,iK,zw],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 oL=function(a,b){this.templateRef=a;this.flatIssuesTable=b};oL.prototype.ngOnInit=function(){this.forViewCell&&(this.flatIssuesTable.viewCellTemplates[this.forViewCell]=this.templateRef)};oL.\u0275fac=function(a){return new (a||oL)(C(Mf),C(nL))};oL.\u0275dir=Gc({type:oL,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var dmc=new Nc("IssueCard");var pL=function(){};pL.prototype.visit=function(){};pL.\u0275fac=function(a){return new (a||pL)};pL.\u0275prov=mc({token:pL,factory:pL.\u0275fac,providedIn:"root"});var emc=["el"],qL=function(a){this.viewContainerRef=a};qL.\u0275fac=function(a){return new (a||qL)(C(Nf))};qL.\u0275dir=Gc({type:qL,selectors:[["","issueCardHost",""]]});var rL=function(a,b){jE.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new E.ReplaySubject(1)};U(rL,jE);rL.\u0275dir=jE.\u0275dir;rL.prototype.ngOnInit=function(){};
rL.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(Pe(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(Ce(),Pe(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
rL.prototype.visit=function(a){if(!mEa(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})}};rL.\u0275fac=function(a){return new (a||rL)(C(pL),C(dmc,8))};
rL.\u0275cmp=Bc({type:rL,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(Qf(emc,7),Qf(qL,5));if(a&2){var c;Pf(c=Sf())&&(b.el=c.first);Pf(c=Sf())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[Ye],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&&(tf(),G(0,"onedev-hovercard",null,0),Q(2,nEa,2,1,"div",1),H(),G(3,"a",2,3),M("click",function(d){return b.visit(d)}),uf(5),H());if(a&2){var c=yf(1);z(3);F("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,Id)}},dependencies:[xJ,yJ,CJ,zJ,qL],encapsulation:2,changeDetection:0});var sL=function(a){jE.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new E.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(Oe(function(c){return b.changelistApi.getChangelistDetails(c)}),Le({refCount:!0,bufferSize:1}));this.init=new E.ReplaySubject(1)};U(sL,jE);sL.\u0275dir=jE.\u0275dir;sL.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Ce(),Pe(this.destroyed$)).subscribe(function(){a.init.next()})};
sL.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};sL.\u0275fac=function(a){return new (a||sL)(C(eD))};
sL.\u0275cmp=Bc({type:sL,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[Ye,Uc],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[1,"card"],[3,"href"],["class","author",4,"ngIf"],[1,"description"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[1,"author"],[3,"email","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,
b){a&1&&(G(0,"div",0)(1,"div",1),Q(2,rEa,16,6,"ng-container",2),S(3,"async"),H()());a&2&&(z(2),F("ngIf",T(3,1,b.changelist$)))},dependencies:[sw,tw,bK,iK,zw],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 tL=function(){this.config=Object.assign({},new AJ,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};tL.prototype.ngOnInit=function(){};tL.\u0275fac=function(a){return new (a||tL)};
tL.\u0275cmp=Bc({type:tL,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&&(G(0,"a",0),R(1),H(),G(2,"onedev-hovercard",null,1),Q(4,sEa,2,2,"b-changelist-card",2),H());if(a&
2){var c=yf(3);F("href","http://critique.corp.google.com/"+b.changelistId,Id)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);bf("aria-label","Changelist"+b.changelistId);z(1);zf(" ",b.changelistId,"\n")}},dependencies:[xJ,yJ,CJ,zJ,sL],encapsulation:2});var uL=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};uL.prototype.getDisplayString=function(){return Zh(this.model)};var fmc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Bqa(bi(b)):Bqa(b))&&!!a.getEmailAddress()};uL.prototype.getEmailAddress=function(){return ci(this.model)||""};uL.\u0275fac=function(a){return new (a||uL)};
uL.\u0275cmp=Bc({type:uL,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),Q(1,tEa,1,4,"b-user-display-name",0),Q(2,uEa,2,1,"span",
1),L());a&2&&(z(1),F("ngIf",fmc(b)),z(1),F("ngIf",!fmc(b)))},dependencies:[tw,bK],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 vL=function(){this.toIssuePriority=kl;this.clAuthorToUser=Dva;this.getClNumber=Eva;this.clEventToClDescription=Fva;this.getPreviousDiffValue=Gva;this.getNewDiffValue=Hva;this.getIssueDetailsUrl=Iva;this.numEventsDisplayed=3;this.activityEvents=null;this.title="Recent Activity"},EEa=function(a){return a.activityEvents&&0!==a.activityEvents.length?3<=a.activityEvents.length-a.numEventsDisplayed?3:a.activityEvents.length-a.numEventsDisplayed:0};
vL.prototype.trackByEventModifiedTime=function(a,b){return b.issueId+"-"+b.event.modifiedDate};vL.\u0275fac=function(a){return new (a||vL)};
vL.\u0275cmp=Bc({type:vL,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&&(Q(0,DEa,5,3,"ng-container",0),S(1,"slice"),Q(2,FEa,3,1,"ng-container",0));a&2&&(F("ngIf",Jf(1,2,b.activityEvents,0,b.numEventsDisplayed)),z(2),F("ngIf",0<EEa(b)))},dependencies:[sw,tw,uw,vw,ww,Yz,cK,uL,dI,tL,rL,iK,Gw],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 gmc=["determinateSpinner"],hmc=dh(function(a){this._elementRef=a},"primary"),imc=new Nc("mat-progress-spinner-default-options",{providedIn:"root",factory:HEa}),wL=function(a,b,c){a=hmc.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};U(wL,hmc);f=wL.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};
ch.Object.defineProperties(wL.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,wg(a)))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=wg(a)}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=wg(a)}}});
wL.\u0275fac=function(a){return new (a||wL)(C(rd),C(tv,8),C(imc))};
wL.\u0275cmp=Bc({type:wL,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&Qf(gmc,5);if(a&2){var c;Pf(c=Sf())&&(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&&(bf("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),lf("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),mf("_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:[Ye],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&&(Q(0,GEa,2,8,"ng-template",null,0,Vf),G(2,"div",1,2),fd(),G(4,"svg",3),I(5,"circle",4),H()(),gd(),G(6,"div",5)(7,"div",6)(8,"div",7),rf(9,8),H(),G(10,"div",9),rf(11,8),H(),G(12,"div",10),rf(13,8),H()()());if(a&2){var c=yf(1);z(4);bf("viewBox",b._viewBox());z(1);lf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",
b._circleStrokeWidth(),"%");bf("r",b._circleRadius());z(4);F("ngTemplateOutlet",c);z(2);F("ngTemplateOutlet",c);z(2);F("ngTemplateOutlet",c)}},dependencies:[yw],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 xL=function(){};xL.\u0275fac=function(a){return new (a||xL)};xL.\u0275mod=Dc({type:xL});xL.\u0275inj=nc({imports:[Hw,sz]});var jmc=dh(function(a){this._elementRef=a},"primary"),yL=function(a,b,c,d,e,g,h,l,q){var x=jmc.call(this,a)||this;x._document=c;x._nonce=q;x._diameter=100;x._value=0;x._resizeSubscription=E.Subscription.EMPTY;x.mode="determinate";x._spinnerAnimationLabel=x._getSpinnerAnimationLabel();kmc.has(c.head)||kmc.set(c.head,new Set([100]));x._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(x.mode="indeterminate");e&&(e.color&&(x.color=
x.defaultColor=e.color),e.diameter&&(x.diameter=e.diameter),e.strokeWidth&&(x.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&g&&l&&(x._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===x.mode&&l.run(function(){return g.markForCheck()})}));return x};U(yL,jmc);f=yL.prototype;f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=Fma(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=kmc.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,kmc.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(".","_")};
ch.Object.defineProperties(yL.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=wg(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=wg(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,wg(a)))}}});var kmc=new WeakMap;yL.\u0275fac=function(a){return new (a||yL)(C(rd),C(qx),C(ah,8),C(tv,8),C(imc),C(mw),C(az),C(Se),C($Qb,8))};
yL.\u0275cmp=Bc({type:yL,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&&(bf("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),lf("width",b.diameter,"px")("height",b.diameter,"px"),mf("_mat-animation-noopable",b._noopAnimations))},inputs:{color:"color",
diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[Ye],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&&(fd(),G(0,"svg",0,1),Q(2,IEa,1,11,"circle",2),Q(3,JEa,1,9,"circle",3),H());a&2&&(lf("width",b.diameter,"px")("height",b.diameter,"px"),F("ngSwitch","indeterminate"===b.mode),bf("viewBox",b._getViewBox()),z(2),F("ngSwitchCase",!0),z(1),F("ngSwitchCase",!1))},dependencies:[uw,vw],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 zL=function(){};zL.\u0275fac=function(a){return new (a||zL)};
zL.\u0275cmp=Bc({type:zL,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&&(Q(0,KEa,1,2,"mat-spinner",0),Q(1,LEa,1,3,"mat-spinner",1));a&2&&(F("ngIf",b.large),z(1),F("ngIf",!b.large))},dependencies:[tw,yL],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 AL=function(){this._inset=this._vertical=!1};ch.Object.defineProperties(AL.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=tg(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=tg(a)}}});AL.\u0275fac=function(a){return new (a||AL)};
AL.\u0275cmp=Bc({type:AL,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(bf("aria-orientation",b.vertical?"vertical":"horizontal"),mf("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 REa=function(){return[]},BL=function(a,b,c,d,e,g){jE.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=Ava;this.makePie=Bva;this.hotlistId$=new E.ReplaySubject(1);this.hotlist$=this.hotlistId$.pipe(Oe(this.hotlistFridge.watchOne));this.orderedByHotlistPositionIssueIds$=this.hotlistId$.pipe(Oe(function(l){return h.hotlistApi.getPagedHotlistContent(l,1,50,[])}),D(function(l){return l.issues}),
D(function(l){return l.map(function(q){return q.issueId})}));this.openIssueIds$=this.hotlistId$.pipe(Oe(function(l){return h.issueFridge.watchMany({filter:"hotlistid:"+l+" status:open",pageSize:25,sort:"modified_time:desc"})}),D(function(l){return l.results}),D(function(l){return l.map(function(q){return q.issueId})}));this.hotlistIssueIds$=(0,E.combineLatest)([this.openIssueIds$,this.orderedByHotlistPositionIssueIds$]).pipe(D(function(l){l=k(l);var q=l.next().value,x=l.next().value;l=[];q=new Set(q);
x=k(x);for(var A=x.next();!A.done&&(A=A.value,q.has(A)&&l.push(A),25!==l.length);A=x.next());return l}),Pe(this.destroyed$));this.projectData$=this.orderedByHotlistPositionIssueIds$.pipe(Oe(function(l){return mbc(h.data,[].concat(Pc(l)))}),Le({refCount:!0,bufferSize:1}));this.hotlistActivityEvents$=this.hotlistId$.pipe(Oe(function(l){return Mfc(h.projectActivity,l)}));this.columnsToDisplay=["title","assignee","status","id","menu"]};U(BL,jE);BL.\u0275dir=jE.\u0275dir;
BL.prototype.isCollapsed=function(a){a=a.hotlistId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["hotlist-"+a]};BL.prototype.removeHotlist=function(a){Ho(this.hackyPrefs,Dl(a))};BL.prototype.reorder=function(a,b){Go(this.hackyPrefs,Dl(a),b)};BL.prototype.canMove=function(a,b){return Io(this.hackyPrefs,Dl(a),b)};
ch.Object.defineProperties(BL.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}}});BL.\u0275fac=function(a){return new (a||BL)(C($G),C(ZH),C(gF),C(bI),C(QG),C(tH))};
BL.\u0275cmp=Bc({type:BL,selectors:[["hotlist-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",hotlistId:"hotlistId"},features:[Ye],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&&(Q(0,aFa,35,15,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.hotlist$))},dependencies:[sw,tw,JA,Yz,cK,nL,zL,RB,PB,QB,AL,vL,zw,Gw,Fw],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 CL=function(a,b){jE.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(D(function(d){return[].concat(Pc(d.keys())).filter(function(e){return!c.hackyPrefs.getPinned().includes(Dl(e))})}));this.skipFirstSuggestion=!1;this.suggestedHotlists$.pipe(Pe(this.destroyed$)).subscribe(function(d){var e=Array.from(d)[0][0];d=Array.from(d)[0][1];
0===c.hackyPrefs.getPinned().length&&!c.hackyPrefs.prefs.hasUserEdits&&(5<d.confidence||3<d.count)&&(pn(c.hackyPrefs,Dl(e)),c.skipFirstSuggestion=!0,c.suggestionCount++)})};U(CL,jE);CL.\u0275dir=jE.\u0275dir;CL.\u0275fac=function(a){return new (a||CL)(C(ZH),C(SH))};
CL.\u0275cmp=Bc({type:CL,selectors:[["suggested-hotlists"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[Ye],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&&(Q(0,eFa,10,7,"ng-container",0),S(1,"async"),Q(2,fFa,3,0,"ng-template",null,1,Vf));if(a&2){var c=yf(3);F("ngIf",T(1,2,b.suggestedHotlistIds$))("ngIfElse",c)}},dependencies:[sw,tw,JA,Yz,Zz,BL,zL,zw,Gw],styles:["[_nghost-%COMP%] { display: block; }"]});var lmc=ql(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Mua),DL=function(a){this.issueFridge=a;this.componentIdToRecentCanonicals=new Map};
DL.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,E.of)(void 0);if("canonical"===b){b=mmc(this,a,d);d=nmc(this,d).pipe(Oe(function(h){return e.issueFridge.watchMany({filter:gFa(a,qn("-id",null==c?void 0:c.id),qn("status","open"),qn("componentid",h)),pageSize:10})}),D(function(h){return null==h?void 0:h.results}));var g=this.issueFridge.watchMany({filter:gFa(a,qn("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(D(function(h){return null==h?void 0:h.results}),
Ne([]));return(0,E.combineLatest)([b,d,g]).pipe(D(function(h){return nl(h.flat(),function(l){return l.issueId})}),D(function(h){return h.slice(0,10)}),D(function(h){return lmc(h,"desc")}))}return this.issueFridge.watchMany({filter:a,pageSize:10}).pipe(D(function(h){return null==h?void 0:h.results}))};
var mmc=function(a,b,c){return c?omc(a,c).pipe(Oe(function(d){return 0===d.length?(0,E.of)([]):a.issueFridge.watchMany({filter:gFa(b,qn("id",d),qn("status","open")),pageSize:10}).pipe(D(function(e){return null==e?void 0:e.results}))})):(0,E.of)([])},omc=function(a,b){if(!b)return(0,E.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:gFa(qn("componentid",b,!0),qn("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(D(function(d){return null==
d?void 0:d.results}),D(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),D(function(d){return ol(d.filter(ni))}),Le({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},nmc=function(a,b){return b?omc(a,b).pipe(Oe(function(c){return a.issueFridge.watchSet(c)}),D(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),D(function(c){return[b].concat(Pc(c.filter(ni)))}),D(ol),Le({bufferSize:1,refCount:!0})):(0,E.of)([])};
DL.\u0275fac=function(a){return new (a||DL)(u(tH))};DL.\u0275prov=mc({token:DL,factory:DL.\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(P,Y,X){P.addEventListener?P.addEventListener(Y,X,!1):P.attachEvent("on"+Y,X)}function e(P){if("keypress"==P.type){var Y=String.fromCharCode(P.which);P.shiftKey||(Y=Y.toLowerCase());return Y}return x[P.which]?x[P.which]:A[P.which]?A[P.which]:String.fromCharCode(P.which).toLowerCase()}function g(P){return"shift"==P||"ctrl"==P||"alt"==P||"meta"==P}function h(P,Y){var X,ka=[];"+"===P?P=["+"]:(P=P.replace(/\+{2}/g,"+plus"),P=P.split("+"));for(X=0;X<P.length;++X){var ma=P[X];
K[ma]&&(ma=K[ma]);Y&&"keypress"!=Y&&B[ma]&&(ma=B[ma],ka.push("shift"));g(ma)&&ka.push(ma)}P=ma;X=Y;if(!X){if(!O){O={};for(var ya in x)95<ya&&112>ya||x.hasOwnProperty(ya)&&(O[x[ya]]=ya)}X=O[P]?"keydown":"keypress"}"keypress"==X&&ka.length&&(X="keydown");return{key:ma,modifiers:ka,action:X}}function l(P,Y){return null===P||P===b?!1:P===Y?!0:l(P.parentNode,Y)}function q(P){function Y(wa){wa=wa||{};var Ka=!1,Na;for(Na in Ra)wa[Na]?Ka=!0:Ra[Na]=0;Ka||(Ya=!1)}function X(wa,Ka,Na,eb,ab,Sc){var fb,zb,$a=
[],Fb=Na.type;if(!Ma._callbacks[wa])return[];"keyup"==Fb&&g(wa)&&(Ka=[wa]);for(fb=0;fb<Ma._callbacks[wa].length;++fb)if(zb=Ma._callbacks[wa][fb],(eb||!zb.seq||Ra[zb.seq]==zb.level)&&Fb==zb.action){var ib;(ib="keypress"==Fb&&!Na.metaKey&&!Na.ctrlKey)||(ib=zb.modifiers,ib=Ka.sort().join(",")===ib.sort().join(","));ib&&(ib=eb&&zb.seq==eb&&zb.level==Sc,(!eb&&zb.combo==ab||ib)&&Ma._callbacks[wa].splice(fb,1),$a.push(zb))}return $a}function ka(wa,Ka,Na,eb){Ma.stopCallback(Ka,Ka.target||Ka.srcElement,Na,
eb)||!1!==wa(Ka,Na)||(Ka.preventDefault?Ka.preventDefault():Ka.returnValue=!1,Ka.stopPropagation?Ka.stopPropagation():Ka.cancelBubble=!0)}function ma(wa){"number"!==typeof wa.which&&(wa.which=wa.keyCode);var Ka=e(wa);if(Ka)if("keyup"==wa.type&&Lb===Ka)Lb=!1;else{var Na=Ma,eb=Na.handleKey,ab=[];wa.shiftKey&&ab.push("shift");wa.altKey&&ab.push("alt");wa.ctrlKey&&ab.push("ctrl");wa.metaKey&&ab.push("meta");eb.call(Na,Ka,ab,wa)}}function ya(wa,Ka,Na,eb){function ab($a){return function(){Ya=$a;++Ra[wa];
clearTimeout(Ta);Ta=setTimeout(Y,1E3)}}function Sc($a){ka(Na,$a,wa);"keyup"!==eb&&(Lb=e($a));setTimeout(Y,10)}for(var fb=Ra[wa]=0;fb<Ka.length;++fb){var zb=fb+1===Ka.length?Sc:ab(eb||h(Ka[fb+1]).action);Aa(Ka[fb],zb,eb,wa,fb)}}function Aa(wa,Ka,Na,eb,ab){Ma._directMap[wa+":"+Na]=Ka;wa=wa.replace(/\s+/g," ");var Sc=wa.split(" ");1<Sc.length?ya(wa,Sc,Ka,Na):(Na=h(wa,Na),Ma._callbacks[Na.key]=Ma._callbacks[Na.key]||[],X(Na.key,Na.modifiers,{type:Na.action},eb,wa,ab),Ma._callbacks[Na.key][eb?"unshift":
"push"]({callback:Ka,modifiers:Na.modifiers,action:Na.action,seq:eb,level:ab,combo:wa}))}var Ma=this;P=P||b;if(!(Ma instanceof q))return new q(P);Ma.target=P;Ma._callbacks={};Ma._directMap={};var Ra={},Ta,Lb=!1,qb=!1,Ya=!1;Ma._handleKey=function(wa,Ka,Na){var eb=X(wa,Ka,Na),ab;Ka={};var Sc=0,fb=!1;for(ab=0;ab<eb.length;++ab)eb[ab].seq&&(Sc=Math.max(Sc,eb[ab].level));for(ab=0;ab<eb.length;++ab)eb[ab].seq?eb[ab].level==Sc&&(fb=!0,Ka[eb[ab].seq]=1,ka(eb[ab].callback,Na,eb[ab].combo,eb[ab].seq)):fb||
ka(eb[ab].callback,Na,eb[ab].combo);eb="keypress"==Na.type&&qb;Na.type!=Ya||g(wa)||eb||Y(Ka);qb=fb&&"keydown"==Na.type};Ma._bindMultiple=function(wa,Ka,Na){for(var eb=0;eb<wa.length;++eb)Aa(wa[eb],Ka,Na)};d(P,"keypress",ma);d(P,"keydown",ma);d(P,"keyup",ma)}if(a){var x={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},
A={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},B={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},K={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},O;for(c=1;20>c;++c)x[111+c]="f"+c;for(c=0;9>=c;++c)x[c+96]=c;q.prototype.bind=
function(P,Y,X){P=P instanceof Array?P:[P];this._bindMultiple.call(this,P,Y,X);return this};q.prototype.unbind=function(P,Y){return this.bind.call(this,P,function(){},Y)};q.prototype.trigger=function(P,Y){if(this._directMap[P+":"+Y])this._directMap[P+":"+Y]({},P);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(P,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(P){for(var Y in P)P.hasOwnProperty(Y)&&(x[Y]=P[Y]);O=null};q.init=function(){var P=q(b),Y;for(Y in P)"_"!==Y.charAt(0)&&(q[Y]=function(X){return function(){return P[X].apply(P,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 rn=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 pmc=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||""};
ch.Object.defineProperties(pmc.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 qmc=new Nc("HotkeyOptions");var EL=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new E.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 pmc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new pmc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};f=EL.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 x=h.target,A=x.nodeName.toUpperCase();-1<(" "+x.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(A)&&-1===a.allowIn.map(function(B){return B.toUpperCase()}).indexOf(A)&&(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);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);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()};EL.\u0275fac=function(a){return new (a||EL)(u(qmc))};EL.\u0275prov=mc({token:EL,factory:EL.\u0275fac});var FL=function(){};FL.\u0275fac=function(a){return new (a||FL)};FL.\u0275mod=Dc({type:FL});FL.\u0275inj=nc({imports:[Hw]});var rmc;Pca("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var smc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),GL=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},HL=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(rmc||(c={},rmc=(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=rmc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},tmc=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},IL=function(a,b){var c="";b&&(c=b.id);HL(a,"activedescendant",c)};var JL=function(a,b,c,d){jE.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(smc,g);h=g||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||umc(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(Pe(this.destroyed$)).subscribe(function(g){g&&(e.enabled=!!g.enableAllHotkeys)});a.routeChangeStart.pipe(Pe(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){vmc(e)})};U(JL,jE);JL.\u0275dir=jE.\u0275dir;JL.prototype.isEnabled=function(){return this.enabled};JL.prototype.isPaused=function(){return this.paused};
var KL=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(Pc(b),Pc(d)));wmc(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);wmc(a)}},vmc=function(a){var b=[].concat(Pc(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},wmc=function(a){vmc(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){var d=xmc(a,c.value);c={};d=k(d);for(var e=d.next();!e.done;c={$jscomp$loop$prop$binding$2299:c.$jscomp$loop$prop$binding$2299},e=d.next())c.$jscomp$loop$prop$binding$2299=e.value,e=new pmc(lFa(c.$jscomp$loop$prop$binding$2299.key),function(g){return function(h){a.ngZone.run(function(){g.$jscomp$loop$prop$binding$2299.command()});h.stopPropagation();return!1}}(c),c.$jscomp$loop$prop$binding$2299.allowIn),
a.rawHotkeysService.add(e)}},umc=function(a){return[].concat(Pc(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===b.style.position}).some(function(b){return b.contains(a)})},xmc=function(a,b){var c=[],d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$hotkeySpec$2301:d.$jscomp$loop$prop$hotkeySpec$2301},e=b.next()){d.$jscomp$loop$prop$hotkeySpec$2301=e.value;e={};for(var g=k(d.$jscomp$loop$prop$hotkeySpec$2301.keys.entries()),h=g.next();!h.done;e={$jscomp$loop$prop$index$2303:e.$jscomp$loop$prop$index$2303},
h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$index$2303=h;c.push(new ymc(l,function(q,x){return function(){a.ngZone.run(function(){q.$jscomp$loop$prop$hotkeySpec$2301.onPress(x.$jscomp$loop$prop$index$2303)})}}(d,e),d.$jscomp$loop$prop$hotkeySpec$2301.allowIn))}}Gaa(c,function(q,x){return q.strokeLength>x.strokeLength?-1:q.strokeLength<x.strokeLength?1:0});return c};JL.prototype.pause=function(){this.paused=!0};JL.prototype.unpause=function(){this.paused=!1};
var zmc=function(a){return[].concat(Pc(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:nl(c,mFa)}})};JL.\u0275fac=function(a){return new (a||JL)(u(nH),u(BI),u(EL),u(Se))};JL.\u0275prov=mc({token:JL,factory:JL.\u0275fac,providedIn:"root"});var ymc=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 LL=function(a,b){jE.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new Vv;this.hasHotkey=!0};U(LL,jE);LL.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+")"}};
LL.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(KL(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};LL.\u0275fac=function(a){return new (a||LL)(C(JL),C(ZB,8))};
LL.\u0275dir=Gc({type:LL,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&mf("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[Ye,Uc]});var Amc={category:"Edit Issue Page",keys:[sn("r")],displayAs:"Shift+r",description:"Refresh"},Bmc={category:"Issue List",keys:["u",sn("r")],displayAs:"u / Shift+r",description:"Refresh search results"},ML={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[sn("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:[tn("p","0"),tn("p","1"),tn("p","2"),tn("p","3"),tn("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:Amc,REFRESH_ISSUE_LIST:Bmc,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 NL=function(){};NL.\u0275fac=function(a){return new (a||NL)};NL.\u0275mod=Dc({type:NL});NL.\u0275inj=nc({});var OL=function(){this.relayOnly=!1;this.keydown$=new E.Subject};OL.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};ch.Object.defineProperties(OL.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});OL.\u0275fac=function(a){return new (a||OL)};
OL.\u0275dir=Gc({type:OL,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeydown(c)});a&2&&bf("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Cmc=0,PL=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Cmc;this.closePanel$=new E.ReplaySubject(1);Cmc++};PL.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};PL.\u0275fac=function(a){return new (a||PL)(C(OL,8))};
PL.\u0275cmp=Bc({type:PL,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&Qf(Mf,7);if(a&2){var c;Pf(c=Sf())&&(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&&(tf(),Q(0,nFa,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 QL=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 Vv;this.closed=new Vv;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.closingActionsSubscription=E.Subscription.EMPTY};QL.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
QL.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Cx(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Dmc(this).pipe(Pe(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
QL.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()}};
QL.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 Dmc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,E.merge)(b,c,d):(0,E.merge)(c,d)};
QL.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
QL.prototype.getPositionStrategy=function(){return jz(kz(lz(nz(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"}])};QL.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
ch.Object.defineProperties(QL.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});QL.\u0275fac=function(a){return new (a||QL)(C(oz),C(rd),C(Nf),C(Iy),C(mw))};
QL.\u0275dir=Gc({type:QL,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&bf("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 RL=function(){};RL.\u0275fac=function(a){return new (a||RL)};RL.\u0275mod=Dc({type:RL});RL.\u0275inj=nc({imports:[Hw,rz,Hx,wC,XC,Ey,wJ]});var Emc=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)};Emc.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};
Emc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var SL=function(a){this._document=a};SL.prototype.copy=function(a){a=new Emc(a,this._document);var b=a.copy();a.destroy();return b};SL.\u0275fac=function(a){return new (a||SL)(u(ah))};SL.\u0275prov=mc({token:SL,factory:SL.\u0275fac,providedIn:"root"});new Nc("CDK_COPY_TO_CLIPBOARD_CONFIG");var TL=function(a,b,c,d){jE.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=ML};U(TL,jE);TL.\u0275dir=jE.\u0275dir;var un=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};TL.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};
TL.prototype.getAppBaseUrl=function(a){return tK(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};TL.\u0275fac=function(a){return new (a||TL)(C(ds),C(sK),C(SL),C(KF))};
TL.\u0275cmp=Bc({type:TL,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&Qf(QL,5);if(a&2){var c;Pf(c=Sf())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[Ye],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&&(G(0,"button",0),M("click",function(){b.clipboard.copy(b.issueId);LF(b.butterBar,"Issue ID copied",2E3)}),R(1),Q(2,oFa,1,0,"mat-icon",1),H(),Q(3,AFa,7,5,"ng-container",2));a&2&&(mf("square-right",b.showCopyOptions),bf("aria-label",
"Copy issue number "+b.issueId),z(1),zf(" ",b.issueId," "),z(1),F("ngIf",!b.showCopyOptions),z(1),F("ngIf",b.showCopyOptions))},dependencies:[ux,tw,JA,LL,Yz,ZB,PL,QL],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 UL=function(){};UL.prototype.ngOnInit=function(){};UL.prototype.onClick=function(a){a.stopPropagation()};UL.\u0275fac=function(a){return new (a||UL)};
UL.\u0275cmp=Bc({type:UL,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions",4,"ngIf"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,BFa,1,2,"b-issue-id-picker",1),H());a&2&&(F("isReady",!!b.id),z(1),F("ngIf",b.id))},dependencies:[jK,tw,TL],encapsulation:2,changeDetection:0});var VL=function(){this.priority=this.issue=null;this.isDataLoaded=!1};VL.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};VL.\u0275fac=function(a){return new (a||VL)};
VL.\u0275cmp=Bc({type:VL,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[Uc],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""],[3,"issuePriority"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),Q(1,CFa,2,1,"ng-container",1),Q(2,DFa,1,0,"ng-template",null,2,Vf),H());if(a&2){var c=yf(3);F("isReady",b.isDataLoaded);z(1);F("ngIf",b.priority)("ngIfElse",c)}},dependencies:[jK,tw,dI],encapsulation:2,changeDetection:0});var wn=function(a){r.call(this,a,0,wn.messageId)};U(wn,r);wn.prototype.getType=function(){return W(this,2,0)};wn.prototype.setType=function(a){return n(this,2,a)};wn.prototype.hasType=function(){return cj(this,2)};wn.prototype.toObject=function(){return Fmc(this)};var Fmc=function(a){if(null!=a)return t(a),{type:p(ir(a,2)),rejectionReason:p(ir(a,3))}};wn.messageId="b.UserEngagement";var vn=function(a){r.call(this,a,0,vn.messageId)};U(vn,r);vn.prototype.getParent=function(){return V(this,1)};vn.prototype.setParent=function(a){return n(this,1,a)};vn.prototype.toObject=function(){return Gmc(this)};var Gmc=function(a){if(null!=a)return t(a),{parent:p(m(a,1)),userEngagement:Fmc(Z(a,wn,2))}};vn.messageId="b.BatchCreateUserEngagementsRequest";var Hmc=function(a){r.call(this,a,0,Hmc.messageId)};U(Hmc,r);f=Hmc.prototype;f.getResource=function(){return V(this,1)};f.setResource=function(a){return n(this,1,a)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return cj(this,2)};f.setPageSize=function(a){return n(this,4,a)};f.setPageToken=function(a){return n(this,5,a)};
f.toObject=function(){if(null!=this){t(this);var a={resource:p(m(this,1)),type:p(ir(this,2)),minConfidence:p(ir(this,3)),pageSize:p(Ms(this,4)),pageToken:p(m(this,5)),view:p(ir(this,6))}}else a=void 0;return a};Hmc.messageId="b.LookupRecommendationsRequest";var xn=function(a){r.call(this,a)};U(xn,r);f=xn.prototype;f.getContentCase=function(){return Ai(this,HFa)};f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return tk(this,2)};f.getSourceOrUndefined=function(){return bt(this,2)};f.getResource=function(){return V(this,3)};
f.setResource=function(a){return n(this,3,a)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return cj(this,4)};f.getScore=function(){return ej(this,6)};f.setScore=function(a){Ls(this,6,a)};f.getConfidence=function(){return W(this,7,0)};f.getCreateTime=function(){return Z(this,yh,8)};var HFa=[9];xn.prototype.toObject=function(){return Imc(this)};
var Imc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),source:p(m(a,2)),resource:p(m(a,3)),type:p(ir(a,4)),recommendation:p(m(a,5)),score:p(Es(a,6)),confidence:p(ir(a,7)),createTime:wt(a.getCreateTime()),recommendedIssue:XD(Pj(a,sj,9,HFa))}};var WL=function(a){r.call(this,a,0,WL.messageId)};U(WL,r);WL.prototype.getRequestsList=function(){return Ch(this,vn,1)};WL.prototype.setRequestsList=function(a){return aj(this,1,a)};WL.prototype.addAndReturnRequests=function(){return ub(this,1,vn)};WL.repeatedFields_=[1];WL.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Gb(this.getRequestsList(),Gmc)}}else a=void 0;return a};WL.messageId="b.BatchCreateUserEngagementsRequest";var XL=function(a){r.call(this,a,0,XL.messageId)};U(XL,r);XL.prototype.getNextPageToken=function(){return V(this,2)};XL.prototype.getTotalSize=function(){return dj(this,3)};XL.repeatedFields_=[1];XL.prototype.toObject=function(){if(null!=this){t(this);var a={recommendationsList:Gb(Ch(this,xn,1),Imc),nextPageToken:p(m(this,2)),totalSize:p(m(this,3))}}else a=void 0;return a};XL.messageId="b.LookupRecommendationsResponse";var YL=function(a){this.executor=a},Jmc=function(a,b){var c=(new Hmc).setResource(b.resource).setType(V7b[b.type]).setPageSize(b.pageSize).setPageToken(b.pageToken);c=n(c,6,W7b[b.view]);void 0!==b.minConfidence&&n(c,3,G7b[b.minConfidence]);return a.executor.post({url:"action/recommendations/lookup",body:c,responseConstructor:XL}).pipe(D(LFa))};YL.\u0275fac=function(a){return new (a||YL)(u(ZC))};YL.\u0275prov=mc({token:YL,factory:YL.\u0275fac,providedIn:"root"});var ZL=function(a){eF.call(this);this.recommendationsService=a;this.recordType="issueRecommendations";this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.isEqual=Kh};U(ZL,eF);ZL.prototype.fetchOne=function(a){a=Kmc(a);var b=a.issueId,c=a.recommendationType;return Jmc(this.recommendationsService,{resource:"issues/"+b,type:c,minConfidence:"MEDIUM",pageSize:5,view:"FULL"}).pipe(D(function(d){return{issueId:b,recommendationType:c,recommendations:d.recommendations}}),ye(function(){return(0,E.of)(void 0)}))};
ZL.prototype.copy=function(a){return a&&Lh(a)};var Kmc=function(a){var b=k(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}};ZL.\u0275fac=function(a){return new (a||ZL)(u(YL))};ZL.\u0275prov=mc({token:ZL,factory:ZL.\u0275fac,providedIn:"root"});new Promise(function(){});var $L=function(a,b){this.checker=a;this.document=b},Lmc=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?Lmc(a,b[c]):null;if(d)return d}return null};$L.\u0275fac=function(a){return new (a||$L)(u(rx),u(ah))};$L.\u0275prov=mc({token:$L,factory:$L.\u0275fac,providedIn:"root"});var aM=function(a,b){this.elementRef=a;this.interactivityHelper=b};aM.prototype.ngOnInit=function(){};aM.prototype.focus=function(){var a=Lmc(this.interactivityHelper,this.elementRef.nativeElement,!0);a&&a.focus()};ch.Object.defineProperties(aM.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});aM.\u0275fac=function(a){return new (a||aM)(C(rd),C($L))};aM.\u0275dir=Gc({type:aM,selectors:[["tr","row",""]],inputs:{row:"row"}});var bM=function(){};bM.\u0275fac=function(a){return new (a||bM)};bM.\u0275mod=Dc({type:bM});bM.\u0275inj=nc({});var Mmc=function(a,b){Qy.call(this,a);this.directives=a;this.isEqual=b};U(Mmc,Qy);var Bn=function(a,b){var c;return de(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.directives.changes.pipe(Ne(a.directives.toArray()),D(function(e){return e.find(function(g){return a.isEqual(g.row,b)})}),ue(Boolean),we(3E3))),2);c=d.yieldResult;Oy(a,c);ie(d)})};var Nmc=new Nc("GMAT_LEGACY_TABS_OPTION");var Omc=new Nc("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Pmc=Fg("translateTab",[Ig("center, void, left-origin-center, right-origin-center",Hg({transform:"none"})),Ig("left",Hg({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ig("right",Hg({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Jg("* => left, * => right, left => center, right => center",Gg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Jg("void => left-origin-center",[Hg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
Gg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Jg("void => right-origin-center",[Hg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Gg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var Qmc=function(a){return{animationDuration:a}},Rmc=function(a,b){return{value:a,params:b}},cM=function(a,b,c,d){Gx.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=E.Subscription.EMPTY};U(cM,Gx);
cM.prototype.ngOnInit=function(){var a=this;Gx.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(Ne(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()})};cM.prototype.ngOnDestroy=function(){Gx.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
cM.\u0275fac=function(a){return new (a||cM)(C(rv),C(Nf),C(sc(function(){return dM})),C(ah))};cM.\u0275dir=Gc({type:cM,selectors:[["","matTabBodyHost",""]],features:[Ye]});
var eM=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=E.Subscription.EMPTY;this._translateTabComplete=new E.Subject;this._onCentering=new Vv;this._beforeCentering=new Vv;this._afterLeavingCenter=new Vv;this._onCentered=new Vv(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(Be(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=eM.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"};ch.Object.defineProperties(eM.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
eM.\u0275fac=function(a){return new (a||eM)(C(rd),C(Ry,8),C(mw))};eM.\u0275dir=Gc({type:eM,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var dM=function(a,b,c){eM.call(this,a,b,c)};U(dM,eM);dM.\u0275dir=eM.\u0275dir;
dM.\u0275fac=function(a){return new (a||dM)(C(rd),C(Ry,8),C(mw))};
dM.\u0275cmp=Bc({type:dM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Qf(Gx,5);if(a&2){var c;Pf(c=Sf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[Ye],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(G(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),Q(2,NFa,
0,0,"ng-template",2),H());a&2&&F("@translateTab",Gf(3,Rmc,b._position,Ff(1,Qmc,b.animationDuration)))},dependencies:[cM],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:[Pmc]}});var Smc=new Nc("MatTabContent");var Tmc=new Nc("MAT_TABS_CONFIG");var Umc=og({passive:!0}),fM=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 E.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new E.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new Vv;this.indexFocused=new Vv;
e.runOutsideAngular(function(){(0,E.fromEvent)(a.nativeElement,"mouseleave").pipe(Pe(l._destroyed)).subscribe(function(){l._stopInterval()})})};f=fM.prototype;f.ngAfterViewInit=function(){var a=this;(0,E.fromEvent)(this._previousPaginator.nativeElement,"touchstart",Umc).pipe(Pe(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,E.fromEvent)(this._nextPaginator.nativeElement,"touchstart",Umc).pipe(Pe(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
f.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,E.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=PWb(Ky(Ny(My(new Qy(this._items),this._getLayoutDirection()))),function(){return!1});Oy(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Ce()).subscribe(d);(0,E.merge)(b,c,this._items.changes,this._itemsResized()).pipe(Pe(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});My(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?E.EMPTY:this._items.changes.pipe(Ne(this._items),Oe(function(b){return new E.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()}})})}),Me(1),ue(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(!xg(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)?Vmc(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,E.timer)(650,100).pipe(Pe((0,E.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}};
ch.Object.defineProperties(fM.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=tg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=wg(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&Oy(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)}}});fM.\u0275fac=function(a){return new (a||fM)(C(rd),C(mw),C(az),C(Ry,8),C(Se),C(qx),C(tv,8))};fM.\u0275dir=Gc({type:fM,inputs:{disablePagination:"disablePagination"}});var Wmc=fh(function(){}),gM=function(a){var b=Wmc.call(this)||this;b.elementRef=a;return b};U(gM,Wmc);gM.prototype.focus=function(){this.elementRef.nativeElement.focus()};gM.\u0275fac=function(a){return new (a||gM)(C(rd))};gM.\u0275dir=Gc({type:gM,features:[Ye]});MFa(gM);var hM=function(a,b,c,d,e,g,h){fM.call(this,a,b,c,d,e,g,h);this._disableRipple=!1};U(hM,fM);hM.prototype._itemSelected=function(a){a.preventDefault()};ch.Object.defineProperties(hM.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=tg(a)}}});hM.\u0275fac=function(a){return new (a||hM)(C(rd),C(mw),C(az),C(Ry,8),C(Se),C(qx),C(tv,8))};hM.\u0275dir=Gc({type:hM,inputs:{disableRipple:"disableRipple"},features:[Ye]});var Xmc=new Nc("MatTabLabel"),Ymc=new Nc("MAT_TAB"),iM=function(a,b,c){Cx.call(this,a,b);this._closestTab=c};U(iM,Fx);iM.\u0275fac=function(a){return new (a||iM)(C(Mf),C(Nf),C(Ymc,8))};iM.\u0275dir=Gc({type:iM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Cf([{provide:Xmc,useExisting:iM}]),Ye]});var Zmc=fh(function(){}),$mc=new Nc("MAT_TAB_GROUP"),jM=function(a,b){var c=Zmc.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new E.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};U(jM,Zmc);jM.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};jM.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
jM.prototype.ngOnInit=function(){this._contentPortal=new Cx(this._explicitContent||this._implicitContent,this._viewContainerRef)};jM.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};ch.Object.defineProperties(jM.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});jM.\u0275fac=function(a){return new (a||jM)(C(Nf),C($mc,8))};
jM.\u0275dir=Gc({type:jM,viewQuery:function(a,b){a&1&&Qf(Mf,7);if(a&2){var c;Pf(c=Sf())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[Ye,Uc]});var anc=0,bnc=dh(eh(function(a){this._elementRef=a}),"primary"),kM=function(a,b,c,d){a=bnc.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new Tf;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=E.Subscription.EMPTY;a._tabLabelSubscription=E.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new Vv;a.focusChange=new Vv;a.animationDone=
new Vv;a.selectedTabChange=new Vv(!0);a._groupId=anc++;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};U(kM,bnc);f=kM.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(Ne(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));Of(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 cnc;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=E.merge.apply(null,Pc(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)};
ch.Object.defineProperties(kM.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=tg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=wg(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=wg(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=tg(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=tg(a)}},backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},set:function(a){var b=
this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}}});kM.\u0275fac=function(a){return new (a||kM)(C(rd),C(mw),C(Tmc,8),C(tv,8))};
kM.\u0275dir=Gc({type:kM,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:[Ye]});var cnc=function(){};var dnc=0,lM=function(a,b,c,d,e,g,h){fM.call(this,a,d,e,b,c,g,h);this._disableRipple=!1;this.color="primary"};U(lM,fM);lM.prototype._itemSelected=function(){};lM.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe(Ne(null),Pe(this._destroyed)).subscribe(function(){enc(a)});fM.prototype.ngAfterContentInit.call(this)};
var enc=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()}};lM.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
ch.Object.defineProperties(lM.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=tg(a)}}});
lM.\u0275fac=function(a){return new (a||lM)(C(rd),C(Ry,8),C(Se),C(mw),C(az),C(qx),C(tv,8))};lM.\u0275dir=Gc({type:lM,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[Ye]});
var fnc=gh(eh(fh(function(){}))),mM=function(a,b,c,d,e,g){var h=fnc.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+dnc++;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===g&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};U(mM,fnc);f=mM.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._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click()};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};
ch.Object.defineProperties(mM.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=tg(a);a!==this._isActive&&(this._isActive=a,enc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});mM.\u0275fac=function(a){return new (a||mM)(C(lM),C(rd),C(RXb,8),kd("tabindex"),C(xx),C(tv,8))};
mM.\u0275dir=Gc({type:mM,inputs:{active:"active",id:"id"},features:[Ye]});MFa(mM);var nM=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},Vmc=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(Ce()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};nM.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};nM.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
nM.\u0275fac=function(a){return new (a||nM)(C(rd),C(Se),C(Omc),C(tv,8))};nM.\u0275dir=Gc({type:nM,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&mf("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var gnc=function(a){return{animationDuration:a}},hnc=function(a,b){return{value:a,params:b}},oM=function(a,b,c,d){cM.call(this,a,b,c,d)};U(oM,cM);oM.\u0275fac=function(a){return new (a||oM)(C(rv),C(Nf),C(sc(function(){return pM})),C(ah))};oM.\u0275dir=Gc({type:oM,selectors:[["","matTabBodyHost",""]],features:[Ye]});var pM=function(a,b,c){eM.call(this,a,b,c)};U(pM,eM);pM.\u0275dir=eM.\u0275dir;pM.\u0275fac=function(a){return new (a||pM)(C(rd),C(Ry,8),C(mw))};
pM.\u0275cmp=Bc({type:pM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Qf(Gx,5);if(a&2){var c;Pf(c=Sf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],features:[Ye],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(G(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),Q(2,OFa,0,0,"ng-template",
2),H());a&2&&F("@translateTab",Gf(3,hnc,b._position,Ff(1,gnc,b.animationDuration)))},dependencies:[oM],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:[Pmc]}});var qM=function(){return gM.apply(this,arguments)||this};U(qM,gM);qM.\u0275fac=function(){var a;return function(b){return(a||(a=pd(qM)))(b||qM)}}();qM.\u0275dir=Gc({type:qM,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(bf("aria-disabled",!!b.disabled),mf("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[Ye]});var inc=["tabListContainer"],jnc=["tabList"],knc=["tabListInner"],lnc=["nextPaginator"],mnc=["previousPaginator"],rM=function(a,b,c,d,e,g,h){hM.call(this,a,b,c,d,e,g,h)};U(rM,hM);rM.\u0275dir=hM.\u0275dir;rM.\u0275fac=function(a){return new (a||rM)(C(rd),C(mw),C(az),C(Ry,8),C(Se),C(qx),C(tv,8))};
rM.\u0275cmp=Bc({type:rM,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&Rf(c,qM,4);if(a&2){var d;Pf(d=Sf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Qf(nM,7),Qf(inc,7),Qf(jnc,7),Qf(knc,7),Qf(lnc,5),Qf(mnc,5));if(a&2){var c;Pf(c=Sf())&&(b._inkBar=c.first);Pf(c=Sf())&&(b._tabListContainer=c.first);Pf(c=Sf())&&(b._tabList=c.first);Pf(c=Sf())&&(b._tabListInner=c.first);Pf(c=Sf())&&(b._nextPaginator=c.first);Pf(c=Sf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:4,hostBindings:function(a,b){a&2&&mf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Ye],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&&(tf(),G(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),H(),G(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),G(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),G(7,"div",7,8),uf(9),H(),I(10,"mat-ink-bar"),H()(),G(11,"button",
9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),H());a&2&&(mf("mat-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),mf("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(6),mf("mat-tab-header-pagination-disabled",b._disableScrollAfter),
F("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[zz,By,nM],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 sM=function(){var a=jM.apply(this,arguments)||this;a._explicitContent=void 0;return a};U(sM,jM);sM.\u0275dir=jM.\u0275dir;ch.Object.defineProperties(sM.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});sM.\u0275fac=function(){var a;return function(b){return(a||(a=pd(sM)))(b||sM)}}();
sM.\u0275cmp=Bc({type:sM,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(Rf(c,Xmc,5),Rf(c,Smc,7,Mf));if(a&2){var d;Pf(d=Sf())&&(b.templateLabel=d.first);Pf(d=Sf())&&(b._explicitContent=d.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Cf([{provide:Ymc,useExisting:sM}]),Ye],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(tf(),Q(0,PFa,1,0,"ng-template"))},encapsulation:2});var nnc=["tabBodyWrapper"],onc=["tabHeader"],tM=function(a,b,c,d){return kM.call(this,a,b,c,d)||this};U(tM,kM);tM.\u0275dir=kM.\u0275dir;tM.\u0275fac=function(a){return new (a||tM)(C(rd),C(mw),C(Tmc,8),C(tv,8))};
tM.\u0275cmp=Bc({type:tM,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&Rf(c,sM,5);if(a&2){var d;Pf(d=Sf())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(Qf(nnc,5),Qf(onc,5));if(a&2){var c;Pf(c=Sf())&&(b._tabBodyWrapper=c.first);Pf(c=Sf())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(a,b){a&2&&mf("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===b.headerPosition)},inputs:{color:"color",
disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Cf([{provide:$mc,useExisting:tM}]),Ye],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&&(G(0,"mat-tab-header",0,1),M("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),Q(2,TFa,5,15,"div",2),H(),G(3,"div",3,4),Q(5,UFa,1,11,"mat-tab-body",5),H());a&2&&(F("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),z(2),F("ngForOf",b._tabs),
z(1),mf("_mat-animation-noopable","NoopAnimations"===b._animationMode),z(2),F("ngForOf",b._tabs))},dependencies:[rw,sw,tw,Gx,zz,zx,qM,pM,rM],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 uM=function(){iM.apply(this,arguments)};U(uM,iM);uM.\u0275fac=function(){var a;return function(b){return(a||(a=pd(uM)))(b||uM)}}();uM.\u0275dir=Gc({type:uM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Cf([{provide:Xmc,useExisting:uM}]),Ye]});var pnc=["tabListContainer"],qnc=["tabList"],rnc=["tabListInner"],snc=["nextPaginator"],tnc=["previousPaginator"],vM=function(a,b,c,d,e,g,h){lM.call(this,a,b,c,d,e,g,h)};U(vM,lM);vM.\u0275dir=lM.\u0275dir;vM.\u0275fac=function(a){return new (a||vM)(C(rd),C(Ry,8),C(Se),C(mw),C(az),C(qx),C(tv,8))};
vM.\u0275cmp=Bc({type:vM,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&Rf(c,wM,5);if(a&2){var d;Pf(d=Sf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Qf(nM,7),Qf(pnc,7),Qf(qnc,7),Qf(rnc,7),Qf(snc,5),Qf(tnc,5));if(a&2){var c;Pf(c=Sf())&&(b._inkBar=c.first);Pf(c=Sf())&&(b._tabListContainer=c.first);Pf(c=Sf())&&(b._tabList=c.first);Pf(c=Sf())&&(b._tabListInner=c.first);Pf(c=Sf())&&(b._nextPaginator=c.first);Pf(c=Sf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:11,hostBindings:function(a,b){a&2&&(bf("role",b._getRole()),mf("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:[Ye],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&&(tf(),G(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),I(2,"div",2),H(),G(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),G(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),
G(7,"div",7,8),uf(9),H(),I(10,"mat-ink-bar"),H()(),G(11,"button",9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),I(13,"div",2),H());a&2&&(mf("mat-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),z(5),mf("_mat-animation-noopable","NoopAnimations"===b._animationMode),
z(6),mf("mat-tab-header-pagination-disabled",b._disableScrollAfter),F("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[zz,By,nM],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 wM=function(a,b,c,d,e,g,h,l){a=mM.call(this,a,b,e,g,h,l)||this;a._tabLinkRipple=new NXb(a,c,b,d);QXb(a._tabLinkRipple,b.nativeElement);return a};U(wM,mM);wM.prototype.ngOnDestroy=function(){mM.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};wM.\u0275fac=function(a){return new (a||wM)(C(vM),C(rd),C(Se),C(qx),C(RXb,8),kd("tabindex"),C(xx),C(tv,8))};
wM.\u0275dir=Gc({type:wM,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(bf("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()),mf("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[Ye]});var xM=function(){};xM.\u0275fac=function(a){return new (a||xM)};xM.\u0275mod=Dc({type:xM});xM.\u0275inj=nc({imports:[Hw,sz,Hx,Cz,Cy,Ey,sz]});var yM=function(a){this.inkBarPositioner=a};yM.prototype.isEnabled=function(){return this.inkBarPositioner===VFa};yM.\u0275fac=function(a){return new (a||yM)(C(Omc))};yM.\u0275dir=Gc({type:yM,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&mf("gmat-tabs",b.isEnabled())},features:[Cf([{provide:Omc,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?VFa:b},deps:[rd,[new pv,Omc],[new ov,Nmc]]}])]});var zM=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};ch.Object.defineProperties(zM.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(WFa(a));if(void 0!==this.context)for(var c=k(WFa(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}}});
zM.\u0275fac=function(a){return new (a||zM)(C(Mf),C(Nf))};zM.\u0275dir=Gc({type:zM,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var AM=function(){};AM.\u0275fac=function(a){return new (a||AM)};AM.\u0275mod=Dc({type:AM});AM.\u0275inj=nc({});var unc=["input"],vnc=0,wnc=function(a,b){this.source=a;this.value=b},xnc=new Nc("MatRadioGroup"),ync=new Nc("mat-radio-default-options",{providedIn:"root",factory:XFa}),BM=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+vnc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new Vv};f=BM.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 wnc(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()};
ch.Object.defineProperties(BM.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=tg(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=tg(a);this._markRadiosForCheck()}}});
BM.\u0275fac=function(a){return new (a||BM)(C(mw))};BM.\u0275dir=Gc({type:BM,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var znc=eh(gh(function(a){this._elementRef=a})),CM=function(a,b,c,d,e,g,h,l){b=znc.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++vnc;b.id=b._uniqueId;b.change=new Vv;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===g;l&&(b.tabIndex=wg(l,0));return b};U(CM,znc);f=CM.prototype;
f.focus=function(a,b){b?yx(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 wnc(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)}};
ch.Object.defineProperties(CM.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=tg(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(tg(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=tg(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"}}});CM.\u0275fac=function(){vd()};
CM.\u0275dir=Gc({type:CM,viewQuery:function(a,b){a&1&&Qf(unc,5);if(a&2){var c;Pf(c=Sf())&&(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:[Ye]});var Anc=function(a){return{enterDuration:a}},Bnc={provide:Jw,useExisting:sc(function(){return DM}),multi:!0},DM=function(){BM.apply(this,arguments)};U(DM,BM);DM.\u0275fac=function(){var a;return function(b){return(a||(a=pd(DM)))(b||DM)}}();
DM.\u0275dir=Gc({type:DM,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&Rf(c,EM,5);if(a&2){var d;Pf(d=Sf())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Cf([Bnc,{provide:xnc,useExisting:DM}]),Ye]});var EM=function(a,b,c,d,e,g,h,l){return CM.call(this,a,b,c,d,e,g,h,l)||this};U(EM,CM);EM.\u0275dir=CM.\u0275dir;EM.\u0275fac=function(a){return new (a||EM)(C(xnc,8),C(rd),C(mw),C(xx),C($y),C(tv,8),C(ync,8),kd("tabindex"))};
EM.\u0275cmp=Bc({type:EM,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(a,b){a&1&&M("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(bf("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),mf("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:[Ye],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&&(tf(),G(0,"label",0,1)(2,"span",2),I(3,"span",3)(4,"span",4),G(5,"input",5,6),M("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),H(),G(7,"span",7),I(8,"span",8),H()(),G(9,"span",9)(10,"span",10),R(11,"\u00a0"),H(),uf(12),H()());if(a&2){var c=yf(1);bf("for",b.inputId);z(5);
F("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);bf("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);F("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ff(17,Anc,b._noopAnimations?0:150));z(2);mf("mat-radio-label-before","before"==b.labelPosition)}},dependencies:[zz],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 Cnc=["searchInput"],$Fa=function(a,b){return{issues:a,tab:b}},Dnc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Enc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",ISSUE_IDS:"Issue IDs"},FM=function(a,b,c,d,e,g,h,l){jE.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({},Dnc,this.initialData);
var x;this.currentComponent=null!=(x=this.data.componentId)?x:void 0;this.currentIssueId$=(0,E.defer)(function(){var A;return"issue"===(null==(A=q.data.currentResource)?void 0:A.type)?(0,E.of)(q.data.currentResource.id):E.NEVER});this.selectedIssues=new pJ;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=Sl;this.trackByIssueId=function(A,B){return B.issueId};this.issues$=this.issueFridge.watchSet([]);this.similarIssues$=
this.currentIssueId$.pipe(ue(function(){return hE(q.activeSession,"enableSimilarIssuesTabInIssuePicker")}),Oe(function(A){return q.issueRecommendationsFridge.watch(A+"-ISSUE_DEDUPLICATION",void 0)}),D(function(A){var B;return null==A?void 0:null==(B=A.recommendations)?void 0:B.map(function(K){var O;return null==(O=K.content)?void 0:O.recommendedIssue})}),D(function(A){var B;return null!=(B=null==A?void 0:A.filter(ni))?B:[]}));this.searchText$=new E.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(D(function(A){return A.trim()}),
Be());this.idsInSearchText$=this.searchTextTrimmed$.pipe(D(bBa),D(ol),Be(Kh));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(Oe(function(A){return q.issueFridge.watchSet(A)}));this.searchResults$=this.searchTextTrimmed$.pipe(ze(200),Oe(function(A){return q.issuePickerSearchService.search(A,q.data.edgeType,q.data.currentResource,q.currentComponent)}),Ne(void 0),Le({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(D(function(A){return 1!==A.length||4>A[0].issueId.length?
[]:[A[0].issueId]}),Be(Kh));this.TABS=Enc;this.visibleTabs$=(0,E.combineLatest)([this.similarIssues$.pipe(Ne([])),this.issuesWithIdMatches$.pipe(Ne([])),this.searchTextTrimmed$.pipe(Ne(void 0))]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value;B=B.next().value;return[].concat(Pc(A.length?["Similar issues"]:[]),Pc(B?["Search results"]:[]),Pc(K.length?["Issue IDs"]:[]))}),Be());this.automaticallySelectedTab$=(0,E.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(Ne([]))]).pipe(D(function(A){A=
k(A);var B=A.next().value,K=A.next().value;A.next();return K.length?"Issue IDs":B?"Search results":"Similar issues"}),Be());this.automaticallySelectedTabIndex$=this.automaticallySelectedTab$.pipe(Re(this.visibleTabs$),D(function(A){A=k(A);var B=A.next().value;return A.next().value.indexOf(B)}),Be());this.correctedDisplayedRows=new Tf;this.lastSelectionTab="none"};U(FM,jE);FM.\u0275dir=jE.\u0275dir;
FM.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(omc(this.issuePickerSearchService,this.currentComponent).subscribe())};
FM.prototype.ngAfterViewInit=function(){this.focusManager=Ny(new Mmc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};var FGa=function(a,b){var c,d;return de(function(e){if(1==e.nextAddress)return e.yield(zn(),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(ni);a.correctedDisplayedRows.reset(d);Of(a.correctedDisplayedRows);ie(e)})};
FM.prototype.onPressConfirm=function(){var a=this,b,c,d,e,g,h;return de(function(l){if(1==l.nextAddress){if(!a.selectedIssues.size)return l.return();b=[].concat(Pc(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(Fnc(a,b[0]),2)}e.call(d,"assistive-issue-picker",g,h,l.yieldResult);ie(l)})};FM.prototype.onPressCancel=function(){this.dialogRef.close()};
FM.prototype.selectIssue=function(a,b){this.selectedIssues.reset([a]);this.lastSelectionTab=b};FM.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Fnc=function(a,b){var c,d;return de(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(0);c=Set;return e.yield((0,E.firstValueFrom)(omc(a.issuePickerSearchService,a.currentComponent)),2)}d=new c(e.yieldResult);return e.return(d.has(b)?1:0)})};FM.\u0275fac=function(a){return new (a||FM)(C(hA),C(jA),C(tH),C(ZL),C(DL),C(oH),C(ds),C(Dy))};
FM.\u0275cmp=Bc({type:FM,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(Qf(Cnc,5),Qf(aM,5));if(a&2){var c;Pf(c=Sf())&&(b.inputEl=c.first);Pf(c=Sf())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&M("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})("keydown.escape",function(){return b.onPressCancel()})},features:[Ye],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=v();G(0,"div",0)(1,"div",
1);I(2,"mat-icon",2);G(3,"span");R(4,"Close as duplicate of:");H()();G(5,"header",3);I(6,"mat-icon",4);G(7,"input",5,6);M("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){w(c);var l=yf(8);return y(b.searchText$.next(l.value))});H()()();G(9,"mat-tab-group",7);S(10,"async");S(11,"async");Q(12,cGa,4,3,"mat-tab",8);S(13,"async");Q(14,hGa,4,3,"mat-tab",9);S(15,"async");Q(16,mGa,4,3,"mat-tab",10);S(17,"async");H();Q(18,JGa,4,3,"ng-template",null,11,Vf);G(20,"div",
12)(21,"button",13);M("click",function(){return b.onPressCancel()});R(22," Cancel ");H();G(23,"button",14);M("click",function(){return b.onPressConfirm()});S(24,"async");R(25," Close as duplicate ");H()()}if(a&2){var d,e,g,h;z(9);mf("hidden",!(null==(d=T(10,7,b.visibleTabs$))?0:d.length));F("selectedIndex",T(11,9,b.automaticallySelectedTabIndex$));z(3);F("ngIf",null==(e=T(13,11,b.visibleTabs$))?null:e.includes(b.TABS.SIMILAR_ISSUES));z(2);F("ngIf",null==(g=T(15,13,b.visibleTabs$))?null:g.includes(b.TABS.SEARCH_RESULTS));
z(2);F("ngIf",null==(h=T(17,15,b.visibleTabs$))?null:h.includes(b.TABS.ISSUE_IDS));z(7);F("disabled",!T(24,17,b.selectedIssues.size$))}},dependencies:[tw,yw,JA,yM,lK,UL,VL,nK,wK,Yz,mA,nA,oA,DM,EM,mL,eL,iL,fL,dL,jL,gL,hL,kL,lL,tM,sM,ZB,zL,aM,zM,zw],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 Gnc=function(a,b){return[a,b]},GM=function(){this.size=this.name=""};GM.prototype.ngOnInit=function(){};GM.\u0275fac=function(a){return new (a||GM)};
GM.\u0275cmp=Bc({type:GM,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&&F("svgIcon",b.name)("ngClass",Gf(2,Gnc,b.name,b.size))},dependencies:[rw,JA],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 HM=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new Vv;this.title=""};HM.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};HM.\u0275fac=function(a){return new (a||HM)};
HM.\u0275cmp=Bc({type:HM,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[Uc],decls:4,vars:5,consts:[[1,"flex-kids-x","align-items-center"],["mat-icon-button","","class","gmat-button medium expander",3,"collapsed","click",4,"ngIf"],["class","leaf",4,"ngIf"],[3,"issue"],["mat-icon-button","",1,"gmat-button","medium","expander",3,"click"],["name","arrow-dropdown","size",
"small"],[1,"leaf"]],template:function(a,b){a&1&&(G(0,"div",0),Q(1,KGa,2,3,"button",1),Q(2,LGa,1,0,"div",2),I(3,"b-issue-title-cell",3),H());a&2&&(lf("margin-left",24*b.level,"px"),z(1),F("ngIf",b.expandable),z(1),F("ngIf",!b.expandable),z(1),F("issue",b.issue))},dependencies:[tw,GM,Yz,wK],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 IM=function(){};IM.\u0275fac=function(a){return new (a||IM)};IM.\u0275mod=Dc({type:IM});IM.\u0275inj=nc({imports:[BF]});var JM=function(){};JM.\u0275fac=function(a){return new (a||JM)};JM.\u0275mod=Dc({type:JM});JM.\u0275inj=nc({imports:[Ey,wJ,Hw,wC,rz]});var KM=function(){};KM.\u0275fac=function(a){return new (a||KM)};KM.\u0275mod=Dc({type:KM});KM.\u0275inj=nc({imports:[Hw]});var LM=function(){};LM.\u0275fac=function(a){return new (a||LM)};LM.\u0275mod=Dc({type:LM});LM.\u0275inj=nc({});var MM=function(){};MM.\u0275fac=function(a){return new (a||MM)};MM.\u0275mod=Dc({type:MM});MM.\u0275inj=nc({imports:[KM,Hw,LM,$B]});var NM=function(){};NM.\u0275fac=function(a){return new (a||NM)};NM.\u0275mod=Dc({type:NM});NM.\u0275inj=nc({providers:[IJ],imports:[FJ]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var OM=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};rs(OM,MGa);
OM.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof OM&&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 Hnc(this))}};OM.prototype.continue_=function(a,b){this.blocked_=!1;Inc(this,a,b)};
var Inc=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;Jnc(a)},Lnc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Knc(a);a.silentlyCanceled_=!1}};OM.prototype.callback=function(a){Lnc(this);Inc(this,!0,a)};OM.prototype.errback=function(a){Lnc(this);Inc(this,!1,a)};OM.prototype.addCallback=function(a,b){return Mnc(this,a,null,b)};var Mnc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&Jnc(a);return a};
OM.prototype.then=function(a,b,c){var d,e,g=new iB(function(h,l){e=h;d=l});Mnc(this,e,function(h){h instanceof Hnc?g.cancel():d(h);return Nnc},this);return g.then(a,b,c)};OM.prototype.$goog_Thenable=!0;OM.prototype.branch=function(a){var b=new OM;Mnc(this,b.callback,b.errback,b);a&&(b.parent_=this,this.branches_++);return b};OM.prototype.isError=function(a){return a instanceof Error};
var Onc=function(a){return gIb(a.sequence_,function(b){return"function"===typeof b[1]})},Nnc={},Jnc=function(a){if(a.unhandledErrorId_&&a.fired_&&Onc(a)){var b=a.unhandledErrorId_,c=Pnc[b];c&&(ba.clearTimeout(c.id_),delete Pnc[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===Nnc&&(l=void 0);void 0!==
l&&(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(J_b(b)||"function"===typeof ba.Promise&&b instanceof ba.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,Onc(a)||(c=!0)}}a.result_=b;d&&(l=ps(a.continue_,a,!0),d=ps(a.continue_,a,!1),b instanceof OM?(Mnc(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new Qnc(b),Pnc[b.id_]=b,a.unhandledErrorId_=b.id_)},Knc=function(){aa.call(this)};rs(Knc,aa);Knc.prototype.message="Deferred has already fired";Knc.prototype.name="AlreadyCalledError";
var Hnc=function(){aa.call(this)};rs(Hnc,aa);Hnc.prototype.message="Deferred was canceled";Hnc.prototype.name="CanceledError";var Qnc=function(a){this.id_=ba.setTimeout(ps(this.throwError,this),0);this.error_=a};Qnc.prototype.throwError=function(){delete Pnc[this.id_];throw this.error_;};var Pnc={};var RGa=function(a,b){var c=b||{};b=c.document||document;var d=rh(a).toString(),e=(new ZA(b)).createElement("SCRIPT"),g={script_:e,timeout_:void 0},h=new OM(Rnc,g),l=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(l=window.setTimeout(function(){Snc(e,!0);h.errback(new Tnc(1,"Timeout reached for loading script "+d))},q),g.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Snc(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=function(){Snc(e,
!0,l);h.errback(new Tnc(0,"Error while loading script "+d))};g=c.attributes||{};Oca(g,{type:"text/javascript",charset:"UTF-8"});j_b(e,g);pQb(e,a);Unc(b).appendChild(e);return h},Unc=function(a){var b=aB("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},Rnc=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&Snc(a,!0,this.timeout_)}},Snc=function(a,b,c){null!=c&&ba.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){eB(a)},
0)},Tnc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);aa.call(this,c);this.code=a};rs(Tnc,aa);var NGa=null,TGa=new WeakMap;var PM=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;var e=this;this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c;this.gapiAuthParams=d;this.gapi=(0,E.defer)(function(){return PGa().then(function(g){g=g||window.gapi;e.setGapiConfig(g);return VGa(g,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return g})})})};U(PM,agc);
PM.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(oe(function(c){var d=(0,E.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,E.from)(UGa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(oe(function(){b.setGapiConfig(c);return b.parseResponse(c.client.request({path:b.gapiUrl+a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers}))}))}))};
PM.prototype.parseResponse=function(a){return new E.Observable(function(b){a.then(function(c){!1===c.result&&null!=c.body?b.next({data:c.body}):b.next(c.result);b.complete()},function(c){b.error(c.result)})})};PM.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&SGa(a,b,this.gapiConfigUpdates[b])};var Vnc=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;PM.call(this,a,c,d,e);this.waldoApiKey=b};U(Vnc,PM);Vnc.prototype.makeRequest=function(a){var b=PM.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var qHb=function(a){this.proxiedService=a};U(qHb,agc);qHb.prototype.makeRequest=function(a){var b=this;return(0,E.defer)(function(){return b.proxiedService.makeRequest(a)})};var Wnc=new Nc("environment"),Xnc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},QM=function(){};QM.\u0275fac=function(a){return new (a||QM)};QM.\u0275mod=Dc({type:QM});QM.\u0275inj=nc({imports:[Hw,mI]});var RM=function(){};RM.\u0275fac=function(a){return new (a||RM)};RM.\u0275mod=Dc({type:RM});RM.\u0275inj=nc({imports:[Hw,NM,MM,QM]});var SM=function(){};SM.\u0275fac=function(a){return new (a||SM)};SM.\u0275mod=Dc({type:SM});SM.\u0275inj=nc({imports:[BF,RM,JM]});var TM=function(){};TM.\u0275fac=function(a){return new (a||TM)};TM.\u0275mod=Dc({type:TM});TM.\u0275inj=nc({imports:[BF]});var UM=function(){};UM.\u0275fac=function(a){return new (a||UM)};UM.\u0275mod=Dc({type:UM});UM.\u0275inj=nc({imports:[Ey,BF,NL,wC,$B,XC,RL]});var Ync=["theInput"],VM=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new Vv;this.commit=new Vv};VM.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};VM.\u0275fac=function(a){return new (a||VM)};
VM.\u0275cmp=Bc({type:VM,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&Qf(Ync,5);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"input",0,1),M("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),H());a&2&&(mf("readonly",b.readonly)("override",b.readonly),F("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[kg,Uw,$w],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 WM=function(){};WM.\u0275fac=function(a){return new (a||WM)};WM.\u0275mod=Dc({type:WM});WM.\u0275inj=nc({imports:[BF,$B,BG,wC]});var XM=function(){};XM.\u0275fac=function(a){return new (a||XM)};XM.\u0275mod=Dc({type:XM});XM.\u0275inj=nc({imports:[BF,$B,JM,WM]});var YM=function(){};YM.\u0275fac=function(a){return new (a||YM)};YM.\u0275mod=Dc({type:YM});YM.\u0275inj=nc({imports:[BF,JM,wC]});var ZM=function(){xG.apply(this,arguments)};U(ZM,xG);ch.Object.defineProperties(ZM.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});ZM.\u0275fac=function(){var a;return function(b){return(a||(a=pd(ZM)))(b||ZM)}}();ZM.\u0275dir=Gc({type:ZM,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[Ye]});var $M=function(){};
$M.\u0275fac=function(a){return new (a||$M)};$M.\u0275mod=Dc({type:$M});$M.\u0275inj=nc({imports:[BF,BG]});var aN=function(){};aN.\u0275fac=function(a){return new (a||aN)};aN.\u0275mod=Dc({type:aN});aN.\u0275inj=nc({imports:[BF]});var bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=Dc({type:bN});bN.\u0275inj=nc({imports:[BF,$B]});var cN=function(){};cN.\u0275fac=function(a){return new (a||cN)};cN.\u0275mod=Dc({type:cN});cN.\u0275inj=nc({imports:[aN,oJ,BF,IM,ox,bN,UM,TM,wC,$B,SM,$M,BG,XM,YM]});var dN=function(){};dN.\u0275fac=function(a){return new (a||dN)};dN.\u0275mod=Dc({type:dN});dN.\u0275inj=nc({imports:[sz,Hw,sz]});var eN=function(){};eN.\u0275fac=function(a){return new (a||eN)};eN.\u0275mod=Dc({type:eN});eN.\u0275inj=nc({imports:[BF,dN]});var fN=function(){};fN.\u0275fac=function(a){return new (a||fN)};fN.\u0275mod=Dc({type:fN});fN.\u0275inj=nc({imports:[Hw,xM]});var gN=function(){};gN.\u0275fac=function(a){return new (a||gN)};gN.\u0275mod=Dc({type:gN});gN.\u0275inj=nc({imports:[Cz,sz,sz]});var hN=function(){KK.apply(this,arguments)};U(hN,KK);hN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(hN)))(b||hN)}}();hN.\u0275dir=Gc({type:hN,selectors:[["","matCellDef",""]],features:[Cf([{provide:KK,useExisting:hN}]),Ye]});var iN=function(){LK.apply(this,arguments)};U(iN,LK);iN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(iN)))(b||iN)}}();iN.\u0275dir=Gc({type:iN,selectors:[["","matHeaderCellDef",""]],features:[Cf([{provide:LK,useExisting:iN}]),Ye]});
var jN=function(){return MK.apply(this,arguments)||this};U(jN,MK);jN.prototype._updateColumnCssClassName=function(){MK.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};ch.Object.defineProperties(jN.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});jN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(jN)))(b||jN)}}();
jN.\u0275dir=Gc({type:jN,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Cf([{provide:MK,useExisting:jN},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:jN}]),Ye]});var kN=function(){NK.apply(this,arguments)};U(kN,NK);kN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(kN)))(b||kN)}}();
kN.\u0275dir=Gc({type:kN,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ye]});var lN=function(){OK.apply(this,arguments)};U(lN,OK);lN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(lN)))(b||lN)}}();lN.\u0275dir=Gc({type:lN,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ye]});var mN=function(){return RK.apply(this,arguments)||this};U(mN,RK);mN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(mN)))(b||mN)}}();mN.\u0275dir=Gc({type:mN,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Cf([{provide:RK,useExisting:mN}]),Ye]});var nN=function(){TK.apply(this,arguments)};U(nN,TK);nN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(nN)))(b||nN)}}();
nN.\u0275dir=Gc({type:nN,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Cf([{provide:TK,useExisting:nN}]),Ye]});var oN=function(){};U(oN,VK);oN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(oN)))(b||oN)}}();
oN.\u0275cmp=Bc({type:oN,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Cf([{provide:VK,useExisting:oN}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&rf(0,0)},dependencies:[UK],encapsulation:2});var pN=function(){};U(pN,WK);pN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(pN)))(b||pN)}}();
pN.\u0275cmp=Bc({type:pN,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Cf([{provide:WK,useExisting:pN}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&rf(0,0)},dependencies:[UK],encapsulation:2});var Znc=[[["caption"]],[["colgroup"],["col"]]],qN=function(){aL.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};U(qN,aL);qN.prototype.ngOnInit=function(){aL.prototype.ngOnInit.call(this);this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")};qN.\u0275fac=function(){var a;return function(b){return(a||(a=pd(qN)))(b||qN)}}();
qN.\u0275cmp=Bc({type:qN,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&mf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Cf([{provide:aL,useExisting:qN},{provide:JK,useExisting:qN},{provide:Llc,useClass:PK},{provide:gXb,useClass:eXb},{provide:Slc,useValue:null}]),Ye],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",
""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(tf(Znc),uf(0),uf(1,1),rf(2,0)(3,1)(4,2)(5,3))},dependencies:[XK,YK,ZK,$K],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--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__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--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{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__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],
encapsulation:2});var rN=function(){};rN.\u0275fac=function(a){return new (a||rN)};rN.\u0275mod=Dc({type:rN});rN.\u0275inj=nc({imports:[sz,cL,sz]});var sN=function(){};sN.\u0275fac=function(a){return new (a||sN)};sN.\u0275mod=Dc({type:sN});sN.\u0275inj=nc({imports:[cL,sz,sz]});var tN=function(){};tN.\u0275fac=function(a){return new (a||tN)};tN.\u0275mod=Dc({type:tN});tN.\u0275inj=nc({providers:[{provide:Nmc,useValue:{enabled:!0}}],imports:[BF,fN,cN,$B,wC,pA,gN,sN,xM,XC,eN,bM,AM]});var uN=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Vv;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))}};uN.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
uN.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};uN.\u0275fac=function(a){return new (a||uN)(C(rd))};uN.\u0275dir=Gc({type:uN,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var vN=function(){};vN.\u0275fac=function(a){return new (a||vN)};vN.\u0275mod=Dc({type:vN});vN.\u0275inj=nc({});var wN=function(){};wN.\u0275fac=function(a){return new (a||wN)};wN.\u0275cmp=Bc({type:wN,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(tf(),G(0,"span",0),uf(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 $nc=["el"],xN=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};xN.prototype.getNgContentParentEl=function(){return this.el.nativeElement};xN.prototype.hide=function(){this.opened=!1};xN.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};xN.\u0275fac=function(a){return new (a||xN)(C(SL),C(IF),C(ZJ))};
xN.\u0275cmp=Bc({type:xN,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&Qf($nc,7);if(a&2){var c;Pf(c=Sf())&&(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&&(tf(),G(0,"a",0,1),M("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),G(2,"b-glue"),I(3,"mat-icon",2),H(),G(4,"span",null,3),uf(6),H()(),Q(7,WGa,11,3,"ng-template",4));if(a&2){var c=yf(1);z(7);F("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[JA,qz,pz,uN,wN,Yz,ZB],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 aoc=new Nc("mat-checkbox-default-options",{providedIn:"root",factory:XGa});var boc=["input"],coc=["label"],doc={provide:Jw,useExisting:sc(function(){return yN}),multi:!0},eoc=function(){},foc=0,goc=XGa(),hoc=gh(dh(eh(fh(function(a){this._elementRef=a})))),zN=function(a,b,c,d,e,g,h){b=hoc.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 Vv;b.indeterminateChange=new Vv;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=
function(){};b._checked=!1;b._disabled=!1;b._indeterminate=!1;b._options=b._options||goc;b.color=b.defaultColor=b._options.color||goc.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++foc;return b};U(zN,hoc);f=zN.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)};
ch.Object.defineProperties(zN.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=tg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=tg(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=tg(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=tg(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});zN.\u0275fac=function(){vd()};
zN.\u0275dir=Gc({type:zN,viewQuery:function(a,b){a&1&&(Qf(boc,5),Qf(coc,5),Qf(zz,5));if(a&2){var c;Pf(c=Sf())&&(b._inputElement=c.first);Pf(c=Sf())&&(b._labelElement=c.first);Pf(c=Sf())&&(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:[Ye]});
var yN=function(a,b,c,d,e,g){a=zN.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};
U(yN,zN);yN.\u0275dir=zN.\u0275dir;f=yN.prototype;f.focus=function(){this._inputElement.nativeElement.focus()};f._createChangeEvent=function(a){var b=new eoc;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(){zN.prototype._handleInputClick.call(this)};f._onTouchTargetClick=function(){zN.prototype._handleInputClick.call(this);this.disabled||this._inputElement.nativeElement.focus()};
f._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};yN.\u0275fac=function(a){return new (a||yN)(C(rd),C(mw),C(Se),kd("tabindex"),C(tv,8),C(aoc,8))};
yN.\u0275cmp=Bc({type:yN,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&(sf("id",b.id),bf("tabindex",null)("aria-label",null)("aria-labelledby",null),mf("_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:[Cf([doc]),
Ye],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&&(tf(),G(0,"div",0),M("click",function(d){return b._preventBubblingFromLabel(d)}),G(1,"div",1,2)(3,"div",3),M("click",function(){return b._onTouchTargetClick()}),H(),G(4,"input",4,5),M("blur",function(){return b._onBlur()})("click",function(){return b._onInputClick()})("change",
function(d){return b._onInteractionEvent(d)}),H(),I(6,"div",6),G(7,"div",7),fd(),G(8,"svg",8),I(9,"path",9),H(),gd(),I(10,"div",10),H(),I(11,"div",11),H(),G(12,"label",12,13),uf(14),H()());if(a&2){var c=yf(2);mf("mdc-form-field--align-end","before"==b.labelPosition);z(4);mf("mdc-checkbox--selected",b.checked);F("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex);bf("aria-label",b.ariaLabel||null)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("name",b.name)("value",b.value);z(7);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0);z(1);F("for",b.inputId)}},dependencies:[zz],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 AN=function(){};AN.\u0275fac=function(a){return new (a||AN)};AN.\u0275mod=Dc({type:AN});AN.\u0275inj=nc({});var ioc=function(a){return{enterDuration:a}},joc=function(){},koc={provide:Jw,useExisting:sc(function(){return BN}),multi:!0},BN=function(a,b,c,d,e,g,h){a=zN.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};U(BN,zN);BN.\u0275dir=zN.\u0275dir;f=BN.prototype;f._createChangeEvent=function(a){var b=new joc;b.source=this;b.checked=a;return b};f._getAnimationTargetElement=function(){return this._elementRef.nativeElement};f.ngAfterViewInit=function(){var a=this;zN.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();zN.prototype._handleInputClick.call(this)};f.focus=function(a,b){a?yx(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};BN.\u0275fac=function(a){return new (a||BN)(C(rd),C(mw),C(xx),C(Se),kd("tabindex"),C(tv,8),C(aoc,8))};
BN.\u0275cmp=Bc({type:BN,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(sf("id",b.id),bf("tabindex",null)("aria-label",null)("aria-labelledby",null),mf("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:[Cf([koc]),Ye],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&&(tf(),G(0,"label",0,1)(2,"span",2)(3,"input",3,4),M("change",
function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),H(),G(5,"span",5),I(6,"span",6),H(),I(7,"span",7),G(8,"span",8),fd(),G(9,"svg",9),I(10,"path",10),H(),gd(),I(11,"span",11),H()(),G(12,"span",12,13),M("cdkObserveContent",function(){return b._onLabelTextChange()}),G(14,"span",14),R(15,"\u00a0"),H(),uf(16),H()());if(a&2){var c=yf(1),d=yf(13);bf("for",b.inputId);z(2);mf("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());z(1);
F("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);bf("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);z(2);F("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ff(18,ioc,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[zz,By],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 loc=function(){this.checked=!1};loc.\u0275fac=function(a){return new (a||loc)};loc.\u0275cmp=Bc({type:loc,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&&F("disabled",!0)("checked",b.checked)},dependencies:[BN],encapsulation:2,changeDetection:0});var moc=["el"],CN=function(a,b,c){jE.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};U(CN,jE);CN.\u0275dir=jE.\u0275dir;CN.prototype.ngOnInit=function(){};CN.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(Pe(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};CN.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var noc=function(a){var b=a.getNgContentParentEl(),c,d;if(d=lEa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};CN.prototype.hide=function(){this.opened=!1};var ZGa=function(a,b){mEa(b)||(b.preventDefault(),b.stopPropagation(),En(a.domSafe,a.href))};CN.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var aHa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},$Ga=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()})}};CN.\u0275fac=function(a){return new (a||CN)(C(ZJ),C(SL),C(IF))};
CN.\u0275cmp=Bc({type:CN,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(Qf(moc,7),Qf(qz,7));if(a&2){var c;Pf(c=Sf())&&(b.el=c.first);Pf(c=Sf())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[Ye],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&&(tf(),G(0,"a",0,1),M("click",function(d){mEa(d)||(d.preventDefault(),d.stopPropagation(),noc(b)?
b.opened=!b.opened:ZGa(b,d))}),Q(2,YGa,2,0,"b-glue",2),G(3,"span",null,3),uf(5),H()(),Q(6,bHa,6,3,"ng-template",4));if(a&2){var c=yf(1);mf("needs-user-confirm",noc(b));F("href",b.originalHref,Id)("rel",b.EXTERNAL_LINK_REL);z(2);F("ngIf",noc(b));z(4);F("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[tw,JA,qz,pz,uN,wN,Yz,ZB],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 DN=function(a){this.codefont$=a.codeFont$};DN.\u0275fac=function(a){return new (a||DN)(u(BI))};DN.\u0275prov=mc({token:DN,factory:DN.\u0275fac,providedIn:"root"});var ooc=["child"],EN=function(a){this.codefont=a};EN.prototype.ngOnInit=function(){};EN.prototype.ngOnChanges=function(){kEa(this.child.nativeElement,this.content.content)};EN.\u0275fac=function(a){return new (a||EN)(C(DN))};
EN.\u0275cmp=Bc({type:EN,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&Qf(ooc,7);if(a&2){var c;Pf(c=Sf())&&(b.child=c.first)}},inputs:{content:"content"},features:[Uc],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(G(0,"div",0,1),S(2,"async"),H());a&2&&mf("codefont",T(2,2,b.codefont.codefont$))},dependencies:[zw],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var FN=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(D(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Be());this.textDisplayPreferences$.pipe(D(function(c){return c.lastPublishMode===Z9b}),Be());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(D(function(c){return c.commentDisplayOverride}),Be())};FN.\u0275fac=function(a){return new (a||FN)(u(ds),u(BI))};
FN.\u0275prov=mc({token:FN,factory:FN.\u0275fac,providedIn:"root"});var GN=function(){this.isMentioningMe=!1};GN.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};GN.\u0275fac=function(a){return new (a||GN)};
GN.\u0275cmp=Bc({type:GN,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&&(G(0,"span",0,1),R(2),H(),G(3,"onedev-hovercard",null,2),I(5,"b-issue-person-card",3),H());if(a&2){var c=yf(4);mf("me",b.isMentioningMe);F("onedevHovercardTrigger",c);z(2);zf("@",b.username,"");z(3);F("email",b.email)}},dependencies:[aK,xJ,CJ],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 HN=function(a){r.call(this,a,0,HN.messageId)};U(HN,r);HN.prototype.getUrl=function(){return V(this,1)};HN.prototype.setUrl=function(a){return n(this,1,a)};HN.prototype.hasUrl=function(){return tk(this,1)};HN.prototype.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};HN.messageId="b.ImageRedirectRequest";var IN=function(a){r.call(this,a,0,IN.messageId)};U(IN,r);IN.prototype.getUrl=function(){return V(this,1)};IN.prototype.setUrl=function(a){return n(this,1,a)};IN.prototype.hasUrl=function(){return tk(this,1)};IN.prototype.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};IN.messageId="b.ImageRedirectResponse";var JN=function(a){this.executor=a},poc=function(a,b){var c=new HN;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:IN}).pipe(D(function(d){return d.getUrl()}))};JN.\u0275fac=function(a){return new (a||JN)(u(ZC))};JN.\u0275prov=mc({token:JN,factory:JN.\u0275fac,providedIn:"root"});var KN=function(a){var b=this;this.imageRedirector=a;this.src$=new E.BehaviorSubject("");this.showImage$=new E.BehaviorSubject(!1);this.error$=new E.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(D(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(Pc(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,E.combineLatest)([this.src$,this.showImage$]).pipe(ue(function(c){c=k(c);c.next();return c.next().value}),Oe(function(c){var d=k(c).next().value;return(c=wva(d))?(0,E.of)(c):poc(b.imageRedirector,d).pipe(ye(function(){b.error$.next(!0);return d}))}))};KN.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
ch.Object.defineProperties(KN.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}}});KN.\u0275fac=function(a){return new (a||KN)(C(JN))};
KN.\u0275cmp=Bc({type:KN,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&&(Q(0,dHa,3,4,"ng-container",0),S(1,"async"),Q(2,eHa,8,9,"ng-template",null,1,Vf),Q(4,fHa,2,3,"ng-template",null,
2,Vf));if(a&2){var c=yf(5);F("ngIf",!1===T(1,2,b.error$))("ngIfElse",c)}},dependencies:[tw,JA,ZB,wN,zw],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 qoc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},LN=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=qoc;this.src$=new E.BehaviorSubject("");this.isMarkdownImage$=new E.BehaviorSubject(!1);this.displayMode$=(0,E.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(D(function(d){var e=k(d);d=e.next().value;var g=e.next().value;e=e.next().value;return d&&
hE(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!g&&e?"COLLAPSE":g?"SHOW":"HIDE":"HIDE"}),Ne("HIDE"))};ch.Object.defineProperties(LN.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}}});LN.\u0275fac=function(a){return new (a||LN)(C(ds),C(BI))};
LN.\u0275cmp=Bc({type:LN,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&&(Q(0,iHa,5,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.src$))},dependencies:[tw,uw,vw,KN,zw],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 roc=Symbol(),soc=Symbol(),toc=Symbol(),uoc=Symbol(),voc=Symbol(),woc=Symbol(),MN=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=[]},zoc=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"))&&sva(h)&&e&&lEa(e)&&h===e.textContent&&(g=e.nextSibling,xoc(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,x=g.dataset.bImgRedirectedSrc;
jHa(g);if(q){var A=g.dataset.bImgAlt;if(sva(q))xoc(h,g,q,A,l,!0);else if(hE(h.flags.session,"enableMarkdownInlineImages"))g=h.createComponent(KN,g,l),l=g.instance,l.src=q,A&&(l.alt=A),h.secureImageRefs.push(g);else{var B=document.createElement("a");A?B.appendChild(document.createTextNode(A)):B.appendChild(document.createTextNode(q));g.appendChild(B);yoc(h,B,q,x||q,l)}}break;case "checkbox":h=a;A=c;q=null!=g.dataset.bCheckboxChecked;jHa(g);g=h.createComponent(loc,g,A);g.instance.checked=q;h.checkboxRefs.push(g);
break;case "url":h=a;q=c;A=g.dataset.bOriginalHref;l=g.dataset.bRedirectedHref;A&&l&&(g.removeAttribute("href"),yoc(h,g,A,l,q));break;case "broken-url":h=a;l=c;if(A=g.dataset.bOriginalHref){q=Array.from(g.childNodes);g=h.createComponent(xN,g,l);l=g.instance;l.originalHref=A;A=l.getNgContentParentEl();q=k(q);for(l=q.next();!l.done;l=q.next())A.appendChild(l.value);h.brokenLinkRefs.push(g)}break;case "mention":a.session.isInternalSession()&&(A=void 0,h=a,l=c,q="","@"===(null==(A=g.textContent)?void 0:
A[0])&&(q=g.textContent.slice(1)),jHa(g),g=h.createComponent(GN,g,l),A=g.instance,A.email=q,A.isMentioningMe=h.session.getUserEmail()===q,h.mentionChipRefs.push(g));break;case "issue-reference":B=void 0;h=a;var K=c;q=g.href;A=g.dataset.bIssueId;l=g.dataset.bCommentNumber;if(q&&A){x=Number(l);l=Array.from(g.childNodes);var O=document.createElement("span");null==(B=g.parentNode)||B.insertBefore(O,g);B=h.createComponent(rL,O,K);K=B.instance;K.href=q;K.issueId=A;K.commentNumber=x;q=K.el.nativeElement;
A=k(l);for(l=A.next();!l.done;l=A.next())q.appendChild(l.value);g.remove();h.issueReferenceRefs.push(B)}}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))};MN.prototype.ngOnDestroy=function(){Aoc(this)};
var xoc=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(LN,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=g;a.snipItImageRefs.push(b)},yoc=function(a,b,c,d,e){var g=Array.from(b.childNodes);b=a.createComponent(CN,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)};
MN.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[Cc]||null;var d=c.elementInjector||Iea();c=(new Yf(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);$Sb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var Aoc=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=[]};MN.prototype[roc]=function(){return this.secureImageRefs.slice()};MN.prototype[soc]=function(){return this.snipItImageRefs.slice()};MN.prototype[toc]=function(){return this.checkboxRefs.slice()};MN.prototype[uoc]=function(){return this.externalHyperlinkRefs.slice()};
MN.prototype[voc]=function(){return this.brokenLinkRefs.slice()};MN.prototype[woc]=function(){return this.issueReferenceRefs.slice()};MN.\u0275fac=function(a){return new (a||MN)(u(kw),u(FN),u(ds))};MN.\u0275prov=mc({token:MN,factory:MN.\u0275fac});var Boc=["child"],Coc=Symbol(),NN=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};NN.prototype.ngOnInit=function(){};NN.prototype.ngOnChanges=function(){Aoc(this.dynamicComponents);var a=this.child.nativeElement;kEa(a,this.content.content);zoc(this.dynamicComponents,a,this.viewContainerRef)};NN.prototype.ngOnDestroy=function(){Aoc(this.dynamicComponents)};NN.prototype[Coc]=function(){return this.dynamicComponents};
NN.\u0275fac=function(a){return new (a||NN)(C(MN,2),C(DN),C(Nf))};
NN.\u0275cmp=Bc({type:NN,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&Qf(Boc,7);if(a&2){var c;Pf(c=Sf())&&(b.child=c.first)}},inputs:{content:"content"},features:[Cf([{provide:MN,useClass:MN}]),Uc],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(G(0,"div",0,1),S(2,"async"),H());a&2&&mf("codefont",T(2,2,b.codefont.codefont$))},dependencies:[zw],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 Doc=["child"],Eoc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},ON=function(a){this.codefont=a};ON.prototype.ngOnInit=function(){};ON.\u0275fac=function(a){return new (a||ON)(C(DN))};
ON.\u0275cmp=Bc({type:ON,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},decls:3,vars:5,consts:[[1,"type-m"],[4,"ngFor","ngForOf"],[3,"section"]],template:function(a,b){a&1&&(G(0,"div",0),S(1,"async"),Q(2,kHa,2,1,"ng-container",1),H());a&2&&(mf("codefont",T(1,3,b.codefont.codefont$)),z(2),F("ngForOf",b.content.plainSection))},dependencies:function(){return[sw,PN,zw]},styles:[Eoc()],changeDetection:0});var PN=function(){};PN.prototype.ngOnInit=function(){};
PN.\u0275fac=function(a){return new (a||PN)};PN.\u0275cmp=Bc({type:PN,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),Q(1,lHa,1,1,"b-plain-format-quoted-section",0),Q(2,mHa,1,1,"b-plain-format-unquoted-section",0),L());a&2&&(z(1),F("ngIf",b.section.isQuoted),z(1),F("ngIf",!b.section.isQuoted))},dependencies:function(){return[tw,QN,RN]},encapsulation:2,changeDetection:0});
var QN=function(){this.showQuote=!1;Foc++;this.childId="plainFormatQuotedSection"+Foc};QN.prototype.ngOnInit=function(){};QN.prototype.ngOnChanges=function(){nHa(this)};var nHa=function(a){var b=a.child.nativeElement;a.showQuote?kEa(b,a.section.content):jEa(b)};QN.\u0275fac=function(a){return new (a||QN)};
QN.\u0275cmp=Bc({type:QN,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&Qf(Doc,7);if(a&2){var c;Pf(c=Sf())&&(b.child=c.first)}},inputs:{section:"section"},features:[Uc],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&&(G(0,"div"),Q(1,oHa,2,1,"a",0),Q(2,pHa,2,1,"a",1),I(3,"div",2,3),H());a&2&&(z(1),F("ngIf",!b.showQuote),z(1),F("ngIf",b.showQuote),z(1),F("id",b.childId))},dependencies:[tw],styles:[Eoc()],changeDetection:0});var Foc=0,RN=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};RN.prototype.ngOnInit=function(){};
RN.prototype.ngOnChanges=function(){Aoc(this.dynamicComponents);var a=this.child.nativeElement;kEa(a,this.section.content);zoc(this.dynamicComponents,a,this.viewContainerRef)};RN.\u0275fac=function(a){return new (a||RN)(C(MN,2),C(Nf))};
RN.\u0275cmp=Bc({type:RN,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&Qf(Doc,7);if(a&2){var c;Pf(c=Sf())&&(b.child=c.first)}},inputs:{section:"section"},features:[Cf([{provide:MN,useClass:MN}]),Uc],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&I(0,"div",0,1)},encapsulation:2,changeDetection:0});var SN=function(){};SN.prototype.ngOnInit=function(){};SN.\u0275fac=function(a){return new (a||SN)};
SN.\u0275cmp=Bc({type:SN,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&(Q(0,qHa,2,1,"ng-container",0),Q(1,rHa,2,1,"ng-container",0),Q(2,sHa,2,1,"ng-container",0));a&2&&(F("ngIf",b.formattedComment.literalFormat),z(1),F("ngIf",b.formattedComment.markdownFormat),z(1),F("ngIf",b.formattedComment.plainFormat))},dependencies:[tw,EN,NN,ON],encapsulation:2,changeDetection:0});var TN=function(a){r.call(this,a,0,TN.messageId)};U(TN,r);f=TN.prototype;f.getFormattingMode=function(){return W(this,1,0)};f.setFormattingMode=function(a){return n(this,1,a)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return tk(this,2)};f.getSourceOrUndefined=function(){return bt(this,2)};f.getIssueId=function(){return dj(this,3)};f.setIssueId=function(a){return n(this,3,a)};f.getIdPrefix=function(){return V(this,4)};
f.setIdPrefix=function(a){return n(this,4,a)};f.setCurrentTrackerId=function(a){n(this,7,a)};f.toObject=function(){if(null!=this){t(this);var a={formattingMode:p(ir(this,1)),source:p(m(this,2)),issueId:p(m(this,3)),idPrefix:p(m(this,4)),audience:p(ir(this,6)),currentTrackerId:p(m(this,7))}}else a=void 0;return a};TN.messageId="b.FormatCommentRequest";var UN=function(a){r.call(this,a,0,UN.messageId)};U(UN,r);UN.prototype.getFormattedComment=function(){return Z(this,Bj,1)};UN.prototype.hasFormattedComment=function(){return Aj(this,Bj,1)};UN.prototype.getMentionsList=function(){return Ch(this,UD,2)};UN.repeatedFields_=[2];UN.prototype.toObject=function(){if(null!=this){t(this);var a={formattedComment:d9b(this.getFormattedComment()),mentionsList:Gb(this.getMentionsList(),w9b)}}else a=void 0;return a};UN.messageId="b.FormatCommentResponse";var VN=function(a,b){this.executor=a;this.currentTrackerId=b};VN.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?tHa(a):Goc(this,a).pipe(D(function(b){return b.hasFormattedComment()?lra(b.getFormattedComment()):{}}))};
var Hoc=function(a,b){if("LITERAL"===b.formattingMode||""===b.comment.trim())return(0,E.of)([]);var c=new TN;c.setSource(b.comment);var d;c.setIssueId(null!=(d=hi(b.issueId))?d:0);n(c,6,I7b[b.audience]);c.setFormattingMode(xta(b.formattingMode));c.setIdPrefix(b.idPrefix);return Goc(a,b).pipe(D(function(e){return e.getMentionsList().map(function(g){return ci(g.getMentionedUser())||""})}))},Goc=function(a,b){var c,d=(new TN).setSource(b.comment).setIssueId(null!=(c=hi(b.issueId))?c:0);b=n(d,6,I7b[b.audience]).setFormattingMode(xta(b.formattingMode)).setIdPrefix(b.idPrefix);
(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:UN})};VN.\u0275fac=function(a){return new (a||VN)(u(ZC),u(kE))};VN.\u0275prov=mc({token:VN,factory:VN.\u0275fac,providedIn:"root"});var WN=function(a){jE.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new E.ReplaySubject(1);this.formattedResult$=this.params$.pipe(ze(200),Oe(function(c){return b.formatter.format(c).pipe(Ioc,ye(function(){var d={literalFormat:{content:ita(zg(c.comment))}};return(0,E.of)({formattedComment:d,isFallback:!0})}))}))};U(WN,jE);WN.\u0275dir=jE.\u0275dir;
WN.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()})}))};WN.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()})};
WN.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};WN.\u0275fac=function(a){return new (a||WN)(C(VN))};
WN.\u0275cmp=Bc({type:WN,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[Ye,Uc],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(Q(0,uHa,3,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.formattedResult$))},dependencies:[tw,SN,zw],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 Ioc=D(function(a){return{formattedComment:a,isFallback:!1}});var XN=function(a,b,c){jE.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new Vv;this.checkedSubject=new E.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(Pe(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(Pe(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};U(XN,jE);XN.\u0275dir=jE.\u0275dir;XN.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};XN.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};XN.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(Pe(this.destroyed$)).subscribe()};XN.\u0275fac=function(a){return new (a||XN)(C(BI),C(FN),C(vI))};
XN.\u0275cmp=Bc({type:XN,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[Ye,Uc],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&&(G(0,"mat-checkbox",0),M("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?Z9b:e?e:$9b;b.save({lastPublishMode:d});b.change.emit(uk(d))}),S(1,"async"),R(2," Markdown "),H(),Q(3,vHa,2,2,"a",1));if(a&2){var c;F("checked",null!==(c=T(1,2,b.checkedSubject))&&void 0!==c?c:!1);z(3);F("ngIf",b.mdHelpLink)}},dependencies:[BN,tw,JA,Zz,ZB,zw],
encapsulation:2,changeDetection:0});var YN=function(a,b){jE.call(this);var c=this;this.appEvents=b;this.init=new Vv;this.FormattingMode=J7b;a.textDisplayPreferencesSubject$.pipe(Pe(this.destroyed$)).subscribe(function(d){switch(d.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":c.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":c.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":c.formattingModeOverride="PLAIN";break;case void 0:c.formattingModeOverride=void 0;break;default:nh(d.commentDisplayOverride)}})};
U(YN,jE);YN.\u0275dir=jE.\u0275dir;YN.prototype.ngOnInit=function(){};YN.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)};YN.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
YN.\u0275fac=function(a){return new (a||YN)(C(BI),C(SF))};
YN.\u0275cmp=Bc({type:YN,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[Ye,Uc],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&&(G(0,"div",0)(1,"div",1),
Q(2,wHa,1,1,"b-formatted-comment-presenter",2),H()(),Q(3,xHa,1,5,"ng-template",null,3,Vf));if(a&2){var c=yf(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;F("ngIf",a)("ngIfElse",c)}},dependencies:[tw,SN,WN],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 ZN=function(){};ZN.\u0275fac=function(a){return new (a||ZN)};ZN.\u0275mod=Dc({type:ZN});ZN.\u0275inj=nc({imports:[BF,JM,SM]});var $N=function(){this.segments=[];this.clickMain=new Vv;this.clickSegment=new Vv};$N.prototype.ngOnInit=function(){};ch.Object.defineProperties($N.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});$N.\u0275fac=function(a){return new (a||$N)};
$N.\u0275cmp=Bc({type:$N,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&&(G(0,"span",0)(1,"a",1),M("click",function(){return b.clickMain.emit(b.label)}),I(2,"mat-icon",2),R(3),H(),Q(4,zHa,6,2,"ng-container",3),H());a&2&&(z(1),mf("square-right",b.showMoreButton),bf("href",b.href||void 0,Id),z(1),F("svgIcon",b.icon),z(1),zf(" ",b.label," "),z(1),F("ngIf",b.showMoreButton))},dependencies:[sw,tw,JA,Yz,Zz,RB,PB,QB],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 Joc=[$N],aO=function(){};aO.\u0275fac=function(a){return new (a||aO)};aO.\u0275mod=Dc({type:aO});aO.\u0275inj=nc({imports:[BF,wC,SB,$B,XC]});var bO=function(){};bO.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};bO.\u0275fac=function(a){return new (a||bO)};
bO.\u0275cmp=Bc({type:bO,selectors:[["empty-toolbar"]],decls:3,vars:0,consts:[[1,"button-bar","flex-kids-x","align-items-center","border-bottom","padded-s"],["mat-icon-button","","color","primary","matTooltip","Go back","aria-label","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward"]],template:function(a,b){a&1&&(G(0,"section",0)(1,"button",1),M("click",function(){return b.onPressBack()}),I(2,"mat-icon",2),H()())},dependencies:[JA,Yz,ZB],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var cO=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 Vv;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=RPb(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=RPb(function(){Lm(Gn.SIDEBAR,"resizeKeyboard")},2E3)};cO.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
cO.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var Koc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};cO.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
cO.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)};
ch.Object.defineProperties(cO.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}}});cO.\u0275fac=function(a){return new (a||cO)(C(kH,2),C(SF),C(Se))};
cO.\u0275cmp=Bc({type:cO,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&nf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[Cf([kH])],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&&(tf(),G(0,"div",0)(1,"div",1),uf(2),H(),G(3,"div",2),M("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return Koc(b,-10)})("keyup.arrowright",function(){return Koc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),H()(),Q(4,AHa,2,6,"button",3));a&2&&(lf("width",b.width+"px"),mf("isDragging",b.isDragging)("isClosed",b.isClosed),F("ngClass",b.direction),z(1),lf("width",b.lastOpenPosition+"px"),z(2),bf("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),z(1),F("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[rw,tw,JA,Yz,ZB,Yy],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 Loc=new Nc("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),Moc=new Nc("isScrolledOnScreen",{factory:function(){return{fully:BHa,partially:CHa}}}),dO=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};dO.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?DHa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):EHa(a,this.isScrolledOnScreen,b)};
var Noc=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(He(function(g,h){return{cumulativeTime:g.cumulativeTime+(g.wasPreviouslyOnScreen?Date.now()-g.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),Oe(function(g){if(0===e&&g.wasPreviouslyOnScreen)return(0,E.of)(void 0);
var h=e-g.cumulativeTime;return 0>h?(0,E.of)(void 0):g.wasPreviouslyOnScreen?(0,E.of)(void 0).pipe(Ae(h)):E.NEVER}),D(function(){}),Ce())};dO.\u0275fac=function(a){return new (a||dO)(u(Loc),u(Moc))};dO.\u0275prov=mc({token:dO,factory:dO.\u0275fac,providedIn:"root"});[].concat(Pc(Joc),[cO,wN]);var eO=function(){};eO.\u0275fac=function(a){return new (a||eO)};eO.\u0275mod=Dc({type:eO});eO.\u0275inj=nc({imports:[BF,wC,$B,XC,dz,aO]});var fO=function(){};fO.\u0275fac=function(a){return new (a||fO)};fO.\u0275mod=Dc({type:fO});fO.\u0275inj=nc({imports:[Cz,sz,Cy,AN,sz,AN]});var Ooc=Fg("transformPanelWrap",[Jg("* => void",nna("@transformPanel",[mna()]))]),Poc=Fg("transformPanel",[Ig("void",Hg({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ig("showing",Hg({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ig("showing-multiple",Hg({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Jg("void => *",Gg("120ms cubic-bezier(0, 0, 0.2, 1)")),Jg("* => void",Gg("100ms 25ms linear",Hg({opacity:0})))]);var Qoc=["trigger"],Roc=["panel"],Soc=0,Toc=new Nc("mat-select-scroll-strategy"),Uoc=new Nc("MAT_SELECT_CONFIG"),Voc={provide:Toc,deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Woc=new Nc("MatSelectTrigger"),Xoc=eh(gh(fh(Boa(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new E.Subject})))),gO=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O){var P=Xoc.call(this,
e,d,h,l,x)||this;P._viewportRuler=a;P._changeDetectorRef=b;P._ngZone=c;P._dir=g;P._parentFormField=q;P._liveAnnouncer=K;P._defaultOptions=O;P._panelOpen=!1;P._compareWith=function(ma,ya){return ma===ya};P._uid="mat-select-"+Soc++;P._triggerAriaLabelledBy=null;P._destroy=new E.Subject;P._onChange=function(){};P._onTouched=function(){};P._valueId="mat-select-value-"+Soc++;P._panelDoneAnimatingStream=new E.Subject;var Y;P._overlayPanelClass=(null==(Y=P._defaultOptions)?void 0:Y.overlayPanelClass)||"";
P._focused=!1;P.controlType="mat-select";P._multiple=!1;var X,ka;P._disableOptionCentering=null!=(ka=null==(X=P._defaultOptions)?void 0:X.disableOptionCentering)?ka:!1;P.ariaLabel="";P.optionSelectionChanges=(0,E.defer)(function(){var ma=P.options;return ma?ma.changes.pipe(Ne(ma),Oe(function(){return E.merge.apply(null,Pc(ma.map(function(ya){return ya.onSelectionChange})))})):P._ngZone.onStable.pipe(Ce(),Oe(function(){return P.optionSelectionChanges}))});P.openedChange=new Vv;P._openedStream=P.openedChange.pipe(ue(function(ma){return ma}),
D(function(){}));P._closedStream=P.openedChange.pipe(ue(function(ma){return!ma}),D(function(){}));P.selectionChange=new Vv;P.valueChange=new Vv;P._trackedModal=null;P.ngControl&&(P.ngControl.valueAccessor=P);null!=(null==O?void 0:O.typeaheadDebounceInterval)&&(P._typeaheadDebounceInterval=O.typeaheadDebounceInterval);P._scrollStrategyFactory=B;P._scrollStrategy=P._scrollStrategyFactory();P.tabIndex=parseInt(A)||0;P.id=P.id;return P};U(gO,Xoc);f=gO.prototype;
f.ngOnInit=function(){var a=this;this._selectionModel=new Zy(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Be(),Pe(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
f.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(Pe(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(Ne(null),Pe(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&&RWb(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,My(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&&$g(this._trackedModal,"aria-owns",b);qoa(a,"aria-owns",b);this._trackedModal=a}};
f._clearFromModal=function(){this._trackedModal&&($g(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};f.close=function(){this._panelOpen&&(this._panelOpen=!1,My(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||xg(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||xg(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(Ce()).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))?Oy(this._keyManager,a):this.panelOpen||Oy(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=PWb(QWb(SWb(Ny(My(Ly(RWb(new Py(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,E.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Pe(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});E.merge.apply(null,Pc(this.options.map(function(c){return c._stateChanges}))).pipe(Pe(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()};
ch.Object.defineProperties(gO.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:WTb(b))?d:!1},set:function(a){this._required=tg(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=tg(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=tg(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=wg(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}}});gO.\u0275fac=function(a){return new (a||gO)(C(az),C(mw),C(Se),C(xz),C(rd),C(Ry,8),C(Yw,8),C(gx,8),C(QYb,8),C(Sw,10),kd("tabindex"),C(Toc),C(Dy),C(Uoc,8))};
gO.\u0275dir=Gc({type:gO,viewQuery:function(a,b){a&1&&(Qf(Qoc,5),Qf(Roc,5),Qf(qz,5));if(a&2){var c;Pf(c=Sf())&&(b.trigger=c.first);Pf(c=Sf())&&(b.panel=c.first);Pf(c=Sf())&&(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:[Ye,Uc]});var Yoc=[[["mat-select-trigger"]],"*"],Zoc=function(a,b){this.source=a;this.value=b},hO=function(){};hO.\u0275fac=function(a){return new (a||hO)};hO.\u0275dir=Gc({type:hO,selectors:[["mat-select-trigger"]],features:[Cf([{provide:Woc,useExisting:hO}])]});
var iO=function(){var a=gO.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};U(iO,gO);iO.\u0275dir=gO.\u0275dir;f=iO.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;gO.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(Pe(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
f.open=function(){var a=this;gO.prototype._canOpen.call(this)&&(gO.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(Ce()).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=Goa(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:Hoa((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());gO.prototype._panelDoneAnimating.call(this,a)};f._getChangeEvent=function(a){return new Zoc(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+=Goa(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};iO.\u0275fac=function(){var a;return function(b){return(a||(a=pd(iO)))(b||iO)}}();
iO.\u0275cmp=Bc({type:iO,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(Rf(c,Woc,5),Rf(c,$z,5),Rf(c,EXb,5));if(a&2){var d;Pf(d=Sf())&&(b.customTrigger=d.first);Pf(d=Sf())&&(b.options=d);Pf(d=Sf())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(bf("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()),mf("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:[Cf([{provide:tA,useExisting:iO},{provide:DXb,useExisting:iO}]),Ye],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&&(tf(Yoc),G(0,"div",0,1),M("click",function(){return b.toggle()}),G(3,"div",2),Q(4,FHa,2,1,"span",3),Q(5,IHa,3,2,"span",4),H(),G(6,"div",5),I(7,"div",6),H()(),Q(8,JHa,4,14,"ng-template",7),M("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",
function(){return b.close()}));if(a&2){var c=yf(1);bf("aria-owns",b.panelOpen?b.id+"-panel":null);z(3);F("ngSwitch",b.empty);bf("id",b._valueId);z(1);F("ngSwitchCase",!0);z(1);F("ngSwitchCase",!1);z(3);F("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[rw,uw,vw,ww,qz,pz],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:[Ooc,Poc]},changeDetection:0});var jO=function(){};jO.\u0275fac=function(a){return new (a||jO)};jO.\u0275mod=Dc({type:jO});jO.\u0275inj=nc({providers:[Voc],imports:[Hw,rz,aA,sz,dz,yA,aA,sz]});var kO=function(){};kO.\u0275fac=function(a){return new (a||kO)};kO.\u0275mod=Dc({type:kO});kO.\u0275inj=nc({imports:[fO,HF,BF,rz,vN,eO,jO,xM,$B,wC,XC,SM,ZN,JM]});var lO=function(){};lO.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""}};lO.\u0275fac=function(a){return new (a||lO)};lO.\u0275pipe=Hc({name:"toAccessLevelLabel",type:lO,pure:!0});var $oc=Hg({opacity:"0"}),apc=ue(function(a){return a}),bpc=(0,E.pipe)(Be(),apc,Ge()),cpc=new Nc("xap-bubble UX style"),mO=function(a){var b=this;this.activity=new E.Subject;this.openedSubject=new E.BehaviorSubject(!1);this.destroy=new E.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new Vv;this.onOpened=new Vv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(wia(function(){return b.activity.pipe(ze(b.hoverDelayMs))}));
a=Pe(this.destroy);this.opened.pipe(bpc,a).subscribe(this.onOpened);this.openedSubject.pipe(apc,mja(function(){return b.opened.pipe(ue(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};mO.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};mO.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};mO.\u0275fac=function(a){return new (a||mO)(C(cpc,8))};
mO.\u0275cmp=Bc({type:mO,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&&(tf(),G(0,"span",0,1),M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),uf(2),H(),Q(3,LHa,2,3,"ng-template",2),S(4,"async"));if(a&2){var c=yf(1);F("ngClass",b.bubbleStyle);
z(3);F("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",T(4,5,b.opened))}},dependencies:[rw,yw,qz,pz,zw],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:[Fg("fade",[Jg(":enter",[$oc,Gg("225ms")]),Jg(":leave",[Gg("195ms",$oc)])])]}});var nO=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.bubbleText=this.chipClass=""};
nO.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=""}};nO.\u0275fac=function(a){return new (a||nO)(C(ds),C(vI))};
nO.\u0275cmp=Bc({type:nO,selectors:[["b-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[Uc],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&&Q(0,PHa,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:G$b(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;F("ngIf",a)}},dependencies:[rw,tw,mO,lO],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 dpc={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"},oO=function(){};oO.prototype.transform=function(a){return dpc[a]};oO.\u0275fac=function(a){return new (a||oO)};oO.\u0275pipe=Hc({name:"toCustomFieldTypeDisplayValue",type:oO,pure:!0});var pO=function(){};pO.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+"@"};pO.\u0275fac=function(a){return new (a||pO)};pO.\u0275pipe=Hc({name:"shortenEmail",type:pO,pure:!0});var qO=function(){};qO.\u0275fac=function(a){return new (a||qO)};qO.\u0275mod=Dc({type:qO});qO.\u0275inj=nc({imports:[BF]});var rO=function(){};rO.\u0275fac=function(a){return new (a||rO)};rO.\u0275mod=Dc({type:rO});rO.\u0275inj=nc({imports:[Hw,rz]});var sO=function(){};sO.\u0275fac=function(a){return new (a||sO)};sO.\u0275mod=Dc({type:sO});sO.\u0275inj=nc({imports:[BF,qO,rO]});var tO=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new Vv};tO.prototype.ngOnInit=function(){};
tO.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)})}};tO.\u0275fac=function(a){return new (a||tO)(C(ds),C(yE),C(oH),C(OF))};
tO.\u0275cmp=Bc({type:tO,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},decls:3,vars:1,consts:[["mat-button","",1,"gmat-button","medium",3,"click"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"button",0),M("click",function(){return b.toggle()}),Q(1,QHa,2,0,"ng-container",1),R(2,"CC me\n"),H());a&2&&(z(1),F("ngIf",b.ccState))},dependencies:[tw,Yz],encapsulation:2});var uO=function(a,b){jE.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new Vv;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};U(uO,jE);uO.\u0275dir=jE.\u0275dir;
uO.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(Ce(),Pe(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};uO.\u0275fac=function(a){return new (a||uO)(C(OF),C(tH))};
uO.\u0275cmp=Bc({type:uO,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&mf("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[Ye],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&&(G(0,"button",0),M("click",function(){return b.onClick()}),I(1,"mat-icon",1),G(2,"output",
2),R(3),H()());a&2&&(F("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),bf("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),z(2),vf("title","",b.voteCount," votes on this issue"),z(1),zf(" ",9999<b.voteCount?"9999+":b.voteCount," "))},dependencies:[JA,Yz,ZB],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 dIa=function(){return[]},vO=function(a,b,c,d,e,g,h){jE.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=ll;this.ISSUE_PRIORITY_TEXT_JS=Eac;this.ISSUE_PRIORITY_ENUM=N7b;this.providedIssueId$=new E.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(Oe(function(q){return l.issuesApi.getIssue(q)}));this.editIssue=Sl;this.FormattingMode=J7b;this.init=new E.ReplaySubject(1)};
U(vO,jE);vO.\u0275dir=jE.\u0275dir;vO.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.issue=b.issue;a.firstEvent=b.firstEvent;a.cdr.markForCheck();a.init.next()})};vO.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
vO.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 cIa=function(a,b){return $h(b).includes(a.activeSession.getUserEmail())},YHa=function(a,b){var c;return de(function(d){if(1==d.nextAddress)return c=a.issueId,dF(a.issueFridge,b,function(e){var g=e.parentIssueIds.indexOf(c);0>g||(e.parentIssueIds.splice(g,1),Object.assign({},e))}),ee(d,2,3),d.yield((0,E.firstValueFrom)(a.relationshipService.delete(c,1,b)),3);if(2!=d.nextAddress)return fe(d),a.issueFridge.poke(b),ge(d,0);he(d);MF(a.butterBar,"Error removing the parent issue.");return d.jumpTo(3)})};
vO.\u0275fac=function(a){return new (a||vO)(C(zE),C(kH,2),C(ds),C(oH),C(OE),C(tH),C(KF))};
vO.\u0275cmp=Bc({type:vO,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Cf([kH]),Ye],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&&(G(0,"div",
0),Q(1,eIa,23,16,"ng-container",1),H());a&2&&(z(1),F("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[rw,tw,uw,vw,ww,nO,Yz,ZB,uL,iK,YN,uO,tO],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 wO=function(){};wO.\u0275fac=function(a){return new (a||wO)};wO.\u0275mod=Dc({type:wO});wO.\u0275inj=nc({imports:[QM,BF,eO]});var xO=function(){};xO.prototype.transform=function(a){if(bn(a))return a};xO.\u0275fac=function(a){return new (a||xO)};xO.\u0275pipe=Hc({name:"omitObfuscatedEmail",type:xO,pure:!0});var epc=function(a){this.session=a;this.isNonObfuscatedEmail=bn;this.email="";this.withProfile=!0;this.enableWaldoAvailability=hE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};epc.\u0275fac=function(a){return new (a||epc)(C(ds))};
epc.\u0275cmp=Bc({type:epc,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&&(G(0,"span",0),Q(1,fIa,1,1,"b-user-image",1),Q(2,hIa,6,3,"ng-container",2),Q(3,iIa,2,1,"ng-template",null,3,Vf),Q(5,jIa,2,1,"span",4),H());if(a&2){var c=yf(4);z(1);F("ngIf",b.withProfile);z(1);F("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);z(3);F("ngIf",b.enableWaldoAvailability)}},dependencies:[tw,yw,rI,aK,xJ,CJ,cK],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 fpc=0,yO=function(a,b){var c=this;this.teamsService=a;this.session=b;this.teamId="";this.enableSmallChip=!1;this.providedTeamId$=new E.ReplaySubject(1);this.providedUser$=new E.ReplaySubject(1);this.providedEmail$=new E.ReplaySubject(1);this.isNonObfuscatedEmail=bn;this.fetchedTeam$=this.providedTeamId$.pipe(Oe(function(d){return IH(c.teamsService,d)}));this.detailedUserType$=this.providedUser$.pipe(D(function(d){d=d?d&&d.getUserGaiaStatus?d.getAliasesList():d.aliases||[]:[];return d.includes("googlers_unrestricted")?
"UNRESTRICTED_GOOGLER":d.includes("google_domain")?"TVC":d.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":d.includes("external_partners")?"EXTERNAL":d.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),Ne("NO_DETAILED_TYPE"));this.isTeamMember$=(0,E.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(Oe(function(d){var e=k(d);d=e.next().value;e=e.next().value;return mfc(c.teamsService,d,e)}),Ne(!1),ye(function(){return(0,E.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(D(function(d){return"Member of "+
d.name}));this.groupMembershipType$=(0,E.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(c.enableExternalAnnotations){if("PUBLIC"===d)return"PUBLIC_USER";if("EXTERNAL"===d)return"PARTNER_USER"}return e?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableExternalAnnotations=hE(this.session,"enableExternalAnnotations");this.enableWaldoAvailability=hE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();
this.userTypeClass$=this.groupMembershipType$.pipe(D(function(d){return c.enableSmallChip?"user-chip-small":d&&"INTERNAL_NON_TEAM_MEMBER"!==d?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(D(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"team-member-chip";if("PARTNER_USER"===d)return"partner-chip";if("PUBLIC_USER"===d)return"public-chip"}else return"internal-non-team-member-chip";return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(D(function(d){return d&&
"INTERNAL_NON_TEAM_MEMBER"!==d}));this.iconName$=this.groupMembershipType$.pipe(D(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"people-outline";if("PARTNER_USER"===d)return"enterprise";if("PUBLIC_USER"===d)return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(Re(this.teamUser$),D(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return e;if("PARTNER_USER"===d)return"Partner user";
if("PUBLIC_USER"===d)return"Public user"}return""}));fpc++};yO.prototype.ngOnInit=function(){};yO.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)};yO.\u0275fac=function(a){return new (a||yO)(C(HH),C(ds))};
yO.\u0275cmp=Bc({type:yO,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip"},features:[Uc],decls:11,vars:13,consts:[[3,"ngClass"],["class","bv2-profile-avatar",3,"email",4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],["smallChipContents",""],[3,"svgIcon","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"bv2-profile-avatar",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],
[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(G(0,"span",0),S(1,"async"),G(2,"span",0),S(3,"async"),Q(4,kIa,1,1,"b-user-image",1),Q(5,lIa,1,3,"b-user-display-name",2),Q(6,pIa,3,2,"ng-template",null,3,Vf),Q(8,qIa,3,6,"mat-icon",4),S(9,"async"),H()(),Q(10,rIa,2,1,"ng-container",
5));if(a&2){var c=yf(7),d,e;F("ngClass",null!==(d=T(1,7,b.userTypeClass$))&&void 0!==d?d:"");z(2);F("ngClass",null!==(e=T(3,9,b.userChipType$))&&void 0!==e?e:"");z(2);F("ngIf",b.enableSmallChip);z(1);F("ngIf",!b.enableSmallChip)("ngIfElse",c);z(3);F("ngIf",T(9,11,b.shouldShowIcon$));z(2);F("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[rw,tw,yw,JA,rI,ZB,aK,xJ,CJ,cK,bK,zw],styles:[".user-chip-without-icon[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip-without-icon[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px}.user-chip-without-icon[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;display:flex;height:1.75em;line-height:1.75em;padding:0 8px}.user-chip[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:16px;margin-left:3%;padding:0 14px 0 0;position:relative;width:16px}.user-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px;padding:0 0 0 8px}.team-member-chip[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--team-member-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.team-member-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1967d2;color:var(--team-member-gfx)}.partner-chip[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.partner-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.partner-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .partner-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.public-chip[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.public-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.public-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .public-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.user-chip-small[_ngcontent-%COMP%]{display:flex;height:1.25em}.user-chip-small[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:11px;padding:0 0 1px 2px;width:11px}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px;min-width:0}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--user-bg-focus)}.user-chip-small[_ngcontent-%COMP%]   .team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .partner-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .public-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:normal;height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;letter-spacing:.3px;line-height:16px;padding:0 0 0 2px}[_nghost-%COMP%]{min-width:0}[_nghost-%COMP%]     span.bv2-profile-avatar, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;height:12px;vertical-align:middle;width:12px}[_nghost-%COMP%]     span.bv2-profile-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:12px;width:12px}"],
changeDetection:0});var zO=function(){};zO.\u0275fac=function(a){return new (a||zO)};zO.\u0275mod=Dc({type:zO});zO.\u0275inj=nc({imports:[BF,wO,$B,XC,SM,ZN,JM]});var AO=function(){};AO.\u0275fac=function(a){return new (a||AO)};AO.\u0275mod=Dc({type:AO});AO.\u0275inj=nc({imports:[BF,wC,$B,XC]});var BO=function(){};BO.\u0275fac=function(a){return new (a||BO)};BO.\u0275mod=Dc({type:BO});BO.\u0275inj=nc({providers:[{provide:dmc,useValue:vO}],imports:[BF,sO,wC,XC,zO,IM,kO,AO]});var CO=function(a){this.issuesApi=a};CO.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})};CO.\u0275fac=function(a){return new (a||CO)(u(yE))};CO.\u0275prov=mc({token:CO,factory:CO.\u0275fac,providedIn:"root"});var gpc=["panel"],hpc=0,ipc=function(a,b){this.source=a;this.option=b},jpc=eh(function(){}),kpc=new Nc("mat-autocomplete-default-options",{providedIn:"root",factory:sIa}),DO=function(a,b,c,d){var e=jpc.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=E.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e.optionSelected=new Vv;e.opened=new Vv;e.closed=new Vv;e.optionActivated=new Vv;e._classList={};e.id="mat-autocomplete-"+hpc++;e.inertGroups=
(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;e._autoSelectActiveOption=!!c.autoSelectActiveOption;return e};U(DO,jpc);f=DO.prototype;f._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
f.ngAfterContentInit=function(){var a=this;this._keyManager=PWb(Ky(new Py(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 ipc(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};
ch.Object.defineProperties(DO.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=tg(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=tg(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&
a.length?this._classList=Jma(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});DO.\u0275fac=function(a){return new (a||DO)(C(mw),C(rd),C(kpc),C(qx))};
DO.\u0275dir=Gc({type:DO,viewQuery:function(a,b){a&1&&(Qf(Mf,7),Qf(gpc,5));if(a&2){var c;Pf(c=Sf())&&(b.template=c.first);Pf(c=Sf())&&(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:[Ye]});var lpc=new Nc("mat-autocomplete-scroll-strategy"),mpc={provide:lpc,deps:[oz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},EO=function(a,b,c,d,e,g,h,l,q,x,A){var B=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=l;this._document=q;this._viewportRuler=x;this._defaults=A;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=E.Subscription.EMPTY;
this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new E.Subject;this._windowBlurHandler=function(){B._canOpenOnNextFocus=B._document.activeElement!==B._element.nativeElement||B.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,E.defer)(function(){var K=B.autocomplete?B.autocomplete.options:null;return K?K.changes.pipe(Ne(K),Oe(function(){return E.merge.apply(null,Pc(K.map(function(O){return O.onSelectionChange})))})):
B._zone.onStable.pipe(Ce(),Oe(function(){return B.optionSelections}))});this._trackedModal=null;this._scrollStrategy=g};EO.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};EO.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
EO.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 wib=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=EO.prototype;f.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
f._getOutsideClickStream=function(){var a=this;return(0,E.merge)((0,E.fromEvent)(this._document,"click"),(0,E.fromEvent)(this._document,"auxclick"),(0,E.fromEvent)(this._document,"touchend")).pipe(ue(function(b){b=rg(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=xg(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(Ce()),c=this.autocomplete.options.changes.pipe(Qe(function(){return mXb(a._positionStrategy)}),Ae(0));return(0,E.merge)(b,c).pipe(Oe(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}),
Ce()).subscribe(function(d){return a._setValueAndClose(d)})};f._destroyPanel=function(){this._overlayRef&&(wib(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();wib(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 Cx(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 gz({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=pXb(lz(nz(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(Pc(b),Pc(c));jz(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=Goa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Hoa(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&&!xg(c)||38===c.keyCode&&xg(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&&$g(this._trackedModal,"aria-owns",b);qoa(a,"aria-owns",b);this._trackedModal=a}};f._clearFromModal=function(){this._trackedModal&&($g(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
ch.Object.defineProperties(EO.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=tg(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,E.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ue(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(ue(function(){return a._overlayAttached})):(0,E.of)()).pipe(D(function(b){return b instanceof UXb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});
EO.\u0275fac=function(a){return new (a||EO)(C(rd),C(oz),C(Nf),C(Se),C(mw),C(lpc),C(Ry,8),C(QYb,9),C(ah,8),C(az),C(kpc,8))};EO.\u0275dir=Gc({type:EO,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Uc]});var npc={provide:Jw,useExisting:sc(function(){return FO}),multi:!0},FO=function(){EO.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};U(FO,EO);FO.\u0275fac=function(){var a;return function(b){return(a||(a=pd(FO)))(b||FO)}}();
FO.\u0275dir=Gc({type:FO,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&M("focusin",function(){return b._handleFocus()})("blur",function(){return b._onTouched()})("input",function(c){return b._handleInput(c)})("keydown",function(c){return b._handleKeydown(c)})("click",function(){return b._handleClick()});a&2&&bf("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:[Cf([npc]),Ye]});var GO=function(){var a=DO.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";return a};U(GO,DO);GO.\u0275dir=DO.\u0275dir;GO.\u0275fac=function(){var a;return function(b){return(a||(a=pd(GO)))(b||GO)}}();
GO.\u0275cmp=Bc({type:GO,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(Rf(c,EXb,5),Rf(c,$z,5));if(a&2){var d;Pf(d=Sf())&&(b.optionGroups=d);Pf(d=Sf())&&(b.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Cf([{provide:DXb,useExisting:GO}]),Ye],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(a){a&
1&&(tf(),Q(0,tIa,3,4,"ng-template"))},dependencies:[rw],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 HO=function(){};HO.\u0275fac=function(a){return new (a||HO)};HO.\u0275mod=Dc({type:HO});HO.\u0275inj=nc({providers:[mpc],imports:[rz,aA,sz,Hw,dz,aA,sz]});var IO=function(a,b,c,d,e,g,h){jE.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=Jac;this.entrySelect=new Vv;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new Vv;this.getTextToPutInInputOnSelect=function(){return l.query}};U(IO,jE);IO.\u0275dir=jE.\u0275dir;
IO.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(ze(250),Pe(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};IO.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(Pc(this.defaultChoices),Pc(this.asyncChoices)))};IO.prototype.selectIssue=function(a){opc(this,[a])};
var qpc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(ppc(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]},ppc=function(a){return!a.some(function(b){return!!/[^0-9]/.test(b)})};IO.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
IO.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)rpc(this);else{var b=qpc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",spc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var rpc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;opc(a,[])},opc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||wib(c)},spc=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,rpc(a)):(a.choices=tpc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Ce(),Pe(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(Pc(a.choices),Pc(a.asyncChoices));opc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
IO.prototype.searchAsync=function(a){var b=this;this.choices=upc(this,a);this.hasLoadedResults=!1;if(yk(a))this.hasLoadedResults=!0;else{var c=vpc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:hi(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(Pc(b.choices),Pc(g)),b.cdr.detectChanges())},function(g){b.errorHandler.errorHandler(null,g)}).finally(function(){b.hasLoadedResults=!0})}};var tpc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},upc=function(a,b){return yk(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};IO.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var zIa=function(a){return a.relations.map(function(b){return wpc.get(b)}).filter(function(b){return!!b}).join("/")},vpc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};IO.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};ch.Object.defineProperties(IO.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
IO.\u0275fac=function(a){return new (a||IO)(C(kH,2),C(DG),C(tH),C(CO),C(OF),C(ZJ),C(sK))};
IO.\u0275cmp=Bc({type:IO,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&Qf(FO,5);if(a&2){var c;Pf(c=Sf())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Cf([CO,kH]),Ye,Uc],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&&(G(0,"div",0),Q(1,uIa,3,0,"div",1),G(2,"div",2)(3,"input",3),M("ngModelChange",function(d){return b.search(d)})("keydown.enter",
function(d){return b.onEnter(d)})("keydown.alt.arrowright",function(){b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice))}),H(),G(4,"mat-autocomplete",4,5),M("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),Q(6,vIa,3,1,"mat-option",6),Q(7,wIa,2,0,"mat-option",7),Q(8,AIa,14,13,"mat-option",8),H()()());if(a&2){var c=yf(5);z(1);F("ngIf",b.searchingForSelf);z(2);F("ngModel",b.query)("matAutocomplete",
c);bf("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");z(1);F("displayWith",b.getTextToPutInInputOnSelect);z(2);F("ngIf",""!==b.query&&!b.hasLoadedResults);z(1);F("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);z(1);F("ngForOf",b.choices)}},dependencies:[sw,tw,JA,kg,Uw,$w,xJ,yJ,CJ,zJ,vO,GO,FO,$z,Zz,zL,kJ],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 wpc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var JO=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+"+":""},EIa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(dn(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};f=JO.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()};
JO.\u0275fac=function(a){return new (a||JO)(C(hA),C(jA),C(XI))};
JO.\u0275cmp=Bc({type:JO,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Qf(IO,5);if(a&2){var c;Pf(c=Sf())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],["class","bv2-rel-issue-preview-link",4,"ngIf"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],["class","bv2-rel-issue-narrow-to-component",4,"ngIf"],[1,
"bv2-rel-issue-issue-picker",3,"defaultChoices","currentResource","allowMultipleIds","keydown.enter","entrySelect","queryChange"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],[1,"bv2-rel-issue-preview-link"],["target","_blank","class","bv2-rel-issue-id-link",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",
1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],[1,"bv2-rel-issue-narrow-to-component"],["role","checkbox","tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"matTooltip","click","keyup.space"]],template:function(a,b){a&1&&(G(0,"h2",0),R(1),H(),G(2,"div",1)(3,"div",2),Q(4,CIa,2,1,"div",3),Q(5,DIa,6,2,"div",3),H(),G(6,"div",4)(7,"div",5),Q(8,FIa,2,2,"div",6),G(9,"b-simple-issue-picker",
7),M("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),H()()()(),G(10,"div",8)(11,"button",9),M("click",function(){return b.onPressCancel()}),R(12," Cancel "),H(),G(13,"button",10),M("click",function(){return b.onPressConfirm()}),R(14," Confirm "),H()());a&2&&(z(1),zf(" ",b.data.title,"\n"),z(3),F("ngIf",1<b.selectedIssues.length),z(1),F("ngIf",1===b.selectedIssues.length),z(3),F("ngIf",!!b.queryRestriction),
z(1),mf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),F("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),z(4),F("disabled",!b.selectedIssues.length))},dependencies:[sw,tw,JA,Yz,mA,nA,oA,ZB,IO],encapsulation:2});var KO=function(){};KO.\u0275fac=function(a){return new (a||KO)};KO.\u0275mod=Dc({type:KO});KO.\u0275inj=nc({imports:[oJ,BF,ox,JM,BO,HO,wC,pA,$B,XC,eN]});var xpc=new Nc("XapHatsSurveyApiKey"),ypc=new Nc("XapHatsSurveyLocale"),zpc=new Nc("XapHatsSurveyWindow"),Apc=new Nc("XapHatsSurveyListnrProductId");var Bpc=new Map([[0,1],[1,2]]),LO=function(a,b,c,d,e){var g=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=y7b(B7b,"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 A7b(h)};this.helpService=e?e.runOutsideAngular(g):g()},Cpc=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 E.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(Oe(function(g){return new E.Observable(function(h){var l;a.helpService.presentSurvey({surveyData:g,
colorScheme:d.theme?Bpc.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)})}))};LO.\u0275fac=function(a){return new (a||LO)(u(xpc),u(Apc),u(ypc,8),u(zpc,8),u(Se,8))};LO.\u0275prov=mc({token:LO,factory:LO.\u0275fac,providedIn:"any"});var Dpc=Gn.ISSUE_PICKER,MO=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
MO.prototype.open=function(a,b){var c=this,d=Epc(this,a),e=d.dialog,g=d.config;return new Promise(function(h){fA(c.dialog.open(e,g)).subscribe(function(l){var q,x=null!=(q=null==l?void 0:l.selectedIssueIds)?q:[],A;l=null!=(A=null==l?void 0:l.lastSearchType)?A:"";A=[a.originIsBulk?"bulk":void 0,1<x.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent(Dpc,A,l);null==b||b(x);h(x);c.activeSession.isInternalSession()&&"id"===l&&Cpc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Ce()).subscribe()})})};
var Epc=function(a,b){var c={panelClass:"no-jitter",data:b};return hE(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:FM,config:c}):{dialog:JO,config:c}};MO.\u0275fac=function(a){return new (a||MO)(u(kA),u(oH),u(LO),u(ds))};MO.\u0275prov=mc({token:MO,factory:MO.\u0275fac,providedIn:"root"});var NO=function(){};NO.\u0275fac=function(a){return new (a||NO)};NO.\u0275mod=Dc({type:NO});NO.\u0275inj=nc({imports:[KO,tN]});var Hn={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return!!jl().user.email&&jl().user.email===(null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress)},queryFragment:"assignee:me"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return vl(a)},queryFragment:"status:open"}};var OO=function(a){this.pathToAncestor=a},Jn=function(a){return new OO(a.split(">"))},PO=function(a,b){return new OO([].concat(Pc(a.pathToAncestor),[b]))};OO.prototype.hash=function(){return this.pathToAncestor.join(">")};OO.prototype.equals=function(a){return!!a&&Kh(this.pathToAncestor,a.pathToAncestor)};var Fpc=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};
OO.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};OO.prototype.some=function(a){return this.pathToAncestor.some(a)};OO.prototype.toString=function(){return this.hash()};
ch.Object.defineProperties(OO.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 OO(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var QO=function(){var a=this;this.draftRows=new Map;this.changed$=new E.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};QO.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:PO(a,d),level:a.size-1,issue$:(0,E.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};
QO.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};QO.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 Gpc=function(a,b){return de(function(c){return c.return((0,E.firstValueFrom)(a.changed$.pipe(Ne(a.draftRows),D(function(d){return![].concat(Pc(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),ue(Boolean),D(function(){}))))})},Hpc=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)};
QO.prototype.isSaving=function(){return[].concat(Pc(this.draftRows.values())).flat().some(function(a){return a.saving})};QO.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(Pc(c),[b]));this.changed$.next(this.draftRows)};var Ipc={defaultExpandedChildren:0,defaultExpansionLevel:0,maxExpansion:Infinity},Jpc=function(a){var b={defaultExpansionLevel:3,defaultExpandedChildren:10,maxExpansion:500};b=void 0===b?Ipc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new E.ReplaySubject(1)};Jpc.prototype.getExpansion=function(a){a=a.hash();return this.expansionState[a]};
Jpc.prototype.setExpansion=function(a,b){a=a.hash();void 0===b?delete this.expansionState[a]:this.expansionState[a]=b;this.changed$.next(this.expansionState)};
var Kpc=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=PO(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===a.getExpansion(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=Jn(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),g.pathToAncestor.join(",")).split(","),d=
new OO(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=l,d=!0)}}if(!a.getExpansion(b)){var x;a.expansionState[b.hash()]=null!=(x=a.config.defaultExpandedChildren)?x:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)},Lpc=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=Jn(d).nodeId;var e=void 0;c=Math.max(c,null!=(e=b.get(d))?e:0);b.set(d,c)}return b};var RO=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=gi(this.activeSession.getUserEmail())},Npc=function(a,b){var c,d,e;return de(function(g){if(1==g.nextAddress)return g.yield(Mpc(a,b),2);c=g.yieldResult;d=c.component;e=c.defaultTemplate;return g.return(qua(d,e))})},Ppc=function(a,b){var c;return de(function(d){if(1==d.nextAddress)return d.yield(Opc(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:[]})})},Qpc=function(a,b,c){var d;return de(function(e){if(1==e.nextAddress)return e.yield(Opc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
RO.prototype.create=function(a){var b=this,c,d;return de(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 Opc=function(a,b){var c,d,e,g,h;return de(function(l){if(1==l.nextAddress)return l.yield((0,E.firstValueFrom)(a.issueFridge.watch(b).pipe(ue(ni))),2);if(3!=l.nextAddress)return c=l.yieldResult,l.yield(Mpc(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=Vec[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,Rpc(g),Spc(e,g));h.assigneeUser&&(h.status="ASSIGNED");return l.return(h)})},Rpc=function(a){if(!a)return{};a=Pb(a.snapshot,function(b){return null==b||"string"===typeof b&&yk(b)?!1:!0});delete a.componentId;return a},Spc=function(a,b){var c=[],d,e,g={};a=k(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);for(d=a.next();!d.done;g={$jscomp$loop$prop$customField$2305:g.$jscomp$loop$prop$customField$2305},d=a.next())if(g.$jscomp$loop$prop$customField$2305=d.value,g.$jscomp$loop$prop$customField$2305.required){e=void 0;d=null!=(e=g.$jscomp$loop$prop$customField$2305.typedDefaultValue)?e:new Wh({customFieldId:g.$jscomp$loop$prop$customField$2305.customFieldId});var h=e=void 0,l=void 0,q=null!=(l=null==(e=b)?void 0:null==(h=e.snapshot.customField)?void 0:h.find(function(x){return function(A){return A.customFieldId===
x.$jscomp$loop$prop$customField$2305.customFieldId}}(g)))?l:d;q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},Mpc=function(a,b){var c,d,e,g,h,l;return de(function(q){if(1==q.nextAddress)return q.yield(Promise.all([(0,E.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,E.firstValueFrom)(a.componentFridge.watch(b).pipe(ue(ni)))]),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})})};
RO.\u0275fac=function(a){return new (a||RO)(u(yE),u(ds),u(tH),u(mF),u(TF))};RO.\u0275prov=mc({token:RO,factory:RO.\u0275fac,providedIn:"root"});var SO=function(a,b,c,d,e,g,h,l,q,x,A,B,K){jE.call(this);var O=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=x;this.issueCreationService=A;this.clearcut=B;this.refreshMonitor=K;var P;this.recallExpansion=bH(null!=(P=this.saveExpansionAtKey)?P:"");var Y;this.saveExpansion=Qo(null!=(Y=this.saveExpansionAtKey)?Y:"");this.expansion=new Jpc(this.recallExpansion());
this.draftRows=new QO;this.refetchingAll$=new E.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Oe(function(){O.refetchingAll$.next(!0);var X=Sm(O.rows$),ka=[];if(!X)return Promise.resolve();ka.push($ec(O.issueRelationshipsFridge,O.rootIssueId));X=k(X);for(var ma=X.next();!ma.done;ma=X.next())ma=ma.value,"data"===ma.type&&ka.push(O.issueFridge.poke(ma.id)),1<ma.level&&ka.push(O.issueRelationshipsFridge.poke(ma.id));return Promise.all(ka).then(function(){O.refetchingAll$.next(!1)})}));
this.rows$=(0,E.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,E.scheduled)((0,E.of)({}),E.asapScheduler)).pipe(Oe(function(){return Zec(O.issueRelationshipsFridge,O.rootIssueId,3)}),Oe(function(){var X=new Set([].concat(Pc(Lpc(O.expansion).keys())));return O.getParentToChildrenMap(X)}),Oe(function(X){return O.quickFilters.value$.pipe(Oe(function(ka){return O.applyFilters(X,[].concat(Pc(ka)))}))}),D(function(X){return O.calculateDisplayedRows(X)}),Le({refCount:!0,
bufferSize:1}));this.filteredRowCount$=new E.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(ue(ni));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new OO([this.rootIssueId]),expandedCount:500,issue$:E.NEVER,hasChildren$:E.NEVER};this.supportsOneLineCreation=(0,E.firstValueFrom)(this.rootIssue$).then(function(X){return hn(X.snapshot[0].componentId)}).then(function(X){return Npc(O.issueCreationService,X)});this.isOneLineCreationSupported=function(){return O.supportsOneLineCreation};
this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(ze(100)).subscribe(function(X){O.saveExpansion(X)}))};U(SO,jE);SO.\u0275dir=jE.\u0275dir;SO.\u0275fac=jE.\u0275fac;f=SO.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,x;de(function(A){switch(A.nextAddress){case 1:return d=a.nodeId,A.yield((0,E.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=A.yieldResult)?A.yield(c.supportsOneLineCreation,3):A.return();case 3:g=A.yieldResult;if(!g){A.jumpTo(4);break}return A.yield(Ppc(c.issueCreationService,d),5);case 5:return h=A.yieldResult,A.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
x={},A.yield(Pr(c.router,c.paths.createIssue((x.component=l?String(l):void 0,x.parentIssueId=e.issueId,x.redirectUrl=Tl(c.rootIssueId),x.afterIssueId=null==(q=b)?void 0:q.afterIssueId,x))),6);case 6:return A.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;de(function(h){if(1==h.nextAddress)return h.yield((0,E.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 de(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(Gn.EXPERIMENTAL_HOMEPAGE,
"add","existing-child-issue");return q.yield(zn(),2)}a&&b.expansion.setExpansion(a.ancestorChain,500);ie(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return de(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 de(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,ee(h,2),h.yield(Qpc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;ks(h,3);break;case 2:return g=he(h),MF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),b.expansion.setExpansion(a.ancestorChain.parentChain,500),Hpc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return de(function(x){if(1==x.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?x.jumpTo(2):x.yield(Gpc(c.draftRows,g),2);if(4!=x.nextAddress)return x.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=x.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&MF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);ie(x)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,E.combineLatest)([this.rootIssueId].concat(Pc(a.keys())).map(function(d){return c.refetchingAll$.pipe(ue(function(e){return!e}),Oe(function(){return Yec(c.issueRelationshipsFridge,d)}))})).pipe(D(function(d){return d.filter(Boolean)}),Oe(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,E.of)(e);d=c.getIdsAtLevel(e,b);return c.getParentToChildrenMap(d,b+1).pipe(D(function(g){return Wza(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$2307=d.pop();e.$jscomp$loop$prop$current$2307.level===b&&c.add(e.$jscomp$loop$prop$current$2307.id);if(!(e.$jscomp$loop$prop$current$2307.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2307.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,Pc(l.map(function(q){return function(x){return{id:x.targetIssueId,level:q.$jscomp$loop$prop$current$2307.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2307:e.$jscomp$loop$prop$current$2307}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2309=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2309.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2309.type)c.push(e.$jscomp$loop$prop$parentRow$2309);else{e.$jscomp$loop$prop$parentRow$2309.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2309);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2309.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2309.expandedCount);g.length&&(e.$jscomp$loop$prop$parentRow$2309.hasChildren$=(0,E.of)(!0));e.$jscomp$loop$prop$childrenLevel$2310=e.$jscomp$loop$prop$parentRow$2309.level+1;e.$jscomp$loop$prop$parentRow$2309.expandedCount&&g.length<l.length&&(h=PO(e.$jscomp$loop$prop$parentRow$2309.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2310,parentIssue$:e.$jscomp$loop$prop$parentRow$2309.issue$,
ancestorChain:h,truncatedSiblingCount:l.length-g.length}));l=g.map(function(q){return function(x){var A=PO(q.$jscomp$loop$prop$parentRow$2309.ancestorChain,x.targetIssueId);return{type:"data",id:x.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2310,hasChildren$:Tpc(b,x.targetIssueId),ancestorChain:A,expandedCount:b.getExpandedCount(A,q.$jscomp$loop$prop$childrenLevel$2310,a),issue$:b.issueFridge.watch(x.targetIssueId)}}}(e));d.push.apply(d,Pc(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2309.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2309:e.$jscomp$loop$prop$parentRow$2309,$jscomp$loop$prop$childrenLevel$2310:e.$jscomp$loop$prop$childrenLevel$2310}}return c};
var Tpc=function(a,b){return a.issueRelationshipsFridge.watch(b).pipe(Oe(function(c){return c&&c.relatedChildren.length?a.quickFilters.value$.pipe(Oe(function(d){return 0===d.size?(0,E.of)(!0):a.issueFridge.watchSet(c.relatedChildren.map(function(e){return e.targetIssueId})).pipe(D(function(e){return e.some(function(g){return GIa(g,[].concat(Pc(d)))})}))})):(0,E.of)(!1)}))};f=SO.prototype;
f.interpolateDraftRows=function(a,b){var c=[].concat(Pc(a)),d=this.draftRows.get(b);b={};d=k(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2313:b.$jscomp$loop$prop$draft$2313},e=d.next())b.$jscomp$loop$prop$draft$2313=e.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2313.issueId}}(b))||(e=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2313.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2313.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2313));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=this.expansion.getExpansion(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 de(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 MF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return Ol(q)}))),l.return();ie(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Jec("createIssue",b,"from-tree");this.analytics.trackEvent(Gn.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);dH(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,O;return de(function(P){if(1==P.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,x=q.relatedChildren.map(function(Y){return Y.targetIssueId}),A=k(x),B=A.next();!B.done;B=A.next())K=B.value,c.add(K);return P.yield(Promise.all([].concat(Pc(c)).map(function(Y){return(0,E.firstValueFrom)(b.issueFridge.watch(Y))})),2)}O=P.yieldResult;return P.return(nl(O.filter(ni),
function(Y){return Y.issueId}))})};
f.applyFilters=function(a,b){function c(q){if(!q)return!1;var x=e.get(q),A=h.get(q);if(!x||0===x.relatedChildren.length)return A;var B=x.relatedChildren.filter(function(K){return c(K.targetIssueId)});l+=x.relatedChildren.length-B.length;e.set(q,Object.assign({},x,{relatedChildren:B}));return 0!==B.length||A}var d=this,e,g,h,l;return de(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(x){return[x.issueId,GIa(x,b)]}));l=0;c(d.rootIssueId);d.filteredRowCount$.next(l);return q.return(e)})};var TO=function(a,b,c,d,e,g,h,l,q,x){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=x};
TO.prototype.create=function(a,b,c){b=void 0===b?new pJ:b;return new SO(a,b,c,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};TO.\u0275fac=function(a){return new (a||TO)(u(oH),u(KF),u(tH),u(MO),u(AH),u(DG),u(vG),u(RO),u(cH),u(rH))};TO.\u0275prov=mc({token:TO,factory:TO.\u0275fac,providedIn:"root"});var UO=function(a){this.clApi=a};UO.prototype.transform=function(a){var b=this;return a.pipe(Oe(function(c){if(null==c)return(0,E.of)(c);var d,e=oa(null!=(d=c.snapshot[0].changelist)?d:[]);return e?b.clApi.getChangelistDetails(e).pipe(D(function(g){return Object.assign({},g,{changelistNumber:Number(e)})})):(0,E.of)(void 0)}),Le({bufferSize:1,refCount:!0}))};UO.\u0275fac=function(a){return new (a||UO)(C(eD,16))};UO.\u0275pipe=Hc({name:"mostRecentCL$",type:UO,pure:!0});var Upc=["button"],VO=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new Vv};VO.prototype.onClick=function(a){this.onAction.emit(a)};VO.prototype.focus=function(){this.nativeButton.focus()};VO.\u0275fac=function(a){return new (a||VO)};
VO.\u0275cmp=Bc({type:VO,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&Qf(Upc,5);if(a&2){var c;Pf(c=Sf())&&(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&&(tf(),Q(0,IIa,1,0,"ng-template",null,0,Vf),J(2,1),Q(3,KIa,3,7,"button",2),Q(4,MIa,3,7,"button",3),Q(5,OIa,3,7,"button",4),Q(6,QIa,3,7,"button",5),Q(7,SIa,3,7,"button",6),L());a&2&&(z(2),F("ngSwitch",b.format),z(1),F("ngSwitchCase","hairline"),z(1),F("ngSwitchCase","flat"),z(1),F("ngSwitchCase","fill"),z(1),F("ngSwitchCase","icon"))},dependencies:[Yz,ZB,rw,yw,uw,vw,ww],encapsulation:2,changeDetection:0});var Vpc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},Wpc=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=Vpc};Wpc.\u0275fac=function(a){return new (a||Wpc)(C(jA),C(DG))};
Wpc.\u0275cmp=Bc({type:Wpc,selectors:[["b-issue-archive-dialog"]],decls:18,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["href","http://go/b-issue-archive","target","_blank"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"matDialogClose"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium",3,"matDialogClose"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1,"Archive with all descendant issues?"),
H(),G(2,"div",1),R(3),I(4,"br")(5,"br"),G(6,"a",2),R(7,"View all descendant issues"),H(),I(8,"br"),G(9,"a",3),R(10,"Learn more"),H()(),G(11,"div",4)(12,"button",5),R(13,"Cancel"),H(),G(14,"button",5),R(15," Just this one "),H(),G(16,"button",6),R(17," Archive all "),H()());a&2&&(z(3),zf(" 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),wf("href",b.descendantIssuesUrl,
Id),z(6),F("matDialogClose",b.ActionType.CANCEL),z(2),F("matDialogClose",b.ActionType.ARCHIVE_ONE),z(2),F("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[Yz,lA,mA,nA,oA],encapsulation:2});var WO=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};
WO.prototype.submitArchivalState=function(a,b){var c=this;return de(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);ie(d)})};
WO.prototype.archive=function(a){var b=this,c,d,e,g,h,l,q,x,A,B;return de(function(K){if(1==K.nextAddress)return K.yield(Promise.all([b.getDescendants(a),(0,E.firstValueFrom)(b.issueFridge.watch(a))]),2);c=K.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;q=h;x=q.childToParents;A=q.completeResult;B=[].concat(Pc(x.keys()));x.set(a,l.parentIssueIds||[]);return 0===B.length?K.return(Xpc(b,a,x)):A?K.return(Ypc(b,a,B,x)):K.return(Zpc(b,a,x))})};
var Ypc=function(a,b,c,d){var e,g,h;return de(function(l){if(1==l.nextAddress)return e={numberOfDescendants:c.length,issueId:b},g={data:e,width:"500px"},l.yield((0,E.firstValueFrom)(fA(a.dialog.open(Wpc,g))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return($pc(a,[b].concat(Pc(c)),d));case "ARCHIVE_ONE":return l.return(Xpc(a,b,d));case "CANCEL":return l.return();default:return l.return(nh(h))}})},$pc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
aqc(a,c);LF(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){LF(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){MF(a.butterBar,e);bqc(a,c)})},Xpc=function(a,b,c){aqc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){LF(a.butterBar,"Archived successfully.")}).catch(function(d){MF(a.butterBar,d);bqc(a,c)})},Zpc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues\uff1f",
content:fn(cn("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."),en("BR",{}),en("BR",{}),en("A",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),en("BR",{}),en("A",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")),cancelButtonText:"Cancel",confirmButtonText:"Just this one",onConfirm:function(){Xpc(a,
b,c).then(d)},onDismiss:d})})},aqc=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)}},bqc=function(a,b){b=[].concat(Pc(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
WO.prototype.getDescendants=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,O;return de(function(P){if(1==P.nextAddress)return P.yield((0,E.firstValueFrom)(Zec(b.issueRelationshipsFridge,a)),2);c=P.yieldResult;d=c.results;e=!0;g=new Map;h=k(d);for(l=h.next();!l.done;l=h.next()){q=l.value;x=k(q.relatedChildren);for(A=x.next();!A.done;A=x.next())B=A.value,K=void 0,O=null!=(K=g.get(B.targetIssueId))?K:[],O.push(q.issueId),g.set(B.targetIssueId,O);q.totalChildCount===q.relatedChildren.length||(e=!1)}return P.return({childToParents:g,
completeResult:e})})};WO.\u0275fac=function(a){return new (a||WO)(u(yE),u(kA),u(wI),u(AH),u(tH),u(fF),u(DG),u(KF),u(tJ))};WO.\u0275prov=mc({token:WO,factory:WO.\u0275fac,providedIn:"root"});var XO=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)};XO.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var YO=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new E.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};XO.prototype.canDeactivate=function(a,b,c,d){a:{a=KC(c.url).getPath()===KC(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?cqc()?(this.checks=[],!0):!1:!0};var cqc=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
XO.\u0275fac=function(a){return new (a||XO)};XO.\u0275prov=mc({token:XO,factory:XO.\u0275fac,providedIn:"root"});var dqc=function(a,b,c,d,e,g,h,l,q,x,A,B){var K=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=x;this.clearcut=A;this.refreshMonitor=B;this.expansion=new Jpc;this.draftRows=new QO;this.refetchingAll$=new E.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Oe(function(){K.refetchingAll$.next(!0);var O=Sm(K.rows$),
P=[];if(!O)return Promise.resolve();P.push($ec(K.issueRelationshipsFridge,K.rootIssueId));O=k(O);for(var Y=O.next();!Y.done;Y=O.next())Y=Y.value,"data"===Y.type&&P.push(K.issueFridge.poke(Y.id)),1<Y.level&&P.push(K.issueRelationshipsFridge.poke(Y.id));return Promise.all(P).then(function(){K.refetchingAll$.next(!1)})}));this.rows$=(0,E.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,E.scheduled)((0,E.of)({}),E.asapScheduler)).pipe(Oe(function(){return Zec(K.issueRelationshipsFridge,
K.rootIssueId,3)}),Oe(function(){var O=Lpc(K.expansion);return K.getParentToChildrenMap(O)}),Bia(this.quickFilters.value$),Oe(function(O){O=k(O);var P=O.next().value,Y=O.next().value;return 0===Y.size?(K.filteredRowCount$.next(0),(0,E.of)(P)):K.getAllIssues(P).pipe(D(function(X){return K.applyFilters(P,Y,X)}))}),D(function(O){return K.calculateDisplayedRows(O)}),Le({refCount:!0,bufferSize:1}));this.filteredRowCount$=new E.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(ue(ni));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new OO([this.rootIssueId]),expandedCount:500,issue$:E.NEVER,hasChildren$:E.NEVER};this.supportsOneLineCreation=(0,E.firstValueFrom)(this.rootIssue$).then(function(O){return hn(O.snapshot[0].componentId)}).then(function(O){return Npc(K.issueCreationService,O)});this.isOneLineCreationSupported=function(){return K.supportsOneLineCreation}};f=dqc.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,x;de(function(A){switch(A.nextAddress){case 1:return d=a.nodeId,A.yield((0,E.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=A.yieldResult)?A.yield(c.supportsOneLineCreation,3):A.return();case 3:g=A.yieldResult;if(!g){A.jumpTo(4);break}return A.yield(Ppc(c.issueCreationService,d),5);case 5:return h=A.yieldResult,A.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
x={},A.yield(Pr(c.router,c.paths.createIssue((x.component=l?String(l):void 0,x.parentIssueId=e.issueId,x.redirectUrl=Tl(c.rootIssueId),x.afterIssueId=null==(q=b)?void 0:q.afterIssueId,x))),6);case 6:return A.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;de(function(h){if(1==h.nextAddress)return h.yield((0,E.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 de(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(Gn.EDIT_ISSUE,"add","existing-child-issue");
return q.yield(zn(),2)}a&&b.expansion.setExpansion(a.ancestorChain,500);ie(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return de(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 de(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,ee(h,2),h.yield(Qpc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;ks(h,3);break;case 2:return g=he(h),MF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),b.expansion.setExpansion(a.ancestorChain.parentChain,500),Hpc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return de(function(x){if(1==x.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?x.jumpTo(2):x.yield(Gpc(c.draftRows,g),2);if(4!=x.nextAddress)return x.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=x.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&MF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);ie(x)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,E.combineLatest)([this.rootIssueId].concat(Pc(a.keys())).map(function(d){return c.refetchingAll$.pipe(ue(function(e){return!e}),Oe(function(){return Yec(c.issueRelationshipsFridge,d)}))})).pipe(D(function(d){return d.filter(Boolean)}),Oe(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,E.of)(e);d=c.getIdsAtLevel(e,b);d=new Map(d.map(function(g){return[g,10]}));return c.getParentToChildrenMap(d,
b+1).pipe(D(function(g){return Wza(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$2315=d.pop();e.$jscomp$loop$prop$current$2315.level===b&&c.push(e.$jscomp$loop$prop$current$2315.id);if(!(e.$jscomp$loop$prop$current$2315.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2315.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,Pc(l.map(function(q){return function(x){return{id:x.targetIssueId,level:q.$jscomp$loop$prop$current$2315.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2315:e.$jscomp$loop$prop$current$2315}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2317=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2317.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2317.type)c.push(e.$jscomp$loop$prop$parentRow$2317);else{e.$jscomp$loop$prop$parentRow$2317.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2317);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2317.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2317.expandedCount);e.$jscomp$loop$prop$childrenLevel$2318=e.$jscomp$loop$prop$parentRow$2317.level+1;e.$jscomp$loop$prop$parentRow$2317.expandedCount&&g.length<l.length&&(h=PO(e.$jscomp$loop$prop$parentRow$2317.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2318,parentIssue$:e.$jscomp$loop$prop$parentRow$2317.issue$,ancestorChain:h,truncatedSiblingCount:l.length-
g.length}));l=g.map(function(q){return function(x){var A=PO(q.$jscomp$loop$prop$parentRow$2317.ancestorChain,x.targetIssueId);return{type:"data",id:x.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2318,hasChildren$:b.issueRelationshipsFridge.watch(x.targetIssueId).pipe(D(eza)),ancestorChain:A,expandedCount:b.getExpandedCount(A,q.$jscomp$loop$prop$childrenLevel$2318,a),issue$:b.issueFridge.watch(x.targetIssueId)}}}(e));d.push.apply(d,Pc(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2317.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2317:e.$jscomp$loop$prop$parentRow$2317,$jscomp$loop$prop$childrenLevel$2318:e.$jscomp$loop$prop$childrenLevel$2318}}return c};
f.interpolateDraftRows=function(a,b){var c=[].concat(Pc(a)),d=this.draftRows.get(b);b={};d=k(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2321:b.$jscomp$loop$prop$draft$2321},e=d.next())b.$jscomp$loop$prop$draft$2321=e.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2321.issueId}}(b))||(e=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2321.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2321.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2321));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=this.expansion.getExpansion(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 de(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 MF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return Ol(q)}))),l.return();ie(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Jec("createIssue",b,"from-tree");this.analytics.trackEvent(Gn.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);dH(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,E.combineLatest)([].concat(Pc(c)).map(function(g){return b.issueFridge.watch(g)})).pipe(D(function(g){return g.filter(ni)}))};
f.applyFilters=function(a,b,c){function d(l){if(!l)return!1;var q=e.get(l),x=g.get(l);if(!q||0===q.relatedChildren.length)return x;var A=q.relatedChildren.filter(function(B){return d(B.targetIssueId)});h+=q.relatedChildren.length-A.length;e.set(l,Object.assign({},q,{relatedChildren:A}));return 0!==A.length||x}var e=new Map(a.entries()),g=new Map(c.map(function(l){return[l.issueId,GIa(l,b)]})),h=0;d(this.rootIssueId);this.filteredRowCount$.next(h);return e};
var ZO=function(a,b,c,d,e,g,h,l,q,x){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=x};ZO.prototype.create=function(a,b){b=void 0===b?new pJ:b;return new dqc(a,b,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};
ZO.\u0275fac=function(a){return new (a||ZO)(u(oH),u(KF),u(tH),u(MO),u(AH),u(DG),u(vG),u(RO),u(cH),u(rH))};ZO.\u0275prov=mc({token:ZO,factory:ZO.\u0275fac,providedIn:"root"});var aob=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var $O=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new E.Subject;this.onRowsMoved$=new E.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=SPb(function(g,h){if(e.activeDrag){var l=g||0,q=h.getBoundingClientRect();g=q.height;l-=q.top;
g=VIa(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 x=(l=null==(x=g.querySelector(".title-location"))?void 0:x.getBoundingClientRect().left)?l-g.getBoundingClientRect().left:0;x=g.offsetLeft+x;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=x+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-x+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:g,position:h};eqc(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(){fqc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,gqc(e.rowSelectionModel),"mouse",4);fqc(e)})})};
$O.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(WIa(c));hqc(this.rowSelectionModel);iqc(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 jqc=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)},kqc=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)}};
$O.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)}};
$O.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?jqc(this,a):(b=c&&b.row.level<UIa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
$O.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=WIa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":jqc(this,b);break;case "ArrowRight":kqc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
$O.prototype.reorder=function(a,b,c,d){var e=this;if(a){var g=WIa(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:TIa(d)})})}};
var fqc=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},eqc=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 WIa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},iqc=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(Ne(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 aP=function(a){jE.call(this);var b=this;this.analytics=a;this.dragStarted$=new E.Subject;this.onRowsMoved$=new E.Subject;(0,E.merge)(this.dragStarted$,this.onRowsMoved$).pipe(Kza(),Pe(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=ol(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";b.analytics.trackEvent(Gn.EDIT_ISSUE,"reorderChildren",c);Jec("reorderChildren",d,c)})};U(aP,jE);aP.\u0275dir=jE.\u0275dir;
aP.\u0275fac=function(a){return new (a||aP)(u(oH))};aP.\u0275prov=mc({token:aP,factory:aP.\u0275fac,providedIn:"root"});var bP=function(){this.changed$=new E.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};bP.prototype.init=function(a){this.visibleRows=a};bP.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var SJa=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(Ne(a.selectedRowHashes),D(function(g){return g.has(b.hash())}),Be(),Le({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
bP.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};bP.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var hqc=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=Jn(e.value);for(var g=k(b),h=g.next();!h.done;h=g.next())h=h.value,Fpc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},gqc=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(Pc(a.selectedRowHashes.values())).map(function(g){return Jn(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};
ch.Object.defineProperties(bP.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(Pc(this.selectedRowHashes)).map(function(a){return Jn(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var GJa=function(a){return{cl:a}},lqc=function(){return["focus-indicator","load-more-children"]},mqc=Gn.EXPERIMENTAL_HOMEPAGE,nqc={type:"data",id:"",issue$:E.NEVER,hasChildren$:E.NEVER,ancestorChain:new OO([]),level:0,expandedCount:0},cP=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){jE.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=x;this.cdr=A;this.expandableIssuesTableModelFactory=
B;this.liveAnnouncer=K;this.clearcut=O;this.paths=P;this.getUserInvolvement=Ova;this.quickFilters=new pJ;this.tableColumns="focus-indicator drag-handle title type id assignee status cls menu".split(" ");this.options={};this.trackBy=function(X,ka){return ka.ancestorChain.hash()+ka.type};this.isLoadMoreRow=function(X,ka){return"load-more-children"===ka.type};this.isDataRow=function(X,ka){return"data"===ka.type};this.isDraftRow=function(X,ka){return"draft-issue"===ka.type};this.selectionModel=new bP;
this.hasLogged=!1;this.correctedDisplayedRows=new Tf;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(X){var ka;return(null!=(ka=Sm(Y.rows$))?ka:[]).findIndex(function(ma){return In(ma,X)})};this.showError=function(X){return function(ka){MF(Y.butterBar,X+". "+(Nl(ka)?Ol(ka):ka))}};this.subscriptions.add(YO(l,function(){return Y.tableModel.draftRows.isSaving()||Y.issueRelationshipsFridge.isSaving()},!1))};U(cP,jE);cP.\u0275dir=jE.\u0275dir;
var yJa=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=cP.prototype;f.isClosed=function(a){if(this.options.showPendingFixCls){var b=yJa(this,null==a?void 0:a.issueId);return Vua(a)||b}return Vua(a)};f.getAssigneeString=function(a){var b,c;return gn(ci(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,E.scheduled)([this.tableModel.rows$,(0,E.of)([nqc])],E.asyncScheduler).pipe(pe(1),Le({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Oe(function(c){return(0,E.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),ze(0,E.asapScheduler));
this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));this.rowReorderingModel=new $O(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,c.getExpansion(d)||c.setExpansion(d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return de(function(e){if(1==e.nextAddress)return dfc(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")),Kpc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,E.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(D(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})}),ue(Boolean),we(6E4))),2);d=e.yieldResult;d.focus();ie(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;eH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(mqc,"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,eH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(mqc,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,E.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(Pe(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);Of(a.correctedDisplayedRows)});this.focusManager=Ny(new Mmc(this.correctedDisplayedRows,
In))};f.toggleExpansion=function(a){this.tableModel.expansion.setExpansion(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(mqc,"navigate","to-child-issue"),b=Sl(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?En(this.domSafe,b):Pr(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return de(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),b.tableModel.expansion.setExpansion(a.ancestorChain.parentChain,500),d.yield(zn(),2);b.focusManager.setActiveItem(c);ie(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:!Sm(a.hasChildren$),action:function(){var g=Vl({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 de(function(g){if(1==g.nextAddress)return g.yield(zn(),2);
b.createChildIssue(a);ie(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 de(function(g){if(1==g.nextAddress)return g.yield(zn(),2);b.createSiblingIssue(a);ie(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(){kqc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){jqc(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 de(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,E.firstValueFrom)(b.displayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),ue(Boolean),we(6E4))),2)}c=e.yieldResult;In(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ie(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;In(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 de(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,x,A;return de(function(B){if(1==B.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?B.return():B.yield((0,E.firstValueFrom)(b.issue$),2);d=B.yieldResult;x={};A=c.paths.createIssue((x.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),x.parentIssueId=b.ancestorChain.parentChain.nodeId,x.redirectUrl=Tl(c.rootIssueId),x.afterIssueId=b.afterIssueId,x.title=b.title,x.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,x.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,x));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(A),B.return();if(a&&a.shiftKey)return c.cancelDraft(b),En(c.domSafe,A),B.return();Pr(c.router,A);ie(B)})};
f.archiveRow=function(a){var b=this,c,d;de(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(mqc,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,E.firstValueFrom)(b.rows$.pipe(D(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),ue(Boolean),we(6E4))),2);In(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ie(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return de(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(mqc,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){LF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
ch.Object.defineProperties(cP.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.quickFilters.reset(a)},get:function(){return[].concat(Pc(this.quickFilters))}},model:{configurable:!0,enumerable:!0,get:function(){return this.tableModel}}});cP.\u0275fac=function(a){return new (a||cP)(C(AH),C(vG),C(KF),C(oH),C(WO),C(Se),C(rd),C(XO),C(ZJ),C(aP),C(kH),C(TO),C(Dy),C(cH),C(DG))};
cP.\u0275cmp=Bc({type:cP,selectors:[["expandable-issues-table"]],viewQuery:function(a,b){a&1&&Qf(aM,5);if(a&2){var c;Pf(c=Sf())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters",saveExpansionAtKey:"saveExpansionAtKey",projectData:"projectData",modifyMenuItems:"modifyMenuItems",tableColumns:"tableColumns",options:"options"},features:[Cf([kH]),Ye],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&&(G(0,"table",0),J(1,1),Q(2,XIa,1,0,"th",2),Q(3,YIa,2,0,"td",3),L(),J(4,4),Q(5,ZIa,1,0,"th",2),Q(6,$Ia,3,0,"td",5),L(),J(7,6),Q(8,aJa,2,0,"th",2),Q(9,bJa,2,1,"td",7),L(),J(10,8),Q(11,cJa,2,0,"th",2),
Q(12,dJa,2,0,"td",7),L(),J(13,9),Q(14,eJa,2,0,"th",2),Q(15,fJa,4,8,"td",7),L(),J(16,10),Q(17,gJa,2,0,"th",2),Q(18,hJa,3,3,"td",7),L(),J(19,11),Q(20,iJa,2,0,"th",2),Q(21,tJa,6,4,"td",7),L(),J(22,12),Q(23,uJa,2,0,"th",2),Q(24,zJa,4,2,"td",7),L(),J(25,13),Q(26,AJa,2,0,"th",2),Q(27,BJa,3,3,"td",7),L(),J(28,14),Q(29,CJa,1,0,"th",2),Q(30,DJa,2,1,"td",7),L(),J(31,15),Q(32,EJa,2,0,"th",2),Q(33,IJa,2,1,"td",7),L(),J(34,16),Q(35,JJa,1,0,"th",2),Q(36,MJa,4,2,"td",17),L(),J(37,18),Q(38,NJa,6,7,"td",19),L(),J(39,
20),Q(40,OJa,2,0,"th",2),Q(41,PJa,7,6,"td",19),L(),Q(42,RJa,2,1,"ng-container",21),Q(43,TJa,4,16,"tr",22),Q(44,UJa,1,4,"tr",23),Q(45,VJa,1,2,"tr",24),H(),I(46,"div",25)(47,"div",26)(48,"div",27));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),z(42),F("ngIf",!b.options.hideHeader),z(1),F("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),F("matRowDefColumns",Ef(9,lqc))("matRowDefWhen",b.isLoadMoreRow),z(1),F("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},
dependencies:[ux,tw,uw,vw,ww,JA,mL,eL,iL,fL,dL,jL,gL,hL,kL,lL,ZB,yK,jK,VO,iK,HM,kK,UL,nK,qK,xK,VM,YJ,zK,zL,aM,cK,zw,UO],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 dP=function(a){r.call(this,a)};U(dP,r);f=dP.prototype;f.getComponentId=function(){return dj(this,ko(this,eP,1))};f.setComponentId=function(a){return Xn(this,1,eP,a)};f.hasComponentId=function(){return null!=Ys(this,1,eP)};f.getHotlistId=function(){return dj(this,ko(this,eP,2))};f.setHotlistId=function(a){Xn(this,2,eP,a)};f.getTeamId=function(){return Vs(this,5,eP)};f.setTeamId=function(a){return Xn(this,5,eP,a)};var eP=[1,2,5];dP.prototype.toObject=function(){return oqc(this)};
var oqc=function(a){if(null!=a)return t(a),{componentId:p(Ys(a,1,eP)),hotlistId:p(Ys(a,2,eP)),teamId:p(mo(a,5,eP)),syncStartTime:wt(Z(a,yh,3)),syncEndTime:wt(Z(a,yh,4))}};var pqc=function(a){r.call(this,a)};U(pqc,r);pqc.prototype.getSourceSyncStateList=function(){return Ch(this,dP,2)};pqc.repeatedFields_=[1,2];pqc.prototype.toObject=function(){return qqc(this)};var qqc=function(a){if(null!=a)return t(a),{componentIdsList:p(fl(a,1)),sourceSyncStateList:Gb(a.getSourceSyncStateList(),oqc)}};var rqc=function(a){r.call(this,a)};U(rqc,r);rqc.prototype.getHotlistId=function(){return dj(this,1)};rqc.prototype.setHotlistId=function(a){xb(this,1,a)};rqc.prototype.toObject=function(){return sqc(this)};var sqc=function(a){if(null!=a)return t(a),{hotlistId:dj(a,1),sourceSyncState:oqc(Z(a,dP,2))}};var tqc=function(a){r.call(this,a)};U(tqc,r);tqc.prototype.getEmail=function(){return V(this,1)};tqc.prototype.setEmail=function(a){return jj(this,1,a)};tqc.prototype.toObject=function(){return uqc(this)};var uqc=function(a){if(null!=a)return t(a),{email:V(a,1),isGroup:Gj(a,2)}};var fP=function(a){r.call(this,a)};U(fP,r);fP.prototype.setTeamIdsList=function(a){return Di(this,1,a)};fP.prototype.getSourceSyncStateList=function(){return Ch(this,dP,2)};fP.repeatedFields_=[1,2];fP.prototype.toObject=function(){return vqc(this)};var vqc=function(a){if(null!=a)return t(a),{teamIdsList:p(Gh(a,1)),sourceSyncStateList:Gb(a.getSourceSyncStateList(),oqc)}};var wqc=function(a){r.call(this,a)};U(wqc,r);var xqc=[1,2];wqc.prototype.toObject=function(){return yqc(this)};var yqc=function(a){if(null!=a)return t(a),{buganizerStatus:p(Zs(a,1,xqc)),customStatusId:p(Ys(a,2,xqc))}};var gP=function(a){r.call(this,a)};U(gP,r);gP.prototype.getName=function(){return V(this,1)};gP.prototype.setName=function(a){return jj(this,1,a)};gP.repeatedFields_=[2];gP.prototype.toObject=function(){return zqc(this)};var zqc=function(a){if(null!=a)return t(a),{name:V(a,1),buganizerOrCustomStatusesList:Gb(Ch(a,wqc,2),yqc),itemLimit:dj(a,3)}};var Aqc=function(a){r.call(this,a)};U(Aqc,r);f=Aqc.prototype;f.getCustomFieldId=function(){return dj(this,1)};f.setCustomFieldId=function(a){return xb(this,1,a)};f.getCustomFieldValue=function(){return V(this,2)};f.setCustomFieldValue=function(a){return jj(this,2,a)};f.clearCustomFieldValue=function(){return Hs(this,2)};f.toObject=function(){return Bqc(this)};var Bqc=function(a){if(null!=a)return t(a),{customFieldId:dj(a,1),customFieldValue:V(a,2)}};var Cqc=function(a){r.call(this,a)};U(Cqc,r);f=Cqc.prototype;f.getId=function(){return dj(this,1)};f.setId=function(a){return xb(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return jj(this,2,a)};f.setColor=function(a){return jj(this,4,a)};f.clearColor=function(){return Hs(this,4)};f.getCustomField=function(){return Z(this,Aqc,6)};f.setCustomField=function(a){return Wi(this,Aqc,6,a)};f.toObject=function(){return Dqc(this)};
var Dqc=function(a){if(null!=a)return t(a),{id:dj(a,1),name:V(a,2),color:V(a,4),buganizerStatus:W(a,5,0),customField:Bqc(a.getCustomField())}};var Eqc=function(a){r.call(this,a)};U(Eqc,r);Eqc.prototype.getId=function(){return dj(this,1)};Eqc.prototype.setId=function(a){return xb(this,1,a)};Eqc.prototype.toObject=function(){return Fqc(this)};var Fqc=function(a){if(null!=a)return t(a),{id:dj(a,1)}};var Gqc=function(a){r.call(this,a)};U(Gqc,r);Gqc.prototype.setWorkItemId=function(a){return jj(this,1,a)};Gqc.prototype.toObject=function(){return Hqc(this)};var Hqc=function(a){if(null!=a)return t(a),{workItemId:V(a,1)}};var Iqc=function(a){r.call(this,a)};U(Iqc,r);Iqc.prototype.toObject=function(){return Jqc(this)};var Jqc=function(a){if(null!=a)return t(a),{}};var Kqc=function(a){r.call(this,a)};U(Kqc,r);Kqc.prototype.toObject=function(){return Lqc(this)};var Lqc=function(a){if(null!=a)return t(a),{}};var Mqc=function(a){r.call(this,a)};U(Mqc,r);Mqc.prototype.getId=function(){return dj(this,ko(this,Nqc,1))};Mqc.prototype.setId=function(a){return Xn(this,1,Nqc,a)};var Nqc=[1,2,3];Mqc.prototype.toObject=function(){return Oqc(this)};var Oqc=function(a){if(null!=a)return t(a),{id:p(Ys(a,1,Nqc)),iterationType:p(Zs(a,2,Nqc)),iterationTag:p(Zs(a,3,Nqc))}};var Pqc=function(a){r.call(this,a)};U(Pqc,r);Pqc.prototype.getId=function(){return dj(this,1)};Pqc.prototype.setId=function(a){return xb(this,1,a)};Pqc.prototype.toObject=function(){return Qqc(this)};var Qqc=function(a){if(null!=a)return t(a),{id:dj(a,1)}};var hP=function(a){r.call(this,a)};U(hP,r);hP.prototype.getQuery=function(){return V(this,1)};hP.prototype.setQuery=function(a){return jj(this,1,a)};hP.prototype.clearQuery=function(){Hs(this,1)};hP.prototype.toObject=function(){return Rqc(this)};var Rqc=function(a){if(null!=a)return t(a),{query:V(a,1)}};var Sqc=function(a){r.call(this,a)};U(Sqc,r);Sqc.prototype.getId=function(){return V(this,1)};Sqc.prototype.setId=function(a){return jj(this,1,a)};Sqc.prototype.toObject=function(){return Tqc(this)};var Tqc=function(a){if(null!=a)return t(a),{id:V(a,1)}};var Uqc=function(a){r.call(this,a)};U(Uqc,r);var iP=[1,2,3,4,5,6,7,8];Uqc.prototype.toObject=function(){return Vqc(this)};var Vqc=function(a){if(null!=a)return t(a),{backlogScope:Fqc(Pj(a,Eqc,1,iP)),drillinScope:Hqc(Pj(a,Gqc,2,iP)),goalsScope:Jqc(Pj(a,Iqc,3,iP)),inboxScope:Lqc(Pj(a,Kqc,4,iP)),iterationScope:Oqc(Pj(a,Mqc,5,iP)),searchScope:Rqc(Pj(a,hP,6,iP)),tagScope:Tqc(Pj(a,Sqc,7,iP)),savedQueryScope:Qqc(Pj(a,Pqc,8,iP))}};var Wqc=function(a){r.call(this,a)};U(Wqc,r);Wqc.prototype.getScope=function(){return Z(this,Uqc,2)};Wqc.prototype.toObject=function(){return Xqc(this)};var Xqc=function(a){if(null!=a)return t(a),{savedViewId:V(a,1),scope:Vqc(a.getScope())}};var jP=function(a){r.call(this,a)};U(jP,r);jP.prototype.getPriority=function(a){return Ts(this,1,a)};jP.prototype.setPriority=function(a,b){return tb(this,1,a,b,Qk)};jP.repeatedFields_=[1,2];jP.prototype.toObject=function(){return Yqc(this)};var Yqc=function(a){if(null!=a)return t(a),{priorityList:p(Qk(a,1)),itemTypesList:p(Qk(a,2))}};var Zqc=function(a){r.call(this,a)};U(Zqc,r);Zqc.prototype.toObject=function(){return $qc(this)};var $qc=function(a){if(null!=a)return t(a),{defaultStartAsBlank:p($q(a,1)),estimateAndDependenciesMax:p($q(a,2))}};var arc=function(a){r.call(this,a)};U(arc,r);arc.prototype.toObject=function(){return brc(this)};var brc=function(a){if(null!=a)return t(a),{parentIssueType:W(a,1,0),childIssueType:W(a,2,0)}};var kP=function(a){r.call(this,a)};U(kP,r);kP.prototype.getType=function(){return W(this,1,0)};kP.prototype.setType=function(a){return Ni(this,1,a)};kP.prototype.getScope=function(){return Z(this,Uqc,2)};kP.prototype.toObject=function(){return crc(this)};var crc=function(a){if(null!=a)return t(a),{type:W(a,1,0),scope:Vqc(a.getScope())}};var drc=function(a){r.call(this,a)};U(drc,r);drc.repeatedFields_=[1,2];drc.prototype.toObject=function(){return erc(this)};var erc=function(a){if(null!=a)return t(a),{rootLevelItemDefaultsList:Gb(Ch(a,kP,1),crc),preferredParentChildIssueTypesList:Gb(Ch(a,arc,2),brc),inheritedParentFields:SC(Z(a,RC,3)),inheritedSiblingFields:SC(Z(a,RC,4))}};var frc=function(a){r.call(this,a)};U(frc,r);frc.repeatedFields_=[1];frc.prototype.toObject=function(){return grc(this)};var grc=function(a){if(null!=a)return t(a),{workspaceIdsList:p(fl(a,1))}};var lP=function(a){r.call(this,a)};U(lP,r);lP.prototype.getAssignee=function(){return V(this,2)};lP.prototype.setAssignee=function(a){jj(this,2,a)};lP.prototype.clearAssignee=function(){return Hs(this,2)};lP.prototype.toObject=function(){return hrc(this)};var hrc=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),assignee:V(a,2),removeAssignee:Gj(a,3)}};var irc=function(a){r.call(this,a)};U(irc,r);irc.repeatedFields_=[2,3];irc.prototype.toObject=function(){return jrc(this)};var jrc=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),addCcsList:p(Gh(a,2)),removeCcsList:p(Gh(a,3))}};var krc=function(a){r.call(this,a)};U(krc,r);krc.prototype.getComment=function(){return V(this,2)};krc.prototype.setComment=function(a){jj(this,2,a)};krc.prototype.toObject=function(){return lrc(this)};var lrc=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),comment:V(a,2)}};var mrc=function(a){r.call(this,a)};U(mrc,r);mrc.prototype.getComponentId=function(){return dj(this,1)};mrc.prototype.setComponentId=function(a){return xb(this,1,a)};mrc.prototype.toObject=function(){return nrc(this)};var nrc=function(a){if(null!=a)return t(a),{componentId:dj(a,1),promptUser:Gj(a,2)}};var orc=function(a){r.call(this,a)};U(orc,r);f=orc.prototype;f.getCustomFieldValue=function(){return Z(this,vD,2)};f.setCustomFieldValue=function(a){return Wi(this,vD,2,a)};f.clearCustomFieldValue=function(){return Hs(this,2)};f.hasCustomFieldValue=function(){return Aj(this,vD,2)};f.toObject=function(){return prc(this)};var prc=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),customFieldValue:A8b(a.getCustomFieldValue())}};var qrc=function(a){r.call(this,a)};U(qrc,r);qrc.repeatedFields_=[2,3];qrc.prototype.toObject=function(){return rrc(this)};var rrc=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),addGoalIdsList:p(fl(a,2)),removeGoalIdsList:p(fl(a,3))}};var mP=function(a){r.call(this,a)};U(mP,r);mP.prototype.setAddHotlistIdsList=function(a){ob(this,2,a,bb)};mP.prototype.setRemoveHotlistIdsList=function(a){ob(this,3,a,bb)};mP.repeatedFields_=[2,3];mP.prototype.toObject=function(){return src(this)};var src=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),addHotlistIdsList:p(fl(a,2)),removeHotlistIdsList:p(fl(a,3))}};var nP=function(a){r.call(this,a)};U(nP,r);nP.prototype.getIterationId=function(){return dj(this,2)};nP.prototype.setIterationId=function(a){return xb(this,2,a)};nP.prototype.getIteration=function(){return V(this,3)};nP.prototype.toObject=function(){return trc(this)};var trc=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),iterationId:dj(a,2),iteration:V(a,3),removeIteration:Gj(a,4)}};var urc=function(a){r.call(this,a)};U(urc,r);urc.prototype.getPriority=function(){return W(this,1,0)};urc.prototype.setPriority=function(a){return Ni(this,1,a)};urc.prototype.toObject=function(){return vrc(this)};var vrc=function(a){if(null!=a)return t(a),{priority:W(a,1,0)}};var wrc=function(a){r.call(this,a)};U(wrc,r);wrc.prototype.getSeverity=function(){return W(this,1,0)};wrc.prototype.setSeverity=function(a){return Ni(this,1,a)};wrc.prototype.toObject=function(){return xrc(this)};var xrc=function(a){if(null!=a)return t(a),{severity:W(a,1,0)}};var yrc=function(a){r.call(this,a)};U(yrc,r);yrc.prototype.getStatus=function(){return W(this,1,0)};yrc.prototype.setStatus=function(a){return Ni(this,1,a)};yrc.prototype.toObject=function(){return zrc(this)};var zrc=function(a){if(null!=a)return t(a),{status:W(a,1,0)}};var Arc=function(a){r.call(this,a)};U(Arc,r);Arc.repeatedFields_=[2,3];Arc.prototype.toObject=function(){return Brc(this)};var Brc=function(a){if(null!=a)return t(a),{promptUser:Gj(a,1),addTagsList:p(Gh(a,2)),removeTagsList:p(Gh(a,3))}};var Crc=function(a){r.call(this,a)};U(Crc,r);Crc.prototype.toObject=function(){return Drc(this)};var Drc=function(a){if(null!=a)return t(a),{itemType:W(a,1,0)}};var Erc=function(a){r.call(this,a)};U(Erc,r);var oP=[1,2,3,4,5,6,7,8,9,10,11,12,13];Erc.prototype.toObject=function(){return Frc(this)};
var Frc=function(a){if(null!=a)return t(a),{goalAction:rrc(Pj(a,qrc,1,oP)),iterationsBacklogsAction:trc(Pj(a,nP,2,oP)),tagsAction:Brc(Pj(a,Arc,3,oP)),hotlistsAction:src(Pj(a,mP,4,oP)),componentsAction:nrc(Pj(a,mrc,5,oP)),statusAction:zrc(Pj(a,yrc,6,oP)),priorityAction:vrc(Pj(a,urc,7,oP)),severityAction:xrc(Pj(a,wrc,8,oP)),assigneeAction:hrc(Pj(a,lP,9,oP)),ccAction:jrc(Pj(a,irc,10,oP)),commentAction:lrc(Pj(a,krc,11,oP)),typeAction:Drc(Pj(a,Crc,12,oP)),customFieldAction:prc(Pj(a,orc,13,oP))}};var pP=function(a){r.call(this,a)};U(pP,r);pP.prototype.getName=function(){return V(this,1)};pP.prototype.setName=function(a){return jj(this,1,a)};pP.prototype.getDescription=function(){return V(this,2)};pP.prototype.setDescription=function(a){return jj(this,2,a)};pP.repeatedFields_=[3];pP.prototype.toObject=function(){return Grc(this)};var Grc=function(a){if(null!=a)return t(a),{name:V(a,1),description:V(a,2),subActionsList:Gb(Ch(a,Erc,3),Frc)}};var qP=function(a){r.call(this,a)};U(qP,r);f=qP.prototype;f.getUser=function(){return Pj(this,Ti,1,rP)};f.setUser=function(a){eo(this,1,rP,a)};f.hasUser=function(){return Nj(this,Ti,1,rP)};f.getGroup=function(){return Pj(this,Ti,2,rP)};f.setGroup=function(a){eo(this,2,rP,a)};f.getAlias=function(){return Vs(this,3,rP)};f.setAlias=function(a){Xn(this,3,rP,a)};var rP=[1,2,3];qP.prototype.toObject=function(){return sP(this)};
var sP=function(a){if(null!=a)return t(a),{user:iD(a.getUser()),group:iD(a.getGroup()),alias:p(mo(a,3,rP))}};var Hrc=function(a){r.call(this,a)};U(Hrc,r);f=Hrc.prototype;f.getAdminsList=function(){return Ch(this,qP,2)};f.setAdminsList=function(a){aj(this,2,a)};f.getInheritedAdminsList=function(){return Ch(this,qP,3)};f.getEditorsList=function(){return Ch(this,qP,4)};f.setEditorsList=function(a){aj(this,4,a)};f.getImplicitEditorsList=function(){return Ch(this,qP,5)};f.getAppendersList=function(){return Ch(this,qP,6)};f.setAppendersList=function(a){aj(this,6,a)};
f.getImplicitAppendersList=function(){return Ch(this,qP,7)};f.getReadersList=function(){return Ch(this,qP,8)};f.setReadersList=function(a){aj(this,8,a)};f.getImplicitReadersList=function(){return Ch(this,qP,9)};f.getImplicitAccess=function(){return W(this,10,0)};f.setImplicitAccess=function(a){return Ni(this,10,a)};f.getRestrictedReadersList=function(){return Ch(this,qP,11)};f.setRestrictedReadersList=function(a){aj(this,11,a)};f.getRestrictedPlusReadersList=function(){return Ch(this,qP,12)};
f.setRestrictedPlusReadersList=function(a){aj(this,12,a)};Hrc.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];Hrc.prototype.toObject=function(){return Irc(this)};
var Irc=function(a){if(null!=a)return t(a),{inheritance:W(a,1,0),adminsList:Gb(a.getAdminsList(),sP),inheritedAdminsList:Gb(a.getInheritedAdminsList(),sP),editorsList:Gb(a.getEditorsList(),sP),implicitEditorsList:Gb(a.getImplicitEditorsList(),sP),appendersList:Gb(a.getAppendersList(),sP),implicitAppendersList:Gb(a.getImplicitAppendersList(),sP),readersList:Gb(a.getReadersList(),sP),implicitReadersList:Gb(a.getImplicitReadersList(),sP),implicitAccess:W(a,10,0),restrictedReadersList:Gb(a.getRestrictedReadersList(),
sP),restrictedPlusReadersList:Gb(a.getRestrictedPlusReadersList(),sP)}};var Kn=function(a){r.call(this,a)};U(Kn,r);f=Kn.prototype;f.getWorkspaceId=function(){return dj(this,1)};f.getName=function(){return V(this,2)};f.setName=function(a){return jj(this,2,a)};f.getTimeZone=function(){return Z(this,Xi,8)};f.setTimeZone=function(a){return Wi(this,Xi,8,a)};f.hasTimeZone=function(){return Aj(this,Xi,8)};f.getMembersList=function(){return Ch(this,tqc,9)};f.setMembersList=function(a){aj(this,9,a)};f.getUpdateTime=function(){return Z(this,yh,12)};
f.setUpdateTime=function(a){Wi(this,yh,12,a)};f.getBookmarkGroupId=function(){return dj(this,14)};f.setBookmarkGroupId=function(a){xb(this,14,a)};f.getTeamId=function(){return V(this,20)};f.setTeamId=function(a){return jj(this,20,a)};var Jrc=Nb(Kn);Kn.repeatedFields_=[5,9,13,15,17,18];var Krc=[6,7,21];Kn.prototype.toObject=function(){return Lrc(this)};
var Lrc=function(a){if(null!=a)return t(a),{workspaceId:dj(a,1),name:V(a,2),defaultComponentId:Ps(a,3),inboxQuery:V(a,4),componentIdsList:p(lb(a,5,cb)),componentBased:qqc(Pj(a,pqc,6,Krc)),hotlistBased:sqc(Pj(a,rqc,7,Krc)),teamBased:vqc(Pj(a,fP,21,Krc)),inclusionCriteria:grc(Z(a,frc,24)),exclusionCriteria:Yqc(Z(a,jP,25)),timeZone:tC(a.getTimeZone()),membersList:Gb(a.getMembersList(),uqc),trashComponentId:dj(a,10),defaultHotlistAcls:Irc(Z(a,Hrc,11)),updateTime:wt(a.getUpdateTime()),triageActionsList:Gb(Ch(a,
pP,13),Grc),bookmarkGroupId:dj(a,14),defaultSavedViewsList:Gb(Ch(a,Wqc,15),Xqc),customStatusesList:Gb(Ch(a,Cqc,17),Dqc),boardColumnsList:Gb(Ch(a,gP,18),zqc),teamId:V(a,20),workspaceType:W(a,22,0),itemDefaultsConfig:erc(Z(a,drc,23)),ganttDateStrategyConfig:$qc(Z(a,Zqc,26)),iterationRecurrenceId:dj(a,27)}};var Mrc=function(a){r.call(this,a)};U(Mrc,r);Mrc.prototype.getWorkspaceId=function(){return dj(this,1)};Mrc.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:dj(this,1)}}else a=void 0;return a};var Nrc=new yC("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",Mrc,Kn,function(a){return a.serialize()},Jrc);var Orc=function(a){r.call(this,a)};U(Orc,r);Orc.prototype.toObject=function(){return Prc(this)};var Prc=function(a){if(null!=a)return t(a),{}};var tP=function(a){r.call(this,a)};U(tP,r);tP.prototype.setWorkItemId=function(a){return Xn(this,1,Qrc,a)};var Rrc=function(){var a=new tP,b=new Orc;return eo(a,2,Qrc,b)};tP.repeatedFields_=[3];var Qrc=[1,2];tP.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:p(mo(this,1,Qrc)),userWorkspacesRequest:Prc(Pj(this,Orc,2,Qrc)),workspaceTypesList:p(Qk(this,3))}}else a=void 0;return a};var Src=function(a){r.call(this,a)};U(Src,r);var Trc=Nb(Src);Src.repeatedFields_=[1];Src.prototype.toObject=function(){if(null!=this){t(this);var a={workspacesList:Gb(Ch(this,Kn,1),Lrc)}}else a=void 0;return a};var Urc=new yC("/google.corp.devtools.worktracker.v1.WorkspaceService/List",tP,Src,function(a){return a.serialize()},Trc);var Vrc=function(a,b){b=b||{};b.format="jspb";this.client_=new PC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Vrc.prototype.get=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},Nrc)};Vrc.prototype.list=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},Urc)};var Wrc={},Xrc;Wrc.Authorization=null!=(Xrc=so([]))?Xrc:"";Wrc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";Wrc["X-Goog-AuthUser"]="0";
var uP=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();a:switch(this.environmentType){case "NIGHTLY":a="https://staging-worktracker-googleapis.corp.google.com";break a;case "PROD":a="https://worktracker-googleapis.corp.google.com";break a;default:a="https://autopush-worktracker-googleapis.corp.google.com"}this.client=this.clientFactory.create(a)},Yrc=function(a,b){return a.activeSession.isExternalSession()?(0,E.of)([]):(0,E.from)(a.client.list((new tP).setWorkItemId("b/"+
b),Wrc)).pipe(D(WJa(b)),ye(function(){return(0,E.of)([])}))};uP.\u0275fac=function(a){return new (a||uP)(u(ds),u(vP))};uP.\u0275prov=mc({token:uP,factory:uP.\u0275fac,providedIn:"root"});var vP=function(){};vP.prototype.create=function(a){return new Vrc(a,{withCredentials:!0,suppressCorsPreflight:!0})};vP.\u0275fac=function(a){return new (a||vP)};vP.\u0275prov=mc({token:vP,factory:vP.\u0275fac,providedIn:"root"});var wP=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new E.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");Zrc(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")}};wP.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(GB)};var Zrc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};wP.\u0275fac=function(a){return new (a||wP)(u(qv))};wP.\u0275prov=mc({token:wP,factory:wP.\u0275fac});var $rc=hs(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),asc=hs(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),bsc=function(a,b){this.dialogRef=a;this.darkmodeService=b;this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(D(function(c){return c?Bg($rc):Bg(asc)}))};bsc.\u0275fac=function(a){return new (a||bsc)(C(hA),C(wP))};
bsc.\u0275cmp=Bc({type:bsc,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&&(G(0,"div",0),Q(1,XJa,2,3,"ng-container",1),S(2,"async"),Q(3,YJa,
1,0,"mat-spinner",2),H(),G(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),R(6," Cancel "),H(),G(7,"button",5),M("click",function(){return b.dialogRef.close(!0)}),R(8," File a new issue "),H()());a&2&&(z(1),F("ngIf",T(2,2,b.docUrl$)),z(2),F("ngIf",!b.contentLoaded))},dependencies:[tw,nA,oA,Yz,yL,zw],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 Mn=function(a){r.call(this,a)};U(Mn,r);f=Mn.prototype;f.getEnableSsEngine=function(){return Gj(this,2)};f.getEnableAwr=function(){return Gj(this,3)};f.getEnableHelpSuggestions=function(){return Gj(this,4)};f.getAlohaAutoGaRollout=function(){return Gj(this,5)};f.getEnableConfigurator=function(){return Gj(this,6)};f.getEnableMweb=function(){return Gj(this,7)};f.getEnableCtlConsentCheckbox=function(){return Gj(this,8)};f.getEnableIframe=function(){return Gj(this,9)};
var oKa=function(){var a=new Mn;a=vb(a,5,!0);a=vb(a,2,!0);a=vb(a,4,!1);a=vb(a,8,!0);return vb(a,9,!0)};f=Mn.prototype;f.getEnableScreenshotNudge=function(){return Gj(this,10)};f.getEnableWebStartupConfigEndpoint=function(){return Gj(this,11)};f.getEnableJunkNudge=function(){return Gj(this,12)};f.getEnableConfiguratorLocale=function(){return Gj(this,13)};f.getEnableTinyNoPointer=function(){return Gj(this,14)};f.getEnableSupportSessionLogging=function(){return Gj(this,15)};
f.getEnableFileUploadForScreenshot=function(){return Gj(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return Gj(this,17)};f.getEnableImageSanitization=function(){return Gj(this,18)};f.getEnableAlohaBinarySplit=function(){return Gj(this,19)};f.getEnableDbFeedbackIntents=function(){return Gj(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return Gj(this,21)};f.toObject=function(){return csc(this)};
var csc=function(a){if(null!=a)return t(a),{alohaLaunch:Gj(a,1),enableSsEngine:Gj(a,2),enableAwr:Gj(a,3),enableHelpSuggestions:Gj(a,4),alohaAutoGaRollout:Gj(a,5),enableConfigurator:Gj(a,6),enableMweb:Gj(a,7),enableCtlConsentCheckbox:Gj(a,8),enableIframe:Gj(a,9),enableScreenshotNudge:Gj(a,10),enableWebStartupConfigEndpoint:Gj(a,11),enableJunkNudge:Gj(a,12),enableConfiguratorLocale:Gj(a,13),enableTinyNoPointer:Gj(a,14),enableSupportSessionLogging:Gj(a,15),enableFileUploadForScreenshot:Gj(a,16),enableDirectDeflectionForSingleCategory:Gj(a,
17),enableImageSanitization:Gj(a,18),enableAlohaBinarySplit:Gj(a,19),enableDbFeedbackIntents:Gj(a,20),enableMarkMandatoryFieldsWithRequired:Gj(a,21)}};var nKa=function(a){r.call(this,a)};U(nKa,r);nKa.prototype.toObject=function(){if(null!=this){t(this);var a={alohaFlags:csc(Z(this,Mn,1))}}else a=void 0;return a};var ZJa=[/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 bKa="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 cKa=hs(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),dKa=hs(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var fKa,hKa;var dsc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ba,e=d.document,g=a.nonce||oQb(d);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=ro("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||va(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=yo(e).createElement("SCRIPT");g&&a.setAttribute("nonce",g);g=Ag(d);sh(a,g);e.body.appendChild(a)}},esc=function(a,b,c,d){var e,g;de(function(h){e=c||ba;var l=["web_answers"].includes(a.triggerId)?"en":a.locale,q="DEV"===a.serverEnvironment,x=c||ba;x=a.nonce||oQb(x);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:x,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(lKa(g,d,e),0)})},fsc=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");Kpa(c||window,Eg("https://support.google.com/"+d))}else"submit"===a.flow?dsc(a,b,c):pKa(a.productId,a.feedbackServerUri).then(function(e){e=Z(e,Mn,1);var g=!kIb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&h?esc(a,b,c,e):dsc(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&dsc(a,b,c)})}catch(e){esc(a,b,c,null)}};QHb("userfeedback.api.startFeedback",fsc);var xP=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};xP.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?fA(this.matDialog.open(bsc,{width:"500px",maxHeight:"80vh",height:"640px",autoFocus:!1})).subscribe(function(b){b&&AZa(a)}):AZa(this)};
var AZa=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20230604.04_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=Pc([]),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,Pc(g)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&
(c.trackerId=a.currentTracker.getTrackerId());fsc(b,c)};xP.\u0275fac=function(a){return new (a||xP)(u(ds),u(kA),u(sK))};xP.\u0275prov=mc({token:xP,factory:xP.\u0275fac,providedIn:"root"});var yP=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()})};yP.prototype.trackByIndex=function(a){return a};
yP.prototype.startFeedback=function(){this.userFeedback.startFeedback()};yP.\u0275fac=function(a){return new (a||yP)(C(kH,2),C(DN),C(jA),C(OF),C(Pw),C(DG),C(xP))};
yP.\u0275cmp=Bc({type:yP,selectors:[["comment-history-dialog"]],features:[Cf([kH])],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&&(G(0,"h2",0),R(1),H(),G(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("change",function(c){return b.diffView=c.checked}),R(5," Show Diff "),H()(),G(6,"a",3),M("click",function(){return b.startFeedback()}),R(7,"Feedback"),H(),I(8,"br",4),Q(9,qKa,2,0,"div",5),Q(10,FKa,2,2,"ul",6),H(),G(11,"mat-dialog-actions")(12,"button",7),R(13,"Close"),H()());a&2&&(z(1),zf("History for Comment #",b.commentNumber,""),z(3),F("checked",b.diffView),z(5),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[sw,tw,iK,BN,Yz,lA,mA,nA,oA,YJ,zL,cK,uL,zw,sJ,xO],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 GKa=function(){},Nn=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("ed");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var g=gsc(b,c),h=b.substring(0,g);b=b.substring(g);c=c.substring(g);g=hsc(b,c);var l=b.substring(b.length-g);b=b.substring(0,b.length-g);c=c.substring(0,c.length-g);b=isc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);jsc(a,b);return b},isc=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=ksc(b,c))return c=g[1],h=g[3],b=g[4],g=Nn(a,g[0],g[2],d,e),a=Nn(a,c,h,d,e),g.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=lsc(b,c);c=b.lineArray;b=Nn(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("")}HKa(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=Nn(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),x=Array(l),A=0;A<l;A++)q[A]=-1,x[A]=-1;q[h+1]=0;x[h+1]=0;A=d-g;for(var B=0!=A%2,K=0,O=0,P=0,Y=0,X=0;X<h&&!((new Date).getTime()>e);X++){for(var ka=-X+
K;ka<=X-O;ka+=2){var ma=h+ka;var ya=ka==-X||ka!=X&&q[ma-1]<q[ma+1]?q[ma+1]:q[ma-1]+1;for(var Aa=ya-ka;ya<d&&Aa<g&&b.charAt(ya)==c.charAt(Aa);)ya++,Aa++;q[ma]=ya;if(ya>d)O+=2;else if(Aa>g)K+=2;else if(B&&(ma=h+A-ka,0<=ma&&ma<l&&-1!=x[ma])){var Ma=d-x[ma];if(ya>=Ma){a=msc(a,b,c,ya,Aa,e);break a}}}for(ka=-X+P;ka<=X-Y;ka+=2){ma=h+ka;Ma=ka==-X||ka!=X&&x[ma-1]<x[ma+1]?x[ma+1]:x[ma-1]+1;for(ya=Ma-ka;Ma<d&&ya<g&&b.charAt(d-Ma-1)==c.charAt(g-ya-1);)Ma++,ya++;x[ma]=Ma;if(Ma>d)Y+=2;else if(ya>g)P+=2;else if(!B&&
(ma=h+A-ka,0<=ma&&ma<l&&-1!=q[ma]&&(ya=q[ma],Aa=h+ya-ma,Ma=d-Ma,ya>=Ma))){a=msc(a,b,c,ya,Aa,e);break a}}}a=[[-1,b],[1,c]]}return a},msc=function(a,b,c,d,e,g){var h=b.substring(d),l=c.substring(e);b=Nn(a,b.substring(0,d),c.substring(0,e),!1,g);a=Nn(a,h,l,!1,g);return b.concat(a)},lsc=function(a,b){function c(h){for(var l="",q=0,x=-1,A=d.length;x<h.length-1;){x=h.indexOf("\n",q);-1==x&&(x=h.length-1);var B=h.substring(q,x+1);(e.hasOwnProperty?e.hasOwnProperty(B):void 0!==e[B])?l+=String.fromCharCode(e[B]):
(A==g&&(B=h.substring(q),x=h.length),l+=String.fromCharCode(A),e[B]=A,d[A++]=B);q=x+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}},gsc=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},hsc=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},nsc=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++}},ksc=function(a,b){function c(l,q,x){for(var A=l.substring(x,x+Math.floor(l.length/4)),B=-1,K="",
O,P,Y,X;-1!=(B=q.indexOf(A,B+1));){var ka=gsc(l.substring(x),q.substring(B)),ma=hsc(l.substring(0,x),q.substring(0,B));K.length<ma+ka&&(K=q.substring(B-ma,B)+q.substring(B,B+ka),O=l.substring(0,x-ma),P=l.substring(x+ka),Y=q.substring(0,B-ma),X=q.substring(B+ka))}return 2*K.length>=l.length?[O,P,Y,X,K]: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]]},HKa=function(a,b){for(var c=!1,d=[],e=0,g=null,h=0,l=0,q=0,x=0,A=0;h<b.length;)0==b[h][0]?(d[e++]=h,l=x,q=A,A=x=0,g=b[h][1]):(1==b[h][0]?x+=b[h][1].length:A+=b[h][1].length,g&&g.length<=Math.max(l,q)&&g.length<=Math.max(x,A)&&(b.splice(d[e-1],0,[-1,g]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,A=x=q=l=0,g=null,c=!0)),h++;c&&jsc(a,b);osc(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=nsc(a,c);e=nsc(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++}},osc=function(a){function b(B,K){if(!B||!K)return 6;var O=B.charAt(B.length-1),P=K.charAt(0),Y=O.match(psc),X=P.match(psc),
ka=Y&&O.match(qsc),ma=X&&P.match(qsc);O=ka&&O.match(rsc);P=ma&&P.match(rsc);B=O&&B.match(ssc);K=P&&K.match(tsc);return B||K?5:O||P?4:Y&&!ka&&ma?3:ka||ma?2:Y||X?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=hsc(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,x=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 A=
b(d,e)+b(e,g);A>=x&&(x=A,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++}},psc=/[^a-zA-Z0-9]/,qsc=/\s/,rsc=/[\r\n]/,ssc=/\n\r?\n$/,tsc=/^\r?\n\r?\n/,jsc=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=gsc(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=hsc(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&&jsc(a,b)};var zP=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};zP.prototype.show=function(a,b,c){var d=this,e;return de(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:usc(d,a,b,c)};d.dialog=d.dialogManager.open(yP,{data:e,width:"50vw"});return g.return((0,E.firstValueFrom)(fA(d.dialog)))})};
var usc=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 x=e.next();!x.done;x=e.next()){x=x.value;var A=JKa(x);A||l?(g=vsc(x.unlinkifiedComment),h=vsc(x.formattingMode)):(g=IKa(g,x.unlinkifiedComment),l=x.formattingMode,h=h===l?vsc(l):fn(vsc(h,"diff-removed"),vsc(l,"diff-added")));l=void 0===x.unlinkifiedComment?"":x.unlinkifiedComment;var B=x.version,K=x.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:x.lastEditorUser,version:B,formattingMode:x.formattingMode,formattingModeDiff:h,lastModified:Number(x.lastModified)/1E3,open:25>B,preview:48>=l.length?l:l.substring(0,45)+"...",diff:g,restricted:K&&K.piiVerdict&&"NONE_DETECTED"!==K.piiVerdict.severity||!1,deleted:JKa(x)});g=x.unlinkifiedComment;h=x.formattingMode;l=A}-1<d?q[d].open=!0:q[0].open=!0;return q})},vsc=function(a,b){return en("SPAN",b?{"class":b}:null,a)};
zP.\u0275fac=function(a){return new (a||zP)(u(oH),u(VH),u(kA))};zP.\u0275prov=mc({token:zP,factory:zP.\u0275fac,providedIn:"root"});var wsc=function(a){r.call(this,a)};U(wsc,r);f=wsc.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Eh(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.getPiiRetention=function(){return W(this,3,0)};f.setPiiRetention=function(a){return n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),commentNumber:p(Ms(this,2)),piiRetention:p(ir(this,3))}}else a=void 0;return a};var AP=function(a){this.executor=a};AP.prototype.get=function(a,b,c){var d=String;a:{c=void 0===c?1:c;switch(c){case 0:case 1:c=1;break a;case 2:c=2;break a;case 3:c=3;break a;default:nh(c)}c=void 0}return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:{"X-Restricted-Content-Limit":d(c)}},responseConstructor:VD}).pipe(D(ik))};
AP.prototype.updateRetention=function(a,b,c){c=(new wsc).setIssueId(a).setCommentNumber(b).setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:VD}).pipe(D(ik))};AP.\u0275fac=function(a){return new (a||AP)(u(ZC))};AP.\u0275prov=mc({token:AP,factory:AP.\u0275fac,providedIn:"root"});var BP=function(a){r.call(this,a,0,BP.messageId)};U(BP,r);BP.prototype.getUrl=function(){return V(this,1)};BP.prototype.setUrl=function(a){return n(this,1,a)};BP.prototype.hasUrl=function(){return tk(this,1)};BP.prototype.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};BP.messageId="b.AttachmentUrlResponse";var CP=function(a){this.executor=a};CP.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(Nqa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:BP}).then(function(g){return g.getUrl()})};CP.\u0275fac=function(a){return new (a||CP)(u($C))};CP.\u0275prov=mc({token:CP,factory:CP.\u0275fac,providedIn:"root"});var DP=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};DP.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};DP.\u0275fac=function(a){return new (a||DP)(C(ds),C(Mf),C(Nf))};DP.\u0275dir=Gc({type:DP,selectors:[["","internalOnly",""]]});var EP=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};EP.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
EP.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;LKa(this)?(this.hasViewAccess=!1,yF(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)};EP.prototype.getPiiSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var LKa=function(a){return(a=a.getPiiSeverity())?"NONE_DETECTED"!==a:!1},xsc=function(a){var b=a.download&&lqa(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getPiiSeverity()).then(function(c){b?Rjc(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){MF(a.butterBar,"Failed to load attachment. Please refresh and try again.");a.close()})};EP.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
EP.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};EP.\u0275fac=function(a){return new (a||EP)(C(jA),C(hA),C(xF),C(CP),C(KF),C(ZJ),C(vI),C(kH,2))};
EP.\u0275cmp=Bc({type:EP,selectors:[["b-attachment-download-dialog"]],features:[Cf([kH])],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&&(G(0,"h1",0),R(1,"Access Attachment"),H(),G(2,"div",1)(3,"div",2),R(4," Are you sure you would like to access the following attachment? "),H(),I(5,"br"),G(6,"div",3)(7,"div",4),I(8,"mat-icon",5),H(),G(9,"div",6),R(10),H()(),I(11,"br"),Q(12,MKa,2,1,"ng-container",
7),Q(13,NKa,3,0,"div",8),H(),Q(14,OKa,1,0,"mat-spinner",9),G(15,"div",10)(16,"button",11),M("click",function(){return b.close()}),R(17," Cancel "),H(),G(18,"button",12),M("click",function(){return xsc(b)}),R(19," Continue "),H()());a&2&&(z(10),zf(" ",b.attachment.filename," "),z(3),F("ngIf",!b.isLoading&&!b.hasViewAccess),z(1),F("ngIf",b.isLoading),z(4),F("disabled",!b.hasViewAccess))},dependencies:[tw,JA,mA,nA,oA,Yz,yL,DP],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 ysc=function(a){r.call(this,a)};U(ysc,r);f=ysc.prototype;f.getIssueId=function(){return wi(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getAttachmentId=function(){return wi(this,2)};f.setAttachmentId=function(a){n(this,2,a)};f.getPiiRetention=function(){return W(this,3,0)};f.setPiiRetention=function(a){return n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),attachmentId:p(m(this,2)),piiRetention:p(ir(this,3))}}else a=void 0;return a};var FP=function(a){this.executor=a};FP.prototype.updateRetention=function(a,b,c){var d=new ysc;d.setIssueId(a);d.setAttachmentId(String(b));d.setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:d,responseConstructor:uE}).pipe(D(Dsa))};FP.\u0275fac=function(a){return new (a||FP)(u(ZC))};FP.\u0275prov=mc({token:FP,factory:FP.\u0275fac,providedIn:"root"});var GP=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new Vv};GP.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};GP.\u0275fac=function(a){return new (a||GP)};
GP.\u0275cmp=Bc({type:GP,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&&(Q(0,PKa,2,3,"span",0),Q(1,QKa,2,3,"a",1));a&2&&(F("ngIf",
b.isGreyedOut||!b.linkEnabled),z(1),F("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[tw],encapsulation:2,changeDetection:0});var HP=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=R7b;this.label="Restricted";this.contentType="item"};HP.prototype.getIcon=function(){return zsc(this)?"delete-alert":"delete-clock"};HP.prototype.getRetentionPeriod=function(){if(!this.retentionState||!this.retentionState.retentionPeriod)return"";var a=Dza(this.retentionState.retentionPeriod);return a?Eza(Math.floor(1E3*a.getSeconds()/864E5)):""};
var SKa=function(a){var b=new Date(864E13);if(!a.retentionState||!a.retentionState.scheduledDeletionTime)return b;a=Wm(Vm(a.retentionState.scheduledDeletionTime));return new Date(a||b)},zsc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>Wm(Vm(a.retentionState.scheduledDeletionTime))-Date.now():!1};HP.\u0275fac=function(a){return new (a||HP)(C(vI),C(hK))};
HP.\u0275cmp=Bc({type:HP,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=v();G(0,"xap-bubble",0,1)(2,"div",2);M("focus",function(){w(c);var e=yf(1);return y(e.toggle(!0))})("blur",function(){w(c);var e=yf(1);return y(e.toggle(!1))});I(3,"mat-icon",3);R(4);H();Q(5,XKa,8,4,"ng-template",null,4,Vf);Q(7,YKa,3,1,"ng-template",null,5,Vf);Q(9,ZKa,8,5,"ng-template",null,6,Vf);H()}if(a&2){var d=yf(6);F("panelTemplate",d);z(2);mf("warning",zsc(b));z(1);F("svgIcon",b.getIcon());
z(1);zf(" ",b.label," ")}},dependencies:[tw,uw,vw,JA,mO,Cw],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 IP=function(){this.warningChunks=[]};IP.prototype.ngOnInit=function(){var a=this.warningText,b=dLa(a,"EXTERNAL_PUBLIC")||dLa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};IP.prototype.isText=function(a){return void 0!==a.text};IP.\u0275fac=function(a){return new (a||IP)};
IP.\u0275cmp=Bc({type:IP,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"accessLevel"]],template:function(a,b){a&1&&(G(0,"div"),Q(1,bLa,3,2,"span",0),H());a&2&&(z(1),F("ngForOf",b.warningChunks))},dependencies:[sw,tw,nO],encapsulation:2});var cLa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var JP=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=Pgc(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};
JP.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};JP.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};JP.\u0275fac=function(a){return new (a||JP)(C(jA),C(vI),C(hA))};
JP.\u0275cmp=Bc({type:JP,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"div",2),I(4,"b-component-move-warning-content",3),H(),I(5,"br"),G(6,"a",4),R(7,"Learn more"),H(),Q(8,eLa,5,1,"div",5),H(),G(9,"mat-dialog-actions")(10,"button",6),M("click",function(){return b.cancel()}),R(11," Cancel "),H(),Q(12,fLa,2,1,"button",7),H());a&2&&(z(1),Af(b.header),z(3),F("warningText",b.warning),z(2),bf("href",b.learnMore,Id),z(2),F("ngIf",b.isExternalMove&&b.isAllowed),z(4),F("ngIf",b.isAllowed))},
dependencies:[tw,Uw,$w,Yz,BN,lA,mA,nA,oA,IP],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var KP=function(a){r.call(this,a,0,KP.messageId)};U(KP,r);KP.prototype.getWarning=function(){return V(this,2)};KP.prototype.toObject=function(){if(null!=this){t(this);var a={warningHeader:p(m(this,1)),warning:p(m(this,2)),isAllowed:p($q(this,3)),isExternalMove:p($q(this,4))}}else a=void 0;return a};KP.messageId="b.CompareComponentAccessResponse";var LP=function(a){this.executor=a};LP.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:KP}).then(Ysa)};LP.\u0275fac=function(a){return new (a||LP)(u($C))};LP.\u0275prov=mc({token:LP,factory:LP.\u0275fac,providedIn:"root"});var MP=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},kub=function(a,b,c){var d,e,g,h,l;de(function(q){switch(q.nextAddress){case 1:return b=String(b),Zhc(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?q.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return MF(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(Asc(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))}})},Asc=function(a,b){return new Promise(function(c){fA(a.matDialogService.open(JP,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}})).subscribe(function(){c(!1)})})};
MP.\u0275fac=function(a){return new (a||MP)(u(dJ),u(tH),u(KF),u(LP),u(kA),u(tJ))};MP.\u0275prov=mc({token:MP,factory:MP.\u0275fac,providedIn:"root"});var Bsc=function(a){this.documentationLinks=a};Bsc.\u0275fac=function(a){return new (a||Bsc)(C(vI))};
Bsc.\u0275cmp=Bc({type:Bsc,selectors:[["b-issue-component-retention-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(G(0,"h1",0),R(1,"Apply component retention settings?"),H(),G(2,
"div",1)(3,"p"),R(4," This issue is currently retained indefinitely. If you select this option, this issue will be scheduled for deletion based on the component retention settings. "),H(),G(5,"a",2),R(6,"Learn more"),H()(),G(7,"div",3)(8,"button",4),R(9," Cancel "),H(),G(10,"button",5),R(11," OK "),H()());a&2&&(z(5),F("href",Zr(),Id),z(3),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},dependencies:[lA,mA,nA,oA,Yz],encapsulation:2});var Csc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};Csc.\u0275fac=function(a){return new (a||Csc)(C(jA),C(vI))};
Csc.\u0275cmp=Bc({type:Csc,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"span"),R(4," Please select the reason for deleting this attachment. "),G(5,"a",2),R(6," \u00a0Learn more "),H()(),G(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),Q(8,hLa,3,4,"mat-radio-button",4),H()(),G(9,"div",5)(10,"button",6),R(11," Cancel "),H(),G(12,"button",7),R(13," Delete "),H()());a&2&&(z(1),zf("Delete attachment ",b.attachmentId,""),z(4),F("href",
Qgc(b.documentationLinks),Id),z(2),F("ngModel",b.selectedReason),z(1),F("ngForOf",b.deletionReasons),z(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[sw,tw,lA,mA,nA,oA,Yz,Uw,$w,DM,EM],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Dsc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};Dsc.\u0275fac=function(a){return new (a||Dsc)(C(jA),C(vI))};
Dsc.\u0275cmp=Bc({type:Dsc,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&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"label"),R(4,"Please select the reason for deleting this comment."),H(),G(5,"a",2),R(6," \u00a0Learn more "),H(),G(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),Q(8,jLa,3,4,"mat-radio-button",4),H()(),G(9,"div",5)(10,"button",6),R(11," Cancel "),H(),G(12,"button",7),R(13," Delete "),H()());a&2&&(z(1),Bf("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),z(4),F("href",Qgc(b.documentationLinks),Id),z(2),F("ngModel",b.selectedReason),z(1),F("ngForOf",b.deletionReasons),z(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[sw,tw,lA,mA,nA,oA,Yz,Uw,$w,DM,EM],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Esc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=kLa(this.activeSession.isInternalSession())};Esc.\u0275fac=function(a){return new (a||Esc)(C(vI),C(ds))};
Esc.\u0275cmp=Bc({type:Esc,selectors:[["b-issue-flag-as-spam-dialog"]],decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1,"Report spam?"),H(),G(2,"div",1)(3,
"p"),R(4," This will remove the issue from search results, and it will be deleted after 30 days. For more information on remediating spam at scale, "),G(5,"a",2),R(6,"see here"),H(),R(7,". "),H(),I(8,"p"),G(9,"p"),R(10," To delete PII or other sensitive content, "),G(11,"a",2),R(12,"file a support request"),H(),R(13,". "),H()(),G(14,"div",3)(15,"button",4),R(16," Cancel "),H(),G(17,"button",5),R(18," Report spam "),H()());a&2&&(z(5),F("href",Ogc(b.documentationLinks),Id),z(6),F("href",b.REMOVAL_URL,
Id),z(4),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0))},dependencies:[lA,mA,nA,oA,Yz],encapsulation:2});var Fsc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};Fsc.\u0275fac=function(a){return new (a||Fsc)(C(vI))};
Fsc.\u0275cmp=Bc({type:Fsc,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&&(G(0,"h1",0),R(1,"Retain issue indefinitely?"),
H(),G(2,"div",1)(3,"p"),R(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),H(),G(5,"p")(6,"b"),R(7,"Please note indefinite retention is not appropriate in many circumstances."),H(),I(8,"br"),R(9," Before selecting this option, you should make sure at least one of the following is true: "),H(),G(10,"ul")(11,"li"),R(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),H(),G(13,"li"),
R(14," You have a process in place to manually delete this issue within an approved period of time. "),H(),G(15,"li"),R(16," Legal and Privacy have approved this non-standard retention period. "),H()(),I(17,"p"),G(18,"p")(19,"a",2),R(20,"Learn more"),H()(),G(21,"mat-checkbox",3),M("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),R(22," I acknowledge "),H()(),G(23,"div",4)(24,"button",5),R(25," Cancel "),H(),G(26,"button",6),R(27," OK "),H()());a&2&&(z(19),F("href",Zr(),Id),
z(2),F("checked",b.indefiniteRetentionAcknowledged),z(3),F("mat-dialog-close",!1),z(2),F("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[lA,mA,nA,oA,Yz,BN],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var Tr=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;PF(e.errorHandler,"Fetching comment reaction responders failed\n "+
g.message);e.dialogRef.close()})};Tr.\u0275fac=function(a){return new (a||Tr)(C(jA),C(VH),C(OF),C(hA))};
Tr.\u0275cmp=Bc({type:Tr,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&&(G(0,"h1",0),R(1),H(),G(2,
"div",1)(3,"mat-tab-group",2)(4,"mat-tab"),Q(5,lLa,1,1,"ng-template",3),Q(6,mLa,1,0,"b-spinner",4),Q(7,oLa,2,1,"ng-container",4),H()()(),G(8,"div",5)(9,"button",6),R(10," OK "),H()());a&2&&(z(1),zf("View Reactions for Comment #",b.commentNumber,""),z(5),F("ngIf",b.loadingResponders),z(1),F("ngIf",!b.loadingResponders),z(2),F("mat-dialog-close",!0))},dependencies:[sw,tw,JA,lA,mA,nA,oA,Yz,zL,tM,uM,sM],styles:["[_nghost-%COMP%]     .mat-tab-label {\n      height: 32px;\n    }\n    [_nghost-%COMP%]     .mat-tab-body-wrapper {\n      margin-top: 8px;\n    }"]});var NP=function(){};NP.\u0275fac=function(a){return new (a||NP)};NP.\u0275mod=Dc({type:NP});NP.\u0275inj=nc({imports:[BF,pA,wC,BA,ox,yA,$B,gN,eN,xM,fO]});var Gsc=function(a){r.call(this,a,0,Gsc.messageId)};U(Gsc,r);f=Gsc.prototype;f.getResourcePath=function(){return V(this,1)};f.setResourcePath=function(a){return n(this,1,a)};f.hasResourcePath=function(){return tk(this,1)};f.getSeverity=function(){return W(this,2,0)};f.setSeverity=function(a){return n(this,2,a)};f.hasSeverity=function(){return cj(this,2)};f.getJudgementReason=function(){return V(this,3)};f.setJudgementReason=function(a){return n(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={resourcePath:p(m(this,1)),severity:p(ir(this,2)),judgementReason:p(m(this,3))}}else a=void 0;return a};Gsc.messageId="b.CreateContentJudgementRequest";var OP=function(a){r.call(this,a,0,OP.messageId)};U(OP,r);OP.repeatedFields_=[1];OP.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgementsList:Gb(Ch(this,xi,1),nD)}}else a=void 0;return a};OP.messageId="b.ListContentJudgementsResponse";var PP=function(a){r.call(this,a,0,PP.messageId)};U(PP,r);PP.prototype.getContentJudgement=function(){return Z(this,xi,1)};PP.prototype.setContentJudgement=function(a){return Wi(this,xi,1,a)};PP.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgement:nD(this.getContentJudgement())}}else a=void 0;return a};PP.messageId="b.UpdateContentJudgementRequest";var QP=function(a){this.executor=a};QP.prototype.create=function(a,b,c){a=(new Gsc).setResourcePath(a).setSeverity(ti(b)).setJudgementReason(c);return this.executor.post({url:"action/content_judgements",body:a,responseConstructor:xi}).pipe(D(Pqa))};
QP.prototype.update=function(a){var b=a.contentJudgementId,c=new PP,d=c.setContentJudgement,e=new xi;e=n(e,1,a.contentJudgementId).setResourcePath(a.resourcePath).setSeverity(ti(a.severity)).setJudgementReason(a.judgementReason);a=n(e,5,a.contentJudge);c=d.call(c,a);return this.executor.post({url:"action/content_judgements/"+b,body:c,responseConstructor:xi}).pipe(D(Pqa))};
QP.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:OP}).pipe(D(function(b){var c;return(null!=(c=Ch(b,xi,1))?c:[]).map(Pqa)}))};QP.\u0275fac=function(a){return new (a||QP)(u(ZC))};QP.\u0275prov=mc({token:QP,factory:QP.\u0275fac,providedIn:"root"});var SP=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=M7b;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()?Hsc(g,q):RP(q.severity,l)&&(l=q.severity);g.minimumSeverity=l;RP(g.minimumSeverity,g.severity)&&(g.severity=g.minimumSeverity);g.loaded=!0}):(Hsc(this,e.contentJudgement),this.loaded=!0)};SP.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var RP=function(a,b){return pLa(a)>pLa(b)},Hsc=function(a,b){if(a.judgement=b)a.severity=b.severity},Isc=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.";
RP(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};SP.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};
SP.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()})};SP.prototype.onNoClick=function(){this.dialogRef.close(null)};SP.\u0275fac=function(a){return new (a||SP)(C(hA),C(vI),C(QP),C(ds),C(jA))};
SP.\u0275cmp=Bc({type:SP,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&&(G(0,"header",0)(1,"h1"),I(2,"mat-icon",1),G(3,"div"),R(4," Set restriction "),H()()(),G(5,"section",2)(6,"label",3),R(7),G(8,"a",4),R(9," Learn More "),H()(),
G(10,"mat-radio-group",5),M("ngModelChange",function(c){return b.severity=c}),G(11,"mat-radio-button",6),R(12," No restriction "),G(13,"div"),R(14,' Users with "View issues" can access. '),H()(),G(15,"mat-radio-button",7),R(16," Restricted "),G(17,"div"),R(18,' Users with "View restricted content" can access. '),H()(),G(19,"mat-radio-button",8),R(20," Restricted+ "),G(21,"div"),R(22,' Users with "View restricted+ content" can access. '),H()()()(),G(23,"mat-dialog-actions")(24,"button",9),M("click",
function(){return b.onNoClick()}),R(25," Cancel "),H(),G(26,"button",10),M("click",function(){return b.onSaveClick()}),R(27," Set "),H()());a&2&&(z(7),zf(" ",Isc(b)," "),z(1),F("rel",b.EXTERNAL_LINK_REL),bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Id),z(2),F("ngModel",b.severity),z(1),F("value",b.piiSeverity.NONE_DETECTED)("disabled",!b.canInteract()||RP(b.minimumSeverity,b.piiSeverity.NONE_DETECTED)),z(4),F("value",b.piiSeverity.PII)("disabled",!b.canInteract()||RP(b.minimumSeverity,
b.piiSeverity.PII)),z(4),F("value",b.piiSeverity.SPII)("disabled",!b.canInteract()||RP(b.minimumSeverity,b.piiSeverity.SPII)),z(7),F("disabled",!b.canInteract()))},dependencies:[JA,Yz,mA,nA,oA,DM,EM,Uw,$w],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 TP=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};TP.prototype.canInteract=function(){return 2!==this.piiRetention||this.acknowledgeToMatchIssueRetention};TP.prototype.onSaveClick=function(){this.dialogRef.close(1)};TP.prototype.onNoClick=function(){this.dialogRef.close(0)};
TP.\u0275fac=function(a){return new (a||TP)(C(hA),C(vI),C(jA))};
TP.\u0275cmp=Bc({type:TP,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&&(G(0,"h1",0),I(1,"mat-icon",1),G(2,"div"),Q(3,qLa,2,1,"span",2),Q(4,rLa,2,0,"span",2),H()(),G(5,"div",3),Q(6,sLa,8,1,"span",2),Q(7,tLa,3,2,"span",2),G(8,"span")(9,"a",4),R(10," Learn More "),H()()(),G(11,"div")(12,"span"),Q(13,uLa,2,1,"mat-checkbox",5),H()(),G(14,"div",6)(15,"button",7),M("click",function(){return b.onNoClick()}),R(16," Cancel "),H(),G(17,"button",8),M("click",
function(){return b.onSaveClick()}),R(18," Save "),H()());a&2&&(z(3),F("ngIf",2===b.piiRetention),z(1),F("ngIf",2!==b.piiRetention),z(2),F("ngIf",2===b.piiRetention),z(1),F("ngIf",2!==b.piiRetention),z(2),F("rel",b.EXTERNAL_LINK_REL),bf("href",Zr(),Id),z(4),F("ngIf",2===b.piiRetention),z(4),F("disabled",!b.canInteract()))},dependencies:[tw,JA,Yz,mA,nA,oA,BN,Uw,$w],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var UP=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},Jsc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,g=b.newCommentFormattingMode,h=b.recaptchaToken,l,q;de(function(x){switch(x.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return MF(a.butterBar,"New comment cannot be empty."),x.return();qJ(l,"commentEdit");
LF(a.butterBar,"Saving comment edit...",0);Zhc(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});ee(x,2,3);return x.yield(a.issueCommentsService.update(c,d,e,g,h),5);case 5:LF(a.butterBar,"Comment edit successful.",4E3),yH(a.issueFetchResponseFridge,c),dF(a.eventsForIssueFridge,c,function(A){A.events=Oua(A.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:g})}),a.eventsForIssueFridge.poke(c);case 3:fe(x);rJ(l,"commentEdit");ge(x,0);break;case 2:q=he(x),QF(a.errorHandler,
q),x.jumpTo(3)}})};UP.\u0275fac=function(a){return new (a||UP)(u(OF),u(fF),u(wH),u(VH),u(dJ),u(KF),u(tJ))};UP.\u0275prov=mc({token:UP,factory:UP.\u0275fac,providedIn:"root"});var Ksc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},Lsc=function(){},Msc=function(a){this.timestampMicros=a};vLa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var Nsc=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 Wn=function(a){r.call(this,a)};U(Wn,r);var Yn=[1,2,3,15];Wn.prototype.toObject=function(){return Osc(this)};var Osc=function(a){if(null!=a)return t(a),{isPublic:p(Ws(a,1,Yn)),isPrivateToUser:p(Ws(a,2,Yn)),privateUserGaiaIdForTest:p(Ys(a,3,Yn)),isEnd:p(Ws(a,15,Yn))}};var $n=function(a){r.call(this,a)};U($n,r);var bo=[1,2,3,4,5,6,7,8,9,10,11,12];$n.prototype.toObject=function(){return Psc(this)};
var Psc=function(a){if(null!=a)return t(a),{bytesDecreasing:Jb(no(a,ko(a,bo,5))),signedNumDecreasing:p(jo(a,ko(a,bo,4))),stringDecreasing:p(mo(a,3,bo)),numDecreasing:p(ELa(a,ko(a,bo,6))),bytes:Jb(no(a,ko(a,bo,7))),signedNumIncreasing:p(jo(a,ko(a,bo,2))),string:p(mo(a,1,bo)),numIncreasing:p(ELa(a,ko(a,bo,8))),doubleDecreasing:p(lo(a,9,bo)),doubleIncreasing:p(lo(a,10,bo)),timestampDecreasing:wt(Pj(a,yh,11,bo)),timestampIncreasing:wt(Pj(a,yh,12,bo))}};var Zn=function(a){r.call(this,a)};U(Zn,r);Zn.repeatedFields_=[1];Zn.prototype.toObject=function(){return VP(this)};var VP=function(a){if(null!=a)return t(a),{partsList:Gb(Ch(a,$n,1),Psc)}};var Vn=function(a){r.call(this,a)};U(Vn,r);Vn.prototype.getName=function(){return mo(this,1,WP)};Vn.prototype.setName=function(a){return Xn(this,1,WP,a)};Vn.prototype.hasName=function(){return null!=mo(this,1,WP)};Vn.prototype.getNameOrUndefined=function(){return bt(this,ko(this,WP,1))};var WP=[1,2];Vn.prototype.toObject=function(){return Qsc(this)};var Qsc=function(a){if(null!=a)return t(a),{name:p(mo(a,1,WP)),isEnd:p(Ws(a,2,WP))}};var Rsc=function(a){r.call(this,a)};U(Rsc,r);f=Rsc.prototype;f.getProject=function(){return Z(this,Vn,1)};f.setProject=function(a){Wi(this,Vn,1,a)};f.getOwner=function(){return Z(this,Wn,2)};f.setOwner=function(a){return Wi(this,Wn,2,a)};f.getPath=function(){return Z(this,Zn,3)};f.setPath=function(a){return Wi(this,Zn,3,a)};f.hasPath=function(){return Aj(this,Zn,3)};f.toObject=function(){return Ssc(this)};
var Ssc=function(a){if(null!=a)return t(a),{project:Qsc(a.getProject()),owner:Osc(a.getOwner()),path:VP(a.getPath())}};var Tsc=function(a){r.call(this,a)};U(Tsc,r);f=Tsc.prototype;f.getProject=function(){return Z(this,Vn,1)};f.setProject=function(a){Wi(this,Vn,1,a)};f.getOwner=function(){return Z(this,Wn,2)};f.setOwner=function(a){return Wi(this,Wn,2,a)};f.getPrefix=function(){return Z(this,Zn,3)};f.setPrefix=function(a){Wi(this,Zn,3,a)};f.toObject=function(){return Usc(this)};var Usc=function(a){if(null!=a)return t(a),{project:Qsc(a.getProject()),owner:Osc(a.getOwner()),prefix:VP(a.getPrefix())}};var XP=function(a){r.call(this,a)};U(XP,r);f=XP.prototype;f.getVersion=function(){return Ms(this,1)};f.getVersion_legacyNullable=function(){return Ms(this,1)};f.setVersion=function(a){return n(this,1,a)};f.getVersionOrUndefined=function(){return $s(this,1)};f.toObject=function(){return Vsc(this)};var Vsc=function(a){if(null!=a)return t(a),{version:p(Ms(a,1)),library:p(ir(a,2)),buildBaselineChangelist:p(m(a,3))}};var Wsc=function(a){r.call(this,a)};U(Wsc,r);f=Wsc.prototype;f.getProject=function(){return Z(this,Vn,3)};f.setProject=function(a){Wi(this,Vn,3,a)};f.getOwner=function(){return Z(this,Wn,4)};f.setOwner=function(a){return Wi(this,Wn,4,a)};f.toObject=function(){return Xsc(this)};var Xsc=function(a){if(null!=a)return t(a),{project:Qsc(a.getProject()),owner:Osc(a.getOwner()),minPath:VP(Z(a,Zn,5)),maxPath:VP(Z(a,Zn,6))}};var YP=function(a){r.call(this,a)};U(YP,r);f=YP.prototype;f.getHeader=function(){return Z(this,XP,4)};f.setHeader=function(a){return Wi(this,XP,4,a)};f.hasHeader=function(){return Aj(this,XP,4)};f.getPoint=function(){return Pj(this,Rsc,2,Ysc)};f.setPoint=function(a){eo(this,2,Ysc,a)};f.getPrefix=function(){return Pj(this,Tsc,6,Ysc)};f.setPrefix=function(a){eo(this,6,Ysc,a)};var Ysc=[2,3,6];YP.prototype.toObject=function(){return Zsc(this)};
var Zsc=function(a){if(null!=a)return t(a),{header:Vsc(a.getHeader()),startTimeMicros:p(m(a,1)),point:Ssc(a.getPoint()),range:Xsc(Pj(a,Wsc,3,Ysc)),prefix:Usc(a.getPrefix()),monitoringTag:p(m(a,5)),startTimeChosenByPunctual:p($q(a,8)),streamInitiationReason:p(ir(a,9))}};var $sc=function(a){r.call(this,a)};U($sc,r);$sc.prototype.toObject=function(){if(null!=this){t(this);var a={watchRequest:Zsc(Z(this,YP,1))}}else a=void 0;return a};var atc=function(a){r.call(this,a)};U(atc,r);atc.prototype.setAffinitization=function(a){n(this,2,a)};atc.prototype.getAffinitizationOrUndefined=function(){return ur(this,2)};atc.prototype.toObject=function(){if(null!=this){t(this);var a={gsessionid:p(m(this,1)),affinitization:p(ir(this,2)),initialConnectionDelayMillis:p(Ms(this,3))}}else a=void 0;return a};var btc=function(a){r.call(this,a)};U(btc,r);btc.prototype.toObject=function(){return ctc(this)};var ctc=function(a){if(null!=a)return t(a),{}};var dtc=function(a){r.call(this,a)};U(dtc,r);f=dtc.prototype;f.getStreamId_legacyNullable=function(){return m(this,1)};f.setStreamId=function(a){n(this,1,a)};f.getClose=function(){return Pj(this,btc,3,etc)};f.setClose=function(a){eo(this,3,etc,a)};f.hasClose=function(){return Nj(this,btc,3,etc)};f.setAffinitization=function(a){n(this,4,a)};f.getAffinitizationOrUndefined=function(){return ur(this,4)};var etc=[2,3];dtc.prototype.toObject=function(){return ftc(this)};
var ftc=function(a){if(null!=a)return t(a),{streamId:p(m(a,1)),open:Zsc(Pj(a,YP,2,etc)),close:ctc(a.getClose()),affinitization:p(ir(a,4))}};var ZP=function(a){r.call(this,a)};U(ZP,r);ZP.prototype.getRequestsList=function(){return Ch(this,dtc,1)};ZP.prototype.setRequestsList=function(a){return aj(this,1,a)};ZP.prototype.addAndReturnRequests=function(){return ub(this,1,dtc)};ZP.repeatedFields_=[1];ZP.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Gb(this.getRequestsList(),ftc)}}else a=void 0;return a};var $P=function(a){r.call(this,a)};U($P,r);$P.prototype.setAffinitization=function(a){n(this,4,a)};$P.prototype.getAffinitizationOrUndefined=function(){return ur(this,4)};$P.repeatedFields_=[3];$P.prototype.toObject=function(){return gtc(this)};var gtc=function(a){if(null!=a)return t(a),{int64SliceKey:p(m(a,1)),rangeSliceKey:Jb(no(a,2)),behavior:p(ir(a,5)),weaverAddressesList:p(Gh(a,3)),affinitization:p(ir(a,4))}};var htc=function(a){r.call(this,a)};U(htc,r);htc.repeatedFields_=[1];htc.prototype.toObject=function(){return itc(this)};var itc=function(a){if(null!=a)return t(a),{sliceKeyHintsList:Gb(Ch(a,$P,1),gtc)}};var aQ=function(a){r.call(this,a)};U(aQ,r);aQ.prototype.getCode=function(){return ir(this,1)};aQ.prototype.getCode_legacyNullable=function(){return ir(this,1)};aQ.prototype.setCode=function(a){return n(this,1,a)};aQ.prototype.toObject=function(){return jtc(this)};var jtc=function(a){if(null!=a)return t(a),{code:p(ir(a,1)),reconnectHints:itc(Z(a,htc,2))}};var bQ=function(a){r.call(this,a)};U(bQ,r);bQ.prototype.getReason=function(){return W(this,1,0)};bQ.prototype.setReason=function(a){n(this,1,a)};bQ.prototype.toObject=function(){return ktc(this)};var ktc=function(a){if(null!=a)return t(a),{reason:p(ir(a,1))}};pt[376010773]=Eb(376010773,{messageSetExtension:0},bQ,ktc);var ltc=function(a){r.call(this,a)};U(ltc,r);ltc.prototype.toObject=function(){return mtc(this)};var mtc=function(a){if(null!=a)return t(a),{timestampMicros:p(m(a,1))}};var ntc=function(a){r.call(this,a)};U(ntc,r);f=ntc.prototype;f.getPayload=function(){return no(this,2)};f.getVersion=function(){return m(this,3)};f.getVersion_legacyNullable=function(){return m(this,3)};f.setVersion=function(a){return n(this,3,a)};f.getVersionOrUndefined=function(){var a=m(this,3);return null==a?void 0:a};f.toObject=function(){return otc(this)};
var otc=function(a){if(null!=a)return t(a),{objectPath:VP(Z(a,Zn,6)),payload:Jb(a.getPayload()),version:p(m(a,3)),changeTimeMicros:p(m(a,4))}};var ptc=function(a){r.call(this,a)};U(ptc,r);ptc.repeatedFields_=[1];ptc.prototype.toObject=function(){return qtc(this)};var qtc=function(a){if(null!=a)return t(a),{changesList:Gb(Ch(a,ntc,1),otc)}};var rtc=function(a){r.call(this,a)};U(rtc,r);rtc.prototype.getPayload=function(){return Z(this,bQ,1)};rtc.prototype.toObject=function(){return stc(this)};var stc=function(a){if(null!=a)return t(a),{payload:ktc(a.getPayload())}};var ttc=function(a){r.call(this,a)};U(ttc,r);ttc.prototype.toObject=function(){return utc(this)};var utc=function(a){if(null!=a)return t(a),{}};var cQ=function(a){r.call(this,a)};U(cQ,r);cQ.prototype.getStart=function(){return Pj(this,ttc,1,dQ)};cQ.prototype.setStart=function(a){return eo(this,1,dQ,a)};cQ.prototype.getChanges=function(){return Pj(this,ptc,2,dQ)};cQ.prototype.hasChanges=function(){return Nj(this,ptc,2,dQ)};var dQ=[1,2,3,5];cQ.prototype.toObject=function(){return vtc(this)};var vtc=function(a){if(null!=a)return t(a),{start:utc(a.getStart()),changes:qtc(a.getChanges()),advance:mtc(Pj(a,ltc,3,dQ)),resync:stc(Pj(a,rtc,5,dQ))}};var eQ=function(a){r.call(this,a)};U(eQ,r);eQ.prototype.getStatus=function(){return Z(this,Nu,1)};eQ.prototype.setStatus=function(a){return Wi(this,Nu,1,a)};eQ.prototype.hasStatus=function(){return Aj(this,Nu,1)};eQ.prototype.toObject=function(){return wtc(this)};var wtc=function(a){if(null!=a)return t(a),{status:hOb(a.getStatus())}};var xtc=function(a){r.call(this,a)};U(xtc,r);f=xtc.prototype;f.getStreamId_legacyNullable=function(){return m(this,1)};f.setStreamId=function(a){n(this,1,a)};f.getClose=function(){return Pj(this,eQ,3,ytc)};f.setClose=function(a){eo(this,3,ytc,a)};f.hasClose=function(){return Nj(this,eQ,3,ytc)};var ytc=[2,3];xtc.prototype.toObject=function(){return ztc(this)};var ztc=function(a){if(null!=a)return t(a),{streamId:p(m(a,1)),watchResponse:vtc(Pj(a,cQ,2,ytc)),close:wtc(a.getClose())}};var fQ=function(a){r.call(this,a)};U(fQ,r);fQ.prototype.getStatus=function(){return Z(this,aQ,2)};fQ.prototype.setStatus=function(a){return Wi(this,aQ,2,a)};fQ.prototype.hasStatus=function(){return Aj(this,aQ,2)};fQ.repeatedFields_=[1];fQ.prototype.toObject=function(){if(null!=this){t(this);var a={responsesList:Gb(Ch(this,xtc,1),ztc),status:jtc(this.getStatus())}}else a=void 0;return a};var Atc=function(){RA.call(this,"d")};rs(Atc,RA);var Btc=function(){RA.call(this,"c")};rs(Btc,RA);var Ctc=function(a,b){this.path=a;this.authMethod=b},Dtc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new $p;this.channel=this.createWebChannel(e)};
Dtc.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 Etc(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 fQ(c[0]))});this.channelHandler.listen(a,"c",function(c){b.channelStatusHandler.onError(c,(new Etc(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
Dtc.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};Dtc.prototype.close=function(){2!==this.state&&this.channel.close()};Dtc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var Ftc,Gtc=(new XP).setVersion(7);Ftc=n(Gtc,2,5);var fo=function(a){this.rep=a};fo.prototype.equals=function(a){return this.rep===a.rep};var Htc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};Htc.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 co=function(a,b){this.seconds=a;this.nanos=b},BLa=function(a){var b=new yh;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},GLa=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("hd`"+b);if(253402300800<=b)throw Error("id`"+b);if(0>c)throw Error("jd`"+c);if(1E9<=c)throw Error("kd`"+c);if(!Number.isInteger(b))throw Error("ld`"+b);if(!Number.isInteger(c))throw Error("md`"+c);return new co(b,c)}catch(d){return null}};
co.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var ao=function(a,b){this.low_=a|0;this.high_=b|0};f=ao.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("nd`"+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=gQ(c,c/4294967296);c=hQ(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 iQ=function(a){var b=~a.low_+1|0;return gQ(b,~a.high_+!b|0)};
ao.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 gQ((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};ao.prototype.subtract=function(a){return this.add(iQ(a))};
ao.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 x=(q>>>16)+d*a;var A=x>>>16;x=(x&65535)+e*l;A+=x>>>16;A+=c*a;var B=A>>>16;A=(A&65535)+d*l;B+=A>>>16;A=(A&65535)+e*h;B=B+(A>>>16)+(b*a+c*l+d*h+e*g)&65535;return gQ((x&65535)<<16|q&65535,B<<16|A&65535)};
var hQ=function(a,b){if(b.isZero())throw Error("od");if(a.isNegative()){if(a.equals(Itc)){if(b.equals(Jtc)||b.equals(Ktc))return Itc;if(b.equals(Itc))return Jtc;var c=a.high_;c=gQ(a.low_>>>1|c<<31,c>>1);c=hQ(c,b).shiftLeft(1);if(c.equals(jQ))return b.isNegative()?Jtc:Ktc;a=a.subtract(b.multiply(c));return c.add(hQ(a,b))}return b.isNegative()?hQ(iQ(a),iQ(b)):iQ(hQ(iQ(a),b))}if(a.isZero())return jQ;if(b.isNegative())return b.equals(Itc)?jQ:iQ(hQ(a,iQ(b)));for(var d=jQ;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=kQ(c),h=g.multiply(b);h.isNegative()||0<h.compare(a);)c-=e,g=kQ(c),h=g.multiply(b);g.isZero()&&(g=Jtc);d=d.add(g);a=a.subtract(h)}return d};f=ao.prototype;f.not=function(){return gQ(~this.low_,~this.high_)};f.and=function(a){return gQ(this.low_&a.low_,this.high_&a.high_)};f.or=function(a){return gQ(this.low_|a.low_,this.high_|a.high_)};
f.xor=function(a){return gQ(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?gQ(b<<a,this.high_<<a|b>>>32-a):gQ(0,b<<a-32)};
var kQ=function(a){return 0<a?0x7fffffffffffffff<=a?Ltc:new ao(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?Itc:iQ(new ao(-a,-a/4294967296)):jQ},gQ=function(a,b){return new ao(a,b)},io=function(a,b){if("-"==a.charAt(0))return iQ(io(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new ao(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("pd");if(0<=a.indexOf("-"))throw Error("qd`"+a);b=b||10;if(2>b||36<b)throw Error("nd`"+b);c=kQ(Math.pow(b,8));for(var d=jQ,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(kQ(Math.pow(b,g))).add(kQ(h)):(d=d.multiply(c),d=d.add(kQ(h)))}return d},jQ=gQ(0,0),Jtc=gQ(1,0),Ktc=gQ(-1,-1),Ltc=gQ(4294967295,2147483647),Itc=gQ(0,2147483648);var On=function(a,b){this.value=a;this.isDecreasing=!!b};
On.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 ao)b=a.value instanceof ao?this.value.equals(a.value):!1;else if(this.value instanceof fo)b=a.value instanceof fo?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 co?a.value instanceof co?this.value.equals(a.value):!1:!1;return b};var ho=function(a,b){this.parts=a;this.isPrivate=b},DLa=function(){for(var a=[],b=k(Lc.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof On?a.push(c):a.push(new On(c));return new ho(a,!1)};ho.prototype.isPrivateToUser=function(){return this.isPrivate};
ho.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 Mtc=function(){},Sn=function(a,b){this.apiKey=a;this.authUser=b};Sn.prototype.getHeaders=function(){var a={},b;(b=so([]))?(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};Sn.prototype.getQueryParameters=function(){return{key:this.apiKey}};Sn.prototype.domainType=function(){return 0};Sn.prototype.usesCredentialedRequests=function(){return!0};var Qn=function(a){this.oauthTokens=a};
Qn.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};Qn.prototype.getQueryParameters=function(){return{}};Qn.prototype.domainType=function(){return 1};Qn.prototype.usesCredentialedRequests=function(){return!0};var Rn=function(a,b){this.apiKey=a;this.appAuthTokens=b};Rn.prototype.getHeaders=function(){return{}};Rn.prototype.getQueryParameters=function(){return{key:this.apiKey}};Rn.prototype.domainType=function(){return 1};
Rn.prototype.usesCredentialedRequests=function(){return!1};var Ntc={send:function(a,b,c,d,e,g,h){lh(a,b,c,d,e,g,h)}};var Otc=function(a,b,c){this.code=a;this.message=b;this.status=c},Ptc=function(a){var b=void 0===b?Ntc:b;this.baseUri=a;this.xhrIo=b};Ptc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
Ptc.prototype.request=function(a,b,c,d,e){var g=this,h=new Bo(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;IC(h,l,q)}}var x={"Content-type":"application/json+protobuf"};Object.assign(x,e.extraHeaders);var A=c.serialize();return new Promise(function(B,K){var O;g.xhrIo.send(h,function(){var P=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{B(Eca(d,this.getResponseText()))}catch(Y){K(new Otc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),P))}else K(new Otc(this.getLastErrorCode(),this.getLastError(),P))},a,A,x,null!=(O=e.timeoutMs)?O:2E4,e.withCredentials)})};var Qtc=function(a,b,c){mh.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};U(Qtc,mh);f=Qtc.prototype;f.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};f.stop=function(){this.timer_&&(Un(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(){mh.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_=Tn(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var Rtc=null,Stc=function(){return Rtc=Rtc||new vo},Ttc=function(a){RA.call(this,"serverreachability",a)};rs(Ttc,RA);var Utc=function(a){var b=Stc();b.dispatchEvent(new Ttc(b,a))},Vtc=function(a,b){RA.call(this,"statevent",a);this.stat=b};rs(Vtc,RA);var lQ=function(a){var b=Stc();b.dispatchEvent(new Vtc(b,a))},Wtc=function(a,b,c,d){RA.call(this,"timingevent",a);this.size=b;this.rtt=c;this.retries=d};rs(Wtc,RA);
var Xtc=function(a,b,c){var d=Stc();d.dispatchEvent(new Wtc(d,a,b,c))},Ytc=function(a,b){if("function"!==typeof a)throw Error("sd");return ba.setTimeout(function(){a()},b)};var mQ=function(){this.redactEnabled_=!0};mQ.prototype.disableRedact=function(){this.redactEnabled_=!1};
var Ztc=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 x=l[q].split("=");if(1<x.length){var A=x[0];x=x[1];var B=A.split("_");h=2<=B.length&&"type"==B[1]?h+(A+"="+x+"&"):h+(A+"=redacted&")}}}else h=null;else h=g;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},$tc=function(a,b,c,d,e,g,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+g+" "+h})},nQ=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+auc(a,c)+(d?" "+d:"")})},buc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};mQ.prototype.debug=function(){};mQ.prototype.info=function(){};mQ.prototype.warning=function(){};
var auc=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 Z0b(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var oQ=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 $p(this);this.timeout_=45E3;a=dp?125:void 0;this.pollingTimer_=new kB(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 cuc},cuc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},duc=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"}},
euc={},fuc={};oQ.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};oQ.prototype.setTimeout=function(a){this.timeout_=a};oQ.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};oQ.prototype.getPendingMessages=function(){return this.pendingMessages_};
var huc=function(a,b,c){a.type_=1;a.baseUri_=P6b(b.clone());a.postData_=c;a.decodeChunks_=!0;guc(a,null)},guc=function(a,b){a.requestStartTime_=Date.now();iuc(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 cuc;a.xmlHttp_=juc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new Qtc(ps(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?Sb(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));Utc(1);Ztc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
oQ.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)};oQ.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?kuc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),luc(this)}finally{}};
var kuc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!dp&&!luc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?Utc(3):Utc(2));muc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=nuc(a);luc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;$tc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
ouc(a))nQ(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,puc(a,d);else{a.successful_=!1;a.lastError_=3;lQ(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");pQ(a);quc(a);return}a.decodeChunks_?(ruc(a,b,c),dp&&a.successful_&&3==b&&suc(a)):(nQ(a.channelDebug_,a.rid_,c,null),puc(a,c));4==b&&pQ(a);a.successful_&&!a.cancelled_&&(4==b?tuc(a.channel_,a):(a.successful_=!1,iuc(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,lQ(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,lQ(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),pQ(a),quc(a)}},ouc=function(a){return a.xmlHttp_&&(a=oh(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!yk(a)?a:null},nuc=function(a){if(!uuc(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 pQ(a),quc(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},luc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},
uuc=function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},ruc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=vuc(a,c),e==fuc){4==b&&(a.lastError_=4,lQ(14),d=!1);nQ(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==euc){a.lastError_=4;lQ(15);nQ(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else nQ(a.channelDebug_,a.rid_,e,null),puc(a,e);uuc(a)&&e!=fuc&&e!=euc&&(a.fetchResponseState_.responseBuffer=
"",a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,lQ(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),wuc(b),b.bpDetectionDone_=!0,lQ(11))):(nQ(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),pQ(a),quc(a))};
oQ.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(muc(this),ruc(this,a,b),this.successful_&&4!=a&&iuc(this))}};
var suc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},vuc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return fuc;c=Number(b.substring(c,d));if(isNaN(c))return euc;d+=1;if(d+c>b.length)return fuc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};oQ.prototype.cancel=function(){this.cancelled_=!0;pQ(this)};
var iuc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;xuc(a,a.timeout_)},xuc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("td");a.watchDogTimerId_=Ytc(ps(a.onWatchDogTimeout_,a),b)},muc=function(a){a.watchDogTimerId_&&(ba.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
oQ.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(buc(this.channelDebug_,this.requestUri_),2!=this.type_&&(Utc(3),lQ(17)),pQ(this),this.lastError_=2,quc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),xuc(this,this.watchDogTimeoutTime_-a))};
var quc=function(a){a.channel_.isClosed()||a.cancelled_||tuc(a.channel_,a)},pQ=function(a){muc(a);kh(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()}};oQ.prototype.getLastError=function(){return this.lastError_};oQ.prototype.getLastStatusCode=function(){return this.lastStatusCode_};oQ.prototype.getRequestId=function(){return this.rid_};oQ.prototype.getXhr=function(){return this.xmlHttp_};
var puc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||c.forwardChannelRequestPool_.hasRequest(a)))if(!a.initialResponseDecoded_&&c.forwardChannelRequestPool_.hasRequest(a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(ma){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_)yuc(c),zuc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");Auc(c);lQ(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_=Ytc(ps(c.onBackChannelDead_,c),6E3))}}if(1>=c.forwardChannelRequestPool_.getRequestCount()&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(ma){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),qQ(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&yuc(c),!yk(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 x=l[4];null!=x&&(c.serverVersion_=x,c.channelDebug_.info("SVER="+c.serverVersion_));var A=l[5];null!=A&&"number"===typeof A&&0<A&&(h=1.5*A,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var B=a.getXhr();if(B){var K=oh(B,"X-Client-Wire-Protocol");if(K){var O=h.forwardChannelRequestPool_;b=K;!O.requestPool_&&(fa(b,"spdy")||fa(b,"quic")||fa(b,"h2"))&&(O.maxSize_=O.maxPoolSizeConfigured_,O.requestPool_=new Set,O.request_&&(O.addRequest(O.request_),
O.request_=null))}if(h.httpSessionIdParam_){var P=oh(B,"X-HTTP-Session-Id");P?(h.httpSessionId_=P,IC(h.forwardChannelUri_,h.httpSessionIdParam_,P)):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,X=Buc(Y,Y.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);Y.channelDebug_.debug("GetBackChannelUri: "+
X);d.backChannelUri_=X;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");Cuc(h.forwardChannelRequestPool_,b);d=b;var ka=h.backChannelRequestTimeoutMs_;ka&&d.setTimeout(ka);d.watchDogTimerId_&&(muc(d),iuc(d));h.backChannelRequest_=b}else Duc(h);0<c.outgoingMaps_.length&&Euc(c)}else"stop"!=l[0]&&"close"!=l[0]||qQ(c,7);else 3==c.state_&&("stop"==l[0]||"close"==l[0]?"stop"==l[0]?qQ(c,7):c.disconnect():"noop"!=l[0]&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}Utc(4)}catch(ma){}};var Fuc=function(a,b){this.mapId=a;this.map=b;this.context=null};var rQ=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_=[]},Guc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1};rQ.prototype.getRequestCount=function(){return this.request_?1:this.requestPool_?this.requestPool_.size:0};rQ.prototype.hasRequest=function(a){return this.request_?this.request_==a:this.requestPool_?this.requestPool_.has(a):!1};rQ.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var Cuc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
rQ.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()}};
rQ.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 ta(this.pendingMessages_)};var Huc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var Juc=function(a,b){var c=new mQ;c.debug("TestLoadImage: loading "+a);if(ba.Image){var d=new Image;d.onload=qs(Iuc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=qs(Iuc,c,d,"TestLoadImage: error",!1,b);d.onabort=qs(Iuc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=qs(Iuc,c,d,"TestLoadImage: timeout",!1,b);ba.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},Iuc=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 Kuc=function(){this.replacer_=void 0};Kuc.prototype.stringify=function(a){return ba.JSON.stringify(a,this.replacer_)};Kuc.prototype.parse=function(a){return ba.JSON.parse(a,void 0)};var Luc=function(){this.parser_=new Kuc},Muc=function(a,b,c){var d=c||"";try{F6b(a,function(e,g){var h=e;va(e)&&(h=Z0b(e));b.push(d+g+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var Nuc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},sQ=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new mQ;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_=Nuc("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_=Nuc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=Nuc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=Nuc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
Nuc("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 rQ(a&&a.concurrentRequestLimit);this.wireCodec_=new Luc;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};sQ.prototype.channelVersion_=8;sQ.prototype.state_=1;
sQ.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");lQ(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=Buc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;Euc(this)};
sQ.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");Ouc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();IC(b,"SID",this.sid_);IC(b,"RID",a);IC(b,"TYPE","terminate");Puc(this,b);a=new oQ(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=P6b(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_=juc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();iuc(a)}Quc(this)};var zuc=function(a){a.backChannelRequest_&&(wuc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},Ouc=function(a){zuc(a);a.backChannelTimerId_&&(ba.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);yuc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&ba.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
f=sQ.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 Euc=function(a){Guc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,gB(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},Suc=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_=Ytc(ps(a.onStartForwardChannelTimer_,a,b),Ruc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
sQ.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 oQ(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=Sb(c),Oca(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=Tuc(this,b,d);e=this.forwardChannelUri_.clone();IC(e,"RID",a);0<this.clientVersion_&&IC(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
IC(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);Puc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(S6b(c)))+"&"+d:this.httpHeadersOverwriteParam_&&T6b(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&IC(e,"TYPE","init");this.fastHandshake_?(IC(e,"$req",d),IC(e,"SID","null"),b.decodeInitialResponse_=!0,huc(b,e,null)):huc(b,e,d);this.state_=2}}else 3==this.state_&&(a?Uuc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):Guc(this.forwardChannelRequestPool_)||(Uuc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var Uuc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();IC(d,"SID",a.sid_);IC(d,"RID",c);IC(d,"AID",a.lastArrayId_);Puc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&T6b(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new oQ(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=Tuc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);huc(c,d,b)},Puc=function(a,b){a.extraParams_&&Ob(a.extraParams_,function(c,d){IC(b,d,c)});a.handler_&&F6b({},function(c,d){IC(b,d,c)})},Tuc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?ps(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 x=e[q].mapId,A=e[q].map;x-=g;if(0>x)g=Math.max(0,e[q].mapId-100),l=!1;else try{Muc(A,h,"req"+x+"_")}catch(B){d&&d(A)}}if(l){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},Duc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,gB(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},Auc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=Ytc(ps(a.onStartBackChannelTimer_,a),Ruc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
sQ.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;Vuc(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_=Ytc(ps(this.onBpDetectionTimer_,this),a)}};
sQ.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;lQ(10);zuc(this);Vuc(this)}else this.channelDebug_.warning("Invalid operation.")};
var wuc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),ba.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},Vuc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new oQ(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();IC(b,"RID","rpc");IC(b,"SID",a.sid_);IC(b,"AID",a.lastArrayId_);IC(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&IC(b,"TO",a.longPollingTimeout_);IC(b,"TYPE","xmlhttp");Puc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&T6b(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=P6b(b.clone());
c.postData_=null;c.decodeChunks_=!0;guc(c,d);a.channelDebug_.debug("New Request created")};sQ.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};sQ.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,zuc(this),Auc(this),lQ(19))};
var yuc=function(a){null!=a.deadBackChannelTimerId_&&(ba.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},tuc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){yuc(a);wuc(a);a.backChannelRequest_=null;var d=2}else if(a.forwardChannelRequestPool_.hasRequest(b))c=b.getPendingMessages(),Cuc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(Xtc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),Euc(a)):Duc(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: "+duc(g,a.errorResponseStatusCode_)});if(1==d&&Suc(a,b)||2==d&&Auc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&Huc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(g){case 1:qQ(a,5);break;case 4:qQ(a,10);break;case 3:qQ(a,6);break;default:qQ(a,2)}}},Ruc=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},qQ=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=ps(a.testNetworkCallback_,a);c||(c=new Bo("//www.google.com/images/cleardot.gif"),ba.location&&"http"==ba.location.protocol||FC(c,"https"),P6b(c));
Juc(c.toString(),d)}else lQ(2);a.onError_(b)};sQ.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),lQ(2)):(this.channelDebug_.info("Failed to ping google.com"),lQ(1))};sQ.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);Quc(this);Ouc(this)};
var Quc=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,ta(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
Buc=function(a,b,c){var d=KC(c);""!=d.getDomain()?(b&&d.setDomain(b+"."+d.getDomain()),d.setPort(d.getPort())):(d=ba.location,d=Q6b(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&IC(d,b,c);IC(d,"VER",a.channelVersion_);Puc(a,d);return d},juc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("ud");b=c&&a.usesFetchStreams_&&!a.xmlHttpFactory_?new tB(new CC({streamBinaryChunks:!0})):new tB(a.xmlHttpFactory_);b.withCredentials_=
a.supportsCrossDomainXhrs_;return b};sQ.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var Wuc=function(){};f=Wuc.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 Xuc=function(){if(ts&&!(10<=Number(xs)))throw Error("vd");};Xuc.prototype.createWebChannel=function(a,b){return new tQ(a,b)};
var tQ=function(a,b){vo.call(this);this.channel_=new sQ(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)&&!yk(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!yk(b)&&(this.channel_.httpSessionIdParam_=b,Ica(this.messageUrlParams_,b)&&Rb(this.messageUrlParams_,b));this.channelHandler_=new uQ(this)};rs(tQ,vo);
tQ.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};tQ.prototype.close=function(){this.channel_.disconnect()};tQ.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__=Z0b(a),a=c);b.outgoingMaps_.push(new Fuc(b.nextMapId_++,a));3==b.state_&&Euc(b)};
tQ.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;tQ.superClass_.disposeInternal.call(this)};var Yuc=function(a){Atc.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)?Mca(b,this.metadataKey):b}else this.data=a};rs(Yuc,Atc);
var Zuc=function(a){Btc.call(this);this.status=1;this.errorCode=a};rs(Zuc,Btc);var uQ=function(a){this.channel_=a};rs(uQ,Wuc);uQ.prototype.channelOpened=function(){this.channel_.dispatchEvent("a")};uQ.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new Yuc(a))};uQ.prototype.channelError=function(a){this.channel_.dispatchEvent(new Zuc(a))};uQ.prototype.channelClosed=function(){this.channel_.dispatchEvent("b")};var Etc=function(a){this.channel_=a};
Etc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};Etc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};Etc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var $uc=function(){this.changeList=[]};$uc.prototype.add=function(a){this.changeList.push(a)};
var avc=function(a,b){this.authMethod=b;this.jspbClient=new Ptc(a)},bvc=function(a,b){var c,d,e,g,h;return de(function(l){if(1==l.nextAddress){c=new $sc;Wi(c,YP,1,b);var q=l.yield,x=a.jspbClient,A=x.post;var B=a.authMethod;B={queryParams:B.getQueryParameters(),extraHeaders:B.getHeaders(),withCredentials:B.usesCredentialedRequests()};return q.call(l,A.call(x,"/punctual/v1/chooseServer",c,atc,B),2)}d=l.yieldResult;e=m(d,1);if(null==e)throw Error("wd");return l.return({gsessionid:e,affinitization:null!=
(g=d.getAffinitizationOrUndefined())?g:0,initialConnectionDelayMillis:null!=(h=Ms(d,3))?h:0})})},cvc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},vQ=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 E.Subject;this.streamNumber=0;this.rawStatus=new E.Subject;this.status=new E.BehaviorSubject(new AC);this.skipBackoff=
new Htc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Fia(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){Tn(e,500)})})).subscribe(this.status);this.delayGenerator=new vLa;this.reconnectHint=b?b.pipe(ye(function(){return E.NEVER}),Dia(E.NEVER)):E.NEVER;dvc(this)},evc=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 Bo}var h=g.clone().setPath("/punctual/multi-watch/channel"),
l=new Ctc(h.toString(),e);return{serverChooser:new avc(g,e),channelCreator:function(q,x,A){q=new Dtc(q,x,l,function(B,K){return(new Xuc).createWebChannel(B,K)},A);q.open();return q}}});return new vQ(d,c,b)};vQ.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 fvc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},gvc=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 ho&&d instanceof ho?c.equals(d):!1;return d})};vQ.prototype.onOpen=function(){var a=new AC;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};vQ.prototype.onClose=function(){this.channelState=void 0;dvc(this)};
vQ.prototype.onError=function(a,b){a=new AC;a.setCode(xLa(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 jvc=function(a,b,c){if(a.channelState){var d=hvc(c.project,c.interestSet);c instanceof ivc&&(n(d,1,c.knowledgeTimestamp.toString()),Ij(d,8,c.knowledgeTimestampChosenByPunctual));n(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new ZP;var e=c.addAndReturnRequests();e.setStreamId(b.toString());eo(e,2,etc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},hvc=function(a,b){var c=(new YP).setHeader(Ftc);if(b instanceof ho){var d=new Rsc;null!=a&&d.setProject(zLa(a));
d.setOwner(ALa(b));d.setPath(CLa(b));c.setPoint(d)}else d=new Tsc,null!=a&&d.setProject(zLa(a)),d.setOwner(ALa(b.root)),d.setPrefix(CLa(b.root)),c.setPrefix(d);return c},kvc=function(a,b){var c=new ZP,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new btc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},dvc=function(a){var b=Nsc(a.delayGenerator);yLa(b).pipe(bja(a.reconnectHint.pipe(Fe(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){lvc(a,c.serverChooser).then(function(d){Tn(function(){a.hasConnected=!0;mvc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){dvc(a)})},function(c){var d=new AC;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},lvc=function(a,b){var c,d,e,g,h,l;return de(function(q){if(1==q.nextAddress)return q.yield(nvc(a),2);c=q.yieldResult;
d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;return q.return(bvc(b,hvc(h,l)))})},nvc=function(a){var b,c,d,e,g,h,l;return de(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(ERb(GRb(a.newStreamSubject).pipe(Fe())),1)})},mvc=function(a,b,c){a.channelState={channel:b(function(g){for(var h=k(Ch(g,xtc,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 x=Pj(q,cQ,2,ytc);if(x)switch(Ai(x,dQ)){case 1:q=a;if(x=q.causalStreams.get(l)){try{x.observer.next(new Lsc)}catch(Y){}q.causalStreams.delete(l);q.limboStreams.set(l,x.start())}break;case 3:a:{if(q=Pj(x,ltc,3,dQ))if(q=m(q,1)){var A=new Msc(io(q));break a}A=void 0}if(A&&(q=a,x=l,l=A,(A=q.limboStreams.get(x))?(A=A.advance(l.timestampMicros),
q.limboStreams.delete(x),q.nonCausalStreams.set(x,A),q=A):q=q.nonCausalStreams.get(x),q)){x=q;A=l.timestampMicros;A>x.knowledgeTimestamp&&(x.knowledgeTimestamp=A,x.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(A=x.getChanges()){x=new $uc;A=k(Ch(A,ntc,1));for(var B=A.next();!B.done;B=A.next()){var K=B.value,O=Z(K,Zn,6);B=K.getVersion_legacyNullable();if(O&&B){var P=void 0;K=null==
(P=K.getPayload())?void 0:FLa(P);P=null===K?void 0:K;(O=HLa(q,O))&&x.add(new Ksc(O,io(B),P))}}q=x}else q=void 0;if(q)for(q=k(q.changeList),x=q.next();!x.done;x=q.next()){x=x.value;x=new Ksc(x.objectId,x.version,x.payload);try{l.observer.next(x)}catch(Y){}}break;case 5:if(q=a,l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof ivc&&(fvc(q),(x=gvc(q,l))?(x.hasRecurred=!0,x.knowledgeTimestamp=l.knowledgeTimestamp,x.resyncMillis=Date.now()):q.recentResyncs.push(new cvc(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;jvc(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;Tn(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
vQ.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new E.Observable(function(d){var e=++c.streamNumber,g,h=null!=(g=b.projectOverride)?g:c.defaultProject;d=new ovc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});jvc(c,e,d);return function(){kvc(c,e)}})};
vQ.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new E.Observable(function(e){var g=++d.streamNumber,h,l=null!=(h=c.projectOverride)?h:d.defaultProject,q=new ivc(e,l,a,b,!1);fvc(d);if((e=gvc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var x=!0;Tn(function(){x&&q.observer.complete()},6E4);return function(){x=!1}}d.nonCausalStreams.set(g,q);d.newStreamSubject.next({});jvc(d,g,q);return function(){kvc(d,g)}})};
var ovc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};ovc.prototype.start=function(){return new pvc(this.observer,this.project,this.interestSet)};var pvc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};pvc.prototype.advance=function(a){return new ivc(this.observer,this.project,this.interestSet,a,!0)};
var ivc=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 qvc={firstPartyUri:new Bo("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Bo("https://signaler-pa.googleapis.com")},rvc={firstPartyUri:new Bo("https://punctual-dev.corp.google.com"),thirdPartyUri:new Bo("https://signaler-staging.sandbox.google.com")},svc=new Map(Object.entries({prod:qvc,ytprod:{firstPartyUri:new Bo("https://signaler-pa.youtube.com"),thirdPartyUri:new Bo("https://signaler-pa.googleapis.com")},dev:rvc}));var tvc=function(a){this.projectPath=a;this.authParams=new Mtc};tvc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
tvc.prototype.build=function(){var a=wLa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("xd`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("yd`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Bo(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=svc.get(c);if(!d)throw Error("zd`"+c);c=d}return evc(c,a,this.reconnectHint,b)};var uvc={watch:function(){return(0,E.of)()},watchWithStartTime:function(){return(0,E.of)()},status:(0,E.of)()},wQ=function(a){this.activeSession=a;if(hE(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":a="AIzaSyDBL0cdQ7zgltPyAYPmzKE4X2t2_S_wW8w";var b="/punctual/prod/buganizer";break;case "QA":a="AIzaSyCpeBtg5BChNlEw-O4F0WpVJWgk_CFEY6I";b="/punctual/prod/buganizer-qa";break;default:a="ANVavNKXeiME5gTvC0_SzcTVHNYBMU50fWn-NpE",
b="/punctual/dev/buganizer-test"}this.punctualClient=(new tvc(b)).setApiKey(a).build()}else this.punctualClient=uvc},vvc=function(a,b){return a.punctualClient.watch(DLa("new-comment-issue",b)).pipe(ue(function(c){return c instanceof Ksc}))};wQ.\u0275fac=function(a){return new (a||wQ)(u(ds))};wQ.\u0275prov=mc({token:wQ,factory:wQ.\u0275fac,providedIn:"root"});var xQ=function(a){this.punctualService=a;this.stream=new E.Subject;this.isPaused=!1;this.closeStream$=new E.Subject};xQ.prototype.resume=function(){this.isPaused=!1};var wvc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new E.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};xQ.prototype.watch=function(a){var b=this;return vvc(this.punctualService,a).pipe(ue(function(){var c=!b.isPaused;b.resume();return c}),ze(1E3),Pe(this.closeStream$))};
xQ.\u0275fac=function(a){return new (a||xQ)(u(wQ))};xQ.\u0275prov=mc({token:xQ,factory:xQ.\u0275fac,providedIn:"root"});var xvc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var yQ=function(a,b,c){jE.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new Vv;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)};U(yQ,jE);yQ.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&yvc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){yvc(a,2)}))};yQ.prototype.onInput=function(){yvc(this,1)};
var yvc=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=on(d.getPropertyValue("border-top-width"))+on(d.getPropertyValue("padding-top"))+c.scrollHeight+on(d.getPropertyValue("padding-bottom"))+on(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=on(d.getPropertyValue("max-height")),d=on(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})))};yQ.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);jE.prototype.ngOnDestroy.call(this)};yQ.\u0275fac=function(a){return new (a||yQ)(C(rd),C(iE),C(dO))};
yQ.\u0275dir=Gc({type:yQ,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[Ye]});var zQ=function(a){this.$log=a;this.accessPolicyPrincipalToString=ri;this.stringToAccessPolicyPrincipal=Kqa},AQ=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},BQ=function(a){return{admins:oo(a.admins),editors:oo(a.editors),appenders:oo(a.appenders),readers:oo(a.readers),restrictedReaders:oo(a.restrictedReaders),restrictedPlusReaders:oo(a.restrictedPlusReaders),inheritedAdmins:oo(a.inheritedAdmins),
implicitAccess:a.implicitAccess||null}},CQ=function(a){return{admins:po(a.admins),editors:po(a.editors),appenders:po(a.appenders),readers:po(a.readers),restrictedReaders:po(a.restrictedReaders),restrictedPlusReaders:po(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}};zQ.\u0275fac=function(a){return new (a||zQ)(u(NF))};zQ.\u0275prov=mc({token:zQ,factory:zQ.\u0275fac,providedIn:"root"});
var zvc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var DQ=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})},Avc=function(a){var b,c;de(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();ee(d,2);b=a.createIframe();return d.yield(new Promise(function(e,
g){var h=function(){try{var q,x,A;if(null==(q=b.contentWindow)?0:null==(x=q.location)?0:null==(A=x.href)?0:A.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(B){}},l=setTimeout(function(){b.removeEventListener("load",h);g(Error("Bd"))},5E3);b.addEventListener("load",h);Jpa(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return ks(d,0);c=he(d);console.log("first party auth passive login "+c);ie(d)})};DQ.\u0275fac=function(a){return new (a||DQ)(u(ds))};
DQ.\u0275prov=mc({token:DQ,factory:DQ.\u0275fac,providedIn:"root"});var Bvc=function(a){r.call(this,a)};U(Bvc,r);f=Bvc.prototype;f.getSocialApplication=function(){return W(this,3,0)};f.getSocialApplicationOrUndefined=function(){return ur(this,3)};f.getAffinityType=function(){return V(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};f.setAffinityType=function(a){return n(this,12,a)};f.toObject=function(){return Cvc(this)};
var Cvc=function(a){if(null!=a)return t(a),{gapiApiKey:p(m(a,1)),gapiApiKeyTest:p(m(a,2)),socialApplication:p(ir(a,3)),papiClientId:p(m(a,4)),papiClientName:p(m(a,5)),papiClientVersion:p(m(a,6)),requestTimeoutMillis:Eh(a,8,3E4),includeDomainAddressBook:p($q(a,10)),includeDomainGroups:p($q(a,11)),affinityType:V(a,12,"CONTACT_STORE_DEFAULT_AFFINITY"),autocompletePageSize:Eh(a,13,15),rankedTargetsPageSize:Eh(a,14,500),peopleContainerMask:V(a,15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),
peopleFieldMask:V(a,16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),includeOnlyNames:Gj(a,17,!1)}};var EQ=function(a){r.call(this,a)};U(EQ,r);EQ.prototype.getExperimentIdsList=function(){return Bh(this,4)};EQ.prototype.setExperimentIdsList=function(a){return ob(this,4,a,Za)};EQ.prototype.getExperimentIds=function(){return Qs(this,4)};EQ.prototype.setExperimentIds=function(a){tb(this,4,a,void 0,Bh)};EQ.repeatedFields_=[4];EQ.prototype.toObject=function(){return Dvc(this)};
var Dvc=function(a){if(null!=a)return t(a),{enablePapiClearcutLogging:Gj(a,1,!0),enableOzClearcutLogging:Gj(a,2,!0),enableApiClearcutLogging:Gj(a,3,!0),experimentIdsList:p(Bh(a,4)),enablePapi:Gj(a,5,!0),enableCacheFiltering:Gj(a,6,!0)}};var Evc=function(a){r.call(this,a)};U(Evc,r);f=Evc.prototype;f.getClientInfo=function(){return Z(this,Bvc,1)};f.getMutableClientInfo=function(){return Is(this,Bvc,1)};f.setClientInfo=function(a){Wi(this,Bvc,1,a)};f.getExperiments=function(){return Z(this,EQ,2)};f.setExperiments=function(a){Wi(this,EQ,2,a)};f.hasExperiments=function(){return Aj(this,EQ,2)};
f.toObject=function(){if(null!=this){t(this);var a={clientInfo:Cvc(this.getClientInfo()),experiments:Dvc(this.getExperiments())}}else a=void 0;return a};var Fvc=Dca(Evc);var Gvc;var Hvc=function(a){r.call(this,a)};U(Hvc,r);f=Hvc.prototype;f.getDelegatorId=function(){return V(this,2)};f.getEnvType=function(){return W(this,5,0)};f.getEnvType_legacyNullable=function(){return ir(this,5)};f.setEnvType=function(a){n(this,5,a)};f.getCacheSize=function(){return Eh(this,7)};f.setCacheSize=function(a){n(this,7,a)};f.hasCacheSize=function(){return Bk(this,7)};
f.toObject=function(){if(null!=this){t(this);var a={delegatorId:p(m(this,2)),envType:p(ir(this,5)),releaseEnvType:p(ir(this,6)),cacheSize:p(Ms(this,7))}}else a=void 0;return a};var KLa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,ILa=/([#].*?&|[#])authuser=([^&#]*)\b/,JLa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var FQ=function(){this.config_=hb(Gvc||(Gvc=Fvc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Hvc;this.onAuthError_=this.gapiClientThenable_=null};FQ.prototype.getClientInfo=function(){return this.config_.getClientInfo()};FQ.prototype.getExperiments=function(){return this.config_.getExperiments()};FQ.prototype.getUserInfo=function(){return this.userInfo_};
var Ivc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=PLa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};FQ.prototype.getAuthErrorHandler=function(){return this.onAuthError_};FQ.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var Jvc=function(){};var Kvc=[];Kvc.push=function(){throw Error("Cd");};var GQ={cancel:function(){},isPending:function(){return!1}};var Lvc=function(a){this.response_=a||function(){};this.timer_=Tn(this.onTimer_,0,this);this.addressBookId_=""};f=Lvc.prototype;f.setResponse=function(a){this.response_=a};f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.cancel=function(){Un(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 Mvc=new Map([["personal",2],["domain",4],["pcab",3]]);var to=function(a){r.call(this,a)};U(to,r);f=to.prototype;f.getEventType=function(){return W(this,1,0)};f.setEventType=function(a){return n(this,1,a)};f.getApiType=function(){return W(this,2,0)};f.setApiType=function(a){return n(this,2,a)};f.getCacheStatus=function(){return W(this,3,0)};f.setCacheStatus=function(a){return n(this,3,a)};f.getAddressBook=function(){return W(this,4,0)};f.setAddressBook=function(a){return n(this,4,a)};f.getRpcType=function(){return W(this,5,0)};
f.setRpcType=function(a){return n(this,5,a)};f.getLookupType=function(){return W(this,6,0)};f.setLookupType=function(a){return n(this,6,a)};f.getToken=function(){return V(this,7,"")};f.setToken=function(a){return n(this,7,a)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:W(this,1,0),apiType:W(this,2,0),cacheStatus:W(this,3,0),addressBook:W(this,4,0),rpcType:W(this,5,0),lookupType:W(this,6,0),token:V(this,7,""),isCountRecorded:Gj(this,8,!1),isStatusRecorded:Gj(this,9,!1)}}else a=void 0;return a};var HQ=function(a){r.call(this,a)};U(HQ,r);f=HQ.prototype;f.setDevice=function(a){return n(this,1,a)};f.getApplication=function(){return W(this,2,0)};f.setApplication=function(a){return n(this,2,a)};f.getApplicationOrUndefined=function(){return ur(this,2)};f.toObject=function(){return Nvc(this)};var Nvc=function(a){if(null!=a)return t(a),{device:p(ir(a,1)),application:p(ir(a,2)),platform:p(ir(a,3)),trafficType:p(ir(a,4))}};var IQ=function(a){r.call(this,a)};U(IQ,r);f=IQ.prototype;f.setEventSource=function(a){n(this,2,a)};f.getEventSourceOrUndefined=function(){return ur(this,2)};f.getSocialClient=function(){return Z(this,HQ,3)};f.setSocialClient=function(a){return Wi(this,HQ,3,a)};f.setVersionName=function(a){return n(this,5,a)};f.getBaselineCl=function(){return m(this,7)};f.setBaselineCl=function(a){return n(this,7,a)};f.hasBaselineCl=function(){return Lk(this,7)};
f.getBaselineClOrUndefined=function(){return at(this,7)};f.setClientAgent=function(a){return n(this,9,a)};f.getClientAgentOrUndefined=function(){return ur(this,9)};f.getPeoplekitEntryPoint=function(){return ir(this,11)};f.setPeoplekitEntryPoint=function(a){return n(this,11,a)};f.getPeoplekitEntryPointOrUndefined=function(){return ur(this,11)};f.setEnvironment=function(a){return n(this,13,a)};f.getEnvironmentOrUndefined=function(){return ur(this,13)};IQ.repeatedFields_=[6];IQ.prototype.toObject=function(){return Ovc(this)};
var Ovc=function(a){if(null!=a)return t(a),{eventSource:p(ir(a,2)),socialClient:Nvc(a.getSocialClient()),versionName:p(m(a,5)),applicationIdentifies:p(m(a,10)),baselineCl:p(m(a,7)),enabledExperimentsFlagsList:p(Gh(a,6)),sendkitEntryPoint:p(Ms(a,8)),clientAgent:p(ir(a,9)),peoplekitEntryPoint:p(ir(a,11)),environment:p(ir(a,13))}};var Pvc=function(a){r.call(this,a)};U(Pvc,r);f=Pvc.prototype;f.getApiType=function(){return W(this,1,0)};f.setApiType=function(a){return n(this,1,a)};f.getItemCount=function(){return Eh(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return Bk(this,2)};f.toObject=function(){return Qvc(this)};var Qvc=function(a){if(null!=a)return t(a),{apiType:p(ir(a,1)),itemCount:p(Ms(a,2))}};var Rvc=function(a){r.call(this,a)};U(Rvc,r);f=Rvc.prototype;f.getApiType=function(){return W(this,1,0)};f.setApiType=function(a){return n(this,1,a)};f.getItemCount=function(){return Eh(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return Bk(this,2)};f.getStatus=function(){return W(this,4,2)};f.setStatus=function(a){return n(this,4,a)};f.hasStatus=function(){return cj(this,4)};f.setTotalUsec=function(a){return n(this,5,a)};
f.setBlockedUsec=function(a){return n(this,6,a)};f.setNetworkUsec=function(a){n(this,7,a)};f.getCacheStatus=function(){return W(this,8,0)};f.setCacheStatus=function(a){return n(this,8,a)};f.getAddressBook=function(){return W(this,9,0)};f.setAddressBook=function(a){return n(this,9,a)};f.toObject=function(){return Svc(this)};
var Svc=function(a){if(null!=a)return t(a),{apiType:p(ir(a,1)),itemCount:p(Ms(a,2)),notFoundCount:p(Ms(a,3)),status:W(a,4,2),totalUsec:p(m(a,5)),blockedUsec:p(m(a,6)),networkUsec:p(m(a,7)),cacheStatus:p(ir(a,8)),addressBook:p(ir(a,9))}};var Tvc=function(a){r.call(this,a)};U(Tvc,r);f=Tvc.prototype;f.getStatus=function(){return W(this,1,2)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return cj(this,1)};f.setTotalUsec=function(a){return n(this,2,a)};f.toObject=function(){return Uvc(this)};var Uvc=function(a){if(null!=a)return t(a),{status:W(a,1,2),totalUsec:p(m(a,2)),scriptLoadUsec:p(m(a,3)),papiLoadUsec:p(m(a,4)),transportType:p(ir(a,5))}};var Vvc=function(a){r.call(this,a)};U(Vvc,r);f=Vvc.prototype;f.getRpcType=function(){return W(this,1,0)};f.setRpcType=function(a){return n(this,1,a)};f.getLookupType=function(){return W(this,2,0)};f.setLookupType=function(a){return n(this,2,a)};f.toObject=function(){return Wvc(this)};var Wvc=function(a){if(null!=a)return t(a),{rpcType:p(ir(a,1)),lookupType:p(ir(a,2))}};var Xvc=function(a){r.call(this,a)};U(Xvc,r);f=Xvc.prototype;f.getRpcType=function(){return W(this,1,0)};f.setRpcType=function(a){return n(this,1,a)};f.getLookupType=function(){return W(this,2,0)};f.setLookupType=function(a){return n(this,2,a)};f.getStatus=function(){return W(this,3,2)};f.setStatus=function(a){return n(this,3,a)};f.hasStatus=function(){return cj(this,3)};f.setTotalUsec=function(a){return n(this,4,a)};f.setBlockedUsec=function(a){return n(this,5,a)};
f.setNetworkUsec=function(a){n(this,6,a)};f.toObject=function(){return Yvc(this)};var Yvc=function(a){if(null!=a)return t(a),{rpcType:p(ir(a,1)),lookupType:p(ir(a,2)),status:W(a,3,2),totalUsec:p(m(a,4)),blockedUsec:p(m(a,5)),networkUsec:p(m(a,6))}};var JQ=function(a){r.call(this,a)};U(JQ,r);f=JQ.prototype;f.getEnvType=function(){return W(this,1,0)};f.getEnvType_legacyNullable=function(){return ir(this,1)};f.setEnvType=function(a){n(this,1,a)};f.getCacheSize=function(){return Eh(this,2)};f.setCacheSize=function(a){n(this,2,a)};f.hasCacheSize=function(){return Bk(this,2)};f.toObject=function(){return Zvc(this)};
var Zvc=function(a){if(null!=a)return t(a),{envType:p(ir(a,1)),cacheSize:p(Ms(a,2)),cacheSizeBucket:p(Ms(a,3)),gmailDelegation:p($q(a,4))}};var KQ=function(a){r.call(this,a)};U(KQ,r);f=KQ.prototype;f.getClientInterface=function(){return Z(this,IQ,1)};f.setClientInterface=function(a){return Wi(this,IQ,1,a)};f.getSource=function(){return W(this,2,0)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return cj(this,2)};f.getSourceOrUndefined=function(){return ur(this,2)};f.getEventType=function(){return W(this,3,0)};f.getEventType_legacyNullable=function(){return ir(this,3)};f.setEventType=function(a){return n(this,3,a)};
f.getRpcRequest=function(){return Pj(this,Vvc,5,LQ)};f.setRpcRequest=function(a){return eo(this,5,LQ,a)};f.getRpcResponse=function(){return Pj(this,Xvc,6,LQ)};f.setRpcResponse=function(a){return eo(this,6,LQ,a)};f.getApiCall=function(){return Pj(this,Pvc,7,LQ)};f.setApiCall=function(a){return eo(this,7,LQ,a)};f.getApiResult=function(){return Pj(this,Rvc,8,LQ)};f.setApiResult=function(a){return eo(this,8,LQ,a)};f.getUserInfo=function(){return Z(this,JQ,9)};
f.setUserInfo=function(a){return Wi(this,JQ,9,a)};f.hasUserInfo=function(){return Aj(this,JQ,9)};var LQ=[4,5,6,7,8];KQ.prototype.toObject=function(){if(null!=this){t(this);var a={clientInterface:Ovc(this.getClientInterface()),source:p(ir(this,2)),eventType:p(ir(this,3)),gapiInit:Uvc(Pj(this,Tvc,4,LQ)),rpcRequest:Wvc(this.getRpcRequest()),rpcResponse:Yvc(this.getRpcResponse()),apiCall:Qvc(this.getApiCall()),apiResult:Svc(this.getApiResult()),userInfo:Zvc(this.getUserInfo())}}else a=void 0;return a};var $vc=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]]),awc=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]]),bwc=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]]),cwc=function(a){return awc.has(a)?awc.get(a):1},dwc=function(a){return bwc.has(a)?bwc.get(a):2};var ewc=function(a){this.request_=a;this.errorCode_=0},fwc=function(a,b){b=new ewc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};f=ewc.prototype;f.hasChanges=function(){return this.mutateResponse_&&Z(this.mutateResponse_,MQ,2)?Z(this.mutateResponse_,MQ,2).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 NQ=function(a){this.map_=new IG;this.size=0;a&&this.addAll(a)},gwc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.charAt(0)+a};f=NQ.prototype;f.getCount=function(){return this.map_.size};f.add=function(a){this.map_.set(gwc(a),a);this.setSizeInternal_(this.map_.size)};f.addAll=function(a){a=EC(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=EC(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(gwc(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(gwc(a))};f.contains=function(a){return this.map_.containsKey(gwc(a))};f.intersection=function(a){var b=new NQ;a=EC(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 NQ(this)};f.equals=function(a){return this.getCount()==D6b(a)&&hwc(this,a)};
var hwc=function(a,b){var c=D6b(b);if(a.getCount()>c)return!1;!(b instanceof NQ)&&5<c&&(b=new NQ(b));return G6b(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(ua(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})};NQ.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};NQ.prototype[Symbol.iterator]=function(){return this.values()};
NQ.prototype.setSizeInternal_=function(a){this.size=a};var OQ=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new NQ(c);this.extraFields_=[]};OQ.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 iwc=function(a){a.fieldSet_||(a.fieldSet_=new NQ(a.fields_));return a.fieldSet_};
OQ.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new NQ);if(this.doesntContain_.has(a))return!1;var b=iwc(this),c=iwc(a);if(G6b(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var jwc=new OQ(["6","12"],"1"),kwc=new OQ("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[jwc]);new OQ("6 12 16 17 18 1a".split(" "),"3",[jwc]);
new OQ("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",[jwc,kwc]);new OQ([]);var lwc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var mwc=function(a,b,c){mh.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};U(mwc,mh);f=mwc.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 nwc=function(a){mh.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};U(nwc,mh);f=nwc.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(){mh.prototype.disposeInternal.call(this);this.scheduler=null};var owc=function(){mh.call(this);this.states={};this.currentGroup=1};U(owc,mh);owc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,g=this.states[a.getGroup()];g||(g=new nwc(this),this.states[a.getGroup()]=g);g.setMaxNumRetries(Math.max(c||1,g.getMaxNumRetries()));switch(g.runState){case 1:case 5:g.reset();pwc(a,b,e);break;case 6:pwc(a,b,e);break;case 4:d&&(g.reset(),pwc(a,b,e));break;case 2:e<g.runTime?(this.cancel(g),g.reset(),pwc(a,b,e)):g.numTriesLeft=g.maxNumRetries_}};
var pwc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Tn(a.run,b,a)))};f=owc.prototype;f.getState=function(a){return this.states[a]};f.createGroup=function(){return""+this.currentGroup++};f.disposeInternal=function(){mh.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);kh(b)}this.states={}};f.cancel=function(a){2==a.runState&&Un(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 qwc={SOMETHING_CHANGED:"e",ERROR:"f"},rwc=function(a,b){RA.call(this,a&&a[0].getError()?"f":"e");this.responses_=a;this.source_=b||"h"};U(rwc,RA);rwc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];pa(this.responses_,function(b){b=Z(b,MQ,2).getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};rwc.prototype.getSource=function(){return this.source_};var swc=function(a,b){this.fn_=a;this.handler_=b};swc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};swc.prototype.abort=function(){this.handler_=this.fn_=null};MZb(function(a){swc.prototype.execute=a(swc.prototype.execute)});var twc=[];var PQ=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];this.addDependencies(c,!1)};PQ.prototype.toString=function(){return this.serviceId_};PQ.prototype.getModuleId=function(){return this.moduleId_};
PQ.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("Dd`"+this.serviceId_);a.map(function(d){return d.getModuleId()}).forEach(function(d){twc.push(function(e){e.addExtraEdge(c.moduleId_,d)})})}};new PQ("ZtVrH");new PQ("rJmJrc","rJmJrc");new PQ("fJuxOc");new PQ("NGntwf");new PQ("ofuapc");new PQ("BWETze");new PQ("ZmXAm");new PQ("n73qwf","n73qwf");new PQ("Bgf0ib");new PQ("MpJwZc","MpJwZc");new PQ("UUJqVe","UUJqVe");new PQ("GHAeAc","GHAeAc");new PQ("Wt6vjf","Wt6vjf");new PQ("byfTOb","byfTOb");new PQ("LEikZe","LEikZe");new PQ("lsjVmc","lsjVmc");new PQ("pVbxBc");new PQ("klpyYe");new PQ("OPbIxb");new PQ("pg9hFd");new PQ("IaqD3e");new PQ("Xpw1of");new PQ("v5BQle");new PQ("tdUkaf");new PQ("WSziFf");new PQ("UBSgGf");new PQ("zZa4xc");new PQ("o1bZcd");new PQ("WwG67d");new PQ("z72MOc");new PQ("JccZRe");new PQ("amY3Td");new PQ("ABma3e");new PQ("gSshPb");new PQ("yu4DA");new PQ("vk3Wc");new PQ("IykvEf");new PQ("J5K1Ad");new PQ("IW8Usd");new PQ("jbDgG");new PQ("b8xKu");new PQ("d0RAGb");new PQ("AzG0ke");new PQ("J4QWB");new PQ("TuDsZ");new PQ("hdXIif");new PQ("mITR5c");new PQ("DFElXb");new PQ("FENZqe");new PQ("tLnxq");var uwc=function(){mh.call(this);this.eventTarget_=new vo;this.updateCacheEventTarget_=new vo;this.mutationIdMap_=new LG};U(uwc,mh);uwc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};uwc.prototype.getEventTarget=function(){return this.eventTarget_};
uwc.prototype.disposeInternal=function(){mh.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var rr=function(a){r.call(this,a)};U(rr,r);var qr=function(a,b){return n(a,1,b)};f=rr.prototype;f.setLogSource=function(a){return n(this,2,a)};f.getApplication=function(){return W(this,3,0)};f.setApplication=function(a){return n(this,3,a)};f.getApplicationOrUndefined=function(){return ur(this,3)};f.getVersion=function(){return V(this,4)};f.getVersion_legacyNullable=function(){return m(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return bt(this,4)};
f.getBaselineCl=function(){return Eh(this,5)};f.setBaselineCl=function(a){return n(this,5,a)};f.hasBaselineCl=function(){return Bk(this,5)};f.getBaselineClOrUndefined=function(){return $s(this,5)};f.getEnableClearcut=function(){return Gj(this,6)};f.setEnableClearcut=function(a){return Ij(this,6,a)};var Uhb=function(a,b){return ob(a,7,b,Za)};f=rr.prototype;f.getExperimentId=function(){return Qs(this,7)};f.setClientAgent=function(a){return n(this,8,a)};
f.getClientAgentOrUndefined=function(){return ur(this,8)};f.setEventSource=function(a){n(this,9,a)};f.getEventSourceOrUndefined=function(){return ur(this,9)};f.getClearcutUrl=function(){return V(this,10)};f.setClearcutUrl=function(a){n(this,10,a)};f.setEnvironment=function(a){return n(this,11,a)};f.getEnvironmentOrUndefined=function(){return ur(this,11)};f.getPeoplekitEntryPoint=function(){return W(this,12,0)};f.setPeoplekitEntryPoint=function(a){return n(this,12,a)};
f.getPeoplekitEntryPointOrUndefined=function(){return ur(this,12)};rr.repeatedFields_=[7];rr.prototype.toObject=function(){if(null!=this){t(this);var a={logName:p(m(this,1)),logSource:p(ir(this,2)),application:p(ir(this,3)),version:p(m(this,4)),baselineCl:p(Ms(this,5)),enableClearcut:p($q(this,6)),experimentIdList:p(Bh(this,7)),clientAgent:p(ir(this,8)),eventSource:p(ir(this,9)),clearcutUrl:p(m(this,10)),environment:p(ir(this,11)),peoplekitEntryPoint:p(ir(this,12))}}else a=void 0;return a};var vwc=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 wwc=function(a){this.start_=a;this.end_=NaN};wwc.prototype.duration=function(){return this.end_-this.start_};wwc.prototype.stop=function(a){this.end_=a;return this.duration()};var QQ=function(a){var b=void 0===b?vwc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};QQ.prototype.source=function(){return this.source_};var xwc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};f=QQ.prototype;
f.duration=function(a){a=xwc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};f.durationUsec=function(a){return TLa(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=xwc(this,a);this.durations_.set(a,new wwc(b));return this};
f.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=xwc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};f.clear=function(){this.durations_.clear();return this};var ywc=function(a){r.call(this,a)};U(ywc,r);ywc.prototype.toObject=function(){return zwc(this)};var zwc=function(a){if(null!=a)return t(a),{applicationPackageName:p(m(a,1)),widgetName:p(m(a,2))}};var Awc=function(a){r.call(this,a)};U(Awc,r);Awc.prototype.toObject=function(){return Bwc(this)};var Bwc=function(a){if(null!=a)return t(a),{hadValidCache:p($q(a,1)),timeSinceCacheRefreshUsec:p(m(a,2)),cacheRefreshUsec:p(m(a,3)),hadDeviceContactPermissions:p($q(a,4))}};var RQ=function(a){r.call(this,a)};U(RQ,r);f=RQ.prototype;f.getQueryId=function(){return m(this,1)};f.setQueryId=function(a){n(this,1,a)};f.setSelectionId=function(a){n(this,2,a)};f.getInstanceId=function(){return m(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Hs(this,4)};f.hasInstanceId=function(){return tk(this,4)};f.getInstanceIdOrUndefined=function(){return bt(this,4)};f.getAffinityVersion=function(){return Ms(this,5)};
f.setAffinityVersion=function(a){n(this,5,a)};f.getAffinityVersionOrUndefined=function(){return $s(this,5)};f.toObject=function(){return Cwc(this)};var Cwc=function(a){if(null!=a)return t(a),{queryId:p(m(a,1)),selectionId:p(m(a,2)),submissionId:p(m(a,3)),instanceId:p(m(a,4)),affinityVersion:p(Ms(a,5))}};var Dwc=function(a){r.call(this,a)};U(Dwc,r);f=Dwc.prototype;f.getQueryLength=function(){return Ms(this,1)};f.setQueryLength=function(a){return n(this,1,a)};f.hasQueryLength=function(){return Bk(this,1)};f.getQuery=function(){return m(this,2)};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Hs(this,2)};f.hasQuery=function(){return tk(this,2)};f.toObject=function(){return Ewc(this)};
var Ewc=function(a){if(null!=a)return t(a),{queryLength:p(Ms(a,1)),query:p(m(a,2)),sessions:Cwc(Z(a,RQ,3))}};var Fwc=function(a){r.call(this,a)};U(Fwc,r);Fwc.prototype.toObject=function(){return Gwc(this)};var Gwc=function(a){if(null!=a)return t(a),{mobileNetworkCountry:p(m(a,1)),simCountry:p(m(a,2)),localeCountry:p(m(a,3))}};var Hwc=function(a){r.call(this,a)};U(Hwc,r);Hwc.prototype.toObject=function(){return Iwc(this)};var Iwc=function(a){if(null!=a)return t(a),{canonicalCode:p(ir(a,1))}};var Jwc=function(a){r.call(this,a)};U(Jwc,r);Jwc.prototype.toObject=function(){return Kwc(this)};var Kwc=function(a){if(null!=a)return t(a),{attributedSharingEnabled:p($q(a,1)),sharePanelVersion:p(m(a,2))}};var SQ=function(a){r.call(this,a)};U(SQ,r);SQ.prototype.setLatencyUsec=function(a){n(this,1,a)};SQ.prototype.toObject=function(){return Lwc(this)};var Lwc=function(a){if(null!=a)return t(a),{latencyUsec:p(Ms(a,1)),dataLatencyUsec:p(Ms(a,2))}};var TQ=function(a){r.call(this,a)};U(TQ,r);f=TQ.prototype;f.getColumn=function(){return Ms(this,2)};f.setColumn=function(a){return n(this,2,a)};f.getType=function(){return ir(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return cj(this,3)};f.toObject=function(){return Mwc(this)};var Mwc=function(a){if(null!=a)return t(a),{row:p(Ms(a,1)),column:p(Ms(a,2)),type:p(ir(a,3))}};var Nwc=function(a){r.call(this,a)};U(Nwc,r);f=Nwc.prototype;f.getExistingSelectionsCount=function(){return Ms(this,1)};f.setExistingSelectionsCount=function(a){n(this,1,a)};f.getPosition=function(){return Z(this,TQ,2)};f.setPosition=function(a){return Wi(this,TQ,2,a)};f.toObject=function(){return Owc(this)};var Owc=function(a){if(null!=a)return t(a),{existingSelectionsCount:p(Ms(a,1)),position:Mwc(a.getPosition()),replacementOriginEmailAddress:p(m(a,3)),replacementDestinationEmailAddress:p(m(a,4))}};var UQ=function(a){r.call(this,a)};U(UQ,r);f=UQ.prototype;f.getType=function(){return ir(this,5)};f.setType=function(a){return n(this,5,a)};f.hasType=function(){return cj(this,5)};f.getEmail=function(){return m(this,1)};f.getEmail_legacyNullable=function(){return m(this,1)};f.setEmail=function(a){return n(this,1,a)};f.hasEmail=function(){return tk(this,1)};f.getPhone=function(){return m(this,2)};f.getPhone_legacyNullable=function(){return m(this,2)};f.setPhone=function(a){return n(this,2,a)};
f.hasPhone=function(){return tk(this,2)};f.getObfuscatedGaiaId=function(){return m(this,3)};f.getObfuscatedGaiaId_legacyNullable=function(){return m(this,3)};f.setObfuscatedGaiaId=function(a){n(this,3,a)};f.getContactId=function(){return m(this,4)};f.setContactId=function(a){n(this,4,a)};f.getGroupId=function(){return m(this,6)};f.setGroupId=function(a){n(this,6,a)};f.hasGroupId=function(){return tk(this,6)};f.toObject=function(){return Pwc(this)};
var Pwc=function(a){if(null!=a)return t(a),{type:p(ir(a,5)),email:p(m(a,1)),phone:p(m(a,2)),obfuscatedGaiaId:p(m(a,3)),contactId:p(m(a,4)),groupId:p(m(a,6))}};var Qwc=function(a){r.call(this,a)};U(Qwc,r);f=Qwc.prototype;f.getName=function(){return m(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.toObject=function(){return Rwc(this)};var Rwc=function(a){if(null!=a)return t(a),{name:p(m(a,1))}};var VQ=function(a){r.call(this,a)};U(VQ,r);f=VQ.prototype;f.getPosition=function(){return Z(this,TQ,1)};f.setPosition=function(a){return Wi(this,TQ,1,a)};f.getProfile=function(){return Z(this,Qwc,2)};f.getProvenance=function(){return Ts(this,3)};f.setProvenance=function(a){return tb(this,3,a,void 0,Qk)};f.getIsPlaceholder=function(){return $q(this,7)};f.setIsPlaceholder=function(a){Ij(this,7,a)};f.getIsSelf=function(){return $q(this,11)};f.getQueryId=function(){return m(this,15)};
f.setQueryId=function(a){n(this,15,a)};f.setSelectionId=function(a){n(this,16,a)};VQ.repeatedFields_=[4,3];VQ.prototype.toObject=function(){return Swc(this)};
var Swc=function(a){if(null!=a)return t(a),{position:Mwc(a.getPosition()),additionalPositionList:Gb(Ch(a,TQ,4),Mwc),profile:Rwc(a.getProfile()),provenanceList:p(Qk(a,3)),hasAvatar:p($q(a,5)),isBoosted:p($q(a,6)),isPlaceholder:p($q(a,7)),smartAddressEntityMetadata:Owc(Z(a,Nwc,8)),uiSurface:p(ir(a,9)),isSelf:p($q(a,11)),isOutOfDomain:p($q(a,12)),rankType:p(ir(a,13)),rank:p(Ms(a,14)),queryId:p(m(a,15)),selectionId:p(m(a,16))}};var Twc=function(a){r.call(this,a)};U(Twc,r);f=Twc.prototype;f.getLoggingId=function(){return m(this,1)};f.setLoggingId=function(a){n(this,1,a)};f.getMetadata=function(){return Z(this,VQ,3)};f.setMetadata=function(a){Wi(this,VQ,3,a)};f.toObject=function(){return Uwc(this)};var Uwc=function(a){if(null!=a)return t(a),{loggingId:p(m(a,1)),entityId:Pwc(Z(a,UQ,4)),metadata:Swc(a.getMetadata())}};var WQ=function(a){r.call(this,a)};U(WQ,r);WQ.prototype.getAffinityVersion=function(){return Ms(this,2)};WQ.prototype.setAffinityVersion=function(a){n(this,2,a)};WQ.prototype.getAffinityVersionOrUndefined=function(){return $s(this,2)};WQ.prototype.toObject=function(){return Vwc(this)};
var Vwc=function(a){if(null!=a)return t(a),{autocompleteMetadata:Ewc(Z(a,Dwc,1)),affinityVersion:p(Ms(a,2)),showMetadata:Lwc(Z(a,SQ,6)),queryErrorMetadata:Iwc(Z(a,Hwc,7)),autocompleteClientMetadata:Bwc(Z(a,Awc,3)),reactrMetadata:Kwc(Z(a,Jwc,4)),apdlMetadata:zwc(Z(a,ywc,5)),phoneRegionHints:Gwc(Z(a,Fwc,8))}};var Wwc=function(a){r.call(this,a)};U(Wwc,r);Wwc.prototype.toObject=function(){return Xwc(this)};var Xwc=function(a){if(null!=a)return t(a),{scoreVersion:p(m(a,1)),sessionId:p(m(a,2))}};var Ywc=function(a){r.call(this,a)};U(Ywc,r);f=Ywc.prototype;f.getEventType=function(){return ir(this,1)};f.getEventType_legacyNullable=function(){return ir(this,1)};f.setEventType=function(a){return n(this,1,a)};f.getMetadata=function(){return Z(this,WQ,4)};f.setMetadata=function(a){Wi(this,WQ,4,a)};f.getClientInterface=function(){return Z(this,IQ,5)};f.setClientInterface=function(a){return Wi(this,IQ,5,a)};Ywc.repeatedFields_=[2];
Ywc.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:p(ir(this,1)),entityList:Gb(Ch(this,Twc,2),Uwc),scoringInfo:Xwc(Z(this,Wwc,3)),metadata:Vwc(this.getMetadata()),clientInterface:Ovc(this.getClientInterface()),eventTimestampUsec:p(m(this,6))}}else a=void 0;return a};var Zwc=new Map([[1,4],[2,2],[3,1],[4,7]]),$wc=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=Gj(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Gj(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=Zwc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=sb(Uhb(qr(new rr,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,20090307)};f=$wc.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b){b=b.source();var c=axc(this);switch(b.getEventType()){case 2:case 3:return(new KQ).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new Vvc).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new KQ).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new Pvc).setApiType(b.getApiType()));default:return null}};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=axc(this);switch(d.getEventType()){case 1:d=(new KQ).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new Tvc).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(b.durationUsec("total")),b=b.durationUsec("blocked"),b=n(c,3,b),n(b,5,a);return eo(d,4,LQ,e);case 2:case 3:return a=(new KQ).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new Xvc).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 KQ).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var g=new Rvc;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 axc=function(a){a=a.clientConfig_.getUserInfo();var b=new JQ;var c=!!a.getDelegatorId();b=Ij(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(W(a,6,0)||0);return b};var Gq=function(a){r.call(this,a)};U(Gq,r);Gq.repeatedFields_=[1,2,3,4];Gq.prototype.toObject=function(){if(null!=this){t(this);var a={byGaiaList:p(Bh(this,1)),byPseudonymousList:p(Bh(this,2)),alwaysList:p(Bh(this,3)),byOtherList:p(Bh(this,4))}}else a=void 0;return a};var XQ=function(a,b){this.name_=b||"";this.address=a||""},bxc=/"/g,cxc=/\\"/g,dxc=/\\/g,exc=/\\\\/g,fxc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),gxc=new RegExp("["+Hca({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");XQ.prototype.getName=function(){return this.name_};XQ.prototype.getAddress=function(){return this.address};XQ.prototype.setName=function(a){this.name_=a};XQ.prototype.toString=function(){return hxc(this,'()<>@:\\".[],;')};
var hxc=function(a,b){var c=a.getName();c=c.replace(bxc,"");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(dxc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};XQ.prototype.isValid=function(){return fxc.test(this.address)};
var kxc=function(a){var b=ixc;a=a.replace(gxc,"");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||jxc(g,h))g=l;else{q='">)]'.charAt(q);for(var x=g.indexOf(q,h+1);0<=x&&jxc(g,x);)x=g.indexOf(q,x+1);g=0<=x?g.substring(h,x+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=sQb(c);c=tQb(c,"'");c=tQb(c,'"');c=c.replace(cxc,'"');c=c.replace(exc,"\\");d=sQb(d);return new b(d,
c)},jxc=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 ixc=function(a,b){XQ.call(this,a,b)};rs(ixc,XQ);var lxc=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}$");ixc.prototype.isValid=function(){return mxc(this.address)};var mxc=function(a){return null==a?!1:lxc.test(a)};ixc.prototype.toString=function(){return hxc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var nxc=/[^a-z0-9]+/ig,oxc=[9,11,10,12,13,14,15,16,19],pxc=[9,19,11],qxc=[1,6],rxc=[2,7],sxc=[3,8],txc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],wgb=[3,4,5,17,20],Wq=function(a,b,c){this.type_=a;this.value_=uo(b);this.originalValue_=uo(void 0===c?b:c)};Wq.prototype.getType=function(){return this.type_};Wq.prototype.getValue=function(){return this.value_};Wq.prototype.getOriginalValue=function(){return this.originalValue_};
var wq=function(a){return oxc.includes(a.getType())},xq=function(a){return pxc.includes(a.getType())},Pq=function(a,b){switch(a){case 1:return Sq(b);case 6:return new Wq(6,uo(b).toLowerCase(),b);case 2:return Hgb(b);case 7:return Igb(b);case 3:return tgb(b);case 8:return new Wq(8,uo(b).toLowerCase(),b);case 5:return new Wq(5,uo(b).toLowerCase(),b);case 4:return ugb(b);case 9:return uxc(b);case 12:return new Wq(12,uo(b),b);case 13:return new Wq(13,uo(b),b);case 14:return new Wq(14,uo(b),b);case 15:return new Wq(15,
uo(b),b);case 16:return new Wq(16,uo(b),b);case 10:return new Wq(10,uo(b),b);case 11:return new Wq(11,uo(b),b);case 18:return vgb(b);case 19:return new Wq(19,uo(b),b);case 20:return new Wq(20,uo(b),b);case 17:return vxc;default:return new Wq(0,b)}},Sq=function(a){return new Wq(1,uo(a).toLowerCase(),a)},Hgb=function(a){var b=uo(a).toLowerCase().replace(nxc,"");return new Wq(2,b,a)},tgb=function(a){var b=uo(a).toLowerCase();return"me"===b?vxc:new Wq(3,b,a)},ugb=function(a){return new Wq(4,uo(a).toLowerCase(),
a)},Igb=function(a){var b=uo(a).toLowerCase().replace(nxc,"");return new Wq(7,b,a)},uxc=function(a){return new Wq(9,uo(a).toLowerCase(),a)},vgb=function(a){return new Wq(18,uo(a),a)},wxc=function(a){var b=a.indexOf(":");return Pq(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Wq.prototype.toString=function(){return this.getType()+":"+this.getValue()};Wq.prototype.equals=function(a){return a?this===a?!0:this.getType()===a.getType()&&this.getValue()===a.getValue():!1};
var xxc=function(a){switch(a.getType()){case 1:case 6:return mxc(a.getValue().trim());case 2:case 7:return a=a.getValue().replace(nxc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!a.getValue().trim();default:return!0}},Yq=Pq(0,""),vxc=new Wq(17,"me");var yxc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var zxc=function(a){this.profileId_=a};zxc.prototype.getProfileId=function(){return this.profileId_};var Axc=Object.freeze({userProfileId:"",apiEnv:4,userEmail:""});var Bxc=function(){return da&&ea?!ea.mobile&&(ha("iPad")||ha("Android")||ha("Silk")):ha("iPad")||ha("Android")&&!ha("Mobile")||ha("Silk")};var Cxc=function(a,b,c,d,e,g,h){EB.call(this,a,so,b,vpa,c,d,e,void 0,g,h)};U(Cxc,EB);var Dxc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=paa()||ha("iPod")?4:ha("iPad")?5:oaa()?Bxc()?3:2:(da&&ea?ea.mobile:!Bxc()&&(ha("iPod")||ha("iPhone")||ha("Android")||ha("IEMobile")))||Bxc()?0:1},Exc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()&&(c=new Cxc(ir(b,2),LLa(),b.getClearcutUrl()||void 0),(b=Bh(b,7))&&b.length)){var d=new Gq;ob(d,3,b,Za);c.setClearExperimentIds(d)}return new Dxc(c,a)},Fxc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new HQ;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new IQ;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},Gxc=function(a,b){var c=new AB;C2b(c,b.serialize());
a.clearcut_&&a.clearcut_.log(c)};var Hxc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Hxc.prototype.logError=function(a){var b=Fxc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&Gxc(this.clearcut_,a)};var Ixc=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 Jxc=function(){this.logContext_=qr(new rr,"ppl.store")};f=Jxc.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 Kxc=function(a){this.clearcut_=a},Lq=function(a){a=new Hxc(Exc(a),a);return new Kxc(a)};f=Kxc.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=Fxc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&Gxc(c.clearcut_,a);return this};f.status=function(a,b){var c=this.clearcut_,d=Fxc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&Gxc(c.clearcut_,a);return this};f.latency=function(a){var b=this.clearcut_,c=Fxc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&Gxc(b.clearcut_,a);return this};f.error=function(a){this.clearcut_.logError(a);return this};
f.logError=function(){};f.logInfo=function(){return this};var YQ=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new owc;this.eventHandler_=new $p(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new uwc;(a=b)||(a=Lq(new Jxc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};rs(YQ,mh);f=YQ.prototype;
f.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Hca(qwc),ps(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 rwc(null,"g"))};
f.loadContactRows=function(a,b){var c=this,d=(new to).setEventType(4).setApiType(2),e=new QQ(d);this.metrics.count(e);this.metrics.start(e,"total");return Lxc(this,a,function(g){return g.loadContactRows},function(g,h,l,q,x){Mxc(function(A,B,K,O){var P=B===GQ||B instanceof Lvc?2:1;e.source().setCacheStatus(P);e.source().setAddressBook(K?Mvc.get(K)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,dwc(x||0));b&&b(A,B,K,O,x)},g,h,l,q)})};
var Lxc=function(a,b,c,d){var e=new Nxc(d,a.metrics),g;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?g=Oxc(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=Oxc(a,h,c(h),b,d):g=c(h).call(h,b,d),g&&e.add(g);return e};
YQ.prototype.execute=function(a){var b=this,c=(new to).setEventType(4).setApiType(1),d=new QQ(c);this.metrics.count(d);this.metrics.start(d,"total");Pxc(this,a);a.addSuccessOrFailureCallback(function(e){var g=e?dwc(e.getErrorCode()):2;e=(e=e?e.getRequest():null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?Mvc.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 Qxc(b,e,d)}))?
c:Qxc(this,a,d)};
var Pxc=function(a,b){pa(a.queryFilters_,function(){});b.isMutate()&&(b=Z(b,MQ,2))&&(b=b.getQueryAfterMutate())&&Pxc(a,b)},Qxc=function(a,b,c){if(b.isMutate()){var d=Z(b,MQ,2);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 Nxc(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},Oxc=function(a,b,c,
d,e){b=ps(a.runScheduledQuery_,a,b,c,d,e);b=new mwc(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new Rxc(b)};YQ.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(g,h,l,q,x){e.isDone(!x)&&d&&d(g,h,l,q,x)})};var Mxc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),Sxc(b)),a(b||[],c,d,e))},Sxc=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)}};
YQ.prototype.disposeInternal=function(){YQ.superClass_.disposeInternal.call(this);kh(this.scheduler_);this.scheduler_=null;pa(this.ownedAddressBooks_,kh);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;kh(this.eventHandler_);this.eventHandler_=null;pa(this.queryFilters_,function(a){a!=this.contactNotificationService_&&kh(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(kh(this.contactNotificationService_),this.contactNotificationService_=null)};
var Txc=function(a){var b=new $wc(a,0);qr(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Gj(a.getExperiments(),3,!0));return Lq(b)},Nxc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};f=Nxc.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 Rxc=function(a){this.op=a;this.request=null};Rxc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
Rxc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var Uxc=function(a,b){this.text=a;this.specialRowHandler=b};rs(Uxc,Jvc);f=Uxc.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 Vxc=function(a,b){YQ.call(this,a,b)};U(Vxc,YQ);Vxc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new Wxc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));YQ.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};Vxc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):YQ.prototype.loadContactRows.call(this,a,b)};
var Wxc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};Wxc.prototype.addAddressBook=function(a){this.addrBooks_.push(new Xxc(this,this.addrBooks_.length,a))};Wxc.prototype.loadContactRows=function(a,b){a=new Yxc(a,this.metrics_,b);Zxc(this,a);return a};
var Zxc=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],x=c.maxMatches,A=g.length;if(0==A)g=q.length>x?q.slice(0,x):q;else for(var B=0;B<q.length;B++){for(var K=null,O=0;O<A&&!(K=$xc(g[O],q[B]));O++);if(K)K===q[B]&&(g[O]=K);else if(g.length==
A?g=g.concat(q[B]):g.push(q[B]),g.length==x)break}0<h&&g.length>h&&(g[h].flags|=1)}e?(Sxc(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},$xc=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},ayc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:Zxc(a,b,c,d)};
Wxc.prototype.handleSpecialRow=function(){};var Xxc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
Xxc.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,x){b.matchListener_(a,d,g,x)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[byc(this)])}c&&ayc(this.combiner_,a,this.id_,c)};
var byc=function(a){var b=a.addrBook_.title_;return new Uxc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
Xxc.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;ayc(this.combiner_,a,this.id_,c)};Xxc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var Yxc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new QQ((new to).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(g,h,l,q){d.addressBooksToReport_.forEach(function(x,A){var B=d.activeRequests_[A];B=B===GQ||B instanceof Lvc?2:1;e.source().setCacheStatus(B);e.source().setAddressBook(x?Mvc.get(x)||1:1);b.stop(e,"total");b.status(e,dwc(d.storedErrorCodes_[A]))});
d.addressBooksToReport_=[];c&&c(g,h,l,q)}};Yxc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};Yxc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};Yxc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var cyc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Oq=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=cyc[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 ZQ=function(a,b,c,d,e,g){vo.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=g||dyc;this.cache_=new LG(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};rs(ZQ,vo);ZQ.prototype.disposeInternal=function(){ZQ.superClass_.disposeInternal.call(this);this.cache_=null};ZQ.prototype.clear=function(){this.cache_.clear()};
var dyc=function(a){var b=dn(Oq(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=Oq(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},eyc=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},fyc=function(a,b,c){a.cache_.set(eyc(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_)}},gyc=function(a,b,c){c=c?a.cache_.get(b):Udc(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},hyc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=gyc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},iyc=function(a,b){if(b.isContactAutoComplete)return null;var c=eyc(b,a.cacheByType_),
d=hyc(a,c,b.token);return d?d:a.cacheByType_&&!Rh(c,"^")?(c=eyc(b,!1),hyc(a,c,b.token)):null};ZQ.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};ZQ.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:Udc(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var jyc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};jyc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};jyc.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};rs(xo,vo);f=xo.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(yk(a.token)&&!c.allowEmptyQueries_)var d=Kvc;else{d=a.maxMatches;var e=gyc(c,eyc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=iyc(c,a))&&0==d.getMatches().length?(fyc(c,a,new jyc(a.token,Kvc)),d=Kvc):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=eIb(d,c.rowMatchingFunction_(a),c),fyc(c,a,new jyc(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,GQ,this.getId(),a),GQ):this.transport_.loadContactRows(a,this.getId(),ps(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(Kvc,GQ,this.getId(),a,4);return GQ};f.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,g){g||fyc(this.cache_,e,new jyc(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(){xo.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;kyc(this.transport_,this.id_);this.transport_=null};var myc=function(a,b,c){ZQ.call(this,100,18E5,432E5,!0,0,c||lyc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};U(myc,ZQ);var lyc=function(a){return function(b){var c=b.getType(),d;if(d=nyc(a,c)){d=new RegExp("(^|\\W+)"+dn(Oq(a.token)),"i");var e=Oq(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+dn(Oq(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},nyc=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 pyc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new myc(!0,!1,oyc);xo.call(this,a,b,"domain")};rs(pyc,xo);pyc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=Sb(a),a.includeGroups=!1);return pyc.superClass_.loadContactRows.call(this,a,b)};
var oyc=function(a){for(var b=sQb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var g=dn(b[e]),h=new RegExp("^"+g,"i");c.push(new RegExp("(^|\\W+)"+g,"i"));d.push(h)}return function(l){if(nyc(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}};pyc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var qyc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},syc=function(a){if(!a)return ryc;var b=VLa(ro("metadata.identityInfo.sourceIds",a)),c=ro("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 qyc(a.personId||"",b)},ryc=new qyc("",{});var tyc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};tyc.prototype.toString=function(){return""};var $Q=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};$Q.prototype.toString=function(){return""};var vyc=function(a){return uyc(a).some(function(b){return!b.isLocal_})};$Q.prototype.getSource=function(a){return uyc(this)[a]};$Q.prototype.hasSource=function(){return void 0<uyc(this).length};var uyc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};$Q.prototype.getCause=function(a){return wyc(this)[a]};
var wyc=function(a){return a.edgeCollection_?xyc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};$Q.prototype.getContainerType=function(){return this.metadata_.containerType};var yyc=new $Q({},null);var zyc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};f=zyc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new $Q(this.email_.metadata,this.edgeCollection_):yyc);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 Ayc=new zyc({},null);var Byc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new zyc(c.value,b))};f=Byc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.emails_[a]||Ayc};f.getFieldLength=function(){return this.emails_.length};var Cyc=new Byc([],null);var Dyc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};f=Dyc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=new $Q(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 Eyc=new Dyc({},null);var Fyc=function(a){this.field_=a};f=Fyc.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 Gyc=new Fyc(Eyc);var Hyc=["CONTACT","PROFILE","DOMAIN_PROFILE"],Iyc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Dyc(c.value,b))};f=Iyc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.names_[a]||Eyc};f.getFieldLength=function(){return this.names_.length};var Jyc=new Iyc([],null);var Kyc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};f=Kyc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new $Q(this.phone_.metadata,this.edgeCollection_):yyc);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 Lyc=new Kyc({},null);var Myc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new Kyc(c.value,b))};f=Myc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.phones_[a]||Lyc};f.getFieldLength=function(){return this.phones_.length};var Nyc=new Myc([],null);var Oyc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};f=Oyc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new $Q(this.photo_.metadata,this.edgeCollection_):yyc);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 Pyc=new Oyc({},null);var Qyc=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 Oyc(c,b))};f=Qyc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.photos_[a]||Pyc};f.getFieldLength=function(){return this.photos_.length};var Ryc=new Qyc([],null);var aR=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};
aR.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_?WLa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};aR.prototype.hasName=function(){return!!this.getName()};
aR.prototype.getName=function(){if(!this.name_){a:{var a=aMa(this);if(a.names_.length){for(var b=k(Hyc),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 Fyc(e);break a}}a=new Fyc(a.names_[0])}else a=Gyc}this.name_=a}return this.name_};
var aMa=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 Iyc(b,a.edgeCollection_):Jyc}return a.nameRepeated_};f=aR.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:XLa(this.contactLabel_)}]);this.email_=a?new Byc(a,this.edgeCollection_):Cyc}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 Myc(a,this.edgeCollection_):Nyc}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 Qyc(a,this.edgeCollection_):Ryc}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 WLa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},Syc=new aR(null,null,null,null);var Tyc=function(){this.keyToIndex_=new Map},Uyc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};Tyc.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(this.getKey_(a,b)):null};Tyc.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(this.getKey_(a,b),c)};
Tyc.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(this.getKey_(a,b))};Tyc.prototype.getKey_=function(a,b){return a+"="+b};var ZLa=function(a){this.evergreenProfile_=a?new aR(a,null,null,null):Syc};ZLa.prototype.toString=function(){return""};var Vyc=new ZLa(null);var Wyc=new tyc(!0,null),bR=function(a){this.edgeIndexResolver_=new Tyc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=$La(a,this.edgeIndexResolver_,this.encodedContainerIds_)};bR.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||Vyc};var xyc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};bR.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
bR.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[Wyc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,Uyc(this.edgeIndexResolver_,a,[b]).map(function(d){return new tyc(!1,d)}));return this.sourcesCache_.get(c)};var Xyc=new bR(null);var Yyc=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 bR(this.person_);this.emailIndex_=b;this.profile_=new aR(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()};U(Yyc,Jvc);f=Yyc.prototype;
f.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};f.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=syc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=VLa(a.sourceIds);a=new qyc(a.personId||"",b)}else a=ryc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=ro("id.id",a)||"",a=new qyc("",b)):a=ryc:a=ryc;this.allIds_=a}return this.allIds_};f.getId=function(){return this.getAllIds_().contactId};
f.getName=function(){null===this.name_&&(this.name_=bMa(this.profile_,function(a){return!!a&&!vyc(a)}),null===this.name_&&(this.name_=Zyc(this,bMa)));return this.name_};f.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};f.getPhoneNumber=function(){null===this.phone_&&(this.phone_=cMa(this.profile_,function(a){return!!a&&!vyc(a)}),null===this.phone_&&(this.phone_=Zyc(this,cMa)));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_=dMa(this.profile_,function(a){return!!a&&!vyc(a)}),null===this.photoUrl_&&(this.photoUrl_=Zyc(this,dMa)));return this.photoUrl_};f.getLoggingId=function(){return this.getAllIds_().loggingId};
var Zyc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<wyc(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<uyc(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""},$yc=function(a,b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new Yyc(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=ro("person.email",e)||ro("googleGroup.emails",e)||[];if(c||g&&g.length)for(var h=0;h<g.length;h++){var l=(ro("value",g[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new Yyc(e,h))}else d.push(new Yyc(e))}return d};var azc=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y){P=void 0===P?new EQ:P;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=x?x:function(){};this.autocompletePageSize=A;this.rankedTargetsPageSize=B;this.peopleContainerMask=K.split(/[\s,]+/).filter(function(X){return!!X});this.peopleFieldMask=O;this.experiments=P;this.includeOnlyNames=
Y};azc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var bzc=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};U(bzc,Error);var cR=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new QQ(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=cR.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_=O_b(new jB),czc(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&&!MLa()&&(c.params=c.params||{},c.params.key=d);c.headers=NLa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=Y_b(R_b([a,g0b(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{czc(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 jB)c=1,d=11;else if(a instanceof bzc)c=a.code,d=cwc(c);else if(a&&"object"===typeof a){var e=ro("result.error.code",a)||a.status,g=e;g=Number(g);c=$vc.has(g)?$vc.get(g):200<=g&&300>g?0:400<=g&&500>g?9:500<=g&&600>g?13:2;d=cwc(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),czc(this,null,d,b)}};
var czc=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 dzc=function(a,b,c){var d=(new to).setEventType(2).setRpcType(1).setToken(b);cR.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};U(dzc,cR);
dzc.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}};
dzc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new bzc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new bzc(8,"RequestThrottled");if(b.containsPartialResults)throw new bzc(8,"ContainsPartialResults");}return $yc(a.results||[],this.config.includeOnlyNames)};var ezc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new aR(this.person_,null,null,this.edgeCollection_):Syc};f=ezc.prototype;f.toString=function(){return""};f.getAllIds_=function(){this.allIds_||(this.allIds_=syc(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 fzc=new ezc(null,Xyc);var gzc=function(a){a=void 0===a?null:a;this.edgeCollection_=new bR(a);this.contact_=a?new ezc(a,this.edgeCollection_):fzc};f=gzc.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 hzc=function(a,b,c){cR.call(this,a,(new to).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};U(hzc,cR);
hzc.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}};hzc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new gzc(b.person)})};var dR=function(a,b,c,d){cR.call(this,a,SLa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=izc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};U(dR,cR);
dR.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}};
dR.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 gzc(g))});return d};var izc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var jzc=function(a,b){cR.call(this,a,(new to).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_=[];Gj(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};U(jzc,cR);
jzc.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}};jzc.prototype.processResponse=function(a){return $yc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};f=eMa.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 kzc=new Map([[1,4],[2,2],[3,1],[4,7]]),nzc=function(a,b){mh.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 QQ((new to).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?lzc(c,d):mzc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);mzc(c,5)})};
U(nzc,mh);var lzc=function(a,b){b&&b.request?(RLa(),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 ozc(a,d,e)})})):mzc(a,9)};nzc.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())kyc(this,b.value)};
var mzc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},kyc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(pzc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},qzc=function(a,b,c){a.gapiFailed_?c.cancel():(ULa(a,b).push(c),ozc(a,b,c))},ozc=function(a,b,c){a.gapiClient_&&Y_b(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)}})},ULa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},pzc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};nzc.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 dzc(this.config_,d,e):new jzc(this.config_,e);qzc(this,b,g);return g};
nzc.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new QQ((new to).setEventType(2).setRpcType(4)),12),rzc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(A,B){if(B)a.setResponse(fwc(B,h));else{B=new eMa(b);B.contacts_=A;A=a.setResponse;var K=new ewc(h);K.queryResponse_=B;K.errorCode_=B.getError();A.call(a,K)}},e=this.config_.setTimeout(szc(a));try{var g=b.emailAddresses||[];if(g.length)var h=new dR(this.config_,1,g,d);else{var l=b.contactIds||
[];if(l.length)h=new dR(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new hzc(this.config_,q,d);else{var x=b.syntheticIds||[];if(x.length)h=new dR(this.config_,5,x,d);else return this.metrics_.status(new QQ((new to).setEventType(2)),12),rzc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);qzc(this,c,h);return h};var rzc=function(a){var b=new Lvc(function(){return a.setResponse(fwc(5,b))});b.setQuery(a);return b};var tzc=function(a,b,c,d){xo.call(this,a,b,c,d)};U(tzc,xo);tzc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(ps(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};tzc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new rwc([b.mutateResponse_],"g"),this.dispatchEvent(a)}};var uzc=function(a,b,c){b=b||new myc(!0,!0);xo.call(this,a,b,"personal",c)};U(uzc,tzc);uzc.prototype.configure=function(a,b){tzc.prototype.configure.call(this,a,b)};var vzc=function(){throw Error("Ed");};var wzc={},xzc={},yzc={},zzc={},Azc={},eR=function(){throw Error("Gd");};eR.prototype.contentDir=null;eR.prototype.getContent=function(){return this.content};eR.prototype.toString=function(){return this.content};eR.prototype.toSafeHtml=function(){if(this.contentKind!==wzc)throw Error("Hd");return yg(this.toString())};var Bzc=function(){eR.call(this)};rs(Bzc,eR);Bzc.prototype.contentKind=wzc;var Czc=function(){eR.call(this)};rs(Czc,eR);Czc.prototype.contentKind=xzc;Czc.prototype.contentDir=1;var fR=function(a,b){return null!=a&&a.contentKind===b};var Dzc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},nq=function(a){return fR(a,wzc)?a:a instanceof Ao?jq(dk(a).toString()):a instanceof Ao?jq(dk(a).toString()):jq(String(String(a)).replace(Ezc,Fzc),Dzc(a))},jq=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}}(Bzc),Gzc=function(a){if(null==a)throw Error("Id");return a},gR=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}}(Bzc),Hzc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(Czc),oq=function(a){return fR(a,wzc)?a:jq(Izc(a,Jzc),Dzc(a))},Kzc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Izc=function(a,b){if(!b)return String(a).replace(Lzc,"").replace(Mzc,"&lt;");a=String(a).replace(/\[/g,
"&#91;");var c=[],d=[];a=a.replace(Lzc,function(g,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",x="";if("/"!=g.charAt(1)){q="<";for(var A;A=Nzc.exec(g);)if(A[1]&&"dir"==A[1].toLowerCase()){if(g=A[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)x=' dir="'+g+'"'}break}Nzc.lastIndex=0}c[l]=q+h+">";d[l]=x;return"["+l+"]"}return""});a=String(a).replace(Ozc,Fzc);var e=Pzc(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},Qzc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},Pzc=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]="":Kzc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},mq=function(a){return fR(a,wzc)?String(Izc(a.getContent())).replace(Ozc,
Fzc):String(a).replace(Ezc,Fzc)},Uzc=function(a){fR(a,xzc)||fR(a,yzc)?a=hR(a):a instanceof Tb?a=hR(Ub(a)):a instanceof Tb?a=hR(Ub(a)):a instanceof iv?a=hR(rh(a).toString()):a instanceof iv?a=hR(rh(a).toString()):(a=String(a),a=Rzc.test(a)?a.replace(Szc,Tzc):"about:invalid#zSoyz");return a},Wzc=function(a){fR(a,xzc)||fR(a,yzc)?a=hR(a):a instanceof Tb?a=hR(Ub(a)):a instanceof Tb?a=hR(Ub(a)):a instanceof iv?a=hR(rh(a).toString()):a instanceof iv?a=hR(rh(a).toString()):(a=String(a),a=Vzc.test(a)?a.replace(Szc,
Tzc):"about:invalid#zSoyz");return a},iR=function(a){fR(a,Azc)?a=Qzc(a.getContent()):null==a?a="":a instanceof jv?a=Qzc(eQb(a)):a instanceof jv?a=Qzc(eQb(a)):a instanceof kv?a=Qzc(gQb(a)):a instanceof kv?a=Qzc(gQb(a)):(a=String(a),a=Xzc.test(a)?a:"zSoyz");return a},Yzc={"\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;"},Fzc=function(a){return Yzc[a]},Zzc={"\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"},Tzc=function(a){return Zzc[a]},Ezc=/[\x00\x22\x26\x27\x3c\x3e]/g,Ozc=/[\x00\x22\x27\x3c\x3e]/g,Szc=/[\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,Xzc=/^(?!-*(?: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|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|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,
Rzc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Vzc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,$zc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,hR=function(a){return String(a).replace(Szc,Tzc)},Lzc=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Mzc=/</g,Jzc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},
Nzc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var fMa={};var jR=function(a,b,c){vo.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;wo(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_={}};rs(jR,vo);f=jR.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_[aAc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":bAc(this);break;case "dismiss":cAc(this)}};
f.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,ps(this.matchListener_,this)),bAc(this))};f.getTarget=function(){return this.target_};f.setTarget=function(a){this.target_=a};f.isOpen=function(){return this.renderer_.isVisible()};var dAc=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}};
jR.prototype.hiliteId=function(a){var b=aAc(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)};
jR.prototype.selectHilited=function(){var a=aAc(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=eAc(c,c.getValue(),c.getCursorPosition()),g=fAc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||yk(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.activeElement_;(vs||ts)&&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_;gAc(g)&&(g.selectionStart=e);g=c.activeElement_;gAc(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};
jR.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 cAc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(ps(a.dismiss,a),100))};
jR.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var bAc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(ps(a.immediatelyCancelDelayedDismiss_,a),10)};jR.prototype.disposeInternal=function(){jR.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
jR.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
jR.prototype.renderRows=function(a,b){var c="object"==Kb(b)&&b;b=(c?c.getPreserveHilited():b)?aAc(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):dAc(this));this.dispatchEvent("suggestionsupdate")};var aAc=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};jR.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};jR.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){Rb(this.inputToAnchorMap_,xa(c))},this)};
jR.prototype.update=function(a){this.selectionHandler_.update(a)};var hAc=function(a,b){var c=0,d=0;gAc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},gAc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var kAc=function(a,b,c,d,e,g){if(Wp&&e)return iAc(a);if(e&&!d)return!1;if(!vs){"number"===typeof b&&(b=jAc(b));var h=17==b||18==b||Wp&&91==b;if((!c||Wp)&&h||Wp&&16==b&&(d||g))return!1}if((ws||us)&&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(ts&&d&&b==a)return!1;switch(a){case 13:return vs?g||e?!1:!(c&&d):!0;case 27:return!(ws||us||vs)}return vs&&(d||e||g)?!1:iAc(a)},iAc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(ws||us)&&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 vs;default:return!1}},jAc=function(a){if(vs)a=lAc(a);else if(Wp&&ws)switch(a){case 93:a=91}return a},lAc=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 mAc=function(a,b,c,d){SA.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};rs(mAc,SA);var nAc=function(a,b){vo.call(this);a&&this.attach(a,b)};rs(nAc,vo);f=nAc.prototype;f.element_=null;f.keyPressKey_=null;f.keyDownKey_=null;f.keyUpKey_=null;f.lastKey_=-1;f.keyCode_=-1;f.altKey_=!1;
var oAc={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},pAc={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},qAc=Wp&&vs;f=nAc.prototype;
f.handleKeyDown_=function(a){(ws||us)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Wp&&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));kAc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=jAc(a.keyCode),qAc&&(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(ts&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(ws||us)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&iAc(d)?b.charCode:0):("keypress"==a.type?(qAc&&(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),Wp&&63==e&&224==d&&(d=191));var g=d=jAc(d);d?63232<=
d&&d in oAc?g=oAc[d]:25==d&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in pAc&&(g=pAc[b.keyIdentifier]);if(!vs||"keypress"!=a.type||kAc(g,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.lastKey_,this.lastKey_=g,b=new mAc(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_=wo(this.element_,"keypress",this,b);this.keyDownKey_=wo(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=wo(this.element_,"keyup",this.handleKeyup_,b,this)};f.detach=function(){this.keyPressKey_&&(XA(this.keyPressKey_),XA(this.keyDownKey_),XA(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
f.disposeInternal=function(){nAc.superClass_.disposeInternal.call(this);this.detach()};var kR=function(a,b,c,d){mh.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 kB(d):null;this.eh_=new $p(this);this.activateHandler_=new $p(this);this.keyHandler_=new nAc;this.lastKeyCode_=-1};
rs(kR,mh);f=kR.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 hAc(this.activeElement_,!0)[0]};
f.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];fB(c)&&(GL(c,"combobox"),HL(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_),fB(c))){var d=$A(c);try{var e=d&&d.activeElement;var g=e&&e.nodeName?e:null}catch(h){g=null}g==c&&rAc(this,c)}}};
f.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];fB(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(){kR.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();kh(this.timer_)};
var tAc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){dAc(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}}sAc(a,b)},sAc=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()};kR.prototype.handleKeyUp=function(){return!1};kR.prototype.handleFocus=function(a){rAc(this,a.target||null)};
var rAc=function(a,b){a.activateHandler_.removeAll();a.ac_&&bAc(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_),ts&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};f=kR.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_),ts&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&uAc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&cAc(this.ac_))};
f.onTick_=function(){this.update()};f.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};f.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&tAc(this,a)};f.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&uAc(this)};f.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&uAc(this)};f.onMouseDown_=function(){};
var uAc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};kR.prototype.onIeKeyPress_=function(a){sAc(this,a)};
kR.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=fAc(this,b)[eAc(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 eAc=function(a,b,c){a=fAc(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},fAc=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 vAc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},wAc=function(a){return a.classList?a.classList:vAc(a).match(/\S+/g)||[]},xAc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},yAc=function(a,b){return a.classList?a.classList.contains(b):qa(wAc(a),b)},zAc=function(a,b){if(a.classList)a.classList.add(b);else if(!yAc(a,b)){var c=vAc(a);xAc(a,c+(0<c.length?" "+b:b))}},AAc=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){zAc(a,e)});else{var c={};Array.prototype.forEach.call(wAc(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;xAc(a,b)}},BAc=function(a,b){a.classList?a.classList.remove(b):yAc(a,b)&&xAc(a,Array.prototype.filter.call(wAc(a),function(c){return c!=b}).join(" "))},CAc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){BAc(a,c)}):xAc(a,Array.prototype.filter.call(wAc(a),function(c){return!qa(b,c)}).join(" "))};var DAc=function(a,b,c){mh.call(this);this.listener_=a;this.interval_=b||0;this.handler_=c;this.callback_=ps(this.doAction_,this)};rs(DAc,mh);f=DAc.prototype;f.id_=0;f.disposeInternal=function(){DAc.superClass_.disposeInternal.call(this);this.stop();delete this.listener_;delete this.handler_};f.start=function(a){this.stop();this.id_=Tn(this.callback_,void 0!==a?a:this.interval_)};f.stop=function(){this.isActive()&&Un(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 EAc=function(a,b){if(b&&a in b)return a;var c=ws?"Webkit":vs?"Moz":ts?"ms":null;return c?(c=c.toLowerCase(),a=c+Xh(a),void 0===b||a in b?a:null):null};var lR=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};f=lR.prototype;f.getWidth=function(){return this.right-this.left};f.getHeight=function(){return this.bottom-this.top};f.clone=function(){return new lR(this.top,this.right,this.bottom,this.left)};f.contains=function(a){return this&&a?a instanceof lR?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){va(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 dq?(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 mR=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};mR.prototype.clone=function(){return new mR(this.left,this.top,this.width,this.height)};var Gdb=function(a){return new mR(a.left,a.top,a.right-a.left,a.bottom-a.top)};
mR.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 FAc=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 mR(c,e,d-c,a-e)}return null};
f=mR.prototype;f.contains=function(a){return a instanceof dq?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 YA(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 dq?(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 nR=function(a,b){var c=$A(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},sp=function(a,b){return nR(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},gq=function(a,b,c){if(b instanceof dq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=oR(d,!1);a.style.top=oR(b,!1)},GAc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},HAc=function(a){if(ts&&!(8<=
Number(xs)))return a.offsetParent;var b=$A(a),c=sp(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=sp(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},cq=function(a){for(var b=new lR(0,Infinity,Infinity,0),c=yo(a),d=c.document_.body,e=c.document_.documentElement,g=l_b(c.document_);a=
HAc(a);)if(!(ts&&0==a.clientWidth||ws&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=sp(a,"overflow")){var h=pR(a),l=new dq(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},KAc=function(a,b){b=b||l_b(document);var c=b||l_b(document);var d=pR(a),e=pR(c);if(!ts||9<=Number(xs)){h=nR(c,"borderLeftWidth");var g=nR(c,"borderRightWidth");l=nR(c,"borderTopWidth");q=nR(c,"borderBottomWidth");g=new lR(parseFloat(l),parseFloat(g),parseFloat(q),parseFloat(h))}else{var h=IAc(c,"borderLeft");g=IAc(c,"borderRight");var l=IAc(c,"borderTop"),q=IAc(c,"borderBottom");g=new lR(l,g,q,h)}c==l_b(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!ts||10<=Number(xs)||(h+=g.left,d+=g.top)):(h=d.x-e.x-g.left,d=d.y-e.y-g.top);a=JAc(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 dq(g,l);b.scrollLeft=c.x;b.scrollTop=c.y},pR=function(a){var b=$A(a),c=new dq(0,0);var d=b?$A(b):document;d=!ts||9<=Number(xs)||k_b(yo(d).document_)?d.documentElement:d.body;if(a==d)return c;a=GAc(a);b=cB(yo(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},Hdb=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new dq(0,0),g=dB($A(d));if(iIb(g,"parent")){var h=d;do{if(g==c)var l=pR(h);else l=GAc(h),l=new dq(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=eq(e,pR(d));!ts||9<=Number(xs)||k_b(b.document_)||(d=eq(d,cB(b.document_)));a.left+=d.x;a.top+=d.y}},LAc=function(a,b,c){if(b instanceof YA)c=b.height,b=b.width;else if(void 0==c)throw Error("Ld");a.style.width=oR(b,!0);a.style.height=
oR(c,!0)},oR=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},fq=function(a){var b=JAc;if("none"!=sp(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},JAc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=ws&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=GAc(a),new YA(a.right-a.left,a.bottom-a.top)):new YA(b,c)},bq=
function(a){var b=pR(a);a=fq(a);return new mR(b.x,b.y,a.width,a.height)},MAc=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)+")")},qR=function(a,b){a.style.display=b?"":"none"},rR=function(a){return"rtl"==sp(a,"direction")},NAc=vs?"MozUserSelect":ws||us?"WebkitUserSelect":null,OAc=function(a){var b=a.getElementsByTagName("*");if(NAc){var c="none";a.style&&(a.style[NAc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[NAc]=c)}}else if(ts&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},Mdb=function(a,b){a=a.style;vs?a.MozBoxSizing="border-box":ws?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},PAc=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},QAc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?PAc(a,b):0},RAc=function(a){if(ts){var b=QAc(a,"marginLeft"),c=QAc(a,"marginRight"),d=QAc(a,"marginTop");a=QAc(a,"marginBottom");return new lR(d,c,a,b)}b=nR(a,"marginLeft");c=nR(a,"marginRight");d=nR(a,"marginTop");a=nR(a,"marginBottom");return new lR(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},SAc={thin:2,medium:4,thick:6},IAc=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 SAc?SAc[b]:PAc(a,b)};var TAc=function(){if(lIb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ca()))?a[1]:"0"}return Wp?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ca()))?a[0].replace(/_/g,"."):"10"):oIb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ca()))?a[1]:""):pIb||qIb||rIb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ca()))?a[1].replace(/_/g,"."):""):""}();var sR=function(a){return(a=a.exec(ca()))?a[1]:""},UAc=function(){if(BIb)return sR(/Firefox\/([0-9.]+)/);if(ts||us||jIb)return yIb;if(FIb){if(la()||qaa()){var a=sR(/CriOS\/([0-9.]+)/);if(a)return a}return sR(/Chrome\/([0-9.]+)/)}if(GIb&&!la())return sR(/Version\/([0-9.]+)/);if(CIb||DIb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ca()))return a[1]+"."+a[2]}else if(EIb)return(a=sR(/Android\s+([0-9.]+)/))?a:sR(/Version\/([0-9.]+)/);return""}();var Fdb=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=sp(a,"position")){var c=pR(a);if(!b){b=rR(a);var d;if(d=b){d=GIb&&0<=taa(UAc,10);var e;if(e=sIb)e=0<=taa(TAc,10);var g=FIb&&0<=taa(UAc,85);d=vs||d||e||g}b=d?-a.scrollLeft:b&&!dp&&"visible"!=sp(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=eq(c,new dq(b,a.scrollTop))}}}return c||new dq},Jdb=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 mR(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}},Idb=function(a,b){return(b&8&&rR(a)?b^4:b)&
-9};var Xp=function(){};Xp.instance_=void 0;Xp.getInstance=function(){return Xp.instance_?Xp.instance_:Xp.instance_=new Xp};Xp.prototype.nextId_=0;Xp.prototype.idPrefix_="";Xp.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Lp=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var tR=function(a,b,c,d){vo.call(this);this.parent_=a||document.body;this.dom_=yo(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};rs(tR,vo);tR.prototype.getElement=function(){return this.element_};
tR.prototype.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];VAc(this)};tR.prototype.dismiss=function(){this.visible_&&(this.visible_=!1,WAc(this,!1),qR(this.element_,!1))};tR.prototype.show=function(){this.visible_||(this.visible_=!0,WAc(this,!0),qR(this.element_,!0))};
var WAc=function(a,b){a.target_&&(HL(a.target_,"haspopup",b),HL(a.element_,"expanded",b),HL(a.target_,"expanded",b),b?HL(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),IL(a.target_,null)))};tR.prototype.isVisible=function(){return this.visible_};
var XAc=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_&&CAc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(AAc(d,["ac-active","active"]),a.target_&&IL(a.target_,d),KAc(d,a.element_)))};tR.prototype.hiliteId=function(a){if(-1==a)XAc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){XAc(this,b);break}};
var YAc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;AAc(b,Th(a.className).split(" "));GL(b,"listbox");b.id=Lp(Xp.getInstance());a.dom_.appendChild(a.parent_,b);wo(b,"click",a.handleClick_,!1,a);wo(b,"mousedown",a.handleMouseDown_,!1,a);wo(b,"mouseover",a.handleMouseOver_,!1,a)}},VAc=function(a){YAc(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:Lp(Xp.getInstance())});GL(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):s_b(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,ZAc(this,d,c));zAc(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(),OAc(a.element_))};
tR.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=Fdb(c),g=bq(a),h=cq(a);h&&g.intersection(Gdb(h));Hdb(g,yo(a),yo(c));a=Idb(a,b);b=g.left;a&4?b+=g.width:a&2&&(b+=g.width/2);a=new dq(b,g.top+(a&1?g.height:0));a=eq(a,e);if(g=cq(c))g.top-=e.y,g.right-=e.x,g.bottom-=e.y,g.left-=e.x;e=a.clone();a=Idb(c,d);d=fq(c);b=d.clone();e=Jdb(e,b,a,null,g,65);e.status&496||(g=e.rect,gq(c,new dq(g.left,
g.top)),b=e.rect.getSize(),Ldb(d,b)||Mdb(c,b))}};tR.prototype.getTarget=function(){return this.target_||null};tR.prototype.disposeInternal=function(){this.element_&&(WA(this.element_,"click",this.handleClick_,!1,this),WA(this.element_,"mousedown",this.handleMouseDown_,!1,this),WA(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);kh(this.animation_);this.parent_=null;tR.superClass_.disposeInternal.call(this)};
var ZAc=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=$Ac(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&&ZAc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,ZAc(a,b,c),b=d},$Ac=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!yk(xk(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(dn).join("|"):(c=sQb(b),c=dn(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?dn(b[0]):"":/^\W/.test(b)||(c=dn(b));return c},aBc=function(a,b){for(;b&&b!=a.element_&&!yAc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};tR.prototype.handleClick_=function(a){var b=aBc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};tR.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
tR.prototype.handleMouseOver_=function(a){a=aBc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var uR=function(a,b,c,d,e,g,h,l,q,x){g=g||new kR(",;",'"');h=new tR(h||null,q||this,x);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;jR.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};rs(uR,jR);
var cBc=function(a,b,c,d,e,g,h){b=new uR(null,b,void 0,g,c,d,e,void 0,void 0,h);KC(a);ps(bBc,null,b,!0);throw Error("Fd");},dBc=function(a,b,c,d,e,g,h){b=new uR(null,b,void 0,g,c,d,e,void 0,void 0,h);c=bBc;e=a.getClientInfo();d=(g=Gj(e,10)||Gj(a.getExperiments(),5,!0))?new Vxc(void 0,Txc(a)):new YQ(void 0,Txc(a));h=Lq(new $wc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=kzc.get(l)||4;q=OLa("people-pa",void 0===q?0:q);l=4===l?V(a.getClientInfo(),2)||"":V(a.getClientInfo(),1)||"";var x=V(a.getClientInfo(),
4),A=V(a.getClientInfo(),5),B=V(a.getClientInfo(),6)||"",K=a.getClientInfo().getAffinityType()||"";var O=a.getUserInfo();O=m(O,2);var P=a.getAuthErrorHandler(),Y=Eh(a.getClientInfo(),8,3E4),X=Gj(a.getClientInfo(),17,!1);h=new azc(h,q,l,x,A,B,K,O,Y,P,Eh(a.getClientInfo(),13,15),Eh(a.getClientInfo(),14,500),V(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),V(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),
a.getExperiments(),X);a=new nzc(h,Ivc(a));h=new uzc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);g&&(a=new pyc(a,null,!!Gj(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},bBc=function(a,b,c){b&&c.loadContactRows(lwc,function(){});eBc(a,c)};uR.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&kh(this.contactStore_);uR.superClass_.disposeInternal.call(this)};
var eBc=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=uR.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:jwc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};b=ps(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 Lvc;var d=[];this.filter_&&(d=this.filter_(d,a.token));a=qs(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){uR.superClass_.renderRows.call(this,a,b)};f.dismiss=function(){uR.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=jq('<div class="'+mq("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+mq("goog-contacts-ui-autocomplete-new-section"):"")+'">'+nq(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=gMa(a),hMa(c,a))};f.selectHilited=function(){var a=aAc(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):uR.superClass_.selectHilited.call(this)};
f.fireSelectionEvent=function(a){this.dispatchEvent(new fBc(a))};var fBc=function(a){RA.call(this,"k");this.row=a};rs(fBc,RA);QHb("createAutoComplete",function(a,b,c,d,e,g,h,l,q,x){d&&(b=b+d+"/");b=vzc(KC(b));g&&b.loadContactRows(lwc,function(){});c=new uR(b,c,void 0,q,e,l,x,!0);c.attachInputs(h_b(document,a));return c});var vR=function(){this.eventHandler_=new $p(this);vR.prototype.addInput=vR.prototype.addInput;vR.prototype.removeInput=vR.prototype.removeInput;vR.prototype.setTarget=vR.prototype.setTarget},gBc=function(a,b){var c=new vR;c.create(a,b);return c};f=vR.prototype;
f.create=function(a,b){a=h_b(document,a);this.acWidget_=b.contactStoreConfig?dBc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):cBc(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(){tpa(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=gBc;var hBc=function(a,b){return new Co("/",a,void 0,void 0,void 0,void 0,b)};Co.prototype.setLocale=function(){};var iBc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};iBc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Co.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Nd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)jBc(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(Pc(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)WA(a[b],"focus",this.onTargetFocus_,!1,this)};
var jBc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=ps(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(Pc(b.pendingInputs.values()));b.emailac=gBc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};f=Co.prototype;
f.attachAutocomplete=function(a,b,c){a=h_b(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 iBc(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_?jBc(this,e):wo(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=h_b(document,a);WA(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)};QHb("goog.NewContactTools",Co);
QHb("goog.NewContactTools.create",hBc);Co.prototype.setLocale=Co.prototype.setLocale;Co.prototype.attachAutocompleteTo=Co.prototype.attachAutocompleteTo;Co.prototype.initAutocomplete=Co.prototype.initAutocomplete;Co.prototype.attachAutocomplete=Co.prototype.attachAutocomplete;Co.prototype.detachAutocomplete=Co.prototype.detachAutocomplete;var lMa=function(a){this.rows_=a||[]};lMa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var g=new RegExp("(^|\\W+)"+dn(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=kBc(a,b,d));c(a,e)};
var kMa=function(a,b,c){return kBc(b,c,a.rows_)},kBc=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 x=h.split(""),A=-1,B=10,K=0,O;O=x[K];K++)O=l.indexOf(O),O>A?(A=O-A-1,A>B-5&&(A=B-5),q+=A,A=O):(q+=B,B+=5);q<6*h.length&&d.push({str:g,score:q,index:e})}d.sort(function(P,Y){var X=P.score-Y.score;return 0!=X?X:P.index-Y.index});a=[];for(K=0;K<b&&K<d.length;K++)a.push(d[K].str);
return a};var wR=function(a,b,c,d,e){var g=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new E.Subscription;this.acReadyDeferred=Ll();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",x=/\/u\/(\d+)\//.exec(b.absUrl());x&&(q=x[1]);h.config.update("googleapis.config/sessionIndex",q);g.acReadyDeferred.resolve(void 0);g.contactTools=d.create(l,function(){Avc(g.firstPartyAuthHelper)});g.contactTools.initAutocomplete()})}};wR.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
wR.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return mMa(h,l,d.activeSession.getUserEmail(),c)},g=new E.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};wR.\u0275fac=function(a){return new (a||wR)(u(iE),u(CG),u(ds),u(xR),u(DQ))};
wR.\u0275prov=mc({token:wR,factory:wR.\u0275fac,providedIn:"root"});var xR=function(){};xR.prototype.create=function(a,b){var c=new FQ,d=c.getUserInfo();n(d,6,a?5:1);a=c.getExperiments();a=Ij(a,5,!0);a=Ij(a,1,!0);a=Ij(a,3,!0);Ij(a,2,!0);c.setAuthErrorHandler(b);return hBc("xapi",c)};xR.\u0275fac=function(a){return new (a||xR)};xR.\u0275prov=mc({token:xR,factory:xR.\u0275fac,providedIn:"root"});var yR=function(a,b,c,d){jE.call(this);this.element=a;this.accessPolicyConverter=b;this.focusContacts=c;this.activeSession=d;this.autocompleteActive=new Vv;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};U(yR,jE);
yR.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-"+vQb());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=lBc(mBc(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(lBc(d)),d=""):zvc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=lBc(mBc(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("Od`"+
this.fieldType);var c=this.additionalContactsCallback();c=nBc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var oBc=function(a){(0,E.timer)(150).pipe(Pe(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)})},nBc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},mBc=function(a){var b=Math.max(0,a.lastIndexOf("<"));return a.substr(b).trim().replace(/[<>]/g,"")},lBc=function(a){a=
a.trim();","===oa(a)&&(a=a.slice(0,-1));a=jn(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};yR.\u0275fac=function(a){return new (a||yR)(C(rd),C(zQ),C(wR),C(ds))};
yR.\u0275dir=Gc({type:yR,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&M("keydown",function(){return oBc(b)},!1,ud)("mousedown",function(){return oBc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[Ye]});var zR=function(){};zR.\u0275fac=function(a){return new (a||zR)};zR.\u0275mod=Dc({type:zR});zR.\u0275inj=nc({imports:[BF]});var pBc=["textarea"],qBc=["hiddenInput"],rBc=["autocompleteUnderlay"],sBc=Symbol(),AR=function(a,b,c){jE.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new Vv;this.focus=new Vv;this.blur=new Vv;this.autoResize=new Vv;this.manualResize$=new Vv;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};U(AR,jE);AR.\u0275dir=jE.\u0275dir;AR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Do(a).classList.add("codefont"):Do(a).classList.remove("codefont")}))};AR.prototype.ngOnDestroy=function(){jE.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};AR.prototype.setValue=function(a){Do(this).value!==a&&(Do(this).value=a,this.manualResize$.next())};
AR.prototype.getValue=function(){return Do(this).value};var Do=function(a){return a.textareaRef.nativeElement},Eo=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},nMa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},tBc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},uBc=function(a){var b=Do(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
AR.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 vBc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},wBc=function(a){var b=tBc(a);a=Do(a);b&&a&&(b.scrollTop=a.scrollTop)},oMa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},pMa=function(a,b){b=void 0===b?!1:b;var c=Do(a),d=Do(a).value,e,g=null==(e=Eo(a))?void 0:e.value;e=null==g?void 0:g.length;uBc(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};AR.prototype[sBc]=function(){return this.findWord};AR.\u0275fac=function(a){return new (a||AR)(C(DN),C(ds),C(iE))};
AR.\u0275cmp=Bc({type:AR,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(Qf(pBc,7),Qf(qBc,5),Qf(rBc,5));if(a&2){var c;Pf(c=Sf())&&(b.textareaRef=c.first);Pf(c=Sf())&&(b.hiddenInputRef=c.first);Pf(c=Sf())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&M("click",function(){oMa(b)},!1,Ifa)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(oMa(b),Do(b).focus())},!1,Ifa)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[Ye],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&&(G(0,
"div",0,1),M("keydown",function(c){"Escape"===c.key&&(oMa(b),Do(b).focus())}),G(2,"textarea",2,3),M("input",function(){b.contentChange.emit(b.getValue())})("focus",function(c){return b.focus.emit(c)})("blur",function(c){return b.blur.emit(c)})("onAutoResize",function(c){return b.autoResize.emit(c)})("keydown",function(c){if(nMa(b)&&vBc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=Eo(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=Eo(b))||l.dispatchEvent(c)}})("keyup",function(c){if(nMa(b)){var d=Do(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!vBc(c)){c=c.target;b.scrollPosition=c.scrollTop;uBc(b);var g=b.wordInfo.word;d="@"===g;e=g.startsWith("@");var h=g.slice(g.length-
1).match(/[a-z]/i);g=KAa.test(g.slice(1));if(d||e&&h&&!g){c=c.selectionStart;if(!b.taggingInProgress){if(d=tBc(b)){d.textContent=b.getValue();e=tBc(b);h=Do(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)}}wBc(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 x;null==(x=Eo(b))||x.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return wBc(b)}),H(),G(4,"span",4),Q(5,qMa,2,1,"input",5),H(),Q(6,rMa,2,0,"div",6),H());a&2&&(z(2),F("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),bf("placeholder",b.placeholder)("id",b.idForAriaLabel),z(2),lf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),z(1),F("ngIf",b.taggingInProgress),z(1),F("ngIf",nMa(b)))},dependencies:[rw,tw,yR,yQ],encapsulation:2,changeDetection:0});var xBc=function(a){return{"draft-markdown":a}},BR=function(a,b,c){jE.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()}};U(BR,jE);BR.\u0275dir=jE.\u0275dir;BR.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
BR.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};BR.\u0275fac=function(a){return new (a||BR)(C(kH,2),C(rd),C(SF))};
BR.\u0275cmp=Bc({type:BR,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&Qf(tM,7);if(a&2){var c;Pf(c=Sf())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Cf([kH]),Ye],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&&(G(0,"mat-tab-group",
0),M("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),G(1,"mat-tab",1),Q(2,sMa,1,0,"ng-container",2),H(),G(3,"mat-tab",3),Q(4,tMa,1,0,"ng-container",2),H()());a&2&&(F("dynamicHeight",!1)("selectedIndex",b.selectedIndex),z(2),F("ngTemplateOutlet",b.editArea),z(1),F("disabled",b.previewDisabled),z(1),F("ngTemplateOutlet",b.previewArea))},dependencies:[yw,tM,sM],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var CR=function(a,b,c,d){jE.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(D(function(e){return e===Z9b}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new Vv;this.contentChange=new Vv;this.focus=new Vv;this.blur=new Vv;this.autoResize=new Vv;this.onSubmit=new Vv};U(CR,jE);CR.\u0275dir=jE.\u0275dir;
CR.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
CR.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 yBc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Do(a.commentDraftTextarea).focus()})};CR.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};CR.\u0275fac=function(a){return new (a||CR)(C(DN),C(Se),C(BI),C(JL))};
CR.\u0275cmp=Bc({type:CR,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(Qf(AR,5),Qf(BR,5));if(a&2){var c;Pf(c=Sf())&&(b.commentDraftTextarea=c.first);Pf(c=Sf())&&(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:[Ye,
Uc],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&&(G(0,"b-comment-draft-textarea",0),M("autoResize",function(c){return b.synchronizeHeight(c)})("keydown.control.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()})("keydown.meta.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()}),S(1,"async"),H());a&2&&F("textareaClass",b.textareaClass)("ngClass",
Ff(8,xBc,T(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[rw,AR,zw],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 zBc=["captchaContainer"],DR=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new Vv;this.destroyed$=new E.ReplaySubject(1)};DR.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(Pe(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
DR.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(Gn.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent(Gn.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};DR.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};DR.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)})}};DR.\u0275fac=function(a){return new (a||DR)(C(Se),C(iE),C(wP),C(SF),C(oH))};
DR.\u0275cmp=Bc({type:DR,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&Qf(zBc,5);if(a&2){var c;Pf(c=Sf())&&(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 ER=function(a){this.matDialog=a};ER.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(FR,{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,E.firstValueFrom)(fA(this.dialog))};ER.\u0275fac=function(a){return new (a||ER)(u(kA))};ER.\u0275prov=mc({token:ER,factory:ER.\u0275fac,providedIn:"root"});
var FR=function(a,b,c,d,e){jE.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=hE(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);this.subscriptions.add(YO(e,
function(){return g.isModified()},!1))};U(FR,jE);FR.\u0275dir=jE.\u0275dir;f=FR.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Pe(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Pe(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!Kh(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)}};FR.\u0275fac=function(a){return new (a||FR)(C(ds),C(jA),C(ER),C(hA),C(XO))};
FR.\u0275cmp=Bc({type:FR,selectors:[["ng-component"]],features:[Ye],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&&(G(0,"h1",0),R(1),H(),G(2,"section",1)(3,"p",2),R(4," Editing comments will not permanently remove old ones from database history. "),I(5,"br"),R(6," For deletion of PII or other sensitive content, please "),G(7,"a",3),R(8," file a support request."),H()(),G(9,"b-comment-draft",4),M("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()}),
H(),G(10,"b-markdown-toggle",5),M("change",function(c){return b.newComment.formattingMode=c}),H(),Q(11,uMa,1,4,"b-live-preview",6),H(),Q(12,vMa,3,0,"section",7),G(13,"footer",8)(14,"button",9),R(15," Cancel "),H(),G(16,"button",10),M("click",function(){return b.closeDialogForSave()}),R(17," Save "),H()());a&2&&(z(1),Bf("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),z(6),F("href",b.contentRemovalRequestLink,Id),z(2),F("content",b.newComment.text)("audience",b.origComment.audience),
z(1),mf("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),F("initialValue",b.origComment.formattingMode),z(1),F("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),z(1),F("ngIf",b.enableRecaptcha),z(2),F("mat-dialog-close",void 0),z(2),F("disabled",!b.isModified()||!b.isCaptchaValid()))},dependencies:[lA,mA,nA,oA,tw,Yz,XN,WN,CR,DR],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],
changeDetection:0});var GR=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra){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=x;this.confirmationDialogService=A;this.issueComments=B;this.errorHandler=K;this.issueFetchResponseFridge=O;this.eventsForIssueFridge=P;this.componentFridge=Y;this.commentFormatter=X;this.confirmNoAccessService=ka;this.activeSession=
ma;this.appEvents=ya;this.issuePicker=Aa;this.eventsForIssueWatcher=Ma;this.issueInteractionsTracking=Ra},Ezb=function(a,b,c){var d,e,g,h;return de(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();Jsc(a.issueCommentService,{issueId:b,newCommentId:h.id,
newComment:h.text,newCommentFormattingMode:h.formattingMode,recaptchaToken:h.recaptchaToken});ie(l)})},BBc=function(a,b,c){var d,e,g;return de(function(h){if(1==h.nextAddress)return c?h.yield(ABc(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(Gn.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(l)}ie(h)})},ABc=function(a,b){function c(ka){return B.get(ka)}var d,e,g,h,l,q,x,A,B,K,O,P,Y,X;return de(function(ka){if(1==ka.nextAddress)return ka.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=ka.nextAddress){d=ka.yieldResult;if(!d)return ka.return([]);g=null!=(e=d.snapshot[0].duplicateIssueId)?e:[];l=null!=(h=d.snapshot[0].blockingIssueId)?h:[];x=null!=(q=d.snapshot[0].blockedByIssueId)?
q:[];return ka.yield((0,E.firstValueFrom)(a.issueFridge.watchSet(ol([].concat(Pc(g),Pc(l),Pc(x))))),3)}A=ka.yieldResult;B=new Map(A.map(function(ma){return[ma.issueId,ma]}));K=x.map(c).filter(ni).map(wMa("BLOCKED_BY"));O=l.map(c).filter(ni).map(wMa("BLOCKING"));P=g.map(c).filter(ni).map(wMa("DUPLICATE"));Y=[].concat(Pc(K),Pc(O),Pc(P));X=xMa(Y);return ka.return(X)})},DBc=function(a,b,c){var d;return de(function(e){return 1==e.nextAddress?c?e.yield(Sgc(a.confirmationDialogService,{title:"Restore comment # "+
c+"?",content:cn("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?e.yield(CBc(a,b,c),0):e.return()})},CBc=function(a,b,c){var d,e;return de(function(g){switch(g.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return g.return();LF(a.butterBar,"Restoring comment...",0);ee(g,2,3);qJ(d,"commentUndelete");return g.yield(a.issueComments.undelete(b,c),5);case 5:LF(a.butterBar,"Comment restored successfully.");case 3:fe(g);rJ(d,"commentUndelete");
yH(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);ge(g,0);break;case 2:e=he(g),LF(a.butterBar,"Comment restoration failed."),QF(a.errorHandler,e),g.jumpTo(3)}})},GBc=function(a,b,c,d){var e,g,h,l;return de(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():q.yield(EBc(a,b),2)}return 3!=q.nextAddress?(g=q.yieldResult,a.butterBar.dismiss(),q.yield((0,E.firstValueFrom)(fA(a.matDialogService.open(Dsc,{width:"560px",
data:{commentNumber:c,issueId:b,deletionReasons:g}}))),3)):(h=q.yieldResult)?q.yield(FBc(a,b,c,h.value,null!=(l=d)?l:""),0):q.jumpTo(0)})},FBc=function(a,b,c,d,e){var g,h;return de(function(l){switch(l.nextAddress){case 1:g=a.editIssueService.savingState(b);if(g.get("commentDelete"))return l.return();ee(l,2,3);LF(a.butterBar,"Deleting comment...",0);qJ(g,"commentDelete");return l.yield(a.issueComments.delete(b,c,d,e),5);case 5:LF(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:fe(l);rJ(g,"commentDelete");yH(a.issueFetchResponseFridge,b);ge(l,0);break;case 2:h=he(l),LF(a.butterBar,"Comment deletion failed."),QF(a.errorHandler,h),l.jumpTo(3)}})},EBc=function(a,b){var c,d,e,g,h,l,q,x;return de(function(A){switch(A.nextAddress){case 1:return A.yield((0,E.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=A.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){g=void 0;A.jumpTo(3);break}return A.yield((0,E.firstValueFrom)(a.componentFridge.watch(e)),
4);case 4:g=A.yieldResult;case 3:return h=g,l=new xvc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new xvc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),x=new xvc("Personally Identifiable Information","PII"),A.return([x,q,l])}})},HBc=function(a,b,c){var d,e;return de(function(g){if(1==g.nextAddress)return d=fJ(a.issuePermissionService,
ci(c.userPerformingActionUser)),a.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"updateContentJudgement","comment"),g.yield(a.showContentJudgementDialog({severity:ui(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}},yH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),vH(a.issueFridge,[b],{markRead:!0});
ie(g)})};GR.prototype.showContentJudgementDialog=function(a){return(0,E.firstValueFrom)(fA(this.matDialogService.open(SP,{panelClass:"no-jitter",width:"500px",data:a})))};
var IBc=function(a,b,c){var d;return de(function(e){if(1==e.nextAddress)return e.yield((0,E.firstValueFrom)(fA(a.matDialogService.open(TP,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(1===d)})},JBc=function(a,b,c,d){var e;de(function(g){if(1==g.nextAddress){if(null==d)return g.return();a.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return g.yield(a.showContentJudgementDialog({severity:ui(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}},yH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),vH(a.issueFridge,[b],{markRead:!0});ie(g)})};
GR.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,g,h,l,q,x;de(function(A){if(1==A.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return A.return();e=E;g=e.firstValueFrom;h=c.matDialogService;l=h.open;q=Csc;return A.yield(EBc(c,a),3)}return 2!=A.nextAddress?A.yield(g.call(e,fA(l.call(h,q,{width:"560px",data:{deletionReasons:A.yieldResult,attachmentId:b.attachmentId}}))),2):(x=A.yieldResult)?A.yield(Eic(c.editIssueService,a,b,x.value),
0):A.jumpTo(0)})};
var KBc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,g,h,l;return de(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);ee(q,2);return q.yield((0,E.firstValueFrom)(Hoc(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(Ghc(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=he(q);QF(a.errorHandler,l);return q.return(!1)})},LBc=function(a,b){b=void 0===b?"comment":b;var c,d;return de(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||G$b(a.activeSession))return e.return(!0);switch(b){case "comment":d=
cn("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=cn("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:nh(b)}return e.return(Sgc(a.confirmationDialogService,{title:"",content:d}))})};
GR.prototype.submitCommentBox=function(a,b){var c=this,d,e,g,h,l,q;return de(function(x){if(1==x.nextAddress){d=c.editIssueService.issueCommentDraft(a).comment();e=c.editIssueService.savingState(a);g=c.editIssueService.editableIssue(a);if(!c.issuePermissionService.hasAclToComment()||!Lhc(d)||e.get("comment"))return x.return();qJ(e,"comment");h=function(){rJ(e,"comment")};return x.yield(KBc(c,{issueId:a,componentId:String(g.componentId),comment:d}),2)}if(3!=x.nextAddress)return l=x.yieldResult,l?x.yield(LBc(c),
3):(h(),x.return());q=x.yieldResult;if(!q)return h(),x.return();c.analytics.trackEvent(Gn.EDIT_ISSUE,"addComment","MARKDOWN"===d.formattingMode?"markdown":"non markdown");Zhc(c.issueInteractionsTracking,a);c.eventsForIssueWatcher.isPaused=!0;return x.return(c.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(a,b).finally(function(){h();c.appEvents.commentSubmitted.next(a);c.appEvents.scrollToCommentBox.next()}))})};
GR.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,g,h,l;return de(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);ie(q)})};
GR.prototype.updateCommentReaction=function(a){var b=this,c;return de(function(d){return 1==d.nextAddress?a.hasReacted?d.yield(LBc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};GR.\u0275fac=function(a){return new (a||GR)(u(tJ),u(KF),u(gJ),u(UP),u(ER),u(tH),u(kA),u(DG),u(oH),u(ZJ),u(wI),u(VH),u(OF),u(wH),u(fF),u(mF),u(VN),u(VI),u(ds),u(SF),u(MO),u(xQ),u(dJ))};
GR.\u0275prov=mc({token:GR,factory:GR.\u0275fac,providedIn:"root"});var HR=function(a,b,c){this.editIssueService=a;this.issuePicker=b;this.analytics=c},MBc=function(a,b){var c,d,e,g,h,l,q;return de(function(x){if(1==x.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(),x.yield(a.issuePicker.open(e),2);h=x.yieldResult;if(null==(l=h)||!l.length)return c.status=
d,x.return();q=(new Date).getTime()-g;a.analytics.trackEvent(Gn.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent(Gn.EDIT_ISSUE,"setCanonicalIssue");return x.return(wic(a.editIssueService,b,h[0]))})};HR.\u0275fac=function(a){return new (a||HR)(u(tJ),u(MO),u(oH))};HR.\u0275prov=mc({token:HR,factory:HR.\u0275fac,providedIn:"root"});var IR=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y){jE.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=x;this.errorHandler=A;this.analytics=B;this.issueCommentDialogsService=K;this.issuePermissionService=O;this.editIssueService=P;this.routeParams=Y;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};U(IR,jE);IR.\u0275dir=jE.\u0275dir;IR.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;NBc(this);OBc(this)};IR.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(NBc(this),this.cdr.markForCheck())};
IR.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var NBc=function(a){a.actionMenuItems=[];PBc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});QBc(a)&&a.actionMenuItems.push({type:"action",action:function(){Dic(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){JBc(a.issueCommentDialogsService,a.issueId,a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});
if(a.isInternalSession&&a.isRestricted()&&a.isActive()){var b="COMPONENT_DEFAULT"===a.attachmentRetentionOverride;a.actionMenuItems.push({type:"action",action:function(){var c=b?2:1;IBc(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&RBc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
IR.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,yF(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};IR.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
IR.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var BMa=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("Pd");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return o1b(a,"download",b)};IR.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)};
IR.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getPiiSeverity()};IR.prototype.getPiiSeverity=function(){var a;return ui(null==(a=this.attachment)?void 0:a.contentVerdict)};IR.prototype.getRestrictedLabel=function(){return Oqa(this.getPiiSeverity())};
var CMa=function(a){return(a=a.getPiiSeverity())?"bv2-restricted-content-limit-"+Nqa(a):""},AMa=function(a,b){a.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(EP,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},PBc=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()||fJ(b,a)?
!0:!1:!1:!1}else b=!1;return b},QBc=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()||fJ(b,a)?!0:!1:!1:!1}else b=!1;return b};IR.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var RBc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(a.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(Pe(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);LF(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=2===b?"INDEFINITE":"COMPONENT_DEFAULT";NBc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;PF(a.errorHandler,"Attachment retention update failed")}})):PF(a.errorHandler,"Attachment id is missing")},OBc=function(a){var b,c,d;de(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,AMa(a,d));ie(e)})};
IR.\u0275fac=function(a){return new (a||IR)(C(ds),C(vI),C(ZJ),C(kA),C(FP),C(kH,2),C(qw),C(DG),C(xF),C(KF),C(OF),C(oH),C(GR),C(gJ),C(tJ),C(YI))};
IR.\u0275cmp=Bc({type:IR,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Cf([kH]),Ye,Uc],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&&(G(0,"div",0),I(1,"b-icon",1),H(),G(2,"div")(3,"div",2),R(4),G(5,"span",3),Q(6,yMa,1,3,"b-restricted-chip",4),Q(7,zMa,2,3,"span",5),H()(),G(8,"div"),R(9),Q(10,DMa,2,8,"span",6),Q(11,EMa,2,8,"span",6),G(12,"xap-bubble",7),Q(13,FMa,3,3,"span",8),Q(14,GMa,4,1,"ng-template",null,9,Vf),H()()());if(a&2){var c=yf(15);z(4);zf(" ",b.getFilename()," ");z(2);F("ngIf",b.isRestricted());
z(1);F("ngIf",0<b.actionMenuItems.length);z(2);zf(" ",VAa(b.getSize())," ");z(1);var d;a=b.isActive()&&lqa(null==(d=b.attachment)?void 0:d.contentType);F("ngIf",a);z(1);F("ngIf",b.isActive());z(1);F("panelTemplate",c);z(1);F("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[tw,JA,yK,GP,GM,Zz,ZB,HP,mO],encapsulation:2,changeDetection:0});var JR=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};JR.prototype.onNoClick=function(){this.dialogRef.close(!1)};JR.\u0275fac=function(a){return new (a||JR)(C(hA),C(vI),C(jA))};
JR.\u0275cmp=Bc({type:JR,selectors:[["b-restricted-confirmation-dialog"]],decls:12,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about restricted access",3,"rel"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","restricted-confirmation-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action","restricted-confirmation-dialog-confirm",3,"mat-dialog-close"]],
template:function(a,b){a&1&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"p"),R(4),G(5,"a",2),R(6," Learn More "),H()()(),G(7,"div",3)(8,"button",4),M("click",function(){return b.onNoClick()}),R(9," Cancel "),H(),G(10,"button",5),R(11," Confirm "),H()());a&2&&(z(1),Af(b.data.title),z(3),zf(" ",b.data.content," "),z(1),F("rel",b.EXTERNAL_LINK_REL),bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Id),z(5),F("mat-dialog-close",!0))},dependencies:[Yz,lA,mA,nA,oA],encapsulation:2});var KR=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new Vv};
KR.prototype.openDialog=function(){var a=this;fA(this.dialog.open(JR,{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()})};KR.\u0275fac=function(a){return new (a||KR)(C(kA),C(vI))};
KR.\u0275cmp=Bc({type:KR,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&&(G(0,"span")(1,"button",0),M("click",function(){return b.openDialog()}),R(2," Show Restricted Content "),H(),G(3,"a",1),R(4,
" Learn More "),H()());a&2&&(z(1),F("disabled",b.disabled),z(2),F("rel",b.EXTERNAL_LINK_REL),bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Id))},dependencies:[Yz],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var LR=function(){};LR.\u0275fac=function(a){return new (a||LR)};LR.\u0275mod=Dc({type:LR});LR.\u0275inj=nc({imports:[SB,BF,$B,wC,XC]});var SBc=["commentActionsMenu"],TBc=["editDescription"],aNa=function(){return[]},MR=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){jE.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=x;this.issueCommentDialogsService=A;this.issuePermissionService=B;this.commentHistoryDialogService=K;this.dateFormatter=O;this.issueFetchResponseFridge=
P;this.id$=new E.ReplaySubject(1);this.accessLevel$=this.id$.pipe(Oe(this.issueFridge.watch),D(function(X){var ka;return null==X?void 0:null==(ka=X.accessLimit)?void 0:ka.accessLevel}));this.firstEvent$=new E.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(D(function(X){return X}));this.commentActionMenuItems$=new E.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=Rm(this.firstEvent$.pipe(ue(ni),D(function(X){return X.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(ue(ni),D(function(X){return X.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(ue(ni),D(function(X){return"DELETED"===X.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,E.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return!(!X||ka)}));this.isRestricted$=this.firstEvent$.pipe(ue(ni),D(function(X){return ui(X.commentContentVerdict)}),D(function(X){if(!Y.isInternalSession)return!1;
switch(X){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:nh(X)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(ue(ni),D(function(X){return X.commentRetention}));this.commentHistoryEnabled=hE(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,E.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return!(!(hE(Y.activeSession,"enableCommentHistoryUi")&&
0<((null==X?void 0:X.commentVersion)||0))||ka)}));this.canEditComment$=this.firstEvent$.pipe(Oe(function(X){return X?Y.issuePermissionService.canEditComment$(X):(0,E.of)(!1)}),Le({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Sm(Y.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(Oe(function(X){return X?Y.mayReadPii():(0,E.of)(void 0)}));this.reporterUser$=this.id$.pipe(Oe(function(X){return Y.issueFridge.watch(X)}),
D(function(X){var ka;return null==X?void 0:null==(ka=X.snapshot[0])?void 0:ka.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(D(dNa));this.firstEventReporterEmail$=this.firstEvent$.pipe(D(function(X){X=k((null==X?void 0:X.postDiffs)||[]);for(var ka=X.next();!ka.done;ka=X.next())if(ka=ka.value,"reporter"===ka.name)return ka.newValue||"";return""}));this.onBehalfOfEmail$=(0,E.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(D(function(X){var ka=
k(X);X=ka.next().value;ka=ka.next().value;return X||ka}));this.isAuthorNotReporter$=(0,E.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return X!==dNa(null==ka?void 0:ka.userPerformingActionUser)}))};U(MR,jE);MR.\u0275dir=jE.\u0275dir;
MR.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(Oe(function(b){return(0,E.defer)(function(){return yF(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){vh("error: ",c);return!1})})}))};
MR.prototype.ngOnInit=function(){var a=this;UBc(this,"PLAIN");this.id$.pipe(Oe(this.issueFetchResponseFridge.watch),D(function(b){return null==b?void 0:b.firstEvent}),Pe(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(Pe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";UBc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(Pe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
MR.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=Sm(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){Ezb(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:Sm(this.isRedacted$)});
Sm(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&&bic(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&GBc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&aic(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){DBc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){HBc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&Sm(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!Sm(this.isDeleted$)){var d="COMPONENT_DEFAULT"===Sm(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?2:1;IBc(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 UBc=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)};
MR.prototype.updateCommentRetention=function(a){var b=this,c=Sm(this.firstEvent$),d=Sm(this.id$);c&&!c.commentNumber&&PF(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(Pe(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);LF(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){PF(b.errorHandler,"Comment retention update failed")}})};
MR.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=(null==b?void 0:b.commentNumber)||0;b=ti(ui(null==b?void 0:b.commentContentVerdict));a&&this.commentService.get(a,d,b).pipe(Ce(),Pe(this.destroyed$)).subscribe(function(e){e=ota(e);e=Object.assign({},Sm(c.firstEvent$),e);c.firstEvent$.next(e);c.initializeActionsMenu()},function(e){var g;MF(c.butterBar,"Error showing comment "+d+": "+(null==(g=e.error)?
void 0:g.message))})};MR.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};MR.prototype.getUserEmailIfAvailable=function(){var a;return ci(null==(a=Sm(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var HMa=function(a){var b=Sm(a.firstEvent$);b&&Ezb(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},MMa=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=Zh(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",Dkc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
ch.Object.defineProperties(MR.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return Sm(this.id$)}}});MR.\u0275fac=function(a){return new (a||MR)(C(fF),C(BI),C(tH),C(pL),C(ds),C(AP),C(OF),C(oH),C(KF),C(xF),C(GR),C(gJ),C(zP),C(hK),C(wH))};
MR.\u0275cmp=Bc({type:MR,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(Qf(SBc,5),Qf(TBc,5));if(a&2){var c;Pf(c=Sf())&&(b.commentActionsMenu=c.first);Pf(c=Sf())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[Ye],decls:4,vars:4,consts:[["id","comment1","class","flex-kids-x",4,"ngIf","ngIfElse"],["loading",""],["id","comment1",1,"flex-kids-x"],["svgIcon","description_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"flex-kids-x"],[1,
"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","color","primary","class","gmat-button update-button small margin-xs-right","aria-label","Edit description",3,"click",4,"ngIf"],[3,"onedevHovercardTrigger","model"],["card",""],[3,"email"],[4,"ngIf"],["class","keep-focus-ring",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],["commentActionsMenu",""],[4,"ngIf","ngIfElse"],
["showFirstComment",""],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"gmat-button","update-button","small","margin-xs-right",3,"click"],["editDescription",""],[3,"email","showEmail"],[1,"keep-focus-ring",3,"routerLinkObj","click"],[1,"muted",3,"matTooltip"],[1,"description-deleted"],["showNote",""],["class","critical-feature",3,"disabled","onConfirm",4,"ngIf"],[1,"critical-feature",3,"disabled",
"onConfirm"],["class","muted critical-feature",4,"ngIf"],["class","critical-feature",3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode"],[1,"muted","critical-feature"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,
b){a&1&&(Q(0,bNa,29,24,"div",0),S(1,"async"),Q(2,cNa,1,0,"ng-template",null,1,Vf));if(a&2){var c=yf(3);F("ngIf",T(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[yK,IR,YN,sw,tw,JA,iK,xJ,CJ,aK,Yz,ZB,KR,ZM,zL,bK,uL,zw],styles:["[_nghost-%COMP%]{display:block}.description-deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-style:italic}"]});var NR=function(a){this.issueReferenceResolver=a;this.userToString=ci};NR.prototype.ngOnInit=function(){};NR.prototype.getCommentNumberLink=function(a){return hwa(this.issueId,{comment:a})};NR.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};NR.\u0275fac=function(a){return new (a||NR)(C(pL))};
NR.\u0275cmp=Bc({type:NR,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&&Q(0,iNa,5,3,"span",0);a&2&&F("ngForOf",b.comments)},
dependencies:[sw,tw,xJ,CJ,aK,ZM,pO],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 OR=function(a){jE.call(this);this.ngZone=a};U(OR,jE);OR.\u0275dir=jE.\u0275dir;var VBc=function(a,b){return(new E.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(Pe(a.destroyed$))};OR.\u0275fac=function(a){return new (a||OR)(u(Se))};OR.\u0275prov=mc({token:OR,factory:OR.\u0275fac,providedIn:"root"});var WBc=["imagesSummaryWidget"],PR=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new E.ReplaySubject(1);this.paginate=!1;this.container$=new E.ReplaySubject(1);this.containerResize$=this.container$.pipe(D(function(e){return e.nativeElement}),Oe(function(e){return VBc(d.resizeService,e)}));this.issueId$=new E.ReplaySubject(1);this.lastRenderedImageIndex$=new E.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(D(function(e){e=e.map(function(g){if(g.comment){var h=
wva(g.href);if(h)return{src:h,comment:g.comment}}}).filter(ni);return pNa(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(D(function(e){return Math.floor((e.width-16)/216)}),Le({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(D(function(e){return 2*e}));this.imagesToRender$=(0,E.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(D(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)}),Be())};PR.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};PR.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};PR.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};ch.Object.defineProperties(PR.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return Sm(this.imageLinks$)}}});
PR.\u0275fac=function(a){return new (a||PR)(C(OR),C(vG),C(jm))};
PR.\u0275cmp=Bc({type:PR,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&Qf(WBc,7);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"div",null,0),Q(2,oNa,3,3,"ng-container",1),S(3,"async"),H());a&2&&(z(2),F("ngIf",T(3,1,b.allImages$)))},dependencies:function(){return[NR,sw,tw,Yz,KN,zw,QR]},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 QR=function(){};QR.prototype.transform=function(a){return a.split(".png")[0]};QR.\u0275fac=function(a){return new (a||QR)};QR.\u0275pipe=Hc({name:"removePngExtension",type:QR,pure:!0});var XBc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links"},uOa=[].concat(Pc(Object.values(XBc)));var YBc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=cza(function(d){c.analytics.trackEvent(Gn.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=cza(function(){c.analytics.trackEvent(Gn.EDIT_ISSUE,"view","SW")})},jOa=function(a,b,c){a.recordInteractionOnce(c);Fo(a.issueInteractionsTracking,b,c+"-content-interacted");Fo(a.issueInteractionsTracking,b,"SW-content-interacted")};var RR=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
RR.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=wNa(b.markdownFormat.content);break a}if(b.literalFormat){a=wNa(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(wNa(c));break a}}a=void 0}if(a=a&&ZBc(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($Bc.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($Bc.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="",Al(this.relatedLink)?c=b=this.relatedLink.href:xva(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?qqa(tK(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 ZBc=function(a,b){if(a.relatedLink){if(xva(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(Pc(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(Al(a.relatedLink)){var d=a.relatedLink;return[].concat(Pc(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})}}};
RR.prototype.getIssueUrl=function(a){return tK(this.currentTracker,a)};RR.\u0275fac=function(a){return new (a||RR)(C(ds),C(sK))};
RR.\u0275cmp=Bc({type:RR,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[Uc],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&&(G(0,"div",0),R(1," \u201c "),Q(2,qNa,3,3,"span",1),Q(3,rNa,3,3,"ng-container",2),Q(4,uNa,3,2,"ng-template",null,3,Vf),Q(6,vNa,2,1,"span",4),R(7," \u201d\n"),H());if(a&2){var c=yf(5);z(2);F("ngIf",b.leftText);z(1);F("ngIf",b.isExternalLink)("ngIfElse",c);z(3);F("ngIf",b.rightText)}},dependencies:[CN,rL,tw,nJ],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 $Bc=new Set(["BR"]);var SR=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 E.ReplaySubject(1);this.currentIssueId$=new E.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new E.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(ue(ni),Oe(function(h){var l=ol(h.map(function(q){return q.issueId}));return g.issueFridge.watchSet(l).pipe(D(function(q){return new Map(q.map(function(x){return[null==
x?void 0:x.issueId.toString(),x]}))}),D(function(q){return new Map(l.map(function(x){return[x,q.get(x)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(ue(ni),D(function(h){var l=new Map;h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var x=q.issueId.toString();l.has(x)?l.get(x).push(q):l.set(x,[q])}return l}));this.allMentionedIssues$=(0,E.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(D(function(h){h=k(h);var l=h.next().value;h=h.next().value;return[].concat(Pc(h)).filter(function(q){return k(q).next().value!==
g.issueId}).map(function(q){var x=k(q);q=x.next().value;x=x.next().value;var A=l.get(q),B=null==A?void 0:A.map(function(K){var O,P,Y=null==(O=K.comment)?void 0:null==(P=O.userPerformingActionUser)?void 0:P.emailAddress;return{commentNumber:K.sourceCommentNumber,author:(null==Y?void 0:Y.split("@")[0])+"@",issueEvent:K.comment}});return{hasViewAccess:!!x,issueId:q,shortIssueUrl:qqa(g.activeSession.getAppBaseUrl(),q),sourceComments:B,title:null==x?void 0:x.snapshot[0].title,priority:x?x.snapshot[0].priority:
null,relatedLinks:A}})}));this.mentionedIssuesToRender$=(0,E.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(D(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)}))};SR.prototype.getCommentNumberLink=function(a){return hwa(this.issueId,{comment:a})};SR.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
SR.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};ch.Object.defineProperties(SR.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}}});SR.\u0275fac=function(a){return new (a||SR)(C(ds),C(tH),C(vG),C(jm),C(pL))};
SR.\u0275cmp=Bc({type:SR,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&&(Q(0,DNa,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[sw,tw,dI,Yz,ZB,RR,NR,zw,TR]},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 TR=function(){};TR.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(ni)};TR.\u0275fac=function(a){return new (a||TR)};TR.\u0275pipe=Hc({name:"toComments",type:TR,pure:!0});var UR=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new E.ReplaySubject(1);this.issueId$=new E.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new E.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(D(function(d){return Jua(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,E.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(D(function(d){var e=k(d);d=e.next().value;
e=e.next().value;return c.paginate?LNa(d,e):6===d.length?LNa(d,6):LNa(d,5)}))};UR.prototype.ngOnInit=function(){};UR.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};ch.Object.defineProperties(UR.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("ab");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Sm(this.issueId$)}}});
UR.\u0275fac=function(a){return new (a||UR)(C(vG),C(jm))};
UR.\u0275cmp=Bc({type:UR,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&&(Q(0,JNa,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.allLinkGroups$))},dependencies:function(){return[NR,sw,tw,Yz,RR,zw,VR]},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 KNa=ql(function(a){return Math.min.apply(Math,Pc(a.map(function(b){return b.sourceCommentNumber})))},Mua),VR=function(){};VR.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(ni)};VR.\u0275fac=function(a){return new (a||VR)};VR.\u0275pipe=Hc({name:"toComments",type:VR,pure:!0});var WR=function(){Fx.apply(this,arguments)};U(WR,Fx);WR.\u0275fac=function(){var a;return function(b){return(a||(a=pd(WR)))(b||WR)}}();WR.\u0275dir=Gc({type:WR,selectors:[["","expandable-tab-content",""]],features:[Ye]});var YR=function(){Fx.apply(this,arguments)};U(YR,Fx);YR.\u0275fac=function(){var a;return function(b){return(a||(a=pd(YR)))(b||YR)}}();YR.\u0275dir=Gc({type:YR,selectors:[["","expandable-tab-header",""]],features:[Ye]});var ZR=function(){Fx.apply(this,arguments)};U(ZR,Fx);
ZR.\u0275fac=function(){var a;return function(b){return(a||(a=pd(ZR)))(b||ZR)}}();ZR.\u0275dir=Gc({type:ZR,selectors:[["","expandable-tab-icon",""]],features:[Ye]});var $R=function(){};$R.prototype.ngOnInit=function(){};$R.\u0275fac=function(a){return new (a||$R)};
$R.\u0275cmp=Bc({type:$R,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(Rf(c,YR,5,Mf),Rf(c,WR,5,Mf),Rf(c,ZR,5,Mf));if(a&2){var d;Pf(d=Sf())&&(b.tabHeaderTemplate=d.first);Pf(d=Sf())&&(b.tabContentTemplate=d.first);Pf(d=Sf())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var MNa=function(a){return{tab:a}},aCc=function(a){return{allTabsExpanded:a}},aS=function(){jE.apply(this,arguments);this.internalTabKeys$=new E.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new pJ;this.expandedTabsChanged=new Vv;this.contentShownChanged=new Vv;this.tabs$=new E.BehaviorSubject([]);this.allTabsExpanded$=(0,E.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(D(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}};U(aS,jE);aS.\u0275dir=jE.\u0275dir;
aS.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(Ne(void 0),D(function(){return a.internalTabs.toArray()}),D(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),Oe(function(b){return(0,E.combineLatest)([(0,E.of)(b),a.internalTabKeys$])}),D(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,E.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return $pa(new Set(b),new Set(c))}),Be(Kh)).subscribe(function(b){a.contentShownChanged.emit(b)}))};aS.prototype.ngOnInit=function(){};aS.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,Pc(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
aS.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var TNa=function(a){var b;return de(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();ie(c)})};
ch.Object.defineProperties(aS.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(Pc(a)))},get:function(){var a;return null!=(a=Sm(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(Pc(this.internalExpandedTabs))}}});aS.\u0275fac=function(){var a;return function(b){return(a||(a=pd(aS)))(b||aS)}}();
aS.\u0275cmp=Bc({type:aS,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&Rf(c,$R,5);if(a&2){var d;Pf(d=Sf())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[Ye],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&&(G(0,"div",0)(1,"div",1),Q(2,SNa,8,16,"button",2),S(3,"async"),H(),Q(4,UNa,3,6,"ng-container",3),S(5,"async"),H(),G(6,"div",4),Q(7,bOa,3,3,"ng-container",5),S(8,"async"),H(),Q(9,gOa,3,2,"ng-template",null,6,Vf));a&2&&(z(1),bf("aria-label",b.ariaLabel),z(1),F("ngForOf",T(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),z(2),F("ngIf",Ff(12,aCc,T(5,
8,b.allTabsExpanded$))),z(3),F("ngForOf",T(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[sw,tw,yw,JA,Yz,zw],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 kOa=function(){return[]},bS=function(a,b,c,d,e,g){jE.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=XBc;this.issueId$=new E.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(Oe(function(l){return h.issueFridge.watch(l)}),ue(ni));this.commentNumberToEventMap$=this.issueId$.pipe(Oe(function(l){return h.eventsForIssueFridge.watch(l)}),
D(function(l){var q;return null!=(q=null==l?void 0:l.events)?q:[]}),D(function(l){return new Map(l.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,E.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(D(function(l){l=k(l);var q=l.next().value,x=l.next().value,A;return(null==(A=q.relatedLinks)?void 0:A.map(function(B){return Object.assign({},B,{comment:x.get(B.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(D(function(l){return l.filter(tva)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(D(function(l){return nl(l,function(q){return wva(q.href)})}),D(function(l){return l.length}));this.shouldShowImages$=this.imageLinks$.pipe(D(function(l){return h.activeSession.isInternalSession()&&hE(h.activeSession,"enableImageSummary")&&bCc(h,l)}));this.issues$=this.relatedLinks$.pipe(D(function(l){return l.filter(xva)}));this.distinctIssuesCount$=this.issues$.pipe(D(function(l){return l.filter(function(q){return q.issueId!==h.issueId})}),D(function(l){return nl(l,
function(q){return q.issueId})}),D(function(l){return l.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(D(function(l){return hE(h.activeSession,"enableRelatedIssuesWidget")&&!!l}));this.otherLinks$=this.relatedLinks$.pipe(D(function(l){return l.filter(yva)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(D(function(l){return nl(l,function(q){return q.href})}),D(function(l){return l.length}));this.shouldShowLinks$=this.otherLinks$.pipe(D(function(l){return hE(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(l)}));this.tabKeys$=(0,E.combineLatest)([this.shouldShowImages$.pipe(D(function(l){return{show:l,key:"SW-images"}})),this.shouldShowIssues$.pipe(D(function(l){return{show:l,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(D(function(l){return{show:l,key:"SW-links"}}))]).pipe(D(function(l){return l.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(D(function(l){return!!l.length}),Ae(0,E.asapScheduler));
this.initiallyExpandedTabs=uOa.map(function(l){return $gc(h.userPreferencesManager,l)?void 0:l}).filter(ni);this.onTabExpanded$=new Vv;this.issueSummaryTracking=new YBc(this.issueInteractionsTracking,this.analytics)};U(bS,jE);bS.\u0275dir=jE.\u0275dir;
bS.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(ze(1E3),Oe(function(b){var c=b.expandedTabKeys;return Zgc(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())Fo(c.issueInteractionsTracking,
d,g.value+"-available");0<b.size&&Fo(c.issueInteractionsTracking,d,"SW-available")}))};bS.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var bCc=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 CI(a.userPreferencesManager).showInlineImages&&b?!1:!0};
ch.Object.defineProperties(bS.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Sm(this.issueId$)}}});bS.\u0275fac=function(a){return new (a||bS)(C(ds),C(BI),C(dJ),C(tH),C(oH),C(fF))};
bS.\u0275cmp=Bc({type:bS,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[Ye],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&&(G(0,"h3",
0),R(1,"Issue summary"),H(),Q(2,vOa,13,5,"expandable-tabs",1),S(3,"async"));a&2&&(z(2),F("ngIf",T(3,1,b.tabKeys$)))},dependencies:[tw,JA,$R,WR,YR,ZR,aS,PR,SR,UR,zw],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 COa=function(){return[]},HOa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!0}},XOa="QA"===jl().config.environmentType?82860:1298542,cS=function(a,b,c,d,e,g){jE.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=Bva;this.getEndDate=WOa;this.Number=Number;this.makeCritiqueUrl=Ava;this.makeScreenshotViewUrl=YOa;this.log=console.log.bind(console);this.TABLE_COLUMNS=
"focus-indicator drag-handle title assignee status id menu".split(" ");this.maybeIssueId$=new E.BehaviorSubject(void 0);this.issueId$=this.maybeIssueId$.pipe(ue(Boolean));this.issue$=this.issueId$.pipe(Oe(this.issueFridge.watchOne));this.projectData$=this.issueId$.pipe(Oe(function(l){return hbc(h.data,[l])}),Le({refCount:!0,bufferSize:1}));this.taskFlowLink$=this.issueId$.pipe(Oe(function(l){return h.getTaskFlowLink(l)}));this.projectActivityStream$=this.issueId$.pipe(Oe(function(l){return Lfc(h.projectActivity,
l)}));this.environmentType=this.activeSession.getEnvironmentType()};U(cS,jE);cS.\u0275dir=jE.\u0275dir;cS.prototype.isCollapsed=function(a){return!0===this.neverCollapse?!1:null==a?!0:this.addMode||this.prefs.collapsed["project-"+a]};
cS.prototype.getTaskFlowLink=function(a){var b=this;return Yrc(this.workspaceService,a).pipe(Oe(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,E.of)(d+"/"+c.workspaceId+"/work_item/b/"+c.issueId)}else c=(0,E.of)(void 0);return c}))};
ch.Object.defineProperties(cS.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}}});cS.\u0275fac=function(a){return new (a||cS)(C(ZH),C(tH),C(gF),C(uP),C(ds),C(bI))};
cS.\u0275cmp=Bc({type:cS,selectors:[["issue-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",issueId:"issueId"},features:[Ye],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&&(G(0,"div",0),Q(1,ROa,37,9,"ng-container",1),S(2,"async"),Q(3,UOa,3,2,"ng-template",null,2,Vf),H());if(a&2){var c=yf(4);mf("collapsed",b.isCollapsed(b.issueId))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode);z(1);F("ngIf",T(2,8,b.issue$))("ngIfElse",c)}},dependencies:[sw,tw,JA,cP,Yz,cK,zL,RB,
PB,QB,AL,MR,bS,vL,zw,Gw,Fw],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 VOa=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 dS=function(a,b,c,d){jE.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(D(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,E.combineLatest)([Qfc(this.projectSuggestService),Zec(this.issueRelationshipsFridge,
this.hackyPrefs.prefs.id,2)]).pipe(D(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)})}),Oe(this.issueFridge.watchSet));this.addProject=function(g){null!=g&&pn(e.hackyPrefs,g)}};U(dS,jE);dS.\u0275dir=jE.\u0275dir;dS.\u0275fac=function(a){return new (a||dS)(C(ZH),C(AH),C(tH),C(cI))};
dS.\u0275cmp=Bc({type:dS,selectors:[["suggested-issue-projects"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[Ye],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&&(Q(0,bPa,10,7,"ng-container",0),S(1,"async"),Q(2,cPa,3,0,"ng-template",null,1,Vf));if(a&2){var c=yf(3);F("ngIf",T(1,2,b.suggestedProjects$))("ngIfElse",c)}},dependencies:[sw,tw,JA,Yz,Zz,cS,zL,zw,Gw],styles:["[_nghost-%COMP%] { display: block; }"]});var eS=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)};eS.prototype.onEnter=function(){this.onConfirm()};eS.prototype.onEscape=function(){this.dialogRef.close()};
eS.prototype.onConfirm=function(){var a,b=null==(a=this.userSearchInput)?void 0:a.trim();if(null==b?0:b.match(/\d{3,}/))if(null==Fl(b))this.errorMsg="That doesn't look an issue, hotlist, or saved search";else{a:{a=Jva(b);if(null!=a)switch(Fl(b)){case "hotlist":b=Dl(a);break a;case "savedsearch":b=El(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)"};eS.prototype.onCancel=function(){this.dialogRef.close()};
eS.\u0275fac=function(a){return new (a||eS)(C(hA),C(jA),C(XI))};
eS.\u0275cmp=Bc({type:eS,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("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&&(G(0,"h2",0),R(1," Add a Project\n"),H(),G(2,"div",1)(3,"input",2),M("keydown.enter",function(){return b.onEnter()})("ngModelChange",function(c){return b.userSearchInput=c}),H(),Q(4,dPa,2,1,"p",3),G(5,"div",4)(6,"a",5),I(7,"mat-icon",6),H(),G(8,"p"),R(9,' Add "parent" tracking bugs using their ID. '),I(10,"br"),R(11,' Or, add hotlists and saved searches by URL or with syntax like "hotlist/123456" and "savedsearch-789012". '),H()(),Q(12,ePa,9,4,"aside",7),H(),G(13,"div",
8)(14,"button",9),M("click",function(){return b.onCancel()}),R(15," Cancel "),H(),G(16,"button",10),M("click",function(){return b.onConfirm()}),R(17," Confirm "),H()());a&2&&(z(3),F("ngModel",b.userSearchInput),z(1),F("ngIf",b.errorMsg),z(8),F("ngIf",null==b.userSearchInput||0===(null==b.userSearchInput?null:b.userSearchInput.length)),z(4),F("disabled",null==b.userSearchInput||0===b.userSearchInput.length))},dependencies:[tw,JA,Yz,Zz,mA,nA,oA,kg,Uw,$w,CL,dS],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 fS=function(a){this.dialog=a};fS.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){fA(c.dialog.open(eS,d)).subscribe(function(g){null==b||b(g);e(g)})})};fS.\u0275fac=function(a){return new (a||fS)(u(kA))};fS.\u0275prov=mc({token:fS,factory:fS.\u0275fac,providedIn:"root"});var gS=function(){};gS.\u0275fac=function(a){return new (a||gS)};gS.\u0275mod=Dc({type:gS});gS.\u0275inj=nc({imports:[wC,XC,BF]});var cCc=Fg("indicator",[Ig("active-asc, asc",Hg({transform:"translateY(0px)"})),Ig("active-desc, desc",Hg({transform:"translateY(10px)"})),Jg("active-asc <=> active-desc",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),dCc=Fg("leftPointer",[Ig("active-asc, asc",Hg({transform:"rotate(-45deg)"})),Ig("active-desc, desc",Hg({transform:"rotate(45deg)"})),Jg("active-asc <=> active-desc",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),eCc=Fg("rightPointer",[Ig("active-asc, asc",Hg({transform:"rotate(45deg)"})),Ig("active-desc, desc",
Hg({transform:"rotate(-45deg)"})),Jg("active-asc <=> active-desc",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),fCc=Fg("arrowOpacity",[Ig("desc-to-active, asc-to-active, active",Hg({opacity:1})),Ig("desc-to-hint, asc-to-hint, hint",Hg({opacity:.54})),Ig("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Hg({opacity:0})),Jg("* => asc, * => desc, * => active, * => hint, * => void",Gg("0ms")),Jg("* <=> *",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),gCc=Fg("arrowPosition",[Jg("* => desc-to-hint, * => desc-to-active",
Gg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Hg({transform:"translateY(-25%)"}),Hg({transform:"translateY(0)"})]})),Jg("* => hint-to-desc, * => active-to-desc",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Hg({transform:"translateY(0)"}),Hg({transform:"translateY(25%)"})]})),Jg("* => asc-to-hint, * => asc-to-active",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Hg({transform:"translateY(25%)"}),Hg({transform:"translateY(0)"})]})),Jg("* => hint-to-asc, * => active-to-asc",
Gg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Hg({transform:"translateY(0)"}),Hg({transform:"translateY(-25%)"})]})),Ig("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Hg({transform:"translateY(0)"})),Ig("hint-to-desc, active-to-desc, desc",Hg({transform:"translateY(-25%)"})),Ig("hint-to-asc, active-to-asc, asc",Hg({transform:"translateY(25%)"}))]),hCc=Fg("allowChildren",[Jg("* <=> *",[nna("@*",mna())])]);var hS=function(){this.changes=new E.Subject};hS.\u0275fac=function(a){return new (a||hS)};hS.\u0275prov=mc({token:hS,factory:hS.\u0275fac,providedIn:"root"});var iCc={provide:hS,deps:[[new ov,new pv,hS]],useFactory:function(a){return a||new hS}};var jCc=new Nc("MAT_SORT_DEFAULT_OPTIONS"),kCc=Coa(fh(function(){})),iS=function(a){var b=kCc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new E.Subject;b.start="asc";b._direction="";b.sortChange=new Vv;return b};U(iS,kCc);f=iS.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()};ch.Object.defineProperties(iS.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=tg(a)}}});iS.\u0275fac=function(a){return new (a||iS)(C(jCc,8))};
iS.\u0275dir=Gc({type:iS,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:[Ye,Uc]});var lCc=fh(function(){}),jS=function(a,b,c,d,e,g,h,l){var q=lCc.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};U(jS,lCc);f=jS.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)||LWb(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,E.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()})};ch.Object.defineProperties(jS.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=tg(a)}}});
jS.\u0275fac=function(a){return new (a||jS)(C(hS),C(mw),C(iS,8),C("MAT_SORT_HEADER_COLUMN_DEF",8),C(xx),C(rd),C(Fy,8),C(jCc,8))};
jS.\u0275cmp=Bc({type:jS,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(){return b._handleClick()})("keydown",function(c){return b._handleKeydown(c)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)});a&2&&(bf("aria-sort",b._getAriaSortAttribute()),mf("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:[Ye],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&&(tf(),G(0,"div",0)(1,"div",1),uf(2),H(),Q(3,fPa,6,6,"div",2),H());a&2&&(mf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),bf("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),z(3),F("ngIf",b._renderArrow()))},dependencies:[tw],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:[cCc,dCc,eCc,fCc,gCc,hCc]},changeDetection:0});var mCc="focus-indicator title type team id assignee status menu".split(" "),kS=function(a,b,c){jE.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.issueIds$=new E.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.internalFilters=new pJ;this.tableColumns=mCc.slice();this.activeSort$=new E.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(Zm(),D(function(e){return e.map(function(g){return{id:g,issue$:d.issueFridge.watch(g)}})}),Le({refCount:!0,bufferSize:1}));
this.allIssuesAreLoaded$=this.allRows$.pipe(Oe(function(e){return(0,E.combineLatest)(e.map(function(g){return g.issue$.pipe(Ne(null))}))}),D(function(e){return e.every(function(g){return null!==g})}));this.unarchivedRows$=this.allRows$.pipe(Bia(this.allIssuesAreLoaded$),D(function(e){e=k(e);var g=e.next().value;return e.next().value?g.filter(function(h){var l;return!(null==(l=xl(h))?0:l.isArchived)}):g}));this.sortRows=(0,E.pipe)(Bia(this.activeSort$,this.allIssuesAreLoaded$),D(function(e){e=k(e);
var g=e.next().value,h=e.next().value;return e.next().value?DPa(g,h):g}));this.filterRows=(0,E.pipe)(Bia(this.internalFilters.value$),Oe(function(e){e=k(e);var g=e.next().value,h=e.next().value;return 0===h.size?(0,E.of)(g):(0,E.combineLatest)(g.map(function(l){return l.issue$})).pipe(D(function(l){return g.filter(function(q,x){return!l[x]||GIa(l[x],h)})}))}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.sortRows);this.filteredRowCount$=(0,E.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(D(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return e.length-g.length}),Be());this.trackBy=function(e,g){return g.id};this.correctedDisplayedRows=new Tf};U(kS,jE);kS.\u0275dir=jE.\u0275dir;f=kS.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(Pc(this.menuItemFactory(a)))};f.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
f.ngAfterViewInit=function(){var a=this;(0,E.combineLatest)([this.rows$,this.displayedRows.changes.pipe(Ne(void 0))]).pipe(Pe(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);Of(a.correctedDisplayedRows)});this.focusManager=Ny(new Mmc(this.correctedDisplayedRows,CPa))};
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?En(this.domSafe,b):Pr(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):Sl(a)};
ch.Object.defineProperties(kS.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:[])}}});kS.\u0275fac=function(a){return new (a||kS)(C(tH),C(vG),C(ZJ))};
kS.\u0275cmp=Bc({type:kS,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&Qf(aM,5);if(a&2){var c;Pf(c=Sf())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[Ye],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&&(G(0,"table",0),M("matSortChange",
function(e){return b.onSortChange(e)}),S(1,"async"),S(2,"async"),J(3,1),Q(4,gPa,1,0,"th",2),Q(5,hPa,1,0,"td",3),L(),J(6,4),Q(7,iPa,2,0,"th",2),Q(8,jPa,2,1,"td",5),L(),J(9,6),Q(10,kPa,2,0,"th",2),Q(11,lPa,3,4,"td",5),L(),J(12,7),Q(13,mPa,2,0,"th",8),Q(14,nPa,3,3,"td",5),L(),J(15,9),Q(16,oPa,2,0,"th",10),Q(17,pPa,3,3,"td",5),L(),J(18,11),Q(19,qPa,2,0,"th",12),Q(20,rPa,3,3,"td",5),L(),J(21,13),Q(22,sPa,2,0,"th",14),Q(23,tPa,3,3,"td",5),L(),J(24,15),Q(25,uPa,2,0,"th",2),Q(26,vPa,3,3,"td",5),L(),J(27,
16),Q(28,wPa,2,0,"th",17),Q(29,xPa,3,3,"td",5),L(),J(30,18),Q(31,yPa,1,0,"th",2),Q(32,zPa,2,1,"td",5),L(),Q(33,APa,1,0,"tr",19),Q(34,BPa,1,1,"tr",20),H());if(a&2){var c,d;F("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=T(1,6,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=T(2,8,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");z(33);F("matHeaderRowDef",b.tableColumns);z(1);F("matRowDefColumns",b.tableColumns)}},dependencies:[iS,
jS,mL,eL,iL,fL,dL,jL,gL,hL,kL,lL,yK,kK,lK,UL,mK,nK,qK,wK,xK,zK,aM,zw],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 lS=function(){};lS.\u0275fac=function(a){return new (a||lS)};lS.\u0275mod=Dc({type:lS});lS.\u0275inj=nc({providers:[iCc],imports:[Hw,sz]});var mS=function(){};mS.\u0275fac=function(a){return new (a||mS)};mS.\u0275mod=Dc({type:mS});mS.\u0275inj=nc({imports:[Ey,uy,hy,BF,ox,wC,$B,lS,sN,xM,XC,px,BG,LR,aN,gS,cN,eO,eN,bM]});var nCc=["ASSIGNMENT","RESPONSE","CLOSURE"],oCc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),pCc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),hcb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var Si=function(a){r.call(this,a)};U(Si,r);Si.prototype.getComponentId=function(){return dj(this,1)};Si.prototype.setComponentId=function(a){return xb(this,1,a)};Si.prototype.getEffectiveSloEditPolicy=function(){return W(this,2,0)};Si.prototype.toObject=function(){return qCc(this)};var qCc=function(a){if(null!=a)return t(a),{componentId:dj(a,1),effectiveSloEditPolicy:W(a,2,0)}};var rCc=function(a){r.call(this,a,0,rCc.messageId)};U(rCc,r);rCc.prototype.toObject=function(){if(null!=this){t(this);var a={componentSloEditPolicy:qCc(Z(this,Si,1))}}else a=void 0;return a};rCc.messageId="b.GetComponentSloEditPolicyResponse";var nS=function(a){r.call(this,a,0,nS.messageId)};U(nS,r);nS.prototype.getTeamSloEditPolicy=function(){return Z(this,PD,1)};nS.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:k9b(this.getTeamSloEditPolicy())}}else a=void 0;return a};nS.messageId="b.GetTeamSloEditPolicyResponse";var oS=function(a){r.call(this,a,0,oS.messageId)};U(oS,r);oS.repeatedFields_=[1];oS.prototype.toObject=function(){if(null!=this){t(this);var a={slosList:Gb(Ch(this,$i,1),o9b)}}else a=void 0;return a};oS.messageId="b.SloSearchResponse";var pS=function(a){r.call(this,a,0,pS.messageId)};U(pS,r);pS.prototype.getTeamSloEditPolicy=function(){return Z(this,PD,1)};pS.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:k9b(this.getTeamSloEditPolicy())}}else a=void 0;return a};pS.messageId="b.UpdateTeamSloEditPolicyResponse";var qS=function(a,b){this.activeSession=a;this.executor=b};f=qS.prototype;f.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:$i}).pipe(D(Zi))};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:oS}).pipe(D(function(b){var c;return(null!=(c=Ch(b,$i,1))?c:[]).map(Zi)}))};
f.create=function(a){a=Nra(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:$i}).pipe(D(Zi))};f.update=function(a){var b=a.sloId;a=Nra(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:$i}).pipe(D(Zi))};qS.\u0275fac=function(a){return new (a||qS)(u(ds),u(ZC))};qS.\u0275prov=mc({token:qS,factory:qS.\u0275fac,providedIn:"root"});
var rS=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=rS.prototype;f.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,E.firstValueFrom)(this.observableSlosService.get(a)))};f.getOwnedSlos=function(){return(0,E.firstValueFrom)(this.observableSlosService.getOwnedSlos())};f.search=function(a){return(0,E.firstValueFrom)(this.observableSlosService.search(a))};
f.create=function(a){return(0,E.firstValueFrom)(this.observableSlosService.create(a))};f.update=function(a){return(0,E.firstValueFrom)(this.observableSlosService.update(a))};rS.\u0275fac=function(a){return new (a||rS)(u(MG),u(qS))};rS.\u0275prov=mc({token:rS,factory:rS.\u0275fac,providedIn:"root"});var sS=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.objectiveDisplayText=null;this.iconName="slo-status-no-data"};sS.prototype.getIconName=function(a){return sCc.has(a)?sCc.get(a):"slo-status-no-data"};
sS.prototype.setDisplayValues=function(a,b){this.iconName=this.getIconName(a);b=null!==b?Ckc(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:vh("unknown status type: "+a)}};
sS.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&bJ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=Ckc(1E3*c):this.objectiveDisplayText=null;c=this.sloBounds;bJ(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};sS.\u0275fac=function(a){return new (a||sS)(C(aJ),C(hK))};
sS.\u0275cmp=Bc({type:sS,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[Uc],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),G(1,"span",
1)(2,"span",2),R(3),H()());a&2&&(F("ngClass",b.iconName)("svgIcon",b.iconName),bf("aria-label","--"===b.timeDisplayText?"No SLO data":""),z(1),vf("matTooltip","",b.objectiveDisplayText," total"),F("matTooltipDisabled",!b.includeObjective||!b.objectiveDisplayText),z(2),Af(b.timeDisplayText))},dependencies:[rw,JA,ZB],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 sCc=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 tS=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};tS.prototype.ngOnInit=function(){tCc(this);this.hasSlo=!!this.sloStatus&&Uhc(this.sloStatus)};tS.prototype.ngOnChanges=function(){tCc(this)};var tCc=function(a){a.sloStatus&&(a.assignmentSlo=uCc(ki(a.sloStatus.assignmentBounds)),a.responseSlo=uCc(ki(a.sloStatus.responseBounds)),a.closureSlo=uCc(ki(a.sloStatus.closureBounds)))};tS.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var uCc=function(a){if(bJ(a))return a};tS.\u0275fac=function(a){return new (a||tS)(C(aJ))};
tS.\u0275cmp=Bc({type:tS,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[Uc],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&&(Q(0,EPa,2,4,"div",0),Q(1,FPa,2,4,"div",0),Q(2,GPa,2,4,"div",0));a&2&&(F("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),z(1),F("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),z(1),F("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[tw,sS],encapsulation:2,changeDetection:0});var uS=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};uS.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&Vhc(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),vCc(this)):this.editSloLink=null};uS.prototype.trackOpenSlo=function(){this.analytics.trackEvent(Gn.EDIT_SLO,"open","fromSloStatusCard")};
var vCc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};uS.\u0275fac=function(a){return new (a||uS)(C(aJ),C(DG),C(oH),C(rS))};
uS.\u0275cmp=Bc({type:uS,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&&(tf(),G(0,"span",0),uf(1),H(),G(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),Q(7,HPa,2,3,"div",5),Q(8,KPa,3,2,"div",6),Q(9,NPa,4,2,"span",7),H()()()());if(a&2){var c=yf(3);F("onedevHovercardTrigger",c);z(7);F("ngIf",b.hasSlo);z(1);F("ngIf",!b.hasSlo);z(1);F("ngIf",b.editSloLink)}},dependencies:[tw,xJ,CJ,tS],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 vS=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};vS.prototype.ngOnInit=function(){wCc(this)};vS.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&wCc(this)};var wCc=function(a){var b=Whc(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
vS.\u0275fac=function(a){return new (a||vS)(C(aJ))};
vS.\u0275cmp=Bc({type:vS,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[Uc],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&&F("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[sS],encapsulation:2,changeDetection:0});var wS=function(){};wS.\u0275fac=function(a){return new (a||wS)};wS.\u0275mod=Dc({type:wS});wS.\u0275inj=nc({imports:[BF,$B,XC]});var xS=function(){};xS.\u0275fac=function(a){return new (a||xS)};xS.\u0275mod=Dc({type:xS});xS.\u0275inj=nc({imports:[BF,wS]});var yS=function(){};yS.\u0275fac=function(a){return new (a||yS)};yS.\u0275mod=Dc({type:yS});yS.\u0275inj=nc({imports:[BF,JM,xS]});var zS=function(){};zS.\u0275fac=function(a){return new (a||zS)};zS.\u0275mod=Dc({type:zS});zS.\u0275inj=nc({imports:[BF,wS]});var xCc=function(a,b){this.dialogRef=b;this.supportedColumns=cmc;this.currentColumns=[];this.updatedColumns=this.currentColumns=a.currentColumns};xCc.\u0275fac=function(a){return new (a||xCc)(C(jA),C(hA))};
xCc.\u0275cmp=Bc({type:xCc,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&&(G(0,"h1",0),R(1,"Show or Hide Columns"),H(),G(2,"div",1)(3,"div"),Q(4,OPa,3,2,"div",2),S(5,"keyvalue"),H()(),
G(6,"div",3)(7,"button",4),M("click",function(){b.dialogRef.close(b.updatedColumns)}),R(8," Save "),H()());a&2&&(z(4),F("ngForOf",T(5,1,b.supportedColumns)))},dependencies:[sw,Yz,mA,nA,oA,BN,Ew],encapsulation:2});var aQa="QA"===jl().config.environmentType?82860:1298542,AS=function(a,b,c,d){var e=this;this.hackyPrefs=a;this.issueFridge=b;this.issueFrFridge=c;this.data=d;this.makePie=Bva;this.getEndDate=$Pa;this.Number=Number;this.makeCritiqueUrl=Ava;this.makeScreenshotViewUrl=bQa;this.log=console.log.bind(console);this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(Oe(this.issueFridge.watchOne));this.issueFr$=this.issueId$.pipe(Oe(this.issueFrFridge.watchOne));this.projectData$=this.issueId$.pipe(Oe(function(g){return hbc(e.data,
[g])}),Le({refCount:!0,bufferSize:1}))};ch.Object.defineProperties(AS.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});AS.\u0275fac=function(a){return new (a||AS)(C(ZH),C(tH),C(wH),C(gF))};
AS.\u0275cmp=Bc({type:AS,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&&(Q(0,YPa,17,14,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[sw,tw,cK,dI,zw,Gw],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 ZPa=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 yCc=new Nc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});new Nc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});var zCc=0,ACc=gh(dh(eh(fh(function(a){this._elementRef=a})))),BS=function(a,b,c,d,e,g,h){a=ACc.call(this,a)||this;a._focusMonitor=b;a._changeDetectorRef=c;a.defaults=e;a._onChange=function(){};a._onTouched=function(){};a._required=!1;a._checked=!1;a.name=null;a.labelPosition="after";a.ariaLabel=null;a.ariaLabelledby=null;a.change=new Vv;a.toggleChange=new Vv;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===g;a.id=a._uniqueId=h+ ++zCc;return a};
U(BS,ACc);f=BS.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))};
ch.Object.defineProperties(BS.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=tg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=tg(a);this._changeDetectorRef.markForCheck()}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});BS.\u0275fac=function(){vd()};
BS.\u0275dir=Gc({type:BS,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[Ye]});var CS=function(){};CS.\u0275fac=function(a){return new (a||CS)};CS.\u0275mod=Dc({type:CS});CS.\u0275inj=nc({});var BCc=["input"],CCc=function(a){return{enterDuration:a}},DCc={provide:Jw,useExisting:sc(function(){return DS}),multi:!0},ECc=function(a,b){this.source=a;this.checked=b},DS=function(a,b,c,d,e,g){return BS.call(this,a,b,c,d,e,g,"mat-slide-toggle-")||this};U(DS,BS);DS.\u0275dir=BS.\u0275dir;f=DS.prototype;f._createChangeEvent=function(a){return new ECc(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?yx(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
DS.\u0275fac=function(a){return new (a||DS)(C(rd),C(xx),C(mw),kd("tabindex"),C(yCc),C(tv,8))};
DS.\u0275cmp=Bc({type:DS,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&Qf(BCc,5);if(a&2){var c;Pf(c=Sf())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(sf("id",b.id),bf("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),mf("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:[Cf([DCc]),Ye],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&&(tf(),G(0,"label",0,1)(2,"span",2)(3,"input",3,4),M("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),H(),G(5,"span",5),I(6,"span",6),G(7,"span",
7),I(8,"span",8),H()()(),G(9,"span",9,10),M("cdkObserveContent",function(){return b._onLabelTextChange()}),G(11,"span",11),R(12,"\u00a0"),H(),uf(13),H()());if(a&2){var c=yf(1),d=yf(10);bf("for",b.inputId);z(2);mf("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());z(1);F("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);bf("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",
b.ariaDescribedby);z(4);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ff(18,CCc,b._noopAnimations?0:150))}},dependencies:[zz,By],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 ES=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=vbc.slice();this.myWorkIssueIds$=(0,E.of)([])};
ES.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$=FCc(this,this.isAssignedToMeOnly).pipe(D(function(a){return a.map(function(b){return b.issueId})}))};ES.prototype.isCollapsed=function(){return this.prefs.collapsed[this.selfReference]};ES.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed(this.selfReference)};
var cQa=function(a,b){cp(a.hackyPrefs,{showAssignedToMeOnly:b});a.myWorkIssueIds$=FCc(a,b).pipe(D(function(c){return c.map(function(d){return d.issueId})}))},FCc=function(a,b){return b?qfc(a.queryIssues):pfc(a.queryIssues)},GCc=function(a){var b=Il(),c=Gl()!==Hl?"(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};ch.Object.defineProperties(ES.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});ES.\u0275fac=function(a){return new (a||ES)(C(RH),C(ZH))};
ES.\u0275cmp=Bc({type:ES,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&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()(),G(7,"span",6),R(8),H()(),G(9,"div",7),Q(10,dQa,2,1,"mat-slide-toggle",8),G(11,"button",9),I(12,"mat-icon",10),H(),G(13,"mat-menu",null,11)(15,"button",12),M("click",function(){return Go(b.hackyPrefs,b.selfReference,-1)}),I(16,"mat-icon",13),G(17,"span",14),R(18,"Move up"),H()(),G(19,"button",12),M("click",function(){return Go(b.hackyPrefs,
b.selfReference,1)}),I(20,"mat-icon",15),G(21,"span",14),R(22,"Move down"),H()(),I(23,"mat-divider"),G(24,"button",16),M("click",function(){return Ho(b.hackyPrefs,b.selfReference)}),I(25,"mat-icon",17),G(26,"span",14),R(27,"Remove"),H()()()()(),G(28,"div",18),Q(29,eQa,2,3,"ng-container",19),S(30,"slice"),S(31,"async"),G(32,"div",20)(33,"a",21),R(34,"View all issues"),H()(),Q(35,fQa,1,0,"ng-template",null,22,Vf),H()());if(a&2){var c=yf(14),d=yf(36);mf("collapsed",b.isCollapsed());z(4);zf(" ",b.isAssignedToMeOnly?
"Assigned to me":"My related issues"," ");z(1);bf("aria-label",b.isCollapsed()?"Expand card":"Collapse card");z(3);zf(" ",b.isAssignedToMeOnly?"assigned and modified in last 30 days":"assigned, starred, commented, reported"," ");z(2);F("ngIf",!b.hideAssignedSetting);z(1);F("matMenuTriggerFor",c);z(4);F("disabled",!Io(b.hackyPrefs,b.selfReference,-1));z(4);F("disabled",!Io(b.hackyPrefs,b.selfReference,1));z(10);F("ngIf",Jf(30,12,T(31,16,b.myWorkIssueIds$),0,15))("ngIfElse",d);z(4);F("href",GCc(b),
Id)}},dependencies:[tw,JA,Yz,nL,zL,RB,PB,QB,AL,DS,Uw,$w,zw,Gw],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 FS=function(a){r.call(this,a,0,FS.messageId)};U(FS,r);FS.prototype.getSearch=function(){return Z(this,Dm,1)};FS.prototype.setSearch=function(a){Wi(this,Dm,1,a)};FS.prototype.toObject=function(){if(null!=this){t(this);var a={search:dec(this.getSearch())}}else a=void 0;return a};FS.messageId="b.SearchResponse";var GS=function(a){this.jspbExecutor=a};GS.prototype.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:FS}).pipe(D(gQa))};GS.prototype.create=function(a,b){var c=new Dm;c.setName(a);c.setQuery(b);return this.jspbExecutor.post({url:"action/saved_searches",body:c,responseConstructor:FS}).pipe(D(gQa))};
GS.prototype.update=function(a,b){var c=new Dm;n(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(iya));var e;c.setDisplayColumnList((null!=(e=b.displayColumn)?e:[]).map(gya));var g;c.setAdminUsersList((null!=(g=b.adminUsers)?g:[]).map(fi));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:FS}).pipe(D(gQa))};
GS.prototype.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};GS.\u0275fac=function(a){return new (a||GS)(u(ZC))};GS.\u0275prov=mc({token:GS,factory:GS.\u0275fac,providedIn:"root"});var HS=function(a){this.observableResources=a};HS.prototype.get=function(a){return(0,E.firstValueFrom)(this.observableResources.get(a))};HS.prototype.create=function(a,b){return(0,E.firstValueFrom)(this.observableResources.create(a,b))};
HS.prototype.update=function(a,b){return(0,E.firstValueFrom)(this.observableResources.update(a,b))};HS.prototype.delete=function(a){return(0,E.firstValueFrom)(this.observableResources.delete(a))};HS.\u0275fac=function(a){return new (a||HS)(u(GS))};HS.\u0275prov=mc({token:HS,factory:HS.\u0275fac,providedIn:"root"});var lQa=function(){return[]},IS=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=Ava;this.savedSearchId$=new E.ReplaySubject(1);this.savedSearchIssueIds$=this.savedSearchId$.pipe(Oe(function(h){return g.issueFridge.watchMany({filter:"savedsearchid:"+h+" status:open",pageSize:100,sort:"modified_time:desc"})}),D(function(h){return h.results}),D(function(h){return h.map(function(l){return l.issueId})}));
this.savedSearchMetadata$=this.savedSearchId$.pipe(Oe(function(h){return g.savedSearchesApi.get(h)}));this.savedSearchActivityEvents$=this.savedSearchId$.pipe(Oe(function(h){return Nfc(g.projectActivity,h)}));this.savedSearchAggregatedData$=this.savedSearchIssueIds$.pipe(Oe(function(h){return mbc(g.data,[].concat(Pc(h)))}),Le({refCount:!0,bufferSize:1}));this.columnsToDisplay="title assignee priority status id menu".split(" ")};
IS.prototype.isCollapsed=function(a){a=a.searchId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["savedsearch-"+a]};IS.prototype.reorder=function(a,b){Go(this.hackyPrefs,El(a),b)};IS.prototype.canMove=function(a,b){return Io(this.hackyPrefs,El(a),b)};ch.Object.defineProperties(IS.prototype,{savedSearchId:{configurable:!0,enumerable:!0,set:function(a){this.savedSearchId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
IS.\u0275fac=function(a){return new (a||IS)(C(tH),C(GS),C(gF),C(ZH),C(bI))};
IS.\u0275cmp=Bc({type:IS,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&&(Q(0,vQa,35,13,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.savedSearchMetadata$))},dependencies:[sw,tw,JA,Yz,cK,nL,zL,RB,PB,QB,AL,vL,zw,Gw],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 JS=function(){};JS.\u0275fac=function(a){return new (a||JS)};JS.\u0275mod=Dc({type:JS});JS.\u0275inj=nc({imports:[BF,zO,JM,IM]});var KS=function(){};KS.\u0275fac=function(a){return new (a||KS)};KS.\u0275mod=Dc({type:KS});KS.\u0275inj=nc({imports:[BF]});var LS=function(){};LS.\u0275fac=function(a){return new (a||LS)};LS.\u0275mod=Dc({type:LS});LS.\u0275inj=nc({imports:[sz,sz]});new Nc("ListOption");new Nc("MAT_LIST_CONFIG");new Nc("SelectionList");new Nc("MatList");new Nc("MatNavList");fh(eh(function(){}));eh(function(){});var HCc=function(){};HCc.\u0275fac=function(a){return new (a||HCc)};HCc.\u0275dir=Gc({type:HCc,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var ICc=function(){};ICc.\u0275fac=function(a){return new (a||ICc)};ICc.\u0275dir=Gc({type:ICc,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var JCc=["text"],KCc=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],LCc=eh(function(){}),MCc=eh(function(){}),NCc={provide:Jw,useExisting:sc(function(){return MS}),multi:!0},OCc=function(a,b){this.source=a;this.options=b},NS=function(a,b,c){var d=MCc.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new Vv;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
U(NS,MCc);f=NS.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(){Eoa(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()};
ch.Object.defineProperties(NS.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=tg(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=tg(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});NS.\u0275fac=function(a){return new (a||NS)(C(rd),C(mw),C(sc(function(){return MS})))};
NS.\u0275cmp=Bc({type:NS,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(Rf(c,HCc,5),Rf(c,ICc,5),Rf(c,CXb,5));if(a&2){var d;Pf(d=Sf())&&(b._avatar=d.first);Pf(d=Sf())&&(b._icon=d.first);Pf(d=Sf())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&Qf(JCc,5);if(a&2){var c;Pf(c=Sf())&&(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&&M("focus",function(){return b._handleFocus()})("blur",
function(){return b._handleBlur()})("click",function(){return b._handleClick()});a&2&&(bf("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1),mf("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:[Ye],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&&(tf(KCc),
G(0,"div",0),I(1,"div",1),Q(2,wQa,1,2,"mat-pseudo-checkbox",2),G(3,"div",3,4),uf(5),H(),uf(6,1),H());a&2&&(mf("mat-list-item-content-reverse","after"==b.checkboxPosition),z(1),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),z(1),F("ngIf",b.selectionList.multiple))},dependencies:[zz,Az,tw],encapsulation:2,changeDetection:0});
var MS=function(a,b,c){var d=LCc.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new Vv;d.color="accent";d.compareWith=function(e,g){return e===g};d._disabled=!1;d.selectedOptions=new Zy(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new E.Subject;d._onTouched=function(){};return d};U(MS,LCc);f=MS.prototype;
f.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=QWb(PWb(Ny(RWb(Ky(new Qy(this.options)))),function(){return!1}));this._value&&this._setOptionsFromValues(this._value);this._keyManager.tabOut.subscribe(function(){return a._allowFocusEscape()});this.options.changes.pipe(Ne(null),Pe(this._destroyed)).subscribe(function(){a._updateTabIndex()});this.selectedOptions.changed.pipe(Pe(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(Pe(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){Oy(this._keyManager,a)};
f._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?Oy(this._keyManager,a-1):0===a&&1<this.options.length&&Oy(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=xg(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!xg(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 OCc(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};
ch.Object.defineProperties(MS.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=tg(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=tg(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Zy(this._multiple,this.selectedOptions.selected))}}});MS.\u0275fac=function(a){return new (a||MS)(C(rd),C(mw),C(xx))};
MS.\u0275cmp=Bc({type:MS,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&Rf(c,NS,5);if(a&2){var d;Pf(d=Sf())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._keydown(c)});a&2&&bf("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:[Cf([NCc]),Ye,Uc],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(tf(),uf(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 OS=function(){};OS.\u0275fac=function(a){return new (a||OS)};OS.\u0275mod=Dc({type:OS});OS.\u0275inj=nc({imports:[yz,Cz,sz,Dz,Hw,yz,sz,Dz,LS]});var PS=function(){};PS.\u0275fac=function(a){return new (a||PS)};PS.\u0275mod=Dc({type:PS});PS.\u0275inj=nc({imports:[BF,SB,wC,pA,LS,yA,OS,XC,sN,$B,gN,fO,ox,rO]});var QS=function(){};QS.\u0275fac=function(a){return new (a||QS)};QS.\u0275mod=Dc({type:QS});QS.\u0275inj=nc({imports:[BF,LR,KS,bN,wC,$B,XC,PS,rO]});var RS=function(){};RS.\u0275fac=function(a){return new (a||RS)};RS.\u0275mod=Dc({type:RS});RS.\u0275inj=nc({imports:[LR,QS,kO,BF,IM,JM,ZN,wC,$B,XC,PS,$M,eN,zO]});var SS=function(){this.admins=[]};SS.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=$h(this.hotlist.adminUsers)};SS.\u0275fac=function(a){return new (a||SS)};
SS.\u0275cmp=Bc({type:SS,selectors:[["b-hotlist-card"]],inputs:{hotlist:"hotlist"},decls:14,vars:6,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hotlist-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),H()(),G(6,"ul")(7,"li"),R(8),H(),G(9,"li"),R(10),H()(),G(11,"div")(12,"p"),R(13),H()()()()());a&2&&(z(4),F("href",b.url,Id),z(1),Af(b.hotlist.name),z(3),zf("ID: ",b.hotlist.hotlistId,""),z(2),Bf("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Af(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 PCc={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"},QCc=new Nc("routes",{providedIn:"root",factory:function(){return PCc}}),TS=function(a){this.routes=a};f=TS.prototype;f.createIssue=function(a){return Jo(this.routes.CREATE_ISSUE,{params:a})};f.editIssue=function(a,b){return Ko(this.routes.EDIT_ISSUE(a),{id:a,params:b})};f.listIssues=function(a){return Jo(this.routes.LIST_ISSUES,{params:a})};f.viewSavedSearch=function(a){return Ko(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
f.viewHotlist=function(a){return Ko(this.routes.VIEW_HOTLIST(a),{id:a})};f.editHotlist=function(a){return Jo(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 Ko(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};f.editBookmarkGroup=function(a){return Jo(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
f.editSavedSearch=function(a){return Jo(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};f.dashboard=function(a){return Jo(this.routes.DASHBOARD(a),{id:a})};f.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=xQa(c);return sB("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=xQa(c))&&(c="position,"+c);return sB(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 Jo(this.routes.LIST_COMPONENTS,{params:void 0})};f.viewComponent=function(a,b){return Ko(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};f.manageComponent=function(a,b){return Ko(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
f.createComponent=function(a){return Jo(this.routes.CREATE_COMPONENT,{params:a})};f.editComponent=function(a,b){return Jo(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};f.createSlo=function(){return Jo(this.routes.CREATE_SLO,{params:void 0})};f.editSlo=function(a){return Jo(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};f.listSlos=function(){return Jo(this.routes.LIST_SLOS,{params:void 0})};f.listHotlists=function(){return this.routes.LIST_HOTLISTS};TS.\u0275fac=function(a){return new (a||TS)(u(QCc))};
TS.\u0275prov=mc({token:TS,factory:TS.\u0275fac,providedIn:"root"});var US=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new Vv};US.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};US.\u0275fac=function(a){return new (a||US)(C(TS))};
US.\u0275cmp=Bc({type:US,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&&Q(0,zQa,9,11,"ng-container",0);a&2&&F("ngIf",b.hotlist)},dependencies:[tw,JA,xJ,CJ,SS,Yz],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 VS=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new E.ReplaySubject(1);this.removeHotlist=new Vv;this.removable=!0;this.hotlist$=this.id$.pipe(Oe(this.hotlists.watch));this.isDisabled$=(0,E.combineLatest)([this.id$,this.id$.pipe(Oe(this.hotlists.isSaving$))]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
VS.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(Oe(function(b){return yF(a.userAccess,"appender","hotlists/"+b)})):(0,E.of)(this.removable)};ch.Object.defineProperties(VS.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});VS.\u0275fac=function(a){return new (a||VS)(C($G),C(xF))};
VS.\u0275cmp=Bc({type:VS,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&&(G(0,"b-hotlist-chip",0),M("removeHotlist",function(){null==b.idInternal?vh("Missing id"):b.removeHotlist.emit()}),S(1,"async"),S(2,"async"),S(3,"async"),H());if(a&2){var c;F("hotlist",T(1,3,b.hotlist$))("disabled",!0===T(2,5,b.isDisabled$))("removable",null!==
(c=T(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[US,zw],encapsulation:2,changeDetection:0});var WS=function(a,b,c,d){jE.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(D(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),Ne(""))};U(WS,jE);WS.\u0275dir=jE.\u0275dir;
WS.prototype.onClick=function(){var a=this,b;return de(function(c){if(1==c.nextAddress)return a.isSaving?c.return():c.yield((0,E.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);ie(c)})};
WS.prototype.save=function(a){var b=this;this.analytics.trackEvent(Gn.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,E.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){MF(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(Pe(this.destroyed$)).subscribe()};
WS.\u0275fac=function(a){return new (a||WS)(C(BI),C(mw),C(oH),C(KF))};
WS.\u0275cmp=Bc({type:WS,selectors:[["smart-full-history-btn"]],features:[Ye],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&&(G(0,"button",0),M("click",function(){return b.onClick()}),S(1,"async"),S(2,"async"),S(3,"async"),S(4,"async"),Q(5,AQa,1,0,"mat-icon",1),Q(6,BQa,1,0,"b-spinner",2),H());a&2&&(mf("on",T(1,8,b.on$)),F("matTooltip",
T(2,10,b.tooltip$))("disabled",b.isSaving),bf("aria-pressed",T(3,12,b.on$))("aria-label",T(4,14,b.tooltip$)),z(5),F("ngIf",!b.isSaving),z(1),F("ngIf",b.isSaving))},dependencies:[tw,JA,Yz,ZB,zL,zw],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 XS=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 Vv;this.isAnonymous=this.activeSession.isAnonymous()};f=XS.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};XS.\u0275fac=function(a){return new (a||XS)(C(ds),C(kH))};
XS.\u0275cmp=Bc({type:XS,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[Cf([kH])],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=v();G(0,"div",
0,1)(2,"button",2);M("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){w(c);var d=yf(1);return y(d.show())})("blur",function(){w(c);var d=yf(1);return y(d.hide())});I(3,"mat-icon",3);H()()}a&2&&(F("matTooltip",b.getLabel()),z(2),mf("starred",b.starred),F("disabled",b.isDisabled()),bf("aria-label",b.getAriaLabel())("aria-checked",b.starred),z(1),F("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[JA,Yz,ZB],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 YS=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new Vv;this.currentUserEmail=this.activeSession.getUserEmail()};YS.prototype.ngOnInit=function(){};YS.prototype.isDirectAdmin=function(a){return a?$h(a.adminUsers).includes(this.currentUserEmail):!1};YS.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};YS.\u0275fac=function(a){return new (a||YS)(C(DG),C(ds))};
YS.\u0275cmp=Bc({type:YS,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&&Q(0,EQa,9,4,"div",0);a&2&&F("ngIf",b.hotlist)},dependencies:[tw,JA,xG,XS,ZB,zw],encapsulation:2,changeDetection:0});var RCc=function(){this.tokens=new Map};RCc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};RCc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new SCc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var SCc=function(a){this.sortedEntries=a};
SCc.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};SCc.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 TCc=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(Pc(a.search(b[d]))).filter(function(g){return c.has(g)});c=new Set(e)}return c};var UCc=function(a){this.hotlists=a;var b=new RCc,c=new RCc;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())?YAa(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())?YAa(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]}))};
UCc.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;(jqa(a)&&String(h).includes(a)||(null==(l=g)?0:l.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}c=YAa(a);d=k(TCc(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=k(TCc(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return VCc(this,b)};var VCc=function(a,b){return[].concat(Pc(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var ZS=function(){this.innerHeight$=(0,E.concat)((0,E.defer)(function(){return(0,E.of)(window.innerHeight)}),(0,E.fromEvent)(window,"resize").pipe(D(function(){return window.innerHeight})))};ZS.\u0275fac=function(a){return new (a||ZS)};ZS.\u0275prov=mc({token:ZS,factory:ZS.\u0275fac,providedIn:"root"});var $S=function(a,b,c,d,e,g,h,l,q,x,A,B){jE.call(this);var K=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.activeSession=q;this.userApi=x;this.windowHeight=A;this.permissionsFridge=B;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new E.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(ze(100),Ne(""));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 Xw({name:new Zw("",TTb),description:new Zw("")});this.currentUserEmail=this.activeSession.getUserEmail();this.starredHotlists=new pJ;this.isSavingStar=new pJ;this.userHotlists$=iec(this.hotlistFridge);this.issueHotlists$=
this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=D(function(O){var P=K.permissionsFridge.watchSet(O.map(function(Y){return"hotlists/"+Y.hotlistId}));return O.map(function(Y,X){return Object.assign({},Y,{permissions$:P.pipe(D(function(ka){return ka[X]}))})})});this.hotlists$=(0,E.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(D(function(O){var P=k(O);O=P.next().value;P=P.next().value;return[].concat(Pc(O),Pc(P))}),D(Dua(function(O){return O.hotlistId})),
D(function(O){return O.filter(ni)}),D(function(O){return O.sort(VQa)}),D(function(O){return O.sort(function(P,Y){var X=K.selectedHotlistIds;P=X.has(P.hotlistId);Y=X.has(Y.hotlistId);return P&&Y?0:P?-1:Y?1:0})}),this.combineHotlistsWithPermissions,Le({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(D(function(O){return new UCc(O)}),Le({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new E.Subject;this.matchedHotlists$=(0,E.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,
this.hotlists$]).pipe(D(function(O){var P=k(O);O=P.next().value;var Y=P.next().value;P=P.next().value;return""!==O.trim()?Y.search(O):P}),Le({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,E.combineLatest)([this.matchedHotlists$,(0,E.merge)(this.matchedHotlists$.pipe(D(function(){return!1})),this.forceShowOverflow$)]).pipe(D(function(O){var P=k(O);O=P.next().value;P=P.next().value;return 200<O.length&&!P?O.slice(0,200):O}),Le({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,E.combineLatest)([this.matchedHotlists$,
this.visibleHotlists$]).pipe(D(function(O){var P=k(O);O=P.next().value;P=P.next().value;return O.length!==P.length}));this.showLoadById$=this.query$.pipe(D(function(O){O=O.trim();return!K.allHotlistIds.has(Number(O))&&jqa(O)}));this.showCreateNew$=(0,E.combineLatest)([this.query$,this.matchedHotlists$]).pipe(D(function(O){var P=k(O);O=P.next().value;P=P.next().value;return WQa(O,P)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(D(function(O){return Math.max(1,Math.floor(.5*
O/24))}),Be());this.compactNumberOfHotlistsToShow$.pipe(D(function(O){return 24*O}));this.subscriptions.add(this.hotlists$.subscribe(function(O){K.hotlists=O;O=k(O);for(var P=O.next();!P.done;P=O.next())K.allHotlistIds.add(P.value.hotlistId)}))};U($S,jE);$S.\u0275dir=jE.\u0275dir;$S.prototype.ngOnInit=function(){var a=this;WCc(this);this.query$.pipe(Pe(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
$S.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=Zpa(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(XQa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var No=function(a){a.dialogRef.close(a.selectedHotlistIds)},KQa=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},XCc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},JQa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=KQa(a),c=XCc(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)})},WCc=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)})};
$S.prototype.toggleStar=function(a){var b=this,c,d,e;return de(function(g){switch(g.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a,userLogin:b.currentUserEmail};ee(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:fe(g);b.isSavingStar.delete(a);ge(g,4);break;case 2:e=he(g);QF(b.errorHandler,e);g.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
WCc(b),ie(g)}})};var NQa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);No(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};$S.prototype.trackByHotlistId=function(a,b){return b.hotlistId};$S.\u0275fac=function(a){return new (a||$S)(C(hA),C(jA),C(DG),C($G),C(OG),C(IF),C(SF),C(OF),C(ds),C(WG),C(ZS),C(BH))};
$S.\u0275cmp=Bc({type:$S,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return No(b)})("keydown.shift.enter",function(){return No(b)})("keydown.control.enter",function(){return No(b)})},features:[Ye],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&&(Q(0,GQa,2,1,"ng-container",
0),G(1,"mat-dialog-actions")(2,"button",1),M("click",function(){b.dialogRef.close()}),R(3," Cancel "),H(),Q(4,IQa,2,1,"ng-container",0),H(),Q(5,LQa,2,1,"ng-template",null,2,Vf),Q(7,MQa,2,5,"ng-template",null,3,Vf),Q(9,TQa,15,9,"ng-template",null,4,Vf),Q(11,UQa,14,1,"ng-template",null,5,Vf));if(a&2){var c=yf(8),d=yf(10);F("ngIf",b.showCreateNewPane)("ngIfElse",d);z(4);F("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[sw,tw,yw,JA,lA,mA,nA,oA,Yz,MS,NS,ax,kg,Uw,Vw,kx,gx,hx,ZB,YS,zw],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 aT=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},ZCc=function(a,b){var c,d,e,g,h,l,q,x;return de(function(A){switch(A.nextAddress){case 1:return A.yield((0,E.firstValueFrom)(b),2);case 2:return c=A.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?A.yield(YCc(a,e),3):A.return();case 3:g=A.yieldResult;if(null==g)return A.return();h=g.added.map(String);l=g.removed.map(String);q=String(c.issueId);ee(A,4,5);return A.yield(Rec(a.issueFridge,
q,h,l),5);case 5:fe(A);a.eventsForIssueFridge.poke(q);ge(A,0);break;case 4:x=he(A),QF(a.errorHandler,x),A.jumpTo(5)}})},YCc=function(a,b){var c,d,e,g;return de(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open($S,c),h.yield((0,E.firstValueFrom)(fA(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());g=Zpa(new Set(b),new Set(e));return h.return(Promise.resolve(g))})};
aT.\u0275fac=function(a){return new (a||aT)(u(kA),u(tH),u(fF),u(OF))};aT.\u0275prov=mc({token:aT,factory:aT.\u0275fac,providedIn:"root"});var bT=function(a,b,c,d,e,g,h){jE.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_TEXT=Gac;this.STATUS_JS_FULL_TEXT=ll;this.STATUS_JS_TERSE=Cac;this.DUPLICATE="DUPLICATE";this.id$=new E.ReplaySubject(1);this.issue$=this.id$.pipe(Oe(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(D(gRa));this.textOfHotlistBtn$=this.hotlistIds$.pipe(D(function(q){var x;
return null!=(x=null==q?void 0:q.length)?x:0}),D(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].type}),D(function(q){return Zra[q]}));this.canonicalId$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(D(function(q){return Dac[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(D(function(q){return l.computeStatusCssClass(q)}));this.HOTKEYS=ML;this.enableCommentFilters=hE(this.activeSession,"enableCommentFiltering")};U(bT,jE);bT.\u0275dir=jE.\u0275dir;bT.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+gj[a]};
var cRa=function(a){return de(function(b){return b.yield(ZCc(a.hotlistPickerService,a.issue$),0)})},aRa=function(a,b){var c,d;return de(function(e){switch(e.nextAddress){case 1:return e.yield((0,E.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;Zhc(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});ee(e,3,4);var g=e.yield;var h=Rec(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:fe(e);a.eventsForIssueFridge.poke(c);
ge(e,0);break;case 3:d=he(e),QF(a.errorHandler,d),e.jumpTo(4)}})};ch.Object.defineProperties(bT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});bT.\u0275fac=function(a){return new (a||bT)(C(tH),C(fF),C(aT),C(dJ),C(OF),C(Dy),C(ds))};
bT.\u0275cmp=Bc({type:bT,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[Ye],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&&(G(0,"div",0)(1,"div",1),Q(2,ZQa,6,10,"div",2),S(3,"async"),Q(4,$Qa,2,4,"span",3),S(5,"async"),I(6,"b-issue-priority-display",4),S(7,"async"),H(),Q(8,dRa,6,5,"div",5),S(9,"async"),Q(10,eRa,2,0,"div",6),H(),G(11,"onedev-hovercard",null,7),Q(13,fRa,3,4,"b-issue-card",8),H());a&2&&(z(2),F("ngIf",T(3,5,b.statusForChip$)),z(2),F("ngIf",T(5,7,b.type$)),z(2),F("issuePriority",T(7,9,b.priority$)),z(2),F("ngIf",T(9,11,b.hotlistIds$)),z(2),F("ngIf",!b.enableCommentFilters))},dependencies:[sw,
tw,JA,LL,VS,xJ,yJ,CJ,zJ,vO,dI,Yz,ZB,xG,WS,zw],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 cT=function(){};cT.\u0275fac=function(a){return new (a||cT)};cT.\u0275mod=Dc({type:cT});cT.\u0275inj=nc({imports:[BF]});var dT=function(){};dT.\u0275fac=function(a){return new (a||dT)};dT.\u0275mod=Dc({type:dT});dT.\u0275inj=nc({imports:[BF,JM,cT,$B,wC]});var eT=function(){};eT.\u0275fac=function(a){return new (a||eT)};eT.\u0275mod=Dc({type:eT});eT.\u0275inj=nc({imports:[BF,bN,wC,$B,XC]});var fT=function(){};fT.\u0275fac=function(a){return new (a||fT)};fT.\u0275mod=Dc({type:fT});fT.\u0275inj=nc({imports:[BF,LS,$B,pA,BG,fO,wC,OS,HF,ox,px,eT,XC,ez]});var $Cc=["issueTitleEl"],aDc=["issueTitleInputEl"],jRa=function(a){return{"width.px":a}},gT=function(){this.disabled=!1;this.updateTitle=new Vv;this.isEditMode=!1;this.editModeWidth=0};gT.prototype.ngDoCheck=function(){bDc(this)};
var lRa=function(a){a.isEditMode=!a.isEditMode;a.isEditMode&&setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0)},cDc=function(a,b){a.isEditMode=!1;bDc(a);if(b)a.updateTitle.emit(b.trim());else{var c;b=null==(c=a.issueTitleEl)?void 0:c.nativeElement.textContent;a.updateTitle.emit(b.trim())}},iRa=function(a,b){if(b)"Enter"===b.key?cDc(a,b.target.value):("Escape"===b.key||"Esc"===b.key)&&lRa(a);else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;cDc(a,b)}},
bDc=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};ch.Object.defineProperties(gT.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=XAa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});gT.\u0275fac=function(a){return new (a||gT)};
gT.\u0275cmp=Bc({type:gT,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(Qf($Cc,5),Qf(aDc,5));if(a&2){var c;Pf(c=Sf())&&(b.issueTitleEl=c.first);Pf(c=Sf())&&(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&&(Q(0,hRa,3,2,"h3",0),Q(1,kRa,3,4,"mat-form-field",1),Q(2,mRa,2,1,"button",2));a&2&&(F("ngIf",!b.isEditMode),z(1),F("ngIf",b.isEditMode),z(1),
F("ngIf",b.hasAclToEdit))},dependencies:[tw,xw,JA,Yz,ZB,xA,AA],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 hT=function(){};hT.\u0275fac=function(a){return new (a||hT)};hT.\u0275mod=Dc({type:hT});hT.\u0275inj=nc({imports:[BF,wC,$B,XC,yA,BA]});var dDc=function(a){return{isDupe:a}},iT=function(a,b,c,d,e){jE.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 E.ReplaySubject(1);this.issue$=this.issueId$.pipe(Oe(function(h){return g.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(D(function(h){var l;return!!(null==
h?0:null==(l=h.snapshot[0])?0:l.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(Oe(function(h){return g.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(D(function(h){return!(null==h||!h.writer)}),Ne(!0));this.didChooseCanonical=function(h){return function(l){(l=l[0])&&Sec(g.fridge,l,h).then(function(){g.eventsForIssueFridge.poke(h)}).catch(g.gotErr)}};this.gotErr=function(h){g.snackBar.open(Ol(h)||"Error with network request","close",{panelClass:"error"})}};
U(iT,jE);iT.\u0275dir=jE.\u0275dir;
var nRa=function(a){var b,c;return de(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!Sm(a.canEdit$)?d.return():d.yield((0,E.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,d.yield((0,E.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?eDc(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));ie(d)})},eDc=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)};ch.Object.defineProperties(iT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});iT.\u0275fac=function(a){return new (a||iT)(C(tH),C(BH),C(MO),C(IF),C(fF))};
iT.\u0275cmp=Bc({type:iT,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[Ye],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&&(Q(0,oRa,3,5,"button",0),S(1,"async"));a&2&&F("ngIf",Ff(3,dDc,T(1,1,b.isDupe$)))},dependencies:[tw,Yz,zw]});var jT=function(a){jE.call(this);this.prefs=a};U(jT,jE);jT.\u0275dir=jE.\u0275dir;jT.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(Pe(this.destroyed$)).subscribe()};jT.\u0275fac=function(a){return new (a||jT)(C(BI))};
jT.\u0275cmp=Bc({type:jT,selectors:[["b-toggle-code-font"]],features:[Ye],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(tf(),G(0,"mat-slide-toggle",0),M("change",function(c){return b.onChange(c)}),S(1,"async"),uf(2),H());a&2&&F("checked",T(1,1,b.prefs.codeFont$))},dependencies:[DS,ZB,zw],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var kT=function(){};kT.\u0275fac=function(a){return new (a||kT)};kT.\u0275mod=Dc({type:kT});kT.\u0275inj=nc({imports:[CS,Cz,sz,Cy,CS,sz]});var lT=function(){};lT.\u0275fac=function(a){return new (a||lT)};lT.\u0275mod=Dc({type:lT});lT.\u0275inj=nc({imports:[BF,wC,fO,pA,$B,kT,HF,XC,eN]});var mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=Dc({type:mT});mT.\u0275inj=nc({providers:[aT],imports:[BF,sO,NL,dT,fT,JM,BO,UM,TM,hT,wC,$B,XC,BG,eT,lT]});var nT=function(){};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275mod=Dc({type:nT});nT.\u0275inj=nc({imports:[BF,JM,ZN,qO,$M]});var oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};oT.\u0275mod=Dc({type:oT});oT.\u0275inj=nc({imports:[nT,BF,JM,ZN,wC,qO,$M,BG,eO]});var pT=function(){};pT.\u0275fac=function(a){return new (a||pT)};pT.\u0275mod=Dc({type:pT});pT.\u0275inj=nc({imports:[kO,BF,oJ]});var qT=function(){};qT.\u0275fac=function(a){return new (a||qT)};qT.\u0275mod=Dc({type:qT});qT.\u0275inj=nc({imports:[BF,TM,wC,XC,pT,SM,$M,BG,nT]});var rT=function(){};rT.\u0275fac=function(a){return new (a||rT)};rT.\u0275mod=Dc({type:rT});rT.\u0275inj=nc({imports:[nT,BF,wC,pT]});var sT=function(){};sT.\u0275fac=function(a){return new (a||sT)};sT.\u0275mod=Dc({type:sT});sT.\u0275inj=nc({imports:[BF,wC,$B,Hx]});var tT=function(){};tT.\u0275fac=function(a){return new (a||tT)};tT.\u0275mod=Dc({type:tT});tT.\u0275inj=nc({imports:[BF,sT,oT,$B,qT,rT]});var uT=function(){};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275mod=Dc({type:uT});uT.\u0275inj=nc({imports:[fO,BF,zR,ox,rz,vN,eO,jO,xM,$B,wC,XC]});var vT=function(a){this.matDialog=a};vT.prototype.show=function(a,b){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(wT,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{formattingAudience:b,statusUpdate:a}});return(0,E.firstValueFrom)(fA(this.dialog))};vT.\u0275fac=function(a){return new (a||vT)(u(kA))};vT.\u0275prov=mc({token:vT,factory:vT.\u0275fac,providedIn:"root"});
var wT=function(a,b,c,d,e){jE.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=Lh(this.origStatusUpdate);
this.subscriptions.add(YO(e,function(){return g.isModified()},!1))};U(wT,jE);wT.\u0275dir=jE.\u0275dir;var fDc=function(a){var b,c;return null!=(c=aBa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};f=wT.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Pe(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Pe(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!Kh(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)};wT.\u0275fac=function(a){return new (a||wT)(C(ds),C(jA),C(vT),C(hA),C(XO))};
wT.\u0275cmp=Bc({type:wT,selectors:[["ng-component"]],features:[Ye],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&&(G(0,"h1",0),R(1,"Editing Status Update"),H(),G(2,"section",1)(3,"p",2),R(4," Editing the Status Update will not permanently remove old ones from database history. "),I(5,"br"),R(6," For deletion of PII or other sensitive content, please "),G(7,"a",3),R(8," file a support request. "),H()(),G(9,"b-comment-draft",
4),M("contentChange",function(c){return b.newStatusUpdate.updateText=c})("onSubmit",function(){return b.closeDialogForSave()}),H(),Q(10,pRa,2,1,"p",5),G(11,"b-markdown-toggle",6),M("change",function(c){return b.newStatusUpdate.formattingMode=c}),H(),Q(12,qRa,2,4,"div",7),H(),G(13,"footer",8)(14,"button",9),R(15," Cancel "),H(),G(16,"button",10),R(17," Save "),H()());a&2&&(z(7),F("href",b.contentRemovalRequestLink,Id),z(2),nf(fDc(b)),F("content",b.newStatusUpdate.updateText),z(1),F("ngIf",1E3<b.newStatusUpdate.updateText.length),
z(1),mf("margin-bottom",b.newStatusUpdate.formattingMode!==b.MARKDOWN),F("initialValue",b.origStatusUpdate.formattingMode),z(1),F("ngIf",b.newStatusUpdate.formattingMode===b.MARKDOWN),z(2),F("mat-dialog-close",void 0),z(2),F("mat-dialog-close",b.newStatusUpdate)("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length))},dependencies:[lA,mA,nA,oA,tw,Yz,XN,WN,CR],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 xT=function(){};xT.\u0275fac=function(a){return new (a||xT)};xT.\u0275mod=Dc({type:xT});xT.\u0275inj=nc({imports:[pA,fO,BF,rz,$B,wC,kO,uT]});var yT=function(a){this.matDialog=a};yT.prototype.show=function(a){this.dialog=this.matDialog.open(zT,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,E.firstValueFrom)(fA(this.dialog))};yT.\u0275fac=function(a){return new (a||yT)(u(kA))};yT.\u0275prov=mc({token:yT,factory:yT.\u0275fac,providedIn:"root"});var zT=function(a,b,c){jE.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};U(zT,jE);zT.\u0275dir=jE.\u0275dir;
zT.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Pe(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(Pe(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};zT.\u0275fac=function(a){return new (a||zT)(C(jA),C(yT),C(hA))};
zT.\u0275cmp=Bc({type:zT,selectors:[["ng-component"]],features:[Ye],decls:8,vars:2,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],["class","version",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],[1,"version"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"version-header"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs"],
[1,"update-email"],[3,"email"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1,"History for Status Update"),H(),G(2,"section",1)(3,"ul",2),Q(4,rRa,19,12,"li",3),H()(),G(5,"footer",4)(6,"button",5),R(7," Close "),H()());a&2&&(z(4),F("ngForOf",b.statusUpdates),z(2),F("mat-dialog-close",void 0))},dependencies:[sw,iK,Yz,lA,mA,nA,oA,YJ,cK,uL,sJ,xO],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 AT=function(){};AT.\u0275fac=function(a){return new (a||AT)};AT.\u0275mod=Dc({type:AT});AT.\u0275inj=nc({imports:[kO,BF]});var BT=function(){};BT.\u0275fac=function(a){return new (a||BT)};BT.\u0275mod=Dc({type:BT});BT.\u0275inj=nc({imports:[BF,IM,wC,pA,rz,SM,qO,AT,zO]});var CT=function(a){r.call(this,a,0,CT.messageId)};U(CT,r);CT.repeatedFields_=[1];CT.prototype.toObject=function(){if(null!=this){t(this);var a={statusUpdatesList:Gb(Ch(this,WD,1),A9b)}}else a=void 0;return a};CT.messageId="b.ListStatusUpdateHistoryResponse";var DT=function(a){this.executor=a};DT.prototype.get=function(a,b){return this.executor.get({url:T9b(a),responseConstructor:WD,options:{params:{issueCommentView:String(bsa[void 0===b?"MARKDOWN":b])}}}).pipe(D(Cj))};
DT.prototype.update=function(a){var b=this.executor,c=b.post,d=T9b(a.issueId),e=new WD;a.issueId&&e.setIssueId(a.issueId);a.updateText&&e.setUpdateText(a.updateText);if(a.formattedText){var g=a.formattedText,h=new Bj;if(g.plainFormat){var l=h.setPlainFormat;var q=g.plainFormat;q=(new ND).setPlainSectionList(q.plainSection.map(nra));l.call(h,q)}g.markdownFormat&&(l=h.setMarkdownFormat,q=g.markdownFormat,q=(new MD).setContent(q.content),l.call(h,q));g.literalFormat&&(l=h.setLiteralFormat,g=g.literalFormat,
g=(new LD).setContent(g.content),l.call(h,g));Wi(e,Bj,3,h)}a.formattingMode&&e.setFormattingMode(bsa[a.formattingMode]);a.author&&e.setAuthor(fi(a.author));a.updateTime&&e.setUpdateTime(zh(a.updateTime));a.version&&e.setVersion(a.version);return c.call(b,{url:d,body:e,responseConstructor:WD}).pipe(D(Cj))};DT.prototype.delete=function(a){return this.executor.delete({url:T9b(a),responseConstructor:null})};
var gDc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:CT,options:{params:{issueCommentView:String(bsa.MARKDOWN)}}}).pipe(D(function(c){return Ch(c,WD,1).map(Cj)}))};DT.\u0275fac=function(a){return new (a||DT)(u(ZC))};DT.\u0275prov=mc({token:DT,factory:DT.\u0275fac,providedIn:"root"});var hDc=["noteContainer"],ERa=function(a,b){return[a,b]},iDc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},ET=function(a,b,c,d,e,g,h,l,q){jE.call(this);var x=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=iDc;this.UiState=jDc;this.FormattingMode=J7b;this.issueId$=new E.ReplaySubject(1);
this.issue$=this.issueId$.pipe(Oe(this.issueFridge.watch));this.accessLevel$=this.issue$.pipe(D(function(A){var B;return null==A?void 0:null==(B=A.accessLimit)?void 0:B.accessLevel}));this.issueTeamId$=this.issue$.pipe(D(function(A){var B;return null==A?void 0:null==(B=A.aggregatedData)?void 0:B.teamId}));this.isCollapsed=!1;this.currentUserIsAuthoritative$=(0,E.combineLatest)([this.issue$,this.issueTeamId$]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value;B=x.currentUser.email===
Qua(A);K=x.currentUser.allTeamIds.includes(String(K));var O,P,Y,X;A=(null!=(X=null==A?void 0:null==(O=A.snapshot)?void 0:null==(P=O[0])?void 0:null==(Y=P.collaboratorsUsers)?void 0:Y.map(Zh))?X:[]).includes(x.currentUser.email);return B||K||A}));this.statusUpdate$=this.issue$.pipe(D(function(A){return null==A?void 0:A.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(ue(ni),D(function(A){return{unlinkifiedComment:A.updateText,formattedComment:A.formattedText}}));this.semanticClass$=
this.statusUpdate$.pipe(D(function(A){var B;return null!=(B=aBa(null==A?void 0:A.updateText))?B:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(D(function(A){return""===((null==A?void 0:A.updateText)||"").trim()}));this.freshnessIndicator$=(0,E.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;if(A)return 2;var K;A=(null==B?void 0:null==(K=B.updateTime)?void 0:K.seconds)||0;return 86400>Date.now()/1E3-A?0:1}));this.uiState$=
(0,E.combineLatest)([this.currentUserIsAuthoritative$,this.statusIsEmpty$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;return A&&B?2:B?1:3}),Ne(0));this.formattingModeOverride$=new E.BehaviorSubject(void 0);this.formattingMode$=(0,E.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(D(function(A){var B=k(A);A=B.next().value;return(B=B.next().value)?B:(null==A?void 0:A.formattingMode)||"PLAIN"}));this.menuItems$=(0,E.combineLatest)([this.issueId$,this.statusUpdate$,
this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(D(function(A){var B=k(A),K=B.next().value,O=B.next().value;A=B.next().value;B=B.next().value;var P=null!=O;O=O&&""!==(null==O?void 0:O.updateText);var Y=[];O&&Y.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){x.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===B},{type:"select",label:"Markdown",action:function(){x.formattingModeOverride$.next("MARKDOWN")},
selected:"MARKDOWN"===B},{type:"select",label:"Source",action:function(){x.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===B}]});Y.push({type:"action",label:"Edit Status Update",action:function(){sRa(x)}});P&&Y.push({type:"action",label:"Show editing history",action:function(){kDc(x,K)}});O&&A&&Y.push({type:"action",label:"Delete Status Update",action:function(){x.confirmationDialogService.open({title:"Delete Status Update?",content:cn("\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(){x.doDelete()}})}});Y.push(lDc);return Y}))};U(ET,jE);ET.\u0275dir=jE.\u0275dir;ET.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return de(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.uiState$.pipe(ue(function(e){return 0!==e}))),2);b=d.yieldResult;c=GRa(b);a.analytics.trackEvent(Gn.ISSUE,"statusUpdateDisplay",c);ie(d)})},1E3)};
ET.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
var sRa=function(a){var b,c,d,e,g,h,l;return de(function(q){switch(q.nextAddress){case 1:return q.yield((0,E.firstValueFrom)(a.issueId$),2);case 2:return b=q.yieldResult,c={issueId:b,updateText:"",version:-1},e=null!=(d=Sm(a.statusUpdate$))?d:c,q.yield((0,E.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(x){a.didSave(b,
x)},function(x){a.errorHandler.errorHandler(null,x)});ie(q)}})},uRa=function(a){var b,c;return de(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=Sm(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)});ie(d)})};ET.prototype.didSave=function(a,b){dF(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};
var kDc=function(a,b){var c;de(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(gDc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);ie(d)})};ET.prototype.doDelete=function(){var a=this,b;de(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){dF(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});ie(c)})};
ch.Object.defineProperties(ET.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});ET.\u0275fac=function(a){return new (a||ET)(C(oH),C(wI),C(YH),C(vT),C(OF),C(tH),C(gJ),C(DT),C(yT))};
ET.\u0275cmp=Bc({type:ET,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&Qf(hDc,5);if(a&2){var c;Pf(c=Sf())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[Ye],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&&(Q(0,FRa,
5,14,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.uiState$))},dependencies:[yK,YN,tw,JA,iK,xJ,CJ,aK,Yz,ZB,zw,pO],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 jDc={LOADING:0,HIDDEN:1,SHOW_EMPTY:2,NORMAL:3,0:"LOADING",1:"HIDDEN",2:"SHOW_EMPTY",3:"NORMAL"},lDc={type:"action",label:"Using the Status Update field...",action:function(){Kpa(window,Eg("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var FT=function(){};FT.\u0275fac=function(a){return new (a||FT)};FT.\u0275mod=Dc({type:FT});FT.\u0275inj=nc({imports:[LR,kO,BF,IM,xT,JM,ZN,wC,$B,XC,qO,BT,AT]});var GT=function(a,b){this.dialogRef=a;this.userApi=b;this.userSavedSearches=[];this.selectedSavedSearches=new Set;this.pristine=!0};f=GT.prototype;f.ngOnInit=function(){this.getUserSavedSearches()};f.getUserSavedSearches=function(){var a=this;this.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=[].concat(Pc(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};GT.\u0275fac=function(a){return new (a||GT)(C(hA),C(WG))};
GT.\u0275cmp=Bc({type:GT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("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&&(G(0,"h2",0),R(1," Add Saved Search\n"),H(),G(2,"div",1)(3,"mat-selection-list",2),M("selectionChange",function(c){return b.onChangeMatList(c)}),Q(4,IRa,6,6,"ng-container",3),H()(),G(5,"mat-dialog-actions")(6,"button",4),M("click",function(){return b.onCancel()}),
R(7," Cancel "),H(),G(8,"button",5),M("click",function(){return b.onConfirm()}),R(9," Add "),H()());a&2&&(z(4),F("ngForOf",b.userSavedSearches)("ngForTrackBy",b.trackBySearchId),z(4),F("disabled",b.pristine))},dependencies:[sw,tw,lA,mA,nA,oA,MS,NS,Yz],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 HT=function(a){this.dialog=a};HT.prototype.open=function(){var a=this,b={panelClass:"no-jitter"};return new Promise(function(c){fA(a.dialog.open(GT,b)).subscribe(function(d){c(d)})})};HT.\u0275fac=function(a){return new (a||HT)(u(kA))};HT.\u0275prov=mc({token:HT,factory:HT.\u0275fac,providedIn:"root"});var mDc=function(){this.headerOnly=!1;this.emailToUser=gi};mDc.\u0275fac=function(a){return new (a||mDc)};
mDc.\u0275cmp=Bc({type:mDc,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&&Q(0,NRa,31,13,"div",0);a&2&&F("ngIf",null==b.changelistWithId?
null:b.changelistWithId.changelist)},dependencies:[sw,tw,JA,Yz,Zz,uL,RB,PB,QB],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 IT=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};IT.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};IT.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};IT.\u0275fac=function(a){return new (a||IT)(C(rd))};IT.\u0275dir=Gc({type:IT,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[Uc]});var JT=function(){};JT.\u0275fac=function(a){return new (a||JT)};JT.\u0275mod=Dc({type:JT});JT.\u0275inj=nc({});var KT=function(a){this.currentUser=a;this.headerOnly=!1;this.STATUS_TERSE=SE;this.emailToUser=gi;this.ReactionType=O7b;this.IssueStatus=U7b;this.toIssuePriority=kl;this.showCommentBox=new Map};f=KT.prototype;f.convertIssueStatusStrToTag=function(a){return gj[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 ci(a.userPerformingActionUser)};
f.clAuthorToUser=function(a){return{emailAddress:Bl(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return Bl(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(Pc(a.preDiffs),Pc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(Pc(a.preDiffs),Pc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};KT.\u0275fac=function(a){return new (a||KT)(C(YH))};
KT.\u0275cmp=Bc({type:KT,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&&(G(0,"div",0),Q(1,kSa,23,11,"ng-container",1),Q(2,lSa,1,0,"ng-template",null,2,Vf),H());a&2&&(z(1),F("ngIf",null==b.issueWithEvents?null:b.issueWithEvents.issue))},dependencies:[sw,tw,uw,vw,ww,JA,
xA,AA,RB,PB,QB,ZB,tL,dI,cK,uL,Yz,zL,IT,iK,zw],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 nDc={QA:124156,NIGHTLY:190923,PROD:190923};var LT=function(a,b,c,d,e,g){jE.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=ta(l);Daa(q);return h.componentApi.query({id:q}).then(function(x){var A={};x=k(x);for(var B=x.next();!B.done;B=
x.next())(B=B.value)&&(A[B.componentId]=B);return l.map(function(K){return A[K]||null})})})};U(LT,jE);LT.\u0275dir=jE.\u0275dir;f=LT.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 oDc(this,a,this.componentApi.query(c))};
var oDc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=nDc[a.activeSession.getEnvironmentType()];if(d)return yn({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};
LT.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});var d={};c=k(c);for(var e=c.next();!e.done;d={$jscomp$loop$prop$id$2328:d.$jscomp$loop$prop$id$2328},e=c.next())d.$jscomp$loop$prop$id$2328=e.value,this.components.put(String(d.$jscomp$loop$prop$id$2328),a.then(function(g){return function(h){return h[g.$jscomp$loop$prop$id$2328]?
h[g.$jscomp$loop$prop$id$2328]:Promise.reject({data:{message:"Could not load details for component "+g.$jscomp$loop$prop$id$2328}})}}(d)))}};LT.\u0275fac=function(a){return new (a||LT)(u(MG),u(Bbc),u(uF),u(mF),u(SF),u(ds))};LT.\u0275prov=mc({token:LT,factory:LT.\u0275fac,providedIn:"root"});var MT=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new Vv;this.expandComponent=new Vv;this.goBack=new Vv};MT.prototype.ngOnInit=function(){};MT.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};MT.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};MT.\u0275fac=function(a){return new (a||MT)};
MT.\u0275cmp=Bc({type:MT,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&&(G(0,"div",0),J(1,1),Q(2,mSa,2,0,"ng-container",
2),Q(3,nSa,3,0,"ng-container",2),Q(4,oSa,3,3,"ng-container",3),L(),G(5,"div",4)(6,"span",5),Q(7,tSa,2,1,"ng-container",6),Q(8,vSa,1,1,"ng-template",null,7,Vf),Q(10,wSa,2,0,"span",8),H(),I(11,"b-access-level-indicator",9)(12,"b-tracker-chip-smart",10),H()());if(a&2){var c=yf(9);z(1);F("ngSwitch",b.mode);z(1);F("ngSwitchCase","recent");z(1);F("ngSwitchCase","tree");z(4);F("ngIf","leaf"!==b.mode)("ngIfElse",c);z(3);F("ngIf",b.componentOption.archived);z(1);F("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);z(1);F("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[sw,tw,uw,vw,ww,JA,Yz,ZB,vK,nO,kJ,nic],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 NT=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 E.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(ze(250));this.state$=new E.BehaviorSubject("default");this.listUpdated$=new E.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new E.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new E.BehaviorSubject([]);this.showAllTeams$=new E.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Be());this.teamOptions$=new E.BehaviorSubject([]);this.filteredTeamOptions$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(q){q=k(q);var x=q.next().value;return q.next().value?x:x.slice(0,5)}));this.hasHiddenTeams$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(q){var x=
k(q);q=x.next().value;x=x.next().value;return 5<q.length&&!x}));this.newChildTeams$=new E.BehaviorSubject([]);this.teamsDisplayed$=(0,E.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(D(function(q){return q?[q]:[]}))).pipe(D(function(q){return q.map(function(x){return x.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(D(function(q){return q.filter(function(x){return!l.childTeamsMap.has(x)})}),ue(function(q){return 0<q.length}),Oe(function(q){return l.teamsService.getChildTeams(q)}),
D(ASa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(D(function(q){return q.filter(function(x){return!l.componentCountMap.has(x)})}),ue(function(q){return 0<q.length}),Oe(function(q){return nfc(l.teamsService,q)}));this.componentIdSelected$=new E.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
NT.prototype.init=function(a){var b=this;a=void 0===a?!1:a;pDc(this);(0,E.combineLatest)([this.debouncedSearchQuery$.pipe(Me(a?1:0)),this.state$]).pipe(Pe(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()&&qDc(b,c),rDc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
rDc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&sDc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(Re(this.state$),Pe(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(Pe(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(Pe(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)}})};NT.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};NT.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var pDc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=tDc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,JH(a.teamsService,"").pipe(Pe(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(xSa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
NT.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};NT.prototype.selectOption=function(a){"component"===a.type?OTa(this,a.id):"team"===a.type?USa(this,a):console.warn("invalid option selected")};
var OTa=function(a,b){var c=uDc(a);a.analytics.trackEvent(Gn.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},uDc=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""};
NT.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var BTa=function(a,b){a.componentActions.get(b).then(function(c){var d=Ir(a.currentTracker,c.componentPathInfo);a.componentScope=zSa(c,d);a.state$.next("component_scope")})},ATa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},USa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||Po(a,b.id)},Po=function(a,b){a.teamsLoading=!0;JH(a.teamsService,b).pipe(Pe(a.destroyed$)).subscribe(function(c){c=
c.map(xSa);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})},vDc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;Po(a,b[b.length-2])}};NT.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
NT.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var qTa=function(a,b){b.expanded=!1;a.listUpdated$.next()},rTa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},uTa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},qDc=function(a,b){1<b.length&&(a.teamsLoading=!0,JH(a.teamsService,b).pipe(Pe(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(xSa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},rDc=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=tDc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},sDc=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=tDc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},tDc=
function(a,b){return b.map(function(c){var d=Ir(a.currentTracker,c.componentPathInfo);return zSa(c,d)})};var wDc=0,OT=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+wDc;wDc+=1};OT.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};OT.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};OT.\u0275fac=function(a){return new (a||OT)(C(mw),C(rd))};
OT.\u0275dir=Gc({type:OT,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(sf("id",b.id),mf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var PT=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new Vv};PT.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};PT.prototype.ngOnInit=function(){};PT.\u0275fac=function(a){return new (a||PT)};
PT.\u0275cmp=Bc({type:PT,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&&(G(0,"div",0),Q(1,BSa,1,1,"img",1),G(2,"div",2),Q(3,DSa,4,5,"div",3),Q(4,LSa,2,1,"div",4),H()());a&2&&(mf("no-component",b.hasNoComponent)("compact",b.compact),z(1),F("ngIf",!b.compact),z(2),F("ngIf",!b.compact),z(1),F("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[sw,tw,kJ],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 xDc=new Nc("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),yDc=new Nc("mat-progress-bar-location",{providedIn:"root",factory:MSa});dh(function(a){this._elementRef=a},"primary");var zDc=["primaryValueBar"],ADc=dh(function(a){this._elementRef=a},"primary"),BDc=0,QT=function(a,b,c,d,e,g){a=ADc.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 Vv;a._animationEndSubscription=E.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+BDc++;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};U(QT,ADc);QT.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};QT.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
QT.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,E.fromEvent)(b,"transitionend").pipe(ue(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})}))})})};QT.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
ch.Object.defineProperties(QT.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,wg(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()}}});
QT.\u0275fac=function(a){return new (a||QT)(C(rd),C(Se),C(tv,8),C(yDc,8),C(xDc,8),C(mw))};
QT.\u0275cmp=Bc({type:QT,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&Qf(zDc,5);if(a&2){var c;Pf(c=Sf())&&(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&&(bf("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode),mf("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",
mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Ye],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&&(G(0,"div",0),fd(),G(1,"svg",1)(2,"defs")(3,"pattern",2),I(4,"circle",3),H()(),I(5,"rect",4),H(),gd(),I(6,"div",5)(7,"div",6,7)(9,"div",8),H());a&2&&(z(3),F("id",b.progressbarId),z(2),bf("fill",b._rectangleFillValue),z(1),F("ngStyle",b._bufferTransform()),z(1),F("ngStyle",b._primaryTransform()))},dependencies:[xw],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 CDc=["container"],DDc=["inputBox"],EDc=["dropdownTemplate"],FDc=["dropdown"],ZSa=function(a){return{mode:"recent",$implicit:a}},dTa=function(a){return[a]},cTa=function(a,b){return{team:a,level:0,order:b}},kTa=function(a){return{mode:"default",$implicit:a}},nTa=function(a){return[0,a]},vTa=function(){return[0]},yTa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},ETa=function(a){return{mode:"leaf",$implicit:a}},JTa=function(a,b,c){return{team:a,level:b,order:c}},GDc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],RT=function(a,b,c,d,e,g,h,l,q,x,A){jE.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=x;this.cdr=A;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new Vv;this.shouldFocus=!1;this.touched=
new Vv;this.selectedComponentChange=new Vv;this.dropdownClosed=new Vv;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new NT(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};U(RT,jE);RT.\u0275dir=jE.\u0275dir;
RT.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;HDc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,E.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(Pe(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
RT.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var HDc=function(a){if(a.selectedComponent){var b=Ir(a.currentTracker,a.selectedComponent.componentPathInfo);b=zSa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},IDc=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=RT.prototype;f.ngOnChanges=function(a){a.selectedComponent&&(HDc(this),this.checkAdminAccess&&this.selectedComponent&&JDc(this,this.selectedComponent))};f.ngOnDestroy=function(){this.close();jE.prototype.ngOnDestroy.call(this)};
f.ngAfterViewInit=function(){var a=this;this.keyManager=Ky(Ly(new Py(this.listOptions)));this.searchState.listUpdated$.pipe(Pe(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(Pe(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(YTa);b=[].concat(Pc(c),Pc(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&&uTa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent(Gn.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
f.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var KDc=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};
RT.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),IDc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||TWb(d);IDc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),IDc(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);IDc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?uTa(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(),rTa(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?qTa(this.searchState,this.keyManager.activeItem.data):vDc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),ATa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(uTa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var Oo=function(a){a.preventDefault();a.stopPropagation()},JDc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;yF(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};f=RT.prototype;
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new gz({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 Cx(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
f.getPositionStrategy=function(){return jz(pXb(lz(nz(this.overlay.position(),this.container),!1),!1),GDc)};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))};ch.Object.defineProperties(RT.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
RT.\u0275fac=function(a){return new (a||RT)(C(oz),C(Nf),C(WG),C(LT),C(HH),C(xF),C(DG),C(oH),C(ds),C(sK),C(mw))};
RT.\u0275cmp=Bc({type:RT,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(Qf(CDc,7),Qf(DDc,7),Qf(EDc,7),Qf(FDc,5),Qf(OT,5));if(a&2){var c;Pf(c=Sf())&&(b.container=c.first);Pf(c=Sf())&&(b.inputBox=c.first);Pf(c=Sf())&&(b.dropdownTemplateRef=c.first);Pf(c=Sf())&&(b.dropdown=c.first);Pf(c=Sf())&&(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:[Ye,Uc],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&&(G(0,"div",0,1)(2,"input",2,3),M("ngModelChange",function(d){return b.searchState.searchQuery$.next(d)})("keydown",function(d){return b.handleKeydown(d)})("click",function(){b.open();return b.touched.emit()})("focus",function(){return b.open()})("blur",function(){return b.close()}),S(4,"async"),H(),Q(5,NSa,2,0,"button",4),H(),Q(6,RSa,4,2,"div",5),Q(7,GTa,11,8,"ng-template",null,6,Vf),Q(9,MTa,5,11,"ng-template",null,
7,Vf),Q(11,XTa,3,2,"ng-template",null,8,Vf));if(a&2){var c=yf(3);z(2);F("ngModel",T(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);bf("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",KDc(b));z(3);F("ngIf",c.value);z(1);F("ngIf",b.checkAdminAccess)}},dependencies:[sw,tw,yw,uw,vw,ww,JA,kg,Uw,kx,$w,Yz,AL,ZB,QT,PT,MT,OT,zw],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 LDc={ME:0,TEAM:1,COMPONENT:2,HOTLIST:3,SAVEDSEARCH:4,0:"ME",1:"TEAM",2:"COMPONENT",3:"HOTLIST",4:"SAVEDSEARCH"},MDc=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}}]]),NDc=MDc.get(0),ST=function(a){var b=this;this.hotlistFridge=a;this.selectedFilter=NDc;this.isOpen=!1;this.FilterType=LDc;this.filters=MDc;this.selectedComponent=
null;this.isHotlistPanelOpen=!1;this.selectedHotlist=null;this.userHotlistQuery$=new E.BehaviorSubject("");this.userHotlists$=iec(this.hotlistFridge);this.displayedHotlists$=this.userHotlistQuery$.pipe(ze(200),Oe(function(c){c=c.toLowerCase();return b.userHotlists$.pipe(D(function(d){return d.filter(function(e){return e.name.toLowerCase().includes(c)})}))}));this.selected=new Vv;this.internalSelectedFilter=Lh(this.selectedFilter);if(a=bH("streamFilterSelectedComponent")())this.selectedComponent=a,
this.filters.get(2).search.value=a.componentId+"+";if(a=bH("streamFilterSelectedHotlist")())this.selectedHotlist=a,this.filters.get(3).search.value=String(a.hotlistId)};ST.prototype.selectComponent=function(a){a&&(Qo("streamFilterSelectedComponent")(a),this.selectedComponent=a,this.filters.get(2).search.value=a.componentId+"+",this.selectedFilter=this.filters.get(2))};
var ODc=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};ST.prototype.openMenu=function(){this.isOpen=!0};
ST.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};ST.prototype.emitSelection=function(){this.selected.emit(this.selectedFilter);this.closeMenu()};ST.\u0275fac=function(a){return new (a||ST)(C($G))};
ST.\u0275cmp=Bc({type:ST,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&&(G(0,"button",0,1),M("click",function(){return b.openMenu()}),I(2,"mat-icon",2),H(),G(3,"div",3),R(4),H(),Q(5,hUa,15,6,"ng-template",4),M("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}),Q(6,iUa,1,0,"ng-template",null,5,Vf));if(a&2){var c=yf(1);mf("menu-open",b.isOpen);z(4);zf(" ",ODc(b),"\n");z(1);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[sw,tw,JA,Yz,xA,wA,AA,MS,NS,AL,qz,pz,DM,EM,zL,RT,zw],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 qUa=function(){return[]},PDc={CARD_HEADER_ONLY:0,0:"CARD_HEADER_ONLY"},TT=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,E.of)([]);this.changelistsWithIds=(0,E.of)([]);this.loadingCards=!0;this.isSettingsMenuOpen=!1;this.settings=new Map([[0,{id:0,display:"Show card headers only",value:!1}]]);this.SettingType=PDc;a=Im("activityStreamHeaderOnly")();this.settings.get(0).value=
null!=a?a:!1;this.selectedFilter=(a=bH("activityStreamSelectedFilter")())?a:NDc;QDc(this)},QDc=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(D(function(b){var c;return null!=(c=b.results)?c:[]}),D(a.buildIssuesWithEvents.bind(a)),Qe(function(){RDc(a)}))};
TT.prototype.getDayOfYear=function(a){a=void 0===a?new Date:a;var b=new Date(a.getFullYear(),0,0);a=a.getTime()-b.getTime()+6E4*(b.getTimezoneOffset()-a.getTimezoneOffset());return Math.floor(a/864E5)};var RDc=function(a){setTimeout(function(){a.loadingCards=!1},500)};
TT.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(D(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};
TT.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(Pc(a.preDiffs),Pc(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 zl(a)?"changelistFixed":"status";if("assignee"===c.name)return"assignee";if("statusUpdate"===c.name)return"statusUpdate"}}return zl(a)?"changelist":
rl(a)&&a.isHumanAuthor?"comment":null};TT.\u0275fac=function(a){return new (a||TT)(C(tH),C(fF),C(YH),C(hK),C(eD))};
TT.\u0275cmp=Bc({type:TT,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&&(G(0,"div",0)(1,"div",1)(2,"b-activity-stream-filter",2),M("selected",function(d){b.selectedFilter=d;Qo("activityStreamSelectedFilter")(d);QDc(b)}),H(),G(3,"button",3),
M("click",function(){return QDc(b)}),I(4,"mat-icon",4),H(),G(5,"button",5,6),M("click",function(){b.isSettingsMenuOpen=!0}),I(7,"mat-icon",7),H(),Q(8,kUa,2,1,"ng-template",8),M("detach",function(){b.isSettingsMenuOpen=!1})("backdropClick",function(){b.isSettingsMenuOpen=!1}),H(),Q(9,mUa,3,3,"div",9),Q(10,tUa,6,5,"div",9),H());if(a&2){var c=yf(6);z(2);F("selectedFilter",b.selectedFilter);z(6);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isSettingsMenuOpen);z(1);F("ngIf",b.showCls);
z(1);F("ngIf",!b.showCls)}},dependencies:[sw,tw,JA,Yz,MS,NS,qz,pz,zL,KT,mDc,ST,zw],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 UT=function(a){r.call(this,a)};U(UT,r);UT.prototype.getWorkspaceId=function(){return V(this,1)};UT.prototype.getClientTimeZone=function(){return Z(this,Xi,2)};UT.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:V(this,1),clientTimeZone:tC(this.getClientTimeZone())}}else a=void 0;return a};var VT=function(a){r.call(this,a)};U(VT,r);VT.prototype.getTaskList=function(){return Ch(this,pC,1)};VT.prototype.addTask=function(a){go(this,1,pC,a)};var SDc=Nb(VT);VT.repeatedFields_=[1];VT.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Gb(this.getTaskList(),r5b)}}else a=void 0;return a};var TDc=new yC("/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",UT,VT,function(a){return a.serialize()},SDc);var WDc=function(){var a=UDc,b=new UT;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",b,VDc||{},TDc)};var WT=function(a){r.call(this,a)};U(WT,r);WT.prototype.getWorkspaceId=function(){return V(this,4)};WT.prototype.getClientTimeZone=function(){return Z(this,Xi,5)};WT.prototype.toObject=function(){if(null!=this){t(this);var a={oauthToken:V(this,1),enableDebug:Gj(this,2),autoRefresh:Gj(this,3),workspaceId:V(this,4),clientTimeZone:tC(this.getClientTimeZone())}}else a=void 0;return a};var XDc=function(a){r.call(this,a)};U(XDc,r);XDc.prototype.toObject=function(){return YDc(this)};var YDc=function(a){if(null!=a)return t(a),{logMessage:V(a,1),relativeStartMs:ej(a,2)}};var ZDc=function(a){r.call(this,a)};U(ZDc,r);f=ZDc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return jj(this,1,a)};f.addRequest=function(a,b){sb(this,2,a,b)};f.getRequest=function(){return Ss(this,2)};f.getRequestCount=function(){return Gh(this,2,void 0,2).length};f.getResponse=function(a){return Ss(this,4,a)};f.setResponse=function(a){return tb(this,4,a,void 0,Gh)};ZDc.repeatedFields_=[2,3,4];ZDc.prototype.toObject=function(){return $Dc(this)};
var $Dc=function(a){if(null!=a)return t(a),{name:V(a,1),requestList:p(Gh(a,2)),responseStatusList:p(Gh(a,3)),responseList:p(Gh(a,4)),relativeStartMs:ej(a,5),latencyMs:ej(a,6)}};var aEc=function(a){r.call(this,a)};U(aEc,r);aEc.repeatedFields_=[1,2];aEc.prototype.toObject=function(){return bEc(this)};var bEc=function(a){if(null!=a)return t(a),{rpcInfoList:Gb(Ch(a,ZDc,1),$Dc),logInfoList:Gb(Ch(a,XDc,2),YDc)}};var XT=function(a){r.call(this,a)};U(XT,r);XT.prototype.getTaskList=function(){return Ch(this,pC,1)};XT.prototype.addTask=function(a){go(this,1,pC,a)};XT.prototype.getDebugInfo=function(){return Z(this,aEc,4)};var cEc=Nb(XT);XT.repeatedFields_=[1];XT.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Gb(this.getTaskList(),r5b),debugInfo:bEc(this.getDebugInfo()),incrementalUpdate:Gj(this,5)}}else a=void 0;return a};var dEc=new yC("/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",WT,XT,function(a){return a.serialize()},cEc);var fEc=function(){var a=eEc,b=new WT;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",b,VDc||{},dEc)};var gEc=new Nc("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var hEc=function(a){this.options=a};hEc.\u0275fac=function(a){return new (a||hEc)(C(gEc))};hEc.\u0275dir=Gc({type:hEc,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&mf("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var iEc=new Nc("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var YT=function(a){this.options=a};YT.\u0275fac=function(a){return new (a||YT)(C(iEc))};
YT.\u0275dir=Gc({type:YT,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&&mf("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 jEc=new Nc("mat-chips-default-options"),kEc=new Nc("MatChipAvatar"),lEc=new Nc("MatChipTrailingIcon"),mEc=new Nc("MatChipRemove"),nEc=new Nc("MatChip");var oEc=gh(function(){},-1),ZT=function(a,b){var c=oEc.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};U(ZT,oEc);f=ZT.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())};ch.Object.defineProperties(ZT.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=tg(a)}}});ZT.\u0275fac=function(a){return new (a||ZT)(C(rd),C(nEc))};
ZT.\u0275dir=Gc({type:ZT,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(bf("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),mf("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:[Ye]});var pEc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],qEc=0,rEc=gh(dh(eh(fh(function(a){this._elementRef=a})),"primary"),-1),$T=function(a,b,c,d,e,g,h,l){b=rEc.call(this,b)||this;b._changeDetectorRef=a;b._ngZone=c;b._focusMonitor=d;b._globalRippleOptions=h;b._isRippleCentered=!1;b._onFocus=new E.Subject;b._onBlur=new E.Subject;b.role=null;b._hasFocusInternal=!1;b.id="mat-mdc-chip-"+qEc++;b.ariaLabel=null;b.ariaDescription=
null;b._ariaDescriptionId=b.id+"-aria-description";b._removable=!0;b._highlighted=!1;b.removed=new Vv;b.destroyed=new Vv;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};U($T,rEc);f=$T.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,E.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(Ce()).subscribe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})}))})};
ch.Object.defineProperties($T.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=tg(a)}},highlighted:{configurable:!0,enumerable:!0,get:function(){return this._highlighted},set:function(a){this._highlighted=tg(a)}}});
$T.\u0275fac=function(a){return new (a||$T)(C(mw),C(rd),C(Se),C(xx),C(ah),C(tv,8),C(RXb,8),kd("tabindex"))};
$T.\u0275cmp=Bc({type:$T,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(Rf(c,kEc,5),Rf(c,lEc,5),Rf(c,mEc,5),Rf(c,kEc,5),Rf(c,lEc,5),Rf(c,mEc,5));if(a&2){var d;Pf(d=Sf())&&(b.leadingIcon=d.first);Pf(d=Sf())&&(b.trailingIcon=d.first);Pf(d=Sf())&&(b.removeIcon=d.first);Pf(d=Sf())&&(b._allLeadingIcons=d);Pf(d=Sf())&&(b._allTrailingIcons=d);Pf(d=Sf())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&(Qf(zz,5),Qf(ZT,5));
if(a&2){var c;Pf(c=Sf())&&(b.ripple=c.first);Pf(c=Sf())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&(sf("id",b.id),bf("role",b.role)("tabindex",b.role?b.tabIndex:null)("aria-label",b.ariaLabel),mf("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:[Cf([{provide:nEc,useExisting:$T}]),Ye],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&&(tf(pEc),I(0,"span",0)(1,"span",1),G(2,"span",2)(3,"span",3),Q(4,uUa,2,0,"span",4),G(5,"span",5),uf(6),I(7,"span",6),H()()(),Q(8,vUa,2,0,"span",7));a&2&&(F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),z(3),F("isInteractive",!1),z(1),F("ngIf",b.leadingIcon),z(4),F("ngIf",b._hasTrailingIcon()))},dependencies:[tw,zz,ZT],
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__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 sEc=gh(function(){}),aU=function(a,b,c){var d=sEc.call(this,a)||this;d._elementRef=a;d._changeDetectorRef=b;d._dir=c;d._lastDestroyedFocusedChipIndex=null;d._destroyed=new E.Subject;d._defaultRole="presentation";d._disabled=!1;d._explicitRole=null;d._chipActions=new Tf;return d};U(aU,sEc);f=aU.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(Ne(null),Oe(function(){return E.merge.apply(null,Pc(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(Ne(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);Of(a._chipActions)});this._keyManager=PWb(Ny(My(Ly(new Qy(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(Pe(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
Oy(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(Pe(this._destroyed)).subscribe(function(c){return My(a._keyManager,c)})};f._skipPredicate=function(a){return!a.isInteractive||a.disabled};f._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(Ne(null),Pe(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
f._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(Pe(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}};
ch.Object.defineProperties(aU.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=tg(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()}}});aU.\u0275fac=function(a){return new (a||aU)(C(rd),C(mw),C(Ry,8))};
aU.\u0275cmp=Bc({type:aU,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&Rf(c,$T,5);if(a&2){var d;Pf(d=Sf())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&bf("role",b.role)},inputs:{disabled:"disabled",role:"role"},features:[Ye],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&
1&&(tf(),G(0,"div",0),uf(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 tEc=function(a,b,c,d,e,g,h){a=aU.call(this,a,b,c)||this;a._defaultErrorStateMatcher=d;a._parentForm=e;a._parentFormGroup=g;a.ngControl=h;a.stateChanges=new E.Subject;return a};U(tEc,aU);tEc.\u0275cmp=aU.\u0275cmp;tEc.\u0275fac=aU.\u0275fac;Boa(tEc);var uEc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],bU=function(){var a=$T.apply(this,arguments)||this;a._defaultOptions=wc(jEc,{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 Vv;return a};U(bU,$T);f=bU.prototype;f.ngOnInit=function(){$T.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())};
ch.Object.defineProperties(bU.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=tg(a);this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(tg(a),!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
bU.\u0275fac=function(){var a;return function(b){return(a||(a=pd(bU)))(b||bU)}}();
bU.\u0275cmp=Bc({type:bU,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&&(sf("id",b.id),bf("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),mf("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:[Cf([{provide:$T,useExisting:bU},{provide:nEc,useExisting:bU}]),Ye],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&&(tf(uEc),I(0,"span",0)(1,"span",1),G(2,"span",
2)(3,"button",3),Q(4,wUa,5,0,"span",4),G(5,"span",5),uf(6),I(7,"span",6),H()()(),Q(8,xUa,2,0,"span",7),G(9,"span",8),R(10),H());a&2&&(F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),z(3),F("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),bf("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),z(1),F("ngIf",b._hasLeadingGraphic()),z(4),F("ngIf",b._hasTrailingIcon()),
z(1),F("id",b._ariaDescriptionId),z(1),Af(b.ariaDescription))},dependencies:[tw,zz,ZT],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__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 vEc=function(a,b){this.source=a;this.value=b},wEc={provide:Jw,useExisting:sc(function(){return cU}),multi:!0},cU=function(){var a=aU.apply(this,arguments)||this;a._onTouched=function(){};a._onChange=function(){};a._defaultRole="listbox";a._defaultOptions=wc(jEc,{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 Vv;a._chips=void 0;return a};U(cU,aU);f=cU.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(Ne(null),Pe(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(Pe(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(Pe(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&&aU.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 vEc(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};
ch.Object.defineProperties(cU.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=tg(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=tg(a);this._syncListboxProperties()}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required},set:function(a){this._required=tg(a)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=tg(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}}});cU.\u0275fac=function(){var a;return function(b){return(a||(a=pd(cU)))(b||cU)}}();
cU.\u0275cmp=Bc({type:cU,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&Rf(c,bU,5);if(a&2){var d;Pf(d=Sf())&&(b._chips=d)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(sf("tabIndex",b.empty?-1:b.tabIndex),bf("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),mf("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:[Cf([wEc]),
Ye],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(tf(),G(0,"div",0),uf(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 xEc=new Nc("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var dU=function(){oz.apply(this,arguments);this.gmatPanelClasses=[]};U(dU,oz);dU.prototype.create=function(a){var b=(null==a?0:a.panelClass)?sg(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return oz.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};dU.\u0275fac=function(){var a;return function(b){return(a||(a=pd(dU)))(b||dU)}}();dU.\u0275prov=mc({token:dU,factory:dU.\u0275fac});var eU=function(a,b){this.options=a;a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-menu")};eU.\u0275fac=function(a){return new (a||eU)(C(xEc),C(oz))};eU.\u0275dir=Gc({type:eU,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[Cf([{provide:oz,useClass:dU}])]});var yEc=new Nc("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var fU=function(a){this.options=a};fU.\u0275fac=function(a){return new (a||fU)(C(yEc))};fU.\u0275dir=Gc({type:fU,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&mf("gmat-mdc-table",!b.options.disableGmatStyle)}});var gU=function(){};gU.\u0275fac=function(a){return new (a||gU)};gU.\u0275mod=Dc({type:gU});gU.\u0275inj=nc({imports:[rN]});var zEc=function(a){return{collapsed:a}},UDc=new function(){this.client_=new PC({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},eEc=new function(){this.client_=new PC({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},VDc={"X-Goog-Api-Key":"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",Authorization:so([])||"","X-Goog-AuthUser":"0"},hU=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,E.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,E.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,E.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]}];this.issueTasksOwned=(0,E.of)([]);this.issueTasksCollaborating=(0,E.of)([]);this.issueTasksFollowing=
(0,E.of)([]);this.critiqueTasks=(0,E.of)([]);this.driveTasks=(0,E.of)([]);this.mergedTasks$=(0,E.of)([])};hU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-tasks"]};hU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-tasks")};
var AEc=function(a){return new E.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()}})},BEc=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(x){return x.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},CEc=function(a,b){var c=b.snapshot[0]||{},d=c.createdTimeMicros?Math.floor(c.createdTimeMicros/1E3):0;a=BEc(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}};hU.prototype.queryIssues=function(a){return this.issueFridge.watchMany({filter:a,pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){return b.results}))};
hU.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(D(function(b){return b.map(function(c){return CEc(a,c)})}));this.issueTasksCollaborating=this.queryIssues("(collaborator:me | reporter:me) -assignee:me modified:30d status:open").pipe(D(function(b){return b.map(function(c){return CEc(a,c)})}));this.issueTasksFollowing=this.queryIssues("star:true | (cc:me status:open)").pipe(D(function(b){return b.map(function(c){return CEc(a,
c)})}));this.critiqueTasks=AEc(WDc()).pipe(D(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=!1,h=!1,l=!1,q="",x=Wo(gJb(c,oC,6)),A=null==x?void 0:x.getAuthorEmail();x=null==x?void 0:x.getCategory();A===a.currentUserEmail||2===x?(g=!0,q="Author"):1===x?(h=!0,q="Reviewer"):3===x&&(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=AEc(fEc()).pipe(D(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=Ks(gJb(c,oC,6),kC,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,x=!1;var A=Ks(gJb(c,oC,6),kC,5);var B=null==A?void 0:A.getOwnedByMe(),K=null==A?void 0:Gj(A,26),O=null==A?void 0:Gj(A,25),P=null==A?void 0:A.getSharedToMe();B||K?(l=!0,A="Owner"):Gj(A,2)?(l=!0,A="Creator"):O?(q=!0,A="Approver"):P?(q=!0,A="Shared with me"):A.getIsStarred()?(x=!0,A="Starred"):(x=!0,A="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:x,priority:null,role:A,open:!0,resource:e,rawObj:d}})}));this.mergedTasks$=(0,E.merge)(this.critiqueTasks,this.driveTasks,this.issueTasksOwned,this.issueTasksCollaborating,this.issueTasksFollowing).pipe(PUa(),D(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(D(function(b){return b.filter(function(c){return c.isOwner})}));this.mvpMyTaskTabsData$[1].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isCollaborating})}));this.mvpMyTaskTabsData$[2].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isFollowing})}))};hU.\u0275fac=function(a){return new (a||hU)(C(tH),C(ZH),C(YH))};
hU.\u0275cmp=Bc({type:hU,selectors:[["mvp-my-tasks"]],decls:13,vars:6,consts:[[1,"mvp-my-tasks-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"],["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&&(G(0,"main",0)(1,"section",
1)(2,"div",2)(3,"h2",3),R(4),H(),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),G(6,"mat-icon",5),R(7,"expand_less"),H()(),I(8,"span",6),G(9,"button",7)(10,"mat-icon",8),R(11,"more_vert"),H()()(),Q(12,OUa,3,1,"div",9),H()());a&2&&(z(4),Af(b.cardTitle),z(1),F("ngClass",Ff(4,zEc,!0===b.isCollapsed())),bf("aria-label",b.isCollapsed?"Expand card":"Collapse card"),z(7),F("ngIf",!b.isCollapsed()))},dependencies:[rw,sw,tw,JA,hEc,yN,YT,cU,bU,eU,KB,NB,fU,qN,iN,mN,jN,hN,nN,kN,lN,oN,pN,Yz,
tM,sM,zL,Cw],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%]   .expansion-toggle[_ngcontent-%COMP%]{-webkit-transition:rotate .3s;transition:rotate .3s}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle.collapsed[_ngcontent-%COMP%]{rotate:180deg}[_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-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-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-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-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-chip-focus-overlay{background:#000}  .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}  .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}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff}  .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:#1976d2;--mdc-chip-disabled-label-text-color:#1976d2;--mdc-chip-with-icon-icon-color:#1976d2;--mdc-chip-with-icon-disabled-icon-color:#1976d2;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#1976d2;--mdc-chip-with-trailing-icon-trailing-icon-color:#1976d2;--mdc-chip-with-icon-selected-icon-color:#1976d2;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .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:#f57c00;--mdc-chip-disabled-label-text-color:#f57c00;--mdc-chip-with-icon-icon-color:#f57c00;--mdc-chip-with-icon-disabled-icon-color:#f57c00;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#f57c00;--mdc-chip-with-trailing-icon-trailing-icon-color:#f57c00;--mdc-chip-with-icon-selected-icon-color:#f57c00;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .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:#d32f2f;--mdc-chip-disabled-label-text-color:#d32f2f;--mdc-chip-with-icon-icon-color:#d32f2f;--mdc-chip-with-icon-disabled-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-trailing-icon-color:#d32f2f;--mdc-chip-with-icon-selected-icon-color:#d32f2f;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .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}\n/*# sourceMappingURL=mvp_my_tasks.css.map */']});var iU=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(";")};iU.\u0275fac=function(a){return new (a||iU)};iU.\u0275prov=mc({token:iU,factory:iU.\u0275fac,providedIn:"root"});var DEc=["addWorkAreaDialog"],EEc=function(a){return{collapsed:a}},jU=function(a,b,c){this.dialog=a;this.hackyPrefs=b;this.fakeData=c;this.autocompleteControl=new Zw("");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(" ")};jU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-work"]};jU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-work")};var QUa=function(a){fA(a.dialog.open(a.addDialog)).subscribe(function(b){"cancel"!==b&&void 0!==b&&(a.currentViewIndex=void 0===b?0:b)})};
jU.prototype.ngOnInit=function(){var a=this;this.filteredOptions=this.autocompleteControl.valueChanges.pipe(Ne(""),D(function(b){return FEc(a,b||"")}))};var FEc=function(a,b){var c=b.toLowerCase();return a.suggestions.filter(function(d){return d.toLowerCase().includes(c)})};jU.\u0275fac=function(a){return new (a||jU)(C(kA),C(ZH),C(iU))};
jU.\u0275cmp=Bc({type:jU,selectors:[["mvp-my-work"]],viewQuery:function(a,b){a&1&&Qf(DEc,7);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"main",0)(1,"section",1)(2,"div",2)(3,"h2",3),R(4),H(),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),G(6,"mat-icon",5),R(7,"expand_less"),H()(),I(8,"span",
6),H(),Q(9,hVa,3,2,"div",7),H()(),Q(10,kVa,30,8,"ng-template",null,8,Vf));a&2&&(z(4),Af(b.cardTitle),z(1),F("ngClass",Ff(4,EEc,b.isCollapsed())),bf("aria-label",b.isCollapsed?"Expand card":"Collapse card"),z(4),F("ngIf",!b.isCollapsed()))},dependencies:[rw,sw,tw,JA,kg,Uw,YT,cU,bU,eU,KB,IB,NB,fU,qN,iN,mN,jN,hN,nN,kN,lN,oN,pN,GO,FO,$z,Yz,oA,xA,AA,tM,sM,fx,zw,Cw],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-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-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-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-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-chip-focus-overlay{background:#000}  .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}  .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}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff}  .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:#1976d2;--mdc-chip-disabled-label-text-color:#1976d2;--mdc-chip-with-icon-icon-color:#1976d2;--mdc-chip-with-icon-disabled-icon-color:#1976d2;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#1976d2;--mdc-chip-with-trailing-icon-trailing-icon-color:#1976d2;--mdc-chip-with-icon-selected-icon-color:#1976d2;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .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:#f57c00;--mdc-chip-disabled-label-text-color:#f57c00;--mdc-chip-with-icon-icon-color:#f57c00;--mdc-chip-with-icon-disabled-icon-color:#f57c00;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#f57c00;--mdc-chip-with-trailing-icon-trailing-icon-color:#f57c00;--mdc-chip-with-icon-selected-icon-color:#f57c00;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .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:#d32f2f;--mdc-chip-disabled-label-text-color:#d32f2f;--mdc-chip-with-icon-icon-color:#d32f2f;--mdc-chip-with-icon-disabled-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-trailing-icon-color:#d32f2f;--mdc-chip-with-icon-selected-icon-color:#d32f2f;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .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 GEc=function(a){r.call(this,a)};U(GEc,r);f=GEc.prototype;f.getSignalsList=function(){return Qk(this,6)};f.setSignalsList=function(a){Yk(this,6,a)};f.getCount=function(){return Eh(this,1)};f.setCount=function(a){return n(this,1,a)};f.setS=function(a){n(this,2,a)};f.setP=function(a){return n(this,3,a)};f.getNextPageToken=function(){return V(this,4)};f.setTrackerIdsList=function(a){hj(this,5,a)};GEc.repeatedFields_=[6,5];
GEc.prototype.toObject=function(){if(null!=this){t(this);var a={signalsList:p(Qk(this,6)),count:p(Ms(this,1)),s:p(m(this,2)),p:p(Ms(this,3)),nextPageToken:p(m(this,4)),trackerIdsList:p(Fh(this,5))}}else a=void 0;return a};var kU=function(a){r.call(this,a)};U(kU,r);kU.prototype.getTimestamp=function(){return Z(this,yh,2)};kU.prototype.setTimestamp=function(a){return Wi(this,yh,2,a)};kU.prototype.hasTimestamp=function(){return Aj(this,yh,2)};kU.prototype.toObject=function(){return HEc(this)};var HEc=function(a){if(null!=a)return t(a),{signalType:p(ir(a,1)),timestamp:wt(a.getTimestamp())}};var Ro=function(a){r.call(this,a)};U(Ro,r);Ro.prototype.getIssue=function(){return Z(this,sj,1)};Ro.prototype.setIssue=function(a){Wi(this,sj,1,a)};Ro.prototype.getSignalsList=function(){return Ch(this,kU,2)};Ro.prototype.setSignalsList=function(a){aj(this,2,a)};Ro.repeatedFields_=[2];Ro.prototype.toObject=function(){return IEc(this)};var IEc=function(a){if(null!=a)return t(a),{issue:XD(a.getIssue()),signalsList:Gb(a.getSignalsList(),HEc)}};var lU=function(a){r.call(this,a,0,lU.messageId)};U(lU,r);lU.prototype.getNumTotalResults=function(){return Eh(this,2)};lU.prototype.getComponentsMap=function(){return Sj(this,3,Qj)};lU.prototype.getNextPageToken=function(){return V(this,4)};lU.repeatedFields_=[1];lU.prototype.toObject=function(){if(null!=this){t(this);var a={issuesWithSignalsList:Gb(Ch(this,Ro,1),IEc),numTotalResults:p(Ms(this,2)),componentsMap:Ib(this.getComponentsMap(),cE),nextPageToken:p(m(this,4))}}else a=void 0;return a};
lU.messageId="b.NeedsAttentionSearchResponse";var mU=function(a){r.call(this,a)};U(mU,r);mU.prototype.getIssueIdsList=function(){return fl(this,1)};mU.prototype.setIssueIdsList=function(a){return ob(this,1,a,bb)};mU.prototype.addIssueIds=function(a){sb(this,1,a)};mU.repeatedFields_=[1];mU.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(fl(this,1)),dismissed:p($q(this,2))}}else a=void 0;return a};var JEc=function(a){r.call(this,a,0,JEc.messageId)};U(JEc,r);JEc.prototype.toObject=function(){if(null!=this){t(this);var a={dismissTimestamp:wt(Z(this,yh,1))}}else a=void 0;return a};JEc.messageId="b.UpdateIssueDismissTimestampResponse";var nU=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};nU.prototype.listIssues=function(a,b,c){var d=this,e=(new GEc).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(pVa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:lU}).then(mVa).then(function(g){d.appEvents.needsAttentionIssueCount.next(g.numTotalResults||0);return g})};
var KEc=function(a,b,c){b=(new mU).setIssueIdsList(b.map(Uh));c=Ij(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:JEc}).then(oVa)};nU.\u0275fac=function(a){return new (a||nU)(u($C),u(SF))};nU.\u0275prov=mc({token:nU,factory:nU.\u0275fac,providedIn:"root"});var LEc=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"}]]),EEb=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 pU=function(a){this.api=a},MEc=function(a,b){return Dgc(a.api,xVa(b)).pipe(D(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 - "+tVa(g.status.outOfOffice.comeBackTime):g.status.hasOutsideWorkingHours?"Outside working hours - "+tVa(g.status.outsideWorkingHours.comeBackTime):void 0;g=(g=h)?{type:"Current Availability",text:g}:void 0;d=null!=g?g:wVa(d);return[e,d]});return new Map(c)}))};
pU.\u0275fac=function(a){return new (a||pU)(u(oI))};pU.\u0275prov=mc({token:pU,factory:pU.\u0275fac,providedIn:"root"});var NEc=new Nc("Worktracker API Key");var OEc=new Nc("Environment");var qU=function(a){r.call(this,a)};U(qU,r);f=qU.prototype;f.getIterationId=function(){return dj(this,1)};f.setIterationId=function(a){return xb(this,1,a)};f.getWorkspaceId=function(){return dj(this,2)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return Ni(this,3,a)};f.getName=function(){return V(this,4)};f.setName=function(a){return jj(this,4,a)};f.getHotlistId=function(){return dj(this,7)};f.setHotlistId=function(a){xb(this,7,a)};f.getStatus=function(){return W(this,8,0)};
f.setStatus=function(a){return Ni(this,8,a)};f.getTagsList=function(){return Qk(this,9)};f.getTags=function(a){return Ts(this,9,a)};f.setVelocity=function(a){return kj(this,11,a)};f.getStartTime=function(){return Z(this,yh,12)};f.setStartTime=function(a){Wi(this,yh,12,a)};f.getEndTime=function(){return Z(this,yh,13)};f.setEndTime=function(a){Wi(this,yh,13,a)};var PEc=Nb(qU);qU.repeatedFields_=[9];qU.prototype.toObject=function(){return QEc(this)};
var QEc=function(a){if(null!=a)return t(a),{iterationId:dj(a,1),workspaceId:dj(a,2),type:W(a,3,0),name:V(a,4),startUsecs:hJb(a,5),endUsecs:hJb(a,6),actualStartTime:wt(Z(a,yh,15)),actualEndTime:wt(Z(a,yh,14)),hotlistId:dj(a,7),status:W(a,8,0),tagsList:p(Qk(a,9)),capacity:ej(a,10),velocity:ej(a,11),startTime:wt(a.getStartTime()),endTime:wt(a.getEndTime()),iterationRecurrenceId:dj(a,16)}};var rU=function(a){r.call(this,a)};U(rU,r);rU.prototype.getIterationId=function(){return Ps(this,1)};rU.prototype.setIterationId=function(a){return rb(this,1,a,0)};rU.prototype.toObject=function(){if(null!=this){t(this);var a={iterationId:Ps(this,1)}}else a=void 0;return a};var REc=new yC("/google.corp.devtools.worktracker.v1.IterationService/GetIteration",rU,qU,function(a){return a.serialize()},PEc);var SEc=function(a){r.call(this,a)};U(SEc,r);SEc.repeatedFields_=[1];SEc.prototype.toObject=function(){return TEc(this)};var TEc=function(a){if(null!=a)return t(a),{launchIdsList:p(Gh(a,1))}};var UEc=function(a){r.call(this,a)};U(UEc,r);UEc.repeatedFields_=[1];UEc.prototype.toObject=function(){return VEc(this)};var VEc=function(a){if(null!=a)return t(a),{okrIdsList:p(Gh(a,1))}};var WEc=function(a){r.call(this,a)};U(WEc,r);WEc.prototype.getIssue=function(){return Z(this,KD,1)};WEc.prototype.setIssue=function(a){Wi(this,KD,1,a)};WEc.prototype.toObject=function(){return XEc(this)};var XEc=function(a){if(null!=a)return t(a),{issue:Z8b(a.getIssue()),legacyType:W(a,2,0)}};var YEc=function(a){r.call(this,a)};U(YEc,r);YEc.prototype.getIssue=function(){return Pj(this,WEc,1,ZEc)};YEc.prototype.setIssue=function(a){eo(this,1,ZEc,a)};var ZEc=[1];YEc.prototype.toObject=function(){return $Ec(this)};var $Ec=function(a){if(null!=a)return t(a),{issue:XEc(a.getIssue())}};var sU=function(a){r.call(this,a)};U(sU,r);sU.prototype.getId=function(){return V(this,1)};sU.prototype.setId=function(a){return jj(this,1,a)};sU.prototype.getPayload=function(){return Z(this,YEc,9)};var aFc=Nb(sU);sU.repeatedFields_=[11,12,7,10];sU.prototype.toObject=function(){return bFc(this)};
var bFc=function(a){if(null!=a){t(a);var b=V(a,1),c=$Ec(a.getPayload()),d=p(Gh(a,11)),e=Gb(Ch(a,qU,12),QEc),g=p(Gh(a,7)),h=Gj(a,8),l=p(Gh(a,10));var q=Sj(a,15,UEc);q=Ib(q,VEc);a=Sj(a,16,SEc);return{id:b,payload:c,tagIdsList:d,iterationsList:e,blockerIdsList:g,inboxItem:h,parentIdsList:l,okrIdsMap:q,launchIdsMap:Ib(a,TEc)}}};var eFc=function(){var a=wc(cFc),b=dFc;b=b||{};b.format="jspb";this.client_=new PC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};eFc.prototype.getIteration=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.IterationService/GetIteration",a,b||{},REc)};var fFc=function(a){r.call(this,a)};U(fFc,r);var gFc=function(a,b){return Di(a,1,b)};fFc.repeatedFields_=[1];fFc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemIdsList:p(Gh(this,1))}}else a=void 0;return a};var hFc=function(a){r.call(this,a)};U(hFc,r);var iFc=Nb(hFc);hFc.repeatedFields_=[1];hFc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemsList:Gb(Ch(this,sU,1),bFc)}}else a=void 0;return a};var jFc=new yC("/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",fFc,hFc,function(a){return a.serialize()},iFc);var kFc=function(a){r.call(this,a)};U(kFc,r);kFc.prototype.setWorkItemId=function(a){return jj(this,1,a)};kFc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:V(this,1)}}else a=void 0;return a};var lFc=new yC("/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",kFc,sU,function(a){return a.serialize()},aFc);var mFc=function(){var a=wc(cFc),b=dFc;b=b||{};b.format="jspb";this.client_=new PC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},nFc=function(a,b,c){return QC(a.client_,a.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",b,c||{},jFc)};mFc.prototype.getWorkItem=function(a){return QC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",a,{},lFc)};var cFc=new Nc("Worktracker API Endpoint",{factory:function(){switch(wc(OEc)){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"}}}),dFc={withCredentials:!0,suppressCorsPreflight:!0},oFc=new Nc("Workspaces Promise Client",{factory:function(){return new Vrc(wc(cFc),dFc)}}),pFc=new Nc("Iterations Promise Client",{factory:function(){return new eFc}}),
qFc=new Nc("Work Items Promise Client",{factory:function(){return new mFc}});var tU=function(){this.iterationsApi=wc(pFc);this.idToIterationMap=new Map;this.headers=Uo(wc(NEc))};tU.prototype.getIteration=function(a){if(this.idToIterationMap.has(a))return this.idToIterationMap.get(a);var b=(new rU).setIterationId(a);b=this.iterationsApi.getIteration(b,this.headers);this.idToIterationMap.set(a,b);return b};tU.\u0275fac=function(a){return new (a||tU)};tU.\u0275prov=mc({token:tU,factory:tU.\u0275fac,providedIn:"root"});var uU=function(){var a=this;this.workItemsApi=wc(qFc);this.headers=Uo(wc(NEc));this.task$=new E.ReplaySubject;this.taskToWorkItem$=zVa(this.task$).pipe(Oe(function(b){var c;return de(function(d){if(1==d.nextAddress)return d.yield(rFc(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))})}),Le())};
uU.prototype.getWorkItem=function(a){var b;if(null==(b=a.getResource())||!ap(b))return(0,E.of)(void 0);this.task$.next(a);return this.taskToWorkItem$.pipe(D(function(c){return c.get(a)}))};var rFc=function(a,b){var c,d;return de(function(e){if(1==e.nextAddress)return c=gFc(new fFc,b.map(function(g){return g.getTaskId()})),e.yield(nFc(a.workItemsApi,c,a.headers),2);d=e.yieldResult;return e.return(Ch(d,sU,1))})};uU.\u0275fac=function(a){return new (a||uU)};
uU.\u0275prov=mc({token:uU,factory:uU.\u0275fac,providedIn:"root"});var vU=function(){var a=this;this.workspacesApi=wc(oFc);this.workspaceIds$=(0,E.defer)(function(){return sFc(a)}).pipe(Le());this.headers=Uo(wc(NEc));this.workItemFetcher=wc(uU);this.iterationFetcher=wc(tU)},uFc=function(a,b){return(0,E.defer)(function(){return tFc(a,b)})},tFc=function(a,b){var c,d,e,g,h,l,q,x;return de(function(A){if(1==A.nextAddress)return A.yield(Promise.all([(0,E.firstValueFrom)(a.workItemFetcher.getWorkItem(b)),(0,E.firstValueFrom)(a.workspaceIds$)]),2);if(3!=A.nextAddress){c=
A.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;if(!h)return A.return(void 0);q=Ch(h,qU,12).filter(function(B){return l.includes(B.getWorkspaceId())});return A.yield(Promise.all(q.map(function(B){return a.iterationFetcher.getIteration(B.getIterationId())})),3)}x=A.yieldResult;return A.return(x.some(AVa)?"Current iteration":void 0)})},sFc=function(a){var b,c;return de(function(d){if(1==d.nextAddress)return b=Rrc(),d.yield(a.workspacesApi.list(b,a.headers),2);c=d.yieldResult;return d.return(Ch(c,
Kn,1).map(function(e){return e.getWorkspaceId()}))})};vU.\u0275fac=function(a){return new (a||vU)};vU.\u0275prov=mc({token:vU,factory:vU.\u0275fac,providedIn:"root"});var wU={},xU={},yU={},zU={},AU={},BU={},FVa=(BU[1]=(wU[1]=4419,wU[2]=19482,wU[3]=65108,wU[4]=78715,wU[5]=80067,wU[6]=15012,wU),BU[2]=(xU[1]=9078,xU[2]=63700,xU[3]=86383,xU[4]=148526,xU[5]=161988,xU[6]=80049,xU),BU[3]=(yU[1]=37536,yU[2]=89931,yU[3]=179965,yU[4]=274704,yU[5]=351444,yU[6]=237983,yU),BU[4]=(zU[1]=72484,zU[2]=191314,zU[3]=342430,zU[4]=444537,zU[5]=528272,zU[6]=417086,zU),BU[5]=(AU[1]=56493,AU[2]=167140,AU[3]=327933,AU[4]=425290,AU[5]=490491,AU[6]=436116,AU),BU);var vFc=function(a){r.call(this,a)};U(vFc,r);vFc.prototype.toObject=function(){if(null!=this){t(this);var a={changelistId:dj(this,1)}}else a=void 0;return a};var wFc=function(a){r.call(this,a)};U(wFc,r);f=wFc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return jj(this,1,a)};f.getId=function(){return V(this,2)};f.setId=function(a){return jj(this,2,a)};f.toObject=function(){return xFc(this)};var xFc=function(a){if(null!=a)return t(a),{name:V(a,1),id:V(a,2),rolloutTime:wt(Z(a,yh,3))}};var yFc=function(a){r.call(this,a)};U(yFc,r);yFc.prototype.toObject=function(){return zFc(this)};var zFc=function(a){if(null!=a)return t(a),{candidate:xFc(Z(a,wFc,1)),containsCl:Gj(a,2),artifactCorpus:V(a,3)}};var CU=function(a){r.call(this,a)};U(CU,r);CU.prototype.getName=function(){return V(this,2)};CU.prototype.setName=function(a){return jj(this,2,a)};CU.repeatedFields_=[5];CU.prototype.toObject=function(){return AFc(this)};var AFc=function(a){if(null!=a)return t(a),{name:V(a,2),candidateRolloutInfosList:Gb(Ch(a,yFc,5),zFc)}};var BFc=function(a){r.call(this,a)};U(BFc,r);BFc.prototype.getPackageName=function(){return V(this,2)};BFc.repeatedFields_=[3];BFc.prototype.toObject=function(){return CFc(this)};var CFc=function(a){if(null!=a)return t(a),{packageGroup:V(a,1),packageName:V(a,2),androidTracksList:Gb(Ch(a,CU,3),AFc)}};var DFc=function(a){r.call(this,a)};U(DFc,r);DFc.prototype.getName=function(){return V(this,1)};DFc.prototype.setName=function(a){return jj(this,1,a)};DFc.prototype.toObject=function(){return EFc(this)};var EFc=function(a){if(null!=a)return t(a),{name:V(a,1),cellStatus:W(a,2,0)}};var FFc=function(a){r.call(this,a)};U(FFc,r);f=FFc.prototype;f.getStartTime=function(){return Z(this,yh,1)};f.setStartTime=function(a){Wi(this,yh,1,a)};f.getEndTime=function(){return Z(this,yh,2)};f.setEndTime=function(a){Wi(this,yh,2,a)};f.toObject=function(){return GFc(this)};var GFc=function(a){if(null!=a)return t(a),{startTime:wt(a.getStartTime()),endTime:wt(a.getEndTime())}};var HFc=function(a){r.call(this,a)};U(HFc,r);f=HFc.prototype;f.getConfidence=function(){return ej(this,2)};f.getStatus=function(){return Z(this,AC,3)};f.setStatus=function(a){return Wi(this,AC,3,a)};f.hasStatus=function(){return Aj(this,AC,3)};f.toObject=function(){return IFc(this)};var IFc=function(a){if(null!=a)return t(a),{confidenceInterval:GFc(Z(a,FFc,1)),confidence:p(Es(a,2)),status:r6b(a.getStatus())}};var DU=function(a){r.call(this,a)};U(DU,r);DU.prototype.getName=function(){return V(this,1)};DU.prototype.setName=function(a){return jj(this,1,a)};DU.prototype.getUser=function(){return V(this,7)};DU.prototype.setUser=function(a){jj(this,7,a)};DU.repeatedFields_=[6,8];DU.prototype.toObject=function(){return JFc(this)};
var JFc=function(a){if(null!=a)return t(a),{name:V(a,1),user:V(a,7),changelistDeploymentStatus:W(a,2,0),clFirstReachedTimestamp:wt(Z(a,yh,3)),rapidCandidate:V(a,4),isFinalStage:Gj(a,5),cellDeploymentInfosList:Gb(Ch(a,DFc,6),EFc),currentRapidCandidatesList:Gb(Ch(a,wFc,8),xFc),clDeploymentHistoryMessage:V(a,9),releasePrediction:IFc(Z(a,HFc,10))}};var EU=function(a){r.call(this,a)};U(EU,r);EU.prototype.getName=function(){return V(this,1)};EU.prototype.setName=function(a){return jj(this,1,a)};EU.repeatedFields_=[2,5];EU.prototype.toObject=function(){return KFc(this)};var KFc=function(a){if(null!=a)return t(a),{name:V(a,1),environmentsList:Gb(Ch(a,DU,2),JFc),missingRapidProjectDataReason:W(a,3,0),androidReleaseInfosList:Gb(Ch(a,BFc,5),CFc)}};var LFc=function(a){r.call(this,a)};U(LFc,r);var MFc=Nb(LFc);LFc.repeatedFields_=[2];LFc.prototype.toObject=function(){if(null!=this){t(this);var a={submissionDeadlinePrediction:IFc(Z(this,HFc,1)),projectReleasePredictionsList:Gb(Ch(this,EU,2),KFc)}}else a=void 0;return a};var NFc=new yC("/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",vFc,LFc,function(a){return a.serialize()},MFc);var PFc=function(){var a=wc(OFc).endpoint;this.client_=new PC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};PFc.prototype.getChangelistReleaseSchedulePrediction=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",a,b||{},NFc)};var OFc=new Nc("Deployments config",{factory:function(){switch(wc(OEc)){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"}}}}),QFc=
new Nc("Context Service Promise Client",{factory:function(){return new PFc}}),FU=function(){this.headers=Uo(wc(OFc).apiKey);this.client=wc(QFc)},SFc=function(a,b){var c;return de(function(d){if(1==d.nextAddress)return d.yield(RFc(a,b),2);c=d.yieldResult;return d.return(c?uVa("Scheduled release in",c,12):void 0)})},RFc=function(a,b){var c,d,e,g,h;return de(function(l){if(1==l.nextAddress){var q=new vFc;c=xb(q,1,b);return l.yield(a.client.getChangelistReleaseSchedulePrediction(c,a.headers),2)}d=l.yieldResult;
return l.return(null==(e=Z(d,HFc,1))?void 0:null==(g=Z(e,FFc,1))?void 0:null==(h=g.getStartTime())?void 0:h.toDate())})};FU.\u0275fac=function(a){return new (a||FU)};FU.\u0275prov=mc({token:FU,factory:FU.\u0275fac,providedIn:"root"});var WVa=new Map;var GU=function(){var a=this;this.keyValueStore=new PA;this.initiallyHiddenTaskIds=TFc(this);this.hideEvent$=new E.Subject;this.hiddenTaskIdList$=this.hideEvent$.pipe(kWa(this.initiallyHiddenTaskIds),Qe(function(b){a.keyValueStore.setValue("task_prioritization.hidden_task_ids",b)}),Le({bufferSize:1,refCount:!1}));this.showHiddenMyWorkTasks$=new E.BehaviorSubject(!1);this.showHiddenNeedsMyInputTasks$=new E.BehaviorSubject(!1)};GU.prototype.hideTask=function(a){this.hideEvent$.next({id:a.id,type:"hidden"})};
GU.prototype.unhideTask=function(a){this.hideEvent$.next({id:a.id,type:"unhidden"})};var VFc=function(a){return(0,E.pipe)(Oe(function(b){return(0,E.combineLatest)(b.map(function(c){return UFc(a,c)}))}),D(function(b){return b.filter(Vo)}))};GU.prototype.isHidden=function(a){return this.hiddenTaskIdList$.pipe(D(function(b){return b.includes(a)}))};
var UFc=function(a,b){return(0,E.combineLatest)([b.isHidden$,b.isMyWork?a.showHiddenMyWorkTasks$:a.showHiddenNeedsMyInputTasks$]).pipe(D(function(c){c=k(c);var d=c.next().value;return c.next().value||!d?b:void 0}))},TFc=function(a){var b;return null!=(b=jWa(a.keyValueStore.getValue("task_prioritization.hidden_task_ids")))?b:[]};GU.\u0275fac=function(a){return new (a||GU)};GU.\u0275prov=mc({token:GU,factory:GU.\u0275fac,providedIn:"root"});var WFc=new Nc("G3C API Keys");var XFc=function(a){r.call(this,a)};U(XFc,r);XFc.repeatedFields_=[1];XFc.prototype.toObject=function(){if(null!=this){t(this);var a={taskSourcesList:p(Qk(this,1)),maxTaskAgeDays:Eh(this,2)}}else a=void 0;return a};var HU=function(a){r.call(this,a)};U(HU,r);HU.prototype.getTasksList=function(){return Ch(this,pC,1)};var YFc=Nb(HU);HU.repeatedFields_=[1];HU.prototype.toObject=function(){if(null!=this){t(this);var a={tasksList:Gb(this.getTasksList(),r5b)}}else a=void 0;return a};var ZFc=new yC("/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",XFc,HU,function(a){return a.serialize()},YFc);var aGc=function(){var a=wc($Fc).endpoint;this.client_=new PC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var $Fc=new Nc("Deployments config",{factory:function(){switch(wc(OEc)){case "Prod":return{endpoint:"https://devopsconsole-pa-googleapis.corp.google.com",apiKey:wc(WFc).prodApiKey};case "Staging":return{endpoint:"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:wc(WFc).stagingApiKey};default:return{endpoint:"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:wc(WFc).autopushApiKey}}}}),bGc=new Nc("Task Prioritization Promise Client",{factory:function(){return new aGc}}),
IU=function(){this.client=wc(bGc);this.headers=Uo(wc($Fc).apiKey)};IU.\u0275fac=function(a){return new (a||IU)};IU.\u0275prov=mc({token:IU,factory:IU.\u0275fac,providedIn:"root"});var JU=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 E.BehaviorSubject(!1);this.showAllNeedsMyInputTasks$=new E.BehaviorSubject(!1);this.tasks$=(0,E.defer)(function(){var h=g.taskFetcher,l=h.client;var q=new XFc;q=Yk(q,1,[3,2,1,4]);h=l.client_.serverStreaming(l.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",q,h.headers||{},ZFc);return yVa(h)}).pipe(oe(function(h){return cGc(g,
h)}),Le());this.allTasks$=this.tasks$.pipe(mWa());this.filteredTasks$=this.tasks$.pipe(dGc(this),mWa());this.readdedTasks$=(0,E.zip)(this.allTasks$,this.filteredTasks$).pipe(eGc(this))},fGc=function(a){return a.readdedTasks$.pipe(VFc(a.hiddenTasks))},gGc=function(a){return a.areAllTasksLoaded().pipe(Re(fGc(a)),D(function(b){b=k(b);b.next();return b.next().value.filter(function(c){return!c.isMyWork}).length}))};JU.prototype.areAllTasksLoaded=function(){return this.tasks$.pipe(Wia(void 0,[]),Ge(!0))};
var cGc=function(a,b){b=b.getTasksList().filter(function(e){return e.getResource()});var c=b.map(oWa),d=MEc(a.availability,c).pipe(Le());return(0,E.forkJoin)(b.map(function(e,g){var h=e.getResource(),l=V(h,1),q=e.getTaskId();return(0,E.forkJoin)([d.pipe(D(function(x){return x.get(c[g])})),(0,E.defer)(function(){return hGc(a,q,l)}),lWa(e),iGc(a,e),(0,E.of)(GVa(e))]).pipe(D(function(x){return x.filter(Vo)})).pipe(D(function(x){var A=h.getTitle(),B=h.getExternalLink(),K=[],O=K.concat;x=Pc(x);var P=(P=
ap(e.getResource()))?[3===P.getStatus()&&{type:"Accepted",text:"Accepted"},1===P.getPriority()&&{type:"P0",text:"P0"},DVa(P)&&{type:"Out of SLO",text:"Out of SLO"},EVa(P)&&{type:"Near SLO",text:"Near SLO"}].filter(Vo):[];P=Pc(P);var Y=(Y=Wo(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(Vo):[];Y=Pc(Y);var X=(X=bp(e.getResource()))?[Gj(X,25)&&
{type:"Docwrap Incoming",text:"Incoming review"},Gj(X,26)&&{type:"Docwrap Outgoing",text:"Outgoing review"}].filter(Vo):[];return{id:q,title:A,resourceUrl:B,signals:O.call(K,x,P,Y,Pc(X)),source:l,isHidden$:a.hiddenTasks.isHidden(q),isMyWork:nWa(e),resource:h,timestamp:h.getLastModifiedTimestamp()}}))}))},iGc=function(a,b){return uFc(a.iterations,b).pipe(D(function(c){return c?{type:"Current Iteration",text:c}:void 0}))},hGc=function(a,b,c){var d,e;return de(function(g){if(1==g.nextAddress){if("Critique"!==
c)return g.return(void 0);d=Number(b.slice(3));return g.yield(SFc(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)})},eGc=function(a){return(0,E.pipe)(Oe(function(b){b=k(b);var c=b.next().value,d=b.next().value;return(0,E.combineLatest)([a.showAllMyWorkTasks$,a.showAllNeedsMyInputTasks$]).pipe(D(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(BVa(h,function(q){return q.isMyWork}));h=l.next().value;l=l.next().value;e=e?h:[];g=g?l:[];return[].concat(Pc(d),Pc(e),Pc(g))}))}))},dGc=function(a){return(0,E.pipe)(D(function(b){var c=k(BVa(b,function(d){return a.hiddenTasks.initiallyHiddenTaskIds.includes(d.id)}));b=c.next().value;c=c.next().value;return[].concat(Pc(iWa(c)),Pc(b))}))};JU.\u0275fac=function(a){return new (a||JU)(u(pU),u(FU),u(vU),u(GU),u(IU))};JU.\u0275prov=mc({token:JU,factory:JU.\u0275fac,providedIn:"root"});var KU=function(a,b,c,d,e,g){jE.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 Zy(!0,[]);this.needsAttentionApi.listIssues(void 0,void 0,qVa()).then(function(l){l=k(l.issuesWithSignals);
for(var q=l.next();!q.done;q=l.next()){q=q.value;var x=void 0,A=void 0,B=(null!=(A=null==(x=q.issue)?void 0:x.majorModifiedTimeMicros)?A:0)/1E3,K=A=x=void 0,O=void 0;h.allAlerts=h.allAlerts.concat({type:"Buganizer",description:null!=(K=null==(x=q.issue)?void 0:null==(A=x.snapshot[0])?void 0:A.title)?K:"",signal:null!=(O=q.signals[0].signalType)?O:"SIGNAL_TYPE_UNKNOWN",timestamp:B,fullObject:q})}jGc(h)});this.areAllTasksLoaded$.pipe(Re(fGc(this.tasksService)),Pe(this.destroyed$)).subscribe(function(l){l=
k(l);l.next();l=l.next().value.filter(function(O){return"Buganizer"!==O.source});l=k(l);for(var q=l.next();!q.done;q=l.next()){q=q.value;var x=void 0,A=void 0,B=void 0,K=null!=(B=null==(x=q.signals[0])?void 0:null==(A=x.type)?void 0:A.toString())?B:"";x=void 0;A=Number(null!=(x=q.timestamp)?x:0);h.allAlerts.push({type:q.source,description:q.title,signal:K,timestamp:A,fullObject:q})}jGc(h)})};U(KU,jE);KU.\u0275dir=jE.\u0275dir;KU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-needs-attention"]};
KU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-needs-attention")};
var qWa=function(a){return a.selection.selected.length===a.allAlerts.length},jGc=function(a){a.allAlerts.sort(function(b,c){return c.timestamp-b.timestamp})},uWa=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=Ks(a.fullObject.resource,kC,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"}},HWa=function(a){if("Buganizer"===a.type){var b;return null==(b=LEc.get(a.signal))?void 0:b.text}return"Critique"===a.type&&""===a.signal?"In attention set":"Ariane"===a.type&&""===a.signal?(a=Ks(a.fullObject.resource,eC,9),a.getOwnedByMe()?"Launch owner":Gj(a,8)?"Launch bit approver":"Launch collaborator"):"Drive"===a.type&&""===a.signal?
(a=a.fullObject,b=Ks(a.resource,kC,5),b.getOwnedByMe()?kGc(a)+" owner":b.getSharedToMe()?kGc(a)+" shared with me":kGc(a)+" collaborator"):a.signal},kGc=function(a){var b;switch(null==(b=Ks(a.resource,kC,5))?void 0:b.getMimeType()){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";default:return"File"}},KWa=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=Ks(c.resource,jC,8),b.getNeedsAttention()&&b.getReviewerEmailsList().includes(a.currentUserEmail)?"Review CL":"View CL";if("Ariane"===b.type)return Gj(Ks(c.resource,eC,9),8)?"Review launch":"Open Launch";if("Drive"===b.type)return"View "+kGc(c)}return"Review"},GWa=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(Gj(Ks(a.fullObject.resource,eC,9),8))return"less-urgent"}else if("Drive"===a.type&&Gj(Ks(a.fullObject.resource,kC,5),25))return"less-urgent"}return""},zWa=function(a){var b;return null==(b=a.fullObject.issue)?void 0:b.snapshot[0].priority},PWa=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=Sl(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?En(a.domSafe,c):Pr(a.router,c)}else a.domSafe.openInNewTab(c.fullObject.resource.getExternalLink())};KU.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};
KU.\u0275fac=function(a){return new (a||KU)(C(ZH),C(nU),C(JU),C(YH),C(ZJ),C(vG))};
KU.\u0275cmp=Bc({type:KU,selectors:[["mvp-needs-attention"]],features:[Ye],decls:19,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","medium","collapse-btn",3,"click"],[1,"google-material-icons","small-button-icon"],["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&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," Needs attention "),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),G(6,"mat-icon",5),R(7,"expand_less"),H()(),Q(8,pWa,3,1,"div",6),S(9,"async"),H()(),G(10,"div",7)(11,"button",8),I(12,"mat-icon",9),H(),G(13,"mat-menu",null,10)(15,"p",11),R(16,"WIP"),H()()()(),Q(17,RWa,44,5,"div",12),S(18,"async"),H());if(a&2){var c=yf(14);mf("collapsed",b.isCollapsed());z(8);F("ngIf",T(9,5,b.areAllTasksLoaded$)&&
0<b.allAlerts.length);z(3);F("matMenuTriggerFor",c);z(6);F("ngIf",T(18,7,b.areAllTasksLoaded$))}},dependencies:[tw,JA,Yz,Zz,RB,QB,mL,eL,iL,fL,dL,jL,gL,hL,kL,lL,BN,YT,cU,bU,iK,dI,zw],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 $Wa=function(a){return{count:a}},LU=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(D(function(l){var q;return null!=
(q=null==l?void 0:l.relatedChildren.map(function(x){return x.targetIssueId}))?q:[]}));this.unarchivedProjectsCount$=this.projectIds$.pipe(D(function(l){return l.length}));this.rowCreated$=new E.Subject;this.showSuggestedProjects=!1;this.suggestLimit=4;this.suggestedProjects$=(0,E.combineLatest)([Qfc(this.projectSuggestService),Zec(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(D(function(l){l=k(l);var q=l.next().value,x=l.next().value.results.map(function(A){return A.issueId});return q.filter(function(A){return!x.includes(A)})}),
Oe(this.issueFridge.watchSet));this.modifyMenuItems=function(l,q){if(l.ancestorChain.parentNodeId===h.hackyPrefs.prefs.id){if(l=q.find(function(x){return"Unlink from parent"===x.label}))l.label="Remove project";if(l=q.find(function(x){return"Archive"===x.label}))l.label="Archive project";if(l=q.find(function(x){return"Create sibling"===x.label}))l.label="Create project"}return q}};LU.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.addExistingChild()};
LU.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.createChildIssue()};var VWa=function(a,b){a.hackyPrefs.prefs.projectFilters=b;a.hackyPrefs.save(a.hackyPrefs.prefs)};LU.prototype.addProject=function(a){this.hackyPrefs.prefs.id&&this.issueRelationshipsFridge.assignParentToOneIssue(this.hackyPrefs.prefs.id,a)};LU.\u0275fac=function(a){return new (a||LU)(C(ds),C(ZH),C(gJ),C(AH),C(cI),C(tH))};
LU.\u0275cmp=Bc({type:LU,selectors:[["my-projects"]],viewQuery:function(a,b){a&1&&Qf(cP,5);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"div",0)(1,"h2",1)(2,"div",2),I(3,"mat-icon",3),H(),R(4," My projects "),H(),Q(5,SWa,1,0,"ng-container",4),H(),Q(6,bXa,8,15,"section",5),Q(7,iXa,7,4,"div",6),Q(8,kXa,7,8,"ng-template",null,7,Vf));if(a&2){var c=
yf(9);mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(5);F("ngTemplateOutlet",c);z(1);F("ngIf",b.hackyPrefs.prefs.id);z(1);F("ngIf",b.showSuggestedProjects)}},dependencies:[sw,tw,yw,VO,JA,ZB,cP,dK,zL,zw],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 lGc=function(){return[]},mGc=Gn.EXPERIMENTAL_HOMEPAGE,MU=function(a,b,c,d,e,g){jE.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=rbc[1];this.SPACE_EMPTY_STATE=Xkc;this.log=console.log.bind(console);this.extractHotlistId=Cl;this.inferEntityType=Fl;this.extractSavedSearchId=Kva;this.suggestedHotlists$=this.hotlistSuggest.suggestedHotlists$;this.addProject=
function(l){null!=l&&pn(h.hackyPrefs,l)};a=this.hackyPrefs.getPinned().length;this.analytics.trackEvent(mGc,"display","selected-projects-"+a,a)};U(MU,jE);MU.\u0275dir=jE.\u0275dir;
MU.prototype.ngOnInit=function(){var a=this;1===this.hackyPrefs.getPinned().length&&this.suggestedHotlists$.pipe(Ce()).subscribe(function(b){var c=a.hackyPrefs.getPinned();if("hotlist"===Fl(c[0])){var d=Cl(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))}})};MU.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};
MU.prototype.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,l;return de(function(q){if(1==q.nextAddress)return q.yield(YCc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Dl));for(h=g.next();!h.done;h=g.next())l=h.value,pn(a.hackyPrefs,l);ie(q)})};MU.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())pn(a.hackyPrefs,El(c.value))}})};
ch.Object.defineProperties(MU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});MU.\u0275fac=function(a){return new (a||MU)(C(ZH),C(fS),C(oH),C(aT),C(HT),C(SH))};
MU.\u0275cmp=Bc({type:MU,selectors:[["my-projects-as-cards"]],features:[Ye],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&&(G(0,"h2"),R(1," My projects "),G(2,"button",0),M("click",function(){return b.onClickAdd()}),I(3,"mat-icon",1),H()(),G(4,"section",
2),Q(5,yXa,9,7,"ng-container",3),Q(6,zXa,11,1,"ng-container",4),Q(7,AXa,6,0,"ng-container",4),H(),Q(8,BXa,8,0,"aside",5));if(a&2){var c;z(5);F("ngForOf",b.prefs.pinned||Ef(4,lGc));z(1);F("ngIf",0===(b.prefs.pinned||Ef(5,lGc)).length);z(1);F("ngIf",0===(b.prefs.pinned||Ef(6,lGc)).length);z(1);F("ngIf",0<(null!==(c=b.prefs.pinned)&&void 0!==c?c:Ef(7,lGc)).length)}},dependencies:[sw,tw,uw,vw,ww,JA,Yz,Zz,cS,AS,BL,IS,ES,CL,dS],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 nGc=function(){return[]},oGc=Gn.EXPERIMENTAL_HOMEPAGE,NU=function(a,b,c,d,e,g,h,l){jE.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=rbc[1];this.SPACE_EMPTY_STATE=Xkc;this.log=console.log.bind(console);this.extractHotlistId=Cl;this.inferEntityType=Fl;this.extractSavedSearchId=Kva;this.extractIssueId=
Lva;this.addProject=function(x){null!=x&&pn(q.hackyPrefs,x)};a=this.hackyPrefs.getPinned().length;this.analytics.trackEvent(oGc,"display","selected-projects-"+a,a)};U(NU,jE);NU.\u0275dir=jE.\u0275dir;
var MXa=function(a,b){function c(x,A){var B,K,O,P;return null==x?void 0:null==(B=x.memory)?void 0:null==(K=B.cache)?void 0:null==(O=K.get)?void 0:null==(P=O.call(K,A))?void 0:P.data}switch(Fl(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=Lva(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=Cl(b);var l;return null==(l=c(a.hotlistFridge,b))?void 0:l.name;case "savedsearch":b=Kva(b);var q;return null==(q=c(a.savedSearchFridge,b))?void 0:q.name;default:console.warn("unknown reference type",b)}};f=NU.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 de(function(q){if(1==q.nextAddress)return q.yield(YCc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Dl));for(h=g.next();!h.done;h=g.next())l=h.value,pn(a.hackyPrefs,l);ie(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())pn(a.hackyPrefs,El(c.value))}})};
ch.Object.defineProperties(NU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});NU.\u0275fac=function(a){return new (a||NU)(C(ZH),C(fS),C(oH),C(aT),C(HT),C(tH),C($G),C(CH))};
NU.\u0275cmp=Bc({type:NU,selectors:[["my-projects-as-tabs"]],features:[Ye],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&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," My projects "),G(5,"button",4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()(),G(7,"div",6)(8,"button",7),M("click",function(){return b.onClickAdd()}),I(9,"mat-icon",8),H(),G(10,"button",9),I(11,"mat-icon",
10),H(),G(12,"mat-menu",null,11)(14,"p",12),R(15,"WIP"),H()()()(),G(16,"mat-tab-group",13),M("selectedIndexChange",function(d){return cp(b.hackyPrefs,{chosenTabForWork:d})}),Q(17,NXa,10,8,"ng-container",14),H()(),Q(18,PXa,2,1,"ng-container",15));if(a&2){var c=yf(13);mf("collapsed",b.isCollapsed());z(10);F("matMenuTriggerFor",c);z(6);F("selectedIndex",b.prefs.chosenTabForWork);z(1);F("ngForOf",b.prefs.pinned||Ef(6,nGc));z(1);F("ngIf",b.prefs.pinned)}},dependencies:[sw,tw,uw,vw,ww,JA,Yz,tM,sM,cS,BL,
IS,ES,yM,RB,QB],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 OU=function(a,b){this.hackyPrefs=a;this.queryIssues=b;this.DEFAULT_COLUMNS=vbc;this.assignedIssues$=qfc(this.queryIssues);this.assignedIds$=this.assignedIssues$.pipe(D(function(c){return c.map(function(d){return d.issueId})}))};OU.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed.MY_TASKS_AREA};OU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("MY_TASKS_AREA")};ch.Object.defineProperties(OU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
OU.\u0275fac=function(a){return new (a||OU)(C(ZH),C(RH))};
OU.\u0275cmp=Bc({type:OU,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&&(G(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," My tasks "),G(5,"button",
4),M("click",function(){return b.toggleCollapsed()}),I(6,"mat-icon",5),H()()(),G(7,"div",6)(8,"button",7),I(9,"mat-icon",8),H(),G(10,"mat-menu",null,9)(12,"p",10),R(13,"WIP"),H()()()(),G(14,"mat-tab-group",11)(15,"mat-tab",12),Q(16,QXa,2,3,"ng-container",13),S(17,"slice"),S(18,"async"),Q(19,RXa,1,0,"ng-template",null,14,Vf),H(),G(21,"mat-tab",15),R(22,"WIP. bar"),H(),G(23,"mat-tab",16),R(24,"WIP. baz"),H()(),G(25,"footer",17)(26,"a",18),R(27,"View all"),H()()());if(a&2){var c=yf(11),d=yf(20);mf("collapsed",
b.isCollapsed());z(8);F("matMenuTriggerFor",c);z(8);F("ngIf",Jf(17,5,T(18,9,b.assignedIds$),0,15))("ngIfElse",d)}},dependencies:[tw,JA,nL,Yz,tM,sM,zL,RB,QB,yM,zw,Gw],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 pGc="NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" "),PU=function(a,b,c,d,e){jE.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(T7b).filter(function(g){return"SIGNAL_TYPE_UNKNOWN"!==g&&"ASSIGNED"!==g&&"REPLIED_TO_MENTION"!==g&&"NEWLY_BLOCKING"!==g});this.selectedSignals=[].concat(Pc(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)};U(PU,jE);PU.\u0275dir=jE.\u0275dir;
PU.prototype.ngOnInit=function(){var a=this;qGc(this);this.destroyed$.pipe(Ce()).subscribe(function(){var b;null==(b=a.snackbarRef)||b.dismiss()})};
var qGc=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,pGc).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()})},
rGc=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})};
PU.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a]=!0;KEc(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(Ce()).subscribe(function(d){d.dismissedByAction&&
sGc(b,a)})})};var sGc=function(a,b){KEc(a.needsAttentionApi,[b],!1).then(function(){a.needsAttentionIssues.splice(a.lastDismissedIssueIndex,0,a.lastDismissedIssue);a.cdr.detectChanges();a.snackbar.open({message:"Issue un-dismissed"})})};PU.prototype.selectAllSignals=function(){this.selectedSignals=[].concat(Pc(this.ALL_SIGNAL_TYPES))};PU.prototype.toggleSignal=function(a){var b=this.selectedSignals.indexOf(a);-1===b?this.selectedSignals.push(a):this.selectedSignals.splice(b,1)};
var WXa=function(a,b){return(a.issueToSignalsMap.get(b)||[]).find(function(c){return a.selectedSignals.includes(c.signalType)})||null};
PU.prototype.getSignalTypeTooltip=function(a){a=WXa(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 SXa=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""}};PU.\u0275fac=function(a){return new (a||PU)(C(nU),C(JF),C(ZH),C(hK),C(kH,2))};
PU.\u0275cmp=Bc({type:PU,selectors:[["needs-attention-widget"]],features:[Cf([kH]),Ye],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&&(G(0,"h2"),R(1," Needs attention "),G(2,"span",0),R(3),H()(),G(4,"section",1)(5,"span",2),M("click",function(){return b.selectAllSignals()}),R(6," All "),H(),Q(7,UXa,2,1,"ng-container",3),H(),G(8,"section",4),Q(9,XXa,2,1,"ng-container",3),H());a&2&&(mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(3),zf("(",b.needsAttentionIssues.length,")"),z(1),mf("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),mf("selected",b.selectedSignals.length===b.ALL_SIGNAL_TYPES.length),z(2),F("ngForOf",b.ALL_SIGNAL_TYPES),z(1),mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(1),F("ngForOf",rGc(b)))},dependencies:[dK,sw,tw,JA,ZB],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 QU=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:""}]])};
QU.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"}};QU.\u0275fac=function(a){return new (a||QU)(C(hK))};
QU.\u0275cmp=Bc({type:QU,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&&Q(0,YXa,2,5,"span",0);a&2&&F("ngIf",b.SIGNAL_MAPPING.get(b.signal.signalType))},dependencies:[tw,JA,ZB],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 RU=function(a,b,c,d,e,g,h){PU.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"]};U(RU,PU);RU.\u0275dir=PU.\u0275dir;RU.prototype.getIssueIdsToDisplay=function(){return rGc(this).map(function(a){return a.issueId})};
RU.prototype.navigateToIssue=function(a,b,c){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=Sl(c.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?En(this.domSafe,b):Pr(this.router,b))};RU.\u0275fac=function(a){return new (a||RU)(C(nU),C(JF),C(ZH),C(hK),C(ZJ),C(vG),C(kH,2))};
RU.\u0275cmp=Bc({type:RU,selectors:[["needs-attention-table"]],features:[Cf([kH]),Ye],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&&(G(0,"div",0)(1,"h2"),
R(2," Needs attention "),G(3,"span",1),R(4),H()()(),G(5,"div",2),Q(6,cYa,3,7,"flat-issues-table",3),Q(7,dYa,2,0,"ng-template",null,4,Vf),H());if(a&2){var c=yf(8);z(1);mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);zf("(",b.needsAttentionIssues.length,")");z(2);F("ngIf",0<b.getIssueIdsToDisplay().length)("ngIfElse",c)}},dependencies:[tw,Yz,nL,oL,QU],styles:["h2[_ngcontent-%COMP%] {\n      min-height: 40px; \n\n      line-height: 40px;\n    }"],changeDetection:0});var tGc=function(){return[]},uGc=function(a,b,c){this.hackyPrefs=a;this.issueFridge=b;this.refreshMonitor=c;this.SECTION_SLUG="pinned-issues";this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(D(function(d){var e;return null!=(e=null==d?void 0:d.pinned)?e:[]}),Oe(this.issueFridge.watchSet))};uGc.\u0275fac=function(a){return new (a||uGc)(C(ZH),C(tH),C(rH))};
uGc.\u0275cmp=Bc({type:uGc,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&&(G(0,"h4"),R(1," Pinned "),G(2,"span",0),R(3),S(4,"async"),H()(),G(5,"section",1),Q(6,eYa,2,1,"ng-container",2),S(7,"async"),Q(8,fYa,2,0,"ng-container",3),S(9,"async"),H());if(a&2){var c,d;mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);
zf(" (",(null!==(c=T(4,7,b.pinnedIssues$))&&void 0!==c?c:Ef(13,tGc)).length,")");z(2);mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);F("ngForOf",T(7,9,b.pinnedIssues$));z(2);F("ngIf",0===(null==(d=T(9,11,b.pinnedIssues$))?null:d.length))}},dependencies:[dK,sw,tw,zw],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 vGc=oec("edited-ids"),wGc=mec("edited-ids"),xGc=oec("viewed-ids"),yGc=mec("viewed-ids"),SU=function(a){var b=this;this.appEvents=a;this.stop$=new E.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){gYa(b.viewed,c);xGc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){gYa(b.edited,c);vGc(Array.from(b.edited.keys()).join(","))}};SU.\u0275fac=function(a){return new (a||SU)(u(SF))};SU.\u0275prov=mc({token:SU,factory:SU.\u0275fac,providedIn:"root"});var kYa=function(){return[]},TU=function(a,b,c,d,e,g){jE.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(D(function(h){var l;
return null!=(l=null==h?void 0:h.pinned)?l:[]}),Oe(this.issueFridge.watchSet))};U(TU,jE);TU.\u0275dir=jE.\u0275dir;
TU.prototype.getIssueIdsToDisplay=function(){var a=this,b=0,c=this.hackyPrefs.getPinned().length;b=0===c?20:3>c?10:5;this.recentIds=Array.from(this.issueLru.viewed.keys());c=Gl();5>this.recentIds.length||c&&c!==Hl?(c||(c=Hl),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(Pe(this.destroyed$),
D(function(d){return d.results}),D(function(d){return d.filter(function(e){return zGc(a,e)}).map(function(e){return e.issueId})}))):this.issueIdsToDisplay$=this.issueFridge.watchSet(this.recentIds).pipe(Ce(),Pe(this.destroyed$),D(function(d){return d.filter(function(e){return zGc(a,e)}).map(function(e){return e.issueId}).reverse().slice(0,b)}))};TU.prototype.ngOnInit=function(){var a=this;this.getIssueIdsToDisplay();this.refreshMonitor.getObservable().pipe(Pe(this.destroyed$)).subscribe(function(){a.getIssueIdsToDisplay()})};
var zGc=function(a,b){var c=b.snapshot[0],d,e=null!=(d=a.hackyPrefs.prefs.id)?d:"";if(oYa(a,b.issueId))return!1;if(zva(b.ancestors).includes(e))return!0;if(!vl(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},AGc=function(a){fA(a.matDialogService.open(xCc,{data:{currentColumns:a.columnsToDisplay},width:"500px"})).subscribe(function(b){a.columnsToDisplay=
[].concat(Pc(b))})},oYa=function(a,b){return a.hackyPrefs.getPinned().includes(b)};ch.Object.defineProperties(TU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});TU.\u0275fac=function(a){return new (a||TU)(C(ds),C(tH),C(SU),C(ZH),C(kA),C(rH))};
TU.\u0275cmp=Bc({type:TU,selectors:[["recently-viewed-i-own"]],features:[Ye],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&&(G(0,"section",0),Q(1,lYa,6,7,"ng-container",
1),G(2,"div",2)(3,"h4",3),R(4," Recent issues "),H(),G(5,"button",4),M("click",function(){return AGc(b)}),G(6,"mat-icon",5),R(7,"view_column"),H()()(),G(8,"flat-issues-table",6),S(9,"async"),Q(10,pYa,3,2,"span",7),H()());a&2&&(z(1),F("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),mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),z(5),mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
F("issueIds",T(9,9,b.issueIdsToDisplay$))("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),z(2),F("forViewCell","pin"))},dependencies:[sw,tw,JA,nL,oL,Yz,dK,zw],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 UU=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$};UU.prototype.ngOnInit=function(){};UU.\u0275fac=function(a){return new (a||UU)(C(aI),C(ZH))};
UU.\u0275cmp=Bc({type:UU,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&&(G(0,"div",0)(1,"h2",1),M("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),R(2," Suggested Issues "),H()(),G(3,"div",2),Q(4,qYa,2,4,"ng-container",3),S(5,"async"),H(),Q(6,rYa,1,0,"ng-template",
null,4,Vf));if(a&2){var c=yf(7);z(1);mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(3);F("ngIf",T(5,4,b.issueIdsToDisplay$))("ngIfElse",c)}},dependencies:[tw,nL,zL,zw],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 VU=function(a){this.teamsService=a;this.onTeamLoaded=new E.ReplaySubject(1);this.teamName$=new E.BehaviorSubject("");this.isTeamLoaded=!1};VU.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):IH(this.teamsService,String(this.teamId)).pipe(Ce(),D(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
VU.\u0275fac=function(a){return new (a||VU)(C(HH))};
VU.\u0275cmp=Bc({type:VU,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[Uc],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&&(G(0,"b-async-data-placeholder",0),Q(1,sYa,4,4,"div",1),
S(2,"async"),H(),G(3,"onedev-hovercard",null,2),J(5),I(6,"b-team-card",3),L(),H());if(a&2){var c;F("isReady",b.isTeamLoaded);z(1);F("ngIf",T(2,4,b.teamName$));z(5);F("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[tw,JA,jK,xJ,CJ,oK,zw],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var WU=function(a,b){jE.call(this);this.teamActivity=a;this.hackyPrefs=b;this.toIssuePriority=kl;this.teamInfoHidden=!0};U(WU,jE);WU.\u0275dir=jE.\u0275dir;f=WU.prototype;f.ngOnInit=function(){var a=this;this.teamActivity.interestingEventsForTeamActivity$.pipe(Pe(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 ci(a.userPerformingActionUser)};f.clAuthorToUser=function(a){return{emailAddress:Bl(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return Bl(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(Pc(a.preDiffs),Pc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(Pc(a.preDiffs),Pc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};f.getIssueDetailsUrl=function(a){return"http://b/issues/"+a};ch.Object.defineProperties(WU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});WU.\u0275fac=function(a){return new (a||WU)(C($H),C(ZH))};
WU.\u0275cmp=Bc({type:WU,selectors:[["team-activity-stream"]],features:[Ye],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&&(G(0,"h2"),R(1," Team activity "),G(2,"button",0),M("click",function(){return b.teamInfoHidden=
!b.teamInfoHidden}),I(3,"mat-icon",1),H(),G(4,"aside")(5,"p",2),R(6,"Our use of the Teams API returns a "),G(7,"a",3),R(8,"large set"),H(),R(9," of suggested teams via "),G(10,"code"),R(11,"collapsed_parent_chain"),H(),R(12,"."),H(),Q(13,tYa,1,1,"b-team-chip",4),G(14,"a",5),R(15,"edit"),H()()(),Q(16,AYa,2,1,"div",6));a&2&&(mf("teamInfoHidden",b.teamInfoHidden),z(13),F("ngForOf",b.prefs.teamIds),z(1),vf("href","/issues/",b.prefs.id,"",Id),z(2),F("ngIf",b.teamActivityEvents))},dependencies:[sw,tw,uw,
vw,ww,JA,cK,uL,tL,rL,iK,dI,Yz,VU],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 EYa=function(a){return{$implicit:a}},XU=function(a,b){this.issueFridge=a;this.hackyPrefs=b;this.STATUS_TERSE=SE;this.encodeURIComponent=encodeURIComponent;this.teamInfoHidden=!0;this.highPriorityFilter="("+QYa(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="("+QYa(this.prefs.teamIds)+") -priority:(p0 | p1) modified:7d status:open";
this.feedback$=this.issueFridge.watchMany({filter:this.feedbackFilter,sort:"created_time:desc",pageSize:10})};ch.Object.defineProperties(XU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});XU.\u0275fac=function(a){return new (a||XU)(C(tH),C(ZH))};
XU.\u0275cmp=Bc({type:XU,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&&(G(0,"h2"),R(1," My team "),G(2,"button",0),M("click",function(){return b.teamInfoHidden=!b.teamInfoHidden}),I(3,"mat-icon",1),H(),G(4,"aside")(5,"p",2),R(6,"Our use of the Teams API returns a "),G(7,"a",3),R(8,
"large set"),H(),R(9," of suggested teams via "),G(10,"code"),R(11,"collapsed_parent_chain"),H(),R(12,"."),H(),Q(13,BYa,1,1,"b-team-chip",4),G(14,"a",5),R(15,"edit"),H()()(),G(16,"section",6)(17,"div")(18,"header")(19,"h4",7),M("click",function(){b.hackyPrefs.toggleCollapsed("team-high-priority")}),R(20," High Priority "),H(),G(21,"a",8),R(22),S(23,"number"),S(24,"async"),H()(),Q(25,GYa,3,1,"div",9),S(26,"async"),H(),G(27,"div")(28,"header")(29,"h4",10),M("click",function(){b.hackyPrefs.toggleCollapsed("team-recent")}),
R(30," Recent Feedback "),H(),G(31,"a",8),R(32),S(33,"number"),S(34,"async"),H()(),Q(35,KYa,3,1,"div",9),S(36,"async"),H()(),Q(37,PYa,16,11,"ng-template",null,11,Vf));if(a&2){var c,d;mf("teamInfoHidden",b.teamInfoHidden);z(13);F("ngForOf",b.prefs.teamIds);z(1);vf("href","/issues/",b.prefs.id,"",Id);z(3);mf("collapsed",b.prefs.collapsed["team-high-priority"]);z(4);vf("href","/issues?q=",b.encodeURIComponent(b.highPriorityFilter),"",Id);z(1);zf("(",T(23,14,null==(c=T(24,16,b.highPriority$))?null:c.totalSize),
")");z(3);F("ngIf",T(26,18,b.highPriority$));z(2);mf("collapsed",b.prefs.collapsed["team-recent"]);z(4);vf("href","/issues?q=",b.encodeURIComponent(b.feedbackFilter),"",Id);z(1);zf("(",T(33,20,null==(d=T(34,22,b.feedback$))?null:d.totalSize),")");z(3);F("ngIf",T(36,24,b.feedback$))}},dependencies:[sw,tw,yw,JA,xJ,yJ,CJ,zJ,vO,Yz,VU,zw,Fw],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 BGc=function(){return[]},YU=function(a,b){jE.call(this);this.hackyPrefs=a;this.issueFridge=b;this.SECTION_SLUG="working-on-this-week";this.weekIssues$=(0,E.of)([]);Hfc(a);this.weekIssues$=this.hackyPrefs.prefs$.pipe(Pe(this.destroyed$),D(function(c){var d,e;return null!=(e=null==c?void 0:null==(d=c.issuesThisWeek)?void 0:d.issues)?e:[]}),Oe(this.issueFridge.watchSet))};U(YU,jE);YU.\u0275dir=jE.\u0275dir;YU.\u0275fac=function(a){return new (a||YU)(C(ZH),C(tH))};
YU.\u0275cmp=Bc({type:YU,selectors:[["working-on-this-week"]],features:[Ye],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&&(G(0,"h4",0)(1,"span",1),M("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),R(2,"Working on this week "),G(3,"span",2),R(4),S(5,"async"),H()()(),G(6,"section",3),Q(7,RYa,2,2,"ng-container",
4),S(8,"async"),H());if(a&2){var c;mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(4);zf(" (",(null!==(c=T(5,6,b.weekIssues$))&&void 0!==c?c:Ef(10,BGc)).length,")");z(2);mf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);z(1);F("ngForOf",T(8,8,b.weekIssues$))}},dependencies:[dK,sw,zw],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 ZU=function(a,b,c){jE.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(Pe(this.destroyed$)).subscribe(function(h){var l;d.trackerName=null!=(l=null==h?void 0:h.name)?l:""}))};U(ZU,jE);ZU.\u0275dir=jE.\u0275dir;
ZU.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};ZU.\u0275fac=function(a){return new (a||ZU)(u(iE),u(ds),u(sK))};ZU.\u0275prov=mc({token:ZU,factory:ZU.\u0275fac,providedIn:"root"});var CGc=new Nc("Analytics");var $U=function(a){this.clientStreamzService=a;this.analytics=wc(CGc,{optional:!0})};$U.prototype.logTaskOpenedMetric=function(a){DGc(this,"task_opened",a);var b;null==(b=this.analytics)||b.logTaskOpened()};$U.prototype.logUsageMetric=function(a,b){this.clientStreamzService.logUsageMetric("task_prioritization."+a,b)};
var DGc=function(a,b,c){var d=V(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)}};$U.\u0275fac=function(a){return new (a||$U)(u(GB))};$U.\u0275prov=mc({token:$U,factory:$U.\u0275fac,providedIn:"root"});var EGc=new Nc("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var aV=function(a,b){this.elementRef=a;this.options=b};aV.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};aV.\u0275fac=function(a){return new (a||aV)(C(rd),C(EGc))};
aV.\u0275dir=Gc({type:aV,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&&mf("gmat-mdc-button",!b.options.disableGmatStyle)}});var bV=function(){};bV.\u0275fac=function(a){return new (a||bV)};bV.\u0275mod=Dc({type:bV});bV.\u0275inj=nc({providers:[{provide:q7b,useValue:{color:"primary"}}],imports:[VC]});var FGc=new Nc("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var GGc=function(a,b){a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-tooltip")};GGc.\u0275fac=function(a){return new (a||GGc)(C(FGc),C(oz))};GGc.\u0275dir=Gc({type:GGc,selectors:[["","matTooltip",""]],features:[Cf([{provide:oz,useClass:dU}])]});var cV=function(){};cV.\u0275fac=function(a){return new (a||cV)};cV.\u0275mod=Dc({type:cV});cV.\u0275inj=nc({imports:[XB]});var XYa=function(){return[]},YYa=function(){return["zero-state"]},dV=function(a,b){this.hiddenTasks=a;this.metrics=b;this.tasks=[];this.areTasksHidden=this.showZeroState=!1;this.showHiddenTasks=new Vv;this.displayedColumns=["title","signals","actions"]};dV.prototype.hideTask=function(a){this.hiddenTasks.hideTask(a);this.metrics.logUsageMetric("task_hidden",!0)};dV.prototype.unhideTask=function(a){this.hiddenTasks.unhideTask(a);this.metrics.logUsageMetric("task_hidden",!1)};
dV.prototype.logTaskOpenedMetric=function(a){this.metrics.logTaskOpenedMetric(a)};dV.\u0275fac=function(a){return new (a||dV)(C(GU),C($U))};
dV.\u0275cmp=Bc({type:dV,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&&
(Q(0,ZYa,6,6,"mat-table",0),Q(1,kZa,12,3,"ng-template",null,1,Vf));if(a&2){var c=yf(2);F("ngIf",b.showZeroState)("ngIfElse",c)}},dependencies:function(){return[sw,tw,aV,Jz,fU,qN,iN,mN,jN,hN,nN,kN,lN,oN,pN,GGc,VB,JA,zw,eV]},styles:['.mdc-data-table[_ngcontent-%COMP%]{background-color:var(--mdc-theme-surface,#fff);border-color:rgba(0,0,0,.12)}.mdc-data-table__row[_ngcontent-%COMP%]{background-color:inherit}.mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--mdc-theme-surface,#fff)}.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:rgba(33,150,243,.04)}.mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:rgba(0,0,0,.12)}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(0,0,0,.12)}.mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:rgba(0,0,0,.12)}.mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(0,0,0,.04)}.mdc-data-table__header-cell[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-mdc-table[_ngcontent-%COMP%]{background:#fff}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]{height:52px}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{min-height:52px}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-row[_ngcontent-%COMP%]{height:56px}.mdc-data-table__content[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-body2-font-size,14px);line-height:var(--mdc-typography-body2-line-height,20px);font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:var(--mdc-typography-body2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:var(--mdc-typography-body2-text-transform,none)}.mdc-data-table__cell[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-body2-font-size,14px);line-height:var(--mdc-typography-body2-line-height,20px);font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:var(--mdc-typography-body2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:var(--mdc-typography-body2-text-transform,none)}.mdc-data-table__header-cell[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-subtitle2-font-size,14px);line-height:var(--mdc-typography-subtitle2-line-height,24px);font-weight:var(--mdc-typography-subtitle2-font-weight,500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-transform:var(--mdc-typography-subtitle2-text-transform,none)}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:#fff;border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:#fff}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:#3c4043}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:#e3f2fd}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(32,33,36,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#5f6368}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#5f6368)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#202124)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:inherit}.gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(60,64,67,.04);--odw-mdc-row-selected:var(--blue-50);--odw-mdc-row-selected-hover:rgba(232,240,254,.5)}.dark-mode[_ngcontent-%COMP%]   .gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(232,234,237,.04);--odw-mdc-row-selected:rgba(138,180,248,.24);--odw-mdc-row-selected-hover:rgba(138,180,248,.12)}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:var(--hairline)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:hover, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:var(--odw-mdc-row-hover)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:var(--odw-mdc-row-selected)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]:hover{background-color:var(--odw-mdc-row-selected-hover)}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:normal}.gmat-mdc-tooltip[_ngcontent-%COMP%]   .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 eV=function(){};eV.prototype.transform=function(a){var b={};return(b.Ariane="launch",b.Buganizer="buganizer",b.Critique="critique",b.Drive="docs",b)[a.source]};eV.\u0275fac=function(a){return new (a||eV)};eV.\u0275pipe=Hc({name:"taskIcon",type:eV,pure:!0});var fV=function(){};fV.\u0275fac=function(a){return new (a||fV)};fV.\u0275mod=Dc({type:fV});fV.\u0275inj=nc({imports:[Hw,bV,gU,cV,$B]});var HGc=new fK(3);var IGc=new Nc("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var gV=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new E.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");lZa(b._elementRef.nativeElement).pipe(Pe(this.destroyed)).subscribe(function(d){JGc(c,d[0],d[1])})};
gV.prototype.ngOnInit=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");JGc(this,null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};gV.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var JGc=function(a,b,c){b="indeterminate"===c?b:b+" "+HGc.format(Number(c)/100);a.labelElement.textContent=b};gV.\u0275fac=function(a){return new (a||gV)(C(IGc),C(wL,10))};gV.\u0275dir=Gc({type:gV,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(bf("tabindex",null),mf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var hV=function(){};hV.\u0275fac=function(a){return new (a||hV)};hV.\u0275mod=Dc({type:hV});hV.\u0275inj=nc({imports:[xL]});var KGc=hs(["https://fonts.gstatic.com/s/i/productlogos/buganizer/v1/192px.svg"]),LGc=hs(["https://fonts.gstatic.com/s/i/productlogos/critique/v1/192px.svg"]),MGc=hs(["https://fonts.gstatic.com/s/i/productlogos/docs_2020q4/v12/192px.svg"]),NGc=hs(["https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg"]),OGc=hs(["https://fonts.gstatic.com/s/i/productlogos/taskflow/v1/192px.svg"]),PGc=hs(["//googledata/icons/vf/material_next/svg/block/googlesymbols:default_48px.svg"]),QGc=hs(["//googledata/icons/vf/material_next/svg/alternate_email/googlesymbols:default_48px.svg"]),
RGc=hs(["//googledata/icons/vf/material_next/svg/schedule/googlesymbols:default_48px.svg"]),SGc=hs(["//googledata/icons/vf/material_next/svg/unblock_flipped/googlesymbols:default_48px.svg"]),TGc=hs(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility/v16/24px.svg"]),UGc=hs(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility_off/v12/24px.svg"]),wZa=function(a,b){return{showHidden:a,viewAll:b}},VGc=function(a,b){return{areAllTasksLoaded:a,tasks:b}},iV=function(a,b,c,d){this.tasksService=
b;this.hiddenTasks=c;this.metrics=d;this.tasks$=fGc(this.tasksService).pipe(WGc(this));this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.areTasksFiltered$=XGc(this);this.areTasksHidden$=this.areTasksHidden();this.destroyed$=new E.Subject;a.setDefaultFontSetClass("google-material-icons","mat-ligature-font");IA(a,"buganizer",Bg(KGc));IA(a,"critique",Bg(LGc));IA(a,"docs",Bg(MGc));IA(a,"launch",Bg(NGc));IA(a,"taskflow",Bg(OGc));IA(a,"blocking",Bg(PGc));IA(a,"mention",Bg(QGc));IA(a,"time",
Bg(RGc));IA(a,"unblocked",Bg(SGc));IA(a,"hide_task",Bg(TGc));IA(a,"show_task",Bg(UGc))};iV.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);YGc(this)};
iV.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};iV.prototype.setShowHidden=function(a){this.showHidden$.next(a);this.metrics.logUsageMetric("toggle_show_hidden",a)};
var YGc=function(a){a.areAllTasksLoaded$.pipe(Re(a.tasks$),Pe(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())DGc(b,"task_shown",d.value)})};
iV.prototype.areTasksHidden=function(){var a=this.tasksService.readdedTasks$.pipe(WGc(this)),b=this.tasks$.pipe(Oe(function(c){return(0,E.combineLatest)(c.map(function(d){return d.isHidden$}))}),D(function(c){return c.filter(function(d){return!d})}),Ne([]));return(0,E.combineLatest)([a,b]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))};
var XGc=function(a){var b=a.tasksService.allTasks$.pipe(WGc(a));a=a.tasksService.filteredTasks$.pipe(WGc(a));return(0,E.zip)(b,a).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))},WGc=function(a){return(0,E.pipe)(D(function(b){return b.filter(function(c){return a.isMyWork===c.isMyWork})}))};ch.Object.defineProperties(iV.prototype,{reccTasks:{configurable:!0,enumerable:!0,get:function(){return this.isMyWork}},needsInput:{configurable:!0,enumerable:!0,get:function(){return!this.isMyWork}}});
iV.\u0275fac=function(a){return new (a||iV)(C(HA),C(JU),C(GU),C($U))};
iV.\u0275cmp=Bc({type:iV,selectors:[["tp-task-section"]],hostVars:2,hostBindings:function(a,b){a&2&&bf("data-recc-tasks",b.reccTasks)("data-needs-input",b.needsInput)},inputs:{isMyWork:"isMyWork"},standalone:!0,features:[Cf([HA]),Dka],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&&(tf(),G(0,"div",0)(1,"h2",1),Q(2,mZa,2,0,"ng-container",2),Q(3,nZa,2,0,"ng-container",2),H(),Q(4,oZa,1,1,"mat-progress-spinner",3),S(5,"async"),Q(6,xZa,4,8,"ng-template",null,4,Vf),H(),Q(8,zZa,2,1,"ng-container",2),S(9,"async"),
S(10,"async"));if(a&2){var c=yf(7);z(2);F("ngIf",b.isMyWork);z(1);F("ngIf",!b.isMyWork);z(1);F("ngIf",!T(5,5,b.areAllTasksLoaded$))("ngIfElse",c);z(4);F("ngIf",Gf(11,VGc,T(9,7,b.areAllTasksLoaded$),T(10,9,b.tasks$)))}},dependencies:[Hw,tw,zw,bV,aV,Hz,hV,gV,wL,$B,fV,dV],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 ZGc=[[["","needsInputBadge",""]]],jV=function(a){this.route=a};jV.prototype.ngOnInit=function(){};jV.\u0275fac=function(a){return new (a||jV)(C(jm))};
jV.\u0275cmp=Bc({type:jV,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&&(tf(ZGc),G(0,"div",0)(1,"div",1)(2,"div",2),I(3,"tp-task-section",3),G(4,"tp-task-section",3),uf(5),H()()()());a&2&&(z(3),F("isMyWork",!0),z(1),F("isMyWork",!1))},dependencies:[iV],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 $Gc=["button"],aHc=new Nc("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),bHc=new Nc("MatButtonToggleGroup"),cHc={provide:Jw,useExisting:sc(function(){return kV}),multi:!0},dHc=0,eHc=function(a,b){this.source=a;this.value=b},kV=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-"+dHc++;this.valueChange=new Vv;this.change=new Vv;this.appearance=b&&b.appearance?
b.appearance:"legacy"};f=kV.prototype;f.ngOnInit=function(){this._selectionModel=new Zy(this.multiple,void 0,!1)};f.ngAfterContentInit=function(){this._selectionModel.select.apply(this._selectionModel,Pc(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 eHc(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()})};
ch.Object.defineProperties(kV.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=tg(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=tg(a);this._markButtonsForCheck()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=tg(a);this._markButtonsForCheck()}}});
kV.\u0275fac=function(a){return new (a||kV)(C(mw),C(aHc,8))};
kV.\u0275dir=Gc({type:kV,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,b,c){a&1&&Rf(c,lV,5);if(a&2){var d;Pf(d=Sf())&&(b._buttonToggles=d)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(a,b){a&2&&(bf("aria-disabled",b.disabled),mf("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:[Cf([cHc,{provide:bHc,useExisting:kV}])]});var fHc=eh(function(){}),lV=function(a,b,c,d,e,g){var h=fHc.call(this)||this;h._changeDetectorRef=b;h._elementRef=c;h._focusMonitor=d;h._checked=!1;h.ariaLabelledby=null;h._disabled=!1;h.change=new Vv;e=Number(e);h.tabIndex=e||0===e?e:null;h.buttonToggleGroup=a;h.appearance=g&&g.appearance?g.appearance:"legacy";return h};U(lV,fHc);f=lV.prototype;
f.ngOnInit=function(){var a=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+dHc++;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 eHc(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};
ch.Object.defineProperties(lV.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=tg(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=tg(a)}}});lV.\u0275fac=function(a){return new (a||lV)(C(bHc,8),C(mw),C(rd),C(xx),kd("tabindex"),C(aHc,8))};
lV.\u0275cmp=Bc({type:lV,selectors:[["mat-button-toggle"]],viewQuery:function(a,b){a&1&&Qf($Gc,5);if(a&2){var c;Pf(c=Sf())&&(b._buttonElement=c.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(a,b){a&1&&M("focus",function(){return b.focus()});a&2&&(bf("aria-label",null)("aria-labelledby",null)("id",b.id)("name",null),mf("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:[Ye],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&&(tf(),G(0,"button",0,1),M("click",function(){return b._onButtonClick()}),G(2,"span",2),uf(3),H()(),I(4,"span",3)(5,"span",4));if(a&2){var c=yf(1);F("id",b.buttonId)("disabled",b.disabled||null);bf("tabindex",b.disabled?-1:b.tabIndex)("aria-pressed",b.checked)("name",b._getButtonName())("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby);z(5);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)}},dependencies:[zz],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 i_a=function(){return{standalone:!0}},gHc=mec("bhome-layout"),hHc=Gn.EXPERIMENTAL_HOMEPAGE,mV=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;gHc();this.announcement=jl().preload.announcement;this.VALID_WIDGETS_A=obc;this.VALID_WIDGETS_W=pbc;this.VALID_WIDGETS_T=qbc;this.log=console.log.bind(console);this.showSettings=!1;this.ldapOverride=Gl();this.taskPrioritizationTasksCount$=
(0,E.defer)(function(){return gGc(l.tasks)});this.onAnyClick=function(q){q=Nva(q);for(var x=k(Object.entries(iHc)),A=x.next();!A.done;A=x.next()){var B=k(A.value);A=B.next().value;B=B.next().value;if(q.includes(A)){l.analytics.trackEvent(hHc,"click",B);break}}}};
mV.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:Gl()===Hl;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0)};mV.prototype.ngOnDestroy=function(){this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var h_a=function(a){return de(function(b){if(1==b.nextAddress)return b.yield(Cfc(a.hackyPrefs),2);window.location.reload();ie(b)})};ch.Object.defineProperties(mV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});mV.\u0275fac=function(a){return new (a||mV)(C(ZH),C(rH),C(ZU),C(oH),C(rd),C(xP),C(JU))};
mV.\u0275cmp=Bc({type:mV,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,"row"],["type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"muted","type-xs"],["type","button","mat-button","","color","primary","class","xs margin-s-right",3,"click",4,"ngFor","ngForOf"],["type","submit","mat-flat-button","",1,"gmat-button"],[1,"subtle-link","muted","margin-x",3,"href"],["type","button","mat-button","","color","warn","title","This will reset all your dashboard settings to the default",1,"gmat-button",
"margin-left",3,"click"],["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","margin-s-right",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),Q(1,j_a,77,49,"article",1),S(2,"async"));a&2&&(z(1),F("ngIf",T(2,1,b.hackyPrefs.prefs$)))},dependencies:[TT,
sw,tw,JA,HK,GK,ax,kg,Uw,Vw,$w,Yw,kV,lV,Yz,ZB,hU,jU,MU,NU,LU,PU,RU,uGc,TU,UU,jV,WU,XU,ES,YU,OU,KU,zw],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 iHc={"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 nV=function(){};nV.\u0275fac=function(a){return new (a||nV)};nV.\u0275mod=Dc({type:nV});nV.\u0275inj=nc({imports:[Hw,sz,sz]});var oV=function(){};oV.\u0275fac=function(a){return new (a||oV)};oV.\u0275mod=Dc({type:oV});oV.\u0275inj=nc({imports:[BF,ox,wC,$B,LS,XC,nV,rz,Hx,YM,Ey,oJ,sO]});var pV=function(){};pV.\u0275fac=function(a){return new (a||pV)};pV.\u0275mod=Dc({type:pV});pV.\u0275inj=nc({imports:[BF,$B,aN,JM,WM]});var qV=function(a){r.call(this,a)};U(qV,r);var rV=function(a){r.call(this,a)};U(rV,r);rV.prototype.getKindCase=function(){return Ai(this,sV)};rV.prototype.getStringValue=function(){return Vs(this,3,sV)};rV.prototype.setStringValue=function(a){return Xn(this,3,sV,a)};var tV=function(a){r.call(this,a)};U(tV,r);tV.prototype.getValuesList=function(){return Ch(this,rV,1)};tV.prototype.setValuesList=function(a){aj(this,1,a)};tV.prototype.setValues=function(a,b){Ds(this,1,rV,a,b)};
qV.prototype.toObject=function(){return uV(this)};var uV=function(a){if(null!=a)return t(a),a=Sj(a,1,rV),{fieldsMap:Ib(a,jHc)}},sV=[1,2,3,4,5,6];rV.prototype.toObject=function(){return jHc(this)};var jHc=function(a){if(null!=a)return t(a),{nullValue:p(Zs(a,1,sV)),numberValue:p(lo(a,2,sV)),stringValue:p(mo(a,3,sV)),boolValue:p(Ws(a,4,sV)),structValue:uV(Pj(a,qV,5,sV)),listValue:kHc(Pj(a,tV,6,sV))}};tV.repeatedFields_=[1];tV.prototype.toObject=function(){return kHc(this)};
var kHc=function(a){if(null!=a)return t(a),{valuesList:Gb(a.getValuesList(),jHc)}};var lHc=function(a){r.call(this,a)};U(lHc,r);f=lHc.prototype;f.getRequest=function(){return V(this,1)};f.hasRequest=function(){return tk(this,1)};f.getResponse=function(){return V(this,2)};f.setResponse=function(a){return n(this,2,a)};f.toObject=function(){return mHc(this)};var mHc=function(a){if(null!=a)return t(a),{request:p(m(a,1)),response:p(m(a,2))}};var vV=function(a){r.call(this,a)};U(vV,r);vV.prototype.getDescription=function(){return V(this,4)};vV.prototype.setDescription=function(a){return n(this,4,a)};vV.prototype.hasDescription=function(){return tk(this,4)};vV.prototype.toObject=function(){return nHc(this)};var nHc=function(a){if(null!=a)return t(a),{trackName:p(m(a,1)),artistName:p(m(a,2)),albumName:p(m(a,3)),description:p(m(a,4)),categoryName:p(m(a,5))}};var wV=function(a){r.call(this,a)};U(wV,r);wV.prototype.getUrl=function(){return V(this,4)};wV.prototype.setUrl=function(a){return n(this,4,a)};wV.prototype.hasUrl=function(){return tk(this,4)};wV.prototype.toObject=function(){return oHc(this)};var oHc=function(a){if(null!=a)return t(a),{trackName:p(m(a,1)),artistName:p(m(a,2)),albumName:p(m(a,3)),url:p(m(a,4)),genre:p(m(a,5))}};var pHc=function(a){r.call(this,a)};U(pHc,r);pHc.repeatedFields_=[1];pHc.prototype.toObject=function(){return qHc(this)};var qHc=function(a){if(null!=a)return t(a),{tracksList:Gb(Ch(a,wV,1),oHc)}};var rHc=function(a){r.call(this,a)};U(rHc,r);f=rHc.prototype;f.getRequest=function(){return Z(this,vV,1)};f.hasRequest=function(){return Aj(this,vV,1)};f.getResponse=function(){return Z(this,pHc,2)};f.setResponse=function(a){return Wi(this,pHc,2,a)};f.toObject=function(){return sHc(this)};var sHc=function(a){if(null!=a)return t(a),{request:nHc(a.getRequest()),response:qHc(a.getResponse())}};var tHc=function(a){r.call(this,a)};U(tHc,r);tHc.prototype.toObject=function(){return uHc(this)};var uHc=function(a){if(null!=a)return t(a),{}};var xV=function(a){r.call(this,a)};U(xV,r);xV.prototype.getUrl=function(){return V(this,4)};xV.prototype.setUrl=function(a){return n(this,4,a)};xV.prototype.hasUrl=function(){return tk(this,4)};xV.prototype.toObject=function(){return vHc(this)};var vHc=function(a){if(null!=a)return t(a),{trackName:p(m(a,1)),artistName:p(m(a,2)),albumName:p(m(a,3)),url:p(m(a,4)),isRadio:p(m(a,5))}};var wHc=function(a){r.call(this,a)};U(wHc,r);wHc.prototype.toObject=function(){return xHc(this)};var xHc=function(a){if(null!=a)return t(a),{}};var yHc=function(a){r.call(this,a)};U(yHc,r);f=yHc.prototype;f.getRequest=function(){return Z(this,xV,1)};f.hasRequest=function(){return Aj(this,xV,1)};f.getResponse=function(){return Z(this,wHc,2)};f.setResponse=function(a){return Wi(this,wHc,2,a)};f.toObject=function(){return zHc(this)};var zHc=function(a){if(null!=a)return t(a),{request:vHc(a.getRequest()),response:xHc(a.getResponse())}};var AHc=function(a){r.call(this,a)};U(AHc,r);f=AHc.prototype;f.getTitle=function(){return V(this,1)};f.setTitle=function(a){return n(this,1,a)};f.getTime=function(){return V(this,2)};f.setTime=function(a){return n(this,2,a)};f.toObject=function(){return BHc(this)};var BHc=function(a){if(null!=a)return t(a),{title:p(m(a,1)),time:p(m(a,2))}};var CHc=function(a){r.call(this,a)};U(CHc,r);CHc.prototype.toObject=function(){return DHc(this)};var DHc=function(a){if(null!=a)return t(a),{}};var EHc=function(a){r.call(this,a)};U(EHc,r);f=EHc.prototype;f.getRequest=function(){return Z(this,AHc,1)};f.hasRequest=function(){return Aj(this,AHc,1)};f.getResponse=function(){return Z(this,CHc,2)};f.setResponse=function(a){return Wi(this,CHc,2,a)};f.toObject=function(){return FHc(this)};var FHc=function(a){if(null!=a)return t(a),{request:BHc(a.getRequest()),response:DHc(a.getResponse())}};var GHc=function(a){r.call(this,a)};U(GHc,r);GHc.prototype.toObject=function(){return HHc(this)};var HHc=function(a){if(null!=a)return t(a),{}};var IHc=function(a){r.call(this,a)};U(IHc,r);IHc.prototype.toObject=function(){return JHc(this)};var JHc=function(a){if(null!=a)return t(a),{}};var KHc=function(a){r.call(this,a)};U(KHc,r);f=KHc.prototype;f.getRequest=function(){return Z(this,GHc,1)};f.hasRequest=function(){return Aj(this,GHc,1)};f.getResponse=function(){return Z(this,IHc,2)};f.setResponse=function(a){return Wi(this,IHc,2,a)};f.toObject=function(){return LHc(this)};var LHc=function(a){if(null!=a)return t(a),{request:HHc(a.getRequest()),response:JHc(a.getResponse())}};var yV=function(a){r.call(this,a)};U(yV,r);yV.prototype.getNoAction=function(){return Pj(this,tHc,4,zV)};var zV=[1,2,3,4,5,6];yV.prototype.toObject=function(){return MHc(this)};var MHc=function(a){if(null!=a)return t(a),{findMusicTracks:sHc(Pj(a,rHc,1,zV)),play:zHc(Pj(a,yHc,2,zV)),stop:LHc(Pj(a,KHc,3,zV)),noAction:uHc(a.getNoAction()),setReminder:FHc(Pj(a,EHc,5,zV)),experimental:mHc(Pj(a,lHc,6,zV))}};var AV=function(a){r.call(this,a)};U(AV,r);AV.prototype.getAction=function(){return Z(this,yV,1)};AV.prototype.hasAction=function(){return Aj(this,yV,1)};AV.prototype.getCandidatesList=function(){return Ch(this,yV,2)};AV.repeatedFields_=[2,3];AV.prototype.toObject=function(){return NHc(this)};var NHc=function(a){if(null!=a)return t(a),{action:MHc(a.getAction()),candidatesList:Gb(a.getCandidatesList(),MHc),rawCandidatesList:p(Gh(a,3))}};var BV=function(a){r.call(this,a)};U(BV,r);BV.prototype.getResultsList=function(){return Ch(this,AV,1)};BV.repeatedFields_=[1];BV.prototype.toObject=function(){return OHc(this)};var OHc=function(a){if(null!=a)return t(a),{resultsList:Gb(a.getResultsList(),NHc)}};var PHc=function(a){r.call(this,a)};U(PHc,r);PHc.prototype.toObject=function(){return QHc(this)};var QHc=function(a){if(null!=a)return t(a),a=Sj(a,1,bC),{payloadByIdMap:Ib(a,j4b)}};var RHc=function(a){r.call(this,a)};U(RHc,r);f=RHc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Ni(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return jj(this,2,a)};f.toObject=function(){return SHc(this)};var SHc=function(a){if(null!=a)return t(a),{type:W(a,1,0),title:V(a,2)}};var THc=function(a){r.call(this,a)};U(THc,r);THc.repeatedFields_=[1];THc.prototype.toObject=function(){return UHc(this)};var UHc=function(a){if(null!=a)return t(a),{eventsList:Gb(Ch(a,RHc,1),SHc)}};var VHc=function(a){r.call(this,a)};U(VHc,r);VHc.prototype.setKernelId=function(a){return n(this,1,a)};VHc.prototype.toObject=function(){return WHc(this)};var WHc=function(a){if(null!=a)return t(a),{kernelId:p(m(a,1))}};var XHc=function(a){r.call(this,a)};U(XHc,r);XHc.prototype.getAction=function(){return V(this,2)};XHc.prototype.getObservation=function(){return V(this,4)};XHc.prototype.toObject=function(){return YHc(this)};var YHc=function(a){if(null!=a)return t(a),{thought:V(a,1),action:V(a,2),actionInput:V(a,3),observation:V(a,4)}};var ZHc=function(a){r.call(this,a)};U(ZHc,r);ZHc.prototype.getContent=function(){return V(this,1)};ZHc.prototype.setContent=function(a){return jj(this,1,a)};ZHc.prototype.toObject=function(){return $Hc(this)};var $Hc=function(a){if(null!=a)return t(a),{content:V(a,1),reasoning:p(m(a,2)),meet:p($q(a,3))}};var aIc=function(a){r.call(this,a)};U(aIc,r);aIc.repeatedFields_=[1];aIc.prototype.toObject=function(){return bIc(this)};var bIc=function(a){if(null!=a)return t(a),{constraintsList:Gb(Ch(a,ZHc,1),$Hc)}};var CV=function(a){r.call(this,a)};U(CV,r);CV.prototype.getScore=function(){return ej(this,1)};CV.prototype.setScore=function(a){kj(this,1,a)};CV.repeatedFields_=[2,3];CV.prototype.toObject=function(){return cIc(this)};var cIc=function(a){if(null!=a)return t(a),{score:ej(a,1),reportsList:Gb(Ch(a,aIc,2),bIc),failureReasonsList:p(Gh(a,3))}};var DV=function(a){r.call(this,a)};U(DV,r);DV.prototype.getUrl=function(){return V(this,1)};DV.prototype.setUrl=function(a){return jj(this,1,a)};DV.prototype.getCategory=function(){return W(this,18,0)};DV.prototype.toObject=function(){return dIc(this)};
var dIc=function(a){if(null!=a)return t(a),{url:V(a,1),repo:V(a,2),license:V(a,3),filepath:V(a,20),wikipediaArticleTitle:V(a,4),bookTitle:V(a,5),bookVolumeId:p(m(a,6)),publicationDate:aC(Z(a,wh,7)),naturalLanguageCode:V(a,8),noAttribution:Gj(a,9),gnewsArticleTitle:V(a,10),lamdaExampleId:V(a,11),meenaConversationId:V(a,12),podcastUtteranceId:V(a,13),amarnaId:V(a,14),arxivId:V(a,15),conversationId:V(a,16),goodallExampleId:V(a,19),geminiId:V(a,21),dataset:W(a,17,0),category:W(a,18,0)}};var eIc=function(a){r.call(this,a)};U(eIc,r);eIc.prototype.toObject=function(){return fIc(this)};var fIc=function(a){if(null!=a)return t(a),{segmentRecitationAction:W(a,1,0),startIndex:Eh(a,2),endIndex:Eh(a,3),docOccurrences:Eh(a,4),docAttribution:dIc(Z(a,DV,5)),displayAttributionMessage:V(a,6),attributionDataset:W(a,7,0),rawText:V(a,8)}};var gIc=function(a){r.call(this,a)};U(gIc,r);gIc.repeatedFields_=[1,2];gIc.prototype.toObject=function(){return hIc(this)};var hIc=function(a){if(null!=a)return t(a),{trainingSegmentResultsList:Gb(Ch(a,eIc,1),fIc),dynamicSegmentResultsList:Gb(Ch(a,eIc,2),fIc),recitationAction:W(a,3,0)}};var iIc=function(a){r.call(this,a)};U(iIc,r);iIc.prototype.getResult=function(){return Z(this,gIc,2)};iIc.prototype.toObject=function(){return jIc(this)};var jIc=function(a){if(null!=a)return t(a),{result:hIc(a.getResult())}};var kIc=function(a){r.call(this,a)};U(kIc,r);kIc.prototype.getText=function(){return V(this,1)};kIc.prototype.setText=function(a){return jj(this,1,a)};kIc.prototype.toObject=function(){return lIc(this)};var lIc=function(a){if(null!=a)return t(a),{text:V(a,1)}};var mIc=function(a){r.call(this,a)};U(mIc,r);var nIc=[2,3];mIc.prototype.toObject=function(){return oIc(this)};var oIc=function(a){if(null!=a)return t(a),{sensitiveClassifierType:p(ir(a,1)),perspectiveApiClassifierType:p(mo(a,2,nIc)),expanderClassifierType:p(mo(a,3,nIc))}};var EV=function(a){r.call(this,a)};U(EV,r);f=EV.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Ni(this,1,a)};f.getValue=function(){return ej(this,2)};f.setValue=function(a){return kj(this,2,a)};f.toObject=function(){return pIc(this)};var pIc=function(a){if(null!=a)return t(a),{type:W(a,1,0),value:ej(a,2),supplementalScoreType:oIc(Z(a,mIc,3)),sourceModelId:V(a,4)}};var qIc=function(a){r.call(this,a)};U(qIc,r);f=qIc.prototype;f.getYear=function(){return Eh(this,1)};f.setYear=function(a){return wb(this,1,a)};f.getMonth=function(){return Eh(this,2)};f.setMonth=function(a){return wb(this,2,a)};f.getDay=function(){return Eh(this,3)};f.setDay=function(a){wb(this,3,a)};f.getHours=function(){return Eh(this,4)};f.setHours=function(a){return wb(this,4,a)};f.getMinutes=function(){return Eh(this,5)};f.setMinutes=function(a){return wb(this,5,a)};
f.getSeconds=function(){return Eh(this,6)};f.setSeconds=function(a){return wb(this,6,a)};f.getNanos=function(){return Eh(this,7)};f.setNanos=function(a){return wb(this,7,a)};f.getTimeZone=function(){return Pj(this,Xi,9,rIc)};f.setTimeZone=function(a){return eo(this,9,rIc,a)};f.hasTimeZone=function(){return Nj(this,Xi,9,rIc)};var rIc=[8,9];qIc.prototype.toObject=function(){return sIc(this)};
var sIc=function(a){if(null!=a)return t(a),{year:Eh(a,1),month:Eh(a,2),day:Eh(a,3),hours:Eh(a,4),minutes:Eh(a,5),seconds:Eh(a,6),nanos:Eh(a,7),utcOffset:iu(Pj(a,Ah,8,rIc)),timeZone:tC(a.getTimeZone())}};var tIc=function(a){r.call(this,a)};U(tIc,r);tIc.prototype.toObject=function(){return uIc(this)};var uIc=function(a){if(null!=a)return t(a),{fulfillment:p(Ms(a,1)),helpfulness:p(Ms(a,2)),presentation:p(Ms(a,3)),factuality:p(ir(a,4))}};var vIc=function(a){r.call(this,a)};U(vIc,r);f=vIc.prototype;f.getScore=function(){return W(this,1,0)};f.setScore=function(a){Ni(this,1,a)};f.getLeft=function(){return Z(this,RC,2)};f.getRight=function(){return Z(this,RC,3)};f.getType=function(){return W(this,4,0)};f.setType=function(a){return Ni(this,4,a)};f.toObject=function(){return wIc(this)};var wIc=function(a){if(null!=a)return t(a),{score:W(a,1,0),left:SC(a.getLeft()),right:SC(a.getRight()),type:W(a,4,0),scoreFp:ej(a,5)}};var xIc=function(a){r.call(this,a)};U(xIc,r);f=xIc.prototype;f.getQuery=function(){return V(this,1)};f.setQuery=function(a){return n(this,1,a)};f.clearQuery=function(){Hs(this,1)};f.hasQuery=function(){return tk(this,1)};f.toObject=function(){return yIc(this)};var yIc=function(a){if(null!=a)return t(a),{query:p(m(a,1))}};var zIc=function(a){r.call(this,a)};U(zIc,r);f=zIc.prototype;f.getMethodName=function(){return V(this,2)};f.setParams=function(a){return Wi(this,qV,3,a)};f.clearParams=function(){Hs(this,3)};f.getOutput=function(){return Z(this,qV,4)};f.toObject=function(){return AIc(this)};var AIc=function(a){if(null!=a)return t(a),{toolName:p(m(a,1)),methodName:p(m(a,2)),params:uV(Z(a,qV,3)),output:uV(a.getOutput()),executionError:p(m(a,5))}};var BIc=function(a){r.call(this,a)};U(BIc,r);BIc.repeatedFields_=[1];BIc.prototype.toObject=function(){return CIc(this)};var CIc=function(a){if(null!=a)return t(a),{executionsList:Gb(Ch(a,zIc,1),AIc)}};var DIc=function(a){r.call(this,a)};U(DIc,r);DIc.prototype.getJsonPayload=function(){return V(this,2)};DIc.prototype.toObject=function(){return EIc(this)};var EIc=function(a){if(null!=a)return t(a),{toolName:p(m(a,1)),jsonPayload:p(m(a,2)),jsonError:p(m(a,3))}};var FIc=function(a){r.call(this,a)};U(FIc,r);FIc.prototype.getPythonPayload=function(){return V(this,1)};FIc.prototype.toObject=function(){return GIc(this)};var GIc=function(a){if(null!=a)return t(a),{pythonPayload:p(m(a,1))}};var HIc=function(a){r.call(this,a)};U(HIc,r);HIc.prototype.toObject=function(){return IIc(this)};var IIc=function(a){if(null!=a)return t(a),{model:p(m(a,1)),startAt:wt(Z(a,yh,2)),endAt:wt(Z(a,yh,3)),promptLen:p(Ms(a,4)),outputLen:p(Ms(a,5))}};var FV=function(a){r.call(this,a)};U(FV,r);FV.prototype.getLlmMetadataListList=function(){return Ch(this,HIc,1)};FV.repeatedFields_=[1];FV.prototype.toObject=function(){return JIc(this)};var JIc=function(a){if(null!=a)return t(a),{llmMetadataListList:Gb(a.getLlmMetadataListList(),IIc)}};var GV=function(a){r.call(this,a)};U(GV,r);GV.prototype.getJsonPayload=function(){return Pj(this,DIc,1,KIc)};GV.prototype.getPythonPayload=function(){return Pj(this,FIc,2,KIc)};GV.prototype.getMetadata=function(){return Z(this,FV,4)};GV.prototype.setMetadata=function(a){Wi(this,FV,4,a)};var KIc=[1,2];GV.prototype.toObject=function(){return LIc(this)};var LIc=function(a){if(null!=a)return t(a),{jsonPayload:EIc(a.getJsonPayload()),pythonPayload:GIc(a.getPythonPayload()),trace:CIc(Z(a,BIc,3)),metadata:JIc(a.getMetadata())}};var MIc=function(a){r.call(this,a)};U(MIc,r);MIc.repeatedFields_=[4];MIc.prototype.toObject=function(){return NIc(this)};var NIc=function(a){if(null!=a)return t(a),{toolName:p(m(a,1)),toolInstruction:p(m(a,2)),toolLog:LIc(Z(a,GV,3)),retrievedToolNamesList:p(Gh(a,4))}};var OIc=function(a){r.call(this,a)};U(OIc,r);var PIc=[1,2];OIc.prototype.toObject=function(){return QIc(this)};var QIc=function(a){if(null!=a)return t(a),{respondToUser:yIc(Pj(a,xIc,1,PIc)),useToolInstruction:NIc(Pj(a,MIc,2,PIc)),plannerPrompt:p(m(a,3))}};var HV=function(a){r.call(this,a)};U(HV,r);HV.prototype.getLlmMetadataListList=function(){return Ch(this,HIc,2)};HV.repeatedFields_=[2];HV.prototype.toObject=function(){return RIc(this)};var RIc=function(a){if(null!=a)return t(a),{thought:p(m(a,1)),llmMetadataListList:Gb(a.getLlmMetadataListList(),IIc)}};var SIc=function(a){r.call(this,a)};U(SIc,r);f=SIc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Ni(this,1,a)};f.getText=function(){return V(this,2)};f.setText=function(a){return jj(this,2,a)};f.toObject=function(){return TIc(this)};var TIc=function(a){if(null!=a)return t(a),{type:W(a,1,0),text:V(a,2)}};var UIc=function(a){r.call(this,a)};U(UIc,r);f=UIc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return Ni(this,1,a)};f.getText=function(){return V(this,2)};f.setText=function(a){return jj(this,2,a)};f.toObject=function(){return VIc(this)};var VIc=function(a){if(null!=a)return t(a),{type:W(a,1,0),text:V(a,2)}};var WIc=function(a){r.call(this,a)};U(WIc,r);f=WIc.prototype;f.getMetadata=function(){return Z(this,HV,2)};f.setMetadata=function(a){Wi(this,HV,2,a)};f.getPrompt=function(){return Z(this,UIc,3)};f.setPrompt=function(a){return Wi(this,UIc,3,a)};f.toObject=function(){return XIc(this)};var XIc=function(a){if(null!=a)return t(a),{instruction:QIc(Z(a,OIc,1)),metadata:RIc(a.getMetadata()),prompt:VIc(a.getPrompt()),modelOutput:TIc(Z(a,SIc,4))}};var YIc=function(a){r.call(this,a)};U(YIc,r);YIc.prototype.setStatusCode=function(a){n(this,1,a)};YIc.prototype.toObject=function(){return ZIc(this)};var ZIc=function(a){if(null!=a)return t(a),{statusCode:p(ir(a,1))}};var $Ic=function(a){r.call(this,a)};U($Ic,r);f=$Ic.prototype;f.getResult=function(){return V(this,3)};f.getStatus=function(){return Gj(this,1)};f.setStatus=function(a){return Ij(this,1,a)};f.hasStatus=function(){return Ak(this,1)};f.getError=function(){return V(this,2)};f.setError=function(a){n(this,2,a)};f.hasError=function(){return tk(this,2)};f.toObject=function(){return aJc(this)};
var aJc=function(a){if(null!=a)return t(a),{result:p(m(a,3)),status:p($q(a,1)),error:p(m(a,2)),reactAgentStatus:ZIc(Z(a,YIc,4))}};var IV=function(a){r.call(this,a)};U(IV,r);IV.prototype.getObservation=function(){return Z(this,$Ic,3)};IV.prototype.toObject=function(){return JV(this)};var JV=function(a){if(null!=a)return t(a),{instructionAndMetadata:XIc(Z(a,WIc,1)),observation:aJc(a.getObservation())}};var KV=function(a){r.call(this,a)};U(KV,r);KV.prototype.getText=function(){return V(this,1)};KV.prototype.setText=function(a){return jj(this,1,a)};KV.prototype.getScoresList=function(){return Ch(this,EV,2)};KV.prototype.getFeedbacksList=function(){return Ch(this,LV,3)};var MV=function(a){r.call(this,a)};U(MV,r);f=MV.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return jj(this,1,a)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return jj(this,2,a)};
f.getQuery=function(){return Z(this,KV,3)};f.setQuery=function(a){return Wi(this,KV,3,a)};f.clearQuery=function(){Hs(this,3)};f.hasQuery=function(){return Aj(this,KV,3)};f.getFeedbacksList=function(){return Ch(this,LV,4)};f.getUrl=function(){return V(this,5)};f.setUrl=function(a){return jj(this,5,a)};f.getResultType=function(){return V(this,10)};f.setResultType=function(a){n(this,10,a)};f.hasResultType=function(){return tk(this,10)};var LV=function(a){r.call(this,a)};U(LV,r);f=LV.prototype;
f.getCategory=function(){return W(this,10,0)};f.getNote=function(){return V(this,2)};f.hasNote=function(){return tk(this,2)};f.getCreateTime=function(){return Z(this,qIc,4)};f.getFeedbacksList=function(){return Ch(this,LV,7)};f.getSearchResultsList=function(){return Ch(this,MV,14)};f.getExecutionStepsList=function(){return Ch(this,IV,17)};KV.repeatedFields_=[2,3];KV.prototype.toObject=function(){return bJc(this)};
var bJc=function(a){if(null!=a)return t(a),{text:V(a,1),scoresList:Gb(a.getScoresList(),pIc),feedbacksList:Gb(a.getFeedbacksList(),NV)}};MV.repeatedFields_=[4,9];MV.prototype.toObject=function(){return cJc(this)};var cJc=function(a){if(null!=a)return t(a),{text:V(a,1),source:V(a,2),query:bJc(a.getQuery()),feedbacksList:Gb(a.getFeedbacksList(),NV),url:V(a,5),sourceTitle:V(a,6),snippet:V(a,7),originalSnippet:V(a,8),nonpublicNamesList:p(Gh(a,9)),resultType:p(m(a,10))}};LV.repeatedFields_=[7,11,14,17];
LV.prototype.toObject=function(){return NV(this)};
var NV=function(a){if(null!=a)return t(a),{good:p($q(a,1)),category:p(ir(a,10)),note:p(m(a,2)),giver:p(m(a,3)),giverPool:p(m(a,9)),createTime:sIc(a.getCreateTime()),rewrite:p(m(a,5)),cohortId:p(m(a,6)),feedbacksList:Gb(a.getFeedbacksList(),NV),sxsRating:wIc(Z(a,vIc,8)),badFeedbackReasonsList:p(Gh(a,11)),hasTimelyFact:p($q(a,12)),rubricScores:uIc(Z(a,tIc,13)),searchResultsList:Gb(a.getSearchResultsList(),cJc),factual:p($q(a,15)),containsPii:p($q(a,16)),executionStepsList:Gb(a.getExecutionStepsList(),
JV),promptMakesSenseInContext:p($q(a,18))}};var dJc=function(a){r.call(this,a)};U(dJc,r);dJc.prototype.getText=function(){return V(this,1)};dJc.prototype.setText=function(a){return n(this,1,a)};dJc.prototype.toObject=function(){return eJc(this)};var eJc=function(a){if(null!=a)return t(a),{text:p(m(a,1))}};var fJc=function(a){r.call(this,a)};U(fJc,r);f=fJc.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getValue=function(){return ej(this,2)};f.setValue=function(a){return Ls(this,2,a)};f.hasValue=function(){return null!=Es(this,2)};f.toObject=function(){return gJc(this)};var gJc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),value:p(Es(a,2))}};var hJc=function(a){r.call(this,a)};U(hJc,r);hJc.prototype.getText=function(){return V(this,1)};hJc.prototype.setText=function(a){return n(this,1,a)};hJc.prototype.toObject=function(){return iJc(this)};var iJc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),hintText:p(m(a,2))}};var jJc=function(a){r.call(this,a)};U(jJc,r);jJc.repeatedFields_=[1];jJc.prototype.toObject=function(){return kJc(this)};var kJc=function(a){if(null!=a)return t(a),{pairsList:Gb(Ch(a,hJc,1),iJc)}};var OV=function(a){r.call(this,a)};U(OV,r);OV.prototype.getText=function(){return V(this,2)};OV.prototype.setText=function(a){return n(this,2,a)};OV.repeatedFields_=[1];OV.prototype.toObject=function(){return lJc(this)};var lJc=function(a){if(null!=a)return t(a),{sentencesList:Gb(Ch(a,jJc,1),kJc),text:p(m(a,2)),translatedText:p(m(a,3))}};var PV=function(a){r.call(this,a)};U(PV,r);PV.prototype.getStyle=function(){return W(this,3,0)};PV.prototype.setStyle=function(a){return n(this,3,a)};PV.prototype.getVerbalizationStyle=function(){return W(this,4,0)};PV.repeatedFields_=[1];PV.prototype.toObject=function(){return mJc(this)};var mJc=function(a){if(null!=a)return t(a),{foreignLanguageHintsList:p(Gh(a,1)),style:p(ir(a,3)),verbalizationStyle:p(ir(a,4)),targetLanguage:p(m(a,5))}};var nJc=function(a){r.call(this,a,1)};U(nJc,r);var oJc={};nJc.prototype.toObject=function(){return pJc(this)};var pJc=function(a){if(null!=a){t(a);var b={};Hb(a,b,oJc);return b}};var qJc=function(a){r.call(this,a)};U(qJc,r);qJc.prototype.toObject=function(){return rJc(this)};var rJc=function(a){if(null!=a)return t(a),{level:p(ir(a,3))}};var sJc=function(a){r.call(this,a)};U(sJc,r);sJc.prototype.toObject=function(){return tJc(this)};var tJc=function(a){if(null!=a)return t(a),{incompleteAtStart:p($q(a,1)),incompleteAtEnd:p($q(a,2))}};var uJc=function(a){r.call(this,a)};U(uJc,r);uJc.prototype.toObject=function(){return vJc(this)};var vJc=function(a){if(null!=a)return t(a),{level:p(ir(a,1))}};var wJc=function(a){r.call(this,a)};U(wJc,r);wJc.prototype.getProminence=function(){return Z(this,uJc,2)};wJc.prototype.getPartialSentenceProsody=function(){return Z(this,sJc,5)};var xJc=[1,4];wJc.prototype.toObject=function(){return yJc(this)};
var yJc=function(a){if(null!=a)return t(a),{speechRate:p(lo(a,1,xJc)),speechRateEnum:p(Zs(a,4,xJc)),prominence:vJc(a.getProminence()),novelty:rJc(Z(a,qJc,3)),partialSentenceProsody:tJc(a.getPartialSentenceProsody()),f0Scale:p(Es(a,6)),phonationMode:p(ir(a,7)),emotion:p(ir(a,8)),speakingStyle:p(ir(a,9))}};var zJc=function(a){r.call(this,a)};U(zJc,r);zJc.prototype.toObject=function(){return AJc(this)};var AJc=function(a){if(null!=a)return t(a),{cellId:p(m(a,1)),fprint:p(m(a,2))}};var QV=function(a){r.call(this,a)};U(QV,r);QV.prototype.toObject=function(){return BJc(this)};var BJc=function(a){if(null!=a)return t(a),{latitudeE7:p(Ms(a,1)),longitudeE7:p(Ms(a,2))}};var CJc=function(a){r.call(this,a)};U(CJc,r);CJc.prototype.toObject=function(){return DJc(this)};var DJc=function(a){if(null!=a)return t(a),{lo:BJc(Z(a,QV,1)),hi:BJc(Z(a,QV,2))}};var EJc=function(a){r.call(this,a)};U(EJc,r);f=EJc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getConfidence=function(){return Eh(this,2)};f.toObject=function(){return FJc(this)};var FJc=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),confidence:p(Ms(a,2))}};var GJc=function(a){r.call(this,a)};U(GJc,r);GJc.prototype.toObject=function(){return HJc(this)};var HJc=function(a){if(null!=a)return t(a),{fieldOfViewXDegrees:p(Es(a,1)),fieldOfViewYDegrees:p(Es(a,2)),screenWidthPixels:p(Ms(a,3))}};var IJc=function(a){r.call(this,a)};U(IJc,r);IJc.prototype.toObject=function(){return JJc(this)};var JJc=function(a){if(null!=a)return t(a),{ppSupportingDays:p(Ms(a,4)),ppSupportingWeeks:p(Ms(a,5))}};var RV=function(a){r.call(this,a)};U(RV,r);RV.prototype.getRollDegrees=function(){return Eh(this,6)};RV.prototype.setRollDegrees=function(a){n(this,6,a)};RV.repeatedFields_=[11];RV.prototype.toObject=function(){return KJc(this)};
var KJc=function(a){if(null!=a)return t(a),{headingDegrees:p(Ms(a,2)),bearingDegrees:p(Ms(a,3)),bearingAccuracyDegrees:p(Ms(a,12)),speedKph:p(Ms(a,4)),speedAccuracyKph:p(Ms(a,13)),tiltDegrees:p(Ms(a,5)),rollDegrees:p(Ms(a,6)),altitudeMetersFromGround:p(Es(a,7)),fieldOfView:HJc(Z(a,GJc,8)),boardedTransitVehicleToken:p(m(a,9)),activityRecordList:Gb(Ch(a,EJc,11),FJc),plmType:p(ir(a,14)),inference:p(ir(a,15)),manualEntry:p(ir(a,16)),weekSecondConfidence:p(Es(a,17)),ipRangeConfidence:p(Es(a,18)),carrierIpType:p(ir(a,
19)),adsConfidence:p(Es(a,20)),viewportSearchOptions:p(ir(a,21)),deviceLocationRatio:p(Es(a,10)),plmSourceLocationCount:p(Ms(a,22)),personalizedLocationAttributes:JJc(Z(a,IJc,23))}};var LJc=function(a){r.call(this,a)};U(LJc,r);LJc.prototype.getConfidence=function(){return Os(this,3)};LJc.prototype.toObject=function(){return MJc(this)};var MJc=function(a){if(null!=a)return t(a),{startOffsetSec:p(m(a,1)),durationSec:p(m(a,2)),confidence:p(Ns(a,3))}};var NJc=function(a){r.call(this,a)};U(NJc,r);NJc.prototype.getProminence=function(){return W(this,2,0)};NJc.prototype.toObject=function(){return OJc(this)};var OJc=function(a){if(null!=a)return t(a),{gconceptId:p(m(a,1)),prominence:W(a,2,0)}};var PJc=function(a){r.call(this,a)};U(PJc,r);f=PJc.prototype;f.getFeatureId=function(){return Z(this,zJc,1)};f.getScore=function(){return ej(this,3)};f.setScore=function(a){Ls(this,3,a)};f.getConfidence=function(){return W(this,4,0)};f.getSource=function(){return W(this,5,0)};f.setSource=function(a){return n(this,5,a)};f.hasSource=function(){return cj(this,5)};f.getSourceOrUndefined=function(){return ur(this,5)};PJc.repeatedFields_=[2];PJc.prototype.toObject=function(){return QJc(this)};
var QJc=function(a){if(null!=a)return t(a),{featureId:AJc(a.getFeatureId()),gconceptInstanceList:Gb(Ch(a,NJc,2),OJc),score:p(Es(a,3)),confidence:p(ir(a,4)),source:p(ir(a,5))}};var SV=function(a){r.call(this,a)};U(SV,r);SV.prototype.getType=function(){return W(this,1,0)};SV.prototype.setType=function(a){return n(this,1,a)};SV.prototype.hasType=function(){return cj(this,1)};SV.prototype.toObject=function(){return RJc(this)};var RJc=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),cellId:p(Ms(a,2)),locationAreaCode:p(Ms(a,3)),mobileCountryCode:p(Ms(a,4)),mobileNetworkCode:p(Ms(a,5)),primaryScramblingCode:p(Ms(a,6)),physicalCellId:p(Ms(a,7)),trackingAreaCode:p(Ms(a,8))}};var SJc=function(a){r.call(this,a)};U(SJc,r);SJc.prototype.toObject=function(){return TJc(this)};var TJc=function(a){if(null!=a)return t(a),{bssid:p(m(a,1)),levelDbm:p(Ms(a,2))}};var TV=function(a){r.call(this,a)};U(TV,r);TV.prototype.getCell=function(){return Pj(this,SV,2,UJc)};TV.prototype.setCell=function(a){eo(this,2,UJc,a)};TV.prototype.hasConnected=function(){return Ak(this,3)};var UJc=[1,2];TV.prototype.toObject=function(){return VJc(this)};var VJc=function(a){if(null!=a)return t(a),{wifi:TJc(Pj(a,SJc,1,UJc)),cell:RJc(a.getCell()),connected:p($q(a,3)),timestampMs:p(m(a,4))}};var UV=function(a){r.call(this,a)};U(UV,r);f=UV.prototype;f.getTimestamp=function(){return dj(this,3)};f.setTimestamp=function(a){return n(this,3,a)};f.hasTimestamp=function(){return Lk(this,3)};f.getLatlng=function(){return Z(this,QV,5)};f.clearRect=function(){return Hs(this,14)};f.setRadius=function(a){return Ls(this,7,a)};f.getConfidence=function(){return Eh(this,8,100)};f.getFeatureId=function(){return Z(this,zJc,10)};f.getLevelFeatureId=function(){return Z(this,zJc,17)};
f.getProvenance=function(){return W(this,9,0)};f.setProvenance=function(a){return n(this,9,a)};f.getAttributes=function(){return Z(this,RV,19)};f.hasAttributes=function(){return Aj(this,RV,19)};UV.repeatedFields_=[21,22,23,24];UV.prototype.toObject=function(){return WJc(this)};
var WJc=function(a){if(null!=a)return t(a),{role:W(a,1,0),producer:W(a,2,0),timestamp:p(m(a,3)),loc:p(m(a,4)),latlng:BJc(a.getLatlng()),latlngSpan:BJc(Z(a,QV,6)),rect:DJc(Z(a,CJc,14)),radius:p(Es(a,7)),confidence:Eh(a,8,100),featureId:AJc(a.getFeatureId()),mid:p(m(a,16)),levelFeatureId:AJc(a.getLevelFeatureId()),levelNumber:p(Es(a,18)),language:p(m(a,11)),provenance:W(a,9,0),historicalRole:W(a,12,0),historicalProducer:W(a,13,0),historicalProminence:p(Ms(a,15)),attributes:KJc(a.getAttributes()),diagnosticInfo:p(m(a,
20)),semanticList:p(Qk(a,21)),semanticPlaceList:Gb(Ch(a,PJc,22),QJc),visibleNetworkList:Gb(Ch(a,TV,23),VJc),presenceIntervalList:Gb(Ch(a,LJc,24),MJc),permissionGranularity:p(ir(a,25))}};var XJc=function(a){r.call(this,a)};U(XJc,r);f=XJc.prototype;f.getType=function(){return V(this,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return tk(this,1)};f.getDomain=function(){return W(this,2,0)};f.setDomain=function(a){return n(this,2,a)};f.hasDomain=function(){return cj(this,2)};f.toObject=function(){return YJc(this)};var YJc=function(a){if(null!=a)return t(a),{type:p(m(a,1)),domain:p(ir(a,2)),confidenceScore:p(Es(a,3)),semanticGender:p(ir(a,4))}};var ZJc=function(a){r.call(this,a)};U(ZJc,r);ZJc.prototype.toObject=function(){return $Jc(this)};var $Jc=function(a){if(null!=a)return t(a),{semioticType:p(ir(a,1)),hintLevel:p(ir(a,3))}};var aKc=function(a){r.call(this,a)};U(aKc,r);aKc.prototype.getLocation=function(){return Z(this,UV,3)};aKc.repeatedFields_=[1,2,4,5];aKc.prototype.toObject=function(){return bKc(this)};var bKc=function(a){if(null!=a)return t(a),{semioticInfoList:Gb(Ch(a,ZJc,1),$Jc),sourceInfoList:p(Qk(a,2)),location:WJc(a.getLocation()),knowledgeGraphMidsList:p(Gh(a,4)),namedEntitiesList:Gb(Ch(a,XJc,5),YJc),textnormLevel:p(ir(a,7)),listInfo:p(ir(a,8))}};var VV=function(a){r.call(this,a)};U(VV,r);VV.prototype.getLabel=function(){return V(this,2)};VV.prototype.setLabel=function(a){return n(this,2,a)};VV.prototype.hasLabel=function(){return tk(this,2)};VV.prototype.toObject=function(){return cKc(this)};var cKc=function(a){if(null!=a)return t(a),{head:p(Ms(a,1)),label:p(m(a,2))}};var dKc=function(a){r.call(this,a)};U(dKc,r);dKc.prototype.getSpelling=function(){return V(this,1)};dKc.repeatedFields_=[7,8];dKc.prototype.toObject=function(){return eKc(this)};var eKc=function(a){if(null!=a)return t(a),{spelling:p(m(a,1)),baseFormSpelling:p(m(a,2)),syntacticCategory:p(m(a,3)),partOfSpeech:p(m(a,4)),partOfSpeechConfidence:p(Es(a,5)),dependencyData:cKc(Z(a,VV,6)),morphologyAttributesList:p(Qk(a,7)),morphophoneticAttributesList:p(Qk(a,8))}};var fKc=function(a){r.call(this,a)};U(fKc,r);fKc.prototype.toObject=function(){return gKc(this)};var gKc=function(a){if(null!=a)return t(a),{vuiId:p(m(a,1)),stageName:p(m(a,2))}};var hKc=function(a){r.call(this,a)};U(hKc,r);hKc.prototype.toObject=function(){return iKc(this)};var iKc=function(a){if(null!=a)return t(a),{performanceId:p(m(a,1)),textPolicy:p(ir(a,2)),obtainedWithVuiIdMapping:Gj(a,3,!1)}};var jKc=function(a){r.call(this,a)};U(jKc,r);jKc.prototype.toObject=function(){return kKc(this)};var kKc=function(a){if(null!=a)return t(a),{performanceSpec:iKc(Z(a,hKc,1))}};var lKc=function(a){r.call(this,a)};U(lKc,r);f=lKc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getReference=function(){return V(this,2)};f.toObject=function(){return mKc(this)};var mKc=function(a){if(null!=a)return t(a),{type:W(a,1,0),reference:p(m(a,2))}};var WV=function(a){r.call(this,a)};U(WV,r);WV.prototype.getTargetList=function(){return Ch(this,lKc,1)};WV.prototype.setTarget=function(a,b){return Ds(this,1,lKc,a,b)};WV.repeatedFields_=[1];WV.prototype.toObject=function(){return nKc(this)};var nKc=function(a){if(null!=a)return t(a),{targetList:Gb(a.getTargetList(),mKc)}};var XV=function(a){r.call(this,a)};U(XV,r);XV.prototype.getMorphing=function(){return Z(this,WV,1)};XV.prototype.getPerformanceOptions=function(){return Z(this,jKc,5)};XV.repeatedFields_=[3,4];XV.prototype.toObject=function(){return oKc(this)};var oKc=function(a){if(null!=a)return t(a),{morphing:nKc(a.getMorphing()),outputGain:ej(a,2,1),audioSourcesList:Gb(Ch(a,fKc,3),gKc),performanceOptions:kKc(a.getPerformanceOptions()),redactionList:p(Qk(a,4))}};var pKc=function(a){r.call(this,a)};U(pKc,r);var YV=[1,2,3,4,5,6,7,8,9,10,11];pKc.prototype.toObject=function(){return qKc(this)};
var qKc=function(a){if(null!=a)return t(a),{commonVerbalizationStyle:p(Zs(a,1,YV)),punctuationVerbalizationStyle:p(Zs(a,2,YV)),letterSequenceStyle:p(Zs(a,3,YV)),digitsVerbalizationStyle:p(Zs(a,4,YV)),romanNumeralVerbalizationStyle:p(Zs(a,5,YV)),timeVerbalizationStyle:p(Zs(a,6,YV)),dateVerbalizationStyle:p(Zs(a,7,YV)),measureVerbalizationStyle:p(Zs(a,8,YV)),moneyVerbalizationStyle:p(Zs(a,9,YV)),emoticonEmojiVerbalizationStyle:p(Zs(a,10,YV)),telephoneVerbalizationStyle:p(Zs(a,11,YV))}};var rKc=function(a){r.call(this,a)};U(rKc,r);rKc.prototype.toObject=function(){return sKc(this)};var sKc=function(a){if(null!=a)return t(a),{language:p(m(a,1)),proficiency:p(ir(a,2))}};var tKc=function(a){r.call(this,a)};U(tKc,r);var uKc=[1,2,3,4];tKc.prototype.toObject=function(){return vKc(this)};var vKc=function(a){if(null!=a)return t(a),{speakerName:p(mo(a,1,uKc)),supportedFeature:p(Zs(a,2,uKc)),languageProficiency:sKc(Pj(a,rKc,3,uKc)),gender:p(Zs(a,4,uKc))}};var wKc=function(a){r.call(this,a)};U(wKc,r);wKc.repeatedFields_=[1,2,5];var xKc=[3,4];wKc.prototype.toObject=function(){return yKc(this)};var yKc=function(a){if(null!=a)return t(a),{requiredAttributesList:Gb(Ch(a,tKc,1),vKc),preferredAttributesList:Gb(Ch(a,tKc,2),vKc),inferredAttributesList:Gb(Ch(a,tKc,5),vKc),variant:p(Xs(a,3,xKc)),randomize:p(Ws(a,4,xKc))}};var zKc=function(a){r.call(this,a)};U(zKc,r);zKc.prototype.getAttributes=function(){return Pj(this,wKc,1,AKc)};zKc.prototype.hasAttributes=function(){return Nj(this,wKc,1,AKc)};var AKc=[1,3];zKc.prototype.toObject=function(){return BKc(this)};var BKc=function(a){if(null!=a)return t(a),{attributes:yKc(a.getAttributes()),voiceAlias:p(mo(a,3,AKc)),canonicalVoiceName:p(m(a,2))}};var ZV=function(a){r.call(this,a,9)};U(ZV,r);ZV.prototype.getCrossLingual=function(){return Z(this,PV,5)};ZV.prototype.getVerbalizationStyle=function(){return Z(this,pKc,8)};var CKc={};ZV.prototype.toObject=function(){return $V(this)};
var $V=function(a){if(null!=a){t(a);var b={semantics:bKc(Z(a,aKc,1)),syntax:eKc(Z(a,dKc,2)),prosody:yJc(Z(a,wJc,3)),synthesisParameters:oKc(Z(a,XV,4)),crossLingual:mJc(a.getCrossLingual()),voiceSelection:BKc(Z(a,zKc,7)),verbalizationStyle:qKc(a.getVerbalizationStyle()),clientExtensions:pJc(Z(a,nJc,6))};Hb(a,b,CKc);return b}};var aW=function(a){r.call(this,a,3)};U(aW,r);aW.prototype.getText=function(){return V(this,1)};aW.prototype.setText=function(a){return n(this,1,a)};aW.prototype.getAnnotation=function(){return Z(this,ZV,2)};var DKc={};aW.prototype.toObject=function(){return EKc(this)};var EKc=function(a){if(null!=a){t(a);var b={text:p(m(a,1)),annotation:$V(a.getAnnotation())};Hb(a,b,DKc);return b}};var FKc=function(a){r.call(this,a)};U(FKc,r);FKc.prototype.hasFirst=function(){return Bk(this,1)};FKc.prototype.getAnnotation=function(){return Z(this,ZV,3)};FKc.prototype.toObject=function(){return GKc(this)};var GKc=function(a){if(null!=a)return t(a),{first:p(Ms(a,1)),last:p(Ms(a,2)),annotation:$V(a.getAnnotation())}};var HKc=function(a){r.call(this,a)};U(HKc,r);HKc.prototype.toObject=function(){return IKc(this)};var IKc=function(a){if(null!=a)return t(a),{contentIndex:p(Ms(a,1)),pieceIndex:p(Ms(a,2)),byteIndex:p(Ms(a,3)),timepointName:p(m(a,4))}};var JKc=function(a){r.call(this,a)};U(JKc,r);JKc.prototype.getSpelling=function(){return V(this,2)};JKc.prototype.getAnnotation=function(){return Z(this,ZV,7)};var KKc=[4,5];JKc.prototype.toObject=function(){return LKc(this)};var LKc=function(a){if(null!=a)return t(a),{ownIndex:p(Ms(a,1)),spelling:p(m(a,2)),wordId:p(m(a,3)),variantEnum:p(Zs(a,4,KKc)),variantId:p(mo(a,5,KKc)),phonologyType:p(ir(a,8)),ttsPronunciation:p(m(a,6)),annotation:$V(a.getAnnotation())}};var MKc=function(a){r.call(this,a)};U(MKc,r);f=MKc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getExpansion=function(){return V(this,2)};f.setExpansion=function(a){n(this,2,a)};f.toObject=function(){return NKc(this)};var NKc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),expansion:p(m(a,2))}};var OKc=function(a){r.call(this,a)};U(OKc,r);OKc.prototype.getNumber=function(){return V(this,2)};OKc.prototype.toObject=function(){return PKc(this)};var PKc=function(a){if(null!=a)return t(a),{symbol:p(m(a,1)),number:p(m(a,2))}};var bW=function(a){r.call(this,a)};U(bW,r);bW.prototype.getType=function(){return V(this,2)};bW.prototype.setType=function(a){return n(this,2,a)};bW.prototype.hasType=function(){return tk(this,2)};bW.repeatedFields_=[1];bW.prototype.toObject=function(){return QKc(this)};var QKc=function(a){if(null!=a)return t(a),{unitsList:Gb(Ch(a,OKc,1),PKc),type:p(m(a,2)),charge:p($q(a,3))}};var RKc=function(a){r.call(this,a)};U(RKc,r);f=RKc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getExpansion=function(){return V(this,2)};f.setExpansion=function(a){n(this,2,a)};f.toObject=function(){return SKc(this)};var SKc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),expansion:p(m(a,2))}};var cW=function(a){r.call(this,a)};U(cW,r);cW.prototype.getDay=function(){return Eh(this,2)};cW.prototype.setDay=function(a){n(this,2,a)};cW.prototype.getYear=function(){return Eh(this,5)};cW.prototype.setYear=function(a){return n(this,5,a)};var TKc=[3,4],UKc=[8,9,10];cW.prototype.toObject=function(){return VKc(this)};
var VKc=function(a){if(null!=a)return t(a),{weekday:p(Ms(a,1)),day:p(Ms(a,2)),monthNumber:p(Xs(a,3,TKc)),monthName:p(mo(a,4,TKc)),year:p(Ms(a,5)),calendar:p(ir(a,6)),era:p(m(a,7)),commonStyle:p(Zs(a,8,UKc)),specificStyle:p(Zs(a,9,UKc)),styleId:p(Xs(a,10,UKc))}};var dW=function(a){r.call(this,a)};U(dW,r);dW.prototype.getStyle=function(){return W(this,2,0)};dW.prototype.setStyle=function(a){return n(this,2,a)};dW.repeatedFields_=[1];dW.prototype.toObject=function(){return WKc(this)};var WKc=function(a){if(null!=a)return t(a),{chunksList:p(Gh(a,1)),style:p(ir(a,2))}};var XKc=function(a){r.call(this,a)};U(XKc,r);f=XKc.prototype;f.getHours=function(){return Eh(this,1)};f.setHours=function(a){return n(this,1,a)};f.getMinutes=function(){return Eh(this,2)};f.setMinutes=function(a){return n(this,2,a)};f.getSeconds=function(){return Eh(this,3)};f.setSeconds=function(a){return n(this,3,a)};f.getMilliseconds=function(){return Eh(this,4)};f.setMilliseconds=function(a){return n(this,4,a)};var YKc=[5,6];XKc.prototype.toObject=function(){return ZKc(this)};
var ZKc=function(a){if(null!=a)return t(a),{hours:p(Ms(a,1)),minutes:p(Ms(a,2)),seconds:p(Ms(a,3)),milliseconds:p(Ms(a,4)),commonStyle:p(Zs(a,5,YKc)),styleId:p(Xs(a,6,YKc))}};var $Kc=function(a){r.call(this,a)};U($Kc,r);f=$Kc.prototype;f.getProtocol=function(){return V(this,1)};f.setProtocol=function(a){n(this,1,a)};f.getDomain=function(){return V(this,4)};f.setDomain=function(a){return n(this,4,a)};f.hasDomain=function(){return tk(this,4)};f.getPort=function(){return Eh(this,5)};f.setPort=function(a){return n(this,5,a)};f.hasPort=function(){return Bk(this,5)};f.getPath=function(){return V(this,6)};f.setPath=function(a){return n(this,6,a)};
f.hasPath=function(){return tk(this,6)};f.getQueryString=function(){return V(this,7)};f.setQueryString=function(a){n(this,7,a)};f.toObject=function(){return aLc(this)};var aLc=function(a){if(null!=a)return t(a),{protocol:p(m(a,1)),username:p(m(a,2)),password:p(m(a,3)),domain:p(m(a,4)),port:p(Ms(a,5)),path:p(m(a,6)),queryString:p(m(a,7)),fragmentId:p(m(a,8))}};var bLc=function(a){r.call(this,a)};U(bLc,r);f=bLc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getStyle=function(){return W(this,2,0)};f.setStyle=function(a){return n(this,2,a)};f.toObject=function(){return cLc(this)};var cLc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),style:p(ir(a,2))}};var dLc=function(a){r.call(this,a)};U(dLc,r);dLc.prototype.toObject=function(){return eLc(this)};var eLc=function(a){if(null!=a)return t(a),{integerPart:p(m(a,1)),numerator:p(m(a,2)),denominator:p(m(a,3))}};var fLc=function(a){r.call(this,a)};U(fLc,r);f=fLc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getStyle=function(){return W(this,2,0)};f.setStyle=function(a){return n(this,2,a)};f.toObject=function(){return gLc(this)};var gLc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),style:p(ir(a,2))}};var eW=function(a){r.call(this,a)};U(eW,r);eW.prototype.getValueCase=function(){return Ai(this,hLc)};var hLc=[3,4];eW.prototype.toObject=function(){return iLc(this)};var iLc=function(a){if(null!=a)return t(a),{integerPart:p(m(a,1)),fractionalPart:p(m(a,2)),integer:p(Ys(a,3,hLc)),floatingPoint:p(lo(a,4,hLc)),minPrecision:p(Ms(a,5)),maxPrecision:Eh(a,6,6),exponent:p(m(a,7)),quantity:p(m(a,8))}};var fW=function(a){r.call(this,a)};U(fW,r);fW.prototype.getValueCase=function(){return Ai(this,jLc)};fW.prototype.getDecimal=function(){return Pj(this,eW,1,jLc)};fW.prototype.getFraction=function(){return Pj(this,dLc,2,jLc)};var jLc=[1,2],kLc=[4,5,6];fW.prototype.toObject=function(){return lLc(this)};var lLc=function(a){if(null!=a)return t(a),{decimal:iLc(a.getDecimal()),fraction:eLc(a.getFraction()),unit:p(m(a,3)),commonStyle:p(Zs(a,4,kLc)),specificStyle:p(Zs(a,5,kLc)),styleId:p(Xs(a,6,kLc))}};var mLc=function(a){r.call(this,a)};U(mLc,r);mLc.prototype.getAmount=function(){return Z(this,eW,1)};var nLc=[4,5,6];mLc.prototype.toObject=function(){return oLc(this)};var oLc=function(a){if(null!=a)return t(a),{amount:iLc(a.getAmount()),currency:p(m(a,2)),commonStyle:p(Zs(a,4,nLc)),specificStyle:p(Zs(a,5,nLc)),styleId:p(Xs(a,6,nLc))}};var pLc=function(a){r.call(this,a)};U(pLc,r);pLc.prototype.toObject=function(){return qLc(this)};var qLc=function(a){if(null!=a)return t(a),{integer:p(m(a,2))}};var gW=function(a){r.call(this,a)};U(gW,r);gW.prototype.getType=function(){return W(this,3,0)};gW.prototype.setType=function(a){return n(this,3,a)};gW.prototype.hasType=function(){return cj(this,3)};gW.prototype.toObject=function(){return rLc(this)};var rLc=function(a){if(null!=a)return t(a),{strength:p(ir(a,1)),durationSeconds:p(Es(a,2)),type:p(ir(a,3))}};var sLc=function(a){r.call(this,a)};U(sLc,r);sLc.prototype.getText=function(){return V(this,1)};sLc.prototype.setText=function(a){return n(this,1,a)};sLc.prototype.toObject=function(){return tLc(this)};var tLc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),punctuationStyle:p(ir(a,2)),phraseBreak:rLc(Z(a,gW,3))}};var uLc=function(a){r.call(this,a)};U(uLc,r);f=uLc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getStyle=function(){return W(this,2,0)};f.setStyle=function(a){return n(this,2,a)};f.toObject=function(){return vLc(this)};var vLc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),style:p(ir(a,2))}};var wLc=function(a){r.call(this,a)};U(wLc,r);wLc.prototype.toObject=function(){return xLc(this)};var xLc=function(a){if(null!=a)return t(a),{graphemes:p(m(a,1)),chunkSize:p(Ms(a,2))}};var yLc=function(a){r.call(this,a)};U(yLc,r);yLc.repeatedFields_=[2];yLc.prototype.toObject=function(){return zLc(this)};var zLc=function(a){if(null!=a)return t(a),{countryCode:p(m(a,1)),numberPartsList:p(Gh(a,2)),extension_3:p(m(a,3))}};var ALc=function(a){r.call(this,a)};U(ALc,r);f=ALc.prototype;f.getHours=function(){return Eh(this,1)};f.setHours=function(a){return n(this,1,a)};f.getMinutes=function(){return Eh(this,2)};f.setMinutes=function(a){return n(this,2,a)};f.getSeconds=function(){return Eh(this,3)};f.setSeconds=function(a){return n(this,3,a)};f.getZone=function(){return V(this,4)};var BLc=[5,6,7];ALc.prototype.toObject=function(){return CLc(this)};
var CLc=function(a){if(null!=a)return t(a),{hours:p(Ms(a,1)),minutes:p(Ms(a,2)),seconds:p(Ms(a,3)),zone:p(m(a,4)),commonStyle:p(Zs(a,5,BLc)),specificStyle:p(Zs(a,6,BLc)),styleId:p(Xs(a,7,BLc))}};var DLc=function(a){r.call(this,a)};U(DLc,r);DLc.prototype.getText=function(){return V(this,1)};DLc.prototype.setText=function(a){return n(this,1,a)};DLc.prototype.toObject=function(){return ELc(this)};var ELc=function(a){if(null!=a)return t(a),{text:p(m(a,1))}};var FLc=function(a){r.call(this,a)};U(FLc,r);f=FLc.prototype;f.getAnnotation=function(){return Z(this,ZV,4)};f.getVerbatim=function(){return Pj(this,DLc,102,hW)};f.getSpelling=function(){return Pj(this,wLc,103,hW)};f.getLetters=function(){return Pj(this,fLc,104,hW)};f.getAbbreviation=function(){return Pj(this,MKc,105,hW)};f.getNumber=function(){return Pj(this,eW,107,hW)};f.getOrdinal=function(){return Pj(this,pLc,108,hW)};f.setOrdinal=function(a){return eo(this,108,hW,a)};
f.getFraction=function(){return Pj(this,dLc,109,hW)};f.getTime=function(){return Pj(this,ALc,111,hW)};f.setTime=function(a){return eo(this,111,hW,a)};f.getDuration=function(){return Pj(this,XKc,112,hW)};f.getMeasure=function(){return Pj(this,fW,113,hW)};f.getDate=function(){return Pj(this,cW,114,hW)};f.setDate=function(a){return eo(this,114,hW,a)};f.getTelephone=function(){return Pj(this,yLc,115,hW)};f.getMoney=function(){return Pj(this,mLc,116,hW)};
f.getElectronic=function(){return Pj(this,$Kc,117,hW)};f.getEmoticonEmoji=function(){return Pj(this,bLc,118,hW)};f.getChemicalFormula=function(){return Pj(this,bW,119,hW)};f.getConnector=function(){return Pj(this,RKc,120,hW)};FLc.repeatedFields_=[5];var hW=[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120];FLc.prototype.toObject=function(){return GLc(this)};
var GLc=function(a){if(null!=a)return t(a),{ownIndex:p(Ms(a,1)),inputTextConnector:p(m(a,3)),inputText:p(m(a,2)),annotation:$V(a.getAnnotation()),verbalizedWordsList:Gb(Ch(a,JKc,5),LKc),passthroughVerbalizedWords:p($q(a,9)),tokenPrefix:p(m(a,6)),tokenSuffix:p(m(a,7)),originalStartPosition:IKc(Z(a,HKc,8)),word:p(mo(a,100,hW)),punctuationOrPause:tLc(Pj(a,sLc,101,hW)),verbatim:ELc(a.getVerbatim()),spelling:xLc(a.getSpelling()),letters:gLc(a.getLetters()),abbreviation:NKc(a.getAbbreviation()),romanNumeral:vLc(Pj(a,
uLc,106,hW)),number:iLc(a.getNumber()),ordinal:qLc(a.getOrdinal()),fraction:eLc(a.getFraction()),digits:WKc(Pj(a,dW,110,hW)),time:CLc(a.getTime()),duration:ZKc(a.getDuration()),measure:lLc(a.getMeasure()),date:VKc(a.getDate()),telephone:zLc(a.getTelephone()),money:oLc(a.getMoney()),electronic:aLc(a.getElectronic()),emoticonEmoji:cLc(a.getEmoticonEmoji()),chemicalFormula:QKc(a.getChemicalFormula()),connector:SKc(a.getConnector())}};var HLc=function(a){r.call(this,a,5)};U(HLc,r);HLc.prototype.getAnnotation=function(){return Z(this,ZV,2)};var ILc={};HLc.repeatedFields_=[1,3];HLc.prototype.toObject=function(){return JLc(this)};var JLc=function(a){if(null!=a){t(a);var b={piecesList:Gb(Ch(a,FLc,1),GLc),annotation:$V(a.getAnnotation()),spanAnnotationsList:Gb(Ch(a,FKc,3),GKc),attemptSentenceSplitting:p($q(a,4))};Hb(a,b,ILc);return b}};var iW=function(a){r.call(this,a)};U(iW,r);iW.prototype.getUrl=function(){return V(this,1)};iW.prototype.setUrl=function(a){return n(this,1,a)};iW.prototype.hasUrl=function(){return tk(this,1)};iW.prototype.toObject=function(){return KLc(this)};var KLc=function(a){if(null!=a)return t(a),{url:p(m(a,1))}};var LLc=function(a){r.call(this,a)};U(LLc,r);f=LLc.prototype;f.getData=function(){return Dj(this,2)};f.setData=function(a){return n(this,2,Sa(a,!1,!1))};f.clearData=function(){return Hs(this,2)};f.setEncoding=function(a){return n(this,3,a)};f.toObject=function(){return MLc(this)};var MLc=function(a){if(null!=a)return t(a),{sampleRate:p(Ms(a,1)),data:Jb(a.getData()),encoding:p(ir(a,3))}};var NLc=function(a){r.call(this,a)};U(NLc,r);var OLc=[1,2];NLc.prototype.toObject=function(){return PLc(this)};var PLc=function(a){if(null!=a)return t(a),{soundData:MLc(Pj(a,LLc,1,OLc)),externalAudio:KLc(Pj(a,iW,2,OLc))}};var QLc=function(a){r.call(this,a)};U(QLc,r);var RLc=[2,3,4];QLc.prototype.toObject=function(){return SLc(this)};var SLc=function(a){if(null!=a)return t(a),{ownIndex:p(Ms(a,1)),utterance:JLc(Pj(a,HLc,2,RLc)),maybeMultiSentence:EKc(Pj(a,aW,3,RLc)),sound:PLc(Pj(a,NLc,4,RLc))}};var TLc=function(a){r.call(this,a,3)};U(TLc,r);TLc.prototype.getAnnotation=function(){return Z(this,ZV,2)};var ULc={};TLc.repeatedFields_=[1];TLc.prototype.toObject=function(){return VLc(this)};var VLc=function(a){if(null!=a){t(a);var b={contentsList:Gb(Ch(a,QLc,1),SLc),annotation:$V(a.getAnnotation())};Hb(a,b,ULc);return b}};var WLc=function(a){r.call(this,a)};U(WLc,r);WLc.prototype.getNumber=function(){return W(this,4,0)};WLc.prototype.toObject=function(){return XLc(this)};var XLc=function(a){if(null!=a)return t(a),{pos:p(ir(a,1)),gender:p(ir(a,2)),animacy:p(ir(a,3)),number:p(ir(a,4))}};var jW=function(a){r.call(this,a)};U(jW,r);jW.prototype.getId=function(){return V(this,1)};jW.prototype.setId=function(a){return n(this,1,a)};jW.prototype.toObject=function(){return YLc(this)};var YLc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),v:p(m(a,2)),t:p(ir(a,3))}};var kW=function(a){r.call(this,a)};U(kW,r);kW.prototype.getId=function(){return V(this,1)};kW.prototype.setId=function(a){return n(this,1,a)};kW.prototype.toObject=function(){return ZLc(this)};var ZLc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),v:p(m(a,2))}};var lW=function(a){r.call(this,a)};U(lW,r);lW.prototype.getId=function(){return V(this,1)};lW.prototype.setId=function(a){return n(this,1,a)};lW.prototype.setP=function(a){return Ds(this,2,jW,a)};lW.prototype.setS=function(a){Ds(this,3,kW,a)};lW.repeatedFields_=[2,3,7];lW.prototype.toObject=function(){return $Lc(this)};
var $Lc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),pList:Gb(Ch(a,jW,2),YLc),sList:Gb(Ch(a,kW,3),ZLc),c:p(m(a,4)),syn:W(a,5,0),m:XLc(Z(a,WLc,6)),altList:p(Gh(a,7)),obs:p($q(a,8)),languageOfOrigin:p(m(a,9))}};var aMc=function(a){r.call(this,a)};U(aMc,r);aMc.prototype.toObject=function(){return bMc(this)};var bMc=function(a){if(null!=a)return t(a),{incompleteAtStart:p($q(a,1)),incompleteAtEnd:p($q(a,2))}};var mW=function(a){r.call(this,a)};U(mW,r);mW.prototype.getNumber=function(){return W(this,2,0)};mW.prototype.toObject=function(){return nW(this)};var nW=function(a){if(null!=a)return t(a),{caseMarker:p(ir(a,1)),number:p(ir(a,2)),gender:p(ir(a,3)),declension:p(ir(a,4)),definiteness:p(ir(a,5)),animacy:p(ir(a,6))}};var cMc=function(a){r.call(this,a)};U(cMc,r);f=cMc.prototype;f.getNumber=function(){return V(this,1)};f.getName=function(){return V(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};f.getStructuredFeatures=function(){return Z(this,mW,9)};cMc.repeatedFields_=[8];cMc.prototype.toObject=function(){return dMc(this)};
var dMc=function(a){if(null!=a)return t(a),{number:p(m(a,1)),dependentName:p(m(a,2)),name:p(m(a,3)),premises:p(m(a,4)),subpremises:p(m(a,5)),morphosyntacticFeatures:p(m(a,6)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:Gj(a,7,!0),fieldOrderList:p(Gh(a,8))}};var eMc=function(a){r.call(this,a)};U(eMc,r);eMc.prototype.getStructuredFeatures=function(){return Z(this,mW,13)};eMc.repeatedFields_=[12];eMc.prototype.toObject=function(){return fMc(this)};
var fMc=function(a){if(null!=a)return t(a),{thoroughfare:dMc(Z(a,cMc,1)),dependentLocality:p(m(a,2)),locality:p(m(a,3)),subadminArea:p(m(a,4)),adminArea:p(m(a,5)),countryName:p(m(a,6)),postCode:p(m(a,7)),poBox:p(m(a,8)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:Gj(a,10,!0),codeSwitch:p(m(a,11)),fieldOrderList:p(Gh(a,12))}};var gMc=function(a){r.call(this,a)};U(gMc,r);f=gMc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getExpansion=function(){return V(this,5)};f.setExpansion=function(a){n(this,5,a)};f.getStructuredFeatures=function(){return Z(this,mW,4)};f.toObject=function(){return hMc(this)};
var hMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),expansion:p(m(a,5)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:nW(a.getStructuredFeatures()),codeSwitch:p(m(a,3))}};var oW=function(a){r.call(this,a)};U(oW,r);oW.prototype.getStructuredFeatures=function(){return Z(this,mW,6)};oW.repeatedFields_=[5];oW.prototype.toObject=function(){return iMc(this)};var iMc=function(a){if(null!=a)return t(a),{integer:p(m(a,1)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,3)),codeSwitch:p(m(a,4)),fieldOrderList:p(Gh(a,5))}};var jMc=function(a){r.call(this,a)};U(jMc,r);jMc.prototype.toObject=function(){return kMc(this)};var kMc=function(a){if(null!=a)return t(a),{symbol:p(m(a,1)),numUnits:p(m(a,2))}};var pW=function(a){r.call(this,a)};U(pW,r);pW.prototype.getType=function(){return V(this,2)};pW.prototype.setType=function(a){return n(this,2,a)};pW.prototype.hasType=function(){return tk(this,2)};pW.repeatedFields_=[1];pW.prototype.toObject=function(){return lMc(this)};var lMc=function(a){if(null!=a)return t(a),{unitList:Gb(Ch(a,jMc,1),kMc),type:p(m(a,2)),charge:p($q(a,3)),codeSwitch:p(m(a,4))}};var mMc=function(a){r.call(this,a)};U(mMc,r);f=mMc.prototype;f.getType=function(){return V(this,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return tk(this,1)};f.getStructuredFeatures=function(){return Z(this,mW,4)};f.toObject=function(){return nMc(this)};var nMc=function(a){if(null!=a)return t(a),{type:p(m(a,1)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:nW(a.getStructuredFeatures()),codeSwitch:p(m(a,3))}};var oMc=function(a){r.call(this,a)};U(oMc,r);f=oMc.prototype;f.getDay=function(){return V(this,2)};f.setDay=function(a){n(this,2,a)};f.getMonth=function(){return V(this,3)};f.setMonth=function(a){return n(this,3,a)};f.getYear=function(){return V(this,4)};f.setYear=function(a){return n(this,4,a)};f.getStyle=function(){return Eh(this,5)};f.setStyle=function(a){return n(this,5,a)};f.getText=function(){return V(this,6)};f.setText=function(a){return n(this,6,a)};
f.getStructuredFeatures=function(){return Z(this,mW,13)};oMc.repeatedFields_=[12];oMc.prototype.toObject=function(){return pMc(this)};
var pMc=function(a){if(null!=a)return t(a),{weekday:p(m(a,1)),day:p(m(a,2)),dayIndicator:p(m(a,14)),month:p(m(a,3)),monthIndicator:p(m(a,15)),year:p(m(a,4)),yearIndicator:p(m(a,16)),style:p(Ms(a,5)),text:p(m(a,6)),shortYear:p($q(a,7)),era:p(m(a,8)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,10)),codeSwitch:p(m(a,11)),fieldOrderList:p(Gh(a,12))}};var qW=function(a){r.call(this,a)};U(qW,r);qW.prototype.getStyle=function(){return Eh(this,6)};qW.prototype.setStyle=function(a){return n(this,6,a)};qW.prototype.getStructuredFeatures=function(){return Z(this,mW,11)};qW.repeatedFields_=[10];qW.prototype.toObject=function(){return qMc(this)};
var qMc=function(a){if(null!=a)return t(a),{negative:p($q(a,1)),integerPart:p(m(a,2)),fractionalPart:p(m(a,3)),quantity:p(m(a,4)),exponent:p(m(a,5)),style:p(Ms(a,6)),morphosyntacticFeatures:p(m(a,7)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,8)),codeSwitch:p(m(a,9)),fieldOrderList:p(Gh(a,10))}};var rMc=function(a){r.call(this,a)};U(rMc,r);f=rMc.prototype;f.getProtocol=function(){return V(this,1)};f.setProtocol=function(a){n(this,1,a)};f.getDomain=function(){return V(this,4)};f.setDomain=function(a){return n(this,4,a)};f.hasDomain=function(){return tk(this,4)};f.getPort=function(){return Eh(this,5)};f.setPort=function(a){return n(this,5,a)};f.hasPort=function(){return Bk(this,5)};f.getPath=function(){return V(this,6)};f.setPath=function(a){return n(this,6,a)};
f.hasPath=function(){return tk(this,6)};f.getQueryString=function(){return V(this,7)};f.setQueryString=function(a){n(this,7,a)};f.getStructuredFeatures=function(){return Z(this,mW,13)};rMc.repeatedFields_=[12];rMc.prototype.toObject=function(){return sMc(this)};
var sMc=function(a){if(null!=a)return t(a),{protocol:p(m(a,1)),username:p(m(a,2)),password:p(m(a,3)),domain:p(m(a,4)),port:p(Ms(a,5)),path:p(m(a,6)),queryString:p(m(a,7)),fragmentId:p(m(a,8)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,10)),codeSwitch:p(m(a,11)),fieldOrderList:p(Gh(a,12))}};var tMc=function(a){r.call(this,a)};U(tMc,r);f=tMc.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.getType=function(){return W(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return cj(this,3)};f.toObject=function(){return uMc(this)};var uMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),occurrences:p(Ms(a,2)),type:p(ir(a,3)),codeSwitch:p(m(a,4))}};var rW=function(a){r.call(this,a)};U(rW,r);rW.prototype.getStyle=function(){return Eh(this,4)};rW.prototype.setStyle=function(a){return n(this,4,a)};rW.prototype.getStructuredFeatures=function(){return Z(this,mW,10)};rW.repeatedFields_=[9];rW.prototype.toObject=function(){return vMc(this)};
var vMc=function(a){if(null!=a)return t(a),{integerPart:p(m(a,1)),numerator:p(m(a,2)),denominator:p(m(a,3)),style:p(Ms(a,4)),morphosyntacticFeatures:p(m(a,5)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,6)),codeSwitch:p(m(a,7)),negative:p($q(a,8)),fieldOrderList:p(Gh(a,9))}};var wMc=function(a){r.call(this,a)};U(wMc,r);wMc.prototype.getId=function(){return V(this,1)};wMc.prototype.setId=function(a){return n(this,1,a)};wMc.prototype.toObject=function(){return xMc(this)};var xMc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),variant:p(m(a,2)),tokenName:p(m(a,3)),pitchAccentPhraseStart:p($q(a,4))}};var yMc=function(a){r.call(this,a)};U(yMc,r);f=yMc.prototype;f.getDecimal=function(){return Z(this,qW,1)};f.getFraction=function(){return Z(this,rW,2)};f.getCardinal=function(){return Z(this,oW,3)};f.getUnits=function(){return V(this,4)};f.getStyle=function(){return Eh(this,5)};f.setStyle=function(a){return n(this,5,a)};f.getStructuredFeatures=function(){return Z(this,mW,10)};yMc.repeatedFields_=[9];yMc.prototype.toObject=function(){return zMc(this)};
var zMc=function(a){if(null!=a)return t(a),{decimal:qMc(a.getDecimal()),fraction:vMc(a.getFraction()),cardinal:iMc(a.getCardinal()),units:p(m(a,4)),style:p(Ms(a,5)),morphosyntacticFeatures:p(m(a,6)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,7)),codeSwitch:p(m(a,8)),fieldOrderList:p(Gh(a,9))}};var sW=function(a){r.call(this,a)};U(sW,r);sW.prototype.getAmount=function(){return Z(this,qW,1)};sW.prototype.getStyle=function(){return Eh(this,4)};sW.prototype.setStyle=function(a){return n(this,4,a)};sW.prototype.getStructuredFeatures=function(){return Z(this,mW,9)};sW.repeatedFields_=[8];sW.prototype.toObject=function(){return AMc(this)};
var AMc=function(a){if(null!=a)return t(a),{amount:qMc(a.getAmount()),quantity:p(m(a,2)),stringQuantity:p(m(a,10)),currency:p(m(a,3)),style:p(Ms(a,4)),morphosyntacticFeatures:p(m(a,5)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,6)),codeSwitch:p(m(a,7)),fieldOrderList:p(Gh(a,8))}};var BMc=function(a){r.call(this,a)};U(BMc,r);BMc.prototype.getStructuredFeatures=function(){return Z(this,mW,6)};BMc.repeatedFields_=[5];BMc.prototype.toObject=function(){return CMc(this)};var CMc=function(a){if(null!=a)return t(a),{integer:p(m(a,1)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,3)),codeSwitch:p(m(a,4)),fieldOrderList:p(Gh(a,5)),definiteArticle:p($q(a,7))}};var DMc=function(a){r.call(this,a)};U(DMc,r);DMc.prototype.toObject=function(){return EMc(this)};var EMc=function(a){if(null!=a)return t(a),{graphemes:p(m(a,1)),chunkSize:p(Ms(a,2)),expressCapitalization:p($q(a,3))}};var tW=function(a){r.call(this,a)};U(tW,r);tW.prototype.getStyle=function(){return Eh(this,4)};tW.prototype.setStyle=function(a){return n(this,4,a)};tW.prototype.getStructuredFeatures=function(){return Z(this,mW,9)};tW.repeatedFields_=[2,8];tW.prototype.toObject=function(){return FMc(this)};
var FMc=function(a){if(null!=a)return t(a),{countryCode:p(m(a,1)),numberPartList:p(Gh(a,2)),extension_3:p(m(a,3)),style:p(Ms(a,4)),morphosyntacticFeatures:p(m(a,5)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,6)),codeSwitch:p(m(a,7)),fieldOrderList:p(Gh(a,8))}};var GMc=function(a){r.call(this,a)};U(GMc,r);f=GMc.prototype;f.getHours=function(){return Eh(this,1)};f.setHours=function(a){return n(this,1,a)};f.getMinutes=function(){return Eh(this,2)};f.setMinutes=function(a){return n(this,2,a)};f.getSeconds=function(){return Eh(this,3)};f.setSeconds=function(a){return n(this,3,a)};f.getMilliseconds=function(){return Eh(this,8)};f.setMilliseconds=function(a){return n(this,8,a)};f.getStyle=function(){return Eh(this,6)};f.setStyle=function(a){return n(this,6,a)};
f.getZone=function(){return V(this,7)};f.getStructuredFeatures=function(){return Z(this,mW,13)};f.getDuration=function(){return Gj(this,14)};GMc.repeatedFields_=[12];GMc.prototype.toObject=function(){return HMc(this)};
var HMc=function(a){if(null!=a)return t(a),{hours:p(Ms(a,1)),minutes:p(Ms(a,2)),seconds:p(Ms(a,3)),milliseconds:p(Ms(a,8)),speakPeriod:p($q(a,4)),suffix:p(m(a,5)),style:p(Ms(a,6)),zone:p(m(a,7)),morphosyntacticFeatures:p(m(a,9)),structuredFeatures:nW(a.getStructuredFeatures()),preserveOrder:p($q(a,10)),codeSwitch:p(m(a,11)),fieldOrderList:p(Gh(a,12)),duration:p($q(a,14))}};var IMc=function(a){r.call(this,a)};U(IMc,r);IMc.prototype.toObject=function(){return JMc(this)};var JMc=function(a){if(null!=a)return t(a),{vuiId:p(m(a,1)),stageName:p(m(a,2))}};var KMc=function(a){r.call(this,a)};U(KMc,r);KMc.repeatedFields_=[1];KMc.prototype.toObject=function(){return LMc(this)};var LMc=function(a){if(null!=a)return t(a),{foreignLanguageHintList:p(Gh(a,1)),foreignLanguageOverride:p($q(a,2))}};var MMc=function(a){r.call(this,a)};U(MMc,r);MMc.prototype.toObject=function(){return NMc(this)};var NMc=function(a){if(null!=a)return t(a),{arousal:p(Ms(a,1)),valence:p(Ms(a,2)),emotion:p(ir(a,3))}};var OMc=function(a){r.call(this,a)};U(OMc,r);OMc.prototype.toObject=function(){return PMc(this)};var PMc=function(a){if(null!=a)return t(a),{prominenceLevel:p(ir(a,1)),prominenceType:p(ir(a,2))}};var QMc=function(a){r.call(this,a)};U(QMc,r);QMc.prototype.getProminence=function(){return Z(this,OMc,4)};QMc.repeatedFields_=[9];QMc.prototype.toObject=function(){return RMc(this)};
var RMc=function(a){if(null!=a)return t(a),{containsAccent:p($q(a,1)),containsNucleus:p($q(a,2)),intonationType:p(ir(a,3)),prominence:PMc(a.getProminence()),containsPause:p($q(a,5)),precedesPause:p($q(a,6)),ratedProminence:p(Es(a,7)),isExpressive:p($q(a,8)),vuiProsodyStyleList:p(Gh(a,9)),emotionDimensions:NMc(Z(a,MMc,10)),speakingStyle:p(ir(a,11)),phonationMode:p(ir(a,12))}};var SMc=function(a){r.call(this,a)};U(SMc,r);SMc.prototype.toObject=function(){return TMc(this)};var TMc=function(a){if(null!=a)return t(a),{method:p(ir(a,1))}};var UMc=function(a){r.call(this,a)};U(UMc,r);UMc.prototype.getText=function(){return V(this,1)};UMc.prototype.setText=function(a){return n(this,1,a)};UMc.prototype.toObject=function(){return VMc(this)};var VMc=function(a){if(null!=a)return t(a),{text:p(m(a,1)),pronunciation:p(m(a,2))}};var WMc=function(a){r.call(this,a)};U(WMc,r);f=WMc.prototype;f.getTime=function(){return ej(this,1)};f.setTime=function(a){return Ls(this,1,a)};f.getValue=function(){return ej(this,2)};f.setValue=function(a){return Ls(this,2,a)};f.hasValue=function(){return null!=Es(this,2)};f.toObject=function(){return XMc(this)};var XMc=function(a){if(null!=a)return t(a),{time:p(Es(a,1)),value:p(Es(a,2))}};var YMc=function(a){r.call(this,a)};U(YMc,r);YMc.prototype.getSampleList=function(){return Ch(this,WMc,1)};YMc.repeatedFields_=[1];YMc.prototype.toObject=function(){return ZMc(this)};var ZMc=function(a){if(null!=a)return t(a),{sampleList:Gb(a.getSampleList(),XMc),timeAddressing:W(a,2,0)}};var $Mc=function(a){r.call(this,a)};U($Mc,r);$Mc.prototype.toObject=function(){return aNc(this)};var aNc=function(a){if(null!=a)return t(a),{mean:p(Es(a,1)),deviation:ej(a,2,1)}};var bNc=function(a){r.call(this,a)};U(bNc,r);bNc.prototype.getSampleList=function(){return Ch(this,WMc,1)};bNc.repeatedFields_=[1];bNc.prototype.toObject=function(){return cNc(this)};var cNc=function(a){if(null!=a)return t(a),{sampleList:Gb(a.getSampleList(),XMc),deviation:ej(a,2,1),timeAddressing:W(a,3,0)}};var dNc=function(a){r.call(this,a)};U(dNc,r);f=dNc.prototype;f.getItem=function(){return W(this,2,2)};f.setItem=function(a){return n(this,2,a)};f.getItemIndex=function(){return Eh(this,3,-1)};f.setInterval=function(a){return n(this,4,a)};f.clearInterval=function(){return Hs(this,4)};f.getTransform=function(){return W(this,6,0)};f.setTransform=function(a){return n(this,6,a)};f.getMorphing=function(){return Z(this,WV,12)};dNc.repeatedFields_=[8];dNc.prototype.toObject=function(){return eNc(this)};
var eNc=function(a){if(null!=a)return t(a),{wordIndex:Eh(a,1,-1),item:W(a,2,2),itemIndex:Eh(a,3,-1),interval:W(a,4,0),spanId:Os(a,5,0),transform:W(a,6,0),factor:p(ir(a,7)),operatorParamsList:Gb(Ch(a,WMc,8),XMc),meanParams:aNc(Z(a,$Mc,9)),piecewiseParams:cNc(Z(a,bNc,10)),copycatParams:ZMc(Z(a,YMc,11)),morphing:nKc(a.getMorphing())}};var fNc=function(a){r.call(this,a)};U(fNc,r);fNc.prototype.toObject=function(){return gNc(this)};var gNc=function(a){if(null!=a)return t(a),{t:p(Es(a,1)),v:p(Es(a,2)),deviation:ej(a,3,1)}};var hNc=function(a){r.call(this,a)};U(hNc,r);hNc.repeatedFields_=[1,5];hNc.prototype.toObject=function(){return iNc(this)};var iNc=function(a){if(null!=a)return t(a),{f0TargetList:Gb(Ch(a,fNc,1),gNc),f0Scale:p(Es(a,2)),durScale:p(Es(a,3)),wordsPerMinute:p(Ms(a,4)),advancedList:Gb(Ch(a,dNc,5),eNc),f0DeviationScaling:ej(a,6,1)}};var jNc=function(a){r.call(this,a,43)};U(jNc,r);f=jNc.prototype;f.getText=function(){return Vs(this,1,uW)};f.setText=function(a){return Xn(this,1,uW,a)};f.getCardinal=function(){return Pj(this,oW,3,uW)};f.getOrdinal=function(){return Pj(this,BMc,4,uW)};f.setOrdinal=function(a){return eo(this,4,uW,a)};f.getDecimal=function(){return Pj(this,qW,5,uW)};f.getFraction=function(){return Pj(this,rW,6,uW)};f.getTime=function(){return Pj(this,GMc,7,uW)};f.setTime=function(a){return eo(this,7,uW,a)};
f.getMeasure=function(){return Pj(this,yMc,8,uW)};f.getDate=function(){return Pj(this,oMc,9,uW)};f.setDate=function(a){return eo(this,9,uW,a)};f.getAddress=function(){return Pj(this,eMc,10,uW)};f.getTelephone=function(){return Pj(this,tW,11,uW)};f.getMoney=function(){return Pj(this,sW,12,uW)};f.getElectronic=function(){return Pj(this,rMc,13,uW)};f.getChemicalFormula=function(){return Pj(this,pW,14,uW)};f.getLetters=function(){return Vs(this,18,uW)};f.getVerbatim=function(){return Vs(this,19,uW)};
f.getConnector=function(){return Pj(this,mMc,36,uW)};f.getAbbreviation=function(){return Pj(this,gMc,37,uW)};f.getEmoticonEmoji=function(){return Pj(this,tMc,41,uW)};f.getStructuredFeatures=function(){return Z(this,mW,28)};f.getLocation=function(){return Z(this,UV,23)};f.getCrossLingual=function(){return Z(this,KMc,27)};f.getSynthesizerSelection=function(){return Z(this,SMc,30)};f.getPrefix=function(){return V(this,33)};f.setPrefix=function(a){n(this,33,a)};var kNc={};jNc.repeatedFields_=[17,34,26];
var uW=[1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,19,21,25,32,36,37,41];jNc.prototype.toObject=function(){return lNc(this)};
var lNc=function(a){if(null!=a){t(a);var b={text:p(mo(a,1,uW)),cardinal:iMc(a.getCardinal()),ordinal:CMc(a.getOrdinal()),decimal:qMc(a.getDecimal()),fraction:vMc(a.getFraction()),digit:p(mo(a,15,uW)),time:HMc(a.getTime()),measure:zMc(a.getMeasure()),date:pMc(a.getDate()),address:fMc(a.getAddress()),telephone:FMc(a.getTelephone()),money:AMc(a.getMoney()),electronic:sMc(a.getElectronic()),chemicalFormula:lMc(a.getChemicalFormula()),words:p(mo(a,16,uW)),letters:p(mo(a,18,uW)),verbatim:p(mo(a,19,uW)),
pause:p(lo(a,21,uW)),spell:EMc(Pj(a,DMc,32,uW)),verbalInfo:VMc(Pj(a,UMc,25,uW)),connector:nMc(a.getConnector()),abbreviation:hMc(a.getAbbreviation()),emoticonEmoji:uMc(a.getEmoticonEmoji()),wordSequenceList:Gb(Ch(a,wMc,17),xMc),passthroughWordSequence:p($q(a,42)),voicemod:iNc(Z(a,hNc,20)),morphosyntacticFeatures:p(m(a,2)),structuredFeatures:nW(a.getStructuredFeatures()),prosodicFeatures:RMc(Z(a,QMc,22)),location:WJc(a.getLocation()),knowledgeGraphMidList:p(Gh(a,34)),conciseEmoji:p($q(a,24)),audioSourceList:Gb(Ch(a,
IMc,26),JMc),crossLingual:LMc(a.getCrossLingual()),foreignScript:p(m(a,39)),textnormLevel:p(ir(a,29)),synthesizerSelection:TMc(a.getSynthesizerSelection()),bleep:p($q(a,31)),prefix:p(m(a,33)),suffix:p(m(a,35)),timepointName:p(m(a,38)),noCelebrity:p($q(a,40))};Hb(a,b,kNc);return b}};var vW=function(a){r.call(this,a,15)};U(vW,r);f=vW.prototype;f.getEntryList=function(){return Ch(this,lW,2)};f.getMorphing=function(){return Z(this,WV,6)};f.getSynthesizerSelection=function(){return Z(this,SMc,7)};f.getContext=function(){return Z(this,mNc,10)};f.getPerformanceOptions=function(){return Z(this,jKc,12)};f.getPartialSentenceProsody=function(){return Z(this,aMc,14)};var nNc={},mNc=function(a){r.call(this,a)};U(mNc,r);vW.repeatedFields_=[1,2];vW.prototype.toObject=function(){return oNc(this)};
var oNc=function(a){if(null!=a){t(a);var b={sayList:Gb(Ch(a,jNc,1),lNc),entryList:Gb(a.getEntryList(),$Lc),morphing:nKc(a.getMorphing()),synthesizerSelection:TMc(a.getSynthesizerSelection()),outputGain:ej(a,8,1),automaticSentenceSplitting:Gj(a,9,!0),context:pNc(a.getContext()),messageTemplateId:p(m(a,11)),performanceOptions:kKc(a.getPerformanceOptions()),bowdlerize:p($q(a,13)),partialSentenceProsody:bMc(a.getPartialSentenceProsody())};Hb(a,b,nNc);return b}};mNc.repeatedFields_=[1,2];
mNc.prototype.toObject=function(){return pNc(this)};var pNc=function(a){if(null!=a)return t(a),{previousSentenceList:Gb(Ch(a,vW,1),oNc),nextSentenceList:Gb(Ch(a,vW,2),oNc)}};var qNc=function(a){r.call(this,a,3)};U(qNc,r);var rNc={};qNc.repeatedFields_=[1];qNc.prototype.toObject=function(){return sNc(this)};var sNc=function(a){if(null!=a){t(a);var b={sentenceList:Gb(Ch(a,vW,1),oNc),lucid:VLc(Z(a,TLc,2))};Hb(a,b,rNc);return b}};var wW=function(a){r.call(this,a)};U(wW,r);f=wW.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return n(this,1,a)};f.setScore=function(a){Ds(this,2,fJc,a)};f.getAuthor=function(){return V(this,6)};f.setAuthor=function(a){n(this,6,a)};f.getPinned=function(){return Gj(this,7,!1)};f.getType=function(){return W(this,8,1)};f.setType=function(a){return n(this,8,a)};f.hasType=function(){return cj(this,8)};f.getSource=function(){return V(this,11)};
f.setSource=function(a){return n(this,11,a)};f.hasSource=function(){return tk(this,11)};f.getSourceOrUndefined=function(){return bt(this,11)};f.getDeliberationsList=function(){return Ch(this,xW,14)};var xW=function(a){r.call(this,a)};U(xW,r);f=xW.prototype;f.getQuery=function(){return Z(this,wW,1)};f.setQuery=function(a){return Wi(this,wW,1,a)};f.clearQuery=function(){Hs(this,1)};f.hasQuery=function(){return Aj(this,wW,1)};f.getResponse=function(){return Z(this,wW,2)};
f.setResponse=function(a){return Wi(this,wW,2,a)};f.getCandidatesList=function(){return Ch(this,wW,7)};wW.repeatedFields_=[2,4,14];wW.prototype.toObject=function(){return yW(this)};
var yW=function(a){if(null!=a)return t(a),{src:p(m(a,9)),tgt:p(m(a,10)),text:p(m(a,1)),scoreList:Gb(Ch(a,fJc,2),gJc),creationTime:wt(Z(a,yh,3)),followUpsList:Gb(Ch(a,dJc,4),eJc),translationHint:lJc(Z(a,OV,5)),author:p(m(a,6)),pinned:Gj(a,7,!1),type:W(a,8,1),source:p(m(a,11)),lmPrefix:p(m(a,12)),lmPrefixTokens:p(m(a,13)),deliberationsList:Gb(a.getDeliberationsList(),tNc),ttsMarkup:sNc(Z(a,qNc,15)),prewritten:p($q(a,16)),fallback:p($q(a,17))}};xW.repeatedFields_=[7];xW.prototype.toObject=function(){return tNc(this)};
var tNc=function(a){if(null!=a)return t(a),{query:yW(a.getQuery()),modifiedQuery:yW(Z(a,wW,4)),loadingNote:yW(Z(a,wW,5)),response:yW(a.getResponse()),completeNote:yW(Z(a,wW,6)),tool:p(m(a,3)),candidatesList:Gb(a.getCandidatesList(),yW)}};var zW=function(a){r.call(this,a)};U(zW,r);f=zW.prototype;f.getText=function(){return Vs(this,1,AW)};f.setText=function(a){return Xn(this,1,AW,a)};f.getAction=function(){return Pj(this,yV,6,AW)};f.hasAction=function(){return Nj(this,yV,6,AW)};f.getNoAction=function(){return Pj(this,tHc,7,AW)};f.getScoresList=function(){return Ch(this,EV,2)};f.getDeliberationsList=function(){return Ch(this,xW,3)};f.getFeedbacksList=function(){return Ch(this,LV,8)};f.getTagsList=function(){return Gh(this,11)};
f.getTags=function(a){return Ss(this,11,a)};f.getToolLogsList=function(){return Ch(this,GV,13)};f.getExecutionStepsList=function(){return Ch(this,IV,15)};zW.repeatedFields_=[2,3,8,14,11,13,15];var AW=[1,6,7];zW.prototype.toObject=function(){return uNc(this)};
var uNc=function(a){if(null!=a)return t(a),{text:p(mo(a,1,AW)),action:MHc(a.getAction()),noAction:uHc(a.getNoAction()),completeness:rOb(Z(a,qOb,16)),scoresList:Gb(a.getScoresList(),pIc),deliberationsList:Gb(a.getDeliberationsList(),tNc),prewritten:p($q(a,4)),fallback:p($q(a,5)),feedbacksList:Gb(a.getFeedbacksList(),NV),rewritesList:Gb(Ch(a,kIc,14),lIc),reward:p(Es(a,9)),recitation:jIc(Z(a,iIc,10)),tagsList:p(Gh(a,11)),detectedLanguage:p(m(a,12)),toolLogsList:Gb(a.getToolLogsList(),LIc),executionStepsList:Gb(a.getExecutionStepsList(),
JV)}};var vNc=function(a){r.call(this,a)};U(vNc,r);vNc.prototype.getInstructionEval=function(){return Z(this,CV,2)};vNc.prototype.toObject=function(){return wNc(this)};var wNc=function(a){if(null!=a)return t(a),{responseCandidate:uNc(Z(a,zW,1)),instructionEval:cIc(a.getInstructionEval())}};var xNc=function(a){r.call(this,a)};U(xNc,r);var yNc=[2,3];xNc.prototype.toObject=function(){return zNc(this)};var zNc=function(a){if(null!=a)return t(a),{traceId:Ps(a,1),react:YHc(Pj(a,XHc,2,yNc)),selfFix:wNc(Pj(a,vNc,3,yNc)),hidden:Gj(a,5)}};var ANc=function(a){r.call(this,a)};U(ANc,r);ANc.prototype.hasNext=function(){return Aj(this,VHc,1)};ANc.repeatedFields_=[2];ANc.prototype.toObject=function(){return BNc(this)};var BNc=function(a){if(null!=a)return t(a),{next:WHc(Z(a,VHc,1)),stepsList:Gb(Ch(a,xNc,2),zNc)}};var CNc=function(a){r.call(this,a)};U(CNc,r);CNc.prototype.getText=function(){return V(this,1)};CNc.prototype.setText=function(a){return jj(this,1,a)};CNc.prototype.toObject=function(){return DNc(this)};var DNc=function(a){if(null!=a)return t(a),{text:V(a,1),characterName:V(a,2)}};var BW=function(a){r.call(this,a)};U(BW,r);BW.prototype.getQuery=function(){return V(this,1)};BW.prototype.setQuery=function(a){return jj(this,1,a)};BW.prototype.clearQuery=function(){Hs(this,1)};BW.prototype.toObject=function(){return ENc(this)};var ENc=function(a){if(null!=a)return t(a),{query:V(a,1),answer:V(a,2)}};var FNc=function(a){r.call(this,a)};U(FNc,r);FNc.prototype.getFactsList=function(){return Ch(this,BW,1)};FNc.repeatedFields_=[1];FNc.prototype.toObject=function(){return GNc(this)};var GNc=function(a){if(null!=a)return t(a),{factsList:Gb(a.getFactsList(),ENc)}};var HNc=function(a){r.call(this,a)};U(HNc,r);f=HNc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return jj(this,1,a)};f.getVersion=function(){return V(this,2)};f.setVersion=function(a){return jj(this,2,a)};f.toObject=function(){return INc(this)};var INc=function(a){if(null!=a)return t(a),{name:V(a,1),version:V(a,2),split:W(a,3,0)}};var CW=function(a){r.call(this,a)};U(CW,r);f=CW.prototype;f.getValuesList=function(){return Fs(this,1)};f.setValuesList=function(a){ob(this,1,a,pba)};f.getValues=function(a){return jJb(this,1,a)};f.setValues=function(a,b){tb(this,1,a,oba(b),Fs)};f.getText=function(){return V(this,6)};f.setText=function(a){return n(this,6,a)};CW.repeatedFields_=[1];CW.prototype.toObject=function(){return JNc(this)};
var JNc=function(a){if(null!=a)return t(a),{valuesList:p(Fs(a,1)),embedderFingerprint:Ps(a,4),embedderKernelId:V(a,5),text:p(m(a,6))}};var DW=function(a){r.call(this,a)};U(DW,r);DW.prototype.getValueCase=function(){return Ai(this,KNc)};DW.prototype.getId=function(){return V(this,1)};DW.prototype.setId=function(a){return jj(this,1,a)};var KNc=[2];DW.prototype.toObject=function(){return LNc(this)};var LNc=function(a){if(null!=a)return t(a),{id:V(a,1),pb_boolean:p(Ws(a,2,KNc))}};var MNc=function(a){r.call(this,a)};U(MNc,r);MNc.prototype.toObject=function(){return NNc(this)};var NNc=function(a){if(null!=a)return t(a),{words:p(Ns(a,1)),sentences:p(Ns(a,2)),lines:p(Ns(a,3)),paragraphs:p(Ns(a,4))}};var ONc=function(a){r.call(this,a)};U(ONc,r);ONc.prototype.getResult=function(){return V(this,2)};ONc.prototype.toObject=function(){return PNc(this)};var PNc=function(a){if(null!=a)return t(a),{invocation:V(a,1),result:V(a,2),step:zNc(Z(a,xNc,3))}};var EW=function(a){r.call(this,a)};U(EW,r);f=EW.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return jj(this,1,a)};f.getAuthor=function(){return V(this,2)};f.setAuthor=function(a){jj(this,2,a)};f.getScoresList=function(){return Ch(this,EV,4)};f.getActionsMetadata=function(){return Z(this,BV,12)};f.getEmbeddingsList=function(){return Ch(this,CW,15)};f.getCreateTime=function(){return Z(this,qIc,19)};f.getSearchResultsList=function(){return Ch(this,MV,24)};
f.getFeedbacksList=function(){return Ch(this,LV,25)};f.getExecutionStepsList=function(){return Ch(this,IV,28)};f.getStats=function(){return Z(this,MNc,29)};f.getToolLogsList=function(){return Ch(this,GV,30)};EW.repeatedFields_=[4,15,16,24,25,27,28,30];EW.prototype.toObject=function(){return QNc(this)};
var QNc=function(a){if(null!=a)return t(a),{text:V(a,1),author:V(a,2),recipient:V(a,3),scoresList:Gb(a.getScoresList(),pIc),sensible:p($q(a,5)),specific:p($q(a,6)),interesting:p($q(a,7)),safe:p($q(a,8)),policyOk:p($q(a,20)),goodResearch:p($q(a,9)),assumedInfo:p($q(a,10)),procrastinative:p($q(a,11)),actionsMetadata:OHc(a.getActionsMetadata()),acceptanceScoreBad:p($q(a,13)),researchNeeded:p($q(a,14)),embeddingsList:Gb(a.getEmbeddingsList(),JNc),ratingsList:Gb(Ch(a,DW,16),LNc),prematureFarewell:p($q(a,
17)),reward:p(Es(a,18)),createTime:sIc(a.getCreateTime()),renderedHtml:p(m(a,21)),traceId:p(m(a,22)),searchResultsList:Gb(a.getSearchResultsList(),cJc),feedbacksList:Gb(a.getFeedbacksList(),NV),viewPermission:p(ir(a,26)),toolsList:Gb(Ch(a,ONc,27),PNc),executionStepsList:Gb(a.getExecutionStepsList(),JV),stats:NNc(a.getStats()),toolLogsList:Gb(a.getToolLogsList(),LIc)}};var FW=function(a){r.call(this,a)};U(FW,r);FW.prototype.getMessagesList=function(){return Ch(this,EW,1)};FW.prototype.setMessagesList=function(a){return aj(this,1,a)};FW.repeatedFields_=[1];FW.prototype.toObject=function(){return RNc(this)};var RNc=function(a){if(null!=a)return t(a),{messagesList:Gb(a.getMessagesList(),QNc)}};var SNc=function(a){r.call(this,a)};U(SNc,r);SNc.prototype.toObject=function(){return TNc(this)};var TNc=function(a){if(null!=a)return t(a),{descriptiveLocation:p(m(a,1)),descriptiveTimestamp:p(m(a,2))}};var UNc=function(a){r.call(this,a)};U(UNc,r);UNc.prototype.toObject=function(){return VNc(this)};var VNc=function(a){if(null!=a)return t(a),{inputsSchemaId:p(m(a,1)),targetsSchemaId:p(m(a,2)),inputsText:p(m(a,3)),fullSequenceText:p(m(a,4))}};var GW=function(a){r.call(this,a)};U(GW,r);GW.prototype.getText=function(){return V(this,1)};GW.prototype.setText=function(a){return n(this,1,a)};GW.prototype.toObject=function(){return WNc(this)};var WNc=function(a){if(null!=a)return t(a),{text:p(m(a,1))}};var XNc=function(a){r.call(this,a)};U(XNc,r);XNc.repeatedFields_=[1];XNc.prototype.toObject=function(){return YNc(this)};var YNc=function(a){if(null!=a)return t(a),{userFactsList:Gb(Ch(a,GW,1),WNc)}};var ZNc=function(a){r.call(this,a)};U(ZNc,r);ZNc.prototype.getReason=function(){return V(this,2)};ZNc.prototype.setReason=function(a){jj(this,2,a)};ZNc.prototype.toObject=function(){return $Nc(this)};var $Nc=function(a){if(null!=a)return t(a),{fallbackCategory:W(a,1,0),reason:V(a,2),takedownRegex:p(m(a,3)),classifierRuleMatch:p(m(a,4))}};var HW=function(a){r.call(this,a)};U(HW,r);HW.prototype.getContent=function(){return V(this,3)};HW.prototype.setContent=function(a){return jj(this,3,a)};HW.repeatedFields_=[6];HW.prototype.toObject=function(){return aOc(this)};var aOc=function(a){if(null!=a)return t(a),{depotPath:V(a,1),changelist:Eh(a,2),content:V(a,3),firstTokenIndex:Eh(a,4),numTokens:Eh(a,5),headingsList:p(Gh(a,6))}};var bOc=function(a){r.call(this,a)};U(bOc,r);f=bOc.prototype;f.getText=function(){return Vs(this,1,IW)};f.setText=function(a){return Xn(this,1,IW,a)};f.getAction=function(){return Pj(this,yV,2,IW)};f.hasAction=function(){return Nj(this,yV,2,IW)};f.getNoAction=function(){return Pj(this,tHc,3,IW)};var IW=[1,2,3,4];bOc.prototype.toObject=function(){return cOc(this)};var cOc=function(a){if(null!=a)return t(a),{text:p(mo(a,1,IW)),intValue:p(Xs(a,4,IW)),action:MHc(a.getAction()),noAction:uHc(a.getNoAction())}};var dOc=function(a){r.call(this,a)};U(dOc,r);dOc.repeatedFields_=[2,3];dOc.prototype.toObject=function(){return eOc(this)};var eOc=function(a){if(null!=a)return t(a),{ocrText:p(m(a,1)),wholeImageEntitiesList:p(Gh(a,2)),imageRegionEntitiesList:p(Gh(a,3))}};var fOc=function(a){r.call(this,a)};U(fOc,r);fOc.prototype.toObject=function(){return gOc(this)};var gOc=function(a){if(null!=a)return t(a),{paliText:p(m(a,1))}};var hOc=function(a){r.call(this,a)};U(hOc,r);hOc.prototype.toObject=function(){return iOc(this)};var iOc=function(a){if(null!=a)return t(a),{lensResult:eOc(Z(a,dOc,1)),paliResult:gOc(Z(a,fOc,2))}};var JW=function(a){r.call(this,a)};U(JW,r);JW.prototype.getText=function(){return V(this,1)};JW.prototype.setText=function(a){return jj(this,1,a)};JW.prototype.getScoresList=function(){return Ch(this,EV,2)};JW.repeatedFields_=[2];JW.prototype.toObject=function(){return jOc(this)};var jOc=function(a){if(null!=a)return t(a),{text:V(a,1),scoresList:Gb(a.getScoresList(),pIc)}};var KW=function(a){r.call(this,a)};U(KW,r);KW.prototype.getCode=function(){return V(this,1)};KW.prototype.setCode=function(a){return jj(this,1,a)};KW.prototype.getOutput=function(){return V(this,2)};KW.prototype.toObject=function(){return kOc(this)};var kOc=function(a){if(null!=a)return t(a),{code:V(a,1),output:p(m(a,2)),errorOutput:p(m(a,3)),exitCode:p(Ms(a,4))}};var lOc=function(a){r.call(this,a)};U(lOc,r);lOc.prototype.setTimeout=function(a){return Wi(this,Ah,1,a)};lOc.prototype.clearTimeout=function(){return Hs(this,1)};lOc.prototype.toObject=function(){return mOc(this)};
var mOc=function(a){if(null!=a){t(a);var b=iu(Z(a,Ah,1)),c=p(Es(a,2)),d=p(Ms(a,3)),e=p(Es(a,4)),g=p(Ms(a,5)),h=p(Es(a,6));var l=nb(a,7,Gba);return{timeout:b,samplingTemperature:c,samplingTopK:d,samplingTopP:e,samplingMaxDecodingSteps:g,controlledDecodingAlphaSafety:h,experimentalSaxExtraInputsMap:Ib(l),imageModelName:p(m(a,8)),randomSeed:p(Ms(a,9))}}};var LW=function(a){r.call(this,a)};U(LW,r);LW.prototype.getPrompt=function(){return V(this,1)};LW.prototype.setPrompt=function(a){return n(this,1,a)};LW.prototype.setInput=function(a){return Wi(this,qV,2,a)};LW.prototype.toObject=function(){return nOc(this)};var nOc=function(a){if(null!=a)return t(a),{prompt:p(m(a,1)),input:uV(Z(a,qV,2))}};var oOc=function(a){r.call(this,a)};U(oOc,r);f=oOc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};f.getSchema=function(){return Z(this,qV,5)};oOc.repeatedFields_=[4];oOc.prototype.toObject=function(){return pOc(this)};
var pOc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),description:p(m(a,2)),disabled:p($q(a,3)),demonstrationsList:Gb(Ch(a,LW,4),nOc),schema:uV(a.getSchema())}};var MW=function(a){r.call(this,a)};U(MW,r);MW.repeatedFields_=[3];MW.prototype.toObject=function(){return qOc(this)};var qOc=function(a){if(null!=a)return t(a),{toolSpecsList:Gb(Ch(a,oOc,3),pOc)}};var rOc=function(a){r.call(this,a)};U(rOc,r);rOc.prototype.getFactsList=function(){return Ch(this,GW,1)};rOc.repeatedFields_=[1];rOc.prototype.toObject=function(){return sOc(this)};var sOc=function(a){if(null!=a)return t(a),{factsList:Gb(a.getFactsList(),WNc)}};var NW=function(a){r.call(this,a)};U(NW,r);NW.prototype.getQuery=function(){return V(this,1)};NW.prototype.setQuery=function(a){return jj(this,1,a)};NW.prototype.clearQuery=function(){Hs(this,1)};NW.prototype.toObject=function(){return tOc(this)};var tOc=function(a){if(null!=a)return t(a),{query:V(a,1),answer:V(a,2)}};var uOc=function(a){r.call(this,a)};U(uOc,r);uOc.prototype.getFactsList=function(){return Ch(this,NW,1)};uOc.repeatedFields_=[1];uOc.prototype.toObject=function(){return vOc(this)};var vOc=function(a){if(null!=a)return t(a),{factsList:Gb(a.getFactsList(),tOc)}};var wOc=function(a){r.call(this,a)};U(wOc,r);wOc.prototype.toObject=function(){return xOc(this)};var xOc=function(a){if(null!=a)return t(a),{videoId:V(a,1),videoTitle:V(a,2),channelId:V(a,3),channelTitle:V(a,4),keywords:V(a,5)}};var yOc=function(a){r.call(this,a)};U(yOc,r);yOc.repeatedFields_=[1];yOc.prototype.toObject=function(){return zOc(this)};var zOc=function(a){if(null!=a)return t(a),{videosList:Gb(Ch(a,wOc,1),xOc)}};var AOc=function(a){r.call(this,a)};U(AOc,r);f=AOc.prototype;f.getUrl=function(){return V(this,1)};f.setUrl=function(a){return jj(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return jj(this,2,a)};f.toObject=function(){return BOc(this)};var BOc=function(a){if(null!=a)return t(a),{url:V(a,1),title:V(a,2),minimalTextContent:V(a,3)}};var COc=function(a){r.call(this,a)};U(COc,r);COc.prototype.toObject=function(){return DOc(this)};
var DOc=function(a){if(null!=a)return t(a),{statelessApi:Gj(a,1,!0),statefulApi:Gj(a,2,!1),asrCorrection:Gj(a,3,!1),authorFeatures:Gj(a,4,!1),topicFeatures:Gj(a,5,!1),yourPersonaFeatures:Gj(a,6,!1),theirPersonaFeatures:Gj(a,7,!1),maxPersonaFeatures:Eh(a,8,0),knowledgeFeatures:Gj(a,9,!1),maxAuthors:Eh(a,10,0),includeFeature:Gj(a,11,!1),featureEncodingFramework:p($q(a,12)),emotionFeatures:p($q(a,13)),salientTermFeatures:p($q(a,14)),personaStatementFeatures:p($q(a,15)),questionFeatures:p($q(a,16)),responseLengthFeatures:p($q(a,
17)),conversationLocationFeatures:p($q(a,18)),conversationBackgroundFeatures:p($q(a,19)),futureFeatures:p($q(a,20))}};var EOc=function(a){r.call(this,a)};U(EOc,r);EOc.prototype.toObject=function(){return FOc(this)};var FOc=function(a){if(null!=a)return t(a),{topic:p(ir(a,1)),persona:p(ir(a,2))}};var GOc=function(a){r.call(this,a)};U(GOc,r);GOc.prototype.getTarget=function(){return Z(this,wW,1)};GOc.prototype.setTarget=function(a){return Wi(this,wW,1,a)};GOc.prototype.toObject=function(){return HOc(this)};var HOc=function(a){if(null!=a)return t(a),{target:yW(a.getTarget()),threshold:p(Es(a,2)),boost:p($q(a,3))}};var IOc=function(a){r.call(this,a)};U(IOc,r);IOc.prototype.toObject=function(){return JOc(this)};var JOc=function(a){if(null!=a)return t(a),{enableSearchApi:p($q(a,1)),enableHci:p($q(a,7)),enableAssistant:p($q(a,2)),enablePeregrine:p($q(a,3)),disableCannedSearchResults:p($q(a,8)),timeoutSeconds:p(Es(a,4)),apiTypeName:p(m(a,5)),modelId:V(a,6,"google-text")}};var KOc=function(a){r.call(this,a)};U(KOc,r);KOc.repeatedFields_=[4];KOc.prototype.toObject=function(){return LOc(this)};var LOc=function(a){if(null!=a)return t(a),{fetchStarburst:p($q(a,1)),fetchNniq:p($q(a,2)),filterUnsafe:p($q(a,3)),fetchEmbKeysList:p(Gh(a,4))}};var MOc=function(a){r.call(this,a)};U(MOc,r);MOc.repeatedFields_=[2,3];MOc.prototype.toObject=function(){return NOc(this)};var NOc=function(a){if(null!=a)return t(a),{stripUrls:p($q(a,1)),srcsList:p(Gh(a,2)),tgtsList:p(Gh(a,3))}};var OOc=function(a){r.call(this,a)};U(OOc,r);OOc.prototype.toObject=function(){return POc(this)};var POc=function(a){if(null!=a)return t(a),a=nb(a,1,gb),{thumbsDownReasonOverridesMap:Ib(a)}};var OW=function(a){r.call(this,a)};U(OW,r);OW.prototype.getAddress=function(){return V(this,2)};OW.prototype.getType=function(){return W(this,4,0)};OW.prototype.setType=function(a){return n(this,4,a)};OW.prototype.hasType=function(){return cj(this,4)};OW.repeatedFields_=[5,6];OW.prototype.toObject=function(){return QOc(this)};var QOc=function(a){if(null!=a)return t(a),{hostingService:p(m(a,1)),address:p(m(a,2)),replicas:p(Ms(a,3)),type:p(ir(a,4)),addressesList:p(Gh(a,5)),weightsList:p(Fs(a,6))}};var PW=function(a){r.call(this,a)};U(PW,r);PW.prototype.getAuthor=function(){return V(this,1)};PW.prototype.setAuthor=function(a){n(this,1,a)};PW.repeatedFields_=[2];PW.prototype.toObject=function(){return ROc(this)};var ROc=function(a){if(null!=a)return t(a),{author:p(m(a,1)),statementsList:Gb(Ch(a,wW,2),yW)}};var SOc=function(a){r.call(this,a)};U(SOc,r);SOc.prototype.getId=function(){return V(this,1)};SOc.prototype.setId=function(a){return jj(this,1,a)};SOc.prototype.toObject=function(){return TOc(this)};var TOc=function(a){if(null!=a)return t(a),{id:V(a,1)}};var UOc=function(a){r.call(this,a)};U(UOc,r);UOc.prototype.toObject=function(){return VOc(this)};var VOc=function(a){if(null!=a)return t(a),{spansBefore:Eh(a,1,0),spansAfter:Eh(a,2,0),separator:V(a,3," ")}};var QW=function(a){r.call(this,a)};U(QW,r);QW.prototype.getResultType=function(){return W(this,4,2)};QW.prototype.setResultType=function(a){n(this,4,a)};QW.prototype.hasResultType=function(){return cj(this,4)};QW.prototype.toObject=function(){return WOc(this)};var WOc=function(a){if(null!=a)return t(a),{retrievalCorpusId:TOc(Z(a,SOc,1)),timeoutSeconds:ej(a,2,5),apiTypeName:p(m(a,3)),resultType:W(a,4,2),modelId:V(a,5,"retrieval-text"),topN:Eh(a,6,3),contextOptions:VOc(Z(a,UOc,7))}};var XOc=function(a){r.call(this,a)};U(XOc,r);XOc.prototype.getGoogleTextConfig=function(){return Pj(this,IOc,1,YOc)};XOc.prototype.getRetrievalTextConfig=function(){return Pj(this,QW,2,YOc)};var YOc=[1,2];XOc.prototype.toObject=function(){return ZOc(this)};var ZOc=function(a){if(null!=a)return t(a),{googleTextConfig:JOc(a.getGoogleTextConfig()),retrievalTextConfig:WOc(a.getRetrievalTextConfig())}};var $Oc=function(a){r.call(this,a)};U($Oc,r);$Oc.repeatedFields_=[3,4];$Oc.prototype.toObject=function(){return aPc(this)};var aPc=function(a){if(null!=a)return t(a),{matchRegex:p(m(a,1)),onMatch:p(ir(a,2)),onMatchScoreBonus:p(Es(a,9)),srcsList:p(Gh(a,3)),tgtsList:p(Gh(a,4)),validateUrls:p($q(a,5)),onInvalidUrl:p(ir(a,6)),urlRepeatPenalty:p(Es(a,7)),wrongUrlPenalty:p(Es(a,8)),removeUrls:p($q(a,10))}};var bPc=function(a){r.call(this,a)};U(bPc,r);bPc.prototype.toObject=function(){return cPc(this)};var cPc=function(a){if(null!=a)return t(a),{deadlineMs:p(Ms(a,1)),maxResultsPerQuery:p(Ms(a,2)),maxTotalResults:p(Ms(a,3)),maxThreads:p(Ms(a,4)),topNResultsForPeregrine:p(Ms(a,5)),superroot:p(m(a,6)),returnEarlyForNonorganicResults:p($q(a,7))}};var RW=function(a){r.call(this,a)};U(RW,r);RW.prototype.getGoogleTextConfig=function(){return Z(this,IOc,18)};RW.prototype.getRetrievalTextConfig=function(){return Z(this,QW,20)};RW.repeatedFields_=[21];RW.prototype.toObject=function(){return dPc(this)};
var dPc=function(a){if(null!=a)return t(a),{baseModelId:p(m(a,1)),researchModelId:p(m(a,2)),researchModelThreads:p(Ms(a,14)),researchModelTimeoutSeconds:p(Es(a,15)),researchModelBatchSize:p(Ms(a,16)),searchModelId:p(m(a,9)),searchModelThreads:p(Ms(a,10)),searchModelTimeoutSeconds:p(Es(a,11)),searchModelBatchSize:p(Ms(a,17)),maxQueriesPerBaseMessage:p(Ms(a,26)),maxSearchResultsPerQuery:p(Ms(a,12)),maxTotalSearchResults:p(Ms(a,13)),meenaToToolSuffix:p(m(a,3)),outputPostprocConfig:aPc(Z(a,$Oc,4)),baseMessagesUsed:p(Ms(a,
5)),reasoningWorkerThreads:p(Ms(a,6)),useMultibaseReasoning:p($q(a,7)),skipReasoningForEmptyBase:p($q(a,8)),googleTextConfig:JOc(a.getGoogleTextConfig()),retrievalTextConfig:WOc(a.getRetrievalTextConfig()),researchTriggerThreshold:ej(a,19,.5),apiConfigsList:Gb(Ch(a,XOc,21),ZOc),enableNoBaseReverseSearch:p($q(a,22)),baseModelTimeoutSeconds:p(Es(a,23)),enableFilterUnseenYearQueryForRecentNew:p($q(a,24)),disableFinalResponseGeneration:p($q(a,25)),enableWorldfactsRetrieval:p($q(a,27)),worldfactsConfig:cPc(Z(a,
bPc,28)),enablePromptEnsemble:p($q(a,29))}};var ePc=function(a){r.call(this,a)};U(ePc,r);ePc.prototype.toObject=function(){return fPc(this)};var fPc=function(a){if(null!=a)return t(a),{toxicityThreshold:p(Es(a,1))}};var gPc=function(a){r.call(this,a)};U(gPc,r);gPc.prototype.toObject=function(){return hPc(this)};var hPc=function(a){if(null!=a)return t(a),{highThreshold:p(Es(a,1)),mediumThreshold:p(Es(a,2)),lowThreshold:p(Es(a,3)),lowestThreshold:p(Es(a,4))}};var iPc=function(a){r.call(this,a)};U(iPc,r);iPc.prototype.toObject=function(){return jPc(this)};var jPc=function(a){if(null!=a)return t(a),{modelName:p(m(a,1)),threshold:p(Es(a,2)),severityThresholds:hPc(Z(a,gPc,3))}};var kPc=function(a){r.call(this,a)};U(kPc,r);kPc.prototype.toObject=function(){return lPc(this)};var lPc=function(a){if(null!=a)return t(a),{pornScoreThreshold:p(Es(a,1)),vulgarScoreThreshold:p(Es(a,2)),offensiveScoreThreshold:p(Es(a,3)),violenceScoreThreshold:p(Es(a,4)),medicalScoreThreshold:p(Es(a,5)),spoofScoreThreshold:p(Es(a,6)),enableCsai:p($q(a,7)),enableFringe:p($q(a,8))}};var SW=function(a){r.call(this,a)};U(SW,r);SW.repeatedFields_=[13,6,7,12];SW.prototype.toObject=function(){return mPc(this)};
var mPc=function(a){if(null!=a)return t(a),{safesearchFilteringEnabled:p($q(a,1)),commentAnalyzerFilteringEnabled:p($q(a,3)),sensitiveTopicFilteringEnabled:p($q(a,5)),assistantSensitiveFilteringEnabled:p($q(a,9)),meenaSafetyModelEnabled:p($q(a,10)),allowedBlocklistVersionsList:p(Gh(a,13)),expanderSensitiveCategoriesList:p(Gh(a,6)),petacatSensitiveCategoriesList:p(Gh(a,7)),petacatScoreThreshold:p(Es(a,8)),safesearchThresholds:lPc(Z(a,kPc,2)),commentAnalyzerThresholds:fPc(Z(a,ePc,4)),meenaSafetyConfig:jPc(Z(a,
iPc,11)),safetyContributorsList:p(Qk(a,12)),chunkSizeChars:p(Ms(a,14))}};var nPc=function(a){r.call(this,a)};U(nPc,r);nPc.repeatedFields_=[4];nPc.prototype.toObject=function(){return oPc(this)};var oPc=function(a){if(null!=a)return t(a),{speakerName:p(m(a,1)),modelId:p(m(a,2)),role:p(ir(a,3)),alternateNamesList:p(Gh(a,4))}};var pPc=function(a){r.call(this,a)};U(pPc,r);pPc.prototype.toObject=function(){return qPc(this)};var qPc=function(a){if(null!=a)return t(a),{jointProbCoeff:ej(a,1,1),probGivenContextCoeff:ej(a,2,1),probGivenAsrCoeff:ej(a,3,1),rerankScoreScalingFactor:ej(a,4,1)}};var rPc=function(a){r.call(this,a)};U(rPc,r);f=rPc.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};f.getCapabilities=function(){return Z(this,COc,33)};f.getPreamble=function(){return Ss(this,48)};f.getPrefix=function(){return V(this,65)};f.setPrefix=function(a){n(this,65,a)};
f.getGoogleTextConfig=function(){return Z(this,IOc,77)};f.setKernelId=function(a){return n(this,106,a)};rPc.repeatedFields_=[8,28,30,46,48,49,63,68];rPc.prototype.toObject=function(){return sPc(this)};
var sPc=function(a){if(null!=a){t(a);var b=p(m(a,1)),c=p(m(a,2));var d=nb(a,3,gb);d=Ib(d);var e=nb(a,4,gb);e=Ib(e);var g=p($q(a,5)),h=QOc(Z(a,OW,6)),l=p($q(a,7)),q=p(Gh(a,8)),x=p(m(a,37)),A=mPc(Z(a,SW,9)),B=mPc(Z(a,SW,16)),K=mPc(Z(a,SW,17)),O=p(m(a,59)),P=p($q(a,10)),Y=p(ir(a,11)),X=p($q(a,12)),ka=p($q(a,18)),ma=p($q(a,15)),ya=p($q(a,13)),Aa=V(a,14,"cortex-v1"),Ma=p($q(a,19)),Ra=p($q(a,20)),Ta=p(Ms(a,21)),Lb=p(Es(a,55)),qb=p($q(a,51)),Ya=p(ir(a,22)),wa=p(m(a,23)),Ka=p(Es(a,24)),Na=ROc(Z(a,PW,25)),
eb=ROc(Z(a,PW,26)),ab=p(m(a,27)),Sc=p(Gh(a,28)),fb=p(m(a,29)),zb=Gb(Ch(a,GOc,30),HOc),$a=p(Ms(a,31)),Fb=FOc(Z(a,EOc,32)),ib=DOc(a.getCapabilities()),Mb=Gj(a,34,!1),jc=V(a,35,"tina"),Ec=Gj(a,36,!1),Vc=p(m(a,38)),df=qPc(Z(a,pPc,39)),Fd=Gj(a,40,!1),le=Gj(a,41,!1),Li=p(Es(a,42)),oU=p(Ms(a,43)),Lo=p(m(a,44)),ig=p($q(a,45)),qD=p(Gh(a,46)),AAa=p($q(a,47)),Mo=p(m(a,83)),Uq=W(a,86,9),Tx=p(Gh(a,48)),Hk=Gb(Ch(a,wW,49),yW),lka=p($q(a,50)),E$c=p(ir(a,52)),F$c=p($q(a,53)),G$c=p($q(a,54)),H$c=p(m(a,56)),I$c=p($q(a,
57)),J$c=p(Es(a,58)),K$c=p(m(a,60)),L$c=p($q(a,61)),M$c=p($q(a,62)),N$c=p(Qk(a,63)),O$c=p($q(a,64)),P$c=p(m(a,65)),Q$c=p(m(a,66)),R$c=p(m(a,67)),S$c=Gb(Ch(a,nPc,68),oPc),T$c=p($q(a,69)),U$c=p(m(a,70)),V$c=p(Es(a,71)),W$c=p(Es(a,72)),X$c=p(Es(a,73)),Y$c=Eh(a,74,1),Z$c=ej(a,87,10),$$c=p($q(a,75)),aad=p(m(a,76)),bad=JOc(a.getGoogleTextConfig()),cad=p(Es(a,78)),dad=p(Ms(a,79)),ead=NOc(Z(a,MOc,80)),fad=dPc(Z(a,RW,81)),gad=p($q(a,82)),had=p(Es(a,84)),iad=p(Es(a,90)),jad=p(Es(a,91)),kad=p(Es(a,92)),lad=
p(Es(a,98)),mad=POc(Z(a,OOc,85));var jTa=nb(a,88,Eba);jTa=Ib(jTa);var nad=nb(a,89,Gba);return{id:b,description:c,propertiesMap:d,hparamsMap:e,enabled:g,modelHostingInfo:h,display:l,subIdsList:q,safeModelId:x,safetyParameters:A,safetyParametersResponseOverride:B,safetyParametersContextOverride:K,safetyResetText:O,rulesDisabled:P,unsafeContextSwitchMethod:Y,forceCrossTurnRepetitionRules:X,forumPatternFilterEnabled:ka,forceEnableSafety:ma,cortexEnabled:ya,cortexModelId:Aa,conditionalGeneration:Ma,dynamicSampling:Ra,
samplingKeepTopK:Ta,samplingKeepTopP:Lb,beamSearch:qb,cortexRequestType:Ya,cortexPositiveClassName:wa,samplingTemperature:Ka,modelPersona:Na,userPersona:eb,topic:ab,filteringExemptSubstringsList:Sc,futureRerankModelId:fb,futureTargetsList:zb,maxPersonaStatements:$a,featureEncodings:Fb,capabilities:ib,asrCorrectionEnabled:Mb,tinaModelId:jc,appDefault:Ec,tinaRerankModelId:Vc,tinaRerankCoefficients:df,syntheticChattyStart:Fd,deleteChatbotName:le,verbosity:Li,vocabSize:oU,wordVocabPath:Lo,forceWordVocabConstraint:ig,
stripSubstringsList:qD,generateTts:AAa,ttsVoiceName:Mo,ttsAudioEncoding:Uq,preambleList:Tx,messagesPreambleList:Hk,assistantMeenaIntegration:lka,lmContextFormat:E$c,dialogRanking:F$c,delimitedLm:G$c,scoringModelId:H$c,stripTerminators:I$c,filterThreshold:J$c,responseSeparator:K$c,reasoning:L$c,randomFinalRank:M$c,combinedScoresList:N$c,useAdsScore:O$c,prefix:P$c,maxContextTurns:Q$c,lmPrefixMax:R$c,speakersList:S$c,multiauthorEnabled:T$c,taskMarker:U$c,specific:V$c,sensible:W$c,interesting:X$c,retries:Y$c,
chatDeadlineSecs:Z$c,scoreIndicesV2Enabled:$$c,maxReasoningSteps:aad,googleTextConfig:bad,researchTemperature:cad,researchEveryNSteps:dad,inputPreprocConfig:ead,reasoningConfig:fad,disablePrivacyServiceFiltering:gad,maxUnsafeScore:had,maxSociallyInappropriateScore:iad,maxControversialOpinionScore:jad,maxHarmfulToUserScore:kad,maxEarBadScore:lad,messageAnnotationConfig:mad,scoreFormatMap:jTa,finalRankWeightsMap:Ib(nad),enableApiSyntaxChecking:p($q(a,93)),includeHistoricalApisInContext:p($q(a,94)),
removeForumSpecific:p($q(a,95)),useTicketingDiscScore:p($q(a,96)),maxPrematureFarewellScore:p(Es(a,97)),imageSignalConfig:LOc(Z(a,KOc,99)),forScoring:p($q(a,100)),rankingAlgorithm:p(ir(a,101)),basicRankingEnabled:p($q(a,102)),basicModelId:V(a,103,"multilamda-basic-v1"),alsoReturnResponseScore:p($q(a,104)),discriminatorModelId:p(m(a,105)),kernelId:p(m(a,106)),predictsTaskmasterApis:p($q(a,107)),maxNumRetriesForEmptyResponse:p(Ms(a,108)),isMultilamda:p($q(a,109))}}};var TW=function(a){r.call(this,a)};U(TW,r);TW.prototype.getExecutionStepsList=function(){return Ch(this,IV,2)};TW.repeatedFields_=[2];TW.prototype.toObject=function(){return tPc(this)};var tPc=function(a){if(null!=a)return t(a),{userQuery:p(m(a,1)),executionStepsList:Gb(a.getExecutionStepsList(),JV),systemResponse:p(m(a,3))}};var uPc=function(a){r.call(this,a)};U(uPc,r);f=uPc.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getStringValue=function(){return V(this,2)};f.setStringValue=function(a){return n(this,2,a)};f.toObject=function(){return vPc(this)};var vPc=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),stringValue:p(m(a,2))}};var wPc=function(a){r.call(this,a)};U(wPc,r);wPc.prototype.toObject=function(){return xPc(this)};var xPc=function(a){if(null!=a)return t(a),a=Sj(a,1,uPc),{variableMap:Ib(a,vPc)}};var yPc=function(a){r.call(this,a)};U(yPc,r);yPc.repeatedFields_=[2];yPc.prototype.toObject=function(){return zPc(this)};var zPc=function(a){if(null!=a)return t(a),{currentTurn:tPc(Z(a,TW,1)),pastTurnsList:Gb(Ch(a,TW,2),tPc),variableStore:xPc(Z(a,wPc,3)),referencedContent:EPb(Z(a,DPb,4))}};var APc=function(a){r.call(this,a)};U(APc,r);APc.prototype.getState=function(){return Z(this,yPc,1)};APc.prototype.toObject=function(){return BPc(this)};var BPc=function(a){if(null!=a)return t(a),{state:zPc(a.getState())}};var CPc=function(a){r.call(this,a)};U(CPc,r);CPc.prototype.toObject=function(){return DPc(this)};var DPc=function(a){if(null!=a)return t(a),{toolInstruction:p(m(a,1)),operationId:p(m(a,2)),rawToolResponse:p(m(a,3)),summarizedToolResponse:p(m(a,4))}};var EPc=function(a){r.call(this,a)};U(EPc,r);EPc.prototype.getDisplayName=function(){return V(this,1)};EPc.prototype.setDisplayName=function(a){return n(this,1,a)};EPc.prototype.toObject=function(){return FPc(this)};var FPc=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),logoUri:p(m(a,2)),displayDescription:p(m(a,3))}};var GPc=function(a){r.call(this,a)};U(GPc,r);f=GPc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getLocation=function(){return W(this,2,0)};f.toObject=function(){return HPc(this)};var HPc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),httpName:p(m(a,6)),location:p(ir(a,2))}};var IPc=function(a){r.call(this,a)};U(IPc,r);f=IPc.prototype;f.setStatusCode=function(a){n(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};f.toObject=function(){return JPc(this)};var JPc=function(a){if(null!=a)return t(a),{statusCode:p(m(a,1)),description:p(m(a,2))}};var KPc=function(a){r.call(this,a)};U(KPc,r);f=KPc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getLocation=function(){return W(this,2,0)};f.toObject=function(){return LPc(this)};var LPc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),location:p(ir(a,2)),keyId:p(m(a,3))}};var MPc=function(a){r.call(this,a)};U(MPc,r);MPc.prototype.toObject=function(){return NPc(this)};var NPc=function(a){if(null!=a)return t(a),{usernameId:p(m(a,1)),passwordId:p(m(a,2))}};var OPc=function(a){r.call(this,a)};U(OPc,r);OPc.prototype.toObject=function(){return PPc(this)};var PPc=function(a){if(null!=a)return t(a),{tokenId:p(m(a,1))}};var QPc=function(a){r.call(this,a)};U(QPc,r);QPc.prototype.toObject=function(){return RPc(this)};var RPc=function(a){if(null!=a)return t(a),{}};var SPc=function(a){r.call(this,a)};U(SPc,r);SPc.prototype.toObject=function(){return TPc(this)};var TPc=function(a){if(null!=a)return t(a),{}};var UW=function(a){r.call(this,a)};U(UW,r);UW.prototype.getName=function(){return V(this,1)};UW.prototype.setName=function(a){return n(this,1,a)};UW.prototype.hasName=function(){return tk(this,1)};UW.prototype.getNameOrUndefined=function(){return bt(this,1)};var UPc=[2,3,4,5,6];UW.prototype.toObject=function(){return VPc(this)};
var VPc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),noAuth:RPc(Pj(a,QPc,2,UPc)),basicAuth:NPc(Pj(a,MPc,3,UPc)),bearerAuth:PPc(Pj(a,OPc,4,UPc)),apiKeyAuth:LPc(Pj(a,KPc,5,UPc)),oauth2:TPc(Pj(a,SPc,6,UPc))}};var WPc=function(a){r.call(this,a)};U(WPc,r);WPc.repeatedFields_=[1];WPc.prototype.toObject=function(){return XPc(this)};var XPc=function(a){if(null!=a)return t(a),{allOfList:Gb(Ch(a,UW,1),VPc)}};var YPc=function(a){r.call(this,a)};U(YPc,r);YPc.repeatedFields_=[1];YPc.prototype.toObject=function(){return ZPc(this)};var ZPc=function(a){if(null!=a)return t(a),{anyOfList:Gb(Ch(a,WPc,1),XPc)}};var $Pc=function(a){r.call(this,a)};U($Pc,r);f=$Pc.prototype;f.getUrl=function(){return V(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return tk(this,1)};f.getPath=function(){return V(this,2)};f.setPath=function(a){return n(this,2,a)};f.hasPath=function(){return tk(this,2)};f.getParametersList=function(){return Ch(this,GPc,4)};f.setParameters=function(a,b){return Ds(this,4,GPc,a,b)};$Pc.repeatedFields_=[4];$Pc.prototype.toObject=function(){return aQc(this)};
var aQc=function(a){if(null!=a){t(a);var b=p(m(a,1)),c=p(m(a,2)),d=p(ir(a,3)),e=Gb(a.getParametersList(),HPc);var g=Sj(a,6,IPc);return{url:b,path:c,method:d,parametersList:e,responsesMap:Ib(g,JPc),securityModel:ZPc(Z(a,YPc,7))}}};var bQc=function(a){r.call(this,a)};U(bQc,r);var cQc=[1];bQc.prototype.toObject=function(){return dQc(this)};var dQc=function(a){if(null!=a)return t(a),{httpInvocationSpec:aQc(Pj(a,$Pc,1,cQc))}};var eQc=function(a){r.call(this,a)};U(eQc,r);eQc.prototype.toObject=function(){return fQc(this)};var fQc=function(a){if(null!=a)return t(a),{}};var gQc=function(a){r.call(this,a)};U(gQc,r);gQc.prototype.getEnumValues=function(a){return Qs(this,2,a)};gQc.repeatedFields_=[2];gQc.prototype.toObject=function(){return hQc(this)};var hQc=function(a){if(null!=a)return t(a),{defaultValue:p(Ms(a,1)),enumValuesList:p(Bh(a,2)),minimum:p(Ms(a,3)),maximum:p(Ms(a,4)),exclusiveMinimum:p($q(a,5)),multipleOf:p(Ms(a,6))}};var iQc=function(a){r.call(this,a)};U(iQc,r);iQc.prototype.getEnumValues=function(a){return jJb(this,2,a)};iQc.repeatedFields_=[2];iQc.prototype.toObject=function(){return jQc(this)};var jQc=function(a){if(null!=a)return t(a),{defaultValue:p(Es(a,1)),enumValuesList:p(Fs(a,2)),minimum:p(Es(a,3)),maximum:p(Es(a,4)),exclusiveMinimum:p($q(a,5)),multipleOf:p(Es(a,6))}};var kQc=function(a){r.call(this,a)};U(kQc,r);kQc.repeatedFields_=[2];kQc.prototype.toObject=function(){return lQc(this)};var lQc=function(a){if(null!=a)return t(a),{defaultValue:p(m(a,1)),possibleValuesList:p(Gh(a,2)),minLength:p(Ms(a,3)),maxLength:p(Ms(a,4))}};var mQc=function(a){r.call(this,a)};U(mQc,r);f=mQc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getSchema=function(){return Z(this,VW,2)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return tk(this,4)};var nQc=function(a){r.call(this,a)};U(nQc,r);
nQc.prototype.setProperties=function(a,b){return Ds(this,1,mQc,a,b)};var oQc=function(a){r.call(this,a)};U(oQc,r);oQc.prototype.getItems=function(){return Z(this,VW,1)};var VW=function(a){r.call(this,a)};U(VW,r);VW.prototype.getType=function(){return W(this,1,0)};VW.prototype.setType=function(a){return n(this,1,a)};VW.prototype.hasType=function(){return cj(this,1)};mQc.prototype.toObject=function(){return pQc(this)};
var pQc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),schema:qQc(a.getSchema()),isRequired:p($q(a,3)),description:p(m(a,4))}};nQc.repeatedFields_=[1];nQc.prototype.toObject=function(){return rQc(this)};var rQc=function(a){if(null!=a)return t(a),{propertiesList:Gb(Ch(a,mQc,1),pQc)}};oQc.prototype.toObject=function(){return sQc(this)};var sQc=function(a){if(null!=a)return t(a),{items:qQc(a.getItems()),uniqueItems:p($q(a,2)),minLength:p(Ms(a,3)),maxLength:p(Ms(a,4))}},WW=[2,3,4,5,6,7];
VW.prototype.toObject=function(){return qQc(this)};var qQc=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),stringSchema:lQc(Pj(a,kQc,2,WW)),integerSchema:hQc(Pj(a,gQc,3,WW)),numberSchema:jQc(Pj(a,iQc,4,WW)),booleanSchema:fQc(Pj(a,eQc,5,WW)),arraySchema:sQc(Pj(a,oQc,6,WW)),objectSchema:rQc(Pj(a,nQc,7,WW))}};var tQc=function(a){r.call(this,a)};U(tQc,r);f=tQc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getSchema=function(){return Z(this,VW,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return tk(this,3)};f.getValue=function(){return V(this,5)};f.setValue=function(a){return n(this,5,a)};
f.hasValue=function(){return tk(this,5)};f.toObject=function(){return uQc(this)};var uQc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),schema:qQc(a.getSchema()),description:p(m(a,3)),isRequired:p($q(a,4)),value:p(m(a,5))}};var vQc=function(a){r.call(this,a)};U(vQc,r);vQc.prototype.toObject=function(){return wQc(this)};var wQc=function(a){if(null!=a)return t(a),{}};var XW=function(a){r.call(this,a)};U(XW,r);XW.prototype.getQuery=function(){return V(this,1)};XW.prototype.setQuery=function(a){return n(this,1,a)};XW.prototype.clearQuery=function(){Hs(this,1)};XW.prototype.hasQuery=function(){return tk(this,1)};var MQ=function(a){r.call(this,a)};U(MQ,r);f=MQ.prototype;f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};f.getParametersList=function(){return Ch(this,tQc,3)};
f.setParameters=function(a,b){return Ds(this,3,tQc,a,b)};f.getResponse=function(){return Z(this,vQc,4)};f.setResponse=function(a){return Wi(this,vQc,4,a)};XW.prototype.toObject=function(){return xQc(this)};var xQc=function(a){if(null!=a)return t(a),{query:p(m(a,1)),operation:yQc(Z(a,MQ,2))}};MQ.repeatedFields_=[3,5];MQ.prototype.toObject=function(){return yQc(this)};
var yQc=function(a){if(null!=a)return t(a),{operationId:p(m(a,1)),description:p(m(a,2)),parametersList:Gb(a.getParametersList(),uQc),response:wQc(a.getResponse()),examplesList:Gb(Ch(a,XW,5),xQc),operationResponseTemplate:p(m(a,6)),invocationSpec:dQc(Z(a,bQc,7))}};var zQc=function(a){r.call(this,a)};U(zQc,r);zQc.prototype.toObject=function(){return AQc(this)};var AQc=function(a){if(null!=a)return t(a),{operationId:p(m(a,1)),injaTemplate:p(m(a,2))}};var YW=function(a){r.call(this,a)};U(YW,r);YW.prototype.getQuery=function(){return V(this,1)};YW.prototype.setQuery=function(a){return n(this,1,a)};YW.prototype.clearQuery=function(){Hs(this,1)};YW.prototype.hasQuery=function(){return tk(this,1)};YW.repeatedFields_=[2,3];YW.prototype.toObject=function(){return BQc(this)};var BQc=function(a){if(null!=a)return t(a),{query:p(m(a,1)),currentStepsList:Gb(Ch(a,IV,2),JV),previousDialogTurnsList:Gb(Ch(a,TW,3),tPc),includeInPlannerErrorPrompt:p($q(a,4))}};var CQc=function(a){r.call(this,a)};U(CQc,r);CQc.repeatedFields_=[4];CQc.prototype.toObject=function(){return DQc(this)};var DQc=function(a){if(null!=a)return t(a),{toolInstruction:p(m(a,1)),thought:p(m(a,2)),operationRequest:V(a,3,"{}"),parametersMentionedList:p(Gh(a,4))}};var ZW=function(a){r.call(this,a)};U(ZW,r);f=ZW.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return tk(this,2)};ZW.repeatedFields_=[3,5,6,7,9];ZW.prototype.toObject=function(){return EQc(this)};
var EQc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),description:p(m(a,2)),operationsList:Gb(Ch(a,MQ,3),yQc),schemaYaml:p(m(a,4)),formattedExamplesList:Gb(Ch(a,CQc,5),DQc),plannerExamplesList:Gb(Ch(a,YW,6),BQc),responseSummarizationExamplesList:Gb(Ch(a,CPc,7),DPc),operationResponseTemplatesList:Gb(Ch(a,zQc,9),AQc),launchStatus:W(a,8,1),displayProperties:FPc(Z(a,EPc,10))}};var FQc=function(a){r.call(this,a)};U(FQc,r);FQc.prototype.getState=function(){return Z(this,yPc,2)};FQc.repeatedFields_=[3];FQc.prototype.toObject=function(){return GQc(this)};var GQc=function(a){if(null!=a)return t(a),{currentInput:p(m(a,1)),state:zPc(a.getState()),toolManifestsList:Gb(Ch(a,ZW,3),EQc)}};var HQc=function(a){r.call(this,a)};U(HQc,r);HQc.repeatedFields_=[3];HQc.prototype.toObject=function(){return IQc(this)};var IQc=function(a){if(null!=a)return t(a),{inputToolInstruction:p(m(a,1)),toolManifest:EQc(Z(a,ZW,2)),allParametersList:p(Gh(a,3)),inputOperationId:p(m(a,4)),toolResponse:p(m(a,5))}};var JQc=function(a){r.call(this,a)};U(JQc,r);JQc.repeatedFields_=[3];var KQc=[1,2,5];JQc.prototype.toObject=function(){return LQc(this)};var LQc=function(a){if(null!=a)return t(a),{plannerMetadata:GQc(Pj(a,FQc,1,KQc)),toolAgentMetadata:IQc(Pj(a,HQc,2,KQc)),finalAnswerMetadata:BPc(Pj(a,APc,5,KQc)),supportedToolsList:p(Gh(a,3)),planningStepsCount:Eh(a,4)}};var $W=function(a){r.call(this,a)};U($W,r);f=$W.prototype;f.getId=function(){return V(this,11)};f.setId=function(a){return jj(this,11,a)};f.getPreamble=function(){return Z(this,FW,1)};f.getActionsMetadata=function(){return Z(this,BV,14)};f.getDebugInfo=function(){return Z(this,PHc,6)};f.getSearchResultsList=function(){return Ch(this,MV,9)};f.getPrompt=function(){return V(this,12)};f.setPrompt=function(a){return jj(this,12,a)};f.getEmbeddingsList=function(){return Ch(this,CW,17)};
f.setKernelId=function(a){return jj(this,23,a)};f.getFeedbacksList=function(){return Ch(this,LV,28)};f.getTagsList=function(){return Gh(this,34)};f.getTags=function(a){return Ss(this,34,a)};f.getSessionState=function(){return Z(this,MW,45)};f.setSessionState=function(a){Wi(this,MW,45,a)};f.hasSessionState=function(){return Aj(this,MW,45)};f.getInstructionEval=function(){return Z(this,CV,51)};f.getCategory=function(){return Ss(this,57)};$W.repeatedFields_=[5,27,8,9,17,25,28,33,34,36,41,52,54,56,57];
$W.prototype.toObject=function(){return MQc(this)};
var MQc=function(a){if(null!=a)return t(a),{id:V(a,11),split:V(a,16),preamble:RNc(a.getPreamble()),conversation:RNc(Z(a,FW,2)),animaEvents:UHc(Z(a,THc,30)),worldFacts:vOc(Z(a,uOc,3)),characterFacts:GNc(Z(a,FNc,4)),userFacts:sOc(Z(a,rOc,29)),imageFacts:iOc(Z(a,hOc,50)),descriptiveContext:TNc(Z(a,SNc,37)),codeGenerationMetadata:pOb(Z(a,oOb,59)),codeExecutionMetadata:iOb(Z(a,Ou,60)),workspaceMetadata:NPb(Z(a,MPb,55)),reagentMetadata:LQc(Z(a,JQc,49)),actionsMetadata:OHc(a.getActionsMetadata()),characterBackstory:DNc(Z(a,
CNc,10)),ratedResponse:cOc(Z(a,bOc,18)),goldenResponse:cOc(Z(a,bOc,15)),responseCandidatesList:Gb(Ch(a,zW,5),uNc),filteredOutResponseCandidatesList:Gb(Ch(a,zW,27),uNc),debugInfo:QHc(a.getDebugInfo()),consistencyToken:Jb(Dj(a,7)),searchQueriesList:Gb(Ch(a,KV,8),bJc),searchResultsList:Gb(a.getSearchResultsList(),cJc),prompt:V(a,12),sourceModel:sPc(Z(a,rPc,13)),detectedLanguage:p(m(a,58)),embeddingsList:Gb(a.getEmbeddingsList(),JNc),extractedMemory:YNc(Z(a,XNc,19)),g3doc:aOc(Z(a,HW,20)),sessionId:V(a,
21),momaGlossary:BOc(Z(a,AOc,22)),kernelId:V(a,23),servingOptions:mOc(Z(a,lOc,24)),pythonProgramsList:Gb(Ch(a,KW,25),kOc),cohortId:p(m(a,26)),feedbacksList:Gb(a.getFeedbacksList(),NV),pageViews:p(m(a,31)),viewPermission:p(ir(a,32)),vssResultsList:Gb(Ch(a,MV,33),cJc),tagsList:p(Gh(a,34)),youtubeRecsResult:zOc(Z(a,yOc,35)),imageSearchQueriesList:Gb(Ch(a,JW,36),jOc),chain:BNc(Z(a,ANc,38)),probe:Gj(a,40),collectionsList:Gb(Ch(a,HNc,41),INc),encodingResult:VNc(Z(a,UNc,42)),toolInput:uV(Z(a,qV,43)),toolOutput:jHc(Z(a,
rV,44)),sessionState:qOc(a.getSessionState()),args:kHc(Z(a,tV,47)),kwargs:uV(Z(a,qV,48)),instructionEval:cIc(a.getInstructionEval()),fallbackReasonsList:Gb(Ch(a,ZNc,52),$Nc),toolExecution:AIc(Z(a,zIc,53)),promptsList:Gb(Ch(a,UIc,54),VIc),modelOutputsList:Gb(Ch(a,SIc,56),TIc),categoryList:p(Gh(a,57))}};var aX=function(a){r.call(this,a,0,aX.messageId)};U(aX,r);aX.prototype.getExample=function(){return Z(this,$W,1)};aX.prototype.setExample=function(a){return Wi(this,$W,1,a)};aX.prototype.toObject=function(){if(null!=this){t(this);var a={example:MQc(this.getExample()),traceId:p(m(this,2))}}else a=void 0;return a};aX.messageId="b.GenerateResponse";var bX=function(a){this.executor=a};bX.prototype.generate=function(a){return this.executor.post({url:"/action/lamda/generate",body:a,responseConstructor:aX})};bX.\u0275fac=function(a){return new (a||bX)(u($C))};bX.\u0275prov=mc({token:bX,factory:bX.\u0275fac,providedIn:"root"});var cX=function(a){r.call(this,a)};U(cX,r);cX.prototype.setKernelId=function(a){return jj(this,1,a)};cX.prototype.getExample=function(){return Z(this,$W,2)};cX.prototype.setExample=function(a){return Wi(this,$W,2,a)};cX.prototype.toObject=function(){if(null!=this){t(this);var a={kernelId:V(this,1),example:MQc(this.getExample()),disableLogging:p($q(this,3)),disableDebugInfo:p($q(this,4))}}else a=void 0;return a};var dX=function(a,b,c){var d=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.lambdaApi=c;this.summarizeCommentThread=dza(function(e){var g,h,l,q,x,A,B,K,O,P,Y;return de(function(X){if(1==X.nextAddress)return X.yield(NQc(d,e),2);if(3!=X.nextAddress){g=X.yieldResult;if(!g)return X.return(void 0);var ka=(new cX).setKernelId("moma");ka=Ij(ka,3,!0);ka=Ij(ka,4,!0);var ma=ka.setExample;var ya=new $W;var Aa=(new FW).setMessagesList([(new EW).setText("Please provide a brief summary the following conversation using 3 lines. \n\n"+
[g.description].concat(Pc(g.comments)).join("\n"))]);ya=Wi(ya,FW,2,Aa);h=ma.call(ka,ya);return X.yield(d.lambdaApi.generate(h),3)}l=X.yieldResult;A=null==(q=l.getExample())?void 0:null==(x=Ch(q,zW,5)[0])?void 0:x.getText().replace(/\\n/,"\n");O=k(null!=(K=null==(B=A)?void 0:B.split("\n\n"))?K:[]);O.next();Y=P=O.next().value;return X.return(Y||A)})})},NQc=function(a,b){var c,d,e,g,h,l,q,x,A;return de(function(B){if(1==B.nextAddress)return B.yield(Promise.all([(0,E.firstValueFrom)(a.issueFridge.watch(b,
{trustUncertainMemory:!0})),(0,E.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}))]),2);c=B.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;if(!h||!l)return B.return(void 0);q=l.events;x=q.filter(function(K){return K.userPerformingAction.includes("@google.com")}).filter(function(K){return K.unlinkifiedComment}).map(function(K){return K.userPerformingAction.split("@")[0]+": "+K.unlinkifiedComment}).filter(ni);A=q[0].userPerformingAction.includes("@google.com")&&
q[0].unlinkifiedComment||void 0;return B.return({title:h.snapshot[0].title,description:A,comments:x})})};dX.\u0275fac=function(a){return new (a||dX)(u(tH),u(fF),u(bX))};dX.\u0275prov=mc({token:dX,factory:dX.\u0275fac,providedIn:"root"});var eX=function(){this.roundCorners=this.showDividers=!1};eX.\u0275fac=function(a){return new (a||eX)};
eX.\u0275cmp=Bc({type:eX,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&mf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(tf(),uf(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 fX=function(a,b){this.constants=a;this.activeSession=b;this.STATUS_FULL_TEXT=WE;this.ISSUE_TYPES_PROTO=ghc;this.STATUSES_PROTO=fhc;this.SEVERITIES_VALUES=lhc;this.PRIORITES_VALUES=ihc;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new Vv;this.onQuickBulkEdit=new Vv;this.onBulkEditIssueRelation=new Vv;this.onBulkMarkIssueRead=new Vv;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=hE(this.activeSession,"enableBulkEditUi")};fX.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
fX.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};fX.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};fX.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};fX.\u0275fac=function(a){return new (a||fX)(C(II),C(ds))};
fX.\u0275cmp=Bc({type:fX,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&&(G(0,"b-button-group"),Q(1,k_a,4,2,"button",0),G(2,"button",1),M("click",function(){return b.bulkMarkIssueRead()}),R(3),H(),Q(4,l_a,4,2,"button",0),Q(5,m_a,4,2,"button",0),H(),G(6,"mat-menu",null,2)(8,"button",3),M("click",function(){return b.bulkEdit("ASSIGNEE")}),R(9,"Assignee"),H(),G(10,"button",3),M("click",function(){return b.bulkEdit("COMPONENT")}),
R(11,"Component"),H(),G(12,"button",4),R(13,"Priority"),H(),G(14,"button",4),R(15,"Severity"),H(),G(16,"button",4),R(17,"Status"),H(),G(18,"button",4),R(19,"Type"),H(),G(20,"button",3),M("click",function(){return b.bulkEdit("VERIFIER")}),R(21,"Verifier"),H(),G(22,"button",3),M("click",function(){return b.bulkEdit("REPORTER")}),R(23,"Reporter"),H(),G(24,"button",3),M("click",function(){return b.bulkEdit("CHANGELIST")}),R(25,"Changelist"),H(),G(26,"button",3),M("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),
R(27,"Custom Fields"),H(),G(28,"button",4),R(29," Archival state "),H(),G(30,"button",3),M("click",function(){return b.bulkEdit("FOUND_IN")}),R(31,"Found In"),H(),G(32,"button",3),M("click",function(){return b.bulkEdit("SLO_START_TIME")}),R(33,"SLO Start Time"),H(),Q(34,n_a,2,0,"button",5),G(35,"button",3),M("click",function(){return b.bulkEdit("VERIFIED_IN")}),R(36,"Verified In"),H(),G(37,"button",3),M("click",function(){return b.bulkEdit("TARGETED_TO")}),R(38,"Targeted To"),H(),G(39,"button",4),
R(40,"In Prod"),H(),I(41,"mat-divider"),G(42,"button",3),M("click",function(){return b.bulkEdit("COMMENT")}),R(43,"Add Comment"),H()(),G(44,"mat-menu",null,6),Q(46,o_a,2,1,"button",7),H(),G(47,"mat-menu",null,8),Q(49,p_a,2,1,"button",7),H(),G(50,"mat-menu",null,9),Q(52,q_a,2,1,"button",7),H(),G(53,"mat-menu",null,10),Q(55,r_a,2,2,"button",11),H(),G(56,"mat-menu",null,12)(58,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),R(59,"Archive"),H(),G(60,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",
!1)}),R(61,"Unarchive"),H()(),G(62,"mat-menu",null,13)(64,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),R(65,"In Prod"),H(),G(66,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),R(67,"Not in Prod"),H()(),G(68,"mat-menu",null,14)(70,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),R(71,"Mark as Blocked By"),H(),G(72,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),R(73,"Mark as Blocking"),
H(),G(74,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),R(75,"Add Parent"),H(),G(76,"button",3),M("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),R(77,"Duplicate"),H(),G(78,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),R(79,"Unmark as Blocked By"),H(),G(80,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),R(81,"Unmark as Blocking"),H(),G(82,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",
!1)}),R(83,"Remove Parent"),H()(),G(84,"mat-menu",null,15)(86,"button",3),M("click",function(){return b.quickBulkEdit("CC",!0)}),R(87,"CC me"),H(),G(88,"button",3),M("click",function(){return b.quickBulkEdit("CC",!1)}),R(89,"Un-CC me"),H(),G(90,"button",3),M("click",function(){return b.bulkEdit("CC")}),R(91,"Edit CC"),H()());if(a&2){var c=yf(45),d=yf(48),e=yf(51),g=yf(54),h=yf(57),l=yf(63);z(1);F("ngIf",b.enableBulkEditUi);z(1);F("disabled",b.isAnonymous);z(1);zf(" ",b.readStatePrompt," ");z(1);F("ngIf",
b.enableBulkEditUi);z(1);F("ngIf",b.enableBulkEditUi);z(7);F("matMenuTriggerFor",c);z(2);F("matMenuTriggerFor",d);z(2);F("matMenuTriggerFor",e);z(2);F("matMenuTriggerFor",g);z(10);F("matMenuTriggerFor",h);z(6);F("ngIf",b.enableBulkEstimatedEffortOption);z(5);F("matMenuTriggerFor",l);z(7);F("ngForOf",b.PRIORITES_VALUES);z(3);F("ngForOf",b.SEVERITIES_VALUES);z(3);F("ngForOf",b.STATUSES_PROTO);z(3);F("ngForOf",b.ISSUE_TYPES_PROTO)}},dependencies:[RB,PB,QB,sw,tw,GM,eX,Yz,AL,ZB],encapsulation:2,changeDetection:0});var gX=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new Vv;this.flagAsSpamClicked=new Vv;this.isAnonymous=this.activeSession.isAnonymous()};gX.\u0275fac=function(a){return new (a||gX)(C(ds))};
gX.\u0275cmp=Bc({type:gX,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&&
Q(0,u_a,9,4,"ng-container",0);a&2&&F("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[RB,PB,QB,tw,GM,Yz],encapsulation:2,changeDetection:0});var hX=function(){};hX.\u0275fac=function(a){return new (a||hX)};hX.\u0275mod=Dc({type:hX});hX.\u0275inj=nc({imports:[BF]});var iX=function(){};iX.\u0275fac=function(a){return new (a||iX)};iX.\u0275mod=Dc({type:iX});iX.\u0275inj=nc({imports:[SB,BF,bN,hX,wC,LS,XC]});var jX=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new E.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var g=d.watchForRestoredConnection$.subscribe(e),h=new E.ReplaySubject(1);d.watchForRestoredConnection$.pipe(Pe(h)).subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){h.next();g.unsubscribe()}});this.watchForRestoredConnection$=(0,E.fromEvent)(window,
"focus").pipe(Oe(function(){return d.connectionChecker.ok$}),ue(function(e){return e}),Ce(),D(function(){}),Ke())};jX.prototype.intercept=function(a,b){return hE(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?OQc(this,b,a):b.handle(a)};
var OQc=function(a,b,c){return new E.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){PQc(a,b,c,h).pipe(Pe(g)).subscribe(d)}}),g=new E.ReplaySubject(1);return function(){g.next();e.unsubscribe()}})},PQc=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,E.throwError)(d):a.connectionChecker.ok$.pipe(Oe(function(e){return e?(0,E.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe(Oe(function(){return b.handle(c)}))}))};
jX.\u0275fac=function(a){return new (a||jX)(u(ds),u(kX),u(lX))};jX.\u0275prov=mc({token:jX,factory:jX.\u0275fac,providedIn:"root"});var lX=function(){this.showRefreshSso$=new E.BehaviorSubject(!1)};lX.\u0275fac=function(a){return new (a||lX)};lX.\u0275prov=mc({token:lX,factory:lX.\u0275fac,providedIn:"root"});
var kX=function(a){var b=this;this.ngZone=a;this.ok$=new E.Observable(function(c){var d=lh("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};kX.\u0275fac=function(a){return new (a||kX)(u(Se))};kX.\u0275prov=mc({token:kX,factory:kX.\u0275fac,providedIn:"root"});var QQc={provide:lVb,useClass:jX,multi:!0};var RQc=function(a,b){return[a,b]},SQc=[[["b-callout-body"]],[["b-callout-actions"]]],mX=function(){this.messageType="info";this.format="default"};mX.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"}};mX.\u0275fac=function(a){return new (a||mX)};
mX.\u0275cmp=Bc({type:mX,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&nf(Gf(2,RQc,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&&(tf(SQc),G(0,"div",0),I(1,"mat-icon",1),G(2,"div",2),uf(3),H(),G(4,"div",3),uf(5,1),H()());a&2&&(z(1),
F("svgIcon",b.getIconName()))},dependencies:[JA],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 nX=function(){};nX.\u0275fac=function(a){return new (a||nX)};nX.\u0275dir=Gc({type:nX,selectors:[["b-callout-body"],["b-callout-actions"]]});var TQc=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};TQc.\u0275fac=function(a){return new (a||TQc)(C(ds),C(lX))};
TQc.\u0275cmp=Bc({type:TQc,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&&(Q(0,A_a,7,4,"b-callout",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.showRefreshSsoMessage$))},dependencies:[tw,mX,nX,Yz,zw],encapsulation:2,changeDetection:0});var UQc=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;hE(this.session,"weAreHiring")&&SI(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};UQc.\u0275fac=function(a){return new (a||UQc)(C(ds),C(RI),C(kH,2))};
UQc.\u0275cmp=Bc({type:UQc,selectors:[["b-hiring-banner"]],features:[Cf([kH])],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&&Q(0,B_a,2,0,"a",0);a&2&&F("ngIf",b.showHiringBanner)},dependencies:[tw],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 oX=function(){};oX.\u0275fac=function(a){return new (a||oX)};oX.\u0275mod=Dc({type:oX});oX.\u0275inj=nc({imports:[BF]});var pX=function(a){this.hotkeys=a};pX.prototype.ngOnInit=function(){this.hotkeys.pause()};pX.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};pX.\u0275fac=function(a){return new (a||pX)(C(JL))};
pX.\u0275cmp=Bc({type:pX,selectors:[["b-hotkeys-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title",""],[4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",1,"gmat-button","medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1,"Keyboard shortcuts"),H(),G(2,"mat-dialog-content")(3,"table"),Q(4,D_a,6,2,"thead",1),H()(),G(5,"mat-dialog-actions")(6,"button",2),R(7,"Close"),H()());
a&2&&(z(4),F("ngForOf",zmc(b.hotkeys)))},dependencies:[sw,Yz,lA,mA,nA,oA],encapsulation:2});var qX=function(){};qX.\u0275fac=function(a){return new (a||qX)};qX.\u0275mod=Dc({type:qX});qX.\u0275inj=nc({imports:[BF,wC,pA]});var E_a=function(){this.assignee=this.reporter=this.team=null;this.assigneeEmail=void 0;this.verifier=null;this.verifierEmail=void 0;this.duplicateOfIssueId=this.inProd=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.lastViewedTime=this.verifiedTime=this.resolvedTime=this.blockedByIssueId=this.blockingIssueId=this.hotlistId=this.postmortem=this.changelist=this.collaborator=this.cc=null;this.customFieldMap={};this.customFieldNameToIdMap={};this.customFieldValueMap={};this.hotlists=
[];this.lastModifier=this.ccCount=this.collaboratorCount=this.duplicateCount=this.voteCount=null;this.isClosed=this.isRead=this.selected=!1;this.sloEndTime=this.sloStartTime=this.sloStatus=this.position=this.effort=null;this.signals=[]};var rX=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 E.BehaviorSubject(this)},VQc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var g=G_a(e,b.componentMap[oa(e.snapshot).componentId||0]);c&&c[e.issueId]&&(g.position=c[e.issueId]);return g});return new rX(d,a,b.numTotalResults)},WQc=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,g=G_a(d.issue,null!=(e=b.components[oa(d.issue.snapshot).componentId||0])?e:null);g.signals=d.signals;return g});return new rX(c,
a,b.numTotalResults)};rX.prototype.hasPreviousPage=function(){return 1<this.params.page};rX.prototype.hasNextPage=function(){return this.params.page<this.numPages};var sX=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};rX.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var XQc=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=sX(a,c.issueId);-1!==e&&(e-=a.startIndex,F_a(a.issues[e],c,d),a.issues[e].selected=!1)}a.changed$.next(a)},YQc=function(a,b,c,d){b=sX(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)};rX.prototype.clone=function(){var a=new rX(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};rX.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};ch.Object.defineProperties(rX.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var ZQc=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};
ZQc.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?WQc(a.params,e):VQc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var $Qc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var tX=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},cRc=function(a,b){var c=Ll();aRc(b.page)?(bRc(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},eRc=function(a){var b=
Ll(),c=null;a.currentResultsFetcher_?c=a.currentResultsFetcher_.params:c=dRc(a);c?(bRc(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},uX=function(a){a.currentResultsFetcher_=null;a.nextResultsFetcher_=null;a.previousResultsFetcher_=null;a.focusedIssueIndex_=-1},fRc=function(a,b){var c=Ll();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=Lh(a.currentResultsFetcher_.params);e.page=d;bRc(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},gRc=function(a){a.currentResultsFetcher_?
a.currentResultsFetcher_.fetchIssues().then(function(b){b.getIssueIdFromIndex&&(a.focusedIssueIndex_=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){vh("unexpected error fetching:",b)}):a.focusedIssueIndex_=-1},dRc=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 zk(new vk(b.fieldId),b.direction)}));return a}return null},
hRc=function(a,b,c){b=Lh(b);b.page=c;return new ZQc(a.issueApi,a.hotlistApi,a.needsAttentionApi,a.paths,b)},iRc=function(a,b){a.currentResultsFetcher_||(a.currentResultsFetcher_=hRc(a,b,b.page),a.currentResultsFetcher_.fetchIssues().catch(function(c){vh("unexpected error fetching:",c)}));!a.previousResultsFetcher_&&1<b.page&&(a.previousResultsFetcher_=hRc(a,b,b.page-1),a.previousResultsFetcher_.fetchIssues().catch(function(c){vh("unexpected error fetching:",c)}));!a.nextResultsFetcher_&&$Qc(a.currentResultsFetcher_)&&
(a.nextResultsFetcher_=hRc(a,b,b.page+1),a.nextResultsFetcher_.fetchIssues().catch(function(c){vh("unexpected error fetching:",c)}))},bRc=function(a,b){b.page=Ph(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Sd");a.previousResultsFetcher_&&b.page==a.previousResultsFetcher_.params.page?(a.nextResultsFetcher_=a.currentResultsFetcher_,a.currentResultsFetcher_=a.previousResultsFetcher_,a.previousResultsFetcher_=null):a.nextResultsFetcher_&&b.page==a.nextResultsFetcher_.params.page&&
(a.previousResultsFetcher_=a.currentResultsFetcher_,a.currentResultsFetcher_=a.nextResultsFetcher_,a.nextResultsFetcher_=null);if(a.currentResultsFetcher_){var c=a.currentResultsFetcher_.params;b.page===c.page&&b.query===c.query&&Kh(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&Kh(b.trackerIds,c.trackerIds)?a.currentResultsFetcher_.params.returnUrl=b.returnUrl:uX(a)}iRc(a,b);b=JSON.stringify(a.currentResultsFetcher_.params);a.$window.sessionStorage.setItem("buganizer.searchParams",
b)},aRc=function(a){var b=Ph(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};tX.\u0275fac=function(a){return new (a||tX)(u(iE),u(yE),u(OG),u(nU),u(DG))};tX.\u0275prov=mc({token:tX,factory:tX.\u0275fac,providedIn:"root"});var vX=function(a,b,c,d){jE.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.issuePermissionService=d;this.handlers$=this.paramsService.routeParams$.pipe(Be(Kh),Oe(function(g){return e.onRouteParamsChanged(g)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=cza(this.init)};U(vX,jE);vX.\u0275dir=jE.\u0275dir;vX.prototype.onRouteParamsChanged=function(a){return a.issueId?jRc(this,a.issueId):(0,E.of)()};
var jRc=function(a,b){return(0,E.combineLatest)([xH(a.issueFetchResponseFridge,b),a.issuePermissionService.accessLevel$]).pipe(Ne([]),D(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")}))};
vX.\u0275fac=function(a){return new (a||vX)(u(XI),u(wH),u(ZU),u(gJ))};vX.\u0275prov=mc({token:vX,factory:vX.\u0275fac,providedIn:"root"});var wX=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(kRc(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(),
b.setImage());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);kRc(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();this.setImage();lRc(this)};wX.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
wX.prototype.stop=function(){this.state=2;this.setImage();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 lRc=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)}};
wX.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};wX.prototype.setImage=function(){this.element.src=1===this.state?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"};
var kRc=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};wX.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var mRc=function(a){this.element=a;this.bugs=[]};mRc.prototype.start=function(){for(var a=this,b=0;3>b;b++)nRc(this);this.intervalSubscription=(0,E.interval)(1E4).subscribe(function(){nRc(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};mRc.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 nRc=function(a){var b=new wX(a.element);b.start();a.bugs.push(b)};var xX=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new E.ReplaySubject(1);this.active$=new E.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new mRc(d.nativeElement);this.active$.pipe(Pe(this.destroyed$),Be()).subscribe(function(g){g?oRc(e):pRc(e)})};xX.prototype.ngOnInit=function(){"visible"===document.visibilityState&&qRc(this)};xX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var qRc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};xX.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),qRc(this))};xX.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var pRc=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()})},oRc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
xX.\u0275fac=function(a){return new (a||xX)(C(Se),C(BI),C(IF),C(rd))};
xX.\u0275cmp=Bc({type:xX,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onUserEvent()},!1,ud)("keydown",function(){return b.onUserEvent()},!1,ud)("mousemove",function(){return b.onUserEvent()},!1,ud)("wheel",function(){return b.onUserEvent()},!1,ud)("touchstart",function(){return b.onUserEvent()},!1,ud)("focus",function(){return b.onUserEvent()},!1,ud)("visibilitychange",function(){return b.onVisibilityChange()},!1,Ifa)},decls:0,vars:0,template:function(){},
encapsulation:2});var rRc=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(D(function(d){return(d.enableBugScreensaver||!1)&&c}))};rRc.\u0275fac=function(a){return new (a||rRc)(C(BI),C(ds))};rRc.\u0275cmp=Bc({type:rRc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(Q(0,H_a,1,0,"bug-screensaver",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.isEnabled$))},dependencies:[tw,xX,zw],encapsulation:2});var yX=function(){};yX.\u0275fac=function(a){return new (a||yX)};yX.\u0275mod=Dc({type:yX});yX.\u0275inj=nc({imports:[BF,$B]});var zX=function(){};zX.\u0275fac=function(a){return new (a||zX)};zX.\u0275mod=Dc({type:zX});zX.\u0275inj=nc({imports:[BF,HF,gS,yX]});var sRc=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(D(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(D(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(D(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.cocUrl)?d:""}))};
sRc.\u0275fac=function(a){return new (a||sRc)(C(sK))};
sRc.\u0275cmp=Bc({type:sRc,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&&(Q(0,J_a,17,9,"footer",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.currentTracker.inTracker$))},dependencies:[tw,zw],styles:["footer[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px 16px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.logo[_ngcontent-%COMP%]{width:24px;height:24px;padding:3px;margin-right:12px}a[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}a[_ngcontent-%COMP%]:hover{text-decoration:underline}.title[_ngcontent-%COMP%]{margin-right:56px}"]});var AX=function(){};AX.\u0275fac=function(a){return new (a||AX)};AX.\u0275mod=Dc({type:AX});AX.\u0275inj=nc({imports:[BF]});var tRc=function(){};tRc.\u0275fac=function(a){return new (a||tRc)};tRc.\u0275cmp=Bc({type:tRc,selectors:[["b-ng2-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&I(0,"router-outlet")},dependencies:[mG],encapsulation:2});var uRc=function(){};uRc.\u0275fac=function(a){return new (a||uRc)};uRc.\u0275cmp=Bc({type:uRc,selectors:[["b-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&I(0,"b-ng2-router-outlet")},dependencies:[tRc],encapsulation:2});var BX=function(){};BX.\u0275fac=function(a){return new (a||BX)};BX.\u0275mod=Dc({type:BX});BX.\u0275inj=nc({imports:[BF,BG]});var CX=function(a,b,c){jE.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new E.BehaviorSubject(null);this.hotlistIdOverride$=new E.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$;this.routeComponentId$=Phc(this.paramsService,"componentId").pipe(Be());this.routeHotlistId$=Phc(this.paramsService,"hotlistId").pipe(Be());this.issueId$=this.routeIssueId$.pipe(D(L_a),Le({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(Oe(function(e){return e?
xH(d.issueFetchResponseFridge,e):(0,E.of)(void 0)}),D(function(e){var g;return null==e?void 0:null==(g=e.issue)?void 0:g.snapshot[0].componentId}));this.componentId$=(0,E.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(D(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;return e||h||g}),D(K_a),Be(),Le({refCount:!0,bufferSize:1}));this.hotlistId$=(0,E.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(D(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return e||g}),D(K_a),Be(),Le({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){d.componentIdOverride$.next(null);d.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(e){Mm("dimension4",e)}))};U(CX,jE);CX.\u0275dir=jE.\u0275dir;CX.prototype.getComponentId=function(){return this.componentId$};CX.prototype.getIssueId=function(){return this.issueId$};CX.prototype.getHotlistId=function(){return this.hotlistId$};
CX.\u0275fac=function(a){return new (a||CX)(u(nH),u(XI),u(wH))};CX.\u0275prov=mc({token:CX,factory:CX.\u0275fac,providedIn:"root"});var DX=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(Oe(function(g){return g?e.componentFridge.watch(g):(0,E.of)(void 0)}),D(function(g){return g&&!g.archived?g:void 0}));this.visibleOptions$=(0,E.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Ae(0),D(function(g){var h=k(g);
g=h.next().value;var l=h.next().value,q=h.next().value;h=h.next().value;return vRc(e,null!=g?g:void 0,l,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(D(function(g){return g.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(D(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"}))};DX.prototype.ngOnInit=function(){};DX.prototype.trackClick=function(a){Lm("create","click",a)};
var vRc=function(a,b,c,d,e){var g=new Map;b=b&&c&&!Kl(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(Pc(g.entries())).map(function(l){var q=k(l);l=q.next().value;q=q.next().value;return{name:QAa(l),path:q}})};DX.\u0275fac=function(a){return new (a||DX)(C(DG),C(CX),C(sK),C(mF))};
DX.\u0275cmp=Bc({type:DX,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&&(Q(0,O_a,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.visibleOptions$))},dependencies:[tw,$N,zw],encapsulation:2,changeDetection:0});var gp=function(a){r.call(this,a)};U(gp,r);f=gp.prototype;f.getHotlistId=function(){return wi(this,ko(this,fp,1))};f.setHotlistId=function(a){Xn(this,1,fp,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return tk(this,2)};f.getNameOrUndefined=function(){return bt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return tk(this,3)};var fp=[1,4];
gp.prototype.toObject=function(){return wRc(this)};var wRc=function(a){if(null!=a)return t(a),{hotlistId:p(jo(a,ko(a,fp,1))),savedSearchId:p(jo(a,ko(a,fp,4))),name:p(m(a,2)),description:p(m(a,3))}};var EX=function(a){r.call(this,a,0,EX.messageId)};U(EX,r);f=EX.prototype;f.getBookmarkGroupId=function(){return wi(this,1)};f.setBookmarkGroupId=function(a){n(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return tk(this,2)};f.getNameOrUndefined=function(){return bt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return tk(this,3)};
f.getArchived=function(){return Gj(this,5)};f.setArchived=function(a){Ij(this,5,a)};f.getItemList=function(){return Ch(this,gp,6)};f.setItemList=function(a){aj(this,6,a)};f.addItem=function(a,b){return go(this,6,gp,a,b)};f.setItem=function(a,b){return Ds(this,6,gp,a,b)};f.getItemCount=function(){return Cs(this,gp,6)};f.getAdminUsersList=function(){return Ch(this,ei,9)};f.setAdminUsersList=function(a){aj(this,9,a)};EX.repeatedFields_=[6,9];EX.prototype.toObject=function(){return xRc(this)};
var xRc=function(a){if(null!=a)return t(a),{bookmarkGroupId:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),archived:p($q(a,5)),itemList:Gb(a.getItemList(),wRc),adminUsersList:Gb(a.getAdminUsersList(),jD)}};EX.messageId="b.BookmarkGroup";var FX=function(a){r.call(this,a,0,FX.messageId)};U(FX,r);FX.prototype.getBookmarkGroupsList=function(){return Ch(this,EX,1)};FX.repeatedFields_=[1];FX.prototype.toObject=function(){if(null!=this){t(this);var a={bookmarkGroupsList:Gb(this.getBookmarkGroupsList(),xRc)}}else a=void 0;return a};FX.messageId="b.BookmarkGroupListResponse";var GX=function(a){this.executor=a};GX.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:EX}).then(S_a).then(P_a)};GX.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:FX}).then(U_a).then(Q_a)};GX.prototype.create=function(a){var b=new EX;b.setName(a.name);a.description&&b.setDescription(a.description);return this.executor.post({url:"action/bookmark_groups",body:b,responseConstructor:EX}).then(S_a).then(P_a)};
GX.prototype.update=function(a){var b=new EX;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(T_a));var d;b.setAdminUsersList((null!=(d=a.adminUsers)?d:[]).map(fi));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:EX}).then(S_a).then(P_a)};GX.\u0275fac=function(a){return new (a||GX)(u($C))};
GX.\u0275prov=mc({token:GX,factory:GX.\u0275fac,providedIn:"root"});var HX=function(a,b){this.router=a;this.location=b},Iqb=function(a){var b=a.location.url();Pr(a.router,"/",{skipLocationChange:!0}).then(function(){return Pr(a.router,b,{skipLocationChange:!0})})};HX.\u0275fac=function(a){return new (a||HX)(u(vG),u(CG))};HX.\u0275prov=mc({token:HX,factory:HX.\u0275fac,providedIn:"root"});var IX=function(a,b,c,d,e,g,h,l,q,x){jE.call(this);var A=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=x;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];yRc(this);zRc(this);this.fetchUserHotlists();a=function(){yRc(A)};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(){zRc(A)}));a=function(){A.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};U(IX,jE);IX.\u0275dir=jE.\u0275dir;
var yRc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=ARc(a,b.hotlists);a.sidebarData.bookmarkGroups=BRc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=ARc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=BRc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},zRc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=CRc(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)})};IX.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){DRc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var ARc=function(a,b){return(b||[]).map(function(c){return ERc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},BRc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new FRc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},CRc=function(a,b){return b.map(function(c){return{id:c.searchId,name:c.name,adminUsers:c.adminUsers,
description:c.description,starred:!1,resourceType:"SAVED_SEARCH"}}).map(function(c){return GRc(a.sidebarItemFactory,c)})},DRc=function(a,b){b=b.map(function(c){c={id:c.hotlistId,name:c.name,description:c.description,adminUsers:c.adminUsers,starred:c.adminUsers.every(function(d){return d.emailAddress!==a.activeSession.getUserEmail()}),resourceType:"HOTLIST"};return ERc(a.sidebarItemFactory,c)});yaa(a.userHotlists);Aaa(a.userHotlists,b)};
IX.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||(uX(this.issuePagination),Ldc(this.paths,a)&&Iqb(this.reloadService),this.bLocation.url(a),b.preventDefault(),b.stopPropagation())};IX.\u0275fac=function(a){return new (a||IX)(u(HX),u(ds),u(WG),u(OF),u(CG),u(DG),u(tX),u(JX),u(SF),u(oH))};
IX.\u0275prov=mc({token:IX,factory:IX.\u0275fac,providedIn:"root"});var KX=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()};KX.prototype.isEditable=function(){return HRc(this)};KX.prototype.isSelected=function(){return Kdc(this.paths,this.href)};
KX.prototype.isUnstarable=function(){return!HRc(this)&&this.starred};
var HRc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},IRc=function(a,b){var c=CI(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},JRc=function(a,b){LF(a.butterBar,"Updating homepage...",0);Ygc(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Ce()).subscribe(function(){LF(a.butterBar,"Homepage updated")})},KRc=function(a,b,c,d,e,g,h,l,q,x,A,B){KX.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
g;this.errorHandler=x;this.confirmationDialogService=A;this.appEvents=B;this.href=l.viewHotlist(a.id);this.type="HOTLIST"};U(KRc,KX);f=KRc.prototype;f.isPreferredHomepage=function(){return IRc(this,"HOTLIST")};f.setAsPreferredHomepage=function(){JRc(this,"HOTLIST")};
f.archive=function(){var a=this;LF(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});LF(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;LF(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});LF(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:cn("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;LF(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){LF(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var LX=function(a,b,c,d,e,g,h,l){KX.call(this,a,b,c,d,e,g,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};U(LX,KX);LX.prototype.isUnstarable=function(){return!1};
LX.prototype.unstar=function(){};LX.prototype.isPreferredHomepage=function(){return IRc(this,"SAVED_SEARCH")};LX.prototype.setAsPreferredHomepage=function(){JRc(this,"SAVED_SEARCH")};
var FRc=function(a,b,c,d,e,g,h,l,q,x,A,B){KX.call(this,a,b,c,d,e,g,h,l);this.errorHandler=q;this.sidebarItemFactory=x;this.confirmationDialogService=A;this.appEvents=B;this.items=[];a=k(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(ERc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(GRc(this.sidebarItemFactory,b))}this.items.sort(function(K,O){return K.name.localeCompare(O.name)})};U(FRc,KX);f=FRc.prototype;
f.isPreferredHomepage=function(){return IRc(this,"BOOKMARK_GROUP")};f.setAsPreferredHomepage=function(){JRc(this,"BOOKMARK_GROUP")};
f.archive=function(){var a=this;LF(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});LF(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;LF(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});LF(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:cn("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;LF(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){LF(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var JX=function(a,b,c,d,e,g,h,l,q,x,A){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=x;this.appEvents=A},ERc=function(a,b){return new KRc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},GRc=function(a,b){return new LX(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};JX.\u0275fac=function(a){return new (a||JX)(u(ds),u(WG),u(GX),u(OG),u(OF),u(DG),u(oH),u(KF),u(BI),u(wI),u(SF))};JX.\u0275prov=mc({token:JX,factory:JX.\u0275fac,providedIn:"root"});var MX=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};MX.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!$gc(this.prefs,this.prefKey))};MX.prototype.onClick=function(){var a=this,b,c;return de(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return d.yield((0,E.firstValueFrom)(Zgc(a.prefs,(c[a.prefKey]=!b,c))),0)})};MX.\u0275fac=function(a){return new (a||MX)(C(BI))};
MX.\u0275cmp=Bc({type:MX,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"],[4,"ngIf"]],template:function(a,b){a&1&&(G(0,"div",0),M("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
Q(1,V_a,1,0,"ng-container",1),H(),Q(2,X_a,2,1,"ng-container",2));a&2&&(mf("opened",b.expanded)("closed",!b.expanded),bf("aria-expanded",b.expanded),z(1),F("ngTemplateOutlet",b.header),z(1),F("ngIf",b.expanded))},dependencies:[tw,yw],encapsulation:2});var NX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};f=NX.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)};NX.\u0275fac=function(a){return new (a||NX)(C(CG),C(oH),C(DG),C(IX))};
NX.\u0275cmp=Bc({type:NX,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&&Q(0,m0a,7,2,"div",0);a&2&&F("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[sw,tw,JA,Yz,RB,PB,QB,OB,MX],encapsulation:2,changeDetection:0});var OX=function(){this.admins=[]};OX.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=$h(this.bookmarkGroup.adminUsers)};OX.\u0275fac=function(a){return new (a||OX)};
OX.\u0275cmp=Bc({type:OX,selectors:[["b-bookmark-group-card"]],inputs:{bookmarkGroup:"bookmarkGroup"},decls:14,vars:6,consts:[["role","dialog","aria-label","Bookmark group hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bookmark-group-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),H()(),G(6,"ul")(7,"li"),R(8),H(),G(9,"li"),R(10),H()(),G(11,"div")(12,"p"),R(13),H()()()()());a&2&&(z(4),F("href",b.url,
Id),z(1),Af(b.bookmarkGroup.name),z(3),zf("ID: ",b.bookmarkGroup.bookmarkGroupId,""),z(2),Bf("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),z(3),Af(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 LRc=["searchBox"],PX=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 Vv;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
PX.prototype.ngOnInit=function(){this.allowStarring&&MRc(this)};
var MRc=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=PX.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(Pc(e),Pc(g));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};f.shouldShowStar=function(a){return this.allowStarring&&!$h(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();MRc(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))};
PX.\u0275fac=function(a){return new (a||PX)(C(kH,2),C(ds),C(WG),C(GX),C(OG),C(DG),C(oH),C(OF),C(SF))};
PX.\u0275cmp=Bc({type:PX,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(Qf(LRc,5),Qf(FO,5));if(a&2){var c;Pf(c=Sf())&&(b.searchBoxEl=c.first);Pf(c=Sf())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Cf([kH])],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&&(G(0,"div",0)(1,"input",1,2),M("ngModelChange",function(d){return b.query=d})("ngModelChange",function(){return b.onQueryChange()})("keydown.space",function(d){var e;if(null==(e=b.autocomplete)?0:e.activeOption)b.toggleStar(b.autocomplete.activeOption.value),
d.preventDefault(),d.stopPropagation()}),H(),Q(3,n0a,1,0,"b-spinner",3),G(4,"mat-autocomplete",4,5),M("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),Q(6,r0a,9,8,"mat-option",6),H(),G(7,"div",7),R(8,' e.g., "foo bar admin:user@google.com" '),I(9,"br"),R(10,' or "foo bar admin:group@google.com" '),I(11,"br"),R(12," Only identities directly listed as Admins can be searched. "),H()());if(a&2){var c=yf(5);z(1);F("ngModel",b.query)("matAutocomplete",c);bf("autofocus",b.focusOnInit)("aria-label",
"Add query for searching "+(b.showGroups?"bookmark groups":"hotlists"));z(2);F("ngIf",b.isLoading());z(3);F("ngForOf",b.matches)}},dependencies:[sw,tw,OX,SS,xJ,CJ,zL,XS,kg,Uw,$w,GO,FO,$z],encapsulation:2});var NRc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],ORc=function(){};ORc.\u0275fac=function(a){return new (a||ORc)};ORc.\u0275dir=Gc({type:ORc,selectors:[["xap-dialog-layout-subtitle"]]});var QX=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new E.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
QX.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){PRc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});QRc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};QX.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var PRc=function(a){if(!window.ResizeObserver)return(0,E.of)(RRc(a.el.nativeElement));var b;return(0,E.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(RRc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Be(),Pe(a.destroyed))},QRc=function(a){return(0,E.fromEvent)(a.el.nativeElement,"scroll").pipe(s0a(),D(function(){return a.getScrollPosition(a.el.nativeElement)}),Be(),Pe(a.destroyed))},RRc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
QX.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};ch.Object.defineProperties(QX.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});QX.\u0275fac=function(a){return new (a||QX)(C(rd),C(mw),C(Se))};
QX.\u0275dir=Gc({type:QX,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&mf("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 RX=function(){};RX.\u0275fac=function(a){return new (a||RX)};
RX.\u0275cmp=Bc({type:RX,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&Rf(c,ORc,4);if(a&2){var d;Pf(d=Sf())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&mf("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&&(tf(NRc),
G(0,"header",0),uf(1),uf(2,1),H(),uf(3,2),uf(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 SRc=Hg({opacity:0}),TRc=Hg({opacity:1}),URc=Fg("dialogContainer",[Ig("void, hidden",SRc),Ig("visible",TRc),Jg("void => *, * => visible",Gg("200ms cubic-bezier(0.0,0.0,0.2,1)",TRc)),Jg("* => void, * => hidden",Gg("200ms cubic-bezier(0.4,0.0,0.2,1)",SRc))]);var VRc=new Nc("XAP_IDCO"),SX=function(a){this._isDisposed=!1;this.options=a;this.animationState="hidden"};U(SX,Dx);SX.prototype.ngAfterViewInit=function(){};SX.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};SX.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};SX.\u0275fac=function(a){return new (a||SX)(C(VRc))};
SX.\u0275cmp=Bc({type:SX,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&Qf(Gx,7);if(a&2){var c;Pf(c=Sf())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(bf("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),oka("@dialogContainer",b.animationState))},features:[Ye],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(G(0,"div"),Q(1,t0a,1,0,"ng-template",0),H())},dependencies:[Gx],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:[URc]},changeDetection:0});var WRc=[{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}],XRc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},TX=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=XRc;this.triggerDescription="Press space for more information.";this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new Vv;this.opened=new Vv;this.closed=new Vv;this.destroyed=new E.ReplaySubject;this.openStatusChange=new E.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(ue(function(x){return x&&!q.disabled}));
this.elementFocusedBeforeDialogWasOpened=void 0;YRc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);ZRc(this,c.nativeElement)};TX.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)};
TX.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var YRc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(b,"keydown").pipe(Pe(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,E.fromEvent)(b,"keyup").pipe(Pe(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},ZRc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(b,"focus").pipe(ue(function(){return 0<a.beforeOpened.observers.length}),Pe(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
f=TX.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=$Rc(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),rUb(this.focusTrap),this.disableAutoFocus||this.focusInitialElement())};f.focusInitialElement=function(){this.focusTrap&&sUb(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 jz(nz(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var aSc=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()}},$Rc=function(a){var b=Ve({parent:a.injector,providers:[{provide:VRc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Bx(SX,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(WRc)));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)};
ch.Object.defineProperties(TX.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Mf?new Cx(a,this.viewContainerRef):new Bx(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=tg(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}}}});TX.\u0275fac=function(a){return new (a||TX)(C(Se),C(oz),C(rd),C(Nf),C(Document),C(Iy),C(Fy),C(qv))};
TX.\u0275dir=Gc({type:TX,hostVars:1,hostBindings:function(a,b){a&2&&bf("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 UX=function(a,b,c,d,e,g,h,l){TX.call(this,a,b,c,d,e,g,h,l);this.attachMouseEventListeners(c.nativeElement)};U(UX,TX);f=UX.prototype;f.ngOnInit=function(){TX.prototype.ngOnInit.call(this);this.listenForOpenEvents()};f.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(Pe(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(ue(function(b){return b&&0<a.beforeOpened.observers.length}),mja(function(){return a.openStatusChange.pipe(ue(function(b){return!b}))}))};
f.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"mouseenter").pipe(Pe(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,E.fromEvent)(a,"click").pipe(Pe(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(Pe(b.destroyed)).subscribe(function(){b.closingDialog()})})};
f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"keyup").pipe(Pe(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,E.fromEvent)(a,"keydown").pipe(Pe(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 gz(Object.assign({},this.overlayDimensions,{positionStrategy:TX.prototype.createPositionStrategy.call(this,a),scrollStrategy:aSc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
UX.\u0275fac=function(a){return new (a||UX)(C(Se),C(oz),C(rd),C(Nf),C(ah),C(Iy),C(Fy),C(qv))};UX.\u0275dir=Gc({type:UX,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[Ye]});var bSc=["*"],cSc=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}"},dSc=function(){this.disabled=!1};dSc.\u0275fac=function(a){return new (a||dSc)};
dSc.\u0275cmp=Bc({type:dSc,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(bf("tabindex",b.disabled?-1:0),mf("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:bSc,decls:1,vars:0,template:function(a){a&1&&(tf(),uf(0))},styles:[cSc()],encapsulation:2});var VX=function(){this.disabled=!1};VX.\u0275fac=function(a){return new (a||VX)};
VX.\u0275cmp=Bc({type:VX,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:bSc,decls:1,vars:0,template:function(a){a&1&&(tf(),uf(0))},styles:[cSc()],encapsulation:2});var WX=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new Vv};WX.\u0275fac=function(a){return new (a||WX)};
WX.\u0275cmp=Bc({type:WX,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&Qf(UX,5);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"xap-icon-trigger",0),I(1,"mat-icon",1),H(),Q(2,u0a,3,4,"ng-template",null,2,Vf));if(a&2){var c=yf(3);F("xapInlineDialogClick",c);bf("aria-label",b.ariaLabel)}},dependencies:[JA,RX,QX,ZB,UX,VX,PX],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var XX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};XX.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.url(this.paths.viewBookmarkGroup(a))};XX.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.url(this.paths.dashboard(a))};XX.prototype.editBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};
XX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};XX.\u0275fac=function(a){return new (a||XX)(C(CG),C(oH),C(DG),C(IX))};
XX.\u0275cmp=Bc({type:XX,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&&(G(0,"div",0),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,v0a,3,1,"ng-template",null,2,Vf),Q(5,K0a,1,1,"ng-template",null,3,Vf),H()());if(a&2){var b=yf(4),c=yf(6);z(2);F("header",b)("content",c)}},dependencies:[sw,tw,JA,WX,Yz,RB,PB,QB,OB,MX],encapsulation:2,changeDetection:0});var YX=function(a,b,c,d,e){this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.userEmail=b.getUserEmail()};YX.prototype.getUserEmail=function(){return this.userEmail};YX.prototype.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};YX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};YX.\u0275fac=function(a){return new (a||YX)(C(CG),C(ds),C(oH),C(IX),C(DG))};
YX.\u0275cmp=Bc({type:YX,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&&(G(0,"div",0),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,L0a,3,1,"ng-template",null,2,Vf),Q(5,S0a,1,1,"ng-template",null,3,Vf),H()());if(a&2){var b=yf(4),c=yf(6);z(2);F("header",b)("content",c)}},dependencies:[sw,tw,JA,WX,Yz,RB,PB,QB,OB,MX],encapsulation:2,changeDetection:0});var ZX=function(a,b,c,d,e,g,h,l,q,x){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=x;this.searches=[]};ZX.prototype.isSelected=function(a){return Kdc(this.paths,a.href)};ZX.prototype.openEditSavedSearch=function(a){this.location.url(this.paths.editSavedSearch(a))};
var V0a=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:cn("Are you sure you want to delete this search?"),onConfirm:function(){eSc(a,b)}})},eSc=function(a,b){var c=b.id;LF(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});LF(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};ZX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};ZX.\u0275fac=function(a){return new (a||ZX)(C(kH,2),C(CG),C(HS),C(DG),C(KF),C(oH),C(IX),C(OF),C(wI),C(SF))};
ZX.\u0275cmp=Bc({type:ZX,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Cf([kH])],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&&(G(0,"div",0),I(1,"hr"),G(2,"sidebar-zippy",1),Q(3,T0a,2,0,"ng-template",null,2,Vf),Q(5,Z0a,1,1,"ng-template",null,3,Vf),H()());if(a&
2){var b=yf(4),c=yf(6);z(2);F("header",b)("content",c)}},dependencies:[sw,tw,JA,Yz,RB,PB,QB,OB,MX],encapsulation:2,changeDetection:0});var fSc=/^\s*hotlistid:(\d+)\s*$/i,gSc=/(?:\s|^)componentid:(\d+)\s*/i,hSc=/^\s*savedsearchid:(\d+)\s*$/i,$X=function(a,b,c,d){jE.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new E.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(D(function(g){return g?[g]:[]}));this.selectedTrackerIds$=new E.Subject;
this.trackerScope$=(0,E.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new E.Subject;this.subscriptions.add(this.queryState$.pipe(Pe(this.destroyed$)).subscribe(function(g){e.currentQuery=g.query;(g=e.currentQuery.match(gSc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(g[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(g=e.currentQuery.match(fSc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(g[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(Pe(this.destroyed$)).subscribe(function(g){e.currentTrackerScope=g}))};U($X,jE);$X.\u0275dir=jE.\u0275dir;$X.prototype.clear=function(){aY(this,"")};var aY=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},iSc=function(a){return"assignee:"+a+" status:open"};$X.prototype.getStarred=function(){return"star:true"};
$X.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};$X.prototype.getVoted=function(){return"vote:true"};var o1a=function(a){return a.currentQuery===a.getVoted()},jSc=function(a){return"verifier:"+a+" status:open | status:fixed"},kSc=function(a){return(a=a.currentQuery.match(fSc))?Number(a[1]):0},lSc=function(a){return(a=a.currentQuery.match(hSc))?Number(a[1]):0};$X.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var mSc=function(a,b){a.searchHandlerStack.push(b);return function(){ra(a.searchHandlerStack,b)}};$X.\u0275fac=function(a){return new (a||$X)(u(NF),u(sK),u(CX),u(oH))};$X.\u0275prov=mc({token:$X,factory:$X.\u0275fac,providedIn:"root"});var nSc=0,oSc=fh(function(){}),bY=function(a,b,c,d,e){var g=oSc.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=nSc++;g._isInitialized=!1;g._interactivityChecker=wc(rx);g._document=wc(ah);return g};U(bY,oSc);f=bY.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()}LWb(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){LWb(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()};
ch.Object.defineProperties(bY.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=tg(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=tg(a)}}});bY.\u0275fac=function(a){return new (a||bY)(C(Se),C(rd),C(Fy),C(uv),C(tv,8))};
bY.\u0275dir=Gc({type:bY,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&mf("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:[Ye]});var cY=function(a,b,c,d,e,g,h,l,q,x,A,B){var K=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=x;this.needsAttentionApi=A;this.currentTracker=B;this.EXPERIMENTAL_HOMEPAGE="EXPERIMENTAL_HOMEPAGE";this.needsAttentionIssueCount$=new E.Subject;this.experimentalHomepagePath=Ul("dash",{params:void 0});this.enableHomepageVariantA=hE(this.activeSession,"enableHomepageVariantA");
this.enabledVotedNav=hE(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=pSc(this)?"recent":void 0;this.showNeedsAttentionUI=hE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.destroyed$=new Vv;this.hasPreferredHomepage$=this.userPreferencesManager.preferences$.pipe(D(function(O){O=(O||gE).homepagePreferences;
return!(!O||!O.resourceType)}),Be());this.isHomepageNeedsAttention$=this.userPreferencesManager.preferences$.pipe(D(function(O){O=(O||gE).homepagePreferences;return!(!O||"NEEDS_ATTENTION"!==O.resourceType)}),Be());this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.needsAttentionPath=e.needsAttention();this.assignedPath=e.listIssues({q:iSc(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+
this.userEmail});this.verifiedPath=e.listIssues({q:jSc(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;hE(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){K.userPreferencesManager.needsAttentionPreferences$.pipe(Pe(K.destroyed$)).subscribe(function(O){var P=
Ykc(K.currentTracker),Y;K.needsAttentionApi.listIssues(null,P,null!=(Y=O.selectedSignals)?Y:[])})},1E3)};cY.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(Pe(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};cY.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var m1a=function(a){LF(a.butterBar,"Updating homepage...",0);a.userPreferencesManager.clearHomepagePreferences().pipe(Pe(a.destroyed$)).subscribe(function(){LF(a.butterBar,"Homepage updated")})},d1a=function(a,b){LF(a.butterBar,"Updating homepage...",0);Ygc(a.userPreferencesManager,{resourceType:b}).subscribe(function(){LF(a.butterBar,"Homepage updated")})};cY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};
var pSc=function(a){var b=hE(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};cY.\u0275fac=function(a){return new (a||cY)(C(kH,2),C(ds),C(KF),C($X),C(DG),C(BI),C(IX),C(Pw),C(SU),C(SF),C(nU),C(sK))};
cY.\u0275cmp=Bc({type:cY,selectors:[["b-sidebar"]],features:[Cf([kH])],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&&(G(0,"div",0),I(1,"b-create-issue-button"),H(),G(2,"div",1)(3,"div",2)(4,"ul",3),Q(5,f1a,10,4,"ng-container",4),Q(6,k1a,12,10,"li",5),G(7,"li",6)(8,"a",7),M("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),I(9,"mat-icon",8),R(10," Assigned to me "),H(),Q(11,l1a,3,1,"ng-container",4),S(12,"async"),G(13,"mat-menu",null,9),Q(15,n1a,
2,0,"ng-template",10),H()(),G(16,"li")(17,"a",7),M("click",function(c){return b.onAnchorClick(b.starredPath,c)}),I(18,"mat-icon",11),R(19," Starred by me "),H()(),G(20,"li")(21,"a",7),M("click",function(c){return b.onAnchorClick(b.ccdPath,c)}),I(22,"mat-icon",12),R(23," CC'd to me "),H()(),G(24,"li")(25,"a",7),M("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),I(26,"mat-icon",13),R(27," Reported by me "),H()(),Q(28,p1a,4,3,"li",14),G(29,"li")(30,"a",7),M("click",function(c){return b.onAnchorClick(b.verifiedPath,
c)}),I(31,"mat-icon",15),R(32," To be verified "),H()(),Q(33,q1a,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"),G(39,"div",20)(40,"a",21),R(41," Create hotlist "),H()(),G(42,"div",20)(43,"a",21),R(44," Create bookmark group "),H()(),G(45,"div",20)(46,"a",21),R(47," Browse components "),H()()()());a&2&&(z(5),F("ngIf",b.enableHomepageVariantA),z(1),F("ngIf",b.showNeedsAttentionUI),z(1),mf("selected",b.appSearchState.currentQuery===
iSc(b.userEmail)),z(1),F("href",b.assignedPath,Id),z(3),F("ngIf",T(12,28,b.hasPreferredHomepage$)),z(5),mf("selected",b.appSearchState.isStarred()),z(1),F("href",b.starredPath,Id),z(3),mf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),z(1),F("href",b.ccdPath,Id),z(3),mf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),z(1),F("href",b.reportedPath,Id),z(3),F("ngIf",b.enabledVotedNav),z(1),mf("selected",b.appSearchState.currentQuery===jSc(b.userEmail)),z(1),F("href",
b.verifiedPath,Id),z(3),F("ngIf",b.recentlyViewedPath),z(1),F("bookmarkGroups",b.sidebarData.bookmarkGroups),z(1),F("searches",b.sidebarData.userSearches),z(1),F("hotlists",b.sidebarData.hotlists),z(1),F("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),z(3),F("href",b.createHotlistPath,Id),z(3),F("href",b.createBookmarkGroupPath,Id),z(3),F("href",b.componentsPath,Id))},dependencies:[DX,tw,JA,Yz,RB,PB,QB,OB,bY,NX,XX,YX,ZX,zw],encapsulation:2});var dY=function(){};dY.\u0275fac=function(a){return new (a||dY)};dY.\u0275mod=Dc({type:dY});dY.\u0275inj=nc({imports:[BF]});var eY=function(){};eY.\u0275fac=function(a){return new (a||eY)};eY.\u0275mod=Dc({type:eY});eY.\u0275inj=nc({imports:[Hw]});var fY=function(a,b,c,d,e,g,h,l){TX.call(this,a,b,c,d,e,g,h,l);this.hoverDelayMs=500;this.activity=new E.Subject;this.attachMouseEventListeners(c.nativeElement)};U(fY,TX);f=fY.prototype;f.ngOnInit=function(){TX.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
f.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(wia(function(){return b.activity.pipe(ze(a))}));c.pipe(Pe(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(ue(function(d){return d&&0<b.beforeOpened.observers.length}),mja(function(){return c.pipe(ue(function(d){return!d}))}),Pe(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
f.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(ze(this.hoverDelayMs),Pe(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"mouseenter").pipe(Pe(b.destroyed)).subscribe(function(){b.openingDialog()});(0,E.fromEvent)(a,"click").pipe(Pe(b.destroyed)).subscribe(function(){b.openingDialog();
b.openDialog()});(0,E.fromEvent)(a,"mouseleave").pipe(Pe(b.destroyed)).subscribe(function(){b.closingDialog()});(0,E.fromEvent)(a,"mousemove").pipe(Pe(b.destroyed)).subscribe(function(){b.activity.next()})})};f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"keydown").pipe(Pe(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 gz(Object.assign({},this.overlayDimensions,{positionStrategy:TX.prototype.createPositionStrategy.call(this,a),scrollStrategy:aSc(this),panelClass:this.panelClassInternal}))};fY.\u0275fac=function(a){return new (a||fY)(C(Se),C(oz),C(rd),C(Nf),C(ah),C(Iy),C(Fy),C(qv))};
fY.\u0275dir=Gc({type:fY,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[Ye]});[].concat(Pc([fY,UX,VX,dSc]),[SX]);var gY=function(){};gY.\u0275fac=function(a){return new (a||gY)};gY.\u0275mod=Dc({type:gY});gY.\u0275inj=nc({imports:[Ey,Hw,rz,Hx]});var hY=function(){};hY.\u0275fac=function(a){return new (a||hY)};hY.\u0275mod=Dc({type:hY});hY.\u0275inj=nc({imports:[BF,dY,cT,JM,eN,eT,eY,XC,$B,ox,gY,HO]});var iY=function(){};iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275mod=Dc({type:iY});iY.\u0275inj=nc({imports:[BF,aO]});var jY=function(){};jY.\u0275fac=function(a){return new (a||jY)};jY.\u0275mod=Dc({type:jY});jY.\u0275inj=nc({imports:[Ey,sz,sz]});var kY=function(){};kY.\u0275fac=function(a){return new (a||kY)};kY.\u0275mod=Dc({type:kY});kY.\u0275inj=nc({imports:[iY,BF,hY,$B,wC,SB,jY,xC]});var lY=function(){};lY.\u0275fac=function(a){return new (a||lY)};lY.\u0275prov=mc({token:lY,factory:lY.\u0275fac,providedIn:"root"});var mY=function(a){this.executor=a};U(mY,lY);mY.\u0275fac=function(a){return new (a||mY)(u(ZC))};mY.\u0275prov=mc({token:mY,factory:mY.\u0275fac,providedIn:"root"});var nY=function(a,b){jE.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};U(nY,jE);nY.\u0275dir=jE.\u0275dir;nY.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(Pe(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};nY.\u0275fac=function(a){return new (a||nY)(C(hA),C(lY))};
nY.\u0275cmp=Bc({type:nY,selectors:[["b-terms-of-service-dialog"]],features:[Ye],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&&(G(0,"h1",0),R(1,"Google IssueTracker Terms of Service"),H(),G(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("ngModelChange",function(c){return b.ackChecked=c}),H(),G(5,"span"),R(6," I acknowledge and agree to the "),G(7,"a",3),R(8,"Google Terms of Service"),H(),R(9," and the "),G(10,"a",4),R(11,"Google IssueTracker Conduct Policy"),H(),R(12,". "),H()()(),G(13,"mat-dialog-actions")(14,"button",5),M("click",function(){return b.accept()}),R(15," OK "),H()());a&2&&(z(4),F("ngModel",b.ackChecked),z(10),F("disabled",!b.ackChecked))},dependencies:[Uw,$w,Yz,BN,mA,nA,oA],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var oY=function(a,b){jE.call(this);this.activeSession=a;this.matDialogService=b};U(oY,jE);oY.\u0275dir=jE.\u0275dir;oY.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&fA(this.matDialogService.open(nY,{width:"400px",disableClose:!0})).pipe(Pe(this.destroyed$))};oY.\u0275fac=function(a){return new (a||oY)(C(ds),C(kA))};oY.\u0275cmp=Bc({type:oY,selectors:[["b-terms-of-service"]],features:[Ye],decls:0,vars:0,template:function(){},encapsulation:2});var pY=function(){};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275mod=Dc({type:pY});pY.\u0275inj=nc({imports:[ox,BF,wC,fO,pA]});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=Dc({type:qY});qY.\u0275inj=nc({imports:[BF,pY]});var t1a=0;var qSc=vya("blinkers-activated"),rSc=Im("blinkers-activated"),sSc=u1a("debug-dom-mutation","var(--c400)"),tSc=u1a("debug-ng-zone","var(--red-400)"),uSc=u1a("debug-xhr","var(--green-500)",1200),vSc=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;t1a++;var d=156;d+=12*(t1a-1);return function(e,g){g=void 0===g?b:g;var h,l=null!=(h=document.getElementById(a))?h:r1a(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=g;l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
rY=function(a,b){this.activityMonitor=a;this.userActivity=b;this.destroyed$=new E.Subject;this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.isEnabled()&&wSc(this)};rY.prototype.ngOnDestroy=function(){this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};rY.prototype.isEnabled=function(){return rSc()};rY.prototype.enable=function(){this.isEnabled()||(qSc(!0),wSc(this))};
rY.prototype.disable=function(){qSc(!1);this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};var wSc=function(a){a.activityMonitor.dom$.pipe(Pe(a.destroyed$)).subscribe(function(){return void sSc()});Cec(a.activityMonitor);a.activityMonitor.cdr$.pipe(Pe(a.destroyed$)).subscribe(function(){return void tSc()});a.activityMonitor.xhr$.pipe(Pe(a.destroyed$)).subscribe(function(){return void uSc()});a.userActivity.active$.pipe(Pe(a.destroyed$)).subscribe(function(b){return void vSc(b)})};
rY.\u0275fac=function(a){return new (a||rY)(u(jH),u(lH))};rY.\u0275prov=mc({token:rY,factory:rY.\u0275fac,providedIn:"root"});var sY=function(a,b,c,d,e,g,h,l,q,x){var A=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=x;this.getCurrentIssueId=function(){var B;return null==(B=A.routeParamsService.routeParams$.value)?void 0:B.issueId};this.getCurrentIssue=function(){var B=A.getCurrentIssueId();if(null!=B)return A.issueFridge.memory.getData(B)};this.getCurrentIssueEvents=
function(){var B=A.getCurrentIssueId();if(null!=B)return A.eventsForIssueFridge.memory.getData(B)}};
sY.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug={ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:Aec,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:pec("debug-logging"),toggleOptOutExperiments:pec("opt-out-experiments"),currentUser:this.currentUser,fridges:{issueFridge:this.issueFridge,eventsForIssueFridge:this.eventsForIssueFridge,customFieldFridge:this.customFieldFridge},get initialSession(){return jl()},
get prefs(){return jl().userPreferences},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},get flags(){return jl().config.enabledFlags}}}};sY.\u0275fac=function(a){return new (a||sY)(u(ds),u(SF),u(Se),u(iE),u(rY),u(YH),u(XI),u(tH),u(fF),u(XF))};sY.\u0275prov=mc({token:sY,factory:sY.\u0275fac,providedIn:"root"});var xSc=function(a){this.delegate_=a};xSc.prototype.getDelegate=function(){return this.delegate_};var ySc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};U(ySc,xSc);ySc.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=zSc(b,a.pop());return this.target_=b};ySc.prototype.getType=function(){return this.getDelegate().xa};var ASc=function(a){this.delegate_=a};U(ASc,xSc);f=ASc.prototype;f.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(g){return b.call(d||ba,new ySc(g,e))},c)};f.listenOnce=function(){throw Error("Td");};f.unlisten=function(){throw Error("Td");};f.unlistenByKey=function(){throw Error("Td");};f.dispatchEvent=function(){throw Error("Td");};f.removeAllListeners=function(){throw Error("Td");};f.getParentEventTarget=function(){throw Error("Td");};
f.fireListeners=function(){throw Error("Td");};f.getListener=function(){throw Error("Td");};f.hasListener=function(){throw Error("Td");};ASc.prototype[PZb]=!0;var tY=function(a){this.delegate_=a};U(tY,ASc);tY.prototype.getHeight=function(){return this.getDelegate().pa()};tY.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};tY.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};tY.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var BSc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};U(BSc,xSc);BSc.prototype.then=function(a,b,c){var d;a&&(d=CSc(this,a));this.getDelegate().aa(d,b,c)};var CSc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var uY=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};U(uY,xSc);uY.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new BSc(this.getDelegate().bh()));return this.gapiPromise_};uY.getInstance=function(){if(uY.instance_&&uY.hasOwnProperty("instance_"))var a=uY.instance_;else a=new uY,uY.instance_=a;return a};var vY=function(a,b){jE.call(this);this.router=a;this.window=b};U(vY,jE);vY.\u0275dir=jE.\u0275dir;vY.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=uY.getInstance();d.barPromise_||(d.barPromise_=new BSc(d.getDelegate().bf(),tY));d.barPromise_.then(b,c)})).then(function(b){DSc(a,b)})};var DSc=function(a,b){a.router.events.pipe(ue(Rya),Pe(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
vY.\u0275fac=function(a){return new (a||vY)(u(vG),u(iE))};vY.\u0275prov=mc({token:vY,factory:vY.\u0275fac,providedIn:"root"});var wY=function(a,b,c){jE.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Be(Kh),Oe(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=cza(this.init)};U(wY,jE);wY.\u0275dir=jE.\u0275dir;
wY.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return de(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return e.yield(Promise.all([yH(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};wY.\u0275fac=function(a){return new (a||wY)(u(XI),u(wH),u(fF))};wY.\u0275prov=mc({token:wY,factory:wY.\u0275fac,providedIn:"root"});var xY=function(a){jE.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(Pe(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};U(xY,jE);xY.\u0275dir=jE.\u0275dir;xY.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)};xY.\u0275fac=function(a){return new (a||xY)(u(nH))};
xY.\u0275prov=mc({token:xY,factory:xY.\u0275fac,providedIn:"root"});var yY=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra){jE.call(this);var Ta=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=B;this.ngZone=K;this.matDialogService=O;this.renderer=X;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Ma.install();Ra.install();
zec(A);this.subscriptions.add(x.onClickAppMenuIcon.subscribe(function(){Ta.matSidebarWidth=185>Ta.matSidebarWidth?"open":0}));h.homepagePreferences$.pipe(Pe(this.destroyed$)).subscribe(function(ab){P.homepagePreferences=ab});this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(Pe(this.destroyed$)).subscribe(function(ab){ab=B1a(ab.density);ab!==Ta.densityClass&&(Ta.renderer.addClass(document.body,ab),Ta.renderer.removeClass(document.body,
Ta.densityClass),Ta.densityClass=ab)});this.subscriptions.add(mSc(q,function(ab){Ta.doSearch(ab)}));var Lb=g.createIssue(),qb=g.listIssues({q:iSc(d.getUserEmail())}),Ya=g.listIssues({q:"cc:"+d.getUserEmail()}),wa=g.listIssues({q:jSc(d.getUserEmail())}),Ka=g.listIssues({q:"reporter:"+d.getUserEmail()}),Na=g.listIssues({q:q.getStarred()}),eb=g.listIssues({q:q.getVoted()});this.subscriptions.add(KL(this.hotkeys,{title:"General",hotkeys:[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var ab=
document.querySelector(".search-box-container .search-box");null==ab||ab.focus();null==ab||ab.select()}},{keys:[sn("2"),jFa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Ta.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.url(Lb)}},{keys:[tn("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.url(g.needsAttention())}},{keys:[tn("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',
onPress:function(){a.url(qb)}},{keys:[tn("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.url(Ya)}},{keys:[tn("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.url(Ka)}},{keys:[tn("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.url(Na)}},{keys:[tn("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.url(eb)}},{keys:[tn("g","v")],displayAs:"g then v",
description:'Go to "To be verified"',onPress:function(){a.url(wa)}},{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(ab){if(0===ab&&20<Ta.sidebarDragPosition||1===ab&&!(20<Ta.sidebarDragPosition))20<Ta.sidebarDragPosition?ESc(Ta,20,1):ESc(Ta,Ta.lastOpenPosition,
1);Ta.matSidebarWidth=0===ab?0:"open"}},{keys:["?",iFa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Ta.matDialogService.open(pX,{minWidth:512})}}]}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Ce(),Pe(this.destroyed$)).subscribe(function(ab){Ta.dismissedMessageId=ab.bannerMessageId||"";ab=(ab.layoutPreferences||{}).leftSidebarWidth;Ta.matSidebarWidth=
ab||220;if(void 0===ab)Ta.sidebarDragPosition=220;else if(90>ab)Ta.sidebarDragPosition=20;else{if(220<ab){var Sc=FSc();ab>Sc&&(ab=Sc)}185>ab&&(ab=185);Ta.sidebarDragPosition=ab}});(0,E.fromEvent)(document,"mouseup",{capture:!0}).pipe(Pe(this.destroyed$)).subscribe(function(){Ta.sidebarDragOffset&&(Ta.sidebarDragOffset=null,ESc(Ta,Ta.sidebarDragPosition,1))});(0,E.fromEvent)(P,"resize").pipe(Pe(this.destroyed$)).subscribe(function(){if(220<Ta.sidebarDragPosition){var ab=FSc();Ta.sidebarDragPosition>
ab&&ESc(Ta,ab,3E3)}});this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(document,"mousemove").pipe(Pe(Ta.destroyed$)).subscribe(function(ab){if(Ta.sidebarDragOffset){ab=ab.pageX-Ta.sidebarDragOffset;if(90>ab)ab=20;else if(185>ab)ab=185;else{var Sc=FSc();ab>Sc&&(ab=Sc)}ESc(Ta,ab,0)}})});ka.start();Jm()&&(null!=sec&&sec.disconnect(),sec=new Nm.PerformanceObserver(Iya),sec.observe({entryTypes:["measure"]}));setTimeout(v1a,6E4);ma.start();ya.initOnce();Aa.initOnce();P.emergencyBugjugglerWorkaround=
{session:d,issueComments:Y}};U(yY,jE);yY.\u0275dir=jE.\u0275dir;yY.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};yY.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var FSc=function(){var a=window.innerWidth;return 1075<=a?a-855:220},z1a=function(a,b){a.userPrefs.layoutPreferences$.pipe(Oe(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Ce(),Pe(a.destroyed$)).subscribe()},ESc=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(){z1a(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};yY.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=Ldc(this.paths,a);uX(this.issuePagination);b&&Iqb(this.reloadService);this.bLocation.url(a)};var w1a=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Ce(),Pe(a.destroyed$)).subscribe())};yY.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
yY.\u0275fac=function(a){return new (a||yY)(C(CG),C(HX),C(tF),C(ds),C(JL),C(DG),C(BI),C(tX),C($X),C(SF),C(iH),C(xP),C(Se),C(kA),C(iE),C(VH),C(uv),C(vY),C(xY),C(vX),C(wY),C(sY),C(lH))};
yY.\u0275cmp=Bc({type:yY,selectors:[["app-root"]],features:[Ye],decls:10,vars:2,consts:[["class","bv2-announce-bar",4,"ngIf"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged",4,"ngIf"],[1,"flex","pos-rel"],[1,"bv2-announce-bar"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["class","announce-dismiss","role","button","tabindex","0",3,"keydown.enter","keydown.space","click",4,"ngIf"],["role","button","tabindex",
"0",1,"announce-dismiss",3,"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged"]],template:function(a,b){a&1&&(I(0,"b-hiring-banner")(1,"b-terms-of-service"),Q(2,y1a,4,2,"div",0),I(3,"b-sso-expired-callout-outlet"),G(4,"div",1),Q(5,A1a,2,2,"b-resizable-sidebar",2),G(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;F("ngIf",c);z(3);F("ngIf",!b.isAnonymous)}},dependencies:function(){return[tw,uRc,cO,cY,oY,UQc,rRc,sRc,TQc]},encapsulation:2});var zY=function(){};zY.\u0275fac=function(a){return new (a||zY)};zY.\u0275mod=Dc({type:zY});zY.\u0275inj=nc({imports:[BF,BX,eO,kY,qY,oX,zX,AX,yX,wC,$B,qX]});var AY=function(){};AY.\u0275fac=function(a){return new (a||AY)};AY.\u0275mod=Dc({type:AY});AY.\u0275inj=nc({imports:[BF]});var GSc=Object.assign({},new FYb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),BY=function(){};BY.\u0275fac=function(a){return new (a||BY)};BY.\u0275mod=Dc({type:BY});BY.\u0275inj=nc({providers:[{provide:GYb,useValue:GSc}],imports:[pA,pA]});var CY=function(){};CY.\u0275fac=function(a){return new (a||CY)};CY.\u0275mod=Dc({type:CY});CY.\u0275inj=nc({imports:[BF,BY,wC,pA,$B,dN,gS,hX,AY]});var HSc=function(a,b,c,d){sx.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new E.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};rUb(this)};U(HSc,sx);var DY=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};DY.prototype.create=function(a){return new HSc(a,this.checker,this.ngZone,this.document)};DY.\u0275fac=function(a){return new (a||DY)(u(rx),u(Se),u(ah))};
DY.\u0275prov=mc({token:DY,factory:DY.\u0275fac,providedIn:"root"});var ISc=["content"],EY=function(a){jE.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new Vv;this.cancelClicked=new Vv;this.saveClicked=new Vv;this.dateSelectionChange=new Vv;this.focusEscaped=new Vv};U(EY,jE);EY.\u0275dir=jE.\u0275dir;
EY.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){C1a(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Pe(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||pUb(c)}else{var d;null==(d=a.focusEscapeNotifier)||qUb(d)}else a.focusEscaped.emit(b)})};
var C1a=function(a,b){if(b=b instanceof Xm?b:Fza(b))a.calendar.activeDate=b};EY.\u0275fac=function(a){return new (a||EY)(C(DY))};
EY.\u0275cmp=Bc({type:EY,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(Qf(Xz,7),Qf(ISc,7));if(a&2){var c;Pf(c=Sf())&&(b.calendar=c.first);Pf(c=Sf())&&(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:[Ye],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&&(tf(),G(0,"div",null,0)(2,"div",1),uf(3),H(),G(4,"mat-calendar",2),M("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),S(5,"toDateTime"),S(6,"toDateTime"),H(),G(7,"div",3),Q(8,F1a,4,2,"div",4),G(9,"div",5)(10,"button",6),M("click",function(){return b.cancelClicked.emit()}),R(11,"Cancel"),H(),G(12,"button",7),M("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),R(13,"Save"),H()()()());a&2&&(mf("container",b.renderPanel),z(4),F("selected",
T(5,5,b.date))("startAt",T(6,7,b.date)),z(4),F("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[tw,Yz,Xz,AL,FY]},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 FY=function(){};FY.prototype.transform=function(a){var b;return null!=(b=Fza(a))?b:void 0};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275pipe=Hc({name:"toDateTime",type:FY,pure:!0});var JSc=[{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"}],GY=function(a,b,c){jE.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 Vv;this.dateSelectionChange=new Vv;this.onClose=
new Vv;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};U(GY,jE);f=GY.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 Bx(EY),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){KSc(a)})};
f.getPositionStrategy=function(){return jz(kz(lz(nz(this.overlay.position(),this.element)),8),JSc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var KSc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,E.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(Pe(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(Pe(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(Pe(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,E.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(ue(function(c){return"Escape"===c.code}))).pipe(Pe(b)).subscribe(function(){a.close()})}};GY.\u0275fac=function(a){return new (a||GY)(C(oz),C(rd),C(rd))};
GY.\u0275dir=Gc({type:GY,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){b.openOnClick&&b.open();c.preventDefault();c.stopPropagation()})("keydown.enter",function(c){b.openOnEnter&&b.open();c.preventDefault();c.stopPropagation()})("keydown.tab",function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(qUb(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(pUb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&bf("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:[Ye]});var LSc=["pickerToggle"],HY=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new Vv};HY.\u0275fac=function(a){return new (a||HY)};
HY.\u0275cmp=Bc({type:HY,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&Qf(LSc,7);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"button",0,1),M("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),Q(2,G1a,1,1,"b-formatted-date-time",2),Q(3,H1a,2,0,"ng-container",3),H());a&2&&(F("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),bf("aria-labelledby",b.customAriaLabelledBy),z(2),F("ngIf",b.value),z(1),F("ngIf",!b.value))},dependencies:[GY,iK,Yz,tw],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var MSc=["filterInput"],IY=function(a){jE.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new Vv;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};U(IY,jE);IY.\u0275dir=jE.\u0275dir;f=IY.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(Oe(function(){return(0,E.timer)(0)}),Pe(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 NSc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
IY.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),OSc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};IY.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})};
IY.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);OSc(this)};
var OSc=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)})},J1a=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};IY.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(Qh(a)):a};IY.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
IY.\u0275fac=function(a){return new (a||IY)(C(JI))};
IY.\u0275cmp=Bc({type:IY,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(Qf(QB,5),Qf(MSc,5));if(a&2){var c;Pf(c=Sf())&&(b.trigger=c.first);Pf(c=Sf())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[Ye,Uc],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&&(G(0,"button",0)(1,"span"),R(2),H(),I(3,"b-icon",1),H(),G(4,"mat-menu",null,2),Q(6,I1a,3,4,"div",3),I(7,"mat-divider"),G(8,"div",4),Q(9,K1a,2,3,"input",5),H(),Q(10,L1a,1,0,"mat-divider",6),Q(11,M1a,2,0,"div",7),Q(12,N1a,4,1,"div",6),H());if(a&2){var c=yf(5);F("matMenuTriggerFor",c);z(2);Af(b.getLabel());z(4);F("ngForOf",NSc(b));z(3);F("ngIf","REPEATED_DATE"!==
b.type);z(1);F("ngIf",J1a(b));z(1);F("ngIf",J1a(b));z(1);F("ngIf","REPEATED_DATE"===b.type)}},dependencies:[sw,tw,RB,PB,QB,AL,GM,Yz,BN,kg,Uw,$w,HY],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var PSc=0,JY=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+PSc;PSc+=1};JY.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};JY.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};JY.\u0275fac=function(a){return new (a||JY)(C(mw))};
JY.\u0275dir=Gc({type:JY,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(sf("id",b.id),mf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var KY=function(){};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275mod=Dc({type:KY});KY.\u0275inj=nc({});var P1a=function(){return{$implicit:void 0}},S1a=function(a){return{$implicit:a}},LY=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new Vv;this.selected=new Vv;this.destroyed$=new E.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};f=LY.prototype;f.ngOnInit=function(){};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};f.ngAfterViewInit=function(){this.keyManager=Ly(new Py(this.viewOptions))};f.ngOnChanges=function(a){a.value&&QSc(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 QSc=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)}};LY.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
LY.prototype.handleKeydown=function(a){var b=this;a.pipe(Pe(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):TWb(b.keyManager)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};LY.\u0275fac=function(a){return new (a||LY)(C(OL,8))};
LY.\u0275cmp=Bc({type:LY,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&Qf(JY,5);if(a&2){var c;Pf(c=Sf())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&M("focus",function(){return QSc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,bf("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:[Uc],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&&(Q(0,Q1a,2,5,"div",0),Q(1,U1a,2,1,"ng-container",1),Q(2,$1a,3,2,"ng-template",null,2,Vf));a&2&&(F("ngIf",b.includeEmptyOption),z(1),F("ngForOf",b.options))},dependencies:[sw,tw,yw,JY],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 MY=function(){};var RSc=["trigger"],b2a=function(a){return{$implicit:a}},SSc=0,NY=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new Vv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+SSc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;SSc++};U(NY,MY);f=NY.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 TSc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};NY.prototype.setDisabledState=function(a){this.disabled=a};ch.Object.defineProperties(NY.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});NY.\u0275fac=function(a){return new (a||NY)(kd("required"))};
NY.\u0275cmp=Bc({type:NY,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&Qf(RSc,7);if(a&2){var c;Pf(c=Sf())&&(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:[Cf([{provide:Jw,useExisting:sc(function(){return NY}),
multi:!0},{provide:MY,useExisting:sc(function(){return NY}),multi:!0}]),Ye],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=v();G(0,"button",0,1);M("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){w(c);var g=yf(1);return y(g.open())})("closed",function(){b.onTouched()});G(2,"span",2);R(3);H();Q(4,c2a,2,4,"ng-container",3);Q(5,f2a,1,2,"ng-template",null,4,Vf);Q(7,i2a,3,2,"ng-template",null,5,Vf);Q(9,j2a,2,0,"svg",6);H();G(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);M("valueChange",function(g){return b.onSelectionChange(g)})("selected",function(){w(c);var g=yf(1);return y(g.close())});H()()}if(a&2){var d=yf(6),e=yf(11);mf("active",b.isActive());F("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);bf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(3);Af(TSc(b));z(1);F("ngIf",b.valueTemplate)("ngIfElse",d);z(5);F("ngIf",b.displayArrowIcon);z(1);F("relayOnly",!0);z(2);F("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[tw,yw,OL,LY,PL,QL],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 q2a=function(){return[]},OY=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=OY.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(Ph(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],x=e[h],A=void 0,B=null==(A=q)?void 0:A.type;if(q)if("REPEATED_DATE"===B||"REPEATED_ENUM"===B||"REPEATED_NUMERIC"===B||"REPEATED_TEXT"===
B){l=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===l.size;x=USc(x);A=Array.from(l.keys()).concat(x);A=k(A);for(B=A.next();!B.done;B=A.next())B=B.value,x.includes(B)?l.has(B)||l.set(B,q||null):l.set(B,null);this.repeatedCustomFieldsMap.set(h,l)}else(!x&&void 0!==l||x&&!Kh(x,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),Lh(g))}this.customFields=Array.from(b.keys()).map(function(K){return a.get(K)}).filter(function(K){return K});
this.customFields=this.customFields.map(function(K){var O=b.get(K.customFieldId);K.hasMultipleValues=null===O;O?K=Object.assign(O,K):K.hasMultipleValues||"ENUM"!==K.type||(K.enumValue="");return K});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,Lh(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 hp=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},USc=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()}):[]},o2a=function(a){return a?Ih(a):null},s2a=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(A){return A.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(A){return A.actions.length});if(c.valueChanged){d={};e=k(a.issues);for(var g=e.next();!g.done;d={$jscomp$loop$prop$issueValues$2330:d.$jscomp$loop$prop$issueValues$2330,$jscomp$loop$prop$action$2331:d.$jscomp$loop$prop$action$2331},g=e.next()){g=g.value;var h=Kca(g.customFieldValueMap,function(A){return A.customFieldId===b});d.$jscomp$loop$prop$issueValues$2330=USc(h);c.valueMap.forEach(function(A){return function(B,K){B&&!A.$jscomp$loop$prop$issueValues$2330.includes(K)?
A.$jscomp$loop$prop$issueValues$2330.push(K):!1===B&&(A.$jscomp$loop$prop$issueValues$2330=A.$jscomp$loop$prop$issueValues$2330.filter(function(O){return O!==K}))}}(d));h=a.originalCustomFields.get(b).type;var l=[],q=[];"REPEATED_DATE"==h?l=d.$jscomp$loop$prop$issueValues$2330.map(function(A){return Jh(Qh(A))}):"REPEATED_NUMERIC"==h&&(q=d.$jscomp$loop$prop$issueValues$2330.map(function(A){return Number(A)}));var x=new Wh({customFieldId:b});switch(h){case "REPEATED_TEXT":x.repeatedTextValue={values:d.$jscomp$loop$prop$issueValues$2330};
break;case "REPEATED_DATE":x.repeatedDateValue={values:l};break;case "REPEATED_ENUM":x.repeatedEnumValue={values:d.$jscomp$loop$prop$issueValues$2330};break;case "REPEATED_NUMERIC":x.repeatedNumericValue={values:q}}d.$jscomp$loop$prop$action$2331={fieldName:"customField",customFieldValue:x,actionType:x.isEmpty()?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(A){return function(B){return B.actions.some(function(K){return Kh(A.$jscomp$loop$prop$action$2331,K)})}}(d));-1!==h?a.bulkEditOps[h].issueIds.push(g.issueId):
a.bulkEditOps.push({actions:[d.$jscomp$loop$prop$action$2331],issueIds:[g.issueId]})}}},VSc=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!Kh(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 Wh({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,ua(h)&&ua(l)&&h.length==l.length){for(var q=h.length,x=0;x<q;x++)if(h[x]!==l[x]){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})}};OY.\u0275fac=function(a){return new (a||OY)(C(jA),C(hA))};
OY.\u0275cmp=Bc({type:OY,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&&(G(0,"h2",0),R(1,"Update custom fields"),H(),G(2,"mat-dialog-content"),Q(3,k2a,2,0,"div",1),Q(4,w2a,8,6,"div",2),H(),G(5,"mat-dialog-actions")(6,"button",3),M("class",function(){return b.dialogRef.close()}),R(7,"Cancel"),H(),G(8,"button",4),M("click",
function(){VSc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),R(9," Save "),H()());a&2&&(z(3),F("ngIf",0===b.customFields.length),z(1),F("ngForOf",b.customFields))},dependencies:[sw,tw,uw,vw,ww,lA,mA,nA,oA,NY,IY,kg,bx,Uw,$w,HY,Yz,ZB],encapsulation:2});var WSc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,XSc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,YSc=function(a){this.patternParts_=[];this.dateTimeSymbols_=CA;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
YSc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(WSc.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};YSc.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)};
YSc.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("Ud`"+g.text.charAt(0));}g=new ZSc;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],x=d;if(null!=q.text.match(WSc)){if(q=c[0],$Sc(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(x&&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;x=h;var A=c[0],B=0;for(l=x;l<this.patternParts_.length;l++){var K=this.patternParts_[l],O=K.count;if(0===O)break;if(l==x&&(O-=B,B++,0==O)){l=0;break a}var P=l>x&&K.numeric,Y=c[0];if(!aTc(this,q,c,K,O,g,!1)||P&&c[0]-Y<O)l=x-1,c[0]=A}l-=x}if(0>=l)return 0;h+=
l-1}else if(!aTc(this,a,c,this.patternParts_[h],0,g,d))return 0}a:{a=e;if(null==b)throw Error("Vd");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=jZb(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&&(a=b.getTimezoneOffset(),b.setTime(b.getTime()+6E4*(g.tzOffset-a)));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 aTc=function(a,b,c,d,e,g,h){$Sc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return PY(b,c,[a.dateTimeSymbols_.ERAS],function(l){return g.era=l}),!0;case "M":case "L":return bTc(a,b,c,e,d,g);case "E":return PY(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=PY(b,c,a,function(l){return g.dayPeriodIndex=
l},h),g.dayPeriodName=e[g.dayPeriodIndex],h?b:!0;case "a":return b=PY(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return g.ampm=l},h),h?b:!0;case "y":return cTc(a,b,c,d,e,g);case "Q":return PY(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){g.month=3*l;g.day=1});case "d":return dTc(a,b,c,d,e,function(l){g.day=l}),!0;case "S":return eTc(a,b,c,e,g);case "h":case "K":case "H":case "k":return b=dTc(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=dTc(a,b,c,d,e,function(l){g.minutes=l},h),h?b:!0;case "s":return dTc(a,b,c,d,e,function(l){g.seconds=l}),!0;case "z":case "Z":case "v":return fTc(a,b,c,g);default:return!1}},cTc=function(a,b,c,d,e,g){var h=c[0];e=QY(a,b,c,e);null===e&&(e=QY(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},bTc=function(a,b,c,d,e,g){return e.numeric&&dTc(a,
b,c,e,d,function(h){g.month=h-1})?!0:PY(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){g.month=h})},eTc=function(a,b,c,d,e){var g=c[0];a=QY(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},fTc=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=QY(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=QY(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},dTc=function(a,b,c,d,e,g,h){h=h||!1;var l=c[0];a=QY(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},PY=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,x=0,A=null,B=a.substring(g[0]).toLowerCase(),K=0;K<l.length;K++){var O=
l[K].toLowerCase();if(q&&0==O.indexOf(B)){x=B.length;A=K;break}l[K].length>x&&0==B.indexOf(O)&&(x=l[K].length,A=K)}null!==A&&(g[0]+=x);g=A;if(null!==g)return d(g),!0}return!1},$Sc=function(a,b){(a=a.substring(b[0]).match(XSc))&&(b[0]+=a[0].length)},QY=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)},ZSc=function(){};ZSc.prototype.ambiguousYear=!1;var mYb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),RY=function(){var a=tz.apply(this,arguments)||this;a.locale=CA;return a};U(RY,tz);f=RY.prototype;f.setLocale=function(){throw Error("Wd");};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 lYb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
RY.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};RY.prototype.clone=function(a){return a.clone()};var Tz=function(a,b,c){return new Xm(a,b,c)};RY.prototype.parse=function(a,b){if(""===a)return null;b=new YSc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Xm(new Date(a));b.parse(a,c);return c};RY.prototype.format=function(a,b){if(!this.isValid(a))throw Error("Xd");return(new EA(b)).format(a)};
var Rz=function(a,b){a=a.clone();a.add(new DA(b));return a},Sz=function(a,b){a=a.clone();a.add(new DA(0,b));return a},Qz=function(a,b){a=a.clone();a.add(new DA(0,0,b));return a},AXb=function(a){return a instanceof Xm};RY.prototype.isValid=function(a){return!isNaN(a.getTime())};RY.prototype.invalid=function(){return new Xm(NaN)};RY.prototype.sameDate=function(a,b){return a&&b?(new Hh(a)).equals(b):!1};RY.\u0275fac=function(){var a;return function(b){return(a||(a=pd(RY)))(b||RY)}}();
RY.\u0275prov=mc({token:RY,factory:RY.\u0275fac});var gTc={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"},SY=gTc;SY=gTc;var TY=CA.DATEFORMATS[3];TY=TY.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===TY&&(TY="MM/dd/yyyy");var hTc={parse:{dateInput:TY},display:{dateInput:TY,monthYearLabel:SY.YEAR_MONTH_ABBR,dateA11yLabel:SY.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:SY.YEAR_MONTH_FULL}};var UY=function(){};UY.\u0275fac=function(a){return new (a||UY)};UY.\u0275mod=Dc({type:UY});UY.\u0275inj=nc({providers:[{provide:tz,useClass:RY},{provide:wz,useValue:hTc}],imports:[BF,$B,wC,WC,LS,Ey]});var VY=function(){};VY.\u0275fac=function(a){return new (a||VY)};VY.\u0275mod=Dc({type:VY});VY.\u0275inj=nc({imports:[UY,IM,$B,wC,BF]});var WY=function(){};WY.\u0275fac=function(a){return new (a||WY)};WY.\u0275mod=Dc({type:WY});WY.\u0275inj=nc({imports:[BF,SB,LS,OS,bN,wC,BA,fO,ox,VY]});var XY=function(){};XY.\u0275fac=function(a){return new (a||XY)};XY.\u0275mod=Dc({type:XY});XY.\u0275inj=nc({imports:[Hw]});var YY=function(){};YY.\u0275fac=function(a){return new (a||YY)};YY.\u0275mod=Dc({type:YY});YY.\u0275inj=nc({imports:[Hw,wC,KY]});var ZY=function(){};ZY.\u0275fac=function(a){return new (a||ZY)};ZY.\u0275mod=Dc({type:ZY});ZY.\u0275inj=nc({imports:[Hw,$B,wC,ox,XY,YY,RL]});var $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=Dc({type:$Y});$Y.\u0275inj=nc({imports:[BF,pA,ZY,WY,ox,VY,wC,XC]});var aZ=function(){};aZ.\u0275fac=function(a){return new (a||aZ)};aZ.\u0275mod=Dc({type:aZ});aZ.\u0275inj=nc({imports:[BF,IM,fO,wC,pA,SM,qO,eN,zO]});var iTc=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"]]),jTc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),z2a=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),A2a=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),bZ=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};bZ.\u0275fac=function(a){return new (a||bZ)(u(NF),u(ds))};bZ.\u0275prov=mc({token:bZ,factory:bZ.\u0275fac,providedIn:"root"});var C2a=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var cZ=function(a,b){jE.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new E.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(Oe(this.componentFridge.watch),Le({refCount:!0,bufferSize:1}));this.init=new E.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};U(cZ,jE);cZ.\u0275dir=jE.\u0275dir;
cZ.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=Vl({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=Ul("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=ewa(this.componentId,"basic");this.component$.pipe(Ce(),Pe(this.destroyed$)).subscribe(function(){a.init.next()})};cZ.\u0275fac=function(a){return new (a||cZ)(C(mF),C(ds))};
cZ.\u0275cmp=Bc({type:cZ,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[Ye],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),Q(2,G2a,16,8,"ng-container",2),S(3,"async"),H()());a&2&&(z(2),F("ngIf",T(3,1,b.component$)))},
dependencies:[tw,nO,zw],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var dZ=function(){this.changes=new E.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}};dZ.\u0275fac=function(a){return new (a||dZ)};dZ.\u0275prov=mc({token:dZ,factory:dZ.\u0275fac,providedIn:"root"});
var kTc={provide:dZ,deps:[[new ov,new pv,dZ]],useFactory:function(a){return a||new dZ}};new Nc("MAT_PAGINATOR_DEFAULT_OPTIONS");
var lTc=fh(Coa(function(){})),eZ=function(a,b,c){var d=lTc.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 Vv;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};U(eZ,lTc);f=eZ.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})};
ch.Object.defineProperties(eZ.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(wg(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=wg(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(wg(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return wg(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=tg(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=tg(a)}}});
eZ.\u0275fac=function(){vd()};eZ.\u0275dir=Gc({type:eZ,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[Ye]});var mTc=new Nc("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),fZ=function(a,b,c){a=eZ.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};U(fZ,eZ);fZ.\u0275dir=eZ.\u0275dir;fZ.\u0275fac=function(a){return new (a||fZ)(C(dZ),C(mw),C(mTc,8))};
fZ.\u0275cmp=Bc({type:fZ,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[Ye],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&&(G(0,"div",0)(1,"div",1),Q(2,K2a,5,3,"div",2),G(3,"div",3)(4,"div",4),R(5),H(),Q(6,L2a,3,5,"button",5),G(7,"button",6),M("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),fd(),G(8,"svg",7),I(9,"path",8),H()(),gd(),G(10,"button",9),M("click",function(){return b.nextPage()}),fd(),G(11,"svg",7),I(12,"path",10),H()(),Q(13,M2a,3,5,"button",11),H()()());a&2&&(z(2),F("ngIf",!b.hidePageSize),z(3),zf(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),z(1),F("ngIf",b.showFirstLastButtons),z(1),F("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),bf("aria-label",b._intl.previousPageLabel),z(3),F("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),bf("aria-label",b._intl.nextPageLabel),z(3),F("ngIf",b.showFirstLastButtons))},
dependencies:[sw,tw,Yz,xA,iO,$z,ZB],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 gZ=function(a){this.paths=a;this.children=[];this.onVisit=new Vv;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};gZ.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};gZ.\u0275fac=function(a){return new (a||gZ)(C(DG))};
gZ.\u0275cmp=Bc({type:gZ,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&&(Q(0,N2a,1,3,"mat-paginator",0),G(1,"ul",1),Q(2,
O2a,6,4,"li",2),H());a&2&&(F("ngIf",b.children.length>b.pageSize),z(2),F("ngForOf",b.childrenOnPage))},dependencies:[sw,tw,xJ,CJ,cZ,fZ],encapsulation:2});var hZ=function(){};hZ.\u0275fac=function(a){return new (a||hZ)};hZ.\u0275mod=Dc({type:hZ});hZ.\u0275inj=nc({imports:[BF,sO]});var iZ=function(){};iZ.\u0275fac=function(a){return new (a||iZ)};iZ.\u0275mod=Dc({type:iZ});iZ.\u0275inj=nc({providers:[kTc],imports:[Hw,wC,jO,XC,sz]});var jZ=function(){};jZ.\u0275fac=function(a){return new (a||jZ)};jZ.\u0275mod=Dc({type:jZ});jZ.\u0275inj=nc({imports:[BF,JM,hZ,iZ]});var kZ=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new Vv;this.onClickCopyIssueShortLinks=new Vv;this.onClickCopyAsIssueSearch=new Vv};kZ.\u0275fac=function(a){return new (a||kZ)};
kZ.\u0275cmp=Bc({type:kZ,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&&(G(0,"b-button-group")(1,"button",0),M("click",function(){return b.onClickCopyIssueIds.emit()}),I(2,"b-icon",1),H(),G(3,"button",2),I(4,"b-icon",3),H(),G(5,"mat-menu",null,4),Q(7,P2a,2,1,"button",5),G(8,"button",6),M("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
R(9," Copy as issue search "),H()()());if(a&2){var c=yf(6);z(3);F("matMenuTriggerFor",c);z(4);F("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[tw,RB,PB,QB,Yz,eX,GM],encapsulation:2,changeDetection:0});new Nc("xap-clipboard-snackbar-options");var lZ=function(){};lZ.\u0275fac=function(a){return new (a||lZ)};lZ.\u0275mod=Dc({type:lZ});lZ.\u0275inj=nc({imports:[Hw,wC,$B,HF]});var mZ=function(){};mZ.\u0275fac=function(a){return new (a||mZ)};mZ.\u0275mod=Dc({type:mZ});mZ.\u0275inj=nc({imports:[BF,SB,wC,hX,bN,lZ]});var nZ=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=vFa(b)?"b/":"b-qa/"},K6a=function(a,b){a.clipboard.copy(b.join(", "));LF(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent(Gn.LIST_ISSUES,"copyIssueId","IDs")},L6a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));LF(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent(Gn.LIST_ISSUES,"copyIssueId","b/ links")},
M6a=function(a,b){b=Vl({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);LF(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent(Gn.LIST_ISSUES,"copyIssueId","Issue search link")};nZ.\u0275fac=function(a){return new (a||nZ)(u(SL),u(ds),u(oH),u(KF),u(iE))};nZ.\u0275prov=mc({token:nZ,factory:nZ.\u0275fac,providedIn:"root"});var oZ=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)};oZ.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
oZ.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};oZ.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"};oZ.\u0275fac=function(a){return new (a||oZ)(C(rd))};
oZ.\u0275dir=Gc({type:oZ,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var pZ=function(){};pZ.\u0275fac=function(a){return new (a||pZ)};pZ.\u0275mod=Dc({type:pZ});pZ.\u0275inj=nc({});var qZ=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};ch.Object.defineProperties(qZ.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=Ir(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?kp(a,jwa):kp(a)}}});qZ.\u0275fac=function(a){return new (a||qZ)(C(sK))};
qZ.\u0275cmp=Bc({type:qZ,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&&(G(0,"div",0)(1,"p",1),R(2),H(),G(3,"span",2),Q(4,Q2a,6,4,"span",3),Q(5,R2a,2,0,"span",4),H()());a&2&&(z(2),zf("",b.label,":"),z(2),F("ngForOf",b.componentPath),z(1),F("ngIf",b.isArchived))},dependencies:[sw,tw,xJ,CJ,cZ,ZM],encapsulation:2});var rZ=function(){};rZ.\u0275fac=function(a){return new (a||rZ)};rZ.\u0275mod=Dc({type:rZ});rZ.\u0275inj=nc({imports:[BF,JM,hZ,$M]});var sZ=function(){};sZ.\u0275fac=function(a){return new (a||sZ)};sZ.\u0275mod=Dc({type:sZ});sZ.\u0275inj=nc({imports:[BF,ox,wC,fO,pA,sO]});var nTc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};nTc.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 tZ=function(a,b){a.selectedId&&oTc(a,a.selectedId);a.selectedId=b;if(a=pTc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},uZ=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},qTc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},oTc=function(a,b){b&&(a=pTc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},pTc=function(a){return a?document.getElementById("component-"+a):null},rTc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var U2a=function(a){return{q:a}},vZ=function(a,b,c,d){nTc.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new Vv;this.selectedId=null};U(vZ,nTc);vZ.prototype.ngOnInit=function(){};vZ.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};vZ.prototype.ngOnChanges=function(a){a.components&&sTc(this)};vZ.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;tZ(this,a);this.rootController.selectionChanged(this,a)};
var sTc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){return a.selectNext()})};f=vZ.prototype;
f.selectNext=function(){if(this.components)if(this.selectedId){var a=qTc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(oTc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(tZ(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else tZ(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
f.selectPrevious=function(){var a=qTc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(tZ(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};f.closeSubtree=function(){if(this.selectedId){var a=uZ(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=uZ(this);a&&this.showChildren(a)};f.setSelected=function(a,b){rTc(b)||(tZ(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};f.toggleChildrenForSelectedId=function(){var a=uZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};vZ.\u0275fac=function(a){return new (a||vZ)(C(LT),C(DG),C(OF),C(kH,2))};
vZ.\u0275cmp=Bc({type:vZ,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Cf([kH]),Ye,Uc],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&&(G(0,"ol",0),Q(1,b3a,19,12,"li",1),H());a&2&&(z(1),F("ngForOf",b.components))},dependencies:[sw,tw,JA,ZB,Zz,zL,nO,vK,vZ],encapsulation:2});var e3a=function(a){return{q:a}},wZ=function(a,b,c,d,e,g){nTc.call(this,a,d,g);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new Vv;this.subscriptions=new E.Subscription;this.destroyed$=new E.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};U(wZ,nTc);f=wZ.prototype;
f.ngOnInit=function(){var a=this;this.rootController=this;(0,E.timer)(0).pipe(Pe(this.destroyed$)).subscribe(function(){tTc(a)&&!a.selectedId&&tZ(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&&uTc(this)};f.onSubtreeChildClosed=function(a){var b=this;tZ(this,a);this.focusedController=void 0;(0,E.timer)(0).pipe(Pe(this.destroyed$)).subscribe(function(){xZ(b)})};
f.fireSelectionEvent=function(a){var b=pTc(a);b&&b.click();xZ(this,a)};var uTc=function(a){(0,E.timer)(0).pipe(Pe(a.destroyed$)).subscribe(function(){tTc(a)&&!a.selectedId&&tZ(a,a.components[0].componentId)})};f=wZ.prototype;f.selectionChanged=function(a,b){b&&xZ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&oTc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
f.setSelected=function(a,b){rTc(b)||(tZ(this,a),this.selectionChanged(null),xZ(this),b.preventDefault(),b.stopPropagation())};
f.registerKeys=function(a){var b=this;this.subscriptions.add(KL(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=uZ(this);a&&this.showChildren(a)}};
f.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=uZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};f.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(uZ(this).showChildren=!1,this.cdr.detectChanges())};
f.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=qTc(this);tTc(this)&&1<=a&&(tZ(this,this.components[a-1].componentId),xZ(this))}};
f.selectNext=function(){if(tTc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=qTc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(oTc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(tZ(this,this.components[a+1].componentId),xZ(this))}else tZ(this,this.components[0].componentId),xZ(this)};
var xZ=function(a,b){var c=vTc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=pTc(b||a.selectedId)){b=vTc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},vTc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},tTc=function(a){return!!(a.components&&0<a.components.length)};wZ.\u0275fac=function(a){return new (a||wZ)(C(LT),C(DG),C(JL),C(OF),C(rd),C(kH,2))};
wZ.\u0275cmp=Bc({type:wZ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Cf([kH]),Ye,Uc],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&&(G(0,"ol",0),Q(1,m3a,19,12,"li",1),H());a&2&&(z(1),F("ngForOf",b.components))},dependencies:[sw,tw,JA,ZB,Zz,zL,nO,vK,vZ],encapsulation:2});var yZ=function(){};yZ.\u0275fac=function(a){return new (a||yZ)};yZ.\u0275mod=Dc({type:yZ});yZ.\u0275inj=nc({imports:[BF,XC,wC,$B,eN,sO,YM]});var wTc=0,zZ=function(){this.id="b-slide-toggle-"+ ++wTc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new Vv};zZ.\u0275fac=function(a){return new (a||zZ)};
zZ.\u0275cmp=Bc({type:zZ,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&&(G(0,"mat-slide-toggle",0),M("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
R(1),H());if(a&2){var c;F("id",b.id)("disabled",b.disabled)("checked",b.model)("aria-label",b.ariaLabel||b.label)("matTooltip",null!==(c=b.tooltip)&&void 0!==c?c:"")("labelPosition",b.label?b.labelPosition:"after");z(1);Af(b.label)}},dependencies:[DS,ZB],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var AZ=function(){};AZ.\u0275fac=function(a){return new (a||AZ)};AZ.\u0275mod=Dc({type:AZ});AZ.\u0275inj=nc({imports:[kT,XC]});var xTc=["spanElement"],BZ=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};BZ.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};BZ.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)+"...")};
BZ.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};BZ.\u0275fac=function(a){return new (a||BZ)};
BZ.\u0275cmp=Bc({type:BZ,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&Qf(xTc,5);if(a&2){var c;Pf(c=Sf())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[Uc],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&I(0,"span",0,1);a&2&&F("matTooltip",b.getTooltip())("innerHtml",b.displayString,Hd)},dependencies:[ZB],encapsulation:2});var CZ=function(){};CZ.\u0275fac=function(a){return new (a||CZ)};CZ.\u0275mod=Dc({type:CZ});CZ.\u0275inj=nc({imports:[BF,XC]});var yTc=["popupField"],zTc=["fieldContent"],ATc=["popupOverlay"],BTc=["overlayContent"],J3a=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},CTc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],DZ=function(a,b,c,d,e,g,h,l){jE.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=WE;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 Vv;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=g.isInternalSession()};U(DZ,jE);DZ.\u0275dir=jE.\u0275dir;f=DZ.prototype;
f.ngOnInit=function(){var a=this;this.enableWaldoAvailability=hE(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,DTc(a),a.cdr.detectChanges())}));this.subscriptions.add(vhc(this.dateFormatter,function(){ETc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){DTc(a)})};
f.ngOnDestroy=function(){jE.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};f.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&ETc(this)};f.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
f.getPositionStrategy=function(){return jz(kz(lz(nz(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),CTc)};f.convertIssueStatusStrToTag=function(a){return gj[a]};
var DTc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},V3a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();a4a(a);break;case 27:b.stopPropagation(),lp(a,b,!1,!0)}},T3a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),a4a(a);break;case 27:b.stopPropagation(),lp(a,b,!1,!0)}},F3a=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();lp(a,
b,!0,!1);break;case 27:b.stopPropagation(),lp(a,b,!1,!0)}},lp=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,DTc(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?Ih(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){FTc(a);var g=a.element.nativeElement;(0,E.fromEvent)(document,"click").pipe(ue(function(h){return!g.contains(h.target)}),Ce(),Pe(a.overlayRef._detachments),Pe(a.destroyed$)).subscribe(function(){lp(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};DZ.prototype.schedule=function(a){var b=E.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
DZ.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var ETc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&thc.has(b)){a.displayValue=zua(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(Ih(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};DZ.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=Jh(a)),"NUMERIC"===this.type&&""===a&&(a=null),Kh(this.value,a)?"ENUM"===this.type&&lp(this,null,!1,!0):(lp(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var a4a=function(a){if(void 0===a.type)throw Error("Yd");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("Zd");default:nh(a.type,"FieldType")}};
DZ.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);lp(this,null,!1,!0)};var FTc=function(a){DTc(a);var b=a.overlayRef.attach(new Cx(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()})};
DZ.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};DZ.prototype.isBoolean=function(){return"BOOL"===this.type};DZ.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};DZ.\u0275fac=function(a){return new (a||DZ)(C(kH,2),C(rd),C(oz),C(Nf),C(JI),C(ds),C(II),C(SF))};
DZ.\u0275cmp=Bc({type:DZ,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(Qf(QB,5),Qf(yTc,5),Qf(zTc,5),Qf(ATc,5),Qf(BTc,5));if(a&2){var c;Pf(c=Sf())&&(b.enumMenuTrigger=c.first);Pf(c=Sf())&&(b.popupField=c.first);Pf(c=Sf())&&(b.fieldContent=c.first);Pf(c=Sf())&&(b.popupOverlay=c.first);Pf(c=Sf())&&(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:[Cf([kH]),Ye,Uc],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&&(G(0,"div")(1,"div",0),Q(2,H3a,7,14,"div",1),Q(3,K3a,3,13,"div",2),Q(4,M3a,2,1,"ng-container",3),I(5,"div",4),H(),G(6,"mat-menu",null,5),Q(8,P3a,2,2,"ng-template",6),H(),Q(9,c4a,6,7,"ng-template",null,7,Vf),H());a&2&&(z(1),mf("active",b.isActive&&!b.readonly&&!b.disabled),z(1),F("ngIf","BOOL"!==b.type),z(1),F("ngIf",b.isBoolean(b.value)),z(1),F("ngIf",b.isUser))},dependencies:[rI,rw,sw,tw,yw,uw,vw,ww,JA,yR,EY,kg,Uw,$w,Yz,RB,PB,QB,OB,ZB,zZ,YJ,BZ,cK,
yO,Aw],styles:[".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var GTc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},EZ=function(){};EZ.\u0275fac=function(a){return new (a||EZ)};EZ.\u0275mod=Dc({type:EZ});EZ.\u0275inj=nc({imports:[wO,gS,BF,zR,UY,ox,wC,$B,SB,XC,AZ,SM,oJ,CZ,zO]});var HTc=0,FZ=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+HTc;this.id="b-collapsible-panel-"+HTc;HTc++};FZ.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
ch.Object.defineProperties(FZ.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"}}});FZ.\u0275fac=function(a){return new (a||FZ)(C(rd))};
FZ.\u0275cmp=Bc({type:FZ,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&&(tf(),G(0,"div",0)(1,"button",1),M("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),Q(2,e4a,1,1,"b-icon",2),Q(3,f4a,2,1,"span",3),Q(4,g4a,2,0,"div",4),I(5,"mat-icon",5),H(),G(6,"div",6),uf(7),H()());a&2&&(z(1),mf("compact",
b.hasCompactTitleBar),bf("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),z(1),F("ngIf",b.iconName),z(1),F("ngIf",!b.hasCompactTitleBar||!b.isExpanded),z(1),F("ngIf",b.hasCompactTitleBar),z(1),F("@expandCollapseIcon",b.expandedState),z(1),F("@expandCollapseContent",b.expandedState),bf("id",b.id)("aria-labelledby",b.headerId))},dependencies:[tw,JA,GM],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:[Fg("expandCollapseContent",[Ig("expanded",Hg({height:"*",visibility:"visible"})),Ig("collapsed",Hg({height:"0",visibility:"hidden"})),Jg("expanded <=> collapsed",[Gg("200ms")])]),Fg("expandCollapseIcon",[Ig("expanded",Hg({transform:"rotate(-180deg)"})),Ig("collapsed",Hg({transform:"*"})),Jg("expanded <=> collapsed",[Gg("200ms")])])]}});var GZ=function(){};GZ.\u0275fac=function(a){return new (a||GZ)};GZ.\u0275mod=Dc({type:GZ});GZ.\u0275inj=nc({imports:[BF,$B,bN]});var ITc=["addLink"],JTc=["showFewer"],KTc=["showMore"],LTc=["removeButton"],i4a=function(a,b){return{item:a,$index:b}},MTc=[[["",8,"title-action"]],[["",8,"value-action"]]],NTc=[Object.assign({},np("start","bottom"),op("start","top"),{offsetY:8}),Object.assign({},np("center","bottom"),op("center","top"),{offsetY:8}),Object.assign({},np("end","bottom"),op("end","top"),{offsetY:8}),Object.assign({},np("start","top"),op("start","bottom"),{offsetY:-8}),Object.assign({},np("end","top"),op("end","bottom"),
{offsetY:-8})],HZ=function(a,b,c,d){jE.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=NTc;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 Vv;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.truncate=
!1;this.additionAllowed=!0;this.isExpanded=this.isCollapsible=!1;this.collapsiblePanelTitle=this.iconName="";this.inputValidator=null;this.teamId=this.invalidMessage="";this.isString=Mh;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType()};U(HZ,jE);HZ.\u0275dir=jE.\u0275dir;
HZ.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=ci(b);c&&this.userMap.set(c,Lh(b))}};HZ.prototype.ngOnInit=function(){o4a(this)};
var o4a=function(a){a.sortedEnumChoices=[].concat(Pc(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})},p4a=function(a){var b=a.values||[],c=[].concat(Pc(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})};
HZ.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
HZ.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()}})};
HZ.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=Jh(a);this.preventDuplicates&&this.values.find(function(g){return Kh(g,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&iqa(this.values)&&iqa(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(Nh(this.values)&&Nh(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=W4a(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||S4a(this,!0);0!==b.length&&(this.values=[].concat(Pc(this.values),Pc(b)),this.valuesChange.emit({values:this.values,added:b}))};HZ.prototype.onDrop=function(a){nn(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var S4a=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()},mp=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()})};HZ.prototype.getDisplayValues=function(){var a=this;return this.values&&"REPEATED_DATE"===this.type?this.values.map(function(b){return a.dateFormatter.formatUserCalendar(Ih(b))}):this.values&&"TEAM"===this.type?this.values:this.values&&"WORKSPACES"===this.type?this.values:this.displayValuesOverride||(this.values||[]).map(function(b){return Mh(b)?b:hqa(b)?""+b:a.dateFormatter.formatUserCalendar(Ih(b))})};
var R4a=function(a,b,c){var d,e,g,h;return de(function(l){if(1==l.nextAddress){if(!a.inputValidator)return l.jumpTo(2);d=a;return l.yield(a.inputValidator(b.value.input),3)}2!=l.nextAddress&&(d.invalidMessage=l.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return l.return();e=b.value.input;null==(g=b)||g.reset();null==(h=c.querySelector("input"))||h.focus();a.addItems(e);ie(l)})};f=HZ.prototype;f.trackClick=function(a){this.analytics.trackEvent(Gn.LINK_FIELD,"click",a)};
f.getUser=function(a){return this.userMap.get(a)};f.schedule=function(a){this.subscriptions.add(E.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};HZ.\u0275fac=function(a){return new (a||HZ)(C(kH,2),C(JI),C(oH),C(ds))};
HZ.\u0275cmp=Bc({type:HZ,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(Qf(ITc,5),Qf(JTc,5),Qf(KTc,5),Qf(LTc,5),Qf(QB,5),Qf(UX,5));if(a&2){var c;Pf(c=Sf())&&(b.addLinkEl=c.first);Pf(c=Sf())&&(b.showFewer=c.first);Pf(c=Sf())&&(b.showMore=c.first);Pf(c=Sf())&&(b.removeButtons=c);Pf(c=Sf())&&(b.menuTriggers=c);Pf(c=Sf())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",additionAllowed:"additionAllowed",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",inputValidator:"inputValidator",teamId:"teamId"},outputs:{valuesChange:"valuesChange"},features:[Cf([kH]),
Ye,Uc],ngContentSelectors:[".title-action",".value-action"],decls:23,vars:18,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition"],[1,"bv2-editable-title"],[4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDisabled","cdkDropListDropped"],[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],["addLink",""],[3,"ngSwitch",4,"ngIf"],["itemRenderer",
""],["metadataTools",""],["enumPopup","matMenu"],["matMenuContent",""],["textPopup",""],["datePopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],["mat-button","","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened",
"menuClosed",4,"ngSwitchCase"],["mat-button","","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button","","aria-haspopup","true","matTooltip",
"Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions",
"matTooltip","beforeOpened"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[4,"ngIf","ngIfElse"],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["default",""],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[1,"float-clear"],[3,"changelistId"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId",
"componentId"],["target","_blank",1,"bv2-metadata-link",3,"href","click"],["class","list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[3,"email"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"disabled","matTooltip","click"],["removeButton",""],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role",
"button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showFewer",""],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showMore",""],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked","click",4,"ngFor","ngForOf","ngForTrackBy"],
["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["textPopupForm","ngForm","formEl",""],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button",
"","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"gmat-button","medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"required","renderPanel","dateChange","cancelClicked"]],template:function(a,
b){a&1&&(tf(MTc),G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,h4a,2,1,"label",3),uf(4),H(),G(5,"div",4),M("cdkDropListDropped",function(c){return b.onDrop(c)}),Q(6,k4a,3,7,"collapsible-panel",5),Q(7,n4a,4,4,"ng-container",3),G(8,"div",6,7),Q(10,t4a,4,3,"ng-container",8),uf(11,1),H()()(),Q(12,I4a,1,1,"ng-template",null,9,Vf),Q(14,L4a,2,2,"ng-template",null,10,Vf),G(16,"mat-menu",null,11),Q(18,N4a,1,2,"ng-template",12),H(),Q(19,T4a,13,6,"ng-template",null,13,Vf),Q(21,U4a,1,2,"ng-template",null,14,Vf),H());
a&2&&(mf("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),z(1),mf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),F("matTooltip",b.tooltip)("matTooltipPosition","left"),bf("aria-label",b.getAriaLabel()),z(2),F("ngIf",b.title),z(2),mf("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),F("cdkDropListDisabled",!b.isDefaultOrAllowedValues),z(1),F("ngIf",b.isCollapsible),z(1),F("ngIf",!b.isCollapsible),
z(3),F("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[sw,tw,yw,uw,vw,ww,JA,uA,tL,EY,ax,kg,Uw,Vw,kx,$w,Yw,Yz,ZB,YJ,BZ,yO,HK,FK,RX,QX,UX,RB,PB,QB,OB,yR,FZ,pK],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;},[_nghost-%COMP%]     .bv2-field-user-action-footer span {width: max-content; display:flex;}".split(",")});
var OTc={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"},IZ=function(){};IZ.\u0275fac=function(a){return new (a||IZ)};IZ.\u0275mod=Dc({type:IZ});IZ.\u0275inj=nc({imports:[BF,BA,JS,UY,ox,wC,XC,SM,WM,CZ,zO,IK,eY,gY,SB,$B,zR,GZ,gY,XM]});var Y4a=function(){return[]},JZ=function(){this.disabled=this.readonly=!1;this.save=new Vv},PTc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};JZ.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=PTc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};JZ.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 X4a=function(a){return(a=PTc(a).getValue())&&void 0===a.values?a:null},$4a=function(a){return(a=PTc(a).getValue())&&void 0!==a.values?a.values:null};ch.Object.defineProperties(JZ.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});JZ.\u0275fac=function(a){return new (a||JZ)};
JZ.\u0275cmp=Bc({type:JZ,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&Qf(DZ,5);if(a&2){var c;Pf(c=Sf())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&mf("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&&Q(0,b5a,3,2,"ng-container",0);
a&2&&F("ngIf",PTc(b))},dependencies:[tw,HZ,DZ],encapsulation:2});var KZ=function(){};KZ.\u0275fac=function(a){return new (a||KZ)};KZ.\u0275mod=Dc({type:KZ});KZ.\u0275inj=nc({imports:[BF,IZ,EZ]});var LZ=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new Vv;this.filter=function(){return!0}};LZ.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};LZ.\u0275fac=function(a){return new (a||LZ)};
LZ.\u0275cmp=Bc({type:LZ,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&&(G(0,"div",0)(1,"div",1),R(2," First, select a component that contains the custom field. "),H(),G(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),H(),Q(4,g5a,4,3,"div",3),H());a&2&&(z(3),F("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),z(1),F("ngIf",b.selectedComponent))},dependencies:[sw,tw,xA,wA,iO,$z,
RT],encapsulation:2});var MZ=function(){};MZ.\u0275fac=function(a){return new (a||MZ)};MZ.\u0275mod=Dc({type:MZ});MZ.\u0275inj=nc({imports:[BF,jO,oV]});var QTc=function(a){return{value:a}},NZ=function(){this.isNonemptyJsonDateValue=Wpa};NZ.prototype.toDate=function(a){return Ih(a)};NZ.\u0275fac=function(a){return new (a||NZ)};
NZ.\u0275cmp=Bc({type:NZ,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&&(G(0,"span",0),Q(1,h5a,1,0,"ng-container",1),H(),Q(2,i5a,0,0,"ng-template",null,2,Vf),Q(4,v5a,8,8,"ng-template",null,3,Vf));if(a&2){var c=yf(5);z(1);F("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",Ff(2,QTc,b.customFieldValue))}},dependencies:[sw,tw,yw,iK],encapsulation:2});var OZ=function(){};OZ.\u0275fac=function(a){return new (a||OZ)};OZ.\u0275mod=Dc({type:OZ});OZ.\u0275inj=nc({imports:[BF,IM]});var TTc=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 WI;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";RTc(this,b);STc(this,b)},RTc=function(a,b){var c=b[0],d=ul[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},UTc=function(a){if(1===a.length)return"IDENTICAL_EMAILS";var b=!a.every(function(c){return c===a[0]});return a.every(function(c){return void 0===c||bn(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},STc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=UTc(c);a.selectedVerifiersStatus=UTc(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])};
TTc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;d6a(this)};TTc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var tp=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},$5a=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?VTc(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||VTc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),VTc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},VTc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},d6a=function(a){var b=ul.NEW,c=ul.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!Mac.has(a.issueState)||(a.issueState=b)},WTc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},o6a=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);WTc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var XTc=function(a){this.uploadUrl_=a};XTc.prototype.getUploadUrl=function(){return this.uploadUrl_};var YTc=function(){vo.call(this)};rs(YTc,vo);var PZ=function(a){RA.call(this,a)};rs(PZ,RA);var QZ=function(a){RA.call(this,a)};rs(QZ,RA);var ZTc=function(a,b){this.name_=a;this.inputElement_=b};ZTc.prototype.getName=function(){return this.name_};var $Tc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var RZ=function(){vo.call(this);this.name_="closure_frame"+aUc++;this.iframesForDisposal_=[];bUc[this.name_]=this},SZ;rs(RZ,vo);var bUc={},aUc=0,cUc=function(a,b){var c=yo(a);F6b(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=RZ.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("$d");this.lastUri_=a=new Bo(a);b=b?b.toUpperCase():"GET";c&&P6b(a);SZ||(SZ=n_b("FORM"),SZ.acceptCharset="utf-8",c=SZ.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(SZ));this.form_=SZ;"GET"==b&&cUc(this.form_,a.queryData_);d&&cUc(this.form_,d);nQb(this.form_,Dg(a.toString()));this.form_.method=b;dUc(this);eUc(this)};
f.abort=function(a){if(this.active_){var b=fUc(this);if(b)if(TA(b))b.removeAllListeners(void 0);else if(b=$Zb(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),g=0;g<e.length;++g)XA(e[g])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");gUc(this)}};
f.disposeInternal=function(){this.active_&&this.abort();RZ.superClass_.disposeInternal.call(this);this.iframe_&&hUc(this);eUc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete bUc[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 X0b(this.lastContent_)};
f.getLastUri=function(){return this.lastUri_};f.getLastErrorCode=function(){return this.lastErrorCode_};f.getLastError=function(){return d1b(this.lastErrorCode_)};
var dUc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=yo(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});ts&&7>Number(yIb)&&nQb(a.iframe_,Dg(Wb(Dn('javascript:""'))));var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";ws?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");yo(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";
var c=r_b(a.iframe_);if(document.baseURI){var d=ep(b);d=yg('<head><base href="'+ep(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=ep(b),d=yg('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(dk(d));wo(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=aB("TEXTAREA",a.form_);for(var e=0,g=d.length;e<g;e++){var h=d[e].value,l=[];w_b(d[e],l,!1);l.join("")!=h&&(s_b(d[e],h),d[e].value=h)}d=c.importNode(a.form_,!0);d.target=b;d.action=a.form_.action;c.body.appendChild(d);
e=aB("SELECT",a.form_);g=aB("SELECT",d);h=0;for(l=e.length;h<l;h++)for(var q=aB("OPTION",e[h]),x=aB("OPTION",g[h]),A=0,B=q.length;A<B;A++)x[A].selected=q[A].selected;e=aB("INPUT",a.form_);g=aB("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(),vs&&Tn(a.testForFirefoxSilentError_,250,a)}catch(K){WA(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
RZ.prototype.onIframeLoaded_=function(){WA(fUc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?r_b(fUc(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"),gUc(this))}catch(e){this.handleError_(1)}};
RZ.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),gUc(this),this.errorHandled_=!0)};
var gUc=function(a){hUc(a);eUc(a);a.form_=null;a.dispatchEvent("ready")},hUc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(Un(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);vs?a.iframeDisposalTimer_=Tn(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
RZ.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(Un(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();eB(a)}};var eUc=function(a){a.form_&&a.form_==SZ&&q_b(a.form_)},fUc=function(a){return a.iframe_?r_b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
RZ.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?r_b(fUc(this)):null;a&&!iIb(a,"documentUri")?(WA(fUc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Tn(this.testForFirefoxSilentError_,250,this)}};var iUc=function(a,b,c,d,e){vo.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 Bo(a);IC(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new RZ;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new $p(this);QA(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};U(iUc,YTc);f=iUc.prototype;f.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("$d");var c=new Bo(this.url_||b.action);a.lastUri_=c;a.form_=b;nQb(a.form_,c.toString());dUc(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 PZ("q"))};f.pause=function(){};f.unpause=function(){};f.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new PZ("n"))};
f.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new PZ("p"))};var lUc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=jUc[a.name]):(this.code=a=a.code,this.name=kUc(a));aa.call(this,rQb("%s %s",this.name,b))};rs(lUc,aa);
var kUc=function(a){var b=Jca(jUc,function(c){return a==c});if(void 0===b)throw Error("ae`"+a);return b},TZ={},jUc=(TZ.AbortError=3,TZ.EncodingError=5,TZ.InvalidModificationError=9,TZ.InvalidStateError=7,TZ.NotFoundError=1,TZ.NotReadableError=4,TZ.NoModificationAllowedError=6,TZ.PathExistsError=12,TZ.QuotaExceededError=10,TZ.SecurityError=2,TZ.SyntaxError=8,TZ.TypeMismatchError=11,TZ);var mUc=function(a,b){RA.call(this,a.type,b);this.event_=a};rs(mUc,RA);var nUc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};var x5a=new WeakMap,w5a=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")};pp(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 oUc=pp(function(){if(!ba.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===nUc(b,0,1)?!1:!0});var pUc=function(){vo.call(this);this.reader_=new FileReader;this.reader_.onloadstart=ps(this.dispatchProgressEvent_,this);this.reader_.onprogress=ps(this.dispatchProgressEvent_,this);this.reader_.onload=ps(this.dispatchProgressEvent_,this);this.reader_.onabort=ps(this.dispatchProgressEvent_,this);this.reader_.onerror=ps(this.dispatchProgressEvent_,this);this.reader_.onloadend=ps(this.dispatchProgressEvent_,this)};rs(pUc,vo);f=pUc.prototype;
f.abort=function(){try{this.reader_.abort()}catch(a){throw new lUc(a,"aborting read");}};f.getReadyState=function(){return this.reader_.readyState};f.getResult=function(){return this.reader_.result};f.getError=function(){return this.reader_.error&&new lUc(this.reader_.error,"reading file")};f.dispatchProgressEvent_=function(a){this.dispatchEvent(new mUc(a,this))};f.disposeInternal=function(){pUc.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 qUc=function(a){var b=new OM;a.listen("loadend",qs(function(c,d){var e=d.getResult(),g=d.getError();null==e||g?c.errback(g):c.callback(e);d.dispose()},b,a));return b};var UZ=function(){tB.call(this)};U(UZ,tB);UZ.prototype.createXhr=function(){var a=tB.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=ps(this.onProgress_,this));return a};UZ.prototype.onProgress_=function(a){this.dispatchEvent(a)};var rUc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},tUc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=Tn(function(){a.delayCallId_=null;b()},sUc(a),a);a.attempt_=c;return!0};rUc.prototype.reset=function(){this.delayCallId_&&Un(this.delayCallId_);this.attempt_=-1};var sUc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var z5a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var uUc=function(a){vo.call(this);a=a||new $Tc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new rUc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorDescription_=null;this.eventHandler_=new $p(this);QA(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};rs(uUc,YTc);f=uUc.prototype;f.run=function(){VZ(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 UZ,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.getUploadUrl(),"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new PZ("q"))}};
f.pause=function(){this.pauseRequested_=!0};f.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,vUc(this))};
var VZ=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):tUc(a.retryIterator_,function(){return vUc(a)})||WZ(a,"Transfer encountered too many consecutive failures.")},vUc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.getUploadUrl(),c=a.blob_.size;if(oUc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=nUc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new UZ;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=ps(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new QZ("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("be");}},WZ=function(a,
b){a.state_="Error";a.errorDescription_=b;a.dispatchEvent(new PZ("p"))};f=uUc.prototype;
f.start_=function(){this.request_=new UZ;var a=Sb(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=A5a(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 QZ("s"))};
f.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new QZ("t"));if(wUc(b))xUc(this,b);else if(yUc(b)){a=qp(a.target.getAllResponseHeaders());for(var c in a)Rh(c.toLowerCase(),"x-goog-upload-header-");this.dispatchEvent(new PZ("o"));c=rp(a,"X-Goog-Upload-URL");a=(a=rp(a,"X-Goog-Upload-Chunk-Granularity"))?parseInt(a,10):1;void 0===c||isNaN(a)||0>=a?WZ(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/a)*
a,this.transferHandle_=new XTc(c),this.dispatchEvent(new PZ("r")),this.state_="Upload",this.retryIterator_.reset(),VZ(this))}else VZ(this)};f.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new PZ("m"))};
f.onUploadComplete_=function(a,b,c){var d=this,e,g;return de(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new QZ("t"));if(d.retryOnHttpClientErrorEnabled_?zUc(e)||404==e.getStatus():wUc(e))return d.bytesTransferred_=a,xUc(d,e),h.return();if(yUc(e)){h.jumpTo(2);break}if(!(g=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return h.yield(AUc(d),4);case 4:g=h.yieldResult;case 3:if(g)return WZ(d,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";VZ(d);return h.return();case 2:if(b)return WZ(d,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();VZ(d);return h.return()}})};
f.query_=function(){this.request_=new UZ;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 QZ("s"))};
f.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new QZ("t"));wUc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),xUc(this,b)):yUc(b)?(a=qp(a.target.getAllResponseHeaders()),a=parseInt(rp(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?WZ(this,"Server did not respond with current offset."):a<this.offset_?WZ(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?WZ(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",VZ(this))):VZ(this)};
var xUc=function(a,b){a.responseCode_=b.getStatus();var c=qp(b.getAllResponseHeaders());a.responseHeaders_=B5a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new PZ("n"))},yUc=function(a){var b=a.getStatus();a=qp(a.getAllResponseHeaders());a=rp(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},zUc=function(a){a=qp(a.getAllResponseHeaders());return"final"===rp(a,"X-Goog-Upload-Status")},wUc=function(a){if(zUc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},AUc=function(a){var b;return de(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);ee(c,2);if(b=nUc(a.blob_,0,1)){var d=c.yield,e=new pUc,g=qUc(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_);he(c);return c.return(!0)})};var BUc=function(a,b,c,d,e,g){vo.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 Hh;this.boundary_="uploader-"+vQb()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new $p(this);QA(this,this.eventHandler_)};U(BUc,YTc);f=BUc.prototype;
f.run=function(){var a=Sb(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=A5a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new UZ;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 PZ("q")))};f.pause=function(){};f.unpause=function(){};
f.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new PZ("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 PZ("p"))):(this.responseCode_=b,a=a.target,b=qp(a.getAllResponseHeaders()),this.responseHeaders_=B5a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new PZ("n")))};var CUc=function(){},DUc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof ZTc)return new iUc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new BUc(a,"POST",b,c,d);var g=new uUc(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 EUc=new Nc("ScottyUploaderConfigFactory"),FUc=new Nc("ScottyUploader",{factory:function(){return new CUc}}),XZ=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new E.Subject;this.transferStatus=GRb(this.internalTransferStatus)};
XZ.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=DUc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,E.merge)((0,E.fromEvent)(a,"o"),(0,E.fromEvent)(a,"m"),(0,E.fromEvent)(a,"r"),(0,E.fromEvent)(a,"p"),(0,E.fromEvent)(a,"n"),(0,E.fromEvent)(a,"q")).pipe(Pe((0,E.fromEvent)(a,"n").pipe(Ae(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};XZ.\u0275fac=function(a){return new (a||XZ)(u(FUc),u(EUc))};XZ.\u0275prov=mc({token:XZ,factory:XZ.\u0275fac});var GUc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};GUc.prototype.getDirectory=function(a){return this.directoryMap_[a]};GUc.prototype.getName=function(){return this.name_};var IUc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;vo.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:Ln(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=HUc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};U(IUc,vo);
var HUc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");wo(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),gq(e,new dq(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};IUc.prototype.click=function(){this.overlay_.click()};
IUc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(x){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(ws||us)){b=new GUc("");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 GUc(l),g.directoryMap_[l.getName()]=
l,g.directories_.push(l));g=q}b=b.directories_}this.dispatchEvent(new JUc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new JUc([],[],new ZTc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=HUc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var KUc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},JUc=function(a,b){RA.call(this,"y");this.files=a;this.directories=b};U(JUc,RA);var YZ=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new E.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new Vv;this.maxFileSize=null;this.fileSizeRejected=new Vv;this.fileSelected=new Vv;this.fileNameLengthRejected=new Vv};
YZ.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(Oe(function(b){return(0,E.merge)((0,E.fromEvent)(b,"u"),(0,E.fromEvent)(b,"y"))}),Pe(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,E.fromEvent)(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,E.fromEvent)(b,
"x").subscribe(function(){a.ngZone.run(function(){})})})};YZ.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};YZ.\u0275fac=function(a){return new (a||YZ)(C(rd),C(Se))};YZ.\u0275dir=Gc({type:YZ,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var ZZ=function(a,b){YZ.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};U(ZZ,YZ);
ZZ.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,E.merge)((0,E.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,E.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(Fe(),Pe(a.destroyed),D(function(){a.fileSelectorOverlay=new IUc(a.elementRef.nativeElement,a.selectorType,LUc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Le(1))}));return this.overlay};
ZZ.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var LUc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};ZZ.\u0275fac=function(a){return new (a||ZZ)(C(rd),C(Se))};ZZ.\u0275dir=Gc({type:ZZ,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[Ye]});var $Z=function(a,b,c){ZZ.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};U($Z,ZZ);
$Z.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(Pe(this.destroyed),ue(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)}})};ch.Object.defineProperties($Z.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=tg(a)}}});
$Z.\u0275fac=function(a){return new (a||$Z)(C(rd),C(Se),C(XZ,8))};$Z.\u0275dir=Gc({type:$Z,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[Ye]});var a_=function(){this.SelectorType=KUc;this.includeTextLabel=this.disabled=!1;this.onSelect=new Vv},C5a=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)}};a_.\u0275fac=function(a){return new (a||a_)};
a_.\u0275cmp=Bc({type:a_,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&&(G(0,"div",0),Q(1,D5a,2,3,"button",1),H(),Q(2,E5a,3,3,"ng-template",null,2,Vf));if(a&2){var c=yf(3);z(1);F("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[tw,JA,Yz,ZB,
$Z],encapsulation:2});var MUc=function(a,b){Hhc.call(this,a.size,a.name);var c=this;this.destroyed$=new E.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(Pe(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};U(MUc,Hhc);MUc.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.")};
MUc.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};MUc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var b_=function(a){this.activeSession=a};
b_.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=ZAa(a.name)?a.name:b;return{url:IC(Q6b().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};b_.\u0275fac=function(a){return new (a||b_)(u(ds))};b_.\u0275prov=mc({token:b_,factory:b_.\u0275fac,providedIn:"root"});var c_=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};c_.prototype.create=function(){return new XZ(this.uploader,this.uploaderConfigFactory)};c_.\u0275fac=function(a){return new (a||c_)(u(FUc),u(b_))};c_.\u0275prov=mc({token:c_,factory:c_.\u0275fac,providedIn:"root"});var I5a=function(a){return{"attachment-error":a}},d_=function(a){jE.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new Vv;this.onUploadComplete=new Vv;this.uploadStates=Ihc};U(d_,jE);d_.\u0275dir=jE.\u0275dir;d_.prototype.ngOnDestroy=function(){jE.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
d_.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new MUc(a,c.transferStatus);c.transferStatus.pipe(Pe(this.destroyed$)).subscribe(function(d){"n"===d.type&&b.onUploadComplete.emit()});return a};d_.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};d_.\u0275fac=function(a){return new (a||d_)(C(c_))};
d_.\u0275cmp=Bc({type:d_,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[Ye],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&&Q(0,K5a,2,1,"div",0);a&2&&F("ngIf",0<b.uploads.length)},dependencies:[rw,sw,tw,JA,ZB,mic],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 NUc=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 OUc=function(a){Hhc.call(this,a.size,a.name);this.attachment=a};U(OUc,Hhc);
var PUc=function(a,b){a.attachment.encryptedBlobId?(a.state=1,Ahc(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=Nl(c)?Ol(c):"Error while uploading."})):(a.state=3,a.errorMessage="Error while uploading.")};var e_=function(a){this.id_=a;this.opts={}};f=e_.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=Pb(this.opts,function(c){return null!==c});a=Qb(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"("+fIb(a,function(b){return JSON.stringify(b)}).join(",")+")"};f.getId=function(){return this.id_};f.getLabel=function(){return this.label_};f.getOptions=function(){return Sb(this.opts)};f.getQuery=function(){return this.opts.query};var f_=function(a){e_.call(this,a||"all")};rs(f_,e_);var QUc=function(){var a=(new f_("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};f=f_.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){f_.superClass_.setLabel.call(this,a);return this};
f.setQuery=function(a){f_.superClass_.setQuery.call(this,a);return this};f.setParent=function(a){f_.superClass_.setParent.call(this,a);return this};var RUc=function(){e_.call(this,"image-search")};U(RUc,e_);f=RUc.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){e_.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};f.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var g_=function(){e_.call(this,"maps")};U(g_,e_);g_.prototype.setMode=function(a){this.opts.mode=a;return this};g_.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};g_.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};g_.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var SUc=function(){e_.call(this,"photos")};U(SUc,e_);f=SUc.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){e_.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};f.setParent=function(a){e_.prototype.setParent.call(this,a);return this};f.removeDuplicates=function(){this.opts.rdv=!0;return this};var h_=function(){e_.call(this,"url")};U(h_,e_);h_.prototype.setType=function(a){this.opts.type=a;return this};h_.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};h_.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};h_.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var TUc=function(){e_.call(this,"video-search")};U(TUc,e_);TUc.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};TUc.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};TUc.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var UUc=function(){e_.call(this,"web")};U(UUc,e_);UUc.prototype.setLabel=function(a){e_.prototype.setLabel.call(this,a);return this};UUc.prototype.setQuery=function(a){e_.prototype.setQuery.call(this,a);return this};UUc.prototype.setParent=function(a){e_.prototype.setParent.call(this,a);return this};var i_=function(){this.root_=void 0;this.items_=[];this.opts={}},VUc=function(a){switch(a){case "image-search":return new RUc;case "maps":return new g_;case "photos":return new SUc;case "url":return new h_;case "video-search":return new TUc;case "web":return new UUc}return new e_(a)};i_.prototype.addView=function(a){this.items_.push("string"===typeof a?VUc(a):a);return this};
var WUc=function(a){return"("+fIb(a.items_,function(b){return b.toString()}).join(",")+")"},XUc=function(a){a=Pb(a.opts,function(b){return null!==b});return(a=Qb(a)?null:a)?JSON.stringify(Fca(a,function(b){return b.toString()})):""};i_.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",WUc(this)],b=XUc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return WUc(this)};
i_.prototype.toObject=function(){var a=fIb(this.items_,function(b){return b instanceof i_?b.toObject():b.toArray()});return this.root_?{root:this.root_.toArray(),items:a,options:this.getOptions()}:a};i_.prototype.getOptions=function(){return Sb(this.opts)};var YUc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new i_};f=YUc.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 ZUc=function(a){YUc.call(this,a)};rs(ZUc,YUc);var j_=function(a){vo.call(this);this.dom_=a||yo();this.rightToLeft_=$Uc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};rs(j_,vo);j_.prototype.idGenerator_=Xp.getInstance();var $Uc=!1;f=j_.prototype;f.getId=function(){return this.id_||(this.id_=Lp(this.idGenerator_))};
f.setId=function(a){if(this.parent_&&this.parent_.childIndex_){Rb(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&a in b)throw Error("Z`"+a);b[a]=this}this.id_=a};f.getElement=function(){return this.element_};f.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new $p(this));return this.googUiComponentHandler_};
f.setParent=function(a){if(this==a)throw Error("ce");if(a&&this.parent_&&this.id_&&zSc(this.parent_,this.id_)&&this.parent_!=a)throw Error("ce");this.parent_=a;j_.superClass_.setParentEventTarget.call(this,a)};f.getParent=function(){return this.parent_};f.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("de");j_.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("ee");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;aVc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
f.exitDocument=function(){aVc(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_);aVc(this,function(a){a.dispose()});this.element_&&eB(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;j_.superClass_.disposeInternal.call(this)};
f.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("ee");if(0>a||a>(this.children_?this.children_.length:0))throw Error("fe");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("Z`"+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_=rR(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};f.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var zSc=function(a,b){return a.childIndex_&&b?Mca(a.childIndex_,b)||null:null},aVc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
j_.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=zSc(this,c);c&&a&&(Rb(this.childIndex_,c),ra(this.children_,a),b&&(a.exitDocument(),a.element_&&eB(a.element_)),a.setParent(null))}if(!a)throw Error("ge");return a};j_.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};rs(M5a,L5a);var bVc=function(a){L5a.call(this,"visibility");this.visible=a};rs(bVc,L5a);var cVc=Cn(Dn("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),dVc=Cn(Dn("//apis.google.com/js/rpc.js")),O5a=null;var eVc=function(a){vo.call(this);this.element_=a;a=ts?"focusout":"blur";this.listenKeyIn_=wo(this.element_,ts?"focusin":"focus",this,!ts);this.listenKeyOut_=wo(this.element_,a,this,!ts)};rs(eVc,vo);eVc.prototype.handleEvent=function(a){var b=new SA(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};eVc.prototype.disposeInternal=function(){eVc.superClass_.disposeInternal.call(this);XA(this.listenKeyIn_);XA(this.listenKeyOut_);delete this.element_};var fVc=new Map;fVc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");fVc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");fVc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var gVc=new Set;gVc.add("application/vnd.google-apps.kix");gVc.add("application/vnd.google-apps.ritz");gVc.add("application/vnd.google-apps.punch");var qVc=function(a,b,c){var d=c&&V(c,1);if(c){var e=V(c,3);e=e&&JSON.parse(e)||{};c={0:V(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return hVc(a,b,d,c);case 3:return iVc(a,b,d,c);case 10:return jVc(a,b,d,c);case 12:return kVc(a,b);case 2:return lVc(a,b,d,c);case 5:return mVc(a,b,d,c);case 9:return nVc(a,b,d,c);case 6:return oVc(a,b,d,c);case 1:return Aj(a[0],FMb,26)?pVc(a,b,d,c):jVc(a,b,d,c);default:return{}}},oVc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:k_(e),lastEditedUtc:Z(e,yh,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:V(e,13),thumbnails:l_(xu(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},lVc=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:k_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:Ps(g,23),description:g.getDescription(),iconUrl:g.getIconUrl(),thumbnails:l_(xu(g)),isShared:yu(g).getShared(),downloadUrl:V(yu(g),10),embedUrl:V(g,13),copyable:Gj(yu(g),9),resourceKey:yu(g).getResourceKey()};Gj(yu(g),12)&&(h.uploadState="success");if(yu(g).hasVideoMetadata()){g=yu(g).getVideoMetadata();var l=g.getDuration().getSeconds()+g.getDuration().getNanos()/1E9;h.duration=l;h.aspectRatio=ej(g,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:rVc(a),
v2Translated:!0}},mVc=function(a,b,c,d){a=a.map(function(e){var g=Z(Z(e,hNb,15),ju,1);go(e,10,ju,g);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:k_(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(xu(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},nVc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:xu(e)[0].getUrl().split("/").pop(),
type:k_(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(xu(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},pVc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:k_(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(xu(e))}});
return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},jVc=function(a,b,c,d){return{action:b,docs:a.map(sVc),viewToken:d,view:tVc(c||"upload",a),extraUserInputs:rVc(a),v2Translated:!0}},tVc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=Z(c,tu,30))?void 0:d.getAgentId())})?a+"/gmailphotos":a},iVc=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:k_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:Ps(g,23),description:g.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(xu(g)),mediaKey:g.getId().getId(),parentId:g.getParentId()},l;if(g=null==(l=Z(g,QMb,18))?void 0:Z(l,ru,3))h.latitude=g.getLatitude(),h.longitude=g.getLongitude();return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:rVc(a),v2Translated:!0}},hVc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",
name:xu(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(xu(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},kVc=function(a,b){a=a.map(function(c){var d=Z(c,pu,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}},l_=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}})},rVc=function(a){return{isAttachment:a.some(function(b){return Gj(b,31)})}},sVc=function(a){var b={id:a.getId().getId(),serviceId:uVc(a),mimeType:a.getMimeType(),name:a.getName(),type:k_(a),sizeBytes:Ps(a,
23),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:l_(xu(a)),isNew:!0},c=Z(a,tu,30);if(c){b.dataUrl=V(c,1)||null;a:{var d=Z(a,tu,30);switch(d.getAgentId()){case 9:d=Pj(d,XMb,2,uu);d={remoteRefs:d&&V(d,1)};break a;case 10:case 15:d=Pj(d,su,4,uu);var e=xu(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&&Pj(c,su,4,uu))&&(b.id=d.getPhotoId());(d=c&&Pj(c,ZMb,5,uu))&&(b.contentId=V(d,1));(d=c&&Pj(c,UMb,6,uu))&&(b.contentId=V(d,1));1===(null==c?void 0:c.getAgentId())&&(b.mediaKey=a.getId().getId());return b},uVc=function(a){var b;switch((null==(b=Z(a,tu,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},
k_=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 vVc=function(a){this.obj_=a};f=vVc.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 wVc=function(a){this.obj_=a||{}};f=wVc.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 xVc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new vVc(a.obj_.attributes)},szc=function(a){return(a=a.obj_.timeout)?a:null};var yVc=function(){wVc.apply(this,arguments)};U(yVc,wVc);var zVc=Cn(Dn("https://apis.google.com/js/api.js")),DVc=function(a,b){var c=!1,d=AVc(a,b).then(function(g){c=!0;return g}),e=g0b(5E3).then(function(){return c?AVc(a,b):BVc(b).then(function(g){return CVc(g,a)})});return T_b([d,e])},AVc=function(a,b){return EVc(b).then(function(c){return CVc(c,a)})},CVc=function(a,b){var c=Rh(b,"gapi.")?b.slice(5):b;return a[c]?N_b(a[c]):new iB(function(d,e){var g=Tn(function(){e(Error("he"))},3E4);a.load(b,{callback:function(){Un(g);d(a[c])},onerror:function(h){Un(g);
e(h)}})})},EVc=function(a){return a.gapi&&a.gapi.load?N_b(a.gapi):BVc(a)},BVc=function(a){return RGa(zVc,{document:a.document}).then(function(){return a.gapi})},FVc=function(){};FVc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return DVc(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 GVc=function(){mh.call(this);this.gapiLoader_=new FVc;this.origin_=null;this.gapiPickerIframeResolver_=V_b();this.gapiIframesResolver_=V_b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};U(GVc,mh);
var HVc=function(a,b){var c=ro("gapi.iframes",b);return c?(a=Date.now(),N_b({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},IVc=function(a,b,c,d,e,g){var h=!0;h=void 0===h?!1:h;HVc(a,dB(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var x=l.resolve,A=h;A=void 0===A?!1:A;var B={};B["host-message-handler"]=c;a.hostMessageHandlerInternal_=B;var K=KC(d);K=KC(K);K=FC(new Bo,K.scheme_).setDomain(K.getDomain()).setPort(K.getPort()).toString();
a.origin_=K;K=(new yVc).setUrl(d);K.obj_.where=b;K.obj_.allowPost=A;K.obj_.messageHandlers=B;A=ro("makeWhiteListIframesFilter",q)([a.origin_]);K.obj_.messageHandlersFilter=A;null!=e&&K.setId(e);null!=g&&(K.obj_.rpctoken=g);xVc(K).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");xVc(K).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(K.value());x.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});return a.gapiPickerIframeResolver_.promise},
JVc=function(a,b){return S_b([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,ro("makeWhiteListIframesFilter",c)([a.origin_])):O_b(Error("ie"))})};GVc.prototype.disposeInternal=function(){KVc(this);mh.prototype.disposeInternal.call(this)};var KVc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var LVc=function(){this.nextId_=0};LVc.prototype.getUniqueId=function(){return":"+(this.nextId_++).toString(36)};var NVc=function(a,b){switch(a.action){case "select-contacts":a=MVc(a.contacts);break;case "visibility":a=a.visible;a=(new Mu).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?JVc(b,a):N_b()},MVc=function(a){if(!a||0==a.length)return null;var b=new Mu;b.setCommand(11);var c=new LVc;a.forEach(function(d){if(d.email){var e=(new wu).setName(d.name?d.name:d.email);d=(new pu).addEmail(d.email);e=Wi(e,pu,27,d).setId((new hu).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var m_=function(a,b,c){vo.call(this);this.target=a;this.handle=b||a;this.limits=c||new mR(NaN,NaN,NaN,NaN);this.document_=$A(a);this.eventHandler_=new $p(this);QA(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;wo(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=OVc};rs(m_,vo);
var OVc=ba.document&&ba.document.documentElement&&!!ba.document.documentElement.setCapture&&!!ba.document.releaseCapture;f=m_.prototype;f.getHandler=function(){return this.eventHandler_};f.disposeInternal=function(){m_.superClass_.disposeInternal.call(this);WA(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||Wp&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new n_("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(dB(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=cB(yo(this.document_).document_)}};
f.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new n_("end",this,a.clientX,a.clientY,a,PVc(this,this.deltaX),QVc(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 n_("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=RVc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new n_("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(SVc(this,a,b,c),a.preventDefault())};var RVc=function(a,b,c){var d=cB(yo(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 dq(PVc(a,a.deltaX),QVc(a,a.deltaY))};m_.prototype.onScroll_=function(a){var b=RVc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;SVc(this,a,b.x,b.y)};
var SVc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new n_("drag",a,b.clientX,b.clientY,b,c,d))},PVc=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))},QVc=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))};m_.prototype.isDragging=function(){return this.dragging_};
var n_=function(a,b,c,d,e,g,h){RA.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};rs(n_,RA);var o_=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("$");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};f=o_.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 o_){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 o_(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 TVc=[[],[]],UVc=0,VVc=!1,WVc=0,YVc=function(a,b){var c=WVc++,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,TVc[UVc].push(d));VVc||(VVc=!0,window.requestAnimationFrame(XVc))}},XVc=
function(){VVc=!1;var a=TVc[UVc],b=a.length;UVc=(UVc+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 ZVc=ts?Cn(Dn('javascript:""')):Cn(Dn("about:blank"));rh(ZVc);var $Vc=ts?Cn(Dn('javascript:""')):Cn(Dn("javascript:undefined"));rh($Vc);var aWc=function(a,b){this.element_=a;this.dom_=b};var p_=function(a,b){j_.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=YVc({mutate:this.resizeBackground_},this);YVc({mutate:this.updateModalAndBackground_},this)};rs(p_,j_);f=p_.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(){p_.superClass_.createDom.call(this);var a=this.getElement();AAc(a,Th(this.getCssClass()).split(" "));a.tabIndex=0;qR(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=rh(ZVc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",qR(this.bgIframeEl_,!1),MAc(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),qR(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),qR(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);p_.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new eVc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);bWc(this,!1)};
f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);kh(this.focusHandler_);p_.superClass_.exitDocument.call(this);eB(this.bgIframeEl_);eB(this.bgEl_);eB(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_&&bWc(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_);cWc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)VA(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_)VA(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 bWc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new aWc(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_||tmc(d,"hidden")||(HL(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}};
p_.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var cWc=function(a,b){a.bgIframeEl_&&qR(a.bgIframeEl_,b);a.bgEl_&&qR(a.bgEl_,b);qR(a.getElement(),b);qR(a.tabCatcherElement_,b)};f=p_.prototype;f.onShow=function(){this.dispatchEvent("show")};f.onHide=function(){cWc(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.visible_};f.focus=function(){this.focusElement_()};
f.resizeBackground_=function(){this.bgIframeEl_&&qR(this.bgIframeEl_,!1);this.bgEl_&&qR(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=dWc(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_&&(qR(this.bgIframeEl_,!0),LAc(this.bgIframeEl_,c,a));this.bgEl_&&(qR(this.bgEl_,!0),LAc(this.bgEl_,c,a))};
f.reposition=function(){if("fixed"==sp(this.getElement(),"position"))var a=0,b=0;else b=cB(this.getDomHelper().document_),a=b.x,b=b.y;var c=fq(this.getElement());var d=dWc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);gq(this.getElement(),a,b);gq(this.tabCatcherElement_,a,b)};f.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Tn(this.focusElement_,0,this)};
f.focusElement_=function(){try{ts&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var dWc=function(a){a=a.getDomHelper().document_;return bB(dB(a)||window)};p_.prototype.disposeInternal=function(){kh(this.popupShowTransition_);this.popupShowTransition_=null;kh(this.popupHideTransition_);this.popupHideTransition_=null;kh(this.bgShowTransition_);this.bgShowTransition_=null;kh(this.bgHideTransition_);this.bgHideTransition_=null;p_.superClass_.disposeInternal.call(this)};var s_=function(a,b,c){p_.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=q_(q_(new r_,eWc,!0),fWc,!1,!0)};rs(s_,p_);f=s_.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_&&s_b(this.titleTextEl_,a)};f.getTitle=function(){return this.title_};f.getContent=function(){return""};f.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var gWc=function(a){a.getElement()||a.render();return a.getElement()};s_.prototype.getBackgroundElement=function(){this.getElement()||this.render();return s_.superClass_.getBackgroundElement.call(this)};s_.prototype.handleDrag=function(){};
var hWc=function(a,b){var c=Th(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?AAc(a.titleEl_,c):CAc(a.titleEl_,c));b&&!a.dragger_?(b=new m_(a.getElement(),a.titleEl_),a.dragger_=b,AAc(a.titleEl_,c),wo(a.dragger_,"start",a.setDraggerLimits_,!1,a),wo(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};f=s_.prototype;
f.createDom=function(){s_.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"));p_b(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));GL(this.titleTextEl_,"heading");GL(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;HL(this.titleCloseEl_,"label","Close");GL(a,"dialog");HL(a,"labelledby",this.titleTextId_||"");qR(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());qR(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&MAc(a,
this.backgroundElementOpacity_)};
f.enterDocument=function(){s_.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_);hWc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();GL(a,"dialog");""!==this.titleTextEl_.id&&HL(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()&&bWc(this,!1)}};f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);hWc(this,!1);s_.superClass_.exitDocument.call(this)};f.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),s_.superClass_.setVisible.call(this,a))};f.onShow=function(){s_.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
f.onHide=function(){s_.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};f.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=bB(dB(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=fq(this.getElement());"fixed"==sp(this.getElement(),"position")?this.dragger_.limits=new mR(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new mR(0,0,c-d.width,a-d.height)};
f.onTitleCloseClick_=function(){iWc(this)};var iWc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new jWc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},kWc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&qR(a.titleCloseEl_,a.hasTitleCloseButton_)};s_.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};s_.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;s_.superClass_.disposeInternal.call(this)};
s_.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 jWc(a,b))&&this.setVisible(!1)}};
s_.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 jWc(g,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(A){}Tn(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)g=e.name;
else if(e==this.titleCloseEl_)iWc(this);else if(d){var h=d.getDefault(),l;if(l=h)a:{l=aB("BUTTON",d.element_);for(var q=0,x;x=l[q];q++)if(x.name==h||x.id==h){l=x;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 jWc(g,String(d.get(g)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||iWc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var jWc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};rs(jWc,RA);var r_=function(a){o_.call(this);this.dom_=a||yo();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};rs(r_,o_);r_.prototype.clear=function(){o_.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};r_.prototype.set=function(a,b,c,d){o_.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var q_=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};f=r_.prototype;f.render=function(){if(this.element_){hMa(this.element_,Wr);var a=yo(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 eWc={key:"ok",caption:"OK"},fWc={key:"cancel",caption:"Cancel"},lWc={key:"yes",caption:"Yes"},mWc={key:"no",caption:"No"},nWc={key:"save",caption:"Save"},oWc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(q_(new r_,eWc,!0,!0),q_(q_(new r_,eWc,!0),fWc,!1,!0),q_(q_(new r_,lWc,!0),mWc,!1,!0),q_(q_(q_(new r_,lWc),mWc,!0),fWc,!1,!0),q_(q_(q_(new r_,oWc),nWc),fWc,!0,!0));var pWc=function(a,b,c){s_.call(this,a,b,c)};rs(pWc,s_);var qWc=function(a,b){vo.call(this);this.element_=a;a=fB(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&rR(a);this.listenKey_=wo(this.element_,vs?"DOMMouseScroll":"mousewheel",this,b)};rs(qWc,vo);
qWc.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=rWc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=rWc(-d.wheelDeltaX),c=rWc(-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 sWc(a,d,b,c);this.dispatchEvent(b)};
var rWc=function(a){return ws&&(Wp||mIb)&&0!=a%40?a:a/40};qWc.prototype.disposeInternal=function(){qWc.superClass_.disposeInternal.call(this);XA(this.listenKey_);this.listenKey_=null};var sWc=function(a,b,c,d){SA.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};rs(sWc,SA);var tWc;var t_=function(a,b,c,d,e,g,h,l,q){l=void 0===l?!1:l;q=void 0===q?!1:q;s_.call(this,g?g+" picker modal-dialog":"picker modal-dialog",!0,c);r1b(a,"protocol");this.iframeManager_=new GVc;this.targetId_=vQb();this.rpcToken_=vQb();this.useGapi_=!q&&!0;a=KC(a);JC(a,"hostId");l||IC(a,"v2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=JC(KC(a.toString()),"hostId"),tWc||(tWc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
d=!tWc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(b="true"==JC(KC(this.url_),"grugl")?dVc:cVc,h=this.gadgetsDomHelper_,N5a(h)||(h=h||yo(document),d=h.createElement("SCRIPT"),sh(d,b),d.type="text/javascript",h.document_.body.appendChild(d)));b=a.toString();h=null;a=b.indexOf("/picker?");-1<a?h=b.substring(0,a+8-1):ss(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()):hMa(this.buttonEl_,Wr),qR(this.buttonEl_,!!this.buttons_))};rs(t_,pWc);f=t_.prototype;f.url_="";f.iframe_=null;f.iframeLoaded_=!1;f.loadedFired_=!1;f.callback_=function(){};f.enterDocument=function(){t_.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new qWc(a);QA(b,c);b.listen(c,"mousewheel",ps(R5a,void 0,a)).listen(a,"scroll",ps(R5a,void 0,a))};
f.render=function(a){var b=this;t_.superClass_.render.call(this,a);this.useGapi_?HVc(this.iframeManager_,window).then(function(){return uWc(b)}).then(null,function(c){return void b.handleError_(c)}):vWc(this)};
var uWc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);qR(b,!1);a.getContentElement().appendChild(b);return IVc(a.iframeManager_,b,function(c){var d=cOb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=Z(d,Bu,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}:qVc(g,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:kWc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();wWc(a);qR(a.iframe_.parentElement,!0);zAc(a.getElement(),"picker-dialog");xWc(a);return c})},vWc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Jpa(a.iframe_,yWc(a));zAc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void wWc(a)});
a.iframe_.src=a.url_;xWc(a)},AWc=function(a){zWc(a,ps(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},xWc=function(a){var b=JC(KC(a.url_),"title");b&&a.setTitle(b)},yWc=function(a){return 7<=naa("Internet Explorer")&&Rh(a.url_,"https")?Cn(Dn("https://about:blank")):ts?Cn(Dn('javascript:""')):Cn(Dn("about:blank"))},wWc=function(a){AWc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};
t_.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var zWc=function(a,b){var c=a.gadgetsDomHelper_;P5a(function(){b(c.getWindow().gadgets.rpc)},c)};t_.prototype.setUrl=function(a){a=IC(new Bo(a),"rpcService",this.targetId_);IC(a,"rpctoken",this.rpcToken_);I6b(a,"rpctoken="+this.rpcToken_);FC(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};
t_.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&BWc(this)};t_.prototype.setCallback=function(a){this.callback_=a;zWc(this,ps(function(b){b.register(this.targetId_,ps(this.handlePickerAction_,this))},this))};
t_.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new bVc(this.isVisible())),BWc(this),kWc(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 BWc=function(a){a.appId_&&a.sendCommand(new M5a(a.appId_,window.location.protocol+"//"+window.location.host))};f=t_.prototype;
f.setRelayUrl=function(a){zWc(this,ps(function(b){b.setRelayUrl(this.targetId_,a)},this))};f.sendCommand=function(a){var b=this;this.useGapi_&&NVc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});zWc(this,ps(function(c){c.call(this.targetId_,"picker",null,a)},this))};
f.resizePicker_=function(){var a=this.getDomHelper().document_;a=dB(a)||window;if("true"==JC(KC(this.url_),"ignoreLimits"))a=new YA(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==JC(KC(this.url_),"shadeDialog")){var b=RAc(gWc(this)),c=bB(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 YA(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=bB(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=bB(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=bB(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new YA(b,d)}LAc(this.getContentElement(),a);this.reposition()};
f.reposition=function(){if("true"==JC(KC(this.url_),"shadeDialog")){var a=fq(this.getElement()),b=bB(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=RAc(gWc(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=cB(this.getDomHelper().document_).y;gq(this.getElement(),a,b)}else t_.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_))}t_.superClass_.setVisible.call(this,a);this.sendCommand(new bVc(a))};
f.focus=function(){t_.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 u_=function(a){YUc.call(this,a);this.urlParamMap_=new Map;this.setProtocol("gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};rs(u_,ZUc);u_.prototype.disposeOnHide_=!1;
u_.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(I6b(H6b(KC(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("je");var a=new t_(CWc(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 DWc=function(a,b){a.urlParamMap_.set(b,"true");return a};f=u_.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 EWc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};f=u_.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.setProtocol=function(a){this.urlParamMap_.set("protocol",a)};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 CWc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",WUc(a.nav_));var b=new Bo(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){IC(b,d,c)});return b};var v_=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new Vv;this.onCloneBlob=new Vv;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
v_.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=EWc(DWc(DWc(DWc(DWc((new u_(this.onePickUrl)).addView(QUc().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 NUc(e.value),c.extraUserInputs.isAttachment?(e=new OUc(e),PUc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};v_.\u0275fac=function(a){return new (a||v_)(C(ds),C(zhc))};
v_.\u0275cmp=Bc({type:v_,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&&(G(0,"div",0)(1,"button",1),M("click",function(){return b.showDialog()}),I(2,"mat-icon",2),H()());a&2&&(z(1),F("disabled",
b.disabled))},dependencies:[JA,Yz,ZB],encapsulation:2});var w_=function(a,b,c){jE.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new Vv};U(w_,jE);w_.\u0275dir=jE.\u0275dir;w_.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent(Gn.EDIT_ISSUE,"view","commentAndVoteBanner")};
w_.prototype.onClick=function(){var a=Sm(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(gec(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(Pe(this.destroyed$)).subscribe(),this.analytics.trackEvent(Gn.EDIT_ISSUE,"click","commentAndVote"))};w_.\u0275fac=function(a){return new (a||w_)(C(eJ),C(XG),C(oH))};
w_.\u0275cmp=Bc({type:w_,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[Ye,Uc],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&&Q(0,S5a,7,1,"div",0);a&2&&F("ngIf",b.isPlusOneText)},dependencies:[tw,JA,Yz,ZB],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 FWc=["commentBoxContainer"],GWc=[[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],HWc=function(a){return{focused:a}},x_=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 Vv;this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=!1;this.onPlusOneTextEntered=new Vv;this.onChange=
new Vv;this.onFocusEvent=new Vv;this.onSubmit=new Vv;this.onRestrict=new Vv;this.focused=!1;this.commentRebound$=new E.ReplaySubject(1);this.destroyed$=new E.ReplaySubject(1);this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist()};f=x_.prototype;f.ngOnDestroy=function(){var a;null==(a=this.comment)||Jhc(a);this.destroyed$.next()};
f.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(Pe(this.destroyed$)).subscribe(function(b){tAb(a,b)});this.appEvents.scrollToCommentBox.pipe(Pe(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 Oqa(c)};
f.isRestricted=function(){var a,b;return"NONE_DETECTED"!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED")};var tAb=function(a,b){(b=void 0===b?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();var c;null==(c=a.commentDraftComponent)||yBc(c)};f=x_.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))};x_.\u0275fac=function(a){return new (a||x_)(C(oH),C(JL),C(ds),C(SF),C(sK))};
x_.\u0275cmp=Bc({type:x_,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(Qf(CR,5),Qf(FWc,5),Qf(d_,5));if(a&2){var c;Pf(c=Sf())&&(b.commentDraftComponent=c.first);Pf(c=Sf())&&(b.commentBoxContainer=c.first);Pf(c=Sf())&&(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:[Uc],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&&(tf(GWc),G(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),M("contentChange",function(c){if(b.comment){var d=b.comment.value;b.comment.value=c;c!==d&&(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit("+1"===c.trim()))}})("focus",function(){return b.onFocus()})("blur",function(){return b.onBlur()})("keydown",function(c){return b.onKeydown(c)})("paste",function(c){if(c&&null!=c.clipboardData){var d=
c.clipboardData;for(var e=!1,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(),Q(4,T5a,2,1,"ng-container",4),H(),G(5,"b-attachment-uploader",5),M("onUploadCancel",
function(c){b.removeUpload(c);return b.onChange.emit()})("onUploadComplete",function(){return b.onChange.emit()}),H(),uf(6),Q(7,Y5a,6,5,"div",6),H(),Q(8,Z5a,2,4,"div",4));a&2&&(F("ngClass",Ff(11,HWc,b.focused)),z(3),F("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",b.disabled?"bv2-disabled":"")("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),z(1),F("ngIf",b.isPlusOneCalloutEnabled),z(1),F("uploads",b.comment.uploads),z(2),F("ngIf",b.showToolbar),
z(1),F("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[rw,tw,JA,CR,ZB,WN,v_,a_,d_,Yz,w_,zw],encapsulation:2});var IWc=["dialog"],y_=function(a,b,c,d){jE.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new Vv;this.close=new Vv;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=JWc;this.enableRecaptcha=hE(this.activeSession,"enableRecaptcha")&&hE(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new WI;var e;this.comment.formattingMode=uk(null==(e=CI(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=Kac};U(y_,jE);y_.\u0275dir=jE.\u0275dir;
y_.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new TTc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&$5a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});fA(this.matDialogRef).pipe(Pe(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};y_.\u0275fac=function(a){return new (a||y_)(C(kA),C(ds),C(JL),C(BI))};
y_.\u0275cmp=Bc({type:y_,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&Qf(IWc,5);if(a&2){var c;Pf(c=Sf())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[Ye],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&&Q(0,p6a,14,5,"ng-template",null,0,Vf)},dependencies:[sw,tw,uw,vw,ww,lA,mA,nA,oA,nO,ax,kg,Uw,Vw,kx,$w,Yw,Yz,GM,RB,PB,QB,yR,x_,DR],encapsulation:2});var JWc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var z_=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};z_.prototype.ngOnInit=function(){KWc(this,this.issuesToFlag)};
var KWc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:yF(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);KWc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};z_.\u0275fac=function(a){return new (a||z_)(C(vI),C(xF),C(OF),C(jA))};
z_.\u0275cmp=Bc({type:z_,selectors:[["b-bulk-flag-as-spam-dialog"]],decls:19,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-bulk-flag-as-spam-prompt"],["target","_blank",1,"keep-underline",3,"href"],[1,"bv2-bulk-flag-as-spam-warning"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",1,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"disabled","mat-dialog-close"],[4,"ngFor","ngForOf"]],
template:function(a,b){a&1&&(G(0,"h1",0),R(1,"Flag Issues as Spam"),H(),G(2,"div",1)(3,"div",2)(4,"p"),R(5),G(6,"a",3),R(7,"see here"),H(),R(8,". "),H(),G(9,"p"),R(10," This operation cannot be undone in bulk. "),H()(),G(11,"div",4),Q(12,t6a,3,2,"div",5),Q(13,v6a,5,2,"div",5),H()(),G(14,"div",6)(15,"button",7),R(16," Close "),H(),G(17,"button",8),R(18," Flag as Spam "),H()());a&2&&(z(5),zf(" 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),F("href",Ogc(b.documentationLinks),Id),z(6),F("ngIf",!b.permissionsCheckComplete),z(1),F("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),z(4),F("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[sw,tw,Yz,lA,mA,nA,oA],encapsulation:2});var A_=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};A_.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};A_.prototype.save=function(){this.dialogRef.close(this.component)};A_.prototype.cancel=function(){this.dialogRef.close()};A_.\u0275fac=function(a){return new (a||A_)(C(kH,2),C(hA))};
A_.\u0275cmp=Bc({type:A_,selectors:[["b-bulk-move-dialog"]],features:[Cf([kH])],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&&(G(0,"h1",0),R(1,"Change Component"),H(),G(2,"mat-dialog-content")(3,"p"),R(4,"Choose new component for these issues."),H(),G(5,"p",1),
R(6," Warning: If these issues have custom fields, their values will be lost if you move the issues outside the component subtree that defines those custom fields. "),H(),G(7,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),H()(),G(8,"mat-dialog-actions")(9,"button",3),M("click",function(){return b.cancel()}),R(10," Cancel "),H(),G(11,"button",4),M("click",function(){return b.save()}),R(12," Save "),H()());a&2&&(z(7),F("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),z(4),F("disabled",null==b.component))},dependencies:[Yz,mA,nA,oA,RT],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var B_=function(){this.renderPanel=!0;this.sloEditCommit=new Vv;this.closePicker=new Vv};B_.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 Xm;c.setTime(1E3*a);a=c}else a=null;this.currentPickerDate=null!=(b=a)?b:void 0}};B_.prototype.setDate=function(a){this.currentPickerDate=a};B_.\u0275fac=function(a){return new (a||B_)};
B_.\u0275cmp=Bc({type:B_,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[Cf([kH]),Uc],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"]],template:function(a,b){a&1&&(G(0,"div",0),M("clickOutside",function(){b.closePicker.emit()}),G(1,"b-date-time-picker-content",1),M("dateSelectionChange",
function(c){return b.setDate(c)})("saveClicked",function(){var c=b.sloEditCommit,d=c.emit;var e=(e=b.currentPickerDate)?{seconds:e.getTime()/1E3,nanos:0}:null;d.call(c,{date:null!=e?e:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),H()());a&2&&(z(1),F("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[uN,EY],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 C_=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};C_.prototype.close=function(){this.dialogRef.close(this.commitEvent)};C_.\u0275fac=function(a){return new (a||C_)(C(jA),C(hA))};
C_.\u0275cmp=Bc({type:C_,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],[3,"renderPanel","sloEditCommit","closePicker"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1),H(),G(2,"slo-edit-date-time-picker",1),M("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),H());a&2&&(z(1),zf("Edit ",b.fieldDisplayName,""),z(1),F("renderPanel",!1))},dependencies:[B_],encapsulation:2});var D_=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})};
D_.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};D_.prototype.cancel=function(){this.dialogRef.close(void 0)};D_.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)};D_.\u0275fac=function(a){return new (a||D_)(C(jA),C(hA))};
D_.\u0275cmp=Bc({type:D_,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&&(G(0,"h1",0),R(1),H(),Q(2,w6a,5,2,"mat-dialog-content",1),Q(3,
x6a,4,4,"div",2),G(4,"mat-dialog-actions")(5,"button",3),M("click",function(){return b.cancel()}),R(6," Cancel "),H(),G(7,"button",4),M("click",function(){return b.save()}),R(8," Save "),H()());a&2&&(z(1),zf("Edit ",b.fieldDisplayName,""),z(1),F("ngIf",!b.isEnumSpec),z(1),F("ngIf",b.isEnumSpec),z(4),F("disabled",!b.enableSubmit()))},dependencies:[tw,kg,Uw,$w,Yz,mA,nA,oA,xA,wA,AA,NY],encapsulation:2});var E_=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};E_.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};E_.prototype.close=function(){this.dialogRef.close()};E_.\u0275fac=function(a){return new (a||E_)(C(jA),C(hA))};
E_.\u0275cmp=Bc({type:E_,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&&(G(0,"h1",0),R(1),H(),G(2,"mat-dialog-content")(3,"p"),R(4),H(),G(5,"div",1)(6,"mat-form-field")(7,"mat-label"),R(8),H(),G(9,"input",2),M("ngModelChange",function(c){return b.addItems=c}),H()(),
I(10,"br"),G(11,"mat-form-field")(12,"mat-label"),R(13),H(),G(14,"input",2),M("ngModelChange",function(c){return b.removeItems=c}),H()()()(),G(15,"mat-dialog-actions")(16,"button",3),M("click",function(){return b.close()}),R(17," Cancel "),H(),G(18,"button",4),M("click",function(){return b.save()}),R(19," Save "),H()());a&2&&(z(1),zf("Edit ",b.fieldDisplayName,""),z(3),zf("Enter ",b.fieldDisplayName," to add or remove"),z(4),zf(" ",b.fieldDisplayName," to Add "),z(1),F("ngModel",b.addItems),z(4),
zf(" ",b.fieldDisplayName," to Remove "),z(1),F("ngModel",b.removeItems))},dependencies:[kg,Uw,$w,Yz,xA,wA,AA,mA,nA,oA],encapsulation:2});var LWc=["hotlistFilterInput"],MWc=["hotlistCreate"],NWc=["hotlistApply"],OWc=["hotlistLoad"],PWc=["menuitem"],F_=function(a,b,c,d,e,g){jE.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 Vv;this.onApply=new Vv;this.onLoad=new Vv;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()};U(F_,jE);F_.\u0275dir=jE.\u0275dir;F_.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(Pe(this.destroyed$)).subscribe(function(){(0,E.timer)(0).pipe(Pe(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(Pe(this.destroyed$)).subscribe(function(){QWc(a)})};
F_.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};F_.prototype.ngOnChanges=function(){RWc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;SWc(this)};
var RWc=function(a){var b={};Lca(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],x=b[l.hotlistId];return q>x?-1:q<x?1:Jp(h.name,l.name)})}}};F_.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};F_.prototype.close=function(){this.trigger.closeMenu()};
F_.prototype.hasAclToEdit=function(a){var b=this;if(Ica(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];yF(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var y6a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},wp=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;F6a(a);a.close()},F6a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},SWc=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(Th(b))&&!!b&&!!a.onLoad},QWc=function(a){a.trigger.menuOpen||(RWc(a),a.filterText="",SWc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},TWc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+vaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
F_.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",SWc(this),this.onCreate.emit({name:b,successCallback:function(c){wp(a,c)},errorCallback:function(){MF(a.butterBar,"Failed to create hotlist "+b)}}))};
F_.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");LF(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";SWc(this);for(var c=Ph(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){wp(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(g){wp(a,g)},errorCallback:function(){MF(a.butterBar,"Failed to load hotlist "+b)}})}};
var z6a=function(a,b){y6a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!Kh(a.oldSelectedHotlistMap,a.selectedHotlistMap))},$Wc=function(a,b){b=void 0===b?0:b;var c=UWc(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(UWc(a),b),VWc(a),WWc(a,b)):a.focusedRowIndex<d&&a.canCreate?XWc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?YWc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&ZWc(a,d)},UWc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},aXc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)XWc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)YWc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)XWc(a,a.choices.length);else{var c=UWc(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(UWc(a),b),VWc(a),WWc(a,b)):(a.focusedRowIndex=-1,WWc(a,null))}},WWc=function(a,b){a.filterElement&&IL(a.filterElement.nativeElement,b);a.focusFilterBox()},XWc=function(a,b){a.focusedRowIndex=b;IL(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},YWc=function(a,b){a.focusedRowIndex=b+1;IL(a.filterElement.nativeElement,null);
var c;null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},ZWc=function(a,b){a.focusedRowIndex=b+2;IL(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},VWc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=UWc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},A6a=function(a){return null==
a?"mixed":a.toString()},B6a=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};F_.\u0275fac=function(a){return new (a||F_)(C(Dy),C(KF),C(xF),C(oH),C(ds),C(kH,2))};
F_.\u0275cmp=Bc({type:F_,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(Qf(QB,5),Qf(LWc,5),Qf(MWc,5),Qf(NWc,5),Qf(OWc,5),Qf(PWc,5));if(a&2){var c;Pf(c=Sf())&&(b.trigger=c.first);Pf(c=Sf())&&(b.filterElement=c.first);Pf(c=Sf())&&(b.createElement=c.first);Pf(c=Sf())&&(b.applyElement=c.first);Pf(c=Sf())&&(b.loadElement=c.first);Pf(c=Sf())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Cf([kH]),Ye,Uc],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&&(G(0,"button",0)(1,"span",1),R(2),H(),I(3,"b-icon",2),H(),G(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),M("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return SWc(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return QWc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?($Wc(b),d.preventDefault()):"ArrowUp"===d.key?(aXc(b),d.preventDefault()):"PageUp"===d.key?aXc(b,11):"PageDown"===d.key?$Wc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(z6a(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(),F6a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&wp(b,b.choices[b.focusedRowIndex]))}),H()()(),I(11,"mat-divider"),Q(12,H6a,11,8,"ng-template",9),H()());if(a&2){var c=yf(5);F("matMenuTriggerFor",c)("disabled",b.isAnonymous);z(2);Af(TWc(b));z(7);F("ngModel",b.filterText)}},
dependencies:[sw,tw,RB,PB,QB,OB,Yz,kg,Uw,lx,$w,Az,ZB,AL,GM],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 G_=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};G_.prototype.enableSubmit=function(){return""!==this.reporter};G_.prototype.cancel=function(){this.dialogRef.close()};G_.prototype.save=function(){this.dialogRef.close(this.reporter)};G_.\u0275fac=function(a){return new (a||G_)(C(hA))};
G_.\u0275cmp=Bc({type:G_,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&&(G(0,"h1",0),R(1,"Change Reporter"),H(),G(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),R(5," Reporter "),H(),G(6,"input",1),M("ngModelChange",
function(c){return b.reporter=c})("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){"Enter"===c.key&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),H()()(),G(7,"mat-dialog-actions")(8,"button",2),M("click",function(){return b.cancel()}),R(9," Cancel "),H(),G(10,"button",3),M("click",function(){return b.save()}),R(11," Save "),H()());a&2&&(z(6),F("bContactAutocomplete","SINGLE")("ngModel",b.reporter),z(4),F("disabled",!b.enableSubmit()))},dependencies:[kg,
Uw,$w,Yz,mA,nA,oA,xA,wA,AA,yR],encapsulation:2});var bXc=["addCommentDialog"],H_=function(a,b,c,d,e,g,h,l,q,x,A,B,K){jE.call(this);var O=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.constants=g;this.componentActions=h;this.issueTypeDialog=l;this.copyIssueIdService=q;this.matDialog=x;this.$log=A;this.issuePicker=B;this.userPreferencesManager=K;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new E.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(Oe(function(P){return O.componentFridge.watchSet(P)}),
D(function(P){return O.getCommonEffortSpec(P)}),Le({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(D(function(P){return void 0!==P}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new Vv;this.onCreateHotlist=new Vv;this.onLoadHotlist=new Vv;this.externalWarnings=[];this.enableRecaptcha=hE(this.activeSession,"enableRecaptcha")&&hE(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};U(H_,jE);
var cXc=function(a){var b=new WI,c;b.formattingMode=uk(null==(c=CI(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};H_.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var dXc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},I6a=function(a){return dXc(a)?"Mark as read":"Mark as unread"},xp=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
H_.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=eXc(a);this.uniqueComponentIds$.next(a)};
var eXc=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},fXc=function(a){if(!H$b(a.activeSession)){a.externalWarnings=[];var b=new Set(a.getSelectedIssues().map(function(e){return e.componentId})),c={};b=k(b);for(var d=b.next();!d.done;c={$jscomp$loop$prop$id$2333:c.$jscomp$loop$prop$id$2333},d=b.next())c.$jscomp$loop$prop$id$2333=d.value,a.componentActions.get(c.$jscomp$loop$prop$id$2333).then(function(e){if(a.activeSession.isInternalSession()&&
up(e)||G$b(a.activeSession)&&vp(e)){var g,h=r6a(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$2333+".")}}(c))}};f=H_.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":I_(this,null,0);break;case "COMPONENT":gXc(this);break;case "VERIFIER":I_(this,null,1);break;case "REPORTER":hXc(this);break;case "CHANGELIST":iXc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":jXc(this);break;case "FOUND_IN":iXc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":iXc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":iXc(this,"targetedToVersion","Targeted To");break;case "COMMENT":kXc(this);break;
case "SLO_START_TIME":lXc(this);break;case "ESTIMATED_EFFORT":mXc(this);break;case "CC":iXc(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)&&J_(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&J_(this,"severity",a);break;case "STATUS":(a=yua(this.constants.protoIssueStatusesEnumStrings.get(a.newValue)))&&I_(this,ul[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=this.constants.protoIssueTypesEnumStrings.get(a.newValue))&&J_(this,"type",a);break;case "IS_ARCHIVED":J_(this,"isArchived",""+a.newValue);break;case "IN_PROD":J_(this,"inProd",""+a.newValue);
break;case "CC":J_(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?K_(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):K_(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?K_(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):
K_(this,{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?K_(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):K_(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":I_(this,ul.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};f.bulkMarkIssueRead=function(){var a=dXc(this);J_(this,"readState",a?"true":"")};
var J_=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var g=xp(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&&Tgc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&Tgc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},I_=function(a,b,c){a.hasSelectedIssues()&&(fXc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},nXc=function(a){var b=a.onSave,c=b.emit,d=xp(a),e=a.stateModal.issueEditBuilder,g=[];e.issueState||$5a(e);e=k(o6a(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})},hXc=
function(a){a.hasSelectedIssues()&&(fXc(a),fA(a.matDialog.open(G_,{width:"400px"})).pipe(Pe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&J_(a,"reporter",b)}),a.hotkeys.pause())},iXc=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(fA(a.matDialog.open(E_,{width:"400px",data:{fieldDisplayName:c}})).pipe(Pe(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&oXc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},lXc=function(a){a.hasSelectedIssues()&&(fA(a.matDialog.open(C_,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(Pe(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:xp(a),actions:c}]})}}),a.hotkeys.pause())},mXc=function(a){var b=Sm(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&(fA(a.matDialog.open(D_,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(Pe(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:xp(a),actions:d}]})}}),a.hotkeys.pause())},oXc=function(a,b,c,d,e){e=void 0===e?!1:e;c=xk(c);d=xk(d);var g=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return pqa(q,h).map(function(x){return x.trim()})};yk(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),g.push.apply(g,Pc(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
yk(d)||(d=l(d),g.push.apply(g,Pc(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));g.length&&a.onSave.emit({bulkEditOps:[{issueIds:xp(a),actions:g}]})},gXc=function(a){a.hasSelectedIssues()&&(fA(a.matDialog.open(A_,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Pe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:xp(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),
a.analytics.trackEvent(a.controllerName,"bulkMove"))}),a.hotkeys.pause())},pXc=function(a){a.hasSelectedIssues()&&(fA(a.matDialog.open(z_,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(Pe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),J_(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},kXc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=cXc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,
{panelClass:"no-jitter",minWidth:512,maxWidth:512}),fA(a.addCommentDialogRef).pipe(Pe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&Lhc(a.comment)&&J_(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),fXc(a))},P6a=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},jXc=function(a){a.hasSelectedIssues()&&fA(a.matDialog.open(OY,{data:a.getSelectedIssues(),width:"500px"})).pipe(Pe(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),
a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};
H_.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:xp(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,
"applyHotlists","numHotlists",e))};var K_=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:xp(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};H_.\u0275fac=function(a){return new (a||H_)(C(mF),C(kH),C(ds),C(oH),C(JL),C(II),C(LT),C(xI),C(nZ),C(kA),C(NF),C(MO),C(BI))};
H_.\u0275dir=Gc({type:H_,viewQuery:function(a,b){a&1&&(Qf(bXc,5),Qf(F_,5),Qf(y_,5));if(a&2){var c;Pf(c=Sf())&&(b.addCommentDialog=c.first);Pf(c=Sf())&&(b.hotlistPicker=c.first);Pf(c=Sf())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[Ye]});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=Dc({type:L_});L_.\u0275inj=nc({providers:[{provide:FUc,useFactory:function(){return new CUc}}]});var M_=function(){};M_.\u0275fac=function(a){return new (a||M_)};M_.\u0275mod=Dc({type:M_});M_.\u0275inj=nc({imports:[Hw,L_]});var N_=function(){};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275mod=Dc({type:N_});N_.\u0275inj=nc({providers:[{provide:EUc,useFactory:b_}],imports:[BF,wC,$B,XC,M_,oJ]});var O_=function(){};O_.\u0275fac=function(a){return new (a||O_)};O_.\u0275mod=Dc({type:O_});O_.\u0275inj=nc({imports:[BF,$B,wC,XC]});var P_=function(){};P_.\u0275fac=function(a){return new (a||P_)};P_.\u0275mod=Dc({type:P_});P_.\u0275inj=nc({imports:[BF,uT,bN,XC,gS,kO,N_,wC,$B,O_]});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=Dc({type:Q_});Q_.\u0275inj=nc({});var R_=function(){};R_.\u0275fac=function(a){return new (a||R_)};R_.\u0275mod=Dc({type:R_});R_.\u0275inj=nc({imports:[BF,pA,sO,ox,wC,bN,SB,zR,P_,Q_]});var S_=function(){};S_.\u0275fac=function(a){return new (a||S_)};S_.\u0275mod=Dc({type:S_});S_.\u0275inj=nc({imports:[BF,SB,wC,BA,ox,Dz,XC,LS,OS,bN]});var T_=function(a,b,c,d,e,g,h,l,q,x,A,B,K){H_.call(this,a,b,c,d,e,g,h,l,q,x,A,B,K);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=hE(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};U(T_,H_);T_.\u0275dir=H_.\u0275dir;T_.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
T_.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Daa(a,null,function(b){return b.issueId.toString()});return a};T_.\u0275fac=function(a){return new (a||T_)(C(mF),C(kH,2),C(ds),C(oH),C(JL),C(II),C(LT),C(xI),C(nZ),C(kA),C(NF),C(MO),C(BI))};
T_.\u0275cmp=Bc({type:T_,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Cf([kH]),Ye,Uc],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&&(Q(0,J6a,2,4,"b-app-bar-bulk-edit-menus",0),Q(1,N6a,1,2,"b-copy-issue-id-button",1),Q(2,O6a,2,2,"div",2),G(3,"b-app-bar-more-menu",3),M("flagAsSpamClicked",function(){return pXc(b)}),H(),G(4,"b-state-modal",4),M("save",function(){return nXc(b)})("close",function(){return b.hotkeys.unpause()}),H(),Q(5,U6a,11,6,"ng-template",null,5,Vf));a&2&&(F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),F("showFlagIssuesAsSpam",
b.isNonPublicSession&&b.hasSelectedIssues()),z(1),F("externalWarnings",b.externalWarnings))},dependencies:[gX,fX,x_,sw,tw,nO,kZ,F_,Yz,lA,mA,nA,oA,y_,DR,zw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var U_=function(){};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275mod=Dc({type:U_});U_.\u0275inj=nc({imports:[iX,gS,P_,BF,sO,mZ,S_,bN,wC,pA,R_,Q_]});var qXc=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)},rXc=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)},sXc=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=ci(c.assigneeUser)||"";this.verifier=ci(c.verifierUser)||"";this.collaborators=ai(c.collaboratorsUsers)||[];this.cc=ai(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 Wh(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 Wh(c.typedDefaultValue):new Wh({customFieldId:b}))},uXc=function(a,b){b.name=a.name;b.description=a.description;var c=b.snapshot||{};c.componentId=a.componentId;tXc(a.type)?delete c.type:c.type=a.type;tXc(a.priority)?delete c.priority:c.priority=a.priority;tXc(a.severity)?delete c.severity:c.severity=a.severity;c.assigneeUser=gi(a.assignee);c.verifierUser=gi(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(g){return gi(g)});
c.ccUsers=a.cc.map(function(g){return gi(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};
sXc.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:nh(c,"Unexpected custom field type: "+c)}}this.dirty=!0};sXc.prototype.isDirty=function(){return this.dirty};sXc.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};sXc.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var tXc=function(a){return yk(a)||"--"===a},w7a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},x7a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},vXc={value:"--",displayText:"--"};var wXc=new EA("M/d/yyyy"),V_=function(a){this.dateFormatter=a;this.boundValueChange=new Vv;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};V_.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=Qh(this.boundValue);else{var b;a=null!=(b=Ih(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
V_.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=wXc.format(a);else{var d;a=null!=(d=rqa(wXc.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):""}};V_.\u0275fac=function(a){return new (a||V_)(C(JI))};
V_.\u0275cmp=Bc({type:V_,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&&(G(0,"b-date-time-input",0),M("valueChange",function(c){return b.change(c)}),H());a&2&&F("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[HY],encapsulation:2});var yp={accessLevel:"LIMIT_NONE",title:"Default access",descriptionWithExpandedAccess:"Assignee, verifier and collaborators may edit. CCs can comment. Regular component-level permission settings apply.",descriptionNoExpandedAccess:"Issue access determined by component-level permission settings.",icon:"acl-alias-domain"},xXc={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"},V6a=[yp,{accessLevel:"LIMIT_APPEND",title:"Limited commenting",descriptionWithExpandedAccess:"Only the assignee, verifier and collaborators may edit. CCs can comment. Issue admins retain full access. Visibility is unchanged.",descriptionNoExpandedAccess:"Only added users may edit or comment if their component-level permissions allow. Issue admins retain full access. Visibility is unchanged.",
icon:"comments_disabled_24px"},{accessLevel:"LIMIT_VIEW",title:"Limited visibility",descriptionWithExpandedAccess:"Only added users may access. The assignee, verifier and collaborators may edit. CCs can comment.",descriptionNoExpandedAccess:"Only added users may access. They have their normal access as defined by the component-level permissions.",icon:"visibility-off"},xXc];var W_=function(){jE.apply(this,arguments);var a=this;this.defaultAccessLimitLevel$=new E.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new Vv;this.selectedDisplay$=new E.BehaviorSubject(null);this.displays=V6a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,E.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(D(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 yp}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(D(function(b){return b.title}))};U(W_,jE);W_.\u0275dir=jE.\u0275dir;ch.Object.defineProperties(W_.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
W_.\u0275fac=function(){var a;return function(b){return(a||(a=pd(W_)))(b||W_)}}();
W_.\u0275cmp=Bc({type:W_,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[Ye],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&&(G(0,"div",0)(1,"button",1),S(2,"async"),G(3,"span",2),I(4,"mat-icon",3),G(5,"span",4),R(6),S(7,"async"),H()(),I(8,"mat-icon",5),H(),Q(9,X6a,1,1,"mat-icon",6),G(10,"mat-menu",7,8),Q(12,Y6a,7,3,"button",9),H()());if(a&2){var c=yf(11),d;z(1);F("matMenuTriggerFor",
c)("disabled",b.disabled);bf("aria-label","Access level, "+(null!==(d=null==(d=T(2,6,b.selectedDisplay$))?null:d.title)&&void 0!==d?d:"Default access"));z(5);zf(" ",T(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");z(3);F("ngIf",b.disabled);z(3);F("ngForOf",b.displays)}},dependencies:[sw,tw,JA,Yz,RB,PB,QB,ZB,zw],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 yXc=["saveBeforeClosingDialog"],zXc=["deleteDialog"],q7a=function(){return[]},X_=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O){jE.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=x;this.componentActions=A;this.documentationLinks=B;this.appEvents=K;this.accessPolicyApi=O;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=GTc;this.customFieldIds=Object.create(null);this.issueTypeChoices=AXc(this);this.priorityChoices=BXc(this);this.severityChoices=CXc(this)};U(X_,jE);X_.\u0275dir=jE.\u0275dir;f=X_.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(){DXc(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 Jp(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");LF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){LF(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;Ob(a.newSelectionMap,function(d,e){e=Ph(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 AXc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:zua(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[vXc].concat(b)};X_.prototype.getDateValue=function(a){return a};X_.prototype.getListFieldType=function(a){return a};
var t7a=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},i7a=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?Tgc(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)},BXc=function(a){return[vXc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},CXc=function(a){return[vXc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};X_.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var z7a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;EXc(a)},b7a=function(a,b){var c=a.currentIndex;FXc(a,function(){b.index===c?z7a(a):a.openEditor(b.index)})},GXc=function(a){a.templateHotlistIds.push([]);FXc(a,function(){a.openEditor()})},d7a=function(a,b){return 0<=b.index&&b.index===a.currentIndex},y7a=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){LF(a.butterBar,
l.name?'Template "'+l.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");HXc(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){LF(a.butterBar,l.name?'Template "'+l.name+'" updated.':"Template updated.");a.analytics.trackEvent("template","update");HXc(a,"update",l.snapshot);a.templates[e]=l;z7a(a)}}a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];
uXc(a.currentTemplate,c);LF(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=Ol(l);MF(a.butterBar,l?"Error "+b+" template: "+l:"There was an error "+b+" the template.",0)})},c7a=function(a,b){fA(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(Pe(a.destroyed$)).subscribe(function(c){c&&
IXc(a,b)})},IXc=function(a,b){var c=b.index;zaa(a.templateHotlistIds,c);b=a.templates[c];0>c||b.default?Promise.resolve():(LF(a.butterBar,"Deleting..."),a.templatesApi.delete(b.componentId,b.templateId).then(function(){a.appEvents.templateModified.next(String(a.componentId));LF(a.butterBar,"Deleted template");a.analytics.trackEvent("template","delete");a.templates.splice(c,1);a.currentIndex===c?z7a(a):EXc(a);a.cdr.detectChanges()}).catch(function(){MF(a.butterBar,"Error while deleting template")}))},
KXc=function(a,b){b?y7a(a).then(function(){JXc(a);a.cdr.detectChanges()}):JXc(a)},e7a=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};
X_.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=LXc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();EXc(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else MXc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=LXc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
EXc(b);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var MXc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},FXc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,NXc(a)):b()},HXc=function(a,b,c){c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(Gn.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},NXc=function(a){fA(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(Pe(a.destroyed$)).subscribe(function(b){void 0!==
b&&KXc(a,b)})},JXc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},LXc=function(a,b){return new sXc(a.customFieldIds,b)};
X_.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 rXc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){MF(a.butterBar,"Unable to load custom fields")}):
Promise.resolve()};X_.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(){MF(a.butterBar,"Unable to load templates")})};
var DXc=function(a){EXc(a);a.defaultIndex=a.templates.findIndex(function(b){return b.default})},EXc=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,g){return new qXc(g,e)}),a.currentTemplate&&(a.currentTemplateRow=new qXc(-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 qXc(g,e)}));a.currentTemplate&&(a.currentTemplateRow=
new qXc(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,g){return new qXc(b+g+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},OXc=function(a,b,c){return MXc(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})},a7a=function(a,b){if(a.defaultIndex!==b){a.defaultIndex=b;var c="(no template)";0<=b&&(b=a.templates[b],
c=b.name,yk(xk(c))&&(c="(unnamed template)"),b.default||(b=OXc(a,b,function(d){d.default=!0}),LF(a.butterBar,"Changing default template..."),b.then(function(){LF(a.butterBar,"Changed default template to "+c)},function(d){MF(a.butterBar,"Error while changing default message"+(Nl(d)?": "+Ol(d):"."))}),a.analytics.trackEvent("template","changeDefault")))}};X_.\u0275fac=function(a){return new (a||X_)(C(kA),C(kH,2),C(WG),C(Dbc),C(OG),C(II),C(DG),C(KF),C(oH),C(xI),C(LT),C(vI),C(SF),C(cG))};
X_.\u0275cmp=Bc({type:X_,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(Qf(yXc,5),Qf(zXc,5));if(a&2){var c;Pf(c=Sf())&&(b.saveBeforeClosingDialog=c.first);Pf(c=Sf())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Cf([kH]),Ye],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&&(G(0,"div")(1,"div",0),R(2," A template is a set of default values for new issues created in this component. "),G(3,"a",1),R(4,"Learn more"),H()(),G(5,"table",2)(6,"tr")(7,"th"),R(8,"TEMPLATE"),H(),G(9,"th",3),R(10,"DEFAULT"),H(),I(11,"th",3)(12,"th",3),H(),
Q(13,B7a,3,2,"tr",4),H(),G(14,"div",5)(15,"b-button",6),M("onAction",function(){return GXc(b)}),R(16," Create New Template "),H()(),Q(17,C7a,7,3,"ng-template",null,7,Vf),Q(19,D7a,9,4,"ng-template",null,8,Vf),H());a&2&&(z(3),F("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Id),z(10),F("ngForOf",b.templateRows))},dependencies:[VO,sw,tw,uw,vw,ww,JA,XN,DZ,kg,bx,Uw,$w,US,F_,V_,HZ,Yz,lA,nA,oA,EM,zZ,yR,ZB,GM,RB,PB,QB,W_],styles:[".buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{ margin-right: 10px;}"]});var Y_=function(){};Y_.\u0275fac=function(a){return new (a||Y_)};Y_.\u0275mod=Dc({type:Y_});Y_.\u0275inj=nc({imports:[BF,VY]});var Z_=function(){};Z_.\u0275fac=function(a){return new (a||Z_)};Z_.\u0275mod=Dc({type:Z_});Z_.\u0275inj=nc({imports:[BF,wC,$B,SB,XC,bN]});var a0=function(){};a0.\u0275fac=function(a){return new (a||a0)};a0.\u0275mod=Dc({type:a0});a0.\u0275inj=nc({imports:[gS,BF,kO,EZ,ox,dT,S_,Y_,IZ,wC,pA,$B,gN,AZ,oJ,zR,jO,aA,XC,bN,SB,Z_]});var b0=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=hE(a,"enableEstado")};b0.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};b0.\u0275fac=function(a){return new (a||b0)(u(ds),u($X),u(oH),u(ZJ),u(sK))};
b0.\u0275prov=mc({token:b0,factory:b0.\u0275fac,providedIn:"root"});var PXc=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};PXc.\u0275fac=function(a){return new (a||PXc)(C(jA))};
PXc.\u0275cmp=Bc({type:PXc,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&&(G(0,"h1",0),R(1),H(),G(2,"mat-dialog-content")(3,"b-custom-field-picker",1),M("fieldSelected",function(c){return b.selectedCustomField=
c}),H()(),G(4,"mat-dialog-actions")(5,"button",2),R(6," Cancel "),H(),G(7,"button",3),R(8," Add "),H()());a&2&&(z(1),zf("Insert custom field column next to ",b.column.fullLabel,""),z(2),F("filter",b.isLegalColumn),z(4),F("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[Yz,lA,mA,nA,oA,LZ],encapsulation:2});var E7a="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 zp=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)};zp.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var J7a={issueId:{defaultSortDirection:"DESC",label:"ID"},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},magic:{label:"MAGIC NUMBER"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},blockedByIssueId:{sortable:!1,label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},
verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,label:"BLOCKING"},title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",
menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",
label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",
sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"}};var QXc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};QXc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var RXc=function(){this.bindings=[]};RXc.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var SXc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new RXc;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()}};
SXc.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(){TXc(a,"dragstart",a.onDragTargetDragstart);TXc(a,"dragenter",a.onDragTargetDragenter);TXc(a,"dragend",a.onDragTargetDragend);TXc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new QXc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new QXc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new QXc(a.mask,"drop",a.onMaskDrop))})};var TXc=function(a,b,c){a.eventBindings.bindings.push(new QXc(a.element,b,Bp("th.drag-target",c)))};SXc.prototype.tearDown=function(){this.eventBindings.off()};var UXc=["table"],VXc=["defaultHeaderCellTemplate"],WXc=["defaultViewCellTemplate"],XXc=["dataRows"],O7a=function(a){return{column:a}},R7a=function(a,b,c){return{row:a,column:b,index:c}},c0=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new Vv;this.rowClick=new Vv;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new Vv;this.focusedRowIndexChange=new Vv;this.afterViewInit=
new Vv;this.enableDragDropHeader=!0;this.readUnreadOptOut=hE(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var g=[].concat(Pc(c.columns));d=g.splice(d,1)[0];g.splice(e,0,d);c.columns=g;c.columnsChange.emit([].concat(Pc(c.columns)))};this.onTdClickableClick=Bp("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!alc(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})}})};
c0.prototype.ngOnInit=function(){this.enableDragDropHeader&&YXc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var YXc=function(a){a.dragDropHeaderLogic=new SXc({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()};
c0.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(BHa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};c0.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
c0.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)};c0.prototype.getViewCellTemplate=function(a){return null!=a?this.viewCellTemplates[a]||this.defaultViewCellTemplate:this.defaultViewCellTemplate};var ZXc=function(a){return a.columns.map(function(b){return a.getViewCellTemplate(b.name)})};
c0.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};c0.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};c0.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};c0.\u0275fac=function(a){return new (a||c0)(C(ds),C(Se))};
c0.\u0275cmp=Bc({type:c0,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(Qf(UXc,7),Qf(VXc,7),Qf(WXc,7),Qf(XXc,5,rd));if(a&2){var c;Pf(c=Sf())&&(b.tableElement=c.first);Pf(c=Sf())&&(b.defaultHeaderCellTemplate=c.first);Pf(c=Sf())&&(b.defaultViewCellTemplate=c.first);Pf(c=Sf())&&(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:[Uc],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&&(G(0,"table",0,1),M("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),G(2,"colgroup"),Q(3,M7a,1,3,"col",2),H(),G(4,"thead")(5,"tr",3),Q(6,P7a,2,4,"ng-container",4),H()(),G(7,"tbody"),Q(8,U7a,2,1,"ng-container",5),H()(),Q(9,V7a,2,1,"ng-template",null,6,Vf),Q(11,W7a,2,2,"ng-template",null,7,Vf));a&2&&(z(3),F("ngForOf",b.columns),z(3),
F("ngForOf",b.columns),z(2),F("ngIf",ZXc(b)))},encapsulation:2});var d0=function(a,b){this.templateRef=a;this.popGrid=b};d0.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};d0.\u0275fac=function(a){return new (a||d0)(C(Mf),C(c0))};d0.\u0275dir=Gc({type:d0,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var e0=function(a,b){this.templateRef=a;this.popGrid=b};
e0.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};e0.\u0275fac=function(a){return new (a||e0)(C(Mf),C(c0))};e0.\u0275dir=Gc({type:e0,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var f0=function(a,b){this.templateRef=a;this.popGrid=b};f0.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};f0.\u0275fac=function(a){return new (a||f0)(C(Mf),C(c0))};
f0.\u0275dir=Gc({type:f0,selectors:[["","forHeaderCellDefault",""]]});var g0=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new Vv};g0.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};g0.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
g0.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};g0.\u0275fac=function(a){return new (a||g0)};
g0.\u0275cmp=Bc({type:g0,selectors:[["b-sortable-header"]],inputs:{columnName:"columnName",columnLabel:"columnLabel",sort:"sort",defaultSortDirection:"defaultSortDirection"},outputs:{sortChanged:"sortChanged"},decls:3,vars:8,consts:[["role","button","tabindex","0",1,"keep-focus-ring","pop-grid-sort-header",3,"click","keydown.enter","keydown.space"],[1,"arrow"]],template:function(a,b){a&1&&(G(0,"div",0),M("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),I(1,"span",1),R(2),H());a&2&&(mf("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),bf("aria-label",b.ariaLabel()),z(2),zf(" ",b.columnLabel," "))},encapsulation:2});var h0=function(a,b){this.elementRef=a;this.grid=b};h0.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}}};h0.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
h0.\u0275fac=function(a){return new (a||h0)(C(rd),C(c0,8))};
h0.\u0275cmp=Bc({type:h0,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&&(G(0,"div",0),Q(1,X7a,1,5,"b-sortable-header",1),Q(2,Z7a,3,3,"div",2),H());a&2&&(z(1),F("ngIf",b.column.sortable),z(1),F("ngIf",!b.column.sortable))},dependencies:[tw,ZB,g0],encapsulation:2});var f8a=function(a,b){return{columns:a,before:b}},$Xc=function(){return{before:!1}},aYc=function(){return{before:!0}},i0=function(a,b,c,d,e,g){jE.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 Vv;this.onAddTeamColumn=new Vv;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=gE.listViewPreferences;b.preferences$.pipe(Pe(this.destroyed$)).subscribe(function(l){h.listViewPrefs=
l.listViewPreferences||gE.listViewPreferences})};U(i0,jE);i0.\u0275dir=jE.\u0275dir;i0.prototype.ngOnChanges=function(a){a.selectedColumns&&bYc(this)};
var cYc=function(a){a.selectedColumnsChange.emit([].concat(Pc(a.selectedColumns)));bYc(a)},a8a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=b8a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||LF(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Ce(),Pe(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||LF(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||MF(a.butterBar,"Display preference could not be saved.")})},i8a=function(a,b){a.hotkeys.pause();fA(a.matDialog.open(PXc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Pe(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},bYc=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!Ica(b,g.name)});c=[].concat(Pc(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(Pc(d),Pc(c));a.currentAvailableItems.sort(function(g,h){return Jp(g instanceof zp?g.fullLabel:g.label,h instanceof
zp?h.fullLabel:h.label)});a.isRemovable=dYc(a)};i0.prototype.isIssueGridColumn=function(a){return a instanceof zp};i0.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,cYc(this),!0}return!1};
i0.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new zp({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(Pc(this.selectedColumns));this.selectedColumns.splice(b,0,a);cYc(this);return!0};
var dYc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};i0.\u0275fac=function(a){return new (a||i0)(C(kA),C(BI),C(KF),C(oH),C(JL),C(ds))};
i0.\u0275cmp=Bc({type:i0,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&Qf(QB,5);if(a&2){var c;Pf(c=Sf())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[Ye,Uc],decls:20,vars:11,consts:[[1,"bv2-column-picker-container"],[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button","class",
"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["pickerMenu","matMenu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["addColumnMenu","matMenu"],["matMenuContent",""],["columnGroupMenu","matMenu"],["mat-button","",
"tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","menuOpened","menuClosed","keydown.enter","keydown.space"],["menuTrigger","matMenuTrigger"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngIf"],["mat-menu-item",
"",3,"matTooltip","click"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div",1),I(2,"pop-grid-default-th",2),H(),Q(3,$7a,2,4,"div",3),G(4,"mat-menu",4,5),Q(6,c8a,4,3,"button",6),Q(7,d8a,1,0,"mat-divider",7),G(8,"button",8),M("click",function(){return b.remove()}),R(9," Remove column "),H(),G(10,"button",9),R(11," Add column right "),H(),G(12,"button",9),R(13," Add column left "),H()(),G(14,"mat-menu",null,10),Q(16,j8a,4,1,"ng-template",11),H(),G(17,
"mat-menu",null,12),Q(19,l8a,1,1,"ng-template",11),H()());if(a&2){var c=yf(15);z(2);F("column",b.column);z(1);F("ngIf",!0);z(3);F("ngForOf",b.column.moreOptions);z(1);F("ngIf",b.column.moreOptions.length);z(1);F("disabled",!b.isRemovable);z(2);F("matMenuTriggerFor",c)("matMenuTriggerData",Ef(9,$Xc));z(2);F("matMenuTriggerFor",c)("matMenuTriggerData",Ef(10,aYc))}},dependencies:[sw,tw,RB,PB,QB,OB,AL,ZB,GM,h0],styles:['.bv2-columheader-content[_ngcontent-%COMP%]{display:inline-block;height:100%}.columnpicker-button[_ngcontent-%COMP%]{background:none;border:1px solid rgba(0,0,0,0);height:24px;width:24px;opacity:.8}.columnpicker-button[_ngcontent-%COMP%]::before{background:none;border-radius:50%;position:absolute;top:-2px;bottom:-2px;left:-2px;right:-2px;box-sizing:border-box;content:"";display:block}.columnpicker-button[_ngcontent-%COMP%]:hover::before, .columnpicker-button[_ngcontent-%COMP%]:focus::before, .columnpicker-button.columnpicker-button-active[_ngcontent-%COMP%]::before{background-color:#dadce0;background-color:var(--c300);opacity:1}.columnpicker-button[_ngcontent-%COMP%]::after{background:url(https://www.gstatic.com/buganizer/img/v0/arrow_drop_down_black.svg);content:"";cursor:pointer;height:24px;width:24px;opacity:.8;position:absolute}  .columnpicker-menu .mat-menu-content button.mat-menu-item{line-height:0px;padding:5px 32px 5px 16px;white-space:normal;font-family:Roboto,Arial,sans-serif}  .columnpicker-menu .mat-menu-content button.mat-menu-item.checkbox-item{padding-left:24px}  .columnpicker-menu .mat-menu-content button.mat-menu-item .b-menu-item-check-mark{top:50%;transform:translate(0, -50%)}/*# sourceMappingURL=column_picker.css.map */']});var gYc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Bp("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=Bp("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){eYc(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=Bp("tr",function(){b.draggedRow&&(eYc(b.draggedRow),eYc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Bp("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Bp(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Bp(".row-dropzone",function(c){eYc(b.dragTargetRow);fYc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Bp(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Bp(".row-dropzone",function(c){fYc(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()})};
gYc.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");fYc(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)})};
gYc.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 eYc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},fYc=function(a){a.dropzone.style.display="none"};var j0=function(){};j0.\u0275fac=function(a){return new (a||j0)};j0.\u0275cmp=Bc({type:j0,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(G(0,"span"),I(1,"mat-icon",0),R(2,"Archived "),H())},dependencies:[JA],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 k0=function(){};k0.\u0275fac=function(a){return new (a||k0)};k0.\u0275mod=Dc({type:k0});k0.\u0275inj=nc({imports:[BF,$B]});var hYc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],l0=function(){this.compactMode=this.labelOnlyMode=!1};l0.prototype.ngOnInit=function(){};l0.\u0275fac=function(a){return new (a||l0)};
l0.\u0275cmp=Bc({type:l0,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&&(tf(hYc),G(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),uf(5),H()()(),G(6,"div",4)(7,"span",5),uf(8,1),H()()());if(a&2){var c=yf(2),d;z(3);bf("aria-label",b.hovercardAriaLabel);z(3);F("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);z(1);mf("compact-chip",b.compactMode);F("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[rw,xJ,CJ],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 m0=function(a){this.documentationLinks=a;this.documentationLink=Zr()};m0.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Wm(Vm(this.retentionState.scheduledDeletionTime)):this.retentionExpireTime=void 0};m0.\u0275fac=function(a){return new (a||m0)(C(vI))};
m0.\u0275cmp=Bc({type:m0,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Uc],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["indefinite",""],["target","_blank",3,"href"],[3,"mode","timestamp"]],template:function(a,b){a&1&&Q(0,o8a,6,3,"ng-container",0);a&2&&F("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[tw,iK],encapsulation:2});var n0=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};n0.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?(a=Wm(Vm(this.retentionState.scheduledDeletionTime)),this.text=RKa(a,!this.compactMode)):this.text="Indefinite"};n0.\u0275fac=function(a){return new (a||n0)(C(hK))};
n0.\u0275cmp=Bc({type:n0,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[Uc],decls:1,vars:1,template:function(a,b){a&1&&R(0);a&2&&Af(b.text)},encapsulation:2});var o0=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};o0.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=q8a(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};o0.\u0275fac=function(a){return new (a||o0)(C(vI))};
o0.\u0275cmp=Bc({type:o0,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Uc],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&&Q(0,p8a,5,7,"b-base-chip",0);a&2&&F("ngIf",b.showRetentionInfo)},dependencies:[tw,l0,n0,m0],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 X8a=function(a,b,c){return{low:a,high:b,p0:c}},D9a=function(a){return{id:a}},i$a=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},iYc=function(){return[]},p0=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){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=x;this.paths=A;this.errorHandler=B;this.$log=K;this.domSafe=O;this.currentTracker=
P;this.STATUS_ICON=Iac;this.STATUS_FULL_TEXT=WE;this.STATUS_TERSE=SE;this.lastCheckedIndex=null;this.focusedRowIndexChange=new Vv;this.columns=[];this.columnsChange=new Vv;this.enableColumnSaving=!1;this.sort=null;this.sortChange=new Vv;this.rowClick=new Vv;this.init=new Vv;this.onRowDragDrop=new Vv;this.onNextPage=new Vv;this.onPrevPage=new Vv;this.selectionCallbacks=[];this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=hE(this.activeSession,"enableAggregationRules");this.destroyed$=new E.ReplaySubject(1);
this.starInProgress={};this.readUnreadOptOut=hE(this.activeSession,"readUnreadOptOut");b=ta(E7a);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(Ap);this.dragDropLogic=new gYc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(X){return jYc(Y,X)},onRowDragDrop:function(X){Y.onRowDragDrop.emit(X)}})};
f=p0.prototype;f.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.init.emit(this)};
f.ngOnChanges=function(a){if(a.searchResults){var b,c=Ypa((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(Pc(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(Pc(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&kYc(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}))||[]);oqa(a,d)||q0(this)}};f.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};f.focus=function(){this.grid.focus()};f.convertIssueStatusStrToTag=function(a){return gj[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()}q0(this)};
var lYc=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()}q0(a)};p0.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var v8a=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
p0.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};p0.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"};
p0.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var nYc=function(a){if(mYc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),q0(a))}};
p0.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();q0(this)}};
var oYc=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()&&fRc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},pYc=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&fRc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},qYc=function(a,b){b=void 0===b?{}:b;if(mYc(a)&&null!=a.focusedRowIndex&&a.searchResults){var c=a.searchResults.issues[a.focusedRowIndex];c&&(b.openInNewTab?a.domSafe.openInNewTab(a.paths.editIssue(c.issueId)):a.bLocation.url(a.paths.editIssue(c.issueId)))}},rYc=function(a,b){a.selectionCallbacks.push(b);
b()};p0.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;q0(this)}c.selected=!c.selected;this.lastCheckedIndex=b;q0(this)};
var q0=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},sYc=function(a){mYc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},tYc=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();vH(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()})}};
p0.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,Pec(this.issueFridge,String(a.issueId),a.starred).pipe(Ce(),Pe(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()}))};
p0.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var mYc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},jYc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},kYc=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,lfc(a.teamsService,[].concat(Pc(b))).pipe(Pe(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=p0.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 Nh(a)?a.join(" > "):(a=Ir(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};p0.\u0275fac=function(a){return new (a||p0)(C(ds),C(kH,2),C(rd),C(HH),C(Se),C(BI),C($G),C(tH),C(CG),C(tX),C(DG),C(OF),C(NF),C(ZJ),C(sK))};
p0.\u0275cmp=Bc({type:p0,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&Qf(c0,7);if(a&2){var c;Pf(c=Sf())&&(b.grid=c.first)}},inputs:{searchResults:"searchResults",focusedRowIndex:"focusedRowIndex",columns:"columns",enableColumnSaving:"enableColumnSaving",sort:"sort"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",columnsChange:"columnsChange",sortChange:"sortChange",rowClick:"rowClick",init:"init",onRowDragDrop:"onRowDragDrop",onNextPage:"onNextPage",onPrevPage:"onPrevPage"},
features:[Cf([kH]),Uc],decls:49,vars:51,consts:[[1,"keep-focus-ring",3,"list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer","columnsChange","focusedRowIndexChange","sortChange","rowClick"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class",
"selected-box",4,"forViewCell"],["class","star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],
["class","clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],["issueWithHovercard",""],[1,"focus-indicator"],[4,"ngIf"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state","click","keydown.enter","keydown.space"],[3,"column"],[3,"column","availableColumns","selectedColumns",
"selectedColumnsChange",4,"ngIf"],[3,"column",4,"ngIf"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel","compactMode"],[3,
"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[4,"ngSwitchCase"],
[3,"class",4,"ngSwitchDefault"],[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","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&&(G(0,"div")(1,"pop-grid",0),M("columnsChange",function(c){b.columns=c;b.columnsChange.emit(c);b.cdr.detectChanges()})("focusedRowIndexChange",function(c){b.focusedRowIndex=c;return b.focusedRowIndexChange.emit(b.focusedRowIndex)})("sortChange",function(c){return b.sortChange.emit(c)})("rowClick",function(c){return b.rowClick.emit(c)}),Q(2,s8a,2,2,"th",1),Q(3,u8a,2,2,"th",2),Q(4,x8a,2,2,"th",3),Q(5,z8a,2,2,"th",4),Q(6,B8a,2,2,"th",4),Q(7,F8a,
2,2,"th",5),Q(8,H8a,2,1,"td",6),Q(9,J8a,2,1,"td",7),Q(10,L8a,2,1,"td",8),Q(11,N8a,2,1,"td",9),Q(12,P8a,2,1,"td",10),Q(13,R8a,2,1,"td",11),Q(14,W8a,2,3,"td",12),Q(15,Z8a,2,1,"td",13),Q(16,a9a,2,1,"td",14),Q(17,g9a,2,1,"td",15),Q(18,i9a,2,1,"td",16),Q(19,m9a,2,1,"td",17),Q(20,q9a,2,1,"td",17),Q(21,u9a,2,1,"td",17),Q(22,w9a,2,1,"td",17),Q(23,y9a,2,1,"td",17),Q(24,A9a,2,1,"td",17),Q(25,G9a,2,1,"td",17),Q(26,L9a,2,1,"td",17),Q(27,P9a,2,1,"td",17),Q(28,R9a,2,1,"td",18),Q(29,T9a,2,1,"td",18),Q(30,V9a,2,
1,"td",18),Q(31,X9a,2,1,"td",18),Q(32,Z9a,2,1,"td",17),Q(33,a$a,2,1,"td",17),Q(34,c$a,2,1,"td",17),Q(35,e$a,2,1,"td",17),Q(36,g$a,2,1,"td",17),Q(37,j$a,2,5,"td",19),Q(38,m$a,2,1,"td",20),Q(39,p$a,2,1,"td",20),Q(40,s$a,2,1,"td",20),Q(41,v$a,2,1,"td",20),Q(42,y$a,2,1,"td",17),Q(43,C$a,2,1,"td",17),Q(44,E$a,2,1,"td",17),Q(45,G$a,2,1,"td",17),Q(46,I$a,2,1,"td",17),H()(),Q(47,K$a,5,2,"ng-template",null,21,Vf));a&2&&(z(1),F("list",(null==b.searchResults?null:b.searchResults.issues)||Ef(50,iYc))("columns",
b.columns)("focusedRowIndex",b.focusedRowIndex)("scrollContainer",".bv2-view")("sort",b.sort)("rowLabelRenderer",b.issueDescription),z(1),F("forHeaderCell","focused"),z(1),F("forHeaderCell","draghandle"),z(1),F("forHeaderCell","selected"),z(1),F("forHeaderCell","starred"),z(1),F("forHeaderCell","position"),z(2),F("forViewCell","focused"),z(1),F("forViewCell","draghandle"),z(1),F("forViewCell","selected"),z(1),F("forViewCell","starred"),z(1),F("forViewCell","position"),z(1),F("forViewCell","issueId"),
z(1),F("forViewCell","title"),z(1),F("forViewCell","priority"),z(1),F("forViewCell","severity"),z(1),F("forViewCell","status"),z(1),F("forViewCell","type"),z(1),F("forViewCell","reporter"),z(1),F("forViewCell","assignee"),z(1),F("forViewCell","verifier"),z(1),F("forViewCell","cc"),z(1),F("forViewCell","changelist"),z(1),F("forViewCell","postmortem"),z(1),F("forViewCell","blockingIssueId"),z(1),F("forViewCell","blockedByIssueId"),z(1),F("forViewCell","duplicateOfIssueId"),z(1),F("forViewCell","createdTime"),
z(1),F("forViewCell","modifiedTime"),z(1),F("forViewCell","resolvedTime"),z(1),F("forViewCell","verifiedTime"),z(1),F("forViewCell","foundInVersion"),z(1),F("forViewCell","targetedToVersion"),z(1),F("forViewCell","verifiedInVersion"),z(1),F("forViewCell","inProd"),z(1),F("forViewCell","archived"),z(1),F("forViewCell","componentPath"),z(1),F("forViewCell","minSlo"),z(1),F("forViewCell","responseSlo"),z(1),F("forViewCell","assignmentSlo"),z(1),F("forViewCell","closureSlo"),z(1),F("forViewCell","deletionTime"),
z(1),F("forViewCell","team"),z(1),F("forViewCell","estimate"),z(1),F("forViewCell","estimateTotalOpen"),z(1),F("forViewCell","estimateTotalComplete"))},dependencies:[j0,rw,sw,tw,yw,uw,vw,ww,JA,Az,c0,h0,d0,e0,f0,sS,uS,iK,vS,YJ,VS,o0,vK,nO,XS,xJ,yJ,CJ,zJ,vO,pK,i0,jJ,iJ,mJ,lJ],encapsulation:2,changeDetection:0});
var r0=new zp({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),uYc=new zp({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),s0=new zp({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),t0=new zp({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),vYc=new zp({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var u0=function(a,b,c){jE.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new Vv;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,x=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(x,"close",{panelClass:"error"})}};U(u0,jE);u0.\u0275dir=jE.\u0275dir;u0.\u0275fac=function(a){return new (a||u0)(C(IF),C(MO),C(yE))};
u0.\u0275cmp=Bc({type:u0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[Ye],decls:2,vars:0,consts:[["mat-button","","matTooltip","Add issues to this hotlist",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(G(0,"button",0),M("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),R(1," Add Issue(s) "),H())},dependencies:[Yz,ZB],encapsulation:2});var v0=function(a,b,c,d){jE.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(Oe(function(g){return e.fridge.watchOne(g)}),Le({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(D(function(g){return!(null==g||!g.archived)}),Be());this.archiveActionLabel$=this.archived$.pipe(D(function(g){return g?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(D(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(Ol(h)||"Error "+l+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(Pe(this.destroyed$)).subscribe(function(g){e.latestHotlist=g})};U(v0,jE);v0.\u0275dir=jE.\u0275dir;
v0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};v0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var xYc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:cn("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){wYc(a,b)}}):wYc(a,b)}},wYc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
v0.\u0275fac=function(a){return new (a||v0)(C($G),C(IF),C(wI),C(SF))};
v0.\u0275cmp=Bc({type:v0,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[Ye,Uc],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(G(0,"button",0),M("click",function(){return xYc(b)}),S(1,"async"),R(2),S(3,"async"),H());if(a&2){var c;F("disabled",b.isThinking(b.id))("matTooltip",null!==(c=T(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");z(2);zf(" ",T(3,5,b.archiveActionLabel$)," ")}},dependencies:[Yz,
ZB,zw],encapsulation:2});var w0=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){H_.call(this,a,b,c,d,e,g,h,l,q,x,A,O,P);this.estadoService=B;this.refreshMonitor=K;this.init=new Vv;this.onRefresh=new Vv;this.isHotlistAdmin=!1;this.onExportCsv=new Vv;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=hE(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};
U(w0,H_);w0.\u0275dir=H_.\u0275dir;f=w0.prototype;f.ngOnInit=function(){this.init.emit(this)};f.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&rYc(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 yYc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};w0.\u0275fac=function(a){return new (a||w0)(C(mF),C(kH,2),C(ds),C(oH),C(JL),C(II),C(LT),C(xI),C(nZ),C(kA),C(NF),C(b0),C(rH),C(MO),C(BI))};
w0.\u0275cmp=Bc({type:w0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Cf([kH]),Ye,Uc],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&&(G(0,"b-button",0),M("onAction",function(){return b.refresh()}),I(1,"b-icon",1),H(),Q(2,L$a,2,4,"b-app-bar-bulk-edit-menus",2),Q(3,M$a,1,2,"b-copy-issue-id-button",3),Q(4,N$a,2,2,"div",4),Q(5,Q$a,3,2,"ng-container",
5),Q(6,S$a,3,3,"b-button",6),G(7,"b-app-bar-more-menu",7),M("exportCsvClicked",function(){return b.onExportCsv.emit()})("flagAsSpamClicked",function(){return pXc(b)}),H(),G(8,"b-state-modal",8),M("save",function(){return nXc(b)})("close",function(){return b.hotkeys.unpause()}),H(),Q(9,X$a,11,6,"ng-template",null,9,Vf));a&2&&(z(2),F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.hasSelectedIssues()),z(1),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),z(1),F("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),
z(1),F("ngIf",b.enableEstadoInAppBar),z(1),F("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",yYc(b)),z(1),F("externalWarnings",b.externalWarnings))},dependencies:[gX,fX,VO,x_,sw,tw,nO,kZ,v0,u0,F_,GM,Yz,lA,mA,nA,oA,y_,DR,zw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var zYc=["multiUserInput"],x0=function(a,b,c,d,e,g){jE.call(this);var h=this;this.element=a;this.accessPolicyConverter=b;this.principalTypes=c;this.activeSession=d;this.documentationLinks=e;this.appEvents=g;this.usersChange=new Vv(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new Vv;this.typedText="";this.items=[];this.chipifyFn=function(){AYc(h)};this.additionalContactsFn=function(){return BYc(h)};
this.isFocused=!1;this.selectedChipIndex=-1;this.$element=this.element.nativeElement;this.validators={};this.violations=new Set;this.subscriptions.add(this.appEvents.contactChipsRevertChanges.subscribe(function(){h.typedText=""}))};U(x0,jE);x0.\u0275dir=jE.\u0275dir;
x0.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return CYc(c)},validateInternalAccessLevel:function(b,c){return DYc(a,c)},validateExternalAccessLevel:function(b,c){return EYc(a,c)}},this.customValidators)};x0.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=FYc(this,this.users),y0(this)};
var y0=function(a){var b=[].concat(Pc(a.items)),c=GYc(b),d=HYc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&Kh(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
x0.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 $$a=function(a){!a.isWidgetDisabled()&&IYc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},Y$a=function(a){Cp(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};x0.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var IYc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
x0.prototype.removeItem=function(a){this.isWidgetDisabled()||!Cp(this,a)||this.items[a].isReadonly||(Y$a(this),this.items.splice(a,1),y0(this))};x0.prototype.setAccessLevel=function(a){this.accessLevel=a};
var BYc=function(a){return JYc(a).map(function(b){return{text:wqa(b),id:a.accessPolicyConverter.accessPolicyPrincipalToString({alias:b})}})},JYc=function(a){if(!a.includeAliases||H$b(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},AYc=function(a){setTimeout(function(){a.typedText&&fa(a.typedText,",")&&aab(a,a.typedText.split(",")[0].trim())})},aab=function(a,
b){b&&(b=zvc.test(b)?KYc(a,b):LYc(a,b),a.items.push(b));a.typedText="";y0(a)},Cp=function(a,b){return 0<=b&&b<a.items.length},KYc=function(a,b){var c=void 0===c?!1:c;var d=Kqa(b);if(void 0===d.alias)throw Error("Ad`"+b);b=d.alias;d=wqa(b);return new z0("ALIAS",b,d,null,c,a)},MYc=function(a,b){b=jn(b);var c=new z0("GROUP",b,b,null,!1,a);SI(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;y0(a)});return c},NYc=function(a,b){var c=void 0===c?!1:c;b=jn(b);var d=new z0("USER",
b,b,null,c,a);SI(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;y0(a)});return d},LYc=function(a,b){var c=void 0===c?!1:c;b=jn(b);var d=new z0("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);SI(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;y0(a)});return d},OYc=function(a,b,c){return new z0("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};x0.prototype.getAccessLevel=function(){return this.accessLevel};
x0.prototype.getAppName=function(){return this.activeSession.getAppName()};x0.prototype.onKeyDown=function(a){8===a.keyCode?Cp(this,this.selectedChipIndex)?(Cp(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?Cp(this,this.selectedChipIndex)&&Cp(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):$$a(this)};
var FYc=function(a,b){b=(b||[]).map(function(d){return PYc(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 OYc(a,d.displayText,d.values.map(function(e){return PYc(a,e)}))});return[].concat(Pc(c),Pc(b))}return b},PYc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("le`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("le`"+b);return"ALIAS"===d?KYc(a,b):
"USER"===d?NYc(a,c[1]):MYc(a,c[1])},GYc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},HYc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},CYc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},DYc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
EYc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};x0.\u0275fac=function(a){return new (a||x0)(C(rd),C(zQ),C(RI),C(ds),C(vI),C(SF))};
x0.\u0275cmp=Bc({type:x0,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&Qf(zYc,5);if(a&2){var c;Pf(c=Sf())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",
ariaLabel:"ariaLabel"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[Ye,Uc],decls:11,vars:10,consts:[[1,"bv2-multi-user-input",3,"click"],["class","bv2-user-chip",4,"ngFor","ngForOf"],["class","bv2-multi-user-embedded-input","b-adaptive-width-input","","tabindex","0",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur",4,"ngIf"],["role","alert",1,"bv2-multi-user-errors"],[4,"ngIf"],[1,"bv2-user-chip"],[3,"isReadonly",
"isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel","chipSelection","chipClear","chipRemove"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur"],["multiUserInput",""],["target","_blank"]],template:function(a,b){a&1&&(G(0,"div",0),M("click",function(){return $$a(b)}),G(1,"div"),Q(2,
Z$a,2,9,"div",1),Q(3,bab,2,5,"input",2),H()(),G(4,"div",3),Q(5,cab,4,1,"span",4),Q(6,dab,2,0,"span",4),Q(7,eab,2,0,"span",4),Q(8,fab,2,0,"span",4),Q(9,gab,2,0,"span",4),Q(10,hab,2,0,"span",4),H());a&2&&(mf("focused",b.isFocused),z(2),F("ngForOf",b.items),z(1),F("ngIf",IYc(b)),z(2),F("ngIf",b.violations.has("noRestrictedPlusGroups")),z(1),F("ngIf",b.violations.has("validateGaia")),z(1),F("ngIf",b.violations.has("validateInternalAccessLevel")),z(1),F("ngIf",b.violations.has("validateExternalAccessLevel")),
z(1),F("ngIf",b.violations.has("sloLeadNotUser")),z(1),F("ngIf",b.violations.has("sloLeadNotGoogler")))},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:auto;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}/*# sourceMappingURL=multi_user_input.css.map */"]});
var z0=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=z0.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("me`"+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 QYc=function(a){return{displayText:"Admins",values:a}},RYc=function(a){return[a]},SYc=function(a){return{displayText:"Appenders",values:a}},TYc=cn("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?"),A0=function(a,b,c,d,e,g,h,l,q){jE.call(this);var x=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 E.ReplaySubject(1);this.idSubject$=Rm(this.id$.pipe(Pe(this.destroyed$)));this.acl$=this.id$.pipe(Oe(function(A){return x.hotlistAccessPolicyFridge.watchOne(A)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Lgc(this.links);this.validity={};this.isValid=function(){return Object.values(x.validity).every(Boolean)};this.isInvalid=function(){return!x.isValid()};
this.allAppenders=[];this.onPressSave=function(){x.isRevokingAdmin()?x.dialog.open({title:"Change Hotlist Admins",content:TYc,isDestructive:!0,onConfirm:x.doSave}):x.doSave()};this.doSave=function(){var A=x.idSubject$.value;if(null!=A){var B=x.isRevokingAdmin();A={id:A,admins:Lqa(x.admins),appenders:Lqa(x.appenders),editors:null,readers:Lqa(x.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
x.hotlistAccessPolicyFridge.save(A).subscribe({next:x.didSave(B,A.id),error:x.gotErr})}};this.didSave=function(A,B){return function(){x.snackBar.open("Access control saved",void 0,{duration:2500});x.events.hotlistChanged.next();x.permissions.poke(B);A&&x.doStar()}};this.gotErr=function(A){x.snackBar.open(Ol(A)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var A=x.idSubject$.value;if(A){var B=x.activeSession.getUserEmail();x.userApi.saveFavorite({resourceType:"HOTLIST",
resourceId:A,userLogin:B}).then(function(){x.events.hotlistChanged.next()})}};this.onPressRevert=function(){x.resetEdits()};this.gotAcl=function(A){x.latestPolicy=A;var B,K,O;x.latestCompactPolicy={admins:si(null==(B=x.latestPolicy)?void 0:B.admins),appenders:si(null==(K=x.latestPolicy)?void 0:K.appenders),readers:si(null==(O=x.latestPolicy)?void 0:O.readers)};x.resetEdits()};this.isChanged=function(){var A=x.latestCompactPolicy,B;if(!Kh(null!=(B=A.admins)?B:[],x.admins))return!0;var K;if(!Kh(null!=
(K=A.appenders)?K:[],x.appenders))return!0;var O;return Kh(null!=(O=A.readers)?O:[],x.readers)?!1:!0};this.hasNoChanges=function(){return!x.isChanged()};this.acl$.pipe(Pe(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(YO(e,this.isChanged,!1))};U(A0,jE);A0.\u0275dir=jE.\u0275dir;var UYc=function(a){return[].concat(Pc(new Set([].concat(Pc(a.admins),Pc(a.appenders)))))};A0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
A0.prototype.resetEdits=function(){var a;this.admins=[].concat(Pc(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(Pc(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(Pc(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=UYc(this)};A0.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)};
A0.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(Hua(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};A0.\u0275fac=function(a){return new (a||A0)(C(fG),C(vI),C(IF),C(SF),C(XO),C(wI),C(BH),C(WG),C(ds))};
A0.\u0275cmp=Bc({type:A0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[Ye,Uc],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&&(G(0,"form",0)(1,"label"),R(2,"Admins"),H(),G(3,"p",1),R(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),H(),G(5,"b-multi-user-input",2),M("usersChange",function(c){b.admins=c;b.allAppenders=UYc(b)})("isValid",
function(c){return b.validity.admins=c}),H(),G(6,"label"),R(7,"View and append"),H(),G(8,"p",1),R(9,"Reorder hotlist, add/remove issues"),H(),G(10,"b-multi-user-input",3),M("usersChange",function(c){b.appenders=c;b.allAppenders=UYc(b)})("isValid",function(c){return b.validity.appenders=c}),H(),G(11,"label"),R(12,"View only"),H(),G(13,"p",1),R(14,"View the hotlist"),H(),G(15,"b-multi-user-input",4),M("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),H()(),
G(16,"p"),R(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),G(18,"a",5),R(19,"access control documentation"),H(),R(20," for an explanation of the settings.\n"),H(),Q(21,iab,5,4,"div",6));a&2&&(z(5),mf("disabled",b.isReadOnly),F("users",b.admins),z(5),mf("disabled",b.isReadOnly),F("users",b.appenders)("includeAliases",!0)("containerChips",Ff(18,RYc,Ff(16,QYc,b.admins))),z(5),mf("disabled",b.isReadOnly),F("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Ff(22,RYc,Ff(20,SYc,b.allAppenders))),z(3),F("href",b.accessControlLink,Id),z(3),F("ngIf",!b.isReadOnly))},dependencies:[tw,ax,Vw,Yw,Yz,ZB,x0],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 VYc=["hotlistName"],B0=function(a,b,c,d){jE.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(Oe(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(Ol(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!Kh(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(Pe(this.destroyed$)).subscribe(function(g){e.gotHotlist(g)});this.subscriptions.add(YO(d,
this.isChanged,!1))};U(B0,jE);B0.\u0275dir=jE.\u0275dir;B0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};B0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};B0.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=Lh(a))?b:{}};B0.\u0275fac=function(a){return new (a||B0)(C($G),C(IF),C(SF),C(XO))};
B0.\u0275cmp=Bc({type:B0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&Qf(VYc,5);if(a&2){var c;Pf(c=Sf())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[Ye,Uc],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&&(G(0,"form",0)(1,"label",1),R(2,"Name"),H(),G(3,"input",
2,3),M("ngModelChange",function(c){return b.localEdits.name=c}),H(),G(5,"label",4),R(6,"Description"),H(),G(7,"textarea",5),M("ngModelChange",function(c){return b.localEdits.description=c}),R(8,"  "),H(),Q(9,jab,7,7,"div",6),H());a&2&&(z(3),F("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),z(4),F("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),z(2),F("ngIf",!b.isReadOnly))},dependencies:[tw,ax,kg,Uw,Vw,kx,$w,Yw,Yz,ZB,v0,zw],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 C0=function(a,b){jE.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(Oe(function(d){return c.hotlists.watchOne(d)}))};U(C0,jE);C0.\u0275dir=jE.\u0275dir;C0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};C0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};C0.\u0275fac=function(a){return new (a||C0)(C($G),C(fG))};
C0.\u0275cmp=Bc({type:C0,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[Ye,Uc],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[4,"ngIf"],["class","color-bad-text",4,"ngIf"],[1,"color-bad-text"]],template:function(a,b){a&1&&(G(0,"header",0)(1,"h2")(2,"span",1),R(3),H(),Q(4,kab,2,1,"ng-container",2),S(5,"async"),H(),Q(6,lab,2,0,"strong",3),S(7,"async"),Q(8,mab,1,0,"b-spinner",2),H());if(a&2){var c;z(3);zf(" Hotlist ",b.id,
": ");z(1);F("ngIf",T(5,4,b.hotlist$));z(2);F("ngIf",null==(c=T(7,6,b.hotlist$))?null:c.archived);z(2);F("ngIf",b.isThinking(b.id))}},dependencies:[tw,zL,zw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var D0=function(a){jE.call(this);this.activeSession=a;this.URLS=Qr;this.id$=new E.ReplaySubject(1);this.enableBulkEditUi=hE(this.activeSession,"enableBulkEditUi")};U(D0,jE);D0.\u0275dir=jE.\u0275dir;D0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};D0.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};D0.\u0275fac=function(a){return new (a||D0)(C(ds))};
D0.\u0275cmp=Bc({type:D0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[Ye,Uc],decls:6,vars:2,consts:[[1,"button-bar","border-bottom","padded-s"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],["mat-button","","matTooltip","View the issues tagged with this hotlist",1,"gmat-button","medium","no-visited-no-active",3,"href"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId"]],template:function(a,
b){a&1&&(G(0,"section",0)(1,"b-button",1),M("onAction",function(){return b.onPressBack()}),I(2,"b-icon",2),H(),G(3,"a",3),R(4," View Issues "),H(),Q(5,nab,2,3,"hotlist-add-issue-btn",4),H());a&2&&(z(3),F("href",b.URLS.HOTLIST_VIEW(b.id),Id),z(2),F("ngIf",b.enableBulkEditUi))},dependencies:[tw,Zz,ZB,VO,GM,u0,zw],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var WYc={403:"You do not have permission to view this Hotlist.",404:"This Hotlist does not exist."},E0=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(D(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(D(function(e){var g;return null!=(g=e.status)?g:-1}),D(function(e){var g;return null!=
(g=WYc[e])?g:"unknown error"}),Ne(void 0));this.tabIndex=0};E0.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};E0.\u0275fac=function(a){return new (a||E0)(C(YI),C(ZU),C(BH),C($G))};
E0.\u0275cmp=Bc({type:E0,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&&(Q(0,pab,13,14,"ng-container",0),S(1,"async"),Q(2,qab,7,1,"ng-container",0),S(3,"async"));a&2&&(F("ngIf",void 0===T(1,2,b.hotlistErrorMsg$)),z(2),F("ngIf",T(3,
4,b.hotlistErrorMsg$)))},dependencies:[tw,tM,sM,yM,bO,A0,B0,C0,D0,zw],encapsulation:2});var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275cmp=Bc({type:F0,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&Q(0,rab,3,1,"b-callout",0);a&2&&F("ngIf",b.error)},dependencies:[tw,mX,nX],encapsulation:2});var G0=function(){};G0.\u0275fac=function(a){return new (a||G0)};G0.\u0275mod=Dc({type:G0});G0.\u0275inj=nc({imports:[BF,yX]});var H0=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};H0.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!bn(this.email)};H0.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};H0.\u0275fac=function(a){return new (a||H0)(C(ds))};
H0.\u0275cmp=Bc({type:H0,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],[3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],["role","dialog","aria-label","Group email hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","bv2-group-email-card"],[1,"bv2-group-email-card-content"],[1,"bv2-group-email-card-name"],[1,"bv2-group-email-card-email"],["svgIcon",
"group"],["class","bv2-group-email-card-links-container",4,"ngIf"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"],[4,"ngIf"]],template:function(a,b){a&1&&(tf(),Q(0,xab,17,5,"ng-container",0),Q(1,yab,1,0,"ng-template",null,1,Vf));if(a&2){var c=yf(2);F("ngIf",!!bn(b.email))("ngIfElse",c)}},dependencies:[tw,yw,JA,xJ,CJ],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 I0=function(){};I0.\u0275fac=function(a){return new (a||I0)};I0.\u0275mod=Dc({type:I0});I0.\u0275inj=nc({imports:[BF,$B,JM]});var Hka=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}},J0=function(a){jE.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 Vv;this.chipClear=new Vv;this.chipRemove=new Vv};U(J0,jE);
J0.\u0275dir=jE.\u0275dir;f=J0.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("me`"+this.value);}};
var XYc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};J0.\u0275fac=function(a){return new (a||J0)(C(ds))};
J0.\u0275cmp=Bc({type:J0,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:[Ye],decls:9,vars:15,consts:[[1,"bv2-user-chip-item",3,"ngClass","matTooltip","focus","blur"],[1,"alias-icon"],
[3,"svgIcon",4,"ngIf"],[1,"user-chip-name"],[3,"email",4,"ngIf"],[4,"ngIf"],["role","button","tabindex","-1","class","user-chip-x",3,"matTooltip","click",4,"ngIf"],["class","bv2-user-chip-nested-content-container",4,"ngIf"],[3,"svgIcon"],[3,"email"],["role","button","tabindex","-1",1,"user-chip-x",3,"matTooltip","click"],["svgIcon","close"],[1,"bv2-user-chip-nested-content-container"],[1,"bv2-user-chip-nested-content"],[1,"jfk-bubble"],["class","bv2-user-chip",4,"ngFor","ngForOf"],[1,"jfk-bubble-arrow",
"jfk-bubble-arrowup"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(G(0,"span",0),M("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),G(1,"span",1),Q(2,zab,1,1,"mat-icon",2),H(),G(3,"div",3),Q(4,Aab,2,2,"b-person-hovercard",4),Q(5,Bab,2,2,"b-group-email-card",4),Q(6,Cab,2,1,"div",5),H(),Q(7,Dab,2,2,"div",6),Q(8,
Fab,7,1,"div",7),H());a&2&&(F("ngClass",Ika(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),z(2),F("ngIf",XYc(b)),z(2),F("ngIf",b.isUserChip()),z(1),F("ngIf",b.isGroupChip()),z(1),F("ngIf",!b.isUserChip()&&!b.isGroupChip()),z(1),F("ngIf",!b.isReadonly&&!b.isWidgetDisabled),z(1),F("ngIf",b.isContainerChip()))},dependencies:[rw,sw,tw,JA,ZB,YJ,H0,J0],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 K0=function(){};K0.\u0275fac=function(a){return new (a||K0)};K0.\u0275mod=Dc({type:K0});K0.\u0275inj=nc({imports:[BF,ox,XC,$B,SM,I0,oJ,zR,pZ]});lea(x0,[sw,tw,kg,Uw,$w,yR,oZ,J0]);var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=Dc({type:L0});L0.\u0275inj=nc({providers:[{provide:Nmc,useValue:{enabled:!0}}],imports:[BF,ox,wC,$B,XC,xM,gS,HF,fN,bN,eN,G0,K0,eO]});var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=Dc({type:M0});M0.\u0275inj=nc({imports:[iX,gS,P_,BF,sO,mZ,L0,S_,bN,wC,pA,XC,R_,Q_]});var N0=function(a,b,c,d,e){jE.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=ci;this.hotlists=[];this.registerKeys()};U(N0,jE);N0.\u0275dir=jE.\u0275dir;f=N0.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=KL(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))};
N0.\u0275fac=function(a){return new (a||N0)(C(rd),C(CG),C(DG),C(JL),C(kH,2))};
N0.\u0275cmp=Bc({type:N0,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Cf([kH]),Ye],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&&(G(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),G(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," Hotlist name "),H()()()(),G(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),H()()()(),G(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),R(18," Admins "),H()()()(),G(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),R(23," ID "),H()()()()()(),G(24,"tbody"),Q(25,Iab,11,9,"tr",6),H()());a&2&&(z(25),F("ngForOf",b.hotlists))},dependencies:[sw,tw],encapsulation:2});var O0=function(){};O0.\u0275fac=function(a){return new (a||O0)};O0.\u0275mod=Dc({type:O0});O0.\u0275inj=nc({imports:[BF]});var P0=function(a,b){this.bLocation=a;this.butterBar=b},YYc=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(MF(a.butterBar,"Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};P0.prototype.getCount=function(){var a=YYc(this,"c");return a?Ph(a):null};var ZYc=function(a){return(a=YYc(a,"p"))?Ph(a):null};P0.prototype.getQuery=function(){return YYc(this,"q")};
P0.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(wk).filter(ni):null};P0.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Lta).filter(ni):null};
var Q0=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 $Yc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var g="ASCENDING"==e.direction?"asc":"desc";return $Yc(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)},$Yc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};P0.\u0275fac=function(a){return new (a||P0)(u(CG),u(KF))};P0.\u0275prov=mc({token:P0,factory:P0.\u0275fac,providedIn:"root"});var R0=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};R0.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:yn({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
R0.prototype.getParameters=function(a,b){var c=this,d=b?function(){return aZc(b)}:function(){return bZc(c)},e=b?function(){return cZc(b)}:function(){return dZc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return S0(l)}).then(null,d).then(function(l){return S0(l)}).then(null,OPb(a.displayColumns)).then(function(l){return eZc(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return S0(l)}).then(null,e).then(function(l){return S0(l)}).then(null,
OPb(a.sortColumns));var g=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return S0(l)}).then(null,function(){return fZc(c)}).then(function(l){return S0(l)}).then(null,OPb(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return S0(l)}).then(null,function(){return gZc(b,function(l){return l.query})}).then(null,OPb(a.query));a=ZYc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:g,query:h,page:a}};
var S0=function(a){return null==a?Promise.reject(null):a},aZc=function(a){return gZc(a,function(b){return b.displayColumn}).then(function(b){return hZc(b)})},cZc=function(a){return gZc(a,function(b){return b.sortOrder}).then(function(b){return iZc(b)})},dZc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return S0(b)}).then(function(b){return iZc(b)})},bZc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return S0(b)}).then(function(b){return hZc(b)})},
fZc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(D(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return S0(b)})},gZc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},hZc=function(a){if(!a||!a.length)return null;a=nl(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new vk({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:"CANONICAL_ISSUE_ID"===b.type?"DUPLICATE_OF_ISSUE_ID":b.type})})},iZc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new zk(new vk(b.column),b.order):new zk(new vk(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},eZc=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 x=d[q.customFieldId];q.customFieldName=x?x:"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)};R0.\u0275fac=function(a){return new (a||R0)(u(P0),u(BI),u(VF))};R0.\u0275prov=mc({token:R0,factory:R0.\u0275fac,providedIn:"root"});var T0=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){jE.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=x;this.domSafe=A;this.timeout=B;this.hotkeys=K;this.appSearchState=P;this.ANALYTICS_CATEGORY="panel";this.resource=this.searchResults=this.initialSortPreferences=this.initialIssueColumns=this.displayColumns=null;this.isLoading=!1;this.page=1;this.issueColumnsInternal=[];
this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new Vv;this.resultsLoaded=new Vv;this.selectionChange=new Vv;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 X;null==(X=Y.issuesGrid)||oYc(X)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var X;null==(X=Y.issuesGrid)||pYc(X)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var X;null==(X=Y.issuesGrid)||nYc(X)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var X;null==(X=Y.issuesGrid)||sYc(X)}},{keys:[sn("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var X;null==(X=Y.issuesGrid)||tYc(X,!0)}},{keys:[sn("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var X;null==(X=Y.issuesGrid)||tYc(X,!1)}},{keys:[tn("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var X;null==(X=Y.issuesGrid)||X.selectAll()}},{keys:[tn("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var X;null==(X=Y.issuesGrid)||lYc(X)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(X){var ka=O.document.activeElement;
if(1===X&&"A"===(null==ka?void 0:ka.tagName))if(ka.href)X=Y.paths.getBaseUrl(),Rh(ka.href,X)?b.url(ka.href.slice(X.length)):Y.domSafe.openInNewTab(ka.href);else{var ma;null==(ma=Y.issuesGrid)||qYc(ma)}else{var ya;null==(ya=Y.issuesGrid)||qYc(ya)}}}];this.destroyed$.subscribe(function(){var X;null==(X=Y.unregisterHotkeys)||X.call(Y)})};U(T0,jE);T0.prototype.columnsChange=function(a){this.issueColumns=a};T0.prototype.ngOnInit=function(){this.getIssues();jZc(this)};
var jZc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=KL(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},bbb=function(a,b){a.issuesGrid=b;rYc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};f=T0.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=wk(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new zk(d,"ASC"==b?"ASCENDING":"DESCENDING");sa(this.sortPreferences,function(g){return Kh(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):Oh(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};Kh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(Pc(b),Pc(H7a(a)));this.initialIssueColumns=Lh(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(){uX(this.issuePagination);this.getIssues()};f.exportCsv=function(){Rjc(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 cRc(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return yn({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=Lh(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.focusedIssueIndex_;
-1!=h&&(b.focusedRowIndex=h-g.startIndex)})})};f.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:kZc,sortColumns:[],query:"",resultsPerPage:25}};
f.save=function(){var a=this,b=this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):lZc).length);b=I7a(b).map(function(c){return new vk(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;LF(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=Lh(a.issueColumns);a.initialSortPreferences=Lh(a.sortPreferences);a.cdr.detectChanges()})};
f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(Pc(this.initialIssueColumns||[]));if(this.initialSortPreferences&&!Kh(this.initialSortPreferences,this.sortPreferences)){yaa(this.sortPreferences);var a=this.initialSortPreferences;qs(Caa,this.sortPreferences,void 0,0).apply(null,a);this.refreshResults()}};
f.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!Kh(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!Kh(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 lZc};
f.getSearchParams=function(a){a=Lh(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.url();return a};
ch.Object.defineProperties(T0.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Kh(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&&jZc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var lZc=[r0,s0,t0],kZc="priority type title assignee status issueId modifiedTime".split(" ").map(wk);T0.\u0275fac=function(a){return new (a||T0)(C(kH),C(CG),C(NF),C(ds),C(KF),C(oH),C(tX),C(R0),C(DG),C(OF),C(ZJ),C(tF),C(JL),C(Window),C($X))};
T0.\u0275dir=Gc({type:T0,viewQuery:function(a,b){a&1&&Qf(p0,5);if(a&2){var c;Pf(c=Sf())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[Ye]});var U0=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};U0.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:cn("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)}})};U0.\u0275fac=function(a){return new (a||U0)(C(wI),C(SF))};
U0.\u0275cmp=Bc({type:U0,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&&(G(0,
"div")(1,"button",0),I(2,"mat-icon",1),H(),G(3,"mat-menu",null,2),Q(5,Nab,6,4,"ng-template",3),H()());if(a&2){var b=yf(4);z(1);F("matMenuTriggerFor",b)}},dependencies:[tw,JA,RB,PB,QB,OB,Yz],encapsulation:2});var V0=function(){};V0.\u0275fac=function(a){return new (a||V0)};V0.\u0275mod=Dc({type:V0});V0.\u0275inj=nc({imports:[BF,SB,$B,wC]});var W0=function(){};W0.prototype.getValue=function(){return this.row[this.column.name]||""};W0.prototype.isCustomField=function(){return this.column.isCustomField};
W0.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 Wh(a);Kh(this.customFieldValue,a)||(this.customFieldValue=a);return this.customFieldValue};W0.\u0275fac=function(a){return new (a||W0)};
W0.\u0275cmp=Bc({type:W0,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&&(Q(0,Oab,2,2,"span",0),Q(1,Pab,1,1,"b-custom-field-value-display",1));a&2&&(F("ngIf",!b.isCustomField()),z(1),F("ngIf",b.isCustomField()))},dependencies:[tw,NZ],encapsulation:2,changeDetection:0});var X0=function(){};X0.\u0275fac=function(a){return new (a||X0)};X0.\u0275mod=Dc({type:X0});X0.\u0275inj=nc({imports:[BF,XC,OZ]});lea(c0,[sw,tw,yw,h0,W0]);var Y0=function(){};Y0.\u0275fac=function(a){return new (a||Y0)};Y0.\u0275mod=Dc({type:Y0});Y0.\u0275inj=nc({imports:[BF,JM]});var Z0=function(){};Z0.\u0275fac=function(a){return new (a||Z0)};Z0.\u0275mod=Dc({type:Z0});Z0.\u0275inj=nc({imports:[BF,Y0,IM]});var a1=function(){};a1.\u0275fac=function(a){return new (a||a1)};a1.\u0275mod=Dc({type:a1});a1.\u0275inj=nc({imports:[k0,BF,SB,LS,XC,wC,pA,Dz,bN,$B,X0,wS,yS,IM,zS,oJ,SM,dT,Z0,YM,sO,eT,MZ,JM,BO,XM]});var b1=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
b1.prototype.repositionIssue=function(a,b,c,d,e,g){var h=this,l=b[0].position,q=l>b[1].position,x=b[c],A=b[d].position;Iaa(b,c,d);null==g||g();LF(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,x.issueId,A).then(function(){for(var B=l,K=k(b),O=K.next();!O.done;O=K.next())O.value.position=B,B+=q?-1:1;null==g||g();LF(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
b1.\u0275fac=function(a){return new (a||b1)(u(OG),u(KF),u(SF))};b1.\u0275prov=mc({token:b1,factory:b1.\u0275fac,providedIn:"root"});var c1=function(a){this.buttonRef=a;this.toRefocus=!1};c1.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}))};c1.\u0275fac=function(a){return new (a||c1)(C(rd))};
c1.\u0275dir=Gc({type:c1,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[Uc]});var d1=function(){this.pageChange=new Vv;this.resultsPerPageChange=new Vv;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};d1.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var mZc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
ch.Object.defineProperties(d1.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}})}}});d1.\u0275fac=function(a){return new (a||d1)};
d1.\u0275cmp=Bc({type:d1,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&&(G(0,"div",0),Q(1,Qab,1,1,"b-actions-menu",1),Q(2,Rab,6,3,"span",2),G(3,"button",3),M("click",function(){return mZc(b)})("keydown.enter",function(c){mZc(b);return c.stopPropagation()}),I(4,"mat-icon",4),H(),G(5,"button",5),M("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),I(6,"mat-icon",6),H()());a&2&&(z(1),F("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),z(1),F("ngIf",b.searchResults&&0<b.searchResults.issues.length),z(1),F("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),z(2),F("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[tw,JA,Yz,yK,c1],encapsulation:2});var e1=function(){};e1.\u0275fac=function(a){return new (a||e1)};e1.\u0275mod=Dc({type:e1});e1.\u0275inj=nc({});var f1=function(){};f1.\u0275fac=function(a){return new (a||f1)};f1.\u0275mod=Dc({type:f1});f1.\u0275inj=nc({imports:[BF,wC,$B,LR,e1]});var g1=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka){T0.call(this,c,e,g,h,l,q,x,A,B,d,K,P,Y,X,ka);this.hotlists=a;this.hotlistApi=b;this.appEvents=O;this.resource=null};U(g1,T0);g1.\u0275dir=T0.\u0275dir;f=g1.prototype;f.ngOnInit=function(){T0.prototype.ngOnInit.call(this)};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?T0.prototype.setSort.call(this,a,b,!1):T0.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"});LF(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)});MF(this.butterBar,"Hotlist is not set at this time.");
return Promise.resolve()};f.getGridPreferencesDefaults=function(){return Object.assign({},T0.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?nZc:oZc};f.getSearchParams=function(a){a=T0.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")})};g1.\u0275fac=function(a){return new (a||g1)(C(b1),C(OG),C(kH,2),C(OF),C(CG),C(NF),C(ds),C(KF),C(oH),C(tX),C(R0),C(DG),C(ZJ),C(SF),C(tF),C(JL),C(iE),C($X))};
g1.\u0275cmp=Bc({type:g1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Cf([kH]),Ye],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&&(G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,Sab,2,0,"div",3),Q(4,Uab,2,0,"div",3),Q(5,Xab,8,5,"div",3),H(),Q(6,Yab,5,0,"div",4),G(7,"b-pagination",5),
M("pageChange",function(c){return b.goToPage(c.page)}),H()(),Q(8,dbb,4,3,"div",3),H());a&2&&(bf("aria-busy",b.isLoading),z(3),F("ngIf",!b.resource&&!b.isLoading),z(1),F("ngIf",!b.resource&&b.isLoading),z(1),F("ngIf",b.resource),z(1),F("ngIf",b.hasParamChanges()),z(1),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),F("ngIf",b.resource))},dependencies:[tw,p0,Yz,ZB,d1,U0,zL],encapsulation:2});var oZc=[r0,s0,t0,vYc],nZc=[r0,uYc,s0,t0,vYc],h1=function(){};
h1.\u0275fac=function(a){return new (a||h1)};h1.\u0275mod=Dc({type:h1});h1.\u0275inj=nc({imports:[BF,a1,wC,XC,f1,V0,eN]});var i1=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y){T0.call(this,b,d,e,g,h,l,q,x,A,c,B,K,O,P,Y);this.savedSearchApi=a;this.resource=null};U(i1,T0);i1.\u0275dir=T0.\u0275dir;i1.prototype.ngOnInit=function(){T0.prototype.ngOnInit.call(this)};i1.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};i1.prototype.saveResource=function(){return Promise.resolve()};
i1.\u0275fac=function(a){return new (a||i1)(C(HS),C(kH,2),C(OF),C(CG),C(NF),C(ds),C(KF),C(oH),C(tX),C(R0),C(DG),C(ZJ),C(tF),C(JL),C(iE),C($X))};
i1.\u0275cmp=Bc({type:i1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Cf([kH]),Ye],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&&(G(0,"div",0)(1,"div",1)(2,"div",2),Q(3,ebb,2,0,"div",3),Q(4,fbb,2,0,"div",3),Q(5,ibb,8,5,"div",4),H(),G(6,"b-pagination",5),M("pageChange",function(c){return b.goToPage(c.page)}),H()(),Q(7,nbb,4,3,"div",3),H());a&2&&(bf("aria-busy",b.isLoading),z(3),F("ngIf",!b.resource&&!b.isLoading),z(1),F("ngIf",!b.resource&&b.isLoading),z(1),F("ngIf",b.resource),z(1),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),z(1),F("ngIf",b.resource))},
dependencies:[tw,p0,ZB,d1,U0,zL],encapsulation:2});var j1=function(){};j1.\u0275fac=function(a){return new (a||j1)};j1.\u0275mod=Dc({type:j1});j1.\u0275inj=nc({imports:[BF,a1,XC,f1,V0,eN]});var k1=function(){this.label="Team"};k1.prototype.ngOnInit=function(){};k1.\u0275fac=function(a){return new (a||k1)};
k1.\u0275cmp=Bc({type:k1,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},decls:3,vars:2,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"span",1),Q(2,obb,3,3,"span",2),H()());a&2&&(bf("aria-label",b.label),z(2),F("ngForOf",b.teamPath))},dependencies:[sw,xG],encapsulation:2});var l1=function(){};l1.\u0275fac=function(a){return new (a||l1)};l1.\u0275mod=Dc({type:l1});l1.\u0275inj=nc({imports:[BF,BG,WM]});var pZc=["form"],qZc=["numberInput"],rZc=/^\d+\.?\d*$/,sZc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},m1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new Vv;this.displayUnits=0;this.timeUnitEnum=sZc};
m1.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()})};m1.prototype.ngAfterViewInit=function(){};
m1.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))};m1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};m1.\u0275fac=function(a){return new (a||m1)};
m1.\u0275cmp=Bc({type:m1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(Qf(pZc,7),Qf(qZc,7));if(a&2){var c;Pf(c=Sf())&&(b.form=c.first);Pf(c=Sf())&&(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&&(G(0,"form",null,0)(2,"div",1)(3,"mat-form-field",2)(4,"mat-label"),R(5," Custom Duration "),H(),G(6,"input",3,4),M("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");rZc.test(d)||c.preventDefault()}),H()(),G(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),R(11,"days"),H(),G(12,"mat-option",6),R(13,"year(s)"),H()()()()());a&2&&(z(6),F("ngModel",b.displayNumber)("disabled",b.disabled),bf("aria-label",b.ariaLabel),z(3),F("ngModel",b.displayUnits)("disabled",b.disabled),z(1),F("value",b.timeUnitEnum.DAYS),z(2),F("value",b.timeUnitEnum.YEARS))},dependencies:[ax,kg,bx,Uw,Vw,jx,$w,Yw,xA,wA,AA,iO,$z],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 n1=function(){};n1.\u0275fac=function(a){return new (a||n1)};n1.\u0275mod=Dc({type:n1});n1.\u0275inj=nc({imports:[BF,ox,BA,yA,jO,JT]});var o1=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};o1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};o1.prototype.onNoClick=function(){this.dialogRef.close(!1)};o1.\u0275fac=function(a){return new (a||o1)(C(hA),C(jA),C(vI))};
o1.\u0275cmp=Bc({type:o1,selectors:[["b-field-state-change-confirmation-dialog"]],decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1),H(),G(2,"div",1)(3,"p"),R(4,
" The "),G(5,"strong"),R(6),H(),R(7," field will change state from "),G(8,"strong"),R(9),H(),R(10," to "),G(11,"strong"),R(12),H(),R(13,". "),H(),Q(14,pbb,6,2,"p",2),G(15,"p"),R(16,"Are you sure?"),H()(),G(17,"div",3)(18,"button",4),M("click",function(){return b.onNoClick()}),R(19," Cancel "),H(),G(20,"button",5),R(21," Confirm "),H()());a&2&&(z(1),zf("Field State Change for ",b.data.fieldName,""),z(5),Af(b.data.fieldName),z(3),Af(b.data.oldFieldState),z(3),Af(b.data.newFieldState),z(2),F("ngIf",
b.data.noteText),z(6),F("mat-dialog-close",!0))},dependencies:[tw,Yz,lA,mA,nA,oA],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var tZc=["fieldStateMenuButton"],uZc=function(a){return{"mat-stroked-button":a}},p1=function(a){this.dialog=a;this.fieldName="";this.fieldState=1;this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new Vv;this.FieldStateProto=tqa;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."}};p1.prototype.ngOnInit=function(){this.updateMenuButton()};
p1.prototype.ngOnChanges=function(){this.updateMenuButton()};
var wZc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?vZc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},vZc=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);fA(a.dialog.open(o1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:xZc(a,a.fieldState),newFieldState:xZc(a,b),noteText:e}})).pipe(Ce()).subscribe(function(g){g?
(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};p1.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=xZc(this,this.fieldState)};var xZc=function(a,b){switch(b){case 1:return a.defaultLabel;case 2:return a.msgs.hiddenName;case 3:return a.msgs.visibleName;default:nh(b,"Unknown FieldState.")}};p1.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};
p1.\u0275fac=function(a){return new (a||p1)(C(kA))};
p1.\u0275cmp=Bc({type:p1,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&Qf(tZc,5,rd);if(a&2){var c;Pf(c=Sf())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[Uc],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&&(G(0,"div")(1,"button",0,1)(3,"div",2),I(4,"span",3)(5,"b-icon",4),H()()(),G(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),M("click",function(){return wZc(b,b.FieldStateProto.INHERIT)}),I(11,"b-icon",9),G(12,"div",10),R(13),H(),G(14,"div",11),R(15),H()()(),I(16,"mat-divider"),G(17,"button",12),M("click",function(){return wZc(b,b.FieldStateProto.DISABLED)}),G(18,"div",13)(19,"div",
14),I(20,"b-icon",9),G(21,"div",10),R(22),H(),G(23,"div",11),R(24),H()()()(),G(25,"button",12),M("click",function(){return wZc(b,b.FieldStateProto.ENABLED)}),G(26,"div",13)(27,"div",14),I(28,"b-icon",9),G(29,"div",10),R(30),H(),G(31,"div",11),R(32),H()()()()()());if(a&2){var c=yf(7);z(1);F("ngClass",Ff(16,uZc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);z(3);F("innerHTML",b.menuLabel,Hd);z(6);mf("b-menu-item-checked",b.fieldState===b.FieldStateProto.INHERIT);z(3);zf(" ",b.defaultLabel,
" ");z(2);zf(" ",b.msgs.inheritDescription," ");z(2);mf("b-menu-item-checked",b.fieldState===b.FieldStateProto.DISABLED);z(5);zf(" ",b.msgs.hiddenName," ");z(2);zf(" ",b.msgs.hiddenDescription," ");z(1);mf("b-menu-item-checked",b.fieldState===b.FieldStateProto.ENABLED);z(5);zf(" ",b.msgs.visibleName," ");z(2);zf(" ",b.msgs.visibleDescription," ")}},dependencies:[rw,Yz,AL,RB,PB,QB,GM],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 q1=function(){};q1.\u0275fac=function(a){return new (a||q1)};q1.\u0275mod=Dc({type:q1});q1.\u0275inj=nc({imports:[BF,wC,pA,LS,SB,bN,gS]});var r1=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};r1.prototype.close=function(){this.dialogRef.close(!1)};r1.\u0275fac=function(a){return new (a||r1)(C(jA),C(hA))};
r1.\u0275cmp=Bc({type:r1,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&&(G(0,"h1",0),R(1,"Unsubscribe From Issue"),H(),G(2,"mat-dialog-content")(3,"div",1),R(4," Are you sure you would like to unsubscribe from the following issue? "),
H(),I(5,"br"),G(6,"div",2)(7,"a",3)(8,"span"),R(9),H()(),R(10," - "),G(11,"span"),R(12),H()(),I(13,"br"),G(14,"div",1),R(15," By unsubscribing, you will no longer receive email updates about this issue. "),H()(),G(16,"mat-dialog-actions")(17,"button",4),M("click",function(){return b.close()}),R(18," Cancel "),H(),G(19,"button",5),M("click",function(){b.dialogRef.close(!0)}),R(20," Unsubscribe "),H()());a&2&&(z(7),vf("href","/issues/",b.issueId,"",Id),z(2),zf("b/",b.issueId,""),z(3),Af(b.issueTitle))},
dependencies:[mA,nA,oA,Yz],encapsulation:2});var yZc=function(a,b){return{small:a,medium:b}},zZc=function(a){return{black:a}},s1=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 Vv;this.showNotificationSettings=new Vv;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=L7b;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"}]])};s1.prototype.ngOnInit=function(){AZc(this)};s1.prototype.ngOnChanges=function(){this.updateMenuButton()};s1.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};s1.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var AZc=function(a){var b,c;de(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():d.yield((0,E.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress)return(b=d.yieldResult)?d.yield((0,E.firstValueFrom)(fA(a.matDialogService.open(r1,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3):d.return();if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent(Gn.EDIT_ISSUE,
"unsubscribeUsingDialog");ie(d)})};ch.Object.defineProperties(s1.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});s1.\u0275fac=function(a){return new (a||s1)(C(ds),C(kA),C(tH),C(oH),C(YI))};
s1.\u0275cmp=Bc({type:s1,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[Uc],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=v();G(0,"div")(1,"button",0)(2,"div",1);I(3,"b-icon",2);Q(4,qbb,3,1,"ng-container",
3);H()()();G(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);M("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});I(10,"b-icon",8);G(11,"div",9);R(12," Default ");H();G(13,"div",10);R(14," receive emails based on your default settings. ");H()();I(15,"mat-divider",11);G(16,"button",12);M("click",function(h){return b.showNotificationSettings.emit(h)});I(17,"b-icon",13);H()();I(18,"mat-divider");G(19,"div",14)(20,"button",15);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});
G(21,"div",16);I(22,"b-icon",8);G(23,"div",9);R(24," All Updates ");H();G(25,"div",10);R(26," receive emails for major and minor updates. ");H()()();G(27,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){w(c);var h=yf(29);return y(h.toggle(!0))})("blur",function(){w(c);var h=yf(29);return y(h.toggle(!1))});G(28,"xap-bubble",18,19);I(30,"mat-icon",20);Q(31,rbb,13,0,"ng-template",null,21,Vf);H()()();G(33,"div",14)(34,
"button",22);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});G(35,"div",16);I(36,"b-icon",8);G(37,"div",9);R(38," Major Updates ");H();G(39,"div",10);R(40," receive emails for major updates only. ");H()()();G(41,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){w(c);var h=yf(43);return y(h.toggle(!0))})("blur",function(){w(c);var h=yf(43);return y(h.toggle(!1))});
G(42,"xap-bubble",18,23);I(44,"mat-icon",20);Q(45,sbb,15,0,"ng-template",null,24,Vf);H()()();G(47,"button",25);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});G(48,"div",14)(49,"div",16);I(50,"b-icon",8);G(51,"div",9);R(52," Closure Only ");H();G(53,"div",10);R(54," only receive emails when the issue is closed. ");H()()()();G(55,"button",25);M("click",function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});G(56,"div",
14)(57,"div",16);I(58,"b-icon",8);G(59,"div",9);R(60," None ");H();G(61,"div",10);R(62," unsubscribe from further email updates. ");H()()()()()()}if(a&2){var d=yf(6),e=yf(32),g=yf(46);z(1);mf("icon-only",b.iconOnly);F("ngClass",Gf(26,yZc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);bf("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||"UNKNOWN_SUBSCRIPTION").label);z(2);F("name",b.menuIcon)("ngClass",Ff(29,zZc,"notifications-off"===
b.menuIcon));z(1);F("ngIf",!b.iconOnly);z(5);mf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);z(6);F("vertical",!0);z(5);mf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);z(7);bf("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);F("panelTemplate",e)("overlayPositions",b.bubblePosition);z(6);mf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);z(7);bf("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);F("panelTemplate",g)("overlayPositions",b.bubblePosition);z(5);mf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);
z(8);mf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[rw,tw,JA,Yz,AL,RB,PB,QB,GM,mO],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 t1=function(){};t1.\u0275fac=function(a){return new (a||t1)};t1.\u0275mod=Dc({type:t1});t1.\u0275inj=nc({imports:[BF,wC,LS,SB,bN,gS,rO,$B]});var u1=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new Vv;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},BZc=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()};
u1.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};u1.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
ch.Object.defineProperties(u1.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)}}});u1.\u0275fac=function(a){return new (a||u1)(C(rS),C(kH,2))};
u1.\u0275cmp=Bc({type:u1,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Cf([kH])],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=v();G(0,"div",0)(1,"input",1,2);M("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){w(c);var e=yf(2);return y(BZc(b,e.value))})("input",function(){w(c);var e=yf(2);return y(BZc(b,e.value))});H();G(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});Q(5,tbb,2,2,"mat-option",5);
H()()}if(a&2){var d=yf(4);z(1);F("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);z(2);F("displayWith",b.displayFn);z(2);F("ngForOf",b.dropdownChoices)}},dependencies:[sw,GO,FO,$z,kg,Uw,$w],encapsulation:2});var v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=Dc({type:v1});v1.\u0275inj=nc({imports:[BF,HO,ox]});var CZc=function(a){return{"empty-list-field-indication":a}},w1=function(a){this.documentationLinks=a;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new Vv;this.validChange=new Vv;this.RetentionSelection=S7b};
w1.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Dp(this)};w1.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Dp(this)};
var Dp=function(a){var b=a.validChange,c=b.emit,d;if(d=Ep(a))d=a.hasRetentionSelection(a.model.piiRetentionSelection)&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!DZc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||EZc(a));c.call(b,d)};w1.prototype.hasRetentionSelection=function(a){return a&&a!==this.RetentionSelection.UNSPECIFIED_RETENTION};
var Ep=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)},vbb=function(a){return a?Eza(a):"[unset period]"},EZc=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},zbb=function(a){if(!Ep(a)||EZc(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 "+vbb(e):"Restricted+ retention must not exceed Restricted retention."},DZc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},Cbb=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};w1.\u0275fac=function(a){return new (a||w1)(C(vI))};
w1.\u0275cmp=Bc({type:w1,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&&(G(0,"mat-radio-group",0),M("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),G(1,"p")(2,"b"),R(3,"Issue Retention"),H()(),G(4,"mat-radio-button",1),R(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),H(),G(6,"mat-radio-button",2),R(7," Custom retention period "),Q(8,ubb,2,0,"span",3),Q(9,wbb,4,
3,"div",4),H(),G(10,"mat-radio-button",5),R(11),Q(12,xbb,13,0,"div",6),H()(),G(13,"mat-radio-group",7),M("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);Dp(b)}),G(14,"p"),I(15,"br"),G(16,"b"),R(17,"Restricted Comments/Attachments Retention "),H(),G(18,"a",8),R(19,"Learn more "),H()(),G(20,"mat-radio-button",1),R(21," Buganizer default retention period : 60 days "),Q(22,ybb,2,0,"span",3),
H(),G(23,"mat-radio-button",9),R(24," Custom retention period "),Q(25,Abb,2,1,"span",3),Q(26,Dbb,16,7,"div",4),H(),G(27,"mat-radio-button",5),R(28," Match Issue Retention "),Q(29,Ebb,3,0,"div",10),H()());a&2&&(F("ngClass",Ff(28,CZc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),z(4),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),F("value",b.RetentionSelection.CUSTOM_PERIOD),
z(2),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&3650>=b.model.retentionPeriodDays)),z(1),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(1),zf(" Indefinite retention period ",b.isExternal?"(Internal components only)":""," "),z(1),F("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),
z(1),F("ngClass",Ff(30,CZc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),z(5),F("rel",b.EXTERNAL_LINK_REL),bf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Id),z(2),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),z(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&DZc(b)),z(1),F("aria-label","Custom Retention Period,"+
zbb(b))("disabled",!Ep(b))("value",b.RetentionSelection.CUSTOM_PERIOD),z(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!EZc(b)),z(1),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),z(1),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),z(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&Cbb(b)))},dependencies:[rw,tw,Uw,$w,DM,EM,m1],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 x1=function(){};x1.\u0275fac=function(a){return new (a||x1)};x1.\u0275mod=Dc({type:x1});x1.\u0275inj=nc({imports:[BF,ox,gN,n1]});var FZc=function(){this.type="component";this.includeChildren=!1},GZc=function(){this.type="tracker"},HZc=function(){this.type="team";this.includeChildren=!1},IZc=function(){this.type="hotlist"},JZc=function(){this.type="savedsearch"},KZc=function(){this.type="customfield"};var LZc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},MZc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),NZc=MZc.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(" ")),
OZc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),PZc="(?:\\s|^)(-?)(customfield\\d+|"+NZc.join("|")+")(:|>|<|>=|<=|=)";var y1=function(a,b,c,d,e,g,h,l,q){jE.call(this);var x=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(A){return QZc(x,A)}},{updateHeader:function(A){return RZc(x,A)}},{updateHeader:function(A){return SZc(x,A)}},{updateHeader:function(A){return TZc(x,A)}},{updateHeader:function(A){return UZc(x,
A)}},{updateHeader:function(A){return VZc(x,A)}},{updateHeader:function(A){return WZc(x,A)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new E.Subject;this.refreshRequest$=new E.Subject;this.refreshRequest$.pipe(ze(250),Pe(this.destroyed$)).subscribe(function(A){XZc(x,A.currentRequestIndex,A.currentSearchContext)});this.sessionIsInternal=q.isInternalSession();a=new Set(NZc);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=k(OZc),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"]))};U(y1,jE);y1.\u0275dir=jE.\u0275dir;y1.prototype.isTrackerSearchEnabled=function(){return!this.currentTracker.inTracker};
var XZc=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,Pc(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()})},QZc=
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 YZc(a,b);switch(b.label.val){case "archived":return Promise.resolve(Hp(ZZc,b.value,!0));case "componentid":case "c":return $Zc(a,b);case "deleted":return a_c(b);case "deletionreason":return Promise.resolve(Hp(b_c,b.value,!0));case "hotlistid":case "h":return c_c(a,b);case "savedsearchid":return d_c(a,b);case "status":case "is":return Promise.resolve(Hp(e_c,
b.value,!0));case "trackerid":return f_c(a,b);case "teamid":return g_c(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Hp(h_c,b.value,!0));case "severity":case "s":return Promise.resolve(Hp(i_c,b.value,!0));case "inprod":case "star":case "mute":return a_c(b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];for(var d=Gbb(b.value.val),e=k(a.atoms),g=e.next();!g.done;g=e.next())if(g=g.value,d.token!==g&&Rh(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 Jp(l.name,q.name)});return Promise.resolve(c)},YZc=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if("ENUM"!==c.type||!c.allowedValue)return[];
var d=c.allowedValue.map(function(e){return{trackId:"customfieldvalue:"+e,id:e,label:"Custom field "+c.name,name:e,completionCfg:{type:"customfieldvalue",completionValue:'"'+e+'"'}}});return Hp(d,b.value,!1,!1)}):Promise.reject(null)};y1.prototype.matchType=function(a){return Promise.resolve(Hp(j_c,a.value,!0))};
var a_c=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Hp([{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))},$Zc=function(a,b){var c=b.value.val;return!c||Gp(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
y1.prototype.processResponse=function(a,b){var c=a.value.val,d=[],e={};b=k(b);for(var g=b.next();!g.done;e={$jscomp$loop$prop$paths$2335:e.$jscomp$loop$prop$paths$2335,$jscomp$loop$prop$startIdx$2336:e.$jscomp$loop$prop$startIdx$2336,$jscomp$loop$prop$endIdx$2337:e.$jscomp$loop$prop$endIdx$2337},g=b.next()){g=g.value;var h=g.componentId;e.$jscomp$loop$prop$startIdx$2336=a.value.idx;e.$jscomp$loop$prop$endIdx$2337=e.$jscomp$loop$prop$startIdx$2336+c.length;e.$jscomp$loop$prop$paths$2335=Ir(this.currentTracker,g.componentPathInfo);
g={componentId:h,name:g.name,description:g.description,trackId:"component:"+h,accessLimit:g.accessLimit,trackerId:g.trackerId,completionCfg:{type:"component",startIdx:e.$jscomp$loop$prop$startIdx$2336,endIdx:e.$jscomp$loop$prop$endIdx$2337,completionValue:""+h,matchingString:c},componentPath:e.$jscomp$loop$prop$paths$2335.componentPathId.map(function(l){return function(q,x){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.$jscomp$loop$prop$paths$2335.componentPathName[x]),completionCfg:{type:"component",
completionValue:String(q),startIdx:l.$jscomp$loop$prop$startIdx$2336,endIdx:l.$jscomp$loop$prop$endIdx$2337}}}}(e))};d.push(g)}return d};
var g_c=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||Gp(c,!0))return Promise.reject(null);var d=Ll();JH(a.teamsService,c).pipe(Pe(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,l=[],q={};e=k(e);for(var x=e.next();!x.done;q={$jscomp$loop$prop$pathNames$2339:q.$jscomp$loop$prop$pathNames$2339},x=e.next())x=x.value,q.$jscomp$loop$prop$pathNames$2339=x.pathNames,x={trackId:"team:"+x.teamId,name:x.name,id:x.teamId,label:"Team "+x.teamId,pathIds:x.pathIds,pathNames:x.pathNames,
description:x.description,completionCfg:{type:"team",startIdx:g,endIdx:h,completionValue:String(x.teamId),matchingString:c},teamPath:x.pathIds.map(function(A){return function(B,K){return{trackId:"team:"+B,id:B,name:A.$jscomp$loop$prop$pathNames$2339[K],completionCfg:{type:"team",completionValue:String(B),startIdx:g,endIdx:h}}}}(q))},l.push(x);d.resolve(l)},function(){d.reject()});return d.promise},RZc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);
var c=new FZc;b=b.value.val;return Gp(b,!0)?(ss(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)},UZc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new GZc,d=Ll();b=b.value.val;Gp(b)?a.trackerFridge.watchOne(b).pipe(Pe(a.destroyed$)).subscribe(function(e){c.tracker=
e;d.resolve(c)}):b&&d.resolve(c);return d.promise},WZc=function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new HZc,d=Ll(),e=b.value.val;Gp(e,!0)?(ss(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),JH(a.teamsService,e).pipe(Pe(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},SZc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new IZc;b=b.value.val;return Gp(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},TZc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new JZc;b=b.value.val;return Gp(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=
d;return c}):b?Promise.reject(null):Promise.resolve(c)},VZc=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(Rh(b.value.val,"customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),Lm("search-usage","customfield");else return Promise.reject(null);var d=new KZc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},f_c=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||Gp(c,!0))return Promise.reject(null);
var d=Ll();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(Pe(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},c_c=function(a,b){return Gp(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 Hp(c,b.value,!1,!0)})},d_c=function(a,b){return Gp(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 Hp(c,
b.value,!1,!0)})};y1.\u0275fac=function(a){return new (a||y1)(u(WG),u(QH),u(sK),u(VF),u(OG),u(HS),u(LT),u(HH),u(ds))};y1.\u0275prov=mc({token:y1,factory:y1.\u0275fac,providedIn:"root"});
var e_c="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Ip(a,"status","Status","status")}),j_c="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Ip(a,"bugType","Type","type")}),h_c=["p0","p1","p2","p3","p4"].map(function(a){return Ip(a,"priority","Priority","priority")}),i_c=["s0","s1",
"s2","s3","s4"].map(function(a){return Ip(a,"severity","Severity","severity")}),ZZc=["all","true","false"].map(function(a){return Ip(a,"archived","Archived","archived")}),b_c=["abuse","pii","user_request","retention"].map(function(a){return Ip(a,"deletionReason","Deletion Reason","deletionreason")});var z1=function(){};z1.\u0275fac=function(a){return new (a||z1)};z1.\u0275mod=Dc({type:z1});z1.\u0275inj=nc({imports:[BF,vN,UY,px,jO]});var A1=function(a){this.cdr=a;this.optionsChange=new Vv};A1.prototype.ngOnInit=function(){Hbb(this)};
var Hbb=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},Ibb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},k_c=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);Ibb(a)},l_c=function(a){var b=
[],c=!0,d;for(d in a.options.propertyValues){var e=a.options.propertyValues[d];e.value?b.push(e.displayString):c=!1}return c?a.selectAllText:b.join(", ")};A1.\u0275fac=function(a){return new (a||A1)(C(kH,2))};
A1.\u0275cmp=Bc({type:A1,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Cf([kH])],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&&(G(0,"div")(1,"button",
0)(2,"div",1)(3,"span",2),R(4),R(5," \u00a0 "),H(),I(6,"mat-icon",3),H()(),G(7,"mat-menu",null,4)(9,"div",5),M("click",function(d){return k_c(b,d)}),G(10,"mat-checkbox",6),M("change",function(d){b.selectAllValue=d.checked;return k_c(b)}),R(11),H()(),I(12,"mat-divider"),Q(13,Jbb,4,3,"div",7),S(14,"keyvalue"),H(),Q(15,Kbb,2,1,"div",8),H());if(a&2){var c=yf(8);z(1);mf("ng-invalid",!!b.errorString);F("matMenuTriggerFor",c);z(3);zf(" ",l_c(b)," ");z(5);bf("aria-checked",b.selectAllValue);z(1);F("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);z(1);zf(" ",b.selectAllText," ");z(2);F("ngForOf",T(14,10,b.options.propertyValues));z(2);F("ngIf",!!b.errorString)}},dependencies:[sw,tw,JA,BN,RB,PB,QB,AL,Yz,Ew],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var m_c=function(a,b){this.displayString=a;this.value=b},n_c=function(a){this.propertyValues=a},o_c=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},kcb=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};n_c.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var B1=function(){};B1.\u0275fac=function(a){return new (a||B1)};B1.\u0275mod=Dc({type:B1});B1.\u0275inj=nc({imports:[BF,fO,SB,LS,wC,$B]});var p_c=function(a,b){this.name=a;this.secondsPerUnit=b},q_c=new p_c("minute",60),r_c=new p_c("hour",3600),s_c=new p_c("day",86400),C1=function(){this.errorString=null;this.objectiveDurationChange=new Vv;this.objectiveBusinessDaysChange=new Vv;this.intervalUnit=s_c};C1.prototype.ngOnInit=function(){t_c(this)};C1.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&t_c(this)};
var Nbb=function(a,b){b=b.name;1!==Ph(a.intervalString)&&(b+="s");return b};C1.prototype.getUnits=function(){return"BUSINESS"===this.dayType?[q_c,r_c]:[q_c,r_c,s_c]};
var t_c=function(a){"BUSINESS"!==a.dayType&&u_c(a,s_c)||u_c(a,r_c)||u_c(a,q_c);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},u_c=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):a.getUnits().includes(a.intervalUnit)||(a.intervalUnit=b),!0):!1},Lbb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);Pbb(a);
Qbb(a)},Pbb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(Ph(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},Qbb=function(a){a.objectiveBusinessDays=Ph(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};C1.\u0275fac=function(a){return new (a||C1)};
C1.\u0275cmp=Bc({type:C1,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[Uc],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&&(Q(0,Rbb,6,6,"span",0),Q(1,Vbb,3,2,"span",1));a&2&&(F("ngIf",!b.isDisabled),z(1),F("ngIf",b.isDisabled))},dependencies:[sw,
tw,kg,Uw,$w,iO,$z],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 D1=function(){this.typeStringToJSPB=new Map([["BUG",1],["FEATURE_REQUEST",2],["CUSTOMER_ISSUE",3],["INTERNAL_CLEANUP",4],["PROCESS",5],["VULNERABILITY",6],["PRIVACY_ISSUE",7],["PROJECT",8],["FEATURE",9],["MILESTONE",10],["EPIC",11],["STORY",12],["TASK",13]]);this.jspbTypeToString=new Map([[1,"BUG"],[2,"FEATURE_REQUEST"],[3,"CUSTOMER_ISSUE"],[4,"INTERNAL_CLEANUP"],[5,"PROCESS"],[6,"VULNERABILITY"],[7,"PRIVACY_ISSUE"],[8,"PROJECT"],[9,"FEATURE"],[10,"MILESTONE"],[11,"EPIC"],[12,"STORY"],[13,"TASK"]]);
this.priorityStringToJSPB=new Map([["P0",1],["P1",2],["P2",3],["P3",4],["P4",5]]);this.jspbPriorityToString=new Map([[1,"P0"],[2,"P1"],[3,"P2"],[4,"P3"],[5,"P4"]]);this.postmortemValuesToCanonical=new Map([["TRUE","ANY"],["FALSE","NONE"],["ANY","ANY"],["NONE","NONE"]]);this.canonicalGroupQueryKeywordToQueryValue=new Map([["ANY","any"],["NONE","none"]])},y_c=function(a,b){var c=new v_c,d=w_c(b,"type",function(g){var h=g.toUpperCase(),l=new x_c;a.typeStringToJSPB.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.typeStringToJSPB.get(d.value));d=w_c(b,"priority",function(g){var h=g.toUpperCase(),l=new x_c;a.priorityStringToJSPB.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.priorityStringToJSPB.get(d.value));b=w_c(b,"postmortem",function(g){var h=
g.toUpperCase(),l=new x_c;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},w_c=function(a,b,c){var d=new z_c;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};D1.\u0275fac=function(a){return new (a||D1)(u(II),u(ds))};D1.\u0275prov=mc({token:D1,factory:D1.\u0275fac,providedIn:"root"});var v_c=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},z_c=function(){this.values=[];this.error=""},x_c=function(){this.error=this.value=""};var E1=function(){};E1.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};E1.\u0275fac=function(a){return new (a||E1)};E1.\u0275dir=Gc({type:E1,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[Cf([{provide:Qw,useExisting:E1,multi:!0}])]});var F1=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new Vv;this.onValidation=new Vv;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(nCc);this.dayTypes=["CALENDAR","BUSINESS"];nCc.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},Gcb=function(a,b,c){lcb(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},Jcb=function(a,b,c){c=Mcb(a,b,c);var d=c.newOffset;
c.valid&&(lcb(a),ra(a.collection,b),ra(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),A_c(a))},Mcb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},lcb=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},B_c=function(a,b){var c=b.map(function(d){return new G1(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
dcb=function(a){return"METRIC_UNSPECIFIED"===a?" - ":oCc.get(a)},rcb=function(a,b){return 0!==b&&a.constants.protoIssueTypesDisplayNames.has(b)?a.constants.protoIssueTypesDisplayNames.get(b):" - "},wcb=function(a,b){return 0!==b&&a.constants.protoIssuePrioritiesDisplayNames.has(b)?a.constants.protoIssuePrioritiesDisplayNames.get(b):" - "},mcb=function(a,b){lcb(a);ra(a.collection,b);ra(a.boundCollection,b.sloElement);A_c(a)},Ybb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:cn("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];A_c(a)},onDismiss:function(){}});b.stopPropagation()},Wbb=function(a,b){var c=new G1({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);Gcb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);A_c(a)};
F1.prototype.onDrop=function(a){Jcb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var A_c=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
ch.Object.defineProperties(F1.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){B_c(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}}});F1.\u0275fac=function(a){return new (a||F1)(C(II),C(D1),C(wI))};
F1.\u0275cmp=Bc({type:F1,selectors:[["slo-elements-picker"]],inputs:{collectionInput:["collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},decls:29,vars:5,consts:[[1,"bv2-slo-elements-picker"],[1,"bv2-slo-elements-table-label","edit-field-header"],["href","http://g3doc/company/teams/buganizer/user-guide/guides/define-slo#creating-a-new-slo-rule"],["matTooltip","These ordered rules determine the objectives for each type of issue for this SLO",
1,"bv2-slo-elements-table-help-icon",3,"name","size"],["class","bv2-slo-elements-actionbar",4,"ngIf"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped",4,"ngIf"],["class","bv2-slo-elements-table-empty-list-description",4,"ngIf"],[1,"bv2-slo-elements-actionbar"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["class","hoverable","matTooltip","Add a new rule",3,"name","size","click",4,"ngIf"],["matTooltip","Clear all rules",1,"hoverable",3,"name","size","click"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size","click"],["cdkDropList",
"",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped"],["class","bv2-slo-element-row","cdkDrag","",3,"draggable",4,"ngFor","ngForOf"],["cdkDrag","",1,"bv2-slo-element-row"],["class","bv2-slo-element-row-counter editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-type-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-priority-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-postmortem-column bv2-editable-slo-element editable-row",
4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-metric bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-objective bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-daytype bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-action editable-row",4,"ngIf"],["class","bv2-slo-element-row-counter display-row",4,"ngIf"],["class","bv2-slo-element-type-column bv2-slo-element-picker-column display-row",
4,"ngIf"],["class","bv2-slo-element-priority-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-postmortem-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-metric bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-objective bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-daytype bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-action display-row",
4,"ngIf"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-type-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModel","customValidators","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective","bv2-editable-slo-element",
"editable-row"],["required","",3,"dayType","objectiveDuration","objectiveBusinessDays","validator","objectiveDurationChange","objectiveBusinessDaysChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],["color","accent","appearance","outline"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-slo-element-action","editable-row"],["matTooltip","Finish editing",1,"bv2-slo-element-action",
3,"name","size","click"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"name","size","click"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[4,"ngIf"],["class","bv2-property-display-chips",4,"ngIf"],[1,"bv2-property-display-chips"],["class","bv2-property-display-chip-container",4,"ngFor","ngForOf"],[1,"bv2-property-display-chip-container"],[1,"matcher-chip-content"],[1,"bv2-slo-element-priority-column","bv2-slo-element-picker-column",
"display-row"],[1,"bv2-slo-element-postmortem-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],["required","",3,"dayType","objectiveDuration","objectiveBusinessDays","isDisabled","objectiveDurationChange","objectiveBusinessDaysChange"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","display-row"],
["class","hoverable bv2-slo-element-action-edit","matTooltip","Edit this rule",3,"name","size","click",4,"ngIf"],["class","hoverable bv2-slo-element-action-more-settings","matTooltip","More options",3,"name","size","matMenuTriggerFor",4,"ngIf"],["settingsMenu","matMenu"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-down",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-up",3,"click",4,"ngIf"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",
3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-remove",3,"click"],["matTooltip","Edit this rule",1,"hoverable","bv2-slo-element-action-edit",3,"name","size","click"],["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",
3,"click"],[1,"bv2-slo-elements-table-empty-list-description"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"div")(2,"div")(3,"label",1),R(4,"Rules"),H(),G(5,"a",2),I(6,"b-icon",3),H(),Q(7,Zbb,6,3,"span",4),H(),G(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),R(12,"Order"),H(),G(13,"th",8),R(14,"Type"),H(),G(15,"th",9),R(16,"Priority"),H(),G(17,"th",10),R(18,"Postmortem"),H(),G(19,"th",11),R(20,"Metric"),H(),G(21,"th",12),R(22,"Objective"),H(),G(23,"th",13),R(24," Day Type "),H(),I(25,"th",14),H()(),
Q(26,Pcb,2,3,"tbody",15),H(),G(27,"div"),Q(28,Qcb,2,0,"div",16),H()()());a&2&&(z(6),F("name","help-outline")("size","small"),z(1),F("ngIf",!b.isDisabled),z(19),F("ngIf",b.collection&&0!=b.collection.length),z(2),F("ngIf",!b.collection||0==b.collection.length))},dependencies:[sw,tw,E1,HK,FK,Uw,kx,$w,GM,xA,RB,PB,QB,iO,$z,ZB,A1,C1],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 G1=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=o_c(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=o_c(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=o_c(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=C_c(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return D_c(d,e)}};E_c(this);this.typePickerValues=F_c(this.controllerReference.sloParseService.jspbTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return rcb(d.controllerReference,e)});this.priorityPickerValues=F_c(this.controllerReference.sloParseService.jspbPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return wcb(d.controllerReference,e)});this.postmortemPickerValues=F_c(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();D_c(this,this.selectedMetric)},C_c=function(a){return a?a:{seconds:86400,nanos:0}};G1.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var D_c=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
G1.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;G_c(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;E_c(this)}};
var G_c=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=H_c(b,function(g){return a.controllerReference.sloParseService.jspbTypeToString.get(Ph(g))});c=H_c(c,function(g){return a.controllerReference.sloParseService.jspbPriorityToString.get(Ph(g))});d=H_c(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};G1.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 H_c=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("|")+")"};
G1.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;E_c(this)}};var E_c=function(a){a.parseResult=y_c(a.controllerReference.sloParseService,a.matcherText)},F_c=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 m_c(h,g)}return new n_c(d)};var H1=function(){};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275mod=Dc({type:H1});H1.\u0275inj=nc({imports:[BF,ox,jO]});var I1=function(){};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275mod=Dc({type:I1});I1.\u0275inj=nc({imports:[BF]});var J1=function(){};J1.\u0275fac=function(a){return new (a||J1)};J1.\u0275mod=Dc({type:J1});J1.\u0275inj=nc({imports:[BF,I1,IK,ox,bN,yA,SB,jO,XC,B1,H1]});var K1=function(a,b,c,d,e){jE.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};U(K1,jE);K1.\u0275dir=jE.\u0275dir;f=K1.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=KL(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))};
K1.\u0275fac=function(a){return new (a||K1)(C(rd),C(kH,2),C(CG),C(DG),C(JL))};
K1.\u0275cmp=Bc({type:K1,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Cf([kH]),Ye],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&&(G(0,"table",0)(1,"thead")(2,"tr",1),I(3,"th",2),G(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," SLO name "),H()()()(),G(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),H()()()()()(),G(14,"tbody"),Q(15,Rcb,7,7,"tr",6),H()());a&2&&(z(15),F("ngForOf",b.slos))},dependencies:[sw],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 L1=function(){};L1.\u0275fac=function(a){return new (a||L1)};L1.\u0275mod=Dc({type:L1});L1.\u0275inj=nc({imports:[BF]});var M1=function(a,b){this.log=a;this.dateFormatter=b},J_c=function(a,b){var c=x2a(b.addMask.paths),d=x2a(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(Pc(c),Pc(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=pCc.get(q);if("name"===q){var x=ip(d,q,b.name);q=ip(c,q,g.name);e.diffs.push(jp(l,x,q))}else if("description"===q)x=ip(d,q,b.description),q=ip(c,q,g.description),e.diffs.push(jp(l,x,q));else if("parentId"===
q)x=ip(d,q,String(b.parentId)),q=ip(c,q,String(g.parentId)),e.diffs.push(jp(l,x,q));else if("elements"===q){var A=g.elements;x=y2a(d,q,b.elements.map(function(B){return I_c(B)}));q=y2a(c,q,A.map(function(B){return I_c(B)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:x,added:q}})}else a.log.error("Unsupported diff field.")}return e},I_c=function(a){var b=a.matcher,c=oCc.get(a.metric),d=hcb.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(Ckc(1E3*a.objective.seconds));a=e.join(", ");return'("'+b+'", '+c+") - "+(d+" days - "+a)};M1.\u0275fac=function(a){return new (a||M1)(u(NF),u(hK))};M1.\u0275prov=mc({token:M1,factory:M1.\u0275fac,providedIn:"root"});var N1=function(){};N1.\u0275fac=function(a){return new (a||N1)};N1.\u0275mod=Dc({type:N1});N1.\u0275inj=nc({imports:[BF,BY,wC,pA]});var M_c=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k(K_c);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?Th(g):""}):e="string"===typeof d?Th(d):"";this.templateAttributes[c]=e}b=k(L_c);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(":"),yk(c)||(this.templateCustomFields[b]=c)},O_c=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||N_c.some(function(b){return null!=a.templateAttributes[b]})},T_c=function(a,b,c){null!=c&&(P_c(a,c),Q_c(a,b,c),R_c(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;S_c[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},Q_c=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={};g=k(Object.entries(a.templateCustomFields));for(var h=g.next();!h.done;e={$jscomp$loop$prop$customFieldId$2341:e.$jscomp$loop$prop$customFieldId$2341},h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$customFieldId$2341=Ph(h);l={customFieldId:e.$jscomp$loop$prop$customFieldId$2341,value:l};h=a.getCustomFieldValue(l,c);null!=d[e.$jscomp$loop$prop$customFieldId$2341]?
(l=b.customField.findIndex(function(q){return function(x){return x.customFieldId===q.$jscomp$loop$prop$customFieldId$2341}}(e)),b.customField[l]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
M_c.prototype.getCustomFieldValue=function(a,b){var c=new Wh(a);if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=rqa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=sqa(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 rqa(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 sqa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};M_c.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var P_c=function(a,b){a.templateCustomFields=Pb(a.templateCustomFields,function(c,d){return!!b[d]})},R_c=function(a,b){if(null!=a.customField){var c={};a=k(a.customField);for(var d=a.next();!d.done;c={$jscomp$loop$prop$allowedValues$2343:c.$jscomp$loop$prop$allowedValues$2343},d=a.next()){d=d.value;var e=b[d.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){c.$jscomp$loop$prop$allowedValues$2343=e.allowedValue||[];var g=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(d.repeatedEnumValue=
d.repeatedEnumValue||{values:[]},d.repeatedEnumValue.values=d.repeatedEnumValue.values.filter(function(h){return function(l){return h.$jscomp$loop$prop$allowedValues$2343.includes(l)}}(c)),!d.repeatedEnumValue.values.length&&g&&(d.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):c.$jscomp$loop$prop$allowedValues$2343.includes(d.enumValue)||(d.enumValue=g?e.typedDefaultValue.enumValue:"")}}}},U_c=new II,V_c=U_c.priorities,W_c=U_c.severities,X_c=U_c.issueTypes,K_c="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),
L_c=["inProd"],N_c="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),O1={},S_c=(O1.cc=function(a,b){a.ccUsers=Vcb(b,a.ccUsers||[])},O1.collaborators=function(a,b){a.collaboratorsUsers=Vcb(b,a.collaboratorsUsers||[])},O1.title=function(a,b){"string"===typeof b&&(a.title=b)},O1.assignee=function(a,b){Ucb(b,function(c){a.assigneeUser=c})},O1.reporter=function(a,b){Ucb(b,function(c){a.reporterUser=c})},O1.verifier=function(a,b){Ucb(b,function(c){a.verifierUser=
c})},O1.hotlistIds=function(a,b){if(b=Scb(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},O1.blockingIssueIds=function(a,b){if(b=Scb(b))a.blockingIssueId=b.map(String)},O1.blockedByIssueIds=function(a,b){if(b=Scb(b))a.blockedByIssueId=b.map(String)},O1.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},O1.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},O1.inProd=function(a,b){a.inProd=
"true"===b},O1.priority=function(a,b){if(b=Tcb(V_c,b))a.priority=kl(b)},O1.severity=function(a,b){if(b=Tcb(W_c,b))a.severity=xua(b)},O1.type=function(a,b){if(b=Tcb(X_c,b))a.type=wua(b)},O1);var P1=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
P1.prototype.bulkEdit=function(a){var b=this,c,d,e,g,h,l,q,x,A,B,K,O,P;return de(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("oe");h={};l=[];q=[];x=Kua(e);A=k(x.reverse());B=A.next();case 2:if(B.done){Y.jumpTo(4);break}K=B.value;ee(Y,5);return"ADD"===g?(O=K.map(function(X){return CE(new BE,Number(X))}),Y.yield((0,E.firstValueFrom)(Aac(b.issueRelationshipApi,d,O)),8)):Y.yield((0,E.firstValueFrom)(Bac(b.issueRelationshipApi,
d,K)),8);case 8:return Y.yield(b.issueApi.batchGetIssues(K).then(function(X){return X.map(function(ka){return h[ka.issueId]=ka})}),11);case 11:ks(Y,3);break;case 5:P=he(Y);if(!Nl(P))throw P;q.push(P);l.push.apply(l,Pc(K));case 3:B=A.next();Y.jumpTo(2);break;case 4:return Y.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};P1.\u0275fac=function(a){return new (a||P1)(u(OE),u(yE))};P1.\u0275prov=mc({token:P1,factory:P1.\u0275fac,providedIn:"root"});var Q1=function(a,b){jE.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};U(Q1,jE);Q1.\u0275dir=jE.\u0275dir;Q1.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()}))};Q1.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};Q1.prototype.hasPreviousPage=function(){return 1<this.history.length};
var R1=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("/")};Q1.\u0275fac=function(a){return new (a||Q1)(u(nH),u(CG))};Q1.\u0275prov=mc({token:Q1,factory:Q1.\u0275fac,providedIn:"root"});var S1=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},Y_c=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&ss(d,"id=")||ss(d,"bugId="))d+=c;Rjc(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};S1.\u0275fac=function(a){return new (a||S1)(u(CG),u(YI),u(ZJ))};S1.\u0275prov=mc({token:S1,factory:S1.\u0275fac,providedIn:"root"});var T1=function(a,b){jE.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||(rec("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};U(T1,jE);T1.\u0275dir=jE.\u0275dir;
T1.prototype.install=function(){var a=this;Jm()&&(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(ue(function(b){return"visible"!==b}),Ce()).subscribe(function(){a.tabWasHidden=!0})))};
var Z_c=function(a,b){rec(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)&&Jm())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)}}};T1.\u0275fac=function(a){return new (a||T1)(u(nH),u(U1))};
T1.\u0275prov=mc({token:T1,factory:T1.\u0275fac,providedIn:"root"});var U1=function(a){var b=this;this.window=a;this.visibilityState$=(0,E.fromEvent)(this.window.document,"visibilityChange").pipe(Ne(void 0),D(function(){return b.currentVisibility}))};ch.Object.defineProperties(U1.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});U1.\u0275fac=function(a){return new (a||U1)(u(iE))};
U1.\u0275prov=mc({token:U1,factory:U1.\u0275fac,providedIn:"root"});var $_c=RegExp("action/issues/([0-9]+)/"),a0c=new Nc("ETAG_URL_TRANSFORMERS"),V1=function(a){this.transformers=a;this.etagStore={};this.IF_MATCH_METHODS=["POST","PUT","DELETE"]};V1.prototype.intercept=function(a,b){if(this.IF_MATCH_METHODS.includes(a.method)){var c=this.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}if(c=$_c.exec(a.url))this.issueId=c[1];return b0c(this,a,b)};
var b0c=function(a,b,c){return c.handle(b).pipe(Qe(function(d){if(d instanceof Yx){var e=d.headers;e.has("etag")&&a.setEtag(b,e.get("etag"));d=d.body;if(d instanceof wE&&a.issueId)for(d=k(Ch(d,jk,1)),e=d.next();!e.done;e=d.next()){e=k(e.value.getAttachmentsList());for(var g=e.next();!g.done;g=e.next())if(g=g.value,g.hasEtag()){var h=a.issueId,l=g.getAttachmentId();h=new Wx("GET","action/issues/"+h+"/attachments/"+l);a.setEtag(h,g.getEtag())}}}}))};
V1.prototype.setEtag=function(a,b){null!=b&&(a=c0c(this,a),this.etagStore[a]=b)};V1.prototype.getEtag=function(a){a=c0c(this,a);return this.etagStore[a]};var c0c=function(a,b){b=b.url;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};V1.\u0275fac=function(a){return new (a||V1)(u(a0c,8))};V1.\u0275prov=mc({token:V1,factory:V1.\u0275fac,providedIn:"root"});var d0c={provide:lVb,useClass:V1,multi:!0};var e0c={provide:a0c,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},f0c={provide:a0c,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var W1=function(a){this.activeSession=a};W1.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)};W1.\u0275fac=function(a){return new (a||W1)(u(ds))};W1.\u0275prov=mc({token:W1,factory:W1.\u0275fac,providedIn:"root"});var g0c={provide:lVb,useClass:W1,multi:!0};var X1=function(a){this.http=a};U(X1,ZC);f=X1.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(D(Wcb(b.responseConstructor)))};
X1.\u0275fac=function(a){return new (a||X1)(u(Zx))};X1.\u0275prov=mc({token:X1,factory:X1.\u0275fac,providedIn:"root"});var Y1=function(a){this.jspbExecutor=a};U(Y1,$C);Y1.prototype.get=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.get(a))};Y1.prototype.delete=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.delete(a))};Y1.prototype.post=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.post(a))};Y1.prototype.put=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.put(a))};
Y1.\u0275fac=function(a){return new (a||Y1)(u(X1))};Y1.\u0275prov=mc({token:Y1,factory:Y1.\u0275fac,providedIn:"root"});var Z1=function(){};Z1.\u0275fac=function(a){return new (a||Z1)};Z1.\u0275mod=Dc({type:Z1});Z1.\u0275inj=nc({providers:[{provide:cG,useClass:eG},{provide:zhc,useClass:OI},{provide:PI,useClass:QI},{provide:Bbc,useClass:lF},{provide:Cbc,useClass:kF},{provide:Dbc,useClass:sF},{provide:VF,useClass:WF},{provide:VH,useClass:XH},{provide:yE,useClass:AE},{provide:lY,useClass:mY},{provide:WG,useClass:ZG},{provide:XG,useClass:YG},{provide:ZC,useClass:X1},{provide:$C,useClass:Y1}],imports:[BF]});var h0c=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};f=h0c.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 tr=function(a){r.call(this,a)};U(tr,r);tr.prototype.getEntryPoint=function(){return W(this,5,0)};tr.prototype.setEntryPoint=function(a){return n(this,5,a)};tr.prototype.toObject=function(){return a2(this)};var a2=function(a){if(null!=a)return t(a),{autocompleteField:p(ir(a,1)),autocompletePerson:p(ir(a,2)),suggestionField:p(ir(a,3)),suggestionPerson:p(ir(a,4)),entryPoint:W(a,5,0)}};var vr=function(a){r.call(this,a)};U(vr,r);vr.prototype.getEntryPoint=function(){return W(this,1,0)};vr.prototype.setEntryPoint=function(a){return n(this,1,a)};vr.prototype.toObject=function(){return i0c(this)};var i0c=function(a){if(null!=a)return t(a),{entryPoint:W(a,1,0),additionEventSources:a2(Z(a,tr,2)),replacementEventSources:a2(Z(a,tr,3))}};var b2=function(a){r.call(this,a)};U(b2,r);b2.prototype.getQuery=function(){return V(this,1,"")};b2.prototype.setQuery=function(a){return n(this,1,a)};b2.prototype.clearQuery=function(){Hs(this,1)};b2.prototype.hasQuery=function(){return tk(this,1)};var j0c=function(a,b){n(a,3,b)};b2.prototype.getAffinityVersion=function(){return Eh(this,7)};b2.prototype.setAffinityVersion=function(a){n(this,7,a)};b2.prototype.getAffinityVersionOrUndefined=function(){return $s(this,7)};
var k0c=function(a){var b=vwc();Ls(a,8,b)};f=b2.prototype;f.getSources=function(){return Z(this,tr,10)};f.getInstanceId=function(){return V(this,11,"")};f.setInstanceId=function(a){return n(this,11,a)};f.clearInstanceId=function(){Hs(this,11)};f.hasInstanceId=function(){return tk(this,11)};f.getInstanceIdOrUndefined=function(){return bt(this,11)};f.toObject=function(){return l0c(this)};
var l0c=function(a){if(null!=a)return t(a),{query:V(a,1,""),querySessionId:dj(a,3,0),selectSessionId:dj(a,4,0),submitSessionId:dj(a,5,0),cacheUpdatedTimestamp:dj(a,6,0),affinityVersion:p(Ms(a,7)),callTimestampMs:ej(a,8,0),resultTimestampMs:ej(a,9,0),sources:a2(a.getSources()),instanceId:V(a,11,""),contextualSources:i0c(Z(a,vr,12))}};var nr=function(a){r.call(this,a)};U(nr,r);f=nr.prototype;f.getPersonLoggingId=function(){return V(this,1)};f.setPersonLoggingId=function(a){n(this,1,a)};f.getFieldLoggingId=function(){return V(this,2)};f.setFieldLoggingId=function(a){n(this,2,a)};f.setFieldValue=function(a){return n(this,3,a)};f.clearFieldValue=function(){return Hs(this,3)};f.getName=function(){return V(this,4)};f.setName=function(a){return n(this,4,a)};f.hasName=function(){return tk(this,4)};
f.getNameOrUndefined=function(){return bt(this,4)};f.getContactId=function(){return V(this,5)};f.setContactId=function(a){n(this,5,a)};f.getProfileId=function(){return V(this,6)};f.getProfileId_legacyNullable=function(){return m(this,6)};f.setProfileId=function(a){return n(this,6,a)};f.hasProfileId=function(){return tk(this,6)};f.getFieldType=function(){return W(this,7,0)};f.getFieldType_legacyNullable=function(){return ir(this,7)};f.setFieldType=function(a){n(this,7,a)};
f.getFieldTypeOrUndefined=function(){return ur(this,7)};f.getIsPlaceholder=function(){return Gj(this,10,!1)};f.setIsPlaceholder=function(a){Ij(this,10,a)};f.getGroupId=function(){return V(this,11)};f.setGroupId=function(a){n(this,11,a)};f.hasGroupId=function(){return tk(this,11)};f.toObject=function(){return m0c(this)};
var m0c=function(a){if(null!=a)return t(a),{personLoggingId:p(m(a,1)),fieldLoggingId:p(m(a,2)),fieldValue:p(m(a,3)),name:p(m(a,4)),contactId:p(m(a,5)),profileId:p(m(a,6)),fieldType:p(ir(a,7)),personType:p(ir(a,8)),isFlattened:Gj(a,9,!0),isPlaceholder:Gj(a,10,!1),groupId:p(m(a,11))}};var mr=function(a){r.call(this,a)};U(mr,r);f=mr.prototype;f.getProvenance=function(){return W(this,3,0)};f.setProvenance=function(a){return n(this,3,a)};f.getContext=function(){return W(this,5,0)};f.getExistingSelectionsCount=function(){return Eh(this,6,0)};f.setExistingSelectionsCount=function(a){n(this,6,a)};f.toObject=function(){return n0c(this)};
var n0c=function(a){if(null!=a)return t(a),{fieldPosition:Eh(a,1,0),personPosition:Eh(a,2,0),provenance:W(a,3,0),valueOriginator:W(a,4,0),context:W(a,5,0),existingSelectionsCount:Eh(a,6,0)}};var lr=function(a){r.call(this,a)};U(lr,r);var sq=function(a){return Z(a,mr,2)};lr.prototype.getSessionState=function(){return Z(this,b2,3)};lr.prototype.setSessionState=function(a){Wi(this,b2,3,a)};lr.prototype.hasSessionState=function(){return Aj(this,b2,3)};lr.prototype.toObject=function(){return o0c(this)};var o0c=function(a){if(null!=a)return t(a),{info:m0c(Z(a,nr,1)),targetState:n0c(sq(a)),sessionState:l0c(a.getSessionState()),isClosed:Gj(a,4,!1)}};var ar=function(a){r.call(this,a,1)};U(ar,r);var p0c={};ar.prototype.toObject=function(){if(null!=this){t(this);var a={};Hb(this,a,p0c)}else a=void 0;return a};var jr=function(a){r.call(this,a)};U(jr,r);f=jr.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getValue=function(){return V(this,2,"")};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return tk(this,2)};f.toObject=function(){if(null!=this){t(this);var a={type:W(this,1,0),value:V(this,2,"")}}else a=void 0;return a};var q0c=function(a){r.call(this,a)};U(q0c,r);q0c.repeatedFields_=[1,2];q0c.prototype.toObject=function(){return r0c(this)};var r0c=function(a){if(null!=a)return t(a),{enabledList:p(Qk(a,1)),disabledList:p(Qk(a,2))}};var c2=function(a){r.call(this,a)};U(c2,r);f=c2.prototype;f.getEnableClearcut=function(){return Gj(this,1,!1)};f.setEnableClearcut=function(a){return Ij(this,1,a)};f.getClientId=function(){return W(this,2,0)};f.setClientId=function(a){return n(this,2,a)};f.getSocialApplication=function(){return W(this,3,0)};f.getSocialApplicationOrUndefined=function(){return ur(this,3)};f.getComponentFlow=function(){return W(this,4,0)};f.setComponentFlow=function(a){return n(this,4,a)};
f.getInterfaceType=function(){return W(this,5,0)};f.setInterfaceType=function(a){return n(this,5,a)};f.toObject=function(){return s0c(this)};var s0c=function(a){if(null!=a)return t(a),{enableClearcut:Gj(a,1,!1),clientId:W(a,2,0),socialApplication:p(ir(a,3)),componentFlow:W(a,4,0),interfaceType:W(a,5,0),enableVeTracking:Gj(a,6,!0)}};var d2=function(a){r.call(this,a)};U(d2,r);var rdb=function(){var a=rq.getExperiments();return Gj(a,6,!1)},Neb=function(){var a=rq.getExperiments();return Gj(a,7,!1)};d2.prototype.toObject=function(){return t0c(this)};var t0c=function(a){if(null!=a)return t(a),{enableDisambigForAdditionSuggestions:Gj(a,1,!1),enableSyntheticVe:Gj(a,2,!1),enableOodTag:Gj(a,3,!1),enableLegacyReplacementStyling:Gj(a,4,!0),enableRafAutocomplete:Gj(a,5,!1),enableIsolatedVe:Gj(a,6,!1),enableHide:Gj(a,7,!1)}};var e2=function(a){r.call(this,a)};U(e2,r);f=e2.prototype;f.getApplication=function(){return W(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return ur(this,1)};f.getIsEnabled=function(){return Gj(this,2,!1)};f.toObject=function(){return u0c(this)};var u0c=function(a){if(null!=a)return t(a),{application:W(a,1,0),isEnabled:Gj(a,2,!1),overriddenExperiments:t0c(Z(a,d2,3))}};var v0c=function(a){r.call(this,a)};U(v0c,r);v0c.prototype.toObject=function(){return w0c(this)};var w0c=function(a){if(null!=a)return t(a),{refreshIntervalInMs:p(Ms(a,1))}};var x0c=function(a){r.call(this,a)};U(x0c,r);x0c.prototype.toObject=function(){return y0c(this)};var y0c=function(a){if(null!=a)return t(a),{refreshIntervalInMs:p(Ms(a,1))}};var z0c=function(a){r.call(this,a)};U(z0c,r);z0c.prototype.toObject=function(){return A0c(this)};var A0c=function(a){if(null!=a)return t(a),{waldo:y0c(Z(a,x0c,1)),hubAvailabilityDot:w0c(Z(a,v0c,2))}};var B0c=function(a){r.call(this,a)};U(B0c,r);f=B0c.prototype;f.getClearcut=function(){return Z(this,c2,1)};f.setClearcut=function(a){Wi(this,c2,1,a)};f.hasClearcut=function(){return Aj(this,c2,1)};f.getExperiments=function(){return Z(this,e2,2)};f.setExperiments=function(a){Wi(this,e2,2,a)};f.hasExperiments=function(){return Aj(this,e2,2)};
f.toObject=function(){if(null!=this){t(this);var a={clearcut:s0c(this.getClearcut()),experiments:u0c(this.getExperiments()),maxUndoStackSize:Os(this,3,10),enableTargetedCopyOptions:Gj(this,4,!1),enableEmailEditing:Gj(this,5,!1),hideGroupResultMemberCount:Gj(this,6,!1),enableHideSuggestion:Gj(this,7,!1),intelligence:A0c(Z(this,z0c,8)),enableResultListItemContextMenu:Gj(this,9,!1),featureSet:V(this,10,"all_features"),features:r0c(Z(this,q0c,11)),featuresKey:V(this,12,"")}}else a=void 0;return a};var C0c=Dca(B0c);var D0c;var E0c=function(){this.actionListeners=new Map};E0c.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};E0c.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)}};
E0c.prototype.notify=function(a){var b=Lc.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 F0c=function(){this.actionEventDispatcher=new E0c};var G0c=function(){var a=hb(D0c||(D0c=C0c("[[true,49,740,4],[7,true]]")));this.injectorService=new F0c;a.hasClearcut()||a.setClearcut(new c2);a.hasExperiments()||a.setExperiments(new e2);this.internal=a};G0c.prototype.getInternal=function(){return this.internal};var adb=function(a){this.root=a;this.length=0};f=adb.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("qe");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("qe");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
f.clear=function(){q_b(this.root);this.length=0};f.getRoot=function(){return this.root};var Zcb=function(a){return jq('<ul id="'+mq(a.id)+'" peoplekit-id="'+mq("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+mq("peoplekitComponentsListImplList")+'"></ul>')};var $cb=Xp.getInstance();var zdb=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(Pc(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};f=zdb.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(Pc(b)));c?(H0c(this),I0c(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:H0c(this);J0c(this);break;case 3:J0c(this);break;case 1:a=cdb(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=cdb(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);I0c(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();H0c(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(Pc(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 J0c=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},H0c=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()},I0c=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 K0c=function(a){this.delegate=a};f=K0c.prototype;f.prev=function(a){a=this.delegate.prev(a);L0c(this);return a};f.next=function(a){a=this.delegate.next(a);L0c(this);return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);L0c(this);return a};f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);L0c(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 L0c=function(a){if(a=a.delegate.getSpotlitItem())if(a=a.getRoot(),ts){var b=HAc(a);KAc(a,b)}else a.scrollIntoView({block:"nearest"})};var Rdb=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=Rdb.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("qe");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("qe");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 M0c=function(a,b,c,d){this.loggingToken=d;(new h0c(a)).setDisplayName(b).forceDisplayNameOverride_=c};M0c.prototype.getLoggingToken=function(){return this.loggingToken};var f2=function(a){this.delegate_=a};f=f2.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 Mp=function(a){this.delegate_=a};U(Mp,f2);f=Mp.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 N0c=function(){};N0c.prototype.getDisplayNameMatches=function(){return[]};N0c.prototype.getDisplayValueMatches=function(){return[]};N0c.prototype.getGivenNameMatches=function(){return[]};var O0c=new N0c;var ddb=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};f=ddb.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("se");};f.getDisplayName=function(){return""};f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};
f.getMatchInfo=function(){return O0c};f.getExtendedData=function(){return null};var P0c=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 Rq=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};f=Rq.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 Q0c=(new Rq).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),R0c=new Rq;var g2=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_="";this.name_=null;this.photo_=wq(this.id_)?R0c:Q0c;this.tags_=[];this.sourceIds_=wgb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(tgb(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=P0c.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=this.originatingField_=
null};f=g2.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_=wq(this.id_)?R0c:Q0c};f.getTagList=function(){return this.tags_};var Cgb=function(a,b){a.tags_=b||[]};f=g2.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 lr};f.getIsMe=function(){return this.isMe_};var zgb=function(a,b){a.isMe_=b;return a};f=g2.prototype;
f.getIsPersonalResult=function(){return 1===this.dataSource_};f.getDataSource=function(){return this.dataSource_};f.setDataSource=function(a){this.dataSource_=a;return this};f.getResultType=function(){return this.resultType_};f.setResultType=function(a){this.resultType_=a};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 Bgb=function(a,b){a.orgState_=b};g2.prototype.getOriginatingField=function(){return this.originatingField_};g2.prototype.setOriginatingField=function(a){this.originatingField_=a;return this};var Qq=function(a){return new g2(a)};g2.prototype.getExtendedData=function(){return this.extendedData_};g2.prototype.setExtendedData=function(a){this.extendedData_=a};var S0c=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Qq(this.internalId).setDataSource(3);this.internalResult=new Mp(edb(0,[a]));this.internalSelectionToken=new M0c(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};f=S0c.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 xdb=function(a,b){this.root=a;this.options=b};f=xdb.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 S0c(vgb(this.options.id))};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var wdb=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="'+mq(e)+'" peoplekit-id="'+mq("UhZROb")+'" class="'+mq("peoplekitComponentsContextmenuitemImplMenuItem")+" "+mq(c)+'"'+(d?' aria-label="'+mq(d)+'"':"")+'><div class="'+mq("peoplekitComponentsContextmenuitemImplRow")+'">'+(g?'<img class="'+mq("peoplekitComponentsContextmenuitemImplIcon")+" "+mq("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
mq(Wzc(g))+'" draggable="false" alt=""/>':"")+'<div class="'+mq("peoplekitComponentsContextmenuitemImplLabel")+" "+mq("peoplekitComponentsContextmenuitemImplCenter")+'">'+nq(a)+"</div>"+(0<b.length?'<div class="'+mq("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+mq("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">'+nq(Gzc(b).join("+"))+"</span></div>":"")+"</div></div>";return jq(b)};var T0c=function(a){r.call(this,a)};U(T0c,r);T0c.prototype.toObject=function(){return U0c(this)};var U0c=function(a){if(null!=a)return t(a),{}};var V0c=function(a){r.call(this,a)};U(V0c,r);V0c.prototype.toObject=function(){return W0c(this)};var W0c=function(a){if(null!=a)return t(a),{exampleBooleanFlag:Gj(a,1,!1),exampleIntegerFlag:Eh(a,2,42)}};var X0c=function(a){r.call(this,a)};U(X0c,r);X0c.prototype.toObject=function(){return Y0c(this)};var Y0c=function(a){if(null!=a)return t(a),{}};var Z0c=function(a){r.call(this,a)};U(Z0c,r);Z0c.prototype.toObject=function(){return $0c(this)};var $0c=function(a){if(null!=a)return t(a),{enableProjectLean:Gj(a,1,!1),enableEmailAddressMatching:Gj(a,2,!1),enableFilterNonPrimarySignupEmail:Gj(a,3,!1),enableSmartaddressCounterfactualLogging:Gj(a,4,!1),enableExtensibleLookupcache:Gj(a,5,!1)}};var a1c=function(a){r.call(this,a)};U(a1c,r);a1c.prototype.toObject=function(){return b1c(this)};var b1c=function(a){if(null!=a)return t(a),{enableProjectLean:Gj(a,1,!1)}};var c1c=function(a){r.call(this,a)};U(c1c,r);c1c.prototype.toObject=function(){return d1c(this)};var d1c=function(a){if(null!=a)return t(a),{enablePopulousV2:Gj(a,1,!0)}};var e1c=function(a){r.call(this,a)};U(e1c,r);e1c.prototype.toObject=function(){return f1c(this)};var f1c=function(a){if(null!=a)return t(a),{}};var g1c=function(a){r.call(this,a)};U(g1c,r);g1c.prototype.getIsEnabled=function(){return Gj(this,1,!1)};g1c.prototype.toObject=function(){return h1c(this)};var h1c=function(a){if(null!=a)return t(a),{isEnabled:Gj(a,1,!1),answer:dj(a,2,42)}};var Qp=function(a){r.call(this,a)};U(Qp,r);Qp.prototype.getRequestType=function(){return W(this,1,0)};Qp.prototype.setRequestType=function(a){return n(this,1,a)};Qp.prototype.toObject=function(){return i1c(this)};
var i1c=function(a){if(null!=a)return t(a),{requestType:p(ir(a,1)),testExperimentFlags:h1c(Z(a,g1c,101)),hovercardExperimentsRoot:U0c(Z(a,T0c,102)),peopleIntelligenceExperimentsRoot:Y0c(Z(a,X0c,103)),populousExperimentsRoot:$0c(Z(a,Z0c,104)),sendkitExperimentsRoot:d1c(Z(a,c1c,105)),integrationExampleFeature:W0c(Z(a,V0c,106)),peoplekitExperimentsRoot:t0c(Z(a,d2,107)),populousLeanExperimentFlags:b1c(Z(a,a1c,108)),sharekitExperimentsRoot:f1c(Z(a,e1c,109))}};var j1c=function(){var a=new Qp,b=new d2;this.experimentFlags_=Wi(a,d2,107,b)};j1c.prototype.getExperimentFlags=function(){return this.experimentFlags_};j1c.prototype.getExperimentIds=function(){return[]};var Ifb=function(a,b){this.cache=b;this.overriddenExperiments=Z(a,d2,3)||new d2};Ifb.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:Z(a,d2,107))||new d2;a=this.overriddenExperiments;if(Ak(a,3)){var c=Gj(a,3,!1);Ij(b,3,c)}Ak(a,4)&&(a=Gj(a,4,!0),Ij(b,4,a));return b};Ifb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var k1c=function(a){r.call(this,a)};U(k1c,r);f=k1c.prototype;f.getCacheStaleSec=function(){return Eh(this,4,14400)};f.getCacheExpiredSec=function(){return Eh(this,5,1209600)};f.getRpcTimeoutSec=function(){return Eh(this,7,60)};f.getApiKey=function(){return V(this,8,"")};f.setApiKey=function(a){return n(this,8,a)};f.getEnableClearcut=function(){return Gj(this,13,!0)};f.setEnableClearcut=function(a){return Ij(this,13,a)};
f.toObject=function(){if(null!=this){t(this);var a={minimumCacheRefreshSec:Eh(this,3,1800),cacheStaleSec:Eh(this,4,14400),cacheExpiredSec:Eh(this,5,1209600),rpcTimeoutSec:Eh(this,7,60),apiKey:V(this,8,""),apiRoot:p(m(this,10)),cacheRefreshRateSec:Eh(this,11,14400),maxRefreshCount:Eh(this,12,18),enableClearcut:Gj(this,13,!0)}}else a=void 0;return a};var Gfb=Dca(k1c);var Ffb;var l1c=function(){};l1c.prototype.getExperimentFlags=function(){return new Qp};l1c.prototype.getExperimentIds=function(){return[]};var Iq=function(){};Iq.prototype.prefetch=function(){};Iq.prototype.loadExperiments=function(){return new l1c};var h2=function(a){r.call(this,a)};U(h2,r);h2.prototype.getVersion=function(){return dj(this,1)};h2.prototype.setVersion=function(a){return n(this,1,a)};h2.prototype.getVersionOrUndefined=function(){return at(this,1)};h2.prototype.toObject=function(){return m1c(this)};var m1c=function(a){if(null!=a)return t(a),{version:p(m(a,1))}};var i2=function(a){r.call(this,a)};U(i2,r);f=i2.prototype;f.getApplication=function(){return W(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return ur(this,1)};f.getVersion=function(){return dj(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return at(this,2)};f.toObject=function(){return n1c(this)};var n1c=function(a){if(null!=a)return t(a),{application:p(ir(a,1)),version:p(m(a,2))}};var o1c=function(a){r.call(this,a)};U(o1c,r);f=o1c.prototype;f.getRequestType=function(){return W(this,1,0)};f.setRequestType=function(a){return n(this,1,a)};f.getProfileId=function(){return V(this,2)};f.getProfileId_legacyNullable=function(){return m(this,2)};f.setProfileId=function(a){return n(this,2,a)};f.hasProfileId=function(){return tk(this,2)};f.getCaller=function(){return Z(this,h2,3)};f.setCaller=function(a){return Wi(this,h2,3,a)};f.getInstanceId=function(){return V(this,4)};
f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Hs(this,4)};f.hasInstanceId=function(){return tk(this,4)};f.getInstanceIdOrUndefined=function(){return bt(this,4)};f.getClient=function(){return Z(this,i2,5)};f.setClient=function(a){return Wi(this,i2,5,a)};f.hasClient=function(){return Aj(this,i2,5)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:W(this,1,0),profileId:p(m(this,2)),caller:m1c(this.getCaller()),instanceId:p(m(this,4)),client:n1c(this.getClient())}}else a=void 0;return a};var Np=function(a){r.call(this,a)};U(Np,r);f=Np.prototype;f.getErrorType=function(){return W(this,2,1)};f.setErrorType=function(a){return n(this,2,a)};f.getErrorMessage=function(){return V(this,3)};f.setErrorMessage=function(a){n(this,3,a)};f.toObject=function(){return p1c(this)};var p1c=function(a){if(null!=a)return t(a),{errorType:W(a,2,1),errorMessage:p(m(a,3))}};var Pp=function(a){r.call(this,a)};U(Pp,r);f=Pp.prototype;f.getExperimentFlags=function(){return Z(this,Qp,1)};f.setExperimentFlags=function(a){return Wi(this,Qp,1,a)};f.hasExperimentFlags=function(){return Aj(this,Qp,1)};f.getError=function(){return Z(this,Np,2)};f.setError=function(a){Wi(this,Np,2,a)};f.hasError=function(){return Aj(this,Np,2)};f.getSource=function(){return W(this,3,0)};f.setSource=function(a){return n(this,3,a)};f.hasSource=function(){return cj(this,3)};
f.getSourceOrUndefined=function(){return ur(this,3)};f.getInstanceId=function(){return V(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Hs(this,4)};f.hasInstanceId=function(){return tk(this,4)};f.getInstanceIdOrUndefined=function(){return bt(this,4)};f.getExperimentIdsList=function(){return Bh(this,5)};f.setExperimentIdsList=function(a){return ob(this,5,a,Za)};f.getExperimentIds=function(){return Qs(this,5)};
f.setExperimentIds=function(a){tb(this,5,a,void 0,Bh)};Pp.repeatedFields_=[5];Pp.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:i1c(this.getExperimentFlags()),error:p1c(this.getError()),source:p(ir(this,3)),instanceId:p(m(this,4)),experimentIdsList:p(Bh(this,5))}}else a=void 0;return a};var q1c=function(a,b){this.client_=a;this.runtime_=b;gdb();this.apiKey_=a.getApiKey();this.apiRoot_=V(this.client_,10)||OLa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};q1c.prototype.getClient=function(){return this.client_};q1c.prototype.getApiKey=function(){return this.apiKey_};var j2=function(a){r.call(this,a)};U(j2,r);f=j2.prototype;f.getExperimentFlags=function(){return Z(this,Qp,1)};f.setExperimentFlags=function(a){return Wi(this,Qp,1,a)};f.hasExperimentFlags=function(){return Aj(this,Qp,1)};f.getObfuscatedGaiaId=function(){return m(this,2)};f.getObfuscatedGaiaId_legacyNullable=function(){return m(this,2)};f.setObfuscatedGaiaId=function(a){n(this,2,a)};f.getExperimentIdsList=function(){return Bh(this,3)};f.setExperimentIdsList=function(a){return ob(this,3,a,Za)};
f.getExperimentIds=function(){return Qs(this,3)};f.setExperimentIds=function(a){tb(this,3,a,void 0,Bh)};var r1c=Nb(j2);j2.repeatedFields_=[3];j2.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:i1c(this.getExperimentFlags()),obfuscatedGaiaId:p(m(this,2)),experimentIdsList:p(Bh(this,3))}}else a=void 0;return a};var s1c=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},t1c=function(a,b,c){a=a.now_()-1E3*c;return b>a};s1c.prototype.getCacheState=function(a){var b=Eh(this.clientConfig_.getClient(),3,1800);if(t1c(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(t1c(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return t1c(this,a,b)?3:4};var Op=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};U(Op,Error);var u1c=function(a,b){b=void 0===b?null:b;var c=hdb(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},v1c=new Op(6);var w1c=function(){};var k2=function(){};rs(k2,w1c);k2.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};k2.prototype[Symbol.iterator]=function(){return Pdc(this.__iterator__(!0)).toEs6()};k2.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 x1c=function(a){this.storage_=a};rs(x1c,k2);f=x1c.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 EG;d.next=function(){if(b>=c.length)return Odc;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 jdb=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};rs(jdb,x1c);var l2=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};rs(l2,k2);l2.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};l2.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};l2.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
l2.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new EG;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 Sp=function(a,b){var c=void 0,d=void 0;b=void 0===b?new jdb:b;c=void 0===c?Z0b:c;d=void 0===d?W0b:d;this.clientConfig_=a;this.transformer_=new s1c(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new l2(this.localStorage_,this.prefix_)};
Sp.prototype.set=function(a,b){var c=u1c(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw v1c;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
Sp.prototype.get=function(a){a=u1c(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:r1c(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};Sp.prototype.delete=function(a){this.storage_.remove(a);return!0};
Sp.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 Tp=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new s1c(this.clientConfig_);this.cache_=b};Tp.prototype.set=function(a,b){var c=u1c(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw v1c;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
Tp.prototype.get=function(a){a=u1c(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};Tp.prototype.delete=function(a){this.cache_.delete(a);return!0};Tp.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var y1c=function(){};f=y1c.prototype;f.start=function(){};f.stop=function(){};f.count=function(){};f.latency=function(){};f.error=function(){};f.status=function(){};f.logError=function(){};var z1c=function(a){r.call(this,a)};U(z1c,r);f=z1c.prototype;f.getCaller=function(){return Z(this,h2,1)};f.setCaller=function(a){return Wi(this,h2,1,a)};f.getClient=function(){return Z(this,i2,2)};f.setClient=function(a){return Wi(this,i2,2,a)};f.hasClient=function(){return Aj(this,i2,2)};f.toObject=function(){return A1c(this)};var A1c=function(a){if(null!=a)return t(a),{caller:m1c(a.getCaller()),client:n1c(a.getClient())}};var B1c=function(a){r.call(this,a)};U(B1c,r);f=B1c.prototype;f.getRequestType=function(){return W(this,1,0)};f.setRequestType=function(a){return n(this,1,a)};f.setProperties=function(a){return Wi(this,z1c,3,a)};f.getInstanceId=function(){return V(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Hs(this,4)};f.hasInstanceId=function(){return tk(this,4)};f.getInstanceIdOrUndefined=function(){return bt(this,4)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:p(ir(this,1)),properties:A1c(Z(this,z1c,3)),instanceId:p(m(this,4))}}else a=void 0;return a};var C1c=new yC("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",B1c,j2,function(a){return a.serialize()},r1c);var D1c=function(a){this.client_=new PC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};D1c.prototype.getExperimentFlags=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},C1c)};var E1c=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new y1c};E1c.prototype.getMetric=function(){return this.metric_};E1c.prototype.send=function(a){var b=this,c;return de(function(d){var e=(new z1c).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new B1c).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
E1c.prototype.close=function(){};E1c.prototype.processResponse=function(a){return a};var F1c=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var G1c=function(a,b){this.config_=a;this.request_=b;this.resolver_=new F1c;this.rpcPromise_=null;this.state_=0};f=G1c.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_=O_b(new jB),this.resolver_.reject(1)}};
f.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=NLa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=Y_b(R_b([b,g0b(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 jB?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=ro("result.error.code",a)||a.status,c=Number(c),c=Ixc.has(c)?Ixc.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 H1c=Symbol("te"),I1c=function(){};I1c.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[H1c]=d)}return c})};var J1c=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};J1c.prototype.getMetric=function(){return this.metric_};J1c.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
J1c.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[H1c]||0}};J1c.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 K1c=function(a){this.config_=a;this.pendingRpcs_=new Set},M1c=function(a,b){b=new J1c(b);b=new G1c(a.config_,b);a.pendingRpcs_.add(b);L1c(a,b);return b.resultPromise()},L1c=function(a,b){de(function(c){if(1==c.nextAddress)return ee(c,2,3),c.yield(b.send(),3);if(2!=c.nextAddress)return fe(c),a.pendingRpcs_.delete(b),ge(c,0);he(c);return c.jumpTo(3)})};var ldb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new K1c(a);this.rpcClient_=new D1c(this.clientConfig_.apiRoot_)},O1c=function(a,b){var c,d,e,g;return de(function(h){switch(h.nextAddress){case 1:var l=N1c(b);if(c=a.inflightRequests_.get(l)||null)return h.return(c);d=new E1c(b,a.rpcClient_);ee(h,2,3);e=M1c(a.dispatcher_,d);l=N1c(b);a.inflightRequests_.set(l,
e);return h.yield(e,5);case 5:return g=h.yieldResult,h.return(g);case 3:fe(h);l=N1c(b);a.inflightRequests_.delete(l);ge(h,0);break;case 2:throw he(h),Error("ue");}})},N1c=function(a){a=hdb(a);if(!a)throw v1c;return a};var P1c=function(a){r.call(this,a)};U(P1c,r);f=P1c.prototype;f.getInstanceId=function(){return V(this,1)};f.setInstanceId=function(a){return n(this,1,a)};f.clearInstanceId=function(){Hs(this,1)};f.hasInstanceId=function(){return tk(this,1)};f.getInstanceIdOrUndefined=function(){return bt(this,1)};f.getRequestId=function(){return V(this,2)};f.getRequestType=function(){return W(this,4,0)};f.setRequestType=function(a){return n(this,4,a)};f.getSourceType=function(){return W(this,6,0)};
f.setSourceType=function(a){return n(this,6,a)};f.getClient=function(){return W(this,7,0)};f.setClient=function(a){return n(this,7,a)};f.hasClient=function(){return cj(this,7)};f.getErrorType=function(){return W(this,8,0)};f.setErrorType=function(a){return n(this,8,a)};
f.toObject=function(){if(null!=this){t(this);var a={instanceId:p(m(this,1)),requestId:p(m(this,2)),durationUsec:p(m(this,3)),requestType:p(ir(this,4)),requestOrigin:p(ir(this,5)),sourceType:p(ir(this,6)),client:p(ir(this,7)),errorType:p(ir(this,8))}}else a=void 0;return a};var mdb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=qr(new rr,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(537372493).setEnableClearcut(b.getEnableClearcut())};f=mdb.prototype;f.getLogContext=function(){return this.logContext_};f.createCountMetric=function(){throw Error("ab");};f.createStatusMetric=function(){throw Error("ab");};f.createErrorMetric=function(){throw Error("ab");};
f.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());n(a,3,b);return a};var Q1c=function(a,b){this.metrics_=a;this.state_=new QQ(b);this.label_="total";this.source=b};Q1c.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};Q1c.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var ndb=function(a,b){this.worker_=a;this.metrics_=Lq(b)},R1c=function(a,b){var c=new P1c,d=gdb();c=n(c,2,d).setRequestType(a.getRequestType());return n(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
ndb.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,g,h;return de(function(l){if(1==l.nextAddress)return d=R1c(a,b),e=new Q1c(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)})};
ndb.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=R1c(a,b),d=new Q1c(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 S1c=function(a){this.timer=a;this.count=0},pdb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*Eh(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new $p(this)};pdb.prototype.updateExperimentsCache=function(a,b){try{return T1c(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(Rp(c))}};pdb.prototype.getCachedExperiments=function(a,b){try{return T1c(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return Rp(c)}};
var T1c=function(a,b){var c=hdb(b);if(!c)throw new Op(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new kB(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=Eh(a.clientConfig_.getClient(),12,18);e.count>=g&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new S1c(d))}a.refreshers_.get(c)};var U1c=function(){},odb=function(a,b){this.cache_=a;this.loader_=b};
odb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,g,h;return de(function(l){if(1==l.nextAddress){e=d=null;try{d=V1c(c,a)}catch(B){e=B}if(d&&3!==d.state)return l.return(c.getCachedExperiments(a,b));ee(l,3);return l.yield(W1c(c,a),5)}if(3!=l.nextAddress){g=l.yieldResult;var q=l.return,x=e;x=void 0===x?null:x;var A=(new Pp).setExperimentFlags(g.getExperimentFlags()).setExperimentIdsList(g.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());x&&A.setError(idb(x));
return q.call(l,A)}h=he(l);return l.return(Rp(h))})};odb.prototype.getCachedExperiments=function(a){try{var b=V1c(this,a);if(b){var c=(new Pp).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&W1c(this,a).catch(U1c);return c}W1c(this,a).catch(U1c);return Rp()}catch(d){return Rp(d)}};
var V1c=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof Op)throw d;throw new Op(3);}},W1c=function(a,b){var c,d;return de(function(e){if(1==e.nextAddress)return ee(e,2),b.hasInstanceId()||b.setInstanceId(gdb()),e.yield(O1c(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=he(e);if(d instanceof Op)throw d;throw new Op(2);})};var kdb;var X1c=function(a){this.clientConfig_=a;this.worker_=qdb(this.clientConfig_)};X1c.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Jq=function(){this.peopleApiEnv_=4};Jq.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Jq.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var Y1c=function(a,b){this.client_=a;this.request_=b;this.response_=null};Y1c.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};Y1c.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var Hfb=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=537372493};Hfb.prototype.prefetch=function(a){var b=new q1c(this.clientConfig_,new Jq);a=Z1c(this,a,"");qdb(b).updateExperimentsCache(a,2)};Hfb.prototype.loadExperiments=function(a,b,c){var d=new q1c(this.clientConfig_,b),e=Z1c(this,a,c);qdb(d).updateExperimentsCache(e,2);b=new X1c(new q1c(this.clientConfig_,b));a=Z1c(this,a,c);return new Y1c(b,a)};
var Z1c=function(a,b,c){var d=(new h2).setVersion(a.version_);b=(new i2).setApplication(b);return(new o1c).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var rq=new Ifb(new e2,new j1c);var sdb=Xp.getInstance();var $1c=["pk-select","pk-deselect","pk-click","pk-input"],a2c=new Map([["pk-select",3],["pk-deselect",3],["pk-click",3],["pk-input",15]]);var tdb=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 Yp=function(a,b){this.ariaParent=a;this.delegate=b};f=Yp.prototype;f.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),IL(this.ariaParent,a)):IL(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 m2=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};m2.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};m2.prototype.preventDefault=function(){this.event.preventDefault()};var Ddb=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=aq(this)};f=Ddb.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 m2(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new m2(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 b2c=Object.freeze(new dq(NaN,NaN)),c2c=Object.freeze(new mR(NaN,NaN,NaN,NaN)),hq=function(a,b,c){this.root=a;this.requestHide=b;this.options=c;this.lastPosition=b2c;this.lastBounds=c2c;this.anchorUpdateTimer=new kB(15);this.eventHandler=aq(this);this.attach()};hq.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return d2c(a)})};hq.prototype.isShown=function(){return"none"!=this.root.style.display};
hq.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};hq.prototype.show=function(a){this.anchor=a;this.lastPosition=b2c;this.lastBounds=c2c;qR(this.root,!0);d2c(this);this.anchorUpdateTimer.start()};
var d2c=function(a){var b;if((b=a.anchor)&&!(b=!a.lastPosition.equals(pR(a.anchor)))){b=a.lastBounds;var c=bq(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=bq(c),(c=cq(c))&&b.intersection(Gdb(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;gq(b,"","");b.style.height=oR("",!0);var h=Kdb(c,e,b,g,d);c=Kdb(c,e^1,b,g^1,d);h.height>=c.height||
!d?Ndb(b,h):Ndb(b,c);a.lastPosition=pR(a.anchor);a.lastBounds=bq(a.root)}else a.requestHide()};hq.prototype.hide=function(){this.root.style.cssText="";qR(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=b2c;this.lastBounds=c2c};var e2c=new SA;e2c.altKey=!0;e2c.keyCode=39;(new SA).keyCode=13;var f2c=function(){mh.call(this)};U(f2c,mh);f2c.prototype.init=function(){};new f2c;var g2c=!ts&&!jaa(),h2c=function(a,b){if(/-[a-z]/.test(b))return null;if(g2c&&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 iq=function(a,b,c,d,e){var g=this;this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=Odb(this.root,function(){g.hide()},{});this.navigatable=Adb(c);this.navigationEventHandler=Edb({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=aq(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()};
iq.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=ydb(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(Pdb(e))}d.stopPropagation();i2c(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
iq.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)};iq.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()};
iq.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(Pdb(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);i2c(this,b);this.hide();a.stopPropagation()}}};
var j2c=function(a,b){a.itemSelectedCallbacks.add(b)},k2c=function(a,b){a.afterHideCallbacks.add(b)},i2c=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};iq.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 Qdb=function(){return jq('<div peoplekit-id="'+mq("xl07Ob")+'" class="'+mq("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var Udb=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=aq(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};f=Udb.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 Tdb=function(a){a=a.label;return jq('<button class="'+mq("peoplekitComponentsButtonLabelLabelButton")+'">'+nq(a)+"</button>")};var oeb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=aq(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=Zp(this.root,"Sx9Kwc");this.startFocusableElement=Zp(this.root,"tYwGbe");this.endFocusableElement=Zp(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=oeb.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(Pdb(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=Bdb(this.dialog);1<a.length&&a[a.length-2].focus()};
f.onEndFocusableElementFocus=function(){var a=Bdb(this.dialog);1<a.length&&a[1].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 neb=function(a){var b=a.content;a=a.header;return jq('<div peoplekit-id="'+mq("GGAcbc")+'" class="'+mq("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+mq("Sx9Kwc")+'" class="'+mq("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog"><div peoplekit-id="'+mq("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+mq("peoplekitComponentsDialogImplHeader")+'">'+nq(a)+"</div>":"")+'<div class="'+mq("peoplekitComponentsDialogImplContent")+
'">'+nq(b)+'</div><div class="'+mq("peoplekitComponentsDialogImplActions")+'">'+jq(l2c("IbE0S"))+jq('<div class="'+mq("peoplekitComponentsDialogImplActionDivider")+'"></div>')+jq(l2c("McfNlf"))+'</div><div peoplekit-id="'+mq("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},l2c=function(a){return jq('<div peoplekit-id="'+mq(a)+'"></div>')};var Zdb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=aq(this);this.dialog=Zp(this.root,"Sx9Kwc");this.startFocusableElement=Zp(this.root,"tYwGbe");this.endFocusableElement=Zp(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.dialog.focus()};f=Zdb.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=Bdb(this.dialog);1<a.length&&a[a.length-2].focus()};f.onEndFocusableElementFocus=function(){var a=Bdb(this.dialog);1<a.length&&a[1].focus()};
f.onScrimClick=function(){this.dispatchAction(2)};var Ydb=function(a){var b=a.content;a=a.header;return jq('<div peoplekit-id="'+mq("GGAcbc")+'" class="'+mq("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+mq("Sx9Kwc")+'" class="'+mq("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog"><div peoplekit-id="'+mq("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+mq("peoplekitComponentsDialogInfoHeader")+'">'+nq(a)+"</div>":"")+'<div class="'+mq("peoplekitComponentsDialogInfoContent")+
'"><div class="'+mq("peoplekitComponentsDialogInfoDescription")+'">'+nq(b)+'</div></div><div class="'+mq("peoplekitComponentsDialogInfoActions")+'">'+jq('<div peoplekit-id="'+mq("TvD9Pc")+'"></div>')+'</div><div peoplekit-id="'+mq("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},aeb=function(a){a=a.header;return jq('<div class="'+mq("peoplekitComponentsDialogInfoTextHeader")+'">'+nq(a)+"</div>")},m2c=function(a){var b=a.description,c=a.learnMoreLinkUrl;a=a.learnMoreLinkText;return jq('<div class="'+
mq("peoplekitComponentsDialogInfoDescription")+'">'+nq(b)+'  <a href="'+mq(Uzc(c))+'" target="_blank" class="'+mq("peoplekitComponentsDialogInfoLearnMoreLink")+'">'+nq(a)+"</a></div>")};var Wdb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var n2c=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"),o2c=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,p2c=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,q2c=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var r2c=/\/\/lh[3-6]\./,s2c=function(a,b,c,d){var e;(e=!a)||(e=String(a),e=!(n2c.test(e)||o2c.test(e)||p2c.test(e)||q2c.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(r2c,"//lh3.");return(new VJ(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 feb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,g=a.pixelRatio;Array.isArray(b);a=jq;var h='<div class="'+mq("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+mq(iR(d))+"px; height: "+mq(iR(d))+'px"><div peoplekit-id="'+mq("YLEF4c")+'" class="'+mq("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+mq(iR(d))+"px; height: "+mq(iR(d))+'px">';Array.isArray(b);1==b.length?(Array.isArray(b),b=jq('<div class="'+mq("peoplekitComponentsAvatarImplContainer")+
'">'+n2(b[0],c,d,e,g)+"</div>")):2==b.length?(Array.isArray(b),b=jq('<div class="'+mq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+mq("peoplekitComponentsAvatarImplColumn")+'">'+n2(b[0],c,d,e,g)+"</div>"+o2()+'<div class="'+mq("peoplekitComponentsAvatarImplColumn")+'">'+n2(b[1],c,d,e,g)+"</div></div>")):3==b.length?(Array.isArray(b),b=jq('<div class="'+mq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+mq("peoplekitComponentsAvatarImplColumn")+'">'+n2(b[0],c,d,e,g)+"</div>"+
o2()+'<div class="'+mq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+mq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[1],c,Math.round(.5*d),e,g)+"</div>"+o2()+'<div class="'+mq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[2],c,Math.round(.5*d),e,g)+"</div></div></div>")):(Array.isArray(b),b=jq('<div class="'+mq("peoplekitComponentsAvatarImplContainer")+'"><div class="'+mq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+mq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[0],c,Math.round(.5*
d),e,g)+"</div>"+o2()+'<div class="'+mq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[2],c,Math.round(.5*d),e,g)+"</div></div>"+o2()+'<div class="'+mq("peoplekitComponentsAvatarImplColumn")+'"><div class="'+mq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[1],c,Math.round(.5*d),e,g)+"</div>"+o2()+'<div class="'+mq("peoplekitComponentsAvatarImplRow")+'">'+n2(b[3],c,Math.round(.5*d),e,g)+"</div></div></div>"));b=jq(b);return a(h+b+'</div><div peoplekit-id="'+mq("Btuy5e")+'" class="'+mq("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+jq('<img class="'+mq("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+mq("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},n2=function(a,b,c,d,e){var g=Uzc(s2c(a,c,c,e));g=Hzc(g);a=Uzc(s2c(a,d,d,e));a=Hzc(a);b=Uzc(s2c(b,c,c,e));b=Hzc(b);g='<div peoplekit-id="'+mq("IHgMKc")+'" class="'+mq("peoplekitComponentsAvatarImplImageRoot")+'"><img peoplekit-id="'+mq("HiaYvf")+'" class="'+mq("peoplekitComponentsAvatarImplImage")+'" style="width: '+mq(iR(c))+"px; height: "+mq(iR(c))+
'px;" data-preload-src="'+mq(a)+'" data-src="'+mq(g)+'" data-backup-src="'+mq(b)+'" draggable="false" alt="">';c=jq('<svg xmlns="http://www.w3.org/2000/svg" height="'+mq(c)+'px" viewBox="0 0 24 24" width="'+mq(c)+'px" class="'+mq("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 jq(g+c+"</div>")},o2=function(){return jq('<div class="'+mq("peoplekitComponentsAvatarImplDivider")+'"></div>')};var t2c=new Map([[0,"light_theme"],[1,"dark_theme"]]);var u2c=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),v2c=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),heb=function(a,b){this.appearance=b;this.root=a;w2c(this)};f=heb.prototype;
f.setBadge=function(a){var b=Zp(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=u2c.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(t2c.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=v2c.get(a.badgeType)||"";d=Zp(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 w2c=function(a){var b={};a=k(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var c=a.next();!c.done;b={$jscomp$loop$prop$img$2348:b.$jscomp$loop$prop$img$2348,$jscomp$loop$prop$src$2346:b.$jscomp$loop$prop$src$2346,$jscomp$loop$prop$imageRoot$2350:b.$jscomp$loop$prop$imageRoot$2350,$jscomp$loop$prop$backupSrc$2349:b.$jscomp$loop$prop$backupSrc$2349},c=a.next())b.$jscomp$loop$prop$imageRoot$2350=c.value,b.$jscomp$loop$prop$img$2348=Zp(b.$jscomp$loop$prop$imageRoot$2350,"HiaYvf"),
c=h2c(b.$jscomp$loop$prop$img$2348,"preloadSrc"),b.$jscomp$loop$prop$src$2346=h2c(b.$jscomp$loop$prop$img$2348,"src"),b.$jscomp$loop$prop$backupSrc$2349=h2c(b.$jscomp$loop$prop$img$2348,"backupSrc"),eeb(b.$jscomp$loop$prop$src$2346)?b.$jscomp$loop$prop$img$2348.src=b.$jscomp$loop$prop$src$2346:eeb(c)?(b.$jscomp$loop$prop$img$2348.src=c,Tn(function(d){return function(){d.$jscomp$loop$prop$img$2348.src=d.$jscomp$loop$prop$src$2346}}(b),0)):(b.$jscomp$loop$prop$imageRoot$2350.classList.add("isLoading"),
b.$jscomp$loop$prop$img$2348.onload=function(d){return function(){d.$jscomp$loop$prop$imageRoot$2350.classList.remove("isLoading")}}(b),b.$jscomp$loop$prop$img$2348.onerror=function(d){return function(){d.$jscomp$loop$prop$img$2348.getAttribute("src")===d.$jscomp$loop$prop$backupSrc$2349?(d.$jscomp$loop$prop$img$2348.onerror=null,d.$jscomp$loop$prop$imageRoot$2350.classList.remove("isLoading"),d.$jscomp$loop$prop$imageRoot$2350.classList.add("isNotLoaded")):d.$jscomp$loop$prop$img$2348.src=d.$jscomp$loop$prop$backupSrc$2349}}(b),
b.$jscomp$loop$prop$img$2348.src=b.$jscomp$loop$prop$src$2346)};var kq=function(){this.theme=this.density=0};kq.prototype.getDensity=function(){return this.density};kq.prototype.setDensity=function(a){this.density=a};kq.prototype.getTheme=function(){return this.theme};kq.prototype.setTheme=function(a){this.theme=a};var pq=function(a){this.dialog=a};pq.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};pq.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};pq.prototype.getRoot=function(){return this.dialog.getRoot()};pq.prototype.dispose=function(){this.dialog.dispose()};var p2=function(a){this.delegate=a};f=p2.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 tq=function(a,b,c,d){this.delegate=a;var e=this;this.appearanceConfig=b;this.clientConfig=c;this.result=d;this.groupMembers=this.result.getMemberList();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=Zp(a.getRoot(),"QL45qe");this.eventHandler=aq(this);this.eventHandler.listen(document,"click",function(g){e.contextMenuContainer.contains(g.target)||x2c(e)});this.eventHandler.listen(document,"keydown",function(g){if(e.contextMenu)e.contextMenu.onKeyDown(new m2(g))})};
U(tq,p2);tq.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else p2.prototype.onKeyDown.call(this,a)};
tq.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&x2c(this);this.contextMenu=Sdb(this.contextMenuContainer,this.getRoot(),this.getRoot(),this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(udb(a));j2c(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?y2c(c):z2c(c);break;default:throw Error("we`"+d.id);}x2c(c)});k2c(this.contextMenu,function(){x2c(c);b()});this.contextMenu.show();
return function(){x2c(c)}};tq.prototype.dispose=function(){this.eventHandler.removeAll();p2.prototype.dispose.call(this)};
var y2c=function(a){A2c(a);a.dispatcher.notify(8);a.hideConfirmationDialog=peb(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));A2c(a)})},A2c=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},z2c=function(a){B2c(a);
a.dispatcher.notify(8);a.hideGroupErrorDialog=ceb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){B2c(a)})},B2c=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},x2c=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var veb=function(a){a=a.memberCount;return(new nkc("{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)},ueb=function(a){a=a.memberNames;Array.isArray(a);return Gzc(a).join(", ")};var teb=Xp.getInstance();var xeb=Xp.getInstance();var q2=function(a){r.call(this,a)};U(q2,r);q2.prototype.getOccupiedUntil=function(){return Z(this,yh,2)};q2.prototype.getNextAvailable=function(){return Z(this,yh,3)};q2.prototype.getCommittedUntil=function(){return Z(this,yh,4)};q2.prototype.toObject=function(){return C2c(this)};var C2c=function(a){if(null!=a)return t(a),{eventSummary:V(a,1),occupiedUntil:wt(a.getOccupiedUntil()),nextAvailable:wt(a.getNextAvailable()),committedUntil:wt(a.getCommittedUntil())}};var r2=function(a){r.call(this,a)};U(r2,r);r2.prototype.getOccupiedUntil=function(){return Z(this,yh,1)};r2.prototype.getCommittedUntil=function(){return Z(this,yh,3)};r2.prototype.getNextAvailable=function(){return Z(this,yh,2)};r2.prototype.toObject=function(){return D2c(this)};var D2c=function(a){if(null!=a)return t(a),{occupiedUntil:wt(a.getOccupiedUntil()),committedUntil:wt(a.getCommittedUntil()),nextAvailable:wt(a.getNextAvailable())}};var s2=function(a){r.call(this,a)};U(s2,r);s2.prototype.getOccupiedUntil=function(){return Z(this,yh,3)};s2.prototype.getCommittedUntil=function(){return Z(this,yh,5)};s2.prototype.getNextAvailable=function(){return Z(this,yh,4)};s2.prototype.toObject=function(){return E2c(this)};var E2c=function(a){if(null!=a)return t(a),{eventSummary:V(a,1),inMeetingsUntil:wt(Z(a,yh,2)),occupiedUntil:wt(a.getOccupiedUntil()),committedUntil:wt(a.getCommittedUntil()),nextAvailable:wt(a.getNextAvailable())}};var F2c=function(a){r.call(this,a)};U(F2c,r);F2c.prototype.toObject=function(){return G2c(this)};var G2c=function(a){if(null!=a)return t(a),{}};var t2=function(a){r.call(this,a)};U(t2,r);t2.prototype.getComeBackTime=function(){return Z(this,yh,1)};t2.prototype.getCommittedUntil=function(){return Z(this,yh,3)};t2.prototype.toObject=function(){return H2c(this)};var H2c=function(a){if(null!=a)return t(a),{comeBackTime:wt(a.getComeBackTime()),eventSummary:V(a,2),committedUntil:wt(a.getCommittedUntil())}};var I2c=function(a){r.call(this,a)};U(I2c,r);I2c.prototype.getComeBackTime=function(){return Z(this,yh,2)};I2c.prototype.toObject=function(){return J2c(this)};var J2c=function(a){if(null!=a)return t(a),{comeBackTime:wt(a.getComeBackTime())}};var u2=function(a){r.call(this,a)};U(u2,r);u2.prototype.hasOutsideWorkingHours=function(){return Nj(this,I2c,3,v2)};u2.prototype.hasOutOfOffice=function(){return Nj(this,t2,4,v2)};var v2=[2,3,4,5,6,7];u2.prototype.toObject=function(){return K2c(this)};var K2c=function(a){if(null!=a)return t(a),{inactive:G2c(Pj(a,F2c,2,v2)),doNotDisturb:D2c(Pj(a,r2,7,v2)),outsideWorkingHours:J2c(Pj(a,I2c,3,v2)),outOfOffice:H2c(Pj(a,t2,4,v2)),inMeeting:E2c(Pj(a,s2,5,v2)),calendarBusy:C2c(Pj(a,q2,6,v2))}};var L2c=function(a){r.call(this,a)};U(L2c,r);L2c.prototype.getTimeZone=function(){return V(this,1)};L2c.prototype.setTimeZone=function(a){return jj(this,1,a)};L2c.prototype.toObject=function(){return M2c(this)};var M2c=function(a){if(null!=a)return t(a),{timeZone:V(a,1)}};var N2c=function(a){r.call(this,a)};U(N2c,r);N2c.prototype.toObject=function(){return O2c(this)};var O2c=function(a){if(null!=a)return t(a),{nextCommitmentTime:wt(Z(a,yh,1)),nextCommitmentStatus:K2c(Z(a,u2,2))}};var P2c=function(a){r.call(this,a)};U(P2c,r);f=P2c.prototype;f.getStartTime=function(){return Z(this,yh,1)};f.setStartTime=function(a){Wi(this,yh,1,a)};f.getEndTime=function(){return Z(this,yh,2)};f.setEndTime=function(a){Wi(this,yh,2,a)};f.toObject=function(){return Q2c(this)};var Q2c=function(a){if(null!=a)return t(a),{startTime:wt(a.getStartTime()),endTime:wt(a.getEndTime())}};var R2c=function(a){r.call(this,a)};U(R2c,r);R2c.prototype.getTimeRange=function(){return Z(this,P2c,1)};R2c.prototype.toObject=function(){return S2c(this)};var S2c=function(a){if(null!=a)return t(a),{timeRange:Q2c(a.getTimeRange())}};var w2=function(a){r.call(this,a)};U(w2,r);w2.prototype.getLocation=function(){return V(this,2)};w2.prototype.getLabel=function(){return V(this,4)};w2.prototype.setLabel=function(a){return jj(this,4,a)};w2.prototype.toObject=function(){return T2c(this)};var T2c=function(a){if(null!=a)return t(a),{location:V(a,2),geoCoordinates:tPb(Z(a,ev,3)),label:V(a,4)}};var U2c=function(a){r.call(this,a)};U(U2c,r);U2c.prototype.toObject=function(){return V2c(this)};var V2c=function(a){if(null!=a)return t(a),{}};var W2c=function(a){r.call(this,a)};U(W2c,r);W2c.prototype.getLabel=function(){return V(this,4)};W2c.prototype.setLabel=function(a){return jj(this,4,a)};W2c.prototype.toObject=function(){return X2c(this)};var X2c=function(a){if(null!=a)return t(a),{experimentalBuildingId:V(a,1),experimentalDeskId:V(a,2),experimentalFloorId:V(a,3),label:V(a,4)}};var Y2c=function(a){r.call(this,a)};U(Y2c,r);var Z2c=[1,2,3];Y2c.prototype.toObject=function(){return $2c(this)};var $2c=function(a){if(null!=a)return t(a),{homeLocation:V2c(Pj(a,U2c,1,Z2c)),customLocation:T2c(Pj(a,w2,2,Z2c)),officeLocation:X2c(Pj(a,W2c,3,Z2c))}};var a3c=function(a){r.call(this,a)};U(a3c,r);a3c.prototype.getLocation=function(){return Z(this,Y2c,2)};a3c.prototype.toObject=function(){return b3c(this)};var b3c=function(a){if(null!=a)return t(a),{location:$2c(a.getLocation())}};var c3c=function(a){r.call(this,a)};U(c3c,r);c3c.prototype.toObject=function(){return d3c(this)};var d3c=function(a){if(null!=a)return t(a),{workingElsewhere:b3c(Z(a,a3c,1)),upcomingOoo:S2c(Z(a,R2c,2)),localTime:M2c(Z(a,L2c,3)),upcomingCommitmentContext:O2c(Z(a,N2c,4))}};var e3c=function(a){r.call(this,a)};U(e3c,r);f=e3c.prototype;f.getTimeRange=function(){return Z(this,P2c,1)};f.getStatus=function(){return Z(this,u2,2)};f.setStatus=function(a){return Wi(this,u2,2,a)};f.hasStatus=function(){return Aj(this,u2,2)};f.toObject=function(){return f3c(this)};var f3c=function(a){if(null!=a)return t(a),{timeRange:Q2c(a.getTimeRange()),status:K2c(a.getStatus()),contexts:d3c(Z(a,c3c,3))}};var g3c=function(a){r.call(this,a)};U(g3c,r);g3c.prototype.getDayOfWeek=function(){return Eh(this,1)};g3c.prototype.toObject=function(){return h3c(this)};var h3c=function(a){if(null!=a)return t(a),{dayOfWeek:Eh(a,1),periodStartMinutes:Eh(a,2),periodEndMinutes:Eh(a,3)}};var i3c=function(a){r.call(this,a)};U(i3c,r);i3c.repeatedFields_=[1];i3c.prototype.toObject=function(){return j3c(this)};var j3c=function(a){if(null!=a)return t(a),{availableTimeList:Gb(Ch(a,g3c,1),h3c)}};var k3c=function(a){r.call(this,a)};U(k3c,r);k3c.repeatedFields_=[1];k3c.prototype.toObject=function(){return l3c(this)};var l3c=function(a){if(null!=a)return t(a),{availabilitiesList:Gb(Ch(a,e3c,1),f3c),workingHours:j3c(Z(a,i3c,3)),nextPollTime:wt(Z(a,yh,2))}};var m3c=new EA(SY.WEEKDAY_MONTH_DAY_MEDIUM),n3c=new EA(7);new EA(SY.WEEKDAY_MONTH_DAY_MEDIUM);var o3c=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var p3c=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return jq('<div class="'+mq("peoplekitComponentsTagTag")+" "+(a?mq(a):"")+'" peoplekit-id="'+mq("mQXP")+'">'+(b?'<img class="'+mq("peoplekitComponentsTagIcon")+'" src="'+mq(Wzc(b))+'" alt="'+mq(c)+'"><div'+(d?"":' class="'+mq("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+mq("peoplekitComponentsTagText")+'">'+nq(c)+"</div></div>":'<div class="'+mq("peoplekitComponentsTagText")+'">'+nq(c)+"</div>")+"</div>")};var zeb=function(a,b,c,d,e,g){var h=this;this.root=a;this.avatar=e;this.features=g;this.isIntelligenceInitialized=this.isOutOfOffice=!1;q3c(this,{tags:d});Xcb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){q3c(h,l)})};f=zeb.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("ye");};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};
f.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Zp(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("xe");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 "+n3c.format(c):"Out of office - back on "+m3c.format(c);s_b(b,String(c));this.root.classList.add("isOutOfOffice")}else s_b(b,
""),this.root.classList.remove("isOutOfOffice")}};f.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:o3c.get(a.getType()||0)||2})};f.getSupportedIntelligenceFeatures=function(){return this.features};f.addTag=function(a){var b=Zp(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=zo(p3c,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 q3c=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)};zeb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};zeb.prototype.dispose=function(){};var Veb=function(a,b,c,d,e){this.delegate=Aeb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new S0c(Yq)};U(Veb,p2);Veb.prototype.getAllIds=function(){return[this.id]};Veb.prototype.getSelection=function(){return this.selection};var r3c=function(a,b,c,d,e,g,h,l){d=void 0===d?"":d;e=void 0===e?!1:e;return jq('<div role="option" class="'+mq("peoplekitComponentsResultlistitemResultListItem")+" "+mq(d)+'" id="'+mq(a)+'" peoplekit-id="'+mq(a)+'" aria-disabled="'+mq(e)+'" aria-selected="false"><div class="'+mq("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+mq("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+mq(b)+'" data-name="'+mq(oq(c))+'">'+nq(g)+'</div><div class="'+mq("peoplekitComponentsResultlistitemCenter")+
'">'+nq(h)+'</div><div class="'+mq("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+mq("QChpEe")+'">'+nq(l)+'</div></div><div peoplekit-id="'+mq("Z306Oe")+'" class="'+mq("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+mq("QL45qe")+'"></div></div>')},s3c=function(a,b,c,d){return jq('<div class="'+mq("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+mq("peoplekitComponentsResultlistitemLabel")+" "+mq("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+mq("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+mq(b)+'" data-name="'+mq(oq(a))+'" translate="no">'+nq(oq(a))+'</div><div peoplekit-id="'+mq("x00ATb")+'" class="'+mq("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+mq("peoplekitComponentsResultlistitemSublabel")+" "+mq("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+mq("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+mq(b)+'" data-name="'+mq(oq(a))+
'"'+(d?"":' translate="no"')+">"+nq(oq(c))+"</div></div>":"")+"</div>")},t3c=function(a){return jq('<div class="'+mq("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+mq("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+mq("d6MZcd")+'"></div>'+(a?nq(a):"")+"</div>")},u3c=function(){var a=jq,b='<div class="'+mq("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+mq("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=jq('<svg viewBox="0 0 24 24" class="'+
(mq("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(t3c(gR(b+c+"</div></div>")))},v3c=function(){return jq('<img class="'+mq("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+mq("SC3Htd")+'" alt="" src=""/>')};var Ueb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,g=a.allowSublabelTranslation;return jq(r3c(a.id,b,c,"isDisabled "+a.densityClass,!0,gR(""+t3c()),gR(""+s3c(c,b,d,g)),gR('<div class="'+mq("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+nq(e)+"</div>")))};var uq=function(a){this.delegate=a;var b=this;this.eventHandler=aq(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};U(uq,p2);uq.prototype.onClick=function(){this.toggleSelection()};var Beb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("ze");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new M0c(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};f=Beb.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 w3c=function(a,b,c,d,e,g){this.delegate=Aeb(a,b,d,e,g,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new S0c(Yq)};U(w3c,p2);w3c.prototype.getAllIds=function(){return[this.id]};w3c.prototype.toggleSelection=function(){for(var a=k(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=Ceb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(Cdb("pk-select",this.root))};w3c.prototype.getSelection=function(){return this.selection};var x3c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return jq(r3c(a.id,b,c,a.densityClass,void 0,gR(""+t3c()),gR(""+s3c(c,b,d,e)),gR(""+v3c())))};var vq=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&y3c(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){y3c(c,d)};z3c(this.selectionsState,this.onDeselectionCallback);A3c(this.selectionsState,this.onSelectionCallback)};U(vq,p2);
vq.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=Cdb("pk-deselect",a)}else a=this.getRoot(),a=Cdb("pk-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var y3c=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};vq.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var Seb=function(a,b,c,d,e,g){this.delegate=Aeb(a,b,d,e,g,[2]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Ceb(b,b.getDisplayName())};U(Seb,p2);Seb.prototype.getAllIds=function(){return[this.id]};Seb.prototype.getSelection=function(){return this.selection};var Reb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return jq(r3c(a.id,b,c,a.densityClass,void 0,gR(""+u3c()),gR(""+s3c(c,b,d,e)),gR(""+v3c())))};var B3c=function(a,b,c,d,e,g){this.delegate=Aeb(a,b,d,e,g,[]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Ceb(b)};U(B3c,p2);B3c.prototype.getAllIds=function(){return[this.id]};B3c.prototype.getSelection=function(){return this.selection};var C3c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return jq(r3c(a.id,b,c,a.densityClass,void 0,gR(""+u3c()),gR(""+s3c(c,b,d,e)),gR(""+v3c())))};var Ieb=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=aq(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=Ieb.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&&(D3c(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&&E3c(this.tooltip)};f.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&D3c(this.tooltip)};f.isActive=function(){return this.root.classList.contains("isFocused")};var F3c=0;var Eeb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+F3c++:"")?' data-tooltip-id="'+mq(a)+'" aria-labelledby="'+mq(a)+'"':c?' aria-label="'+mq(c)+'"':"";d+='<button class="'+mq("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+jq('<span><img src="'+mq(Wzc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+mq("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return jq(d)};var G3c=["mouseover","focusin","touchstart"],H3c=["mouseleave","blur","touchend","click"],Geb=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=aq(this);this.tooltipService=Odb(this.tooltip,function(){D3c(d)},{anchorCorner:3,popupCorner:2})},Heb=function(a,b){if(a.anchor)throw Error("Ae");a.anchor=b;for(var c=k(G3c),d=c.next();!d.done;d=c.next())a.eventHandler.listen(b,d.value,function(){I3c(a)});
J3c(a)},E3c=function(a){if(!a.anchor)throw Error("Be");a.isDisplayedInternal||(a.tooltipService.show(a.anchor),window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.isDisplayedInternal=!0)},D3c=function(a){a.isDisplayedInternal&&(a.tooltipService.hide(),window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.isDisplayedInternal=!1)};Geb.prototype.getRoot=function(){return this.tooltip};
var I3c=function(a){void 0===a.showTimeout&&(window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.showTimeout=window.setTimeout(function(){E3c(a)},a.showDelay))},K3c=function(a){void 0===a.hideTimeout&&(window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.hideTimeout=window.setTimeout(function(){D3c(a)},a.hideDelay))},J3c=function(a){if(a.anchor){for(var b=k(H3c),c=b.next();!c.done;c=b.next())a.eventHandler.listen(a.anchor,c.value,function(){K3c(a)});a.eventHandler.listen(window,"touchmove",
function(){K3c(a)});a.eventHandler.listen(window,"focus",function(d){d.target!==a.anchor&&K3c(a)});a.eventHandler.listen(window,"blur",function(d){d.target===window&&D3c(a)})}};var Feb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,g=jq;a='<div id="'+mq(a.id)+'" peoplekit-id="'+mq("suEOdc")+'" class="'+mq("peoplekitComponentsTooltipImplTooltip")+(d?" "+mq(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+mq(c)+'"':"");e?(fR(e,zzc)?e=e.getContent():(e=String(e),e=$zc.test(e)?e:"zSoyz"),fR(e,zzc)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return g(a+e+">"+nq(b)+"</div>")};var Keb=function(a,b,c){this.delegate=a;for(var d=this,e=Zp(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=Jeb(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";Vp(this.buttonRoot,163534,["impression","pk-click"]);this.secondaryActionButton.onClick=function(g){var h;null==(h=c.onClick)||h.call(c,g);d.buttonRoot.dispatchEvent(Pdb(d.buttonRoot))};
this.eventHandler=aq(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};U(Keb,p2);f=Keb.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();p2.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 L3c={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"},Oeb=function(a,b,c,d){var e={icon:0===b.getTheme()?L3c.LIGHT_THEME:L3c.DARK_THEME,tooltipLabel:"Unhide Suggestion",ariaLabel:"Unhide Suggestion Button",onClick:function(h){g.onButtonClick(h)}};p2.call(this,Leb(a,b,e,d));var g=this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};
U(Oeb,p2);Oeb.prototype.onButtonClick=function(a){M3c(this);a.stopPropagation()};var M3c=function(a){a.unhideConfirmationDialog&&N3c(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=peb(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());N3c(a)})},N3c=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var O3c=function(a){r.call(this,a)};U(O3c,r);f=O3c.prototype;f.getIdCase=function(){return Ai(this,x2)};f.getProfileId=function(){return Vs(this,1,x2)};f.setProfileId=function(a){return Xn(this,1,x2,a)};f.hasProfileId=function(){return null!=mo(this,1,x2)};f.getEmail=function(){return Vs(this,2,x2)};f.setEmail=function(a){return Xn(this,2,x2,a)};f.hasEmail=function(){return null!=mo(this,2,x2)};f.getPhone=function(){return Vs(this,3,x2)};f.setPhone=function(a){return Xn(this,3,x2,a)};
f.hasPhone=function(){return null!=mo(this,3,x2)};var x2=[1,2,3];O3c.prototype.toObject=function(){return P3c(this)};var P3c=function(a){if(null!=a)return t(a),{profileId:p(mo(a,1,x2)),email:p(mo(a,2,x2)),phone:p(mo(a,3,x2))}};var y2=function(a){r.call(this,a)};U(y2,r);y2.prototype.getHideType=function(){return ir(this,1)};y2.prototype.getHiddenKeysList=function(){return Ch(this,O3c,3)};y2.repeatedFields_=[3];y2.prototype.toObject=function(){return Q3c(this)};var Q3c=function(a){if(null!=a)return t(a),{hideType:p(ir(a,1)),hiddenKeysList:Gb(a.getHiddenKeysList(),P3c),familyStatus:p(ir(a,2)),birthdayStatus:p(ir(a,4))}};var Sgb=Eb(417869137,{peopleStackPersonData:0},y2,Q3c);p0c[417869137]=Sgb;var Meb=function(){};Meb.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(Sgb))?void 0:c.getHideType())?a:null};Meb.prototype.reset=function(){};var Xeb=new Map([[1,Teb()],[4,Teb()],[5,Web(1)],[6,Web(2)],[2,function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=yeb(b,d,g,a.isRightToLeft,Gj(a.clientConfig.getInternal(),6,!1),qq(e.getDensity())),l=zo(C3c,h);Vp(l,25285,["impression","pk-select","pk-deselect"],[Deb(b.getPrimaryTarget().getLoggingToken())]);var q=Zp(l,"d6MZcd"),x=qeb(e.getDensity()),A;g=null!=(A=g.backupAvatarUrl)?A:"";e=lq(q,h.photos,x,x,e,g);b=new B3c(l,b,c,d,h.tags,
e);c=new uq(new vq(b,c));return Qeb(Peb(c,a),a)}],[3,function(a){var b=a.result;var c=a.selectionsState,d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=yeb(b,d,g,a.isRightToLeft,Gj(a.clientConfig.getInternal(),6,!1),qq(e.getDensity())),l=zo(x3c,h);Vp(l,25285,["impression","pk-select","pk-deselect"],[Deb(b.getPrimaryTarget().getLoggingToken())]);var q=Zp(l,"d6MZcd"),x=qeb(e.getDensity()),A;g=null!=(A=g.backupAvatarUrl)?A:"";e=lq(q,h.photos,x,x,e,g);b=new uq(new w3c(l,b,c,d,h.tags,e));
return Peb(b,a)}]]);var hfb=function(a,b,c,d,e,g,h){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.results=[];this.intelligentCollection=g.create();this.navigatable=new K0c(new zdb(this.results))};f=hfb.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=Yeb(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,rR(this.list.getRoot()),this.interactions),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 z2=function(a){this.delegate=a};f=z2.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 R3c=function(){return jq('<div class="'+mq("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+'" peoplekit-id="'+mq("wgPSWd")+'"><svg class="'+mq("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>')};var yq=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.chevron=zo(R3c);this.eventHandler=aq(this);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);
Zp(this.getRoot(),"QChpEe").appendChild(this.chevron);b||this.chevron.classList.toggle("rotate")};U(yq,z2);yq.prototype.getActionItems=function(){return this.groupingHeaderActionItems};yq.prototype.dispose=function(){this.eventHandler.removeAll();z2.prototype.dispose.call(this)};yq.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed)};var S3c=function(){return jq('<div class="'+mq("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+'" peoplekit-id="'+mq("CLghmc")+'"><svg class="'+mq("peoplekitComponentsGroupingHeaderInfoInfoIcon")+'" style="padding: 5px" xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 24 24" width="16px"><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 U3c=function(a,b,c){this.delegate=a;var d=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoIcon=zo(S3c);Zp(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);this.eventHandler=aq(this);this.eventHandler.listen(this.infoIcon,"click",function(){T3c(d)});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){d.infoIcon.classList.add("isSpotlit")},unfocus:function(){d.infoIcon.classList.remove("isSpotlit")},onKeyDown:function(e){13===
e.event.keyCode&&(T3c(d),e.stopPropagation(),e.preventDefault())}})};U(U3c,z2);var T3c=function(a){var b=m2c({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),c=document.activeElement,d=$db(a.getRoot(),b,a.appearanceConfig);d.subscribeToAction(function(e){2===e&&(d.dispose(),c&&c.focus())})};U3c.prototype.getActionItems=function(){return this.groupingHeaderActionItems};
U3c.prototype.dispose=function(){this.eventHandler.removeAll();z2.prototype.dispose.call(this)};var $eb=function(a,b){this.root=a;this.header=b};f=$eb.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("ye");};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var Zeb=function(a){var b=jq;var c=a.id;a=a.header;c=jq('<div class="'+mq("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+mq(c)+'" peoplekit-id="'+mq("XLuqBd")+'"><div class="'+mq("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+mq("peoplekitComponentsGroupingHeaderHeader")+'">'+nq(a)+'</div><div class="'+mq("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+mq("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+mq("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+mq("xiK4Cd")+'"></div><div class="'+mq("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+mq("QChpEe")+'"></div></div></div></div></div>');return b(c)};var V3c=function(a){this.delegate=a};U(V3c,z2);V3c.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};V3c.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
V3c.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 A2=function(a){this.delegate=a};f=A2.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 Bq=function(a,b){this.delegate=a;var c=this;this.listContainer=Zp(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("De");this.collapsibleHeader=bfb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};U(Bq,A2);Bq.prototype.isInteractive=function(){return!0};Bq.prototype.getHeader=function(){return this.collapsibleHeader};Bq.prototype.dispose=function(){this.collapsibleHeader.dispose();A2.prototype.dispose.call(this)};
Bq.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 Aq=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Ee");this.infoHeader=new U3c(a,b,c)};U(Aq,A2);Aq.prototype.isInteractive=function(){return!0};Aq.prototype.getHeader=function(){return this.infoHeader};Aq.prototype.dispose=function(){this.infoHeader.dispose();A2.prototype.dispose.call(this)};var zq=function(a,b){this.delegate=a;this.groupName=b;this.header=afb(b);Zp(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};U(zq,A2);zq.prototype.getGroupName=function(){return this.groupName};zq.prototype.getHeader=function(){return this.header};zq.prototype.dispose=function(){this.header.dispose();A2.prototype.dispose.call(this)};var W3c=function(a){this.root=a;this.items=[];this.list=bdb(Zp(a,"tjneg"))};f=W3c.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 B2=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=Zp(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 V3c(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})};U(B2,A2);B2.prototype.append=function(a){this.isInitiallyCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);A2.prototype.append.call(this,a)};B2.prototype.getHeader=function(){return this.header};B2.prototype.dispose=function(){this.mutationObserver.disconnect();A2.prototype.dispose.call(this)};
B2.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 X3c=function(a){return jq('<div id="'+mq(a.id)+'" peoplekit-id="'+mq("E9WxSb")+'"><div peoplekit-id="'+mq("Bm3u4d")+'"></div><div class="'+mq("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+mq("tjneg")+'"></div></div>')};var Tfb=function(a,b,c,d,e,g,h){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=g;this.grouping=h;this.groups=new Map;this.navigatable=new K0c(new zdb([]))};f=Tfb.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=Yeb(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,rR(this.list.getRoot()),this.interactions);if(c&&!e){e=this.grouping;var g=this.navigatable,h=this.appearanceConfig,l=[cfb,efb,ffb],q=Lp(Xp.getInstance()),x=zo(X3c,{id:q});q=dfb();x=new W3c(x);l=k(l);for(var A=l.next();!A.done;A=l.next())A=A.value,x=A(x,e,c,h);e=new B2(x,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,Pc(c.value.getItems()));return a};var jfb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};f=jfb.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=afb(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 kfb=function(a,b){this.delegate=a;this.interactions=b};f=kfb.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 gfb=function(a){a=a.header;return jq('<div peoplekit-id="'+mq("aittld")+'">'+(0<a.length?'<div class="'+mq("peoplekitUiResultlistHeader")+'">'+nq(a)+"</div>":"")+'<div peoplekit-id="'+mq("tjneg")+'"></div></div>')};var Rfb=function(a){this.label=a};Rfb.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};Rfb.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};var dfb=function(){throw Error("Fe");};Rfb.prototype.reset=function(){};var Sfb=function(a){this.label=a};Sfb.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};Sfb.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};Sfb.prototype.reset=function(){};var Y3c=function(a){this.delegate=a};f=Y3c.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 Mq=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 Z3c(h,l)};this.unhideListener=function(l){return $3c(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)};U(Mq,Y3c);Mq.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};Y3c.prototype.search.call(this,a,b,c,d)};
Mq.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);Y3c.prototype.dispose.call(this)};
var Z3c=function(a,b){return de(function(c){switch(c.nextAddress){case 1:return ee(c,2),c.yield(a.hide.hideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:ks(c,0);break;case 2:he(c),a4c(a),ie(c)}})},$3c=function(a,b){return de(function(c){switch(c.nextAddress){case 1:return ee(c,2),c.yield(a.hide.unhideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:ks(c,0);break;case 2:he(c),b4c(a),ie(c)}})};
Mq.prototype.refreshResults=function(){var a=this;return de(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),b.yield(a.peopleStore.warmUpCache(),2);a.currentSearchState?Y3c.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");ie(b)})};
var a4c=function(a){a.hideErrorDialog=beb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},b4c=function(a){a.unhideErrorDialog=deb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var c4c=function(a,b){Yp.call(this,a,b)};U(c4c,Yp);c4c.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=b.querySelector('[id="'+(b.id+'-2ab"]'));if(c){var d=this.ariaParent;var e=tmc(d,"activedescendant");d=$A(d).getElementById(e);IL(this.ariaParent,d===c?b:c)}}}Yp.prototype.onKeyDown.call(this,a)};var Zfb=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 c4c(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=Edb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
aq(this);Kp(this.root,0)};f=Zfb.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");Kp(this.root,1);if(a){var g=d4c(this.health);g.start();this.session.search(a,function(l){e.update(l,d,g,!0)})}else if(c){var h=d4c(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()}),Gj(this.clientConfig.getInternal(),9,!1)&&this.eventHandler.listen(this.root,"contextmenu",function(b){var c=a.navigatable.getItem(b.target);c&&(a.navigatable.getSpotlitItem()!==c&&a.navigatable.goToItem(c,0),a.navigatable.onContextMenu(new m2(b),function(){}))}))};
f.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Kp(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});(d||this.config.getAutoActivateFirstSuggestion())&&0<e.length&&!this.navigatable.getSpotlitItem()&&
this.navigatable.goToItem(e[0],0);if(a.getIsLastCallback())for(Kp(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 Kp(this.root,4);c.stop()};f.onKeyDown=function(a){var b=13===a.event.keyCode;if(9===a.event.keyCode&&!a.event.shiftKey||b)if(b=this.navigatable.getActiveItems(),b.length){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}};
f.getNavigatable=function(){return this.navigatable};f.getRoot=function(){return this.root};var Qfb=function(){var a=jq,b='<div class="'+mq("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+mq("yDHfq")+'"><div class="'+mq("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=gR('<div peoplekit-id="'+mq("tjneg")+'"></div>');c=jq('<div tabindex="-1" class="'+mq("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+mq("I8ejUe")+'">'+nq(c)+"</div>");b=b+c+'</div><div class="'+mq("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
mq("peoplekitComponentsCircularprogressCircularProgress")+(" "+mq("isActive"))+'" data-loadingmessage="'+mq("Loading...")+'" data-active="true"><div class="'+mq("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+mq("vyyg5")+'">'+nq("Loading...")+'</div><div class="'+mq("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+mq("peoplekitComponentsCircularprogressColorOne")+
" "+mq("exportColorOne")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+mq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressRight")+
'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div></div><div class="'+mq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+mq("peoplekitComponentsCircularprogressColorTwo")+" "+mq("exportColorTwo")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+
mq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressRight")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div></div><div class="'+mq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+mq("peoplekitComponentsCircularprogressColorThree")+
" "+mq("exportColorThree")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+mq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressRight")+
'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div></div><div class="'+mq("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+mq("peoplekitComponentsCircularprogressColorFour")+" "+mq("exportColorFour")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressLeft")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+
mq("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div><div class="'+mq("peoplekitComponentsCircularprogressCircleClipper")+" "+mq("peoplekitComponentsCircularprogressRight")+'"><div class="'+mq("peoplekitComponentsCircularprogressCircle")+" "+mq("exportCircle")+'"></div></div></div></div></div>';c=jq(c);return a(b+c+"</div></div>")},Ufb=function(){return jq('<div class="'+mq("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var Wfb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+mq("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+mq(a)+'"':"")+'><p class="'+mq("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+nq(b):a+"No results";a+="</p>";if((c instanceof eR?c.getContent():c)||(d instanceof eR?d.getContent():d))a+='<p class="'+mq("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?nq(c)+(d?" ":""):""),d&&(a+=
'<a jsname="'+mq("viORvd")+'" class="'+mq("peoplekitComponentsNoResultsMessageLearnMoreLink")+'" target="_blank" href="'+mq(Uzc(d))+'">',a=e?a+nq(e):a+"Learn more",a+="</a>"),a+="</p>";return jq(a+"</div>")};var Vfb=function(a,b){this.parent=a;this.config=b};Vfb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=zo(Wfb,a);this.parent.appendChild(this.root);return!0};var Yfb=function(){};Yfb.prototype.update=function(){return!1};var Xfb=function(){};Xfb.prototype.update=function(){return!0};var $fb=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=Odb(this.root,function(){g.hide()},{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=aq(this);this.onSelectionCallback=function(){g.onSelect()};this.onSelectionAttemptedCallback=function(){g.hide()};
this.attach()};f=$fb.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;A3c(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("re`"+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("re`"+c);}}this.root.style.width=oR(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("re`"+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 Pfb=function(){return jq('<div class="'+mq("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+mq("noeiCf")+'" style="display: none;"></div>')};var e4c=function(){this.batches=new Map};e4c.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 mfb=function(a,b){this.service=a;this.resolveComponents=b};
mfb.prototype.update=function(a){var b=this;a=k([].concat(Pc(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){f4c(b,g.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(g){f4c(b,g.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var f4c=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 g4c=new Set([1,3,20]),h4c=function(a){var b=this;this.idToComponent=new Map;this.updater=nfb(a,function(c){return b.resolveComponents(c)})};f=h4c.prototype;
f.append=function(a){var b=a.filter(function(g){return g.getAllIds().some(function(h){return g4c.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){var b={};a=k(a);for(var c=a.next();!c.done;b={$jscomp$loop$prop$component$2352:b.$jscomp$loop$prop$component$2352},c=a.next()){b.$jscomp$loop$prop$component$2352=c.value;c=k(b.$jscomp$loop$prop$component$2352.getAllIds());for(var d=c.next();!d.done;d=c.next()){d=String(d.value);var e=this.idToComponent.get(d);e&&this.idToComponent.set(d,e.filter(function(g){return function(h){return h!==g.$jscomp$loop$prop$component$2352}}(b)))}}};
f.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};f.refresh=function(a){var b=new e4c;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 i4c=function(){};i4c.prototype.append=function(){};i4c.prototype.remove=function(){};i4c.prototype.refresh=function(){};i4c.prototype.clear=function(){};var Ofb=function(a){this.peopleIntelligence=a};Ofb.prototype.create=function(){return this.peopleIntelligence?new h4c(this.peopleIntelligence):new i4c};var j4c=function(){this.label="";this.type=0};f=j4c.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 k4c=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};k4c.prototype.getAllowResultDeselection=function(){return!1};k4c.prototype.getWarnForExternalSelections=function(){return!1};k4c.prototype.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};k4c.prototype.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};var l4c=function(a){this.header="";this.showSuggestions=!1;this.autoActivateFirstSuggestion=!0;this.maxResultsBeforeScroll=7;this.moveAutocompleteAboveAnchorIfOffscreen=!0;this.entryPoint=0;this.noResultsMessage=null;this.environmentConfig=a;this.grouping=new j4c;this.result=new k4c;this.appearance=new kq};f=l4c.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.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.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 m4c=function(a){this.environmentConfig=a;this.autocomplete=new l4c(a)};f=m4c.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.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.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 n4c=Object.freeze(new Map([[5,1]]));var o4c=function(){this.entryPoint_=0};o4c.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};o4c.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};o4c.prototype.serialize=function(){return[this.entryPoint_].toString()};var p4c=Object.freeze(new o4c);var q4c=function(){this.originator_=0};q4c.prototype.setOriginator=function(a){this.originator_=a;return this};q4c.prototype.getOriginator=function(){return this.originator_};var Kfb=function(a,b,c){var d=this;this.reporter=a.getReporter((new o4c).setPeoplekitEntryPoint(c));A3c(b,function(e,g,h){d.select(e,h)},0);z3c(b,function(e,g,h){d.deselect(e,h)},0);r4c(b,function(e,g,h,l){d.replace(e,l)})};f=Kfb.prototype;f.display=function(a){this.reporter.reportDisplay(ofb(a.getTargetList()))};f.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Cq([a]),(new q4c).setOriginator(n4c.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Cq([a]))}};
f.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Cq([a]))}};f.dismiss=function(a){this.reporter.reportDismiss(Cq(a))};f.save=function(a){this.reporter.reportSave(Cq(a))};f.send=function(a){this.reporter.reportSend(Cq(a))};f.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var s4c=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};s4c.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=Tn(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};s4c.prototype.cancel=function(){Un(this.timerId);this.isBatchingInternal=!1};var fgb=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 s4c;A3c(this.selectionsState,function(){t4c(h)})};f=fgb.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(Cq(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(Cq(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 u4c=function(a,b){a.selectionChangedListeners.push(b)},t4c=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 Jfb=function(){return jq('<div peoplekit-id="'+mq("nVhUhf")+'"></div>')};var C2=function(a){r.call(this,a)};U(C2,r);C2.prototype.getVersion=function(){return W(this,1,1)};C2.prototype.setVersion=function(a){return n(this,1,a)};C2.prototype.getVersionOrUndefined=function(){return ur(this,1)};C2.prototype.toObject=function(){return v4c(this)};var v4c=function(a){if(null!=a)return t(a),{version:W(a,1,1)}};var w4c=function(a){r.call(this,a)};U(w4c,r);f=w4c.prototype;f.getClientId=function(){return W(this,1,0)};f.setClientId=function(a){return n(this,1,a)};f.getEntryPoint=function(){return W(this,5,0)};f.setEntryPoint=function(a){return n(this,5,a)};f.getSocialClient=function(){return Z(this,HQ,2)};f.setSocialClient=function(a){return Wi(this,HQ,2,a)};f.setVersionName=function(a){return n(this,3,a)};f.getBaselineCl=function(){return dj(this,4)};f.setBaselineCl=function(a){return n(this,4,a)};
f.hasBaselineCl=function(){return Lk(this,4)};f.getBaselineClOrUndefined=function(){return at(this,4)};f.getComponentFlow=function(){return W(this,7,0)};f.setComponentFlow=function(a){return n(this,7,a)};f.toObject=function(){return x4c(this)};var x4c=function(a){if(null!=a)return t(a),{clientId:p(ir(a,1)),entryPoint:p(ir(a,5)),socialClient:Nvc(a.getSocialClient()),versionName:p(m(a,3)),baselineCl:p(m(a,4)),componentFlow:p(ir(a,7)),androidClientInfo:v4c(Z(a,C2,6))}};var y4c=function(a){r.call(this,a)};U(y4c,r);y4c.prototype.toObject=function(){return z4c(this)};var z4c=function(a){if(null!=a)return t(a),{imageType:p(ir(a,1)),imageDataCached:p(ir(a,2))}};var D2=function(a){r.call(this,a)};U(D2,r);D2.prototype.toObject=function(){return A4c(this)};var A4c=function(a){if(null!=a)return t(a),{avatarMetadata:z4c(Z(a,y4c,1))}};var B4c=function(a){r.call(this,a)};U(B4c,r);f=B4c.prototype;f.getLabel=function(){return W(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return cj(this,1)};f.getCause=function(){return W(this,2,0)};f.toObject=function(){return C4c(this)};var C4c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),cause:p(ir(a,2))}};var D4c=function(a){r.call(this,a)};U(D4c,r);f=D4c.prototype;f.getLabel=function(){return W(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return cj(this,1)};f.getValue=function(){return dj(this,2,1)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return Lk(this,2)};f.toObject=function(){return E4c(this)};var E4c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),value:dj(a,2,1)}};var F4c=function(a){r.call(this,a)};U(F4c,r);f=F4c.prototype;f.setLatencyUsec=function(a){n(this,2,a)};f.getQueryLength=function(){return Eh(this,3)};f.setQueryLength=function(a){return n(this,3,a)};f.hasQueryLength=function(){return Bk(this,3)};f.toObject=function(){return G4c(this)};
var G4c=function(a){if(null!=a)return t(a),{resultCount:p(Ms(a,1)),latencyUsec:p(m(a,2)),queryLength:p(Ms(a,3)),isContactsPermissionsGranted:p($q(a,4)),isShowDeviceContactsDisplayed:p($q(a,5)),memoryAllocatedDelta:p(m(a,6)),inAppResultCount:p(Ms(a,7))}};var H4c=function(a){r.call(this,a)};U(H4c,r);f=H4c.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return tk(this,1)};f.getCause=function(){return V(this,2)};f.toObject=function(){return I4c(this)};var I4c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),cause:p(m(a,2))}};var J4c=function(a){r.call(this,a)};U(J4c,r);f=J4c.prototype;f.getLabel=function(){return W(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return cj(this,1)};f.setLatencyUsec=function(a){n(this,2,a)};f.getCacheStatus=function(){return W(this,3,0)};f.setCacheStatus=function(a){return n(this,3,a)};f.toObject=function(){return K4c(this)};var K4c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),latencyUsec:p(m(a,2)),cacheStatus:p(ir(a,3))}};var E2=function(a){r.call(this,a)};U(E2,r);E2.prototype.getInterfaceType=function(){return W(this,1,0)};E2.prototype.setInterfaceType=function(a){return n(this,1,a)};E2.prototype.toObject=function(){return L4c(this)};var L4c=function(a){if(null!=a)return t(a),{interfaceType:p(ir(a,1)),dataSourceType:p(ir(a,2)),entryIndex:p(Ms(a,3))}};var M4c=function(a){r.call(this,a)};U(M4c,r);M4c.prototype.toObject=function(){return N4c(this)};var N4c=function(a){if(null!=a)return t(a),{suggestionsLoaded:p($q(a,1)),closeType:p(ir(a,2))}};var O4c=function(a){r.call(this,a)};U(O4c,r);f=O4c.prototype;f.getEventType=function(){return W(this,1,0)};f.getEventType_legacyNullable=function(){return ir(this,1)};f.setEventType=function(a){return n(this,1,a)};f.setLatencyUsec=function(a){n(this,2,a)};f.toObject=function(){return P4c(this)};
var P4c=function(a){if(null!=a)return t(a),{eventType:p(ir(a,1)),latencyUsec:p(m(a,2)),entityCount:p(Ms(a,3)),memoryAllocatedDelta:p(m(a,4)),animationFps:p(Ms(a,5)),timeToActionMillis:p(m(a,6)),completionMetadata:N4c(Z(a,M4c,7))}};var Q4c=function(a){r.call(this,a)};U(Q4c,r);f=Q4c.prototype;f.getCount=function(){return Z(this,D4c,3)};f.setCount=function(a){return Wi(this,D4c,3,a)};f.getLatency=function(){return Z(this,J4c,4)};f.setLatency=function(a){return Wi(this,J4c,4,a)};f.getError=function(){return Z(this,H4c,5)};f.setError=function(a){Wi(this,H4c,5,a)};f.hasError=function(){return Aj(this,H4c,5)};f.toObject=function(){return R4c(this)};
var R4c=function(a){if(null!=a)return t(a),{entryType:p(ir(a,1)),sharedDimension:L4c(Z(a,E2,2)),count:E4c(a.getCount()),latency:K4c(a.getLatency()),peoplekitError:C4c(Z(a,B4c,8)),error:I4c(a.getError()),dataDisplay:G4c(Z(a,F4c,6)),userEvent:P4c(Z(a,O4c,7))}};var F2=function(a){r.call(this,a)};U(F2,r);F2.prototype.setElementIndex=function(a){n(this,2,a)};F2.prototype.setCardinalDirection=function(a){n(this,7,a)};F2.repeatedFields_=[3];F2.prototype.toObject=function(){return S4c(this)};var S4c=function(a){if(null!=a)return t(a),{elementId:p(Ms(a,1)),elementIndex:p(Ms(a,2)),pathToRootElementIdList:p(Bh(a,3)),userAction:p(ir(a,4)),cardinalDirection:p(ir(a,7))}};var T4c=function(a){r.call(this,a)};U(T4c,r);T4c.prototype.toObject=function(){return U4c(this)};var U4c=function(a){if(null!=a)return t(a),{ancestryVisualElement:S4c(Z(a,F2,1)),intentClassName:p(m(a,2)),firstInFlow:p($q(a,3)),userInterfaceStyle:W(a,4,0)}};var V4c=function(a){r.call(this,a)};U(V4c,r);f=V4c.prototype;f.getClientInterface=function(){return Z(this,w4c,3)};f.setClientInterface=function(a){return Wi(this,w4c,3,a)};f.getMetadata=function(){return Z(this,D2,4)};f.setMetadata=function(a){Wi(this,D2,4,a)};f.toObject=function(){if(null!=this){t(this);var a={visualElementEntry:U4c(Z(this,T4c,1)),metricsDataEntry:R4c(Z(this,Q4c,2)),clientInterface:x4c(this.getClientInterface()),metadata:A4c(this.getMetadata())}}else a=void 0;return a};var Lfb=function(a){this.logContext=Uhb(qr(new rr,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(537372493).setEnableClearcut(a.getEnableClearcut()),rq.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};f=Lfb.prototype;f.getLogContext=function(){return this.logContext};f.createCountMetric=function(){throw Error("ab");};f.createStatusMetric=function(){throw Error("ab");};
f.createLatencyMetric=function(a,b){b=b.source();a=(new V4c).setClientInterface((new w4c).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow));return Wi(a,Q4c,2,b)};f.createErrorMetric=function(){throw Error("ab");};var W4c=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new Q4c;a=n(a,1,4);var c=new E2;b=n(c,2,2).setInterfaceType(b);this.dataEntry=Wi(a,E2,2,b).setLatency((new J4c).setLabel(8));this.state=new QQ(this.dataEntry)};W4c.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
W4c.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=Z(this.dataEntry,E2,2))&&n(d,3,this.count);this.metrics.latency(this.state);++this.count};var Nfb=function(a,b){this.metrics=a;this.userInterfaceType=b};var Mfb=function(a){this.trackers=a},d4c=function(a){a=a.trackers;return new W4c(a.metrics,a.userInterfaceType)};var G2=function(){this.itemsByPriority=[]};G2.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};G2.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};G2.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(Pc(a))})};var Kq=function(){this.selectionCallbacks=new G2;this.deselectionCallbacks=new G2;this.selectionReplacedCallbacks=new G2;this.selectionAttemptedCallbacks=new G2;this.selectionsState=[]};
Kq.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 Dq(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),Dq(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Dq(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Kq.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),Dq(a,d,b,this.deselectionCallbacks.asArray()))};Kq.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 A3c=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},z3c=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},r4c=function(a,b){a.selectionReplacedCallbacks.add(b,0)};f=Kq.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;pfb(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 Dq(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 egb=function(){};egb.prototype.start=function(){};egb.prototype.stop=function(){};var X4c=function(a){this.userAction=a;this.interactionContext=this.cardinalDirection=void 0};var Nq=function(a){this.visualElementRoot=a;this.syntheticVisualElements=new Map;a=Up(this.visualElementRoot);this.syntheticRoot=qfb(a);this.syntheticVisualElements.set(a.id,this.syntheticRoot)};
Nq.prototype.insert=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=Up(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=Up(b[c]);this.syntheticVisualElements.has(e.id)||(d=qfb(e),this.syntheticVisualElements.set(e.id,d),e=Up(b[c-1]),this.syntheticVisualElements.get(e.id).appendChild(d))}}}};
Nq.prototype.remove=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=Up(b.value)){var c=this.syntheticVisualElements.get(b.id);this.syntheticVisualElements.delete(b.id);c&&c.parentElement&&c.parentElement.removeChild(c)}};Nq.prototype.getRoot=function(){return this.syntheticRoot};Nq.prototype.getElement=function(a){return this.syntheticVisualElements.get(a)};var bgb=function(a,b){this.syntheticTree=a;this.tracker=b;this.delayedImpression=new DAc(this.impress,15,this)};bgb.prototype.impress=function(){var a=this.tracker,b=this.syntheticTree.getRoot();var c=void 0===c?!1:c;b=Y4c(a.traverser_,b);Z4c(a,b,new mR(0,0,0,0));c&&$4c(a,b,new mR(0,0,0,0))};bgb.prototype.dispose=function(){this.delayedImpression.dispose()};var cgb=function(a,b){this.root=a;this.visualElementHandler=b;this.eventHandler=aq(this)};
cgb.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,$1c,function(b){b.stopPropagation();var c=a.visualElementHandler,d=b.type;if(b=Up(b.target))b=c.syntheticTree.getElement(b.id),d=a2c.get(d),b&&d&&(c=c.tracker,d=new X4c(d),(b=H2(c.visualElementProvider_,b))&&b.impressionEventID&&a5c(c,b,d))}))};
cgb.prototype.dispose=function(){var a;null==(a=this.mutationObserver)||a.disconnect();this.eventHandler.removeAll();this.visualElementHandler.dispose()};cgb.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=rfb(b.removedNodes);c.length&&this.visualElementHandler.syntheticTree.remove(c);b=rfb(b.addedNodes);b.length&&(c=this.visualElementHandler,c.syntheticTree.insert(b),c.delayedImpression.start())}};var dgb=function(a){this.visualElementObserver=a};dgb.prototype.start=function(){this.visualElementObserver.observe()};dgb.prototype.stop=function(){this.visualElementObserver.dispose()};for(var b5c={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"}},sfb=wfb(b5c),c5c=new Map,d5c=k(Object.keys(b5c)),e5c=d5c.next();!e5c.done;e5c=d5c.next()){var f5c=e5c.value;c5c.set(b5c[f5c].xid,b5c[f5c].string)}
var ufb=wfb({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 I2=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_=[]},J2=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};f=I2.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 g5c=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};I2.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?tfb(a):a};I2.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?vfb(a):a};var h5c=function(a){I2.call(this,a)};U(h5c,I2);var K2=function(a){r.call(this,a)};U(K2,r);K2.prototype.toObject=function(){return i5c(this)};var i5c=function(a){if(null!=a)return t(a),{timeUsec:p(m(a,1)),serverIp:p(Ns(a,2)),processId:p(Ns(a,3))}},j5c=[K2,1,lJb,2,oJb,3,oJb];pt[4156379]=Eb(4156379,{messageSetExtension:0},K2,i5c);var L2=function(a){r.call(this,a)};U(L2,r);L2.prototype.getBase=function(){return Z(this,K2,1)};L2.prototype.setBase=function(a){return Wi(this,K2,1,a)};L2.prototype.hasBase=function(){return Aj(this,K2,1)};L2.prototype.toObject=function(){return M2(this)};var M2=function(a){if(null!=a)return t(a),{base:i5c(a.getBase()),clientCounter:p(m(a,2))}},k5c=[L2,1,qJb,j5c,2,lJb];var N2=function(a){r.call(this,a)};U(N2,r);N2.prototype.getBase=function(){return Qs(this,1)};N2.prototype.setBase=function(a){return tb(this,1,a,void 0,Bh)};N2.prototype.getOffset=function(){return Eh(this,2,0)};N2.prototype.setOffset=function(a){n(this,2,a)};N2.repeatedFields_=[1];N2.prototype.toObject=function(){return l5c(this)};var l5c=function(a){if(null!=a)return t(a),{baseList:p(Bh(a,1)),offset:Eh(a,2,0)}},m5c=[N2,1,mJb,2,dt];var O2=function(a){r.call(this,a)};U(O2,r);O2.prototype.setVeIndex=function(a){n(this,1,a)};var n5c=function(a,b){n(a,2,b)};O2.prototype.setElementIndex=function(a){n(this,5,a)};O2.prototype.getResultIndex=function(){return Eh(this,6,-1)};O2.prototype.setResultIndex=function(a){n(this,6,a)};O2.prototype.toObject=function(){return o5c(this)};
var o5c=function(a){if(null!=a)return t(a),{veIndex:Eh(a,1,-1),nonArchivalVeIndex:Eh(a,11,-1),veOffsetIdentifier:l5c(Z(a,N2,15)),veType:p(Ms(a,2)),odelaySeLinker:p(Ms(a,8)),elementIndex:Eh(a,5,-1),resultIndex:Eh(a,6,-1),pageStart:p(Ms(a,7)),resultGroupElementIndex:Eh(a,9,-1),doNotLogUrl:Gj(a,10,!1),resultFprint:p(m(a,12)),veEventId:M2(Z(a,L2,13)),youtubeVeCounter:Eh(a,14,-1)}},p5c=[O2,1,dt,11,dt,15,qJb,m5c,2,dt,8,dt,5,dt,6,dt,7,dt,9,dt,10,pJb,12,nJb,13,qJb,k5c,14,dt],q5c=function(a){return function(b){var c=
new aJb;qca(b,c,pca(a));xca(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}}(p5c);pt[15872052]=Eb(15872052,{messageSetExtension:0},O2,o5c);var r5c=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};r5c.prototype.getTag=function(){return this.veTag_};r5c.prototype.getElement=function(){return this.el_};var t5c=function(a){var b=s5c++;a.traversalOrder_=b};r5c.prototype.setParent=function(a){this.parent_=a};r5c.prototype.getParent=function(){return this.parent_};
var u5c=function(a){if(a.impressionEventID){var b=new O2;b.setVeIndex(a.traversalOrder_);n5c(b,a.getTag().visualElementID_);Wi(b,L2,13,a.impressionEventID);a=q5c(b);return"0"+Kaa(a,4)}};var Afb=function(a){r.call(this,a)};U(Afb,r);f=Afb.prototype;f.getClientId=function(){return W(this,1,0)};f.setClientId=function(a){return n(this,1,a)};f.getEntryPoint=function(){return W(this,2,0)};f.setEntryPoint=function(a){return n(this,2,a)};f.getApplication=function(){return W(this,3,0)};f.setApplication=function(a){return n(this,3,a)};f.getApplicationOrUndefined=function(){return ur(this,3)};f.setVersionName=function(a){return n(this,4,a)};f.getBaselineCl=function(){return dj(this,5)};
f.setBaselineCl=function(a){return n(this,5,a)};f.hasBaselineCl=function(){return Lk(this,5)};f.getBaselineClOrUndefined=function(){return at(this,5)};f.getMetadata=function(){return Z(this,D2,6)};f.setMetadata=function(a){Wi(this,D2,6,a)};f.toObject=function(){if(null!=this){t(this);var a={clientId:p(ir(this,1)),entryPoint:p(ir(this,2)),application:p(ir(this,3)),versionName:p(m(this,4)),baselineCl:p(m(this,5)),metadata:A4c(this.getMetadata())}}else a=void 0;return a};var Bfb=function(a){this.context_=a};Bfb.prototype.createNewTag=function(a){return new h5c(a)};Bfb.prototype.addEventMetadata=function(a){C2b(a,this.context_.serialize())};var v5c=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var w5c=function(){};w5c.prototype.impressionEvent=function(){return[]};w5c.prototype.interactionEvent=function(){return[]};w5c.prototype.visibilityEvent=function(){return[]};var z5c=function(){if(!x5c){var a=x5c=new K2,b=1E3*Date.now();n(a,1,b);n(x5c,2,0);n(x5c,3,0)}a=(new L2).setBase(x5c);b=++y5c;return n(a,2,b)},y5c=0,x5c=void 0;var P2=function(a){r.call(this,a,1)};U(P2,r);var A5c={};P2.prototype.toObject=function(){return B5c(this)};var B5c=function(a){if(null!=a){t(a);var b={};Hb(a,b,A5c);return b}};var Q2=function(a){r.call(this,a)};U(Q2,r);Q2.prototype.toObject=function(){return C5c(this)};var C5c=function(a){if(null!=a)return t(a),{rootEventId:M2(Z(a,L2,1))}};var R2=function(a){r.call(this,a)};U(R2,r);R2.prototype.getEvent=function(){return Pj(this,K2,1,D5c)};R2.prototype.setVed=function(a){return Xn(this,5,E5c,a)};var D5c=[1,3,4],E5c=[2,5];R2.prototype.toObject=function(){return F5c(this)};var F5c=function(a){if(null!=a)return t(a),{event:i5c(a.getEvent()),clientEvent:M2(Pj(a,L2,3,D5c)),ei:p(mo(a,4,D5c)),rootVe:o5c(Pj(a,O2,2,E5c)),ved:p(mo(a,5,E5c))}};var S2=function(a){r.call(this,a,7)};U(S2,r);f=S2.prototype;f.getTarget=function(){return Z(this,R2,1)};f.setTarget=function(a){return Wi(this,R2,1,a)};f.getType=function(){return W(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return cj(this,2)};var G5c={};S2.prototype.toObject=function(){return H5c(this)};
var H5c=function(a){if(null!=a){t(a);var b={target:F5c(a.getTarget()),type:W(a,2,0),cloneTree:F5c(Z(a,R2,3)),sourceTree:F5c(Z(a,R2,5)),graftTimeUsec:p(m(a,4)),dedupe:Gj(a,6,!1)};Hb(a,b,G5c);return b}};var T2=function(a){r.call(this,a)};U(T2,r);T2.repeatedFields_=[1];T2.prototype.toObject=function(){return I5c(this)};var I5c=function(a){if(null!=a)return t(a),{graftList:Gb(Ch(a,S2,1),H5c)}};var U2=function(a){r.call(this,a)};U(U2,r);U2.prototype.getOffset=function(){return Eh(this,2,0)};U2.prototype.setOffset=function(a){n(this,2,a)};U2.repeatedFields_=[1];U2.prototype.toObject=function(){return J5c(this)};var J5c=function(a){if(null!=a)return t(a),{identifierBaseList:p(Bh(a,1)),offset:Eh(a,2,0)}};var K5c=function(a){r.call(this,a)};U(K5c,r);K5c.prototype.getEventId=function(){return Pj(this,K2,1,L5c)};K5c.prototype.setEventId=function(a){eo(this,1,L5c,a)};var L5c=[1,2],M5c=[3,6];K5c.prototype.toObject=function(){return N5c(this)};var N5c=function(a){if(null!=a){t(a);var b=i5c(a.getEventId()),c=M2(Pj(a,L2,2,L5c));var d=Eh(a,ko(a,M5c,3),-1);return{eventId:b,clientEventId:c,featureIndex:d,featureOffsetIdentifier:J5c(Pj(a,U2,6,M5c))}}};var O5c=function(a){r.call(this,a)};U(O5c,r);O5c.prototype.getReference=function(){return Z(this,R2,1)};O5c.prototype.toObject=function(){return P5c(this)};var P5c=function(a){if(null!=a)return t(a),{reference:F5c(a.getReference())}};var V2=function(a){r.call(this,a,233)};U(V2,r);V2.prototype.setUiType=function(a){return n(this,1,a)};V2.prototype.setElementIndex=function(a){n(this,3,a)};var Q5c=function(a,b){ob(a,4,b,Za)};V2.prototype.getResultIndex=function(){return Ms(this,7)};V2.prototype.setResultIndex=function(a){n(this,7,a)};V2.prototype.setVisible=function(a){return n(this,6,a)};var R5c={};V2.repeatedFields_=[4];V2.prototype.toObject=function(){return S5c(this)};
var S5c=function(a){if(null!=a){t(a);var b={uiType:p(Ms(a,1)),elementIndex:Eh(a,3,-1),containsElementsList:p(Bh(a,4)),targetUrl:p(m(a,5)),resultIndex:p(Ms(a,7)),featureTreeRef:N5c(Z(a,K5c,11)),visible:W(a,6,0),language:p(m(a,17)),adImpressionIndex:Eh(a,149,-1),dataElement:P5c(Z(a,O5c,232))};Hb(a,b,R5c);return b}};var W2=function(a){r.call(this,a,17)};U(W2,r);f=W2.prototype;f.setVed=function(a){return n(this,11,a)};f.setUiType=function(a){return n(this,1,a)};f.setVeIndex=function(a){n(this,2,a)};f.setCardinalDirection=function(a){n(this,4,a)};f.getResultIndex=function(){return Eh(this,7,-1)};f.setResultIndex=function(a){n(this,7,a)};f.setElementIndex=function(a){n(this,8,a)};var T5c=function(a,b){aj(a,14,b)},U5c={};W2.repeatedFields_=[14];W2.prototype.toObject=function(){return V5c(this)};
var V5c=function(a){if(null!=a){t(a);var b={clickTrackingCgi:o5c(Z(a,O2,16)),ved:p(m(a,11)),uiType:Eh(a,1,-1),veIndex:Eh(a,2,-1),primaryUserAction:p(Ms(a,3)),cardinalDirection:p(Ms(a,4)),toggleState:p(Ms(a,5)),interactionContext:Eh(a,6,-1),resultIndex:Eh(a,7,-1),elementIndex:Eh(a,8,-1),imageUrl:p(m(a,9)),imageReferrerUrl:p(m(a,10)),thumbnailId:p(m(a,12)),referrerId:p(m(a,13)),ancestryList:Gb(Ch(a,V2,14),S5c),clientInteractionMetadata:B5c(Z(a,P2,15))};Hb(a,b,U5c);return b}};var X2=function(a){r.call(this,a)};U(X2,r);X2.prototype.getEventId=function(){return Z(this,L2,1)};X2.prototype.setEventId=function(a){Wi(this,L2,1,a)};X2.repeatedFields_=[2];
X2.prototype.toObject=function(){if(null!=this){t(this);var a={eventId:M2(this.getEventId()),visualElementsList:Gb(Ch(this,V2,2),S5c),parentEventId:M2(Z(this,L2,3)),ephemeralParentEventId:p(m(this,6)),snapshotParentEventId:M2(Z(this,L2,8)),requestContext:V5c(Z(this,W2,4)),graftType:p(ir(this,5)),grafts:I5c(Z(this,T2,7)),coreEventMetadata:C5c(Z(this,Q2,9))}}else a=void 0;return a};var W5c=function(){};W5c.prototype.createNewTag=function(a){return new I2(a)};W5c.prototype.addEventMetadata=function(){};var Y2=function(a){r.call(this,a)};U(Y2,r);var X5c=function(a,b){aj(a,1,b)};Y2.prototype.addPath=function(a,b){return go(this,1,V2,a,b)};Y2.prototype.setPath=function(a,b){return Ds(this,1,V2,a,b)};Y2.repeatedFields_=[1];Y2.prototype.toObject=function(){return Y5c(this)};var Y5c=function(a){if(null!=a)return t(a),{pathList:Gb(Ch(a,V2,1),S5c)}};var Z5c=Eb(100,{coreGraftMetadata:0},Y2,Y5c);G5c[100]=Z5c;var Z2=function(a){r.call(this,a)};U(Z2,r);var $5c=function(a){var b=Date.now().toString();n(a,1,b)};Z2.prototype.toObject=function(){return a6c(this)};var a6c=function(a){if(null!=a)return t(a),{clientWallClockTimestamp:p(m(a,1))}};var a3=function(a){r.call(this,a)};U(a3,r);a3.prototype.getTimestamp=function(){return Z(this,Z2,1)};a3.prototype.setTimestamp=function(a){return Wi(this,Z2,1,a)};a3.prototype.hasTimestamp=function(){return Aj(this,Z2,1)};a3.prototype.toObject=function(){return b6c(this)};var b6c=function(a){if(null!=a)return t(a),{timestamp:a6c(a.getTimestamp())}};var c6c=Eb(126,{coreInteractionMetadata:0},a3,b6c);A5c[126]=c6c;var d6c=Eb(618,{coreVeMetadata:0},a3,b6c);R5c[618]=d6c;var e6c=function(a){r.call(this,a)};U(e6c,r);e6c.prototype.toObject=function(){return f6c(this)};var f6c=function(a){if(null!=a)return t(a),{isTracked:p($q(a,1))}};var g6c=Eb(273,{attentionData:0},e6c,f6c);R5c[273]=g6c;var Eq=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};U(Eq,w5c);Eq.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=h6c(this,c,b);b=this.enableBatching_?i6c(this,d,b):j6c(this,d,b);return a.concat(b)};
Eq.prototype.interactionEvent=function(a,b){var c=new AB,d=new X2,e=z5c();d.setEventId(e);e=new W2;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);T5c(n(e,3,b.userAction),this.getAncestry_(a));b.cardinalDirection&&e.setCardinalDirection(b.cardinalDirection);b.interactionContext&&n(e,6,b.interactionContext);a.getTag();this.setTimestamp(e);b=new Q2;Wi(b,L2,1,a.impressionEventID);Wi(d,L2,3,a.impressionEventID);Wi(d,W2,4,e);Wi(d,Q2,9,b);JSON.stringify(null,
null,1);D2b(c,d.serialize());return[c]};
Eq.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 x=new Y2;this.enableAncestryLoggingForGrafts_&&X5c(x,this.getAncestry_(g));if(g.neverShown||J2(g.getTag(),"vis"))if(h=this.isVisible_(h,b),g.hidden&&h){h=new S2;h.setType(1);var A=k6c(g);h.setTarget(A);A=h;var B=Date.now();n(A,4,B);this.enableAncestryLoggingForGrafts_&&br(h,Z5c,x);q.push(h);g.hidden=!1;g.neverShown=!1}else g.hidden||h||
(h=new S2,h.setType(2),A=k6c(g),h.setTarget(A),A=h,B=Date.now(),n(A,4,B),this.enableAncestryLoggingForGrafts_&&br(h,Z5c,x),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 T2,aj(e,1,g),g=new X2,l=z5c(),q=new Q2,Wi(q,L2,1,b),g.setEventId(l),Wi(g,L2,3,b),Wi(g,T2,7,e),Wi(g,Q2,9,q),b=new AB,JSON.stringify(null,null,1),D2b(b,g.serialize()),c.push(b));return c};
Eq.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=FAc(b,new mR(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var h6c=function(a,b,c){for(var d=[],e={},g=b.length-1;0<=g;e={$jscomp$loop$prop$impressionEventID$2354:e.$jscomp$loop$prop$impressionEventID$2354,$jscomp$loop$prop$clientVeProto$2355:e.$jscomp$loop$prop$clientVeProto$2355,$jscomp$loop$prop$testCodes$2356:e.$jscomp$loop$prop$testCodes$2356},g--){e.$jscomp$loop$prop$clientVeProto$2355=new X2;e.$jscomp$loop$prop$testCodes$2356=[];e.$jscomp$loop$prop$impressionEventID$2354=z5c();e.$jscomp$loop$prop$clientVeProto$2355.setEventId(e.$jscomp$loop$prop$impressionEventID$2354);
var h=new Q2;Wi(h,L2,1,e.$jscomp$loop$prop$impressionEventID$2354);Wi(e.$jscomp$loop$prop$clientVeProto$2355,Q2,9,h);if(h=r1b(window.location.href,"ved"))h=(new W2).setVed(h),Wi(e.$jscomp$loop$prop$clientVeProto$2355,W2,4,h);b[g].forEach(function(l){return function(q,x){x.impressionEventID=l.$jscomp$loop$prop$impressionEventID$2354;x.rootImpressionEventID=l.$jscomp$loop$prop$impressionEventID$2354;var A=this.getVisualElementLiteProto_(x);q.length&&Q5c(A,q);q=x.getElement();this.isVisible_(q,c)?(x.neverShown=
!1,x.hidden=!1):A.setVisible(1);this.enableAttentionLogging_&&J2(x.getTag(),"hover")&&void 0!==x.traversalOrder_&&(q.setAttribute("data-hveid",Number(x.traversalOrder_)),0===Ch(l.$jscomp$loop$prop$clientVeProto$2355,V2,2).length&&u5c(x)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",u5c(x)+"")));this.setTimestamp(A);go(l.$jscomp$loop$prop$clientVeProto$2355,2,V2,A);l.$jscomp$loop$prop$testCodes$2356=l.$jscomp$loop$prop$testCodes$2356.concat(x.getTag().testCodes_)}}(e),a);h=new AB;
JSON.stringify(null,null,1);D2b(h,e.$jscomp$loop$prop$clientVeProto$2355.serialize());ob(h,20,e.$jscomp$loop$prop$testCodes$2356,Za);d.push(h)}return d},i6c=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(x,A){var B=0,K=[],O=new X2,P=[],Y=z5c();O.setEventId(Y);Wi(O,L2,3,A);var X=new Q2;Wi(X,L2,1,A);Wi(O,Q2,9,X);for(X=0;X<x.length;X++)for(var ka=x[X],ma=ka.keys(),ya=ma.next().value,
Aa=ka.get(ya),Ma={},Ra=0;Ra<Aa.length;Ma={$jscomp$loop$prop$startingOffset$2358:Ma.$jscomp$loop$prop$startingOffset$2358,$jscomp$loop$prop$cloneTreeRootIndex$2359:Ma.$jscomp$loop$prop$cloneTreeRootIndex$2359},++Ra){var Ta=ya;Ma.$jscomp$loop$prop$cloneTreeRootIndex$2359=0;Ma.$jscomp$loop$prop$startingOffset$2358=Aa[Ra];var Lb=ka.size;Ra!=Aa.length-1&&(Lb=Aa[Ra+1]);for(var qb=Ma.$jscomp$loop$prop$startingOffset$2358;qb<Lb;++qb){var Ya=ma.next().value;qb==Ma.$jscomp$loop$prop$startingOffset$2358&&(Ta=
Ya,Ma.$jscomp$loop$prop$cloneTreeRootIndex$2359=B);Ya.impressionEventID=Y;Ya.rootImpressionEventID=A;Ya.traversalOrder_=B;var wa=ka.get(Ya),Ka=this.getVisualElementLiteProto_(Ya);wa.length&&Q5c(Ka,wa.map(function(Na){return function(eb){return eb-Na.$jscomp$loop$prop$startingOffset$2358+Na.$jscomp$loop$prop$cloneTreeRootIndex$2359}}(Ma)));wa=Ya.getElement();this.isVisible_(wa,c)?(Ya.neverShown=!1,Ya.hidden=!1):Ka.setVisible(1);this.setTimestamp(Ka);go(O,2,V2,Ka);P=P.concat(Ya.getTag().testCodes_);
B++}Lb=new S2;Lb.setType(3);qb=k6c(ya);Lb.setTarget(qb);qb=new R2;Ya=new O2;Ka=new Y2;Ya.setVeIndex(Ta.traversalOrder_);n5c(Ya,Ta.getTag().visualElementID_);eo(qb,2,E5c,Ya);Wi(Lb,R2,3,qb);this.enableAncestryLoggingForGrafts_&&(X5c(Ka,this.getAncestry_(Ta)),br(Lb,Z5c,Ka));K.push(Lb)}K.length&&(x=new T2,aj(x,1,K),Wi(O,T2,7,x));K=new AB;JSON.stringify(null,null,1);D2b(K,O.serialize());ob(K,20,P,Za);d.push(K)},a);return d},j6c=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),x={},A=0;A<q.length;x={$jscomp$loop$prop$startingOffset$2361:x.$jscomp$loop$prop$startingOffset$2361},++A){x.$jscomp$loop$prop$startingOffset$2361=q[A];var B=g.size;A!=q.length-1&&(B=q[A+1]);var K=new X2,O=[],P=z5c(),Y=new Q2;Wi(Y,L2,1,l.impressionEventID);K.setEventId(P);Wi(K,L2,3,l.impressionEventID);n(K,5,3);Wi(K,Q2,9,Y);Y=new W2;l.serverVed_?Y.setVed(l.serverVed_):Y.setUiType(l.getTag().visualElementID_).setVeIndex(l.traversalOrder_);T5c(Y,a.getAncestry_(l));Wi(K,W2,
4,Y);for(Y=x.$jscomp$loop$prop$startingOffset$2361;Y<B;++Y){var X=h.next().value;X.impressionEventID=P;X.rootImpressionEventID=l.rootImpressionEventID;void 0!=X.traversalOrder_&&(X.traversalOrder_-=x.$jscomp$loop$prop$startingOffset$2361);var ka=g.get(X),ma=a.getVisualElementLiteProto_(X);ka.length&&Q5c(ma,ka.map(function(ya){return function(Aa){return Aa-ya.$jscomp$loop$prop$startingOffset$2361}}(x)));ka=X.getElement();a.isVisible_(ka,c)?(X.neverShown=!1,X.hidden=!1):ma.setVisible(1);a.enableAttentionLogging_&&
J2(X.getTag(),"hover")&&void 0!==X.traversalOrder_&&(ka.setAttribute("data-hveid",Number(X.traversalOrder_)),0===Ch(K,V2,2).length&&u5c(X)&&(ka.setAttribute("decode-data-ved","1"),ka.setAttribute("data-ved",u5c(X)+"")));a.setTimestamp(ma);go(K,2,V2,ma);O=O.concat(X.getTag().testCodes_)}B=new AB;JSON.stringify(null,null,1);D2b(B,K.serialize());ob(B,20,O,Za);d.push(B)}return d};
Eq.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};Eq.prototype.getVisualElementLiteProto_=function(a){var b=(new V2).setUiType(a.getTag().visualElementID_);null!=a.getTag().getIndex()&&b.setElementIndex(a.getTag().getIndex());g5c(a.getTag(),b);this.enableAttentionLogging_&&J2(a.getTag(),"hover")&&(a=new e6c,Ij(a,1,!0),br(b,g6c,a));return b};
var k6c=function(a){var b=new R2;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new O2;eo(b,3,D5c,a.impressionEventID);c.setVeIndex(a.traversalOrder_);n5c(c,a.getTag().visualElementID_);eo(b,2,E5c,c)}return b};Eq.prototype.setTimestamp=function(a){if(a instanceof W2&&(!Z(a,P2,15)||!Z(a,P2,15).getExtension(c6c))){var b=new a3,c=new Z2,d=Z(a,P2,15);d||(d=new P2);$5c(c);b.setTimestamp(c);br(d,c6c,b);Wi(a,P2,15,d)}a instanceof V2&&(b=new a3,c=new Z2,$5c(c),b.setTimestamp(c),br(a,d6c,b))};var l6c=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 m6c=function(){},n6c=[[],[]],o6c=0,p6c=!1,q6c=null,r6c=0,s6c=0,t6c=0,u6c=0,v6c=0,w6c=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.context_=a;this.state_ctor_=m6c};w6c.prototype.measure=function(a){this.measure_=a;return this};w6c.prototype.mutate=function(a){this.mutate_=a;return this};w6c.prototype.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
w6c.prototype.build=function(){return x6c({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var x6c=function(a,b){var c=v6c++,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=o6c,!a.runInCurrentFrameIfPossible||0==u6c||a.measure&&1!=u6c||(h=(h+1)%2),n6c[h].push(g));return y6c()}},z6c=function(a,b){p6c=!1;var c={};
u6c=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)}}}u6c=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<r6c&&1<b&&(a=b-r6c,500>a&&(l6c++,100<a&&s6c++,t6c<a&&(t6c=a)));r6c=p6c&&1<b?b:0},y6c=function(){p6c||(p6c=!0,q6c=new Promise(function(a){window.requestAnimationFrame(function(b){var c=
n6c[o6c];o6c=(o6c+1)%2;try{z6c(c,b)}finally{u6c=0,c.length=0}a()})}));return q6c};var A6c=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},H2=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||yk(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=B6c(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new r5c(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(SIb.length){var g=SIb.pop();g.setOptions();g.decoder_.init(c,void 0,void 0,void 0);var h=g}else h=new RIb(c);try{var l=gca(p5c).ctor;var q=kca(p5c)(new l,h);break b}finally{h.free()}q=void 0}e=Z(q,L2,13)}catch(x){e=
null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},B6c=function(a,b){if(yk(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(!yk(g)){var h=wQb(g);if(2>h.length)return null;g=h[0].trim();h=h[1].trim();if(yk(g)||yk(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("Ie");
if(!c5c.has(l))throw Error("Je`"+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)};
A6c.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?vfb(a):a};A6c.prototype.setComponentID=function(a){this.componentID_=a};A6c.prototype.getComponentID=function(){return this.componentID_};var C6c=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},Y4c=function(a,b){return D6c(a,b).filter(function(c){return null!=H2(this.visualElementProvider_,c)},a)},E6c=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},g=0;g<b.length;e={$jscomp$loop$prop$parent$2363:e.$jscomp$loop$prop$parent$2363},++g){var h=H2(c,b[g]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.$jscomp$loop$prop$parent$2363=void 0,zfb(b[g],function(l){return function(q){q=
H2(c,q);return null!=q?(l.$jscomp$loop$prop$parent$2363=q,!0):!1}}(e),!1),e.$jscomp$loop$prop$parent$2363?d&&d.has(e.$jscomp$loop$prop$parent$2363)||(d=new Map,a.unshift(d),d.set(e.$jscomp$loop$prop$parent$2363,[]),s5c=1):(d=new Map,a.unshift(d),s5c=0),t5c(h),h.setParent(e.$jscomp$loop$prop$parent$2363),d.set(h,[]),e.$jscomp$loop$prop$parent$2363&&d.get(e.$jscomp$loop$prop$parent$2363).push(h.traversalOrder_))}return a},F6c=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return H2(c,
d)})},D6c=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},s5c=0;var G6c=function(a,b){RA.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};U(G6c,RA);var H6c=function(a){vo.call(this);this.domHelper_=a||yo();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=wo(this.domHelper_.document_,this.eventType_,ps(this.handleChange_,this))};rs(H6c,vo);f=H6c.prototype;f.getBrowserEventType_=pp(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((ws?"Webkit":vs?"Moz":ts?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
f.getHiddenPropertyName_=pp(function(){return EAc("hidden",this.domHelper_.document_)});f.getVisibilityStatePropertyName_=pp(function(){return EAc("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 G6c(this.isHidden(),a);this.dispatchEvent(a)};
f.disposeInternal=function(){XA(this.eventKey_);H6c.superClass_.disposeInternal.call(this)};var b3=function(a,b,c,d,e,g,h){var l=this,q=void 0===d?{}:d,x=void 0===q.backgroundJobDeferrer?void 0:q.backgroundJobDeferrer;d=void 0===q.expectXidTagComponents?!1:q.expectXidTagComponents;q=void 0===q.traverseShadowDom?!1:q.traverseShadowDom;$p.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new W5c;this.visualElementProvider_=new A6c(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 H6c;this.logImpressionsTask_=(new w6c(this)).measure(x?function(){return x().then(l.handleImpressions_.bind(l))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new Qtc(this.logImpressionsTask_,500,this);this.traverser_=h||new C6c(this.visualElementProvider_,q);this.listeners_=[];this.impressionListeners_=
[];this.eventBuilder_ instanceof w5c&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=g};rs(b3,$p);b3.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};b3.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var J6c=function(a,b,c,d){var e=I6c(d),g=a.getIndex(c);var h=new F2;h=n(h,4,b);var l=c.getTag().visualElementID_;h=n(h,1,l);e=ob(h,3,e,Za);null!=g&&e.setElementIndex(g);g=new v5c;g.ve_metadata=a.getMetadata(c,d);g.global_metadata=a.invariantData_;g.client_info=a.appInfo_;c=C2b(new AB,e.serialize());c=ob(c,20,g.testCodes,Za);a.transport_&&FB(a.transport_,c);if(null!=b)for(b=new X4c(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};
b3.prototype.log=function(a){this.transport_&&FB(this.transport_,a)};var K6c=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};b3.prototype.getIndex=function(a){return a.getTag().getIndex()};var I6c=function(a){return a.map(function(b){return b.getTag().visualElementID_})};b3.prototype.getMetadata=function(a,b){var c=new V2;g5c(a.getTag(),c);for(a=0;a<b.length;++a)g5c(b[a].getTag(),c);return c};
var L6c=function(a,b,c){var d,e=a.visualElementProvider_,g=a.eventToTracksLabelMap_[b];zfb(c,function(h){if(!fB(h))return!1;h=H2(e,h);var l;if(l=null!=h)if(l=h.getTag(),this.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Ie");if(!c5c.has(g))throw Error("Je`"+g);l=l.tracks_.has(g)}else l=J2(l,g);return l?(d=h,!0):!1}.bind(a),!0);return d};
b3.prototype.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;zfb(a,function(d){if(!fB(d))return!1;d=H2(c,d);null!=d&&b.push(d);return!1},!1);return b};
b3.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=Y4c(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new mR(0,0,c.width,c.height);Z4c(this,b,c);$4c(this,b,c);K6c(this)}else{c=[];var d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new mR(0,0,d.width,d.height);for(var e=0;e<b.length;e++){var g=b[e];this.isVisible_(g,d)&&(g=H2(this.visualElementProvider_,g))&&J2(g.getTag(),"impression")&&c.push(g)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),J6c(this,void 0,
d,e),K6c(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};b3.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=FAc(b,new mR(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};b3.prototype.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?tfb(a):a};
var Z4c=function(a,b,c){b=E6c(a.traverser_,b);if(b.length)for(c=a.eventHandler_.impressionEvent(b,c),b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),n(c[b],28,a.zwiebackId_),a.transport_&&FB(a.transport_,c[b])},$4c=function(a,b,c){b=F6c(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_&&n(c[b],28,a.zwiebackId_),a.transport_&&FB(a.transport_,c[b])},a5c=function(a,b,c){b=a.eventHandler_.interactionEvent(b,
c);for(c=0;c<b.length;++c)a.metadataHandler_.addEventMetadata(b[c]),a.zwiebackId_&&n(b[c],28,a.zwiebackId_),a.transport_&&FB(a.transport_,b[c])};var Fq=function(a,b,c,d,e,g,h,l,q,x,A,B){e=void 0===e?!1:e;q=void 0===q?!1:q;b=l?l:new Cxc(b,c,d,void 0,void 0,void 0,g);b3.call(this,a,h||null,b,{expectXidTagComponents:e,backgroundJobDeferrer:g,traverseShadowDom:q},x,A,B);this.clearcut_=b;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};rs(Fq,b3);Fq.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Fq.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Fq.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var M6c=function(a){this.tracker=a};var N6c=function(a,b){this.root=a;this.handler=b;this.eventHandler=aq(this)};N6c.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,$1c,function(b){var c=a.handler.tracker,d=b.type,e=c.eventToActionMap_[d];if(e&&(d=L6c(c,d,b.target)))if(c.eventHandler_)a5c(c,d,new X4c(e));else{var g=c.getAncestry_(d.getElement());J6c(c,e,d,g)}b.stopPropagation()}))};
N6c.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};N6c.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 agb=function(a,b){this.root=a;this.tracker=b;this.observer=new N6c(this.root,new M6c(this.tracker))};
agb.prototype.start=function(){this.tracker.setComponentID("peopleweb");var a=this.tracker,b=this.root;a.domHelper_=new ZA;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(a2c);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()};agb.prototype.stop=function(){this.observer.dispose()};var Hq=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0};f=Hq.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 Hq;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 yr=function(a){r.call(this,a)};U(yr,r);var c3=function(a,b){return Ij(a,1,b)};f=yr.prototype;f.getProvenance=function(){return W(this,2,0)};f.setProvenance=function(a){return n(this,2,a)};f.getCode=function(){return W(this,3,0)};f.setCode=function(a){return n(this,3,a)};f.toObject=function(){return O6c(this)};var O6c=function(a){if(null!=a)return t(a),{isLateLoaded:p($q(a,1)),provenance:p(ir(a,2)),code:p(ir(a,3))}};var d3=function(a){r.call(this,a)};U(d3,r);d3.prototype.getSource=function(){return Z(this,yr,1)};d3.prototype.setSource=function(a){return Wi(this,yr,1,a)};d3.prototype.hasSource=function(){return Aj(this,yr,1)};var e3=function(a,b){return n(a,2,b)},f3=function(a,b){return n(a,3,b)};d3.prototype.toObject=function(){return P6c(this)};var P6c=function(a){if(null!=a)return t(a),{source:O6c(a.getSource()),statusAtQuery:p(ir(a,2)),statusAtResult:p(ir(a,3))}};var Q6c=function(){this.filter_=null};Q6c.prototype.getFilter=function(){return this.filter_};Q6c.prototype.setFilter=function(a){this.filter_=a;return this};var R6c=function(a){r.call(this,a)};U(R6c,r);f=R6c.prototype;f.getEnd=function(){return Eh(this,2,0)};f.setEnd=function(a){return n(this,2,a)};f.getTotalItems=function(){return Eh(this,3,0)};f.setTotalItems=function(a){return n(this,3,a)};f.getCode=function(){return W(this,4,2)};f.setCode=function(a){return n(this,4,a)};f.getCacheState=function(){return Z(this,d3,5)};f.setCacheState=function(a){return Wi(this,d3,5,a)};f.hasCacheState=function(){return Aj(this,d3,5)};
f.toObject=function(){if(null!=this){t(this);var a={begin:Eh(this,1,0),end:Eh(this,2,0),totalItems:Eh(this,3,0),code:W(this,4,2),cacheState:P6c(this.getCacheState())}}else a=void 0;return a};var S6c=function(a,b){this.results_=a;this.metadata_=b};S6c.prototype.getResults=function(){return this.results_};S6c.prototype.getMetadata=function(){return this.metadata_};var T6c=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};f=T6c.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 T6c).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var U6c=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new d3};f=U6c.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 V6c=function(a,b){this.results_=a;this.metadata_=b};V6c.prototype.getResults=function(){return this.results_};V6c.prototype.getMetadata=function(){return this.metadata_};var g3=function(a){r.call(this,a)};U(g3,r);f=g3.prototype;f.getQuery=function(){return V(this,1,"")};f.setQuery=function(a){return n(this,1,a)};f.clearQuery=function(){Hs(this,1)};f.hasQuery=function(){return tk(this,1)};f.getIsFirstCallback=function(){return Gj(this,2,!1)};f.setIsFirstCallback=function(a){return Ij(this,2,a)};f.getIsLastCallback=function(){return Gj(this,3,!1)};f.setIsLastCallback=function(a){return Ij(this,3,a)};f.setCallbackNumber=function(a){return n(this,4,a)};
f.getNextPageToken=function(){return V(this,5,"")};f.getCode=function(){return W(this,6,2)};f.setCode=function(a){return n(this,6,a)};f.getCacheState=function(){return Z(this,d3,7)};f.setCacheState=function(a){return Wi(this,d3,7,a)};f.hasCacheState=function(){return Aj(this,d3,7)};
f.toObject=function(){if(null!=this){t(this);var a={query:V(this,1,""),isFirstCallback:Gj(this,2,!1),isLastCallback:Gj(this,3,!1),callbackNumber:Eh(this,4,-1),nextPageToken:V(this,5,""),code:W(this,6,2),cacheState:P6c(this.getCacheState())}}else a=void 0;return a};var h3=function(a,b){this.results_=a;this.metadata_=b};h3.prototype.getResults=function(){return this.results_};h3.prototype.getMetadata=function(){return this.metadata_};var W6c={create:function(a,b,c,d,e){e=void 0===e?new Hq:e;return Efb(a,b,c,d,new G0c,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return Efb(a,b,c,d,new G0c,e)},createConfig:function(a){var b;void 0===a?b=new yxc(Axc.apiEnv,new zxc(Axc.userProfileId)):b=a;return new m4c(b)}};var pr=function(a){r.call(this,a)};U(pr,r);f=pr.prototype;f.getTimestamp=function(){return dj(this,1)};f.setTimestamp=function(a){return n(this,1,a)};f.hasTimestamp=function(){return Lk(this,1)};f.getAffinityVersion=function(){return Eh(this,2)};f.setAffinityVersion=function(a){n(this,2,a)};f.getAffinityVersionOrUndefined=function(){return $s(this,2)};f.getTotalItems=function(){return Eh(this,3)};f.setTotalItems=function(a){return n(this,3,a)};f.getNextPageToken=function(){return V(this,4)};
f.getCode=function(){return W(this,6,0)};f.setCode=function(a){return n(this,6,a)};f.toObject=function(){if(null!=this){t(this);var a={timestamp:p(m(this,1)),affinityVersion:p(Ms(this,2)),totalItems:p(Ms(this,3)),nextPageToken:p(m(this,4)),skipIndexing:p($q(this,5)),code:p(ir(this,6))}}else a=void 0;return a};var X6c=function(){this.bits_=[]};f=X6c.prototype;f.and=function(a){for(var b=new X6c,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 X6c,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};X6c.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 jgb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),lgb=/^[<"']|[>"']$/g,ggb=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"),Y6c=/[^a-z0-9]+/gi,kgb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var Z6c=function(a,b){this.key=a;this.terms=mgb(b)};var i3=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new X6c:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};i3.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 i3(b)};
i3.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:ogb(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};
i3.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_:ogb(h.items_.length)),q=l.next();!q.done;q=l.next()){var x=h;q=q.value;for(var A=x.prefix_+"\ufdc7",B=k(x.items_[q].terms),K=B.next();!K.done;K=B.next())K=K.value,K.length<=x.prefix_.length||K<x.prefix_||K>A||(K=K.charAt(x.prefix_.length),x.childNodes_[K]||(x.childNodes_[K]=new i3(x.items_,x.prefix_+K)),x.childNodes_[K].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[g]||j3;if(d===j3)break}return d}).reduce(function(c,d){return c.and(d)}):this};var $6c=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_&&$6c(c)};i3.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new i3(this.items_,"\u2026",a)};i3.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new i3(this.items_,"\u2026",a)};var j3=new i3([]);
j3.isExpanded_=!0;var a7c=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};a7c.prototype.getExpiry=function(){return this.expiry_};a7c.prototype.getValue=function(){return this.value_};a7c.prototype.isExpired=function(){return this.expiry_<Date.now()};a7c.prototype.isStale=function(){return this.stale_<Date.now()};var b7c=function(a){this.shouldEvictItem_=a;this.items_=new Map};f=b7c.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 c7c=function(){var a=new b7c(function(){return 1E3<a.size()});return a};var d7c=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new b7c(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};f=d7c.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 k3=function(a,b){return new d7c(a,function(c){var d=Date.now()+b;return new a7c(d,c,d)})};var l3=function(a){r.call(this,a)};U(l3,r);f=l3.prototype;f.getCacheSize=function(){return Eh(this,3,500)};f.setCacheSize=function(a){n(this,3,a)};f.hasCacheSize=function(){return Bk(this,3)};f.getCacheStaleSec=function(){return ej(this,4,86400)};f.getCacheExpiredSec=function(){return ej(this,5,1209600)};f.getRpcTimeoutSec=function(){return ej(this,12,60)};f.getSuggestFormat=function(){return W(this,15,1)};f.getSearchFormat=function(){return W(this,16,1)};l3.repeatedFields_=[24,25];
l3.prototype.toObject=function(){return e7c(this)};
var e7c=function(a){if(null!=a)return t(a),{suggestMaxResults:Eh(a,1,10),searchMaxResults:Eh(a,2,10),cacheSize:Eh(a,3,500),cacheStaleSec:ej(a,4,86400),cacheExpiredSec:ej(a,5,1209600),lruCacheCapacity:Eh(a,6,500),lruCacheExpiredSec:Eh(a,7,43200),autocompleteIndexCapacity:Eh(a,8,250),autocompleteIndexExpiredSec:ej(a,9,3600),notFoundCapacity:Eh(a,10,500),notFoundExpiredSec:ej(a,11,600),rpcTimeoutSec:ej(a,12,60),serverWarmupThrottleSec:ej(a,13,60),cacheFlushThrottleSec:ej(a,14,300),suggestFormat:W(a,
15,1),searchFormat:W(a,16,1),lookupFormat:W(a,17,1),listFormat:W(a,18,1),coalescedSortOrder:W(a,19,1),preferSource:W(a,20,1),enableEmailPlaceholders:Gj(a,21,!1),allowEmptyTargets:Gj(a,22,!1),singleIant:Gj(a,23,!1),iantApplicationList:p(Qk(a,24)),idTypesList:p(Qk(a,25)),smartAddressIndexCapacity:Eh(a,26,10),smartAddressIndexExpiredSec:ej(a,27,600),supportSmtpAddresses:Gj(a,28,!1),contextualSuggestMaxAdditionResults:Eh(a,29,3),enableBoosting:Gj(a,30,!1),boostIndexCapacity:Eh(a,31,5),boostIndexExpiredSec:ej(a,
32,3600),enableInterleavedGroups:Gj(a,33,!1),enableSlotReservations:Gj(a,34,!1)}};var qgb=new Set([10,11]);var f7c=function(a){this.interleaveGroups_=Gj(a,33,!1)},g7c=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=rgb(d,e,g,!0);break a;default:d=sgb(d,e,g)}}return d}).map(function(d){return String(d.id)})};var h7c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new f7c(e);this.indexes_=k3(Eh(e,8,250),1E3*ej(e,9,3600));this.maxResults_=Eh(e,2,10)};f=h7c.prototype;f.getCacheType=function(){return 3};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d;return de(function(e){switch(e.nextAddress){case 1:c=c3(new yr,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(c3(c,!1));ee(e,2);return e.yield(b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;ks(e,3);break;case 2:return he(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new pr),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=g7c(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=i7c(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 j7c=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};j7c.prototype.getStageType=function(){return 2};j7c.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)};
j7c.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,x,A;return de(function(B){switch(B.nextAddress){case 1:return c=new Map,d=c3(new yr,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),g=k7c(a),ee(B,2),B.yield(b.adapter_.lookup(g),4);case 4:h=B.yieldResult;ks(B,3);break;case 2:return he(B),d.setCode(13),a.notify(c,[],d),B.return();case 3:b.index_(h,e);l=k(g);for(q=l.next();!q.done;q=l.next())x=q.value,(A=b.indexer_.load(x,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))&&
c.set(x,A);a.notify(c,[],d);ie(B)}})};var l7c=function(a,b){this.metrics_=a;this.state_=new QQ(b);this.source=b;this.label_="total"};l7c.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};l7c.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var m7c=function(a,b){this.metrics_=a;this.state_=new QQ(b);this.source=b};m7c.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var n7c=function(a,b){this.metrics_=a;this.state_=new QQ(b);this.source=b};n7c.prototype.report=function(){this.metrics_.error(this.state_)};var er=function(a){r.call(this,a)};U(er,r);er.prototype.toObject=function(){return o7c(this)};var o7c=function(a){if(null!=a)return t(a),{phoneItemCount:p(Ms(a,1)),emailItemCount:p(Ms(a,2)),gaiaItemCount:p(Ms(a,3)),notFoundPhoneItemCount:p(Ms(a,4)),notFoundEmailItemCount:p(Ms(a,5)),notFoundGaiaItemCount:p(Ms(a,6)),outOfDateSelfItemCount:p(Ms(a,7))}};var dr=function(a){r.call(this,a)};U(dr,r);dr.prototype.getEventType=function(){return W(this,1,0)};dr.prototype.setEventType=function(a){return n(this,1,a)};var fr=function(a,b){return n(a,2,b)},Wgb=function(a,b){return n(a,3,b)};f=dr.prototype;f.getErrorType=function(){return W(this,6,0)};f.setErrorType=function(a){return n(this,6,a)};f.getIdType=function(){return W(this,8,0)};f.setIdType=function(a){n(this,8,a)};f.getResultIndex=function(){return Eh(this,9,0)};
f.setResultIndex=function(a){n(this,9,a)};f.getToken=function(){return V(this,10,"")};f.setToken=function(a){return n(this,10,a)};f.getCacheState=function(){return Z(this,d3,11)};f.setCacheState=function(a){return Wi(this,d3,11,a)};f.hasCacheState=function(){return Aj(this,d3,11)};f.getQueryLength=function(){return Eh(this,14)};f.setQueryLength=function(a){return n(this,14,a)};f.hasQueryLength=function(){return Bk(this,14)};f.getItemCount=function(){return Eh(this,15)};
f.setItemCount=function(a){return n(this,15,a)};f.hasItemCount=function(){return Bk(this,15)};f.getLookupInfo=function(){return Z(this,er,16)};f.setLookupInfo=function(a){return Wi(this,er,16,a)};f.hasLookupInfo=function(){return Aj(this,er,16)};f.getQueryScope=function(){return W(this,17,0)};f.setQueryScope=function(a){return n(this,17,a)};f.hasQueryScope=function(){return cj(this,17)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:W(this,1,0),apiLabel:W(this,2,0),rpcLabel:W(this,3,0),countType:W(this,4,0),latencyType:W(this,5,0),errorType:W(this,6,0),errorCause:W(this,7,0),idType:W(this,8,0),resultIndex:Eh(this,9,0),token:V(this,10,""),cacheState:P6c(this.getCacheState()),contentLength:Eh(this,12,0),errorHint:W(this,13,0),queryLength:p(Ms(this,14)),itemCount:p(Ms(this,15)),lookupInfo:o7c(this.getLookupInfo()),queryScope:p(ir(this,17))}}else a=void 0;return a};var p7c=function(a,b){this.delegate_=a;this.trackers_=b};p7c.prototype.search=function(a){var b=this,c,d;return de(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),ee(e,2,3),e.yield(b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:fe(e);c.stop();ge(e,0);break;case 2:throw d=he(e),b.trackers_.error(36,11).report(),d;}})};
p7c.prototype.lookup=function(a){var b=this,c,d;return de(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),ee(e,2,3),e.yield(b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:fe(e);c.stop();ge(e,0);break;case 2:throw d=he(e),b.trackers_.error(37,11).report(),d;}})};var q7c=function(a,b){this.delegate_=a;this.trackers_=b};q7c.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
q7c.prototype.warmUpCache=function(){var a=this,b,c;return de(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),ee(d,2,3),d.yield(a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:fe(d);b.stop();ge(d,0);break;case 2:throw c=he(d),a.trackers_.error(35,11).report(),c;}})};q7c.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var r7c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new f7c(e);this.index_=j3};f=r7c.prototype;f.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};f.flush=function(){this.index_=j3};
f.fetch=function(a){var b=this,c,d;return de(function(e){switch(e.nextAddress){case 1:c=c3(new yr,!0).setProvenance(7).setCode(0);if(b.index_!=j3&&!b.adapter_.needsWarmUp())return e.return(c3(c,!1));ee(e,2);return e.yield(b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;ks(e,3);break;case 2:return he(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new pr),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.index=function(a,b){a=g7c(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_=i7c(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 s7c=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};s7c.prototype.getErrorType=function(){return this.errorType_};var m3=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};f=m3.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 t7c=function(){},u7c=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=xgb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&wq(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=xgb(l,q.value,8),b.push(l),String(l.id)}))}return b},
v7c=function(a){a=a.getResultList();return u7c(a)};var w7c=function(a){r.call(this,a)};U(w7c,r);f=w7c.prototype;f.setMaxResults=function(a){return n(this,1,a)};f.getQuery=function(){return V(this,2,"")};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Hs(this,2)};f.hasQuery=function(){return tk(this,2)};f.toObject=function(){if(null!=this){t(this);var a={maxResults:Eh(this,1,0),query:V(this,2,"")}}else a=void 0;return a};var x7c=function(a,b){this.provider_=a;this.itemFactory_=b};x7c.prototype.search=function(a,b){var c=this,d;return de(function(e){if(1==e.nextAddress)return 1>b?e.return([]):e.yield(c.provider_.search((new w7c).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(v7c(d))})};x7c.prototype.lookup=function(a){var b=this,c;return de(function(d){if(1==d.nextAddress)return a.length?d.yield(b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(v7c(c))})};var y7c=function(a,b){this.provider_=a;this.itemFactory_=b};y7c.prototype.getPosition=function(){return this.provider_.getPosition()};y7c.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};y7c.prototype.warmUpCache=function(){var a=this,b;return de(function(c){if(1==c.nextAddress)return c.yield(a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(v7c(b))})};var z7c=new s7c(68,69,38);var A7c=function(){};A7c.prototype.processItem=function(){};var B7c=new A7c;var Agb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};f=Agb.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 C7c=function(){this.iconUrl_=this.altText_=""},Dgb=function(a){var b=new C7c;b.altText_=a||"";return b};C7c.prototype.getIconUrl=function(){return this.iconUrl_};C7c.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var D7c=function(a){this.delegate_=a};D7c.prototype.processItem=function(a){a.target=Egb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var E7c=function(){};
E7c.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 t7c;var x=void 0===x?B7c:x;x=new D7c(x);for(var A=[],B=k(l.staticDataProviders_.reverse()),K=B.next();!K.done;K=B.next()){var O=K=K.value;O=new q7c(O,c);O=new r7c(new y7c(O,q),x,g,d,b);O=new m3(O,c,z7c);switch(K.getPosition()){case 1:A.push(O);break;case 2:h.push(O);break;default:throw Error("Ke");
}}A.length&&h.splice.apply(h,[0,0].concat(Pc(A)));l=k(l.dynamicDataProviders_);for(A=l.next();!A.done;A=l.next())B=A=A.value,B=new p7c(B,c),B=new h7c(new x7c(B,q),x,g,d,b),B=new m3(B,c,z7c),h.push(B),A=new p7c(A,c),a.push(new j7c(new x7c(A,q),x,e))}};var n3=function(a){r.call(this,a)};U(n3,r);f=n3.prototype;f.getEnableClearcut=function(){return Gj(this,1,!1)};f.setEnableClearcut=function(a){return Ij(this,1,a)};f.getSocialApplication=function(){return W(this,2,0)};f.getSocialApplicationOrUndefined=function(){return ur(this,2)};f.setEventSources=function(a){Ds(this,5,tr,a)};n3.repeatedFields_=[5,6];n3.prototype.toObject=function(){return F7c(this)};
var F7c=function(a){if(null!=a)return t(a),{enableClearcut:Gj(a,1,!1),socialApplication:W(a,2,0),affinityLogSource:W(a,3,41),metricLogSource:W(a,4,574),eventSourcesList:Gb(Ch(a,tr,5),a2),contextualEventSourcesList:Gb(Ch(a,vr,6),i0c)}};var o3=function(a){r.call(this,a)};U(o3,r);f=o3.prototype;f.getApplication=function(){return W(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return ur(this,1)};f.getIsEnabled=function(){return Gj(this,2,!1)};f.toObject=function(){return G7c(this)};var G7c=function(a){if(null!=a)return t(a),{application:W(a,1,0),isEnabled:Gj(a,2,!1)}};var p3=function(a){r.call(this,a)};U(p3,r);p3.prototype.getApiKey=function(){return V(this,1,"")};p3.prototype.setApiKey=function(a){return n(this,1,a)};p3.prototype.toObject=function(){return H7c(this)};var H7c=function(a){if(null!=a)return t(a),{apiKey:V(a,1,""),apiKeyTest:V(a,2,"")}};var q3=function(a){r.call(this,a)};U(q3,r);q3.repeatedFields_=[1];q3.prototype.toObject=function(){return I7c(this)};var I7c=function(a){if(null!=a)return t(a),{papiExtensionList:p(Qk(a,1))}};var r3=function(a){r.call(this,a)};U(r3,r);f=r3.prototype;f.getClientId=function(){return V(this,1,"CLIENT_UNSPECIFIED")};f.setClientId=function(a){return n(this,1,a)};f.getAffinityType=function(){return V(this,4,"AFFINITY_TYPE_UNKNOWN")};f.setAffinityType=function(a){return n(this,4,a)};f.getContainerType=function(){return Ts(this,7)};r3.repeatedFields_=[7,8];r3.prototype.toObject=function(){return J7c(this)};
var J7c=function(a){if(null!=a)return t(a),{clientId:V(a,1,"CLIENT_UNSPECIFIED"),clientName:V(a,2,"CLIENT_UNSPECIFIED"),clientVersion:V(a,3,""),affinityType:V(a,4,"AFFINITY_TYPE_UNKNOWN"),affinityTypeEnum:W(a,5,0),mergedPersonModel:W(a,6,1),containerTypeList:p(Qk(a,7)),fieldMaskList:p(Gh(a,8)),listRankedTargetsPapiExtensions:I7c(Z(a,q3,9)),listPeopleByKnownIdPapiExtensions:I7c(Z(a,q3,10)),listContactPeoplePapiExtensions:I7c(Z(a,q3,11)),getPeoplePapiExtensions:I7c(Z(a,q3,12)),identityAcl:Gj(a,13,!1),
offlineStoreDelayMillis:Eh(a,14,5E3),enablePrivateNames:Gj(a,15,!1),dasherAdminDisabled:Gj(a,16,!1),enableSmimeCertificate:Gj(a,17,!1)}};var K7c=function(a){r.call(this,a)};U(K7c,r);f=K7c.prototype;f.getClient=function(){return Z(this,l3,1)};f.setClient=function(a){return Wi(this,l3,1,a)};f.hasClient=function(){return Aj(this,l3,1)};f.getGapi=function(){return Z(this,p3,2)};f.getPeopleApi=function(){return Z(this,r3,3)};f.getClearcut=function(){return Z(this,n3,4)};f.setClearcut=function(a){Wi(this,n3,4,a)};f.hasClearcut=function(){return Aj(this,n3,4)};f.getExperiments=function(){return Z(this,o3,5)};
f.setExperiments=function(a){Wi(this,o3,5,a)};f.hasExperiments=function(){return Aj(this,o3,5)};f.toObject=function(){if(null!=this){t(this);var a={client:e7c(this.getClient()),gapi:H7c(this.getGapi()),peopleApi:J7c(this.getPeopleApi()),clearcut:F7c(this.getClearcut()),experiments:G7c(this.getExperiments())}}else a=void 0;return a};var L7c=Dca(K7c);var M7c;var N7c=function(a){r.call(this,a,1)};U(N7c,r);var O7c={};N7c.prototype.toObject=function(){if(null!=this){t(this);var a={};Hb(this,a,O7c)}else a=void 0;return a};var P7c=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var Q7c=function(a){r.call(this,a)};U(Q7c,r);f=Q7c.prototype;f.getExperimentIdsList=function(){return Bh(this,1)};f.setExperimentIdsList=function(a){return ob(this,1,a,Za)};f.getExperimentIds=function(){return Qs(this,1)};f.setExperimentIds=function(a){tb(this,1,a,void 0,Bh)};f.getProfileId=function(){return V(this,2)};f.getProfileId_legacyNullable=function(){return m(this,2)};f.setProfileId=function(a){return n(this,2,a)};f.hasProfileId=function(){return tk(this,2)};Q7c.repeatedFields_=[1];
Q7c.prototype.toObject=function(){if(null!=this){t(this);var a={experimentIdsList:p(Bh(this,1)),profileId:p(m(this,2))}}else a=void 0;return a};var R7c=function(){},S7c=function(){return!1},T7c=function(){this.experiments_=(new Q7c).setProfileId(Axc.userProfileId);this.peopleApiEnv_=Axc.apiEnv;this.userEmail_=Axc.userEmail;this.delegatorId_="";this.onAuthError_=R7c;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=S7c;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};f=T7c.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||R7c};f.getApiKey=function(){return this.apiKey_};f.setApiKey=function(a){this.apiKey_=a;return this};var s3=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new T7c;a=this.getPeopleApi();Qk(a,7).length||Yk(a,7,[2,8,1,7,10,11]);Gh(a,8).length||Di(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(Gh(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":sb(a,8,c+".metadata.verified")}};s3.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new l3);return this.delegate_.getClient()};
s3.prototype.getGapi=function(){if(!Aj(this.delegate_,p3,2)){var a=this.delegate_,b=new p3;Wi(a,p3,2,b)}return this.delegate_.getGapi()};s3.prototype.getPeopleApi=function(){if(!Aj(this.delegate_,r3,3)){var a=this.delegate_,b=new r3;Wi(a,r3,3,b)}return this.delegate_.getPeopleApi()};s3.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new n3);return this.delegate_.getClearcut()};
var U7c=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new o3);return a.delegate_.getExperiments()};s3.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var V7c=function(a){a=a.getClient();return Eh(a,6,500)?Math.min(Math.round(Eh(a,6,500)/4),500):500};var W7c;var sr=null;var X7c=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};X7c.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var t3=function(a){r.call(this,a)};U(t3,r);t3.prototype.getDescription=function(){return m(this,6)};t3.prototype.setDescription=function(a){return n(this,6,a)};t3.prototype.hasDescription=function(){return tk(this,6)};t3.prototype.toObject=function(){return Y7c(this)};
var Y7c=function(a){if(null!=a)return t(a),{entityType:p(ir(a,4)),presence:p(ir(a,1)),memberCount:p(m(a,2)),avatarUrl:p(m(a,3)),developerName:p(m(a,5)),description:p(m(a,6)),dndState:p(ir(a,7)),organizationInfo:qMb(Z(a,oMb,8)),segmentedMembershipCounts:sMb(Z(a,fu,9)),isMembershipVisibleToCaller:p($q(a,10))}};var Z7c=function(a){r.call(this,a)};U(Z7c,r);Z7c.prototype.toObject=function(){return $7c(this)};var $7c=function(a){if(null!=a)return t(a),{actorId:p(m(a,1)),subtitle:p(m(a,2))}};var Zq=function(a){r.call(this,a,5)};U(Zq,r);f=Zq.prototype;f.getDynamiteExtendedData=function(){return Z(this,t3,1)};f.getIsPlaceholder=function(){return Gj(this,2)};f.setIsPlaceholder=function(a){Ij(this,2,a)};f.getPaisaExtendedData=function(){return Z(this,Z7c,3)};f.getContactId=function(){return dj(this,4)};f.setContactId=function(a){n(this,4,a)};var a8c={};Zq.prototype.toObject=function(){return b8c(this)};
var b8c=function(a){if(null!=a){t(a);var b={dynamiteExtendedData:Y7c(a.getDynamiteExtendedData()),isPlaceholder:p($q(a,2)),paisaExtendedData:$7c(a.getPaisaExtendedData()),contactId:p(m(a,4))};Hb(a,b,a8c);return b}};var Rgb=Eb(417869898,{clientSpecificData:0},Zq,b8c);p0c[417869898]=Rgb;var c8c=function(a){r.call(this,a)};U(c8c,r);c8c.prototype.toObject=function(){return d8c(this)};var d8c=function(a){if(null!=a)return t(a),{nationalNumber:p(m(a,1)),internationalNumber:p(m(a,2)),countryCode:p(Ms(a,3)),regionCode:p(m(a,4)),isValid:p($q(a,5)),validationResult:p(ir(a,6))}};var e8c=function(a){r.call(this,a)};U(e8c,r);e8c.prototype.toObject=function(){return f8c(this)};var f8c=function(a){if(null!=a)return t(a),{e164:p(m(a,1)),i18nData:d8c(Z(a,c8c,2))}};var g8c=function(a){r.call(this,a)};U(g8c,r);g8c.prototype.getCode=function(){return V(this,1)};g8c.prototype.setCode=function(a){return n(this,1,a)};g8c.prototype.toObject=function(){return h8c(this)};var h8c=function(a){if(null!=a)return t(a),{code:p(m(a,1)),countryCode:p(m(a,2))}};var i8c=function(a){r.call(this,a)};U(i8c,r);f=i8c.prototype;f.getPhoneNumber=function(){return Z(this,e8c,1)};f.getType=function(){return V(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return tk(this,3)};f.toObject=function(){return j8c(this)};var j8c=function(a){if(null!=a)return t(a),{phoneNumber:f8c(a.getPhoneNumber()),shortCode:h8c(Z(a,g8c,2)),type:p(m(a,3)),formattedType:p(m(a,4))}};var k8c=function(a){r.call(this,a)};U(k8c,r);k8c.prototype.toObject=function(){return l8c(this)};var l8c=function(a){if(null!=a)return t(a),{structuredPhone:j8c(Z(a,i8c,1))}};var cr=function(a){r.call(this,a)};U(cr,r);cr.prototype.toObject=function(){return m8c(this)};var m8c=function(a){if(null!=a)return t(a),{grammaticalGender:p(ir(a,1)),phoneExtendedData:l8c(Z(a,k8c,2))}};var Ugb=Eb(417866180,{peopleStackFieldData:0},cr,m8c);p0c[417866180]=Ugb;var n8c=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},Pgb=function(a){if(!a)return 0;a=Array.from(a).map(n8c);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var Fgb=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 u3=function(a){r.call(this,a)};U(u3,r);f=u3.prototype;f.getLoggingId=function(){return no(this,1)};f.setLoggingId=function(a){n(this,1,Sa(a,!1,!1))};f.getValue=function(){return Es(this,2)};f.getValue_legacyNullable=function(){return Es(this,2)};f.setValue=function(a){return Ls(this,2,a)};f.hasValue=function(){return null!=Es(this,2)};f.toObject=function(){return o8c(this)};var o8c=function(a){if(null!=a)return t(a),{loggingId:Jb(a.getLoggingId()),value:p(Es(a,2))}};var p8c=function(a){r.call(this,a)};U(p8c,r);f=p8c.prototype;f.getValue=function(){return m(this,1)};f.getValue_legacyNullable=function(){return m(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return tk(this,1)};f.getGivenName=function(){return m(this,2)};f.setGivenName=function(a){return n(this,2,a)};f.hasGivenName=function(){return tk(this,2)};f.getFamilyName=function(){return m(this,3)};f.setFamilyName=function(a){return n(this,3,a)};
f.hasFamilyName=function(){return tk(this,3)};f.getSourceType=function(){return ir(this,4)};f.setSourceType=function(a){return n(this,4,a)};f.toObject=function(){return q8c(this)};var q8c=function(a){if(null!=a)return t(a),{value:p(m(a,1)),givenName:p(m(a,2)),familyName:p(m(a,3)),sourceType:p(ir(a,4))}};var r8c=function(a){r.call(this,a)};U(r8c,r);f=r8c.prototype;f.getUrl=function(){return m(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return tk(this,1)};f.getType=function(){return ir(this,2)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return cj(this,2)};f.getGlyph=function(){return m(this,3)};f.setGlyph=function(a){return n(this,3,a)};f.toObject=function(){return s8c(this)};
var s8c=function(a){if(null!=a)return t(a),{url:p(m(a,1)),type:p(ir(a,2)),glyph:p(m(a,3))}};var v3=function(a){r.call(this,a)};U(v3,r);f=v3.prototype;f.getPhoto=function(){return Z(this,r8c,1)};f.setPhoto=function(a){Wi(this,r8c,1,a)};f.hasPhoto=function(){return Aj(this,r8c,1)};f.getName=function(){return Z(this,p8c,2)};f.setName=function(a){return Wi(this,p8c,2,a)};f.hasName=function(){return Aj(this,p8c,2)};f.getAffinity=function(){return Z(this,u3,3)};f.hasAffinity=function(){return Aj(this,u3,3)};f.getPrimary=function(){return $q(this,4)};f.toObject=function(){return t8c(this)};
var t8c=function(a){if(null!=a)return t(a),{photo:s8c(a.getPhoto()),name:q8c(a.getName()),affinity:o8c(a.getAffinity()),primary:p($q(a,4))}};var w3=function(a){r.call(this,a)};U(w3,r);w3.prototype.getStatus=function(){return ir(this,2)};w3.prototype.setStatus=function(a){return n(this,2,a)};w3.prototype.hasStatus=function(){return cj(this,2)};w3.prototype.toObject=function(){return u8c(this)};var u8c=function(a){if(null!=a)return t(a),{expirationTimestampSeconds:p(m(a,1)),status:p(ir(a,2)),configurationName:p(m(a,3))}};var x3=function(a){r.call(this,a)};U(x3,r);x3.prototype.getSmtpServerSupportsTls=function(){$q(this,1)};x3.prototype.toObject=function(){return v8c(this)};var v8c=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:p($q(a,1)),usesConfusingCharacters:p($q(a,2))}};var hr=function(a){r.call(this,a)};U(hr,r);hr.prototype.getState=function(){return ir(this,2)};hr.prototype.toObject=function(){return w8c(this)};var w8c=function(a){if(null!=a)return t(a),{contextType:p(ir(a,1)),state:p(ir(a,2))}};var y3=function(a){r.call(this,a)};U(y3,r);y3.prototype.getApplication=function(){return W(this,1,0)};y3.prototype.setApplication=function(a){return n(this,1,a)};y3.prototype.getApplicationOrUndefined=function(){return ur(this,1)};y3.repeatedFields_=[2];y3.prototype.toObject=function(){return x8c(this)};var x8c=function(a){if(null!=a)return t(a),{application:W(a,1,0),stateStatusList:Gb(Ch(a,hr,2),w8c)}};var z3=function(a){r.call(this,a)};U(z3,r);f=z3.prototype;f.getValue=function(){return m(this,1)};f.getValue_legacyNullable=function(){return m(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return tk(this,1)};f.getInternalExternal=function(){return Z(this,y3,4)};f.hasInternalExternal=function(){return Aj(this,y3,4)};z3.repeatedFields_=[2];z3.prototype.toObject=function(){return y8c(this)};
var y8c=function(a){if(null!=a)return t(a),{value:p(m(a,1)),certificatesList:Gb(Ch(a,w3,2),u8c),securityInfo:v8c(Z(a,x3,3)),internalExternal:x8c(a.getInternalExternal())}};var Tq=function(a){r.call(this,a)};U(Tq,r);f=Tq.prototype;f.getProfileId=function(){return m(this,1)};f.getProfileId_legacyNullable=function(){return m(this,1)};f.setProfileId=function(a){return n(this,1,a)};f.hasProfileId=function(){return tk(this,1)};f.getEmail=function(){return mo(this,2,Xq)};f.getEmail_legacyNullable=function(){return mo(this,2,Xq)};f.setEmail=function(a){return Xn(this,2,Xq,a)};f.hasEmail=function(){return null!=mo(this,2,Xq)};f.getPhone=function(){return mo(this,3,Xq)};
f.getPhone_legacyNullable=function(){return mo(this,3,Xq)};f.setPhone=function(a){return Xn(this,3,Xq,a)};f.hasPhone=function(){return null!=mo(this,3,Xq)};var Xq=[2,3];Tq.prototype.toObject=function(){return z8c(this)};var z8c=function(a){if(null!=a)return t(a),{profileId:p(m(a,1)),email:p(mo(a,2,Xq)),phone:p(mo(a,3,Xq)),clientData:p(m(a,4))}};var A3=function(a){r.call(this,a)};U(A3,r);A3.prototype.getDisplayValue=function(){return m(this,1)};A3.prototype.getOriginalValue=function(){return m(this,3)};A3.prototype.toObject=function(){return A8c(this)};var A8c=function(a){if(null!=a)return t(a),{displayValue:p(m(a,1)),canonicalValue:p(m(a,2)),originalValue:p(m(a,3))}};var B8c=function(a){r.call(this,a)};U(B8c,r);B8c.prototype.toObject=function(){return C8c(this)};var C8c=function(a){if(null!=a)return t(a),{directUserMemberCount:p(m(a,1)),directGroupMemberCount:p(m(a,2))}};var D8c=function(a){r.call(this,a)};U(D8c,r);f=D8c.prototype;f.getIdCase=function(){return Ai(this,B3)};f.getProfileId=function(){return mo(this,1,B3)};f.getProfileId_legacyNullable=function(){return mo(this,1,B3)};f.setProfileId=function(a){return Xn(this,1,B3,a)};f.hasProfileId=function(){return null!=mo(this,1,B3)};f.getContactId=function(){return mo(this,2,B3)};f.setContactId=function(a){Xn(this,2,B3,a)};var B3=[1,2];D8c.prototype.toObject=function(){return E8c(this)};
var E8c=function(a){if(null!=a)return t(a),{profileId:p(mo(a,1,B3)),contactId:p(mo(a,2,B3))}};var C3=function(a){r.call(this,a)};U(C3,r);f=C3.prototype;f.getValueCase=function(){return Ai(this,Vq)};f.getDisplayInfo=function(){return Z(this,v3,1)};f.hasDisplayInfo=function(){return Aj(this,v3,1)};f.getEmail=function(){return Pj(this,z3,2,Vq)};f.setEmail=function(a){return eo(this,2,Vq,a)};f.hasEmail=function(){return Nj(this,z3,2,Vq)};f.getPhone=function(){return Pj(this,A3,3,Vq)};f.setPhone=function(a){return eo(this,3,Vq,a)};f.hasPhone=function(){return Nj(this,A3,3,Vq)};
f.getSourceIdsList=function(){return Ch(this,D8c,5)};f.getIsSelf=function(){return $q(this,6)};f.getTypeLabel=function(){return m(this,10)};C3.repeatedFields_=[5];var Vq=[2,3,4];C3.prototype.toObject=function(){return F8c(this)};
var F8c=function(a){if(null!=a)return t(a),{displayInfo:t8c(a.getDisplayInfo()),email:y8c(a.getEmail()),phone:A8c(a.getPhone()),inAppTarget:z8c(Pj(a,Tq,4,Vq)),sourceIdsList:Gb(a.getSourceIdsList(),E8c),isSelf:p($q(a,6)),isGoogleGroup:p($q(a,7)),isPersonal:p($q(a,8)),peopleStackFieldExtendedData:m8c(Z(a,cr,9)),typeLabel:p(m(a,10)),isBlocked:p($q(a,11)),rosterDetails:C8c(Z(a,B8c,12))}};var D3=function(a){r.call(this,a)};U(D3,r);f=D3.prototype;f.getDisplayInfo=function(){return Z(this,v3,1)};f.hasDisplayInfo=function(){return Aj(this,v3,1)};f.getMembersList=function(){return Ch(this,C3,2)};f.setMembersList=function(a){aj(this,2,a)};f.getLabelId=function(){return m(this,3)};D3.repeatedFields_=[2];D3.prototype.toObject=function(){return G8c(this)};var G8c=function(a){if(null!=a)return t(a),{displayInfo:t8c(a.getDisplayInfo()),membersList:Gb(a.getMembersList(),F8c),labelId:p(m(a,3))}};var E3=function(a){r.call(this,a)};U(E3,r);E3.prototype.getHideType=function(){return ir(this,1)};E3.prototype.getHiddenKeysList=function(){return Ch(this,O3c,3)};E3.repeatedFields_=[3];E3.prototype.toObject=function(){return H8c(this)};var H8c=function(a){if(null!=a)return t(a),{hideType:p(ir(a,1)),hiddenKeysList:Gb(a.getHiddenKeysList(),P3c),familyStatus:p(ir(a,2))}};var F3=function(a){r.call(this,a)};U(F3,r);F3.prototype.getAffinity=function(){return Z(this,u3,2)};F3.prototype.hasAffinity=function(){return Aj(this,u3,2)};F3.prototype.getPeopleStackExtendedData=function(){return Z(this,E3,4)};F3.prototype.getPeopleStackPersonExtendedData=function(){return Z(this,y2,5)};F3.repeatedFields_=[1];F3.prototype.toObject=function(){return I8c(this)};
var I8c=function(a){if(null!=a)return t(a),{affinity:o8c(a.getAffinity()),contactMethodsList:Gb(Ch(a,C3,1),F8c),clientSpecificData:b8c(Z(a,Zq,3)),peopleStackExtendedData:H8c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:Q3c(a.getPeopleStackPersonExtendedData())}};var J8c=function(a){r.call(this,a)};U(J8c,r);J8c.prototype.getOwnersList=function(){return Ch(this,F3,2)};J8c.repeatedFields_=[2];J8c.prototype.toObject=function(){return K8c(this)};var K8c=function(a){if(null!=a)return t(a),{creator:I8c(Z(a,F3,1)),ownersList:Gb(a.getOwnersList(),I8c)}};var kr=function(a){r.call(this,a)};U(kr,r);kr.prototype.getIdCase=function(){return Ai(this,khb)};var khb=[1];kr.prototype.toObject=function(){return L8c(this)};var L8c=function(a){if(null!=a)return t(a),{rosterEmail:p(mo(a,1,khb))}};var M8c=function(a){r.call(this,a)};U(M8c,r);M8c.prototype.toObject=function(){return N8c(this)};var N8c=function(a){if(null!=a)return t(a),{endtimeUtc:wt(Z(a,yh,1))}};var G3=function(a){r.call(this,a)};U(G3,r);f=G3.prototype;f.getDisplayInfo=function(){return Z(this,v3,1)};f.hasDisplayInfo=function(){return Aj(this,v3,1)};f.getMembersList=function(){return Ch(this,F3,2)};f.setMembersList=function(a){aj(this,2,a)};f.getGroupId=function(){return m(this,4)};f.setGroupId=function(a){n(this,4,a)};f.hasGroupId=function(){return tk(this,4)};G3.repeatedFields_=[2,6];G3.prototype.toObject=function(){return O8c(this)};
var O8c=function(a){if(null!=a)return t(a),{displayInfo:t8c(a.getDisplayInfo()),membersList:Gb(a.getMembersList(),I8c),fullGroupSize:p(Ms(a,3)),groupId:p(m(a,4)),groupType:p(m(a,5)),groupAlternateIdList:Gb(Ch(a,kr,6),L8c),groupEndtime:N8c(Z(a,M8c,7)),groupAdministration:K8c(Z(a,J8c,8))}};var H3=function(a){r.call(this,a)};U(H3,r);H3.prototype.getPerson=function(){return Pj(this,F3,1,I3)};H3.prototype.getGroup=function(){return Pj(this,G3,2,I3)};H3.prototype.setGroup=function(a){eo(this,2,I3,a)};var I3=[1,2,3];H3.prototype.toObject=function(){return P8c(this)};var P8c=function(a){if(null!=a)return t(a),{person:I8c(a.getPerson()),group:O8c(a.getGroup()),contactLabel:G8c(Pj(a,D3,3,I3))}};var gr=function(a){r.call(this,a)};U(gr,r);f=gr.prototype;f.getIdCase=function(){return Ai(this,J3)};f.getEmail=function(){return mo(this,1,J3)};f.getEmail_legacyNullable=function(){return mo(this,1,J3)};f.setEmail=function(a){return Xn(this,1,J3,a)};f.hasEmail=function(){return null!=mo(this,1,J3)};f.getPhone=function(){return mo(this,2,J3)};f.getPhone_legacyNullable=function(){return mo(this,2,J3)};f.setPhone=function(a){return Xn(this,2,J3,a)};f.hasPhone=function(){return null!=mo(this,2,J3)};
f.getProfileId=function(){return mo(this,3,J3)};f.getProfileId_legacyNullable=function(){return mo(this,3,J3)};f.setProfileId=function(a){return Xn(this,3,J3,a)};f.hasProfileId=function(){return null!=mo(this,3,J3)};var J3=[1,2,3];gr.prototype.toObject=function(){return Q8c(this)};var Q8c=function(a){if(null!=a)return t(a),{email:p(mo(a,1,J3)),phone:p(mo(a,2,J3)),profileId:p(mo(a,3,J3))}};var R8c=function(a){r.call(this,a)};U(R8c,r);R8c.prototype.toObject=function(){return S8c(this)};var S8c=function(a){if(null!=a)return t(a),{featureType:W(a,1,0),weight:ej(a,2,0),exponent:ej(a,3,1)}};var K3=function(a){r.call(this,a)};U(K3,r);f=K3.prototype;f.getAffinityVersion=function(){return Ms(this,1)};f.setAffinityVersion=function(a){n(this,1,a)};f.getAffinityVersionOrUndefined=function(){return $s(this,1)};f.getAffinityType=function(){return m(this,4)};f.setAffinityType=function(a){return n(this,4,a)};K3.repeatedFields_=[3];K3.prototype.toObject=function(){return T8c(this)};
var T8c=function(a){if(null!=a)return t(a),{affinityVersion:p(Ms(a,1)),affinityThreshold:p(Es(a,2)),featureList:Gb(Ch(a,R8c,3),S8c),affinityType:p(m(a,4))}};var L3=function(a){r.call(this,a)};U(L3,r);L3.prototype.getResultsList=function(){return Ch(this,H3,1)};var U8c=Nb(L3);L3.repeatedFields_=[1];L3.prototype.toObject=function(){return V8c(this)};var V8c=function(a){if(null!=a)return t(a),{resultsList:Gb(a.getResultsList(),P8c),affinityResponseContext:T8c(Z(a,K3,2))}};var M3=function(a){r.call(this,a)};U(M3,r);M3.prototype.getId=function(){return Z(this,gr,1)};M3.prototype.setId=function(a){return Wi(this,gr,1,a)};var W8c=[2,3];M3.prototype.toObject=function(){return X8c(this)};var X8c=function(a){if(null!=a)return t(a),{id:Q8c(a.getId()),autocompletion:P8c(Pj(a,H3,2,W8c)),failureType:p(Zs(a,3,W8c))}};var Y8c=function(a){r.call(this,a)};U(Y8c,r);var Z8c=Nb(Y8c);Y8c.repeatedFields_=[1];Y8c.prototype.toObject=function(){if(null!=this){t(this);var a={matchesList:Gb(Ch(this,M3,1),X8c)}}else a=void 0;return a};var $8c=function(a){this.leanResponseProcessorConfig_=a},a9c=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],g=Tgb(b),h=[],l=k(Ch(b,C3,1)),q=l.next();!q.done;q=l.next()){q=q.value;var x=Jgb(q);if(x.equals(Yq)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var A=Qgb(q);if(!A)continue;x=vgb(A)}h.push(String(x));var B=A=void 0;x={id:x,containerIds:Kgb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:Lgb(b,q),provenance:c,isPrimary:Ogb(null!=(A=q.getDisplayInfo())?A:null),itemAffinity:Ngb(b),
fieldAffinity:Mgb(null!=(B=q.getDisplayInfo())?B:null),contactMethod:q,person:b};g&&(x.resultExtendedData=g);if(q=Vgb(q))x.targetExtendedData=q;e.push(x)}e.length&&e.every(function(K){return!K.isPrimary})&&(e[0].isPrimary=!0);return e},b9c=function(a,b,c){var d=Pq(Ggb(m(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return a9c(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=$s(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Mgb(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,Pc(c.value));return d},c9c=function(a,b){var c=uxc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var l,q;var x={id:Sq(h.getEmail().getValue()),containerIds:Kgb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:Ogb(null!=(l=h.getDisplayInfo())?l:
null),itemAffinity:-Infinity,fieldAffinity:Mgb(null!=(q=h.getDisplayInfo())?q:null)};if(h=Vgb(h))x.targetExtendedData=h}else x=null;return x}).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:Mgb(null!=(g=a.getDisplayInfo())?g:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(Pc(d))},d9c=function(a,b,c){switch(Ai(b,I3)){case 1:return a9c(a,b.getPerson(),c);
case 2:return b9c(a,b.getGroup(),c);case 3:return c9c(Pj(b,D3,3,I3),c);default:return[]}},e9c=function(a,b,c){return b.getResultsList().flatMap(function(d){return d9c(a,d,c)})};var Ygb=new Map([[0,1],[1,2],[2,3],[3,4]]);var f9c=function(a){r.call(this,a)};U(f9c,r);f=f9c.prototype;f.getLabel=function(){return ir(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return cj(this,1)};f.getItemCount=function(){return Ms(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return Bk(this,2)};f.getLookupInfo=function(){return Z(this,er,3)};f.setLookupInfo=function(a){return Wi(this,er,3,a)};f.hasLookupInfo=function(){return Aj(this,er,3)};
f.getQueryLength=function(){return Ms(this,4)};f.setQueryLength=function(a){return n(this,4,a)};f.hasQueryLength=function(){return Bk(this,4)};f.getQueryScope=function(){return W(this,5,0)};f.setQueryScope=function(a){return n(this,5,a)};f.hasQueryScope=function(){return cj(this,5)};f.toObject=function(){return g9c(this)};var g9c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),itemCount:p(Ms(a,2)),lookupInfo:o7c(a.getLookupInfo()),queryLength:p(Ms(a,4)),queryScope:W(a,5,0)}};var h9c=function(a){r.call(this,a)};U(h9c,r);h9c.prototype.toObject=function(){return i9c(this)};var i9c=function(a){if(null!=a)return t(a),{cpuPeakUsageFraction:p(Es(a,1)),cpuAverageUsageFraction:p(Es(a,2)),memoryPeakUsageBytes:p(m(a,3)),memoryAverageUsageBytes:p(m(a,4))}};var j9c=function(a){r.call(this,a)};U(j9c,r);f=j9c.prototype;f.getLabel=function(){return ir(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return cj(this,1)};f.getStatus=function(){return ir(this,2)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return cj(this,2)};f.setLatencyUsec=function(a){n(this,3,a)};f.getResultIndex=function(){return Ms(this,4)};f.setResultIndex=function(a){n(this,4,a)};f.getDataSource=function(){return ir(this,7)};
f.setDataSource=function(a){return n(this,7,a)};f.hasDataSource=function(){return cj(this,7)};f.getItemCount=function(){return Ms(this,8)};f.setItemCount=function(a){return n(this,8,a)};f.hasItemCount=function(){return Bk(this,8)};f.getLookupInfo=function(){return Z(this,er,10)};f.setLookupInfo=function(a){return Wi(this,er,10,a)};f.hasLookupInfo=function(){return Aj(this,er,10)};f.setStatusCode=function(a){n(this,11,a)};f.getQueryLength=function(){return Ms(this,13)};
f.setQueryLength=function(a){return n(this,13,a)};f.hasQueryLength=function(){return Bk(this,13)};f.getQueryScope=function(){return W(this,14,0)};f.setQueryScope=function(a){return n(this,14,a)};f.hasQueryScope=function(){return cj(this,14)};f.toObject=function(){return k9c(this)};
var k9c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),status:p(ir(a,2)),latencyUsec:p(m(a,3)),resultIndex:p(Ms(a,4)),cacheStatusAtQuery:p(ir(a,5)),cacheStatusAtResult:p(ir(a,6)),dataSource:p(ir(a,7)),itemCount:p(Ms(a,8)),duplicatesRejectedCount:p(Ms(a,12)),resources:i9c(Z(a,h9c,9)),lookupInfo:o7c(a.getLookupInfo()),statusCode:W(a,11,2),queryLength:p(Ms(a,13)),queryScope:W(a,14,0)}};var l9c=function(a){r.call(this,a)};U(l9c,r);l9c.prototype.toObject=function(){return m9c(this)};var m9c=function(a){if(null!=a)return t(a),{topnCacheItemCount:p(Ms(a,1)),iosDeviceCacheItemCount:p(Ms(a,2))}};var n9c=function(a){r.call(this,a)};U(n9c,r);f=n9c.prototype;f.getDataSource=function(){return ir(this,3)};f.setDataSource=function(a){return n(this,3,a)};f.hasDataSource=function(){return cj(this,3)};f.getType=function(){return ir(this,4)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return cj(this,4)};f.getValue=function(){return dj(this,2,1)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return Lk(this,2)};f.getLabel=function(){return m(this,1)};
f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return tk(this,1)};f.toObject=function(){return o9c(this)};var o9c=function(a){if(null!=a)return t(a),{dataSource:p(ir(a,3)),type:p(ir(a,4)),value:dj(a,2,1),label:p(m(a,1))}};var p9c=function(a){r.call(this,a)};U(p9c,r);p9c.prototype.toObject=function(){return q9c(this)};var q9c=function(a){if(null!=a)return t(a),{numberOfContacts:p(m(a,1))}};var r9c=function(a){r.call(this,a)};U(r9c,r);r9c.prototype.toObject=function(){return s9c(this)};var s9c=function(a){if(null!=a)return t(a),{sqliteStatus:p(Ms(a,1))}};var t9c=function(a){r.call(this,a)};U(t9c,r);t9c.prototype.getSqliteErrorInfo=function(){return Pj(this,r9c,2,u9c)};var u9c=[2];t9c.prototype.toObject=function(){return v9c(this)};var v9c=function(a){if(null!=a)return t(a),{errorLocation:p(ir(a,1)),sqliteErrorInfo:s9c(a.getSqliteErrorInfo())}};var w9c=function(a){r.call(this,a)};U(w9c,r);w9c.prototype.getSqliteErrorInfo=function(){return Pj(this,r9c,2,x9c)};var x9c=[2];w9c.prototype.toObject=function(){return y9c(this)};var y9c=function(a){if(null!=a)return t(a),{errorLocation:p(ir(a,1)),sqliteErrorInfo:s9c(a.getSqliteErrorInfo())}};var z9c=function(a){r.call(this,a)};U(z9c,r);z9c.prototype.toObject=function(){return A9c(this)};var A9c=function(a){if(null!=a)return t(a),{errorLocation:p(ir(a,1))}};var N3=function(a){r.call(this,a)};U(N3,r);f=N3.prototype;f.setStatusCode=function(a){n(this,5,a)};f.getLabel=function(){return m(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return tk(this,1)};f.getCause=function(){return m(this,2)};f.getType=function(){return ir(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return cj(this,3)};var B9c=[6,7,8];N3.prototype.toObject=function(){return C9c(this)};
var C9c=function(a){if(null!=a)return t(a),{statusCode:W(a,5,2),iosErrorInfo:y9c(Pj(a,w9c,6,B9c)),androidErrorInfo:v9c(Pj(a,t9c,7,B9c)),webErrorInfo:A9c(Pj(a,z9c,8,B9c)),label:p(m(a,1)),cause:p(m(a,2)),type:p(ir(a,3)),causeType:p(ir(a,4))}};var O3=function(a){r.call(this,a)};U(O3,r);f=O3.prototype;f.getType=function(){return ir(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return cj(this,3)};f.setLatencyUsec=function(a){n(this,2,a)};f.getLabel=function(){return m(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return tk(this,1)};f.toObject=function(){return D9c(this)};var D9c=function(a){if(null!=a)return t(a),{type:p(ir(a,3)),latencyUsec:p(m(a,2)),label:p(m(a,1))}};var P3=function(a){r.call(this,a)};U(P3,r);P3.prototype.getLabel=function(){return ir(this,1)};P3.prototype.setLabel=function(a){return n(this,1,a)};P3.prototype.hasLabel=function(){return cj(this,1)};P3.prototype.toObject=function(){return E9c(this)};var E9c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),memoryUsedBytes:p(m(a,2)),memoryAverageUsedBytes:p(m(a,3))}};var Q3=function(a){r.call(this,a)};U(Q3,r);Q3.prototype.getLabel=function(){return ir(this,1)};Q3.prototype.setLabel=function(a){return n(this,1,a)};Q3.prototype.hasLabel=function(){return cj(this,1)};Q3.prototype.toObject=function(){return F9c(this)};var F9c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),requestProtoBytes:p(m(a,2)),requestBytes:p(m(a,3)),networkState:p(ir(a,4))}};var G9c=function(a){r.call(this,a)};U(G9c,r);f=G9c.prototype;f.getLabel=function(){return ir(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return cj(this,1)};f.getStatus=function(){return ir(this,2)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return cj(this,2)};f.setLatencyUsec=function(a){n(this,3,a)};f.getErrorCode=function(){return m(this,4)};f.hasErrorCode=function(){return Lk(this,4)};f.setStatusCode=function(a){n(this,7,a)};
f.setBlockedUsec=function(a){return n(this,8,a)};f.toObject=function(){return H9c(this)};var H9c=function(a){if(null!=a)return t(a),{label:p(ir(a,1)),status:p(ir(a,2)),latencyUsec:p(m(a,3)),errorCode:p(m(a,4)),responseProtoBytes:p(m(a,5)),responseBytes:p(m(a,6)),statusCode:W(a,7,2),blockedUsec:p(m(a,8)),processingUsec:p(m(a,9)),networkState:p(ir(a,10))}};var R3=function(a){r.call(this,a)};U(R3,r);f=R3.prototype;f.getClientInterface=function(){return Z(this,IQ,1)};f.setClientInterface=function(a){return Wi(this,IQ,1,a)};f.getEventType=function(){return ir(this,3)};f.getEventType_legacyNullable=function(){return ir(this,3)};f.setEventType=function(a){return n(this,3,a)};f.getCacheStatus=function(){return Z(this,l9c,12)};f.setCacheStatus=function(a){return Wi(this,l9c,12,a)};f.getCount=function(){return Z(this,n9c,4)};
f.setCount=function(a){return Wi(this,n9c,4,a)};f.getLatency=function(){return Z(this,O3,5)};f.setLatency=function(a){return Wi(this,O3,5,a)};f.getError=function(){return Z(this,N3,6)};f.setError=function(a){Wi(this,N3,6,a)};f.hasError=function(){return Aj(this,N3,6)};f.getRpcRequest=function(){return Z(this,Q3,7)};f.setRpcRequest=function(a){return Wi(this,Q3,7,a)};f.getRpcResponse=function(){return Z(this,G9c,8)};f.setRpcResponse=function(a){return Wi(this,G9c,8,a)};
f.getApiCall=function(){return Z(this,f9c,9)};f.setApiCall=function(a){return Wi(this,f9c,9,a)};f.getApiResult=function(){return Z(this,j9c,10)};f.setApiResult=function(a){return Wi(this,j9c,10,a)};
f.toObject=function(){if(null!=this){t(this);var a={clientInterface:Ovc(this.getClientInterface()),autocompleteSessions:Cwc(Z(this,RQ,2)),eventType:p(ir(this,3)),cacheStatus:m9c(this.getCacheStatus()),deviceInfo:q9c(Z(this,p9c,13)),count:o9c(this.getCount()),latency:D9c(this.getLatency()),error:C9c(this.getError()),rpcRequest:F9c(this.getRpcRequest()),rpcResponse:H9c(this.getRpcResponse()),apiCall:g9c(this.getApiCall()),apiResult:k9c(this.getApiResult()),memory:E9c(Z(this,P3,11))}}else a=void 0;return a};var I9c=function(a){r.call(this,a)};U(I9c,r);I9c.prototype.toObject=function(){return J9c(this)};var J9c=function(a){if(null!=a)return t(a),{isDirectClientInteraction:p($q(a,1))}};var K9c=function(a){r.call(this,a)};U(K9c,r);K9c.prototype.toObject=function(){return L9c(this)};var L9c=function(a){if(null!=a)return t(a),{isDeviceDataKnown:p($q(a,1)),deviceScore:p(Es(a,2))}};var M9c=function(a){r.call(this,a)};U(M9c,r);M9c.prototype.toObject=function(){return N9c(this)};var N9c=function(a){if(null!=a)return t(a),{cloudDeviceDataInfo:L9c(Z(a,K9c,1)),clientInteractionInfo:J9c(Z(a,I9c,2)),cloudScore:p(Es(a,3))}};var O9c=function(a){r.call(this,a)};U(O9c,r);f=O9c.prototype;f.getAffinityType=function(){return ir(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getValue=function(){return Es(this,2)};f.getValue_legacyNullable=function(){return Es(this,2)};f.setValue=function(a){return Ls(this,2,a)};f.hasValue=function(){return null!=Es(this,2)};f.getLoggingId=function(){return m(this,3)};f.setLoggingId=function(a){n(this,3,a)};f.getContainerType=function(){return ir(this,4)};f.toObject=function(){return P9c(this)};
var P9c=function(a){if(null!=a)return t(a),{affinityType:p(ir(a,1)),value:p(Es(a,2)),loggingId:p(m(a,3)),containerType:p(ir(a,4)),containerId:p(m(a,5)),affinityMetadata:N9c(Z(a,M9c,7))}};var S3=function(a){r.call(this,a)};U(S3,r);S3.prototype.setDevice=function(a){return n(this,1,a)};S3.prototype.toObject=function(){return Q9c(this)};var Q9c=function(a){if(null!=a)return t(a),{device:p(ir(a,1))}};var R9c=function(a){r.call(this,a)};U(R9c,r);f=R9c.prototype;f.getAffinityType=function(){return ir(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getQuery=function(){return m(this,2)};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Hs(this,2)};f.hasQuery=function(){return tk(this,2)};f.getClientInformation=function(){return Z(this,S3,3)};f.setClientInformation=function(a){Wi(this,S3,3,a)};f.setMaxResults=function(a){return n(this,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(ir(this,1)),query:p(m(this,2)),clientInformation:Q9c(this.getClientInformation()),maxResults:p(Ms(this,4))}}else a=void 0;return a};var S9c=new yC("/peoplestack.PeopleStackAutocompleteService/Autocomplete",R9c,L3,function(a){return a.serialize()},U8c);var T9c=function(a){r.call(this,a)};U(T9c,r);f=T9c.prototype;f.getAffinityType=function(){return ir(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return Z(this,S3,2)};f.setClientInformation=function(a){Wi(this,S3,2,a)};f.getName=function(){return m(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return tk(this,3)};f.getNameOrUndefined=function(){return bt(this,3)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(ir(this,1)),clientInformation:Q9c(this.getClientInformation()),name:p(m(this,3)),product:p(ir(this,4)),ttl:iu(Z(this,Ah,5))}}else a=void 0;return a};var T3=function(a){r.call(this,a)};U(T3,r);T3.prototype.getGroup=function(){return Z(this,G3,1)};T3.prototype.setGroup=function(a){Wi(this,G3,1,a)};var U9c=Nb(T3);T3.prototype.toObject=function(){if(null!=this){t(this);var a={group:O8c(this.getGroup()),tokenSecret:p(m(this,2))}}else a=void 0;return a};var V9c=new yC("/peoplestack.PeopleStackAutocompleteService/CreateGroup",T9c,T3,function(a){return a.serialize()},U9c);var U3=function(a){r.call(this,a)};U(U3,r);f=U3.prototype;f.getAffinityType=function(){return ir(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return Z(this,S3,2)};f.setClientInformation=function(a){Wi(this,S3,2,a)};f.getIdsList=function(){return Ch(this,gr,3)};f.setIdsList=function(a){aj(this,3,a)};f.setIds=function(a){return Ds(this,3,gr,a)};U3.repeatedFields_=[3];
U3.prototype.toObject=function(){if(null!=this){t(this);var a={affinityType:p(ir(this,1)),clientInformation:Q9c(this.getClientInformation()),idsList:Gb(this.getIdsList(),Q8c)}}else a=void 0;return a};var W9c=new yC("/peoplestack.PeopleStackAutocompleteService/Lookup",U3,Y8c,function(a){return a.serialize()},Z8c);var X9c=function(a){r.call(this,a)};U(X9c,r);f=X9c.prototype;f.getAffinityType=function(){return ir(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return Z(this,S3,2)};f.setClientInformation=function(a){Wi(this,S3,2,a)};f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(ir(this,1)),clientInformation:Q9c(this.getClientInformation())}}else a=void 0;return a};var Y9c=function(a){r.call(this,a)};U(Y9c,r);var Z9c=Nb(Y9c);Y9c.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};var $9c=new yC("/peoplestack.PeopleStackAutocompleteService/Warmup",X9c,Y9c,function(a){return a.serialize()},Z9c);var a$c=function(a){var b={unaryInterceptors:[new I1c]};b=b||{};b.format="jspb";this.client_=new PC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};a$c.prototype.autocomplete=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},S9c)};a$c.prototype.lookup=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},W9c)};
a$c.prototype.createGroup=function(a,b){return QC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},V9c)};var V3=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=Xgb(e):(a=new dr,Wgb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=W(c.getPeopleApi(),5,0);this.searchMaxResults_=Eh(c.getClient(),2,10);this.cacheSize_=c.getClient().getCacheSize()};V3.prototype.getMetric=function(){return new b$c(this.trackers_.metrics_,this.sourceInfo_)};
V3.prototype.send=function(a){var b=new R9c;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new S3).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};V3.prototype.processResponse=function(a){var b=e9c(this.leanResponseProcessor_,a,this.provenance_),c=new pr;Aj(a,K3,2)&&c.setAffinityVersion(Z(a,K3,2).getAffinityVersion());return{data:b,metadata:c}};V3.prototype.close=function(){};var c$c=function(a,b,c,d,e,g){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new dr;Wgb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=g;this.type_=e;this.trackers_=d;this.affinity_=W(c.getPeopleApi(),5,0)};c$c.prototype.getMetric=function(){return new b$c(this.trackers_.metrics_,this.sourceInfo_)};
c$c.prototype.send=function(a){var b=this,c=new U3;c.setAffinityType(this.affinity_).setClientInformation((new S3).setDevice(1));c.setIdsList(this.keys_.map(function(d){return dhb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
c$c.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(Ch(a,M3,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Nj(e,H3,2,W8c)){var g=d9c(b,Pj(e,H3,2,W8c),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 pr}};c$c.prototype.close=function(){};var d$c=function(a){r.call(this,a)};U(d$c,r);d$c.prototype.toObject=function(){return e$c(this)};var e$c=function(a){if(null!=a)return t(a),{leanAutocomplete:V8c(Z(a,L3,1))}};var f$c=Eb(342338249,{leanOfflineData:0},d$c,e$c);O7c[342338249]=f$c;var g$c=function(){};g$c.prototype.write=function(a,b){var c=new d$c;b=Wi(c,L3,1,b);br(a,f$c,b)};g$c.prototype.read=function(a){return(a=a.getExtension(f$c))?Z(a,L3,1):null};var h$c=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=Xgb("");this.trackers_=c;this.affinity_=W(b.getPeopleApi(),5,0)};h$c.prototype.getMetric=function(){return new b$c(this.trackers_.metrics_,this.sourceInfo_)};h$c.prototype.send=function(a){var b=new X9c;b.setAffinityType(this.affinity_).setClientInformation((new S3).setDevice(1));var c=this.grpcClient_;return QC(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},$9c)};
h$c.prototype.processResponse=function(){return{data:[],metadata:new pr}};h$c.prototype.close=function(){};var i$c=new j6b;var W3=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};W3.prototype.send=function(a){var b=this;return de(function(c){return b.runtimeConfig_.isOffline_()?c.return(i$c):c.return(b.delegate_.send(a))})};W3.prototype.getMetric=function(){return this.delegate_.getMetric()};W3.prototype.processResponse=function(a){return a===i$c?this.offlineResponse_:this.delegate_.processResponse(a)};W3.prototype.close=function(a){this.delegate_.close(a)};
var j$c={data:[],metadata:Ij(new pr,5,!0).setCode(14)},k$c={data:new Map,metadata:Ij(new pr,5,!0).setCode(14)};Ij(new pr,5,!0).setCode(14);Ij(new pr,5,!0).setCode(14);var l$c=function(a){r.call(this,a)};U(l$c,r);f=l$c.prototype;f.getTimestamp=function(){return dj(this,1)};f.setTimestamp=function(a){return n(this,1,a)};f.hasTimestamp=function(){return Lk(this,1)};f.getOwner=function(){return V(this,2)};f.setOwner=function(a){return n(this,2,a)};f.toObject=function(){return m$c(this)};var m$c=function(a){if(null!=a)return t(a),{timestamp:p(m(a,1)),owner:p(m(a,2))}};var n$c=Eb(342656659,{metadata:0},l$c,m$c);O7c[342656659]=n$c;var X3=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};X3.prototype.store_=function(a,b){var c=new N7c;br(c,n$c,(new l$c).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var o$c=function(a){var b,c;return de(function(d){if(1==d.nextAddress)return ee(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(n$c);c=a.offlineMetadata_?wxc(a.offlineMetadata_.getOwner()):Yq;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}he(d);return d.return(null)})};
X3.prototype.send=function(a){var b=this,c,d,e,g,h;return de(function(l){switch(l.nextAddress){case 1:return ee(l,2),l.yield(b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==i$c){l.jumpTo(5);break}return l.yield(o$c(b),6);case 6:return e=l.yieldResult,l.return(e||i$c);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return g=he(l),l.yield(o$c(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(g))}})};
X3.prototype.getMetric=function(){return this.delegate_.getMetric()};X3.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};X3.prototype.close=function(a){this.delegate_.close(a)};var p$c=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?V(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new K1c(b);b=OLa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new a$c(b);this.offlineDataTransformer_=
new g$c;a=Gj(a.getClient(),22,!1);this.leanResponseProcessor_=new $8c({allowEmptyTargets:a})};f=p$c.prototype;
f.loadRankedItems=function(){var a=new V3(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new W3(a,this.config_.runtimeConfig_,j$c);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Sq(e),b=Eh(b.getPeopleApi(),14,5E3),a=new X3(a,d,c,e,b))}return M1c(this.dispatcher_,a)};
f.warmUpServer=function(){var a=new h$c(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new W3(a,this.config_.runtimeConfig_,j$c);return M1c(this.dispatcher_,a)};f.loadAutocompleteItems=function(a){a=a.getPrefix();a=new V3(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new W3(a,this.config_.runtimeConfig_,j$c);return M1c(this.dispatcher_,a)};
f.loadLookupItems=function(a,b){a=new c$c(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new W3(a,this.config_.runtimeConfig_,k$c);return M1c(this.dispatcher_,a)};f.loadContactItems=function(){};var ehb=new Map([[1,1],[2,2]]);var hhb=new Map([[3,3],[1,2],[2,1]]),q$c=new Map([[2,1],[4,2],[3,3],[1,4]]),r$c=function(a){this.delegate_=a};
r$c.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=Qq(a.id).setValue(c);if(Ch(b,w3,2).length||Aj(b,x3,3)){var d=1;if(Ch(b,w3,2).length){var e=Ch(b,w3,2)[0];m(e,1);d=q$c.get(e.getStatus())||d}Aj(b,x3,3)&&Z(b,x3,3).getSmtpServerSupportsTls();4===(void 0===d?1:d)&&Date.now()}b.hasInternalExternal()&&(b=fhb(b.getInternalExternal()),c.orgState_=b);$q(a.contactMethod,7)&&c.setResultType(2);
b=c;break;case 3:b=a.contactMethod.getPhone();b=b.getOriginalValue()||b.getDisplayValue()||m(b,2)||"";b=Qq(a.id).setValue(b);break;case 4:b=Pj(a.contactMethod,Tq,4,Vq);b=jhb(a,b);break;default:b=Qq(a.id||Yq)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);zgb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(ghb(Bca(no(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&ihb(b,a.contactMethod.getDisplayInfo());tk(a.contactMethod,10)&&
Cgb(b,[Dgb(a.contactMethod.getTypeLabel())]);a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=b}else a.group?lhb(a,a.group.getDisplayInfo()):a.contactLabel&&lhb(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 b$c=function(a,b){this.metrics_=a;this.state_=new QQ(b)};f=b$c.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();n(d,13,b)}c&&(b=this.state_.source(),n(b,12,c));this.metrics_.status(this.state_,a)};f.logError=function(a,b){this.metrics_.logError(a,b)};var s$c=function(a){this.metrics_=a};s$c.prototype.error=function(a,b){var c=this.metrics_,d=new dr;a=d.setEventType(3).setErrorType(a);n(a,7,b);return new n7c(c,d)};s$c.prototype.latency=function(a){var b=this.metrics_,c=new dr,d=c.setEventType(2);n(d,5,a);return new Q1c(b,c)};s$c.prototype.count=function(a){var b=this.metrics_,c=new dr,d=c.setEventType(1);n(d,4,a);return new m7c(b,c)};s$c.prototype.api=function(a){return new l7c(this.metrics_,a)};var t$c=function(a,b){this.ranker_=new f7c(a.getClient());this.loader_=new p$c(a,b);b=B7c;b=void 0===b?B7c:b;this.targetFactory_=new X7c(a,new r$c(b))};var u$c=function(a){r.call(this,a)};U(u$c,r);u$c.prototype.toObject=function(){return v$c(this)};var v$c=function(a){if(null!=a)return t(a),{availabilities:l3c(Z(a,k3c,1))}};var w$c=function(a){r.call(this,a)};U(w$c,r);w$c.prototype.toObject=function(){return x$c(this)};var x$c=function(a){if(null!=a)return t(a),{nicknameOption:p(ir(a,1))}};var y$c=function(a){r.call(this,a)};U(y$c,r);y$c.prototype.toObject=function(){return z$c(this)};var z$c=function(a){if(null!=a)return t(a),{redDiff:p(Es(a,1)),greenDiff:p(Es(a,2)),blueDiff:p(Es(a,3))}};var A$c=function(a){r.call(this,a)};U(A$c,r);A$c.prototype.toObject=function(){return B$c(this)};var B$c=function(a){if(null!=a)return t(a),{diffData:z$c(Z(a,y$c,1)),lowResUrl:p(m(a,2)),highResUrl:p(m(a,3)),monogramUrl:p(m(a,7)),privateLowResAcl:p($q(a,4)),lowResData:Jb(no(a,5)),inconsistentPhoto:p($q(a,6))}};var C$c=function(a){r.call(this,a)};U(C$c,r);C$c.repeatedFields_=[1];C$c.prototype.toObject=function(){return D$c(this)};var D$c=function(a){if(null!=a)return t(a),{lockedFieldList:p(Gh(a,1))}};var oad=function(a){r.call(this,a)};U(oad,r);oad.prototype.toObject=function(){return pad(this)};var pad=function(a){if(null!=a)return t(a),{quotaEnforcementStatus:p(ir(a,5)),nameLastModified:p(m(a,1)),nameChangesRemaining:p(Ms(a,2)),computedNameChangesRemaining:p(Ms(a,6)),nicknameLastModified:p(m(a,3)),nicknameChangesRemaining:p(Ms(a,4)),computedNicknameChangesRemaining:p(Ms(a,7))}};var qad=function(a){r.call(this,a)};U(qad,r);qad.prototype.toObject=function(){return rad(this)};var rad=function(a){if(null!=a)return t(a),{profileNameModificationHistory:pad(Z(a,oad,1)),nameDisplayOptions:x$c(Z(a,w$c,2)),profileEditability:D$c(Z(a,C$c,3)),photosCompareData:B$c(Z(a,A$c,4))}};var sad=function(a){r.call(this,a)};U(sad,r);sad.prototype.getSourceType=function(){return ir(this,1)};sad.prototype.setSourceType=function(a){return n(this,1,a)};sad.prototype.toObject=function(){return tad(this)};var tad=function(a){if(null!=a)return t(a),{sourceType:p(ir(a,1))}};var uad=function(a){r.call(this,a)};U(uad,r);uad.prototype.toObject=function(){return vad(this)};var vad=function(a){if(null!=a)return t(a),{callerIdSource:tad(Z(a,sad,1))}};var Y3=function(a){r.call(this,a)};U(Y3,r);Y3.prototype.toObject=function(){return wad(this)};var wad=function(a){if(null!=a)return t(a),{failureType:p(ir(a,1))}};var xad=function(a){r.call(this,a)};U(xad,r);xad.prototype.getFailure=function(){return Z(this,Y3,3)};xad.prototype.toObject=function(){return yad(this)};var yad=function(a){if(null!=a)return t(a),{maskedNumber:p(m(a,1)),internationalNumber:p(m(a,2)),failure:wad(a.getFailure())}};var zad=function(a){r.call(this,a)};U(zad,r);zad.prototype.toObject=function(){return Aad(this)};var Aad=function(a){if(null!=a)return t(a),{contentRestriction:p(ir(a,1)),isEnterpriseUser:p($q(a,2))}};var Bad=function(a){r.call(this,a)};U(Bad,r);Bad.prototype.toObject=function(){return Cad(this)};var Cad=function(a){if(null!=a)return t(a),{isPinned:p($q(a,1)),isFavorite:p($q(a,2)),isDismissed:p($q(a,3)),hadPastHangoutState:p(ir(a,5)),invitationStatus:p(ir(a,6)),userType:p(ir(a,7)),isBot:p($q(a,8))}};var Dad=function(a){r.call(this,a)};U(Dad,r);Dad.prototype.getFailure=function(){return Z(this,Y3,6)};Dad.repeatedFields_=[4];Dad.prototype.toObject=function(){return Ead(this)};var Ead=function(a){if(null!=a)return t(a),{profilePhotoUrl:p(m(a,1)),userCaption:p(m(a,2)),numContributions:p(m(a,3)),topicExpertiseList:p(Gh(a,4)),tagline:p(m(a,5)),failure:wad(a.getFailure()),followeeCount:p(m(a,7)),followerCount:p(Ms(a,8))}};var Fad=function(a){r.call(this,a)};U(Fad,r);Fad.prototype.toObject=function(){return Gad(this)};var Gad=function(a){if(null!=a)return t(a),{achievementName:p(m(a,1)),achievementUnlockedIconUrl:p(m(a,2)),rarityPercentage:p(Es(a,3))}};var Had=function(a){r.call(this,a)};U(Had,r);Had.prototype.getFailure=function(){return Z(this,Y3,8)};Had.repeatedFields_=[5];Had.prototype.toObject=function(){return Iad(this)};var Iad=function(a){if(null!=a)return t(a),{gamerTag:p(m(a,1)),avatarImageUrl:p(m(a,2)),totalUnlockedAchievements:p(m(a,3)),playerLevel:p(Ms(a,4)),achievementsList:Gb(Ch(a,Fad,5),Gad),profileVisibility:p(ir(a,6)),totalFriendsCount:p(m(a,7)),failure:wad(a.getFailure())}};var Jad=function(a){r.call(this,a)};U(Jad,r);Jad.prototype.toObject=function(){return Kad(this)};var Kad=function(a){if(null!=a)return t(a),{isIncomplete:p($q(a,1))}};var Lad=function(a){r.call(this,a)};U(Lad,r);f=Lad.prototype;f.getDescription=function(){return m(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return tk(this,3)};f.getTitle=function(){return m(this,9)};f.setTitle=function(a){return n(this,9,a)};f.toObject=function(){return Mad(this)};
var Mad=function(a){if(null!=a)return t(a),{channelId:p(m(a,1)),subscriberCount:p(m(a,2)),description:p(m(a,3)),videoCount:p(m(a,4)),playlistCount:p(m(a,5)),commentCount:p(m(a,6)),profileUrl:p(m(a,7)),usesYoutubeNames:p($q(a,8)),title:p(m(a,9)),profilePictureUrl:p(m(a,10))}};var Nad=function(a){r.call(this,a)};U(Nad,r);Nad.prototype.getFailure=function(){return Z(this,Y3,5)};Nad.repeatedFields_=[4];Nad.prototype.toObject=function(){return Oad(this)};var Oad=function(a){if(null!=a)return t(a),{channelDataList:Gb(Ch(a,Lad,4),Mad),failure:wad(a.getFailure())}};var Z3=function(a){r.call(this,a)};U(Z3,r);f=Z3.prototype;f.getDynamiteExtendedData=function(){return Z(this,t3,5)};f.getIsPlaceholder=function(){return $q(this,6)};f.setIsPlaceholder=function(a){Ij(this,6,a)};f.getPaisaExtendedData=function(){return Z(this,Z7c,11)};f.getPeopleStackExtendedData=function(){return Z(this,E3,16)};f.getPeopleStackPersonExtendedData=function(){return Z(this,y2,18)};Z3.repeatedFields_=[1];Z3.prototype.toObject=function(){return Pad(this)};
var Pad=function(a){if(null!=a)return t(a),{domainNameList:p(Gh(a,1)),hangoutsExtendedData:Cad(Z(a,Bad,2)),aboutMeExtendedData:rad(Z(a,qad,3)),tlsIsPlaceholder:p($q(a,4)),dynamiteExtendedData:Y7c(a.getDynamiteExtendedData()),isPlaceholder:p($q(a,6)),contactsExtendedData:Kad(Z(a,Jad,7)),gplusExtendedData:Aad(Z(a,zad,8)),callerIdExtendedData:vad(Z(a,uad,9)),appsWaldoExtendedData:v$c(Z(a,u$c,10)),paisaExtendedData:$7c(a.getPaisaExtendedData()),playGamesExtendedData:Iad(Z(a,Had,12)),mapsExtendedData:Ead(Z(a,
Dad,13)),youtubeExtendedData:Oad(Z(a,Nad,15)),peopleStackExtendedData:H8c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:Q3c(a.getPeopleStackPersonExtendedData()),gpayExtendedData:yad(Z(a,xad,17))}};var Qad=function(a){r.call(this,a)};U(Qad,r);Qad.prototype.getContainerType=function(){return ir(this,2)};Qad.prototype.toObject=function(){return Rad(this)};var Rad=function(a){if(null!=a)return t(a),{containerId:p(m(a,1)),containerType:p(ir(a,2)),materialized:p($q(a,3))}};var Sad=function(a){r.call(this,a)};U(Sad,r);Sad.prototype.getDisplayName=function(){return m(this,3)};Sad.prototype.setDisplayName=function(a){return n(this,3,a)};Sad.prototype.toObject=function(){return Tad(this)};var Tad=function(a){if(null!=a)return t(a),{circleId:p(m(a,1)),circleSet:p(ir(a,2)),displayName:p(m(a,3))}};var Uad=function(a){r.call(this,a)};U(Uad,r);Uad.prototype.getDisplayName=function(){return m(this,2)};Uad.prototype.setDisplayName=function(a){return n(this,2,a)};Uad.prototype.toObject=function(){return Vad(this)};var Vad=function(a){if(null!=a)return t(a),{contactGroupId:p(m(a,1)),displayName:p(m(a,2))}};var Wad=function(a){r.call(this,a)};U(Wad,r);Wad.prototype.getCircle=function(){return Z(this,Sad,1)};Wad.prototype.toObject=function(){return Xad(this)};var Xad=function(a){if(null!=a)return t(a),{circle:Tad(a.getCircle()),contactGroup:Vad(Z(a,Uad,2))}};var a4=function(a){r.call(this,a)};U(a4,r);a4.prototype.getDisplayName=function(){return m(this,2)};a4.prototype.setDisplayName=function(a){return n(this,2,a)};a4.prototype.getPhotoUrl=function(){return m(this,3)};a4.prototype.toObject=function(){return Yad(this)};var Yad=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),displayName:p(m(a,2)),photoUrl:p(m(a,3))}};var Zad=function(a){r.call(this,a)};U(Zad,r);Zad.prototype.getPerson=function(){return Z(this,a4,2)};Zad.prototype.getMembership=function(){return Z(this,Wad,4)};Zad.prototype.toObject=function(){return $ad(this)};var $ad=function(a){if(null!=a)return t(a),{allUsers:p($q(a,1)),person:Yad(a.getPerson()),domainUsers:p($q(a,3)),membership:Xad(a.getMembership())}};var abd=function(a){r.call(this,a)};U(abd,r);abd.prototype.getScope=function(){return Z(this,Zad,2)};abd.prototype.toObject=function(){return bbd(this)};var bbd=function(a){if(null!=a)return t(a),{role:p(ir(a,1)),scope:$ad(a.getScope())}};var cbd=function(a){r.call(this,a)};U(cbd,r);cbd.repeatedFields_=[1,2,3];cbd.prototype.toObject=function(){return dbd(this)};var dbd=function(a){if(null!=a)return t(a),{aclEntryList:Gb(Ch(a,abd,1),bbd),predefinedAclEntryList:p(Qk(a,2)),authorizedViewersList:p(Qk(a,3))}};var b4=function(a){r.call(this,a)};U(b4,r);b4.prototype.getContainerType=function(){return ir(this,15)};b4.prototype.getPrimary=function(){return $q(this,3)};b4.prototype.getVisibility=function(){return W(this,6,1)};b4.prototype.getAffinityList=function(){return Ch(this,O9c,10)};b4.repeatedFields_=[13,10];b4.prototype.toObject=function(){return c4(this)};
var c4=function(a){if(null!=a)return t(a),{writeable:Gj(a,1,!1),containerType:p(ir(a,15)),containerId:p(m(a,8)),encodedContainerId:p(m(a,9)),primary:p($q(a,3)),edgeKeyInfoList:Gb(Ch(a,Qad,13),Rad),visibility:W(a,6,1),verified:Gj(a,7,!1),affinityList:Gb(a.getAffinityList(),P9c),fieldAcl:dbd(Z(a,cbd,11)),containerPrimary:p($q(a,12))}};var ebd=function(a){r.call(this,a)};U(ebd,r);ebd.prototype.getMetadata=function(){return Z(this,b4,6)};ebd.prototype.setMetadata=function(a){Wi(this,b4,6,a)};ebd.prototype.toObject=function(){return fbd(this)};var fbd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),imageUrl:p(m(a,1)),imageId:p(m(a,2)),imageHeight:p(Ms(a,3)),imageWidth:p(Ms(a,4)),isDefault:p($q(a,5)),isAnimated:p($q(a,7))}};var gbd=function(a){r.call(this,a)};U(gbd,r);f=gbd.prototype;f.getSmtpServerSupportsTls=function(){$q(this,1)};f.getInternalExternal=function(){return Z(this,y3,3)};f.hasInternalExternal=function(){return Aj(this,y3,3)};f.getIsPlaceholder=function(){return $q(this,4)};f.setIsPlaceholder=function(a){Ij(this,4,a)};f.toObject=function(){return hbd(this)};
var hbd=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:p($q(a,1)),usesConfusingCharacters:p($q(a,2)),internalExternal:x8c(a.getInternalExternal()),isPlaceholder:p($q(a,4))}};var d4=function(a){r.call(this,a)};U(d4,r);d4.prototype.setStatusCode=function(a){n(this,2,a)};d4.prototype.toObject=function(){return ibd(this)};var ibd=function(a){if(null!=a)return t(a),{notAfterSec:p(m(a,1)),statusCode:p(ir(a,2))}};var jbd=function(a){r.call(this,a)};U(jbd,r);f=jbd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Wi(this,b4,1,a)};f.getStatus=function(){return Z(this,d4,2)};f.setStatus=function(a){return Wi(this,d4,2,a)};f.hasStatus=function(){return Aj(this,d4,2)};f.toObject=function(){return kbd(this)};var kbd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),status:ibd(a.getStatus()),configurationName:p(m(a,3))}};var e4=function(a){r.call(this,a)};U(e4,r);e4.prototype.getType=function(){return ir(this,1)};e4.prototype.setType=function(a){return n(this,1,a)};e4.prototype.hasType=function(){return cj(this,1)};e4.prototype.toObject=function(){return lbd(this)};var lbd=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),contactGroupId:p(m(a,2))}};var mbd=function(a){r.call(this,a)};U(mbd,r);mbd.prototype.getPrimary=function(){return $q(this,1)};mbd.prototype.toObject=function(){return nbd(this)};var nbd=function(a){if(null!=a)return t(a),{primary:p($q(a,1))}};var f4=function(a){r.call(this,a)};U(f4,r);f=f4.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Wi(this,b4,1,a)};f.getValue=function(){return m(this,2)};f.getValue_legacyNullable=function(){return m(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return tk(this,2)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return tk(this,3)};f.getDisplayName=function(){return m(this,6)};
f.setDisplayName=function(a){return n(this,6,a)};f.getExtendedData=function(){return Z(this,gbd,8)};f.setExtendedData=function(a){Wi(this,gbd,8,a)};f.hasExtendedData=function(){return Aj(this,gbd,8)};f4.repeatedFields_=[5,7];f4.prototype.toObject=function(){return obd(this)};
var obd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),value:p(m(a,2)),type:p(m(a,3)),formattedType:p(m(a,4)),displayName:p(m(a,6)),contactGroupPreferenceList:Gb(Ch(a,e4,5),lbd),certificateList:Gb(Ch(a,jbd,7),kbd),extendedData:hbd(a.getExtendedData()),classification:p(ir(a,9)),signupEmailMetadata:nbd(Z(a,mbd,10))}};var pbd=function(a){r.call(this,a)};U(pbd,r);f=pbd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Wi(this,b4,1,a)};f.getType=function(){return m(this,2)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return tk(this,2)};f.toObject=function(){return qbd(this)};var qbd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),type:p(m(a,2)),formattedType:p(m(a,3)),customType:p(m(a,4)),addressMeAs:p(m(a,5))}};var rbd=function(a){r.call(this,a)};U(rbd,r);rbd.prototype.toObject=function(){return sbd(this)};var sbd=function(a){if(null!=a)return t(a),{byteValue:Jb(no(a,1)),app:p(ir(a,2))}};var tbd=function(a){r.call(this,a)};U(tbd,r);f=tbd.prototype;f.getFieldType=function(){return ir(this,1)};f.getFieldType_legacyNullable=function(){return ir(this,1)};f.setFieldType=function(a){n(this,1,a)};f.getFieldTypeOrUndefined=function(){return ur(this,1)};f.getValue=function(){return m(this,3)};f.getValue_legacyNullable=function(){return m(this,3)};f.setValue=function(a){return n(this,3,a)};f.hasValue=function(){return tk(this,3)};f.toObject=function(){return ubd(this)};
var ubd=function(a){if(null!=a)return t(a),{fieldType:p(ir(a,1)),fieldIndex:p(Ms(a,2)),value:p(m(a,3))}};var vbd=function(a){r.call(this,a)};U(vbd,r);f=vbd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Wi(this,b4,1,a)};f.getType=function(){return ir(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return cj(this,3)};f.getValue=function(){return m(this,4)};f.getValue_legacyNullable=function(){return m(this,4)};f.setValue=function(a){return n(this,4,a)};f.hasValue=function(){return tk(this,4)};
f.setOriginatingField=function(a){return Ds(this,5,tbd,a)};vbd.repeatedFields_=[2,5,6];vbd.prototype.toObject=function(){return wbd(this)};var wbd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),appList:p(Qk(a,2)),type:p(ir(a,3)),value:p(m(a,4)),originatingFieldList:Gb(Ch(a,tbd,5),ubd),clientDataList:Gb(Ch(a,rbd,6),sbd)}};var xbd=function(a){r.call(this,a)};U(xbd,r);f=xbd.prototype;f.getSource=function(){return W(this,1,0)};f.setSource=function(a){return n(this,1,a)};f.hasSource=function(){return cj(this,1)};f.getSourceOrUndefined=function(){return ur(this,1)};f.toObject=function(){return ybd(this)};var ybd=function(a){if(null!=a)return t(a),{source:p(ir(a,1))}};var zbd=function(a){r.call(this,a)};U(zbd,r);f=zbd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Wi(this,b4,1,a)};f.getDisplayName=function(){return m(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.getGivenName=function(){return m(this,4)};f.setGivenName=function(a){return n(this,4,a)};f.hasGivenName=function(){return tk(this,4)};f.getFamilyName=function(){return m(this,5)};f.setFamilyName=function(a){return n(this,5,a)};
f.hasFamilyName=function(){return tk(this,5)};f.toObject=function(){return Abd(this)};
var Abd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),displayName:p(m(a,2)),displayNameSource:ybd(Z(a,xbd,20)),displayNameLastFirst:p(m(a,13)),unstructuredName:p(m(a,16)),givenName:p(m(a,4)),familyName:p(m(a,5)),middleName:p(m(a,6)),honorificPrefix:p(m(a,7)),honorificSuffix:p(m(a,8)),yomiFullName:p(m(a,14)),yomiGivenName:p(m(a,9)),yomiFamilyName:p(m(a,10)),yomiMiddleName:p(m(a,15)),yomiHonorificPrefix:p(m(a,11)),yomiHonorificSuffix:p(m(a,12)),formattedName:p(m(a,3))}};var g4=function(a){r.call(this,a)};U(g4,r);g4.prototype.getDisplayName=function(){return m(this,1)};g4.prototype.setDisplayName=function(a){return n(this,1,a)};g4.prototype.getContainerType=function(){return ir(this,3)};g4.prototype.toObject=function(){return Bbd(this)};var Bbd=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),displayNameLastFirst:p(m(a,2)),containerType:p(ir(a,3))}};var Cbd=function(a){r.call(this,a)};U(Cbd,r);f=Cbd.prototype;f.getContainerType=function(){return ir(this,6)};f.getId=function(){return m(this,2)};f.setId=function(a){return n(this,2,a)};f.getDeleted=function(){return $q(this,3)};f.setDeleted=function(a){Ij(this,3,a)};f.toObject=function(){return Dbd(this)};var Dbd=function(a){if(null!=a)return t(a),{containerType:p(ir(a,6)),id:p(m(a,2)),deleted:p($q(a,3)),sourceEtag:p(m(a,5))}};var Ebd=function(a){r.call(this,a)};U(Ebd,r);Ebd.prototype.getSourceIdsList=function(){return Ch(this,Cbd,3)};Ebd.repeatedFields_=[1,2,3];Ebd.prototype.toObject=function(){return Fbd(this)};var Fbd=function(a){if(null!=a)return t(a),{previousPersonIdList:p(Gh(a,1)),originalLookupTokenList:p(Gh(a,2)),sourceIdsList:Gb(a.getSourceIdsList(),Dbd)}};var h4=function(a){r.call(this,a)};U(h4,r);f=h4.prototype;f.getDeleted=function(){return $q(this,1)};f.setDeleted=function(a){Ij(this,1,a)};f.getContactId=function(){return Rs(this,6)};f.setContactId=function(a){Us(this,6,a)};f.getAffinityList=function(){return Ch(this,O9c,17)};h4.repeatedFields_=[6,17,8,13];h4.prototype.toObject=function(){return Gbd(this)};
var Gbd=function(a){if(null!=a)return t(a),{deleted:p($q(a,1)),contactIdList:p(Fh(a,6)),affinityList:Gb(a.getAffinityList(),P9c),bestDisplayName:Bbd(Z(a,g4,24)),identityInfo:Fbd(Z(a,Ebd,22)),circleIdList:p(Gh(a,8)),ownerId:p(m(a,4)),ownerUserTypeList:p(Qk(a,13)),objectType:W(a,5,0),inViewerDomain:p($q(a,12))}};var Hbd=function(a){r.call(this,a)};U(Hbd,r);f=Hbd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Wi(this,b4,1,a)};f.getValue=function(){return m(this,2)};f.getValue_legacyNullable=function(){return m(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return tk(this,2)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return tk(this,3)};f.setUri=function(a){return n(this,7,a)};
f.toObject=function(){return Ibd(this)};var Ibd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),value:p(m(a,2)),type:p(m(a,3)),formattedType:p(m(a,5)),canonicalizedForm:p(m(a,4)),uri:p(m(a,7))}};var Jbd=function(a){r.call(this,a)};U(Jbd,r);f=Jbd.prototype;f.getMetadata=function(){return Z(this,b4,1)};f.setMetadata=function(a){Wi(this,b4,1,a)};f.getUrl=function(){return m(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return tk(this,2)};f.toObject=function(){return Kbd(this)};var Kbd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),url:p(m(a,2)),isDefault:p($q(a,3)),isMonogram:p($q(a,7)),monogramBackground:p(m(a,8))}};var i4=function(a){r.call(this,a)};U(i4,r);i4.prototype.getMetadata=function(){return Z(this,b4,1)};i4.prototype.setMetadata=function(a){Wi(this,b4,1,a)};i4.repeatedFields_=[22];i4.prototype.toObject=function(){return Lbd(this)};var Lbd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),unjoinedEmailCertificatesList:Gb(Ch(a,f4,22),obd)}};var Mbd=function(a){r.call(this,a)};U(Mbd,r);Mbd.prototype.toObject=function(){return Nbd(this)};var Nbd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),memberType:p(ir(a,2))}};var Obd=function(a){r.call(this,a)};U(Obd,r);Obd.prototype.toObject=function(){return Pbd(this)};var Pbd=function(a){if(null!=a)return t(a),{directUserCount:p(m(a,1)),directGroupCount:p(m(a,2))}};var j4=function(a){r.call(this,a)};U(j4,r);j4.prototype.getMetadata=function(){return Z(this,b4,1)};j4.prototype.setMetadata=function(a){Wi(this,b4,1,a)};j4.repeatedFields_=[3];j4.prototype.toObject=function(){return Qbd(this)};var Qbd=function(a){if(null!=a)return t(a),{metadata:c4(a.getMetadata()),rosterMemberCount:Pbd(Z(a,Obd,2)),abridgedRosterMembershipsList:Gb(Ch(a,Mbd,3),Nbd)}};var Rbd=function(a){r.call(this,a)};U(Rbd,r);f=Rbd.prototype;f.getName=function(){return m(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return tk(this,1)};f.getNameOrUndefined=function(){return bt(this,1)};f.toObject=function(){return Sbd(this)};var Sbd=function(a){if(null!=a)return t(a),{name:p(m(a,1)),interactionRank:p(m(a,2)),lastName:p(m(a,4)),nameRaw:p(m(a,5)),lastNameRaw:p(m(a,6))}};var Tbd=function(a){r.call(this,a)};U(Tbd,r);f=Tbd.prototype;f.getMetadata=function(){return Z(this,h4,2)};f.setMetadata=function(a){Wi(this,h4,2,a)};f.setName=function(a){return Ds(this,3,zbd,a)};f.setPhoto=function(a){Ds(this,4,Jbd,a)};f.getEmailList=function(){return Ch(this,f4,10)};f.addEmail=function(a){return go(this,10,f4,a)};f.setEmail=function(a){return Ds(this,10,f4,a)};f.setPhone=function(a){return Ds(this,12,Hbd,a)};f.getExtendedData=function(){return Z(this,Z3,38)};
f.setExtendedData=function(a){Wi(this,Z3,38,a)};f.hasExtendedData=function(){return Aj(this,Z3,38)};Tbd.repeatedFields_=[48,3,4,10,12,9,46,133,31];Tbd.prototype.toObject=function(){return Ubd(this)};
var Ubd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),metadata:Gbd(a.getMetadata()),readOnlyProfileInfoList:Gb(Ch(a,i4,48),Lbd),fingerprint:p(m(a,26)),nameList:Gb(Ch(a,zbd,3),Abd),photoList:Gb(Ch(a,Jbd,4),Kbd),emailList:Gb(a.getEmailList(),obd),phoneList:Gb(Ch(a,Hbd,12),Ibd),genderList:Gb(Ch(a,pbd,9),qbd),inAppNotificationTargetList:Gb(Ch(a,vbd,46),wbd),rosterDetailsList:Gb(Ch(a,j4,133),Qbd),sortKeys:Sbd(Z(a,Rbd,25)),extendedData:Pad(a.getExtendedData()),coverPhotoList:Gb(Ch(a,ebd,31),fbd)}};pt[173194452]=Eb(173194452,{messageSetExtension:0},Tbd,Ubd);var Vbd=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var mhb=function(a){this.delegate_=a};U(mhb,f2);var Wbd=function(a){this.keys_=new Set(a)};Wbd.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};Wbd.prototype.isDone=function(){return!this.keys_.size};var Xbd=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new Wbd(a)};Xbd.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};Xbd.prototype.isDone=function(){return this.delegate_.isDone()};var Ybd=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var Zbd=new yr,$bd=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=k3(Eh(c,31,5),1E3*ej(c,32,3600))};f=$bd.prototype;f.getCacheType=function(){return 2};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return de(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(Zbd);d=c.ids.map(function(l){if(txc.includes(wxc(l).getType()))return l;var q=k4(b.itemResolver_,l);return q?String(q.id):l});e=new Xbd(d);return h.yield(acd(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}g=h.yieldResult;b.indexes_.set(c.cacheKey,g);return h.return(Zbd)})};
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)||j3).search(a.getTerms()).getMatches(a.getCollector()).map(nhb)};f.index=function(){};var bcd=new s7c(60,61,34);var ccd=function(){};ccd.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Gj(a,30,!1)&&(b=new $bd(b,d,a),c=new m3(b,c,bcd),e.unshift(c))};var dcd=function(){return Date.now()},ecd=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};f=ecd.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 phb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),ohb=new Map([[1,7],[2,5]]);var fcd=function(a,b){this.delegate_=a;this.extendedData_=b};U(fcd,f2);fcd.prototype.getExtendedData=function(){return this.extendedData_};var gcd=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=xq(this.group_.getId())?this.members_.length:c;this.resultType_=P0c.get(this.group_.getTargetType())||0};f=gcd.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("se");};f.getDisplayName=function(){return""};
f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};f.getMatchInfo=function(){return O0c};f.getExtendedData=function(){return null};var hcd=function(a){this.delegate_=a};f=hcd.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 rhb=function(a,b){this.delegate_=a;this.loggingToken_=b};U(rhb,hcd);rhb.prototype.getLoggingToken=function(){return this.loggingToken_};var icd=function(a){this.itemResolver_=a};icd.prototype.create=function(a,b){var c=this,d=wxc(a);a=k4(this.itemResolver_,a);if(!a)return null;if(wq(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 k4(c.itemResolver_,h)}).filter(Boolean):[a];return jcd(g,d,b)};
var jcd=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,x=q.getId().equals(b);if(!e||x)e=q.getResultType();q=shb(q,l.provenance,c);x?(h=void 0,g=null!=(h=l.totalMemberCount)?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=edb(e,d,g);return h?new fcd(b,h):b};
icd.prototype.createGroup=function(a,b,c){c=shb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new Mp(new gcd(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new fcd(b,a):b};var thb=[1,2,3,4,5,6,9,7,8],kcd=function(a,b){this.targetFactory_=a;this.resultFactory_=new icd(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?dcd:d;this.expiry_=new ecd(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=k3(Eh(b,6,500),1E3*Eh(b,7,43200));this.idTypes_=new Set(Qk(b,25))};kcd.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var k4=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};f=kcd.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||!txc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,g=String(b.id),h=(b.containerIds||[]).map(String),l=lcd(this,a,g);mcd(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,mcd(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(vxc),mcd(this,a,h,b,c)&&(l(h,b),e=!0));d&&g!==d&&mcd(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var mcd=function(a,b,c,d,e){var g=k4(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)?vhb(d)&&!vhb(g)||ncd(a,g)<ncd(a,d)||uhb(d)<uhb(g)||18===d.id.getType()&&18===g.id.getType()?!0:!1:String(d.id)===c},ncd=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},lcd=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 ocd=function(a){this.qos=a};ocd.prototype.getIndex=function(){return String(this.qos)};var pcd=new ocd(1),qcd=new ocd(2);var rcd=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},tcd=function(a){if(a.isCompleted_)return Promise.resolve(c3(new yr,!1).setProvenance(5).setCode(0));a.pendingRequest_||(a.pendingRequest_=(new Promise(function(b,c){scd(a,a.requestId_,function(d){a.isCompleted_=!0;b(d)},function(d){c(d)})})).finally(function(){a.pendingRequest_=null}));return a.pendingRequest_};
rcd.prototype.flush=function(){this.requestId_++;this.contacts_=[];this.totalItems_=0;this.nextPageToken_="";this.pendingRequest_=null;this.isCompleted_=!1};
var scd=function(a,b,c,d){a.loader_.loadContactItems(a.nextPageToken_,qcd).then(function(e){if(b!==a.requestId_)d(c3(new yr,!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_?scd(a,b,c,d):(a.totalItems_=a.contacts_.length,c(c3(new yr,!0).setProvenance(5).setCode(0)))}},function(e){e=isFinite(e)?e:13;d(c3(new yr,!0).setProvenance(5).setCode(e))})};
rcd.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(),c3(new yr,!1).setProvenance(5).setCode(0)):tcd(this).then(function(q){d(l(),q)},function(q){q instanceof yr||(q=(new yr).setCode(13));d({results:[],begin:a,end:b,totalItems:0},q)})};var yhb=function(a,b){this.delegate_=a;this.displayValue_=b};U(yhb,hcd);yhb.prototype.getDisplayValue=function(){return this.displayValue_};var whb=function(a,b){this.delegate_=a;this.targets_=b};U(whb,f2);whb.prototype.getTargetList=function(){return this.targets_};var ucd=function(a,b,c,d){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(e){return[String(e),e]}))};f=ucd.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 k7c=function(a){return Array.from(a.remainingIds.values())};ucd.prototype.hasError=function(){return this.hasErrorCode};
ucd.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Ahb(c.getCode())){a=zhb(a,this.options);for(var d=k(a.keys()),e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));d=k(b);for(e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));Ahb(c.getCode())&&(this.hasErrorCode=!0);e=(new U6c).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=b;b=
new V6c(a,e);this.callbackNumber++;this.listener(b,c)}};var vcd=function(a,b){this.stages=a;this.indexer=b};vcd.prototype.flush=function(){this.indexer.flush()};
vcd.prototype.lookup=function(a,b,c,d){var e=this,g,h,l,q,x,A;return de(function(B){switch(B.nextAddress){case 1:null==(g=d.getFilter())||g.reset(""),h=new ucd(a,b,c,d),l=new Set,1!==h.queryScope()&&2!==h.queryScope()||l.add(2),3===h.queryScope()&&l.add(1),q=k(e.stages),x=q.next();case 2:if(x.done){B.jumpTo(4);break}A=x.value;if(h.isDone()||h.isCancelled()){B.jumpTo(4);break}if(l.has(A.getStageType())){B.jumpTo(3);break}return B.yield(A.lookup(h),3);case 3:x=q.next();B.jumpTo(2);break;case 4:if(!h.isDone()){if(0===
h.queryScope()&&!h.hasError()){var K=e.indexer,O=k7c(h);O=k(O);for(var P=O.next();!P.done;P=O.next())P=String(P.value),K.notFoundIds.set(P,P)}h.notify(new Map,k7c(h),c3((new yr).setProvenance(10),!1).setCode(0))}e.indexer.compact();return B.return()}})};var wcd=function(a,b){this.delegate_=a;this.name_=b};U(wcd,hcd);wcd.prototype.getName=function(){return this.name_};var xcd=function(){};xcd.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 Mp(new whb(a,c))};xcd.prototype.reset=function(){};var Bhb=function(a){this.types_=a};U(Bhb,xcd);Bhb.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};Bhb.prototype.reset=function(){};var Dhb=function(a){this.sourceIds_=a.filter(function(b){return wgb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return txc.includes(b.getType())}).map(String)};U(Dhb,xcd);Dhb.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 Fhb=function(a){this.filters_=a};Fhb.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};Fhb.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var ycd=Ghb();var zcd=function(){};zcd.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=Qq(Sq(b)).setValue(b).setDataSource(3);b=edb(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};zcd.prototype.createFromLookupId=function(a){if(1!==a.getType()||!mxc(a.getValue()))return null;a=Qq(a).setValue(a.getOriginalValue()).setDataSource(3);return edb(a.getResultType(),[a],null)};var Acd=function(){};Acd.prototype.createFromQuery=function(){return null};Acd.prototype.createFromLookupId=function(){return null};var Bcd=new Acd;var Ccd=function(a,b){this.storage=a;a=b.getClient();this.placeholderFactory=Gj(a,21,!1)?new zcd:Bcd;this.notFoundIds=k3(Eh(a,10,500),1E3*ej(a,11,600))};f=Ccd.prototype;f.compact=function(){this.notFoundIds.compact()};f.flush=function(){this.notFoundIds.clear()};f.store=function(a,b,c,d){if(!Gj(c,5))for(Ij(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(Pq(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,d,e){b=this.storage.load(String(a),b);e&&b&&(b=Ehb(a).filterResult(b));d&&!b&&(b=this.placeholderFactory.createFromLookupId(a));return b?c?c.filterResult(b):b:null};var Dcd={ids:[],cacheKey:"",primingTimeoutMillis:0};var Ecd=function(){};Ecd.prototype.loadOrSkip=function(){return null};Ecd.prototype.resultCount=function(){return 0};Ecd.prototype.isDone=function(){return!0};var Fcd=new Ecd;var Gcd=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=Fcd;this.boostKey_=Dcd;this.listener_=function(){}};f=Gcd.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 Hcd=new Gcd;var Icd=function(){this.fetchDone_=Promise.resolve((new yr).setCode(0))};f=Icd.prototype;f.getCacheType=function(){return 0};f.flush=function(){};f.fetch=function(){return this.fetchDone_};f.index=function(){};f.search=function(){return[]};var Jcd=new Icd;var Kcd=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||Jcd;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
Kcd.prototype.prefetch=function(a){var b=this,c,d,e,g,h;return de(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)})};
Kcd.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new yr).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,Pc(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var Lcd=function(a){var b=[a.primary_].concat(Pc(a.prefetched_.filter(function(d){return d!==a.primary_})),Pc(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},Mcd=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,Pc(d.search(b)))}return c},Ocd=function(a,b,c){var d,e,g,h;return de(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(Ncd(h,b,c,d===h),3)}g=e.next();return l.jumpTo(2)})},Ncd=function(a,b,c,d){var e,g;return de(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=c3((new yr).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);ie(h)})};var Pcd=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=Pcd.prototype;f.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};f.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
f.warmUpCache=function(){l4(this,Hcd);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(f3(e3((new d3).setSource(c3(new yr,!1).setProvenance(1).setCode(0)),m4(this)),m4(this)))};f.flushCache=function(a){switch(a){case 2:return Qcd(this),Promise.resolve(new d3);case 1:return this.storage_.markAsStale(),Promise.resolve(new d3);default:return this.warmUpCache()}};
f.warmUpSession=function(a){var b=this,c,d,e,g,h;return de(function(l){switch(l.nextAddress){case 1:c=e3(new d3,m4(b));l4(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return l.yield(b.cacheWarming_,2);case 2:return ee(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 yr).setProvenance(2).setCode(0),l.return(f3(c.setSource(e),m4(b)));case 5:fe(l);b.sessionWarming_=
null;ge(l,0);break;case 4:return g=he(l),h=g instanceof yr?g:(new yr).setProvenance(2).setCode(13),l.return(Promise.reject(f3(c.setSource(h),m4(b))))}})};
f.search=function(a){var b=this,c,d,e,g,h;return de(function(l){switch(l.nextAddress){case 1:Rcd(b);ee(l,2);d=m4(b);l4(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=f3(e3((new d3).setSource(c3(new yr,!1).setProvenance(1).setCode(0)),d),m4(b)),
l4(b,a)),l.yield(Scd(b,a,c),10);case 10:ks(l,0);break;case 2:g=he(l);if(a.isCancelled())return l.return();g instanceof d3?c=g:(h=g instanceof yr?g:(new yr).setCode(13),f3(c.setSource(h),m4(b)));a.getListener()(new h3([],(new g3).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));ie(l)}})};
var Scd=function(a,b,c){var d,e,g,h;return de(function(l){if(1==l.nextAddress){if(b.isCancelled())return l.return();d=Mcd(a.prefixSearch_,b);e=(new g3).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new h3(d,e));if(e.getIsLastCallback())return l.return();g=!1;return l.yield(Ocd(a.prefixSearch_,b,function(q,x,A){x=(new g3).setIsLastCallback(A).setQuery(b.getPrefix()).setCode(x.getCode()).setCacheState(f3(e3((new d3).setSource(x),
ur(c,2)),m4(a)));b.getListener()(new h3(q,x));x.getIsLastCallback()&&(g=!0)}),2)}g||b.isCancelled()||(h=(new g3).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(f3(e3((new d3).setSource((new yr).setProvenance(10).setCode(0)),ur(c,2)),m4(a))),b.getListener()(new h3([],h)));ie(l)})};
Pcd.prototype.lookup=function(a,b,c){var d=this;Rcd(this);l4(this,Hcd);var e=e3(new d3,m4(this));this.lookupCache_.lookup(a,W(this.clientInfo_,17,1),function(g,h){e.setSource(h);f3(e,m4(d));g.getMetadata().setCacheState(e);b(g)},c)};
Pcd.prototype.list=function(a,b,c,d){var e=this;l4(this,Hcd);var g=e3(new d3,m4(this));this.listCache_.list(a,b,W(this.clientInfo_,18,1),function(h,l){var q=h.results;var x=new R6c;x=n(x,1,h.begin);c(new S6c(q,x.setEnd(h.end).setTotalItems(h.totalItems).setCode(l.getCode()).setCacheState(f3(g.setSource(l),m4(e)))))},d)};
var l4=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&Qcd(a),!a.cacheWarming_)){var c=m4(a);a.cacheWarming_=new Promise(function(d,e){var g,h,l,q;return de(function(x){switch(x.nextAddress){case 1:return g=e3(new d3,c),ee(x,2,3),x.yield(a.prefixSearch_.prefetch(b),5);case 5:h=x.yieldResult,f3(g,m4(a)).setSource(h),d(g);case 3:fe(x);a.cacheWarming_=null;ge(x,0);break;case 2:l=he(x),q=l instanceof yr?l:(new yr).setCode(13),
f3(g,m4(a)).setSource(q),e(g),x.jumpTo(3)}})})}},m4=function(a){return a.storage_.getExpiry().getStatus()},Qcd=function(a){Lcd(a.prefixSearch_);a.lookupCache_.flush();a.listCache_.flush();a.storage_.flush()},Rcd=function(a){var b=1===m4(a)?1:2;a.trackers_.count(b).increment()};var Tcd=function(a){this.itemResolver_=a},Ucd=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(Y6c).filter(Boolean),q=l.length-1;if(0<q){var x=l.join("-"),A=l.join(".");l.push(x);for(l.push(A);0<q;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(jgb,""));"+"===e[0]&&l.push("+"+l[0]);h.call(g,c,Pc(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=k4(a.itemResolver_,d.value))&&Ucd(a,d,c);return c};var Vcd=new T6c,Wcd=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new Tcd(a);this.trieRoots_=new Map},acd=function(a,b,c,d){var e=(a.trieRoots_.get(c)||j3).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=Ybd(b).map(wxc);a.lookupCache_.lookup(q,c,function(x){var A=Array.from(x.getResults().keys(),String);A=Xcd(a,A);Array.prototype.push.apply(e.items_,
A);$6c(e);x.getMetadata().getIsLastCallback()&&(g.stop(),l(e))},Vcd)});return Ihb(h,e,d)},i7c=function(a,b){a=Xcd(a,b);return new i3(a)},Xcd=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=k4(a.itemResolver_,d);e&&(e=Ucd(a.indexer_,e),c.push(new Z6c(d,e)))}return c};var Ycd=function(){this.queryId_=0};Ycd.prototype.getQueryId=function(){return this.queryId_};var Zcd=function(a){this.delegate=a};f=Zcd.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 de(function(c){return c.return(b.delegate.warmUpSession(a))})};f.search=function(a){var b=this;return de(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 $cd=function(){this.delegate=ycd};$cd.prototype.filterResult=function(a){return this.delegate.filterResult(a)};$cd.prototype.reset=function(a){this.delegate.reset(a)};var add=function(a,b){a.delegate=null!=b?b:ycd};var bdd=function(a){this.delegate=a};f=bdd.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 cdd=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};cdd.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};cdd.prototype.resultCount=function(){return this.count_};cdd.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var ddd=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new cdd(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?Ghb.apply(null,Pc(d)):null;var g;this.scope=null!=(g=c.scope)?g:a.queryScope()};U(ddd,bdd);f=ddd.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 edd=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};U(edd,Zcd);
edd.prototype.search=function(a){var b=this,c,d,e,g,h,l;return de(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(x){return!c.has(x.visibility)}),e=d.map(function(x,A){return new ddd(a,b.originalFilter,x,A===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}add(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 fdd=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=mgb([b]);this.id_=Sq(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 Agb).setDisplayName(c),q=h.getPrimaryTarget();h=xhb(h,new wcd(q,l))}return h});e=new h3(g,e.getMetadata());a.getListener()(e)}};U(fdd,bdd);fdd.prototype.getPrefix=function(){return this.query_};fdd.prototype.getTerms=function(){return this.terms_};
fdd.prototype.getListener=function(){return this.listener_};var gdd=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new Ycd;this.clientInfo_=c};f=gdd.prototype;f.warmUpSession=function(a){a=hdd(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};f.suggest=function(a,b){a=hdd(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
f.search=function(a,b,c){a=hdd(this.queryFactory_,a,this.querySession_,c,b);Gj(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=kxc(b),c.isValid()||(c=kxc(b+">")),a=c.isValid()&&c.getName()?new fdd(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("ab");};f.getSessionState=function(){throw Error("ab");};f.getHide=function(){throw Error("ab");};var idd=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Gj(c,34,!1)?function(e){var g=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new $cd;e.setFilter(q);e=new edd(g,h,q,l)}else e=g;return e}:function(){return d.cache_}};f=idd.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 gdd(a,this.queryFactory_,this.clientInfo_)};var jdd=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_=Jhb(this,g);this.isEmailAddress_=null};f=jdd.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_=mxc(this.prefix_));return this.isEmailAddress_};f.queryScope=function(){return this.delegate_.queryScope()};f.getResultFilter=function(){return this.filter_};var kdd=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};kdd.prototype.getFormat=function(){return this.format_};kdd.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};kdd.prototype.queryScope=function(){return this.queryScope_};var n4=function(){this.foundKeys_=new Set};U(n4,xcd);n4.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};n4.prototype.has=function(a){return this.foundKeys_.has(a)};n4.prototype.add=function(a){this.foundKeys_.add(a)};n4.prototype.reset=function(){this.foundKeys_.clear()};var ldd=function(a){this.delegate_=a;this.filter_=new n4};ldd.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};ldd.prototype.resultCount=function(){return this.delegate_.resultCount()};ldd.prototype.isDone=function(){return this.delegate_.isDone()};var mdd=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};mdd.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};mdd.prototype.resultCount=function(){return this.delegate_.resultCount()};mdd.prototype.isDone=function(){return this.delegate_.isDone()};var ndd=function(a,b){this.storage_=a;this.format_=b};ndd.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};ndd.prototype.resultCount=function(){return 0};ndd.prototype.isDone=function(){return!1};var odd=[198,230,306,307,338,339],pdd=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)"+dn(b),"g")})},Khb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Oq(kgb(b)).replace(lgb,"").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++):odd.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 or=function(a,b){this.start_=a;this.end_=b};or.prototype.getStart=function(){return this.start_};or.prototype.getEnd=function(){return this.end_};var Lhb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};Lhb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};Lhb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};Lhb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var qdd=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new qdd(c,b)});this.matchInfo_=null};U(qdd,f2);qdd.prototype.getMemberList=function(){return this.memberList_};qdd.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=Mhb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var rdd=function(a,b){this.delegate_=a;this.matcher_=new pdd(b)};rdd.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new qdd(a,this.matcher_):null};rdd.prototype.resultCount=function(){return this.delegate_.resultCount()};rdd.prototype.isDone=function(){return this.delegate_.isDone()};var sdd=/\s+/g,tdd=function(a,b){this.clientInfo_=a;this.storage_=b},hdd=function(a,b,c,d,e){var g=mgb([b]);b=(b||"").replace(sdd," ").trim();var h=!g.length;var l=a.clientInfo_;l=h?d.getSuggestFormat()||l.getSuggestFormat():d.getSearchFormat()||l.getSearchFormat();h=h?Eh(a.clientInfo_,1,10):Eh(a.clientInfo_,2,10);var q=d.boostIds_;var x=d.primingTimeoutMillis_;if(q.length){q=q.map(String);var A=Pgb(q)+":"+q.length;x={ids:q,cacheKey:A,primingTimeoutMillis:x}}else x=Dcd;q=d.getFilter();a=new ndd(a.storage_,
l);q&&(a=new mdd(a,q,b));a=new ldd(a);a=new cdd(a,h);a=g.length?new rdd(a,g):a;d=d.getQueryScope();c=new kdd(l,c,d);return new jdd(c,b,g,a,x,e,q)};var udd=function(a){this.fetcher=a};udd.prototype.getStageType=function(){return 2};udd.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,x,A;return de(function(B){switch(B.nextAddress){case 1:c=Ohb(k7c(a)),d=k(c),e=d.next();case 2:if(e.done){B.jumpTo(4);break}g=e.value;h=k(g);l=h.next().value;q=h.next().value;x=l;A=q;if(!x){B.jumpTo(3);break}return B.yield(b.fetcher.fetch(A,x,a.getFormat(),function(K,O){a.notify(K,[],O)},a.getOptions()),3);case 3:e=d.next();B.jumpTo(2);break;case 4:return B.return()}})};var vdd=function(a,b){this.delegate=a;this.maxLookupChunkSize=V7c(b)};vdd.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q;return de(function(x){switch(x.nextAddress){case 1:var A=g.maxLookupChunkSize;if(a.length)if(a.length<=A)A=[a];else{for(var B=[],K=0;K<a.length;K+=A){var O=a.slice(K,K+A);O.length&&B.push(O)}A=B}else A=[];h=k(A);l=h.next();case 2:if(l.done){x.jumpTo(4);break}q=l.value;return x.yield(g.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();x.jumpTo(2);break;case 4:return x.return()}})};var wdd=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
wdd.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q,x,A,B,K,O,P,Y,X;return de(function(ka){switch(ka.nextAddress){case 1:return h=3===b?4:3,l=c3((new yr).setProvenance(h),!0).setCode(0),ee(ka,2),ka.yield(g.loader.loadLookupItems(b,a.map(function(ma){return ma.getOriginalValue()}),qcd),4);case 4:q=ka.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());x=3===e.getQueryScope();try{g.indexer.store(b,q.data,q.metadata,x)}catch(ma){g.trackers.error(21,10).report(),l.setCode(13)}ks(ka,
3);break;case 2:A=he(ka),B=Number(A),l.setCode(isFinite(B)&&B?B:13);case 3:K=new Map;O=k(a);for(P=O.next();!P.done;P=O.next())Y=P.value,(X=g.indexer.load(Y,c,e.getFilter(),!0,e.useOriginalDisplayValue_))&&K.set(Y,X);d(K,l);return ka.return()}})};var xdd=function(a){this.indexer=a};xdd.prototype.getStageType=function(){return 1};xdd.prototype.lookup=function(a){var b=this,c,d,e,g,h,l;return de(function(q){c=new Map;d=[];e=k(k7c(a));for(g=e.next();!g.done;g=e.next())if(h=g.value,l=b.indexer.load(h,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))c.set(h,l);else{var x=b.indexer;(xxc(h)?x.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,c3((new yr).setProvenance(6),!1).setCode(0));return q.return()})};var ydd=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"),zdd=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=Gj(e,21,!1)?new zcd:Bcd;this.indexes_=k3(Eh(e,8,250),1E3*ej(e,9,3600));this.notFound_=k3(Eh(e,10,500),1E3*ej(e,11,600))};f=zdd.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 de(function(g){switch(g.nextAddress){case 1:c=c3(new yr,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(pcd).catch(function(){}),g.return(c);if(b.canSkipFetch_(a))return g.return(c3(c,!1));ee(g,2);return g.yield(b.loader_.loadAutocompleteItems(a,qcd),4);case 4:d=g.yieldResult;ks(g,3);break;case 2:return e=he(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(!Gj(c,5))if(Ij(c,5,!0),b.length){c=g7c(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=i7c(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(ydd))break;if(this.notFound_.has(c))return!0}return!1};var Add=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=Add.prototype;f.getCacheType=function(){return 1};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return de(function(h){switch(h.nextAddress){case 1:return c=c3(new yr,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?qcd:pcd,ee(h,2),h.yield(b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;ks(h,3);break;case 2:return g=he(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())||j3).search(a.getTerms()).getMatches(a.getCollector()):[]};f.index=function(a,b,c){if(!Gj(c,5)){Ij(c,5,!0);a=1!==this.coalescedSortOrder_?g7c(this.ranker_,b,this.coalescedSortOrder_):null;var d=g7c(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=i7c(this.trieFactory_,d);c=a?i7c(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};var Bdd=new s7c(27,32,33),Cdd=new s7c(24,23,20);var Ddd=function(){};Ddd.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_,x=a.clientConfig.getClient();if(0<x.getCacheSize()){var A=W(x,19,1);A=new Add(e,q,g,c,A);A=new m3(A,b,Cdd);h.push(A);l.push(new xdd(d))}0<Eh(x,2,10)&&(c=new zdd(e,q,g,c,x),b=new m3(c,b,Bdd),h.push(b));h=new wdd(a.trackers,a.loader,a.indexer);h=new vdd(h,a.clientConfig);l.push(new udd(h))};var Edd=function(a){this.delegate=a};f=Edd.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 Fdd=function(a){this.delegate=a};f=Fdd.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 Gdd=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};Gdd.prototype.getId=function(){return this.id_};Gdd.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var Hdd=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};f=Hdd.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 Gdd(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 Hdd(a,b,c)};var Idd=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new F1c;this.isSent_=!1};Idd.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)}};Idd.prototype.promise=function(){return this.resolver_.promise};
Idd.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 Jdd=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=V7c(c);this.lastRequestCreationTime_=0};
Jdd.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 Idd(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Tn(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var Kdd=function(a,b){this.delegate_=a;this.inflightRequests_=c7c();this.tracker_=b};
Kdd.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 Idd(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 x=k(l.getKeys()),A=x.next();!A.done;A=x.next())b.inflightRequests_.delete(A.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(x){return x.promise()})).then(function(x){return q?q.promise().then(function(A){return Phb(x,A.metadata)}):Phb(x)})};var Ldd=function(a){this.peopleLoader_=a};Ldd.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var Mdd=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};Mdd.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new Ldd(this.peopleLoader_);b=new Jdd(b,this.tracker_,this.clientConfig_);b=new Kdd(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var Ndd=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new Mdd(this.delegate_,this.trackers_,c)},Odd=function(a,b,c,d){var e,g;return de(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);fe(h);a.searchRequests_.delete(e);
return ge(h,0)})};f=Ndd.prototype;f.loadRankedItems=function(a){var b=this;return Odd(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};f.warmUpServer=function(a){var b=this;return Odd(this,82,"",function(){return b.delegate_.warmUpServer(a)})};f.loadAutocompleteItems=function(a,b){var c=this;return Odd(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};f.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new Hdd(a,b,c))};
f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var Pdd=function(){return Date.now()},Qdd=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*ej(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*ej(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};f=Qdd.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 Rdd=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};f=Rdd.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?p4c:a;return this.delegate_.getReporter(a)};f.getHide=function(){return this.delegate_.getHide()};var Sdd=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=xq(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};U(Sdd,f2);Sdd.prototype.getMemberList=function(){return this.members_};Sdd.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var Tdd=function(a){this.filter_=a};Tdd.prototype.filterResult=function(a){var b=this;if(!xq(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 Mp(new Sdd(a,c))};Tdd.prototype.reset=function(a){this.filter_.reset(a)};var Qhb=function(a){this.filter_=Ghb(a,new Tdd(a))};Qhb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};
Qhb.prototype.reset=function(a){this.filter_.reset(a)};var Udd=function(a){this.delegate_=a};f=Udd.prototype;f.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof d3&&(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 T6c:c;c.setFilter(Rhb(c.getFilter()));this.delegate_.lookup(a,b,c);return this};
f.list=function(a,b,c,d){d=void 0===d?new Q6c:d;d.setFilter(Rhb(d.getFilter()));this.delegate_.list(a,b,c,d);return this};f.beginSession=function(a,b){b=void 0===b?new Hq:b;b=b.clone();b.setFilter(Rhb(b.getFilter()));var c=this.delegate_.beginSession(b);return new Rdd(c,a,b)};var Vdd=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]]),Wdd=new Map([[2,13],[3,6]]),Xdd=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 Shb=new Map([[1,1],[2,3],[3,5]]),Ydd=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),Zdd=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),$dd=function(a,b){this.logContext_=Vhb(a,b)};f=$dd.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b,c){var d=b.source(),e=new R3;switch(d.getEventType()){case 1:d=e.setCount;b=W(b.source(),4,0);var g=new n9c;g.setType(b);g.setValue(c);d.call(e,g);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=W(b.source(),3,0);d=new Q3;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=W(b,2,0);g=new f9c;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 R3;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var g=b.source(),h=W(g,3,0);var l=W(g,13,0)||0;l=Wdd.get(l)||Vdd.get(c)||0;var q=b.durationUsec("blocked"),x=b.durationUsec("network"),A=b.durationUsec("processed");b=new G9c;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(x);n(b,9,A);b.setStatusCode(c);Eh(g,12,0)&&(c=Eh(g,12,0),n(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();
l=W(h,2,0);g=new j9c;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=Xdd.get(c)||0;g.setStatus(c);c=h.getResultIndex();g.setResultIndex(c);if(b=h.getCacheState())c=Thb(ir(b,2)),n(g,5,c),c=Thb(ir(b,3)),n(g,6,c),c=g.setDataSource,h=b.getSource(),
b=!Gj(h,1),h=h.getProvenance(),b=(b?Zdd.get(h):Ydd.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 R3;d.setClientInterface(a);a=d.setLatency;var e=W(b.source(),5,0);if(37===e||38===e||40===e){e=W(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 O3;g.setType(e);isFinite(b)&&g.setLatencyUsec(b);e=g}else b=b.durationUsec("total"),g=new O3,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 R3;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=W(e,7,0);var g=new N3;g.setType(b);n(g,4,e);a.call(d,g);d.setEventType(c.getEventType());return d};var aed=function(a,b){this.delegate_=a;this.trackers_=b};f=aed.prototype;f.reportDisplay=function(a){this.delegate_.reportDisplay(a)};f.reportSelect=function(a,b){b=void 0===b?new q4c: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();bed(this)};
f.reportSave=function(a){this.delegate_.reportSave(a);bed(this)};f.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);bed(this)};f.reportSend=function(a){this.delegate_.reportSend(a);bed(this)};var bed=function(a){a=a.trackers_;var b=a.api,c=new dr;fr(c.setEventType(6),3);b.call(a,c).call()};var ced=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};U(ced,Edd);
ced.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,g=this.trackers_.api(chb(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(x){throw c.trackers_.error(22,11).report(),x;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
ced.prototype.search=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(bhb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),x=q.getCacheState();h.source.setCacheState(x);h.source.setItemCount(l.getResults().length);h.result(x.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(A){throw d.trackers_.error(23,11).report(),A;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};ced.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new aed(a,this.trackers_)};var ded=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new dr;fr(c.setEventType(6),1);b.call(a,c).call()};U(ded,Fdd);f=ded.prototype;
f.warmUpCache=function(){var a=this,b=this.trackers_.api(ahb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof d3?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new d3).setSource((new yr).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 dr;fr(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(Zgb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),x=q.getCacheState();h.source.setCacheState(x);h.source.setItemCount(l.getResults().size);for(var A=0,B=0,K=0,O=k(l.getResults().keys()),P=O.next();!P.done;P=O.next()){var Y=P.value;qxc.includes(Y.getType())?A++:rxc.includes(Y.getType())?B++:sxc.includes(Y.getType())&&K++}var X=0;O=Y=0;var ka=k(q.notFoundIdList_);for(P=ka.next();!P.done;P=
ka.next())P=P.value,qxc.includes(P.getType())?X++:rxc.includes(P.getType())?Y++:sxc.includes(P.getType())&&O++;P=h.source.getLookupInfo();A=n(P,2,A);B=n(A,1,B);K=n(B,3,K);K=n(K,5,X);K=n(K,4,Y);n(K,6,O);h.result(x.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(ma){throw d.trackers_.error(8,11).report(),ma;}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($gb());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 dr;fr(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new ced(a,this.trackers_)};var eed=function(a,b){this.clearcut_=a;this.logEventFactory_=b};eed.prototype.report=function(a){var b=Fxc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())Gxc(this.clearcut_,b.value)};var fed=function(a){this.clearcut_=a};fed.prototype.report=function(a){this.clearcut_.report(a);return this};var ged=function(a){this.writer_=a},ied=function(a,b,c){var d=new Twc,e=a.writer_,g=d.getMetadata()||new VQ;d.setMetadata(g);var h=sq(b)||new mr;a=Z(b,nr,1)||new nr;e.metadataStateWriter_.write(g,h,(Gj(a,9,!0)?Eh(h,2,0):Eh(h,1,0))||0,hed(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=Z(d,UQ,4)||new UQ;Wi(d,UQ,4,b);Z(d,UQ,4).setType(a.getFieldTypeOrUndefined());d.setLoggingId(bt(a,2));return d};var jed=function(){};
jed.prototype.create=function(a,b,c){var d=new RQ;d.setQueryId(dj(b,3,0));d.setSelectionId(dj(b,4,0));var e=dj(b,5,0);n(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new Dwc;Wi(e,RQ,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var g=new SQ;d=TLa(ej(b,9,0)-ej(b,8,0));n(g,2,d);d=new WQ;Wi(d,Dwc,1,e);Wi(d,SQ,6,g);e=new Awc;if(g=dj(b,6,0)){n(e,3,1E3*g);var h=1E3*(Date.now()-g);n(e,2,h)}Ij(e,1,!!g);Wi(d,
Awc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new Ywc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var ked=function(){};ked.prototype.extractPersonEventSource=function(a){return ir(Whb(a),4)};ked.prototype.extractFieldEventSource=function(a){return ir(Whb(a),3)};var led=function(){};led.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new tr;return(a.getQuery()||"").length?ir(b,2):ir(b,4)};led.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new tr;return(a.getQuery()||"").length?ir(b,1):ir(b,3)};var med=function(){};med.prototype.extractPersonEventSource=function(a){return ir(Xhb(a),4)};med.prototype.extractFieldEventSource=function(a){return ir(Xhb(a),3)};var ned=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var oed=new Map([[1,11],[2,12],[0,0]]),ped=function(){};ped.prototype.write=function(a,b,c){var d=new TQ;n(d,1,c);c=new Nwc;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());Wi(a,Nwc,8,c);b=[oed.get(b.getContext())];Yk(a,3,b)};var qed=new Map([[1,5],[2,4],[3,6],[7,13]]),red=function(){};red.prototype.write=function(a,b,c,d){var e=new TQ;n(e,1,c);a.setPosition(e);c=qed.get(b.getProvenance())||0;d||1===W(b,4,0)?c=3:2===W(b,4,0)&&(c=10);Yk(a,3,[c])};var sed=new Set([9,1,2]),ted=function(){};
ted.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&sed.has(d))c=new UQ,1!==b.getFieldType_legacyNullable()&&7!==b.getFieldType_legacyNullable()||c.setEmail(bt(b,3)),2!==b.getFieldType_legacyNullable()&&5!==b.getFieldType_legacyNullable()||c.setPhone(bt(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),Wi(a,UQ,4,c),c=new Qwc,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new VQ,Wi(b,Qwc,2,c),a.setMetadata(b)};var ued=function(a){var b=new ted;this.metadataStateWriter_=a;this.contactInfoWriter_=b},hed=function(a){var b;return(null==(b=Z(a,nr,1))?0:b.getIsPlaceholder())?!0:!1};var wr=function(a){r.call(this,a)};U(wr,r);f=wr.prototype;f.getEventType=function(){return W(this,1,0)};f.getEventType_legacyNullable=function(){return ir(this,1)};f.setEventType=function(a){return n(this,1,a)};f.getSessionState=function(){return Z(this,b2,2)};f.setSessionState=function(a){Wi(this,b2,2,a)};f.hasSessionState=function(){return Aj(this,b2,2)};f.setEventSources=function(a){Wi(this,tr,4,a)};wr.repeatedFields_=[3];
wr.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:p(ir(this,1)),sessionState:l0c(this.getSessionState()),tokensList:Gb(Ch(this,lr,3),o0c),eventSources:a2(Z(this,tr,4))}}else a=void 0;return a};var ved=new Set([8]),wed=function(){this.defaultEntityFactory_=new ged(new ued(new red));this.contextualEntityFactory_=new ged(new ued(new ped));this.extensionFactory_=new jed;this.defaultEventSourceExtractor_=new led;this.additionEventSourceExtractor_=new ked;this.replacementEventSourceExtractor_=new med};
wed.prototype.create=function(a,b){var c=b.getSessionState()||new b2,d=b.getEventType_legacyNullable();b=Ch(b,lr,3);var e=Yhb(b,$hb);var g=e.get(0);b=e.get(1);e=e.get(2);g=g?[].concat(Pc(Yhb(g,Zhb).values())):[];b=b?[].concat(Pc(Yhb(b,Zhb).values())):[];e=e?[].concat(Pc(Yhb(e,Zhb).values())):[];g=new ned(g,b,e);b=[];var h=k(g.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,Pc(xed(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,Pc(xed(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,Pc(xed(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var xed=function(a,b,c,d,e,g,h){var l=[];e=d[0].getSessionState()||e;var q=d.map(function(A){var B=new Twc,K=h.writer_,O=B.getMetadata()||new VQ;B.setMetadata(O);var P=sq(A)||new mr,Y=Z(A,nr,1)||new nr;K.metadataStateWriter_.write(O,P,Eh(P,2,0)||0,hed(A));K.contactInfoWriter_.write(B,Y,c,P.getProvenance()||0);B.setLoggingId(bt(Y,1));A=Z(B,UQ,4)||new UQ;Wi(B,UQ,4,A);A.setType(ur(Y,8));return B});l.push(yed(a,b,c,g.extractPersonEventSource(e),q,e));q=[];d=k(d);for(var x=d.next();!x.done;x=d.next())x=
x.value,Aj(x,nr,1)&&ved.has(Z(x,nr,1).getFieldType_legacyNullable())||q.push(ied(h,x,c));q.length&&l.push(yed(a,b,c,g.extractFieldEventSource(e),q,e));return l},yed=function(a,b,c,d,e,g){a=a.extensionFactory_.create(b,g,c);a.getClientInterface().setEventSource(d);aj(a,2,e);return a};var zed=function(a,b){this.logContext_=Uhb(qr(new rr,"PeopleStore.BigBug").setLogSource(W(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(537372493).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(Pc(a.runtimeConfig_.getExperiments().getExperimentIdsList()),Pc(sr?sr.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new wed};zed.prototype.getLogContext=function(){return this.logContext_};var Aed=function(a){this.clientConfig_=a;this.reportingCache_=new Map};Aed.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new zed(this.clientConfig_,a),a=new fed(new eed(Exc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var Bed=function(a,b){this.reporting_=a;this.sharedSessionState_=b};f=Bed.prototype;f.reportDisplay=function(a){o4(this,xr(a,1))};f.reportSelect=function(a,b){b=void 0===b?new q4c:b;if(0!==b.getOriginator())for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Aj(d,mr,2)){var e=new mr;Wi(d,mr,2,e)}d=sq(d);n(d,4,b.getOriginator())}b=dj(this.sharedSessionState_,4,0)+1;n(this.sharedSessionState_,4,b);o4(this,xr(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(!Aj(c,mr,2)){var d=new mr;Wi(c,mr,2,d)}c=sq(c);n(c,4,2)}b=dj(this.sharedSessionState_,4,0)+1;n(this.sharedSessionState_,4,b);o4(this,xr(a,15,this.sharedSessionState_))};f.reportDeselect=function(a){o4(this,xr(a,17,this.sharedSessionState_))};f.reportProceed=function(a){o4(this,xr(a,10,this.sharedSessionState_))};
f.reportDismiss=function(){var a=this.sharedSessionState_,b=new wr;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());o4(this,[b])};f.reportSave=function(a){o4(this,xr(a,9,this.sharedSessionState_))};f.reportSecondaryAction=function(a){o4(this,xr(a,19,this.sharedSessionState_))};f.reportSend=function(a){o4(this,xr(a,8,this.sharedSessionState_,!0))};var o4=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var p4=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;n(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};U(p4,Edd);p4.prototype.suggest=function(a,b){var c=this;j0c(this.sharedSessionState_,dj(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");k0c(d);var e=0;this.delegate_.suggest(function(g){e=Ced(c,g.getResults(),bib(g),d,e);a(g)},b)};
p4.prototype.search=function(a,b,c){var d=this;j0c(this.sharedSessionState_,dj(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);k0c(e);var g=0;this.delegate_.search(a,function(h){g=Ced(d,h.getResults(),bib(h),e,g);b(h)},c)};p4.prototype.getReporter=function(a){return new Bed(this.reportingFactory_.create(a),this.sharedSessionState_)};p4.prototype.getSessionState=function(){return this.sharedSessionState_};
var Ced=function(a,b,c,d,e){var g=vwc();Ls(d,9,g);g=a.delegate_.getLastUpdatedTimestamp();n(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=sq(h)||new mr;7!==l.getProvenance()&&l.setProvenance(c.getProvenance());n(l,2,e);n(l,1,b);Wi(h,mr,2,l);h.setSessionState(d);b++}e++}return e};var Ded=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=gdb();this.clearcutConfig_=c};U(Ded,Fdd);
Ded.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 yr;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 x=sq(q)||new mr;7!==x.getProvenance()&&x.setProvenance(g.getProvenance());n(x,4,h);Wi(q,mr,2,x)}}b(d)},c)};
Ded.prototype.beginSession=function(a){var b=new b2,c=Eed(this,a);Wi(b,tr,10,c);c=Fed(this,a);Wi(b,vr,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new p4(a,this.reportingFactory_,b)};
var Eed=function(a,b){a=Ch(a.clearcutConfig_,tr,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new tr},Fed=function(a,b){a=Ch(a.clearcutConfig_,vr,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new vr};var Ged={create:function(a){var b=hb(M7c||(M7c=L7c('[[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 s3(b,a);a.runtimeConfig_.getExperiments().getProfileId()?U7c(a).getIsEnabled()?(b=hb(W7c||(W7c=Gfb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new Hfb(b,1)):b=new Iq:b=new Iq;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;sr=b.loadExperiments(U7c(a).getApplication(),(new Jq).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new Vbd;b.cacheConfigurators_.push(new E7c);c=b;c=void 0===c?new Vbd:c;b=a.getClearcut();b=new $dd(b,a.runtimeConfig_);b=Lq(b);b=new s$c(b);d=new t$c(a,b);var e=c;c=a.getClient();c=new kcd(d.targetFactory_,c);var g=void 0===g?Pdd:g;g=new Qdd(d.loader_,a,g);g=new Ndd(g,b,a);var h=[new Ddd,
new ccd].concat(Pc(e.cacheConfigurators_)),l=[],q=[],x=new Ccd(c,a);e=new vcd(q,x);d={clientConfig:a,trackers:b,storage:c,indexer:x,loader:g,loaderFactory:d,trieFactory:new Wcd(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 Kcd(l);g=new Pcd(a,b,d,e,new rcd(g,c),c);d=a.getClient();c=new tdd(d,c);d=a.getClient();g=new idd(g,c,d);c=new Aed(a);a=a.getClearcut();g=new Ded(g,c,a);g=new ded(g,b);return new Udd(g)}};var q4=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new E.ReplaySubject(1);this.accessCheckIsThinking$=new E.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(Oe(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(Oe(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return yF(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,E.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!d&&!e}),Ne(!1));this.manageComponentLink=""};q4.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};q4.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
q4.\u0275fac=function(a){return new (a||q4)(C(mF),C(xF))};
q4.\u0275cmp=Bc({type:q4,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[Uc],decls:6,vars:7,consts:[[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],["notComponentReader",""],[3,"href"]],template:function(a,b){a&1&&(G(0,"b-async-data-placeholder",0),S(1,"async"),Q(2,cib,3,4,"a",1),S(3,"async"),Q(4,dib,2,1,"ng-template",null,2,Vf),H());if(a&2){var c=yf(5);F("isReady",T(1,3,b.isReady$));z(2);F("ngIf",T(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[tw,jK,zw],
encapsulation:2});var r4=function(a){this.documentationLinks=a;this.showIssueMetadataContainer=!1};
ch.Object.defineProperties(r4.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=Wm(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=Hac[a.type],this.issueStatus=ll[a.status],this.issuePriority=a.priority,this.issueSeverity=Fac[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=
W6a(a.accessLimitLevel)}}});r4.\u0275fac=function(a){return new (a||r4)(C(vI))};
r4.\u0275cmp=Bc({type:r4,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&&(G(0,"div",0)(1,"h3",1),R(2," Access is denied to this issue "),H(),Q(3,gib,40,13,
"ol",2),H());a&2&&(z(3),F("ngIf",b.showIssueMetadataContainer))},dependencies:[tw,q4,dI,pK,Cw],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 s4=function(){};s4.\u0275fac=function(a){return new (a||s4)};s4.\u0275mod=Dc({type:s4});s4.\u0275inj=nc({imports:[BF,aN]});var t4=function(){};t4.\u0275fac=function(a){return new (a||t4)};t4.\u0275mod=Dc({type:t4});t4.\u0275inj=nc({imports:[BF,s4,TM,XM]});var Hed=Symbol("Le"),u4=function(a){this.ruleConfigService=a};u4.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new v4(a,w4(this.ruleConfigService)):"ENUM"===a.customField.type?new Ied(a,w4(this.ruleConfigService)):"NUMERIC"===a.customField.type?new x4(a,w4(this.ruleConfigService)):new y4(a,w4(this.ruleConfigService));else b=a.label.field,b=w4(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||z4)(a,w4(this.ruleConfigService));b[Hed](a);return b};
var Gjb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};u4.\u0275fac=function(a){return new (a||u4)(u(A4))};u4.\u0275prov=mc({token:u4,factory:u4.\u0275fac,providedIn:"root"});
var Jed=["OR","AND","NAND"],Ked=["OR","NAND"],Led="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),Med=["AND","OR","NAND"],Ned=["OR","LT","GT","LE","GE"],z4=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};z4.prototype[Hed]=function(a){this.initType(a);this.initValues(a)};
z4.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]};z4.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var Oed=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}};
z4.prototype.toString=function(){var a=Oed(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=Ped(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var Ped=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:Oh(b).toLowerCase()+(a.label.customFieldId||"")};z4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
z4.prototype.getWidgetType=function(){return"default"};z4.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};z4.prototype.getLegalTypes=function(){return Jed};var Qed=[],B4=function(a,b){z4.call(this,a,b);this.enumValues={}};U(B4,z4);f=B4.prototype;f.getLegalTypes=function(){return Ked};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[hib(b.value.simpleValues[0].value)]=!0};f.valuesToStrings=function(){return Object.keys(Pb(this.enumValues,function(a){return a}))};f.getOptions=function(){return Qed};var Red=Haa().map(function(a){return{id:"p"+a,label:"P"+a}}),Sed=function(a,b){B4.call(this,a,b)};U(Sed,B4);
Sed.prototype.getOptions=function(){return Red};var Ted=Haa().map(function(a){return{id:"s"+a,label:"S"+a}}),Ued=function(a,b){B4.call(this,a,b)};U(Ued,B4);Ued.prototype.getOptions=function(){return Ted};
var Ved=[{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"}],Wed=function(a,b){B4.call(this,a,b)};U(Wed,B4);Wed.prototype.getOptions=function(){return Ved};
var Xed=[{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"}],Yed=function(a,b){B4.call(this,a,b)};U(Yed,B4);Yed.prototype.getOptions=function(){return Xed};
var Zed=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],$ed=function(a,b){B4.call(this,a,b)};U($ed,B4);$ed.prototype.getOptions=function(){return Zed};var Ied=function(a,b){B4.call(this,a,b);this.allowedValues=[]};U(Ied,B4);Ied.prototype[Hed]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:hib(b)}});B4.prototype[Hed].call(this,a)};
Ied.prototype.valuesToStrings=function(){return Object.keys(Pb(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};Ied.prototype.getOptions=function(){return this.allowedValues};var Hr=function(a,b){z4.call(this,a,b);this.csv=""};U(Hr,z4);Hr.prototype.getWidgetType=function(){return"csv"};Hr.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};Hr.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};
var C4=function(a,b){Hr.call(this,a,b)};U(C4,Hr);C4.prototype.getWidgetType=function(){return"id"};C4.prototype.valuesToStrings=function(){return Hr.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(Ph(a))})};var afd=function(a,b){Hr.call(this,a,b)};U(afd,C4);afd.prototype.getLegalTypes=function(){return Ked};var D4=function(a,b){Hr.call(this,a,b)};U(D4,Hr);D4.prototype.getWidgetType=function(){return"user"};
var E4=function(a,b){Hr.call(this,a,b)};U(E4,D4);E4.prototype.getLegalTypes=function(){return Ked};var v4=function(a,b){z4.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};U(v4,z4);var ljb=function(a){return a&&"string"===typeof a?a:""};v4.prototype.initType=function(a){z4.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":ss(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};
v4.prototype.getWidgetType=function(){return"date"};v4.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=bfd(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=bfd(a.values[0].simpleValues[1].value)}};
v4.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=Ph(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&cfd(this.dateFrom)||(new Hh).toIsoString(!0);var b=this.dateTo&&cfd(this.dateTo)||(new Hh).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&cfd(this.dateFrom)||(new Hh).toIsoString(!0)]};
var dfd=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},bfd=function(a){var b=new Xm(2E3);a=Th(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(gZb);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 DA("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new DA("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(iZb);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(hZb)){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 x=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,l,d,e,g,x);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 dfd(c?b:null)},cfd=function(a){a=a.split("/").map(Number);return(new Hh(a[2],a[0]-1,a[1])).toIsoString(!0)};v4.prototype.getLegalTypes=function(){return Led};var F4=function(a,b){z4.call(this,a,b)};U(F4,z4);F4.prototype.getWidgetType=function(){return"bool"};
F4.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"};F4.prototype.toString=function(){return Ped(this)+":"+("OR"===this.type)};F4.prototype.getLegalTypes=function(){return Ked};var G4=function(a,b){z4.call(this,a,b)};U(G4,z4);G4.prototype.getWidgetType=function(){return"boolwithall"};
G4.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")};G4.prototype.toString=function(){var a=Ped(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
G4.prototype.getLegalTypes=function(){return Med};var y4=function(a,b){z4.call(this,a,b)};U(y4,z4);y4.prototype.getWidgetType=function(){return"text"};y4.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}})};y4.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var efd=function(a,b){z4.call(this,a,b)};U(efd,z4);efd.prototype.getWidgetType=function(){return"component"};efd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};ss(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};efd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var ffd=function(a,b){z4.call(this,a,b)};U(ffd,z4);ffd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};ss(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};ffd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var gfd=function(a,b){z4.call(this,a,b)};U(gfd,z4);gfd.prototype.getWidgetType=function(){return"tracker"};
var hfd=function(a,b){z4.call(this,a,b)};U(hfd,ffd);hfd.prototype.getWidgetType=function(){return"team"};var ifd=function(a,b){z4.call(this,a,b)};U(ifd,z4);ifd.prototype.getWidgetType=function(){return"hotlist"};var jfd=function(a,b){z4.call(this,a,b)};U(jfd,z4);jfd.prototype.getWidgetType=function(){return"savedsearch"};var x4=function(a,b){Hr.call(this,a,b)};U(x4,Hr);x4.prototype.getWidgetType=function(){return"number"};x4.prototype.getLegalTypes=function(){return Ned};
var kfd=function(a,b){v4.call(this,a,b)};U(kfd,v4);kfd.prototype.initType=function(a){v4.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var H4={},lfd=(H4.ATTACHMENT={ruleCtor:y4,name:"Attachment name"},H4.COMMENT={ruleCtor:y4},H4.TITLE={ruleCtor:y4},H4.ASSIGNEE={ruleCtor:E4},H4.MODIFIER={ruleCtor:D4},H4.REPORTER={ruleCtor:E4},H4.VERIFIER={ruleCtor:E4},H4.CC={ruleCtor:D4},H4.COMPONENT_ID={ruleCtor:efd,name:"Component"},H4.TRACKER_ID={ruleCtor:gfd,name:"Tracker"},H4.TYPE={ruleCtor:Wed},H4.STATUS={ruleCtor:Yed},H4.PRIORITY={ruleCtor:Sed},H4.SEVERITY={ruleCtor:Ued},H4.BLOCKED_BY_ID={ruleCtor:C4},H4.BLOCKING_ID={ruleCtor:C4},H4.PARENT_ID=
{ruleCtor:C4},H4.CANONICAL_ID={ruleCtor:afd},H4.ID={ruleCtor:afd},H4.FOUND_IN={ruleCtor:Hr},H4.TARGETED_TO={ruleCtor:Hr},H4.VERIFIED_IN={ruleCtor:Hr},H4.CL={ruleCtor:Hr,name:"Changelists"},H4.MODIFIED={ruleCtor:v4},H4.RESOLVED={ruleCtor:kfd},H4.CREATED={ruleCtor:v4},H4.VERIFIED={ruleCtor:kfd},H4.DELETION_TIME={ruleCtor:v4,name:"Deletion time"},H4.SAVED_SEARCH_ID={ruleCtor:jfd,name:"Saved search"},H4.HOTLIST_ID={ruleCtor:ifd,name:"Hotlist"},H4.STAR={ruleCtor:F4,name:"Starred"},H4.MUTE={ruleCtor:F4,
name:"Muted"},H4.IN_PROD={ruleCtor:F4,name:"In production"},H4.CC_COUNT={ruleCtor:x4},H4.DUPLICATE_COUNT={ruleCtor:x4},H4.VOTE_COUNT={ruleCtor:x4},H4.COMMENT_COUNT={ruleCtor:x4},H4.LAST_MODIFIER={ruleCtor:E4,name:"Last Modified By"},H4.COMMENTER={ruleCtor:D4},H4.LAST_COMMENTER={ruleCtor:E4},H4.ARCHIVED={ruleCtor:G4},H4.IS_DELETED={ruleCtor:F4,name:"Deleted",queryLabel:"deleted"},H4.DELETION_REASON={ruleCtor:$ed,name:"Deletion reason"},H4._TEXT_={ruleCtor:y4,queryLabel:"",name:"All fields"},H4),mfd=
Object.assign({},lfd,{EFFORT_LABEL:{ruleCtor:Hr},MENTION:{ruleCtor:D4},MIN_SLO_TARGET:{ruleCtor:v4,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Hr,name:"Postmortems"},TEAM_ID:{ruleCtor:hfd,name:"Team"}}),A4=function(a){this.activeSession=a},w4=function(a){return a.activeSession.isExternalSession()?lfd:mfd};A4.\u0275fac=function(a){return new (a||A4)(u(ds))};A4.\u0275prov=mc({token:A4,factory:A4.\u0275fac,providedIn:"root"});var nfd=function(a){r.call(this,a)};U(nfd,r);f=nfd.prototype;f.getField=function(){return W(this,1,0)};f.setField=function(a){n(this,1,a)};f.getCustomFieldId=function(){return wi(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return vi(this,2)};f.toObject=function(){return ofd(this)};var ofd=function(a){if(null!=a)return t(a),{field:p(ir(a,1)),customFieldId:p(m(a,2))}};var nib=function(a){r.call(this,a)};U(nib,r);f=nib.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return tk(this,2)};f.toObject=function(){return pfd(this)};var pfd=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),value:p(m(a,2))}};var I4=function(a){r.call(this,a)};U(I4,r);f=I4.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getValuesList=function(){return Ch(this,I4,2)};f.setValuesList=function(a){aj(this,2,a)};f.setValues=function(a,b){Ds(this,2,I4,a,b)};I4.repeatedFields_=[2,3];I4.prototype.toObject=function(){return qfd(this)};
var qfd=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),valuesList:Gb(a.getValuesList(),qfd),simpleValuesList:Gb(Ch(a,nib,3),pfd)}};var Cr=function(a){r.call(this,a)};U(Cr,r);f=Cr.prototype;f.getType=function(){return W(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return cj(this,1)};f.getValuesList=function(){return Ch(this,I4,2)};f.setValuesList=function(a){aj(this,2,a)};f.setValues=function(a,b){Ds(this,2,I4,a,b)};f.getLabel=function(){return Z(this,nfd,4)};f.setLabel=function(a){return Wi(this,nfd,4,a)};f.hasLabel=function(){return Aj(this,nfd,4)};Cr.repeatedFields_=[2];Cr.prototype.toObject=function(){return rfd(this)};
var rfd=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),valuesList:Gb(a.getValuesList(),qfd),negated:p($q(a,3)),label:ofd(a.getLabel()),operator:p(ir(a,5))}};var Br=function(a){r.call(this,a,0,Br.messageId)};U(Br,r);Br.prototype.getType=function(){return W(this,1,0)};Br.prototype.setType=function(a){return n(this,1,a)};Br.prototype.hasType=function(){return cj(this,1)};Br.repeatedFields_=[2];Br.prototype.toObject=function(){return sfd(this)};var sfd=function(a){if(null!=a)return t(a),{type:p(ir(a,1)),expressionsList:Gb(Ch(a,Cr,2),rfd)}};Br.messageId="b.QueryBuilderResponse";var zr=function(a){r.call(this,a,0,zr.messageId)};U(zr,r);zr.prototype.toObject=function(){return tfd(this)};var tfd=function(a){if(null!=a)return t(a),{syntaxError:p(m(a,1))}};zr.messageId="b.SyntaxErrorResponse";var J4=function(a){r.call(this,a,0,J4.messageId)};U(J4,r);J4.prototype.getKindCase=function(){return Ai(this,Ar)};var Ar=[1,2];J4.prototype.toObject=function(){if(null!=this){t(this);var a={queryBuilderResponse:sfd(Pj(this,Br,1,Ar)),syntaxErrorResponse:tfd(Pj(this,zr,2,Ar))}}else a=void 0;return a};J4.messageId="b.QueryBuilderResponseOrError";var K4=function(a){this.executor=a},ufd=function(a,b){b=Pl(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:J4}).then(tib).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(iib)});return c})};K4.\u0275fac=function(a){return new (a||K4)(u($C))};K4.\u0275prov=mc({token:K4,factory:K4.\u0275fac,providedIn:"root"});var L4=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new Vv;this.onEmptyQuery=new Vv;this.searchQuery$=new E.Subject;this.teamSuggestions$=this.searchQuery$.pipe(ze(300),Be(),Oe(function(c){return JH(b.teamsService,c)}),D(function(c){return c.map(function(d){return new vib(d.pathIds,d.pathNames,d.description)})}))};L4.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
L4.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};L4.prototype.displayFn=function(a){return a?a.name:""};L4.prototype.ngAfterViewInit=function(){};L4.\u0275fac=function(a){return new (a||L4)(C(HH))};
L4.\u0275cmp=Bc({type:L4,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&Qf(FO,7);if(a&2){var c;Pf(c=Sf())&&(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=v();G(0,"div",0)(1,"input",1,2);M("click",function(){w(c);var e=yf(2);return y(b.search(e.value))})("input",
function(){w(c);var e=yf(2);return y(b.search(e.value))});H();G(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});Q(5,yib,6,8,"mat-option",5);S(6,"async");H()()}if(a&2){var d=yf(4);z(1);wf("placeholder",b.placeholder);F("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);bf("aria-disabled",b.disabled);z(2);F("panelWidth",b.panelWidth)("displayWith",b.displayFn);z(2);F("ngForOf",T(6,8,b.teamSuggestions$))}},dependencies:[sw,tw,GO,FO,$z,
ZB,kg,Uw,$w,zw,Gw],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 vib=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 vfd(a.slice(0,e+1),b.slice(0,e+1))})},vfd=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var M4=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new Vv;this.searchQuery$=new E.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(ze(300),Be(),Oe(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),D(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};M4.prototype.ngAfterViewInit=function(){};M4.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
M4.prototype.search=function(a){this.searchQuery$.next(a)};M4.\u0275fac=function(a){return new (a||M4)(C(QH))};
M4.\u0275cmp=Bc({type:M4,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&Qf(FO,7);if(a&2){var c;Pf(c=Sf())&&(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=v();G(0,"input",0,1);M("click",function(){w(c);var e=yf(1);return y(b.search(e.value))})("input",function(){w(c);var e=yf(1);return y(b.search(e.value))});H();G(2,"mat-autocomplete",2,3);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});Q(4,zib,3,2,"mat-option",4);S(5,"async");
H()}if(a&2){var d=yf(3);F("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);bf("aria-disabled",b.disabled);z(2);F("displayWith",b.displayFn);z(2);F("ngForOf",T(5,7,b.trackerSuggestions$))}},dependencies:[sw,GO,FO,$z,kg,Uw,$w,zw],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 N4=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y){jE.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=x;this.componentActions=A;this.teamsService=B;this.searchRuleConfigService=K;this.searchRuleFactory=O;this.cdr=P;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(X){return X};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=wfd;this.globalTypeLabels=xfd;this.state="INIT"};U(N4,jE);N4.\u0275dir=jE.\u0275dir;
var yfd=function(a){var b=[];Ob(w4(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,QAa(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};N4.prototype.schedule=function(a){this.subscriptions.add(E.asyncScheduler.schedule(a))};N4.prototype.ngOnInit=function(){this.cdr.detectChanges()};
N4.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=yfd(this))};
var Bfd=function(a,b){a.reset();b?zfd(a,b):(a.expressions=Afd.map(function(c){return Gjb(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()},zfd=function(a,b){ufd(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 Cfd(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()})},Cfd=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?Dfd(a,b.label.customFieldId).then(function(c){b.customField=
c;return Efd(a,b)}):Promise.resolve(Efd(a,b))},Dfd=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},Efd=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;Ffd(a,b);return b},Ffd=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=Uh(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]||Gfd(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]||Hfd(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})}};N4.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 Gfd=function(a,b){a.trackerFridge.watch(b).pipe(Pe(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},Hfd=function(a,b){JH(a.teamsService,b).pipe(ye(function(){return(0,E.of)([])}),Pe(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:""}})},Ifd=function(a){var b="AND"===a.expressionType?" ":" | ";return eIb(a.expressions.map(function(c){return c.label?
c.toString():""}),PPb).join(b)};N4.prototype.getState=function(){return this.state};N4.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var Jjb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=Gjb(a.searchRuleFactory,d.field),Hjb(a,a.expressions[b]));a.cdr.detectChanges()},Hjb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c?Er(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=dfd(new Hh)),b.dateTo||(b.dateTo=dfd(new Hh)))};N4.prototype.removeExpression=function(a){ra(this.expressions,a);this.cdr.detectChanges()};
var Er=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?Pib(a,c):"TRACKER_ID"===b.label.field?Wib(a,c):"TEAM_ID"===b.label.field?cjb(a,c):Gr(a,c);a.cdr.detectChanges()},Dr=function(a,b,c){ra(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},Gr=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},Pib=function(a,b){Gr(a,b);a.componentUnderEdit=b.value?Lh(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
Wib=function(a,b){Gr(a,b);a.trackerUnderEdit=b.value?Lh(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},cjb=function(a,b){Gr(a,b);a.teamUnderEdit=b.value?Lh(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},Fr=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},ejb=function(a,b){a.analytics.trackEvent(Gn.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;Fr(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};N4.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]};
N4.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||a:""};N4.prototype.getComponentPath=function(a){if(!a)return"";var b=Ir(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var xfd={AND:"Match all (AND)",OR:"Match any (OR)"},wfd={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"}},Afd=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];N4.\u0275fac=function(a){return new (a||N4)(C(oH),C(WG),C(VF),C(HS),C(OG),C(QH),C(K4),C(ds),C(rd),C(OF),C(LT),C(HH),C(A4),C(u4),C(kH,2),C(sK))};
N4.\u0275cmp=Bc({type:N4,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Cf([kH]),Ye,Uc],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&&Q(0,Mjb,11,6,"div",0);a&2&&F("ngIf","SUCCESS"===b.getState())},dependencies:[sw,tw,JA,yR,LZ,kg,Uw,lx,$w,V_,Yz,xA,RB,PB,QB,iO,$z,BN,L4,M4,RT,Ew,lic],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 O4=function(){};O4.\u0275fac=function(a){return new (a||O4)};O4.\u0275mod=Dc({type:O4});O4.\u0275inj=nc({imports:[BF,HO,fO,XC,ox]});var P4=function(){};P4.\u0275fac=function(a){return new (a||P4)};P4.\u0275mod=Dc({type:P4});P4.\u0275inj=nc({imports:[BF,HO,fO,XC,ox]});var Q4=function(){};Q4.\u0275fac=function(a){return new (a||Q4)};Q4.\u0275mod=Dc({type:Q4});Q4.\u0275inj=nc({imports:[BF,zR,MZ,ox,Y_,wC,yA,$B,BA,SB,jO,fO,oJ,O4,P4,oV]});var Jfd=function(a){r.call(this,a)};U(Jfd,r);f=Jfd.prototype;f.getExperimentId=function(){return Eh(this,1)};f.getState=function(){return W(this,2,0)};f.getTitle=function(){return V(this,4)};f.setTitle=function(a){return n(this,4,a)};f.getDescription=function(){return V(this,5)};f.setDescription=function(a){return n(this,5,a)};f.hasDescription=function(){return tk(this,5)};f.toObject=function(){return Kfd(this)};
var Kfd=function(a){if(null!=a)return t(a),{experimentId:p(Ms(a,1)),state:p(ir(a,2)),userGroup:p(ir(a,3)),title:p(m(a,4)),description:p(m(a,5)),learnMoreLink:p(m(a,6))}};var R4=function(a){r.call(this,a,0,R4.messageId)};U(R4,r);R4.repeatedFields_=[1];R4.prototype.toObject=function(){if(null!=this){t(this);var a={featuresList:Gb(Ch(this,Jfd,1),Kfd)}}else a=void 0;return a};R4.messageId="b.ListBeapFeaturesResponse";var S4=function(a){this.executor=a};S4.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:R4}).pipe(D(function(a){var b;return(null!=(b=Ch(a,Jfd,1))?b:[]).map(Pjb)}))};S4.\u0275fac=function(a){return new (a||S4)(u(ZC))};S4.\u0275prov=mc({token:S4,factory:S4.\u0275fac,providedIn:"root"});var T4=function(a){eF.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};U(T4,eF);T4.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(D(function(a){return{results:a}}))};T4.\u0275fac=function(a){return new (a||T4)(u(S4))};T4.\u0275prov=mc({token:T4,factory:T4.\u0275fac,providedIn:"root"});var U4=function(a){this.beapFridge=a};U4.prototype.getFeature=function(a){return Lfd(this,"ALL").pipe(D(function(b){return b.find(function(c){return c.experimentId===a})}))};var Lfd=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(D(function(e){return e.results.filter(function(g){return c?!0:g.userGroup===d})}))};U4.prototype.refresh=function(){this.beapFridge.pokeMany({})};
U4.\u0275fac=function(a){return new (a||U4)(u(T4))};U4.\u0275prov=mc({token:U4,factory:U4.\u0275fac,providedIn:"root"});var V4=function(){};V4.\u0275fac=function(a){return new (a||V4)};
V4.\u0275cmp=Bc({type:V4,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),Q(1,Qjb,1,0,"div",1),Q(2,Rjb,1,0,"div",2),L());a&2&&(F("ngSwitch",b.featureStage),z(1),F("ngSwitchCase","TEAM_FOOD"),z(1),F("ngSwitchCase","EARLY_ACCESS"))},dependencies:[uw,vw],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var W4=function(a){var b=this;this.beapService=a;this.experimentId$=new E.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(Oe(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(D(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"}))};W4.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};W4.prototype.ngOnInit=function(){};
W4.\u0275fac=function(a){return new (a||W4)(C(U4))};W4.\u0275cmp=Bc({type:W4,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[Uc],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(I(0,"b-feature-stage-label",0),S(1,"async"));if(a&2){var c;F("featureStage",null!==(c=T(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[V4,zw],encapsulation:2});var X4=function(){};X4.\u0275fac=function(a){return new (a||X4)};X4.\u0275mod=Dc({type:X4});X4.\u0275inj=nc({imports:[BF]});var Y4=function(){};Y4.\u0275fac=function(a){return new (a||Y4)};Y4.\u0275mod=Dc({type:Y4});Y4.\u0275inj=nc({imports:[BF,X4]});var Z4=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},Sjb=function(a){En(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};Z4.\u0275fac=function(a){return new (a||Z4)(C(ZJ))};
Z4.\u0275cmp=Bc({type:Z4,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&&(Q(0,Tjb,3,3,"button",0),Q(1,Ujb,2,1,"button",1));a&2&&(F("ngIf",!b.menuMode),z(1),F("ngIf",b.menuMode))},dependencies:[tw,JA,Yz,PB,ZB],styles:["[_nghost-%COMP%] { display: flex; }"]});var a5=function(a,b,c){jE.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.density="COMFORTABLE";this.enableWhatsNewDialog=hE(a,"enableWhatsNewDialog");this.enableBeap=hE(a,"enableBeap")};U(a5,jE);a5.\u0275dir=jE.\u0275dir;f=a5.prototype;f.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(Pe(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})};a5.\u0275fac=function(a){return new (a||a5)(C(ds),C(SF),C(BI))};
a5.\u0275cmp=Bc({type:a5,selectors:[["b-app-settings-menu"]],features:[Ye],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&&(G(0,"button",0),I(1,"mat-icon",1),H(),G(2,"mat-menu",null,2)(4,"div",3),R(5,"Display Density"),H(),G(6,"button",4),M("click",function(){return b.setDensity("COMFORTABLE")}),G(7,"span",5),I(8,"mat-icon",6),H(),R(9," Comfortable "),H(),G(10,"button",7),M("click",function(){return b.setDensity("COZY")}),G(11,"span",5),I(12,"mat-icon",6),H(),R(13," Cozy "),H(),G(14,"button",8),M("click",function(){return b.setDensity("COMPACT")}),G(15,"span",5),I(16,"mat-icon",6),H(),R(17," Compact "),H(),I(18,"mat-divider"),
G(19,"button",9),M("click",function(d){return b.browseComponents(d)}),R(20,"Browse components"),H(),G(21,"button",9),M("click",function(d){return b.manageHotlists(d)}),R(22,"Manage hotlists"),H(),Q(23,Vjb,2,0,"button",10),G(24,"button",9),M("click",function(d){return b.showSettings(d)}),R(25,"Settings"),H(),Q(26,Wjb,3,0,"a",11),Q(27,Xjb,3,1,"ng-container",12),H());if(a&2){var c=yf(3);F("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);z(6);mf("b-menu-item-checked","COMFORTABLE"===b.density);
bf("aria-checked","COMFORTABLE"===b.density);z(4);mf("b-menu-item-checked","COZY"===b.density);bf("aria-checked","COZY"===b.density);z(4);mf("b-menu-item-checked","COMPACT"===b.density);bf("aria-checked","COMPACT"===b.density);z(12);F("ngIf",b.enableBeap);z(1);F("ngIf",b.enableWhatsNewDialog)}},dependencies:[tw,JA,RB,PB,QB,Yz,AL,ZB,Z4,DP,V4],encapsulation:2,changeDetection:0});var b5=function(a){this.theme=a;this.isDark=!1;this.iconName="brightness-4"};b5.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();Mfd(this)};var Mfd=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"brightness-4"};b5.\u0275fac=function(a){return new (a||b5)(C(wP))};
b5.\u0275cmp=Bc({type:b5,selectors:[["theme-change-btn"]],decls:2,vars:1,consts:[["mat-icon-button","","matTooltip","Change theme","aria-label","Change the application's visual theme",3,"click"],[3,"svgIcon"]],template:function(a,b){a&1&&(G(0,"button",0),M("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&c.clientStreamzService.logUsageMetric("toggleDarkmode",!c.clientDarkmodeSubject.getValue());Zrc(c,!c.clientDarkmodeSubject.getValue());
Mfd(b)}),I(1,"mat-icon",1),H());a&2&&(z(1),F("svgIcon",b.iconName))},dependencies:[JA,Yz,ZB],encapsulation:2});var Nfd=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=hE(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=hE(a,"majorReleaseNotesUpdated")};Nfd.\u0275fac=function(a){return new (a||Nfd)(C(ds),C(xP),C(ZJ),C(vI))};
Nfd.\u0275cmp=Bc({type:Nfd,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"),Q(1,Yjb,1,1,"b-whats-new-button",0),Q(2,Zjb,2,0,"button",1),G(3,"button",2),M("click",function(){var c=b.domSafe,d=c.openInNewTab;var e=b.docLinks;e=e.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide":e.baseDocumentationUrl;d.call(c,e)}),I(4,"mat-icon",3),H(),I(5,"b-app-settings-menu"));a&2&&(z(1),F("ngIf",b.enableWhatsNewDialog))},
dependencies:[tw,JA,Yz,ZB,Z4,DP,b5,a5],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 Ofd=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};Ofd.\u0275fac=function(a){return new (a||Ofd)(C(sK),C($X))};
Ofd.\u0275cmp=Bc({type:Ofd,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&&(G(0,"button",0),M("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),I(1,"mat-icon",1),H(),G(2,"mat-menu",2,3)(4,"span",4),R(5,"Select a tracker"),H(),Q(6,$jb,4,4,"button",5),H());if(a&2){var c=yf(3);F("matMenuTriggerFor",c);bf("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");z(6);F("ngForOf",
b.associatedTrackers)}},dependencies:[sw,JA,Yz,RB,PB,QB,ZB],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 bkb=function(a){return[a]},ckb=function(){return[]},c5=function(a){this.activeSession=a;this.clickMenu=new Vv;this.showMenu=!1;this.clickLogo=new Vv;this.chips=[]};c5.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};c5.\u0275fac=function(a){return new (a||c5)(C(ds))};
c5.\u0275cmp=Bc({type:c5,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&&(tf(),Q(0,akb,2,0,"button",0),G(1,"a",1),M("click",function(){return b.clickLogo.emit()}),I(2,"img",2)(3,"img",3),G(4,"h1"),R(5),H()(),uf(6),Q(7,dkb,2,5,"output",4));a&2&&(F("ngIf",b.showMenu),z(1),bf("href",b.href?b.href:void 0,Id),z(1),F("src",b.imgSrc,Id),z(1),F("src",b.imgSrcDark||b.imgSrc,Id),z(2),Af(b.name),z(2),F("ngForOf",b.chips))},dependencies:[rw,sw,tw,JA,Yz],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 Pfd=function(){return[]},d5=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};d5.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"})};
d5.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};d5.prototype.getAppName=function(){if(this.tracker)return this.tracker.name;switch(this.frontendAccessMode){case "INTERNAL":return"Buganizer";case "PARTNER":return"Partner IssueTracker";case "PUBLIC":return"IssueTracker";default:nh(this.frontendAccessMode,"unknown frontend access mode.")}};
ch.Object.defineProperties(d5.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"}}});d5.\u0275fac=function(a){return new (a||d5)(C(SF))};
d5.\u0275cmp=Bc({type:d5,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[Uc],decls:2,vars:7,consts:[[3,"name","href","chips","imgSrc","imgSrcDark","clickMenu"],[3,"associatedTrackers",4,"ngIf"],[3,"associatedTrackers"]],template:function(a,b){a&1&&(G(0,"app-logo",0),M("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),Q(1,ekb,1,1,"tracker-switcher",
1),H());if(a&2){var c;F("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);z(1);F("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:Ef(6,Pfd)).length)}},dependencies:[tw,c5,Ofd],encapsulation:2,changeDetection:0});var e5=function(){this.isActive=!1;this.optionClicked=new Vv};e5.prototype.ngOnInit=function(){};e5.prototype.onClick=function(){this.optionClicked.emit(this.index)};e5.\u0275fac=function(a){return new (a||e5)};
e5.\u0275cmp=Bc({type:e5,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()});a&2&&mf("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&&(tf(),G(0,"div",0),uf(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 f5=function(a,b,c){this.ref=a;this.hostElement=b;this.currentTracker=c;this.items=[];this.header=null;this.itemSelected=new Vv;this.activeItemChanged=new Vv;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component team tracker".split(" ")};f5.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};f5.prototype.ngAfterViewInit=function(){};
var Fkb=function(a){var b=N(3);Nkb(a);b.itemSelected.emit(a)};f5.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(),Qfd(this))};
f5.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(),Qfd(this))};var Rfd=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};f5.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var Sfd=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}},Qfd=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&KAc(b.nativeElement,a.hostElement.nativeElement)},Nkb=function(a){Lm(Gn.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};f5.\u0275fac=function(a){return new (a||f5)(C(kH,2),C(rd),C(sK))};
f5.\u0275cmp=Bc({type:f5,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&Qf(e5,5,rd);if(a&2){var c;Pf(c=Sf())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Cf([kH]),Uc],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&&(Q(0,zkb,
7,6,"div",0),G(1,"div",1),Q(2,Okb,9,11,"b-app-search-auto-complete-option",2),H());a&2&&(F("ngIf",b.header&&b.header.type),z(2),F("ngForOf",b.items))},dependencies:[sw,tw,nO,vK,e5,Aw],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 Tfd=["box"],Ufd=["initialFocus"],Vfd=["finalFocus"],g5=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 Vv;this.onAdvancedSearchClose=new Vv;this.onAdvancedSearchSubmit=new Vv;this.onSaveSearch=new Vv;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new E.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(D(function(d){return d.query}));this.autoCompleteItemSelected$=new E.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
g5.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(Re(this.currentQuery$),Pe(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()})};
g5.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(ue(function(b){return!b.setViaInteraction}),Pe(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,gAc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};g5.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Wfd=function(a){a.appSearchState.searchTriggered$.next("keyboard")},Xfd=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
g5.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!h5(this))return;Yfd(this);break;case "ArrowUp":if(!h5(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!h5(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!h5(this)){Xfd(this,this.inputBox.nativeElement.value);return}Rfd(this.acList);break;case "ArrowLeft":Xfd(this,this.inputBox.nativeElement.value);return;case "Enter":h5(this)?null!=this.acList.activeItemIndex?Rfd(this.acList):
Wfd(this):Wfd(this);break;default:return}a.preventDefault();a.stopPropagation()};g5.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();Zfd(this)};g5.prototype.getCursorPosition=function(){var a=hAc(this.inputBox.nativeElement,!0)[0];if(a===hAc(this.inputBox.nativeElement,!1)[1])return a};
var Yfd=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},Zfd=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},h5=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},$fd=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},agd=function(a){return"advanced_search"===a.dropdownStatus};
g5.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",Zfd(this))};var bgd=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},Pkb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};g5.\u0275fac=function(a){return new (a||g5)(C(vI),C($X),C(ds))};
g5.\u0275cmp=Bc({type:g5,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(Qf(f5,7),Qf(Tfd,5),Qf(Ufd,7,rd),Qf(Vfd,7));if(a&2){var c;Pf(c=Sf())&&(b.acList=c.first);Pf(c=Sf())&&(b.inputBox=c.first);Pf(c=Sf())&&(b.advancedSearchInitialFocus=c.first);Pf(c=Sf())&&(b.advancedSearchFinalFocus=c.first)}},inputs:{placeholder:"placeholder",isSearchDisabled:"isSearchDisabled",autoCompleteItems:"autoCompleteItems",autoCompleteHeader:"autoCompleteHeader"},outputs:{onAdvancedSearchOpen:"onAdvancedSearchOpen",
onAdvancedSearchClose:"onAdvancedSearchClose",onAdvancedSearchSubmit:"onAdvancedSearchSubmit",onSaveSearch:"onSaveSearch"},ngContentSelectors:["*"],decls:24,vars:19,consts:[[1,"search-form-container",3,"clickOutside"],[1,"search-box-container"],["mat-icon-button","","aria-label","Search","matTooltip","Search",3,"click"],["svgIcon","search",1,"icon-m"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","6","aria-label","Search issues",
"role","combobox","aria-autocomplete","list","aria-haspopup","true","aria-owns","b-search-box-autocomplete",1,"search-box",3,"placeholder","keydown","input","click","focus"],["box",""],["mat-icon-button","","aria-label","Show search options","matTooltip","Show search options",3,"click"],["svgIcon","arrow-dropdown",1,"icon-m"],["role","search",1,"search-dropdown"],[3,"items","header","itemSelected"],[1,"advanced-search"],["align","right",1,"advanced-search-header"],["mat-icon-button","","aria-label",
"Close advanced search","matTooltip","Close advanced search",1,"gmat-button",3,"disabled","keydown","click"],["initialFocus",""],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["mat-flat-button","",1,"gmat-button","medium",3,"disabled","click"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],["class","save-search-container",4,"ngIf"],[1,"save-search-container"],["type","text","aria-label","Enter the name for saving this search.",
"placeholder","Save search as",3,"ngModel","ngModelChange","keydown.Tab","keydown.enter"],["finalFocus",""],["mat-icon-button","","aria-label","Save search","matTooltip","Save search",1,"gmat-button",3,"disabled","click"],["svgIcon","saved-search-18px",1,"icon-s"]],template:function(a,b){if(a&1){var c=v();tf();G(0,"div",0);M("clickOutside",function(){Yfd(b)});G(1,"div",1)(2,"button",2);M("click",function(){return Wfd(b)});I(3,"mat-icon",3);H();G(4,"textarea",4,5);M("keydown",function(d){return b.handleKeydown(d)})("input",
function(){w(c);var d=yf(5);return y(Xfd(b,d.value))})("click",function(){w(c);var d=yf(5);return y(Xfd(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});H();G(6,"button",6);M("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});I(7,"mat-icon",7);H()();G(8,"aside",8)(9,"b-app-search-auto-complete-list",9);M("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});H();G(10,"div",10)(11,"div",11)(12,"button",12,13);M("keydown",function(d){return bgd(b,
d)})("click",function(){return Zfd(b)});I(14,"mat-icon",14);H()();G(15,"div",15);uf(16);H();G(17,"div",16)(18,"button",17);M("click",function(){return b.submitAdvancedSearch()});R(19," Search ");H();G(20,"a",18);R(21,"Search help ");I(22,"mat-icon",19);H();Q(23,Qkb,5,2,"div",20);H()()()()}a&2&&(mf("dropdown-opened",h5(b)||$fd(b)||agd(b)),z(1),mf("hidden",agd(b)),z(3),F("placeholder",b.placeholder),bf("aria-activedescendant",Sfd(b.acList))("aria-expanded",h5(b)||$fd(b)),z(4),mf("advanced-search-open",
agd(b)),z(1),mf("hidden",!(h5(b)||$fd(b))),F("items",b.autoCompleteItems)("header",b.autoCompleteHeader),z(1),mf("hidden",!agd(b)),z(2),F("disabled",b.isSearchDisabled),z(6),F("disabled",b.isSearchDisabled),z(2),bf("href",b.searchHelpLink,Id),z(3),F("ngIf",!b.isAnonymous))},dependencies:[tw,JA,Yy,Yz,ZB,kg,Uw,$w,uN,rA,f5],styles:['[_nghost-%COMP%]{display:flex;align-items:center;flex-grow:1;position:relative;min-width:320px;height:40px}.search-form-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f1f3f4;background-color:var(--main-search-bg);border-radius:8px;max-width:800px;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}.search-box-container[_ngcontent-%COMP%]{display:flex;flex-grow:1;width:calc(100% - 8px * 2);min-height:40px;height:auto}.search-dropdown[_ngcontent-%COMP%]{max-height:0;overflow:hidden;top:40px;width:100%;transition:max-height .2s ease-in-out}.search-form-container.dropdown-opened[_ngcontent-%COMP%]   .search-dropdown[_ngcontent-%COMP%]{max-height:600px;padding-bottom:6px}.search-dropdown[_ngcontent-%COMP%]{padding-bottom:0}.search-form-container[_ngcontent-%COMP%]:focus-within, .search-form-container.dropdown-opened[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);background-color:#fff;background-color:var(--surface-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   textarea[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   input[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:not(:focus-within):not(.dropdown-opened)   textarea[_ngcontent-%COMP%]{height:auto !important;overflow:hidden}.mat-icon-button[_ngcontent-%COMP%]{height:24px;width:24px;line-height:24px}.search-box-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.search-box-container[_ngcontent-%COMP%]   .mat-icon-button[_ngcontent-%COMP%]{margin-top:8px}textarea[_ngcontent-%COMP%]{border:0;background-color:initial;outline:none;resize:none;padding:0;cursor:auto;color:#202124;color:var(--text-high-contrast);margin:10px 0;margin-left:5px;height:20px;line-height:20px;width:100%;overflow:auto}textarea[_ngcontent-%COMP%]:focus{border:0;padding:0;outline:none}textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:rgba(0,0,0,0);border-radius:10px;border:0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:vertical{margin:5px 0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:horizontal{margin:0 5px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;background-color:rgba(0,0,0,.2)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0,.5)}.advanced-search[_ngcontent-%COMP%]{padding:6px 6px 0 6px}.advanced-search-content[_ngcontent-%COMP%]{overflow:auto;max-height:532px}.advanced-search-footer[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.search-help-link[_ngcontent-%COMP%]{margin-left:10px}.save-search-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-left:auto;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:2px;padding:0 5px}.save-search-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;outline:none}[_nghost-%COMP%]     .bv2-adv-search-rule{background-color:#fff;background-color:var(--surface-default);display:flex;border-radius:10px;width:initial}[_nghost-%COMP%]     .bv2-adv-search-rule-title{display:flex}[_nghost-%COMP%]     .bv2-adv-search-rule-content{flex-grow:1;padding-right:25px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-enum-item{min-width:130px;max-width:130px}[_nghost-%COMP%]     .bv2-adv-search-chip-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);outline:0}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select{border-radius:5px;letter-spacing:0;min-width:105px;padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select .goog-flat-menu-button-dropdown{border:0;height:initial;margin-top:initial;position:relative;right:initial;top:initial;width:initial}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled){border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#3c4043;color:var(--gfx);padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):hover, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):active, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):not(.mdc-ripple-upgraded):focus{padding-right:24px;border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default);box-shadow:none}[_nghost-%COMP%]     .goog-flat-menu-button.goog-flat-menu-button-open.jfk-select{background-color:#fff;background-color:var(--surface-default)}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override), [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);height:28px;margin:0;padding-left:10px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override):focus, [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override):focus{border-color:#3c4043;border-color:var(--gfx);outline:0}[_nghost-%COMP%]     .bv2-adv-search-chip-add-btn{margin-right:20px}[_nghost-%COMP%]     .bv2-adv-search-chip{display:inline-flex;align-items:center;border:none;background-color:#fff;background-color:var(--surface-default);height:32px;width:100%;margin-bottom:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-container{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content{width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content input[type=text]:not(.override){width:calc(100% - 10px)}[_nghost-%COMP%]     .bv2-adv-search-chip-content .bv2-adv-search-chip-delete-btn{margin-left:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-content-selectable .goog-flat-menu-button{height:32px;margin:0;width:100%;text-align:left}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn{display:inline-flex;align-items:center;font-family:"Google Sans",Roboto,Arial,sans-serif;height:32px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:5px;box-sizing:border-box;color:#3c4043;color:var(--gfx)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:hover, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:active, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:focus{border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:after{margin-left:auto;content:"";width:16px;height:16px;background:no-repeat url("https://www.gstatic.com/buganizer/img/v0/edit.svg") 0 -2px;margin-right:5px;opacity:.6}[_nghost-%COMP%]     .bv2-adv-search-chip-content-text{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;line-height:1rem;padding-left:12px;vertical-align:middle}/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var cgd=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new Vv;this.searchBoxOnAdvancedSearchClose=new Vv;this.searchBoxOnAdvancedSearchSubmit=new Vv;this.searchBoxOnSaveSearch=new Vv};cgd.\u0275fac=function(a){return new (a||cgd)(C(sK))};
cgd.\u0275cmp=Bc({type:cgd,selectors:[["b-app-top-bar"]],inputs:{logoEnvironmentType:"logoEnvironmentType",logoFrontendAccessMode:"logoFrontendAccessMode",isSearchDisabled:"isSearchDisabled",searchBoxPlaceholder:"searchBoxPlaceholder",searchBoxAutoCompleteItems:"searchBoxAutoCompleteItems",searchBoxAutoCompleteHeader:"searchBoxAutoCompleteHeader"},outputs:{searchBoxOnAdvancedSearchOpen:"searchBoxOnAdvancedSearchOpen",searchBoxOnAdvancedSearchClose:"searchBoxOnAdvancedSearchClose",searchBoxOnAdvancedSearchSubmit:"searchBoxOnAdvancedSearchSubmit",
searchBoxOnSaveSearch:"searchBoxOnSaveSearch"},ngContentSelectors:["*"],decls:6,vars:12,consts:[[3,"environmentType","frontendAccessMode","tracker","associatedTrackers"],[3,"placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled","onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch"]],template:function(a,b){a&1&&(tf(),I(0,"b-app-logo",0),S(1,"async"),S(2,"async"),G(3,"b-app-search-box",1),M("onAdvancedSearchOpen",function(){return b.searchBoxOnAdvancedSearchOpen.emit()})("onAdvancedSearchClose",
function(){return b.searchBoxOnAdvancedSearchClose.emit()})("onAdvancedSearchSubmit",function(){return b.searchBoxOnAdvancedSearchSubmit.emit()})("onSaveSearch",function(c){return b.searchBoxOnSaveSearch.emit(c)}),uf(4),H(),I(5,"b-app-actions"));a&2&&(F("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",T(1,8,b.currentTracker.tracker$))("associatedTrackers",T(2,10,b.currentTracker.associatedTrackers$)),z(3),F("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",
b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[d5,Nfd,g5,zw],styles:["[_nghost-%COMP%]{display:flex;align-items:center}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}/*# sourceMappingURL=app_top_bar.css.map */"],changeDetection:0});var i5=function(){};i5.\u0275fac=function(a){return new (a||i5)};i5.\u0275mod=Dc({type:i5});i5.\u0275inj=nc({imports:[BF,pA,wC,dN]});var j5=function(){};j5.\u0275fac=function(a){return new (a||j5)};j5.\u0275mod=Dc({type:j5});j5.\u0275inj=nc({imports:[BF,wC,$B,SB,XC]});var k5=function(){};k5.\u0275fac=function(a){return new (a||k5)};k5.\u0275mod=Dc({type:k5});k5.\u0275inj=nc({imports:[BF,$B,wC,SB,XC]});var l5=function(){};l5.\u0275fac=function(a){return new (a||l5)};l5.\u0275mod=Dc({type:l5});l5.\u0275inj=nc({imports:[BF,wC,$B,XC]});var m5=function(){};m5.\u0275fac=function(a){return new (a||m5)};m5.\u0275mod=Dc({type:m5});m5.\u0275inj=nc({providers:[wP]});var n5=function(){};n5.\u0275fac=function(a){return new (a||n5)};n5.\u0275mod=Dc({type:n5});n5.\u0275inj=nc({imports:[BF,wC,$B,XC,m5]});var o5=function(){};o5.\u0275fac=function(a){return new (a||o5)};o5.\u0275mod=Dc({type:o5});o5.\u0275inj=nc({imports:[BF,SB,wC,LS,XC,$B,ez,ox,vN,k5,AY,l5,sO,sA,X4,n5,i5,j5,YM]});var p5=function(){};p5.\u0275fac=function(a){return new (a||p5)};p5.\u0275mod=Dc({type:p5});p5.\u0275inj=nc({imports:[BF,wC,pA]});var q5=function(){};q5.\u0275fac=function(a){return new (a||q5)};q5.\u0275mod=Dc({type:q5});q5.\u0275inj=nc({imports:[BF,ox,wC,BA,yA,pA,oV]});var r5=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 Vv;this.selectedChange=new Vv;this.cardTitleChange=new Vv;this.onSaveButtonClicked=new Vv;this.onCancelButtonClicked=
new Vv;this.isInheritedChange=new Vv;this.isExpanded=!1};r5.prototype.expand=function(){this.isExpanded=!0};r5.prototype.collapse=function(){this.isExpanded=!1};r5.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};r5.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};r5.\u0275fac=function(a){return new (a||r5)};
r5.\u0275cmp=Bc({type:r5,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&&(tf(),G(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),M("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),H(),Q(3,Rkb,3,3,"ng-container",3),G(4,"button",4),M("click",function(){b.isExpanded?b.collapse():b.expand()}),Q(5,Skb,1,0,"mat-icon",5),Q(6,Tkb,1,0,"mat-icon",6),H(),Q(7,Ykb,3,7,"ng-template",null,
7,Vf),H(),Q(9,Zkb,2,0,"div",8),Q(10,dlb,9,6,"div",9),H());if(a&2){var c=yf(8);bf("aria-expanded",b.isExpanded);z(2);mf("expanded-checkbox",b.isExpanded);F("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);z(1);F("ngIf",!b.isExpanded)("ngIfElse",c);z(1);F("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");bf("aria-label",b.isExpanded?"Collapse editor":"Expand editor");z(1);F("ngIf",b.isExpanded);z(1);F("ngIf",!b.isExpanded);z(3);F("ngIf",b.isExpanded);z(1);F("ngIf",b.isExpanded)}},
dependencies:[rw,sw,tw,JA,kg,Uw,kx,lx,$w,BN,Yz,DS,xA,wA,iO,hO,$z,AL,AA,ZB],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 s5=function(){};s5.\u0275fac=function(a){return new (a||s5)};s5.\u0275mod=Dc({type:s5});s5.\u0275inj=nc({imports:[BF,ox,fO,wC,kT,$B,jO,LS,BA,XC]});var t5=function(a){r.call(this,a,0,t5.messageId)};U(t5,r);t5.prototype.getFieldIdList=function(){return Ch(this,zi,1)};t5.prototype.setFieldIdList=function(a){return aj(this,1,a)};t5.prototype.setFieldId=function(a){Ds(this,1,zi,a)};t5.repeatedFields_=[1];t5.prototype.toObject=function(){if(null!=this){t(this);var a={fieldIdList:Gb(this.getFieldIdList(),X7b)}}else a=void 0;return a};t5.messageId="b.ReorderFieldsRequest";var u5=function(a){r.call(this,a,0,u5.messageId)};U(u5,r);u5.prototype.getFieldIdList=function(){return Ch(this,zi,1)};u5.prototype.setFieldIdList=function(a){return aj(this,1,a)};u5.prototype.setFieldId=function(a){Ds(this,1,zi,a)};u5.repeatedFields_=[1];u5.prototype.toObject=function(){if(null!=this){t(this);var a={fieldIdList:Gb(this.getFieldIdList(),X7b)}}else a=void 0;return a};u5.messageId="b.ReorderFieldsResponse";var v5=function(a){this.executor=a};v5.prototype.updateCustomFieldState=function(a,b,c){var d=new zi;d.setCustomFieldId(b);var e=new hD;e.setFieldId(d);e.setStateOnIssues(c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:hD})};v5.prototype.reorder=function(a,b){b=(new t5).setFieldIdList(b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:u5})};v5.\u0275fac=function(a){return new (a||v5)(u(ZC))};
v5.\u0275prov=mc({token:v5,factory:v5.\u0275fac,providedIn:"root"});var dgd=["SILENT","MINOR","MAJOR"];var egd=["fieldStateMenu"],hlb=function(a){return{type:a}},w5=function(a,b,c,d,e,g,h,l,q,x,A){jE.call(this);var B=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=x;this.appEvents=A;this.FieldType=GTc;this.ListFieldType=OTc;this.getSingleEditFieldType=d4a;this.getListFieldType=V4a;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=dgd;Object.keys(tqa).slice(0).filter(function(K){return"UNSPECIFIED"!==K});this.componentId=Ph(this.routeParams.componentId);this.subscriptions.add(YO(b,function(){return B.hasUnsavedChanges()},!0))};U(w5,jE);w5.\u0275dir=jE.\u0275dir;
w5.prototype.ngOnInit=function(){this.loadCustomFields()};w5.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};
w5.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||cqc())this.editableField=Lh(this.customFields[a]),this.originalEditableFieldValue=Lh(this.editableField),this.serverError=null,this.setType(this.editableField.type),llb(this,this.editableField.allowedValue)};
var xlb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:cn("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)}})};
w5.prototype.doDelete=function(a){var b=this;LF(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");LF(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
w5.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=Ol(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)};
w5.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,g){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(Pe(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=Ol(h);d.isLoading=!1;g(h)})})};w5.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var olb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&Mh(b)?b:void 0,e="DATE"===c&&b&&Wpa(b)?b:void 0,g="ENUM"===c&&Mh(b)?b:void 0,h="NUMERIC"===c&&hqa(b)?b:void 0,l="REPEATED_TEXT"===c&&Nh(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(Wpa);q=q?{values:b}:void 0;var x="REPEATED_ENUM"===c&&Nh(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&iqa(b)?{values:b}:void 0;a.editableField.typedDefaultValue=new Wh({customFieldId:a.editableField.customFieldId,textValue:d,
dateValue:e,enumValue:g,numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:x,repeatedNumericValue:b})};
w5.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 llb=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}}):[]};w5.prototype.hasUnsavedChanges=function(){return this.editableField&&!Kh(this.editableField,this.originalEditableFieldValue)?!0:!1};
w5.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 Jp(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 Dlb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};w5.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var plb=function(a){var b,c;return null==(b=a.editableField)?void 0:null==(c=b.typedDefaultValue)?void 0:c.getValue()};w5.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};w5.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
w5.\u0275fac=function(a){return new (a||w5)(C(VF),C(XO),C(KF),C(oH),C(YI),C(LT),C(v5),C(vI),C(DG),C(wI),C(SF))};
w5.\u0275cmp=Bc({type:w5,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&Qf(egd,5);if(a&2){var c;Pf(c=Sf())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[Ye,Uc],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&&(G(0,"div",0),Q(1,ulb,68,32,"div",1),Q(2,vlb,2,1,"div",2),Q(3,Jlb,26,7,"div",3),H());a&2&&(z(1),F("ngIf",b.editableField&&!b.isLoading),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[rw,sw,tw,ax,kg,Uw,Vw,kx,$w,Yw,HZ,DZ,GM,p1,xJ,yJ,CJ,zJ,cZ,ZB,
RB,PB,QB,OB,Yz,IT,NZ,zL,xG,jJ,iJ,lJ],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 x5=function(){};x5.\u0275fac=function(a){return new (a||x5)};x5.\u0275mod=Dc({type:x5});x5.\u0275inj=nc({imports:[BF,ox,IZ,EZ,bN,q1,JM,hZ,XC,SB,wC,jO,JT,OZ,oJ,eN,BG]});var y5=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new Vv;this.addRow=new Vv;this.optionsChange=new Vv};y5.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};y5.prototype.drop=function(a){nn(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};y5.\u0275fac=function(a){return new (a||y5)};
y5.\u0275cmp=Bc({type:y5,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&&(G(0,"div",0)(1,"div",1)(2,"span",2),R(3," Dropdown value "),H()(),G(4,"div",3)(5,"span",4),R(6," Average days "),H(),I(7,"mat-icon",5),H()(),G(8,"div",6),M("cdkDropListDropped",function(c){return b.drop(c)}),Q(9,Llb,12,13,"div",7),H(),Q(10,Mlb,2,0,"button",8));a&2&&(z(2),mf("muted",b.disabled),z(3),mf("muted",b.disabled),z(2),F("matTooltip","All estimated effort types map to an average number of days."),z(2),F("ngForOf",b.options),z(1),F("ngIf",!b.disabled))},dependencies:[sw,tw,JA,xA,AA,
Yz,ZB,HK,FK,AK],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 z5=function(){this.disabled=!1;this.valueChange=new Vv};z5.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};z5.\u0275fac=function(a){return new (a||z5)};
z5.\u0275cmp=Bc({type:z5,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&&(G(0,"div",0)(1,"div",1)(2,"span",2),R(3," Time "),H(),G(4,"span",3),R(5,"1"),H()(),G(6,"div",1)(7,"div",4)(8,"span",5),R(9," Average days "),H(),I(10,"mat-icon",6),H(),G(11,"mat-form-field",
7)(12,"input",8,9),M("change",function(d){return b.onValueChange(d)}),H()()()());if(a&2){var c=yf(13);z(2);mf("muted",b.disabled);z(6);mf("muted",b.disabled);z(2);F("matTooltip","All estimated effort types map to an average number of days.");z(1);F("appearance",c.focused?"standard":"none");z(1);F("disabled",b.disabled)("value",b.value)}},dependencies:[JA,xA,AA,ZB],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 B5=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new Vv;this.configurationOptions=[fgd,ggd,A5];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=Y7b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=hE(this.activeSession,"enableAggregationRules")};
B5.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=A5)};B5.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=Lh(this.effortSpec),this.setValues(this.effortSpec))};
B5.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=A5;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 hgd=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===fgd.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===ggd.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===A5.displayText?"numeric":"empty"};B5.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
B5.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 igd=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};B5.\u0275fac=function(a){return new (a||B5)(C(ds))};
B5.\u0275cmp=Bc({type:B5,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[Uc],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&&(G(0,"b-collapsible-card",0),M("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===fgd.displayText?(b.enumSpecOptions=[].concat(Pc(jgd)),b.name="Story points"):c.displayText===ggd.displayText?(b.enumSpecOptions=[].concat(Pc(kgd)),b.name="T-shirt sizes"):c.displayText===A5.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)===A5.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||igd(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,igd(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||igd(b)):b.effortSpec&&(b.setValues({}),igd(b));
b.inherit=c}),G(1,"div",1),Q(2,Olb,2,1,"ng-container",2),Q(3,Plb,2,2,"ng-container",2),Q(4,Qlb,1,0,"ng-container",2),H(),Q(5,Rlb,23,13,"div",3),H(),Q(6,Slb,1,2,"ng-template",null,4,Vf));a&2&&(F("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),F("ngSwitch",hgd(b)),z(1),F("ngSwitchCase","enum"),z(1),F("ngSwitchCase","numeric"),z(1),F("ngSwitchCase","empty"),z(1),F("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[tw,yw,uw,vw,JA,xA,Zz,r5,ZB,iO,hO,$z,y5,z5,C5]},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 jgd=[{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}],kgd=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],fgd={displayText:"Story points",icon:"story-point-24px"},ggd={displayText:"T-shirt sizes",icon:"t-shirt-24px"},A5={displayText:"Time",icon:"time-24px"},C5=function(){};
C5.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};C5.\u0275fac=function(a){return new (a||C5)};C5.\u0275pipe=Hc({name:"aggregationRuleText",type:C5,pure:!0});var lgd=function(){this.disabled=!1;this.updateComponent=new Vv};lgd.\u0275fac=function(a){return new (a||lgd)};
lgd.\u0275cmp=Bc({type:lgd,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&&(G(0,"div",0)(1,"div",1),R(2,"Once activated, standard fields appear in the right panel of all issues."),H(),G(3,"b-estimated-effort-config",
2),M("updateEffortSpec",function(c){b.updateComponent.emit(c)}),H()());a&2&&(z(3),F("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[B5],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var D5=function(){};D5.\u0275fac=function(a){return new (a||D5)};D5.\u0275mod=Dc({type:D5});D5.\u0275inj=nc({imports:[BF,BA,wC,$B,fO,s5,XC,jO,IK]});var E5=function(){};E5.\u0275fac=function(a){return new (a||E5)};E5.\u0275mod=Dc({type:E5});E5.\u0275inj=nc({imports:[BF,s5,D5]});var mgd={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var F5=function(a,b,c,d,e,g,h,l,q,x){jE.call(this);var A=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=x;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=mgd;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new ngd(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=lfc(this.teamsService,this.teamSuggestionIds).pipe(D(function(B){for(var K=[],O=k(A.teamSuggestionIds),P=O.next();!P.done;P=O.next()){P=P.value;var Y=B.get(P);Y&&K.push(new ngd(P,Y.collapsedPathNames))}return K}),Ne([]));this.myTeams$=JH(this.teamsService,"").pipe(D(function(B){return B.map(function(K){return new ngd(K.teamId,K.pathNames)})}));
(0,E.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(D(function(B){var K=k(B);B=K.next().value;K=K.next().value;return[].concat(Pc(B),Pc(K))}),D(Dua(function(B){return B.teamId})),Pe(this.destroyed$)).subscribe(function(B){A.teamOptions=B;A.selectedTeam=B[0]})};U(F5,jE);F5.\u0275dir=jE.\u0275dir;F5.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
F5.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;ogd(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):ogd(this,"0",this.selectedTeam.teamId);else{var b=Lh(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});bhc(this.userPreferencesManager,b).pipe(Pe(this.destroyed$)).subscribe(function(){a.analytics.trackEvent(Gn.TEAM_WARNING,
"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var ogd=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent(Gn.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)})};
F5.prototype.selectOption=function(a){this.selectedTeam=a};F5.prototype.trackClick=function(a){this.analytics.trackEvent(Gn.TEAM_WARNING,"click",a)};F5.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};F5.\u0275fac=function(a){return new (a||F5)(C(jA),C(hA),C(TS),C(HH),C(LT),C(BI),C(IF),C(oH),C(OF),C(mF))};
F5.\u0275cmp=Bc({type:F5,selectors:[["b-team-warning-dialog"]],features:[Ye],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&&(G(0,"h1",0),R(1),H(),Q(2,Ulb,5,1,"div",1),
Q(3,Vlb,5,1,"div",1),Q(4,Wlb,7,1,"mat-radio-group",2),Q(5,$lb,6,6,"div",3),G(6,"mat-dialog-actions")(7,"button",4),R(8," Cancel "),H(),G(9,"button",5),M("click",function(){return b.confirm()}),R(10," Confirm "),H()());a&2&&(z(1),Af(b.header),z(1),F("ngIf",b.warningType===b.WarningType.MISSING),z(1),F("ngIf",b.warningType===b.WarningType.DELETED),z(1),F("ngIf",b.warningType===b.WarningType.MISSING),z(1),F("ngIf",0<b.teamOptions.length))},dependencies:[tw,JA,Uw,$w,Yz,Zz,lA,mA,nA,oA,DM,EM,ZB,NY],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 ngd=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var G5=function(a,b){jE.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new Vv};U(G5,jE);G5.\u0275dir=jE.\u0275dir;G5.prototype.ngOnInit=function(){};G5.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")};
G5.prototype.openDialog=function(){var a=this;this.analytics.trackEvent(Gn.TEAM_WARNING,"open");fA(this.matDialogService.open(F5,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(Pe(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};G5.\u0275fac=function(a){return new (a||G5)(C(kA),C(oH))};
G5.\u0275cmp=Bc({type:G5,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[Ye,Uc],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(G(0,"b-callout",0)(1,"b-callout-body"),R(2),H(),Q(3,amb,3,1,"b-callout-actions",1),H());
a&2&&(z(2),zf(" ",b.warningMessage," "),z(1),F("ngIf",!b.messageOnly))},dependencies:[VO,mX,nX,tw],encapsulation:2});var H5=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new Vv;this.inherit=!1;this.selectedTeam$=new E.Subject;this.teamIdChanged$=new E.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(D(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),Ne(""));this.teamFromId$=this.teamIdChanged$.pipe(Oe(function(c){return"0"===
c?(0,E.of)(new vib([c],[""],"")):IH(b.teamsService,c).pipe(D(function(d){return new vib([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,E.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(Oe(function(c){return"0"===c?(0,E.of)("MISSING"):b.teamsService.getTeam(c).pipe(D(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
H5.prototype.updateSelectionOnChange=function(a){Lm(Gn.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);pgd(this)};var pgd=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};H5.prototype.ngOnInit=function(){Object.assign({},this.model);pgd(this)};var emb=function(a){return a.model.id&&"0"!==a.model.id};
H5.prototype.getMomaTeamLink=function(){return emb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};H5.\u0275fac=function(a){return new (a||H5)(C(HH))};
H5.\u0275cmp=Bc({type:H5,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&&(G(0,"div"),Q(1,cmb,2,1,"ng-container",0),S(2,"async"),Q(3,dmb,3,2,"div",1),G(4,"div",2)(5,"label",3),R(6,"Team selection"),H(),G(7,"b-team-picker",4),M("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);pgd(b)}),S(8,"async"),S(9,"async"),H(),Q(10,gmb,2,1,"ng-container",5),H()(),Q(11,imb,1,1,"ng-template",null,6,Vf));if(a&2){var c=yf(12);z(1);F("ngIf",T(2,7,b.warningType$));z(2);F("ngIf",!b.isTopLevel);z(4);F("placeholder",T(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",T(9,11,b.displayedTeam$));z(3);F("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[tw,JA,BN,ZB,L4,G5,Zz,xG,zw],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 I5=function(){};I5.\u0275fac=function(a){return new (a||I5)};I5.\u0275mod=Dc({type:I5});I5.\u0275inj=nc({imports:[gS,yX,BF,ox,wC,pA,$B,gN,HF,XC,ZY]});var J5=function(){};J5.\u0275fac=function(a){return new (a||J5)};J5.\u0275mod=Dc({type:J5});J5.\u0275inj=nc({imports:[BF,HO,fO,XC,O4,I5,ox,$B,wC,BG]});var K5=function(){};K5.\u0275fac=function(a){return new (a||K5)};K5.\u0275mod=Dc({type:K5});K5.\u0275inj=nc({imports:[BF,ox,wC,BA,yA,pA]});var L5=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},qgd=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};L5.prototype.drop=function(a){nn(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var jmb=function(a,b){return 0<b?(nn(a.fields,b,b-1),a.detectChanges(),!0):!1},kmb=function(a,b){return b<a.fields.length-1?(nn(a.fields,b,b+1),a.detectChanges(),!0):!1};L5.prototype.trackByFn=function(){return-1};L5.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.")};
L5.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();rgd(this,b);break;case "Tab":this.grabbed&&rgd(this,b);break;case "ArrowUp":sgd(this,a);break;case "ArrowDown":sgd(this,a)}};
var rgd=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."))},sgd=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(jmb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else kmb(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."))}}};L5.prototype.detectChanges=function(){this.hasChanges=!Kh(this.fields,this.originalFields)};L5.\u0275fac=function(a){return new (a||L5)(C(jA),C(hA),C(Dy))};
L5.\u0275cmp=Bc({type:L5,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&&(G(0,"div",0)(1,"div",1)(2,"h1",2),R(3," Reorder custom fields "),H(),G(4,"button",3),M("click",function(){return qgd(b)}),I(5,"mat-icon",4),H()()(),G(6,"div",5)(7,"ol",6),M("cdkDropListDropped",function(c){return b.drop(c)}),Q(8,lmb,9,7,"li",7),H()(),G(9,"div",8)(10,"button",9),M("click",function(){return b.dialogRef.close()}),R(11," Cancel "),H(),G(12,"button",10),M("click",function(){return b.dialogRef.close(b.fields)}),R(13," Save "),H()());a&2&&(z(8),
F("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),z(4),F("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[sw,JA,Yz,mA,nA,oA,HK,FK,AK,ZB],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 M5=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 Vv;this.displayedColumn=["index","name","type","required","customFieldId"]},zmb=function(a){return fA(a.matDialog.open(L5,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&tgd(a,b)})},Amb=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:cn("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()}})},tgd=function(a,b){a.analytics.trackEvent(Gn.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return(new zi).setCustomFieldId(d.customFieldId)});a.componentId?(LF(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){LF(a.butterBar,"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){MF(a.butterBar,"Saving ordering failed, please refresh the page.",5E3)})):MF(a.butterBar,"Saving ordering failed due to the undefined component id.")};
M5.prototype.reset=function(){var a=this;this.analytics.trackEvent(Gn.FIELD_ORDERING,"resetFields");this.componentId?(LF(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:lE}).subscribe(function(){LF(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){MF(a.butterBar,"Reset failed.")})):MF(this.butterBar,"Reset failed due to the undefined component id.")};
M5.\u0275fac=function(a){return new (a||M5)(C(kA),C(wI),C(v5),C(oH),C(KF))};
M5.\u0275cmp=Bc({type:M5,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&&(G(0,"div",0)(1,"div",1)(2,"table",2),J(3,3),Q(4,mmb,2,0,"th",4),Q(5,nmb,2,1,"td",5),L(),J(6,6),Q(7,omb,2,0,"th",
4),Q(8,pmb,2,1,"td",5),L(),J(9,7),Q(10,qmb,2,0,"th",4),Q(11,rmb,3,3,"td",5),L(),J(12,8),Q(13,smb,2,0,"th",4),Q(14,tmb,2,1,"td",5),L(),J(15,9),Q(16,umb,2,0,"th",4),Q(17,vmb,2,1,"td",5),L(),Q(18,wmb,1,0,"tr",10),Q(19,xmb,1,0,"tr",11),H(),Q(20,ymb,2,0,"div",12),H(),Q(21,Bmb,6,2,"div",13),H());a&2&&(z(2),F("dataSource",b.fields),z(16),F("matHeaderRowDef",b.displayedColumn),z(1),F("matRowDefColumns",b.displayedColumn),z(1),F("ngIf",0===b.fields.length),z(1),F("ngIf",b.isAdmin))},dependencies:[tw,Yz,mL,
eL,iL,fL,dL,jL,gL,hL,kL,lL,oO],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 N5=function(){};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275mod=Dc({type:N5});N5.\u0275inj=nc({providers:[wI],imports:[BF,wC,pA]});var O5=function(){};O5.\u0275fac=function(a){return new (a||O5)};O5.\u0275mod=Dc({type:O5});O5.\u0275inj=nc({imports:[BF,wC,gS,pA,sN,IK,XC,bN,$B,N5,qO]});var P5=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},Dmb=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="+ugd+a.issueId+vgd;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
P5.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};P5.\u0275fac=function(a){return new (a||P5)(C(oH))};
P5.\u0275cmp=Bc({type:P5,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&&(G(0,"div",0)(1,"a",1),M("click",function(){return b.trackClick("fileName")}),R(2),H(),Q(3,Cmb,2,1,"span",2),Q(4,Fmb,5,1,"span",2),H());a&2&&(z(1),F("href",Dmb(b,b.lineNumbers),Id),z(1),zf(" ",b.filename," "),z(1),F("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),z(1),F("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[sw,tw],encapsulation:2});
var ugd=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),vgd=encodeURIComponent("(\\b|$)");var Q5=function(){};Q5.\u0275fac=function(a){return new (a||Q5)};Q5.\u0275mod=Dc({type:Q5});Q5.\u0275inj=nc({imports:[BF]});var R5=function(){this.isReady=!1};R5.\u0275fac=function(a){return new (a||R5)};R5.\u0275cmp=Bc({type:R5,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&&(tf(),Q(0,Gmb,1,0,"div",0),Q(1,Hmb,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),z(1),F("ngIf",b.isReady))},dependencies:[tw],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 wgd=function(){this.warning=""};wgd.\u0275fac=function(a){return new (a||wgd)};
wgd.\u0275cmp=Bc({type:wgd,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&mf("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&&Q(0,Imb,2,1,"svg",0);a&
2&&F("ngIf",b.warning)},dependencies:[tw,ZB],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 xgd=["*",[["","actions",""]]],ygd=[[["onedev-field-label"]],[["onedev-field-value"]]],zgd=0,S5=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+zgd;zgd++};S5.\u0275fac=function(a){return new (a||S5)};
S5.\u0275cmp=Bc({type:S5,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&bf("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&&(tf(),G(0,"onedev-async-data-placeholder",0)(1,"span",1),uf(2),H(),I(3,"onedev-warning-icon",2),H());a&2&&(F("isReady",!b.thinking),z(1),F("matTooltip",b.labelTooltip),z(2),F("warning",
b.warning))},dependencies:[R5,ZB,wgd],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var T5=function(){this.thinking=!1};T5.\u0275fac=function(a){return new (a||T5)};
T5.\u0275cmp=Bc({type:T5,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(tf(xgd),G(0,"onedev-async-data-placeholder",0),uf(1),uf(2,1),H());a&2&&F("isReady",!b.thinking)},dependencies:[R5],encapsulation:2});var U5=function(){this.labelPosition="left"};U5.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
U5.\u0275fac=function(a){return new (a||U5)};
U5.\u0275cmp=Bc({type:U5,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(Rf(c,MY,5),Rf(c,S5,7));if(a&2){var d;Pf(d=Sf())&&(b.field=d.first);Pf(d=Sf())&&(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&&(tf(ygd),G(0,"div",0),uf(1),uf(2,1),H());a&2&&mf("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 Agd=["popOverContent"],V5=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.closedWithAction=new Vv;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.backdropClickSubscription=E.Subscription.EMPTY};V5.prototype.ngOnInit=function(){};V5.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
V5.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(Pe(this.destroyed$)).subscribe(function(){Lmb(a)}))};V5.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var Kmb=function(a){a.closedWithAction.emit(0);a.close()},Lmb=function(a){a.closedWithAction.emit(1);a.close()};f=V5.prototype;f.processKeydown=function(a){switch(a.key){case "Escape":Lmb(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)Kmb(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(Kmb(this),a.stopPropagation(),a.preventDefault())}};
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:8+this.anchor.offsetWidth});a.overlayElement.setAttribute("role","dialog");return a};
f.attach=function(){var a=new Cx(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=pXb(lz(nz(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return jz(a,Bgd)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
V5.\u0275fac=function(a){return new (a||V5)(C(oz),C(Nf))};
V5.\u0275cmp=Bc({type:V5,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&Qf(Agd,7);if(a&2){var c;Pf(c=Sf())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport"},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&&Q(0,Mmb,8,2,"ng-template",null,0,Vf)},dependencies:[yw,ux,Yz],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 Bgd=[{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 Cgd=["popOver"],Omb=function(a){return{$implicit:a}},W5=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new Vv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};U(W5,MY);f=W5.prototype;f.ngOnInit=function(){};f.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
f.valueChanged=function(){return Tmb(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=Tmb(this.editingValue),this.valueChange.emit(a))};f.writeValue=function(a){var b=Tmb(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};ch.Object.defineProperties(W5.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});W5.\u0275fac=function(a){return new (a||W5)(kd("required"))};
W5.\u0275cmp=Bc({type:W5,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&Qf(Cgd,7);if(a&2){var c;Pf(c=Sf())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Cf([{provide:Jw,useExisting:sc(function(){return W5}),multi:!0},{provide:MY,useExisting:sc(function(){return W5}),multi:!0}]),Ye],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&&(G(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),G(2,"span"),Q(3,Pmb,2,4,"ng-container",2),Q(4,Qmb,1,1,"ng-template",null,3,Vf),H(),Q(6,Rmb,2,0,"svg",4),H(),G(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(g){return b.stopEditing(g)}),H(),Q(9,Smb,1,1,"ng-template",null,7,Vf));if(a&2){var c=yf(1),
d=yf(5),e=yf(10);F("disabled",b.disabled);z(3);F("ngIf",b.valueTemplate)("ngIfElse",d);z(3);F("ngIf",!b.disabled&&b.displayEditIcon);z(1);F("anchor",c)("editorTemplate",e)}},dependencies:[tw,yw,kg,bx,Uw,$w,V5],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 Zmb=function(){return[]},X5=function(){this.disabled=this.thinking=!1;this.effortChange=new Vv;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
X5.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=Dgd(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=Egd(this)};X5.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=Egd(this);this.effortChange.emit(this.effort)};X5.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
X5.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 Egd=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"===Dgd(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},Dgd=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"}};X5.\u0275fac=function(a){return new (a||X5)};
X5.\u0275cmp=Bc({type:X5,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[Uc],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&&(Q(0,bnb,16,7,"onedev-edit-field",0),Q(1,enb,3,2,"ng-template",null,1,Vf));a&2&&F("ngIf",b.effortSpec)},dependencies:[tw,uw,vw,ww,
JA,S5,T5,U5,NY,W5,xJ,CJ],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 Y5=function(){};Y5.\u0275fac=function(a){return new (a||Y5)};Y5.\u0275mod=Dc({type:Y5});Y5.\u0275inj=nc({imports:[Hw]});var Z5=function(){};Z5.\u0275fac=function(a){return new (a||Z5)};Z5.\u0275mod=Dc({type:Z5});Z5.\u0275inj=nc({imports:[Hw,XC]});var $5=function(){};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275mod=Dc({type:$5});$5.\u0275inj=nc({imports:[Y5,Hw,XC,Z5]});var a6=function(){};a6.\u0275fac=function(a){return new (a||a6)};a6.\u0275mod=Dc({type:a6});a6.\u0275inj=nc({imports:[Hw,Ey,rz,Hx,wC]});var b6=function(){};b6.\u0275fac=function(a){return new (a||b6)};b6.\u0275mod=Dc({type:b6});b6.\u0275inj=nc({imports:[Hw,ox,a6]});var c6=function(){};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275mod=Dc({type:c6});c6.\u0275inj=nc({imports:[BF,XC,$B,$5,ZY,b6,JM]});var d6=function(a){eF.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};U(d6,eF);f=d6.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)};
d6.\u0275fac=function(a){return new (a||d6)(u(qS))};d6.\u0275prov=mc({token:d6,factory:d6.\u0275fac,providedIn:"root"});var e6=function(a,b,c,d,e){jE.call(this);var g=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new Vv;this.onSloEndTimeChange=new Vv;this.providedSloId$=new E.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(Oe(function(h){return g.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.shouldShowSloEditButton=this.shouldShowSloStartEditButton=this.isAccordionExpanded=
!1};U(e6,jE);e6.\u0275dir=jE.\u0275dir;e6.prototype.ngOnInit=function(){var a=this;Fgd(this);this.userPreferencesManager.layoutPreferences$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};e6.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);Fgd(this)};
var Fgd=function(a){a.hasSlo=!!a.sloStatus&&Uhc(a.sloStatus);a.shouldShowSloStartEditButton=a.isEditable&&a.hasSlo;a.shouldShowSloEditButton=hE(a.session,"enableSloEndTime")&&a.isEditable;a.hasClosureSlo=!!a.sloStatus&&Vhc(a.sloStatus,"CLOSURE");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=bJ(ki(c))?c.targetTime:void 0):c=void 0;a.closureSloTarget=null!=(b=null==c?void 0:c.seconds)?b:0;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},Ggd=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;Xgc(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(Pe(a.destroyed$)).subscribe();Lm(Gn.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};e6.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};e6.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
e6.prototype.trackOpenSlo=function(){Lm(Gn.EDIT_SLO,"open","fromIssueSloBox")};e6.\u0275fac=function(a){return new (a||e6)(C(ds),C(BI),C(aJ),C(DG),C(d6))};
e6.\u0275cmp=Bc({type:e6,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:[Ye,Uc],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"],[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"],["href","http://go/buganizer/guides/defer-slos","mat-icon-button","","aria-label","View help page on deferring slos",
"matTooltip","View help page on deferring slos","target","_blank",1,"bv2-metadata-link","small","margin-xs-left"],["svgIcon","help-outline",1,"icon-s"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["mode","date",3,"timestamp"],[3,"sloStatus","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&&(G(0,"span",0),M("click",function(){return Ggd(b)}),G(1,"label"),R(2,"SLO Status"),H()(),G(3,"div",1)(4,"div",2)(5,"div",3),I(6,"b-aggregated-slo-status-indicator",4),H(),G(7,"div",3),I(8,"b-slo-status-summary",5),H(),G(9,"button",6),M("click",function(){return Ggd(b)}),Q(10,fnb,1,0,"mat-icon",7),Q(11,gnb,1,0,"mat-icon",8),H()(),G(12,"div",9),Q(13,knb,10,4,"div",10),Q(14,pnb,11,5,"div",11),Q(15,rnb,4,3,"div",12),Q(16,snb,
3,1,"div",12),H()());a&2&&(z(5),F("hidden",b.isAccordionExpanded),z(1),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),z(1),F("hidden",!b.isAccordionExpanded),z(1),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),z(1),bf("aria-expanded",b.isAccordionExpanded),z(1),F("ngIf",!b.isAccordionExpanded),z(1),F("ngIf",b.isAccordionExpanded),z(1),F("hidden",!b.isAccordionExpanded),
z(1),F("ngIf",b.shouldShowSloStartEditButton),z(1),F("ngIf",b.shouldShowSloEditButton&&b.hasSlo),z(1),F("ngIf",b.editSloLink),z(1),F("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[tw,JA,ZB,Yz,Zz,vS,iK,tS,B_,qz,pz,zw],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-edit[_ngcontent-%COMP%]   b-icon[_ngcontent-%COMP%]{margin-left:4px;vertical-align:top}.slo-action[_ngcontent-%COMP%]   .slo-definition[_ngcontent-%COMP%]{vertical-align:middle;min-height:24px}.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 f6=function(){};f6.\u0275fac=function(a){return new (a||f6)};f6.\u0275mod=Dc({type:f6});f6.\u0275inj=nc({imports:[BF,XC,wC,$B,zS,IM,xS,z1,rz]});var Hgd=function(){return{width:400}},Igd=function(){return[]},g6=function(a,b,c,d,e,g,h,l,q){var x=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=l;this.cdr=q;this.includeArchived$=new E.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(Oe(function(A){return A?x.componentActions.get(Number(A.componentId)):(0,E.of)(void 0)}));this.topLevelComponents$=(0,E.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(Oe(function(A){var B=
k(A);A=B.next().value;B=B.next().value;var K;return x.componentActions.getChildren(null!=(K=null==A?void 0:A.parentComponentId)?K:0,B,Ykc(x.currentTracker))}));this.createComponentPath=Qr.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&vnb(this,Number(b.componentId),(0,E.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=g.isInternalSession()};g6.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 vnb=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 yn(g).then(function(q){for(var x=q[0],A=0,B={},K=k(e),O=K.next();!O.done;B={$jscomp$loop$prop$parentId$2196$2365:B.$jscomp$loop$prop$parentId$2196$2365},O=K.next()){B.$jscomp$loop$prop$parentId$2196$2365=O.value;O=void 0;
var P=null!=(O=x.find(function(Y){return function(X){return X.componentId===Y.$jscomp$loop$prop$parentId$2196$2365}}(B)))?O:null;P&&(P.children=q[B.$jscomp$loop$prop$parentId$2196$2365],P.showChildren=!0,x=P.children,A=P.componentId)}d.archived&&!a.includeArchived&&(b=A);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};ch.Object.defineProperties(g6.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});
g6.\u0275fac=function(a){return new (a||g6)(C(ZU),C(YI),C(CG),C(DG),C(oH),C(ds),C(sK),C(LT),C(kH,2))};
g6.\u0275cmp=Bc({type:g6,selectors:[["b-list-components-page"]],features:[Cf([kH])],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&&(G(0,"h2",0),R(1,"Browse Components"),H(),G(2,"div",1)(3,"div",2),
Q(4,tnb,2,1,"a",3),G(5,"button",4),R(6," Search Components "),H(),Q(7,unb,4,6,"ng-template",null,5,Vf),Q(9,wnb,3,4,"div",6),H()(),G(10,"div",7),Q(11,xnb,2,0,"div",8),S(12,"async"),G(13,"component-tree-list",9),M("init",function(h){return b.componentTree=h}),S(14,"async"),S(15,"async"),H()());if(a&2){var c=yf(8),d,e,g;z(4);F("ngIf",b.isInternalSession);z(1);F("xapInlineDialogClick",c)("overlaySize",Ef(13,Hgd));z(4);F("ngIf",b.isInternalSession);z(2);F("ngIf",!(null!==(d=T(12,7,b.topLevelComponents$))&&
void 0!==d&&d));z(2);F("components",null!==(e=T(14,9,b.topLevelComponents$))&&void 0!==e?e:Ef(14,Igd))("includeArchived",null!==(g=T(15,11,b.includeArchived$))&&void 0!==g?g:!1)}},dependencies:[tw,zL,RX,QX,UX,zZ,Yz,Zz,wZ,RT,zw],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var h6=function(){};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275mod=Dc({type:h6});h6.\u0275inj=nc({imports:[BF,eN,eT,eY,gY,HO,AZ,wC,yZ,oV]});var Jgd=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};Jgd.\u0275fac=function(a){return new (a||Jgd)};
Jgd.\u0275cmp=Bc({type:Jgd,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},decls:4,vars:2,consts:[[1,"bv2-package-mention-set"],["class","bv2-package-mention-set-package-name",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(G(0,"div",0),Q(1,ynb,2,1,"p",1),G(2,"ul"),Q(3,znb,2,
5,"li",2),H()());a&2&&(z(1),F("ngIf",b.displayPackageName),z(2),F("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[sw,tw,P5],encapsulation:2});var i6=function(){};i6.\u0275fac=function(a){return new (a||i6)};i6.\u0275mod=Dc({type:i6});i6.\u0275inj=nc({imports:[BF,Q5]});var j6=function(){};j6.\u0275fac=function(a){return new (a||j6)};j6.\u0275mod=Dc({type:j6});j6.\u0275inj=nc({imports:[BF,ox,wC,pA,BA,zR,yA]});var k6=function(){};k6.prototype.ngOnInit=function(){};k6.\u0275fac=function(a){return new (a||k6)};
k6.\u0275cmp=Bc({type:k6,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),G(1,"mat-menu",1,2)(3,"a",3),R(4,"Sign out or switch accounts"),H()());if(a&2){var b=yf(2);F("matMenuTriggerFor",b);z(3);F("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
Id)}},dependencies:[RB,QB],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 l6=function(){jE.apply(this,arguments);this.trackerCheckboxValues={}};U(l6,jE);l6.\u0275dir=jE.\u0275dir;l6.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 Kgd=function(a){return Object.keys(Pb(a.trackerCheckboxValues,function(b){return b}))};
l6.\u0275fac=function(){var a;return function(b){return(a||(a=pd(l6)))(b||l6)}}();
l6.\u0275cmp=Bc({type:l6,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[Ye,Uc],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),R(4,"Select a tracker"),H(),Q(5,Anb,2,0,"span",3),H(),G(6,"div",4),Q(7,Bnb,3,2,"div",5),H()()());a&2&&(mf("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),z(5),F("ngIf",0===Kgd(b).length),z(2),F("ngForOf",b.availableTrackers))},dependencies:[sw,tw,BN],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 m6=function(a,b,c,d,e,g){jE.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=g;this.prefsManager.preferences$.pipe(Pe(this.destroyed$)).subscribe(function(l){h.prefs=l});a.topBarEvents.browseComponents.pipe(Pe(this.destroyed$)).subscribe(function(l){l=l.newTab;Lgd(h,d.listComponents(),l)});a.topBarEvents.manageHotlists.pipe(Pe(this.destroyed$)).subscribe(function(l){Lgd(h,d.listHotlists(),l.newTab)});a.topBarEvents.manageSlos.pipe(Pe(this.destroyed$)).subscribe(function(l){l=
l.newTab;Lgd(h,d.listSlos(),l)});a.topBarEvents.setDensity.pipe(Pe(this.destroyed$)).subscribe(function(l){h.setDensity(l)});a.topBarEvents.openSettings.pipe(Pe(this.destroyed$)).subscribe(function(l){var q=l.newTab;Lgd(h,d.settings(l.settingsTabName),q)})};U(m6,jE);m6.\u0275dir=jE.\u0275dir;var Lgd=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.url(b)};
m6.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Ce(),Pe(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};m6.\u0275fac=function(a){return new (a||m6)(u(SF),u(oH),u(CG),u(DG),u(BI),u(ZJ))};m6.\u0275prov=mc({token:m6,factory:m6.\u0275fac,providedIn:"root"});var n6=function(a,b,c,d,e,g,h,l,q,x,A){jE.call(this);var B=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=x;this.appSearchState=A;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=hE(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(Pe(this.destroyed$)).subscribe(function(){B.items=B.searchAcData.items;B.acHeader=B.searchAcData.acHeader})};U(n6,jE);n6.\u0275dir=jE.\u0275dir;var Mgd=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"}};
n6.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(Pe(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("ne");e=new LZc(g,h);if(g){var l=g.slice(0,h);for(var q=!1,x=-1,A=-1;-1<(x=l.indexOf('"',x+1));)q=!q,A=x;l=q?A:-1;if(-1<l)e.value={val:g.slice(l,h),idx:l};else if(l=g.slice(0,h),q=g.slice(h),x=q.search("\\s"),
q=-1<x?q.slice(0,x):q,(l=Fbb(l+q,PZc))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},Rh(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);x=l;if("("===g.charAt(0)){b:{x=[];A=/[()]/g;for(var B;null!=(B=A.exec(g));){var K=x[x.length-1];if(K&&K!==B[0]){if(x.pop(),!x.length){x=B.index>=
h;break b}}else x.push(B[0])}x=!0}x=x?2:0}else x=MZc.includes(x.val)&&-1===g.search("^\\d")?1:0;switch(x){case 2:g=MZc.includes(l.val)?Fp(g,h,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Fp(g,h,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(g.val)&&(g.val="",g.idx=h);e.value=g;break;case 1:e.value=Fp(g,h,"[()|]","[()|,\\s]");break;case 0:e.value=Fp(g,h,"[\\s()|]");-1<g.slice(0,h).search("[\\s()|]")&&(l=null);break;default:nh(x,"unknown ValueType.")}e.value.idx+=q;e.label=l}else e.value=Fp(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(D(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(Re(b),Pe(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=b1a(c),h=g.filters,l=g.text,q=g.complexSyntax,
x=g.resourceIds;g=[h,l,x].reduce(c1a);h=[h?"filters":void 0,l?"text":void 0,x?"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)})};n6.prototype.ngAfterViewInit=function(){Bfd(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var Ngd=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:Ifd(a.advancedSearchCtrl).trim()};
f=n6.prototype;f.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(Ngd(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&Bfd(this.advancedSearchCtrl,this.currentQuery)};f.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:Kgd(a))?b:[]);this.advancedSearchCtrl&&(a=Ngd(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:Kgd(a))?b:[]);this.advancedSearchCtrl&&(a=Ngd(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=Ngd(this);void 0!==c&&(LF(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;LF(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.url(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){MF(b.butterBar,Ol(d))}))}};f.isSearchDisabled=function(){return this.inTracker()&&0===Kgd(this.trackerSearchCtrl).length};
f.inTracker=function(){return!!this.trackerSearchCtrl};n6.\u0275fac=function(a){return new (a||n6)(C(ds),C(sK),C(y1),C(HS),C(KF),C(CG),C(DG),C(oH),C(m6),C(SF),C($X))};
n6.\u0275cmp=Bc({type:n6,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(Qf(N4,5),Qf(l6,5));if(a&2){var c;Pf(c=Sf())&&(b.advancedSearchCtrl=c.first);Pf(c=Sf())&&(b.trackerSearchCtrl=c.first)}},features:[Ye],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&&(G(0,"b-app-top-bar",0),M("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),S(1,"async"),Q(2,Cnb,3,6,"b-tracker-search",1),S(3,"async"),I(4,"b-advanced-search",2),S(5,"async"),Q(6,Dnb,4,0,"div",3),Q(7,Gnb,3,2,"div",4),Q(8,Hnb,2,0,"div",4),H(),Q(9,Inb,1,0,"b-tracker-account-menu-hack",5),S(10,"async"));if(a&2){var c;F("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
Mgd(b,T(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());z(2);F("ngIf",null!==(c=T(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);z(2);F("isTrackerSearchEnabled",!T(5,16,b.currentTracker.inTracker$));z(2);F("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);F("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||
"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);F("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));z(1);F("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&T(10,18,b.currentTracker.inTracker$))}},dependencies:[tw,JA,N4,l6,cgd,zL,k6,zw],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 o6=function(){};o6.\u0275fac=function(a){return new (a||o6)};o6.\u0275mod=Dc({type:o6});o6.\u0275inj=nc({imports:[BF,fO]});var p6=function(){};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275mod=Dc({type:p6});p6.\u0275inj=nc({imports:[BF,Q4,o6,o5,eN,$B,SB]});var q6=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=Zh;this.updateDiffs=b.updateDiffs};q6.prototype.close=function(){this.dialogRef.close()};q6.\u0275fac=function(a){return new (a||q6)(C(hA),C(jA))};
q6.\u0275cmp=Bc({type:q6,selectors:[["b-update-history-modal"]],decls:6,vars:1,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],["class","bv2-event",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",3,"click"],[1,"bv2-event"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user-name",3,"email"],[1,"bv2-event-info"],["mode","datetime",3,"timestamp"],
[1,"bv2-event-details"],["class","bv2-diff-detail",4,"ngFor","ngForOf"],[1,"bv2-diff-detail"],[4,"ngIf"],[1,"bv2-diff-arrow"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"ul",1),Q(2,Rnb,10,4,"li",2),H()(),G(3,"div",3)(4,"button",4),M("click",function(){return b.close()}),R(5," Close "),H()());a&2&&(z(2),F("ngForOf",b.updateDiffs))},dependencies:[sw,tw,Yz,nA,oA,cK,bK,iK],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 r6=function(){};r6.\u0275fac=function(a){return new (a||r6)};r6.\u0275mod=Dc({type:r6});r6.\u0275inj=nc({imports:[BF,wC,pA,zO,IM]});var s6=function(a,b){jE.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=Eg("https://www.gstatic.com/buganizer/img/v4/favicon.png")};U(s6,jE);s6.\u0275dir=jE.\u0275dir;
var Ogd=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?Eg(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(D(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var g;d=Eg(null==d?void 0:null==(g=d.branding)?void 0:g.logoUrl)}else d=a.faviconUrl;return d}),Pe(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof iv)b.href=rh(d).toString();else{if(-1===u7b.indexOf("icon"))throw Error("Rb`icon");
d=ena(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};s6.\u0275fac=function(a){return new (a||s6)(u(iE),u(sK))};s6.\u0275prov=mc({token:s6,factory:s6.\u0275fac,providedIn:"root"});var Pgd=/^\s*[^:/?#]+:/i,Qgd=/^#/i,t6=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"))&&!Pgd.test(d))if(Qgd.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)}}};t6.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};t6.\u0275fac=function(a){return new (a||t6)(u(CG))};t6.\u0275prov=mc({token:t6,factory:t6.\u0275fac,providedIn:"root"});var Rgd=[],Sgd=!1,u6=function(a,b,c,d,e,g,h,l){jE.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};U(u6,jE);u6.\u0275dir=jE.\u0275dir;u6.prototype.tearDown=function(){jE.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};u6.\u0275fac=function(a){return new (a||u6)(u(LO),u(HA),u(ds),u(Q1),u(T1),u(t6),u(SU),u(s6))};
u6.\u0275prov=mc({token:u6,factory:u6.\u0275fac,providedIn:"root"});
var Tgd={provide:yRb,useFactory:function(a){return function(){uh("app initializer starting");Sgd||(a.iconRegistry._addSvgIconSetConfig("",new wZb(Pkc)),Sgd=!0);if(a.session.isInternalSession()){Cpc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Ce(),Pe(a.destroyed$)).subscribe();for(var b=k(Rgd),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;hE(a.session,c.flagName)&&Cpc(a.hatsService,d).pipe(Ce(),Pe(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;hYa(b.viewed,yGc());hYa(b.edited,wGc());b.appEvents.issueViewed.pipe(Pe(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(Pe(b.stop$)).subscribe(b.addEdited);Ogd(a.faviconService)}},deps:[u6],multi:!0};var v6=function(a,b){this.paths=a;this.bLocation=b};v6.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)};v6.\u0275fac=function(a){return new (a||v6)(u(DG),u(CG))};v6.\u0275prov=mc({token:v6,factory:v6.\u0275fac,providedIn:"root"});var Ugd={provide:pL,useExisting:v6};var Vgd=function(){var a;switch(null==(a=self.location)?void 0:a.hostname){case "cider.corp.google.com":case "cider-v.corp.google.com":case "critique.corp.google.com":return 1;case "cider-staging.corp.google.com":case "cider-v-staging.corp.google.com":case "cider-next.corp.google.com":case "critique-staging.corp.google.com":return 2;case "cider-test.corp.google.com":case "cider-v-test.corp.google.com":case "critique-qa.corp.google.com":return 3;default:return 4}}();var w6=function(a){mh.call(this);this.errorHandlerFn_=a};rs(w6,mh);w6.prototype.wrap=function(a){return Wgd(this,a)};var x6=function(a,b){return(b?"__wrapper_":"__protected_")+xa(a)+"__"},Wgd=function(a,b){var c=x6(a,!0);b[c]||((b[c]=Xgd(a,b))[x6(a,!1)]=b);return b[c]},Xgd=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[x6(a,!1)]=b;return c};
w6.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 Ygd(a);};
var Zgd=function(a,b){var c=ba.window||ba.globalThis,d=c[b];if(!d)throw Error("Me`"+b);c[b]=function(e,g){"string"===typeof e&&(e=qs(PHb,e));e&&(arguments[0]=e=Wgd(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][x6(a,!1)]=d};
w6.prototype.disposeInternal=function(){var a=ba.window||ba.globalThis;var b=a.setTimeout;b=b[x6(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[x6(this,!1)]||b;a.setInterval=b;w6.superClass_.disposeInternal.call(this)};var Ygd=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)};rs(Ygd,aa);var ahd=function(a,b,c){vo.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=$gd;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new w6(ps(this.handleException,this));Zgd(this.errorHandler_,"setTimeout");Zgd(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&&Zgd(a,
e)}a=this.errorHandler_;LZb=!0;b=ps(a.wrap,a);for(c=0;c<JZb.length;c++)JZb[c](b);KZb.push(a)}};rs(ahd,vo);var bhd=function(a,b){RA.call(this,"F");this.error=a;this.context=b};rs(bhd,RA);var $gd=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;lh(a,null,b,c,e)};
ahd.prototype.handleException=function(a,b){a=a.error||a;b=b?Sb(b):{};a instanceof Error&&Oca(b,a.__closure__error__context__984382||{});var c=xVb(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=sB(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);Qb(this.additionalArguments_)||(e=gwa(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var g in b)d["context."+
g]=b[g];var h=n1b(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(l){}}try{this.dispatchEvent(new bhd(c,b))}catch(l){}};ahd.prototype.disposeInternal=function(){kh(this.errorHandler_);ahd.superClass_.disposeInternal.call(this)};var y6=function(){this.jsBuild="537701616";this.buildLabel="buganizer.frontend_20230604.04_p0"};y6.\u0275fac=function(a){return new (a||y6)};y6.\u0275prov=mc({token:y6,factory:y6.\u0275fac,providedIn:"root"});var z6=function(){};z6.prototype.reportingEnabled=function(){return 4!==Vgd};z6.\u0275fac=function(a){return new (a||z6)};z6.\u0275prov=mc({token:z6,factory:z6.\u0275fac,providedIn:"root"});
var A6=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new ahd("/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)};
A6.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()}};A6.\u0275fac=function(a){return new (a||A6)(u(y6),u(z6))};A6.\u0275prov=mc({token:A6,factory:A6.\u0275fac,providedIn:"root"});var B6=function(a){this._console=console;this.reporter=a};U(B6,Md);B6.prototype.handleError=function(a){this.reporter.reportError(a)};B6.\u0275fac=function(a){return new (a||B6)(u(A6))};B6.\u0275prov=mc({token:B6,factory:B6.\u0275fac,providedIn:"root"});var C6=function(a){this.activeSession=a};U(C6,z6);C6.prototype.reportingEnabled=function(){return hE(this.activeSession,"reportErrors")};C6.\u0275fac=function(a){return new (a||C6)(u(ds))};C6.\u0275prov=mc({token:C6,factory:C6.\u0275fac,providedIn:"root"});
var chd={provide:Md,useClass:B6},dhd={provide:z6,useClass:C6},ehd={provide:y6,useValue:{jsBuild:"537701616",buildLabel:"buganizer.frontend_20230604.04_p0"}};var D6=function(){};D6.\u0275fac=function(a){return new (a||D6)};D6.\u0275cmp=Bc({type:D6,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var E6=function(){};E6.\u0275fac=function(a){return new (a||E6)};E6.\u0275mod=Dc({type:E6});E6.\u0275inj=nc({});var F6=function(){};U(F6,sG);F6.prototype.store=function(){};F6.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&Kh(a.params,b.params)};F6.\u0275fac=function(){var a;return function(b){return(a||(a=pd(F6)))(b||F6)}}();F6.\u0275prov=mc({token:F6,factory:F6.\u0275fac,providedIn:"root"});var G6=function(a){this.router=a};
G6.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 wG(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 wG(this.router,[b],{queryParams:Object.assign({},cya(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return!0};G6.\u0275fac=function(a){return new (a||G6)(u(vG))};G6.\u0275prov=mc({token:G6,factory:G6.\u0275fac,providedIn:"root"});var fhd=/^(\d+)$/,H6=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(U9b))};H6.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=Uh(d);if(!fhd.test(d)||isNaN(e)||!Number.isInteger(e))return MF(this.butterBar,"The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};H6.\u0275fac=function(a){return new (a||H6)(u(KF))};
H6.\u0275prov=mc({token:H6,factory:H6.\u0275fac,providedIn:"root"});var I6=function(a){this.routeParamsValidator=a};I6.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};I6.\u0275fac=function(a){return new (a||I6)(u(H6))};I6.\u0275prov=mc({token:I6,factory:I6.\u0275fac,providedIn:"root"});var J6=function(a,b){this.activeSession=a;this.router=b};J6.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:wG(this.router,["issues"])};J6.\u0275fac=function(a){return new (a||J6)(u(ds),u(vG))};J6.\u0275prov=mc({token:J6,factory:J6.\u0275fac,providedIn:"root"});var K6=function(a,b){this.currentTracker=a;this.router=b};K6.prototype.canActivate=function(){return this.currentTracker.inTracker?wG(this.router,["issues"]):!0};K6.\u0275fac=function(a){return new (a||K6)(u(sK),u(vG))};K6.\u0275prov=mc({token:K6,factory:K6.\u0275fac,providedIn:"root"});var L6=function(a,b){this.router=a;this.activeSession=b};L6.prototype.canActivate=function(){var a=hE(this.activeSession,"enableHomepageVariantA");return wG(this.router,[Snb(a)])};L6.\u0275fac=function(a){return new (a||L6)(u(vG),u(ds))};L6.\u0275prov=mc({token:L6,factory:L6.\u0275fac,providedIn:"root"});var ghd={USER:"USER",DEVELOPER:"DEVELOPER",CONTRIBUTOR:"CONTRIBUTOR"},hhd={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},ihd=new Nc("CustomQuestionsConfig");var jhd=function(){this.persona="USER";this.categoryChange=new Vv;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)};jhd.\u0275fac=function(a){return new (a||jhd)};
jhd.\u0275cmp=Bc({type:jhd,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},decls:5,vars:3,consts:[["appearance","outline"],["panelClass","oversized",3,"value","valueChange"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(G(0,"mat-form-field",0)(1,"mat-select",1),M("valueChange",function(d){b.category=d;b.categoryChange.emit(b.category)}),G(2,
"mat-select-trigger"),R(3),H(),Q(4,Tnb,5,3,"mat-option",2),H()());if(a&2){var c;z(1);F("value",b.category);z(2);zf(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");z(1);F("ngForOf",b.options[b.persona])}},dependencies:[sw,xA,iO,hO,$z],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 Jr=function(a){return{question:a}},M6=function(a){this.config=a;this.CustomQuestionType=hhd;this.responses=new Vv;this.model=Object.assign({},a)};M6.prototype.ngOnInit=function(){};var dob=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};M6.\u0275fac=function(a){return new (a||M6)(C(ihd))};
M6.\u0275cmp=Bc({type:M6,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&&(Q(0,Unb,2,4,"ng-container",0),Q(1,Ynb,4,4,"ng-template",null,1,Vf),Q(3,Znb,3,3,"ng-template",null,2,Vf),Q(5,$nb,4,3,"ng-template",null,3,Vf),Q(7,eob,5,4,"ng-template",null,4,Vf));a&2&&F("ngForOf",b.model[b.category])},dependencies:[sw,tw,yw,uw,vw,kg,Uw,$w,xA,AA,iO,$z],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}mat-form-field[_ngcontent-%COMP%]{min-width:500px}\n/*# sourceMappingURL=custom_questions.css.map */']});var khd=function(){this.Persona=ghd;this.persona="USER";this.personaChange=new Vv};khd.\u0275fac=function(a){return new (a||khd)};
khd.\u0275cmp=Bc({type:khd,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&&(G(0,"div")(1,"mat-radio-group",0),M("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),G(2,"mat-radio-button",1),R(3," End User "),G(4,"div",2),R(5," I am trying to use a website. "),H()(),G(6,"mat-radio-button",
1),R(7," Web Developer "),G(8,"div",2),R(9," I am trying to build something on a website. "),H()(),G(10,"mat-radio-button",1),R(11," Chromium Contributor "),G(12,"div",2),R(13," I know about a problem in specific tests or code. "),H()()()());a&2&&(z(1),F("ngModel",b.persona),z(1),F("value",b.Persona.USER),z(4),F("value",b.Persona.DEVELOPER),z(4),F("value",b.Persona.CONTRIBUTOR))},dependencies:[Uw,$w,DM,EM],styles:["[_nghost-%COMP%]{display:block}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:40px;padding:24px 12px}mat-radio-button[_ngcontent-%COMP%]   .subtext[_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;margin-top:12px}\n/*# sourceMappingURL=persona_picker.css.map */"]});var lhd=["*",[["mat-card-footer"]]],mhd=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],nhd=function(){};nhd.\u0275fac=function(a){return new (a||nhd)};nhd.\u0275dir=Gc({type:nhd,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]});var ohd=function(a){this._animationMode=a};
ohd.\u0275fac=function(a){return new (a||ohd)(C(tv,8))};
ohd.\u0275cmp=Bc({type:ohd,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(a,b){a&2&&mf("_mat-animation-noopable","NoopAnimations"===b._animationMode)},exportAs:["matCard"],ngContentSelectors:["*","mat-card-footer"],decls:2,vars:0,template:function(a){a&1&&(tf(lhd),uf(0),uf(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 phd=function(){};phd.\u0275fac=function(a){return new (a||phd)};
phd.\u0275cmp=Bc({type:phd,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&&(tf(mhd),uf(0),G(1,"div",0),uf(2,1),H(),uf(3,2))},encapsulation:2,changeDetection:0});var N6=function(a){this._elementRef=a};N6.prototype.focus=function(){this._elementRef.nativeElement.focus()};N6.\u0275fac=function(a){return new (a||N6)(C(rd))};N6.\u0275dir=Gc({type:N6,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});var O6=function(a){this.template=a};O6.\u0275fac=function(a){return new (a||O6)(C(Mf))};O6.\u0275dir=Gc({type:O6,selectors:[["","cdkStepLabel",""]]});var qhd=0,rhd=new Nc("STEPPER_GLOBAL_OPTIONS"),P6=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new Vv;this._editable=!0;this._optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};f=P6.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};
ch.Object.defineProperties(P6.prototype,{editable:{configurable:!0,enumerable:!0,get:function(){return this._editable},set:function(a){this._editable=tg(a)}},optional:{configurable:!0,enumerable:!0,get:function(){return this._optional},set:function(a){this._optional=tg(a)}},completed:{configurable:!0,enumerable:!0,get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=tg(a)}},hasError:{configurable:!0,enumerable:!0,
get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(a){this._customError=tg(a)}}});P6.\u0275fac=function(a){return new (a||P6)(C(sc(function(){return Q6})),C(rhd,8))};
P6.\u0275cmp=Bc({type:P6,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&Rf(c,O6,5);if(a&2){var d;Pf(d=Sf())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&Qf(Mf,7);if(a&2){var c;Pf(c=Sf())&&(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:[Uc],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(tf(),Q(0,fob,1,0,"ng-template"))},encapsulation:2,changeDetection:0});var Q6=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new E.Subject;this.steps=new Tf;this._sortedHeaders=new Tf;this._linear=!1;this._selectedIndex=0;this.selectionChange=new Vv;this._orientation="horizontal";this._groupId=qhd++};f=Q6.prototype;
f.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(Ne(this._steps),Pe(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));Of(a.steps)})};
f.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(Ne(this._stepHeader),Pe(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}));Of(a._sortedHeaders)});this._keyManager=Ly(Ny(Ky(new Qy(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,E.of)()).pipe(Ne(this._layoutDirection()),
Pe(this._destroyed)).subscribe(function(b){return My(a._keyManager,b)});Oy(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):Oy(this._keyManager,a);this._selectedIndex=a;this._stateChanged()};
f._onKeydown=function(a){var b=xg(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)UWb(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=qg();return a===b||a.contains(b)};f._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
ch.Object.defineProperties(Q6.prototype,{linear:{configurable:!0,enumerable:!0,get:function(){return this._linear},set:function(a){this._linear=tg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=wg(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&&Ly(this._keyManager,"vertical"===a)}}});Q6.\u0275fac=function(a){return new (a||Q6)(C(Ry,8),C(mw),C(rd))};
Q6.\u0275dir=Gc({type:Q6,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(Rf(c,P6,5),Rf(c,N6,5));if(a&2){var d;Pf(d=Sf())&&(b._steps=d);Pf(d=Sf())&&(b._stepHeader=d)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]});var R6=function(a){this._stepper=a;this.type="submit"};R6.\u0275fac=function(a){return new (a||R6)(C(Q6))};R6.\u0275dir=Gc({type:R6,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.next()});a&2&&sf("type",b.type)},inputs:{type:"type"}});var S6=function(a){this._stepper=a;this.type="button"};S6.\u0275fac=function(a){return new (a||S6)(C(Q6))};
S6.\u0275dir=Gc({type:S6,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.previous()});a&2&&sf("type",b.type)},inputs:{type:"type"}});var T6=function(){};T6.\u0275fac=function(a){return new (a||T6)};T6.\u0275mod=Dc({type:T6});T6.\u0275inj=nc({imports:[Sy]});var U6=function(){R6.apply(this,arguments)};U(U6,R6);U6.\u0275fac=function(){var a;return function(b){return(a||(a=pd(U6)))(b||U6)}}();U6.\u0275dir=Gc({type:U6,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&sf("type",b.type)},inputs:{type:"type"},features:[Ye]});var V6=function(){S6.apply(this,arguments)};U(V6,S6);V6.\u0275fac=function(){var a;return function(b){return(a||(a=pd(V6)))(b||V6)}}();
V6.\u0275dir=Gc({type:V6,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&sf("type",b.type)},inputs:{type:"type"},features:[Ye]});var W6=function(a){this.templateRef=a};W6.\u0275fac=function(a){return new (a||W6)(C(Mf))};W6.\u0275dir=Gc({type:W6,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}});var shd=function(a){this._template=a};shd.\u0275fac=function(a){return new (a||shd)(C(Mf))};shd.\u0275dir=Gc({type:shd,selectors:[["ng-template","matStepContent",""]]});var X6=function(){O6.apply(this,arguments)};U(X6,O6);X6.\u0275fac=function(){var a;return function(b){return(a||(a=pd(X6)))(b||X6)}}();X6.\u0275dir=Gc({type:X6,selectors:[["","matStepLabel",""]],features:[Ye]});var Y6=function(){this.changes=new E.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275prov=mc({token:Y6,factory:Y6.\u0275fac,providedIn:"root"});var thd={provide:Y6,deps:[[new ov,new pv,Y6]],useFactory:function(a){return a||new Y6}};var uhd=function(a){this._elementRef=a};U(uhd,N6);uhd.\u0275dir=N6.\u0275dir;uhd.\u0275fac=N6.\u0275fac;var vhd=dh(uhd,"primary"),Z6=function(a,b,c,d){var e=vhd.call(this,c)||this;e._intl=a;e._focusMonitor=b;e._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()});return e};U(Z6,vhd);f=Z6.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?yx(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};f._stringLabel=function(){return this.label instanceof X6?null:this.label};f._templateLabel=function(){return this.label instanceof X6?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};Z6.\u0275fac=function(a){return new (a||Z6)(C(Y6),C(xx),C(rd),C(mw))};
Z6.\u0275cmp=Bc({type:Z6,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:[Ye],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),G(1,"div")(2,"div",1),Q(3,gob,1,2,"ng-container",2),Q(4,lob,5,4,"ng-container",3),H()(),G(5,"div",4),Q(6,mob,2,1,"div",5),Q(7,nob,2,1,"div",5),Q(8,oob,2,1,"div",6),Q(9,pob,2,1,"div",7),H());a&2&&(F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple),z(1),pf("mat-step-icon-state-",b.state," mat-step-icon"),mf("mat-step-icon-selected",b.selected),z(1),F("ngSwitch",
!(!b.iconOverrides||!b.iconOverrides[b.state])),z(1),F("ngSwitchCase",!0),z(2),mf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state),z(1),F("ngIf",b._templateLabel()),z(1),F("ngIf",b._stringLabel()),z(1),F("ngIf",b.optional&&"error"!=b.state),z(1),F("ngIf","error"==b.state))},dependencies:[tw,yw,uw,vw,ww,JA,zz],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 whd=Fg("horizontalStepTransition",[Ig("previous",Hg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Ig("current",Hg({transform:"none",visibility:"inherit"})),Ig("next",Hg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Jg("* => *",Gg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),xhd=Fg("verticalStepTransition",[Ig("previous",Hg({height:"0px",visibility:"hidden"})),Ig("next",Hg({height:"0px",visibility:"hidden"})),Ig("current",
Hg({height:"*",visibility:"inherit"})),Jg("* <=> current",Gg("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})]);var tob=function(a,b){return{step:a,i:b}},wob=function(a){return{animationDuration:a}},vob=function(a,b){return{value:a,params:b}},$6=function(a,b,c,d){P6.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=E.Subscription.EMPTY;this.stepLabel=void 0};U($6,P6);
$6.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(Oe(function(){return a._stepper.selectionChange.pipe(D(function(b){return b.selectedStep===a}),Ne(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new Cx(a._lazyContent._template,a._viewContainerRef))})};$6.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
$6.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};$6.\u0275fac=function(a){return new (a||$6)(C(sc(function(){return a7})),C(xz,4),C(Nf),C(rhd,8))};
$6.\u0275cmp=Bc({type:$6,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(Rf(c,X6,5),Rf(c,shd,5));if(a&2){var d;Pf(d=Sf())&&(b.stepLabel=d.first);Pf(d=Sf())&&(b._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Cf([{provide:xz,useExisting:$6},{provide:P6,useExisting:$6}]),Ye],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(tf(),Q(0,rob,2,1,"ng-template"))},dependencies:[Gx],encapsulation:2,changeDetection:0});
var a7=function(a,b,c){Q6.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new Tf;this.animationDone=new Vv;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new E.Subject;this._animationDuration="";this.orientation="mat-vertical-stepper"===c.nativeElement.nodeName.toLowerCase()?"vertical":"horizontal"};U(a7,Q6);a7.\u0275dir=Q6.\u0275dir;
a7.prototype.ngAfterContentInit=function(){var a=this;Q6.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(Pe(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Be(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),Pe(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
a7.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};a7.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};ch.Object.defineProperties(a7.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
a7.\u0275fac=function(a){return new (a||a7)(C(Ry,8),C(mw),C(rd))};
a7.\u0275cmp=Bc({type:a7,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(Rf(c,$6,5),Rf(c,W6,5));if(a&2){var d;Pf(d=Sf())&&(b._steps=d);Pf(d=Sf())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&Qf(Z6,5);if(a&2){var c;Pf(c=Sf())&&(b._stepHeader=c)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(a,b){a&2&&(bf("aria-orientation",b.orientation),mf("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:[Cf([{provide:Q6,useExisting:a7}]),Ye],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),Q(1,yob,5,2,"div",1),Q(2,Aob,2,1,"ng-container",2),L(),Q(3,Bob,1,23,"ng-template",null,3,Vf));a&2&&(F("ngSwitch",b.orientation),z(1),F("ngSwitchCase","horizontal"),z(1),F("ngSwitchCase","vertical"))},dependencies:[sw,tw,yw,uw,vw,Z6],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:[whd,xhd]},changeDetection:0});var yhd=[gi("chrome-security@google.com")],b7=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=ghd;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 x;b=null==(x=b[0])?void 0:x.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=hE(this.activeSession,"enableRecaptcha");this.recaptchaResponse=
""},Cob=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:nh(b)}};f=b7.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(Lh(c.blobRef));return a};
f.submit=function(){var a=this,b,c,d,e,g;return de(function(h){switch(h.nextAddress){case 1:var l=a.model,q=a.currentUser.user,x=null,A=null,B;"SECURITY"===(null==(B=l.category)?void 0:B.value)&&(x="LIMIT_VIEW",A=yhd);var K;B=(null==(K=l.category)?void 0:K.componentId)||402888;K=l.summary;var O=[{customFieldId:199900,textValue:l.os},{customFieldId:199877,textValue:l.version},{customFieldId:199876,textValue:l.channel},{customFieldId:199878,textValue:l.regression}],P;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"+Lob(l.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(P=l.category)?void 0:P.title);l=l.replace(/^\n/,"");b={componentId:B,type:"BUG",status:"NEW",priority:"P2",severity:"S2",title:K,customField:O,comment:l.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:q,issueAccessLimitLevel:x,
collaboratorsUsers:A,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};LF(a.butterBar,"Saving...",0);
ee(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(Gn.CREATE_ISSUE,"fileAndRedirect","wizard",!0),h.yield(yF(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?Y_c(a.redirectUrl,a.paths.editIssue(d),String(d)):(LF(a.butterBar,"New issue created: "+d+" (view access not granted)",0),Y_c(a.redirectUrl,
a.paths.listIssues()));ks(h,0);break;case 2:g=he(h),LF(a.butterBar,"Failed to create issue: "+g),ie(h)}})};b7.\u0275fac=function(a){return new (a||b7)(C(ds),C(oH),C(KF),C(YH),C(yE),C(DG),C(S1),C(xF))};
b7.\u0275cmp=Bc({type:b7,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&Qf(d_,5);if(a&2){var c;Pf(c=Sf())&&(b.attachmentUploader=c.first)}},decls:111,vars:20,consts:[["headerPosition","bottom","animationDuration","0","linear","",1,"bv2-view"],[3,"completed"],[1,"required"],[3,"persona","personaChange"],[4,"ngIf","ngIfElse"],["contributor",""],[1,"inline-block"],["appearance","outline",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"],["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"],["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"],[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&&(G(0,"mat-stepper",0)(1,"mat-step",1)(2,"h2"),
R(3,"Report an issue with Chromium"),H(),G(4,"h3"),R(5," We want you to enter the best possible issue report so that the project team members can act on it effectively. The following steps will help route your issue to the correct people. "),H(),I(6,"br"),G(7,"h4",2),R(8,"Please select your following role:"),H(),G(9,"wizard-persona-picker",3),M("personaChange",function(d){return b.model.persona=d}),H(),Q(10,Dob,17,4,"ng-container",4),Q(11,Eob,10,1,"ng-template",null,5,Vf),H(),G(13,"mat-step",1)(14,
"h2"),R(15),H(),G(16,"h3"),R(17,"Please confirm that the following version information is correct."),H(),G(18,"h4",6),R(19,"Operating System:"),H(),G(20,"mat-form-field",7)(21,"mat-select",8),M("ngModelChange",function(d){return b.model.os=d}),G(22,"mat-option",9),R(23,"Android"),H(),G(24,"mat-option",10),R(25,"Chrome OS"),H(),G(26,"mat-option",11),R(27,"iOS"),H(),G(28,"mat-option",12),R(29,"Linux"),H(),G(30,"mat-option",13),R(31,"Mac OS"),H(),G(32,"mat-option",14),R(33,"Windows"),H(),G(34,"mat-option",
15),R(35,"Unknown/Other"),H()()(),G(36,"h4",16),R(37,"Channel:"),H(),G(38,"mat-form-field",7)(39,"mat-select",8),M("ngModelChange",function(d){return b.model.channel=d}),G(40,"mat-option",17),R(41,"Not sure"),H(),G(42,"mat-option",18),R(43,"Stable"),H(),G(44,"mat-option",19),R(45,"Beta"),H(),G(46,"mat-option",20),R(47,"Dev"),H(),G(48,"mat-option",21),R(49,"Canary"),H()()(),I(50,"br"),G(51,"h4",6),R(52,"Chrome version:"),H(),G(53,"mat-form-field",22)(54,"input",23),M("ngModelChange",function(d){return b.model.version=
d}),H()(),G(55,"h4",2),R(56,"Please enter a one line summary (100 character limit)"),H(),G(57,"mat-form-field",24)(58,"textarea",25),M("ngModelChange",function(d){return b.model.summary=d}),R(59,"      "),H()(),G(60,"h4",2),R(61,"Steps to reproduce problem (5000 character limit)"),H(),G(62,"mat-form-field",24)(63,"textarea",26),M("ngModelChange",function(d){return b.model.reproSteps=d}),R(64,"      "),H()(),G(65,"h4",2),R(66,"Please describe the problem (5000 character limit)"),H(),G(67,"mat-form-field",
24)(68,"textarea",27),M("ngModelChange",function(d){return b.model.description=d}),R(69,"      "),H()(),G(70,"h4"),R(71,"Did this work before?"),H(),G(72,"mat-form-field",28)(73,"mat-select",8),M("ngModelChange",function(d){return b.model.regression=d}),G(74,"mat-option",29),R(75,"Not applicable or don't know"),H(),G(76,"mat-option",30),R(77,"Yes - This is a regression"),H(),G(78,"mat-option",31),R(79,"No - I think it never worked"),H()()(),G(80,"div",32)(81,"button",33),I(82,"mat-icon",34),R(83,
" Back "),H(),G(84,"button",35),R(85," Next "),I(86,"mat-icon",36),H()()(),G(87,"mat-step")(88,"h2"),R(89,"Extra information about the issue"),H(),Q(90,Fob,1,1,"wizard-custom-questions",37),G(91,"h4"),R(92,"Additional comments"),H(),G(93,"mat-form-field",24)(94,"textarea",38),M("ngModelChange",function(d){return b.model.comments=d}),H()(),G(95,"h4"),R(96,"Upload any relevant screenshots"),H(),G(97,"b-attachment-uploader",39),M("onUploadCancel",function(d){return b.removeUpload(d)}),H(),G(98,"div",
40)(99,"b-attachment-selector",41),M("onSelect",function(d){return b.uploadFile(d)}),H(),R(100," You can include multiple attachments. "),H(),Q(101,Gob,2,0,"div",42),G(102,"div",32)(103,"button",33),I(104,"mat-icon",34),R(105," Back "),H(),G(106,"button",43),M("click",function(){return b.submit()}),R(107," Submit "),H()()(),Q(108,Hob,0,0,"ng-template",44),Q(109,Iob,0,0,"ng-template",45),Q(110,Job,0,0,"ng-template",46),H());if(a&2){var c=yf(12);z(1);F("completed",Cob(b,0));z(8);F("persona",b.model.persona);
z(1);F("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",c);z(3);F("completed",Cob(b,1));z(2);zf("Details for problems with ",null==b.model.category?null:b.model.category.title,"");z(6);F("ngModel",b.model.os);z(18);F("ngModel",b.model.channel);z(15);F("ngModel",b.model.version);z(4);F("ngModel",b.model.summary);z(5);F("ngModel",b.model.reproSteps);z(5);F("ngModel",b.model.description);z(5);F("ngModel",b.model.regression);z(11);F("disabled",!Cob(b,1));z(6);F("ngIf",b.model.category);z(4);
F("ngModel",b.model.comments);z(3);F("uploads",b.uploads);z(2);F("includeTextLabel",!0);z(2);F("ngIf",b.enableRecaptcha);z(5);F("disabled",!b.isCaptchaValid())}},dependencies:[a_,d_,tw,JA,kg,Uw,kx,$w,Yz,ohd,phd,nhd,BN,xA,AA,iO,$z,$6,a7,U6,V6,W6,DR,jhd,M6,khd],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}[_nghost-%COMP%]     .mat-radio-container{margin-right:4px}[_nghost-%COMP%]     .mat-step-header .mat-step-label{display:none}wizard-persona-picker[_ngcontent-%COMP%]{margin-bottom:16px}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 c7=function(a,b){jE.call(this);var c=this;this.componentFridge=a;this.currentTracker=b;this.componentId$=new E.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(ue(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(ue(ni),Oe(this.componentFridge.watch),ue(ni));this.component$=(0,E.merge)(this.error$,this.rawComponent$).pipe(D(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),name:"(unknown)"}}));
this.isArchived$=this.component$.pipe(D(function(d){return d.archived}));this.componentPath$=this.component$.pipe(D(function(d){d=Ir(c.currentTracker,d.componentPathInfo);return kp(d)}));this.init=new E.ReplaySubject(1);this.routes$=this.componentId$.pipe(D(function(d){return{createIssue:iwa(d),componentSettings:jwa(d),recentIssues:Wl(d)}}))};U(c7,jE);c7.\u0275dir=jE.\u0275dir;c7.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Ce(),Pe(this.destroyed$)).subscribe(function(){a.init.next()})};
ch.Object.defineProperties(c7.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});c7.\u0275fac=function(a){return new (a||c7)(C(mF),C(sK))};
c7.\u0275cmp=Bc({type:c7,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[Ye],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&&(G(0,"div",0)(1,
"div",1),Q(2,Pob,5,6,"div",2),Q(3,Qob,9,3,"ng-container",3),S(4,"async"),Q(5,Rob,7,3,"div",4),S(6,"async"),H()());a&2&&(z(2),F("ngIf",!b.hidePath),z(1),F("ngIf",T(4,3,b.component$)),z(2),F("ngIf",T(6,5,b.routes$)))},dependencies:[sw,tw,JA,Zz,ZM,zw],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 d7=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=Wl;this.createIssue=iwa;this.componentSettings=jwa;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(D(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})};d7.prototype.back=function(){R1(this.history)};d7.prototype.filterTrackerComponents=function(a){return Kl(this.trackerId)||a.trackerId===this.trackerId};d7.\u0275fac=function(a){return new (a||d7)(C(WG),C(Q1),C(vG),C(sK),C(ds))};
d7.\u0275cmp=Bc({type:d7,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&&(G(0,"article",
0)(1,"header",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),H(),G(5,"h2"),R(6,"Components"),H()(),G(7,"div",5),Q(8,Sob,2,0,"a",6),G(9,"b-slide-toggle",7),M("modelChange",function(e){return b.includeArchived=e}),H()()(),G(10,"section",8)(11,"h3"),R(12,"Search"),H(),G(13,"b-team-component-picker",9),M("selectedComponentChange",function(e){null!=e&&Pr(b.router,jwa(e.componentId).path)}),S(14,"async"),S(15,"async"),H(),G(16,"h3",10),R(17,"Recent Components"),H(),
G(18,"div",11),Q(19,Wob,4,2,"ng-container",12),S(20,"async"),H(),G(21,"p",13)(22,"a",14),R(23,"See all Components"),H()()()());if(a&2){var c,d;z(8);F("ngIf",b.isInternalSession);z(1);F("model",b.includeArchived);z(4);F("includeArchived",b.includeArchived)("placeholder",null!==(c=T(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=T(15,8,b.placeholder$))&&void 0!==d?d:"");z(6);F("ngIf",T(20,10,b.recentComponents$))}},dependencies:[Yz,Zz,JA,ZB,sw,tw,xG,ZM,RT,c7,xJ,yJ,CJ,zJ,zZ,nO,vK,zw],
encapsulation:2});var e7=function(){};e7.\u0275fac=function(a){return new (a||e7)};e7.\u0275mod=Dc({type:e7});e7.\u0275inj=nc({imports:[BF,$B,wC,BG,$M]});var zhd=["bookmarkGroupName"],Ahd=function(a){return{"bv2-edit-resource-readonly":a}},f7=function(a,b,c,d,e,g,h,l,q,x){jE.call(this);var A=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=x;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new Xw({name:new Zw("",TTb),description:new Zw("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(YO(q,function(){return!(!A.name()&&!A.description())},
!1))};U(f7,jE);f7.\u0275dir=jE.\u0275dir;f=f7.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(){R1(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:""};f7.\u0275fac=function(a){return new (a||f7)(C(CG),C(Q1),C(IF),C(GX),C(DG),C(oH),C(ZU),C(OF),C(XO),C(SF))};
f7.\u0275cmp=Bc({type:f7,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&Qf(zhd,5);if(a&2){var c;Pf(c=Sf())&&(b.bookmarkGroupName=c.first)}},features:[Ye],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&&(G(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){return b.back()}),I(3,"mat-icon",3),H(),G(4,"h2"),R(5,"Create a new bookmark group"),H()()(),G(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),G(10,"div",8)(11,"label",9),R(12,"Name"),H(),I(13,"input",10,11),H(),G(15,"div",8)(16,"label",12),R(17,"Description"),H(),G(18,"textarea",13),R(19,"        "),H()(),G(20,"p",14),R(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
H(),G(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),R(24," Save "),H(),G(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),H()()()()());a&2&&(z(8),F("formGroup",b.bookmarkGroupUnderEdit),z(1),F("error",b.error),z(1),F("ngClass",Ff(7,Ahd,b.isSaving)),z(3),F("disabled",b.isSaving),z(2),F("ngClass",Ff(9,Ahd,b.isSaving)),z(3),F("disabled",b.isSaving),z(5),F("disabled",b.isSaving))},dependencies:[rw,JA,Yz,ZB,ax,kg,Uw,Vw,kx,gx,hx,F0],encapsulation:2});var Bhd=["form"],g7=function(a,b,c,d,e,g,h,l,q,x){jE.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=x;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(Ph(l.parentId));q.setTitle("Create component")};U(g7,jE);g7.\u0275dir=jE.\u0275dir;f=g7.prototype;f.ngAfterViewInit=function(){};
f.create=function(){var a=this;this.validate()&&(LF(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){LF(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){MF(a.butterBar,Ol(b),0);a.isSaving=!1}))};f.back=function(){R1(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;Chd(this)};f.accessCheckComplete=function(a){this.componentIsValid=a;Chd(this)};
var Chd=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};ch.Object.defineProperties(g7.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;Chd(this)}}});
g7.\u0275fac=function(a){return new (a||g7)(C(KF),C(DG),C(oH),C(Q1),C(CG),C(ds),C(vI),C(YI),C(ZU),C(LT))};
g7.\u0275cmp=Bc({type:g7,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&Qf(Bhd,5);if(a&2){var c;Pf(c=Sf())&&(b.createComponentForm=c.first)}},features:[Ye],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&&(G(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),G(4,"div",4)(5,"h2",5),R(6,"Create component"),
H(),G(7,"div",6)(8,"form",7,8),I(10,"b-error-banner",9),G(11,"div",10)(12,"label",11)(13,"span",12),R(14,"Name"),H()(),G(15,"input",13),M("ngModelChange",function(c){return b.component.name=c}),H()(),G(16,"div",10)(17,"label",14)(18,"span",12),R(19,"Description"),H()(),G(20,"textarea",15),M("ngModelChange",function(c){return b.component.description=c}),R(21,"        "),H()(),G(22,"div",10)(23,"label",16)(24,"span",12),R(25,"Parent Component"),H()(),G(26,"b-team-component-picker",17),M("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),H()(),G(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),M("change",function(c){return b.setCommentEditState(c.checked)}),H()(),G(30,"div")(31,"strong",21),R(32,"Editable Comments"),H(),G(33,"div",22),R(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),Q(35,Yob,2,1,"a",23),H()()(),
G(36,"div",10)(37,"label",24)(38,"span",12),R(39,"Retention Settings"),H()(),G(40,"div",21)(41,"p"),R(42,"Please choose a period of time to retain the data stored in this component."),I(43,"br"),G(44,"a",25),R(45," Learn more "),H()()(),G(46,"div",26)(47,"b-retention-settings-form",27),M("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),H()()(),G(48,"p",28),R(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
H(),G(50,"div",29)(51,"b-button",30),M("onAction",function(){return b.create()}),R(52," Save "),H(),G(53,"b-button",31),M("onAction",function(){return b.back()}),R(54," Discard "),H()()()()());a&2&&(z(8),mf("show-errors",b.error),z(2),F("error",b.error),z(1),mf("bv2-edit-resource-readonly",b.isSaving),z(4),F("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),z(1),mf("bv2-edit-resource-readonly",b.isSaving),z(4),F("ngModel",b.component.description)("disabled",b.isSaving),
z(2),mf("bv2-edit-resource-readonly",b.isSaving),z(4),F("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),z(1),mf("bv2-edit-resource-readonly",b.isSaving),z(2),F("checked",b.commentEditsEnabled),z(6),F("ngIf",!b.sessionIsExternal),z(9),F("href",Zr(),Id),z(2),mf("bv2-edit-resource-readonly",b.isSaving),z(1),F("issueRetentionDisabled",b.isSaving)("isExternal",up(b.parentComponent))("initialModel",b.component.retentionSettings),z(4),F("disabled",
b.isSaving||!b.componentIsValid),z(2),F("disabled",b.isSaving))},dependencies:[VO,tw,F0,IT,ax,kg,Uw,Vw,kx,$w,Yw,GM,BN,w1,RT],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var Dhd=["hotlistName"],Ehd=function(a){return{"bv2-edit-resource-readonly":a}},h7=function(a,b,c,d,e,g,h,l,q,x){jE.call(this);var A=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=x;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new Xw({name:new Zw("",TTb),description:new Zw("")});h.setTitle("Create Hotlist");this.subscriptions.add(YO(q,function(){return!(!A.name()&&!A.description())},!1))};U(h7,jE);
h7.\u0275dir=jE.\u0275dir;f=h7.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(){R1(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:""};
h7.\u0275fac=function(a){return new (a||h7)(C(CG),C(Q1),C(IF),C(OG),C(DG),C(oH),C(ZU),C(OF),C(XO),C(SF))};
h7.\u0275cmp=Bc({type:h7,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&Qf(Dhd,5);if(a&2){var c;Pf(c=Sf())&&(b.hotlistName=c.first)}},features:[Ye],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&&(G(0,"div",0)(1,"div",1)(2,"button",
2),M("click",function(){return b.back()}),I(3,"mat-icon",3),H(),G(4,"h2"),R(5,"Create a new hotlist"),H()()(),G(6,"div",4)(7,"div",5)(8,"form",6),I(9,"b-error-banner",7),G(10,"div",8)(11,"label",9),R(12,"Name"),H(),I(13,"input",10,11),H(),G(15,"div",8)(16,"label",12),R(17,"Description"),H(),G(18,"textarea",13),R(19,"        "),H()(),G(20,"p",14),R(21," Advanced settings such as access controls may be defined once the hotlist is created. "),H(),G(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),
R(24," Save "),H(),G(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),H()()()()());a&2&&(z(8),F("formGroup",b.hotlistUnderEdit),z(1),F("error",b.error),z(1),F("ngClass",Ff(7,Ehd,b.isSaving)),z(3),F("disabled",b.isSaving),z(2),F("ngClass",Ff(9,Ehd,b.isSaving)),z(3),F("disabled",b.isSaving),z(5),F("disabled",b.isSaving))},dependencies:[rw,JA,Yz,ZB,ax,kg,Uw,Vw,kx,gx,hx,F0],encapsulation:2});var i7=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=hE(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=hE(this.activeSession,"enableDupSearchA");this.enableDupSearchB=hE(this.activeSession,"enableDupSearchB");this.enableDupSearchC=hE(this.activeSession,"enableDupSearchC");this.enableDupSearchMoma=hE(this.activeSession,"enableDupSearchMoma");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||
this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC||this.enableDupSearchMoma)};i7.prototype.triggerSimilarIssuesSurvey=function(){return Cpc(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",Fhd(this)).pipe(D(function(){}))};i7.prototype.trackTitleHoverOver=function(){this.analytics.trackEvent(Gn.MAGIC_BOX,"titleHoverOver",this.getGroupName())};i7.prototype.trackTitleClick=function(){this.analytics.trackEvent(Gn.MAGIC_BOX,"titleClick",this.getGroupName())};
var Fhd=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};
i7.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":this.enableDupSearchMoma?"VariantMoma":"Control"};i7.\u0275fac=function(a){return new (a||i7)(u(oH),u(ds),u(LO))};i7.\u0275prov=mc({token:i7,factory:i7.\u0275fac,providedIn:"root"});var j7=function(a){r.call(this,a,0,j7.messageId)};U(j7,r);j7.prototype.getIssueIdsList=function(){return Fh(this,1)};j7.prototype.setIssueIdsList=function(a){return hj(this,1,a)};j7.prototype.addIssueIds=function(a){sb(this,1,a)};j7.repeatedFields_=[1];j7.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(Fh(this,1))}}else a=void 0;return a};j7.messageId="b.BatchIssueDigestRequest";var k7=function(a){r.call(this,a,0,k7.messageId)};U(k7,r);k7.prototype.getIssueDigestsList=function(){return Ch(this,pac,1)};k7.repeatedFields_=[1];k7.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Gb(this.getIssueDigestsList(),qac)}}else a=void 0;return a};k7.messageId="b.BatchIssueDigestResponse";var l7=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};l7.prototype.get=function(a){return this.adaptedGet(a).pipe(D(osa))};l7.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(D(Zob))};l7.\u0275fac=function(a){return new (a||l7)(u(m7),u(hF))};l7.\u0275prov=mc({token:l7,factory:l7.\u0275fac,providedIn:"root"});var m7=function(a){this.executor=a};
m7.prototype.call=function(a){var b=[].concat(Pc(a));b.sort();a=new j7;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:k7})};m7.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 pac).setIssueId(a)};m7.\u0275fac=function(a){return new (a||m7)(u(ZC))};m7.\u0275prov=mc({token:m7,factory:m7.\u0275fac,providedIn:"root"});var Ghd=function(a){r.call(this,a,0,Ghd.messageId)};U(Ghd,r);f=Ghd.prototype;f.getTitle=function(){return V(this,1)};f.setTitle=function(a){return n(this,1,a)};f.getComponentId=function(){return wi(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return vi(this,2)};f.toObject=function(){if(null!=this){t(this);var a={title:p(m(this,1)),componentId:p(m(this,2)),isRecursive:p($q(this,3))}}else a=void 0;return a};Ghd.messageId="b.MomaIssueSearchRequest";var n7=function(a){r.call(this,a,0,n7.messageId)};U(n7,r);n7.prototype.getIssueId=function(a){return Rs(this,1,a)};n7.prototype.setIssueId=function(a){return Us(this,1,a)};n7.repeatedFields_=[1];n7.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdList:p(Fh(this,1))}}else a=void 0;return a};n7.messageId="b.MomaIssueSearchResponse";var o7=function(a){this.executor=a},Hhd=function(a,b){b=Ij((new Ghd).setTitle(b.title).setComponentId(String(b.componentId)),3,!0);return a.executor.post({url:"action/issues/momasearch",body:b,responseConstructor:n7}).pipe(D(function(c){return Fh(c,1)}))};o7.\u0275fac=function(a){return new (a||o7)(u(ZC))};o7.\u0275prov=mc({token:o7,factory:o7.\u0275fac,providedIn:"root"});var p7=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},Ihd=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)};p7.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.map(function(b){return new Wh(b)}).filter(function(b){return!b.isEmpty()}).length:!1};
p7.prototype.searchAsync=function(a,b,c){var d=this;return(0,E.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}})})};
p7.prototype.fetchIssues=function(a){if(this.enableDupSearchMoma&&a.issue.title)return Jhd(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(Ihd(this,c,d)){var e=apb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var g=ki(d.componentId);e=(g?"componentid:"+g:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(g=apb(ki(d.comment)||""),g=0<g.length?
"comment:("+g.join(" ")+")":"",e+=g?" "+g:"",this.enableDupSearchA)b=e;else{g=ki(d.type);var h=ki(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(g?"type:"+g:""));this.enableDupSearchB?b=e:(g=ki(d.hotlistId),g=!g||1>(null==g?void 0:g.length)?"":"hotlistid:("+(g.join(" | ")+")"),e=e+(" "+g)+(" "+Khd(this,c,ki(d.customField))),b=this.enableDupSearchC?e:Lhd(b))}}else b=Lhd(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(Lhd(a.componentId),a.count,a.page)};
var Lhd=function(a){return"componentid:"+a+" status:open"},Khd=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return new Wh(d)}).filter(function(d){return!d.isEmpty()}).map(function(d){return Mhd(a,b,d)}).join(" ")},Mhd=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=Nhd(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 Nhd(g)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},Nhd=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
p7.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};var Jhd=function(a,b,c){return Hhd(a.momaSearchApi,{title:b,componentId:c}).pipe(Oe(function(d){return a.issueDigests.getAll(new Set(d))}),D(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}}))};p7.\u0275fac=function(a){return new (a||p7)(u(DG),u(CO),u(i7),u(o7),u(l7))};
p7.\u0275prov=mc({token:p7,factory:p7.\u0275fac,providedIn:"root"});var $ob=RegExp("\\w+","g");var q7=function(a,b,c,d){jE.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new Vv;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new Vv;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 E.Subject;this.CATEGORIES=Gn};U(q7,jE);q7.\u0275dir=jE.\u0275dir;f=q7.prototype;f.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(ze(750),Be(Kh),Pe(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=Ihd(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(Pe(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(Pc(b.magicBoxIssues),Pc(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(Pe(this.destroyed$)).subscribe()};
f.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};f.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};f.getGroupName=function(){return this.experimentSupport.getGroupName()};q7.\u0275fac=function(a){return new (a||q7)(C(kH,2),C(oH),C(p7),C(i7))};
q7.\u0275cmp=Bc({type:q7,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:[Cf([CO,kH]),Ye,Uc],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&&(Q(0,cpb,2,2,"div",0),Q(1,qpb,9,8,"ng-template",null,1,Vf));a&2&&F("ngIf",b.componentId)},dependencies:[VO,GM,zL,rw,sw,tw,JA,vO,xJ,yJ,CJ,zJ,Yz],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 Ohd=["popOver"],spb=function(a){return{$implicit:a}},Apb=function(a){return{editingValue:a}},r7=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new Vv;this.editorOpen=new Vv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new Zw("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};U(r7,MY);f=r7.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};ch.Object.defineProperties(r7.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
r7.\u0275fac=function(a){return new (a||r7)(kd("required"))};
r7.\u0275cmp=Bc({type:r7,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&Qf(Ohd,7);if(a&2){var c;Pf(c=Sf())&&(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:[Cf([{provide:Jw,useExisting:sc(function(){return r7}),multi:!0},{provide:MY,useExisting:sc(function(){return r7}),multi:!0}]),Ye],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&&(G(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),G(2,"span"),Q(3,tpb,2,4,"ng-container",
2),Q(4,upb,1,1,"ng-template",null,3,Vf),H(),Q(6,vpb,2,2,"svg",4),H(),G(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(g){return b.stopEditing(g)}),H(),Q(9,Cpb,2,2,"ng-template",null,7,Vf));if(a&2){var c=yf(1),d=yf(5),e=yf(10);bf("aria-labelledby",b.labelledById);z(3);F("ngIf",b.valueTemplate)("ngIfElse",d);z(3);F("ngIf",!b.disabled);z(1);F("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[tw,yw,kg,Uw,rA,V5,fx],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 Phd=Fg("indicatorRotate",[Ig("collapsed, void",Hg({transform:"rotate(0deg)"})),Ig("expanded",Hg({transform:"rotate(180deg)"})),Jg("expanded <=> collapsed, void => collapsed",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Qhd=Fg("bodyExpansion",[Ig("collapsed, void",Hg({height:"0px",visibility:"hidden"})),Ig("expanded",Hg({height:"*",visibility:"visible"})),Jg("expanded <=> collapsed, void => collapsed",Gg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var Rhd=new Nc("CdkAccordion");var Shd=0,s7=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=E.Subscription.EMPTY;this.closed=new Vv;this.opened=new Vv;this.destroyed=new Vv;this.expandedChange=new Vv;this.id="cdk-accordion-child-"+Shd++;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=s7.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)})};
ch.Object.defineProperties(s7.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){a=tg(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=tg(a)}}});
s7.\u0275fac=function(a){return new (a||s7)(C(Rhd,12),C(mw),C($y))};s7.\u0275dir=Gc({type:s7,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Cf([{provide:Rhd,useValue:void 0}])]});var t7=function(){};t7.\u0275fac=function(a){return new (a||t7)};t7.\u0275mod=Dc({type:t7});t7.\u0275inj=nc({});var Thd=new Nc("MAT_ACCORDION");var Uhd=new Nc("MAT_EXPANSION_PANEL");var Vhd=function(a,b){this._template=a;this._expansionPanel=b};Vhd.\u0275fac=function(a){return new (a||Vhd)(C(Mf),C(Uhd,8))};Vhd.\u0275dir=Gc({type:Vhd,selectors:[["ng-template","matExpansionPanelContent",""]]});var Whd=["body"],Xhd=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Yhd=0,Zhd=new Nc("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),u7=function(a,b,c,d,e,g,h){s7.call(this,a,b,c);var l=this;this._viewContainerRef=d;this._animationMode=g;this._hideToggle=!1;this.afterExpand=new Vv;this.afterCollapse=new Vv;this._inputChanges=new E.Subject;this._headerId="mat-expansion-panel-header-"+Yhd++;this._bodyAnimationDone=new E.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Be(function(q,
x){return q.fromState===x.fromState&&q.toState===x.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?l.afterExpand.emit():"collapsed"===q.toState&&l.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};U(u7,s7);u7.\u0275dir=s7.\u0275dir;f=u7.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(Ne(null),ue(function(){return a.expanded&&!a._portal}),Ce()).subscribe(function(){a._portal=new Cx(a._lazyContent._template,a._viewContainerRef)})};f.ngOnChanges=function(a){this._inputChanges.next(a)};
f.ngOnDestroy=function(){s7.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};
ch.Object.defineProperties(u7.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=tg(a)}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});u7.\u0275fac=function(a){return new (a||u7)(C(Thd,12),C(mw),C($y),C(Nf),C(ah),C(tv,8),C(Zhd,8))};
u7.\u0275cmp=Bc({type:u7,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&Rf(c,Vhd,5);if(a&2){var d;Pf(d=Sf())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&Qf(Whd,5);if(a&2){var c;Pf(c=Sf())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&mf("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:[Cf([{provide:Thd,useValue:void 0},{provide:Uhd,useExisting:u7}]),Ye,Uc],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&&(tf(Xhd),uf(0),G(1,"div",0,1),M("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),G(3,"div",2),uf(4,1),Q(5,Dpb,0,0,"ng-template",3),H(),uf(6,2),H());a&2&&(z(1),F("@bodyExpansion",b._getExpandedState())("id",b.id),bf("aria-labelledby",b._headerId),z(4),F("cdkPortalOutlet",b._portal))},dependencies:[Gx],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:[Qhd]},changeDetection:0});var $hd=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],aid=gh(function(){}),v7=function(a,b,c,d,e,g,h){var l=aid.call(this)||this;l.panel=a;l._element=b;l._focusMonitor=c;l._changeDetectorRef=d;l._animationMode=g;l._parentChangeSubscription=E.Subscription.EMPTY;var q=a.accordion?a.accordion._stateChanges.pipe(ue(function(x){return!(!x.hideToggle&&!x.togglePosition)})):E.EMPTY;l.tabIndex=parseInt(h||"")||0;l._parentChangeSubscription=(0,E.merge)(a.opened,a.closed,q,a._inputChanges.pipe(ue(function(x){return!!(x.hideToggle||
x.disabled||x.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()});a.closed.pipe(ue(function(){return a._containsFocus()})).subscribe(function(){return yx(c,b,"program")});e&&(l.expandedHeight=e.expandedHeight,l.collapsedHeight=e.collapsedHeight);return l};U(v7,aid);f=v7.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:xg(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
f.focus=function(a,b){a?yx(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)};ch.Object.defineProperties(v7.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
v7.\u0275fac=function(a){return new (a||v7)(C(u7,1),C(rd),C(xx),C(mw),C(Zhd,8),C(tv,8),kd("tabindex"))};
v7.\u0275cmp=Bc({type:v7,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&M("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(bf("id",b.panel._headerId)("tabindex",b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),lf("height",b._getHeaderHeight()),mf("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:[Ye],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&&(tf($hd),
G(0,"span",0),uf(1),uf(2,1),uf(3,2),H(),Q(4,Epb,1,1,"span",1));a&2&&(mf("mat-content-hide-toggle",!b._showToggle()),z(4),F("ngIf",b._showToggle()))},dependencies:[tw],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:[Phd]},changeDetection:0});var w7=function(){};w7.\u0275fac=function(a){return new (a||w7)};w7.\u0275dir=Gc({type:w7,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var x7=function(){};x7.\u0275fac=function(a){return new (a||x7)};x7.\u0275mod=Dc({type:x7});x7.\u0275inj=nc({imports:[Hw,sz,t7,Hx]});var bid=["descriptionConfirmDialog"],Gpb=function(a,b){return{partner:a,"public":b}},Cqb=function(a){return{required:a}},Jqb=function(a){return{"bv2-upload-ongoing":a}},cid=function(a){return{submitted:a}},y7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,Ya,wa,Ka,Na,eb,ab,Sc,fb,zb,$a){jE.call(this);var Fb=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=
x;this.issueTypeDialog=A;this.componentActions=B;this.activeSession=K;this.draftStore=O;this.pageTitle=P;this.analytics=Y;this.issueApi=X;this.userApi=ka;this.hotlistApi=ma;this.butterBar=ya;this.errorHandler=Aa;this.matDialogService=Ma;this.appEvents=Ra;this.userPreferencesManager=qb;this.cdr=Ka;this.confirmationDialogService=Na;this.issueRelationshipsFridge=eb;this.issueFridge=ab;this.componentFridge=Sc;this.clearcut=fb;this.currentTracker=zb;this.jspbPrincipalTypes=$a;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=hE(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.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=kl;this.toIssueSeverity=xua;this.FieldType=GTc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(Oe(function(ib){return ib?
Fb.componentFridge.watch(Number(ib.componentId)).pipe(Ne(void 0)):(0,E.of)(void 0)}));this.getSingleEditFieldType=d4a;this.getListFieldType=V4a;this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Fb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Fb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Fb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=
hE(K,"enableCreateIssueWithTemplate");this.enableIssueAccessLimits=hE(this.activeSession,"enableIssueAccessLimits");this.frontendIsInternalOrPartner=K.isInternalSession()||G$b(K);this.priorityChoices=wa.priorities.map(function(ib){return{value:ib,displayText:ib}});this.severityChoices=wa.severities.map(function(ib){return{value:ib,displayText:ib}});this.issueTypeChoices=wa.editIssueTypes.map(function(ib){return{value:ib,displayText:zua(ib),altText:wa.issueTypesShortDescriptions.get(ib)}});this.urlTemplate=
new M_c(Ta,b);this.piiWarningMessage=K.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=Ta.component;this.templateIssueRequestedInUrl=Ta.template_issue;Ta.template&&(a=Number(Ta.template))&&(this.preferredTemplateId=a);if(a=Ta.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Ta.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Ta.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=Lh(Qqb);Nqb(this.issue,this);this.audience="EXTERNAL_AUDIENCE";Ta.description?this.comment=new WI(Ta.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(Ym("0"))||
"",this.comment=new WI(a));this.comment.formattingMode=did(this);a=eid(Ta);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(qb.preferences$.subscribe(function(ib){var Mb;Fb.useCodefont=null!=(Mb=ib.useCodefont)?Mb:Fb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=O_c(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(KL(Lb,{title:"Create Issue Page",hotkeys:[{keys:["h"],
displayAs:"h",description:"Edit hotlists",onPress:function(){var ib;null==(ib=Fb.hotlistPicker)||ib.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Fb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,fid(this,Number(this.componentRequestedInUrl))):(T_c(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&(this.newIssueStarted=!0,gid(this));this.originalIssueCopy=Lh(this.issue);Ta.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=K.getCreateRestrictedSubresourcesComponentWhitelist();this.subscriptions.add(YO(Ya,function(){return Fb.hasUnsavedChanges()},!1))};U(y7,jE);y7.\u0275dir=jE.\u0275dir;
y7.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var Kqb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};y7.prototype.ngOnDestroy=function(){jE.prototype.ngOnDestroy.call(this);hid(this)};
y7.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))}))};y7.prototype.unloadPageHandler=function(){hid(this)};var z7=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};y7.prototype.back=function(){R1(this.appHistory)};
y7.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
y7.prototype.selectComponent=function(a){this.selectedComponent=a;this.enableIssueAccessLimits=hE(this.activeSession,"enableIssueAccessLimits");this.selectedComponent?(this.enableIssueAccessLimits||(this.enableIssueAccessLimits=this.activeSession.getIssueAccessLimitsComponentAllowlist().has(this.selectedComponent.componentId)),this.issue=Object.assign({},this.issue,{componentId:this.selectedComponent.componentId}),this.originalIssueCopy.componentId=this.selectedComponent.componentId,iid(this),this.audience=
up(this.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",this.createRestrictedResourcesComponentWhitelist.includes(this.selectedComponent.componentId)?this.judgementForNewContent={severity:"PII",judgementReason:"None Specified"}:this.judgementForNewContent=void 0):(Rb(this.issue,"componentId"),this.audience="EXTERNAL_AUDIENCE");this.submitRequested=!1;jid(this);return this.selectedComponentProcessedPromise=Promise.all([kid(this),lid(this)]).then(function(){})};
var mid=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},Jpb=function(a){return q6a(a.selectedComponent)?"External Google partners may be able to see this issue.":vp(a.selectedComponent)?"Public users may be able to see this issue.":""},gid=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?MF(a.butterBar,"Invalid template_issue specified"):(a.availableExistingIssueTemplate=
new nid(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},kid=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;yk(xk(g))&&(g=e.default?"(default template)":"(unnamed template)");return new nid(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]);z7(a)}).catch(function(){MF(a.butterBar,
"Unable to load templates for this component")}):Promise.resolve(void 0)},lid=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=yF(a.userAccess,"appender","components/"+b).then(function(g){a.canCreateNewIssuesInComponent=
g;z7(a)}),e=yF(a.userAccess,"writer",c).then(function(g){a.canEditIssuesInComponent=g;z7(a)});c=yF(a.userAccess,"reader",c).then(function(g){a.canViewIssuesInComponent=g;z7(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(g){a.componentHasExpandedAccessEnabled=g;z7(a)});return Promise.all([d,e,c,b]).then(function(){oid(a);z7(a)}).catch(function(g){a.$log.warn(g)}).finally(function(){a.createAclLoading=!1})};
y7.prototype.getIssueTemplate=function(){var a=this;if(this.selectedTemplate){var b=function(c){var d=Object.assign(Lh(Qqb),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=Lh(d);mid(a);Pqb(a,a.issue);var g=Lh(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 x=q.next();!x.done;x=q.next())dqa(g[l],x.value)}else Kh(q,
g[l])&&delete g[l]}a.appliedTemplate=e;Rqb(d,g);g=e.comment||"";a.comment.value!==a.templateComment&&(Khc(a.comment)||""===g||a.comment.value===g||(a.templateComment=g,pid(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=g;var A;a.templateCommentFormattingMode=null!=(A=e.formattingMode)?A:void 0;a.templateTitle=e.title||"";d.reporterUser=gi(a.userEmail);a.enableIssueAccessLimits&&(a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE");a.issue=
d;Nqb(a.issue,a);oid(a);mid(a);Pqb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);T_c(a.urlTemplate,a.issue,a.customFieldMap);Nqb(a.issue,a);a.originalIssueCopy=Lh(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=Lh(a.issue.hotlistId);z7(a)});qid(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(){z7(a)}):"issue"===this.selectedTemplate.type&&(Xbc(this.issueTemplate,String(this.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Ne");return b(c)}).then(function(c){c&&(fid(a,c),z7(a))}).catch(function(c){MF(a.butterBar,c.message)}),(0,E.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(Gn.CREATE_ISSUE,"changeTemplate");jid(this)}};y7.prototype.isValid=function(){return!(0!==Lpb(this).length||0!==Mpb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!Spb(this.comment)&&!0};
var Lpb=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})},Mpb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&(new Wh(b)).isEmpty()}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},rid=function(a){return 0===a.collaboratorsText.length?(a.isCollaboratorsValid=
!0,Promise.resolve(!0)):Ehc(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){MF(a.butterBar,b.message);return!1})},rqb=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)},jqb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Kr=function(a){return a?a.join(", "):""},qid=function(a){if(Gca(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};f=y7.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 Wh(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(Gn.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 Wh(a)).getValue())?void 0:b.values)?c:null};
f.saveCommentDraft=function(){var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.$window.sessionStorage.setItem(Ym("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(Gn.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:kl(a)});var b;this.analytics.trackEvent(Gn.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};var eqb=function(a,b){a.issue=Object.assign({},a.issue,{type:wua(b)});var c;a.analytics.trackEvent(Gn.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
y7.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 Jp(b.name,c.name)})};
var sid=function(a,b){var c,d,e,g,h,l,q,x,A,B,K;return de(function(O){switch(O.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){O.jumpTo(2);break}e=[];return 1===d.length?O.yield(a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):O.yield(cfc(a.issueRelationshipsFridge,c,d),5);case 5:h=O.yieldResult;e=h.notAdded;g=h.errors;O.jumpTo(4);break;case 6:l=O.yieldResult,e=l.notAdded,g=l.errors;case 4:e.length&&MF(a.butterBar,"Unable to add "+
e+" as parent(s). "+g);case 2:q=a.childrenIssueIds;if(null==(x=q)||!x.length){O.jumpTo(7);break}return O.yield(a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(P){return{issueId:P}})),8);case 8:A=O.yieldResult,B=A.notAdded,K=A.errors,B.length&&MF(a.butterBar,"Unable to add "+B+" as children. "+K);case 7:return O.return(b)}})},Hqb=function(a,b){var c,d,e,g,h,l,q,x;return de(function(A){switch(A.nextAddress){case 1:return c=a,A.yield(rid(a),2);case 2:c.isCollaboratorsValid=A.yieldResult;
d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return A.return()}a.enableIssueAccessLimits&&(d.issueAccessLimitLevel=a.selectedAccessLimitLevel,d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&a.analytics.trackEvent(Gn.ISSUE_ACCESS_LIMITS,"create","create_issue:"+d.issueAccessLimitLevel));d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;g={snapshot:d,attachments:a.comment.getAttachments()};a.enableRecaptcha&&
(g.recaptchaToken=a.recaptchaResponse);a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(g.templateId=a.selectedTemplate.id);a.judgementForNewContent&&"NONE_DETECTED"!==a.judgementForNewContent.severity&&(g.contentJudgement=a.judgementForNewContent);a.canEditIssuesInComponent||(h={title:g.snapshot.title,componentId:g.snapshot.componentId,comment:g.snapshot.comment,formattingMode:g.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?
[]:[a.userEmail]},g.snapshot=h);g.snapshot=Pb(g.snapshot,function(B){return"string"!==typeof B||!yk(B)});g.snapshot.customField&&(g.snapshot.customField=g.snapshot.customField.filter(function(B){return!(new Wh(B)).isEmpty()}));Pqb(a,g.snapshot);g.snapshot.assigneeUser&&(g.snapshot.status="ASSIGNED");l=function(){a.isSaving=!0;a.newIssueStarted=!1;LF(a.butterBar,"Creating...",0);a.issueApi.createIssue(g).then(function(B){return sid(a,B)}).then(function(B){a.draftStore.$window.sessionStorage.removeItem(Ym("0"));
a.originalIssueCopy=Lh(a.issue);a.analytics.trackEvent(Gn.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");tid(a);if(b){var K;a.analytics.trackEvent(Gn.CREATE_ISSUE,"fileAndRedirect","component",null!=(K=d.componentId)?K:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;yF(a.userAccess,"reader","issues/"+B.issueId).then(function(Y){a.componentPickerTouched=!1;Y?Y_c(a.redirectUrl,a.paths.editIssue(B.issueId),String(B.issueId)):(LF(a.butterBar,"New issue created: "+
B.issueId+" (view access not granted)",0),Y_c(a.redirectUrl,a.paths.listIssues()));z7(a)}).catch(function(Y){a.errorHandler.errorHandler(null,Y);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var O;a.analytics.trackEvent(Gn.CREATE_ISSUE,"fileAndNew","component",null!=(O=d.componentId)?O:void 0);K={};Vbc(a.butterBar,fn("New issue created: ",en("A",(K.href=a.paths.editIssue(B.issueId),K),String(B.issueId))),0);d.title=a.templateTitle;a.comment=new WI(a.templateComment);(d.comment=a.templateComment)&&
a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var P;K=k(null!=(P=a.magicBoxes)?P:[]);for(P=K.next();!P.done;P=K.next())P.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=Lh(a.issue)}z7(a)}).catch(function(B){403===B.status&&Nl(B)?PF(a.errorHandler,Ol(B)):a.errorHandler.errorHandler(null,B);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1})};return A.yield(uid(a),
3);case 3:return(q=A.yieldResult)?A.yield(vid(a),4):A.return();case 4:x=A.yieldResult;if(!x)return A.return();l();ie(A)}})},uid=function(a){var b=Ll();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:lv("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},vid=function(a){var b=Ll();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):Tgc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},fid=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Oe");a.selectComponent(c);
z7(a)}).catch(function(){MF(a.butterBar,"Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};y7.prototype.hasUnsavedChanges=function(){var a=Sqb(this.issue),b=Sqb(this.originalIssueCopy);return!Kh(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var aqb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;a.analytics.trackEvent(Gn.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},pid=function(a,b){fA(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(Fe()).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="")})},jid=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)))},Hpb=function(a){return a.sessionIsExternal?!1:q6a(a.selectedComponent)},Ipb=function(a){return H$b(a.activeSession)?!1:vp(a.selectedComponent)},iid=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=
Tqb(b);wid(a)}},wid=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 Wh({customFieldId:d.customFieldId}));a.originalIssueCopy.customField=
a.issue.customField}},oid=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(Pc(a.ccsText))):a.ccsText=[a.userEmail]};f=y7.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);z7(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");LF(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){LF(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);z7(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);z7(b);return d},function(){var d=b.hotlistMap[c];Rb(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(){z7(b)})};
var eid=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},did=function(a){var b;return uk(null==(b=CI(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
y7.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(Pe(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};y7.prototype.showContentJudgementDialog=function(a){return fA(this.matDialogService.open(SP,{panelClass:"no-jitter",width:"500px",data:a}))};
var hid=function(a){a.componentPickerTouched&&(a.analytics.trackEvent(Gn.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);a.analytics.trackEvent(Gn.CREATE_ISSUE,"creation-abandon","new-ui")},tid=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);Jec("createIssue",c,"new-ui");a.analytics.trackEvent(Gn.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);dH(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=
new Date};ch.Object.defineProperties(y7.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()})}}}});
y7.\u0275fac=function(a){return new (a||y7)(C(Se),C(NF),C(HX),C(DG),C(S1),C(xF),C(cG),C(CG),C(Q1),C(RF),C(xI),C(LT),C(ds),C(uI),C(ZU),C(oH),C(yE),C(WG),C(OG),C(KF),C(OF),C(kA),C(SF),C(YI),C(JL),C(BI),C(XO),C(II),C(kH,2),C(wI),C(AH),C(tH),C(mF),C(cH),C(sK),C(TI))};
y7.\u0275cmp=Bc({type:y7,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(Qf(F_,5),Qf(x_,5),Qf(bid,5),Qf(u7,5),Qf(q7,5));if(a&2){var c;Pf(c=Sf())&&(b.hotlistPicker=c.first);Pf(c=Sf())&&(b.commentBox=c.first);Pf(c=Sf())&&(b.descriptionConfirmDialog=c.first);Pf(c=Sf())&&(b.advancedFieldsZippy=c.first);Pf(c=Sf())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,ud)},features:[Cf([kH]),Ye],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",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"],["for","bv2-access-limits","title","Set access level of this issue"],["id","bv2-access-limits",3,"disabled","implicitAccessEnabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],[1,"mat-elevation-z0"],
[1,"required-text"],[1,"bv2-new-issue-metadata"],["aria-label","Set severity",1,"bv2-create-adv-field"],["for","bv2-severity","title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],["severityMenu","matMenu"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],["id","bv2-found-in","name",
"foundIn","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModel","ngModelChange"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-verifier",
"title","Set the verifier of this issue."],["id","bv2-verifier","name","verifier","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModel","ngModelChange"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],["id",
"bv2-blocked-by","name","blockedByInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],
["id","bv2-parents","name","parentsInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModel","ngModelChange"],["id","bv2-access-limits",3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],
[3,"value","options","includeEmptyOption","valueChange",4,"ngIf"],[3,"id","value","valueChange"],[3,"boundValue","isRequired","bv2Id","bv2AriaLabelledby","boundValueChange"],[3,"value","options","includeEmptyOption","valueChange"],["name","customInput","tabindex","0",3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],[1,"create-issue-recaptcha"],[3,"onUpdate"],["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&&(G(0,"h2",0),R(1,"Create issue"),H(),G(2,"div",1)(3,"div",2)(4,"button",3),M("click",function(){return b.back()}),I(5,"mat-icon",4),H(),G(6,"h2"),R(7,"Create Issue"),H(),Q(8,Fpb,1,2,"b-hotlist-picker",5),H()(),G(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),Q(13,Kpb,6,8,"div",9),Q(14,Tpb,4,3,"div",10),Q(15,Vpb,2,1,"div",11),G(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),R(20,"Component"),H()(),G(21,"div",16)(22,"b-team-component-picker",
17),M("selectedComponentChange",function(d){return b.selectComponent(null!==d&&void 0!==d?d:null)})("touched",function(){return b.componentPickerTouched=!0}),H()()(),Q(23,Ypb,11,5,"div",18),H(),Q(24,Zpb,3,0,"div",19),Q(25,Lqb,38,28,"div",20),H()(),G(26,"div",21)(27,"b-magic-box",22),M("headerChange",function(d){return b.magicBoxHeader=d}),H()()()(),Q(28,Mqb,11,2,"ng-template",null,23,Vf));if(a&2){var c;z(8);F("ngIf",b.canEditIssuesInComponent);z(4);F("ngClass",Ff(15,cid,b.submitRequested));z(1);F("ngIf",
Hpb(b)||Ipb(b));z(1);F("ngIf",b.submitRequested&&!b.isValid());z(1);F("ngIf",0<b.selectedHotlists.length);z(7);F("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);z(1);F("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);z(1);F("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);
z(1);F("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);z(2);F("componentId",null!==(c=b.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",b.issue.title)("issue",b.issue)("customFieldMap",b.customFieldMap)}},dependencies:[VO,x_,XN,yR,NY,W5,uA,IT,ax,kg,Uw,Vw,kx,mx,$w,Yw,US,F_,GM,V_,HZ,q7,Yz,lA,mA,nA,oA,u7,v7,w7,JA,Yy,RB,PB,QB,DS,ZB,r7,RT,rw,sw,tw,DR,W_,iJ],styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.feedback-button[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto}.feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-top-field-label[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.create-issue-recaptcha[_ngcontent-%COMP%]{float:right;margin:0 15px 15px 0}.mat-menu-item[_ngcontent-%COMP%]:active, .mat-menu-item[_ngcontent-%COMP%]:focus, .mat-menu-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]{height:18px}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]     svg{height:90%;margin-top:1px}[_nghost-%COMP%]   input.invalid[_ngcontent-%COMP%]{border-color:var(--bad-high-contrast)!important;border-width:2px!important}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var Qqb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},nid=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var xid=["form"],A7=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=A7.prototype;f.ngAfterViewInit=function(){};
f.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");LF(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){LF(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(){R1(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};A7.\u0275fac=function(a){return new (a||A7)(C(CG),C(rS),C(OF),C(DG),C(oH),C(KF),C(ZU),C(Q1))};
A7.\u0275cmp=Bc({type:A7,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&Qf(xid,5);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"div",0)(1,"div",
1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),G(4,"div",4)(5,"h2",5)(6,"span",6),R(7,"Create a new SLO"),H()(),G(8,"div",7)(9,"form",8,9),I(11,"b-error-banner",10),G(12,"div",11)(13,"label",12),R(14,"Name"),H(),G(15,"input",13),M("ngModelChange",function(c){return b.sloUnderEdit.name=c}),H()(),G(16,"div",11)(17,"label",14),R(18,"Description"),H(),G(19,"textarea",15),M("ngModelChange",function(c){return b.sloUnderEdit.description=c}),R(20,"        "),H()(),G(21,
"div",11)(22,"slo-elements-picker",16),M("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),H()(),G(23,"p",17),R(24," Access controls may be defined once the slo is created. "),H(),G(25,"div",18)(26,"b-button",19),M("onAction",function(){return b.save()}),R(27," Save "),H(),G(28,"b-button",20),M("onAction",function(){return b.revertChanges()}),R(29," Revert changes "),H()()()()());a&2&&(z(9),mf("show-errors",b.error),z(2),F("error",
b.error),z(1),mf("bv2-edit-resource-readonly",b.isSaving),z(3),F("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),z(1),mf("bv2-edit-resource-readonly",b.isSaving),z(3),F("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),z(3),F("isDisabled",!1)("collection",b.sloUnderEdit.elements),z(4),F("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),z(2),F("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[VO,F0,IT,ax,kg,Uw,Vw,kx,$w,Yw,GM,F1],encapsulation:2});var B7=function(){this.nextPanelId=1};B7.\u0275fac=function(a){return new (a||B7)};B7.\u0275prov=mc({token:B7,factory:B7.\u0275fac,providedIn:"root"});var C7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa){jE.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=x;this.pageTitle=A;this.dashboards=B;this.routeParams=K;this.appSearchState=P;this.userAccess=Y;this.errorHandler=X;this.statusMessages=ka;this.appEvents=ma;this.hotlistFridge=ya;this.issueFridge=Aa;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=O.getUserEmail();this.groupId=K.groupId||null};U(C7,jE);C7.\u0275dir=jE.\u0275dir;
C7.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){yid(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){zid(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){zid(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){zid(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){zid(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 Yqb=function(a,b){var c=b.selectedIssues;if(a=Aid(a,b.panelId))a.selectedIssues=null!=c?c:[]},Xqb=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)},Aid=function(a,b){return a.panels.find(function(c){return c.panelId===b})},Bid=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};f=C7.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];Kh(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");LF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);LF(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;LF(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 Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;yaa(d.hotlists);for(var e=k(d.hotlistId||[]),g=e.next();!g.done;g=e.next())g=g.value,this.hotlistMap[g]?d.hotlists.push(this.hotlistMap[g]):c.get(g)?c.get(g).push(d):c.set(g,[d])}a={};c=k(c);for(d=c.next();!d.done;a={$jscomp$loop$prop$issueRows$2367:a.$jscomp$loop$prop$issueRows$2367},d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.$jscomp$loop$prop$issueRows$2367=e,this.hotlistApi.get(d).then(function(h){return function(l){b.hotlistFridge.announce(l);
for(var q=k(h.$jscomp$loop$prop$issueRows$2367),x=q.next();!x.done;x=q.next())x.value.hotlists.push(l);b.addHotlist(l);b.cdr.detectChanges()}}(a)).catch(function(h){403!==h.status&&b.errorHandler.errorHandler(null,h)})};
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();LF(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return vH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){LF(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=k(c.panels),x=q.next();!x.done;x=q.next()){x=k(x.value.selectedIssues);for(var A=x.next();!A.done;A=x.next()){var B=void 0;A.value.lastViewedTime=null!=(B=l)?B:null}}}).catch(function(l){for(var q=k(c.panels),x=q.next();!x.done;x=q.next()){x=k(x.value.selectedIssues);for(var A=x.next();!A.done;A=x.next())A=A.value,A.isRead=!!A.lastViewedTime&&A.lastViewedTime>=A.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
Iza(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};LF(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=k([].concat(Pc(c.searchPanels),Pc(c.hotlistPanels))),x=q.next();!x.done;x=q.next()){x=x.value;var A=l;if(x.searchResults){x.searchResults=x.searchResults.clone();for(var B=0,K=k(x.searchResults.issues),O=K.next();!O.done;O=K.next()){O=O.value;if(A.affectedIssues[O.issueId]){var P=
A.affectedIssues[O.issueId];P=G_a(P,A.componentMap[Number(oa(P.snapshot).componentId)]);P.selected=O.selected;x.searchResults.issues[B]=P;x.resultsLoaded.emit([x.searchResults.issues[B]])}B++}}}l.errors&&l.errors.length?(q=mqa(l.errors,"issueId"),MF(c.butterBar,"Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=yhc(c.statusMessages,h))?LF(c.butterBar,l):LF(c.butterBar,"Saved "+Jza(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){yF(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 yid=function(a,b){a.panels=(b.item||[]).map(function(c,d){return Cid(a,c,0===d?0:void 0)})};
C7.prototype.removePanel=function(a){var b=this,c=Aid(this,a);if(null!=c){LF(this.butterBar,"Saving changes...",0);a=Lh(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!Did(b,c,e)});Eid(this,a)}};
var zid=function(a,b,c){b=Bid(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=Lh(a.bookmarkGroup);var e,g,h=null==(e=a.bookmarkGroup)?void 0:null==(g=e.item)?void 0:g.findIndex(function(l){return Did(a,d,l)});void 0!==h&&(Iaa(b.item,h,c),Eid(a,b))}}},Eid=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;Fid(a,a.bookmarkGroup.item);LF(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},Did=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}},Gid=function(a,b){return a.panels.find(function(c){return Did(a,c,b)})},Cid=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:[]}},Fid=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=Gid(a,c))?d:Cid(a,c)})};
C7.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId,userLogin:this.userEmail}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)}):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)})};
C7.prototype.editBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};C7.\u0275fac=function(a){return new (a||C7)(C(kH),C(DG),C(CG),C(NF),C(oH),C(yE),C(WG),C(GX),C(OG),C(KF),C(ZU),C(B7),C(YI),C(ds),C($X),C(xF),C(OF),C(LI),C(SF),C($G),C(tH))};
C7.\u0275cmp=Bc({type:C7,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(Qf(i1,5),Qf(g1,5));if(a&2){var c;Pf(c=Sf())&&(b.searchPanels=c);Pf(c=Sf())&&(b.hotlistPanels=c)}},features:[Cf([kH]),Ye],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&&(G(0,"h2",0),R(1,"Dashboard"),H(),G(2,"div",1)(3,"div",2),R(4,"Bookmark groups dashboard"),H(),G(5,"b-dashboard-controls",3),M("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),H()(),G(6,"div",4),Q(7,Wqb,8,3,"div",5),Q(8,arb,3,3,"div",6),H());a&2&&(z(5),F("hotlistChoices",b.hotlistChoices)("panels",b.panels),z(1),F("bFocus",!0),
z(1),F("ngIf",b.bookmarkGroup),z(1),F("ngForOf",b.panels))},dependencies:[T_,XS,i1,g1,sw,tw,uw,vw,IT,ZB],encapsulation:2});var D7=function(){};D7.\u0275fac=function(a){return new (a||D7)};D7.\u0275mod=Dc({type:D7});D7.\u0275inj=nc({imports:[U_,eT,j1,h1,BF,JT,XC]});var Hid=["editBookmarkGroupItemsContainer"],Iid=["bookmarkGroupName"],Arb=function(a){return{"bv2-edit-resource-readonly":a}},Crb=function(a){return{displayText:"Admins",values:a}},Brb=function(a){return[a]},E7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya){jE.call(this);var Aa=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=x;this.accessPolicyConverter=A;this.userAccess=
B;this.errorHandler=O;this.appEvents=Y;this.snackBar=X;this.confirmationDialog=ka;this.cdr=ma;this.documentationLinks=ya;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=P.getUserEmail();this.accessPolicyUnderEdit=AQ();this.flattenedAccessPolicy=AQ();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);Jid(this);Kid(this);Promise.all([a,b]).then(function(){var Ma;null==(Ma=Aa.bookmarkGroupNameInput)||Ma.nativeElement.focus()});this.subscriptions.add(YO(K,function(){return Aa.hasUnsavedChanges()},!1));K=function(){Jid(Aa)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(K));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(K));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){Kid(Aa)}))};
U(E7,jE);E7.\u0275dir=jE.\u0275dir;f=E7.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(){R1(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!Kh(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};f.hasUnsavedAccessPolicyChanges=function(){return!Kh(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
f.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=Lh(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[Lid(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];Mid(this)};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Lh(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",cn("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",cn("Do you want to archive this bookmark group?"),function(){Nid(a,"archive")})};f.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",cn("Do you want to unarchive this bookmark group?"),function(){Nid(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});Oid(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=CQ(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);MF(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=BQ(c);a.accessPolicyUnderEdit=Lh(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var Nid=function(a,b){var c=Lh(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});Oid(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
E7.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){Oid(b,c);b.selectedHotlistIds=[Lid(b.bookmarkGroup.item)];Mid(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var Oid=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=Lh(a.bookmarkGroup)};
E7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=BQ(c);b.accessPolicyUnderEdit=Lh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};E7.prototype.loadUserAccess=function(a){var b=this;return yF(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var Jid=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},Kid=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;Mid(a);a.cdr.detectChanges()})},Mid=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=Pid(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
erb=function(a,b){var c=Number(b);sa(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});Qid(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},grb=function(a,b){sa(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});Mid(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},trb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:nh(b.resourceType)}},orb=function(a,b){for(var c={},d=k(Object.entries(b.newSelectionMap)),e=d.next();!e.done;c={$jscomp$loop$prop$id$2370:c.$jscomp$loop$prop$id$2370},e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c.$jscomp$loop$prop$id$2370=Ph(e);g&&!b.oldSelectionMap[c.$jscomp$loop$prop$id$2370]?(rrb(a,c.$jscomp$loop$prop$id$2370),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2370}}(c)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[c.$jscomp$loop$prop$id$2370]&&!g&&(Qid(a,c.$jscomp$loop$prop$id$2370),sa(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2370}}(c)))}},rrb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Qid=function(a,b){ra(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},krb=function(a,b){-1===Pid(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&
a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){Mid(a)})},Pid=function(a){return a?mqa(a,"savedSearchId"):[]},Lid=function(a){return a?mqa(a,"hotlistId"):[]},prb=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)},
qrb=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)};E7.prototype.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:nh(a.resourceType)}};
E7.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};E7.\u0275fac=function(a){return new (a||E7)(C(YI),C(CG),C(KF),C(cG),C(WG),C(GX),C(OG),C(DG),C(Q1),C(ZU),C(zQ),C(xF),C(XO),C(OF),C(ds),C(SF),C(IF),C(wI),C(kH,2),C(vI))};
E7.\u0275cmp=Bc({type:E7,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(Qf(Hid,5),Qf(Iid,5),Qf(sM,5,rd));if(a&2){var c;Pf(c=Sf())&&(b.editBookmarkGroupItemsContainer=c.first);Pf(c=Sf())&&(b.bookmarkGroupNameInput=c.first);Pf(c=Sf())&&(b.tabs=c)}},features:[Cf([kH]),Ye],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",
4),H(),Q(5,brb,2,1,"button",5),Q(6,crb,2,1,"button",5),H()()(),G(7,"div",6),Q(8,Drb,48,40,"ng-container",7),H());a&2&&(z(5),F("ngIf",b.isAdmin&&!b.isArchived()),z(1),F("ngIf",b.isAdmin&&b.isArchived()),z(2),F("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[rw,sw,tw,JA,ZB,Yz,tM,sM,F0,VS,F_,PX,kg,Uw,kx,$w,RB,PB,QB,OB,x0],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 Rid=["savedSearchNameInput"],Irb=function(a){return{"bv2-edit-resource-readonly":a}},Krb=function(a){return{displayText:"Admins",values:a}},Jrb=function(a){return[a]},F7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka){jE.call(this);var ma=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=x;this.userAccess=B;this.errorHandler=K;this.snackBar=O;this.confirmationDialog=P;this.cdr=
Y;this.accessPolicyConverter=X;this.appEvents=ka;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=AQ();this.flattenedAccessPolicy=AQ();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 ya;null==(ya=ma.savedSearchName)||ya.nativeElement.focus()});this.subscriptions.add(YO(A,function(){return ma.hasUnsavedChanges()},!1))};U(F7,jE);F7.\u0275dir=jE.\u0275dir;f=F7.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=Lh(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=BQ(c);b.accessPolicyUnderEdit=Lh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.loadUserAccess=function(a){var b=this;return yF(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(){R1(this.appHistory)};f.revertMetadataChanges=function(){this.savedSearchUnderEdit=Lh(this.savedSearch);this.error=""};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Lh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.hasUnsavedMetadataChanges=function(){return!Kh(this.savedSearch,this.savedSearchUnderEdit)};
f.hasUnsavedAccessPolicyChanges=function(){return!Kh(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=Lh(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",cn("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=CQ(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);MF(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=BQ(c);a.accessPolicyUnderEdit=Lh(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);MF(a.butterBar,Ol(c),0)}).finally(function(){a.isUpdating=!1})};f.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",cn("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"});Jdc(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()}})};F7.\u0275fac=function(a){return new (a||F7)(C(YI),C(CG),C(cG),C(HS),C(DG),C(Q1),C(KF),C(ZU),C(ds),C(vI),C(XO),C(xF),C(OF),C(IF),C(wI),C(kH,2),C(zQ),C(SF))};
F7.\u0275cmp=Bc({type:F7,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(Qf(Rid,5),Qf(sM,5,rd));if(a&2){var c;Pf(c=Sf())&&(b.savedSearchName=c.first);Pf(c=Sf())&&(b.tabs=c)}},features:[Cf([kH]),Ye],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),H(),Q(5,Erb,2,1,"button",5),H()()(),G(6,"div",6),Q(7,Frb,
4,0,"ng-container",7),Q(8,Lrb,51,38,"ng-container",7),H());a&2&&(z(5),F("ngIf",b.isAdmin),z(2),F("ngIf",!b.isLoading&&!b.savedSearch),z(1),F("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[rw,tw,JA,ZB,Yz,tM,sM,F0,kg,Uw,kx,$w,x0],encapsulation:2});var Sid=function(a){r.call(this,a)};U(Sid,r);f=Sid.prototype;f.getAuthor=function(){return Z(this,ei,1)};f.setAuthor=function(a){Wi(this,ei,1,a)};f.getTimestamp=function(){return Z(this,yh,2)};f.setTimestamp=function(a){return Wi(this,yh,2,a)};f.hasTimestamp=function(){return Aj(this,yh,2)};f.getAdd=function(){return Z(this,$i,3)};f.getRemove=function(){return Z(this,$i,4)};f.getAddMask=function(){return Z(this,RC,5)};f.getRemoveMask=function(){return Z(this,RC,6)};f.toObject=function(){return Tid(this)};
var Tid=function(a){if(null!=a)return t(a),{author:jD(a.getAuthor()),timestamp:wt(a.getTimestamp()),add:o9b(a.getAdd()),remove:o9b(a.getRemove()),addMask:SC(a.getAddMask()),removeMask:SC(a.getRemoveMask())}};var G7=function(a){r.call(this,a,0,G7.messageId)};U(G7,r);G7.prototype.getUpdatesList=function(){return Ch(this,Sid,1)};G7.repeatedFields_=[1];G7.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Gb(this.getUpdatesList(),Tid)}}else a=void 0;return a};G7.messageId="b.SloHistory";var H7=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};H7.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),Uid(this,a))};var Uid=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:G7}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(Ora)}})};
H7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};H7.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};H7.\u0275fac=function(a){return new (a||H7)(u(MG),u($C))};H7.\u0275prov=mc({token:H7,factory:H7.\u0275fac,providedIn:"root"});var I7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya){jE.call(this);var Aa=this;this.routeParams=a;this.accessPolicyConverter=b;this.bLocation=c;this.appHistory=e;this.butterBar=g;this.pageTitle=h;this.documentationLinks=q;this.userAccess=A;this.accessPolicyApi=B;this.sloApi=K;this.sloUpdatesApi=O;this.sloUpdatesService=P;this.errorHandler=Y;this.matDialogService=X;this.analytics=ka;this.confirmationDialogService=ma;this.appEvents=ya;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(Aa.validity).some(function(Ma){return!Ma})};this.editableAccessPolicy=AQ();this.flattenedAccessPolicy=AQ();this.subscriptions.add(YO(x,function(){return Aa.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Ql("SLO",Ph(a));if(this.sloEnabled=l.isInternalSession())this.pageTitle.setTitle("SLO Overview"),Vid(this,a),
this.loadUserAccess(a),this.loadAccessPolicy(a),Wid(this,a);this.alertState={getValue:function(){return Aa.editableCopy?"ON"===Aa.editableCopy.alertState:!1},getSavedValue:function(){return Aa.slo?"ON"===Aa.slo.alertState:!1},setValue:function(Ma){Aa.editableCopy&&(Aa.editableCopy.alertState=Ma?"ON":"OFF")}};this.currentUserEmail=l.getUserEmail()};U(I7,jE);I7.\u0275dir=jE.\u0275dir;
I7.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)};I7.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};I7.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var Vid=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Lh(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
I7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=BQ(c);b.editableAccessPolicy=Lh(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var Xid=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return J_c(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f=I7.prototype;
f.loadUserAccess=function(a){var b=this;yF(this.userAccess,"admin",Ql("SLO",Ph(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!Kh(this.slo,this.editableCopy)};f.hasUnsavedAccessPolicyChanges=function(){return!Kh(this.flattenedAccessPolicy,this.editableAccessPolicy)};
f.saveMetadata=function(){var a=this;Yid(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:fn(cn("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."),en("br"),en("br"),cn("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:hv})};
var Prb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:cn("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:hv}):c()}},Yid=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};
I7.prototype.save=function(){var a=this,b=this.editableCopy;LF(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.';Yid(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");LF(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Lh(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent(Gn.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};I7.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:cn("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:hv}):this.doSaveAccessPolicy()};
I7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=CQ(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);MF(this.butterBar,b);return}this.isUpdating=!0;LF(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){LF(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=BQ(c);a.editableAccessPolicy=Lh(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent(Gn.EDIT_SLO,
"updateAccessPolicy")},function(c){MF(a.butterBar,Ol(c),0)}).finally(function(){a.isUpdating=!1})};I7.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};var Wid=function(a,b){Xid(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"===ci(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===ci(d.author)&&(a.isUneditedFromBugScope=!0)}})};
f=I7.prototype;f.isRevokingDirectAdmin=function(){if(Kh(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;Yid(this.slo.elements,this.editableCopy.elements)?this.editableCopy=Lh(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:fn(cn("Revert all changes to this SLO?")),onConfirm:function(){a.editableCopy=Lh(a.slo)},onDismiss:hv})};f.revertAccessPolicyChanges=function(){this.editableAccessPolicy=Lh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.isSaving=function(){return this.isUpdating};
f.back=function(){R1(this.appHistory)};f.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};f.isAdmin=function(){return this.isAdminInternal};f.showUpdateHistoryModal=function(){var a=this;Xid(this,this.slo.sloId).then(function(){a.matDialogService.open(q6,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent(Gn.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Gn.EDIT_SLO,"viewHistory")})};
I7.\u0275fac=function(a){return new (a||I7)(C(YI),C(zQ),C(CG),C(DG),C(Q1),C(KF),C(ZU),C(ds),C(vI),C(XO),C(xF),C(cG),C(rS),C(H7),C(M1),C(OF),C(kA),C(oH),C(wI),C(SF))};
I7.\u0275cmp=Bc({type:I7,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&Qf(sM,5,rd);if(a&2){var c;Pf(c=Sf())&&(b.tabs=c)}},features:[Ye],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&&(G(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),I(3,"b-icon",3),H()()(),G(4,"div",4),Q(5,Mrb,2,0,"div",5),Q(6,Urb,55,31,"div",6),H());a&2&&(z(5),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[VO,tw,ax,kg,Uw,Vw,kx,$w,Yw,yM,GM,tM,sM,x0,BN,F1,zL],encapsulation:2});var J7=function(a,b,c,d){jE.call(this);var e=this;this.routeParams=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=Wkc;this.TEA_LIGHT=Vkc;this.getStatus=function(g){return g.snapshot[0].status};this.STATUS_FULL_TEXT=WE;this.STATUS_TERSE=SE;this.id$=this.routeParams.issueId$;this.searchUrl$=this.id$.pipe(D(function(g){return{path:"/issues",params:{q:"blockedbyid:"+g}}}));this.issue$=this.id$.pipe(Oe(this.issues.watch));this.blockingIds$=this.issue$.pipe(D(function(g){var h;return null!=
(h=null==g?void 0:g.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(Oe(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(D(function(g){return g.filter(vl)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(D(function(g){return g.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(D(function(g){return g.filter(function(h){return Vua(h)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(D(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=Sm(e.id$);null!=h&&uH(e.issues,"ADD","BLOCKING",h,g).catch(e.gotErr)};this.gotErr=function(g){e.snackBar.open(Ol(g)||"Error with network request","close",{panelClass:"error"})}};U(J7,jE);J7.\u0275dir=jE.\u0275dir;
J7.prototype.convertIssueStatusStrToTag=function(a){return gj[a]};J7.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};J7.prototype.onClickRemove=function(a){var b=Sm(this.id$);null!=b&&uH(this.issues,"REMOVE","BLOCKING",b,[String(a)]).catch(this.gotErr)};J7.\u0275fac=function(a){return new (a||J7)(C(XI),C(tH),C(MO),C(IF))};
J7.\u0275cmp=Bc({type:J7,selectors:[["ng-component"]],features:[Ye],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&&(G(0,"section",0),Q(1,hsb,4,2,"ng-container",1),S(2,"async"),H(),Q(3,isb,2,0,"aside",2),S(4,"async"));a&2&&(z(1),F("ngIf",T(2,2,b.blockingIds$)),z(2),F("ngIf",T(4,4,b.thinking$)))},dependencies:[sw,tw,xG,Yz,Zz,ZB,zL,kS,zw],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 K7=function(){};K7.\u0275fac=function(a){return new (a||K7)};K7.\u0275mod=Dc({type:K7});K7.\u0275inj=nc({imports:[BF,hy,uy,ox,px,BG,wC,xM,XC,$B,BO,JM,eO,eN,mS]});var Zid="focus-indicator title type team id assignee status menu".split(" "),$id=[].concat(Pc(Zid)),ajd="focus-indicator drag-handle title type id assignee status menu".split(" ");var Lr=function(a){r.call(this,a)};U(Lr,r);Lr.prototype.getFilename=function(){return V(this,1)};Lr.prototype.setFilename=function(a){n(this,1,a)};Lr.prototype.getLineNumber=function(a){return Qs(this,2,a)};Lr.repeatedFields_=[2];Lr.prototype.toObject=function(){return bjd(this)};var bjd=function(a){if(null!=a)return t(a),{filename:p(m(a,1)),lineNumberList:p(Bh(a,2)),changeNumber:p(m(a,3))}};var Mr=function(a){r.call(this,a)};U(Mr,r);Mr.prototype.getPackageName=function(){return V(this,1)};Mr.repeatedFields_=[2];Mr.prototype.toObject=function(){return cjd(this)};var cjd=function(a){if(null!=a)return t(a),{packageName:p(m(a,1)),fileMentionSetList:Gb(Ch(a,Lr,2),bjd)}};var L7=function(a){r.call(this,a,0,L7.messageId)};U(L7,r);L7.repeatedFields_=[3];L7.prototype.toObject=function(){if(null!=this){t(this);var a={totalMentions:p(Ms(this,1)),truncated:p($q(this,2)),packageMentionSetList:Gb(Ch(this,Mr,3),cjd)}}else a=void 0;return a};L7.messageId="b.MentionSearchResult";var M7=function(a){this.executor=a};M7.\u0275fac=function(a){return new (a||M7)(u($C))};M7.\u0275prov=mc({token:M7,factory:M7.\u0275fac,providedIn:"root"});var N7=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},djd=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=Oec(a.refreshMonitor,(0,E.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:L7}).then(msb).then(function(d){return{mentions:d,loadingState:"OK",link:c}}).catch(function(){return{loadingState:"ERROR",link:c}})}).pipe(Ne({loadingState:"LOADING",
link:c}))).pipe(Le({refCount:!0,bufferSize:1})));return a.cachedEntry};N7.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)};N7.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};N7.\u0275fac=function(a){return new (a||N7)(u(M7),u(rH),u(oH))};N7.\u0275prov=mc({token:N7,factory:N7.\u0275fac,providedIn:"root"});var P7=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(Ae(1E3));this.issue$=this.id$.pipe(Oe(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(Oe(this.eventsForIssue.watch),D(function(q){var x;return null!=(x=null==q?void 0:q.events)?x:[]}));this.blockerIssueIds$=this.issue$.pipe(D(function(q){var x;return null!=
(x=null==q?void 0:q.snapshot[0].blockedByIssueId)?x:[]}),Be(Kh));this.blockedIssueIds$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.snapshot[0].blockingIssueId)?x:[]}),Be(Kh));this.parentIds$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.parentIssueIds)?x:[]}),Be(Kh));this.childrenIds$=this.id$.pipe(Oe(this.issueRelationshipsFridge.watch),D(function(q){var x;return null!=(x=null==q?void 0:q.relatedChildren.map(function(A){return A.targetIssueId}))?
x:[]}));this.duplicateIssueIds$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.snapshot[0].duplicateIssueId)?x:[]}),Be(Kh));this.blockersDualCount$=(0,E.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(Oe(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["BLOCKED_BY"])}),Le({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(D(Nr),Le({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,E.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(Oe(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["BLOCKING"])}),Le({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(D(Nr),Le({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,E.combineLatest)([this.id$,this.childrenIds$]).pipe(Oe(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["CHILDREN"])}),Le({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(D(Nr),
Le({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,E.combineLatest)([this.id$,this.parentIds$]).pipe(Oe(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["PARENT"])}),Le({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(D(Nr),Le({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,E.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(Oe(function(q){var x=k(q);q=x.next().value;var A=x.next().value;x=x.next().value;
return O7(l,q,[].concat(Pc(x),Pc(A)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(D(Nr),Le({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,E.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(Oe(function(q){var x=k(q);q=x.next().value;x=x.next().value;return O7(l,q,x,["DUPLICATE"])}),Le({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(D(function(q){return q.total}),D(osb),Le({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.relatedLinks)?x:[]}),D(function(q){return l.activeSession.isInternalSession()?q:q.filter(function(x){return!tva(x)})}),D(function(q){return Or(q.length)}),D(osb),Le({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(ue(ni),Oe(function(q){return djd(l.codeMentions,q)}),D(function(q){var x,A;return Or(null!=(A=null==(x=q.mentions)?void 0:x.totalMentions)?A:0)}),D(osb),Le({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(D(function(q){return Or(q.filter(rl).length)}),D(osb),Le({bufferSize:1,refCount:!0}))},O7=function(a,b,c,d){d=void 0===d?[]:d;c=ol(c);if(!b||0===c.length)return(0,E.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return psb(b,e)}).filter(ni).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(vl).filter(wl).length;return{open:Or(e),
total:Or(c.length)}}):(0,E.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(D(function(e){return{open:Or(e.filter(ni).filter(vl).filter(wl).length),total:Or(e.filter(function(g){return!g||wl(g)}).length)}}))};P7.\u0275fac=function(a){return new (a||P7)(u(XI),u(AH),u(tH),u(N7),u(yE),u(fF),u(ds))};P7.\u0275prov=mc({token:P7,factory:P7.\u0275fac,providedIn:"root"});var Q7=function(a,b,c,d,e,g,h,l,q){jE.call(this);var x=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.paramsService=e;this.issuePermissionService=g;this.issuePicker=h;this.errorHandler=l;this.counts=q;this.issueId$=this.paramsService.issueId$;this.issue$=this.issueId$.pipe(Oe(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new Vv;this.tableColumns=Zid;this.initialSort={active:"status",direction:"asc"};this.canEdit$=this.issuePermissionService.hasAclToEdit$;
this.blockerIds$=this.issue$.pipe(D(function(A){return null==A?void 0:A.snapshot[0]}),D(function(A){var B,K;return null!=(K=null==A?void 0:null==(B=A.blockedByIssueId)?void 0:B.map(String))?K:[]}));this.blockersCount$=this.blockerIds$.pipe(Oe(function(A){return 0===A.length?(0,E.of)(0):x.counts.blockersDualCount$.pipe(D(function(B){return B.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(D(function(A){return 0<A}),Ne(!0));this.getMenuItems=function(A){return[{type:"action",label:"Remove blocker",
action:function(){ejd(x,A)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var A=Sm(x.blockerIds$);if(null!=A){A=k(A);for(var B=A.next();!B.done;B=A.next())x.issueFridge.poke(B.value)}}))};U(Q7,jE);Q7.\u0275dir=jE.\u0275dir;
var xsb=function(a){var b;return de(function(c){b=Sm(a.issueId$);if(null==b)return c.return();a.analytics.trackEvent(Gn.EDIT_ISSUE,"update","add-blocker");return c.yield(a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){fjd(a,b,d)}),0)})},fjd=function(a,b,c){de(function(d){return 0===c.length?d.return():d.yield(uH(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){QF(a.errorHandler,e)}),0)})},ejd=function(a,b){var c,d;de(function(e){if(1==e.nextAddress){c=
Sm(a.issueId$);if(null==c)return e.return();a.analytics.trackEvent(Gn.EDIT_ISSUE,"update","remove-blocker");ee(e,2);var g=e.yield;var h=uH(a.issueFridge,"REMOVE","BLOCKED_BY",c,[b]);return g.call(e,h,4)}if(2!=e.nextAddress)return ks(e,0);d=he(e);MF(a.butterBar,"Could not remove blocker "+b+". "+(Nl(d)?Ol(d):d));ie(e)})};Q7.\u0275fac=function(a){return new (a||Q7)(C(tH),C(KF),C(oH),C(rH),C(XI),C(gJ),C(MO),C(OF),C(P7))};
Q7.\u0275cmp=Bc({type:Q7,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&Qf(kS,5);if(a&2){var c;Pf(c=Sf())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[Ye],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&&(G(0,"div",0)(1,
"h4",1)(2,"div",2),I(3,"mat-icon",3),H(),R(4),S(5,"async"),H(),Q(6,rsb,2,1,"ng-container",4),S(7,"async"),H(),Q(8,tsb,3,3,"ng-container",5),S(9,"async"),Q(10,usb,4,2,"p",6),S(11,"async"),Q(12,wsb,6,1,"ng-template",null,7,Vf),Q(14,ysb,3,3,"ng-template",null,8,Vf));if(a&2){var c=yf(13);z(4);zf(" Blockers ",T(5,5,b.counts.countBlockersDisplay$)," ");z(2);F("ngIf",T(7,7,b.showBlockersTable$));z(2);F("ngIf",T(9,9,b.showBlockersTable$))("ngIfElse",c);z(2);F("ngIf",T(11,11,null==b.issuesTable?null:b.issuesTable.filteredRowCount$))}},
dependencies:[tw,yw,JA,ZB,VO,kS,zw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var gjd=function(){this.EMPTY_BLOCKER_LIGHT=Qkc;this.EMPTY_BLOCKER_DARK=Rkc;this.EMPTY_CHILD_LIGHT=Skc;this.EMPTY_CHILD_DARK=Tkc};gjd.\u0275fac=function(a){return new (a||gjd)};
gjd.\u0275cmp=Bc({type:gjd,selectors:[["b-issue-dependencies-onboarding-dialog"]],decls:16,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"flex-kids-x","centered-inside"],["width","601","height","480","aria-hidden","true","alt","",1,"light-only",3,"src"],["width","601","height","480","aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"centered"],["href","https://developers.google.com/issue-tracker/concepts/parent-child-relationships","target","_blank",1,"nowrap"],["mat-dialog-actions",
""],["mat-flat-button","","color","primary","matDialogClose","","cdkFocusInitial","",1,"gmat-button"]],template:function(a,b){a&1&&(G(0,"h1",0),R(1,"About Dependencies"),H(),G(2,"div",1)(3,"div",2),I(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),H(),G(8,"article")(9,"p",5),R(10," Children are used to separate a large work item (like a project) into smaller pieces. Blockers indicate that something prevents work from starting on this issue. "),G(11,"a",6),R(12,"Learn more"),H()()()(),G(13,"div",7)(14,
"button",8),R(15,"Ok"),H()());a&2&&(z(4),F("src",b.EMPTY_CHILD_LIGHT,Id),z(1),F("src",b.EMPTY_BLOCKER_LIGHT,Id),z(1),F("src",b.EMPTY_CHILD_DARK,Id),z(1),F("src",b.EMPTY_BLOCKER_DARK,Id))},dependencies:[Yz,lA,mA,nA,oA],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 hjd=function(){return["focus-indicator","load-more-children"]},ijd=Gn.EDIT_ISSUE,jjd={type:"data",id:"",issue$:E.NEVER,hasChildren$:E.NEVER,ancestorChain:new OO([]),level:0,expandedCount:0},R7=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){jE.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=x;this.cdr=A;this.relationsTableModelFactory=B;this.liveAnnouncer=
K;this.clearcut=O;this.paths=P;this.internalFilters=new pJ;this.isClosed=Vua;this.tableColumns=ajd;this.trackBy=function(X,ka){return ka.ancestorChain.hash()+ka.type};this.isLoadMoreRow=function(X,ka){return"load-more-children"===ka.type};this.isDataRow=function(X,ka){return"data"===ka.type};this.isDraftRow=function(X,ka){return"draft-issue"===ka.type};this.selectionModel=new bP;this.hasLogged=!1;this.correctedDisplayedRows=new Tf;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=
function(X){var ka;return(null!=(ka=Sm(Y.rows$))?ka:[]).findIndex(function(ma){return In(ma,X)})};this.showError=function(X){return function(ka){MF(Y.butterBar,X+". "+(Nl(ka)?Ol(ka):ka))}};this.subscriptions.add(YO(l,function(){return Y.tableModel.draftRows.isSaving()||Y.issueRelationshipsFridge.isSaving()},!1))};U(R7,jE);R7.\u0275dir=jE.\u0275dir;f=R7.prototype;
f.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters);this.rows$=(0,E.scheduled)([this.tableModel.rows$,(0,E.of)([jjd])],E.asyncScheduler).pipe(pe(1),Le({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Oe(function(c){return(0,E.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),ze(0,E.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));
this.rowReorderingModel=new $O(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,c.getExpansion(d)||c.setExpansion(d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return de(function(e){if(1==e.nextAddress)return dfc(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")),Kpc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,E.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(D(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})}),ue(Boolean),we(6E4))),2);d=e.yieldResult;d.focus();ie(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;eH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(ijd,"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,eH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(ijd,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,E.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(Pe(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);Of(a.correctedDisplayedRows)});this.focusManager=Ny(new Mmc(this.correctedDisplayedRows,
In))};f.toggleExpansion=function(a){this.tableModel.expansion.setExpansion(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(ijd,"navigate","to-child-issue"),b=Sl(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?En(this.domSafe,b):Pr(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return de(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),b.tableModel.expansion.setExpansion(a.ancestorChain.parentChain,500),d.yield(zn(),2);b.focusManager.setActiveItem(c);ie(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:!Sm(a.hasChildren$),action:function(){var c=Vl({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 de(function(c){if(1==c.nextAddress)return c.yield(zn(),
2);b.createChildIssue(a);ie(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 de(function(c){if(1==c.nextAddress)return c.yield(zn(),2);b.createSiblingIssue(a);ie(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(){kqc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){jqc(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 de(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,E.firstValueFrom)(b.displayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),ue(Boolean),we(6E4))),2)}c=e.yieldResult;In(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ie(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;In(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 de(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);ie(e)}})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,l,q,x,A;return de(function(B){if(1==B.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?B.return():B.yield((0,E.firstValueFrom)(b.issue$),2);d=B.yieldResult;x={};A=c.paths.createIssue((x.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),x.parentIssueId=b.ancestorChain.parentChain.nodeId,x.redirectUrl=Tl(c.rootIssueId),x.afterIssueId=b.afterIssueId,x.title=b.title,x.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,x.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,x));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(A),B.return();if(a&&a.shiftKey)return c.cancelDraft(b),En(c.domSafe,A),B.return();Pr(c.router,A);ie(B)})};
f.archiveRow=function(a){var b=this,c,d;de(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(ijd,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,E.firstValueFrom)(b.rows$.pipe(D(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),ue(Boolean),we(6E4))),2);In(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ie(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return de(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(ijd,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){LF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
ch.Object.defineProperties(R7.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$}}});R7.\u0275fac=function(a){return new (a||R7)(C(AH),C(vG),C(KF),C(oH),C(WO),C(Se),C(rd),C(XO),C(ZJ),C(aP),C(kH),C(ZO),C(Dy),C(cH),C(DG))};
R7.\u0275cmp=Bc({type:R7,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&Qf(aM,5);if(a&2){var c;Pf(c=Sf())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters"},features:[Cf([kH]),Ye],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&&(G(0,"table",0),J(1,1),Q(2,zsb,1,0,"th",2),Q(3,Asb,2,0,"td",3),L(),J(4,4),Q(5,Bsb,1,0,"th",2),Q(6,Csb,3,0,"td",5),L(),J(7,6),Q(8,Dsb,2,0,"th",2),Q(9,Esb,2,1,"td",7),L(),J(10,8),Q(11,Fsb,2,0,"th",2),Q(12,Gsb,2,0,"td",7),L(),J(13,9),Q(14,Hsb,2,0,"th",2),Q(15,
Isb,4,8,"td",7),L(),J(16,10),Q(17,Jsb,2,0,"th",2),Q(18,Ksb,3,3,"td",7),L(),J(19,11),Q(20,Lsb,2,0,"th",2),Q(21,Msb,3,3,"td",7),L(),J(22,12),Q(23,Nsb,2,0,"th",2),Q(24,Osb,3,3,"td",7),L(),J(25,13),Q(26,Psb,2,0,"th",2),Q(27,Qsb,3,3,"td",7),L(),J(28,14),Q(29,Rsb,1,0,"th",2),Q(30,Ssb,2,1,"td",7),L(),J(31,15),Q(32,Tsb,1,0,"th",2),Q(33,Wsb,4,2,"td",16),L(),J(34,17),Q(35,Xsb,6,7,"td",18),L(),J(36,19),Q(37,Ysb,2,0,"th",2),Q(38,Zsb,7,6,"td",18),L(),Q(39,$sb,1,0,"tr",20),Q(40,atb,3,12,"tr",21),Q(41,btb,1,4,"tr",
22),Q(42,ctb,1,2,"tr",23),H(),I(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),z(39),F("matHeaderRowDef",b.tableColumns),z(1),F("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),z(1),F("matRowDefColumns",Ef(9,hjd))("matRowDefWhen",b.isLoadMoreRow),z(1),F("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},dependencies:[ux,tw,JA,mL,eL,iL,fL,dL,jL,gL,hL,kL,lL,ZB,yK,jK,VO,HM,kK,UL,nK,qK,xK,VM,zK,zL,aM,zw],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 S7=function(a,b,c,d,e){jE.call(this);var g=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new E.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=Tl;this.tableColumns=$id;this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return kjd(g,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(l){MF(g.butterBar,h+". "+(Nl(l)?Ol(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)}))};U(S7,jE);S7.\u0275dir=jE.\u0275dir;S7.prototype.ngOnInit=function(){};
var kjd=function(a,b){var c;return de(function(d){a.analytics.trackEvent(Gn.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)})};ch.Object.defineProperties(S7.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$}}});
S7.\u0275fac=function(a){return new (a||S7)(C(tH),C(KF),C(oH),C(rH),C(AH))};
S7.\u0275cmp=Bc({type:S7,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&Qf(kS,5);if(a&2){var c;Pf(c=Sf())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[Ye],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(Q(0,dtb,2,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.parentIssueIds$))},dependencies:[tw,kS,zw],encapsulation:2,changeDetection:0});var T7=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 Vv;this.onConfirm=new Vv;this.onCancel=new Vv;this.internalSelectedOptions=new pJ};T7.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};T7.prototype.cancel=function(a){this.onCancel.emit();a.close()};
ch.Object.defineProperties(T7.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});T7.\u0275fac=function(a){return new (a||T7)};
T7.\u0275cmp=Bc({type:T7,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=v();G(0,"button",0,1);M("click",function(){w(c);var e=yf(1),g;null!=(g=e.isOpen)&&g?e.close():e.open();return y()});S(2,"async");I(3,"mat-icon",2);Q(4,ftb,3,3,"ng-container",3);H();G(5,"onedev-popup-panel",
4,5)(7,"div",6);Q(8,gtb,2,1,"h1",7);Q(9,jtb,7,5,"div",8);Q(10,ktb,7,2,"ng-container",3);H()()}if(a&2){var d=yf(6);mf("large","large"===b.buttonSize)("small","small"===b.buttonSize);F("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&T(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);bf("aria-label",b.buttonAriaLabel);z(3);F("svgIcon",b.buttonSvgIcon);z(1);F("ngIf",b.showActiveState);z(4);F("ngIf",b.overlayTitle);z(1);F("ngForOf",b.options);z(1);F("ngIf",
b.showActionButtons)}},dependencies:[sw,tw,JA,Yz,BN,AL,ZB,PL,QL,zw],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 qtb=function(a){return{filteredCount:a}},ljd=function(){return[]},U7=function(a,b,c,d,e,g,h,l,q,x,A,B,K){jE.call(this);var O=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=x;this.counts=A;this.matDialog=B;this.butterBar=K;this.recallFilters=bH("deps-filters");this.saveFilters=Qo("deps-filters");this.isThinking$=(0,E.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(D(function(P){return P.some(Boolean)}));this.issueId$=this.brain.id$.pipe(ue(ni),D(hn));this.issue$=this.brain.issueJs$.pipe(ue(ni));this.parentIds$=this.issue$.pipe(D(function(P){var Y;return null!=(Y=P.issue.parentIssueIds)?Y:[]}));this.parentIssues$=this.parentIds$.pipe(Oe(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(D(function(P){return P.filter(wl).length}));this.childrenIds$=this.issueId$.pipe(Oe(this.issueRelationshipsFridge.watch),
D(function(P){var Y;return null!=(Y=null==P?void 0:P.relatedChildren.map(function(X){return X.targetIssueId}))?Y:[]}));this.totalDaysOpen$=this.issue$.pipe(D(function(P){var Y,X;return(null==(Y=Pua(P))?void 0:null==(X=Y.effort)?void 0:X.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(D(function(P){var Y,X;return(null==(Y=Pua(P))?void 0:null==(X=Y.effort)?void 0:X.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(D(function(P){return P.length}));this.isTotalEstimatesEnabled=
hE(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.totalDaysCount$=(0,E.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(D(function(P){var Y=k(P);P=Y.next().value;Y=Y.next().value;return P+Y}));this.totalDaysDisplayPercent$=Jtb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=(0,E.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(D(function(P){var Y=
k(P);P=Y.next().value;var X=Y.next().value;Y=Y.next().value;return Ktb(Math.round(100*P)/100)+" completed | "+Ktb(Math.round(100*X)/100)+" open | "+Y+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new E.Subject;this.issueFilters=new pJ;this.ISSUE_FILTER_OPTIONS=[{key:Hn.OPEN.key,title:Hn.OPEN.displayAs,description:"Hides closed issues"},{key:Hn.ASSIGNED_TO_ME.key,title:Hn.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,E.firstValueFrom)(L7a("b-issue-relations-table tr .mat-column-title a",
this.element.nativeElement).pipe(Pe((0,E.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var P=function(){Z_c(O.routePerformance,"issue-details-w-tree")};requestAnimationFrame(P);setTimeout(P)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(HIa))}catch(P){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(P){O.saveFilters([].concat(Pc(P)))}))};U(U7,jE);U7.\u0275dir=jE.\u0275dir;
var Ftb=function(a){var b,c;return de(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(Gn.EDIT_ISSUE,"update","add-parent"),d.yield((0,E.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){mjd(a,c,e)}),0)})},mjd=function(a,b,c){var d=k(c).next().value,e,g,h,l;de(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)?(MF(a.butterBar,"Could not add parent"),q.return()):q.yield(a.issueFridge.poke(b),0)})};U7.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};U7.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};U7.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.createChildIssue()};
U7.\u0275fac=function(a){return new (a||U7)(C(eJ),C(MO),C(AH),C(tH),C(vG),C(T1),C(rd),C(oH),C(gJ),C(ds),C(P7),C(kA),C(KF))};
U7.\u0275cmp=Bc({type:U7,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(Qf(R7,5),Qf(Q7,5),Qf(S7,5));if(a&2){var c;Pf(c=Sf())&&(b.relationsTable=c.first);Pf(c=Sf())&&(b.blockersTable=c.first);Pf(c=Sf())&&(b.parentsTable=c.first)}},features:[Ye],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&&(G(0,"div",0),Q(1,ltb,1,0,"b-spinner",
1),S(2,"async"),G(3,"select-menu",2),M("onChange",function(d){return b.issueFilters.reset(d)}),S(4,"async"),H(),G(5,"button",3),M("click",function(){b.matDialog.open(gjd,{maxWidth:"1300px",width:"90%"})}),I(6,"mat-icon",4),H()(),Q(7,Ctb,40,45,"div",5),S(8,"async"),Q(9,Etb,1,1,"ng-template",null,6,Vf),Q(11,Gtb,3,3,"ng-template",null,7,Vf),Q(13,Itb,4,4,"ng-template",null,8,Vf));if(a&2){var c;z(1);F("ngIf",T(2,6,b.isThinking$));z(2);F("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(c=T(4,
8,b.issueFilters.value$))&&void 0!==c?c:Ef(12,ljd))("showActionButtons",!1)("showActiveState",!0);z(4);F("ngIf",T(8,10,b.issueId$))}},dependencies:[tw,yw,JA,xJ,CJ,Yz,ZB,VO,T7,zL,Q7,R7,S7,zw,Fw],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 V7=function(){};V7.\u0275fac=function(a){return new (a||V7)};V7.\u0275mod=Dc({type:V7});V7.\u0275inj=nc({imports:[BF,wC,fO,LS,$B,XC,RL]});var W7=function(){};W7.\u0275fac=function(a){return new (a||W7)};W7.\u0275mod=Dc({type:W7});W7.\u0275inj=nc({imports:[Ey,uy,hy,BF,ox,JM,wC,pA,$B,lS,sN,xM,XC,px,BG,LR,aN,gS,BO,mS,cN,V7,eO,eN,bM]});var njd={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},X7=function(a,b){jE.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_TERSE=SE;this.URLS=Qr;this.ListIssuesHovercardMode=njd;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new E.ReplaySubject(1);this.init=new E.ReplaySubject(1);this.issues$=this.issueIds$.pipe(ue(ni),Oe(this.issueFridge.watchSet),D(function(d){return"parent"===c.mode?d.filter(wl):d.filter(vl)}))};U(X7,jE);X7.\u0275dir=jE.\u0275dir;
X7.prototype.convertIssueStatusStrToTag=function(a){return gj[a]};X7.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var Qtb=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([Qr.ISSUE_LIST],{queryParams:{q:d}})})};
X7.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(Pe(this.destroyed$)).subscribe(function(){a.init.next()})};ch.Object.defineProperties(X7.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});X7.\u0275fac=function(a){return new (a||X7)(C(tH),C(vG))};
X7.\u0275cmp=Bc({type:X7,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[Ye],decls:5,vars:5,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],["class","border-bottom header-container",4,"ngIf"],[4,"ngIf"],[1,"border-bottom","header-container"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon","slo-status-no-data",
1,"icon-xxs","gfx-bad"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"issue-row","flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],[1,"issue-id","type-xs"],[1,"type-m","margin-right","issue-title"],[1,"bv2-priority",3,"ngClass"],[3,"class",4,"ngIf"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["mat-button","",1,"gmat-button","primary","small",3,"click"]],template:function(a,b){a&1&&(G(0,"div",0),Q(1,Ltb,5,3,"div",1),Q(2,Mtb,5,3,"div",1),Q(3,Ttb,4,3,"div",2),S(4,"async"),
H());a&2&&(z(1),F("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),z(1),F("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),z(1),F("ngIf",T(4,3,b.issues$)))},dependencies:[rw,sw,tw,JA,xG,Yz,zw],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 Y7=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=njd;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};Y7.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&ojd(this).then(function(c){b.issueIdToTitle=c})};Y7.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var ojd=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,E.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(D(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})))};
Y7.\u0275fac=function(a){return new (a||Y7)(C(l7),C(DG))};
Y7.\u0275cmp=Bc({type:Y7,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[Uc],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),Q(1,Wtb,7,4,"ng-container",1),Q(2,Xtb,4,5,"ng-container",2));a&2&&(z(1),F("ngIf",1<b.multiParentIssueIds.length),z(1),F("ngForOf",b.reorderedAncestors))},dependencies:[sw,tw,JA,rL,xJ,yJ,CJ,zJ,X7],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 Z7=function(a,b,c){var d=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.componentId$=new E.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new E.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(Oe(function(e){return d.componentFridge.watch(e).pipe(Ne(void 0))}));this.isArchived$=this.component$.pipe(D(function(e){return null==e?void 0:e.archived}));this.componentPath$=(0,E.combineLatest)([this.componentId$,this.component$,
this.compactMode$]).pipe(D(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;if(null==h)return kp({componentPathId:[Number(e)]});e=Ir(d.currentTracker,h.componentPathInfo);e=kp(e);if(g){g=[];h=0;for(var l=e.length-1;0<=l;l--){var q=e[l],x=l===e.length-1?48:32;if(h>=x)break;var A=String(q.name),B=void 0;if(h+[].concat(Pc(A)).length>x){var K=x-h;x="";A=void 0===A?"":A;K=void 0===K?48:K;x=void 0===x?"...":x;B=[].concat(Pc(A));B.length<=K||(A=K-[].concat(Pc(x)).length,A=B.slice(-A).join(""),
null!=String.prototype.trimStart&&(A=A.trimStart()),A=x+A);B=!0}h+=[].concat(Pc(A)).length;g.unshift(Object.assign({},q,{name:A,isTruncated:B}));if(B)break}e.length>g.length&&(g[0].isSpliced=!0);e=g}return e}));this.isEmpty$=this.component$.pipe(D(function(e){return!e}));this.isThinkingAndEmpty$=(0,E.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e&&g}));this.isReady$=this.isThinkingAndEmpty$.pipe(D(function(e){return!e}))};
Z7.prototype.ngOnInit=function(){};ch.Object.defineProperties(Z7.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)}}});Z7.\u0275fac=function(a){return new (a||Z7)(C(mF),C(MP),C(sK))};
Z7.\u0275cmp=Bc({type:Z7,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",3,"click",4,"ngIf"],["class","subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],["viewOnlyComponent",""],
["card",""],[4,"onedevHovercardLazyBody"],["href","javascript:void(0);","title","Show all Components",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["mat-icon-button","","aria-label","View Component (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&&(Q(0,jub,10,12,"b-async-data-placeholder",0),Q(1,lub,2,5,"ng-template",null,1,Vf));if(a&2){var c=yf(2);F("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[jK,sw,tw,JA,Yz,Zz,RT,xJ,yJ,CJ,zJ,ZB,c7,ZM,zw],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 $7=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(Oe(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(D(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(D(function(d){return null==d?void 0:d.length}),Ne(0));this.label$=this.count$.pipe(D(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=ML};$7.prototype.onClick=function(){ZCc(this.hotlistPicker,this.issue$)};ch.Object.defineProperties($7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});$7.\u0275fac=function(a){return new (a||$7)(C(tH),C($G),C(aT))};
$7.\u0275cmp=Bc({type:$7,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&&(G(0,"button",0),M("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),S(1,"async"),R(2),S(3,"async"),H());a&2&&(F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",T(1,3,b.isDisabled$)),z(2),zf(" ",T(3,5,b.label$),"\n"))},dependencies:[LL,
Yz,zw],encapsulation:2});var pjd=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new Vv};pjd.\u0275fac=function(a){return new (a||pjd)};
pjd.\u0275cmp=Bc({type:pjd,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&&(G(0,"button",0),M("click",function(){b.openSidebar.emit({panel:void 0})}),fd(),G(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()(),Q(13,mub,2,0,"ng-container",13),H());a&2&&(mf("icon-only-mode",b.iconOnly),
F("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),z(13),F("ngIf",!b.iconOnly))},dependencies:[rw,tw,Yz],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 qjd=new Nc("DevopsGraphLogger",{providedIn:"root",factory:function(){return vh}}),rjd=new Nc("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return de(function(b){switch(b.nextAddress){case 1:return ee(b,2),b.yield(nub(),4);case 4:a=b.yieldResult;ks(b,3);break;case 2:return he(b),b.return();case 3:return ee(b,5),b.yield(a.loadGraph(),7);case 7:ks(b,6);break;case 5:return he(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var a8=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new E.Subject;this.close$=new E.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()};
a8.prototype.init=function(){var a=this,b,c,d,e,g;return de(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=oub(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")});ie(h)})};var sjd=function(a,b){var c;return de(function(d){switch(d.nextAddress){case 1:return ee(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:ks(d,0);break;case 2:return c=he(d),a.logger(c),d.return(new Set)}})};
a8.prototype.openSidebar=function(a,b){var c=this,d;return de(function(e){switch(e.nextAddress){case 1:return e.yield(c.init(),2);case 2:if(!c.graphController)return e.return();ee(e,3);return e.yield(c.graphController.openIssueContext(Number(a),b),5);case 5:ks(e,0);break;case 3:d=he(e),c.logger(d),ie(e)}})};
a8.prototype.close=function(){var a=this,b;return de(function(c){switch(c.nextAddress){case 1:return c.yield(a.init(),2);case 2:if(!a.graphController)return c.return();ee(c,3);return c.yield(a.graphController.close(),5);case 5:ks(c,0);break;case 3:b=he(c),a.logger(b),ie(c)}})};a8.\u0275fac=function(a){return new (a||a8)(u(ds),u(wP),u(qjd),u(rjd))};a8.\u0275prov=mc({token:a8,factory:a8.\u0275fac,providedIn:"root"});var b8=function(a,b,c,d,e,g,h){jE.call(this);var l=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=g;this.activeSession=h;this.id$=this.paramsService.issueId$;this.contexts$=this.id$.pipe(Oe(function(q){return de(function(x){return null!=l.devopsGraph.getContainer()&&q?x.return(sjd(l.devopsGraph,q).then(function(A){return{issueId:q,availablePanels:A}})):x.return(void 0)})}),Le({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(D(function(q){return q?
q.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(D(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(D(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()&&q.availablePanels.has("deployments")}));this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(q){if(q){q=
q.availablePanels;l.track("ingress-view-"+(0<q.size?"enabled":"disabled"));q.has("deployments")&&l.track("ingress-view-deployments-enabled");var x=l.paramsService.params.showInsights;x&&("default"===x?0<q.size?l.openSidebar():MF(l.butterBar,"Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):q.has(x)?l.openSidebar(x):MF(l.butterBar,"Could not open "+x+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else l.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){tjd(l,
null)}))};U(b8,jE);b8.\u0275dir=jE.\u0275dir;b8.prototype.openSidebar=function(a){var b=this,c,d,e,g;return de(function(h){c=Sm(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;tjd(b,null!=(g=a)?g:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};b8.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var tjd=function(a,b){a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
b8.\u0275fac=function(a){return new (a||b8)(u(a8),u(XI),u(oH),u(KF),u(vG),u(jm),u(ds))};b8.\u0275prov=mc({token:b8,factory:b8.\u0275fac,providedIn:"root"});var c8=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};c8.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};c8.\u0275fac=function(a){return new (a||c8)(C(b8))};
c8.\u0275cmp=Bc({type:c8,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&&(Q(0,qub,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.availablePanels$))},dependencies:[tw,pjd,zw],encapsulation:2,changeDetection:0});var ujd=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()}}}},vjd=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},wjd=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)}}},xjd=function(a,b){if(b.isInternal&&!b.isDeleted&&"EXTERNAL_PUBLIC"===b.accessLevel)return{type:"action",label:"Mark as spam...",title:'Mark as spam... (requires "issue admin" access)',icon:"flag",disabled:!b.permissions.admin,action:function(){a.showFlagAsSpamDialog()}}};var d8=function(){this.label=""};d8.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};d8.\u0275fac=function(a){return new (a||d8)};
d8.\u0275cmp=Bc({type:d8,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&Qf(CJ,5);if(a&2){var c;Pf(c=Sf())&&(b.hovercardTrigger=c.first)}},inputs:{label:"label",content:"content"},decls:6,vars:3,consts:[["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(G(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",
2),Q(4,sub,2,1,"ng-container",3),H()()(),I(5,"mat-icon",4));if(a&2){var c=yf(1);z(2);bf("aria-label",b.label);z(2);F("ngIf",b.content);z(1);F("onedevHovercardTrigger",c)}},dependencies:[tw,yw,JA,xJ,CJ],encapsulation:2});var e8=function(){};e8.\u0275fac=function(a){return new (a||e8)};e8.\u0275mod=Dc({type:e8});e8.\u0275inj=nc({imports:[BF,$B,JM]});var f8=function(a,b,c,d,e,g,h,l,q){jE.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 E.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=ML;this.issue$=this.issueId$.pipe(Oe(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(D(function(x){var A,B,K,O,P,Y,X;return{modifiedTimeMilliseconds:null!=
(null==x?void 0:null==(A=x.aggregatedData)?void 0:A.modifiedTimeMicros)?x.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(Y=null==x?void 0:null==(B=x.userData)?void 0:B.voted)?Y:!1,voteCount:null!=(X=null==x?void 0:null==(K=x.aggregatedData)?void 0:K.voteCount)?X:0,notificationSubscription:ki(null==x?void 0:null==(O=x.userData)?void 0:O.notificationSubscription),retentionState:null==x?void 0:null==(P=x.aggregatedData)?void 0:P.retentionState}}));this.menuItems$=yjd(this);this.state$=(0,E.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(D(function(x){var A=k(x);x=A.next().value;var B=A.next().value;A=A.next().value;return Object.assign({},{issueId:x},B,{menuItems:A})}))};U(f8,jE);f8.\u0275dir=jE.\u0275dir;f=f8.prototype;f.updateSubscription=function(a){var b=this,c;return de(function(d){if(1==d.nextAddress)return(c=Sm(b.issueId$))?d.yield(b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent(Gn.EDIT_ISSUE,"updateSubscription",a);ie(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 de(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(fA(b.matDialogService.open(Fsc,{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 de(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(fA(b.matDialogService.open(Bsc,{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 de(function(d){return 1==d.nextAddress?d.yield((0,E.firstValueFrom)(fA(b.matDialogService.open(Esc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(Cic(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var yjd=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(kLa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=Sm(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=Sm(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=Sm(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=Sm(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,E.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value,g;d={permissions:d.next().value,accessLevel:vAa(c),isArchived:null!=(g=null==c?void 0:c.isArchived)?g:!1,isDeleted:tAa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:yAa(c),retentionState:CAa(c)};return[wjd(b,d),xjd(b,d),vjd(b,d),ujd(b,d)].filter(ni)}))};
ch.Object.defineProperties(f8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});f8.\u0275fac=function(a){return new (a||f8)(C(tH),C(gJ),C(ds),C(SF),C(WO),C(ZJ),C(tJ),C(kA),C(oH))};
f8.\u0275cmp=Bc({type:f8,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&Qf(d8,5);if(a&2){var c;Pf(c=Sf())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[Ye],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&&(Q(0,xub,15,13,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.state$))},dependencies:[uO,sw,tw,JA,d8,LL,c8,Yz,RB,PB,QB,ZB,s1,n0,m0,iT,$7,zw],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 g8=function(a,b,c,d,e,g,h,l,q){jE.call(this);var x=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 E.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Be(),Oe(function(A){return A?A.changed$:(0,E.of)(null)}));this.issueIds$=this.searchResults$.pipe(D(function(A){var B;return null!=(B=null==
A?void 0:A.issues.map(function(K){return K.id}).map(hn))?B:[]}),Be(Kh));this.issues$=this.issueIds$.pipe(Oe(function(A){return(0,E.combineLatest)(A.map(function(B){return x.issueFridge.watch(B,{trustUncertainMemory:!0})}))}),Oe(function(A){return(0,E.combineLatest)(A.map(function(B){return x.componentFridge.watch(String(null==B?void 0:B.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(D(function(K){return{issue:B,component:K}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(D(function(A){var B;return null!=(B=null==A?void 0:A.totalText)?B:""}));this.backNavigationLabel$=this.searchResults$.pipe(D(function(A){return(null==A?0:A.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;var K;return null!=(K=B&&(null==A?void 0:sX(A,B)))?K:-1}));this.hasPreviousIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(A){var B=
k(A);A=B.next().value;B=B.next().value;var K;if(K=B)null==A?A=0:(B=sX(A,B),A=null==B||-1===B?!1:B>A.startIndex||1<A.params.page),K=A;return!!K}));this.hasNextIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;var K;if(K=B)null==A?A=0:(B=sX(A,B),A=null==B||-1===B?!1:B<A.endIndex||A.params.page<A.numPages),K=A;return!!K}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){zjd(x)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(A){x.issueId=
A;zjd(x)}));this.subscriptions.add(this.issues$.subscribe(function(A){var B=x.internalSearchResults$.value;B&&XQc(B,A.filter(function(K){var O=K.component;return K.issue&&O}))}))};U(g8,jE);g8.\u0275dir=jE.\u0275dir;
var Ajd=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)},Bub=function(a){var b=Sm(a.hasNextIssue$),c=Sm(a.issueIndex$);b&&c&&Bjd(a,c+1)},Aub=function(a){var b=Sm(a.hasPreviousIssue$),c=Sm(a.issueIndex$);b&&c&&Bjd(a,c-1)},zjd=function(a){var b,c,d;de(function(e){if(1==e.nextAddress)return e.yield(eRc(a.issuePagination).catch(yub),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=sX(b,a.issueId);return-1===d?e.jumpTo(0):e.yield(fRc(a.issuePagination,d).catch(yub),0)})},Bjd=function(a,b){fRc(a.issuePagination,b).then(function(c){a.bLocation.url(a.paths.editIssue(c))},function(){MF(a.butterBar,"Can't find issue id for index '"+b+"'")})};g8.\u0275fac=function(a){return new (a||g8)(u(eJ),u(tX),u(tH),u(mF),u(dJ),u(CG),u(DG),u(rH),u(KF))};g8.\u0275prov=mc({token:g8,factory:g8.\u0275fac,providedIn:"root"});var Cub=function(a){return{"invisible zero-width":a}},Cjd=function(a){this.currentSearchResults=a;this.HOTKEYS=ML};Cjd.\u0275fac=function(a){return new (a||Cjd)(C(g8))};
Cjd.\u0275cmp=Bc({type:Cjd,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&&(Q(0,Dub,9,12,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.currentSearchResults.issueIndex$))},dependencies:[rw,tw,JA,LL,Yz,ZB,zw],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 h8=function(a,b,c,d,e,g,h,l,q,x,A,B,K){jE.call(this);var O=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=x;this.activeSession=A;this.confirmationDialogService=B;this.jspbPrincipalTypes=K;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(D(function(P){var Y;return null!=(Y=null==P?void 0:P.snapshot[0].issueAccessLimitLevel)?Y:O.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new E.BehaviorSubject(this.defaultAccessLimitLevel);this.hasSelectionChanged$=(0,E.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(D(function(P){var Y=
k(P);P=Y.next().value;Y=Y.next().value;return P!==Y}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(D(function(P){return null==P?void 0:P.trackerId}));this.tracker$=this.trackerId$.pipe(Oe(function(P){return Kl(P)?(0,E.of)(void 0):O.trackerFridge.watch(P)}));this.trustedCollaboratorsEmailToDetailsMap=new Map;this.addedTrustedCollaborators=new Set;this.removedTrustedCollaborators=new Set;this.expandedAccessTooltip$=
this.isImplicitAccessEnabled$.pipe(D(function(P){return P?"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(){O.snackBar.open("Successfully saved access level",void 0,{duration:2500});O.issueFridge.poke(O.issueId)};this.currentUserEmail=A.getUserEmail();this.enableQuickAddCollaborators=
hE(this.activeSession,"enableQuickAddCollaborators")};U(h8,jE);h8.\u0275dir=jE.\u0275dir;h8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);Eub(a,b)}));this.subscriptions.add((0,E.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;Djd(a,b,c)}));this.analytics.trackEvent(Gn.ISSUE_ACCESS_LIMITS,"view","issue_access_limits_dialog:"+this.issueId)};
var Djd=function(a,b,c){var d,e,g,h;de(function(l){if(1==l.nextAddress){a.trustedCollaboratorsEmailToDetailsMap.clear();a.addedTrustedCollaborators.clear();a.removedTrustedCollaborators.clear();if(b&&b.trustedCollaborators)for(d=k(b.trustedCollaborators),e=d.next();!e.done;e=d.next())g=e.value,g.emailAddress&&a.trustedCollaboratorsEmailToDetailsMap.set(g.emailAddress,{user:g,specifiedOnIssue:!1});return c&&c.snapshot&&c.snapshot[0].collaboratorsUsers?l.yield(Ejd(a,c.snapshot[0].collaboratorsUsers),
3):l.jumpTo(0)}h=l.yieldResult;h.forEach(function(q){a.trustedCollaboratorsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});ie(l)})},Ejd=function(a,b){var c,d;return de(function(e){if(1==e.nextAddress)return c=b.map(function(g){return g.emailAddress}).filter(ni),e.yield(Ehc(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)}))})},Fjd=function(a){return a?
"Expanded access on":"Expanded access off"},Gjd=function(a,b){return b&&(hE(a.activeSession,"enableIssueAccessLimits")||a.activeSession.getIssueAccessLimitsComponentAllowlist().has(a.data.componentId))},Eub=function(a,b){a.issueApi.getRetainedAccessPrincipals(a.issueId,b,Array.from(a.addedTrustedCollaborators),Array.from(a.removedTrustedCollaborators)).then(function(c){a.writers=si(c.writers);a.appenders=si(c.appenders);a.readers=si(c.readers)},function(c){QF(a.errorHandler,c)})};f=h8.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=ri({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:cn(c),onConfirm:function(){a.save()}})}};f.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,ki(this.updatedAccessLimitLevel$.value),Array.from(this.addedTrustedCollaborators),Array.from(this.removedTrustedCollaborators)).then(function(b){a.didSave(b);a.analytics.trackEvent(Gn.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value)},function(b){QF(a.errorHandler,b)})};
f.onPressCancel=function(){this.dialogRef.close()};h8.\u0275fac=function(a){return new (a||h8)(C(OF),C(yE),C(tH),C(mF),C(QH),C(gJ),C(IF),C(hA),C(jA),C(oH),C(ds),C(wI),C(TI))};
h8.\u0275cmp=Bc({type:h8,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},features:[Ye],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","Trusted group collaborators are configured by Tracker admins",1,"icon-s","valign-middle"],[1,"trusted-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"trusted-group-checkbox",3,"disabled","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&&(G(0,"div",0)(1,"span",1),I(2,"mat-icon",2),H(),G(3,"h1",3),R(4,"Issue access level"),H()(),G(5,"div"),I(6,"b-component-breadcrumb-chip",4),G(7,"span",5),S(8,"async"),G(9,"span",6),R(10),S(11,"async"),H(),I(12,"mat-icon",7),S(13,"async"),H()(),G(14,"b-issue-access-limits-dropdown",8),M("updatedAccessLimitLevel",function(l){b.updatedAccessLimitLevel$.next(l);
Eub(b,l)}),S(15,"async"),S(16,"async"),S(17,"async"),H(),Q(18,Gub,9,7,"ng-container",9),S(19,"async"),G(20,"div")(21,"div",10),R(22,"Users who can edit, comment, and view"),H(),I(23,"b-multi-user-input",11),H(),G(24,"div")(25,"div",10),R(26,"Users who can comment and view"),H(),I(27,"b-multi-user-input",12),H(),G(28,"div")(29,"div",10),R(30,"Users who can only view"),H(),I(31,"b-multi-user-input",13),H(),G(32,"div",14),Q(33,Hub,6,3,"ng-container",15),S(34,"async"),Q(35,Iub,2,0,"ng-template",null,
16,Vf),H());if(a&2){var c=yf(36),d,e,g,h;z(6);F("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);z(1);mf("expanded-access-on",T(8,27,b.isImplicitAccessEnabled$));z(3);Af(Fjd(null!==(d=T(11,29,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));z(2);F("matTooltip",null!==(e=T(13,31,b.expandedAccessTooltip$))&&void 0!==e?e:"");z(2);F("disabled",!Gjd(b,T(15,33,b.hasAclToAdmin$)))("defaultAccessLimitLevel",null!==(g=T(16,
35,b.currentAccessLimitLevel$))&&void 0!==g?g:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=T(17,37,b.isImplicitAccessEnabled$))&&void 0!==h?h:!1);z(4);F("ngIf",b.enableQuickAddCollaborators&&0<b.trustedCollaboratorsEmailToDetailsMap.size&&Gjd(b,T(19,39,b.hasAclToAdmin$)));z(5);F("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);bf("disabled",!0);z(4);F("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);bf("disabled",!0);z(4);F("users",b.readers)("includeAliases",
!1)("includeViewAliases",!1);bf("disabled",!0);z(2);F("ngIf",Gjd(b,T(34,41,b.hasAclToAdmin$)))("ngIfElse",c)}},dependencies:[W_,sw,tw,JA,Z7,Yz,oA,ZB,x0,BN,zw,Ew],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 i8=function(a){this.dialog=a};i8.prototype.open=function(a){this.dialog.open(h8,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};i8.\u0275fac=function(a){return new (a||i8)(u(kA))};i8.\u0275prov=mc({token:i8,factory:i8.\u0275fac,providedIn:"root"});var j8=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};j8.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};j8.prototype.toggleAccessLimits=function(){var a=this;return de(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});ie(b)})};
j8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};j8.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var Hjd=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===xXc.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(V6a),d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b){b=a?d.descriptionWithExpandedAccess:d.descriptionNoExpandedAccess;
break a}b=a?yp.descriptionWithExpandedAccess:yp.descriptionNoExpandedAccess}else b="";return b};j8.\u0275fac=function(a){return new (a||j8)(C(vI),C(i8),C(cG))};
j8.\u0275cmp=Bc({type:j8,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["role","button",1,"chippy","rounded","nowrap","access-limited",3,"onedevHovercardTrigger","click","keydown.enter","keydown.space"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["target",
"_blank","aria-label","Learn more about issue access limits",3,"href"]],template:function(a,b){a&1&&(G(0,"button",0),M("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),I(1,"mat-icon",1),G(2,"span",2),R(3),H()(),G(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),R(9),G(10,"a",7),R(11," Learn more"),H()()()()());if(a&2){var c=yf(5);F("onedevHovercardTrigger",
c);z(3);Af(b.getAccessLimitLevelDisplay(b.accessLimitLevel));z(6);zf(" Issue access is limited. ",Hjd(b,b.accessLimitLevel)," ");z(1);F("href",b.documentationLinks.getIssueAccessLimit(),Id)}},dependencies:[JA,xJ,CJ],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 Ijd=function(a){this.brain=a;this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(D(function(b){return null==b?void 0:b.issue}),ue(ni));this.retentionState$=this.issue$.pipe(D(function(b){var c;return null==(c=b.aggregatedData)?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(D(function(b){var c;return(null==(c=b.aggregatedData)?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),ue(ni));this.accessLevel$=this.issue$.pipe(D(function(b){var c;return null==
(c=b.accessLimit)?void 0:c.accessLevel}),ue(ni));this.issueAccessLimitLevel$=this.issue$.pipe(D(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(D(function(b){return b.issueId}));this.state$=(0,E.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.accessLevel$,this.issueId$,this.brain.componentId$]).pipe(D(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:q8a(b),isShowingPublicPartner:"INTERNAL"!==g,modifiedTime:e,accessLevel:g,issueId:h,componentId:c,issueAccessLimitLevel:d}}))};Ijd.\u0275fac=function(a){return new (a||Ijd)(C(eJ))};
Ijd.\u0275cmp=Bc({type:Ijd,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&&(Q(0,Nub,2,1,"ng-container",
0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.state$))},dependencies:[j8,tw,nO,o0,zw],encapsulation:2});var k8=function(a,b,c,d,e,g,h){jE.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 E.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=njd;this.blockedIdsToUrlQuery=function(q){if(!(2>q.length))return{q:"blockingid:"+l.issueId}};this.HOTKEYS=ML;this.issue$=
this.issueId$.pipe(Oe(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].title}));this.starred$=this.issue$.pipe(D(function(q){var x;return ki(null==q?void 0:null==(x=q.userData)?void 0:x.starred)}));this.componentId$=this.issue$.pipe(D(function(q){return ki(null==q?void 0:q.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(D(function(q){return ki(null==q?void 0:q.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(D(function(q){return!!(q&&
0<q.size)}));this.teamId$=this.issue$.pipe(D(function(q){var x;return ki(null==q?void 0:null==(x=q.aggregatedData)?void 0:x.teamId)}));this.blockedByids$=this.issue$.pipe(D(function(q){var x;return null!=(x=null==q?void 0:q.snapshot[0].blockedByIssueId)?x:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(Oe(this.issueFridge.watchSet),D(function(q){return q.filter(vl)}),D(function(q){return q.length}));Rm(this.issuesBlockedByCount$.pipe(D(Yub),Pe(this.destroyed$)),"Blocked");this.blockedByids$.pipe(D(Zub));
this.blockedByids$.pipe(D(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(D(function(q){return l.computeStatusCssClass(q)}));this.prettyStatus$=this.status$.pipe(ue(ni),D(function(q){return ll[q]}));this.statusIsFeatured$=this.status$.pipe(D(function(q){return!!Dac[q]}));this.toggleStar=function(){var q=
!!Sm(l.starred$);l.starToggleDisabled=!0;Pec(l.issueFridge,l.issueId,!q).pipe(Fe(),Pe(l.destroyed$)).subscribe(function(){l.starToggleDisabled=!1})};this.toggleStarDebounced=RPb(this.toggleStar,1E3)};U(k8,jE);k8.\u0275dir=jE.\u0275dir;var Jjd=function(a,b){a.editTitleDisabled=!0;Qec(a.issueFridge,a.issueId,b).pipe(Pe(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};
k8.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+gj[a]};k8.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};ch.Object.defineProperties(k8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});k8.\u0275fac=function(a){return new (a||k8)(C(tH),C(gJ),C(vG),C(rH),C(g8),C(sK),C(fF))};
k8.\u0275cmp=Bc({type:k8,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[Ye],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&&(G(0,"div",0),S(1,"async"),S(2,"async"),S(3,"async"),I(4,"aside",1),S(5,"async"),S(6,"async"),G(7,"div",2)(8,"div",3),Q(9,Pub,2,1,"ng-container",4),S(10,"async"),Q(11,Sub,4,7,"ng-template",null,5,Vf),Q(13,Uub,4,7,"ng-template",
null,6,Vf),H(),G(15,"div",7),I(16,"b-pagination-one-issue"),H()(),G(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),M("onHotkey",function(){return Ajd(b.currentSearchResults)})("click",function(){return Ajd(b.currentSearchResults)}),S(21,"async"),S(22,"async"),I(23,"mat-icon",12),H(),G(24,"button",13),M("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),I(25,"mat-icon",14),H(),G(26,"b-star-toggle",15),M("starClicked",function(){return b.toggleStar()})("onHotkey",
function(){return b.toggleStarDebounced()}),S(27,"async"),H()(),I(28,"issue-chip-indicators"),H(),G(29,"div",16)(30,"issue-title",17),M("updateTitle",function(e){return Jjd(b,e)}),S(31,"async"),S(32,"async"),H(),Q(33,Wub,3,2,"div",18),S(34,"async"),G(35,"onedev-hovercard",null,19),Q(37,Xub,4,7,"ng-container",20),H(),I(38,"issue-actions",21)(39,"issue-actions",22),H()()());if(a&2){var c=yf(14),d;mf("overline",T(1,22,b.statusIsFeatured$))("color-field",T(2,24,b.statusIsFeatured$));wf("ngClass",T(3,
26,b.statusCssClass$));z(4);xf("title","[",T(5,28,b.prettyStatus$),"] ",T(6,30,b.issueTitle$),"");z(5);F("ngIf",T(10,32,b.hasAncestors$))("ngIfElse",c);z(11);F("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=T(21,34,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");bf("aria-label",T(22,36,b.currentSearchResults.backNavigationLabel$));z(4);F("hotkey",b.HOTKEYS.REFRESH_ISSUE);z(2);F("starred",T(27,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);
z(4);F("title",T(31,40,b.issueTitle$))("disabled",b.editTitleDisabled)("hasAclToEdit",T(32,42,b.issuePermissionService.hasAclToEdit$));z(3);F("ngIf",T(34,44,b.issuesBlockedByCount$));z(5);F("issueId",b.issueId);z(1);F("issueId",b.issueId)}},dependencies:[Y7,rw,tw,yw,JA,Z7,LL,xJ,yJ,CJ,zJ,TL,gT,X7,Yz,ZB,XS,VU,Cjd,f8,Ijd,zw],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 l8=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new E.BehaviorSubject("");this.showTrackerBanner$=(0,E.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!!Kl(e)&&!Kl(d)}));this.tracker$=this.issueTrackerId$.pipe(Oe(function(d){return Kl(d)?(0,E.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=this.tracker$.pipe(D(function(d){return tK(c.currentTracker,
String(c.issueId),d)}))};ch.Object.defineProperties(l8.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});l8.\u0275fac=function(a){return new (a||l8)(C(sK),C(QH))};
l8.\u0275cmp=Bc({type:l8,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&&(Q(0,$ub,7,6,"div",0),S(1,"async"),S(2,"async"));a&2&&F("ngIf",T(1,1,b.showTrackerBanner$)&&T(2,3,b.tracker$))},dependencies:[tw,Zz,zw],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 m8=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.trackerId$=new E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(Oe(function(e){return Kl(e)?(0,E.of)(void 0):d.trackerFridge.watch(e)}));this.trackerName$=this.tracker$.pipe(D(function(e){return e?e.name:d.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(D(function(e){return d.getLogoUrl(e)}));this.trackerLogo$=this.tracker$.pipe(D(function(e){return d.getLogoUrl(e)}));
this.trackerRedirectUrl$=this.tracker$.pipe(D(function(e){var g="";d.issue&&(g=String(d.issueId));d.component&&(g="components/"+d.componentId);return e?tK(d.currentTracker,g,e):Zkc(d.currentTracker,g)}))};m8.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:""};
m8.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
ch.Object.defineProperties(m8.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 Hac[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 ll[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}}});m8.\u0275fac=function(a){return new (a||m8)(C(sK),C(QH),C(ds))};
m8.\u0275cmp=Bc({type:m8,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[Uc],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&&Q(0,bvb,15,13,"div",0);a&2&&F("ngIf",b.showResourceContainer)},dependencies:[tw,JA,Zz,ZB,zw],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 Kjd=[[["",8,"value-action"]]],n8=function(a){jE.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 Vv;this.additionAllowed=!0;this.ListFieldType=OTc;this.userPrincipalValidator=function(c){var d,e,g;return de(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(Ehc(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.":"")})}};U(n8,jE);n8.\u0275dir=jE.\u0275dir;n8.prototype.getAriaLabel=function(){var a="Collaborators are people directly working on this issue.";this.additionAllowed||(a+=" You cannot add collaborators under this component.");return a};n8.\u0275fac=function(a){return new (a||n8)(C(TI))};
n8.\u0275cmp=Bc({type:n8,selectors:[["b-collaborators-field"]],inputs:{readonly:"readonly",collaborators:"collaborators",collaboratorsUsers:"collaboratorsUsers",listFieldDisabled:"listFieldDisabled",teamId:"teamId",isCollapsible:"isCollapsible",additionAllowed:"additionAllowed"},outputs:{valuesChange:"valuesChange"},features:[Cf([kH]),Ye],ngContentSelectors:[".value-action"],decls:3,vars:17,consts:[[1,"full-width",3,"defaultLineCount","readonly","additionAllowed","title","type","isUser","values",
"users","inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName","valuesChange"],[1,"value-action"]],template:function(a,b){a&1&&(tf(Kjd),G(0,"b-list-field",0),M("valuesChange",function(c){return b.valuesChange.emit(c)}),G(1,"div",1),uf(2),H()());a&2&&(xf("collapsiblePanelTitle","",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),F("defaultLineCount",5)("readonly",b.readonly)("additionAllowed",b.additionAllowed)("title",
"Collaborators")("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",b.collaborators)("users",b.collaboratorsUsers)("inputValidator",b.userPrincipalValidator)("listFieldDisabled",b.listFieldDisabled)("teamId",b.teamId)("isExpanded",!0)("isCollapsible",b.isCollapsible)("iconName",b.isCollapsible?"groups_24px":""),bf("aria-label",b.getAriaLabel()))},dependencies:[HZ],encapsulation:2});var o8=function(){};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275mod=Dc({type:o8});
o8.\u0275inj=nc({imports:[IZ,BF,XC]});var Ljd=function(){var a=this;this.pressed=new Vv;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"}};Ljd.\u0275fac=function(a){return new (a||Ljd)};
Ljd.\u0275cmp=Bc({type:Ljd,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&&(G(0,"button",0),M("click",function(){return b.pressed.emit()}),R(1,"Insights "),fd(),G(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&&(F("title",b.getTooltip())("disabled",b.disabled),bf("aria-label",b.getTooltip()))},dependencies:[Yz],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 Mjd=new Nc("PeoplekitClientConfig"),Njd=function(a){this.matcher=a};Njd.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};Njd.prototype.reset=function(){};var p8=function(a,b){null!=b||(b=wc(Se));var c=new T7c;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 P7c;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 yxc(c.getPeopleApiEnv(),new zxc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};p8.\u0275fac=function(a){return new (a||p8)(u(Mjd),u(Se))};p8.\u0275prov=mc({token:p8,factory:p8.\u0275fac});var q8=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 Vv;this.sessionOptions=(new Hq).setFilter(Ojd);this.inputSearchDelay=200;this.destroyed$=new E.ReplaySubject(1);this.inputChanged$=new E.ReplaySubject(1)};f=q8.prototype;f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
f.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);cvb(b,this.config);this.zone.runOutsideAngular(function(){var c;a.autocomplete=null==(c=a.clientConfig.autocompleteFactory)?void 0:c.create(a.getAnchor(),a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)});u4c(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(ze(this.inputSearchDelay)).subscribe(function(){a.search()})};
f.getAnchor=function(){if(!this.peopleKitService.autocompleteAnchor){var a=this.renderer.createElement("div");this.peopleKitService.autocompleteAnchor=a;this.renderer.addClass(a,"peoplekit-autocomplete-anchor");var b;(null!=(b=eBa(this.inputEl.nativeElement))?b:this.document.body).append(a)}return this.peopleKitService.autocompleteAnchor};f.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
f.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};q8.\u0275fac=function(a){return new (a||q8)(C(Mjd),C(ah),C(p8),C(rd),C(Se),C(uv))};
q8.\u0275dir=Gc({type:q8,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:["peoplekitAutocompleteConfig","config"],sessionOptions:["peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:["peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var Ojd=Chb(1);var Pjd=["popOver"],Qjd=["inputBox"],r8=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},Rjd,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new Vv;this.inputValue="";this.sessionOptions=Sjd};r8.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
r8.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},Rjd,this.defaultAutocompleteConfig,this.autocompleteConfig))};r8.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};r8.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};r8.\u0275fac=function(a){return new (a||r8)(C(Tjd,8))};
r8.\u0275cmp=Bc({type:r8,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(Qf(Pjd,7),Qf(Qjd,5));if(a&2){var c;Pf(c=Sf())&&(b.popOver=c.first);Pf(c=Sf())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[Uc],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&&(G(0,"onedev-pop-over-edit-panel",0,1),M("closedWithAction",function(d){return b.onPopOverClose(d)}),H(),Q(2,dvb,2,3,"ng-template",null,2,Vf));if(a&2){var c=yf(3);F("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[kg,Uw,$w,V5,q8],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 Tjd=new Nc("user-picker-autocomplete-config"),Rjd={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},Sjd=(new Hq).setFilter(Ghb(Chb(1),new Njd(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var fvb=function(a){return{$implicit:a}},Ujd=0,s8=function(){this.val="";this.disabled=!1;this.emailChange=new Vv;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+Ujd;this.onChange=function(){};this.onTouched=function(){};Ujd++};U(s8,MY);f=s8.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};
ch.Object.defineProperties(s8.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});s8.\u0275fac=function(a){return new (a||s8)};
s8.\u0275cmp=Bc({type:s8,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&Qf(r8,7);if(a&2){var c;Pf(c=Sf())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Cf([{provide:MY,useExisting:sc(function(){return s8}),multi:!0},{provide:Jw,useExisting:sc(function(){return s8}),multi:!0}]),
Ye],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&&(G(0,"button",0,1),M("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),Q(2,gvb,2,4,"ng-container",2),Q(3,hvb,1,1,"ng-template",null,3,Vf),Q(5,ivb,2,0,"svg",4),H(),G(6,"onedev-user-picker-panel",5),M("closed",function(e){return b.onPopOverClose(e)}),H());if(a&2){var c=yf(1),d=yf(4);mf("active",b.isActive());bf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());z(2);F("ngIf",b.selectedUserTemplate)("ngIfElse",
d);z(3);F("ngIf",!b.disabled);z(1);F("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[tw,yw,r8],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 Vjd=["picker"],t8=function(){this.disabled=!1;this.emailChange=new Vv;this.userEmail=""};U(t8,MY);t8.prototype.openPopOver=function(){this.picker.openPopOver()};t8.prototype.isActive=function(){return this.picker.isActive()};ch.Object.defineProperties(t8.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=ci(a)||""}}});t8.\u0275fac=function(){var a;return function(b){return(a||(a=pd(t8)))(b||t8)}}();
t8.\u0275cmp=Bc({type:t8,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&Qf(Vjd,7);if(a&2){var c;Pf(c=Sf())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Cf([{provide:MY,useExisting:sc(function(){return t8}),multi:!0}]),Ye],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&&(G(0,"onedev-user-picker",0,1),M("emailChange",function(d){return b.emailChange.emit(d)}),H(),Q(2,kvb,1,1,"ng-template",null,2,Vf));if(a&2){var c=yf(3);F("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[tw,yO,s8],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 nvb=function(a){return[a]},qvb=function(){return[]},gwb=function(a){return{$implicit:a}},u8=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){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=x;this.changelistApi=A;this.issueMarkAsDuplicateDialogService=B;this.analytics=K;this.issueInsightsSidebarService=O;this.issueLimits=
P;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Be());this.issue$=this.distinctIssueId$.pipe(Oe(function(X){return Y.editIssueService.editableIssue$(X)}));this.enablePeoplekitAc=hE(this.activeSession,"enablePeoplekitUserAc");this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.showSloStatus=this.sessionIsInternal;this.showChangelists=!this.sessionIsExternal;this.defaultAssigneeQuickActionEnabled=
this.sessionIsInternal;this.HOTKEYS=ML;this.trackCustomField=function(X,ka){return"{"+ka.componentId+", "+ka.customFieldId+"}"};this.FieldType=GTc;this.ListFieldType=OTc;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(D(function(X){return!Y.activeSession.isExternalSession()&&!X}));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(D(Tlb));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(D(function(X){return Y.editIssueService.issueFields(X)}),
Le({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(Oe(function(X){return X.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(Oe(function(X){return X.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(Oe(function(X){return X.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(Oe(function(X){return X.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(Oe(function(X){return X.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(Oe(function(X){return X.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(Oe(function(X){return X.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(Oe(function(X){return X.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(D(function(X){return Y.editIssueService.issueQuickActions(X)}),Le({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(Oe(function(X){return X.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(Oe(function(X){return X.issueStatusQuickAction$}));this.priorityChoices=this.constants.priorities.map(function(X){return{value:X,displayText:X}});this.severityChoices=this.constants.severities.map(function(X){return{value:X,displayText:X}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,E.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=
ka.next().value;return{teamId:ka?String(ka):"0",componentId:X?String(X):"0"}}));this.isTeamWarningDismissed$=(0,E.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(D(function(X){X=k(X);var ka=X.next().value,ma,ya;return null==(ma=X.next().value.teamWarningPreferences)?void 0:null==(ya=ma.componentTeamWarnings)?void 0:ya.some(function(Aa){return Aa.componentId===ka.componentId})}));this.shouldDisplayTeamSuggestions$=(0,E.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,
this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;var ma=ka.next().value;ka=ka.next().value;return hE(Y.activeSession,"enableTeamSuggestions")&&X&&!ma&&("MISSING"===ka||"DELETED"===ka)}));this.statusChoices$=this.canonicalIssueId$.pipe(D(function(X){return[].concat(Pc(Lac.filter(function(ka){return"DUPLICATE"!==ka.value})),[{value:"DUPLICATE",displayText:X?"Duplicate of "+X:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe(Oe(function(X){return Yrc(Y.workspaceService,
X)}),Le({refCount:!0,bufferSize:1}));this.pendingChangelists$=Oec(this.refreshMonitor,this.distinctIssueId$).pipe(Oe(function(X){return Y.changelistApi.getPendingChangelistsForIssue(X)}),D(function(X){return X.changelistNumbers}),D(function(X){return{cls:X,hasError:!1}}),ye(function(){return(0,E.of)({cls:[],hasError:!0})}),Le({refCount:!0,bufferSize:1}));this.COLLABORATORS_HOVERCARD_CONFIG=Object.assign({},new AJ,{position:[Uic]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new AJ,{position:[{originX:"start",
originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(X){var ka,ma;X.value=null!=(ma=null==(ka=Sm(Y.issue$))?void 0:ka.assignee)?ma:""},reporter:function(X){var ka,ma;X.value=null!=(ma=null==(ka=Sm(Y.issue$))?void 0:ka.reporter)?ma:""},verifier:function(X){var ka,ma;X.value=null!=(ma=null==(ka=Sm(Y.issue$))?void 0:ka.verifier)?ma:""},ccs:function(X){var ka,ma;X.values=null!=(ma=null==(ka=Sm(Y.issue$))?void 0:ka.cc)?ma:[]},collaborators:function(X){var ka,
ma;X.collaborators=null!=(ma=null==(ka=Sm(Y.issue$))?void 0:ka.collaborators)?ma:[]}}};u8.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var $vb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent(Gn.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!fJ(a.issuePermissionService,e)}):[].concat(Pc(c.cc),[a.activeSession.getUserEmail()]);return Aic(a.editIssueService,a.issueId,d)},Wvb=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent(Gn.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!fJ(a.issuePermissionService,e)}):[].concat(Pc(c.collaborators),[a.activeSession.getUserEmail()]);return Bic(a.editIssueService,a.issueId,d)};u8.prototype.toggleAccessLimits=function(){var a=this;return de(function(b){a.issueLimits.open({componentId:Number(Sm(a.issueDetailsBrain.componentId$)),issueId:a.issueId});ie(b)})};
u8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var Jvb=function(a,b,c){return Lvb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},tvb=function(a,b,c){return vvb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)})},Qvb=function(a,b,c){return Svb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)})},Vwb=function(a,b,c){return Aic(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.ccs(b)})},Uwb=function(a,b,c){return Bic(a.editIssueService,
a.issueId,c).finally(function(){a.reconcileView.collaborators(b)})},Rr=function(a,b){a.analytics.trackEvent(Gn.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return yic(a.editIssueService,a.issueId,b)},Twb=function(a,b){var c;return de(function(d){return(c=yua(b))?"DUPLICATE"===c?d.return(MBc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(xic(a.editIssueService,a.issueId,c)):d.return()})};
u8.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(D(function(c){return b.editIssueService.savingState(c)}),Oe(function(c){return An(c.propertiesBeingSaved,hn(String(a)))}))};u8.prototype.getAccessLimitLevelDisplay=function(a){return W6a(a)};u8.\u0275fac=function(a){return new (a||u8)(C(ds),C(tJ),C(tH),C(gJ),C(eJ),C(II),C(rH),C(BI),C(vI),C(uP),C(fD),C(HR),C(oH),C(b8),C(i8))};
u8.\u0275cmp=Bc({type:u8,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[Uc],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",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","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&&(Q(0,Wwb,126,156,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[FZ,sw,tw,yw,JA,JZ,DZ,X5,S5,T5,U5,LL,xJ,yJ,CJ,zJ,Ljd,vO,e6,HZ,n8,ZB,iI,G5,t8,mO,VX,oic,zw],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 Wjd={},Xjd=(Wjd.COMFORTABLE=330,Wjd.COZY=300,Wjd.COMPACT=270,Wjd),w8=function(a){jE.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(D(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(D(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new E.Subject;this.currentSidebarWidth$=(0,E.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(Ne(void 0))]).pipe(D(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:Xjd[null!=c?c:"COMFORTABLE"]}));(0,E.combineLatest)([this.rightSidebarWidthChanged$.pipe(Be()),this.sidebarWidthPreference$]).pipe(ue(function(c){c=k(c);var d=c.next().value;return c.next().value!==d}),Oe(function(c){c=k(c);var d=c.next().value;
c.next();return Xgc(b.userPreferencesManager,{rightSidebarWidth:d})}),Pe(this.destroyed$)).subscribe()};U(w8,jE);w8.\u0275dir=jE.\u0275dir;w8.prototype.ngOnInit=function(){};w8.\u0275fac=function(a){return new (a||w8)(C(BI))};
w8.\u0275cmp=Bc({type:w8,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[Ye],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&&(G(0,"h3",0),R(1,"Issue metadata"),H(),G(2,"b-resizable-sidebar",1),M("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),S(3,"async"),
G(4,"div",2)(5,"div",3),Q(6,Xwb,1,1,"edit-issue-metadata",4),H()()());if(a&2){var c;z(2);F("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=T(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);z(4);F("ngIf",b.issueId)}},dependencies:[tw,cO,u8,zw],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var x8=function(){};x8.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,E.concat)((0,E.defer)(function(){return(0,E.of)(document.getElementById(a))}),K7a(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(D(function(){return document.getElementById(a)}))).pipe(ue(ni),Ce())};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275prov=mc({token:x8,factory:x8.\u0275fac,providedIn:"root"});var y8=function(a){this.idWatch=a},Yjd=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(Ce(),D(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};y8.\u0275fac=function(a){return new (a||y8)(u(x8))};y8.\u0275prov=mc({token:y8,factory:y8.\u0275fac,providedIn:"root"});var z8=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new E.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
z8.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(Yjd(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Pe(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};z8.prototype.ngOnDestroy=function(){this.destroyed$.next()};
z8.\u0275fac=function(a){return new (a||z8)(u(y8),u(DG),u(YI),u(v6))};z8.\u0275prov=mc({token:z8,factory:z8.\u0275fac});var A8=function(a,b){jE.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(ue(Sya),Pe(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(ue(Rya),Pe(this.destroyed$)).subscribe(function(d){d=["scrollY",c.rememberScroll,d.url].join("-");Ywb(c.el.nativeElement,d)})};
U(A8,jE);A8.\u0275fac=function(a){return new (a||A8)(C(rd),C(vG))};A8.\u0275dir=Gc({type:A8,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[Ye]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=Dc({type:B8});B8.\u0275inj=nc({imports:[BF,BG]});var lxb=function(){return{exact:!0}},C8=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa){jE.call(this);var Ma=this;this.routeParams=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=x;this.routerEvents=A;this.devopsGraph=B;this.refreshMonitor=K;this.eventsForIssueFridge=O;this.issueFetchResponseFridge=P;this.hotlistFridge=Y;this.permissionsFridge=X;this.issueRelationshipsFridge=
ka;this.issueService=ma;this.errorHandler=ya;this.currentTracker=Aa;this.id$=this.routeParams.issueId$;this.issue$=this.id$.pipe(Oe(this.issueFridge.watch));this.issue404$=(0,E.combineLatest)([this.id$,this.issueFetchResponseFridge.error$]).pipe(D(function(Ra){var Ta=k(Ra);Ra=Ta.next().value;Ta=Ta.next().value;return Ta.idOrKey===Ra&&404===Ta.status}),Ne(!1));this.issueTrackerId$=this.issue$.pipe(D(function(Ra){return null==Ra?void 0:Ra.trackerId}));this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,
this.issueTrackerId$]).pipe(D(function(Ra){var Ta=k(Ra);Ra=Ta.next().value;Ta=Ta.next().value;return Ma.shouldShowTrackerRedirect(Ra,mi("")(Ta))}));this.snapshot$=this.issue$.pipe(D(function(Ra){return null==Ra?void 0:Ra.snapshot[0]}));this.archived$=this.snapshot$.pipe(D(function(Ra){return null==Ra?void 0:Ra.isArchived}));this.deleted$=this.snapshot$.pipe(D(function(Ra){return null==Ra?void 0:Ra.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(D(function(Ra){return Ra?
void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(D(function(Ra){return(null==Ra?void 0:Ra.isArchived)&&!(null==Ra?0:Ra.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(D(function(Ra){return(null==Ra?void 0:Ra.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(ue(ni),D(function(Ra){return ll[Ra]}));this.issue$.pipe(D(function(Ra){var Ta;return null!=(Ta=null==Ra?void 0:Ra.snapshot[0].title)?Ta:""}));this.issuesBeingBlocked$=this.issue$.pipe(D(function(Ra){var Ta;
return null!=(Ta=null==Ra?void 0:Ra.snapshot[0].blockingIssueId)?Ta:[]}),Ae(1E3),Oe(this.issueFridge.watchSet));this.issue$.pipe(D(function(Ra){var Ta;return null!=(Ta=null==Ra?void 0:Ra.snapshot[0].duplicateIssueId)?Ta:[]}),Ae(1E3),Oe(this.issueFridge.watchSet));this.userHasReadAccess$=this.issueFetchResponseFridge.error$.pipe(D(function(Ra){if(403===Ra.status&&Ma.activeSession.isInternalSession())return!1;Ma.errorHandler.errorHandler(null,Ra);return!0}),Ne(!0),Le({refCount:!0,bufferSize:1}));this.issueMetadata$=
(0,E.defer)(function(){return Ma.id$}).pipe(ue(ni),Oe(function(Ra){return Ma.issueService.getMetadata(Ra)}),Le({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(Pc(hE(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};U(C8,jE);C8.\u0275dir=jE.\u0275dir;C8.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
C8.prototype.ngOnInit=function(){var a=this,b,c,d;return de(function(e){if(1==e.nextAddress)return b=MA,c=b.assertExists,e.yield((0,E.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(YO(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(ue(ni),
Ce()).subscribe(function(g){vH(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);yH(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(hec);vH(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;Yhc(g,l,"idp-time-on-page",h.variations);g.resetState(d);a.editIssueService.clear(d)});ie(e)})};C8.\u0275fac=function(a){return new (a||C8)(C(XI),C(tH),C(ds),C(gJ),C(tJ),C(P7),C(SF),C(dJ),C(XO),C(KF),C(nH),C(a8),C(rH),C(fF),C(wH),C($G),C(BH),C(AH),C(qH),C(OF),C(sK))};
C8.\u0275cmp=Bc({type:C8,selectors:[["issue-details-wrapper"]],features:[Cf([kH,uJ,{provide:pL,useClass:z8}]),Ye],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&&(Q(0,Zwb,2,1,"h2",0),S(1,"async"),Q(2,$wb,1,0,"div",1),S(3,"async"),Q(4,rxb,2,3,"ng-template",null,2,Vf),Q(6,sxb,3,3,"ng-template",null,3,Vf),Q(8,txb,3,3,"ng-template",null,4,Vf));if(a&2){var c=yf(5),d=yf(9);
F("ngIf",T(1,4,b.id$));z(2);F("ngIf",T(3,6,b.userHasReadAccess$))("ngIfThen",c)("ngIfElse",d)}},dependencies:[sw,tw,mG,xG,yG,Yz,vM,wM,yM,Yy,ZB,mX,nX,k8,r4,w8,A8,m8,l8,zw],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var D8=function(a,b){jE.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new E.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"}]}};U(D8,jE);D8.\u0275dir=jE.\u0275dir;D8.prototype.ngOnInit=function(){};
D8.prototype.removeDuplicate=function(a){var b=this,c;return de(function(d){if(1==d.nextAddress)return ee(d,2),d.yield(b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return ks(d,0);c=he(d);MF(b.butterBar,"Could not remove duplicate "+a+". "+c);ie(d)})};ch.Object.defineProperties(D8.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
D8.\u0275fac=function(a){return new (a||D8)(C(tH),C(KF))};D8.\u0275cmp=Bc({type:D8,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[Ye],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(Q(0,uxb,2,4,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.duplicateIssueIds$))},dependencies:[tw,kS,zw],encapsulation:2,changeDetection:0});var E8=function(a,b,c,d,e){jE.call(this);var g=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=Ukc;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(D(function(h){return{path:"/issues",params:{q:"canonicalid:"+h}}}));this.issue$=this.id$.pipe(Oe(this.issues.watch));this.duplicateIds$=this.issue$.pipe(D(function(h){var l;return null!=(l=null==h?void 0:h.snapshot[0].duplicateIssueId)?l:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(Oe(function(h){return 0===
h.length?(0,E.of)(0):g.counts.duplicatesDualCount$.pipe(D(function(l){return l.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(D(function(h){return 0<h}),Ne(!0));this.didChooseDupes=function(h){var l=Sm(g.id$);null!=l&&Sec(g.issues,l,h[0]).catch(g.gotErr)};this.gotErr=function(h){g.snackBar.open(Ol(h)||"Error with network request","close",{panelClass:"error"})}};U(E8,jE);E8.\u0275dir=jE.\u0275dir;E8.prototype.isThinking=function(){return this.issues.isThinking()};
var vxb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};E8.\u0275fac=function(a){return new (a||E8)(C(XI),C(tH),C(MO),C(IF),C(P7))};
E8.\u0275cmp=Bc({type:E8,selectors:[["ng-component"]],features:[Ye],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&&(G(0,"section",0),
Q(1,Axb,5,4,"ng-container",1),S(2,"async"),H(),Q(3,Bxb,2,0,"aside",2));a&2&&(z(1),F("ngIf",T(2,2,b.duplicateIds$)),z(2),F("ngIf",b.isThinking()))},dependencies:[tw,xG,Yz,Zz,ZB,zL,D8,zw],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 F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=Dc({type:F8});F8.\u0275inj=nc({imports:[BF,hy,uy,ox,px,BG,wC,xM,XC,$B,JM,BO,eO,eN,mS]});var G8=function(a,b,c,d){jE.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=hE(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();Sr.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=Zjd;this.showRecentEventsFirst=!1};U(G8,jE);G8.\u0275dir=jE.\u0275dir;
G8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ue(ni),Pe(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(Pe(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=Jxb(b.commentFilter):(a.selectedFilter=CI(a.preferences).showFullHistory?Gxb:Sr,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(Pe(a.destroyed$)).subscribe())})};
G8.\u0275fac=function(a){return new (a||G8)(C(BI),C(ds),C(cH),C(oH))};
G8.\u0275cmp=Bc({type:G8,selectors:[["b-event-stream-header"]],features:[Ye],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&&(G(0,"div",0)(1,"h4",1),R(2,"Comments"),H(),G(3,"div",2),Q(4,Dxb,5,3,"mat-form-field",3),G(5,"button",4),M("click",function(){vya("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;eH(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(Pe(b.destroyed$)).subscribe()}),
Q(6,Exb,4,0,"ng-container",5),Q(7,Fxb,4,0,"ng-container",5),H()()());a&2&&(z(4),F("ngIf",b.enableCommentFilters),z(2),F("ngIf",!b.showRecentEventsFirst),z(1),F("ngIf",b.showRecentEventsFirst))},dependencies:[sw,tw,JA,Yz,xA,iO,hO,$z],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 Gxb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Sr={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},Hxb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},Ixb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},Zjd=[Gxb,Sr,Hxb,Ixb];var H8=function(a){this.matDialogService=a;this.reactionState$=new E.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(ue(ni),D(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(ue(ni),D(function(b){return 5<b.count}));this.overflowReactionCount$=this.reactionState$.pipe(ue(ni),ue(function(b){return 5<b.count}),D(function(b){return b.count-
5}))};ch.Object.defineProperties(H8.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});H8.\u0275fac=function(a){return new (a||H8)(C(kA))};
H8.\u0275cmp=Bc({type:H8,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&&(G(0,"div",0)(1,"div",1),Q(2,Mxb,6,5,"ng-container",2),S(3,"async"),
Q(4,Nxb,6,3,"span",3),S(5,"async"),H()());a&2&&(z(2),F("ngForOf",T(3,2,b.emails$)),z(2),F("ngIf",T(5,4,b.isOverflowReactionCount$)))},dependencies:[sw,tw,zw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var $jd=function(){};$jd.\u0275fac=function(a){return new (a||$jd)};$jd.\u0275cmp=Bc({type:$jd,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&&Q(0,Pxb,7,2,"ng-container",0);a&2&&F("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[tw,iK],encapsulation:2,changeDetection:0});var I8=function(){this.texts=[]};I8.prototype.getIssueId=function(a){return a.text};I8.prototype.trackByIndex=function(a){return a};I8.\u0275fac=function(a){return new (a||I8)};
I8.\u0275cmp=Bc({type:I8,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&&Q(0,Txb,5,3,"ng-container",0);a&2&&F("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[rL,sw,uw,vw,ww,epc],encapsulation:2,changeDetection:0});var akd=function(a){this.hotlists=a;this.HOTLIST_SEARCH=Qr.HOTLIST_SEARCH};akd.\u0275fac=function(a){return new (a||akd)(C($G))};akd.\u0275cmp=Bc({type:akd,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(G(0,"a",0),R(1),S(2,"async"),H());if(a&2){var c;F("href",b.HOTLIST_SEARCH(b.id),Id);z(1);Af((null==(c=T(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[zw],encapsulation:2,changeDetection:0});var J8=function(a){var b=this;this.componentFridge=a;this.id$=new E.ReplaySubject(1);this.name$=this.id$.pipe(Be(),Oe(function(c){return b.componentFridge.watchOne(c).pipe(D(function(d){var e;return d?r6a(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};J8.prototype.ngOnChanges=function(){this.id$.next(this.id)};J8.\u0275fac=function(a){return new (a||J8)(C(mF))};
J8.\u0275cmp=Bc({type:J8,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[Uc],decls:6,vars:4,consts:[[3,"onedevHovercardTrigger"],["thisHovercard","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(G(0,"span",0),R(1),S(2,"async"),H(),G(3,"onedev-hovercard",null,1),Q(5,Uxb,3,2,"ng-container",2),H());if(a&2){var c=yf(4);F("onedevHovercardTrigger",c);z(1);Af(T(2,2,b.name$)||b.id)}},dependencies:[xJ,
yJ,CJ,zJ,cZ,zw],encapsulation:2,changeDetection:0});var ryb=function(a){return{"bv2-diff-newvalue-nextline":a}},Lyb=function(a,b,c){return{diff:a,change:b,isLast:c}},K8=function(a,b){jE.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=Nh;this.isLinkedItemArray=vua;this.isIssueDiff=sua;this.isHotlistDiff=tua};U(K8,jE);K8.\u0275dir=jE.\u0275dir;K8.prototype.getAccessLimitLevel=function(a){return W6a(a)};
var bkd=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)},ckd=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)};K8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ue(ni),Pe(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&bkd(a)||!b&&ckd(a))&&a.internalDiffs.reverse()})};K8.prototype.trackByIndex=function(a){return a};
var Xyb=function(a,b,c){return"<none>"===Mca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},Yyb=function(a,b,c){return"<none>"===Mca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};K8.prototype.asNumber=function(a){return Number(a)};
K8.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};ch.Object.defineProperties(K8.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(Pc(a))}}});K8.\u0275fac=function(a){return new (a||K8)(C(ds),C(BI))};
K8.\u0275cmp=Bc({type:K8,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[Ye],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&&(G(0,"div",0),Q(1,nzb,2,1,"div",1),H(),Q(2,wzb,1,1,"ng-template",null,2,Vf),Q(4,xzb,2,0,"ng-template",null,3,Vf));a&2&&(z(1),F("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[rw,sw,tw,yw,uw,vw,ww,iK,bK,rL,akd,J8,Dw],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var L8=function(a){jE.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(Pe(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case void 0:b.formattingModeOverride=void 0;break;default:nh(c.commentDisplayOverride)}})};U(L8,jE);L8.\u0275dir=jE.\u0275dir;
L8.prototype.ngOnInit=function(){};L8.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";dkd(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var dkd=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=XAa(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")}};L8.\u0275fac=function(a){return new (a||L8)(C(BI))};
L8.\u0275cmp=Bc({type:L8,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[Ye,Uc],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&&F("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[WN],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var ekd=["commentActionsMenu"],fkd=["commentReactionButton"],Hzb=function(){return[]},Xzb=function(a){return{"no-upvote-reactions":a}},M8=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma){jE.call(this);var ya=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=x;this.issueDetailsBrain=A;this.editIssueService=B;this.issuePermissionService=
K;this.commentHistoryDialogService=O;this.issueCommentDialogsService=P;this.dateFormatter=Y;this.paths=X;this.domSafe=ka;this.eventsForIssueFridge=ma;this.isSummarized=!1;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Be());this.event$=new E.ReplaySubject(1);this.isCommentEvent=rl;this.isNonObfuscatedEmail=bn;this.commentActionMenuItems$=new E.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(){ya.formattingMode="PLAIN";ya.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){ya.formattingMode="MARKDOWN";ya.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){ya.formattingMode="LITERAL";ya.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(Oe(function(Aa){return ya.issuePermissionService.canEditComment$(Aa)}),Le({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Sm(ya.canEditComment$)};this.commentHistoryEnabled=hE(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=hE(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(Oe(function(Aa){return ya.editIssueService.editableIssue$(Aa)}));this.modifiedDateDisplay$=this.event$.pipe(D(function(Aa){return new Date(Aa.modifiedDate)}),Oe(function(Aa){return Dkc(ya.dateFormatter,Aa)}));this.ariaLabelHeading$=(0,E.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(D(function(Aa){var Ma=k(Aa);Aa=Ma.next().value;Ma=Ma.next().value;if(null==Aa)Aa="";else{var Ra=[];Aa.commentNumber&&Ra.push("Comment #"+
Aa.commentNumber);Aa.userPerformingActionUser&&Ra.push(Zh(Aa.userPerformingActionUser));Ra.push("Modified: "+Ma);Aa=Ra.join(", ")}return Aa}));this.ReactionType=O7b;this.upvoteReactionCount$=this.event$.pipe(D(function(Aa){var Ma,Ra,Ta;return null!=(Ta=null==(Ma=Aa.commentReactions)?void 0:null==(Ra=Ma.get("UPVOTE"))?void 0:Ra.count)?Ta:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(D(function(Aa){return Aa&&0!==Aa?999<Aa?"999+":String(Aa):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(D(function(Aa){return 0===Aa}));this.commentReactionsHovercardConfig=Object.assign({},new AJ,{position:[Vic]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(D(function(Aa){var Ma;return null!=(Ma=Aa.commentFilter)?Ma:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(D(function(Aa){return"FULL_HISTORY"===
Aa}));this.preEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(Aa){Aa=k(Aa);var Ma=Aa.next().value;return Aa.next().value?Ma.postDiffs:Ma.preDiffs}));this.postEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(Aa){Aa=k(Aa);var Ma=Aa.next().value;return Aa.next().value?Ma.preDiffs:Ma.postDiffs}));this.hasAclToUpvoteReact$=(0,E.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(D(function(Aa){var Ma=
k(Aa);Aa=Ma.next().value;Ma=Ma.next().value;var Ra,Ta;return(null==(Ra=Aa.commentReactions)?void 0:null==(Ta=Ra.get("UPVOTE"))?void 0:Ta.hasReacted)||Ma}));this.showCommentReactionHovercard$=(0,E.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(D(function(Aa){var Ma=k(Aa);Aa=Ma.next().value;Ma=Ma.next().value;return Aa&&0<Ma&&5>=Ma}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(D(function(Aa){return Aa&&eAb(ya)&&(0<ya.event.preDiffs.length||
0<ya.event.postDiffs.length)}));this.getCommentNumberLink=function(Aa){return hwa(ya.issueId,{comment:Aa})}};U(M8,jE);M8.\u0275dir=jE.\u0275dir;
M8.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(Pe(this.destroyed$)).subscribe(function(){rl(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,E.of)(void 0)});gkd(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(Pe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(Pe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var gkd=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=M8.prototype;
f.updateCommentRetention=function(a){var b=this;this.event.commentNumber||PF(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(Pe(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});LF(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=2===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){PF(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 Oqa(ui(this.event.commentContentVerdict))};f.isRestricted=function(){if(!this.isInternalSession)return!1;var a=ui(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:nh(a)}};
f.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var Ur=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
M8.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent(Gn.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=String(this.issueId),c=this.event.commentNumber||0,d=ti(ui(this.event.commentContentVerdict));this.commentService.get(b,c,d).pipe(Ce()).subscribe(function(e){a.deobfuscatedEvent=Object.assign({},a.event,ota(e));a.initializeActionsMenu()},function(e){var g;MF(a.butterBar,"Error showing comment "+c+": "+(null==(g=e.error)?void 0:g.message))})};
M8.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]}),gkd(this)),this.canEditComment()&&b.push({type:"action",action:function(){Ezb(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Ur(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!Ur(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:Ur(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){BBc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Ur(this)}),bic(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){GBc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),aic(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){DBc(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(){HBc(a.issueCommentDialogsService,String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings"}),this.isInternalSession&&this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted())){var c="COMPONENT_DEFAULT"===this.commentRetentionOverride;b.push({type:"action",action:function(){var d=c?2:1;IBc(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)};M8.prototype.getUserEmailIfAvailable=function(){return ci(this.event.userPerformingActionUser)};var eAb=function(a){return rl(a.event)&&!!a.event.unlinkifiedComment};M8.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
M8.prototype.mayReadPii=function(){var a=yF(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){vh("error: ",b);return!1});return(0,E.from)(a)};
var Vzb=function(a){if(Sm(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=Yzb(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);dF(a.eventsForIssueFridge,a.issueId,function(g){var h;g.events=Oua(g.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});a.analytics.trackEvent(Gn.EDIT_ISSUE,
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},Yzb=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},Wzb=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};
ch.Object.defineProperties(M8.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});M8.\u0275fac=function(a){return new (a||M8)(C(vI),C(ds),C(pL),C(AP),C(rd),C(xF),C(KF),C(OF),C(oH),C(BI),C(eJ),C(tJ),C(gJ),C(zP),C(GR),C(hK),C(DG),C(ZJ),C(fF))};
M8.\u0275cmp=Bc({type:M8,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(Qf(ekd,5),Qf(fkd,5));if(a&2){var c;Pf(c=Sf())&&(b.commentActionsMenu=c.first);Pf(c=Sf())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[Ye,Uc],decls:2,vars:3,consts:[[4,"ngIf"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email",
"teamId",4,"ngIf","ngIfElse"],["plainUserDisplayName",""],[4,"ngIf","ngIfElse"],["emailDisplay",""],["class","bv2-edit-comment-button","matTooltip","Edit Comment","aria-label","Edit Comment",3,"click",4,"ngIf"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState",4,"ngIf"],["mode","datetime",3,"timestamp"],["class","issue-detail-actions",3,"buttonLabel","menuItems",4,"ngIf"],[1,"float-clear"],["class","bv2-event-major-status",4,"ngIf"],[3,"diffs","customFieldMap",
"effortSpecName","effortEnabled",4,"ngIf"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],["class","muted italic",4,"ngIf"],[3,"disabled","onConfirm",4,"ngIf"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time","class","muted type-s",3,"timestamp",4,"ngIf"],["class","align-self-flex-end",4,"ngIf"],["class","bv2-event-note-edit-timestamp",
4,"ngIf"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-event-user-id"],[1,"keep-focus-ring","vertical-centered",3,"routerLinkObj","click"],["matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],["content-type","comment",3,"label","retention","retentionState"],[1,"issue-detail-actions",
3,"buttonLabel","menuItems"],["commentActionsMenu",""],[1,"bv2-event-major-status"],[3,"texts"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"muted","italic"],[3,"disabled","onConfirm"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-button","",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],["mat-stroked-button","",1,"comment-reaction-button",
3,"ariaLabel","ngClass","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive","click"],["commentReactionButton",""],["svgIcon","thumb_up_24px","class","icon-s",4,"ngIf"],["svgIcon","thumb_up_filled_24px","class","icon-s has-reacted-icon",4,"ngIf"],["commentReactionCard","onedevHovercard"],[3,"reactionState","issueId","commentNumber",4,"ngIf"],["svgIcon","thumb_up_24px",1,"icon-s"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],[3,"reactionState","issueId","commentNumber"],
[1,"bv2-event-note-edit-timestamp"],[3,"event"],[3,"click",4,"ngIf"],[3,"click"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(Q(0,fAb,43,33,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[yK,IR,YN,rw,sw,tw,yw,JA,iK,xJ,CJ,K8,aK,HP,KR,ZM,cK,uL,yO,ZB,
L8,Yz,H8,$jd,I8,zw],styles:[".bv2-event-user[_ngcontent-%COMP%]{font-weight:400;margin:0;margin-bottom:12px}.bv2-event-user[_ngcontent-%COMP%]   b-user-membership-chip[_ngcontent-%COMP%]{margin-left:-8px}.bv2-event-user   .d-cozy[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-cozy   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:10px}.bv2-event-user   .d-compact[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-compact   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:8px}.summarized-note-button[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-top:8px;margin-left:-22px}.summarized-note-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{padding-right:8px}.comment-reaction-button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;color:#3c4043;color:var(--gfx);min-width:20px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px;margin-right:6px}.comment-reaction-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.comment-reaction-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.comment-reaction-button[_ngcontent-%COMP%]:focus:enabled:not(.comment-reaction-button[aria-disabled=true]), .comment-reaction-button[_ngcontent-%COMP%]:hover:enabled:not(.comment-reaction-button[aria-disabled=true]){box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}[_nghost-%COMP%]     .comment-reaction-button[aria-disabled=true].mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]{cursor:default;color:#bdc1c6;color:var(--text-disabled)}[_nghost-%COMP%]   .comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:rgba(26,115,232,.4);color:var(--hover-btn)}.no-upvote-reactions[_ngcontent-%COMP%]{border:0;margin-right:2px}.no-upvote-reactions[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:0}.comment-timestamp[_ngcontent-%COMP%]{margin-top:14px;-webkit-box-flex:0.92;-webkit-flex:0.92;-moz-box-flex:0.92;-ms-flex:0.92;flex:0.92}\n/*# sourceMappingURL=history_event.css.map */"],
changeDetection:0});var hkd={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},N8=function(a,b,c,d,e,g,h,l,q,x){jE.call(this);var A=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=x;this.issueId$=new E.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=hkd;this.internalEvents=[];this.showRecentEventsFirst=null;
this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=hE(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(Oe(function(B){return A.editIssueService.editableIssue$(B)}));this.events$=new E.ReplaySubject(1);this.commentsToFormat$=new E.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.sendAnalytics=RPb(function(){var B=[].concat(Pc(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(K){return K.innerText}).join("").length;
A.analytics.trackEvent(Gn.EDIT_ISSUE,"updateCommentThread","visibleCharCount",B)},200);this.scrollToCommentOrAttachment=RPb(function(){var B=A.bLocation.hash();if(B&&A.internalEvents){var K,O=k(null!=(K=B.match(RegExp("(comment|attachment)([0-9]+)")))?K:[]);O.next();K=O.next().value;var P=O.next().value;O=K;var Y=P;if("lastcomment"===B){O=Tua(A.internalEvents);if(-1===O)return;Y=String(O);O="comment"}O&&Y&&(B=A.internalEvents.findIndex(function(X){return X.commentNumber===Number(Y)}),K=-1<B,P=A.internalEvents.flatMap(function(X){return X.attachments}).some(function(X){return X.attachmentId===
Number(Y)}),K||P)&&(K&&"folded"===A.eventDisplayMode.get(B)&&(A.eventDisplayMode.set(B,"full"),ikd(A,B)),P&&(B=A.internalEvents.findIndex(function(X){return-1<X.attachments.findIndex(function(ka){return ka.attachmentId===Number(Y)})}),A.eventDisplayMode.get(B)||(A.eventDisplayMode.set(B,"full"),ikd(A,B))),Yjd(A.dynamicScrollIntoView,{elementId:O+Y,parentElement:A.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Pe(A.destroyed$)).subscribe())}},
200)};U(N8,jE);N8.\u0275dir=jE.\u0275dir;
N8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ue(ni),Pe(this.destroyed$),Be()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,jkd(a))});(0,E.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,kkd(a,c,d.commentFilter),lkd(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(ue(ni),Pe(this.destroyed$),Oe(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){mkd(a,b)});this.routerEvents.navigationEnd$.pipe(Pe(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var mkd=function(a,b){for(var c={$jscomp$loop$prop$i$2372:0};c.$jscomp$loop$prop$i$2372<a.internalEvents.length;c={$jscomp$loop$prop$i$2372:c.$jscomp$loop$prop$i$2372},c.$jscomp$loop$prop$i$2372++)if(kAb(a.eventDisplayMode.get(c.$jscomp$loop$prop$i$2372))&&rl(a.internalEvents[c.$jscomp$loop$prop$i$2372])){var d=b.find(function(g){return function(h){return h.id.commentId===a.internalEvents[g.$jscomp$loop$prop$i$2372].commentNumber}}(c));if(d){var e=a.internalEvents[c.$jscomp$loop$prop$i$2372];e.formattedComment=
d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;a.internalEvents[c.$jscomp$loop$prop$i$2372]=Object.assign({},e)}}jkd(a)},kkd=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=nkd(b[c]);a.eventDisplayMode.set(c,d?"full":"hidden");rl(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=okd(b[c]),a.eventDisplayMode.set(c,d?"full":"hidden"),rl(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0));break;case "HUMAN_ONLY":pkd(a,b,function(e){var g;return null!=(g=e.isHumanAuthor&&e.isMajorEvent)?g:!0});break;case "TEAM_AND_ASSIGNEE":pkd(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"),
rl(b[c])&&b[c].commentNumber&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}a.sendAnalytics()},lkd=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)rl(a.internalEvents[b])&&zl(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),ikd(a,b))},pkd=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;rl(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add(null!=(l=b[h].commentNumber)?l:0))}else{if(rl(b[h])&&b[h].commentNumber||sl(b[h]))d++,g=h;e++}}if(0<d||0<e)b=1===Tua(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:qkd(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},qkd=function(a){return waa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},nkd=function(a){return rl(a)&&
!!a.unlinkifiedComment||sl(a)||0<a.preDiffs.length||0<a.postDiffs.length},okd=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(rl(a)&&!!a.unlinkifiedComment||sl(a)||0<a.preDiffs.length||0<a.postDiffs.length)},jkd=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=rkd(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=rkd(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;
kkd(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY");lkd(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},rkd=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};N8.prototype.isLoading=function(){return this.formattedCommentsForIssueFridge.isThinking()||this.eventsForIssue.isThinking(this.internalIssueId)};N8.prototype.trackEventByVersion=function(a,b){return b.version};
var ikd=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(Pc(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++)(rl(a.internalEvents[c])||sl(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}},
kAb=function(a){return"summarized"===a||"full"===a};ch.Object.defineProperties(N8.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(Pc(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Hua(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
N8.\u0275fac=function(a){return new (a||N8)(C(aG),C(BI),C(fF),C(tJ),C(y8),C(CG),C(rd),C(ds),C(nH),C(oH))};
N8.\u0275cmp=Bc({type:N8,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[Ye],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&&(Q(0,gAb,2,0,"aside",0),G(1,"div",1),Q(2,lAb,3,2,"ng-container",2),H(),Q(3,mAb,2,0,"aside",0));a&2&&(F("ngIf",b.isLoading()&&b.showRecentEventsFirst),z(2),F("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),z(1),F("ngIf",b.isLoading()&&!b.showRecentEventsFirst))},dependencies:[sw,tw,M8,Yz,zL],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 O8=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};O8.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};O8.\u0275fac=function(a){return new (a||O8)(C(Nbc),C(CF))};
O8.\u0275cmp=Bc({type:O8,selectors:[["refresh-data-notification"]],decls:6,vars:1,consts:[["role","button","aria-label","Refresh data",1,"refresh-data-notification-container",3,"click"],["svgIcon","refresh",1,"margin-right"],[1,"margin-xs-top","full-width"],["mat-icon-button","","aria-label","Dismiss new data notification",1,"refresh-data-notification-dismiss-button","small",3,"click"],["svgIcon","close",1,"icon-m"]],template:function(a,b){a&1&&(G(0,"div",0),M("click",function(){return Yva(b.snackbarRef)}),
I(1,"mat-icon",1),G(2,"p",2),R(3),H()(),G(4,"button",3),M("click",function(c){return b.onDismiss(c)}),I(5,"mat-icon",4),H());a&2&&(z(3),zf(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[JA,Yz],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 P8=function(a){this.snackbar=a},skd=function(a){var b=ML.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(O8,c);return a.currentSnackBar};P8.\u0275fac=function(a){return new (a||P8)(u(IF))};P8.\u0275prov=mc({token:P8,factory:P8.\u0275fac,providedIn:"root"});var Q8=function(a,b,c,d,e,g,h,l,q,x,A){jE.call(this);var B=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=x;this.appEvents=A;this.id$=new E.ReplaySubject(1);this.events$=this.id$.pipe(Oe(this.eventsForIssue.watch),D(function(K){var O;return null!=(O=null==K?void 0:K.events)?O:[]}));this.issue$=
this.id$.pipe(Oe(function(K){return xH(B.issueFetchResponseFridge,K)}));this.accessLevel$=this.issue$.pipe(D(function(K){var O,P;return null==K?void 0:null==(O=K.issue)?void 0:null==(P=O.accessLimit)?void 0:P.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(D(function(K){return K&&hE(B.activeSession,"enableImageSummary")}),Ne(!0))};U(Q8,jE);Q8.\u0275dir=jE.\u0275dir;
Q8.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=Sm(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(wvc(this.eventsForIssueWatcher,Sm(this.id$)).subscribe(function(){tkd(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(Ce()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var tkd=function(a){a.analytics.trackEvent(Gn.PUSH_UPDATE,"display","comment");skd(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent(Gn.PUSH_UPDATE,"fetchResource","comment"),yH(a.issueFetchResponseFridge,Sm(a.id$)),a.eventsForIssue.poke(Sm(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent(Gn.PUSH_UPDATE,"dismiss","comment")})};ch.Object.defineProperties(Q8.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
Q8.\u0275fac=function(a){return new (a||Q8)(C(fF),C(wH),C(BI),C(ds),C(zP),C(eJ),C(OF),C(P8),C(xQ),C(oH),C(SF))};
Q8.\u0275cmp=Bc({type:Q8,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[Ye],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(I(0,"b-event-stream",0),S(1,"async"),S(2,"async"),S(3,"async"),S(4,"async"),S(5,"async"));a&2&&(F("issueId",T(2,7,b.id$))("events",T(3,9,b.events$))("issueAccessLevel",T(4,11,b.accessLevel$))("showFullHistory",T(5,13,b.preferences.showFullHistory$)),bf("data-will-inline-screenshots",T(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[N8,zw],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var vAb=function(a,b){return{empty:a,"never-focused":b}},R8=function(a,b,c,d,e,g,h,l,q){var x=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 E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Be());this.issue$=this.distinctIssueId$.pipe(Oe(function(A){return x.editIssueService.editableIssue$(A)}));this.wasFocused=
!1;this.commentButtonStyle="fill";this.enableRecaptcha=hE(this.activeSession,"enableRecaptcha");this.recaptchaResponse$=new E.BehaviorSubject("");this.commentSubmitted=new Vv;this.HOTKEYS=ML;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(D(function(A){return A.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(D(function(A){return x.editIssueService.issueCommentDraft(A)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(Oe(function(A){return A.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(Oe(function(A){return A.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(D(function(A){return x.editIssueService.savingState(A)}));
this.isSaving$=this.savingState$.pipe(Oe(function(A){return An(A.propertiesBeingSaved,hn("comment"))}));this.commentLimitReached$=this.events$.pipe(D(function(A){var B=x.activeSession.getCommentNumberLimit();return Tua(A)>=B}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(D(function(A){return A?"The comment limit has been reached and no additional comments are permitted.":x.activeSession.isAnonymous()?"Sign in to use full features.":x.issuePermissionService.hasAclToComment()?"Add a comment.":
"You do not have access to comment on this issue."}));this.commentBoxEnabled$=(0,E.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value;B=B.next().value;return A&&!K&&!B}));this.showRecaptcha$=(0,E.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(D(function(A){var B=k(A);A=B.next().value;B=B.next().value;return A&&!B&&x.enableRecaptcha}));this.commentDraftUpdated$=new E.BehaviorSubject(!0);
this.commentButtonEnabled$=(0,E.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(D(function(A){var B=k(A);A=B.next().value;var K=B.next().value,O=B.next().value;B=B.next().value;return A&&Lhc(K)&&!O&&(!x.enableRecaptcha||""!==B)}));this.empty$=(0,E.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(D(function(A){var B,K;return null!=(K=null==(B=k(A).next().value)?void 0:B.value)?K:""}),D(function(A){return 0===
A.length}))},oAb=function(a){var b;return de(function(c){b=!CI(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent(Gn.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return c.yield((0,E.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
R8.prototype.saveCommentDraft=function(){var a=this,b;return de(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(Ym(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);ie(c)})};
R8.prototype.submitCommentBox=function(){var a=this,b;return de(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();ie(c)})};R8.prototype.showNewContentJudgementDialog=function(){var a=this;return de(function(b){return b.yield(a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
R8.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&hE(this.activeSession,"enableReducePlusOneComments")&&!Sm(this.issueDetailsBrain.voted$)};ch.Object.defineProperties(R8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}}});R8.\u0275fac=function(a){return new (a||R8)(C(gJ),C(BI),C(tJ),C(oH),C(uI),C(ds),C(eJ),C(GR),C(SF))};
R8.\u0275cmp=Bc({type:R8,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&&(Q(0,xAb,2,1,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[VO,x_,XN,rw,tw,nO,LL,BN,DR,zw],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 ukd=[[["","mainSegment",""]],[["","dropdownSegment",""]]],S8=function(){this.mainSegment=!0};S8.\u0275fac=function(a){return new (a||S8)};S8.\u0275dir=Gc({type:S8,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&mf("main-segment",b.mainSegment)}});var T8=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.dialogClosed=new Vv;this.dialogOpened=new Vv};T8.prototype.ngAfterContentInit=function(){};
T8.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};ch.Object.defineProperties(T8.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});T8.\u0275fac=function(a){return new (a||T8)};
T8.\u0275cmp=Bc({type:T8,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&Rf(c,S8,5);if(a&2){var d;Pf(d=Sf())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&Qf(QL,5);if(a&2){var c;Pf(c=Sf())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&mf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[Uc],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&&(tf(ukd),uf(0),G(1,"button",0,1),
M("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(),G(4,"onedev-popup-panel",3,4)(6,"div",5),uf(7,1),H()());if(a&2){var c=yf(5);z(1);F("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);
bf("aria-label",b.dropdownAriaLabel)}},dependencies:[JA,Yz,ZB,PL,QL],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 FAb=function(a){return{voteCount:a}},U8={},vkd=(U8.REJECTION_REASON_UNSPECIFIED="Unspecified",U8.REVERSED="The relationship is reversed",U8.SIMILAR="The issues are similar, but not duplicate",U8.NOT_SIMILAR="The issues are not similar",U8.OTHER="Other",U8),wkd=new Set(["VERY_HIGH","HIGH"]),V8=function(a,b,c,d,e,g,h,l,q,x){jE.call(this);var A=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=x;this.STATUS_FULL_TEXT=WE;this.STATUS_TERSE=SE;this.REJECT_REASON_TO_DISPLAY=vkd;this.currentIssueId$=new E.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe(Oe(function(B){return A.issueFridge.watch(B)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(D(function(B){return"DUPLICATE"===(null==B?void 0:B.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe(Oe(function(B){return A.issueRecommendationsFridge.watch(B+
"-ISSUE_DEDUPLICATION",void 0)}),D(function(B){return null==B?void 0:B.recommendations.filter(function(K){return wkd.has(K.confidence)})}),D(function(B){return null==B?void 0:B[0]}));this.canonicalIssue$=this.recommendation$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.content)?void 0:K.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(D(function(B){return null==B?void 0:B.issueId}));this.canonicalComponentId$=this.canonicalIssue$.pipe(D(function(B){var K;return null!=
(K=null==B?void 0:B.snapshot[0].componentId)?K:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.accessLimit)?void 0:K.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(D(function(B){return!(!B||"INTERNAL"===B)}));this.canonicalTitle$=this.canonicalIssue$.pipe(D(function(B){return null==B?void 0:B.snapshot[0].title}));this.canonicalPriority$=this.canonicalIssue$.pipe(D(function(B){return null==B?void 0:
B.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.aggregatedData)?void 0:K.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(D(function(B){var K;return null==B?void 0:null==(K=B.aggregatedData)?void 0:K.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(D(function(B){var K;return null!=(K=null==B?void 0:B.snapshot[0].duplicateIssueId)?K:[]}));this.statusForChip$=this.canonicalIssue$.pipe(D(function(B){return null==
B?void 0:B.snapshot[0].status}),D(function(B){return gj[B]}));this.canonicalEvents$=this.canonicalIssueId$.pipe(Oe(function(B){return A.eventsForIssueFridge.watch(B)}),D(function(B){var K;return null!=(K=null==B?void 0:B.events)?K:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(D(function(B){return B[0]}),D(function(B){var K;return{formattedComment:null==B?void 0:B.formattedComment,commentNumber:1,unlinkifiedComment:(null==B?void 0:B.unlinkifiedComment)||"",formattingMode:null!=(K=null==
B?void 0:B.formattingMode)?K:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(D(function(B){return B.filter(rl)}));this.wasRejected$=new E.BehaviorSubject(!1);this.show$=(0,E.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(D(function(B){var K=k(B);B=K.next().value;var O=K.next().value;K=K.next().value;return!B&&!!O&&!K}));this.isSaving=!1;this.REJECT_REASONS=["NOT_SIMILAR","SIMILAR","REVERSED","OTHER"]};U(V8,jE);
V8.\u0275dir=jE.\u0275dir;V8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.canonicalIssue$.subscribe(function(b){a.issueFridge.announce(b)}));this.subscriptions.add((0,E.combineLatest)([this.show$.pipe(ue(Boolean)),Noc(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(Ce()).subscribe(function(){a.analytics.trackEvent(Gn.EDIT_ISSUE,"view","canonical-recommendation");xkd(a,"VIEWED")}))};
V8.prototype.accept=function(){var a=this,b,c;return de(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=Sm(a.canonicalIssueId$),ee(d,2,3),d.yield(wic(a.editIssueService,a.currentIssueId,b),5);case 5:return a.analytics.trackEvent(Gn.EDIT_ISSUE,"accept","canonical-recommendation"),d.yield(xkd(a,"ACCEPTED"),3);case 3:fe(d);a.isSaving=!1;ge(d,0);break;case 2:c=he(d),QF(a.errorHandler,c),d.jumpTo(3)}})};
V8.prototype.reject=function(a){var b=this;return de(function(c){b.wasRejected$.next(!0);b.analytics.trackEvent(Gn.EDIT_ISSUE,"reject","canonical-recommendation");return c.yield(xkd(b,"REJECTED",a),0)})};
var xkd=function(a,b,c){var d,e;return de(function(g){if(1==g.nextAddress){ee(g,2);d=Sm(a.recommendation$).name;var h=g.yield,l=E.firstValueFrom;var q=a.recommendationsService;var x=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];x=(new WL).setRequestsList(x.map(GFa));q=q.executor.post({url:"action/recommendations/engagements/batch",body:x,responseConstructor:null});return h.call(g,l.call(E,q),4)}if(2!=g.nextAddress)return ks(g,0);e=he(g);QF(a.errorHandler,e);ie(g)})};
V8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};ch.Object.defineProperties(V8.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return Sm(this.currentIssueId$)}}});V8.\u0275fac=function(a){return new (a||V8)(C(tH),C(fF),C(DG),C(YL),C(OF),C(tJ),C(oH),C(dO),C(rd),C(ZL))};
V8.\u0275cmp=Bc({type:V8,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[Ye],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&&(G(0,"div",0),I(1,"mat-icon",1),G(2,"span"),R(3,"Close as duplicate of:"),H(),G(4,"a",2),
I(5,"mat-icon",3),H()(),Q(6,GAb,37,42,"div",4),S(7,"async"));a&2&&(z(6),F("ngIf",T(7,1,b.canonicalIssueId$)))},dependencies:[YN,sw,tw,JA,iK,TL,dI,Yz,Zz,PB,ZB,T8,S8,zw],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 W8=function(a,b,c,d,e,g,h,l,q,x,A,B){jE.call(this);var K=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=x;this.issuePermissionService=A;this.llmService=B;this.id$=this.brain.id$;this.issueAndEvents$=(0,E.combineLatest)([this.brain.issueJs$.pipe(ue(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=hE(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=
hE(this.activeSession,"enableIDPCanonicalRecommendation");this.enableLamdaDemo=hE(this.activeSession,"enableLamdaDemo");this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(ue(ni),Oe(function(O){return K.editIssueService.issueCommentDraft(O).comment$}));this.finishedRendering$=(0,E.combineLatest)([this.brain.eventsJs$.pipe(Ae(0)),L7a("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Ce());this.userRequestedSummary=!1;this.commentThreadSummary$=this.id$.pipe(ue(ni),Oe(function(O){return K.llmService.summarizeCommentThread(O)}),
Le({bufferSize:1,refCount:!0}))};U(W8,jE);W8.\u0275dir=jE.\u0275dir;
W8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(ue(ni),Pe(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){ykd(a)});L7a("#comment1 .critical-feature",this.element.nativeElement).pipe(Pe(this.destroyed$)).subscribe(function(){var b=function(){Z_c(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Fe()).subscribe(function(b){var c=k(b);
b=c.next().value;c=c.next().value;zkd(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(Re(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var zkd=function(a,b,c){var d=b.issue,e=c.map(function(g){return g.unlinkifiedComment});b=bva(d,c).length;d=cva(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";eH(a.clearcut,"view_idp_"+b);Mm("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(Gn.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};W8.prototype.unloadPageHandler=function(){ykd(this)};
var ykd=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(Gn.EDIT_ISSUE,"scroll","commentThread",e);dH(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
W8.\u0275fac=function(a){return new (a||W8)(C(eJ),C(BI),C(xY),C(oH),C(rd),C(tJ),C(SF),C(T1),C(cH),C(ds),C(gJ),C(dX))};
W8.\u0275cmp=Bc({type:W8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,ud)},features:[Ye],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&&(G(0,"div",0),Q(1,NAb,7,7,"ng-container",
1),S(2,"async"),Q(3,OAb,3,5,"issue-summary-card",2),S(4,"async"),Q(5,RAb,5,5,"div",3),S(6,"async"),H());a&2&&(F("bFocus",!0),z(1),F("ngIf",T(2,4,b.id$)),z(2),F("ngIf",b.enableSummarySection&&T(4,6,b.id$)),z(2),F("ngIf",T(6,8,b.id$)))},dependencies:[tw,JA,Yz,V8,G8,IT,bT,MR,Q8,bS,R8,ET,zL,zw],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var X8=function(){};X8.\u0275fac=function(a){return new (a||X8)};X8.\u0275mod=Dc({type:X8});X8.\u0275inj=nc({imports:[BF,$B,wC,yA,jO]});var Y8=function(){};Y8.\u0275fac=function(a){return new (a||Y8)};Y8.\u0275mod=Dc({type:Y8});Y8.\u0275inj=nc({imports:[BF]});var Z8=function(){};Z8.\u0275fac=function(a){return new (a||Z8)};Z8.\u0275mod=Dc({type:Z8});Z8.\u0275inj=nc({imports:[BF,JM,BO,IM,zO,hZ,kO]});var $8=function(){};$8.\u0275fac=function(a){return new (a||$8)};$8.\u0275mod=Dc({type:$8});$8.\u0275inj=nc({imports:[BF,kO]});var a9=function(){};a9.\u0275fac=function(a){return new (a||a9)};a9.\u0275mod=Dc({type:a9});a9.\u0275inj=nc({imports:[LR,QS,kO,BF,IM,JM,Z8,ZN,PS,$M,zO,XC,$8,wC,$B,Y8]});var b9=function(){};b9.\u0275fac=function(a){return new (a||b9)};b9.\u0275mod=Dc({type:b9});b9.\u0275inj=nc({imports:[BF,a9,Z8,wC,$B,eN]});var c9=function(){};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275mod=Dc({type:c9});c9.\u0275inj=nc({imports:[BF,$B,wC,HF]});var d9=function(){};d9.\u0275fac=function(a){return new (a||d9)};d9.\u0275mod=Dc({type:d9});d9.\u0275inj=nc({imports:[kO,BF,b9,RS,UM,hT,wC,$B,XC,eN,eT,c9,zO,HF]});var e9=function(){};e9.\u0275fac=function(a){return new (a||e9)};e9.\u0275mod=Dc({type:e9});e9.\u0275inj=nc({imports:[gS,P_,kO,BF,sO,ox,NL,wC,fO,$B,Q_]});var f9=function(){};f9.\u0275fac=function(a){return new (a||f9)};f9.\u0275mod=Dc({type:f9});f9.\u0275inj=nc({imports:[BF,wC,$B,XC,RL]});var g9=function(){};g9.\u0275fac=function(a){return new (a||g9)};g9.\u0275mod=Dc({type:g9});g9.\u0275inj=nc({imports:[kO,BF,IM,UM,TM,wC,$B,SB,XC,f9]});var h9=function(){};h9.\u0275fac=function(a){return new (a||h9)};h9.\u0275mod=Dc({type:h9});h9.\u0275inj=nc({imports:[BF,uy,hy,ox,wC,xM,px,BG,$B,g9,X8,JT,mT,RS,d9,tT,qT,e9,eO,FT,zO,eN]});var Akd=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(Oe(this.issueFridge.watch),ue(ni));this.commentNumberToEventMap$=this.issue$.pipe(D(function(g){return g.issueId}),Oe(function(g){return e.eventsForIssueFridge.watch(g)}),D(function(g){var h;return null!=(h=null==g?void 0:g.events)?h:[]}),D(function(g){return new Map(g.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,E.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(D(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(x){return Object.assign({},x,{comment:l.get(x.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(D(function(g){return g.filter(xva)}));this.imageLinks$=this.relatedLinks$.pipe(D(function(g){return g.filter(tva)}));this.otherLinks$=this.relatedLinks$.pipe(D(function(g){return g.filter(yva)}))};
Akd.\u0275fac=function(a){return new (a||Akd)(C(ds),C(tH),C(eJ),C(fF))};
Akd.\u0275cmp=Bc({type:Akd,selectors:[["b-issue-resources"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","paginate"],[1,"margin-bottom"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","paginate"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","paginate"]],template:function(a,b){a&1&&(G(0,"section",0),Q(1,ZAb,7,9,"ng-container",1),S(2,"async"),H());a&2&&(z(1),F("ngIf",T(2,1,b.issue$)))},dependencies:[tw,
JA,SR,PR,UR,zw],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var i9=function(){};i9.\u0275fac=function(a){return new (a||i9)};i9.\u0275mod=Dc({type:i9});i9.\u0275inj=nc({imports:[BF,qT,oT,rT,$B]});var j9=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=Ukc;this.id$=this.brain.id$.pipe(ue(ni));this.codeMentionsState$=this.id$.pipe(Oe(function(d){return djd(c.codeMentions,d)}))};j9.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};j9.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};j9.\u0275fac=function(a){return new (a||j9)(C(eJ),C(N7))};
j9.\u0275cmp=Bc({type:j9,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&&(G(0,"section",0),Q(1,eBb,3,3,"ng-container",1),S(2,"async"),H());a&2&&(z(1),F("ngIf",T(2,1,b.id$)))},dependencies:[sw,tw,Jgd,zw],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 k9=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()};k9.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
k9.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)})};k9.\u0275fac=function(a){return new (a||k9)(C(kH,2),C(ZU),C(WG),C(DG),C(OF))};
k9.\u0275cmp=Bc({type:k9,selectors:[["list-hotlists-page"]],features:[Cf([kH])],decls:8,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large",4,"ngIf"],[3,"hotlists",4,"ngIf"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(G(0,"h2",0),R(1,"Browse Hotlists"),H(),G(2,"div",1)(3,"a",2),R(4," Create Hotlist "),H()(),G(5,"div",3),Q(6,fBb,1,1,"b-spinner",4),Q(7,gBb,1,1,"b-hotlist-grid",5),H());
a&2&&(z(3),F("href",b.createHotlistPath,Id),z(3),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[tw,N0,zL,Zz],encapsulation:2});var Bkd=new Set(["issueId","modifiedTime","createdTime"]),l9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb){jE.call(this);var qb=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=x;this.analytics=A;this.appSearchState=B;this.issuePagination=K;this.userPreferencesManager=O;this.urlPreferences=P;this.gridPreferencesFetcher=Y;this.paths=X;this.timeout=ka;this.errorHandler=
ma;this.statusMessages=ya;this.domSafe=Aa;this.appEvents=Ma;this.hotlistFridge=Ra;this.issueFridge=Ta;this.batchIssueRelationshipsService=Lb;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 Ya;null==(Ya=qb.resultsGrid)||oYc(Ya)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||pYc(Ya)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||nYc(Ya)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||sYc(Ya)}},{keys:[sn("i")],
displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||tYc(Ya,!0)}},{keys:[sn("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||tYc(Ya,!1)}},{keys:[tn("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var Ya;null==(Ya=qb.resultsGrid)||Ya.selectAll()}},{keys:[tn("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var Ya;
null==(Ya=qb.resultsGrid)||lYc(Ya)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var Ya;null==(Ya=qb.gridControls)||I_(Ya,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var Ya;null==(Ya=qb.gridControls)||I_(Ya,ul.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Ya;if(null!=(Ya=qb.gridControls)&&Ya.hasSelectedIssues()){var wa;null==(wa=Ya.hotlistPicker)||wa.open()}}},{keys:["r"],displayAs:"r",
description:"Add comment",onPress:function(){var Ya;null==(Ya=qb.gridControls)||kXc(Ya)}},{keys:["u",sn("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return qb.refreshResults()}},{keys:[tn("p","0"),tn("p","1"),tn("p","2"),tn("p","3"),tn("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(Ya){qb.resultsGrid&&qb.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+Ya}],issueIds:qb.resultsGrid.getSelectedIssues().map(function(wa){return wa.issueId})}])}},
{keys:["o","ENTER",iFa("ENTER")],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Ya){var wa=c.document.activeElement;if(1===Ya&&"A"===wa.tagName)if(wa.href)Ya=qb.paths.getBaseUrl(),Rh(wa.href,Ya)?qb.bLocation.url(wa.href.slice(Ya.length)):qb.domSafe.openInNewTab(wa.href);else{var Ka;null==(Ka=qb.resultsGrid)||qYc(Ka)}else if(2===Ya){var Na;null==(Na=qb.resultsGrid)||qYc(Na,{openInNewTab:!0})}else{var eb;null==(eb=qb.resultsGrid)||qYc(eb)}}}]};U(l9,jE);
l9.prototype.ngOnInit=function(){var a=this;Ckd(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(Pe(this.destroyed$)).subscribe(function(){Ckd(a)})};
var Dkd=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(wk)};
l9.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];Kh(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 Ckd=function(a){return Ekd(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?Fkd(a,a.searchResults.startIndex,a.searchResults.endIndex):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},Gkd=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},Hkd=function(a){var b,c;return null!=(c=null==(b=a.window.document.activeElement)?void 0:b.classList.contains("search-box"))?c:!1},Ekd=function(a){var b=
Ll();Gkd(a)&&Hkd(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},Fkd=function(a,b,c){var d=Ll();Gkd(a)||Ikd(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},Jkd=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=fn("Number of search results exceeds "+c+" ; some matching issues may be omitted.",en("BR"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "),
c={},c=en("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=fn(en("BR"),"See ",c," for more details."),b=a.activeSession.isInternalSession()?fn(b,c):b,Vbc(a.butterBar,b))};f=l9.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=wk(a);if(d){var e=new zk(d,"ASC"===b?"ASCENDING":"DESCENDING");sa(this.sortPreferences,function(g){return Kh(g.fieldId,e.fieldId)});!c||Bkd.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):Oh(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};Kh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.saveSortColumns=function(a){Q0(this.urlPreferences,{sortColumns:a,page:1})};
f.initColumns=function(a,b){var c=this;b=void 0===b?Kkd:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(Pc(b),Pc(H7a(d)));c.cdr.detectChanges()})};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return wk(b.name)});Q0(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?En(this.domSafe,a):this.bLocation.url(a))};f.goToPage=function(a){this.bLocation.search("p",a)};var Vr=function(a,b,c){void 0!==b&&a.goToPage(b+c)};f=l9.prototype;f.refreshResults=function(){uX(this.issuePagination);return Ckd(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)||YQc(g,e,d)}this.cdr.detectChanges();LF(this.butterBar,"Saving changes...",0);return vH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){for(var q=k(a[0].issueIds),x=q.next();!x.done;x=q.next()){x=x.value;var A=void 0,
B=void 0;null==(A=c.searchResults)||YQc(A,x,void 0,null!=(B=l)?B:null)}LF(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=k(a[0].issueIds),x=q.next();!x.done;x=q.next()){x=x.value;var A=void 0;null==(A=c.searchResults)||YQc(A,x)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=Iza(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};LF(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()),x=q.next();!x.done;x=q.next()){var A=k(x.value);x=A.next().value;A=A.next().value;l.finishedIssues[A.issueId]&&(x=c.searchResults.issues[x],F_a(x,l.finishedIssues[A.issueId],null),c.loadHotlists(x),Object.assign(c.customFieldMap,
x.customFieldMap))}}A=a[0];q=l.notFinishedIssueIds;x=String(A.actions[0].value);A=A.actions[0].actionType;if("ADD"!==A&&"REMOVE"!==A)throw Error("oe");q.length?(l="Failed to update issue(s) "+q.join(", ")+".",MF(c.butterBar,l),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):LF(c.butterBar,("ADD"===A?"Added child issue(s) to parent ["+x+"]":"Removed child issue(s) from parent ["+x+"]")+" 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()),x=q.next();!x.done;x=q.next()){var A=k(x.value);x=A.next().value;A=A.next().value;l.affectedIssues[A.issueId]&&(A=l.affectedIssues[A.issueId],x=c.searchResults.issues[x],F_a(x,A,l.componentMap[oa(A.snapshot).componentId]),c.loadHotlists(x),Object.assign(c.customFieldMap,x.customFieldMap))}}l.errors&&l.errors.length?(q="Failed to update issue(s) "+
(mqa(l.errors,"issueId").join(", ")+"."),MF(c.butterBar,q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=yhc(c.statusMessages,h,c.customFieldMap))?LF(c.butterBar,l):LF(c.butterBar,"Saved "+Jza(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
f.loadHotlists=function(a){var b=this;var c=a?[a]:this.searchResults?this.searchResults.issues:[];a=new Set;for(var d=k(c),e=d.next();!e.done;e=d.next())if(e=e.value,e.hotlistId){e=k(e.hotlistId);for(var g=e.next();!g.done;g=e.next())g=g.value,this.hotlistMap[g]||a.add(g)}0!==a.size&&this.hotlistApi.bulkLoad([].concat(Pc(a))).then(function(){for(var h={},l=k(c),q=l.next();!q.done;h={$jscomp$loop$prop$loadedHotlists$2374:h.$jscomp$loop$prop$loadedHotlists$2374},q=l.next()){q=q.value;if(!q.hotlistId)return;
h.$jscomp$loop$prop$loadedHotlists$2374=[];q.hotlists=h.$jscomp$loop$prop$loadedHotlists$2374;q=k(q.hotlistId);for(var x=q.next();!x.done;x=q.next())x=x.value,b.hotlistMap[x]?h.$jscomp$loop$prop$loadedHotlists$2374.push(b.hotlistMap[x]):b.hotlistApi.get(x).then(function(A){return function(B){b.hotlistFridge.announce(B);b.addHotlist(B);A.$jscomp$loop$prop$loadedHotlists$2374.push(B)}}(h))}b.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");LF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);LF(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;LF(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");Rjc(this.domSafe,this.getCsvUrl())};
var Lkd=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(Pe(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;Q0(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){uh(c)})},Ikd=function(a,b,c){var d=a.issuePagination.focusedIssueIndex_;a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{gRc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},oBb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
ch.Object.defineProperties(l9.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Kh(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",Zya(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 Kkd=[r0,s0,t0];
l9.\u0275fac=function(a){return new (a||l9)(C(kH),C(nH),C(Window),C(CG),C(NF),C(yE),C(WG),C(OG),C(ds),C(KF),C(oH),C($X),C(tX),C(BI),C(P0),C(R0),C(DG),C(tF),C(OF),C(LI),C(ZJ),C(SF),C($G),C(tH),C(P1))};l9.\u0275dir=Gc({type:l9,features:[Ye]});var kBb=function(){return{q:"status:open"}},m9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,Ya,wa,Ka,Na){l9.call(this,a,b,c,d,g,h,l,q,e,x,A,B,K,O,P,Y,X,ka,Ra,ma,ya,Lb,Ya,wa,Na);this.hotkeys=Aa;this.pageTitle=Ma;this.routePerformance=Ta;this.element=qb;this.currentTracker=Ka;this.ANALYTICS_CATEGORY=Gn.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=Xkc};U(m9,l9);m9.\u0275dir=l9.\u0275dir;f=m9.prototype;
f.ngOnInit=function(){var a=this;l9.prototype.ngOnInit.call(this);this.subscriptions.add(KL(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]),MF(this.butterBar,b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",aY(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,Q0(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);aY(this.appSearchState,
this.query);b=kSc(this.appSearchState);if(0<b)return Jdc(this.bLocation,this.paths.viewHotlist(b)),Q0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=lSc(this.appSearchState);if(0<b)return Jdc(this.bLocation,this.paths.viewSavedSearch(b)),Q0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,E.concat)((0,E.timer)(0).pipe(Tia()),L7a("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){Z_c(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:Dkd(this)}),c=b.searchPreferences.then(function(g){g=Lh(g);g.query=a.computeQuery(g);g.returnUrl=a.bLocation.url();g.trackerIds=a.appSearchState.currentTrackerScope;return cRc(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){Jkd(a,g)}).catch(function(g){"number"===typeof g?Q0(a.urlPreferences,{page:g}):a.errorHandler.errorHandler(null,g)});b=b.displayColumns;this.initColumns(b);return yn({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 wk(b.name)});ahc(this.userPreferencesManager,I7a(a)).pipe(Pe(this.destroyed$)).subscribe()};
f.setPageTitle=function(){this.appSearchState.currentQuery===iSc(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===jSc(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(Pe(this.destroyed$)).subscribe(function(){Q0(b.urlPreferences,{page:1,sortColumns:null});b.refreshResults().finally(function(){b.isLoading=!1;b.cdr.detectChanges();oBb()})})};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
m9.\u0275fac=function(a){return new (a||m9)(C(kH),C(nH),C(iE),C(CG),C(ds),C(NF),C(yE),C(WG),C(OG),C(KF),C(oH),C($X),C(tX),C(BI),C(P0),C(R0),C(DG),C(tF),C(LI),C(ZJ),C(JL),C(ZU),C(OF),C(T1),C(SF),C(rd),C($G),C(tH),C(sK),C(P1))};
m9.\u0275cmp=Bc({type:m9,selectors:[["list-issues-page"]],features:[Cf([kH]),Ye],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex","-1",3,"bFocus",4,"ngIf"],["class",
"bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["noQuery",""],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["noTracker",""],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[1,"bv2-grid-container"],[3,"searchResults",
"focusedRowIndex","columns","enableColumnSaving","sort","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(G(0,"h2",0),R(1,"Issue search results"),H(),G(2,"div",1)(3,"b-grid-controls",2),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",
function(){return b.exportCsv()}),H(),G(4,"div",3)(5,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return Lkd(b,c.option)}),H()()(),G(6,"div",5),Q(7,hBb,4,1,"div",6),Q(8,nBb,9,8,"div",7),Q(9,pBb,2,5,"div",8),H());a&2&&(z(3),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),F("searchResults",b.searchResults),z(1),bf("aria-busy",b.isLoading),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&!b.hasResults()),z(1),F("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[w0,d1,p0,tw,zL,IT,xG,zw],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var n9=function(){};n9.\u0275fac=function(a){return new (a||n9)};n9.\u0275mod=Dc({type:n9});n9.\u0275inj=nc({imports:[M0,f1,a1,yX,BF,eN,JT,BG]});var o9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,Ya,wa,Ka,Na,eb){m9.call(this,a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,wa,Ka,Na,eb);this.issueLru=Ya;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};U(o9,m9);o9.\u0275dir=m9.\u0275dir;o9.prototype.ngOnInit=function(){m9.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};
o9.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()})};o9.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("|")};
o9.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=tBb(this.recentIds,a.issues));return a};o9.\u0275fac=function(a){return new (a||o9)(C(kH),C(nH),C(iE),C(CG),C(ds),C(NF),C(yE),C(WG),C(OG),C(KF),C(oH),C($X),C(tX),C(BI),C(P0),C(R0),C(DG),C(tF),C(LI),C(ZJ),C(JL),C(ZU),C(OF),C(T1),C(SF),C(rd),C(SU),C($G),C(tH),C(sK),C(P1))};
o9.\u0275cmp=Bc({type:o9,selectors:[["list-issues-recent"]],features:[Cf([kH]),Ye],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&&(G(0,"h2",0),R(1,"Recent Issues"),H(),G(2,"div",1)(3,"b-grid-controls",2),M("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",
function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),H(),G(4,"div",3)(5,"b-pagination",4),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return Lkd(b,d.option)}),H()()(),G(6,"div",5),Q(7,qBb,3,0,"div",6),Q(8,rBb,2,0,"div",7),Q(9,sBb,2,5,"div",8),H());if(a&2){var c;z(3);F("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);z(2);F("searchResults",
b.searchResults);z(1);bf("aria-busy",b.isLoading);z(1);F("ngIf",b.isLoading);z(1);F("ngIf",!b.isLoading&&!b.hasResults());z(1);F("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[zL,w0,d1,p0,tw],encapsulation:2});var p9=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};p9.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),Mkd(this))};
var Mkd=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)})};p9.\u0275fac=function(a){return new (a||p9)(C(kH,2),C(ZU),C(DG),C(rS),C(OF),C(ds))};
p9.\u0275cmp=Bc({type:p9,selectors:[["list-slos-page"]],features:[Cf([kH])],decls:8,vars:5,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"gmat-button","no-visited-no-active",3,"href"],[1,"bv2-view"],["class","padded-sides",4,"ngIf"],[3,"large",4,"ngIf"],[4,"ngIf"],[1,"padded-sides"],[1,"muted"],[3,"large"],["class","slos-note",4,"ngIf"],[3,"slos",4,"ngIf"],[1,"slos-note"],[3,"slos"],[1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",
3,"svgIcon"],["class","conditional-slo-grid",4,"ngIf"],[1,"conditional-slo-grid"],["class","muted padded",4,"ngIf"],[1,"muted","padded"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"a",1),R(2," Create SLO "),H()(),G(3,"div",2),Q(4,uBb,5,0,"div",3),Q(5,vBb,1,1,"b-spinner",4),Q(6,yBb,3,2,"ng-container",5),Q(7,CBb,6,5,"ng-container",5),H());a&2&&(z(1),F("href",b.createSloPath,Id),z(3),F("ngIf",b.sloEnabled),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading),z(1),F("ngIf",!b.isLoading))},dependencies:[tw,
JA,Zz,K1,zL],encapsulation:2});var Nkd=function(a){r.call(this,a)};U(Nkd,r);f=Nkd.prototype;f.getAuthor=function(){return Z(this,ei,1)};f.setAuthor=function(a){Wi(this,ei,1,a)};f.getTimestamp=function(){return Z(this,yh,2)};f.setTimestamp=function(a){return Wi(this,yh,2,a)};f.hasTimestamp=function(){return Aj(this,yh,2)};f.getAdd=function(){return Z(this,Qj,3)};f.getRemove=function(){return Z(this,Qj,4)};f.getAddMask=function(){return Z(this,RC,5)};f.getRemoveMask=function(){return Z(this,RC,6)};f.toObject=function(){return Okd(this)};
var Okd=function(a){if(null!=a)return t(a),{author:jD(a.getAuthor()),timestamp:wt(a.getTimestamp()),add:cE(a.getAdd()),remove:cE(a.getRemove()),addMask:SC(a.getAddMask()),removeMask:SC(a.getRemoveMask())}};var q9=function(a){r.call(this,a,0,q9.messageId)};U(q9,r);q9.prototype.getUpdatesList=function(){return Ch(this,Nkd,1)};q9.repeatedFields_=[1];q9.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Gb(this.getUpdatesList(),Okd)}}else a=void 0;return a};q9.messageId="b.ComponentHistory";var r9=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};r9.prototype.get=function(a){var b=this.componentHistoriesCache.get(String(a));return b?b:this.componentHistoriesCache.put(String(a),this.executor.get({url:"action/component_updates/"+a,responseConstructor:q9}).then(Tsa))};r9.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
r9.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};r9.\u0275fac=function(a){return new (a||r9)(u(MG),u($C))};r9.\u0275prov=mc({token:r9,factory:r9.\u0275fac,providedIn:"root"});var s9=function(){};s9.prototype.ngOnInit=function(){};s9.\u0275fac=function(a){return new (a||s9)};
s9.\u0275cmp=Bc({type:s9,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&&(Q(0,DBb,4,1,"ng-container",0),Q(1,EBb,4,1,"ng-container",0));a&2&&(F("ngIf",b.teamPath),z(1),F("ngIf",b.componentPath))},dependencies:[tw,qZ,k1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var t9=function(a){this.documentationLinks=a;this.helpLink="http://goto.google.com/buganizer-ml"};t9.prototype.ngOnInit=function(){};t9.\u0275fac=function(a){return new (a||t9)(C(vI))};
t9.\u0275cmp=Bc({type:t9,selectors:[["recommendation-settings"]],inputs:{componentId:"componentId"},decls:13,vars:2,consts:[[1,"flex-kids-y","gap-s"],["id","ml-features-subtitle",1,"muted"],["target","_blank","aria-describedby","ml-features-subtitle",1,"keep-focus-ring",3,"href"],[1,"link-button","keep-focus-ring",3,"click"],[3,"checked","change"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"h4"),R(2,"ML Features"),H(),G(3,"span",1),R(4," Buganizer collects data in this component to improve ML features. "),
G(5,"a",2),R(6,"Learn more"),H(),R(7," or "),G(8,"button",3),M("click",function(){}),R(9,"opt out"),H(),R(10,". "),H(),G(11,"mat-slide-toggle",4),M("change",function(){}),R(12," Show ML-suggested duplicates for issues "),H()());a&2&&(z(5),F("href",b.helpLink,Id),z(6),F("checked",!0))},dependencies:[DS],styles:["h4[_ngcontent-%COMP%]{margin:0}\n/*# sourceMappingURL=recommendation_settings.css.map */"]});var JBb=function(a){r.call(this,a)};U(JBb,r);JBb.prototype.toObject=function(){return Pkd(this)};var Pkd=function(a){if(null!=a)return t(a),{groupEmail:p(m(a,1)),approximateSize:p(m(a,2)),sizeCategory:p(ir(a,3)),permissionCategory:p(ir(a,5))}};var u9=function(a){r.call(this,a,0,u9.messageId)};U(u9,r);u9.repeatedFields_=[1];u9.prototype.toObject=function(){if(null!=this){t(this);var a={groupMetadataList:Gb(Ch(this,JBb,1),Pkd)}}else a=void 0;return a};u9.messageId="b.BatchGroupMetadataResult";var v9=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=FBb(e);return fIb(d,function(h){return g[h]||null})})})};v9.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"}})};v9.\u0275fac=function(a){return new (a||v9)(u(w9),u(uF))};
v9.\u0275prov=mc({token:v9,factory:v9.\u0275fac,providedIn:"root"});var w9=function(a){this.executor=a};w9.prototype.bulkGet=function(a){a=[].concat(Pc(new Set(a)));a=Pl(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:u9}).then(KBb)};w9.\u0275fac=function(a){return new (a||w9)(u($C))};w9.\u0275prov=mc({token:w9,factory:w9.\u0275fac,providedIn:"root"});var LBb=[{field:"admins",accessor:function(a){return a.admins}},{field:"editors",accessor:function(a){return a.editors}},{field:"appenders",accessor:function(a){return a.appenders}},{field:"readers",accessor:function(a){return a.readers}},{field:"restrictedReaders",accessor:function(a){return a.restrictedReaders}},{field:"restrictedPlusReaders",accessor:function(a){return a.restrictedPlusReaders}}];var x9=function(a,b,c,d,e){var 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 vp(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:cn("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:cn('"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();
VBb(l,g.componentFlattenedAccessPolicy,g.componentAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Component Administrators Changed",content:cn("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){UBb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:cn("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=ol([].concat(Pc(Sh(g.componentAccessPolicyUnderEdit.admins,g.componentFlattenedAccessPolicy.admins)),Pc(Sh(g.issueDefaultAccessPolicyUnderEdit.admins,g.issueDefaultFlattenedAccessPolicy.admins)),Pc(Sh(g.issueDefaultAccessPolicyUnderEdit.editors,g.issueDefaultFlattenedAccessPolicy.editors)),
Pc(Sh(g.issueDefaultAccessPolicyUnderEdit.appenders,g.issueDefaultFlattenedAccessPolicy.appenders)),Pc(Sh(g.issueDefaultAccessPolicyUnderEdit.readers,g.issueDefaultFlattenedAccessPolicy.readers)),Pc(Sh(g.issueDefaultAccessPolicyUnderEdit.restrictedReaders,g.issueDefaultFlattenedAccessPolicy.restrictedReaders)),Pc(Sh(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=PBb(h);h=TBb(h);if(0===l.size&&0===h.size)return Promise.resolve(!0);var q=QBb(l.size,h.size);l=RBb(l);h=SBb(h);var x=fn(l,l===Wr?Wr:en("BR"),h);l={};x=fn(x,en("P",{},fn("Please review the ",en("A",(l.href=Ngc(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(A){g.confirmationDialogService.open({title:q,content:x,onConfirm:function(){A(!0)},onDismiss:function(){A(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(h){if(g.isPublic()&&OBb(g.issueDefaultAccessPolicyUnderEdit,g.issueDefaultFlattenedAccessPolicy)){var l={};l=fn(en("P",{},"You are about to give a broad category of users permissions on a public component."),en("P",{},fn("Please review the ",
en("A",(l.href=Ngc(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=en("A",(h.href=Fn(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:fn("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:fn("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(Pc(MBb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)),Pc(MBb(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 x=q.next();!x.done;x=q.next())x=g.accessPolicyConverter.stringToAccessPolicyPrincipal(x.value),(vqa(x)?NAa(x.user.emailAddress):
void 0!==x.group&&NAa(x.group.emailAddress))&&l.add(x)}return[].concat(Pc(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=en("A",(q.href=Mgc(g.documentationLinks),q)," automation account documentation");g.confirmationDialogService.open({title:"Adding automation accounts",content:fn(cn("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"),
en("wbr"),q,cn("."),en.apply(Ao,["OL",{}].concat(Pc(h.map(function(x){if(vqa(x)){var A;return en("LI",{},cn(null!=(A=x.user.emailAddress)?A:""))}if(void 0!==x.group){var B;return en("LI",{},cn(null!=(B=x.group.emailAddress)?B:""))}throw Error("Pe`"+JSON.stringify(x));})))),en("BR",{}),cn("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,x;return de(function(A){switch(A.nextAddress){case 1:l=
k(h),q=l.next();case 2:if(q.done){A.jumpTo(4);break}x=q.value;return A.yield(x(),5);case 5:if(!A.yieldResult)return A.return(!1);q=l.next();A.jumpTo(2);break;case 4:return A.return(!0)}})};this.enableRostersChecks=hE(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=hE(this.activeSession,"enableComponentAutomationCheck")},Qkd=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,x,A;return de(function(B){if(1==B.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=g,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,x=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],B.yield(a.runValidation(x),2);A=B.yieldResult;return B.return(A)})};x9.\u0275fac=function(a){return new (a||x9)(u(zQ),u(ds),u(wI),u(vI),u(v9))};x9.\u0275prov=mc({token:x9,factory:x9.\u0275fac});var y9=function(a){jE.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};U(y9,jE);y9.\u0275dir=jE.\u0275dir;
y9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(Pc(this.componentReaders))),d=new Set([].concat(Pc(a.admins),Pc(a.inheritedAdmins)));a=new Set([].concat(Pc(d),Pc(a.appenders)));var e=new Set([].concat(Pc(b.admins))),g=new Set([].concat(Pc(e),Pc(b.editors))),h=new Set([].concat(Pc(g),Pc(b.appenders))),l=new Set([].concat(Pc(b.restrictedPlusReaders))),q=new Set([].concat(Pc(l),Pc(b.restrictedReaders)));b=new Set([].concat(Pc(q),Pc(h),
Pc(b.readers)));this.templates=[{permission:"Admin Components",principals:[].concat(Pc(d)).map(Xr)},{permission:"Create Issues",principals:[].concat(Pc(a)).map(Xr)},{permission:"Admin Issues",principals:[].concat(Pc(e)).map(Xr)},{permission:"Edit Issues",principals:[].concat(Pc(g)).map(Xr)},{permission:"Comment Issues",principals:[].concat(Pc(h)).map(Xr)},{permission:"View Issues",principals:[].concat(Pc(b)).map(Xr)},{permission:"View Components",principals:[].concat(Pc(c)).map(Xr)},{permission:"View Restricted",
principals:[].concat(Pc(q)).map(Xr)},{permission:"View Restricted+",principals:[].concat(Pc(l)).map(Xr)}];Rkd(this,this.templates)};
var Rkd=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d={};c=k(c.value.principals);for(var e=c.next();!e.done;d={$jscomp$loop$prop$principal$2376:d.$jscomp$loop$prop$principal$2376},e=c.next())d.$jscomp$loop$prop$principal$2376=e.value,"ALIAS"===d.$jscomp$loop$prop$principal$2376.principalType?d.$jscomp$loop$prop$principal$2376.detailedUserType="NO_DETAILED_TYPE":SI(a.principalTypes,d.$jscomp$loop$prop$principal$2376.value,!0).then(function(g){return function(h){g.$jscomp$loop$prop$principal$2376.detailedUserType=
h.detailedUserType}}(d))}};y9.\u0275fac=function(a){return new (a||y9)(C(RI))};
y9.\u0275cmp=Bc({type:y9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[Ye,Uc],decls:7,vars:1,consts:[[1,"permissions-column-headers"],["scope","col"],[4,"ngFor","ngForOf"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText",4,"ngFor","ngForOf"],[3,"value","detailedUserType","principalType",
"accessLevel","displayText"]],template:function(a,b){a&1&&(G(0,"table")(1,"tr",0)(2,"th",1),R(3,"Permission"),H(),G(4,"th",1),R(5,"Users With Permission"),H()(),Q(6,XBb,6,2,"ng-container",2),H());a&2&&(z(6),F("ngForOf",b.templates))},dependencies:[sw,J0],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 Skd=Object.values({ISSUE_ADMIN:"issueAdmin",ISSUE_EDITOR:"issueEditor",ISSUE_APPENDER:"issueAppender",ISSUE_READER:"issueReader",ISSUE_RESTRICTED_READER:"issueRestrictedReader",ISSUE_RESTRICTED_PLUS_READER:"issueRestrictedPlusReader",COMPONENT_ADMIN:"componentAdmin",COMPONENT_APPENDER:"componentAppender",COMPONENT_READER:"componentReader"}),z9={},Tkd=(z9.issueAdmin=new Set(["issueEditor"]),z9.issueEditor=new Set(["issueAppender"]),z9.issueAppender=new Set(["issueReader"]),z9.issueRestrictedReader=
new Set(["issueReader"]),z9.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),z9.issueReader=new Set(["componentReader"]),z9.componentAdmin=new Set(["componentAppender"]),z9.componentAppender=new Set(["componentReader"]),z9.componentReader=new Set,z9),gCb=an(Skd,function(a){return Tkd[a]}),Yr=Object.values({COMPONENT_ADMIN:"componentAdmin",ISSUE_ADMIN:"issueAdmin",ISSUE_EDITOR:"issueEditor",ISSUE_CONTRIBUTOR:"issueContributor",COMPONENT_ADMIN_ONLY:"componentAdminOnly",ISSUE_CREATOR:"issueCreator",
ISSUE_ADMIN_ONLY:"issueAdminOnly",ISSUE_EDITOR_EXISTING:"issueEditorExisting",ISSUE_COMMENTER:"issueCommenter",RESTRICTED_PLUS_VIEWER:"restrictedPlusViewer",RESTRICTED_VIEWER:"restrictedViewer",ISSUE_VIEWER:"issueViewer"}),A9={},Ukd=(A9.componentAdmin=new Set(["componentAdmin","issueAdmin"]),A9.issueAdmin=new Set(["issueAdmin","componentAppender"]),A9.issueEditor=new Set(["issueEditor","componentAppender"]),A9.issueContributor=new Set(["issueAppender","componentAppender"]),A9.componentAdminOnly=new Set(["componentAdmin"]),
A9.issueCreator=new Set(["componentAppender"]),A9.issueAdminOnly=new Set(["issueAdmin"]),A9.issueEditorExisting=new Set(["issueEditor"]),A9.issueCommenter=new Set(["issueAppender"]),A9.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),A9.restrictedViewer=new Set(["issueRestrictedReader"]),A9.issueViewer=new Set(["issueReader"]),A9),eCb=an(Yr,function(a){return Ukd[a]}),Vkd=hCb(),dCb=an(Yr,function(a){a=[].concat(Pc(eCb.get(a))).flatMap(function(b){return[].concat(Pc(Vkd.get(b)))});return new Set(a)}),
fCb=an(Yr,function(a){return new Set(Yr.filter(function(b){return b!==a&&aqa(dCb.get(b),dCb.get(a))}))});var kCb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},Wkd={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var B9=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=kCb;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(x){q.componentAccessPolicyUnderEdit&&(q.componentAccessPolicyUnderEdit=Object.assign({},q.componentAccessPolicyUnderEdit,{implicitAccess:x?"ALLOW":"DENY"}))},isUpdated:function(){var x;return q.componentAccessPolicyUnderEdit.implicitAccess!==(null==(x=q.componentFlattenedAccessPolicy)?void 0:x.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=
this.componentFlattenedAccessPolicy=Wkd;this.componentAccessPolicyUnderEdit=AQ();this.issueDefaultAccessPolicyUnderEdit=AQ();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(x){a:{var A=q.issueDefaultFlattenedAccessPolicy;if(x&&A){A=A.restrictedPlusReaders;x=k(x);for(var B=x.next();!B.done;B=x.next())if(B=B.value,0===B.indexOf("GROUP:")&&-1===A.indexOf(B)){A=!1;break a}}A=!0}return A}}};
B9.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var Xkd=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;LF(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Nl(b)&&(c+=Ol(b));MF(a.butterBar,c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};B9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Lh(a);this.originalComponent=Lh(a)};
B9.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)})};B9.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)})};
B9.prototype.initialize=function(a){var b=this;a=void 0===a?this.componentId:a;if(!a&&!this.componentId)return MF(this.butterBar,"No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=BQ(c);b.componentAccessPolicyUnderEdit=Lh(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
BQ(c);b.issueDefaultAccessPolicyUnderEdit=Lh(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var Ykd=function(a){a.rolesMap=lCb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},Zkd=function(a,b){var c=a.issueDefaultFlattenedAccessPolicy;return c&&nCb(c,a.issueDefaultAccessPolicyUnderEdit)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},$kd=function(a){var b=mCb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!nCb(c,a.issueDefaultAccessPolicyUnderEdit));
return b||a},ald=function(a,b){return mCb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=BQ(c);if(mCb(d,a.componentAccessPolicyUnderEdit)){if(mCb(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)};B9.prototype.loadUserAccess=function(a){var b=this;return yF(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):yF(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
B9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=CQ(this.componentAccessPolicyUnderEdit);var c=CQ(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),MF(this.butterBar,c),Promise.resolve()}if($kd(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,LF(this.butterBar,"Saving access settings...",0),Zkd(this,c).then(function(d){d&&(b.readers=[].concat(Pc(d.admins||[]),Pc(d.editors||[]),Pc(d.appenders||[]),Pc(d.readers||
[]),Pc(d.restrictedPlusReaders||[]),Pc(d.restrictedReaders||[])));return ald(a,b).catch(function(e){var g;return de(function(h){if(1==h.nextAddress)return g=CQ(a.issueDefaultFlattenedAccessPolicy),h.yield(Zkd(a,g),2);throw e;})})}).then(function(){return Xkd(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;Ykd(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=oCb({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=oCb(g,h);switch(d&&g?2:d?0:g?1:3){case 0:a.analytics.trackEvent(Gn.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:a.analytics.trackEvent(Gn.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:a.analytics.trackEvent(Gn.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:a.analytics.trackEvent(Gn.ROLE_BASED_PERMISSIONS,"update","roles:neither")}LF(a.butterBar,"Access settings saved",0)}).catch(function(d){MF(a.butterBar,
Ol(d),0)}).finally(function(){return de(function(d){if(1==d.nextAddress)return d.yield(a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;ie(d)})});Ykd(this);return Xkd(this)};
var bld=function(a,b){b=iCb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},ACb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(bld(a,b),Qkd(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();LF(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
ch.Object.defineProperties(B9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Kh(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=jCb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Kh(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=jCb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});B9.\u0275fac=function(a){return new (a||B9)(u(cG),u(zQ),u(OF),u(KF),u(xF),u(LT),u(x9),u(oH))};B9.\u0275prov=mc({token:B9,factory:B9.\u0275fac});var C9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=F7b};C9.prototype.getRecentIssuesLink=function(){return Wl(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};C9.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!q6a(this.rolesEditor.parentComponent))};
C9.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!vp(this.rolesEditor.parentComponent))};C9.\u0275fac=function(a){return new (a||C9)(C(ds),C(vI),C(B9))};
C9.\u0275cmp=Bc({type:C9,selectors:[["access-limit-settings"]],decls:6,vars:2,consts:[["class","component-banner",4,"ngIf"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-banner"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["for",
"access-level-public"],[1,"access-level-warning"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-public","name","accessLevelPublic",
"value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange"]],template:function(a,b){a&1&&(Q(0,sCb,20,7,"div",0),G(1,"div",1)(2,"p"),R(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),G(4,"a",2),R(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=up(b.rolesEditor.parentComponent)||
up(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}F("ngIf",a);z(4);vf("href","",Fn(b.documentationLinks),"#recommended-role-based-permissions-configurations",Id)}},dependencies:[tw,kg,cx,Uw,$w],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 D9=function(a,b){this.documentationLinks=a;this.rolesEditor=b};D9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};D9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};D9.\u0275fac=function(a){return new (a||D9)(C(vI),C(B9))};
D9.\u0275cmp=Bc({type:D9,selectors:[["expanded-access-settings"]],decls:10,vars:5,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"checked","disabled","change"],[1,"permission-toggle-text"],["id","expanded-access-help",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about expanded access","aria-describedby","expanded-access-help",
1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),M("change",function(c){return b.setImplicitAccess(c.checked)}),H()(),G(3,"div",3)(4,"strong",4),R(5,"Expanded access"),H(),G(6,"div",5),R(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),G(8,"a",6),R(9,"Learn more"),H()()()());a&2&&(mf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),z(2),F("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),z(6),vf("href","",Fn(b.documentationLinks),"#expanded-access",Id))},dependencies:[BN],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 tCb=function(){return{}},vCb=function(a,b){return{displayText:a,values:b}},uCb=function(a){return[a]},wCb=function(){return[]},E9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new Vv;this.formIsValid=new Vv;this.aclFormValidity=new Map};E9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};E9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};E9.\u0275fac=function(a){return new (a||E9)};
E9.\u0275cmp=Bc({type:E9,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},decls:31,vars:1,consts:[["scope","col"],[4,"ngFor","ngForOf"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"idForInputBox","users","ariaLabel","accessLevel","customValidators",
"includeAliases","includeViewAliases","containerChips","usersChange","isValid"],["size","large",3,"name"]],template:function(a,b){a&1&&(G(0,"table")(1,"thead")(2,"tr")(3,"th",0),R(4,"Role Assignments"),H(),G(5,"th",0)(6,"h6"),R(7,"Admin Components"),H()(),G(8,"th",0)(9,"h6"),R(10,"Create Issues"),H()(),G(11,"th",0)(12,"h6"),R(13,"Admin Issues"),H()(),G(14,"th",0)(15,"h6"),R(16,"Edit Issues"),H()(),G(17,"th",0)(18,"h6"),R(19,"Comment Issues"),H()(),G(20,"th",0)(21,"h6"),R(22,"View Issues"),H()(),G(23,
"th",0)(24,"h6"),R(25,"View Restricted"),H()(),G(26,"th",0)(27,"h6"),R(28,"View Restricted+"),H()()()(),G(29,"tbody"),Q(30,xCb,26,29,"ng-container",1),H()());a&2&&(z(30),F("ngForOf",b.rolesTableData))},dependencies:[sw,JA,x0,GM,Yz,ZB],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 cld=function(a){this.documentationLinks=a};cld.\u0275fac=function(a){return new (a||cld)(C(vI))};
cld.\u0275cmp=Bc({type:cld,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&&Q(0,yCb,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,x=c.viewRestricted,A=c.viewRestrictedPlus;c=[].concat(Pc(c.componentAdmin),Pc(d),Pc(e),Pc(g));a=[].concat(Pc(a),Pc(b),Pc(h),Pc(l),Pc(q),Pc(x),Pc(A));a=0===c.length&&0<a.length}else a=!1;F("ngIf",a)}},dependencies:[tw],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 F9=function(){this.rolesMap=kCb;this.isSaving=!1;this.saveRolesMap=new Vv;this.rolesUnderEdit=kCb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},dld=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},eld=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},fld=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};f=F9.prototype;f.ngOnInit=function(){fld(this);dld(this)};
f.ngOnChanges=function(a){a.rolesMap&&fld(this);dld(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()&&(!Kh(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};F9.\u0275fac=function(a){return new (a||F9)};
F9.\u0275cmp=Bc({type:F9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[Uc],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),G(2,"roles-view-table",1),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),H(),G(3,"mat-expansion-panel",2)(4,"mat-expansion-panel-header")(5,"mat-panel-title"),R(6," Advanced Roles "),H()(),G(7,"roles-view-table",1),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",
function(c){return b.formIsValid=c}),H()(),I(8,"expanded-access-settings"),G(9,"button",3),M("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),R(10,"Update"),H(),G(11,"button",4),M("click",function(){fld(b);dld(b)}),R(12," Revert Changes\n"),H());a&2&&(z(1),F("rolesMap",b.rolesMap),z(1),F("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(1),F("expanded",eld(b)),z(4),
F("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),z(2),F("disabled",!b.canSave()),z(2),F("disabled",!!Kh(b.rolesMap,b.rolesUnderEdit)))},dependencies:[u7,v7,w7,Yz,E9,C9,D9,cld],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 G9=function(a,b){jE.call(this);this.rolesEditor=a;this.route=b};U(G9,jE);G9.\u0275dir=jE.\u0275dir;G9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(D(function(b){return b.get("componentId")}),ue(ni),Oe(function(b){return a.rolesEditor.initialize(Number(b))}),Pe(this.destroyed$)).subscribe(function(){Ykd(a.rolesEditor)})};G9.prototype.isSaving=function(){return this.rolesEditor.isSaving};G9.\u0275fac=function(a){return new (a||G9)(C(B9),C(jm))};
G9.\u0275cmp=Bc({type:G9,selectors:[["role-based-permissions"]],features:[Cf([B9,x9]),Ye],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&&(Q(0,zCb,2,0,"div",0),Q(1,BCb,7,8,"div",1));a&2&&(F("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),z(1),F("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[tw,tM,sM,zL,y9,F9],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var gld=new Nc("GMAT_LEGACY_CHECKBOX_OPTION");var hld=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),H9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};H9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,Pc(hld.values())),this.elementRef.nativeElement.classList.add(hld.get(this.color)))};
H9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};H9.\u0275fac=function(a){return new (a||H9)(C(rd),C(gld,8))};H9.\u0275dir=Gc({type:H9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&mf("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var ild=["archiveDialog"],jld=["archiveButton"],kld=["metadataForm"],lld={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},I9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb){jE.call(this);var qb=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=x;this.documentationLinks=A;this.matDialogService=B;this.analytics=
K;this.checkBeforeExit=O;this.userAccess=P;this.componentActions=Y;this.errorHandler=X;this.componentUpdates=ka;this.componentUpdatesApi=ma;this.confirmationDialogService=ya;this.appEvents=Aa;this.teamsService=Ma;this.sloApi=Ra;this.sloService=Ta;this.currentTracker=Lb;this.componentId$=new E.ReplaySubject(1);this.Tab=lld;this.componentListRoute=kwa;this.showSloInheritancePath=!1;this.component$=new E.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(D(function(Ya){return null==
Ya?void 0:Ya.trackerId}));this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(D(function(Ya){var wa=k(Ya);Ya=wa.next().value;wa=wa.next().value;return qb.shouldShowTrackerRedirect(Ya,mi("")(wa))}));this.parentComponent$=new E.BehaviorSubject(null);this.componentTeam$=new E.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(Oe(function(Ya){return(Ya=null==Ya?void 0:Ya.id)&&"0"!==Ya?IH(qb.teamsService,Ya):(0,E.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(Oe(function(Ya){var wa;return(Ya=null==Ya?void 0:null==(wa=Ya.team)?void 0:wa.id)&&"0"!==Ya?IH(qb.teamsService,Ya):(0,E.of)(null)}));this.inheritedSloMetadata$=(0,E.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(D(function(Ya){var wa=k(Ya);Ya=wa.next().value;var Ka=wa.next().value;wa=wa.next().value;if((null==Ya?0:Ya.team)&&!Ya.team.inherit&&"0"!==Ya.team.id){var Na,eb=null!=(Na=null==wa?void 0:wa.slo)?Na:null;if(eb)return{containerType:"TEAM",content:eb}}else if(Na=
null!=(eb=null==Ka?void 0:Ka.slo)?eb:null)return{containerType:"COMPONENT",content:Na};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Be(),Oe(function(Ya){var wa="0";Ya&&("TEAM"===Ya.containerType?wa=Ya.content.sloId:"COMPONENT"===Ya.containerType&&(wa=Ya.content.id));return"0"===wa?(0,E.of)({id:"0"}):qb.sloService.get(wa).then(function(Ka){return{id:wa,slo:Ka}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Be(),Oe(function(Ya){if(!Ya)return(0,E.of)({name:"None",type:"none"});
Ya=TDb(Ya);var wa=Ya.sourceTeamId,Ka=Ya.sourceComponentId;return wa&&"0"!==wa?qb.teamsService.getTeam(wa).pipe(D(function(Na){var eb;return{name:null!=(eb=null==Na?void 0:Na.name)?eb:wa,type:"team",link:{path:"/teams/"+wa+"/edit",fragment:"slo"}}})):Ka?qb.componentActions.get(Number(Ka)).then(function(Na){var eb;return{name:null!=(eb=Na.name)?eb:Ka,type:"component",link:{path:"/components/"+Ka+"/edit"}}}):(0,E.of)(null)}));this.policySourcePath$=(0,E.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,
this.inheritedSloMetadata$]).pipe(D(function(Ya){var wa=k(Ya);Ya=wa.next().value;var Ka=wa.next().value,Na=wa.next().value;wa=wa.next().value;if(!Ya||!Ya.componentPathInfo||!wa)return null;var eb=TDb(wa);wa=eb.sourceComponentId;Ka=VDb(Ka,eb.sourceTeamId,Ya.team,Na);return null===wa?{componentPath:null,teamPath:Ka}:{componentPath:UDb(Ya,wa),teamPath:Ka}}));this.enableSloLockingCheck=hE(this.activeSession,"enableSloLockingCheck");this.enableRecommendationSettingsPage=hE(this.activeSession,"enableRecommendationSettingsPage");
this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];this.isLoading=this.hasInitialized=!1;this.selectedTabIndex=0;this.isAnonymous=this.activeSession.isAnonymous();this.originalParentComponent=this.originalComponent=null;this.isAdminInternal=this.isUpdating=this.isArchiving=!1;this.metadataForm=null;this.error="";this.isComponentSloEditor=this.isEditorInternal=!1;this.updateDiffs=void 0;this.templates=[];this.isParentComponentRequired=this.commentEditsEnabled=
!0;this.retentionIsValid=!1;this.isEnableSloChecked=!0;this.enableSloLockingUi=hE(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=hE(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(ue(Boolean),Oe(function(Ya){return qb.sloApi.executor.get({url:"action/components/"+Ya+"/slo_edit_policy",responseConstructor:rCc}).pipe(D(Bra))}));this.getSloManagementLink=lwa};U(I9,jE);I9.\u0275dir=jE.\u0275dir;
I9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};I9.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)};
I9.prototype.ngOnInit=function(){var a=this;this.componentId=Ph(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(YO(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&mld(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
nld(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=old(b)}));this.hasInitialized=!0;this.route.fragment.pipe(Pe(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 nld=function(a){a=[pld(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};I9.prototype.isAdmin=function(){return this.isAdminInternal};var $r=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};f=I9.prototype;f.isSaving=function(){return this.isUpdating||this.isArchiving};f.isArchived=function(){return this.component?this.component.archived:!1};f.isPublic=function(){return vp(this.component)};
f.isExternal=function(){return up(this.component)};f.isParentPublic=function(){return!(!this.parentComponent||!vp(this.parentComponent))};f.isParentPartner=function(){return!(!this.parentComponent||!q6a(this.parentComponent))};var lDb=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};
I9.prototype.hasUnsavedMetadataChanges=function(){return!(Kh(this.component,this.originalComponent)&&Kh(this.parentComponent,this.originalParentComponent))};I9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var qld=function(a){var b=Ll();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:cn("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},rld=function(a){var b=Ll();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:fn(cn('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.'),en("BR",{}),en("BR",{}),cn('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.'),
en("BR",{}),en("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};I9.prototype.saveMetadata=function(){var a=this;return sld(this)?rld(this).then(function(b){return b?qld(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return nld(a)})}):Promise.resolve()};
I9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;LF(this.butterBar,"Saving changes ...",0);return tld(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return uld(a)}).then(function(){return vld(a)}).then(function(){return wld(a)}).then(function(){LF(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var tld=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)},uld=function(a){return a.component.slo&&!Kh(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent(Gn.MANAGE_COMPONENT,
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},vld=function(a){return a.component.team&&!Kh(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent(Gn.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},wld=function(a){return xld(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent(Gn.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)},xld=function(a){var b=Lh(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!Kh(a.originalComponent,b)},sld=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};I9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var pld=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
I9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=Lh(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState};
var EDb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=old(b.componentPathInfo.allCustomField)})},old=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
I9.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=old(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()})};I9.prototype.loadUserAccess=function(a){var b=this,c=Ql("COMPONENT",a);yF(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:yF(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var mld=function(a){yF(a.userAccess,"writer",Ql("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},NCb=function(a){var b,c=Ir(a.currentTracker,null==(b=a.parentComponent)?void 0:b.componentPathInfo);return a.currentTracker.inTracker&&(!c||!c.componentPathId||0===c.componentPathId.length)},as=function(a){return a.isSaving()||!a.isEditorInternal};f=I9.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=Lh(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.getRecentIssuesLink=function(){var a=this.isArchived();return Wl(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 CCb=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?MF(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,LF(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;fA(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(Pe(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):MF(a.butterBar,"Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};
I9.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 Eza(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:nh(b,"unexpected value "+b+"!")}};
I9.prototype.archive=function(){var a=this;this.isArchiving=!0;LF(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);LF(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;LF(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Nl(b)?Ol(b):b));a.isArchiving=!1})};
I9.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)})};
I9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var yld=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=x2a(d.addMask.paths),h=x2a(d.removeMask.paths),l={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var x=k(new Set([].concat(Pc(g),Pc(h)))),A=x.next();!A.done;A=x.next()){var B=A.value;if(A=iTc.get(B))if("name"===B){var K=ip(h,B,d.name);B=ip(g,B,q.name);l.diffs.push(jp(A,K,B))}else if("description"===
B)K=ip(h,B,d.description),B=ip(g,B,q.description),l.diffs.push(jp(A,K,B));else if("parentComponentId"===B)K=ip(h,B,String(d.parentComponentId)),B=ip(g,B,String(q.parentComponentId)),l.diffs.push(jp(A,K,B));else if("isArchived"===B)K=ip(h,B,String(d.archived)),B=ip(g,B,String(q.archived)),l.diffs.push(jp(A,K,B));else if("commentEditState"===B){var O=jTc.get(d.commentEditState);K=jTc.get(q.commentEditState);O&&K&&(O=ip(h,B,O),B=ip(g,B,K),l.diffs.push(jp(A,O,B)))}else"defaultTemplateId"===B?(K=ip(h,
B,String(d.defaultTemplateId)),B=ip(g,B,String(q.defaultTemplateId)),l.diffs.push(jp(A,K,B))):"slo"===B?e.sessionIsInternal&&(K=ip(h,B,D2a(d.slo)),B=ip(g,B,D2a(q.slo)),l.diffs.push(jp(A,K,B))):"team"===B?e.sessionIsInternal&&(K=ip(h,B,E2a(d.team)),B=ip(g,B,E2a(q.team)),l.diffs.push(jp(A,K,B))):"retentionSettings"===B?(K=ip(h,B,B2a(d.retentionSettings)),B=ip(g,B,B2a(q.retentionSettings)),l.diffs.push(jp(A,K,B))):e.$log.error("Unsupported diff field "+B)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};I9.prototype.showUpdateHistoryModal=function(){var a=this;yld(this,this.componentId).then(function(){a.matDialogService.open(q6,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent(Gn.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Gn.MANAGE_COMPONENT,"viewHistory")})};I9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&zld(this)};
var hDb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return $r(a)&&(c||b)},nDb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return $r(a)&&(!a.component.slo.inherit||c&&b)},RCb=function(a){var b,c,d,e;de(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,E.firstValueFrom)(a.team$.pipe(D(function(h){a.component.slo.id=
h.slo.sloId;zld(a)}))),0):(d=Ald(a),e=d.id,a.component.slo.id=e,zld(a),g.jumpTo(0))})},mDb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},Ald=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}},yDb=function(a,b){LF(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(Gn.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var g;LF(a.butterBar,(null==(g=a.component.effortSpec)?void 0:g.name)+" saved")}else LF(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
I9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Lh(a);this.component$.next(this.component);this.originalComponent=Lh(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);zld(this)};I9.prototype.back=function(){R1(this.appHistory)};var zld=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
I9.\u0275fac=function(a){return new (a||I9)(C(jm),C(kH,2),C(YI),C(CG),C(Dbc),C(DG),C(Q1),C(KF),C(ZU),C(ds),C(vI),C(kA),C(oH),C(XO),C(xF),C(LT),C(OF),C(bZ),C(r9),C(wI),C(SF),C(HH),C(qS),C(rS),C(sK))};
I9.\u0275cmp=Bc({type:I9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(Qf(ild,5),Qf(jld,5),Qf(kld,5),Qf(sM,5,rd));if(a&2){var c;Pf(c=Sf())&&(b.confirmArchiveDialog=c.first);Pf(c=Sf())&&(b.archiveButton=c.first);Pf(c=Sf())&&(b.metadataForm=c.first);Pf(c=Sf())&&(b.tabs=c)}},features:[Cf([kH]),Ye],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",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"],["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&&(Q(0,RDb,12,3,"ng-container",0),S(1,"async"),Q(2,SDb,2,1,"ng-template",null,1,Vf));if(a&2){var c=yf(3);F("ngIf",!T(1,2,b.showTrackerRedirect$))("ngIfElse",
c)}},dependencies:[VO,sw,tw,yw,JA,nO,qZ,gZ,w5,lgd,H5,X_,F0,M5,ax,kg,Uw,Vw,kx,$w,Yw,H9,yM,GM,Yz,Zz,BN,lA,mA,nA,oA,Yy,DS,tM,sM,ZB,t9,w1,G9,ZM,s9,u1,zL,RT,vK,m8,zw,Bw],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 rEb=function(a){return[a]},sEb=function(){return[]},BEb=function(a){return{value:a}},Bld={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},J9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O){jE.call(this);var P=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=x;this.teamsService=A;this.userAccess=B;this.sloApi=K;this.sloService=O;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new E.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new E.ReplaySubject(1);this.teamSlo$=this.team$.pipe(D(function(X){return X.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new E.BehaviorSubject("");this.sloLead$=new E.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(X){if(X){X=k(X);
for(var ka=X.next();!ka.done;ka=X.next())if(0!==ka.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(X){if(X){X=k(X);for(var ka=X.next();!ka.done;ka=X.next())if(0!==ka.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,E.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(D(function(X){return X.admins.filter(vqa).map(ri)}));this.teamLeads$=this.team$.pipe(D(function(X){return X.members.filter(function(ka){return ka.isLead}).map(function(ka){var ma,
ya;return"USER:"+(null!=(ya=null==(ma=ka.user)?void 0:ma.emailAddress)?ya:"")})}));this.adminsAndLeads$=(0,E.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;var ma=new Set(X);ka=ka.filter(function(ya){return!ma.has(ya)});return[].concat(Pc(X),Pc(ka))}));this.associatedComponents$=(0,E.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(D(function(X){var ka=X.pathNames;return X.pathIds.map(function(ma,
ya){return{id:ma,name:ka[ya]}})}));this.isRootTeam$=this.teamPath$.pipe(D(function(X){return 1>=X.length?!0:!1}));this.parentTeam$=(0,E.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(Oe(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return X?(0,E.of)(null):P.teamsService.getTeam(ka[ka.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(Oe(function(X){var ka,ma=null==X?void 0:null==(ka=X.slo)?void 0:ka.sloId;return ma&&"0"!==ma?P.sloService.get(ma).then(function(ya){return{id:ma,
link:lwa(ma),slo:ya}}):(0,E.of)({id:"0"})}));this.sloPolicySource$=(0,E.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;var ma,ya=null==X?void 0:null==(ma=X.slo)?void 0:ma.sourceTeamId;ma=ka.find(function(Aa){return Aa.id===ya});return ya&&ma?{name:ma.name,link:{path:"/teams/"+ya+"/edit",fragment:"slo"}}:null}));this.Tab=Bld;this.enableSloLockingUi=hE(this.activeSession,"enableSloLockingUi");this.enableSloLead=hE(this.activeSession,
"enableSloLead");this.isSloInheritEnabled$=new E.BehaviorSubject(!0);this.sloId$=new E.BehaviorSubject("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new E.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(Oe(function(X){return yF(P.userAccess,"reader","slos/"+X)}),Ne(!1));this.sloPickerLink$=(0,E.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(D(function(X){var ka=k(X);X=ka.next().value;ka=ka.next().value;return X&&0<Number(X)&&ka?lwa(X):null}));this.hasUnsavedChanges$=
(0,E.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(D(function(X){var ka=k(X),ma=ka.next().value;X=ka.next().value;var ya=ka.next().value,Aa=ka.next().value,Ma=ka.next().value;ka=ka.next().value;var Ra=ma.slo,Ta,Lb;ma=null!=(Lb=null==(Ta=ma.sloLead)?void 0:Ta.emailAddress)?Lb:"";return Ra.inherit!==ya||Ra.sloId!==X||Aa!==P.originalSloLock||Ra.comment!==Ma||ma!==ka}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");
this.team$.pipe(Pe(this.destroyed$)).subscribe(function(X){P.pageTitle.setTitle("Team: "+X.name)});a=hE(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;yF(this.userAccess,"writer",a).then(function(X){P.hasEditAccess=X});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(D(function(X){return X.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:nS}).pipe(D(Ara));
var Y=Rm(this.hasUnsavedChanges$.pipe(Pe(this.destroyed$)),!1);this.subscriptions.add(YO(this.checkBeforeExit,function(){return Y.getValue()},!1))};U(J9,jE);J9.\u0275dir=jE.\u0275dir;
J9.prototype.ngOnInit=function(){var a=this,b,c,d;return de(function(e){switch(e.nextAddress){case 1:return b=a.location.hash(),"basic"===b?a.selectedTabIndex=0:"slo"===b?a.selectedTabIndex=1:"componentMapping"===b&&(a.selectedTabIndex=2),ee(e,2),e.yield((0,E.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=e.yieldResult;ks(e,3);break;case 2:return he(e),MF(a.butterBar,"Unable to fetch team ID '"+a.teamId+"'"),e.return();case 3:return a.team$.next(c),vEb(a),d=a,e.yield((0,E.firstValueFrom)(a.parentTeam$),
5);case 5:d.parentTeam=e.yieldResult||null,ie(e)}})};J9.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};J9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var uEb=function(a,b){var c,d,e,g,h,l;return de(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();LF(a.butterBar,"Saving changes...",0);ee(q,2);if(!a.enableSloLead||(null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return q.yield((0,E.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 x=
q.yield,A=E.firstValueFrom;var B=a.sloApi;var K=a.teamId,O=a.sloLocked,P=new PD;O=Ni(P,2,O?1:2).setTeamId(Number(K));B=B.executor.post({url:"action/teams/"+K+"/slo_edit_policy",responseConstructor:pS,body:O}).pipe(D(Ara));return x.call(q,A.call(E,B),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}x=q.yield;A=E.firstValueFrom;O={sloId:a.sloId,inherit:a.isSloInheritEnabled,
comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};B=a.teamsService;K=a.teamId;O=Msa(O);P=(new GH).setTeamId(K);O=Wi(P,Jj,2,O);B=B.executor.post({url:"/action/teams/"+K+"/update_slo",body:O,responseConstructor:bE}).pipe(D(Ksa));return x.call(q,A.call(E,B),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:LF(a.butterBar,"Save complete.");ks(q,0);break;case 2:l=he(q),QF(a.errorHandler,l),ie(q)}})};
J9.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 Cld=function(a){(0,E.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=b.sloLead)?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},Dld=function(a){(0,E.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},Eld=function(a){(0,E.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},vEb=function(a){a.error="";Cld(a);Dld(a);a.enableSloLockingUi&&Eld(a)};J9.prototype.back=function(){R1(this.appHistory)};
ch.Object.defineProperties(J9.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()}}});J9.\u0275fac=function(a){return new (a||J9)(C(ds),C(cG),C(Q1),C(KF),C(XO),C(LT),C(OF),C(CG),C(ZU),C(YI),C(HH),C(xF),C(qS),C(rS))};
J9.\u0275cmp=Bc({type:J9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&Qf(sM,5,rd);if(a&2){var c;Pf(c=Sf())&&(b.tabs=c)}},features:[Ye],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&&(G(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),I(4,"mat-icon",4),H()()()(),G(5,"div",5),Q(6,CEb,86,39,"ng-container",6),S(7,"async"),H());a&2&&(z(6),F("ngIf",T(7,1,b.team$)))},dependencies:[rw,sw,tw,JA,F0,kg,Uw,kx,$w,H9,yM,Yz,Zz,BN,tM,sM,ZB,Yy,DS,x0,xG,ZM,u1,k1,zw],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 K9=function(){this.selectedSignals$=(0,E.of)([]);this.selected=new Vv;this.ALL_SIGNAL_TYPES=qVa();this.isOpen=!1};K9.prototype.openMenu=function(){this.isOpen=!0};K9.prototype.closeMenu=function(){this.isOpen=!1};K9.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()};K9.\u0275fac=function(a){return new (a||K9)};
K9.\u0275cmp=Bc({type:K9,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&Qf(BN,5);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"button",0,1),M("click",function(){return b.openMenu()}),I(2,"mat-icon",2),H(),Q(3,HEb,13,3,"ng-template",3),M("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=yf(1);mf("menu-open",b.isOpen);z(3);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[sw,tw,JA,BN,Yz,AL,qz,pz,ux,zw],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 L9=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new Vv};
L9.prototype.getSignalTypeTooltip=function(){var a=this;if(this.generalDescriptionOnly)return this.signal.signalType?(0,E.of)(sVa(this.signal)):(0,E.of)("");var b;return null!=(b=this.signal.timestamp)&&b.seconds?this.dateFormatter.formatUserCalendar(new Date(1E3*this.signal.timestamp.seconds)).pipe(D(function(c){return rVa(a.signal,c)})):(0,E.of)(rVa(this.signal))};L9.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};L9.\u0275fac=function(a){return new (a||L9)(C(hK))};
L9.\u0275cmp=Bc({type:L9,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&&Q(0,LEb,5,14,"span",0);a&2&&(a=b.signal.signalType?LEc.has(b.signal.signalType)?LEc.get(b.signal.signalType):null:null,F("ngIf",a))},dependencies:[tw,JA,Yz,ZB,zw],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 NEb=function(a){return{signalType:a}},QEb=function(){return[]},M9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P){jE.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=x;this.errorHandler=A;this.snackbar=B;this.currentTracker=K;this.appEvents=O;this.issuePagination=P;this.issues=[];this.columns=[r0,s0,t0,new zp({name:"alerts",sortable:!1,draggable:!1,fullLabel:"Alerts",
label:"ALERTS"}),Object.assign({},Ap("priority"),{draggable:!1}),Object.assign({},Ap("title"),{draggable:!1}),Object.assign({},Ap("assignee"),{draggable:!1}),Object.assign({},Ap("status"),{draggable:!1}),Object.assign({},Ap("issueId"),{draggable:!1}),new zp({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=Iac;this.STATUS_FULL_TEXT=WE;this.STATUS_TERSE=SE;this.ALL_SIGNAL_TYPES=qVa();this.selectedSignals$=new E.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=ML;this.SPACE_EMPTY_STATE=Xkc};U(M9,jE);M9.\u0275dir=jE.\u0275dir;
M9.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Needs attention");setTimeout(function(){a.appSearchState.clear()});this.userPreferencesManager.needsAttentionPreferences$.pipe(Ce()).subscribe(function(b){var c;a.selectedSignals$.next(null!=(c=b.selectedSignals)?c:[])});this.selectedSignals$.pipe(Pe(this.destroyed$)).subscribe(function(){a.fetchIssues()});this.destroyed$.pipe(Ce()).subscribe(function(){var b;null==(b=a.snackBarRefForUndo)||b.dismiss()})};
var PEb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(Ce()).subscribe()};M9.prototype.convertIssueStatusStrToTag=function(a){return gj[a]};M9.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};M9.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};
M9.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(eFb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?En(this.domSafe,a):this.bLocation.url(a))};
var eFb=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(Gn.NEEDS_ATTENTION,"viewIssue",d)},ZEb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};f=M9.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,Pec(this.issueFridge,String(a.issueId),a.starred).pipe(Ce(),Pe(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 SEb=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);KEc(a.needsAttentionApi,b,!0).then(function(){return void Fld(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})};
M9.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a.issueId]||(this.dismissInProgress[a.issueId]=!0,KEc(this.needsAttentionApi,[a.issueId],!0).then(function(){return void Fld(b,[a.issueId])},function(c){return void b.errorHandler.errorHandler(null,c)}).finally(function(){b.dismissInProgress[a.issueId]=!1}))};
var Fld=function(a,b){a.analytics.trackEvent(Gn.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(Ce()).subscribe(function(e){e.dismissedByAction&&Gld(a,b)})},Gld=function(a,b){KEc(a.needsAttentionApi,b,!1).then(function(){a.analytics.trackEvent(Gn.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=M9.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(Pc(this.ALL_SIGNAL_TYPES)))};
f.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=Hld(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:this.paths.needsAttention(),trackerIds:Ykc(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.selectedSignals$.value};uX(this.issuePagination);cRc(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var xFb=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})};M9.prototype.toggleSignal=function(a){var b=this.selectedSignals$.value,c=b.indexOf(a);-1===c?b.push(a):b.splice(c,1);PEb(this,[].concat(Pc(b)))};var Hld=function(a){var b=wk(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new zk(b,a):null};
M9.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};M9.\u0275fac=function(a){return new (a||M9)(C($X),C(ZU),C(DG),C(BI),C(nU),C(kH,2),C(oH),C(CG),C(ZJ),C(tH),C(OF),C(JF),C(sK),C(SF),C(tX))};
M9.\u0275cmp=Bc({type:M9,selectors:[["ng-component"]],features:[Cf([kH]),Ye],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&&(G(0,"h2",0),R(1,"Issues which need your attention"),H(),G(2,"div",1),Q(3,REb,14,9,"div",2),Q(4,TEb,3,1,"div",3),H(),G(5,"div",4),Q(6,UEb,4,0,"div",5),Q(7,XEb,8,6,"div",6),Q(8,yFb,15,18,"div",7),H());a&2&&(z(3),F("ngIf",!b.someIssuesSelected()),z(1),F("ngIf",b.someIssuesSelected()),z(1),bf("aria-busy",b.isLoading),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&!b.hasResults()),z(1),F("ngIf",!b.isLoading&&
b.hasResults()))},dependencies:[sw,tw,uw,vw,ww,JA,Az,Yz,Zz,c0,h0,d0,e0,f0,zL,XS,j0,nO,o0,VS,YJ,ZB,LL,L9,K9,zw,mJ],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 AFb=function(a){return{feature:a}},Ild=function(a){this.beapService=a;this.beapFeaturesTF$=Lfd(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=Lfd(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,E.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(D(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(D(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(D(function(b){return 0<
b.length}));this.linkClicked={}};Ild.\u0275fac=function(a){return new (a||Ild)(C(U4))};
Ild.\u0275cmp=Bc({type:Ild,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&&(Q(0,GFb,5,6,"ng-container",0),S(1,"async"),Q(2,HFb,2,0,"ng-template",null,1,Vf),Q(4,KFb,20,16,"ng-template",null,2,Vf));if(a&2){var c=yf(3);F("ngIf",T(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[W4,mX,nX,sw,tw,yw,JA,Zz,DS,ZB,zw,N9]},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 N9=function(){};N9.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};N9.\u0275fac=function(a){return new (a||N9)};N9.\u0275pipe=Hc({name:"featureState",type:N9,pure:!0});var O9=function(a,b){this.name=a;this.resourceType=void 0===b?null:b;this.options=[]};O9.prototype.shouldDisplay=function(){return!0};O9.prototype.hasOptions=function(){return!1};O9.prototype.getDefaultOptionId=function(){return null};var P9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};P9.prototype.shouldDisplay=function(){return 0<this.options.length};P9.prototype.hasOptions=function(){return 0<this.options.length};
P9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var Jld=function(a,b){this.id=a;this.name=b},Lld=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 E.Subscription;this.hotlistMainOption=new P9("Hotlist","HOTLIST");this.savedSearchMainOption=new P9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new P9("Bookmark group","BOOKMARK_GROUP");this.needsAttentionMainOption=new O9("Needs attention","NEEDS_ATTENTION");
this.experimentalHomepageMainOption=new O9("Home","EXPERIMENTAL_HOMEPAGE");this.mainOptions=[new O9("Assigned issues"),this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];hE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.needsAttentionMainOption);hE(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];Kld(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){Kld(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,Kld(h)):(h.selectedMainOption=h.mainOptions[0],h.selectedOptionId=null))}))};Lld.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var OFb=function(a){LF(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=Ygc(a.userPreferencesManager,b);b.subscribe(function(){LF(a.butterBar,"Preferences saved.",4E3)})},Kld=function(a){function b(c){return new Jld(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 Jld(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};var Mld=Kta[3],Q9=function(a,b,c,d,e,g,h,l,q){jE.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,Pc(h.supportedTimeZones.map(function(x){return{value:x.id,label:x.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&hE(this.activeSession,"enableImageSummary")};U(Q9,jE);
Q9.\u0275dir=jE.\u0275dir;Q9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new Lld(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(Pe(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
Q9.prototype.save=function(a,b,c){var d=this;LF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){LF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var Nld=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===Mld};Q9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
Q9.\u0275fac=function(a){return new (a||Q9)(C(kH,2),C(BI),C(KF),C(ds),C(vI),C(oH),C(II),C(IX),C(SF))};
Q9.\u0275cmp=Bc({type:Q9,selectors:[["b-general-settings"]],features:[Cf([kH]),Ye],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&&(G(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),R(4,"Preferred homepage"),H(),G(5,"p",3),R(6," Select your preferred homepage when first opening the app. "),G(7,"a",4),R(8," Learn more "),H()()(),G(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),R(13," Current selection "),
H(),G(14,"mat-select",7),M("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();OFb(c);c.cdr.detectChanges()}),Q(15,MFb,2,1,"ng-container",8),H()(),Q(16,PFb,3,2,"mat-form-field",9),H()()(),I(17,"hr",10),G(18,"div",0)(19,"div",1)(20,"p",2),R(21,"Date/time formatting settings"),H(),G(22,"p",3),R(23," Select how you want dates and times to be formatted. "),G(24,
"a",4),R(25," Learn more "),H()()(),G(26,"div")(27,"div")(28,"mat-form-field",11)(29,"mat-label",12),R(30," Dates "),H(),G(31,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),Q(32,QFb,2,2,"mat-option",14),H()()(),G(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," Times "),H(),G(37,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=
c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),Q(38,RFb,2,2,"mat-option",14),H()()(),G(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Time Zones "),H(),G(43,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),Q(44,SFb,2,2,"mat-option",14),H()()()()(),I(45,"hr",10),G(46,"div",0)(47,"div",1)(48,"p",2),R(49,"Keyboard settings"),H()(),G(50,
"div")(51,"div")(52,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),R(53," Enable all hotkeys "),H()()()(),I(54,"hr",10),G(55,"div",0)(56,"div",1)(57,"p",2),R(58,"Display settings"),H()(),G(59,"div")(60,"div",20)(61,"mat-slide-toggle",21),M("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?Mld:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),
R(62," Force comments to display as plain text "),H()(),G(63,"div",20)(64,"b-toggle-code-font",22),R(65," Force comments to display with code font "),H()(),Q(66,TFb,3,1,"div",23),H()(),I(67,"hr",10),Q(68,UFb,9,1,"ng-container",24),H());a&2&&(z(7),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Id),z(7),F("ngModel",b.preferredHomepage.selectedMainOption),z(1),F("ngForOf",b.preferredHomepage.mainOptions),z(1),F("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),
z(8),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Id),z(7),F("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),z(1),F("ngForOf",b.dateFormats),z(5),F("ngModel",b.userPreferences.dateTimePreferences.timeFormat),z(1),F("ngForOf",b.timeFormats),z(5),F("ngModel",b.userPreferences.dateTimePreferences.timeZone),z(1),F("ngForOf",b.timeZones),z(8),F("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),z(9),F("checked",Nld(b)),z(5),F("ngIf",
b.showShowInlineImagesSetting),z(2),F("ngIf",b.showBugScreensaverSetting))},dependencies:[sw,tw,Uw,$w,xA,wA,iO,$z,DS,ZB,jT],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}/*# sourceMappingURL=settings.css.map */"]});var R9=function(a,b,c,d){jE.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(Pe(this.destroyed$)).subscribe(function(g){e.userPreferences=g})};U(R9,jE);R9.\u0275dir=jE.\u0275dir;
R9.prototype.save=function(a,b,c){var d=this;LF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){LF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};R9.\u0275fac=function(a){return new (a||R9)(C(BI),C(KF),C(vI),C(oH))};
R9.\u0275cmp=Bc({type:R9,selectors:[["b-notification-settings"]],features:[Ye],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&&(G(0,"div",0)(1,"div",1)(2,"p",2),R(3,"Notification settings"),H(),G(4,"p",3),R(5," Select the level of email you want to receive for each issue role. "),G(6,"a",4),R(7," Learn more "),H()()(),G(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),R(12," Assignee "),H(),G(13,"mat-select",
7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(14,VFb,3,4,"mat-option",8),H()()(),G(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),R(18," Reporter "),H(),G(19,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(20,WFb,3,
4,"mat-option",8),H()()(),G(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),R(24," Verifier "),H(),G(25,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(26,XFb,3,4,"mat-option",8),H()()(),G(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),R(30," Collaborator "),H(),G(31,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.collaboratorPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(32,YFb,3,4,"mat-option",8),H()()(),G(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," CC'd "),H(),G(37,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(38,ZFb,3,4,"mat-option",8),H()()(),G(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Starred "),H(),G(43,
"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),Q(44,$Fb,3,4,"mat-option",8),H()()(),G(45,"div")(46,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),R(47," Exclude edits made by you "),H()()()());a&2&&(z(6),F("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",Id),z(7),F("ngModel",b.userPreferences.notificationPreferences.assignedPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.reportedPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.ccdPriority),
z(1),F("ngForOf",b.priorities),z(5),F("ngModel",b.userPreferences.notificationPreferences.starredPriority),z(1),F("ngForOf",b.priorities),z(2),F("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[sw,Uw,$w,xA,wA,iO,$z,DS,ZB,kic],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}/*# sourceMappingURL=settings.css.map */"]});var S9=function(a){r.call(this,a,0,S9.messageId)};U(S9,r);S9.repeatedFields_=[1];S9.prototype.toObject=function(){if(null!=this){t(this);var a={subscriptionsList:Gb(Ch(this,Vi,1),j9b)}}else a=void 0;return a};S9.messageId="b.ListSloReportSubscriptionsResponse";var T9=function(a){r.call(this,a,0,T9.messageId)};U(T9,r);T9.prototype.getSubscription=function(){return Z(this,Vi,1)};T9.prototype.setSubscription=function(a){return Wi(this,Vi,1,a)};T9.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:j9b(this.getSubscription())}}else a=void 0;return a};T9.messageId="b.SloReportSubscriptionRequest";var U9=function(a){r.call(this,a,0,U9.messageId)};U(U9,r);U9.prototype.getSubscription=function(){return Z(this,Vi,1)};U9.prototype.setSubscription=function(a){return Wi(this,Vi,1,a)};U9.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:j9b(this.getSubscription())}}else a=void 0;return a};U9.messageId="b.SloReportSubscriptionResponse";var V9=function(a){this.executor=a};f=V9.prototype;f.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:U9}).pipe(D(function(b){if(b=b.getSubscription())return Cra(b);throw Error("Qe");}))};f.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:S9}).pipe(D(function(a){return Ch(a,Vi,1).map(Cra)}))};
f.create=function(a){if(0!==a.id)throw Error("Re");return this.executor.post({url:"action/slo_report_subscriptions",body:(new T9).setSubscription(Era(a)),responseConstructor:U9}).pipe(D(function(b){if(b=b.getSubscription())return Cra(b);throw Error("Se");}))};
f.update=function(a){if(0===a.id)throw Error("Te");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new T9).setSubscription(Era(a)),responseConstructor:U9}).pipe(D(function(b){if(b=b.getSubscription())return Cra(b);throw Error("Se");}))};f.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:lE}).pipe(D(function(){}))};V9.\u0275fac=function(a){return new (a||V9)(u(ZC))};
V9.\u0275prov=mc({token:V9,factory:V9.\u0275fac,providedIn:"root"});var Old=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new Vv;this.timeZoneOptions$=Vgc(this.timeZones)};Old.\u0275fac=function(a){return new (a||Old)(C(zI))};
Old.\u0275cmp=Bc({type:Old,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&&(G(0,"mat-form-field",0)(1,"mat-label"),R(2),H(),G(3,"mat-select",1),M("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),Q(4,aGb,2,2,"mat-option",2),S(5,"async"),H()());a&2&&(mf("full-width",b.fullWidth),z(2),zf(" ",b.label," "),z(1),F("disabled",b.disabled)("ngModel",b.timezoneId),z(1),F("ngForOf",T(5,6,b.timeZoneOptions$)))},dependencies:[xA,wA,iO,$z,sw,Uw,$w,zw],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var Pld=["sloSubscriptionDialog"],W9=function(a,b,c,d,e,g,h,l){jE.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 E.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(D(function(x){return 0===x.length||1===x.length&&x[0].lead.emailAddress===q.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(D(function(x){x=k(x);for(var A=
x.next();!A.done;A=x.next())if(A=A.value,A.lead.emailAddress===q.currentUser.email)return A;return{id:0,lead:q.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:Qld[9].timeOfDay}}));this.isThinking$=new E.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=Rld;this.repeatOnOptions=new Map([["daily",[]],["weekly",rGb],["monthly",Sld]]);this.DAILY="daily";this.repeatAtOptions$=(0,E.combineLatest)(Qld.map(function(x){return q.dateFormatter.formatUserTime(x.date).pipe(D(function(A){return{timeOfDay:x.timeOfDay,
display:A}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=gi;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(Rld.map(function(x){return[x.frequency,x.display]}));this.timeZoneDisplayMap$=Vgc(this.timeZones).pipe(Ce(),D(function(x){return new Map(x.map(function(A){return[A.id,A.displayName]}))}),Le({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Ce(),D(function(x){return new Map(x.map(function(A){return[A.timeOfDay.hours,
A.display]}))}),Le({bufferSize:1,refCount:!0}));this.compareTimeOfDay=function(x,A){return x.hours===A.hours&&x.minutes===A.minutes&&x.seconds===A.seconds&&x.nanos===A.nanos}};U(W9,jE);W9.\u0275dir=jE.\u0275dir;W9.prototype.ngOnInit=function(){Tld(this)};
var kGb=function(a){a.userSubscription$.pipe(Ce(),Oe(function(b){if(0===b.id)return a.analytics.trackEvent(Gn.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent(Gn.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){Tld(a)})},Tld=function(a){a.isThinking$.next(!0);a.api.list().pipe(Ce()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},bs=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){a.analytics.trackEvent(Gn.SLO_REPORTS,
"editSubscription");Tld(a)})},Uld=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent(Gn.SLO_REPORTS,"deleteSubscription");Tld(a)})},vGb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:cn("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){Uld(a,b)}})};W9.prototype.setFrequency=function(a,b){b.frequency=a;IGb(a,b);bs(this,b)};
var IGb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?rGb[0].ordinal:Sld[0].ordinal:delete b.ordinal};W9.prototype.setTimeZone=function(a,b){bs(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
W9.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:Qld[9].timeOfDay}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:Lh(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var JGb=function(a,b){return de(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?c.yield(Vld(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(Gn.SLO_REPORTS,"createSubscription");Tld(a)}):bs(a,b);a.dialogRef.close();ie(c)})},Vld=function(a,
b){var c;return de(function(d){if(1==d.nextAddress)return bn(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))})};W9.\u0275fac=function(a){return new (a||W9)(C(hK),C(V9),C(YH),C(kA),C(zI),C(wI),C(RI),C(oH))};
W9.\u0275cmp=Bc({type:W9,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&Qf(Pld,7);if(a&2){var c;Pf(c=Sf())&&(b.sloSubscriptionDialog=c.first)}},features:[Ye],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&&(Q(0,mGb,12,3,"ng-container",0),S(1,"async"),G(2,"div",1)(3,"div",2)(4,"p",3),R(5,"Advanced settings"),H(),G(6,"p",4),R(7," Add subscriptions to receive other user's reports. "),G(8,"a",5),
R(9,"Learn more"),H()()(),G(10,"div",6)(11,"div",7)(12,"button",8),M("click",function(){return b.openDialog()}),S(13,"async"),R(14," Create subscription "),H()(),Q(15,nGb,2,0,"ng-container",0),S(16,"async"),Q(17,zGb,13,3,"ng-container",0),S(18,"async"),S(19,"async"),H()(),Q(20,KGb,33,15,"ng-template",null,9,Vf));a&2&&(F("ngIf",T(1,4,b.isBasicMode$)),z(12),F("disabled",T(13,6,b.isThinking$)),z(3),F("ngIf",T(16,8,b.isThinking$)),z(2),F("ngIf",!T(18,10,b.isBasicMode$)&&!T(19,12,b.isThinking$)))},dependencies:[sw,
tw,JA,kg,Uw,kx,$w,Yz,lA,mA,nA,oA,uA,xA,vA,wA,iO,$z,AA,DS,mL,eL,iL,fL,dL,jL,gL,hL,kL,lL,RB,PB,QB,Old,zL,yR,zw],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}/*# 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 Rld=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],rGb=[{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"}],Sld=[].concat(Pc(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:sGb(a+1)}}),Qld=[].concat(Pc(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 X9=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=hE(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&hE(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};X9.prototype.ngAfterViewInit=function(){this.selectedTabIndex=Wld(this,this.routeParams.settingsTab)};
X9.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(fwa(d))};var Wld=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};X9.\u0275fac=function(a){return new (a||X9)(C(ds),C(CG),C(YI),C(ZU))};
X9.\u0275cmp=Bc({type:X9,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&Qf(sM,5,rd);if(a&2){var c;Pf(c=Sf())&&(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&&(G(0,"p",0),R(1,"Settings"),H(),G(2,"mat-tab-group",1),M("selectedIndexChange",function(c){return b.tabChange(c)}),G(3,"mat-tab",2)(4,"div",3),I(5,"b-general-settings"),H()(),G(6,"mat-tab",4)(7,"div",3),I(8,"b-notification-settings"),H()(),Q(9,LGb,3,0,"mat-tab",5),Q(10,MGb,3,0,"mat-tab",6),H());a&2&&(z(2),F("selectedIndex",b.selectedTabIndex),z(7),F("ngIf",b.enableSloReportEmail),z(1),F("ngIf",b.beapEnabled))},dependencies:[tw,yM,tM,sM,Ild,Q9,R9,W9],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}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var Y9=function(a,b,c,d,e,g,h,l,q){jE.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()};U(Y9,jE);Y9.\u0275dir=jE.\u0275dir;f=Y9.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,userLogin:this.userEmail}).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("Ue`"+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("Ue`"+a.resourceType);}};Y9.\u0275fac=function(a){return new (a||Y9)(C(kH,2),C(YI),C(CG),C(ZU),C(WG),C(GX),C(DG),C(ds),C(SF))};
Y9.\u0275cmp=Bc({type:Y9,selectors:[["view-bookmark-group-page"]],features:[Cf([kH]),Ye],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&&(G(0,"h2",0),R(1),H(),I(2,"div",1),G(3,"div",2),Q(4,QGb,12,5,"div",3),H());a&2&&(z(1),zf("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),z(2),bf("aria-busy",
!b.bookmarkGroup),z(1),F("ngIf",b.bookmarkGroup))},dependencies:[sw,tw,XS,ZB],encapsulation:2});var Z9=function(){};Z9.\u0275fac=function(a){return new (a||Z9)};Z9.\u0275mod=Dc({type:Z9});Z9.\u0275inj=nc({imports:[BF,eT,XC]});var $9=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,Ya,wa,Ka,Na,eb){l9.call(this,b,c,d,e,h,l,q,x,g,A,B,K,P,Y,X,ka,ma,ya,Lb,Aa,Ma,wa,Ka,Na,eb);this.ngZone=a;this.hotlists=O;this.hotkeys=Ra;this.pageTitle=Ta;this.userAccess=Ya;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=qb.hotlistId};U($9,l9);$9.\u0275dir=l9.\u0275dir;
$9.prototype.ngOnInit=function(){var a=this;l9.prototype.ngOnInit.call(this);this.subscriptions.add(KL(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(Pc(this.BASE_HOTKEYS),[{keys:[sn("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){Xld(a,1)}},{keys:[sn("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){Xld(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&Yld(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)};
$9.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)}};
$9.prototype.loadUserAccess=function(a){var b=this;yF(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});yF(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
$9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;aY(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):Yld(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var Yld=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};
$9.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(wk),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=Lh(g);g.query=d;g.returnUrl=b.bLocation.url();g.hotlistId=b.hotlistId;g.trackerIds=b.appSearchState.currentTrackerScope;
return cRc(b.issuePagination,g)});a.then(function(g){Jkd(b,g)}).catch(function(g){"number"===typeof g?Q0(b.urlPreferences,{page:g}):b.errorHandler.errorHandler(null,g)});return yn({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,Zld(b)?$ld:amd);b.loadHotlists()}).catch(function(){})};
var Zld=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};$9.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
$9.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 Xld=function(a,b){if(a.searchResults&&!a.repositioning&&Zld(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)||oYc(g)}else if(-1===b){var h;null==(h=a.resultsGrid)||pYc(h)}a.repositionIssue(e,c,!0)}}};f=$9.prototype;
f.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=Zya(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}});LF(this.butterBar,"Saving changes to hotlist...");bmd(this,b).then(function(e){LF(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');Q0(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");Q0(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?$h(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?l9.prototype.setSort.call(this,a,b,!1):l9.prototype.setSort.call(this,a,b)};
var bmd=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;cmd(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},cmd=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
$9.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=Uh(this.hotlistId),c=function(){cmd(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b,userLogin:this.currentUserEmail}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};$9.prototype.openEditHotlist=function(){this.bLocation.url(this.paths.editHotlist(this.hotlistId))};var amd=[r0,s0,t0,vYc],$ld=[r0,uYc,s0,t0,vYc];
$9.\u0275fac=function(a){return new (a||$9)(C(Se),C(kH),C(nH),C(iE),C(CG),C(ds),C(NF),C(yE),C(WG),C(OG),C(KF),C(oH),C($X),C(b1),C(tX),C(BI),C(P0),C(R0),C(DG),C(tF),C(LI),C(ZJ),C(JL),C(ZU),C(OF),C(YI),C(xF),C(SF),C($G),C(tH),C(P1))};
$9.\u0275cmp=Bc({type:$9,selectors:[["view-hotlist-page"]],features:[Cf([kH]),Ye],decls:9,vars:11,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-hotlist-grid"],["class","bv2-view-hotlist-title",4,"ngIf"],["class","bv2-view-loading",
4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-hotlist-title"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space","keydown.enter",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus",4,"ngIf"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space",
"keydown.enter"],[3,"starMessage","unStarMessage","starred","disabled"],["tabindex","-1",3,"bFocus"],["role","heading","aria-level","3"],[3,"matTooltip"],["class","hotlist-archived",4,"ngIf"],[1,"button-container"],["aria-label","Hotlist settings","matTooltip","Hotlist settings",1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed",4,"ngIf"],[1,"hotlist-archived"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],
["type","button","mat-flat-button","","matTooltip","Save changes to display preferences",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"gmat-button","medium",3,"click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop",
"onNextPage","onPrevPage"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"b-grid-controls",1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),H(),G(2,"div",2)(3,"b-pagination",3),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return Lkd(b,c.option)}),H()()(),G(4,"div",4),Q(5,$Gb,9,7,"div",5),Q(6,aHb,4,1,"div",6),Q(7,bHb,2,2,"div",7),Q(8,cHb,2,5,"div",8),H());a&2&&(z(1),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),z(2),F("searchResults",b.searchResults),z(1),bf("aria-busy",b.isLoading),z(1),F("ngIf",!b.isInitializing),z(1),F("ngIf",b.isLoading),z(1),F("ngIf",!b.isLoading&&!b.hasResults()),z(1),F("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[w0,d1,XS,p0,ZB,tw,zL,IT,Yz],encapsulation:2});var a$=function(){};a$.\u0275fac=function(a){return new (a||a$)};a$.\u0275mod=Dc({type:a$});a$.\u0275inj=nc({imports:[M0,f1,eT,a1,XC,BF,eN,JT,wC]});var b$=function(a,b,c,d,e,g,h,l,q,x,A,B,K,O,P,Y,X,ka,ma,ya,Aa,Ma,Ra,Ta,Lb,qb,Ya,wa,Ka,Na){l9.call(this,a,b,c,d,g,h,l,x,e,A,B,K,O,P,Y,X,ka,ma,Ta,ya,Aa,Ya,wa,Ka,Na);this.savedSearchApi=q;this.hotkeys=Ma;this.pageTitle=Ra;this.userAccess=qb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Lb.savedSearchId};U(b$,l9);b$.\u0275dir=l9.\u0275dir;f=b$.prototype;
f.ngOnInit=function(){var a=this;l9.prototype.ngOnInit.call(this);this.subscriptions.add(KL(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(mSc(this.appSearchState,function(b){a.savedSearch?Q0(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;yF(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;aY(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:Dkd(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;aY(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=Lh(d);d.returnUrl=b.bLocation.url();d.trackerIds=b.appSearchState.currentTrackerScope;
return cRc(b.issuePagination,d)});c.then(function(d){Jkd(b,d)}).catch(function(d){"number"===typeof d?Q0(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return yn({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;LF(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){LF(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;Q0(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");Q0(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))};
b$.\u0275fac=function(a){return new (a||b$)(C(kH),C(nH),C(iE),C(CG),C(ds),C(NF),C(yE),C(WG),C(HS),C(OG),C(KF),C(oH),C($X),C(tX),C(BI),C(P0),C(R0),C(DG),C(tF),C(LI),C(ZJ),C(JL),C(ZU),C(OF),C(YI),C(xF),C(SF),C($G),C(tH),C(P1))};
b$.\u0275cmp=Bc({type:b$,selectors:[["view-saved-search-page"]],features:[Cf([kH]),Ye],decls:9,vars:7,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],[4,"ngIf"],[1,"bv2-view-savedsearch-title-text"],["role","heading","aria-level","3",4,"ngIf"],["role","heading","aria-level","3"],[3,"matTooltip"],["aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed",4,"ngIf"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-savedsearch-save-form"],["type","button","mat-flat-button",
"","matTooltip","Save changes to display preferences and search query",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"gmat-button","medium",3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"href","click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",
4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(G(0,"div",0)(1,"b-grid-controls",1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",
function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),H(),G(2,"div",2)(3,"b-pagination",3),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return Lkd(b,c.option)}),H()()(),G(4,"div",4)(5,"div",5),Q(6,hHb,4,3,"div",6),Q(7,iHb,8,1,"div",7),H(),Q(8,nHb,4,3,"div",8),H());a&2&&(z(1),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),z(2),F("searchResults",b.searchResults),
z(1),bf("aria-busy",b.isLoading),z(2),F("ngIf",!b.isInitializing),z(1),F("ngIf",b.hasParamChanges()),z(1),F("ngIf",b.savedSearch))},dependencies:[w0,d1,p0,tw,ZB,zL,IT,Yz],encapsulation:2});var c$=function(){};c$.\u0275fac=function(a){return new (a||c$)};c$.\u0275mod=Dc({type:c$});c$.\u0275inj=nc({imports:[M0,f1,a1,BF,XC,eN,JT,wC]});var dmd=function(){};dmd.\u0275fac=function(a){return new (a||dmd)};
dmd.\u0275cmp=Bc({type:dmd,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&&(G(0,"div",0)(1,"div",1)(2,"div",2),R(3,"My Work"),H(),G(4,"div",3)(5,
"a",4),R(6,"Learn more at go/task-mission-control"),H(),G(7,"a",5),R(8,"Give feedback"),H()()(),G(9,"div",6),I(10,"tp-task-section",7)(11,"tp-task-section",7),H()());a&2&&(z(10),F("isMyWork",!0),z(1),F("isMyWork",!1))},dependencies:[iV,aV,Iz],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 emd={path:"issues/:issueId",component:C8,children:[{path:"",pathMatch:"full",component:W8},{path:"dependencies",component:U7},{path:"dupes",component:E8},{path:"blocking",component:J7},{path:"resources",component:Akd}].concat(Pc(cs("enableCodeMentionsUi",{path:"todos",component:j9})))},fmd=[{path:"",component:D6,canActivateGuards:[L6]},{path:"issues",component:m9},{path:"recent",component:o9}].concat(Pc(cs("enableTaskPrioritization",{path:"work",component:dmd,canActivateGuards:[J6,K6]})),Pc(cs("showNeedsAttentionUI",
{path:"attention",component:M9,canActivateGuards:[J6,K6]})),[{path:"issues/new",component:y7}],Pc(cs("enableChromeWizard",{path:"issues/wizard",component:b7})),[emd,{path:"components/all",component:g6},{path:"components",component:d7},{path:"components/new",component:g7},{path:"components/:componentId/edit",component:I9},{path:"components/:componentId",component:I9},{path:"components/:componentId/manage",component:I9},{path:"teams/:teamId/edit",component:J9},{path:"teams/:teamId",component:J9},{path:"bookmark-groups/new",
component:f7},{path:"bookmark-groups/:groupId",component:Y9},{path:"bookmark-groups/:groupId/edit",component:E7},{path:"hotlists/new",component:h7},{path:"hotlists/:hotlistId",component:$9},{path:"hotlists/:hotlistId/edit",component:E0},{path:"slos/new",component:A7},{path:"slos/:sloId",component:I7},{path:"slos/:sloId/edit",component:I7},{path:"savedsearches/:savedSearchId/edit",component:F7},{path:"hotlists",component:k9},{path:"slos",component:p9},{path:"savedsearches/:savedSearchId",component:b$},
{path:"dashboard/:groupId",component:C7},{path:"settings/:settingsTab?",component:X9},{path:"settings",component:X9}],Pc(cs("enableHomepageVariantA",{path:"dash",component:mV})),[{path:"**",component:D6,canActivateGuards:[L6]}]);var d$=function(){};d$.\u0275fac=function(a){return new (a||d$)};d$.\u0275mod=Dc({type:d$});d$.\u0275inj=nc({imports:[BF,$B,TM,BG,wC]});var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Dc({type:e$});e$.\u0275inj=nc({imports:[BF,$B,kO,JM,BO,d$]});var f$=function(){};f$.\u0275fac=function(a){return new (a||f$)};f$.\u0275mod=Dc({type:f$});f$.\u0275inj=nc({imports:[aN,BF,wC,$B,oV,JM,XC,e7,BG,$M]});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Dc({type:g$});g$.\u0275inj=nc({imports:[BF,NL,wC,pA]});var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};h$.\u0275mod=Dc({type:h$});h$.\u0275inj=nc({imports:[BF,wC,SB,$B,BG]});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Dc({type:i$});i$.\u0275inj=nc({imports:[AO,BF,e8,NL,h$,wC,LS,$B,SB,XC,t1,Z0,lT,g$]});var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=Dc({type:j$});j$.\u0275inj=nc({imports:[BF,NL,wC,$B,XC]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=Dc({type:k$});k$.\u0275inj=nc({imports:[BF,$B,qO,JM]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Dc({type:l$});l$.\u0275inj=nc({imports:[k$,BF,XC,fO,kT,$B,wC,eN,sO,Z0]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=Dc({type:m$});m$.\u0275inj=nc({imports:[e$,aN,BF,f$,hZ,NL,JM,UM,hT,d$,wC,LS,$B,XC,BG,eT,WM,pV,j$,i$,l$]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=Dc({type:n$});n$.\u0275inj=nc({imports:[BF,wC]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=Dc({type:o$});o$.\u0275inj=nc({imports:[BF,IM,wC,$B,XC]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Dc({type:p$});p$.\u0275inj=nc({imports:[Hw]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=Dc({type:q$});q$.\u0275inj=nc({imports:[Hw,ox,a6,p$]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Dc({type:r$});r$.\u0275inj=nc({imports:[BF,zO,q$]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Dc({type:s$});s$.\u0275inj=nc({imports:[oJ,GZ,BF,KZ,EZ,c6,$5,NL,JM,h$,BO,f6,IZ,o8,$B,XC,eO,I5,r$,rO,gY,xC]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Dc({type:t$});t$.\u0275inj=nc({imports:[BF,hy,uy,ox,px,BG,wC,pA,xM,fN,dz,XC,yX,eO,m$,t4,Z0,sO,kO,s$,B8,o$,n$]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Dc({type:u$});u$.\u0275inj=nc({imports:[BF,i6]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Dc({type:v$});v$.\u0275inj=nc({imports:[BF,hy,uy,ox,px,BG,wC,xM,fN,eO,AO,t$,h9,W7,K7,F8,u$,i9]});var gmd=fmd.map(function(a){return{path:a.path,component:a.component,canDeactivate:[XO],canActivate:[G6,I6].concat(Pc(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});gmd.push({path:"**",canActivate:["dontActivate"],component:D6,isRootRoute:!0});var hmd=jl().appBaseHref,imd,w$={initialNavigation:"disabled"},jmd={provide:Gdc,useFactory:function(){return"guarded"},deps:[[vG,new ov,new pv]]},kmd;
kmd=(null==w$?0:w$.preloadingStrategy)?bya(0,[{provide:Fdc,useExisting:zG},{provide:vdc,useExisting:w$.preloadingStrategy}]).\u0275providers:[];var lmd;
(null==w$?0:w$.initialNavigation)?lmd=["disabled"===w$.initialNavigation?bya(3,[{provide:yRb,multi:!0,useFactory:function(){var a=wc(vG);return function(){jdc(a)}}},{provide:Edc,useValue:2}]).\u0275providers:[],"enabledBlocking"===w$.initialNavigation?bya(2,[{provide:Edc,useValue:0},{provide:yRb,multi:!0,deps:[qv],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(vG),e=a.get(Ddc);Zxa(d,function(){c(!0)});
a.get(pG).afterPreactivation=function(){c(!0);return e.closed?(0,E.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:lmd=[];
imd={ngModule:BG,providers:[Hdc,[],{provide:Wcc,multi:!0,useValue:[]},jmd,{provide:fdc,useValue:w$?w$:{}},(null==w$?0:w$.useHash)?{provide:Mw,useClass:Ow}:{provide:Mw,useClass:Nw},{provide:zdc,useFactory:function(){var a=wc(LTb),b=wc(Se),c=wc(fdc),d=wc(pG),e=wc(hG);c.scrollOffset&&a.setOffset(c.scrollOffset);return new AG(e,d,a,b,c)}},kmd,{provide:VSb,multi:!0,useFactory:function(){return new VSb("Router",vG)}},lmd,(null==w$?0:w$.bindToComponentInputs)?bya(8,[nG,{provide:vcc,useExisting:nG}]).\u0275providers:
[],[{provide:Idc,useFactory:function(){var a=wc(qv);return function(b){var c=a.get(kw);if(b===c.components[0]){b=a.get(vG);var d=a.get(Ddc);1===a.get(Edc)&&b.initialNavigation();var e;null==(e=a.get(Fdc,null,8))||wdc(e);var g;null==(g=a.get(zdc,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:Idc}]]};
var x$=function(a,b){a.config=gmd.map(nxa);a.navigated=!1;a.lastSuccessfulId=-1;a.initialNavigation();Ohc(b)};x$.\u0275fac=function(a){return new (a||x$)(u(vG),u(XI))};x$.\u0275mod=Dc({type:x$});x$.\u0275inj=nc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:sG,useClass:F6},{provide:KTb,useValue:hmd},I6,G6],imports:[imd,E6,v$,BG]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=Dc({type:y$});y$.\u0275inj=nc({providers:[{provide:OEc,useFactory:oHb},{provide:WFc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:NEc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var z$={},mmd=(z$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],z$.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"}],z$.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?"}}]}],z$.APPS=[{type:"INPUT",question:fn(cn("What is the link to that software in "),
pHb("the Chrome Webstore","https://chrome.google.com/webstore"),cn("?")),answerPrefix:"Webstore page: "}],z$.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:fn(cn("What is the link to that software in "),pHb("the Chrome Webstore","https://chrome.google.com/webstore"),
cn("?")),answerPrefix:"WebStore page: "}],z$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],z$.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"]}],z$.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"]}],z$.API=[{type:"SELECT",question:fn(cn("Which "),
pHb("component","https://bugs.chromium.org/p/chromium/adminComponents"),cn(" 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"}}]}],z$);var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=Dc({type:A$});A$.\u0275inj=nc({imports:[sz,sz]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Dc({type:B$});B$.\u0275inj=nc({providers:[thd,xz],imports:[sz,Hw,Hx,T6,$B,Cz,sz]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Dc({type:C$});C$.\u0275inj=nc({providers:[{provide:ihd,useValue:mmd}],imports:[N_,BF,ox,wC,A$,fO,$B,BA,gN,jO,B$,Q_]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Dc({type:D$});D$.\u0275inj=nc({imports:[BF,wC,XC,$B,HF,ox,px,G0]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Dc({type:E$});E$.\u0275inj=nc({imports:[gS,BF,G0,JT,ox,bN,XC,fO,x1,oV]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Dc({type:F$});F$.\u0275inj=nc({imports:[BF,wC,XC,$B,HF,ox,px,G0]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Dc({type:G$});G$.\u0275inj=nc({imports:[gS,bN,eN,BF,BO,JM,wC,$B]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Dc({type:H$});H$.\u0275inj=nc({imports:[Hw,ox,sA,a6,px]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Dc({type:I$});I$.\u0275inj=nc({imports:[gS,P_,kO,zR,ZY,b6,yA,JT,ox,dT,S_,bN,Y_,IZ,G$,wC,pA,x7,$B,SB,kT,XC,b6,oJ,px,H$,oV,BF,ez,Q_,Z_]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Dc({type:J$});J$.\u0275inj=nc({imports:[gS,BF,G0,JT,ox,bN,XC,J1]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Dc({type:K$});K$.\u0275inj=nc({imports:[BF,XC,wC,xM,G0,dT,S_,hY,HF,pA,$B,ox,px,SB,K0]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=Dc({type:L$});L$.\u0275inj=nc({imports:[pA,fO,BF,rz,$B,wC,kO,uT,Q_]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=Dc({type:M$});M$.\u0275inj=nc({imports:[BF,XC,wC,xM,G0,HF,pA,$B,ox,px,SB,K0]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Dc({type:N$});N$.\u0275inj=nc({imports:[gS,BF,G0,ox,fN,bN,xM,XC,K0,fO,J1,eN]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Dc({type:O$});O$.\u0275inj=nc({imports:[BF,O0,eN,wC]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Dc({type:P$});P$.\u0275inj=nc({imports:[BF,wC,$B,L1,eN]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Dc({type:Q$});Q$.\u0275inj=nc({imports:[BF,rZ,l1]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Dc({type:R$});R$.\u0275inj=nc({imports:[BF,kT]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Dc({type:S$});S$.\u0275inj=nc({imports:[BF,sO,ox,xM,zO,K0,bN,x7,wC,fO,$B,XC,pA,$M,eN]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Dc({type:T$});T$.\u0275inj=nc({});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Dc({type:U$});U$.\u0275inj=nc({imports:[gS,BF,sO,rZ,jZ,x5,E5,J5,a0,G0,O5,ox,T$,fN,bN,$B,wC,fO,pA,jO,kT,xM,XC,K0,R$,x1,S$,$M,BG,ez,Q$,v1,eN,oV,YM,o$]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Dc({type:V$});V$.\u0275inj=nc({imports:[BF,G0,ox,T$,fN,wC,fO,$B,xM,XC,kT,K0,BG,$M,ez,v1,l1]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Dc({type:W$});W$.\u0275inj=nc({imports:[jO,BF,ox]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Dc({type:X$});X$.\u0275inj=nc({providers:[{provide:Nmc,useValue:{enabled:!0}}],imports:[Y4,yX,BF,ox,fN,fO,wC,wC,pA,$B,jO,BA,kT,sN,SB,xM,XC,XC,AZ,oJ,lT,W$,eN,zR]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Dc({type:Y$});Y$.\u0275inj=nc({imports:[BF,ox,XC,yA,BA]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Dc({type:Z$});Z$.\u0275inj=nc({imports:[BF,HF,wC,$B]});var nmd=function(){};nmd.prototype.send=function(a,b){zza(a);return this.makeRequest(a).then(function(c){return b?vza(b,c):c})};var es=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};U(es,nmd);es.prototype.getGapi=function(){var a=this;return PGa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return VGa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
es.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return de(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):d.yield(UGa(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})))})})};
es.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)})})};es.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&SGa(a,b,this.gapiConfigUpdates[b])};es.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var omd={disableCheatSheet:!0};omd=void 0===omd?{}:omd;
var pmd=[BF,zY,wO,hy,uy,VY,Y_,UY,oX,bN,iY,AZ,qX,x1,eT,kY,UM,gS,V0,MZ,iX,o5,p6,PS,EZ,IZ,KZ,mZ,AO,J$,N$,P$,O$,D7,n9,a$,c$,E$,U$,V$,Z9,O0,L1,a0,Q5,i6,X0,CZ,M0,U_,r6,p5,K5,q5,j6,h1,j1,NP,f1,R_,qY,yX,kO,uT,L$,NO,hX,q1,hY,GZ,t1,N1,Y0,Z0,h6,Q4,eN,CY,LR,Y$,WM,O4,J5,Z$,O5,t4,zO,sO,IM,X$,Y4,JS,SM,wS,zS,J1,v1,xS,G0,s5,D$,F$,D5,B1,yZ,rZ,sZ,jZ,yS,a1,OZ,I0,c6,S_,H1,z1,f6,E5,WY,$Y,K0,L0,P_,x5,K$,zX,M$,I$,aZ,t$,Z1,y$,$B,dy,{ngModule:YC,providers:[{provide:P3b,useFactory:function(){var a=jl().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[qv]}]},{ngModule:QM,providers:[pI,{provide:Bgc,useFactory:function(a){return new qHb(new Vnc("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},Xnc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[Wnc]},{provide:Wnc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:p$,providers:[p8,{provide:Mjd,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:Ged,autocompleteFactory:W6c}}}]},{ngModule:FL,providers:[EL,{provide:qmc,useValue:omd}]}];jl().config.enabledFlags.get("enableChromeWizard")&&pmd.push(C$);
var qmd=[Tgd,d0c,e0c,f0c,g0c,QQc,Dec,{provide:Tmc,useValue:{animationDuration:"0ms"}},{provide:u3b,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:K3b,useValue:{disableTooltipInteractivity:!0}},{provide:xpc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:Apc,useValue:"92912"},{provide:ijc,useFactory:rHb},Ugd,chd,dhd,ehd],jw=function(){};jw.prototype.ngDoBootstrap=function(){uh("bootstrapping AppModule")};
jw.\u0275fac=function(a){return new (a||jw)};jw.\u0275mod=Dc({type:jw,bootstrap:[yY,n6]});jw.\u0275inj=nc({providers:[].concat(Pc(qmd)),imports:[pmd,x$,BX]});VA(document,"DOMContentLoaded",function(){YSb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/nJ4XF/b96Luc/M79aPc/ZGAB2e/n90YA/dSirkf',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
