????

Your IP : 216.73.216.152


Current Path : C:/Program Files/Google/Drive File Stream/110.0.2.0/html/
Upload File :
Current File : C:/Program Files/Google/Drive File Stream/110.0.2.0/html/device_dialog.bin

(function(){'use strict';var n;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function ca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var p=ca(this);function q(a,b){if(b)a:{var c=p;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&&b!=null&&ba(c,a,{configurable:!0,writable:!0,value:b})}}
q("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.j=f;ba(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.j};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
q("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=p[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return da(aa(this))}})}return a});function da(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
var ea=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},fa=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=ea(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),ha;if(typeof Object.setPrototypeOf=="function")ha=Object.setPrototypeOf;else{var ia;a:{var ja={a:!0},ka={};try{ka.__proto__=ja;ia=ka.a;break a}catch(a){}ia=!1}ha=ia?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var la=ha;
function r(a,b){a.prototype=ea(b.prototype);a.prototype.constructor=a;if(la)la(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.fh=b.prototype}function u(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}
function w(a){if(!(a instanceof Array)){a=u(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function ma(a){return na(a,a)}function na(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}function oa(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var pa=typeof Object.assign=="function"?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)oa(d,e)&&(a[e]=d[e])}return a};
q("Object.assign",function(a){return a||pa});function qa(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}q("globalThis",function(a){return a||p});q("Reflect",function(a){return a?a:{}});q("Reflect.construct",function(){return fa});q("Reflect.setPrototypeOf",function(a){return a?a:la?function(b,c){try{return la(b,c),!0}catch(d){return!1}}:null});q("Object.setPrototypeOf",function(a){return a||la});
q("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
q("WeakMap",function(a){function b(k){this.j=(h+=Math.random()+1).toString();if(k){k=u(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;return l==="object"&&k!==null||l==="function"}function e(k){if(!oa(k,g)){var l=new c;ba(k,g,{value:l})}}function f(k){var l=Object[k];l&&(Object[k]=function(m){if(m instanceof c)return m;Object.isExtensible(m)&&e(m);return l(m)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}),
m=new a([[k,2],[l,3]]);if(m.get(k)!=2||m.get(l)!=3)return!1;m.delete(k);m.set(l,4);return!m.has(k)&&m.get(l)==4}catch(t){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!oa(k,g))throw Error("WeakMap key fail: "+k);k[g][this.j]=l;return this};b.prototype.get=function(k){return d(k)&&oa(k,g)?k[g][this.j]:void 0};b.prototype.has=function(k){return d(k)&&oa(k,
g)&&oa(k[g],this.j)};b.prototype.delete=function(k){return d(k)&&oa(k,g)&&oa(k[g],this.j)?delete k[g][this.j]:!1};return b});
q("Map",function(a){function b(){var h={};return h.ua=h.next=h.head=h}function c(h,k){var l=h[1];return da(function(){if(l){for(;l.head!=h[1];)l=l.ua;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(h,k){var l=k&&typeof k;l=="object"||l=="function"?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var m=h[0][l];if(m&&oa(h[0],l))for(h=0;h<m.length;h++){var t=m[h];if(k!==k&&t.key!==t.key||k===t.key)return{id:l,list:m,index:h,entry:t}}return{id:l,
list:m,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=u(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),k=new a(u([[h,"s"]]));if(k.get(h)!="s"||k.size!=1||k.get({x:4})||k.set({x:4},"t")!=k||k.size!=2)return!1;var l=k.entries(),m=l.next();if(m.done||m.value[0]!=h||m.value[1]!="s")return!1;m=l.next();return m.done||m.value[0].x!=
4||m.value[1]!="t"||!l.next().done?!1:!0}catch(t){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,k){h=h===0?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.entry?l.entry.value=k:(l.entry={next:this[1],ua:this[1].ua,head:this[1],key:h,value:k},l.list.push(l.entry),this[1].ua.next=l.entry,this[1].ua=l.entry,this.size++);return this};e.prototype.delete=function(h){h=d(this,h);return h.entry&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],h.entry.ua.next=
h.entry.next,h.entry.next.ua=h.entry.ua,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].ua=b();this.size=0};e.prototype.has=function(h){return!!d(this,h).entry};e.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};e.prototype.keys=function(){return c(this,function(h){return h.key})};e.prototype.values=function(){return c(this,function(h){return h.value})};e.prototype.forEach=
function(h,k){for(var l=this.entries(),m;!(m=l.next()).done;)m=m.value,h.call(k,m[1],m[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});
q("Set",function(a){function b(c){this.j=new Map;if(c){c=u(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(u([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||
f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.j.set(c,c);this.size=this.j.size;return this};b.prototype.delete=function(c){c=this.j.delete(c);this.size=this.j.size;return c};b.prototype.clear=function(){this.j.clear();this.size=0};b.prototype.has=function(c){return this.j.has(c)};b.prototype.entries=function(){return this.j.entries()};b.prototype.values=function(){return this.j.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})};return b});q("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)oa(b,d)&&c.push(b[d]);return c}});q("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
q("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});q("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)oa(b,d)&&c.push([d,b[d]]);return c}});
q("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});q("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});q("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});q("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});q("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});
q("String.prototype.startsWith",function(a){return a?a:function(b,c){if(this==null)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");var d=this.length,e=b.length;c=Math.max(0,Math.min(c|0,this.length));for(var f=0;f<e&&c<d;)if(this[c++]!=b[f++])return!1;return f>=e}});
function ra(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}q("Array.prototype.entries",function(a){return a?a:function(){return ra(this,function(b,c){return[b,c]})}});q("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});
q("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});q("Array.prototype.keys",function(a){return a?a:function(){return ra(this,function(b){return b})}});q("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var sa=this||self;function ta(a,b){function c(){}c.prototype=b.prototype;a.fh=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}};var ua;function va(a){sa.setTimeout(function(){throw a;},0)};function wa(a){wa[" "](a);return a}wa[" "]=function(){};function xa(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var ya=void 0;var za=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Ba(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var Ca=Ba("jas",void 0,!0),Da=Ba(void 0,"0di"),Ea=Ba(void 0,"1oa"),Fa=Ba(void 0,"0actk"),Ga=Ba("m_m","Sh",!0);var Ha={dh:{value:0,configurable:!0,writable:!0,enumerable:!1}},Ia=Object.defineProperties,x=za?Ca:"dh",Ja,Ka=[];La(Ka,7);Ja=Object.freeze(Ka);function Ma(a,b){za||x in a||Ia(a,Ha);a[x]|=b}function La(a,b){za||x in a||Ia(a,Ha);a[x]=b}function Na(a){Ma(a,34);return a}function Oa(a){Ma(a,32);return a};function Pa(){return typeof BigInt==="function"};var Qa={};function Ra(a,b){return b===void 0?a.j!==Sa&&!!(2&(a.D[x]|0)):!!(2&b)&&a.j!==Sa}var Sa={};function Ta(a,b,c){this.j=a;this.l=b;this.m=c}Ta.prototype.next=function(){var a=this.j.next();a.done||(a.value=this.l.call(this.m,a.value));return a};Ta.prototype[Symbol.iterator]=function(){return this};var Ua=Object.freeze({});function Va(a){a.Qh=!0;return a};var Wa=Va(function(a){return typeof a==="number"}),Xa=Va(function(a){return typeof a==="string"}),Ya=Va(function(a){return typeof a==="boolean"});var $a=typeof sa.BigInt==="function"&&typeof sa.BigInt(0)==="bigint";function ab(a){var b=a;if(Xa(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Wa(b)&&!Number.isSafeInteger(b))throw Error(String(b));return $a?BigInt(a):a=Ya(a)?a?"1":"0":Xa(a)?a.trim()||"0":String(a)}var gb=Va(function(a){return $a?a>=bb&&a<=cb:a[0]==="-"?db(a,eb):db(a,fb)}),eb=Number.MIN_SAFE_INTEGER.toString(),bb=$a?BigInt(Number.MIN_SAFE_INTEGER):void 0,fb=Number.MAX_SAFE_INTEGER.toString(),cb=$a?BigInt(Number.MAX_SAFE_INTEGER):void 0;
function db(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}};var y=0,hb=0;function ib(a){var b=a>>>0;y=b;hb=(a-b)/4294967296>>>0}function jb(a){if(a<0){ib(-a);var b=u(kb(y,hb));a=b.next().value;b=b.next().value;y=a>>>0;hb=b>>>0}else ib(a)}function lb(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Pa()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+mb(c)+mb(a));return c}
function mb(a){a=String(a);return"0000000".slice(a.length)+a}function nb(){var a=y,b=hb;b&2147483648?Pa()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=u(kb(a,b)),a=b.next().value,b=b.next().value,a="-"+lb(a,b)):a=lb(a,b);return a}function kb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var ob=typeof BigInt==="function"?BigInt.asIntN:void 0,pb=Number.isSafeInteger,qb=Number.isFinite,rb=Math.trunc;function sb(a){if(typeof a!=="boolean"){var b=typeof a;throw Error("Expected boolean but got "+(b!="object"?b:a?Array.isArray(a)?"array":b:"null")+": "+a);}return a}var tb=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function ub(a){switch(typeof a){case "bigint":return!0;case "number":return qb(a);case "string":return tb.test(a);default:return!1}}function vb(a){return a==null?a:qb(a)?a|0:void 0}
function wb(a){var b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337}
function xb(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return ab(ob(64,a));if(ub(a)){if(b==="string")if(b=rb(Number(a)),pb(b))a=ab(b);else if(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),Pa())a=ab(ob(64,BigInt(a)));else{if(!wb(a)){if(a.length<16)jb(Number(a));else if(Pa())a=BigInt(a),y=Number(a&BigInt(4294967295))>>>0,hb=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");hb=y=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)),hb*=1E6,y=y*1E6+d,y>=4294967296&&
(hb+=Math.trunc(y/4294967296),hb>>>=0,y>>>=0);b&&(b=u(kb(y,hb)),a=b.next().value,b=b.next().value,y=a,hb=b)}a=nb()}a=ab(a)}else if(pb(a)){a=rb(a);if(!pb(a)){jb(a);b=y;c=hb;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);e=c*4294967296+(b>>>0);b=Number.isSafeInteger(e)?e:lb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}a=ab(a)}else a=rb(a),pb(a)?a=String(a):(b=String(a),wb(b)?a=b:(jb(a),a=nb())),a=ab(a);return a}}function yb(a){return a==null||typeof a==="string"?a:void 0}
function zb(a,b,c,d){if(a!=null&&a[Ga]===Qa)return a;if(!Array.isArray(a))return c?d&2?((a=b[Da])||(a=new b,Na(a.D),a=b[Da]=a),b=a):b=new b:b=void 0,b;c=a[x]|0;d=c|d&32|d&2;d!==c&&La(a,d);return new b(a)}function Ab(a,b,c){if(b){if(typeof a!=="string")throw Error();return a}var d;return(d=yb(a))!=null?d:c?"":void 0};function Bb(a){return a};var Cb={},Eb=function(){try{var a=function(){return fa(Map,[],this.constructor)};r(a,Map);wa(new a);return!1}catch(b){return!0}}();function Fb(){this.j=new Map}n=Fb.prototype;n.get=function(a){return this.j.get(a)};n.set=function(a,b){this.j.set(a,b);this.size=this.j.size;return this};n.delete=function(a){a=this.j.delete(a);this.size=this.j.size;return a};n.clear=function(){this.j.clear();this.size=this.j.size};n.has=function(a){return this.j.has(a)};n.entries=function(){return this.j.entries()};
n.keys=function(){return this.j.keys()};n.values=function(){return this.j.values()};n.forEach=function(a,b){return this.j.forEach(a,b)};Fb.prototype[Symbol.iterator]=function(){return this.entries()};var z=function(){function a(){return fa(Map,[],this.constructor)}if(Eb)return Object.setPrototypeOf(Fb.prototype,Map.prototype),Object.defineProperties(Fb.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Fb;r(a,Map);return a}();function Gb(a){return a}
function Hb(a,b,c,d){c=c===void 0?Gb:c;d=d===void 0?Gb:d;var e=z.call(this)||this;e.Ua=a[x]|0;e.Oa=b;e.Pb=c;e.ef=e.Oa?Ib:d;for(var f=0;f<a.length;f++){var g=a[f],h=c(g[0],!1,!0),k=g[1];b?k===void 0&&(k=null):k=d(g[1],!1,!0,void 0,void 0,e.Ua);z.prototype.set.call(e,h,k)}return e}r(Hb,z);function Jb(a){if(a.Ua&2)throw Error("Cannot mutate an immutable Map");}n=Hb.prototype;n.clear=function(){Jb(this);z.prototype.clear.call(this)};
n.delete=function(a){Jb(this);return z.prototype.delete.call(this,this.Pb(a,!0,!1))};n.entries=function(){if(this.Oa){var a=z.prototype.keys.call(this);a=new Ta(a,Kb,this)}else a=z.prototype.entries.call(this);return a};n.values=function(){if(this.Oa){var a=z.prototype.keys.call(this);a=new Ta(a,Hb.prototype.get,this)}else a=z.prototype.values.call(this);return a};
n.forEach=function(a,b){this.Oa?z.prototype.forEach.call(this,function(c,d,e){a.call(b,e.get(d),d,e)}):z.prototype.forEach.call(this,a,b)};n.set=function(a,b){Jb(this);a=this.Pb(a,!0,!1);return a==null?this:b==null?(z.prototype.delete.call(this,a),this):z.prototype.set.call(this,a,this.ef(b,!0,!0,this.Oa,!1,this.Ua))};n.has=function(a){return z.prototype.has.call(this,this.Pb(a,!1,!1))};
n.get=function(a){a=this.Pb(a,!1,!1);var b=z.prototype.get.call(this,a);if(b!==void 0){var c=this.Oa;return c?(c=this.ef(b,!1,!0,c,this.Ng,this.Ua),c!==b&&z.prototype.set.call(this,a,c),c):b}};Hb.prototype[Symbol.iterator]=function(){return this.entries()};Hb.prototype.toJSON=void 0;function Ib(a,b,c,d,e,f){a=zb(a,d,c,f);e&&(a=Lb(a));return a}function Kb(a){return[a,this.get(a)]}var Mb;function Nb(){return Mb||(Mb=new Hb(Na([]),void 0,void 0,void 0,Cb))};function Ob(a,b,c,d){var e=d!==void 0;d=!!d;var f=[],g=a.length,h=4294967295,k=!1,l=!!(b&64),m=l?b&128?0:-1:void 0;if(!(b&1)){var t=g&&a[g-1];t!=null&&typeof t==="object"&&t.constructor===Object?(g--,h=g):t=void 0;if(l&&!(b&128)&&!e){k=!0;var v;h=((v=Pb)!=null?v:Bb)(h-m,m,a,t)+m}}b=void 0;for(e=0;e<g;e++)if(v=a[e],v!=null&&(v=c(v,d))!=null)if(l&&e>=h){var S=e-m,G=void 0;((G=b)!=null?G:b={})[S]=v}else f[e]=v;if(t)for(var P in t)a=t[P],a!=null&&(a=c(a,d))!=null&&(g=+P,e=void 0,l&&!Number.isNaN(g)&&
(e=g+m)<h?f[e]=a:(g=void 0,((g=b)!=null?g:b={})[P]=a));b&&(k?f.push(b):f[h]=b);return f}function Qb(a){a[0]=Rb(a[0]);a[1]=Rb(a[1]);return a}
function Rb(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return gb(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[x]|0;return a.length===0&&b&1?void 0:Ob(a,b,Rb)}if(a!=null&&a[Ga]===Qa)return Sb(a);if(a instanceof Hb)return a=a.size!==0?Array.from(z.prototype.entries.call(a),Qb):void 0,a;return}return a}var Pb;function Sb(a){a=a.D;return Ob(a,a[x]|0,Rb)};function A(a,b,c){var d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-8380417|(b&1023)<<13)}else{if(!Array.isArray(a))throw Error("narr");e=a[x]|0;2048&e&&!(2&e)&&Tb();if(e&256)throw Error("farr");if(e&64)return d!==0||e&2048||La(a,e|2048),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1,h=c[g];if(h!=null&&typeof h==="object"&&h.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var k in h)f=+k,f<g&&(c[f+b]=h[k],
delete h[k]);e=e&-8380417|(g&1023)<<13;break a}}if(b){k=Math.max(b,f-(e&128?0:-1));if(k>1024)throw Error("spvt");e=e&-8380417|(k&1023)<<13}}}e|=64;d===0&&(e|=2048);La(a,e);return a}function Tb(){if(Fa!=null){var a;var b=(a=ya)!=null?a:ya={};a=b[Fa]||0;a>=5||(b[Fa]=a+1,b=Error(),xa(b,"incident"),va(b))}};function Ub(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[x]|0;return a.length===0&&c&1?void 0:Vb(a,c,b)}if(a!=null&&a[Ga]===Qa)return Wb(a);if(a instanceof Hb){b=a.Ua;if(b&2)return a;if(a.size){c=Na(Array.from(z.prototype.entries.call(a)));if(a.Oa)for(a=0;a<c.length;a++){var d=c[a],e=d[1];e==null||typeof e!=="object"?e=void 0:e!=null&&e[Ga]===Qa?e=Wb(e):Array.isArray(e)?e=Vb(e,e[x]|0,!!(b&32)):e=void 0;d[1]=e}return c}}}
function Vb(a,b,c){if(b&2)return a;!c||4096&b||16&b?a=Xb(a,b,!1,c&&!(b&16)):(Ma(a,34),b&4&&Object.freeze(a));return a}function Yb(a,b,c){a=new a.constructor(b);c&&(a.j=Sa);a.l=Sa;return a}function Wb(a){var b=a.D,c=b[x]|0;return Ra(a,c)?a:Zb(a,b,c)?Yb(a,b):Xb(b,c)}function Xb(a,b,c,d){d!=null||(d=!!(34&b));a=Ob(a,b,Ub,d);d=32;c&&(d|=2);b=b&8380609|d;La(a,b);return a}function Lb(a){var b=a.D,c=b[x]|0;if(Ra(a,c)){var d;Zb(a,b,c)?d=Yb(a,b,!0):d=new a.constructor(Xb(b,c,!1));a=d}return a}
function $b(a){if(a.j!==Sa)return!1;var b=a.D;b=Xb(b,b[x]|0);Ma(b,2048);a.D=b;a.j=void 0;a.l=void 0;return!0}function ac(a){if(!$b(a)&&Ra(a,a.D[x]|0))throw Error();}function bc(a,b){b===void 0&&(b=a[x]|0);b&32&&!(b&4096)&&La(a,b|4096)}function Zb(a,b,c){return c&2?!0:c&32&&!(c&4096)?(La(b,c|2),a.j=Sa,!0):!1};var cc={};function dc(a,b,c,d){b=ec(a.D,b,c);if(b!==null||d&&a.l!==Sa)return b}function ec(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}}function fc(a,b,c){ac(a);var d=a.D;hc(d,d[x]|0,b,c);return a}
function hc(a,b,c,d){var e=c+-1,f=a.length-1;if(f>=0&&e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object)return g[c]=d,b}if(e<=f)return a[e]=d,b;if(d!==void 0){var h;f=((h=b)!=null?h:b=a[x]|0)>>13&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b}function ic(a,b,c){a=a.D;return jc(a,a[x]|0,b,c)!==void 0}function kc(a){return!!(2&a)&&!!(4&a)||!!(256&a)}
function lc(a){var b=mc;var c=a.D;var d=c[x]|0;var e=Ra(a,d);a:{!e&&$b(a)&&(c=a.D,d=c[x]|0);var f=ec(c,2);a=!1;if(f==null){if(e){c=Nb();break a}f=[]}else if(f.constructor===Hb)if(f.Ua&2&&!e)f=Array.from(z.prototype.entries.call(f));else{c=f;break a}else Array.isArray(f)?a=!!((f[x]|0)&2):f=[];if(e){if(!f.length){c=Nb();break a}a||(a=!0,Na(f))}else if(a){a=!1;f=Array.prototype.slice.call(f);for(var g=0;g<f.length;g++){var h=f[g]=Array.prototype.slice.call(f[g]);Array.isArray(h[1])&&(h[1]=Na(h[1]))}}!a&&
d&32&&Oa(f);f=new Hb(f,b,Ab,void 0);d=hc(c,d,2,f);a||bc(c,d);c=f}!e&&b&&(c.Ng=!0);return c}function nc(a,b,c,d){ac(a);a=a.D;var e=a[x]|0;if(d==null){var f=oc(a);if(pc(f,a,e,c)===b)f.set(c,0);else return}else{f=oc(a);var g=pc(f,a,e,c);g!==b&&(g&&(e=hc(a,e,g)),f.set(c,b))}hc(a,e,b,d)}function oc(a){if(za){var b;return(b=a[Ea])!=null?b:a[Ea]=new Map}if(Ea in a)return a[Ea];b=new Map;Object.defineProperty(a,Ea,{value:b});return b}
function pc(a,b,c,d){var e=a.get(d);if(e!=null)return e;for(var f=e=0;f<d.length;f++){var g=d[f];ec(b,g)!=null&&(e!==0&&(c=hc(b,c,e)),e=g)}a.set(d,e);return e}function jc(a,b,c,d){var e=!1;d=ec(a,d,void 0,function(f){var g=zb(f,c,!1,b);e=g!==f&&g!=null;return g});if(d!=null)return e&&!Ra(d)&&bc(a,b),d}function B(a,b,c){var d=a.D,e=d[x]|0;b=jc(d,e,b,c);if(b==null)return b;e=d[x]|0;if(!Ra(a,e)){var f=Lb(b);f!==b&&($b(a)&&(d=a.D,e=d[x]|0),b=f,e=hc(d,e,c,b),bc(d,e))}return b}
function qc(a,b,c,d,e,f,g){var h=Ra(a,c);e=h?1:e;f=!!f||e===3;h=g&&!h;(e===2||h)&&$b(a)&&(b=a.D,c=b[x]|0);a=ec(b,1);g=Array.isArray(a)?a:Ja;var k=g===Ja?7:g[x]|0;a=k;2&c&&(a|=2);var l=a|1;if(a=!(4&l)){var m=g,t=c,v=!!(2&l);v&&(t|=2);for(var S=!v,G=!0,P=0,Aa=0;P<m.length;P++){var Za=zb(m[P],d,!1,t);if(Za instanceof d){if(!v){var Db=Ra(Za);S&&(S=!Db);G&&(G=Db)}m[Aa++]=Za}}Aa<P&&(m.length=Aa);l|=4;l=G?l&-4097:l|4096;l=S?l|8:l&-9}l!==k&&(La(g,l),2&l&&Object.freeze(g));if(h&&!(8&l||!g.length&&(e===1||
(e!==4?0:2&l||!(16&l)&&32&c)))){kc(l)&&(g=Array.prototype.slice.call(g),l=rc(l,c),c=hc(b,c,1,g));d=g;h=l;for(k=0;k<d.length;k++)m=d[k],l=Lb(m),m!==l&&(d[k]=l);h|=8;l=h=d.length?h|4096:h&-4097;La(g,l)}d=g;h=g=l;e===1||(e!==4?0:2&g||!(16&g)&&32&c)?kc(g)||(g|=!d.length||a&&!(4096&g)||32&c&&!(4096&g||16&g)?2:256,g!==h&&La(d,g),Object.freeze(d)):(e===2&&kc(g)&&(d=Array.prototype.slice.call(d),h=0,g=rc(g,c),c=hc(b,c,1,d)),kc(g)||(f||(g|=16),g!==h&&La(d,g)));2&g||!(4096&g||16&g)||bc(b,c);return d}
function sc(a,b){var c=a.D;return qc(a,c,c[x]|0,b,void 0===Ua?2:4,!1,!0)}function tc(a){a==null&&(a=void 0);return a}function uc(a,b,c){c=tc(c);fc(a,b,c);c&&!Ra(c)&&bc(a.D);return a}function vc(a,b,c,d){d=tc(d);nc(a,b,c,d);d&&!Ra(d)&&bc(a.D)}function rc(a,b){return a=(2&b?a|2:a&-3)&-273}function wc(a,b,c){a=dc(a,b,void 0,c);return a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0}function xc(a,b,c){c=c===void 0?!1:c;var d;return(d=wc(a,b))!=null?d:c}
function C(a,b){return yb(dc(a,b,void 0,cc))}function yc(a,b,c){if(c!=null&&typeof c!=="string")throw Error();return fc(a,b,c)}function zc(a,b,c){if(c!=null){if(!qb(c))throw a=Error("enum"),xa(a,"warning"),a;c|=0}return fc(a,b,c)};function D(a,b,c){this.D=A(a,b,c)}D.prototype.toJSON=function(){return Sb(this)};D.prototype[Ga]=Qa;D.prototype.toString=function(){return this.D.toString()};function mc(a){this.D=A(a)}r(mc,D);function Ac(a){this.D=A(a)}r(Ac,D);function Bc(a){this.D=A(a)}r(Bc,D);function Cc(a){this.D=A(a)}r(Cc,D);var Dc=[1,2];function Ec(a){this.D=A(a)}r(Ec,D);Ec.prototype.jb=function(){return C(this,2)};Ec.prototype.ka=function(a){return yc(this,2,a)};function Fc(a){this.D=A(a)}r(Fc,D);var Gc=[1,2];function Hc(a){this.D=A(a)}r(Hc,D);function Ic(a){this.D=A(a)}r(Ic,D);var Jc=[1,2,3,4];function Kc(a){this.D=A(a)}r(Kc,D);Kc.prototype.ta=function(){return yb(dc(this,2))!=null};function Lc(a){this.D=A(a)}r(Lc,D);function Mc(a){return sc(a,Kc)}function Nc(a){return C(a,2)};function Oc(a){this.D=A(a)}r(Oc,D);function E(a){return B(a,Ac,4)};function Pc(a){this.D=A(a)}r(Pc,D);function Qc(a){this.D=A(a)}r(Qc,D);var Rc=[1,2,3,4];function Sc(a){this.D=A(a)}r(Sc,D);function Tc(){var a=new Sc,b=new Fc;return uc(a,4,b)}function Uc(){var a=new Sc,b=new Ic;return uc(a,5,b)};function Vc(a){this.D=A(a)}r(Vc,D);function Wc(a){this.D=A(a)}r(Wc,D);function Xc(a){this.D=A(a)}r(Xc,D);function Yc(a){this.D=A(a)}r(Yc,D);function F(a){return sc(a,Oc)};function Zc(a){this.D=A(a)}r(Zc,D);function $c(a){this.D=A(a)}r($c,D);function ad(a){this.D=A(a)}r(ad,D);function bd(a){this.D=A(a)}r(bd,D);var cd=function(a){return function(b){if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b=new a(Oa(b))}return b}}(bd);/*

 Copyright 2016 Google Inc.

 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.
*/
function H(a){this.j=a=a===void 0?{}:a}H.prototype.init=function(){};p.Object.defineProperties(H,{j:{configurable:!0,enumerable:!0,get:function(){return{}}},m:{configurable:!0,enumerable:!0,get:function(){return{}}},o:{configurable:!0,enumerable:!0,get:function(){return{}}},l:{configurable:!0,enumerable:!0,get:function(){return{}}}});/*

 Copyright Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
function dd(a){return{valueOf:a}.valueOf()};var ed=globalThis.trustedTypes,fd;function gd(){var a=null;if(!ed)return a;try{var b=function(c){return c};a=ed.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};var hd=dd(function(){return typeof URL==="function"}),id=["data:","http:","https:","mailto:","ftp:"],jd=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;function kd(a){this.j=a}kd.prototype.toString=function(){return this.j+""};function ld(a){var b;fd===void 0&&(fd=gd());a=(b=fd)?b.createHTML(a):a;return new kd(a)}function md(a){if(a instanceof kd)return a.j;throw Error("");};function nd(a){this.j=a}nd.prototype.toString=function(){return this.j};function od(a,b,c,d){if(a.length===0)throw Error("");a=a.map(function(f){if(f instanceof nd)f=f.j;else throw Error("");return f});var e=c.toLowerCase();if(a.every(function(f){return e.indexOf(f)!==0}))throw Error('Attribute "'+c+'" does not match any of the allowed prefixes.');b.setAttribute(c,d)};function pd(a){return a instanceof kd?a:ld(String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))}function qd(a){return rd(a)}function rd(a){var b=pd("");return ld(a.map(function(c){return md(pd(c))}).join(md(b).toString()))}
var sd=/^[a-z][a-z\d-]*$/i,td="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),ud="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),vd=["action","formaction","href"];function wd(a){if(!sd.test(a))throw Error("");if(td.indexOf(a.toUpperCase())!==-1)throw Error("");}
function xd(a,b,c){wd(a);var d="<"+a;b&&(d+=yd(b));Array.isArray(c)||(c=c===void 0?[]:[c]);ud.indexOf(a.toUpperCase())!==-1?d+=">":(b=qd(c.map(function(e){return e instanceof kd?e:pd(String(e))})),d+=">"+b.toString()+"</"+a+">");return ld(d)}
function yd(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!sd.test(e))throw Error("");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("");vd.indexOf(e.toLowerCase())!==-1&&(f=String(f),f=jd.test(f)?f:void 0,f=f||"about:invalid#zClosurez");e=e+'="'+pd(String(f))+'"';b+=" "+e}}return b};function zd(a){try{return new URL(a,window.document.baseURI)}catch(b){return new URL("about:invalid")}};function Ad(a,b){var c=b.createRange();c.selectNode(b.body);a=ld(a);return c.createContextualFragment(md(a))};function Bd(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function Cd(a){a=a.nodeType;return a===1||typeof a!=="number"};function Dd(a,b,c,d,e){this.o=a;this.j=b;this.v=c;this.l=d;this.m=e}function Ed(a,b,c){c=a.j.get(c);return(c==null?0:c.has(b))?c.get(b):a.v.has(b)?{S:1}:(c=a.l.get(b))?c:a.m&&[].concat(w(a.m)).some(function(d){return b.indexOf(d)===0})?{S:1}:{S:0}};var Fd=new Dd(new Set("ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" ")),
new Map([["A",new Map([["href",{S:2}]])],["AREA",new Map([["href",{S:2}]])],["LINK",new Map([["href",{S:5,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{S:5}],["srcset",{S:6}]])],["IMG",new Map([["src",{S:5}],["srcset",{S:6}]])],["VIDEO",new Map([["src",{S:5}]])],["AUDIO",new Map([["src",{S:5}]])]]),new Set("title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" ")),
new Map([["dir",{S:3,conditions:dd(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{S:3,conditions:dd(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{S:3,conditions:dd(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["target",{S:3,conditions:dd(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]]));function Gd(a){var b=Hd,c=document.implementation.createHTMLDocument("");a=Id(b,a,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("</"));return ld(c)}
function Id(a,b,c){b=Ad(b,c);b=document.createTreeWalker(b,5,function(h){if(h.nodeType===3)h=1;else if(Cd(h))if(h=Bd(h),h===null)h=2;else{var k=a.l;h=h!=="FORM"&&(k.o.has(h)||k.j.has(h))?1:2}else h=2;return h});for(var d=b.nextNode(),e=c.createDocumentFragment(),f=e;d!==null;){var g=void 0;if(d.nodeType===3)g=document.createTextNode(d.data);else if(Cd(d))g=Jd(a,d,c);else throw Error("");f.appendChild(g);if(d=b.firstChild())f=g;else for(;!(d=b.nextSibling())&&(d=b.parentNode());)f=f.parentNode}return e}
function Jd(a,b,c){var d,e=Bd(b);c=c.createElement(e);b=b.attributes;for(var f=u(b),g=f.next();!g.done;g=f.next()){var h=g.value;g=h.name;h=h.value;var k=Ed(a.l,g,e);a:{if(d=k.conditions){d=u(d);for(var l=d.next();!l.done;l=d.next()){var m=u(l.value);l=m.next().value;m=m.next().value;var t=void 0;if((l=(t=b.getNamedItem(l))==null?void 0:t.value)&&!m.has(l)){d=!1;break a}}}d=!0}if(d)switch(k.S){case 1:Kd(c,g,h);break;case 2:a:if(k=void 0,hd){try{k=new URL(h)}catch(v){k="https:";break a}k=k.protocol}else b:{k=
document.createElement("a");try{k.href=h}catch(v){k=void 0;break b}k=k.protocol;k=k===":"||k===""?"https:":k}Kd(c,g,k!==void 0&&id.indexOf(k.toLowerCase())!==-1?h:"about:invalid#zClosurez");break;case 3:Kd(c,g,h.toLowerCase());break;case 4:Kd(c,g,h);break;case 5:a.j?(k={type:2,attributeName:g,Tg:e},h=zd(h),(h=a.j(h,k))&&Kd(c,g,h.toString())):Kd(c,g,h);break;case 6:if(a.j){k={type:2,attributeName:g,Tg:e};d=[];h=u(h.split(","));for(l=h.next();!l.done;l=h.next())m=u(l.value.trim().split(/\s+/,2)),l=
m.next().value,m=m.next().value,d.push({url:l,qc:m});h={Ee:[]};d=u(d);for(l=d.next();!l.done;l=d.next())l=l.value,m=zd(l.url),(m=a.j(m,k))&&h.Ee.push({url:m.toString(),qc:l.qc});Kd(c,g,Ld(h))}else Kd(c,g,h)}}return c}function Kd(a,b,c){a.setAttribute(b,c)}function Ld(a){return a.Ee.map(function(b){var c=b.qc;return""+b.url+(c?" "+c:"")}).join(" , ")};function Md(){this.l=!1;this.j=Fd}function Nd(){Md.apply(this,arguments)}r(Nd,Md);var Od=ma(["aria-"]),Pd=ma(["role"]);function Qd(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function I(a,b){var c=qa.apply(2,arguments);this.root=a;this.Sa.apply(this,w(c));this.j=b===void 0?this.R():b;this.j.init();this.na()}I.prototype.Sa=function(){};I.prototype.R=function(){throw Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");};I.prototype.na=function(){};
function J(a,b,c){a.root.addEventListener(b,c,void 0)}function K(a,b,c,d){d=d===void 0?!1:d;if(typeof CustomEvent==="function")var e=new CustomEvent(b,{bubbles:d,detail:c});else e=document.createEvent("CustomEvent"),e.initCustomEvent(b,d,!1,c);a.root.dispatchEvent(e)}function Rd(a,b,c){b.toLowerCase()==="tabindex"?a.tabIndex=Number(c):b.indexOf("data-")===0?(b=Qd(b.replace(/^data-/,"")),a.dataset[b]=c):od([new nd(Od[0].toLowerCase()),new nd(Pd[0].toLowerCase())],a,b,c)};/*

 Copyright 2018 Google Inc.

 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 Sd={nd:"mdc-line-ripple--active",zb:"mdc-line-ripple--deactivating"};function Td(a){H.call(this,Object.assign({},Td.l,a));var b=this;this.l=function(c){var d=b.j.hasClass(Sd.zb);c.propertyName==="opacity"&&d&&(b.j.removeClass(Sd.nd),b.j.removeClass(Sd.zb))}}r(Td,H);Td.prototype.init=function(){this.j.Ka("transitionend",this.l)};
p.Object.defineProperties(Td,{j:{configurable:!0,enumerable:!0,get:function(){return Sd}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},V:function(){},Ka:function(){},Va:function(){}}}}});function Ud(){I.apply(this,arguments)}r(Ud,I);Ud.prototype.R=function(){var a=this;return new Td({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},V:function(b,c){a.root.style.setProperty(b,c)},Ka:function(b,c){J(a,b,c)},Va:function(b,c){a.root.removeEventListener(b,c,void 0)}})};/*

 Copyright 2019 Google Inc.

 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.
*/
function Vd(){var a=a===void 0?window:a;return Wd(a)?{passive:!0}:!1}function Wd(a){a=a===void 0?window:a;var b=!1;try{var c={get passive(){b=!0;return!1}},d=function(){};a.document.addEventListener("test",d,c);a.document.removeEventListener("test",d,c)}catch(e){b=!1}return b};function Xd(a,b){if(a.closest)return a.closest(b);for(;a;){if(Yd(a,b))return a;a=a.parentElement}return null}function Yd(a,b){return(a.matches||a.webkitMatchesSelector||a.msMatchesSelector).call(a,b)};var Zd={ad:"mdc-ripple-upgraded--background-focused",gd:"mdc-ripple-upgraded--foreground-activation",hd:"mdc-ripple-upgraded--foreground-deactivation",P:"mdc-ripple-upgraded",Ad:"mdc-ripple-upgraded--unbounded"},$d={Dg:"--mdc-ripple-fg-scale",Eg:"--mdc-ripple-fg-size",Fg:"--mdc-ripple-fg-translate-end",Gg:"--mdc-ripple-fg-translate-start",Hg:"--mdc-ripple-left",Ig:"--mdc-ripple-top"},ae={Ff:225,Jf:150,Rf:.6,ig:10,ug:300};var be;function ce(){var a=window;var b=b===void 0?!1:b;var c=a.CSS;if(typeof be==="boolean"&&!b)return be;if(!c||typeof c.supports!=="function")return!1;a=c.supports("--css-vars","yes");c=c.supports("(--css-vars: yes)")&&c.supports("color","#00000000");a=a||c;b||(be=a);return a};var de=["touchstart","pointerdown","mousedown","keydown"],ee=["touchend","pointerup","mouseup","contextmenu"],fe=[];function L(a){H.call(this,Object.assign({},L.l,a));var b=this;this.B=!1;this.G=this.F=0;this.I="0";this.l={width:0,height:0};this.O=this.A=this.m=0;this.C={left:0,top:0};this.o=ge();this.Ca=function(){b.B=!0;he(b)};this.oa=function(c){ie(b,c)};this.v=function(){je(b)};this.Ea=function(){ke(b)};this.Da=function(){le(b)};this.Ta=function(){b.layout()}}r(L,H);
L.prototype.init=function(){var a=this,b=this.j.Jd();me(this,b);if(b){b=L.j;var c=b.P,d=b.Ad;requestAnimationFrame(function(){a.j.addClass(c);a.j.U()&&(a.j.addClass(d),ne(a))})}};L.prototype.layout=function(){var a=this;this.A&&cancelAnimationFrame(this.A);this.A=requestAnimationFrame(function(){ne(a);a.A=0})};function ke(a){requestAnimationFrame(function(){a.j.addClass(L.j.ad)})}function le(a){requestAnimationFrame(function(){a.j.removeClass(L.j.ad)})}
function ge(){return{lc:void 0,ke:!1,Nb:!1,Dc:!1,Qc:!1,Pa:!1}}function me(a,b){if(b){b=u(de);for(var c=b.next();!c.done;c=b.next())a.j.T(c.value,a.oa);a.j.U()&&a.j.Ie(a.Ta)}a.j.T("focus",a.Ea);a.j.T("blur",a.Da)}function oe(a,b){if(b.type==="keydown")a.j.T("keyup",a.v);else{b=u(ee);for(var c=b.next();!c.done;c=b.next())a.j.He(c.value,a.v)}}function pe(a){a.j.pa("keyup",a.v);for(var b=u(ee),c=b.next();!c.done;c=b.next())a.j.Sd(c.value,a.v)}
function ie(a,b){if(!a.j.ve()){var c=a.o;if(!c.Nb){var d=a.W;d&&b!==void 0&&d.type!==b.type||(c.Nb=!0,c.Dc=b===void 0,c.lc=b,c.Qc=c.Dc?!1:b!==void 0&&(b.type==="mousedown"||b.type==="touchstart"||b.type==="pointerdown"),b!==void 0&&fe.length>0&&fe.some(function(e){return a.j.Nd(e)})?qe(a):(b!==void 0&&(fe.push(b.target),oe(a,b)),c.Pa=b!==void 0&&b.type==="keydown"?a.j.mb():!0,c.Pa&&re(a),requestAnimationFrame(function(){fe=[];c.Pa||b===void 0||b.key!==" "&&b.keyCode!==32||(c.Pa=b!==void 0&&b.type===
"keydown"?a.j.mb():!0,c.Pa&&re(a));c.Pa||(a.o=ge())})))}}}function re(a){var b=L.m,c=b.Gg;b=b.Fg;var d=L.j,e=d.hd;d=d.gd;var f=L.o.Ff;ne(a);var g="",h="";a.j.U()||(h=se(a),g=h.eh,h=h.Ug,g=g.x+"px, "+g.y+"px",h=h.x+"px, "+h.y+"px");a.j.Ma(c,g);a.j.Ma(b,h);clearTimeout(a.F);clearTimeout(a.G);te(a);a.j.removeClass(e);a.j.gb();a.j.addClass(d);a.F=setTimeout(function(){a.Ca()},f)}
function se(a){var b=a.o,c=b.lc;if(b.Qc){var d=a.j.he(),e=a.j.gb();c?(b=d.x+e.left,d=d.y+e.top,c.type==="touchstart"?(b=c.changedTouches[0].pageX-b,c=c.changedTouches[0].pageY-d):(b=c.pageX-b,c=c.pageY-d),c={x:b,y:c}):c={x:0,y:0}}else c={x:a.l.width/2,y:a.l.height/2};c={x:c.x-a.m/2,y:c.y-a.m/2};return{eh:c,Ug:{x:a.l.width/2-a.m/2,y:a.l.height/2-a.m/2}}}function he(a){var b=L.j.hd,c=a.o,d=c.Nb;!c.ke&&d||!a.B||(te(a),a.j.addClass(b),a.G=setTimeout(function(){a.j.removeClass(b)},ae.Jf))}
function te(a){a.j.removeClass(L.j.gd);a.B=!1;a.j.gb()}function qe(a){a.W=a.o.lc;a.o=ge();setTimeout(function(){return a.W=void 0},L.o.ug)}function je(a){var b=a.o;if(b.Nb){var c=Object.assign({},b);b.Dc?(requestAnimationFrame(function(){ue(a,c)}),qe(a)):(pe(a),requestAnimationFrame(function(){a.o.ke=!0;ue(a,c);qe(a)}))}}function ue(a,b){var c=b.Qc;b=b.Pa;(c||b)&&he(a)}
function ne(a){a.l=a.j.gb();var b=Math.max(a.l.height,a.l.width);a.O=a.j.U()?b:Math.sqrt(Math.pow(a.l.width,2)+Math.pow(a.l.height,2))+L.o.ig;b=Math.floor(b*L.o.Rf);a.j.U()&&b%2!==0?a.m=b-1:a.m=b;a.I=""+a.O/a.m;b=L.m;var c=b.Hg,d=b.Ig,e=b.Dg;a.j.Ma(b.Eg,a.m+"px");a.j.Ma(e,a.I);a.j.U()&&(a.C={left:Math.round(a.l.width/2-a.m/2),top:Math.round(a.l.height/2-a.m/2)},a.j.Ma(c,a.C.left+"px"),a.j.Ma(d,a.C.top+"px"))}
p.Object.defineProperties(L,{j:{configurable:!0,enumerable:!0,get:function(){return Zd}},m:{configurable:!0,enumerable:!0,get:function(){return $d}},o:{configurable:!0,enumerable:!0,get:function(){return ae}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},Jd:function(){return!0},gb:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},Nd:function(){return!0},Sd:function(){},pa:function(){},Pg:function(){},he:function(){return{x:0,y:0}},mb:function(){return!0},
ve:function(){return!0},U:function(){return!0},He:function(){},T:function(){},Ie:function(){},removeClass:function(){},Ma:function(){}}}}});function ve(){I.apply(this,arguments);this.disabled=!1}r(ve,I);function we(a){var b=b===void 0?{U:void 0}:b;a=new ve(a);b.U!==void 0&&(a.Oc=b.U);return a}
function xe(a){return{addClass:function(b){a.root.classList.add(b)},Jd:function(){return ce()},gb:function(){return a.root.getBoundingClientRect()},Nd:function(b){return a.root.contains(b)},Sd:function(b,c){document.documentElement.removeEventListener(b,c,Vd())},pa:function(b,c){a.root.removeEventListener(b,c,Vd())},Pg:function(b){window.removeEventListener("resize",b)},he:function(){return{x:window.pageXOffset,y:window.pageYOffset}},mb:function(){return Yd(a.root,":active")},ve:function(){return!!a.disabled},
U:function(){return!!a.Oc},He:function(b,c){document.documentElement.addEventListener(b,c,Vd())},T:function(b,c){a.root.addEventListener(b,c,Vd())},Ie:function(b){window.addEventListener("resize",b)},removeClass:function(b){a.root.classList.remove(b)},Ma:function(b,c){a.root.style.setProperty(b,c)}}}ve.prototype.layout=function(){this.j.layout()};ve.prototype.R=function(){return new L(xe(this))};ve.prototype.na=function(){this.U="mdcRippleIsUnbounded"in this.root.dataset};
p.Object.defineProperties(ve.prototype,{Oc:{configurable:!0,enumerable:!0,get:function(){return!!this.U},set:function(a){this.U=!!a;a=this.j;var b=L.j.Ad;this.U?a.j.addClass(b):a.j.removeClass(b)}}});var ye={Xf:"mdc-floating-label--float-above",Yf:"mdc-floating-label--required",xh:"mdc-floating-label--hide-required-marker",cc:"mdc-floating-label--shake",P:"mdc-floating-label"};function ze(a){H.call(this,Object.assign({},ze.l,a));var b=this;this.l=function(){b.j.removeClass(ze.j.cc)}}r(ze,H);ze.prototype.init=function(){this.j.T("animationend",this.l)};ze.prototype.qa=function(){return this.j.qa()};p.Object.defineProperties(ze,{j:{configurable:!0,enumerable:!0,get:function(){return ye}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},qa:function(){return 0},T:function(){},pa:function(){}}}}});function Ae(){I.apply(this,arguments)}r(Ae,I);Ae.prototype.qa=function(){return this.j.qa()};
Ae.prototype.R=function(){var a=this;return new ze({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},qa:function(){var b=a.root;if(b.offsetParent!==null)b=b.scrollWidth;else{b=b.cloneNode(!0);b.style.setProperty("position","absolute");b.style.setProperty("transform","translate(-9999px, -9999px)");document.documentElement.appendChild(b);var c=b.scrollWidth;document.documentElement.removeChild(b);
b=c}return b},T:function(b,c){J(a,b,c)},pa:function(b,c){a.root.removeEventListener(b,c,void 0)}})};var Be={eg:".mdc-notched-outline__notch"},Ce={dg:8},De={sd:"mdc-notched-outline--no-label",vd:"mdc-notched-outline--notched",hg:"mdc-notched-outline--upgraded"};/*

 Copyright 2017 Google Inc.

 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.
*/
function Ee(a){H.call(this,Object.assign({},Ee.l,a))}r(Ee,H);p.Object.defineProperties(Ee,{m:{configurable:!0,enumerable:!0,get:function(){return Be}},j:{configurable:!0,enumerable:!0,get:function(){return De}},o:{configurable:!0,enumerable:!0,get:function(){return Ce}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},Ze:function(){},Re:function(){}}}}});function Fe(){I.apply(this,arguments)}r(Fe,I);Fe.prototype.na=function(){this.l=this.root.querySelector(Be.eg);var a=this.root.querySelector("."+ze.j.P);a?(a.style.transitionDuration="0s",this.root.classList.add(De.hg),requestAnimationFrame(function(){a.style.transitionDuration=""})):this.root.classList.add(De.sd)};
Fe.prototype.R=function(){var a=this;return new Ee({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},Ze:function(b){a.l.style.setProperty("width",b+"px")},Re:function(){a.l.style.removeProperty("width")}})};var Ge={P:"mdc-text-field-character-counter"},He={Gb:"."+Ge.P};function Ie(a){H.call(this,Object.assign({},Ie.l,a))}r(Ie,H);Ie.prototype.Rb=function(a,b){a=Math.min(a,b);this.j.ka(a+" / "+b);this.j.Rb(a,b)};p.Object.defineProperties(Ie,{j:{configurable:!0,enumerable:!0,get:function(){return Ge}},m:{configurable:!0,enumerable:!0,get:function(){return He}},l:{configurable:!0,enumerable:!0,get:function(){return{ka:function(){},Rb:function(){}}}}});function Je(){I.apply(this,arguments)}r(Je,I);Je.prototype.R=function(){var a=this;return new Ie({ka:function(b){a.root.textContent=b},Rb:function(){}})};p.Object.defineProperties(Je.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var Ke={jh:"aria-controls",Wc:"aria-describedby",Sf:".mdc-text-field__input",yb:".mdc-floating-label",ag:".mdc-text-field__icon--leading",bg:".mdc-line-ripple",gg:".mdc-notched-outline",jg:".mdc-text-field__affix--prefix",Bh:".mdc-text-field__affix--suffix",xg:".mdc-text-field__icon--trailing"},Le={xb:"mdc-text-field--disabled",Lf:"mdc-text-field--focused",Nf:"mdc-text-field-helper-line",bc:"mdc-text-field--invalid",Wf:"mdc-text-field--label-floating",sd:"mdc-text-field--no-label",fg:"mdc-text-field--outlined",
P:"mdc-text-field",vg:"mdc-text-field--textarea",Ih:"mdc-text-field--with-leading-icon",Jh:"mdc-text-field--with-trailing-icon",Hh:"mdc-text-field--with-internal-counter"},Me={Zf:.75},Ne="pattern min max required step minlength maxlength".split(" "),Oe="color date datetime-local month range time week".split(" ");var Pe=["mousedown","touchstart"],Qe=["click","keydown"];
function Re(a,b){b=b===void 0?{}:b;H.call(this,Object.assign({},Re.l,a));var c=this;this.m=this.ba=!1;this.X=b.X;this.Fa=b.Fa;this.Ja=b.Ja;this.La=b.La;this.valid=!this.j.hasClass(Re.j.bc);this.v=function(){Se(c)};this.A=function(){c.ba=!1;c.j.Pd();Te(c,c.L().validity.valid);Ue(c,c.ba);c.j.ta()&&(c.xa(c.l),c.j.hb(c.l),Ve(c,c.l),c.j.tb(c.o));c.l||(c.m=!1)};this.B=function(){c.m||Se(c);We(c,c.L().value.length)};this.C=function(d){c.Sb(d)};this.G=function(){var d=c.j.L();d&&d.disabled||(c.m=!0)};this.I=
function(d){Xe(c,d)}}r(Re,H);Re.prototype.init=function(){this.j.ta()&&this.L().required&&this.j.Kc(!0);this.j.ba()?this.v():this.j.ta()&&this.l&&(this.xa(!0),this.j.hb(!0),Ve(this,!0));this.j.rb("focus",this.v);this.j.rb("blur",this.A);this.j.rb("input",this.B);for(var a=u(Pe),b=a.next();!b.done;b=a.next())this.j.rb(b.value,this.C);a=u(Qe);for(b=a.next();!b.done;b=a.next())this.j.Je(b.value,this.G);this.j.Ke(this.I);We(this,this.L().value.length)};
function Xe(a,b){b.some(function(c){return Ne.indexOf(c)>-1?(Te(a,!0),a.j.Kc(a.L().required),!0):!1});b.indexOf("maxlength")>-1&&We(a,a.L().value.length)}Re.prototype.xa=function(a){this.j.Ac()&&this.j.ta()&&(a?(a=this.j.be()*Me.Zf,this.j.xa(a)):this.j.Md())};function Se(a){a.ba=!0;Ue(a,a.ba);a.j.Cd();a.j.ta()&&(a.xa(a.l),a.j.hb(a.l),Ve(a,a.l),a.j.tb(a.o));!a.X||!a.X.j.hasClass(Ye.ld)&&a.X.j.hasClass(Ye.Zb)&&a.valid||a.X.j.removeAttr(Ze.Ba)}
Re.prototype.Sb=function(a){if(!this.L().disabled&&!this.j.Ac()){var b=a.touches;a=b?b[0]:a;b=a.target.getBoundingClientRect();this.j.We(a.clientX-b.left)}};function We(a,b){if(a.Fa){var c=a.L().maxLength;if(c===-1)throw Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");a.Fa.Rb(b,c)}}
function Te(a,b){var c=Re.j.bc;b?a.j.removeClass(c):a.j.addClass(c);if(a.X){c=a.X;var d=c.j.hasClass(Ye.ld);(b=c.j.hasClass(Ye.Zb)&&!b)?(c.j.removeAttr(Ze.Ba),c.j.Ha(Ze.eb)==="alert"?$e(c):c.j.va(Ze.eb,"alert")):c.j.removeAttr(Ze.eb);d||b||c.j.va(Ze.Ba,"true");a.X.j.hasClass(Ye.Zb)&&(b=a.X.isVisible(),c=a.X.j.Ha("id"),b&&c?a.j.Ve(Ke.Wc,c):a.j.Pe(Ke.Wc))}}function Ue(a,b){var c=Re.j.Lf;b?a.j.addClass(c):a.j.removeClass(c)}function Ve(a,b){var c=Re.j.Wf;b?a.j.addClass(c):a.j.removeClass(c)}
Re.prototype.L=function(){return(this.j?this.j.L():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}};p.Object.defineProperties(Re.prototype,{F:{configurable:!0,enumerable:!0,get:function(){return Oe.indexOf(this.L().type)>=0}},l:{configurable:!0,enumerable:!0,get:function(){return this.F||this.ba||!!this.L().value||this.L().validity.badInput||!1}},o:{configurable:!0,enumerable:!0,get:function(){return!this.ba&&!this.L().validity.valid&&!!this.L().value}}});
p.Object.defineProperties(Re,{j:{configurable:!0,enumerable:!0,get:function(){return Le}},m:{configurable:!0,enumerable:!0,get:function(){return Ke}},o:{configurable:!0,enumerable:!0,get:function(){return Me}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},Ve:function(){},Pe:function(){},Je:function(){},Qg:function(){},rb:function(){},Og:function(){},Ke:function(){return new MutationObserver(function(){})},Rg:function(){},
L:function(){return null},ba:function(){return!1},Cd:function(){},Pd:function(){},We:function(){},tb:function(){},hb:function(){},Kc:function(){},ta:function(){return!1},be:function(){return 0},Ac:function(){return!1},xa:function(){},Md:function(){}}}}});var Ye={ld:"mdc-text-field-helper-text--persistent",Zb:"mdc-text-field-helper-text--validation-msg",P:"mdc-text-field-helper-text"},Ze={Ba:"aria-hidden",eb:"role",Gb:"."+Ye.P};function af(a){H.call(this,Object.assign({},af.l,a))}r(af,H);af.prototype.isVisible=function(){return this.j.Ha(Ze.Ba)!=="true"};af.prototype.ka=function(a){this.j.ka(a)};function $e(a){a.j.removeAttr(Ze.eb);requestAnimationFrame(function(){a.j.va(Ze.eb,"alert")})}
p.Object.defineProperties(af,{j:{configurable:!0,enumerable:!0,get:function(){return Ye}},m:{configurable:!0,enumerable:!0,get:function(){return Ze}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},Ha:function(){return null},va:function(){},removeAttr:function(){},ka:function(){}}}}});function bf(){I.apply(this,arguments)}r(bf,I);bf.prototype.R=function(){var a=this;return new af({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},Ha:function(b){return a.root.getAttribute(b)},va:function(b,c){Rd(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},ka:function(b){a.root.textContent=b}})};p.Object.defineProperties(bf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var cf={Of:"MDCTextField:icon",Pf:"button"},df={P:"mdc-text-field__icon"};var ef=["click","keydown"];function ff(a){H.call(this,Object.assign({},ff.l,a));var b=this;this.l=null;this.m=function(c){var d=c.key==="Enter"||c.keyCode===13,e=c.key===" ";if(c.type==="click"||d||e)c.preventDefault(),b.j.ze()}}r(ff,H);ff.prototype.init=function(){this.l=this.j.Ha("tabindex");for(var a=u(ef),b=a.next();!b.done;b=a.next())this.j.T(b.value,this.m)};function gf(a,b){a.l&&(b?(a.j.va("tabindex","-1"),a.j.removeAttr("role")):(a.j.va("tabindex",a.l),a.j.va("role",cf.Pf)))}
ff.prototype.ka=function(a){this.j.ka(a)};p.Object.defineProperties(ff,{m:{configurable:!0,enumerable:!0,get:function(){return cf}},j:{configurable:!0,enumerable:!0,get:function(){return df}},l:{configurable:!0,enumerable:!0,get:function(){return{Ha:function(){return null},va:function(){},removeAttr:function(){},ka:function(){},T:function(){},pa:function(){},ze:function(){}}}}});function hf(){I.apply(this,arguments)}r(hf,I);hf.prototype.R=function(){var a=this;return new ff({Ha:function(b){return a.root.getAttribute(b)},va:function(b,c){Rd(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},ka:function(b){a.root.textContent=b},T:function(b,c){J(a,b,c)},pa:function(b,c){a.root.removeEventListener(b,c,void 0)},ze:function(){K(a,ff.m.Of,{},!0)}})};p.Object.defineProperties(hf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});function jf(){I.apply(this,arguments)}r(jf,I);
jf.prototype.Sa=function(a,b,c,d,e,f,g){a=a===void 0?function(k,l){return new ve(k,l)}:a;b=b===void 0?function(k){return new Ud(k)}:b;c=c===void 0?function(k){return new bf(k)}:c;d=d===void 0?function(k){return new Je(k)}:d;e=e===void 0?function(k){return new hf(k)}:e;f=f===void 0?function(k){return new Ae(k)}:f;g=g===void 0?function(k){return new Fe(k)}:g;this.input=this.root.querySelector(Ke.Sf);var h=this.root.querySelector(Ke.yb);this.label=h?f(h):null;this.l=(f=this.root.querySelector(Ke.bg))?
b(f):null;this.m=(b=this.root.querySelector(Ke.gg))?g(b):null;f=af.m;this.X=(f=(b=(g=this.root.nextElementSibling)&&g.classList.contains(Le.Nf))&&g&&g.querySelector(f.Gb))?c(f):null;c=Ie.m;f=this.root.querySelector(c.Gb);!f&&b&&g&&(f=g.querySelector(c.Gb));this.Fa=f?d(f):null;this.Ja=(d=this.root.querySelector(Ke.ag))?e(d):null;this.La=(d=this.root.querySelector(Ke.xg))?e(d):null;this.prefix=this.root.querySelector(Ke.jg);this.ca=kf(this,a)};jf.prototype.na=function(){this.disabled=this.input.disabled};
jf.prototype.layout=function(){this.j.xa(this.j.l)};jf.prototype.R=function(){var a=Object.assign({},lf(this),mf(this),nf(this),of(this),pf(this));return new Re(a,{Fa:this.Fa?this.Fa.l:void 0,X:this.X?this.X.l:void 0,Ja:this.Ja?this.Ja.l:void 0,La:this.La?this.La.l:void 0})};
function lf(a){return{addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},Je:function(b,c){J(a,b,c)},Qg:function(b,c){a.root.removeEventListener(b,c,void 0)},Ke:function(b){function c(e){return e.map(function(f){return f.attributeName}).filter(function(f){return f})}var d=new MutationObserver(function(e){b(c(e))});d.observe(a.input,{attributes:!0});return d},Rg:function(b){b.disconnect()}}}
function mf(a){return{L:function(){return a.input},Ve:function(b,c){Rd(a.input,b,c)},Pe:function(b){a.input.removeAttribute(b)},ba:function(){return document.activeElement===a.input},rb:function(b,c){a.input.addEventListener(b,c,Vd())},Og:function(b,c){a.input.removeEventListener(b,c,Vd())}}}
function nf(a){return{hb:function(b){if(a.label){var c=a.label.j,d=ze.j,e=d.Xf;d=d.cc;b?c.j.addClass(e):(c.j.removeClass(e),c.j.removeClass(d))}},be:function(){return a.label?a.label.qa():0},ta:function(){return!!a.label},tb:function(b){if(a.label){var c=a.label.j,d=ze.j.cc;b?c.j.addClass(d):c.j.removeClass(d)}},Kc:function(b){if(a.label){var c=a.label.j,d=ze.j.Yf;b?c.j.addClass(d):c.j.removeClass(d)}}}}
function of(a){return{Cd:function(){if(a.l){var b=a.l.j;b.j.removeClass(Sd.zb);b.j.addClass(Sd.nd)}},Pd:function(){a.l&&a.l.j.j.addClass(Sd.zb)},We:function(b){a.l&&a.l.j.j.V("transform-origin",b+"px center")}}}function pf(a){return{Md:function(){if(a.m){var b=a.m.j;b.j.removeClass(Ee.j.vd);b.j.Re()}},Ac:function(){return!!a.m},xa:function(b){if(a.m){var c=a.m.j,d=Ee.j.vd;b>0&&(b+=Ce.dg);c.j.Ze(b);c.j.addClass(d)}}}}
function kf(a,b){var c=a.root.classList.contains(Le.fg);if(a.root.classList.contains(Le.vg)||c)return null;c=Object.assign({},xe(a),{mb:function(){return Yd(a.input,":active")},T:function(d,e){a.input.addEventListener(d,e,Vd())},pa:function(d,e){a.input.removeEventListener(d,e,Vd())}});return b(a.root,new L(c))}
p.Object.defineProperties(jf.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.j.L().value},set:function(a){var b=this.j;b.L().value!==a&&(b.L().value=a);We(b,a.length);Te(b,b.L().validity.valid);b.j.ta()&&(b.xa(b.l),b.j.hb(b.l),Ve(b,b.l),b.j.tb(b.o))}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.j.L().disabled},set:function(a){var b=this.j;b.L().disabled=a;var c=Re.j,d=c.xb;c=c.bc;a?(b.j.addClass(d),b.j.removeClass(c)):b.j.removeClass(d);b.Ja&&gf(b.Ja,
a);b.La&&gf(b.La,a)}},valid:{configurable:!0,enumerable:!0,get:function(){return this.j.L().validity.valid},set:function(a){var b=this.j;b.valid=a;Te(b,a);a=!a&&!b.ba&&!!b.L().value;b.j.ta()&&b.j.tb(a)}},required:{configurable:!0,enumerable:!0,get:function(){return this.input.required},set:function(a){this.input.required=a}},pattern:{configurable:!0,enumerable:!0,get:function(){return this.input.pattern},set:function(a){this.input.pattern=a}},minLength:{configurable:!0,enumerable:!0,get:function(){return this.input.minLength},
set:function(a){this.input.minLength=a}},maxLength:{configurable:!0,enumerable:!0,get:function(){return this.input.maxLength},set:function(a){a<0?this.input.removeAttribute("maxLength"):this.input.maxLength=a}},min:{configurable:!0,enumerable:!0,get:function(){return this.input.min},set:function(a){this.input.min=a}},max:{configurable:!0,enumerable:!0,get:function(){return this.input.max},set:function(a){this.input.max=a}},step:{configurable:!0,enumerable:!0,get:function(){return this.input.step},
set:function(a){this.input.step=a}}});window.onerror=function(a,b,c){b="Script error in "+b+" (line "+c+"): "+a;a=Tc();c=new Ec;b=zc(c,1,3).ka(b);c=B(a,Fc,4);vc(c,1,Gc,b);qf(a)};function rf(){if(window.cefQuery)return 1;var a;if((a=window.chrome)==null?0:a.webview)return 2;var b,c;return((b=window.webkit)==null?0:(c=b.messageHandlers)==null?0:c.postMessageListener)?3:0}
function qf(a){switch(rf()){case 1:window.cefQuery({request:JSON.stringify(Sb(a)),Vh:!1,Uh:function(){},Th:function(f,g){return console.log(JSON.stringify(Sb(a)),g)}});break;case 2:var b,c;(b=window.chrome)==null||(c=b.webview)==null||c.postMessage(JSON.stringify(Sb(a)));break;case 3:var d,e;(d=window.webkit)==null||(e=d.messageHandlers)==null||e.postMessageListener.postMessage(JSON.stringify(Sb(a)));break;default:console.log("Unsupported browser.")}}function M(a){a.toggleClass("hidden",!1)}
function N(a){a.toggleClass("hidden",!0)}function sf(a){for(;a.lastChild;)a.removeChild(a.lastChild)}var O=new Nd,tf=new Set(O.j.v);tf.add("id");O.j=new Dd(O.j.o,O.j.j,tf,O.j.l,O.j.m);var uf=new Set(O.j.v);uf.add("class");O.j=new Dd(O.j.o,O.j.j,uf,O.j.l,O.j.m);for(var vf=new Set(["class","id"]),wf=new Set,xf=new Map,yf=new Map,zf=u(vf),Af=zf.next();!Af.done;Af=zf.next()){var Bf=Af.value;O.j.v.has(Bf)&&wf.add(Bf);O.j.l.has(Bf)&&xf.set(Bf,O.j.l.get(Bf))}
for(var Cf=u(O.j.j.entries()),Df=Cf.next();!Df.done;Df=Cf.next()){for(var Ef=u(Df.value),Ff=Ef.next().value,Gf=Ef.next().value,Hf=Ff,If=new Map,Jf=u(Gf.entries()),Kf=Jf.next();!Kf.done;Kf=Jf.next()){var Lf=u(Kf.value),Mf=Lf.next().value,Nf=Lf.next().value,Of=Mf,Pf=Nf;vf.has(Of)&&If.set(Of,Pf)}yf.set(Hf,If)}O.j=new Dd(O.j.o,yf,wf,xf,O.j.m);var Qf=["data-file"];
if(Qf===void 0){var Rf=new Set(O.j.m);Rf.add("data-");O.j=new Dd(O.j.o,O.j.j,O.j.v,O.j.l,Rf)}else{for(var Sf=new Set(O.j.v),Tf=u(Qf),Uf=Tf.next();!Uf.done;Uf=Tf.next()){var Vf=Uf.value;if(Vf.indexOf("data-")!==0)throw Error("data attribute: "+Vf+' does not begin with the prefix "data-"');Sf.add(Vf)}O.j=new Dd(O.j.o,O.j.j,Sf,O.j.l,O.j.m)}if(O.l)throw Error("this sanitizer has already called build");O.l=!0;var Hd=new function(a,b){this.l=a;this.j=b}(O.j,O.m);
function Wf(a,b){if(b!==null&&b!==void 0){typeof b==="string"&&(b=Gd(b));if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("");a.innerHTML=md(b)}}function Xf(a,b){b!==null&&b!==void 0&&(typeof b==="string"&&(b=Gd(b)),a.html(md(b).toString()));return a}
function Yf(a){if(a){for(var b=u(a.querySelectorAll(".mdc-button")),c=b.next();!c.done;c=b.next())we(c.value);b=u(a.querySelectorAll(".mdc-line-ripple"));for(c=b.next();!c.done;c=b.next())new Ud(c.value);a=u(a.querySelectorAll(".mdc-text-field"));for(b=a.next();!b.done;b=a.next())new jf(b.value)}}function Zf(a){a=a.clone();Yf(a[0]);return a};function $f(){var a=new Ac;yc(a,1,"no_user");return a}function ag(){this.map=new Map}n=ag.prototype;n.set=function(a,b){a&&(a=C(a,1))&&this.map.set(a,b)};n.get=function(a){a?a=(a=C(a,1))?this.map.get(a):null:a=null;return a};n.delete=function(a){a?a=(a=C(a,1))?this.map.delete(a):!1:a=!1;return a};n.has=function(a){a?a=(a=C(a,1))?this.map.has(a):!1:a=!1;return a};
n.keys=function(){var a=this.map.keys(),b={},c=(b.next=function(){var d=a.next();if(!d.done){var e=new Ac;yc(e,1,d.value);d.value=e}return d},b[Symbol.iterator]=function(){return c},b);return c};n.values=function(){return this.map.values()};ag.prototype[Symbol.iterator]=function(){var a=this.map[Symbol.iterator]();return{next:function(){var b=a.next();if(!b.done){var c=u(b.value),d=c.next().value;c=c.next().value;var e=new Ac;yc(e,1,d);b.value=[e,c]}return b}}};ag.prototype.clear=function(){this.map.clear()};
function bg(a,b){return a&&b?yb(dc(a,1))==yb(dc(b,1)):!1};/*

 Copyright 2020 Google Inc.

 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.
*/
function cg(){this.j=new Map}cg.prototype.request=function(a,b){var c=this;this.cancel(a);var d=requestAnimationFrame(function(e){c.j.delete(a);b(e)});this.j.set(a,d)};cg.prototype.cancel=function(a){var b=this.j.get(a);b&&(cancelAnimationFrame(b),this.j.delete(a))};var dg={animation:{ya:"-webkit-animation",Aa:"animation"},transform:{ya:"-webkit-transform",Aa:"transform"},transition:{ya:"-webkit-transition",Aa:"transition"}},eg={Kh:{Lb:"animation",ya:"webkitAnimationEnd",Aa:"animationend"},Lh:{Lb:"animation",ya:"webkitAnimationIteration",Aa:"animationiteration"},Mh:{Lb:"animation",ya:"webkitAnimationStart",Aa:"animationstart"},Yh:{Lb:"transition",ya:"webkitTransitionEnd",Aa:"transitionend"}};
function fg(){var a=window;if(a.document&&typeof a.document.createElement==="function"&&"transform"in dg){var b=dg.transform,c=b.Aa;b=b.ya;return c in a.document.createElement("div").style?c:b}return"transform"}function gg(){var a=window;if(a.document&&typeof a.document.createElement==="function"&&"animationend"in eg){var b=eg.animationend,c=b.Aa,d=b.ya;return b.Lb in a.document.createElement("div").style?c:d}return"animationend"};var Q=new Set;Q.add("Backspace");Q.add("Enter");Q.add("Spacebar");Q.add("PageUp");Q.add("PageDown");Q.add("End");Q.add("Home");Q.add("ArrowLeft");Q.add("ArrowUp");Q.add("ArrowRight");Q.add("ArrowDown");Q.add("Delete");Q.add("Escape");Q.add("Tab");var R=new Map;R.set(8,"Backspace");R.set(13,"Enter");R.set(32,"Spacebar");R.set(33,"PageUp");R.set(34,"PageDown");R.set(35,"End");R.set(36,"Home");R.set(37,"ArrowLeft");R.set(38,"ArrowUp");R.set(39,"ArrowRight");R.set(40,"ArrowDown");R.set(46,"Delete");
R.set(27,"Escape");R.set(9,"Tab");var hg=new Set;hg.add("PageUp");hg.add("PageDown");hg.add("End");hg.add("Home");hg.add("ArrowLeft");hg.add("ArrowUp");hg.add("ArrowRight");hg.add("ArrowDown");function ig(a){var b=a.key;return Q.has(b)?b:(a=R.get(a.keyCode))?a:"Unknown"};var kg=typeof window!=="undefined";
function lg(a){H.call(this,Object.assign({},lg.l,a));var b=this;this.A=!1;this.I=this.F=this.o=0;this.v=this.B=this.O=this.G=this.m=null;this.Jg=[];this.Lg=[];this.Cg=new cg;this.Da=function(c){b.l&&(c.relatedTarget===null||mg(b,c.relatedTarget))||ng(b)};this.Ta=function(c){b.l&&b.C&&og(b,c.target)||ng(b)};this.Cb=function(c){if(ig(c)==="Escape"){var d=b.j.uc(),e=!1;b.j.Ob(d)&&(e=b.j.Tb(d));e&&b.j.Td();ng(b);c.stopPropagation()}};this.Hb=function(){pg(b)};this.Ib=function(){qg(b)};this.Fb=function(c){og(b,
c.relatedTarget)||c.relatedTarget===null&&b.W||ng(b)};this.Jb=function(){b.C||ng(b)};this.Ca=function(){rg(b)}}r(lg,H);lg.prototype.init=function(){this.l=this.j.hasClass("mdc-tooltip--rich");this.C=this.j.getAttribute("data-mdc-tooltip-persistent")==="true";this.W=!!this.j.vc("aria-expanded")&&this.j.vc("aria-haspopup")==="dialog";this.Eb=this.l&&this.j.getAttribute("data-mdc-tooltip-has-caret")==="true"};function sg(a){a.A?pg(a):(tg(a),a.v=setTimeout(function(){pg(a)},500))}
function ug(a){a.v=setTimeout(function(){pg(a)},500);a.j.ja("contextmenu",a.oa)}lg.prototype.oa=function(a){a.preventDefault()};function mg(a,b){return a.j.Ob(b)&&a.j.Tb(b)}function og(a,b){return a.j.Ob(b)&&(a.j.Tb(b)||a.j.Hd(b))}function vg(a,b){mg(a,b.relatedTarget)||(a.v=setTimeout(function(){pg(a)},500))}function wg(a){xg(a);a.B=setTimeout(function(){ng(a)},600)}function qg(a){xg(a);a.B=setTimeout(function(){ng(a)},600)}
function rg(a){a.Cg.request("poll_anchor",function(){var b=a.j.wc();if(b&&a.m){var c=a.j.Ia();b.top+b.height<0||b.bottom-b.height>=c||b.top===a.m.top&&b.left===a.m.left&&b.height===a.m.height&&b.width===a.m.width||(a.m=b,a.G=a.j.zc(),a.l?yg(a):zg(a))}})}
function pg(a){tg(a);xg(a);if(!a.A){a.A=!0;a.j.removeAttribute("aria-hidden");a.l&&(a.W&&a.j.Hc("aria-expanded","true"),a.j.Ka("focusout",a.Fb));a.C||(a.j.Ka("mouseenter",a.Hb),a.j.Ka("mouseleave",a.Ib));a.j.removeClass("mdc-tooltip--hide");a.j.addClass("mdc-tooltip--showing");Ag(a)&&!a.l&&a.j.addClass("mdc-tooltip--multiline");a.m=a.j.wc();a.G=a.j.zc();a.l?yg(a):zg(a);a.j.Fe("blur",a.Da);a.j.Gc("click",a.Ta);a.j.Gc("keydown",a.Cb);a.j.ja("scroll",a.Jb);a.j.ja("resize",a.Ca);for(var b=u(a.Jg),c=b.next();!c.done;c=
b.next())c=c.value,c();a.O=requestAnimationFrame(function(){Bg(a);a.j.addClass("mdc-tooltip--shown");a.j.addClass("mdc-tooltip--showing-transition")})}}
function ng(a){tg(a);xg(a);if(a.A){a.O&&cancelAnimationFrame(a.O);a.A=!1;a.j.setAttribute("aria-hidden","true");a.j.Va("focusout",a.Fb);a.l&&a.W&&a.j.Hc("aria-expanded","false");a.C||(a.j.Va("mouseenter",a.Hb),a.j.Va("mouseleave",a.Ib));Bg(a);a.j.addClass("mdc-tooltip--hide");a.j.addClass("mdc-tooltip--hide-transition");a.j.removeClass("mdc-tooltip--shown");a.j.Qd("blur",a.Da);a.j.oc("click",a.Ta);a.j.oc("keydown",a.Cb);a.j.ha("scroll",a.Jb);a.j.ha("resize",a.Ca);a.j.ha("contextmenu",a.oa);a=u(a.Lg);
for(var b=a.next();!b.done;b=a.next())b=b.value,b()}}function Bg(a){a.j.removeClass("mdc-tooltip--showing-transition");a.j.removeClass("mdc-tooltip--hide-transition")}function Ag(a){a=a.j.ia();return a.height>24&&a.width>=200}function zg(a){var b=Cg(a,a.m),c=b.top,d=b.left;a.j.Mc((kg?fg():"transform")+"-origin",b.H+" "+b.K);a.j.za("top",c+"px");a.j.za("left",d+"px")}
function yg(a){a.j.za("width","");a.j.za("left","-320px");var b=Number(a.j.Mb("width").slice(0,-2));a.j.za("width",Math.min(Math.max(a.j.wa()-16,40),isFinite(b)?b:320)+"px");if(a.Eb){var c=a.m;a.j.mc();var d=a.j.fe();if(c&&d){b=d.width/.8;d=d.height/.8/2;var e=a.j.ia();var f=e.width;var g=!a.j.lb(),h=c.left+c.width/2,k=c.left-(f+4+d),l=c.right+4+d,m=h-(24+b/2),t=h-(f-24-b/2);f=new Map([[1,g?m:t],[2,h-f/2],[3,g?t:m],[5,g?l:k],[4,g?k:l]]);g=e.height;h=c.top+c.height/2;g=new Map([[1,c.top-(4+g+d)],[2,
c.bottom+4+d],[3,h-(24+b/2)],[4,h-g/2],[5,h-(g-24-b/2)]]);h=new Map;k=new Map;l=new Map([[1,[1,2,3]],[2,[1,2,3]],[3,[4,5]],[4,[4,5]],[5,[4,5]]]);m=u(l.keys());for(t=m.next();!t.done;t=m.next()){t=t.value;var v=g.get(t);if(v+a.j.ia().height+8<=a.j.Ia()&&v>=8)for(var S=u(l.get(t)),G=S.next();!G.done;G=S.next()){var P=G.value;G=f.get(P);G+a.j.ia().width<=a.j.wa()-8&&G>=8&&(P=Dg(P,t),h.set(P,{Qa:G,Ra:v}))}if(v+a.j.ia().height<=a.j.Ia()&&v>=0)for(S=u(l.get(t)),G=S.next();!G.done;G=S.next())P=G.value,G=
f.get(P),G+a.j.ia().width<=a.j.wa()&&G>=0&&(P=Dg(P,t),k.set(P,{Qa:G,Ra:v}))}f=h.size?h:k;f.size<1&&(g=!a.j.lb(),c.left<0?(f=8+d,g=g?3:1):(f=a.j.wa()-(e.width+8+d),g=g?1:3),c.top<0?(c=8+d,e=2):(c=a.j.Ia()-(e.height+8+d),e=1),e=Dg(g,e),f=new Map([[e,{Qa:f,Ra:c}]]));f=Eg(a,f);c=f.Qa;e=f.Ra;if(b=Fg(a,f.position,{Kd:b,Nh:d})){a.j.mc();a.j.Za(b.fa,b.ma);a.j.Za(b.ea,b.la);a.j.Za("transform","rotate("+b.rotation+"deg) skewY("+b.da+"deg) scaleX("+Math.cos(Math.PI/180*b.da)+")");a.j.Za("transform-origin",b.ea+
" "+b.fa);d=u(b.ga);for(f=d.next();!f.done;f=d.next())a.j.Za(f.value,"0");b={K:b.K,H:b.H}}else b={K:0,H:0};b={K:b.K,H:b.H,top:e,left:c}}else b={position:0,top:0,left:0}}else b=Cg(a,a.m);d=b;b=d.top;c=d.left;a.j.Mc((kg?fg():"transform")+"-origin",d.H+" "+d.K);var Aa,Za;d=c-((Za=(Aa=a.G)==null?void 0:Aa.left)!=null?Za:0);var Db,jg;Aa=b-((jg=(Db=a.G)==null?void 0:Db.top)!=null?jg:0);a.j.za("top",Aa+"px");a.j.za("left",d+"px")}
function Cg(a,b){if(!b)return{top:0,left:0};var c=a.j.ia(),d=c.height;var e=b.bottom+4;var f=b.top-(4+d);d=b.top+b.height/2-d/2;var g=[f,e];a.F===3&&g.push(d);g=a.Kg.apply(a,w(g));e=a.F===1&&g.has(f)?{N:f,K:"bottom"}:a.F===2&&g.has(e)?{N:e,K:"top"}:a.F===3&&g.has(d)?{N:d,K:"center"}:g.has(e)?{N:e,K:"top"}:g.has(f)?{N:f,K:"bottom"}:{N:e,K:"top"};a=Gg(a,b,c.width);return{top:e.N,K:e.K,left:a.N,H:a.H}}
function Gg(a,b,c){var d=!a.j.lb();if(a.l){var e=d?b.left-c:b.right;var f=d?b.right:b.left-c;var g=d?"right":"left";d=d?"left":"right"}else{e=d?b.left:b.right-c;f=d?b.right-c:b.left;var h=b.left+(b.width-c)/2;var k=b.left-(c+4);g=b.right+4;var l=d?k:g;k=d?g:k;g=d?"left":"right";d=d?"right":"left"}var m=[e,h,f];a.o===4?m.push(l):a.o===5&&m.push(k);var t=a.l?a.Ea(e,f):a.Ea.apply(a,w(m));return a.o===1&&t.has(e)?{N:e,H:g}:a.o===3&&t.has(f)?{N:f,H:d}:a.o===2&&t.has(h)?{N:h,H:"center"}:a.o===4&&t.has(l)?
{N:l,H:d}:a.o===5&&t.has(k)?{N:k,H:g}:(e=(a.l?[{N:f,H:d},{N:e,H:g}]:[{N:h,H:"center"},{N:e,H:g},{N:f,H:d}]).find(function(v){return t.has(v.N)}))?e:b.left<0?{N:8,H:"left"}:{N:a.j.wa()-(c+8),H:"right"}}lg.prototype.Ea=function(){for(var a=new Set,b=new Set,c=u(qa.apply(0,arguments)),d=c.next();!d.done;d=c.next())d=d.value,d+this.j.ia().width<=this.j.wa()-8&&d>=8?a.add(d):d+this.j.ia().width<=this.j.wa()&&d>=0&&b.add(d);return a.size?a:b};
lg.prototype.Kg=function(){for(var a=new Set,b=new Set,c=u(qa.apply(0,arguments)),d=c.next();!d.done;d=c.next())d=d.value,d+this.j.ia().height+8<=this.j.Ia()&&d>=8?a.add(d):d+this.j.ia().height<=this.j.Ia()&&d>=0&&b.add(d);return a.size?a:b};function Eg(a,b){if(b.has(a.I)){var c=b.get(a.I);return{position:a.I,Qa:c.Qa,Ra:c.Ra}}a=[1,2,3,4,5,6,7,8,9,10,11,12].find(function(d){return b.has(d)});c=b.get(a);return{position:a,Qa:c.Qa,Ra:c.Ra}}
function Dg(a,b){switch(b){case 1:if(a===1)return 1;if(a===2)return 2;if(a===3)return 3;break;case 2:if(a===1)return 10;if(a===2)return 11;if(a===3)return 12;break;case 3:if(a===4)return 4;if(a===5)return 7;break;case 4:if(a===4)return 5;if(a===5)return 8;break;case 5:if(a===4)return 6;if(a===5)return 9}throw Error("MDCTooltipFoundation: Invalid caret position of "+a+", "+b);}
function Fg(a,b,c){var d=!a.j.lb(),e=a.j.Mb("width");a=a.j.Mb("height");if(e&&a&&c){var f="calc(("+e+" - "+c.Kd+"px) / 2)";c="calc(("+a+" - "+c.Kd+"px) / 2)";var g="calc("+e+" - 24px)",h="calc("+a+" - 24px)",k=["border-bottom-right-radius","border-top-left-radius"],l=["border-bottom-left-radius","border-top-right-radius"];switch(b){case 11:return{fa:"top",ea:"left",ma:"0",la:f,rotation:-35,da:-20,H:f,K:"0",ga:k};case 12:return{fa:"top",ea:d?"right":"left",ma:"0",la:"24px",rotation:d?35:-35,da:d?20:
-20,H:d?g:"24px",K:"0",ga:d?l:k};case 10:return{fa:"top",ea:d?"left":"right",ma:"0",la:"24px",rotation:d?-35:35,da:d?-20:20,H:d?"24px":g,K:"0",ga:d?k:l};case 7:return{fa:"top",ea:d?"left":"right",ma:"24px",la:"0",rotation:d?55:-55,da:d?-20:20,H:d?"0":e,K:"24px",ga:d?k:l};case 8:return{fa:"top",ea:d?"left":"right",ma:c,la:"0",rotation:d?55:-55,da:d?-20:20,H:d?"0":e,K:c,ga:d?k:l};case 9:return{fa:"bottom",ea:d?"left":"right",ma:"24px",la:"0",rotation:d?-55:55,da:d?20:-20,H:d?"0":e,K:h,ga:d?l:k};case 4:return{fa:"top",
ea:d?"right":"left",ma:"24px",la:"0",rotation:d?-55:55,da:d?20:-20,H:d?e:"0",K:"24px",ga:d?l:k};case 5:return{fa:"top",ea:d?"right":"left",ma:c,la:"0",rotation:d?-55:55,da:d?20:-20,H:d?e:"0",K:c,ga:d?l:k};case 6:return{fa:"bottom",ea:d?"right":"left",ma:"24px",la:"0",rotation:d?55:-55,da:d?-20:20,H:d?e:"0",K:h,ga:d?k:l};case 2:return{fa:"bottom",ea:"left",ma:"0",la:f,rotation:35,da:20,H:f,K:a,ga:l};case 3:return{fa:"bottom",ea:d?"right":"left",ma:"0",la:"24px",rotation:d?-35:35,da:d?-20:20,H:d?g:
"24px",K:a,ga:d?k:l};default:case 1:return{fa:"bottom",ea:d?"left":"right",ma:"0",la:"24px",rotation:d?35:-35,da:d?20:-20,H:d?"24px":g,K:a,ga:d?l:k}}}}function xg(a){a.v&&(clearTimeout(a.v),a.v=null)}function tg(a){a.B&&(clearTimeout(a.B),a.B=null)}
p.Object.defineProperties(lg,{l:{configurable:!0,enumerable:!0,get:function(){return{getAttribute:function(){return null},setAttribute:function(){},removeAttribute:function(){},addClass:function(){},hasClass:function(){return!1},removeClass:function(){},Mb:function(){return""},za:function(){},Mc:function(){},wa:function(){return 0},Ia:function(){return 0},ia:function(){return{width:0,height:0}},wc:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},zc:function(){return{top:0,right:0,
bottom:0,left:0,width:0,height:0}},vc:function(){return null},Hc:function(){return null},lb:function(){return!1},Hd:function(){return!1},Tb:function(){return!1},Td:function(){},Ka:function(){},Va:function(){},Fe:function(){},Qd:function(){},Gc:function(){},oc:function(){},ja:function(){},ha:function(){},ye:function(){},De:function(){},fe:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},Za:function(){},mc:function(){},uc:function(){return null},Ob:function(){return!1}}}}});var Hg=ma(["aria-"]),Ig=[new nd(Hg[0].toLowerCase())];function Jg(){I.apply(this,arguments)}r(Jg,I);Jg.prototype.Sa=function(){var a=this.root.getAttribute("id");if(!a)throw Error("MDCTooltip: Tooltip component must have an id.");a=document.querySelector('[data-tooltip-id="'+a+'"]')||document.querySelector('[aria-describedby="'+a+'"]');if(!a)throw Error("MDCTooltip: Tooltip component requires an anchor element annotated with [aria-describedby] or [data-tooltip-id].");this.l=a};
Jg.prototype.na=function(){var a=this;this.I=this.j.l;this.G=this.j.C;this.A=function(){sg(a.j)};this.o=function(b){vg(a.j,b)};this.B=function(){wg(a.j)};this.v=function(){var b=a.j,c=b.j.hasClass("mdc-tooltip--hide");b.j.removeClass("mdc-tooltip--showing");b.j.removeClass("mdc-tooltip--showing-transition");b.j.removeClass("mdc-tooltip--hide");b.j.removeClass("mdc-tooltip--hide-transition");c&&b.v===null?b.j.ye():c||b.j.De()};this.m=function(){var b=a.j;b.A?ng(b):pg(b)};this.F=function(){ug(a.j)};
this.C=function(){var b=a.j;xg(b);b.A||b.j.ha("contextmenu",b.oa)};this.I&&this.G?this.l.addEventListener("click",this.m):(this.l.addEventListener("mouseenter",this.A),this.l.addEventListener("focus",this.o),this.l.addEventListener("mouseleave",this.B),this.l.addEventListener("touchstart",this.F),this.l.addEventListener("touchend",this.C));J(this,"transitionend",this.v)};
Jg.prototype.R=function(){var a=this;return new lg({getAttribute:function(b){return a.root.getAttribute(b)},setAttribute:function(b,c){od(Ig,a.root,b,c)},removeAttribute:function(b){a.root.removeAttribute(b)},addClass:function(b){a.root.classList.add(b)},hasClass:function(b){return a.root.classList.contains(b)},removeClass:function(b){a.root.classList.remove(b)},Mb:function(b){return window.getComputedStyle(a.root).getPropertyValue(b)},za:function(b,c){a.root.style.setProperty(b,c)},Mc:function(b,
c){var d;(d=a.root.querySelector(".mdc-tooltip__surface-animation"))==null||d.style.setProperty(b,c)},wa:function(){return window.innerWidth},Ia:function(){return window.innerHeight},ia:function(){return{width:a.root.offsetWidth,height:a.root.offsetHeight}},wc:function(){return a.l?a.l.getBoundingClientRect():null},zc:function(){var b,c;return(c=(b=a.root.parentElement)==null?void 0:b.getBoundingClientRect())!=null?c:null},vc:function(b){return a.l?a.l.getAttribute(b):null},Hc:function(b,c){a.l&&
od(Ig,a.l,b,c)},lb:function(){return getComputedStyle(a.root).direction==="rtl"},Hd:function(b){var c;return!((c=a.l)==null||!c.contains(b))},Tb:function(b){return a.root.contains(b)},Td:function(){var b;(b=a.l)==null||b.focus()},Ka:function(b,c){a.root instanceof HTMLElement&&a.root.addEventListener(b,c)},Va:function(b,c){a.root instanceof HTMLElement&&a.root.removeEventListener(b,c)},Fe:function(b,c){var d;(d=a.l)==null||d.addEventListener(b,c)},Qd:function(b,c){var d;(d=a.l)==null||d.removeEventListener(b,
c)},Gc:function(b,c){document.body.addEventListener(b,c)},oc:function(b,c){document.body.removeEventListener(b,c)},ja:function(b,c){window.addEventListener(b,c)},ha:function(b,c){window.removeEventListener(b,c)},ye:function(){K(a,"MDCTooltip:hidden",{})},De:function(){K(a,"MDCTooltip:shown",{})},fe:function(){var b=a.root.querySelector(".mdc-tooltip__caret-surface-top");return b?b.getBoundingClientRect():null},Za:function(b,c){var d=a.root.querySelector(".mdc-tooltip__caret-surface-top"),e=a.root.querySelector(".mdc-tooltip__caret-surface-bottom");
d&&e&&(d.style.setProperty(b,c),e.style.setProperty(b,c))},mc:function(){var b=a.root.querySelector(".mdc-tooltip__caret-surface-top"),c=a.root.querySelector(".mdc-tooltip__caret-surface-bottom");b&&c&&(b.removeAttribute("style"),c.removeAttribute("style"))},uc:function(){return document.activeElement},Ob:function(b){return b instanceof Element}})};function Kg(a,b){var c={ih:1};c=c===void 0?null:c;this.id=a;a=document.createElement("div");a.classList.add("mdc-tooltip","Gm3PlainTooltip");a.setAttribute("id",this.id);a.setAttribute("role","tooltip");a.setAttribute("aria-hidden","true");var d=document.createElement("div");d.classList.add("mdc-tooltip__surface","mdc-tooltip__surface-animation");Wf(d,b.replace(/\//g,"/<wbr>").replace(/\\/g,"\\<wbr>"));a.appendChild(d);document.body.appendChild(a);this.j=new Jg(a);c&&(b=this.j.j,a=c.ih,d=c.ai,c=c.Zh,
b.Eb&&c?b.I=c:(a&&(b.o=a),d&&(b.F=d)))}function Lg(a){var b=document.getElementById(a.id);b&&b.remove();a.j=null};var Mg={},Ng={},Og={},Pg={};function Qg(){throw Error("Do not instantiate directly");}Qg.prototype.j=null;Qg.prototype.jb=function(){return this.content};Qg.prototype.toString=function(){return this.content};Qg.prototype.l=function(){if(this.Ga!==Mg)throw Error("Sanitized content was not of kind HTML.");return ld(this.toString())};function Rg(){Qg.call(this)}ta(Rg,Qg);Rg.prototype.Ga=Mg;function Sg(){Qg.call(this)}ta(Sg,Qg);Sg.prototype.Ga=Pg;Sg.prototype.j=1;var Tg=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.j=d);return c}}(Rg),Ug=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(Sg);function Vg(a){return Wg(String(a),function(){return""}).replace(Xg,"&lt;")}var Yg=RegExp.prototype.hasOwnProperty("sticky"),Zg=new RegExp((Yg?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",Yg?"gy":"g");
function Wg(a,b){for(var c=[],d=a.length,e=0,f=[],g,h,k=0;k<d;){switch(e){case 0:var l=a.indexOf("<",k);if(l<0){if(c.length===0)return a;c.push(a.substring(k));k=d}else c.push(a.substring(k,l)),h=l,k=l+1,Yg?(Zg.lastIndex=k,l=Zg.exec(a)):(Zg.lastIndex=0,l=Zg.exec(a.substring(k))),l?(f=["<",l[0]],g=l[1],e=1,k+=l[0].length):c.push("<");break;case 1:l=a.charAt(k++);switch(l){case "'":case '"':var m=a.indexOf(l,k);m<0?k=d:(f.push(l,a.substring(k,m+1)),k=m+1);break;case ">":f.push(l);c.push(b(f.join(""),
g));e=0;f=[];h=g=null;break;default:f.push(l)}break;default:throw Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")}function $g(a){a!=null&&a.Ga===Mg?(a=Vg(a.jb()),a=String(a).replace(ah,bh)):a=String(a).replace(ch,bh);return a}function dh(a){a!=null&&a.Ga===Pg&&(a=a.jb());return(a&&!a.startsWith(" ")?" ":"")+a}
var eh={"\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;"};function bh(a){return eh[a]}
var fh={"\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"};function gh(a){return fh[a]}
var ch=/[\x00\x22\x26\x27\x3c\x3e]/g,ah=/[\x00\x22\x27\x3c\x3e]/g,hh=/[\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,ih=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,jh=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,Xg=/</g;function kh(){this.j=sa.document||document}n=kh.prototype;n.uc=function(a){a=a||this.j;try{var b=a&&a.activeElement;var c=b&&b.nodeName?b:null}catch(d){c=null}return c};n.appendChild=function(a,b){a.appendChild(b)};n.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
n.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};n.ce=function(a){return a.nodeType==9?a:a.ownerDocument||a.document};function lh(a){var b;a==null?b=null:b=gb(a)?Number(a):String(a);return b};/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
function mh(a){a:{var b=a||nh;var c=b.Z;a=b.attributes;var d=b.icon;b="mdc-button__icon"+(c?" "+c:"");d!=null&&d.Ga===Ng||d!=null&&d.Ga===Og?c=String(d).replace(hh,gh):(c=String(d),c=ih.test(c)?c.replace(hh,gh):"about:invalid#zSoyz");c='<img src="'+$g(c)+'"';b='class="'+$g(b!=null?b:"")+"\" aria-hidden='true'";(a instanceof Qg?a.jb():a)?(a!=null&&a.Ga===Pg?a=a.jb():(a=String(a),a=jh.test(a)?a:"zSoyz"),a=dh(a)):a="";a=Ug(b+a);a=Tg(c+dh(a)+">");a=Tg(""+a);c=ua||(ua=new kh);if(a&&a.m)c=a.m();else{c=
c.j;b="DIV";c.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());c=c.createElement(b);b:if(b=typeof a,b=="object"&&a!=null||b=="function"){if(a.l&&(a=a.l(),a instanceof kd))break b;a=pd("zSoyz")}else a=pd(String(a));c.innerHTML=md(a)}if(c.childNodes.length==1&&(a=c.firstChild,a.nodeType==1))break a;a=c}return a}var nh={};/*
 SPDX-License-Identifier: Apache-2.0
*/
var oh=Object.prototype.hasOwnProperty;function ph(){}ph.prototype=Object.create(null);function qh(a,b,c){a=a.style;if(typeof c==="string")a.cssText=c;else{a.cssText="";for(var d in c)if(oh.call(c,d)){b=a;var e=d,f=c[d];e.indexOf("-")>=0?b.setProperty(e,f):b[e]=f}}}function rh(a,b,c){var d=typeof c;d==="object"||d==="function"?a[b]=c:c==null?a.removeAttribute(b):(d=b.lastIndexOf("xml:",0)===0?"http://www.w3.org/XML/1998/namespace":b.lastIndexOf("xlink:",0)===0?"http://www.w3.org/1999/xlink":null)?a.setAttributeNS(d,b,c):a.setAttribute(b,c)}
function sh(){var a=new ph;a.__default=rh;a.style=qh;return a}sh();var th=sh();th.checked=function(a,b,c){c==null?(a.removeAttribute("checked"),a.checked=!1):(a.setAttribute("checked",String(c)),a.checked=!(c===!1||c==="false"))};th.value=function(a,b,c){c==null?(a.removeAttribute("value"),a.value=""):(a.setAttribute("value",String(c)),a.value=String(c))};th.muted=function(a,b,c){c==null?(a.removeAttribute("muted"),a.muted=!1):(a.setAttribute("muted",String(c)),a.muted=!0)};function uh(a,b){var c=this;this.root=a;this.l=b;a=document.createElement("div");a.classList.add("mdc-touch-target-wrapper");this.root.appendChild(a);this.j=document.createElement("button");this.j.classList.add("mdc-icon-button","dfs-icon-button");this.j.classList.add("GmIconButton");this.l.l&&this.j.setAttribute("aria-label",this.l.l);this.l.role&&this.j.setAttribute("role",this.l.role);this.l.Z&&this.j.classList.add.apply(this.j.classList,w(this.l.Z));b=document.createElement("span");b.classList.add("dfs-focus-ring");
this.j.appendChild(b);a.appendChild(this.j);a=document.createElement("span");a.classList.add("mdc-icon-button__ripple");this.j.appendChild(a);a=document.createElement("span");a.classList.add("mdc-icon-button__focus-ring");this.j.appendChild(a);a=mh({icon:this.l.j});a.setAttribute("alt","");a.classList.add("dfs-icon-button__icon");this.l.o&&a.classList.add.apply(a.classList,w(this.l.o));this.l.color&&a.classList.add(vh(this.l.color));this.j.appendChild(a);a=document.createElement("span");a.classList.add("mdc-icon-button__touch");
this.j.appendChild(a);this.ca=we(this.j);this.ca.Oc=!0;this.ca.layout();this.o=this.l.m;this.j.addEventListener("click",function(){c.o&&c.o()});this.m=null}uh.prototype.layout=function(){this.ca.layout()};function wh(a,b){var c=a.root.id+"-tooltip";a.j.setAttribute("aria-describedby",c);a.m=new Kg(c,b);a.j.addEventListener("blur",function(){a.m&&ng(a.m.j.j)})}
function vh(a){switch(a){case "grey":return"greyIcon";case "light_grey":return"lightGreyIcon";case "blue":return"blueIcon";case "blue_on_blue_background":return"blueIconOnBlueBackground";case "dark_blue":return"darkBlueIcon";case "green":return"greenIcon";case "red":return"redIcon";case "red_on_error":return"redIconOnError";case "orange":return"orangeIcon";case "orange_on_warning":return"orangeIconOnWarning";case "black":return"blackIcon";case "on_primary":return"onPrimaryIcon";default:return console.assert(!1,
"unknown color type"),""}}function xh(){this.color=this.Z=this.l=null;this.j="";this.role=this.m=this.o=null};var T={bb:"mdc-list-item--activated",M:"mdc-list-item",Ab:"mdc-list-item--disabled",Bb:"mdc-list-item--selected",od:"mdc-list-item__text",dc:"mdc-list-item__primary-text",P:"mdc-list"},yh={},zh=(yh[T.bb]="mdc-list-item--activated",yh[T.M]="mdc-list-item",yh[T.Ab]="mdc-list-item--disabled",yh[T.Bb]="mdc-list-item--selected",yh[T.dc]="mdc-list-item__primary-text",yh[T.P]="mdc-list",yh),Ah={},Bh=(Ah[T.bb]="mdc-deprecated-list-item--activated",Ah[T.M]="mdc-deprecated-list-item",Ah[T.Ab]="mdc-deprecated-list-item--disabled",
Ah[T.Bb]="mdc-deprecated-list-item--selected",Ah[T.od]="mdc-deprecated-list-item__text",Ah[T.dc]="mdc-deprecated-list-item__primary-text",Ah[T.P]="mdc-deprecated-list",Ah),U={Sc:"MDCList:action",rg:"MDCList:selectionChange",qf:"aria-checked",rf:'[role="checkbox"][aria-checked="true"]',tf:'[role="radio"][aria-checked="true"]',Vc:"aria-current",kh:"aria-disabled",wf:"aria-orientation",xf:"horizontal",yf:'[role="checkbox"]',Xc:"aria-selected",uf:'[role="listbox"], [role="menu"]',vf:'[aria-multiselectable="true"]',
bd:'input[type="checkbox"], input[type="radio"]',Xb:'input[type="checkbox"]',Cf:"\n    ."+T.M+" button:not(:disabled),\n    ."+T.M+" a,\n    ."+Bh[T.M]+" button:not(:disabled),\n    ."+Bh[T.M]+" a\n  ",Gf:".mdc-deprecated-list",Kf:"\n    ."+T.M+" button:not(:disabled),\n    ."+T.M+" a,\n    ."+T.M+' input[type="radio"]:not(:disabled),\n    .'+T.M+' input[type="checkbox"]:not(:disabled),\n    .'+Bh[T.M]+" button:not(:disabled),\n    ."+Bh[T.M]+" a,\n    ."+Bh[T.M]+' input[type="radio"]:not(:disabled),\n    .'+
Bh[T.M]+' input[type="checkbox"]:not(:disabled)\n  ',lg:'input[type="radio"]',qg:'[aria-selected="true"], [aria-current="true"]'},V={J:-1,Gh:300};var Ch=["input","button","textarea","select"];function Dh(a){var b=a.target;b&&Ch.indexOf(b.tagName.toLowerCase())===-1&&a.preventDefault()};var Eh=["Alt","Control","Meta","Shift"];function Fh(a){var b=new Set(a?Eh.filter(function(c){return a.getModifierState(c)}):[]);return function(c){return c.every(function(d){return b.has(d)})&&c.length===b.size}}function Gh(a){H.call(this,Object.assign({},Gh.l,a));this.F=!1;this.B=!0;this.A=!1;this.o=this.l=V.J;this.O=this.I=!1;this.G=null;this.v=this.m=!1;this.C=null}r(Gh,H);
Gh.prototype.layout=function(){if(this.j.aa()!==0)if(this.j.je(0))this.m=!0,this.l=[];else if(this.j.me(0))this.v=!0;else{var a=V.J;for(var b=this.j.aa(),c=0;c<b;c++){var d=this.j.nb(c,T.bb);if(this.j.nb(c,T.Bb)||d){a=c;break}}a!==V.J&&(this.j.nb(a,T.bb)&&(this.I=!0),this.A=!0,this.l=a)}};
function Hh(a,b,c){c=c===void 0?{}:c;if(Ih(a,b))if(a.m)Jh(a,b,c);else if(a.v){c=c===void 0?{}:c;var d=Kh(a);a.j.sb(b,!0);if(a.l!==b||c.sc)a.l!==V.J&&a.j.Y(a.l,d,"false"),a.j.Y(b,d,"true"),a.l=b,c.Xa&&!c.sc&&a.j.Ya([b])}else if(c=c===void 0?{}:c,a.l!==b||c.sc){d=T.Bb;a.I&&(d=T.bb);a.l!==V.J&&a.j.Ne(a.l,d);a.l===V.J&&b!==V.J&&(a.G=a.j.Wd(b,U.Vc));var e=a.G!==null,f=e?U.Vc:U.Xc;a.l!==V.J&&a.j.Y(a.l,f,"false");b!==V.J&&a.j.Y(b,f,e?a.G:"true");Lh(a,b);b!==V.J&&a.j.Fd(b,d);a.l=b;c.Xa&&!c.sc&&a.j.Ya([b])}}
function Mh(a,b){b>=0&&(a.j.Y(b,"tabindex","-1"),a.j.Nc(b,"-1"));setTimeout(function(){if(!a.j.qe()){var c=Nh(a);Lh(a,c)}},0)}function W(a,b){return a.j.nb(b,T.Ab)}function Oh(a,b){var c=a.j.aa(),d=b,e=null;do{d++;if(d>=c)if(a.F)d=0;else return b;if(d===e)return-1;var f=void 0;e=(f=e)!=null?f:d}while(W(a,d));a.sa(d);return d}function Ph(a,b){var c=a.j.aa(),d=b,e=null;do{d--;if(d<0)if(a.F)d=c-1;else return b;if(d===e)return-1;var f=void 0;e=(f=e)!=null?f:d}while(W(a,d));a.sa(d);return d}
function Qh(a){return Ph(a,a.j.aa())}function Kh(a){return a.O?U.Xc:U.qf}function Jh(a,b,c){c=c===void 0?{}:c;var d=a.l;d=c.Xa?new Set(d===V.J?[]:d):null;for(var e=Kh(a),f=[],g=0;g<a.j.aa();g++)if(!c.Fc||!W(a,g)){var h=void 0,k=(h=d)==null?void 0:h.has(g);h=b.indexOf(g)>=0;h!==k&&f.push(g);a.j.sb(g,h);a.j.Y(g,e,h?"true":"false")}a.l=c.Fc?Rh(a,b):b;c.Xa&&f.length&&a.j.Ya(f)}
function Rh(a,b){var c=(a.l===V.J?[]:a.l).filter(function(d){return W(a,d)});b=b.filter(function(d){return!W(a,d)});return[].concat(w(new Set([].concat(w(b),w(c))))).sort(function(d,e){return d-e})}
function Sh(a,b,c,d){a.C=d;var e=new Set(a.l===V.J?[]:a.l);d=!(e==null?0:e.has(d));b=u([b,c].sort());var f=b.next().value;b=b.next().value;c=Kh(a);for(var g=[];f<=b;f++)if(!W(a,f)){var h=e.has(f);d!==h&&(g.push(f),a.j.sb(f,d),a.j.Y(f,c,""+d),d?e.add(f):e.delete(f))}g.length&&(a.l=[].concat(w(e)),a.j.Ya(g))}
function Lh(a,b){a.o===V.J&&b!==0&&b!==V.J?a.j.Y(0,"tabindex","-1"):a.o>=0&&a.o!==b&&a.j.Y(a.o,"tabindex","-1");a.l instanceof Array||a.l===b||a.o===V.J||a.j.Y(a.l,"tabindex","-1");b!==V.J&&a.j.Y(b,"tabindex","0")}
function Nh(a){var b=Th(a);if(a.j.aa()===0)return V.J;if(!(a.A||a.m||a.v))return Math.max(a.o,b);if(typeof a.l==="number"&&a.l!==V.J)return a.l;if(a.l instanceof Array&&a.l.length>0){var c=[].concat(w(a.l)).sort(function(e,f){return e-f});c=u(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!W(a,d))return d}return b}function Th(a){for(var b=a.j.aa(),c=0;c<b&&W(a,c);)c++;return c===b?V.J:c}
function Ih(a,b){var c=c===void 0?!0:c;if(b instanceof Array){if(!a.m&&c)throw Error("MDCListFoundation: Array of index is only supported for checkbox based list");return b.length===0?!0:b.some(function(d){return Uh(a,d)})}if(typeof b==="number"){if(a.m&&c)throw Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+b);return Uh(a,b)||a.A&&b===V.J}return!1}function Uh(a,b){a=a.j.aa();return b>=0&&b<a}
function Vh(a,b,c){a.C=b;a.m?(Wh(a,b,c),a.j.Ya([b])):Hh(a,b,{Xa:!0})}function Wh(a,b,c){var d=Kh(a),e=a.j.oe(b);c?c=e:(c=!e,a.j.sb(b,c));a.j.Y(b,d,c?"true":"false");d=a.l===V.J?[]:a.l.slice();c?d.push(b):d=d.filter(function(f){return f!==b});a.l=d}Gh.prototype.sa=function(a){this.j.sa(a);this.o=a};function Xh(a){for(var b=a.j.aa(),c=0,d=0;d<b;d++)W(a,d)||c++;return c}
function Yh(a,b){var c=Xh(a),d=a.j.aa();if(b.filter(function(f){return!W(a,f)}).length>=c)Jh(a,[],{Xa:!0,Fc:!0});else{c=[];for(var e=0;e<d;e++)(!W(a,e)||b.indexOf(e)>-1)&&c.push(e);Jh(a,c,{Xa:!0,Fc:!0})}}
p.Object.defineProperties(Gh,{m:{configurable:!0,enumerable:!0,get:function(){return U}},j:{configurable:!0,enumerable:!0,get:function(){return T}},o:{configurable:!0,enumerable:!0,get:function(){return V}},l:{configurable:!0,enumerable:!0,get:function(){return{Fd:function(){},sa:function(){},Wd:function(){return null},ae:function(){return 0},aa:function(){return 0},je:function(){return!1},me:function(){return!1},oe:function(){return!1},qe:function(){return!1},re:function(){return!1},nb:function(){return!1},
ob:function(){},Ya:function(){},Ne:function(){},Y:function(){},sb:function(){},Nc:function(){},de:function(){return""}}}}});function Zh(){I.apply(this,arguments)}r(Zh,I);n=Zh.prototype;n.na=function(){(this.v="evolution"in this.root.dataset)?this.m=zh:Yd(this.root,U.Gf)?this.m=Bh:this.m=Object.values(T).reduce(function(a,b){a[b]=b;return a},{});this.B=this.Vg.bind(this);this.C=this.Yg.bind(this);this.I=this.Wg.bind(this);this.O=this.Xg.bind(this);J(this,"keydown",this.C);J(this,"click",this.B);J(this,"focusin",this.I);J(this,"focusout",this.O);this.layout();$h(this);ai(this)};
n.layout=function(){this.F=this.root.getAttribute(U.wf)!==U.xf;var a=U.Kf,b=this.root.querySelectorAll("."+this.m[T.M]+":not([tabindex])");b.length&&Array.prototype.forEach.call(b,function(c){c.setAttribute("tabindex","-1")});a=this.root.querySelectorAll(a);a.length&&Array.prototype.forEach.call(a,function(c){c.setAttribute("tabindex","-1")});this.v&&(this.j.O=!0);this.j.layout()};
function bi(a,b){var c=b.querySelector("."+a.m[T.dc]);if(a.v||c){var d;return(d=c==null?void 0:c.textContent)!=null?d:""}return(a=b.querySelector("."+a.m[T.od]))&&a.textContent||""}
function $h(a){a.A=Yd(a.root,U.uf);if(a.v&&a.A){var b=Array.from(a.root.querySelectorAll(U.qg),function(c){return a.l.indexOf(c)});Yd(a.root,U.vf)?a.o=b:b.length>0&&(a.o=b[0])}else b=a.root.querySelector(U.tf),a.root.querySelectorAll(U.yf).length?a.o=Array.from(a.root.querySelectorAll(U.rf),function(c){return a.l.indexOf(c)}):b&&(a.o=a.l.indexOf(b))}
n.R=function(){var a=this;return new Gh({Fd:function(b,c){(b=a.l[b])&&b.classList.add(a.m[c])},sa:function(b){var c;(c=a.l[b])==null||c.focus()},Wd:function(b,c){return a.l[b].getAttribute(c)},ae:function(){return a.l.indexOf(document.activeElement)},aa:function(){return a.l.length},de:function(b){return bi(a,a.l[b])},je:function(b){return!!a.l[b].querySelector(U.Xb)},me:function(b){return!!a.l[b].querySelector(U.lg)},oe:function(b){return a.l[b].querySelector(U.Xb).checked},qe:function(){return a.root!==
document.activeElement&&a.root.contains(document.activeElement)},re:function(){return document.activeElement===a.root},nb:function(b,c){return a.l[b].classList.contains(a.m[c])},ob:function(b){K(a,U.Sc,{index:b},!0)},Ya:function(b){K(a,U.rg,{Oh:b},!0)},Ne:function(b,c){(b=a.l[b])&&b.classList.remove(a.m[c])},Y:function(b,c,d){(b=a.l[b])&&Rd(b,c,d)},sb:function(b,c){b=a.l[b].querySelector(U.bd);b.checked=c;c=document.createEvent("Event");c.initEvent("change",!0,!0);b.dispatchEvent(c)},Nc:function(b,
c){Array.prototype.forEach.call(a.l[b].querySelectorAll(U.Cf),function(d){d.tabIndex=Number(c)})}})};function ai(a){if(a.v&&a.A&&!a.root.querySelector("."+a.m[T.M]+'[tabindex="0"]')){if(a.o instanceof Array&&a.o.length>0)var b=a.o[0];else typeof a.o==="number"&&a.o!==V.J?b=a.o:(b=a.root.querySelector("."+a.m[T.M]+":not(."+a.m[T.Ab]+")"),b=b===null?-1:ci(a,b));b!==-1&&(a.l[b].tabIndex=0)}}function ci(a,b){return(b=Xd(b,"."+a.m[T.M]+", ."+a.m[T.P]))&&Yd(b,"."+a.m[T.M])?a.l.indexOf(b):-1}
n.Wg=function(a){a=ci(this,a.target);var b=this.j;a>=0&&(b.o=a,b.j.Y(a,"tabindex","0"),b.j.Nc(a,"0"))};n.Xg=function(a){a=ci(this,a.target);Mh(this.j,a)};
n.Yg=function(a){var b=ci(this,a.target);a:{var c=this.j,d=a.target.classList.contains(this.m[T.M]),e=ig(a)==="ArrowLeft",f=ig(a)==="ArrowUp",g=ig(a)==="ArrowRight",h=ig(a)==="ArrowDown",k=ig(a)==="Home",l=ig(a)==="End",m=ig(a)==="Enter",t=ig(a)==="Spacebar";g=c.B&&h||!c.B&&g;f=c.B&&f||!c.B&&e;h=a.key==="A"||a.key==="a";var v=Fh(a);if(c.j.re())(f||l)&&v([])?(a.preventDefault(),Qh(c)):(g||k)&&v([])?(a.preventDefault(),Oh(c,-1)):f&&v(["Shift"])&&c.m?(a.preventDefault(),a=Qh(c),a!==-1&&Vh(c,a,!1)):g&&
v(["Shift"])&&c.m&&(a.preventDefault(),a=Oh(c,-1),a!==-1&&Vh(c,a,!1));else{e=c.j.ae();if(e===-1&&(e=b,e<0))break a;if(g&&v([]))Dh(a),Oh(c,e);else if(f&&v([]))Dh(a),Ph(c,e);else if(g&&v(["Shift"])&&c.m)Dh(a),a=Oh(c,e),a!==-1&&Vh(c,a,!1);else if(f&&v(["Shift"])&&c.m)Dh(a),a=Ph(c,e),a!==-1&&Vh(c,a,!1);else if(k&&v([]))Dh(a),Oh(c,-1);else if(l&&v([]))Dh(a),Qh(c);else if(k&&v(["Control","Shift"])&&c.m)Dh(a),W(c,e)||(Oh(c,-1),Sh(c,0,e,e));else if(l&&v(["Control","Shift"])&&c.m)Dh(a),W(c,e)||(Qh(c),Sh(c,
e,c.j.aa()-1,e));else if(h&&v(["Control"])&&c.m)a.preventDefault(),Yh(c,c.l===V.J?[]:c.l);else if((m||t)&&(v([])||v(["Alt"]))){if(d){var S=a.target;S&&S.tagName==="A"&&m||(Dh(a),W(c,e)||((c.A||c.m||c.v)&&Vh(c,e,!1),c.j.ob(e)))}}else(m||t)&&v(["Shift"])&&c.m&&(b=a.target,b&&b.tagName==="A"&&m||(Dh(a),W(c,e)||(Sh(c,(S=c.C)!=null?S:e,e,e),c.j.ob(e))))}}};
n.Vg=function(a){var b=ci(this,a.target),c=this.j,d=Yd(a.target,U.bd);a=Fh(a);if(b!==V.J&&!W(c,b))if(a([]))(c.A||c.m||c.v)&&Vh(c,b,d),c.j.ob(b);else if(c.m&&a(["Shift"])){var e;Sh(c,(e=c.C)!=null?e:b,b,b);c.j.ob(b)}};
p.Object.defineProperties(Zh.prototype,{F:{configurable:!0,enumerable:!0,set:function(a){this.j.B=a}},l:{configurable:!0,enumerable:!0,get:function(){return Array.from(this.root.querySelectorAll("."+this.m[T.M]))}},G:{configurable:!0,enumerable:!0,set:function(a){this.j.F=a}},o:{configurable:!0,enumerable:!0,get:function(){return this.j.l},set:function(a){Hh(this.j,a)}}});var di={ec:"mdc-menu-item--selected",rd:"mdc-menu__selection-group",P:"mdc-menu"},ei={ab:"aria-checked",mh:"aria-disabled",Xb:'input[type="checkbox"]',pd:".mdc-list,.mdc-deprecated-list",pg:"MDCMenu:selected",sg:"data-menu-item-skip-restore-focus"},fi={uh:-1};function gi(a){H.call(this,Object.assign({},gi.l,a));this.l=1}r(gi,H);
p.Object.defineProperties(gi,{j:{configurable:!0,enumerable:!0,get:function(){return di}},m:{configurable:!0,enumerable:!0,get:function(){return ei}},o:{configurable:!0,enumerable:!0,get:function(){return fi}},l:{configurable:!0,enumerable:!0,get:function(){return{Gd:function(){},Oe:function(){},Dd:function(){},Le:function(){},Xd:function(){return null},Sg:function(){return!1},nc:function(){},Zd:function(){return-1},Ce:function(){},yc:function(){return 0},sa:function(){},Ud:function(){},ee:function(){return-1},
Ec:function(){return!1}}}}});var hi={ff:"mdc-menu-surface--anchor",Tc:"mdc-menu-surface--animating-closed",Uc:"mdc-menu-surface--animating-open",jd:"mdc-menu-surface--fixed",md:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",P:"mdc-menu-surface"},ii={ub:"MDCMenuSurface:closed",wb:"MDCMenuSurface:closing",cb:"MDCMenuSurface:opened",Db:"MDCMenuSurface:opening",sh:'button:not(:disabled), [href]:not([aria-disabled="true"]), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'},
ji={zg:120,yg:75,qd:32,gf:.67,wg:30};function X(a){H.call(this,Object.assign({},X.l,a));this.v=this.o=!1;this.C=this.G=this.A=0;this.l={top:0,right:0,bottom:0,left:0};this.position={x:0,y:0}}r(X,H);n=X.prototype;n.init=function(){var a=X.j,b=a.P;a=a.OPEN;if(!this.j.hasClass(b))throw Error(b+" class required in root element.");this.j.hasClass(a)&&(this.o=!0);this.B=this.Zg.bind(this);this.j.ja("resize",this.B)};n.Lc=function(a){this.A=a};
n.open=function(){var a=this;this.o||(this.j.qb(),this.j.Ue(),this.j.addClass(X.j.Uc),requestAnimationFrame(function(){a.F=a.j.xc();ki(a);a.j.addClass(X.j.OPEN);a.G=setTimeout(function(){a.G=0;a.j.removeClass(X.j.Uc);a.j.Ae()},ji.zg)}),this.o=!0,this.j.ja("resize",this.B))};
n.close=function(a){var b=this;a=a===void 0?!1:a;this.o&&(this.j.pb(),this.j.ha("resize",this.B),this.j.addClass(X.j.Tc),requestAnimationFrame(function(){b.j.removeClass(X.j.OPEN);b.j.removeClass(X.j.md);b.C=setTimeout(function(){b.C=0;b.j.removeClass(X.j.Tc);b.j.we()},ji.yg)}),this.o=!1,a||li(this))};n.Zg=function(){this.F=this.j.xc();ki(this)};
function ki(a){var b=a.j.Vd(),c=a.j.Yd(),d=a.j.ge(),e=a.j.ie();b||(b={top:a.position.y,right:a.position.x,bottom:a.position.y,left:a.position.x,width:0,height:0});a.m={Kb:b,Mg:c,cf:a.F,Pc:{top:b.top,right:d.width-b.right,bottom:d.height-b.bottom,left:b.left},gh:d,hh:e};b=8;c=a.m;d=c.Pc;e=c.Kb;c=c.cf;var f=X.o.qd;var g=d.top-f+a.l.top;f=d.bottom-f+e.height-a.l.top;!(f-c.height>0)&&g>f&&(b|=1);g=a.j.se();f=!!(b&4);var h=g?!f:f;if(h){var k=d.left+e.width+a.l.left;d=d.right-a.l.left}else k=d.left+a.l.left,
d=d.right+e.width-a.l.left;e=k-c.width>0;c=d-c.width>0;var l=!!(b&8)&&!!(b&4);if(c&&l&&g||!e&&l)b^=4;else if(e&&h&&g||e&&!h&&f||!c&&k>=d)b|=4;a.A>0?c=a.A:(c=a.m.Pc,d=X.o.qd,b&1?(c=c.top+a.l.top-d,c+=a.m.Kb.height):c=c.bottom-a.l.bottom+a.m.Kb.height-d);d=b&1?"bottom":"top";e=b&4?"right":"left";g=b&1?-a.l.bottom:a.l.top;h=a.m;f=h.Kb;h=h.cf;k={};b&4?(l=a.l.right,l=a.v?l-(a.m.gh.width-a.m.Mg.width):l):l=a.l.left;g=(k[e]=l,k[d]=g,k);f.width/h.width>ji.gf&&(e="center");if(a.v)for(h=a.m,f=h.hh,h=h.Pc,k=
Object.keys(g),k=u(k),l=k.next();!l.done;l=k.next()){l=l.value;var m=g[l]||0;m+=h[l];a.v||(m=l==="top"?m+f.y:l==="bottom"?m-f.y:l==="left"?m+f.x:m-f.x);g[l]=m}a.j.Sb(e+" "+d);a.j.setPosition(g);a.j.Lc(c?c+"px":"");b&1||a.j.addClass(X.j.md)}function li(a){var b=a.j.ba(),c=a.j.ce?a.j.ce():document;c=c.activeElement&&a.j.Bc(c.activeElement);(b||c)&&setTimeout(function(){a.j.Se()},ji.wg)}
p.Object.defineProperties(X,{j:{configurable:!0,enumerable:!0,get:function(){return hi}},m:{configurable:!0,enumerable:!0,get:function(){return ii}},o:{configurable:!0,enumerable:!0,get:function(){return ji}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},ah:function(){return!1},Bc:function(){return!1},ba:function(){return!1},se:function(){return!1},xc:function(){return{height:0,width:0}},Vd:function(){return null},
ge:function(){return{height:0,width:0}},Yd:function(){return{height:0,width:0}},ie:function(){return{x:0,y:0}},setPosition:function(){},Lc:function(){},Sb:function(){},Ue:function(){},Se:function(){},we:function(){},pb:function(){},Ae:function(){},qb:function(){},ja:function(){},ha:function(){}}}}});function mi(){I.apply(this,arguments)}r(mi,I);
mi.prototype.na=function(){var a=this,b=this.root.parentElement;this.l=b&&b.classList.contains(hi.ff)?b:null;this.root.classList.contains(hi.jd)&&(this.root.classList.add(hi.jd),this.j.v=!0);this.v=function(c){var d=c.keyCode;c.key!=="Escape"&&d!==27||a.j.close()};this.o=function(c){var d=a.j;d.j.Bc(c.target)||d.close()};this.B=function(){document.body.addEventListener("click",a.o,{capture:!0})};this.A=function(){document.body.removeEventListener("click",a.o,{capture:!0})};J(this,"keydown",this.v);
J(this,ii.cb,this.B);J(this,ii.ub,this.A)};mi.prototype.open=function(){this.j.open()};mi.prototype.close=function(a){this.j.close(a===void 0?!1:a)};
mi.prototype.R=function(){var a=this;return new X({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},ah:function(){return!!a.l},we:function(){K(a,X.m.ub,{})},pb:function(){K(a,X.m.wb,{})},Ae:function(){K(a,X.m.cb,{})},qb:function(){K(a,X.m.Db,{})},Bc:function(b){return a.root.contains(b)},se:function(){return getComputedStyle(a.root).getPropertyValue("direction")==="rtl"},Sb:function(b){a.root.style.setProperty(fg()+
"-origin",b)},ba:function(){return document.activeElement===a.root},Ue:function(){a.m=document.activeElement},Se:function(){a.root.contains(document.activeElement)&&a.m&&a.m.focus&&a.m.focus()},xc:function(){return{width:a.root.offsetWidth,height:a.root.offsetHeight}},Vd:function(){return a.l?a.l.getBoundingClientRect():null},ge:function(){return{width:window.innerWidth,height:window.innerHeight}},Yd:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},ie:function(){return{x:window.pageXOffset,
y:window.pageYOffset}},setPosition:function(b){var c=a.root;c.style.left="left"in b?b.left+"px":"";c.style.right="right"in b?b.right+"px":"";c.style.top="top"in b?b.top+"px":"";c.style.bottom="bottom"in b?b.bottom+"px":""},Lc:function(b){a.root.style.maxHeight=b},ja:function(b,c){window.addEventListener(b,c)},ha:function(b,c){window.removeEventListener(b,c)}})};function ni(){I.apply(this,arguments)}r(ni,I);n=ni.prototype;n.Sa=function(a,b){a=a===void 0?function(c){return new mi(c)}:a;b=b===void 0?function(c){return new Zh(c)}:b;this.C=a;this.B=b};
n.na=function(){var a=this;this.m=this.C(this.root);var b=this.root.querySelector(ei.pd);b?(this.list=this.B(b),this.list.G=!0):this.list=null;this.v=function(c){var d=c.keyCode;c.key!=="Tab"&&d!==9||a.j.j.nc(!0)};this.o=function(c){var d=a.j;c=d.j.Zd(a.l[c.detail.index]);if(!(c<0)){d.j.Ce({index:c});var e=d.j.Xd(c,ei.sg)==="true";d.j.nc(e);if(d.j.Ec(c)){e=d.j.yc();if(!(c>=0&&c<e))throw Error("MDCMenuFoundation: No list item at specified index.");if(!d.j.Ec(c))throw Error("MDCMenuFoundation: No selection group at specified index.");
e=d.j.ee(c);e>=0&&(d.j.Le(e,ei.ab),d.j.Oe(e,di.ec));d.j.Gd(c,di.ec);d.j.Dd(c,ei.ab,"true")}}};this.A=function(){var c=a.j;switch(c.l){case 2:c.j.sa(0);break;case 3:c.j.sa(c.j.yc()-1);break;case 0:break;default:c.j.Ud()}};J(this.m,X.m.cb,this.A);J(this,"keydown",this.v);J(this,Gh.m.Sc,this.o)};n.layout=function(){this.list&&this.list.layout()};n.de=function(a){return(a=a<this.l.length?this.l[a]:null)&&this.list?bi(this.list,a)||"":""};
n.R=function(){var a=this;return new gi({Gd:function(b,c){a.l[b].classList.add(c)},Oe:function(b,c){a.l[b].classList.remove(c)},Dd:function(b,c,d){Rd(a.l[b],c,d)},Le:function(b,c){a.l[b].removeAttribute(c)},Xd:function(b,c){return a.l[b].getAttribute(c)},Sg:function(b,c){return b.classList.contains(c)},nc:function(b){a.m.close(b)},Zd:function(b){return a.l.indexOf(b)},Ce:function(b){K(a,ei.pg,{index:b.index,item:a.l[b.index]})},yc:function(){return a.l.length},sa:function(b){a.l[b].focus()},Ud:function(){a.root.querySelector(ei.pd).focus()},
Ec:function(b){return!!Xd(a.l[b],"."+di.rd)},ee:function(b){return(b=Xd(a.l[b],"."+di.rd).querySelector("."+di.ec))?a.l.indexOf(b):-1}})};p.Object.defineProperties(ni.prototype,{open:{configurable:!0,enumerable:!0,get:function(){return this.m.j.o},set:function(a){a?this.m.open():this.m.close()}},l:{configurable:!0,enumerable:!0,get:function(){return this.list?this.list.l:[]}}});function oi(a){var b=this;var c=c===void 0?null:c;this.root=a;c||this.root.classList.add("mdc-menu-surface--anchor");a=document.createElement("div");a.classList.add("dfs-menu");a.classList.add("mdc-menu");a.classList.add("mdc-menu-surface");a.classList.add("GmMenu");a.classList.add("GmMenuSurface");this.root.appendChild(a);this.l=document.createElement("ul");this.l.classList.add("GmDeprecatedList");this.l.classList.add("mdc-deprecated-list");this.l.setAttribute("role","menu");this.l.setAttribute("aria-orientation",
"vertical");this.l.setAttribute("tabindex","-1");a.appendChild(this.l);var d=document.createElement("div");d.classList.add("mdc-elevation-overlay");this.l.appendChild(d);this.menu=new ni(a);this.menu.j.l=2;c&&(this.menu.m.l=c);this.v=new Map;a.addEventListener("MDCMenu:selected",function(e){var f=b.menu;e=e.detail.index;(f=e<f.l.length?f.l[e]:null)&&b.o&&b.o(f.id)});a.addEventListener("MDCMenuSurface:opened",function(){b.j&&b.j.setAttribute("aria-expanded","true")});a.addEventListener("MDCMenuSurface:closed",
function(){b.j&&pi(b);b.j&&b.j.setAttribute("aria-expanded","false")});this.j=this.o=null;this.m=function(e){if(e.type=="click"||e.type=="keypress"&&(e.keyCode==32||e.keyCode==13))b.menu.open=!0,b.j&&b.j.removeEventListener("click",b.m),b.j&&b.j.removeEventListener("keypress",b.m)}}function qi(a,b){a.o=b}oi.prototype.open=function(){this.menu.open=!0};oi.prototype.close=function(){this.menu.open=!1};
function ri(a,b,c){if(!a.v.has(b)){var d=document.createElement("li");d.setAttribute("id",b);d.classList.add("dfs-menu-item");d.classList.add("mdc-deprecated-list-item");d.setAttribute("role","menuitem");we(d);var e=document.createElement("span");e.classList.add("mdc-deprecated-list-item__ripple");d.appendChild(e);e=document.createElement("span");e.classList.add("mdc-deprecated-list-item__text");e.textContent=c||"";d.appendChild(e);c=document.createElement("span");c.classList.add("dfs-focus-ring");
d.appendChild(c);a.l.appendChild(d);a.v.set(b,d);a.menu.layout()}}function si(a,b){a.j=b;a.j.setAttribute("aria-haspopup","menu");pi(a)}function pi(a){a.j&&a.j.addEventListener("click",a.m);a.j&&a.j.addEventListener("keypress",a.m)};function ti(a,b){if(b)a.attr("src",b||"").removeClass("blueIcon").on("error",function(){a.attr("src","ic_account_circle_googblue_24dp.svg").addClass("blueIcon")});else a.attr("src","ic_account_circle_googblue_24dp.svg").addClass("blueIcon")}function ui(a,b){ti(a.find("#user-photo"),C(b,3)||"");a.find("#user-email").text(C(b,2)||"");Xf(a.find("#user-quota"),C(b,5));xc(b,12)?a.addClass("disabled-opacity"):a.removeClass("disabled-opacity")}
function vi(a,b,c,d){this.j=a;this.o=E(this.j);this.I=C(this.o,1)+"-tooltip";this.v=$(document.createElement("div"));this.v.addClass("account-card-placeholder-in-list");this.v.appendTo(c);this.m=d;this.l=null;this.template=b;this.C=this.F=this.A=this.B=this.G=this.menu=null;wi(this,a)}
function wi(a,b){a.j=b;xi(a);a.l=Zf(a.template).removeAttr("id");xc(a.j,8,!0)&&(a.B=yi(a));xc(a.j,9,!0)&&(a.A=zi(a));xc(a.j,6)&&(a.F=Ai(a));ic(a.j,Lc,11)&&(a.C=Bi(a));if(xc(a.j,10,!0))a.l.find("#manage-storage").removeClass("hidden").find("a").on("click",function(){});M(a.l);ui(a.l,a.j);a.l.find("#user-email").attr("aria-describedby",a.I);xc(a.j,12)&&a.l.find("#account-info").addClass("disabled-opacity");a.l.appendTo(a.v);a.G=new Kg(a.I,C(a.j,7)||"");a.m&&(xc(a.j,8,!0)&&wh(a.B,C(a.m,3)||""),xc(a.j,
9,!0)&&wh(a.A,C(a.m,4)||""),xc(a.j,6)&&wh(a.F,C(a.m,5)||""),ic(a.j,Lc,11)&&wh(a.C,Nc(B(a.j,Lc,11))||""))}function xi(a){a.G&&Lg(a.G);a.l&&a.l.remove()}vi.prototype.layout=function(){this.B&&this.B.layout();this.A&&this.A.layout();this.F&&this.F.layout();this.C&&this.C.layout()};
function yi(a){var b=new xh;b.j="ic_folder_with_drive_logo_outline.svg";b.color="grey";b.Z=["SmallIconButton"];a.m&&(b.l=C(a.m,3)||"",b.role="link");b.m=function(){};var c=a.l.find("#open-mount-point-button")[0];c.id="open-mount-point-button"+C(a.o,1);return new uh(c,b)}
function zi(a){var b=new xh;b.j="drive_logo_grey_20px.svg";b.color="grey";b.Z=["SmallIconButton"];a.m&&(b.l=C(a.m,4)||"",b.role="link");b.m=function(){};var c=a.l.find("#drive-link-button")[0];c.id="drive-link-button"+C(a.o,1);return new uh(c,b)}function Ai(a){var b=new xh;b.j="photos_logo_grey_20px.svg";b.color="grey";b.Z=["SmallIconButton"];a.m&&(b.l=C(a.m,5)||"",b.role="link");b.m=function(){};var c=a.l.find("#photos-link-button")[0];c.id="photos-link-button"+C(a.o,1);return new uh(c,b)}
function Bi(a){var b=new xh;b.j="ic_more_vert_grey600_24dp.svg";b.color="grey";b.Z=["SmallIconButton"];b=new uh(a.l.find("#overflow-menu-button")[0],b);a.menu=new oi(a.l.find(".dfs-menu-anchor")[0]);qi(a.menu,function(){});for(var c=u(Mc(B(a.j,Lc,11))),d=c.next();!d.done;d=c.next()){d=d.value;var e=lh(xb(dc(d,1)))||0;ri(a.menu,e.toString(),C(d,2)||"")}si(a.menu,b.j);return b}
function Ci(a){var b=$("#root-configurator-account-switcher");var c=c===void 0?null:c;this.G=a;this.l=b;c?(this.m=c,this.l.find("#account-switcher-full-view").remove()):(this.m=this.l.find("#account-switcher-full-view"),this.l.css("position","relative"));this.o=null;a=document.createElement("div");a.setAttribute("id","full-root-account-container");this.m.append(a);a=document.createElement("div");a.setAttribute("id","full-root-add-account-container");this.m.append(a);this.v=new ag;this.A=new Oc;this.j=
new Di;this.C=!1;this.B=new Ei(this,this.l.find("#account-select-menu-anchor")[0],this.l.find("#account-select-menu-item-template"));a=new xh;a.j="ic_account_circle_googblue_24dp.svg";a.o=["face-view-user-photo","blueIcon"];this.F=new uh(this.l.find("#account-switcher-face-view-button")[0],a)}
function Fi(a,b){if(b){a.o=b;a.l.find("#add-account-label").text(C(a.o,1)||"");a.l.find("#all-view-label").text(C(a.o,2)||"");var c=a.F,d=C(b,6)||"";c.j.setAttribute("aria-label",d);c.layout();wh(a.F,C(b,6)||"");a.l.find("#account-switcher-normal-view-button").attr("aria-label",C(a.o,6)||"");a.l.find("#account-switcher-all-view-button").attr("aria-label",C(a.o,6)||"");a.l.find("#disabled-add-account-label").text(C(a.o,7)||"");a.l.find("#disabled-add-account-sublabel").text(C(a.o,8)||"");a.l.find("#manage-storage a").text(C(a.o,
9)||"");b=a.B;if(a=a.o)b.F=C(a,1)||"",b.A=C(a,7)||"",b.B=C(a,8)||"",b.C=C(a,10)||""}}
function Gi(a,b){a.j=b;if(Hi(a))switch(a.j.style){case 1:Ii(a);b=a.l.find("#account-switcher-normal-view");ui(b,a.A);var c=a.l.find("#account-switcher-normal-view-button");Ji(a,c);c=a.B;c.l&&(c.menu.m.l=b[0]);M(a.l.find("#account-switcher-normal-view"));break;case 2:Ii(a);b=a.l.find("#account-switcher-face-view");ti(b.find("img"),C(a.A,3)||"");c=b.find("button");Ji(a,c);c=a.B;c.l&&(c.menu.m.l=b[0]);M(a.l.find("#account-switcher-face-view"));break;case 3:Ki(a),M(a.l.find("#account-switcher-all-view"))}}
function Hi(a){if(!a.j.style)return console.log("No Style selected for AccountSwitcher."),!1;if(a.j.style==3&&a.j.l)return console.log("An AccountToken can not be set in allView."),!1;if(a.j.m&&!a.m.attr("id"))return console.log("Full root must have id for auto close to work."),!1;if(!a.j.j||F(a.j.j).length<1)return console.log("No accounts were provided to the AccountSwitcher."),!1;if(a.j.style==3)return!0;if(!a.j.l)return console.log("No selectedAccountToken was provided to the AccountSwitcher."),
!1;for(var b=!1,c=u(F(a.j.j)),d=c.next();!d.done;d=c.next())if(d=d.value,bg(E(d),a.j.l)){a.A=d;b=!0;break}return b?!0:(console.log("selected AccountToken: "+a.j.l+" does not have a account in: "+JSON.stringify(F(a.j.j))),!1)}
function Ki(a){var b=a.l.find("#account-switcher-all-view"),c=b.find(".single-account-view");b=b.find(".multi-account-view");if(F(a.j.j).length<1)N(c),N(b);else{if(F(a.j.j).length==1)M(c),N(b),ui(c,F(a.j.j)[0]);else{N(c);M(b);c=a.l.find("#all-view-imgs");c.empty();b=1;for(var d=u(F(a.j.j)),e=d.next(),f={};!e.done;f={Na:void 0},e=d.next()){e=e.value;f.Na=Zf(a.l.find("#all-view-img-template")).removeAttr("id");M(f.Na);if(yb(dc(e,3))!=null)f.Na.find(".all-view-img").attr("src",C(e,3)||"").removeClass("blueIcon").on("error",
function(g){return function(){g.Na.find(".all-view-img").attr("src","ic_account_circle_googblue_24dp.svg");g.Na.find(".all-view-img").addClass("blueIcon")}}(f));f.Na.css("z-index",b);b++;f.Na.appendTo(c)}}a.l.find("#account-switcher-all-view-button").off("click").on("click",function(){Li(a)});c=u(a.v.keys());for(b=c.next();!b.done;b=c.next())Mi(a,b.value);c=u(F(a.j.j));for(b=c.next();!b.done;b=c.next())Ni(a,b.value);c=a.m.find("#full-root-add-account-container");c.empty();a.j.o||(b=Zf(a.l.find("#account-switcher-disabled-add-account-template")).removeAttr("id"),
b.prop("disabled",!0),M(b),b.on("click",function(){a.j.m&&Oi(a)}),b.appendTo(c))}}function Ni(a,b){if(!a.v.has(E(b))){var c=a.l.find("#account-switcher-account-template"),d=a.m.find("#full-root-account-container");c=new vi(b,c,d,a.o);a.v.set(E(b),c)}}function Mi(a,b){var c=a.v.get(b);xi(c);c.v.remove();a.v.delete(b)}function Ji(a,b){b.off("click").on("click",function(){a.B.open();b.off("click")})}
function Ii(a){a.j.v&&a.m.addClass("align-left");var b=a.B,c=a.A,d=a.j.j;a=a.j.o;if(b.l)for(;b.j.firstChild;)b.j.removeChild(b.j.firstChild);else Pi(b);b.m=d;var e=document.createElement("div");e.classList.add("mdc-elevation-overlay");b.j.appendChild(e);e=Qi(b,c);e.find(".account-select-menu-item-checkmark").removeClass("hidden").attr("aria-label",b.C);e.appendTo(b.j);if(F(d).length>1||!a)e=document.createElement("li"),e.classList.add("mdc-deprecated-list-divider"),e.setAttribute("role","separator"),
b.j.appendChild(e);d=u(F(d));for(e=d.next();!e.done;e=d.next())e=e.value,E(e)!=E(c)&&Qi(b,e).appendTo(b.j);a||(c=Zf(b.template).removeAttr("id").addClass("mdc-deprecated-list-item--disabled").addClass("account-select-menu-item").addClass("account-select-disabled-add-user-menu-item").removeClass("hidden"),c.find(".mdc-deprecated-list-item__graphic").addClass("greyIcon").addClass("account-select-menu-item-add-account-icon").attr("src","ic_person_add_24px.svg"),c.find(".menu-item-title").text(b.A),c.find(".menu-item-subtitle").text(b.B),
we(c[0]),c.appendTo(b.j));b.menu.layout()}function Oi(a){a.C=!1;a.j.m&&($("body").off("click"),N(a.m))}function Li(a){if(!a.C){a.C=!0;M(a.m);for(var b=u(a.v.values()),c=b.next();!c.done;c=b.next())c.value.layout();a.j.m&&setTimeout(function(){Ri(a)},0)}}function Ri(a){$("body").on("click",function(b){b.target==a.m[0]||$(b.target).parents("#"+a.m.attr("id")).length>0||(b.stopPropagation(),Oi(a))})}function Di(){this.style=this.l=this.j=null;this.v=this.m=this.o=!1}
function Ei(a,b,c){this.v=a;this.o=b;this.template=c;this.l=!1;this.C=this.B=this.A=this.F="";this.menu=this.j=this.m=null}Ei.prototype.open=function(){this.l&&(this.menu.open=!0)};Ei.prototype.close=function(){this.l&&(this.menu.open=!1)};
function Pi(a){a.o.classList.add("mdc-menu-surface--anchor");var b=document.createElement("div");b.classList.add("mdc-menu");b.classList.add("mdc-menu-surface");b.classList.add("GmMenu");b.classList.add("GmMenuSurface");b.addEventListener("MDCMenu:selected",function(c){var d=c.detail.item.getAttribute("data-on-menu-item-select");if(d!="add_account"){c=new Ac;yc(c,1,d);var e=u(F(a.m));for(d=e.next();!d.done;d=e.next())if(d=d.value,bg(c,E(d))){c=a.v;d!=c.A&&(c=c.G,e=c.G,d&&(e.j.l=E(d),Gi(e,e.j)),c.A=
d,Si(c),Ti(c));break}}});b.addEventListener("MDCMenuSurface:closed",function(){var c=a.v;switch(c.j.style){case 1:var d="#account-switcher-normal-view-button";break;case 2:d="#account-switcher-face-view-button button";break;case 3:console.log("ALL_ACCOUNTS doesn't have an MDCMenu.")}d&&Ji(c,c.l.find(d))});a.o.appendChild(b);a.j=document.createElement("ul");a.j.classList.add("GmDeprecatedList");a.j.classList.add("mdc-deprecated-list");a.j.classList.add("mdc-deprecated-list--avatar-list");a.j.setAttribute("role",
"menu");a.j.setAttribute("aria-orientation","vertical");a.j.setAttribute("tabindex","-1");b.appendChild(a.j);a.menu=new ni(b);a.menu.j.l=2;a.l=!0}
function Qi(a,b){a=Zf(a.template).removeAttr("id");var c=a.attr;var d=E(b);d=C(d,1);a=c.call(a,"data-on-menu-item-select",d||"").addClass("account-select-menu-item").removeClass("hidden");ti(a.find(".mdc-deprecated-list-item__graphic"),C(b,3)||"");a.find(".mdc-deprecated-list-item__graphic").addClass("account-select-menu-item-user-photo");a.find(".menu-item-title").text(C(b,2)||"");Xf(a.find(".menu-item-subtitle"),C(b,5));xc(b,12)?a.addClass("mdc-deprecated-list-item--disabled"):a.removeClass("mdc-deprecated-list-item--disabled");
we(a[0]);return a};function Ui(a,b){var c=this;this.root=a;this.m=b;this.o=!1;a=document.createElement("div");a.classList.add("mdc-touch-target-wrapper");this.root.appendChild(a);this.j=document.createElement("button");this.j.classList.add("mdc-button","mdc-button--touch","dfs-button","dfs-dialog-button");this.m.Z&&this.j.classList.add.apply(this.j.classList,w(this.m.Z));a.appendChild(this.j);a=document.createElement("span");a.classList.add("mdc-button__ripple");this.j.appendChild(a);a=document.createElement("span");
a.classList.add("mdc-button__touch");this.j.appendChild(a);a=document.createElement("span");a.classList.add("mdc-button__focus-ring");this.j.appendChild(a);this.v=document.createElement("span");this.v.classList.add("mdc-button__label","dfs-button__label");this.j.appendChild(this.v);this.m.label&&Wf(this.v,this.m.label);this.l=new Map;this.l.set("fill",["GmFillButton","GmTextLabelButton"]);this.l.set("hairline",["GmButtonHairline","GmHairlineTextLabelButton"]);this.l.set("filled_hairline",["GmButtonFilledHairline",
"GmHairlineTextLabelButton"]);this.l.set("protected",["GmButtonProtected","GmTextLabelButton"]);this.l.set("text",["GmButtonText"]);this.l.set("grey_ink_text",["GmButtonGreyInkText"]);this.m.l&&(this.l.set("fill",["Gm3Button","Gm3FillButton"]),this.l.set("hairline",["Gm3Button","Gm3OutlinedButton"]),this.l.set("text",["Gm3Button","Gm3TextButton"]));a=document.createElement("span");a.classList.add("dfs-focus-ring");this.j.appendChild(a);this.j.classList.remove("mdc-button--unelevated","mdc-button--outlined",
"Gm3FillButton","Gm3OutlinedButton","Gm3TextButton");switch(this.m.type){case "fill":this.j.classList.add.apply(this.j.classList,["mdc-button--unelevated"].concat(w(this.l.get("fill"))));break;case "hairline":this.j.classList.add.apply(this.j.classList,["mdc-button--outlined"].concat(w(this.l.get("hairline"))));break;case "filled_hairline":this.j.classList.add.apply(this.j.classList,["mdc-button--outlined"].concat(w(this.l.get("filled_hairline"))));break;case "protected":this.j.classList.add.apply(this.j.classList,
["mdc-button--raised"].concat(w(this.l.get("protected"))));break;case "text":this.j.classList.add.apply(this.j.classList,w(this.l.get("text")));break;case "grey_ink_text":this.j.classList.add.apply(this.j.classList,w(this.l.get("grey_ink_text")));break;default:console.assert(!1,"button type must be defined.")}this.ca=we(this.j);this.ca.layout();this.A=this.m.j;this.j.addEventListener("click",function(){c.o||(c.o=!0,c.A&&c.A(),setTimeout(function(){c.o=!1},500))})}Ui.prototype.layout=function(){this.ca.layout()};
function Vi(){this.j=this.Z=this.label=this.type=null;this.l=!1};var Wi={hf:"mdc-checkbox--anim-checked-indeterminate",jf:"mdc-checkbox--anim-checked-unchecked",lf:"mdc-checkbox--anim-indeterminate-checked",mf:"mdc-checkbox--anim-indeterminate-unchecked",nf:"mdc-checkbox--anim-unchecked-checked",pf:"mdc-checkbox--anim-unchecked-indeterminate",nh:"mdc-checkbox__background",oh:"mdc-checkbox--checked",ph:"mdc-checkbox__checkmark",qh:"mdc-checkbox__checkmark-path",xb:"mdc-checkbox--disabled",wh:"mdc-checkbox--indeterminate",yh:"mdc-checkbox__mixedmark",zh:"mdc-checkbox__native-control",
P:"mdc-checkbox",og:"mdc-checkbox--selected",Bg:"mdc-checkbox--upgraded"},Xi={ab:"aria-checked",sf:"mixed",Ef:"data-indeterminate",cg:".mdc-checkbox__native-control",yd:"checked",Ag:"indeterminate",zd:"init",kc:"unchecked"},Yi={kf:250};function Zi(a){H.call(this,Object.assign({},Zi.l,a));this.o=Xi.zd;this.l="";this.m=0;this.v=!1}r(Zi,H);Zi.prototype.init=function(){this.o=$i(this);aj(this);this.j.addClass(Wi.Bg)};function bj(a){a.v&&(clearTimeout(a.m),a.m=setTimeout(function(){a.j.removeClass(a.l);a.v=!1},Yi.kf))}
function cj(a){if(a.j.le()){var b=a.o,c=$i(a);if(b!==c){aj(a);var d=Wi.og;c===Xi.kc?a.j.removeClass(d):a.j.addClass(d);a.l.length>0&&(clearTimeout(a.m),a.j.ib(),a.j.removeClass(a.l));a:{d=Xi.zd;var e=Xi.yd,f=Xi.kc,g=Zi.j,h=g.nf,k=g.pf,l=g.jf,m=g.hf,t=g.lf;g=g.mf;switch(b){case d:b=c===f?"":c===e?t:g;break a;case f:b=c===e?h:k;break a;case e:b=c===f?l:m;break a;default:b=c===e?t:g}}a.l=b;a.o=c;a.j.ne()&&a.l.length>0&&(a.j.addClass(a.l),a.v=!0)}}}
function $i(a){var b=Xi.Ag,c=Xi.yd,d=Xi.kc;return a.j.Cc()?b:a.j.ra()?c:d}function aj(a){a.j.Cc()?a.j.Xe(Xi.ab,Xi.sf):a.j.Qe(Xi.ab)}
p.Object.defineProperties(Zi,{j:{configurable:!0,enumerable:!0,get:function(){return Wi}},m:{configurable:!0,enumerable:!0,get:function(){return Xi}},o:{configurable:!0,enumerable:!0,get:function(){return Yi}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},ib:function(){},le:function(){return!1},ne:function(){return!1},ra:function(){return!1},Cc:function(){return!1},removeClass:function(){},Qe:function(){},Xe:function(){},Ye:function(){}}}}});var dj=["checked","indeterminate"];function ej(){I.apply(this,arguments);this.v=fj(this)}r(ej,I);ej.prototype.Sa=function(){var a=Xi.Ef;Y(this).indeterminate=Y(this).getAttribute(a)==="true";Y(this).removeAttribute(a)};ej.prototype.na=function(){var a=this;this.m=function(){cj(a.j)};this.l=function(){bj(a.j)};Y(this).addEventListener("change",this.m);J(this,gg(),this.l);gj(this)};
ej.prototype.R=function(){var a=this;return new Zi({addClass:function(b){a.root.classList.add(b)},ib:function(){return a.root.offsetWidth},le:function(){return!!Y(a)},ne:function(){return!!a.root.parentNode},ra:function(){return a.checked},Cc:function(){return a.o},removeClass:function(b){a.root.classList.remove(b)},Qe:function(b){Y(a).removeAttribute(b)},Xe:function(b,c){Rd(Y(a),b,c)},Ye:function(b){Y(a).disabled=b}})};
function fj(a){var b=Object.assign({},xe(a),{pa:function(c,d){Y(a).removeEventListener(c,d,Vd())},mb:function(){return Yd(Y(a),":active")},U:function(){return!0},T:function(c,d){Y(a).addEventListener(c,d,Vd())}});return new ve(a.root,new L(b))}
function gj(a){for(var b=Y(a),c=Object.getPrototypeOf(b),d=u(dj),e=d.next(),f={};!e.done;f={Wa:void 0},e=d.next()){e=e.value;f.Wa=Object.getOwnPropertyDescriptor(c,e);if(!hj(f.Wa))break;Object.defineProperty(b,e,{configurable:f.Wa.configurable,enumerable:f.Wa.enumerable,get:f.Wa.get,set:function(g){return function(h){g.Wa.set.call(b,h);cj(a.j)}}(f)})}}function Y(a){var b=Xi.cg;a=a.root.querySelector(b);if(!a)throw Error("Checkbox component requires a "+b+" element");return a}
p.Object.defineProperties(ej.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return this.v}},checked:{configurable:!0,enumerable:!0,get:function(){return Y(this).checked},set:function(a){Y(this).checked=a}},o:{configurable:!0,enumerable:!0,get:function(){return Y(this).indeterminate},set:function(a){Y(this).indeterminate=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return Y(this).disabled},set:function(a){var b=this.j;b.j.Ye(a);a?b.j.addClass(Wi.xb):b.j.removeClass(Wi.xb)}},
value:{configurable:!0,enumerable:!0,get:function(){return Y(this).value},set:function(a){Y(this).value=a}}});function hj(a){return!!a&&typeof a.set==="function"};var ij={P:"mdc-form-field"},jj={yb:".mdc-form-field > label"};function kj(a){H.call(this,Object.assign({},kj.l,a));var b=this;this.l=function(){lj(b)}}r(kj,H);kj.prototype.init=function(){this.j.T("click",this.l)};function lj(a){a.j.Bd();requestAnimationFrame(function(){a.j.Od()})}p.Object.defineProperties(kj,{j:{configurable:!0,enumerable:!0,get:function(){return ij}},m:{configurable:!0,enumerable:!0,get:function(){return jj}},l:{configurable:!0,enumerable:!0,get:function(){return{Bd:function(){},Od:function(){},pa:function(){},T:function(){}}}}});function mj(){I.apply(this,arguments)}r(mj,I);mj.prototype.R=function(){var a=this;return new kj({Bd:function(){a.input&&a.input.ca&&ie(a.input.ca.j)},Od:function(){a.input&&a.input.ca&&je(a.input.ca.j)},pa:function(b,c){var d;(d=a.root.querySelector(kj.m.yb))==null||d.removeEventListener(b,c)},T:function(b,c){var d;(d=a.root.querySelector(kj.m.yb))==null||d.addEventListener(b,c)}})};var nj=1;
function oj(a){var b="",c=!1,d=!0,e=this;b=b===void 0?"":b;c=c===void 0?!1:c;d=d===void 0?!1:d;var f=f===void 0?"":f;this.root=a;a="dfs-checkbox-"+nj++;var g=document.createElement("div");g.id=a+"-form";g.classList.add("dfs-checkbox-form");g.classList.add("mdc-form-field");g.classList.add("GmFormField");var h=document.createElement("div");h.classList.add("mdc-checkbox");h.classList.add("GmCheckbox");g.appendChild(h);this.input=document.createElement("input");this.input.type="checkbox";this.input.id=a;
this.input.classList.add("mdc-checkbox__native-control");h.appendChild(this.input);var k=document.createElement("div");k.classList.add("mdc-checkbox__background");h.appendChild(k);var l=document.createElementNS("http://www.w3.org/2000/svg","svg");l.classList.add("mdc-checkbox__checkmark");l.setAttribute("viewBox","0 0 24 24");k.appendChild(l);var m=document.createElementNS("http://www.w3.org/2000/svg","path");m.classList.add("mdc-checkbox__checkmark-path");m.setAttribute("fill","none");m.setAttribute("d",
"M1.73,12.91 8.1,19.28 22.79,4.59");l.appendChild(m);l=document.createElement("div");l.classList.add("mdc-checkbox__mixedmark");k.appendChild(l);k=document.createElement("div");k.classList.add("mdc-checkbox__ripple");h.appendChild(k);k=document.createElement("span");k.classList.add("dfs-focus-ring");h.appendChild(k);this.l=document.createElement("label");this.l.id=a+"-label";this.l.classList.add("dfs-checkbox-label");Wf(this.l,b);this.l.setAttribute("for",a);d?(this.root.classList.add("checkbox-with-sublabel"),
b=document.createElement("div"),b.classList.add("dfs-checkbox-label-container"),b.classList.add("vertical-container"),b.appendChild(this.l),this.m=document.createElement("label"),this.m.id=a+"-sublabel",this.m.classList.add("dfs-checkbox-sublabel"),this.m.classList.add("gmTypographyBody2"),Wf(this.m,f),b.appendChild(this.m),g.appendChild(b)):g.appendChild(this.l);this.root.appendChild(g);this.j=new ej(h);(new mj(g)).input=this.j;c&&(this.j.checked=!0);this.o=null;this.input.addEventListener("change",
function(){e.o&&e.o(e.ra())},!1)}function pj(a,b){a.o=b}function qj(a,b){b&&Wf(a.l,b)}function rj(a,b){b&&Wf(a.m,b)}oj.prototype.ra=function(){return this.j.checked};function sj(a){a.j.disabled=!0;a.root.classList.add("dfs-checkbox-disabled")}function tj(a){a.j.disabled=!1;a.root.classList.remove("dfs-checkbox-disabled")}oj.prototype.layout=function(){this.j.ca.layout()};var Z={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",ud:"mdc-dialog--opening",wd:"mdc-dialog--scrollable",xd:"mdc-dialog-scroll-lock",jc:"mdc-dialog--stacked",Mf:"mdc-dialog--fullscreen",hc:"mdc-dialog-scroll-divider-header",fc:"mdc-dialog-scroll-divider-footer",Eh:"mdc-dialog__surface-scrim--shown",Dh:"mdc-dialog__surface-scrim--showing",Ch:"mdc-dialog__surface-scrim--hiding",mg:"mdc-dialog__scrim--hidden"},uj={Rc:"data-mdc-dialog-action",Af:"data-mdc-dialog-button-default",Bf:".mdc-dialog__button",
ub:"MDCDialog:closed",ed:"close",wb:"MDCDialog:closing",fd:".mdc-dialog__container",Df:".mdc-dialog__content",rh:"destroy",Qf:"data-mdc-dialog-initial-focus",cb:"MDCDialog:opened",Db:"MDCDialog:opening",ng:".mdc-dialog__scrim",tg:"textarea, .mdc-menu .mdc-list-item, .mdc-menu .mdc-deprecated-list-item",Fh:".mdc-dialog__surface"},vj={Hf:75,If:150};function wj(a){H.call(this,Object.assign({},wj.l,a));var b=this;this.B=this.C=!1;this.l=this.m=0;this.A=this.v=uj.ed;this.o=!0;this.fb=!1;this.O=uj.tg;this.F=new cg;this.I=function(){xj(b)};this.G=function(){b.layout()};this.W=function(){b.layout()}}r(wj,H);n=wj.prototype;n.init=function(){this.j.hasClass(Z.jc)&&(this.o=!1);this.B=this.j.hasClass(Z.Mf)};
n.open=function(a){var b=this;this.C=!0;this.j.qb();this.j.addClass(Z.ud);this.B&&this.j.Ge("scroll",this.I);a&&a.Ph&&this.j.addClass(Z.mg);this.j.ja("resize",this.G);this.j.ja("orientationchange",this.W);yj(this,function(){b.j.addClass(Z.OPEN);a&&a.Rh||b.j.Ed(Z.xd);b.layout();b.l=setTimeout(function(){zj(b);b.j.Ub(b.j.kb());b.j.Be()},vj.If)})};
n.close=function(a){var b=this;a=a===void 0?"":a;this.C&&(this.C=!1,this.j.pb(a),this.j.addClass(Z.CLOSING),this.j.removeClass(Z.OPEN),this.j.Me(Z.xd),this.B&&this.j.Rd("scroll",this.I),this.j.ha("resize",this.G),this.j.ha("orientationchange",this.W),cancelAnimationFrame(this.m),this.m=0,clearTimeout(this.l),this.l=setTimeout(function(){b.j.Qb();zj(b);b.j.xe(a)},vj.Hf))};
n.layout=function(){var a=this;this.F.request("poll_layout_change",function(){if(a.o){a.j.removeClass(Z.jc);var b=a.j.fb();b&&a.j.addClass(Z.jc);b!==a.fb&&(a.j.Te(),a.fb=b)}a.j.removeClass(Z.wd);a.j.pe()&&(a.j.addClass(Z.wd),a.B&&(Aj(a),Bj(a)))})};n.Tf=function(a){this.j.rc(a.target,uj.ng)&&this.A!==""?this.close(this.A):(a=this.j.tc(a))&&this.close(a)};
n.Vf=function(a){var b=a.key==="Enter"||a.keyCode===13;b&&!this.j.tc(a)&&(a=a.composedPath?a.composedPath()[0]:a.target,a=this.O?!this.j.rc(a,this.O):!0,b&&a&&this.j.Ld())};n.Uf=function(a){a.key!=="Escape"&&a.keyCode!==27||this.v===""||this.close(this.v)};function xj(a){a.F.request("poll_scroll_position",function(){Aj(a);Bj(a)})}function zj(a){a.l=0;a.j.removeClass(Z.ud);a.j.removeClass(Z.CLOSING)}
function yj(a,b){cancelAnimationFrame(a.m);a.m=requestAnimationFrame(function(){a.m=0;clearTimeout(a.l);a.l=setTimeout(b,0)})}function Aj(a){a.j.ue()?a.j.hasClass(Z.hc)&&a.j.removeClass(Z.hc):a.j.addClass(Z.hc)}function Bj(a){a.j.te()?a.j.hasClass(Z.fc)&&a.j.removeClass(Z.fc):a.j.addClass(Z.fc)}
p.Object.defineProperties(wj,{j:{configurable:!0,enumerable:!0,get:function(){return Z}},m:{configurable:!0,enumerable:!0,get:function(){return uj}},o:{configurable:!0,enumerable:!0,get:function(){return vj}},l:{configurable:!0,enumerable:!0,get:function(){return{Ed:function(){},addClass:function(){},fb:function(){return!1},Ld:function(){},rc:function(){return!1},tc:function(){return""},kb:function(){return null},hasClass:function(){return!1},pe:function(){return!1},xe:function(){},pb:function(){},
Be:function(){},qb:function(){},Qb:function(){},Me:function(){},removeClass:function(){},Te:function(){},Ub:function(){},Ge:function(){},Rd:function(){},ue:function(){return!1},te:function(){return!1},ja:function(){},ha:function(){}}}}});function Cj(a){var b=new Set;[].forEach.call(a,function(c){return b.add(c.offsetTop)});return b.size>1};function Dj(a,b){b=b===void 0?{}:b;this.root=a;this.j=b;this.l=null}Dj.prototype.Ub=function(){var a=Ej(this.root);if(a.length===0)throw Error("FocusTrap: Element must have at least one focusable child.");this.l=document.activeElement instanceof HTMLElement?document.activeElement:null;Fj(this.root);if(!this.j.Wh){var b=this.j.bh,c=0;b&&(c=Math.max(a.indexOf(b),0));a[c].focus()}};
Dj.prototype.Qb=function(){Array.from(this.root.querySelectorAll(".mdc-dom-focus-sentinel")).forEach(function(a){a.parentElement.removeChild(a)});!this.j.Xh&&this.l&&this.l.focus()};function Fj(a){var b=Gj(),c=Gj();b.addEventListener("focus",function(){var d=Ej(a);d.length>0&&d[d.length-1].focus()});c.addEventListener("focus",function(){var d=Ej(a);d.length>0&&d[0].focus()});a.insertBefore(b,a.children[0]);a.appendChild(c)}
function Ej(a){return Array.from(a.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(b){var c=b.getAttribute("aria-disabled")==="true"||b.getAttribute("disabled")!=null||b.getAttribute("hidden")!=null||b.getAttribute("aria-hidden")==="true";c=b.tabIndex>=0&&b.getBoundingClientRect().width>0&&!b.classList.contains("mdc-dom-focus-sentinel")&&!c;var d=!1;c&&(b=getComputedStyle(b),d=b.display==="none"||b.visibility==="hidden");return c&&!d})}
function Gj(){var a=document.createElement("div");a.setAttribute("tabindex","0");a.setAttribute("aria-hidden","true");a.classList.add("mdc-dom-focus-sentinel");return a};var Hj=wj.m;function Ij(){I.apply(this,arguments)}r(Ij,I);n=Ij.prototype;n.Sa=function(a){a=a===void 0?function(c,d){return new Dj(c,d)}:a;var b=this.root.querySelector(Hj.fd);if(!b)throw Error("Dialog component requires a "+Hj.fd+" container element");this.A=b;this.content=this.root.querySelector(Hj.Df);this.buttons=Array.from(this.root.querySelectorAll(Hj.Bf));this.l=this.root.querySelector("["+Hj.Af+"]");this.O=a;this.I=[];a=u(this.buttons);for(b=a.next();!b.done;b=a.next())this.I.push(new ve(b.value))};
n.na=function(){var a=this;this.o=(0,this.O)(this.A,{bh:this.kb()||void 0});this.C=this.j.Tf.bind(this.j);this.F=this.j.Vf.bind(this.j);this.m=this.j.Uf.bind(this.j);this.oa=function(){document.addEventListener("keydown",a.m)};this.W=function(){document.removeEventListener("keydown",a.m)};J(this,"click",this.C);J(this,"keydown",this.F);J(this,Hj.Db,this.oa);J(this,Hj.wb,this.W)};n.layout=function(){this.j.layout()};n.open=function(){this.j.open()};n.close=function(a){this.j.close(a===void 0?"":a)};
n.R=function(){var a=this;return new wj({Ed:function(b){document.body.classList.add(b)},addClass:function(b){a.root.classList.add(b)},fb:function(){return Cj(a.buttons)},Ld:function(){a.l&&!a.l.disabled&&a.l.click()},rc:function(b,c){return b?Yd(b,c):!1},tc:function(b){return b.target?(b=Xd(b.target,"["+Hj.Rc+"]"))&&b.getAttribute(Hj.Rc):""},kb:function(){return a.kb()},hasClass:function(b){return a.root.classList.contains(b)},pe:function(){var b=a.content;return b?b.scrollHeight>b.offsetHeight:!1},
xe:function(b){K(a,Hj.ub,b?{action:b}:{})},pb:function(b){K(a,Hj.wb,b?{action:b}:{})},Be:function(){K(a,Hj.cb,{})},qb:function(){K(a,Hj.Db,{})},Qb:function(){a.o.Qb()},Me:function(b){document.body.classList.remove(b)},removeClass:function(b){a.root.classList.remove(b)},Te:function(){a.buttons.reverse();a.buttons.forEach(function(b){b.parentElement.appendChild(b)})},Ub:function(){a.o.Ub()},Ge:function(b,c){a.content instanceof HTMLElement&&a.content.addEventListener(b,c)},Rd:function(b,c){a.content instanceof
HTMLElement&&a.content.removeEventListener(b,c)},ue:function(){var b=a.content;return b?b.scrollTop===0:!1},te:function(){var b=a.content;return b?Math.ceil(b.scrollHeight-b.scrollTop)===b.clientHeight:!1},ja:function(b,c){window.addEventListener(b,c)},ha:function(b,c){window.removeEventListener(b,c)}})};n.kb=function(){return this.root.querySelector("["+Hj.Qf+"]")};
p.Object.defineProperties(Ij.prototype,{B:{configurable:!0,enumerable:!0,get:function(){return this.j.v},set:function(a){this.j.v=a}},G:{configurable:!0,enumerable:!0,get:function(){return this.j.A},set:function(a){this.j.A=a}},v:{configurable:!0,enumerable:!0,get:function(){return this.j.o},set:function(a){this.j.o=a}}});var Jj=1;
function Kj(a,b){var c=this;this.root=a;this.v=b;this.B=0;if(this.v.m){if(!this.root.classList.contains("dfs-dialog")){console.assert(!1,"unable to attach DFSDialog. The root element must have the dfs-dialog class.");return}this.root.classList.add("mdc-dialog");a=this.root.querySelector(".dfs-dialog-container");if(!a){console.assert(!1,"unable to attach DFSDialog. The root element must have a child with the dfs-dialog-container class.");return}a.classList.add("mdc-dialog__container");this.j=a.querySelector(".dfs-dialog-surface");
if(!this.j){console.assert(!1,"unable to attach DFSDialog. The container element must have a child with the dfs-dialog-surface class.");return}if(!this.j.hasAttribute("aria-describedby")){console.assert(!1,"unable to attach DFSDialog. The surface element must have the aria-describedby attribute.");return}if(!this.j.hasAttribute("aria-labelledby")){console.assert(!1,"unable to attach DFSDialog. The surface element must have the aria-labelledby attribute.");return}this.j.classList.add("mdc-dialog__surface");
this.j.setAttribute("role","alertdialog");this.j.setAttribute("aria-modal","true");this.j.setAttribute("tabindex","-1");if(!this.j.querySelector(".dfs-dialog-header-container")){console.assert(!1,"unable to attach DFSDialog. The surface element must have a child with the mdc-elevation-overlay class.");return}(this.o=this.j.querySelector(".dfs-dialog-header-container"))&&this.v.j&&this.o.classList.add("mdc-dialog__title");this.m=this.j.querySelector(".dfs-dialog-content");if(!this.m){console.assert(!1,
"unable to attach DFSDialog. The surface element must have a child with the dfs-dialog-content class.");return}this.m.classList.add("mdc-dialog__content");this.l=this.j.querySelector(".dfs-dialog-actions");if(!this.l){console.assert(!1,"unable to attach DFSDialog. The surface element must have a child with the dfs-dialog-actions class.");return}this.l.classList.add("mdc-dialog__actions");a=this.l.querySelectorAll(".mdc-button");if(a.length==0){console.assert(!1,"unable to attach DFSDialog. The dialog actions must have a child that is a button.");
return}a.forEach(function(d){return d.classList.add("mdc-dialog__button")});a=this.root.querySelector(".dfs-dialog-scrim");if(!a){console.assert(!1,"unable to attach DFSDialog. The root element must have a child with the dfs-dialog-scrim class.");return}a.classList.add("mdc-dialog__scrim")}else this.root.classList.add("mdc-dialog"),this.root.classList.add("dfs-dialog"),this.A=Jj++,a="dfs-dialog-content-"+this.A,b=document.createElement("div"),b.classList.add("mdc-dialog__container"),b.classList.add("dfs-dialog-container"),
this.root.appendChild(b),this.j=document.createElement("div"),this.j.classList.add("mdc-dialog__surface"),this.j.classList.add("dfs-dialog-surface"),this.v.l&&this.j.classList.add.apply(this.j.classList,w(this.v.l)),this.j.setAttribute("role","alertdialog"),this.j.setAttribute("aria-modal","true"),this.j.setAttribute("aria-describedby",a),this.j.setAttribute("tabindex","-1"),b.appendChild(this.j),b=document.createElement("div"),b.classList.add("mdc-elevation-overlay"),this.j.appendChild(b),this.o=
document.createElement("div"),this.o.classList.add("dfs-dialog-header-container"),this.v.j&&this.o.classList.add("mdc-dialog__title"),this.j.appendChild(this.o),this.m=document.createElement("div"),this.m.id=a,this.m.classList.add("mdc-dialog__content"),this.m.classList.add("dfs-dialog-content"),this.j.appendChild(this.m),this.l=document.createElement("div"),this.l.classList.add("mdc-dialog__actions"),this.l.classList.add("dfs-dialog-actions"),this.j.appendChild(this.l),a=document.createElement("div"),
a.classList.add("mdc-dialog__scrim"),a.classList.add("dfs-dialog-scrim"),this.root.appendChild(a);this.v.j&&this.root.classList.add("Gm3Dialog","Gm3AlertDialog");this.dialog=new Ij(this.root);this.dialog.B="";this.dialog.G="";this.dialog.v=!1;this.root.addEventListener("MDCDialog:opened",function(){c.j.focus()})}
function Lj(a,b){var c=["photos-deprecation-confirmation-dialog-header"],d=!0;b=b===void 0?null:b;c=c===void 0?null:c;d=d===void 0?!1:d;var e=document.createElement("div");e.classList.add("dfs-dialog-header-element");b&&(e.classList.add("dfs-dialog-header-text"),a.v.j&&e.classList.add("mdc-dialog__title-text"),Wf(e,b),d&&(b="dfs-dialog-title-"+a.A,e.id=b,a.j.setAttribute("aria-labelledby",b)));if(c)for(c=u(c),b=c.next();!b.done;b=c.next())e.classList.add(b.value);a.o.appendChild(e)}
function Mj(a,b){b=b===void 0?null:b;var c=c===void 0?null:c;var d=document.createElement("div");d.classList.add("dfs-dialog-content-element");b&&(d.classList.add("dfs-dialog-content-text"),Wf(d,b));if(c)for(b=u(c),c=b.next();!c.done;c=b.next())d.classList.add(c.value);a.m.appendChild(d)}function Nj(a,b){var c=document.createElement("div");b.Z?b.Z.push("mdc-dialog__button"):b.Z=["mdc-dialog__button"];b.l=a.v.j;a.l.appendChild(c);a.B++>0&&c.classList.add("dfs-dialog-button");return new Ui(c,b)}
Kj.prototype.reset=function(){this.o&&sf(this.o);this.m&&sf(this.m);this.l&&sf(this.l);this.j.removeAttribute("aria-labelledby")};Kj.prototype.open=function(){this.dialog.open()};Kj.prototype.close=function(){this.dialog.close()};function Oj(){this.l=null;this.j=this.m=!1};var Pj={Yb:"mdc-linear-progress--closed",cd:"mdc-linear-progress--closed-animation-off",ac:"mdc-linear-progress--indeterminate",Ah:"mdc-linear-progress--reversed",Vb:"mdc-linear-progress--animation-ready"},Qj={Ba:"aria-hidden",Yc:"aria-valuemax",Zc:"aria-valuemin",Wb:"aria-valuenow",zf:".mdc-linear-progress__buffer-bar",kd:"flex-basis",kg:".mdc-linear-progress__primary-bar"};function Rj(a){H.call(this,Object.assign({},Rj.l,a));this.m=null}r(Rj,H);n=Rj.prototype;n.init=function(){var a=this;this.l=!this.j.hasClass(Pj.ac);this.j.addClass(Pj.Vb);this.progress=0;this.o=1;this.m=this.j.Id(function(b){if(!a.l){b=u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c.contentRect&&Sj(a,c.contentRect.width)}});!this.l&&this.m&&Sj(this,this.j.qa())};
n.Jc=function(a){(this.l=a)?(this.j.removeClass(Pj.ac),this.j.setAttribute(Qj.Wb,this.progress.toString()),this.j.setAttribute(Qj.Yc,"1"),this.j.setAttribute(Qj.Zc,"0"),Tj(this,this.progress),this.j.Ic(Qj.kd,this.o*100+"%")):(this.m&&Sj(this,this.j.qa()),this.j.addClass(Pj.ac),this.j.removeAttribute(Qj.Wb),this.j.removeAttribute(Qj.Yc),this.j.removeAttribute(Qj.Zc),Tj(this,1),this.j.Ic(Qj.kd,"100%"))};n.bf=function(a){this.progress=a;this.l&&(Tj(this,a),this.j.setAttribute(Qj.Wb,a.toString()))};
n.open=function(){this.j.removeClass(Pj.Yb);this.j.removeClass(Pj.cd);this.j.removeAttribute(Qj.Ba)};n.close=function(){this.j.addClass(Pj.Yb);this.j.setAttribute(Qj.Ba,"true")};function Tj(a,b){a.j.af(typeof window!=="undefined"?fg():"transform","scaleX("+b+")")}
function Sj(a,b){var c=b*.8367142,d=b*2.00611057,e=b*.37651913,f=b*.84386165;b*=1.60277782;a.j.V("--mdc-linear-progress-primary-half",c+"px");a.j.V("--mdc-linear-progress-primary-half-neg",-c+"px");a.j.V("--mdc-linear-progress-primary-full",d+"px");a.j.V("--mdc-linear-progress-primary-full-neg",-d+"px");a.j.V("--mdc-linear-progress-secondary-quarter",e+"px");a.j.V("--mdc-linear-progress-secondary-quarter-neg",-e+"px");a.j.V("--mdc-linear-progress-secondary-half",f+"px");a.j.V("--mdc-linear-progress-secondary-half-neg",
-f+"px");a.j.V("--mdc-linear-progress-secondary-full",b+"px");a.j.V("--mdc-linear-progress-secondary-full-neg",-b+"px");a.j.removeClass(Pj.Vb);a.j.ib();a.j.addClass(Pj.Vb)}
p.Object.defineProperties(Rj,{j:{configurable:!0,enumerable:!0,get:function(){return Pj}},m:{configurable:!0,enumerable:!0,get:function(){return Qj}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},Id:function(){return null},ib:function(){},qa:function(){return 0},hasClass:function(){return!1},Ic:function(){return null},af:function(){return null},V:function(){},removeAttribute:function(){},removeClass:function(){},setAttribute:function(){}}}}});function Uj(){I.apply(this,arguments)}r(Uj,I);Uj.prototype.open=function(){this.j.open()};Uj.prototype.close=function(){this.j.close()};Uj.prototype.na=function(){var a=this;this.root.addEventListener("transitionend",function(){var b=a.j;b.j.hasClass(Pj.Yb)&&b.j.addClass(Pj.cd)})};
Uj.prototype.R=function(){var a=this;return new Rj({addClass:function(b){a.root.classList.add(b)},ib:function(){a.root.getBoundingClientRect()},Ic:function(b,c){var d=a.root.querySelector(Rj.m.zf);d&&d.style.setProperty(b,c)},af:function(b,c){var d=a.root.querySelector(Rj.m.kg);d&&d.style.setProperty(b,c)},hasClass:function(b){return a.root.classList.contains(b)},removeAttribute:function(b){a.root.removeAttribute(b)},removeClass:function(b){a.root.classList.remove(b)},setAttribute:function(b,c){Rd(a.root,
b,c)},V:function(b,c){a.root.style.setProperty(b,c)},Id:function(b){var c=window.ResizeObserver;return c?(b=new c(b),b.observe(a.root),b):null},qa:function(){return a.root.offsetWidth}})};p.Object.defineProperties(Uj.prototype,{l:{configurable:!0,enumerable:!0,set:function(a){this.j.Jc(a)}},progress:{configurable:!0,enumerable:!0,set:function(a){this.j.bf(a)}}});function Vj(a){function b(g){var h=document.createElement("div");h.classList.add("mdc-linear-progress__bar");h.classList.add("mdc-linear-progress__"+g+"-bar");g=document.createElement("span");g.classList.add("mdc-linear-progress__bar-inner");h.appendChild(g);g=document.createElement("div");g.classList.add("dfsRibbing");h.appendChild(g);d.appendChild(h)}var c=c===void 0?!0:c;this.root=a;this.root.classList.add("GmLinearProgress");var d=document.createElement("div");d.id=this.root.id+"-linear-progress";
d.classList.add("mdc-linear-progress");d.setAttribute("role","progressbar");a=document.createElement("div");a.classList.add("mdc-linear-progress__buffer");var e=document.createElement("div");e.classList.add("mdc-linear-progress__buffer-bar");var f=document.createElement("div");f.classList.add("mdc-linear-progress__buffer-dots");a.appendChild(e);a.appendChild(f);d.appendChild(a);b("primary");b("secondary");this.j=new Uj(d);this.root.appendChild(d);this.j.l=c}
Vj.prototype.bf=function(a){a===null&&(a=0);a<0||a>1?console.error("Invalid progress value: %i, should be between [0, 1]",a):(a>0&&(this.root.querySelector(".dfsRibbing").style.transform="scaleX("+1/a+")"),this.j.progress=a)};Vj.prototype.Jc=function(a){this.j.l=a};Vj.prototype.V=function(a){this.root.classList.remove("dfsLinearProgressWarning");this.root.classList.remove("dfsLinearProgressRibbed");switch(a){case 1:this.root.classList.add("dfsLinearProgressWarning");break;case 2:this.root.classList.add("dfsLinearProgressRibbed")}};function Wj(a,b){var c=new Xj;this.root=a;this.j=b;this.l=c;b=new Oj;b.l=["merge-folder-dialog"];b.j=this.l.j;this.dialog=new Kj(a,b)}function Xj(){this.j=!1};function Yj(a,b){return qd([xd("img",{src:b?"drive_logo_24px.svg":"photos_logo_24px.svg",alt:""}),xd("span",{"class":"syncing-option-label gmTypographySubtitle2"},a||"")])}
function Zj(a){function b(){ak(c)}var c=this;this.root=$("#root-configurator");this.O=a;a=this.root.find("#root-configurator-dialog-root")[0];var d=new Oj;d.m=!0;this.Da=new Kj(a,d);d=new Oj;d.l=["stop-syncing-root-confirmation-dialog"];new Kj(this.root.find("#stop-syncing-root-confirmation-dialog-root")[0],d);this.Fb=new Wj(this.root.find("#merge-folder-dialog-root")[0],this);this.j=null;this.root.find("#cancel-add-root-button").on("click",function(){c.done()});this.C=this.root.find("#save-root-button");
this.C.on("click",b);this.W=this.root.find("#done-root-button");this.W.on("click",b);this.m=new oj(this.root.find("#drive-destination-checkbox")[0]);pj(this.m,function(){Ti(c)});this.l=new oj(this.root.find("#photos-destination-checkbox")[0]);pj(this.l,function(){Ti(c)});this.Eb=new Vj(this.root.find("#indeterminate-progress-bar")[0]);this.Eb.Jc(!1);this.Ea=new Map;this.title=this.root.find("#root-title");this.Cb=this.root.find("#root-configurator-size-label");this.Ta=this.root.find("#root-configurator-content-description");
this.Hb=this.root.find("#root-configurator-new-root-spinner");this.Ib=this.root.find("#photos-disabled-notification-banner");bk(this);this.I=this.B=this.Jb=!1;this.Ca=this.root.find("#photos-deprecation-warning-banner");d=new Oj;d.l=["photos-deprecation-confirmation-dialog"];d.j=!0;this.v=new Kj(this.root.find("#photos-deprecation-confirmation-dialog-root")[0],d);this.G=new Ci(this);this.F=this.A=null;this.o=new $c;this.oa=null;a.addEventListener("MDCDialog:opened",function(){c.m.layout();c.l.layout()})}
Zj.prototype.open=function(){this.Da.open();this.F&&(this.title.removeAttr("aria-describedby"),Lg(this.F),this.F=null);var a=this.title[0];a.scrollWidth>a.clientWidth&&(this.title.attr("aria-describedby","root-configurator-tooltip-id"),this.F=new Kg("root-configurator-tooltip-id",this.title.text().toString()))};Zj.prototype.close=function(){this.Da.close()};
function ck(a,b){b&&(a.o=b,a.root.find("#root-configurator-title").text(C(b,1)||""),a.root.find("#temp-destination-label").text(""),a.root.find("#both-destination-label").text(""),a.root.find("#cancel-add-root-button-label").text(C(b,6)||""),a.root.find("#save-root-button-label").text(C(b,7)||""),a.root.find("#done-root-button-label").text(C(b,8)||""),a.root.find("#root-configurator-scrim").attr("aria-label",C(b,23)||""),a.l&&qj(a.l,Yj(C(b,9),!1)),a.l&&rj(a.l,C(b,10)),a.root.find("#nas-notification-message").text(C(b,
17)||""),a.root.find("#root-configurator-account-switcher-label").text(C(b,22)||""),Xf(a.root.find("#root-destination-options-label"),C(b,18)).find("a").addClass("gmTypographySubhead2").attr("href","javascript:void(0);").on("click",function(){var c=Uc(),d=$f();uc(c,1,d);d=B(c,Ic,5);nc(d,4,Jc,sb(!0));qf(c)}),a.Ea.set("DOUBLE_QUOTA_WARNING",C(b,16)||""),ic(b,Wc,15)&&Fi(a.G,B(b,Wc,15)),dk(a))}
function Si(a){if(a.l){var b=E(a.A);(b=lc(a.j.m).get(C(b,1)||""))&&xc(b,4,!0)?(M(a.root.find("#photos-destination-container")),a.I||a.B||(tj(a.l),N(a.Ib))):(a.l.ra()&&(a.l.j.checked=!1),N(a.root.find("#photos-destination-container")))}}function bk(a){var b=new Vi;b.type="fill";new Ui(a.root.find("#photos-disabled-notification-action-button")[0],b)}
function Ti(a){var b=a.m&&a.m.ra(),c=a.l&&a.l.ra();b||c?a.C.prop("disabled",!1):a.C.prop("disabled",!0);if(b&&c&&!a.I&&!a.B){var d=a.Ea.get("DOUBLE_QUOTA_WARNING"),e=a.root.find("#warning-banner-message");d?(e.text(d),M(e)):N(e);M(a.root.find("#warning-banner"))}else ek(a);a.B&&(b||(a.l.j.checked=!1,sj(a.l)),c||sj(a.l))}function ek(a){a.root.find("#warning-banner-message").text("");N(a.root.find("#warning-banner"))}
function fk(a){if(!a.j)return console.log("RootConfigurator.Options must be passed to populate."),!1;var b=lc(a.j.m);if(a.j.l)for(var c=u(F(a.j.l)),d=c.next();!d.done;d=c.next())if((d=E(d.value))&&!b.has(C(d,1)||""))return console.log("Not all accounts are included in the admin settings map "),!1;return a.j.j?0+!!a.j.j>1?(console.log("RootConfigurator was provided with ambiguous options."),!1):a.j.j&&(!a.j.l||F(a.j.l).length<1)?(console.log("RootConfigurator was populated with DeviceInfo but no accounts"),
!1):a.j.o&&!a.j.l?(console.log("showAccountSwitcher was set to true, but there were no accounts provided to the RootConfigurator."),!1):!0:(console.log("RootConfigurator must be populated with an existing UISyncRoot or a new rootPath, rootTitle, and accountToken."),!1)}
function dk(a){a.v.reset();Lj(a.v,C(a.o,24)||"");Mj(a.v,C(a.o,25)||"");var b=new Vi;b.type="text";b.label=C(a.o,26)||"";b.j=function(){a.v.close()};b=Nj(a.v,b).j;b.classList.add("photos-deprecation-confirmation-dialog-back-button-margin");b=new Vi;b.type="fill";b.l=!0;b.label=C(a.o,27)||"";b.j=function(){a.Jb=!1;ak(a);sj(a.l);a.v.close()};b=Nj(a.v,b).j;b.classList.add("photos-deprecation-confirmation-dialog-continue-button-margin")}
function gk(a){a.B=void 0;a.I=void 0;Xf(a.Ca.find("#photos-deprecation-warning-banner-message")).find("a").on("click",function(){}).addClass("gmTypographySubhead2").attr("href","javascript:void(0);");a.B&&a.l.m.classList.add("hidden")}
function ak(a){if(!a.j.j&&a.m&&a.m.ra()){var b=a.Fb;var c=new Qc,d=new Pc;yc(d,1,null);yc(d,2,null);vc(c,1,Rc,d);E(b.j.A);a.oa=a.root.find("#root-configurator-dialog-root").find("a, input, textarea, select, button");a.oa.prop("disabled",!0);M(a.root.find("#indeterminate-progress-bar"));M(a.root.find("#root-configurator-scrim"));b=!0}else b=!1;if(!b&&a.j.j){b=[];if(a.m&&a.m.ra()){c=new Cc;d=new Bc;var e=yb(dc(a.j.j,2));yc(d,1,e);yc(d,2,"");vc(c,2,Dc,d);d=yb(dc(a.j.j,1));yc(c,7,d);zc(c,4,2);zc(c,3,
1);d=!wc(a.j.j,3,cc);fc(c,6,d==null?d:sb(d));d=E(a.A);uc(c,5,d);b.push(c)}a.l&&a.l.ra()&&(c=new Cc,d=new Bc,e=yb(dc(a.j.j,2)),yc(d,1,e),yc(d,2,""),vc(c,2,Dc,d),d=yb(dc(a.j.j,1)),yc(c,7,d),zc(c,4,2),zc(c,3,2),d=!wc(a.j.j,3,cc),fc(c,6,d==null?d:sb(d)),d=E(a.A),uc(c,5,d),b.push(c));c=a.O;d=E(a.A);c.l=!0;c=Uc();uc(c,1,d);d=new Hc;b=u(b);for(e=b.next();!e.done;e=b.next()){var f=d,g=e.value,h=Cc;ac(f);e=f.D;f=qc(f,e,e[x]|0,h,2,!0);g=g!=null?g:new h;f.push(g);var k=h=f===Ja?7:f[x]|0;(g=Ra(g))?(h&=-9,f.length===
1&&(h&=-4097)):h|=4096;h!==k&&La(f,h);g||bc(e)}b=B(c,Ic,5);vc(b,1,Jc,d);qf(c);a.done()}}Zj.prototype.done=function(){this.j=null;if(!this.O.l){var a=Uc(),b=$f();uc(a,1,b);b=B(a,Ic,5);nc(b,2,Jc,sb(!0));qf(a)}};function hk(){this.j=null;this.o=!1;this.l=null;this.m=new Vc};function ik(){Yf(document.documentElement);this.j=new Zj(this);$("#root-configurator-dialog-root").addClass("mdc-dialog--fullscreen");this.l=!1}
ik.prototype.df=function(a){a=cd(a);if(ic(a,Xc,1)){var b=B(a,Xc,1);b=C(b,1)||"";var c=B(a,Xc,1);c=xc(c,2);var d=B(a,Xc,1);d=xc(d,4);var e=document.getElementsByTagName("html")[0],f=document.getElementsByTagName("body")[0];typeof e!=="undefined"&&(e.setAttribute("lang",b),c&&e.setAttribute("dir","rtl"),d?e.classList.add("modeGmDarkTheme"):e.classList.remove("modeGmDarkTheme"));typeof f!=="undefined"&&(f.style.backgroundColor=d?"#202124":"#fff",f.classList.remove("hidden"))}if(ic(a,ad,18)&&(a=B(a,ad,
18),c=B(a,Vc,4))){ck(this.j,B(a,$c,1));b=new hk;b.m=c;b.j=B(a,Zc,2);b.l=B(a,Yc,3);b.o=!0;a=this.j;a.j=b;console.log(a.j);if(fk(a)){if(a.j.j){ek(a);a.title.text("");a.Cb.text("");a.Ta.text("");N(a.Hb);a.m&&(a.m.j.checked=!1);a.l&&(a.l.j.checked=!1);a.v&&a.v.close();N(a.root.find("#root-configurator-account-switcher"));N(a.root.find("#folder-root-icon"));N(a.root.find("#usb-root-icon"));N(a.root.find("#nas-root-icon"));M(a.root.find("#cancel-add-root-button"));N(a.Ca);if(b=vb(dc(a.j.j,4,void 0,cc)))switch(b){case 1:M(a.root.find("#folder-root-icon"));
break;case 2:M(a.root.find("#usb-root-icon"));break;case 3:M(a.root.find("#nas-root-icon"));break;case 0:M(a.root.find("#folder-root-icon"))}if(b=vb(dc(a.j.j,4,void 0,cc)))a.m&&(b==2?(qj(a.m,Yj(C(a.o,4),!0)),rj(a.m,C(a.o,5))):(qj(a.m,Yj(C(a.o,2),!0)),rj(a.m,C(a.o,3)))),b==3?(a.m&&sj(a.m),M(a.root.find("#nas-notification-banner"))):(a.m&&tj(a.m),N(a.root.find("#nas-notification-banner")));a.j.o&&M($("#root-configurator-account-switcher"));a.A=F(a.j.l)[0];b=new Di;b.j=a.j.l;b.l=E(a.A);b.style=1;b.o=
!0;b.m=!0;b.v=!0;Gi(a.G,b);a.title.text(C(a.j.j,1)||"");Ti(a)}else gk(a);Si(a);N(a.C);N(a.W);M(a.C)}else console.log("RootConfigurator could not validate options:"),console.log(a.j);this.j.open()}};ik.prototype.updateView=ik.prototype.df;
(function(a){a=a===void 0?function(){}:a;document.addEventListener("DOMContentLoaded",function(){for(var b=document.getElementsByTagName("img"),c=0;c<b.length;c++)b[c].setAttribute("draggable","false");b=Tc();c=B(b,Fc,4);nc(c,2,Gc,sb(!0));qf(b);a()},!1)})(function(){var a=new ik;window.updateView=function(b){a.df(b)}});}).call(this);