devvibes's picture
Haven Kitchen OS - Final Contest Submission ๐Ÿ†
5aeac76
(function(){'use strict';var n,aa=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},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})}}
var da=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=aa(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}(),ea;
if(typeof Object.setPrototypeOf=="function")ea=Object.setPrototypeOf;else{var fa;a:{var ha={a:!0},ia={};try{ia.__proto__=ha;fa=ia.a;break a}catch(a){}fa=!1}ea=fa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ja=ea;
function r(a,b){a.prototype=aa(b.prototype);a.prototype.constructor=a;if(ja)ja(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.O=b.prototype}function ka(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}
function t(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:ka(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function la(a){if(!(a instanceof Array)){a=t(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 w(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var oa=typeof Object.assign=="function"?Object.assign:function(a,b){if(a==null)throw new TypeError("No nullish arg");a=Object(a);for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)w(d,e)&&(a[e]=d[e])}return a};q("Object.assign",function(a){return a||oa});function pa(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");}
function y(){this.B=!1;this.o=null;this.i=void 0;this.h=1;this.l=this.u=0;this.D=this.j=null}function qa(a){if(a.B)throw new TypeError("Generator is already running");a.B=!0}y.prototype.C=function(a){this.i=a};function ra(a,b){a.j={V:b,W:!0};a.h=a.u||a.l}y.prototype.U=function(){return this.h};y.prototype.getNextAddress=y.prototype.U;y.prototype.Z=function(){return this.i};y.prototype.getYieldResult=y.prototype.Z;y.prototype.return=function(a){this.j={return:a};this.h=this.l};
y.prototype["return"]=y.prototype.return;y.prototype.aa=function(a){this.j={v:a};this.h=this.l};y.prototype.jumpThroughFinallyBlocks=y.prototype.aa;y.prototype.g=function(a,b){this.h=b;return{value:a}};y.prototype.yield=y.prototype.g;y.prototype.ea=function(a,b){a=t(a);var c=a.next();pa(c);if(c.done)this.i=c.value,this.h=b;else return this.o=a,this.g(c.value,b)};y.prototype.yieldAll=y.prototype.ea;y.prototype.v=function(a){this.h=a};y.prototype.jumpTo=y.prototype.v;
y.prototype.m=function(){this.h=0};y.prototype.jumpToEnd=y.prototype.m;y.prototype.H=function(a,b){this.u=a;b!=void 0&&(this.l=b)};y.prototype.setCatchFinallyBlocks=y.prototype.H;y.prototype.da=function(a){this.u=0;this.l=a||0};y.prototype.setFinallyBlock=y.prototype.da;y.prototype.ca=function(a,b){this.h=a;this.u=b||0};y.prototype.leaveTryBlock=y.prototype.ca;y.prototype.G=function(a){this.u=a||0;a=this.j.V;this.j=null;return a};y.prototype.enterCatchBlock=y.prototype.G;
y.prototype.I=function(a,b,c){c?this.D[c]=this.j:this.D=[this.j];this.u=a||0;this.l=b||0};y.prototype.enterFinallyBlock=y.prototype.I;y.prototype.ba=function(a,b){b=this.D.splice(b||0)[0];(b=this.j=this.j||b)?b.W?this.h=this.u||this.l:b.v!=void 0&&this.l<b.v?(this.h=b.v,this.j=null):this.h=this.l:this.h=a};y.prototype.leaveFinallyBlock=y.prototype.ba;y.prototype.K=function(a){return new sa(a)};y.prototype.forIn=y.prototype.K;
function sa(a){this.i=a;this.g=[];for(var b in a)this.g.push(b);this.g.reverse()}sa.prototype.h=function(){for(;this.g.length>0;){var a=this.g.pop();if(a in this.i)return a}return null};sa.prototype.getNext=sa.prototype.h;function ta(a){this.g=new y;this.h=a}function ua(a,b){qa(a.g);var c=a.g.o;if(c)return va(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return wa(a)}
function va(a,b,c,d){try{var e=b.call(a.g.o,c);pa(e);if(!e.done)return a.g.B=!1,e;var g=e.value}catch(f){return a.g.o=null,ra(a.g,f),wa(a)}a.g.o=null;d.call(a.g,g);return wa(a)}function wa(a){for(;a.g.h;)try{var b=a.h(a.g);if(b)return a.g.B=!1,{value:b.value,done:!1}}catch(c){a.g.i=void 0,ra(a.g,c)}a.g.B=!1;if(a.g.j){b=a.g.j;a.g.j=null;if(b.W)throw b.V;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
function xa(a){this.next=function(b){qa(a.g);a.g.o?b=va(a,a.g.o.next,b,a.g.C):(a.g.C(b),b=wa(a));return b};this.throw=function(b){qa(a.g);a.g.o?b=va(a,a.g.o["throw"],b,a.g.C):(ra(a.g,b),b=wa(a));return b};this.return=function(b){return ua(a,b)};this[Symbol.iterator]=function(){return this}}function ya(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(f){f.done?d(f.value):Promise.resolve(f.value).then(b,c).then(g,e)}g(a.next())})}
function z(a){return ya(new xa(new ta(a)))}function za(){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 da});q("Reflect.setPrototypeOf",function(a){return a?a:ja?function(b,c){try{return ja(b,c),!0}catch(d){return!1}}:null});
q("Symbol",function(a){function b(g){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(g||"")+"_"+e++,g)}function c(g,f){this.g=g;ba(this,"description",{configurable:!0,writable:!0,value:f})}if(a)return a;c.prototype.toString=function(){return this.g};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");ba(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Aa(ka(this))}});return a});function Aa(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
q("Promise",function(a){function b(f){this.g=0;this.i=void 0;this.h=[];this.o=!1;var h=this.j();try{f(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.g=null}function d(f){return f instanceof b?f:new b(function(h){h(f)})}if(a)return a;c.prototype.h=function(f){if(this.g==null){this.g=[];var h=this;this.i(function(){h.l()})}this.g.push(f)};var e=p.setTimeout;c.prototype.i=function(f){e(f,0)};c.prototype.l=function(){for(;this.g&&this.g.length;){var f=this.g;this.g=[];for(var h=0;h<f.length;++h){var k=
f[h];f[h]=null;try{k()}catch(l){this.j(l)}}}this.g=null};c.prototype.j=function(f){this.i(function(){throw f;})};b.prototype.j=function(){function f(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:f(this.G),reject:f(this.l)}};b.prototype.G=function(f){if(f===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof b)this.I(f);else{a:switch(typeof f){case "object":var h=f!=null;break a;case "function":h=!0;break a;default:h=!1}h?this.D(f):this.m(f)}};
b.prototype.D=function(f){var h=void 0;try{h=f.then}catch(k){this.l(k);return}typeof h=="function"?this.K(h,f):this.m(f)};b.prototype.l=function(f){this.u(2,f)};b.prototype.m=function(f){this.u(1,f)};b.prototype.u=function(f,h){if(this.g!=0)throw Error("Cannot settle("+f+", "+h+"): Promise already settled in state"+this.g);this.g=f;this.i=h;this.g===2&&this.H();this.B()};b.prototype.H=function(){var f=this;e(function(){if(f.C()){var h=p.console;typeof h!=="undefined"&&h.error(f.i)}},1)};b.prototype.C=
function(){if(this.o)return!1;var f=p.CustomEvent,h=p.Event,k=p.dispatchEvent;if(typeof k==="undefined")return!0;typeof f==="function"?f=new f("unhandledrejection",{cancelable:!0}):typeof h==="function"?f=new h("unhandledrejection",{cancelable:!0}):(f=p.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.i;return k(f)};b.prototype.B=function(){if(this.h!=null){for(var f=0;f<this.h.length;++f)g.h(this.h[f]);this.h=null}};var g=new c;b.prototype.I=
function(f){var h=this.j();f.R(h.resolve,h.reject)};b.prototype.K=function(f,h){var k=this.j();try{f.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(f,h){function k(v,x){return typeof v=="function"?function(J){try{l(v(J))}catch(K){m(K)}}:x}var l,m,u=new b(function(v,x){l=v;m=x});this.R(k(f,l),k(h,m));return u};b.prototype.catch=function(f){return this.then(void 0,f)};b.prototype.R=function(f,h){function k(){switch(l.g){case 1:f(l.i);break;case 2:h(l.i);break;default:throw Error("Unexpected state: "+
l.g);}}var l=this;this.h==null?g.h(k):this.h.push(k);this.o=!0};b.resolve=d;b.reject=function(f){return new b(function(h,k){k(f)})};b.race=function(f){return new b(function(h,k){for(var l=t(f),m=l.next();!m.done;m=l.next())d(m.value).R(h,k)})};b.all=function(f){var h=t(f),k=h.next();return k.done?d([]):new b(function(l,m){function u(J){return function(K){v[J]=K;x--;x==0&&l(v)}}var v=[],x=0;do v.push(void 0),x++,d(k.value).R(u(v.length-1),m),k=h.next();while(!k.done)})};return b});
q("Object.setPrototypeOf",function(a){return a||ja});q("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});function Ba(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}
q("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ba(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}});
q("WeakMap",function(a){function b(k){this.g=(h+=Math.random()+1).toString();if(k){k=t(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(!w(k,f)){var l=new c;ba(k,f,{value:l})}}function g(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(u){return!1}}())return a;var f="$jscomp_hidden_"+Math.random();g("freeze");g("preventExtensions");g("seal");var h=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!w(k,f))throw Error("WeakMap key fail: "+k);k[f][this.g]=l;return this};b.prototype.get=function(k){return d(k)&&w(k,f)?k[f][this.g]:void 0};b.prototype.has=function(k){return d(k)&&w(k,
f)&&w(k[f],this.g)};b.prototype.delete=function(k){return d(k)&&w(k,f)&&w(k[f],this.g)?delete k[f][this.g]:!1};return b});
q("Map",function(a){function b(){var h={};return h.F=h.next=h.head=h}function c(h,k){var l=h[1];return Aa(function(){if(l){for(;l.head!=h[1];)l=l.F;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"?g.has(k)?l=g.get(k):(l=""+ ++f,g.set(k,l)):l="p_"+k;var m=h[0][l];if(m&&w(h[0],l))for(h=0;h<m.length;h++){var u=m[h];if(k!==k&&u.key!==u.key||k===u.key)return{id:l,list:m,index:h,entry:u}}return{id:l,
list:m,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=t(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(t([[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(u){return!1}}())return a;var g=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],F:this[1].F,head:this[1],key:h,value:k},l.list.push(l.entry),this[1].F.next=l.entry,this[1].F=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.F.next=h.entry.next,
h.entry.next.F=h.entry.F,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].F=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 f=0;return e});function Ca(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}q("Array.prototype.values",function(a){return a?a:function(){return Ca(this,function(b,c){return c})}});
q("Array.prototype.keys",function(a){return a?a:function(){return Ca(this,function(b){return b})}});q("Array.prototype.entries",function(a){return a?a:function(){return Ca(this,function(b,c){return[b,c]})}});q("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});
q("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};var e=[],g=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof g=="function"){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}});
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,g=0;g<e;g++){var f=d[g];if(b.call(c,f,g,d)){b=f;break a}}b=void 0}return b}});q("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)w(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.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});q("String.prototype.includes",function(a){return a?a:function(b,c){return Ba(this,b,"includes").indexOf(b,c||0)!==-1}});q("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)w(b,d)&&c.push([d,b[d]]);return c}});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.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});
q("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var Da=Da||{},A=this||self;function Ea(a,b){a=a.split(".");for(var c=A,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b}function Fa(a,b){a=a.split(".");b=b||A;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function Ga(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}function Ha(a,b,c){return a.call.apply(a.bind,arguments)}
function Ia(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function Ja(a,b,c){Ja=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ha:Ia;return Ja.apply(null,arguments)}
function Ka(a,b){function c(){}c.prototype=b.prototype;a.O=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.va=function(d,e,g){for(var f=Array(arguments.length-2),h=2;h<arguments.length;h++)f[h-2]=arguments[h];return b.prototype[e].apply(d,f)}};function La(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,La);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)}Ka(La,Error);La.prototype.name="CustomError";var Ma;var Na=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};function Oa(a,b){b=Na(a,b);var c;(c=b>=0)&&Array.prototype.splice.call(a,b,1);return c};/*
Copyright Google LLC
SPDX-License-Identifier: Apache-2.0
*/
var Pa=globalThis.trustedTypes,Qa;function Ra(){var a=null;if(!Pa)return a;try{var b=function(c){return c};a=Pa.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};function Sa(a){this.g=a}Sa.prototype.toString=function(){return this.g+""};function Ta(a){var b;Qa===void 0&&(Qa=Ra());a=(b=Qa)?b.createScriptURL(a):a;return new Sa(a)};var Ua=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;function Va(a,b){b=Ua.test(b)?b:void 0;b!==void 0&&a.open(b,void 0,void 0)}function Wa(a){a=a===void 0?document:a;var b,c;a=(c=(b=a).querySelector)==null?void 0:c.call(b,"script[nonce]");return a==null?"":a.nonce||a.getAttribute("nonce")||""};function Xa(a,b){if(b instanceof Sa)b=b.g;else throw Error("");a.src=b;(b=Wa(a.ownerDocument))&&a.setAttribute("nonce",b)};var Ya="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Za(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Ya.length;g++)c=Ya[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var $a=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function ab(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};function bb(a){this.h=this.o=this.j="";this.u=null;this.m=this.g="";this.l=!1;var b;a instanceof bb?(this.l=a.l,cb(this,a.j),this.o=a.o,this.h=a.h,db(this,a.u),this.g=a.g,eb(this,fb(a.i)),this.m=a.m):a&&(b=String(a).match($a))?(this.l=!1,cb(this,b[1]||"",!0),this.o=gb(b[2]||""),this.h=gb(b[3]||"",!0),db(this,b[4]),this.g=gb(b[5]||"",!0),eb(this,b[6]||"",!0),this.m=gb(b[7]||"")):(this.l=!1,this.i=new hb(null,this.l))}
bb.prototype.toString=function(){var a=[],b=this.j;b&&a.push(ib(b,jb,!0),":");var c=this.h;if(c||b=="file")a.push("//"),(b=this.o)&&a.push(ib(b,jb,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.u,c!=null&&a.push(":",String(c));if(c=this.g)this.h&&c.charAt(0)!="/"&&a.push("/"),a.push(ib(c,c.charAt(0)=="/"?kb:lb,!0));(c=this.i.toString())&&a.push("?",c);(c=this.m)&&a.push("#",ib(c,mb));return a.join("")};
bb.prototype.resolve=function(a){var b=new bb(this),c=!!a.j;c?cb(b,a.j):c=!!a.o;c?b.o=a.o:c=!!a.h;c?b.h=a.h:c=a.u!=null;var d=a.g;if(c)db(b,a.u);else if(c=!!a.g){if(d.charAt(0)!="/")if(this.h&&!this.g)d="/"+d;else{var e=b.g.lastIndexOf("/");e!=-1&&(d=b.g.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(e.indexOf("./")!=-1||e.indexOf("/.")!=-1){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var g=[],f=0;f<e.length;){var h=e[f++];h=="."?d&&f==e.length&&g.push(""):h==".."?((g.length>1||g.length==1&&
g[0]!="")&&g.pop(),d&&f==e.length&&g.push("")):(g.push(h),d=!0)}d=g.join("/")}else d=e}c?b.g=d:c=a.i.toString()!=="";c?eb(b,fb(a.i)):c=!!a.m;c&&(b.m=a.m);return b};function cb(a,b,c){a.j=c?gb(b,!0):b;a.j&&(a.j=a.j.replace(/:$/,""))}function db(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.u=b}else a.u=null}function eb(a,b,c){b instanceof hb?(a.i=b,nb(a.i,a.l)):(c||(b=ib(b,ob)),a.i=new hb(b,a.l))}function B(a,b,c){a.i.set(b,c);return a}
function gb(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function ib(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,pb),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function pb(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var jb=/[#\/\?@]/g,lb=/[#\?:]/g,kb=/[#\?]/g,ob=/[#\?@]/g,mb=/#/g;function hb(a,b){this.h=this.g=null;this.i=a||null;this.j=!!b}
function C(a){a.g||(a.g=new Map,a.h=0,a.i&&ab(a.i,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}n=hb.prototype;n.add=function(a,b){C(this);this.i=null;a=qb(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};function rb(a,b){C(a);b=qb(a,b);a.g.has(b)&&(a.i=null,a.h-=a.g.get(b).length,a.g.delete(b))}n.clear=function(){this.g=this.i=null;this.h=0};function sb(a,b){C(a);b=qb(a,b);return a.g.has(b)}
n.forEach=function(a,b){C(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};function tb(a,b){C(a);var c=[];if(typeof b==="string")sb(a,b)&&(c=c.concat(a.g.get(qb(a,b))));else for(a=Array.from(a.g.values()),b=0;b<a.length;b++)c=c.concat(a[b]);return c}n.set=function(a,b){C(this);this.i=null;a=qb(this,a);sb(this,a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};
n.get=function(a,b){if(!a)return b;a=tb(this,a);return a.length>0?String(a[0]):b};n.toString=function(){if(this.i)return this.i;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=tb(this,d);for(var g=0;g<d.length;g++){var f=e;d[g]!==""&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.i=a.join("&")};function fb(a){var b=new hb;b.i=a.i;a.g&&(b.g=new Map(a.g),b.h=a.h);return b}
function qb(a,b){b=String(b);a.j&&(b=b.toLowerCase());return b}function nb(a,b){b&&!a.j&&(C(a),a.i=null,a.g.forEach(function(c,d){var e=d.toLowerCase();if(d!=e&&(rb(this,d),rb(this,e),c.length>0)){this.i=null;d=this.g;var g=d.set;e=qb(this,e);var f=c.length;if(f>0){for(var h=Array(f),k=0;k<f;k++)h[k]=c[k];f=h}else f=[];g.call(d,e,f);this.h+=c.length}},a));a.j=b};function ub(a){A.setTimeout(function(){throw a;},0)};var vb,wb=Fa("CLOSURE_FLAGS"),xb=wb&&wb[748402147];vb=xb!=null?xb:!0;function yb(){var a=A.navigator;return a&&(a=a.userAgent)?a:""};function zb(a){zb[" "](a);return a}zb[" "]=function(){};var Ab=yb().toLowerCase().indexOf("webkit")!=-1&&yb().indexOf("Edge")==-1,Bb=Ab&&yb().indexOf("Mobile")!=-1;var Cb=void 0;var Db=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Eb(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 Fb=Eb("jas",void 0,!0),Gb=Eb(void 0,"0di"),Hb=Eb(void 0,"0actk"),Ib=Eb("m_m","ya",!0);var Jb={ga:{value:0,configurable:!0,writable:!0,enumerable:!1}},Kb=Object.defineProperties,D=Db?Fb:"ga",Lb,Mb=[];E(Mb,7);Lb=Object.freeze(Mb);function Nb(a,b){Db||D in a||Kb(a,Jb);a[D]|=b}function E(a,b){Db||D in a||Kb(a,Jb);a[D]=b}function Ob(a){Nb(a,34);return a}function Pb(a){Nb(a,8192);return a}function Qb(a){Nb(a,32);return a};var Rb={};function F(a,b){return b===void 0?a.h!==Sb&&!!(2&(a.g[D]|0)):!!(2&b)&&a.h!==Sb}var Sb={};function Tb(a,b,c){this.g=a;this.h=b;this.i=c}Tb.prototype.next=function(){var a=this.g.next();a.done||(a.value=this.h.call(this.i,a.value));return a};Tb.prototype[Symbol.iterator]=function(){return this};var Ub=Object.freeze({});var Vb=typeof A.BigInt==="function"&&typeof A.BigInt(0)==="bigint";var Wb=Number.MIN_SAFE_INTEGER.toString(),Yb=Vb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Zb=Number.MAX_SAFE_INTEGER.toString(),$b=Vb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function ac(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 bc=Number.isFinite;function cc(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return bc(a)?a>>>0:void 0}function dc(a){return a==null||typeof a==="string"?a:void 0}function ec(a,b,c,d){if(a!=null&&a[Ib]===Rb)return a;if(!Array.isArray(a))return c?d&2?((a=b[Gb])||(a=new b,Ob(a.g),a=b[Gb]=a),b=a):b=new b:b=void 0,b;c=a[D]|0;d=c|d&32|d&2;d!==c&&E(a,d);return new b(a)}
function fc(a,b,c){if(b){if(typeof a!=="string")throw Error();return a}var d;return(d=dc(a))!=null?d:c?"":void 0};function hc(a){return a};var ic={},jc=function(){try{var a=function(){return da(Map,[],this.constructor)};r(a,Map);zb(new a);return!1}catch(b){return!0}}();function kc(){this.g=new Map}n=kc.prototype;n.get=function(a){return this.g.get(a)};n.set=function(a,b){this.g.set(a,b);this.size=this.g.size;return this};n.delete=function(a){a=this.g.delete(a);this.size=this.g.size;return a};n.clear=function(){this.g.clear();this.size=this.g.size};n.has=function(a){return this.g.has(a)};n.entries=function(){return this.g.entries()};
n.keys=function(){return this.g.keys()};n.values=function(){return this.g.values()};n.forEach=function(a,b){return this.g.forEach(a,b)};kc.prototype[Symbol.iterator]=function(){return this.entries()};var G=function(){function a(){return da(Map,[],this.constructor)}if(jc)return Object.setPrototypeOf(kc.prototype,Map.prototype),Object.defineProperties(kc.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),kc;r(a,Map);return a}();function lc(a){return a}
function H(a,b,c,d){c=c===void 0?lc:c;d=d===void 0?lc:d;var e=G.call(this)||this;e.L=a[D]|0;e.J=b;e.T=c;e.Y=e.J?mc:d;for(var g=0;g<a.length;g++){var f=a[g],h=c(f[0],!1,!0),k=f[1];b?k===void 0&&(k=null):k=d(f[1],!1,!0,void 0,void 0,e.L);G.prototype.set.call(e,h,k)}return e}r(H,G);function nc(a){if(a.L&2)throw Error("Cannot mutate an immutable Map");}function oc(a,b){return Pb(Array.from(G.prototype.entries.call(a),b))}n=H.prototype;n.clear=function(){nc(this);G.prototype.clear.call(this)};
n.delete=function(a){nc(this);return G.prototype.delete.call(this,this.T(a,!0,!1))};n.entries=function(){if(this.J){var a=G.prototype.keys.call(this);a=new Tb(a,pc,this)}else a=G.prototype.entries.call(this);return a};n.values=function(){if(this.J){var a=G.prototype.keys.call(this);a=new Tb(a,H.prototype.get,this)}else a=G.prototype.values.call(this);return a};n.forEach=function(a,b){this.J?G.prototype.forEach.call(this,function(c,d,e){a.call(b,e.get(d),d,e)}):G.prototype.forEach.call(this,a,b)};
n.set=function(a,b){nc(this);a=this.T(a,!0,!1);return a==null?this:b==null?(G.prototype.delete.call(this,a),this):G.prototype.set.call(this,a,this.Y(b,!0,!0,this.J,!1,this.L))};n.has=function(a){return G.prototype.has.call(this,this.T(a,!1,!1))};n.get=function(a){a=this.T(a,!1,!1);var b=G.prototype.get.call(this,a);if(b!==void 0){var c=this.J;return c?(c=this.Y(b,!1,!0,c,this.wa,this.L),c!==b&&G.prototype.set.call(this,a,c),c):b}};H.prototype[Symbol.iterator]=function(){return this.entries()};
H.prototype.toJSON=void 0;function mc(a,b,c,d,e,g){a=ec(a,d,c,g);e&&(a=qc(a));return a}function pc(a){return[a,this.get(a)]}var rc;function sc(){return rc||(rc=new H(Ob([]),void 0,void 0,void 0,ic))};function tc(a,b,c,d){var e=d!==void 0;d=!!d;var g=[],f=a.length,h=4294967295,k=!1,l=!!(b&64),m=l?b&128?0:-1:void 0;if(!(b&1)){var u=f&&a[f-1];u!=null&&typeof u==="object"&&u.constructor===Object?(f--,h=f):u=void 0;if(l&&!(b&128)&&!e){k=!0;var v;h=((v=uc)!=null?v:hc)(h-m,m,a,u,void 0)+m}}b=void 0;for(e=0;e<f;e++)if(v=a[e],v!=null&&(v=c(v,d))!=null)if(l&&e>=h){var x=e-m,J=void 0;((J=b)!=null?J:b={})[x]=v}else g[e]=v;if(u)for(var K in u)a=u[K],a!=null&&(a=c(a,d))!=null&&(f=+K,e=void 0,l&&!Number.isNaN(f)&&
(e=f+m)<h?g[e]=a:(f=void 0,((f=b)!=null?f:b={})[K]=a));b&&(k?g.push(b):g[h]=b);return g}function vc(a){a[0]=wc(a[0]);a[1]=wc(a[1]);return a}
function wc(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return(Vb?a>=Yb&&a<=$b:a[0]==="-"?ac(a,Wb):ac(a,Zb))?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[D]|0;return a.length===0&&b&1?void 0:tc(a,b,wc)}if(a!=null&&a[Ib]===Rb)return I(a);if(a instanceof H)return a=a.size!==0?oc(a,vc):void 0,a;return}return a}var uc;function I(a){a=a.g;return tc(a,a[D]|0,wc)};function L(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");e=a[D]|0;if(vb&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&xc();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&E(a,e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var g=c.length;if(g){var f=g-1,h=c[f];if(h!=null&&typeof h==="object"&&h.constructor===Object){b=e&128?0:-1;f-=b;if(f>=1024)throw Error("pvtlmt");for(var k in h)g=
+k,g<f&&(c[g+b]=h[k],delete h[k]);e=e&-16760833|(f&1023)<<14;break a}}if(b){k=Math.max(b,g-(e&128?0:-1));if(k>1024)throw Error("spvt");e=e&-16760833|(k&1023)<<14}}}E(a,e|64|d);return a}function xc(){if(vb)throw Error("carr");if(Hb!=null){var a;var b=(a=Cb)!=null?a:Cb={};a=b[Hb]||0;a>=5||(b[Hb]=a+1,b=Error(),b.__closure__error__context__984382||(b.__closure__error__context__984382={}),b.__closure__error__context__984382.severity="incident",ub(b))}};function yc(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[D]|0;return a.length===0&&c&1?void 0:zc(a,c,b)}if(a!=null&&a[Ib]===Rb)return Ac(a);if(a instanceof H){b=a.L;if(b&2)return a;if(a.size){c=Ob(oc(a));if(a.J)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[Ib]===Rb?e=Ac(e):Array.isArray(e)?e=zc(e,e[D]|0,!!(b&32)):e=void 0;d[1]=e}return c}}}
function zc(a,b,c){if(b&2)return a;!c||4096&b||16&b?a=Bc(a,b,!1,c&&!(b&16)):(Nb(a,34),b&4&&Object.freeze(a));return a}function Cc(a,b,c){a=new a.constructor(b);c&&(a.h=Sb);a.i=Sb;return a}function Ac(a){var b=a.g,c=b[D]|0;return F(a,c)?a:Dc(a,b,c)?Cc(a,b):Bc(b,c)}function Bc(a,b,c,d){d!=null||(d=!!(34&b));a=tc(a,b,yc,d);d=32;c&&(d|=2);b=b&16769217|d;E(a,b);return a}function qc(a){var b=a.g,c=b[D]|0;if(F(a,c)){var d;Dc(a,b,c)?d=Cc(a,b,!0):d=new a.constructor(Bc(b,c,!1));a=d}return a}
function Ec(a){if(a.h!==Sb)return!1;var b=a.g;b=Bc(b,b[D]|0);Nb(b,2048);a.g=b;a.h=void 0;a.i=void 0;return!0}function Fc(a){if(!Ec(a)&&F(a,a.g[D]|0))throw Error();}function Gc(a,b){b===void 0&&(b=a[D]|0);b&32&&!(b&4096)&&E(a,b|4096)}function Dc(a,b,c){return c&2?!0:c&32&&!(c&4096)?(E(b,c|2),a.h=Sb,!0):!1};function Hc(a,b){a=Ic(a.g,b);if(a!==null)return a}function Ic(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),g=a.length-1;if(!(g<1+(c?0:-1))){if(e>=g){var f=a[g];if(f!=null&&typeof f==="object"&&f.constructor===Object){c=f[b];var h=!0}else if(e===g)c=f;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?f[b]=d:a[e]=d,d}return c}}
function Jc(a,b,c,d){var e=c+-1,g=a.length-1;if(g>=0&&e>=g){var f=a[g];if(f!=null&&typeof f==="object"&&f.constructor===Object)return f[c]=d,b}if(e<=g)return a[e]=d,b;if(d!==void 0){var h;g=((h=b)!=null?h:b=a[D]|0)>>14&1023||536870912;c>=g?d!=null&&(e={},a[g+-1]=(e[c]=d,e)):a[e]=d}return b}function Kc(a){return!!(2&a)&&!!(4&a)||!!(256&a)}
function Lc(a,b,c,d){!d&&Ec(a)&&(b=a.g,c=b[D]|0);var e=Ic(b,2);a=!1;if(e==null){if(d)return sc();e=[]}else if(e.constructor===H)if(e.L&2&&!d)e=oc(e);else return e;else Array.isArray(e)?a=!!((e[D]|0)&2):e=[];if(d){if(!e.length)return sc();a||(a=!0,Ob(e))}else if(a){a=!1;Pb(e);d=Array.prototype.slice.call(e);for(e=0;e<d.length;e++){var g=d[e]=Array.prototype.slice.call(d[e]);Array.isArray(g[1])&&(g[1]=Ob(g[1]))}e=Pb(d)}!a&&c&32&&Qb(e);d=new H(e,void 0,fc,fc);c=Jc(b,c,2,d);a||Gc(b,c);return d}
function Mc(a){var b=a.g,c=b[D]|0;return Lc(a,b,c,F(a,c))}function Nc(a,b,c,d){Fc(a);var e=a.g;Jc(e,e[D]|0,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a}function Oc(a,b,c){var d=!1,e=Ic(a,1,void 0,function(g){var f=ec(g,c,!1,b);d=f!==g&&f!=null;return f});if(e!=null)return d&&!F(e)&&Gc(a,b),e}function Pc(a,b){var c=a.g,d=c[D]|0;b=Oc(c,d,b);if(b==null)return b;d=c[D]|0;if(!F(a,d)){var e=qc(b);e!==b&&(Ec(a)&&(c=a.g,d=c[D]|0),b=e,d=Jc(c,d,1,b),Gc(c,d))}return b}
function Qc(a,b){return a=(2&b?a|2:a&-3)&-273}function M(a,b){var c=c===void 0?!1:c;a=Hc(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c}function Rc(a,b){var c=c===void 0?0:c;a=cc(Hc(a,b));return a!=null?a:c}function Sc(a,b){var c=c===void 0?"":c;a=dc(Hc(a,b));return a!=null?a:c}
function N(a,b,c){if(c!=null&&typeof c!=="boolean")throw a=typeof c,Error("Expected boolean but got "+(a!="object"?a:c?Array.isArray(c)?"array":a:"null")+": "+c);return Nc(a,b,c,!1)}function Tc(a,b){if(b!=null&&typeof b!=="string")throw Error();return Nc(a,1,b,"")};function O(a,b,c){this.g=L(a,b,c,2048)}O.prototype.toJSON=function(){return I(this)};function Uc(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");return new a(Qb(b))}O.prototype[Ib]=Rb;O.prototype.toString=function(){return this.g.toString()};function Vc(a){this.g=L(a,void 0,void 0,2048)}r(Vc,O);function Wc(a){this.g=L(a,void 0,void 0,2048)}r(Wc,O);function Xc(a){this.g=L(a,void 0,void 0,2048)}r(Xc,O);function Yc(a){this.g=L(a,void 0,void 0,2048)}r(Yc,O);function Zc(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0}Zc.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Zc.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Zc.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function P(a,b){this.width=a;this.height=b}P.prototype.aspectRatio=function(){return this.width/this.height};P.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};P.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};P.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function $c(a){var b=za.apply(1,arguments);if(b.length===0)return Ta(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Ta(c)};function ad(a){var b="SCRIPT";a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}function bd(a){this.g=a||A.document||document};function cd(){this.m=this.m;this.u=this.u}cd.prototype.m=!1;cd.prototype.dispose=function(){this.m||(this.m=!0,this.M())};cd.prototype[Symbol.dispose]=function(){this.dispose()};cd.prototype.M=function(){if(this.u)for(;this.u.length;)this.u.shift()()};function dd(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=!1}dd.prototype.h=function(){this.defaultPrevented=!0};var ed=function(){if(!A.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};A.addEventListener("test",c,b);A.removeEventListener("test",c,b)}catch(d){}return a}();function fd(a,b){dd.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;a&&this.init(a,b)}Ka(fd,dd);
fd.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==
void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.i=a;a.defaultPrevented&&fd.O.h.call(this)};fd.prototype.h=function(){fd.O.h.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1};var gd="closure_listenable_"+(Math.random()*1E6|0);var hd=0;function id(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.S=e;this.key=++hd;this.N=this.P=!1}function jd(a){a.N=!0;a.listener=null;a.proxy=null;a.src=null;a.S=null};function kd(a){this.src=a;this.g={};this.h=0}kd.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.g[g];a||(a=this.g[g]=[],this.h++);var f=ld(a,b,d,e);f>-1?(b=a[f],c||(b.P=!1)):(b=new id(b,this.src,g,!!d,e),b.P=c,a.push(b));return b};function md(a,b){var c=b.type;c in a.g&&Oa(a.g[c],b)&&(jd(b),a.g[c].length==0&&(delete a.g[c],a.h--))}function ld(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.N&&g.listener==b&&g.capture==!!c&&g.S==d)return e}return-1};var nd="closure_lm_"+(Math.random()*1E6|0),od={},pd=0;function qd(a,b,c,d,e){if(d&&d.once)rd(a,b,c,d,e);else if(Array.isArray(b))for(var g=0;g<b.length;g++)qd(a,b[g],c,d,e);else c=sd(c),a&&a[gd]?a.h.add(String(b),c,!1,Ga(d)?!!d.capture:!!d,e):td(a,b,c,!1,d,e)}
function td(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=Ga(e)?!!e.capture:!!e,h=ud(a);h||(a[nd]=h=new kd(a));c=h.add(b,c,d,f,g);if(!c.proxy){d=vd();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)ed||(e=f),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(wd(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");pd++}}
function vd(){function a(c){return b.call(a.src,a.listener,c)}var b=xd;return a}function rd(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)rd(a,b[g],c,d,e);else c=sd(c),a&&a[gd]?a.h.add(String(b),c,!0,Ga(d)?!!d.capture:!!d,e):td(a,b,c,!0,d,e)}
function yd(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)yd(a,b[g],c,d,e);else(d=Ga(d)?!!d.capture:!!d,c=sd(c),a&&a[gd])?(a=a.h,b=String(b).toString(),b in a.g&&(g=a.g[b],c=ld(g,c,d,e),c>-1&&(jd(g[c]),Array.prototype.splice.call(g,c,1),g.length==0&&(delete a.g[b],a.h--)))):a&&(a=ud(a))&&(b=a.g[b.toString()],a=-1,b&&(a=ld(b,c,d,e)),(c=a>-1?b[a]:null)&&zd(c))}
function zd(a){if(typeof a!=="number"&&a&&!a.N){var b=a.src;if(b&&b[gd])md(b.h,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(wd(c),d):b.addListener&&b.removeListener&&b.removeListener(d);pd--;(c=ud(b))?(md(c,a),c.h==0&&(c.src=null,b[nd]=null)):jd(a)}}}function wd(a){return a in od?od[a]:od[a]="on"+a}function xd(a,b){if(a.N)a=!0;else{b=new fd(b,this);var c=a.listener,d=a.S||a.src;a.P&&zd(a);a=c.call(d,b)}return a}
function ud(a){a=a[nd];return a instanceof kd?a:null}var Ad="__closure_events_fn_"+(Math.random()*1E9>>>0);function sd(a){if(typeof a==="function")return a;a[Ad]||(a[Ad]=function(b){return a.handleEvent(b)});return a[Ad]};function Q(){cd.call(this);this.h=new kd(this);this.U=this;this.G=null}Ka(Q,cd);Q.prototype[gd]=!0;Q.prototype.addEventListener=function(a,b,c,d){qd(this,a,b,c,d)};Q.prototype.removeEventListener=function(a,b,c,d){yd(this,a,b,c,d)};
function R(a,b){var c,d=a.G;if(d)for(c=[];d;d=d.G)c.push(d);a=a.U;d=b.type||b;if(typeof b==="string")b=new dd(b,a);else if(b instanceof dd)b.target=b.target||a;else{var e=b;b=new dd(d,a);Za(b,e)}e=!0;var g;if(c)for(g=c.length-1;g>=0;g--){var f=b.g=c[g];e=Bd(f,d,!0,b)&&e}f=b.g=a;e=Bd(f,d,!0,b)&&e;e=Bd(f,d,!1,b)&&e;if(c)for(g=0;g<c.length;g++)f=b.g=c[g],e=Bd(f,d,!1,b)&&e}
Q.prototype.M=function(){Q.O.M.call(this);if(this.h){var a=this.h,b=0,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)++b,jd(d[e]);delete a.g[c];a.h--}}this.G=null};function Bd(a,b,c,d){b=a.h.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.N&&f.capture==c){var h=f.listener,k=f.S||f.src;f.P&&md(a.h,f);e=h.call(k,d)!==!1&&e}}return e&&!d.defaultPrevented};var Cd=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};function Dd(a,b){this.i=a;this.j=b;this.h=0;this.g=null}Dd.prototype.get=function(){if(this.h>0){this.h--;var a=this.g;this.g=a.next;a.next=null}else a=this.i();return a};function Ed(a,b){a.j(b);a.h<100&&(a.h++,b.next=a.g,a.g=b)};function Gd(){this.h=this.g=null}Gd.prototype.add=function(a,b){var c=Hd.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c};function Id(){var a=Jd,b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.h=null),b.next=null);return b}var Hd=new Dd(function(){return new Kd},function(a){return a.reset()});function Kd(){this.next=this.g=this.h=null}Kd.prototype.set=function(a,b){this.h=a;this.g=b;this.next=null};Kd.prototype.reset=function(){this.next=this.g=this.h=null};var Ld,Md=!1,Jd=new Gd;function Nd(a,b){Ld||Od();Md||(Ld(),Md=!0);Jd.add(a,b)}function Od(){var a=Promise.resolve(void 0);Ld=function(){a.then(Pd)}}function Pd(){for(var a;a=Id();){try{a.h.call(a.g)}catch(b){ub(b)}Ed(Hd,a)}Md=!1};function Qd(){};function S(a){this.g=0;this.o=void 0;this.j=this.h=this.i=null;this.l=this.m=!1;if(a!=Qd)try{var b=this;a.call(void 0,function(c){Rd(b,2,c)},function(c){Rd(b,3,c)})}catch(c){Rd(this,3,c)}}function Sd(){this.next=this.i=this.h=this.j=this.g=null;this.l=!1}Sd.prototype.reset=function(){this.i=this.h=this.j=this.g=null;this.l=!1};var Td=new Dd(function(){return new Sd},function(a){a.reset()});function Ud(a,b,c){var d=Td.get();d.j=a;d.h=b;d.i=c;return d}
S.prototype.then=function(a,b,c){return Vd(this,Cd(typeof a==="function"?a:null),Cd(typeof b==="function"?b:null),c)};S.prototype.$goog_Thenable=!0;function Wd(a,b){return Vd(a,null,Cd(b))}S.prototype.cancel=function(a){if(this.g==0){var b=new Xd(a);Nd(function(){Yd(this,b)},this)}};
function Yd(a,b){if(a.g==0)if(a.i){var c=a.i;if(c.h){for(var d=0,e=null,g=null,f=c.h;f&&(f.l||(d++,f.g==a&&(e=f),!(e&&d>1)));f=f.next)e||(g=f);e&&(c.g==0&&d==1?Yd(c,b):(g?(d=g,d.next==c.j&&(c.j=d),d.next=d.next.next):Zd(c),$d(c,e,3,b)))}a.i=null}else Rd(a,3,b)}function ae(a,b){a.h||a.g!=2&&a.g!=3||be(a);a.j?a.j.next=b:a.h=b;a.j=b}
function Vd(a,b,c,d){var e=Ud(null,null,null);e.g=new S(function(g,f){e.j=b?function(h){try{var k=b.call(d,h);g(k)}catch(l){f(l)}}:g;e.h=c?function(h){try{var k=c.call(d,h);k===void 0&&h instanceof Xd?f(h):g(k)}catch(l){f(l)}}:f});e.g.i=a;ae(a,e);return e.g}S.prototype.B=function(a){this.g=0;Rd(this,2,a)};S.prototype.C=function(a){this.g=0;Rd(this,3,a)};
function Rd(a,b,c){if(a.g==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;a:{var d=c,e=a.B,g=a.C;if(d instanceof S){ae(d,Ud(e||Qd,g||null,a));var f=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(l){h=!1}else h=!1;if(h)d.then(e,g,a),f=!0;else{if(Ga(d))try{var k=d.then;if(typeof k==="function"){ce(d,k,e,g,a);f=!0;break a}}catch(l){g.call(a,l);f=!0;break a}f=!1}}}f||(a.o=c,a.g=b,a.i=null,be(a),b!=3||c instanceof Xd||de(a,c))}}
function ce(a,b,c,d,e){function g(k){h||(h=!0,d.call(e,k))}function f(k){h||(h=!0,c.call(e,k))}var h=!1;try{b.call(a,f,g)}catch(k){g(k)}}function be(a){a.m||(a.m=!0,Nd(a.u,a))}function Zd(a){var b=null;a.h&&(b=a.h,a.h=b.next,b.next=null);a.h||(a.j=null);return b}S.prototype.u=function(){for(var a;a=Zd(this);)$d(this,a,this.g,this.o);this.m=!1};
function $d(a,b,c,d){if(c==3&&b.h&&!b.l)for(;a&&a.l;a=a.i)a.l=!1;if(b.g)b.g.i=null,ee(b,c,d);else try{b.l?b.j.call(b.i):ee(b,c,d)}catch(e){fe.call(null,e)}Ed(Td,b)}function ee(a,b,c){b==2?a.j.call(a.i,c):a.h&&a.h.call(a.i,c)}function de(a,b){a.l=!0;Nd(function(){a.l&&fe.call(null,b)})}var fe=ub;function Xd(a){La.call(this,a)}Ka(Xd,La);Xd.prototype.name="cancel";function ge(a,b){if(typeof a!=="function")if(a&&typeof a.handleEvent=="function")a=Ja(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:A.setTimeout(a,b||0)}function he(a,b){var c=null;return Wd(new S(function(d,e){c=ge(function(){d(b)},a);c==-1&&e(Error("Failed to schedule timer."))}),function(d){A.clearTimeout(c);throw d;})};var ie=Ta("https://apis.google.com/js/client.js"),je=!1;function ke(){var a;return z(function(b){je||A.gapi||(a=ad(document),Xa(a,ie),a.type="text/javascript",a.async=!0,a.onerror=function(){a&&a.parentNode&&a.parentNode.removeChild(a);je=!1},document.body.appendChild(a),je=!0);return b.return(le())})}
function le(){var a;return z(function(b){return b.h==1?(a=A.gapi)?b.g(new Promise(function(c,d){a.load("gapi.iframes",{callback:function(){c()},timeout:3E4,ontimeout:function(){d(Error("Timeout while trying to load GAPI frames library."))},onerror:function(e){d(Error(e?e.message:"Error while trying to load GAPI frames library."))}})}),0):b.g(he(100),4):b.return(le())})};function me(){this.g=new Map}me.prototype.register=function(a,b){if(this.g.has(a))throw Error("Handler for "+a+" already exists.");this.g.set(a,b);this.iframe&&this.iframe.register(a,b,gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)};me.prototype.unregister=function(a){this.g.delete(a);this.iframe&&this.iframe.unregister(a)};me.prototype.send=function(a,b,c){if(!this.iframe)throw Error("Iframe is not open. Tried to send '"+a+"'");this.iframe.send(a,b,c,gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)};
function ne(a){if(!a.iframe)throw Error("Iframe is not ready");for(var b=t(a.g.keys()),c=b.next();!c.done;c=b.next())a.iframe.unregister(c.value)}function oe(a){this.g=new Map;this.h=a;this.i=!1}r(oe,me);
oe.prototype.open=function(a){a=a===void 0?{}:a;var b=this;return z(function(c){if(c.h==1)return c.g(ke(),2);if(c.h!=3){if(b.isOpen)throw Error("App is already open.");b.i=!0;return c.g(gapi.iframes.getContext().open(Object.assign({},b.h,a)),3)}b.iframe=c.i;if(!b.iframe)throw Error("Iframe is not ready");for(var d=t(b.g),e=d.next();!e.done;e=d.next()){var g=t(e.value);e=g.next().value;g=g.next().value;b.iframe.register(e,g,gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}c.m()})};
oe.prototype.close=function(){var a=this;return z(function(b){if(!a.isOpen)throw Error("App is not open.");return b.return(new Promise(function(c,d){a.iframe?(ne(a),a.iframe.close({},function(){a.iframe=void 0;a.i=!1;c()})):d("Iframe is not open.")}))})};function pe(a){var b;return z(function(c){return a.iframe?c.g((b=a.iframe)==null?void 0:b.ping(),0):c.v(0)})}p.Object.defineProperties(oe.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this.i}}});
function qe(a){this.g=new Map;this.iframe=a||void 0}var re;r(qe,me);function se(){var a,b,c;return z(function(d){switch(d.h){case 1:return re?d.return(re):d.g(ke(),2);case 2:a=gapi.iframes.getContext().getParentIframe();b=null;if(!a){d.v(3);break}return d.g(Promise.race([a.ping().then(function(){return a}),he(1E4,null)]),4);case 4:b=d.i;case 3:if(re)return d.return(re);c=new qe(b);b&&(re=c);return d.return(c)}})};function T(a){this.name=a}T.prototype.removeListener=function(){var a=this,b;return z(function(c){if(c.h==1)return c.g(se(),2);b=c.i;b.unregister(a.name);c.m()})};T.prototype.send=function(a,b){var c=this;return new Promise(function(d,e){try{a.iframe.send(c.name,b,function(g){g=t(g).next().value;d(g)})}catch(g){e(g)}})};function te(){this.h=ue;this.g=new T("cloud_shell_bounds_for_element")}te.prototype.removeListener=function(){var a=this;return z(function(b){return b.g(a.g.removeListener(),0)})};
te.prototype.send=function(a,b){var c=this,d;return z(function(e){if(e.h==1)return e.g(c.g.send(a,JSON.stringify(I(b))),2);d=e.i;return e.return(Uc(c.h,d))})};function U(a){this.name=a}function V(a,b,c){b.iframe.register(a.name,c)}U.prototype.removeListener=function(a){a.iframe.unregister(this.name)};U.prototype.send=function(a){var b=this,c;return z(function(d){if(d.h==1)return d.g(se(),2);c=d.i;return d.return(new Promise(function(e,g){try{c.send(b.name,a,function(f){f=t(f).next().value;e(f)})}catch(f){g(f)}}))})};function ve(){var a=we;this.name="cloud_shell_feedback_start";this.h=Yc;this.i=a;this.g=new U(this.name)}
function xe(a,b){var c=ye;V(c.g,a,function(d){var e,g;return z(function(f){if(f.h==1)return e=Uc(c.h,d),f.g(b(e),2);g=f.i;return f.return(JSON.stringify(I(g)))})})}ve.prototype.removeListener=function(a){this.g.removeListener(a)};ve.prototype.send=function(a){var b=this,c;return z(function(d){if(d.h==1)return d.g(b.g.send(JSON.stringify(I(a))),2);c=d.i;return d.return(Uc(b.i,c))})};function W(a,b){this.name=a;this.j=b===void 0?!1:b;this.g=new U(this.name);this.i=new T(this.name)}W.prototype.removeListener=function(){var a=this;return z(function(b){return b.g(a.i.removeListener(),0)})};W.prototype.send=function(a){var b=this;return z(function(c){return c.return(b.g.send(a))})};function ze(a,b,c){return z(function(d){return d.h==1?!a.j||b.isOpen?d.v(2):d.g(b.open(),2):d.return(a.i.send(b,c))})}W.prototype.h=function(a,b){var c=this;V(this.g,a,function(d){return ze(c,b,d)})};
function X(a,b){this.i=b;this.g=new W(a,!1)}X.prototype.removeListener=function(){var a=this;return z(function(b){return b.g(a.g.removeListener(),0)})};X.prototype.send=function(a){var b=this,c;return z(function(d){if(d.h==1)return d.g(b.g.send(JSON.stringify(I(a))),2);c=d.i;return d.return(Uc(b.i,c))})};X.prototype.h=function(a,b){this.g.h(a,b)};function Ae(a){this.g=L(a,void 0,void 0,2048)}r(Ae,O);function Be(a,b){return Tc(a,b)};function Ce(a){this.g=L(a,void 0,void 0,2048)}r(Ce,O);function ue(a){this.g=L(a,void 0,void 0,2048)}r(ue,O);
function De(a){var b=a.g,c=b,d=b[D]|0;b=void 0===Ub?2:4;var e=F(a,d),g=e?1:b;b=g===3;var f=!e;(g===2||f)&&Ec(a)&&(c=a.g,d=c[D]|0);a=Ic(c,1);e=Array.isArray(a)?a:Lb;var h=e===Lb?7:e[D]|0;a=h;2&d&&(a|=2);var k=a|1;if(a=!(4&k)){var l=e,m=d,u=!!(2&k);u&&(m|=2);for(var v=!u,x=!0,J=0,K=0;J<l.length;J++){var Xb=ec(l[J],Ce,!1,m);if(Xb instanceof Ce){if(!u){var Fd=F(Xb);v&&(v=!Fd);x&&(x=Fd)}l[K++]=Xb}}K<J&&(l.length=K);k|=4;k=x?k&-4097:k|4096;k=v?k|8:k&-9}k!==h&&(E(e,k),2&k&&Object.freeze(e));if(f&&!(8&k||
!e.length&&(g===1||(g!==4?0:2&k||!(16&k)&&32&d)))){Kc(k)&&(e=Array.prototype.slice.call(e),k=Qc(k,d),d=Jc(c,d,1,e));f=e;h=k;for(l=0;l<f.length;l++)k=f[l],m=qc(k),k!==m&&(f[l]=m);h|=8;k=h=f.length?h|4096:h&-4097;E(e,k)}h=f=k;g===1||(g!==4?0:2&f||!(16&f)&&32&d)?Kc(f)||(f|=!e.length||a&&!(4096&f)||32&d&&!(4096&f||16&f)?2:256,f!==h&&E(e,f),Object.freeze(e)):(g===2&&Kc(f)&&(e=Array.prototype.slice.call(e),h=0,f=Qc(f,d),d=Jc(c,d,1,e)),Kc(f)||(b||(f|=16),f!==h&&E(e,f)));2&f||!(4096&f||16&f)||Gc(c,d);return e}
;function we(a){this.g=L(a,void 0,void 0,2048)}r(we,O);var Ee=new U("close"),Fe=new T("host_enter_shell_command"),Ge=new U("get_project"),He=new U("get_theme"),Ie=new U("resize"),ye=new ve,Je=new T("expect_regex"),Ke=new te,Le=new T("cloud_shell_focus_element"),Me=new U("cloud_shell_clear_spotlights"),Ne=new W("editor-open-workspace"),Oe=new T("prevent-editor-maximize"),Pe=new U("editor_loaded"),Qe=new U("first_prompt"),Re=new T("get_web_preview_address"),Se=new U("maximize"),Te=new U("is_maximized"),Ue=new T("set_project"),Ve=new T("switch_docked_view"),
We=new T("set_theme"),Xe=new T("send_request"),Ye=new T("open_app"),Ze=new T("close_app"),$e=[new W("enter_shell_command",!0),new W("open-cloud-shell",!0),new X("cloud-shell-status",Wc),new X("editor-spotlight",we),new W("editor-open-file"),new X("editor-select-line",we),new X("editor-select-regex",we)];var af={ja:"cloudshell_context",ka:"cloudshell_create_custom_image",la:"cloudshell_working_dir",ma:"cloudshell_git_branch",na:"cloudshell_git_repo",oa:"cloudshell_go_get_repo",pa:"cloudshell_image",qa:"cloudshell_open_in_editor",ra:"cloudshell_print",ua:"cloudshell_workspace",ta:"cloudshell_tutorial",sa:"cloudshell_start_gemini_cli"};var bf={element:{A:Element},environmentDeployment:{A:"string",optional:!0},language:{A:"string",optional:!0},mode:{A:"string",optional:!0},onClose:{A:"function",optional:!0},onEditorLoad:{A:"function",optional:!0},onTerminalReady:{A:"function",optional:!0},onOpen:{A:"function",optional:!0},parseQueryParams:{A:"boolean",optional:!0},projectIdProvider:{A:"function",optional:!0},resizer:{A:"function",optional:!0},concordWindowId:{A:"string",optional:!0},maximization:{A:"object",optional:!0},authUser:{A:"string",
optional:!0}};function cf(a){var b=[];Object.keys(bf).forEach(function(c){var d=a[c],e=bf[c],g=e.A;e.optional||d!==void 0?(d!==void 0&&typeof g==="string"&&typeof d!==g||d!==void 0&&typeof g==="function"&&!(d instanceof g))&&b.push("Option '"+c+"' requires type '"+g+"'.'"):b.push("Missing required option: '"+c+"'")});return b};function df(a){this.window=a}p.Object.defineProperties(df.prototype,{g:{configurable:!0,enumerable:!0,get:function(){var a=String;var b=this.url.i.get("cloudshell");return a(b).toLowerCase()==="true"},set:function(a){a=B(this.url,"cloudshell",String(a));var b=void 0;try{b=this.window.history.state}catch(c){}try{this.window.history.replaceState(b,"",a.toString())}catch(c){}}},url:{configurable:!0,enumerable:!0,get:function(){return new bb(this.window.location.href)}}});function ef(a){this.g=L(a,void 0,void 0,2048)}r(ef,O);n=ef.prototype;n.getEnableSsEngine=function(){return M(this,2)};n.getEnableAwr=function(){return M(this,3)};n.getAlohaAutoGaRollout=function(){return M(this,5)};n.getEnableConfigurator=function(){return M(this,6)};n.getEnableMweb=function(){return M(this,7)};n.getEnableCtlConsentCheckbox=function(){return M(this,8)};n.getEnableIframe=function(){return M(this,9)};n.getEnableScreenshotNudge=function(){return M(this,10)};
n.getEnableWebStartupConfigEndpoint=function(){return M(this,11)};n.getEnableJunkNudge=function(){return M(this,12)};n.getEnableConfiguratorLocale=function(){return M(this,13)};n.getEnableTinyNoPointer=function(){return M(this,14)};n.getEnableSupportSessionLogging=function(){return M(this,15)};n.getEnableFileUploadForScreenshot=function(){return M(this,16)};n.getEnableDirectDeflectionForSingleCategory=function(){return M(this,17)};n.getEnableImageSanitization=function(){return M(this,18)};
n.getEnableAlohaBinarySplit=function(){return M(this,19)};n.getEnableDbFeedbackIntents=function(){return M(this,20)};n.getEnableMarkMandatoryFieldsWithRequired=function(){return M(this,21)};n.getEnableFeedbackCategoryCustomUi=function(){return M(this,22)};n.getEnableRealtimeCtl=function(){return M(this,23)};function ff(a){this.g=L(a,void 0,void 0,2048)}r(ff,O);function gf(a){return hf.some(function(b){return b.test(a)})}var hf=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var jf="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");var kf=ma(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),lf=ma(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);
function mf(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&jf.includes(d)?d:c&&jf.includes(c)?c:void 0;d=(d!=null?d:"en").replaceAll("-","_").toLowerCase();var e;a=((e=a.initializationData)==null?0:e.useNightlyRelease)?"nightly":"live";var g;return(b==null?0:(g=b.getEnableAlohaBinarySplit)==null?0:g.call(b))?$c(kf,a):$c(lf,a,d)};function nf(){var a=Error.call(this,"Form is either loading or already opened");this.message=a.message;"stack"in a&&(this.stack=a.stack);this.name="DuplicateFormError"}r(nf,Error);var of,pf,qf,rf;
function sf(a,b,c,d){if(of&&qf===b)return of;qf=b;var e=mf(a,d);return of=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,f){var h=ad(document);Xa(h,e);h.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):f(Error("feedbackV2GlobalObject not found on window."))};h.onerror=function(){f(Error("Feedback binary script tag failed to load: "+e.toString()))};c.body.appendChild(h)})}
function tf(a,b,c,d){if(pf&&rf===b)return pf;rf=b;var e=mf(a,d);return pf=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,f){var h=ad(document);Xa(h,e);h.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):f(Error("feedbackV2GlobalObject not found on window."))};h.onerror=function(){f(Error("Feedback binary script tag failed to load: "+e.toString()))};c.body.appendChild(h)})}
function uf(a,b,c,d,e){e=e===void 0?!0:e;var g,f,h,k,l;return z(function(m){switch(m.h){case 1:return g=Date.now(),m.g(sf(a,c,d,b),2);case 2:f=m.i;if(!(e||((k=a.initializationData)==null?0:k.useNightlyRelease)||((l=a.initializationData)==null?0:l.isLocalServer))){h=f.initializeFeedbackClient(a,g,b);m.v(3);break}return m.g(f.initializeFeedbackClientAsync(a,g,b),4);case 4:h=m.i;case 3:return h.initiateAloha(),m.return(h)}})}
function vf(a,b,c,d){var e,g,f;return z(function(h){if(h.h==1)return e=Date.now(),h.g(tf(a,c,d.document,b),2);if(h.h!=3)return g=h.i,h.g(g.initializeFeedbackClientAsync(a,e,b,d),3);f=h.i;f.initiateAloha();return h.return(f)})}
function wf(a,b,c){var d=!0;d=d===void 0?!0:d;var e,g,f,h,k,l,m,u;return z(function(v){e=c||A;if((g=b)==null?0:(h=(f=g).getEnableAlohaBinarySplit)==null?0:h.call(f)){k=e;if(k.isFormOpened)throw new nf;k.isFormOpened=!0;a.callbacks=a.callbacks||{};l=a.callbacks.onClose||function(){};a.callbacks.onClose=function(x){k.isFormOpened=!1;l(x)};try{return v.return(vf(a,b,k,e))}catch(x){throw k.isFormOpened=!1,x;}}else{m=e;if(m.isFormOpened)throw new nf;m.isFormOpened=!0;a.callbacks=a.callbacks||{};u=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(x){m.isFormOpened=!1;u(x)};try{return v.return(uf(a,b,m,e.document,d))}catch(x){throw m.isFormOpened=!1,x;}}v.m()})};function xf(a){try{return A.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};function yf(){Q.call(this);this.headers=new Map;this.i=!1;this.g=null;this.D="";this.j=this.C=this.o=this.B=!1;this.H=0;this.l=null;this.K="";this.I=!1}Ka(yf,Q);var zf=/^https?$/i,Af=["POST","PUT"],Bf=[];function Cf(a,b){var c=new yf;Bf.push(c);b&&c.h.add("complete",b,!1,void 0,void 0);c.h.add("ready",c.fa,!0,void 0,void 0);c.H=2E3;c.I=!0;c.send(a,"GET","",{})}n=yf.prototype;n.fa=function(){this.dispose();Oa(Bf,this)};
n.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+a);b=b?b.toUpperCase():"GET";this.D=a;this.B=!1;this.i=!0;this.g=new XMLHttpRequest;this.g.onreadystatechange=Cd(Ja(this.X,this));try{this.C=!0,this.g.open(b,String(a),!0),this.C=!1}catch(f){Df(this);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=
t(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(f){return"content-type"==f.toLowerCase()});e=A.FormData&&a instanceof A.FormData;!(Na(Af,b)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=t(c);for(d=b.next();!d.done;d=b.next())c=t(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,c);this.K&&(this.g.responseType=
this.K);"withCredentials"in this.g&&this.g.withCredentials!==this.I&&(this.g.withCredentials=this.I);try{this.l&&(clearTimeout(this.l),this.l=null),this.H>0&&(this.l=setTimeout(this.ia.bind(this),this.H)),this.o=!0,this.g.send(a),this.o=!1}catch(f){Df(this)}};n.ia=function(){typeof Da!="undefined"&&this.g&&(R(this,"timeout"),this.abort(8))};function Df(a){a.i=!1;a.g&&(a.j=!0,a.g.abort(),a.j=!1);Ef(a);Ff(a)}function Ef(a){a.B||(a.B=!0,R(a,"complete"),R(a,"error"))}
n.abort=function(){this.g&&this.i&&(this.i=!1,this.j=!0,this.g.abort(),this.j=!1,R(this,"complete"),R(this,"abort"),Ff(this))};n.M=function(){this.g&&(this.i&&(this.i=!1,this.j=!0,this.g.abort(),this.j=!1),Ff(this,!0));yf.O.M.call(this)};n.X=function(){this.m||(this.C||this.o||this.j?Gf(this):this.ha())};n.ha=function(){Gf(this)};
function Gf(a){if(a.i&&typeof Da!="undefined")if(a.o&&(a.g?a.g.readyState:0)==4)setTimeout(a.X.bind(a),0);else if(R(a,"readystatechange"),(a.g?a.g.readyState:0)==4){a.i=!1;try{try{var b=(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(f){b=-1}a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var g=String(a.D).match($a)[1]||null;!g&&A.self&&A.self.location&&(g=A.self.location.protocol.slice(0,-1));e=!zf.test(g?g.toLowerCase():
"")}d=e}d?(R(a,"complete"),R(a,"success")):Ef(a)}finally{Ff(a)}}}function Ff(a,b){if(a.g){a.l&&(clearTimeout(a.l),a.l=null);var c=a.g;a.g=null;b||R(a,"ready");try{c.onreadystatechange=null}catch(d){}}}n.isActive=function(){return!!this.g};function Hf(a,b){return z(function(c){return c.return(new Promise(function(d,e){Number.isInteger(Number(a))&&Number(a)>0?(e=If(b!=null?b:"")+"/aloha_form_properties?productId="+a,Cf(e,function(g){var f=g.target;g=null;try{var h=JSON,k=h.stringify;if(f.g){var l=f.g.responseText;l.indexOf(")]}'\n")==0&&(l=l.substring(5));b:{if(A.JSON)try{var m=A.JSON.parse(l);break b}catch(u){}m=xf(l)}}else m=void 0;g=Uc(ff,k.call(h,m))}catch(u){k=new ff,m=new ef,m=N(m,5,!0),m=N(m,2,!0),m=N(m,4,!1),m=N(m,8,!0),m=N(m,
9,!0),m=N(m,7,!0),m=N(m,10,!0),m=N(m,12,!0),m=N(m,13,!1),m=N(m,14,!0),m=N(m,15,!0),m=N(m,20,!1),m==null&&(m=void 0),g=m,Fc(k),h=k.g,Jc(h,h[D]|0,1,g),m&&!F(m)&&Gc(k.g),g=k}d(g)})):e(Error("Invalid product id: "+a))}))})}function If(a){return gf(a)?a:"https://www.google.com/tools/feedback"};function Jf(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||A,e=d.document,g=a.nonce||Wa(d.document);g&&!a.nonce&&(a.nonce=g);if(a.flow=="help"){var f=Fa("document.location.href",d);!a.helpCenterContext&&f&&(a.helpCenterContext=f.substring(0,1200));f=!0;if(b&&JSON&&JSON.stringify){var h=JSON.stringify(b);(f=h.length<=1200)&&(a.psdJson=h)}f||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(f=d.GOOGLE_FEEDBACK_START)f.apply(d,
b);else{d=c+"/load.js?";for(var k in a)b=a[k],b==null||Ga(b)||(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)+"&");a=e?new bd(e.nodeType==9?e:e.ownerDocument||e.document):Ma||(Ma=new bd);a=ad(a.g);g&&a.setAttribute("nonce",g);Xa(a,Ta(d));e.body.appendChild(a)}}
function Kf(a,b,c,d){var e,g;return z(function(f){e=c||A;var h=a.serverEnvironment==="DEV",k=c||A;k=a.nonce||Wa(k.document);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,za:void 0,defaultFormInputValues:void 0,
defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:h,nonce:k,useNightlyRelease:h,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,
enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(k=new Map(Object.entries(b)),h.extraData.productSpecificData=k);g=h;return f.g(wf(g,d,e),0)})}
function Lf(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,"");Va(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?Jf(a,b,c):Hf(a.productId,a.feedbackServerUri).then(function(e){e=Pc(e,ef);var g=!Bb||(e==null?void 0:e.getEnableMweb()),f=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&f?Kf(a,b,c,e).catch(function(h){!h||h instanceof nf||Jf(a,b,c)}):Jf(a,b,c)},function(e){!e||e instanceof nf||Jf(a,b,c)})}catch(e){Kf(a,
b,c,null).catch(function(g){!g||g instanceof nf||Jf(a,b,c)})}}Ea("userfeedback.api.startFeedback",Lf);function Mf(a,b){var c={xa:b.location.href};Mc(a).forEach(function(d,e){c[e]=d});return c};function Nf(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}Nf.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Nf.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
Nf.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Of(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}
function Pf(a,b){a:{var c=b.nodeType==9?b:b.ownerDocument||b.document;if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(b,null))){c=c.display||c.getPropertyValue("display")||"";break a}c=""}c||(c=b.currentStyle?b.currentStyle.display:null);if((c||b.style&&b.style.display)!="none")return a(b);c=b.style;var d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=a(b);c.display=d;c.position=g;c.visibility=e;return a}
function Qf(a){var b=a.offsetWidth,c=a.offsetHeight,d=Ab&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Of(a),new P(a.right-a.left,a.bottom-a.top)):new P(b,c)};var Rf=[].concat(la(Object.values(af)),"jsmode disableOnBeforeUnload cloudshellsafemode mendelDebugInput disableCallouts embeddedAppsEnvironment withDebugLogs geminicli".split(" "));
function Y(a,b,c){var d=this;b=b===void 0?window:b;c=c===void 0?oe:c;this.g=a;this.j=b;this.m=c;this.iframe=new this.m({url:this.i.toString(),where:this.g.element,waitForOnload:!1,attributes:Object.assign({},{"class":"cloudshell-frame"},this.g.disableIframeTitle?{}:{title:"Cloud Shell Window"},{style:{height:"100%"},allow:"clipboard-read *; clipboard-write *;"})});var e,g;this.theme=((g=(e=this.g).theme)==null?void 0:g.call(e))||"system";V(Ee,this,function(){return d.close()});V(Ge,this,function(){return d.g.projectIdProvider?
d.g.projectIdProvider():""});V(He,this,function(){return d.theme});V(Ie,this,function(f){d.g.resizer&&d.g.resizer(f)});V(Se,this,function(){var f;(f=d.g.maximization)==null||f.maximize()});V(Te,this,function(){var f;return!((f=d.g.maximization)==null||!f.isMaximized())});xe(this,function(f){var h=d.j;h=h===void 0?window:h;var k=Pc(f,Xc);f=Mf(f,h);k&&Lf({productId:Sc(k,1),locale:Sc(k,2),authuser:Sc(k,3),bucket:Sc(k,4),productVersion:Sc(k,5)},f);return new we});V(Pe,this,function(){Sf(d.g.onEditorLoad)});
V(Me,this,function(){var f;(f=d.o)==null||f.clearSpotlights()});V(Qe,this,function(){var f,h;(h=(f=d.g).onTerminalReady)==null||h.call(f)});a.parseQueryParams&&(this.h=new df(b),Tf(this),Uf(this)&&this.open())}
function Z(a){var b,c,d,e;return z(function(g){switch(g.h){case 1:b=30,c=500,d=0;case 2:if(!(d<b)){g.v(4);break}g.H(5);e=new Promise(function(f,h){a.j.setTimeout(function(){return void h()},c)});return g.g(Promise.race([pe(a.iframe),e]),7);case 7:return g.return();case 5:g.G();g.v(3);break;case 3:d++;g.v(2);break;case 4:throw Error("Not transport ready");}})}n=Y.prototype;n.setWalkthroughController=function(a){for(var b=t($e),c=b.next();!c.done;c=b.next())c.value.h(a,this);this.o=a};
n.focusElement=function(a){var b=this.g.element.querySelector("iframe"),c;if(c=b&&b.contentWindow)c=decodeURIComponent(a),c=!(c.startsWith("theia::")||c.startsWith("editor::"));c&&b.contentWindow.focus();Le.send(this,a)};n.boundsForElement=function(a){var b=this,c;return z(function(d){if(d.h==1)return d.g(Ke.send(b,Be(new Ae,a)),2);c=d.i;return d.return(De(c).map(function(e){return new Nf(Rc(e,1),Rc(e,2),Rc(e,3),Rc(e,4))}))})};
function Vf(a,b){return z(function(c){if(c.h==1)return c.g(a.iframe.open(b),2);Sf(a.g.onOpen);a.h&&(a.h.g=!0);c.m()})}n.open=function(){var a=this;return z(function(b){return b.g(Vf(a),0)})};n.close=function(){var a=this;return z(function(b){if(b.h==1)return b.g(a.iframe.close(),2);Sf(a.g.onClose);a.h&&(a.h.g=!1);b.m()})};
n.openEditor=function(a){var b=this,c,d,e,g;return z(function(f){switch(f.h){case 1:return b.iframe.isOpen?f.g(Z(b),5):f.g(Vf(b,{url:B(B(b.i,"embeddededitor","true"),"disableeditorautomaximize",((c=a)==null?0:c.keepSize)?"true":"false").toString()}),4);case 4:(d=a)!=null&&d.keepSize||(e=b.g.maximization)==null||e.maximize();f.v(0);break;case 5:if((g=a)==null||!g.keepSize){f.v(6);break}return f.g(Oe.send(b),6);case 6:return f.g(Ve.send(b,"editor"),0)}})};
n.editorOpenWorkspace=function(a){var b=this;return z(function(c){return c.h==1?c.g(Z(b),2):c.g(ze(Ne,b,a),0)})};n.sendCommand=function(a){var b=this;return z(function(c){return c.h==1?c.g(Z(b),2):c.g(Fe.send(b,a),0)})};
n.sendRequest=function(a,b,c,d,e){c=c===void 0?"GET":c;d=d===void 0?"":d;e=e===void 0?{}:e;var g=this,f,h,k;return z(function(l){if(l.h==1)return f=typeof d==="string"?"string":"json",h=typeof d==="string"?d:JSON.stringify(d),l.g(Xe.send(g,{endpoint:a,port:b,method:c,body:h,contentType:f,headers:e}),2);k=l.i;return k.status===200?l.return({status:k.status,body:k.body}):l.return(Promise.reject(k))})};
n.openApp=function(a){var b=this,c;return z(function(d){if(d.h==1)return d.g(Ye.send(b,a),2);c=d.i;if(!c)throw Error("Failed to run app");d.m()})};n.closeApp=function(a){var b=this,c;return z(function(d){if(d.h==1)return d.g(Ze.send(b,a),2);c=d.i;if(!c)throw Error("Failed to close app");d.m()})};n.expectRegExp=function(a){var b=this;return z(function(c){return c.h==1?c.g(Z(b),2):c.g(Je.send(b,a),0)})};
n.getWebPreviewAddress=function(a){var b=this,c;return z(function(d){if(d.h==1){if(a<2E3||a>65E3)throw Error("Invalid port specified. Please use a port between 2000 and 65000");return d.g(Z(b),2)}if(d.h!=3)return d.g(Re.send(b,a),3);c=d.i;return d.return(c)})};n.setProjectId=function(a){var b=this;return z(function(c){return c.h==1?c.g(Z(b),2):c.g(Ue.send(b,a),0)})};
n.setTheme=function(a){var b=this;return z(function(c){if(c.h==1)return c.g(Z(b),2);if(c.h!=3)return c.g(We.send(b,a).catch(function(){return""}),3);b.theme=a;c.m()})};function Uf(a){return a.g.parseQueryParams?a.h&&a.h.g?!0:Object.values(af).map(function(b){return a.l.get(b)}).some(function(b){return b}):!1}
function Tf(a){var b=[].concat(la(Rf));a.g.authUser||b.push("authuser");a.g.language||b.push("hl");var c=a.i;b=t(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.l.get(d);e&&B(c,d,e)}a=a.iframe;a.h=Object.assign({},a.h,{url:c.toString()})}
p.Object.defineProperties(Y.prototype,{i:{configurable:!0,enumerable:!0,get:function(){var a=new bb(this.g.mode==="EditorShell"?"https://shell.cloud.google.com/cloudshell/editor":"https://shell.cloud.google.com/embeddedcloudshell");this.g.language&&B(a,"hl",this.g.language);this.g.environmentDeployment&&B(a,"environment_deployment",this.g.environmentDeployment);var b;((b=this.g.experiments)==null?0:b.useEmptyWorkspace)||B(a,"cloudshell_workspace","~");B(a,"hostappurl",String(window.location));B(a,
"embedded","true");b=new Vc;b=Tc(b,this.g.concordWindowId||"");b=N(b,2,!!this.g.maximization);b=N(b,3,!!this.g.hatsSurvey);B(a,"embedding_options",JSON.stringify(I(b)));B(a,"theme",this.theme);this.g.authUser&&B(a,"authuser",this.g.authUser);return a}},boundingBox:{configurable:!0,enumerable:!0,get:function(){var a=this.g.element;if(a.nodeType==1){var b=Of(a);b=new Zc(b.left,b.top)}else b=a.changedTouches?a.changedTouches[0]:a,b=new Zc(b.clientX,b.clientY);if(a.getBoundingClientRect){var c=Pf(Of,
a);c=new P(c.right-c.left,c.bottom-c.top)}else c=null;a=c||Pf(Qf,a);return new Nf(b.x,b.y,a.width,a.height)}},isOpen:{configurable:!0,enumerable:!0,get:function(){return this.iframe.isOpen}},l:{configurable:!0,enumerable:!0,get:function(){return new hb(this.j.location.search.slice(1))}}});Y.prototype.close=Y.prototype.close;Y.prototype.open=Y.prototype.open;function Sf(a){try{(a===void 0?function(){}:a)()}catch(b){console.error(b)}}
function Wf(a){cf(a).length===0||console.error("Cloud Shell options could not be validated"+cf(a).join("\n"));return new Y(a)}Ea("google.devops.tools.cloudshell.configure",Wf);Ea("google.devops.tools.cloudshell.createController",Wf);}).call(this);