(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k=this||self,aa=function(a,b){a=a.split(".");var c=k;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},p=function(a,b){a:{var c=["CLOSURE_FLAGS"];for(var d=k,e=0;e{throw a;},0)};const wa=p(1,!0);var xa=p(610401301,!1);p(899588437,!1);p(188588736,!0);p(676937399,!0);p(651175828,!0);p(653718497,wa);p(660014094,wa);p(2147483644,!1);p(2147483645,!0);p(2147483646,wa);p(2147483647,!0);function ya(){var a=k.navigator;return a&&(a=a.userAgent)?a:""}var za;const Aa=k.navigator;za=Aa?Aa.userAgentData||null:null;function Ba(a){return xa?za?za.brands.some(({brand:b})=>b&&b.indexOf(a)!=-1):!1:!1}function x(a){return ya().indexOf(a)!=-1};function Ca(){return xa?!!za&&za.brands.length>0:!1}function Da(){return Ca()?!1:x("Opera")}function Ea(){return x("Firefox")||x("FxiOS")}function Fa(){return Ca()?Ba("Chromium"):(x("Chrome")||x("CriOS"))&&!(Ca()?0:x("Edge"))||x("Silk")};function Ga(){return xa?!!za&&!!za.platform:!1}function Ha(){return x("iPhone")&&!x("iPod")&&!x("iPad")}function Ia(){Ha()||x("iPad")||x("iPod")};function Ja(a){const b=a.length;if(b>0){const c=Array(b);for(let d=0;d>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|l>>6];l=b[l&63];c[f++]=""+m+g+h+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")},Qa=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c): "=.".indexOf(a[b-1])!=-1&&(c="=.".indexOf(a[b-2])!=-1?c-2:c-1);var d=new Uint8Array(c),e=0;Pa(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},Pa=function(a,b){function c(l){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},Na=function(){if(!Ma){Ma={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));La[c]=d;for(var e=0;e{r((b&33554431)==b);v(a,"state is only maintained on arrays.");a[eb]|=b};const gb=Object.getOwnPropertyDescriptor(Array.prototype,"Tb"); Object.defineProperties(Array.prototype,{Tb:{get(){function a(e,f){e&b&&c.push(f)}const b=y(this),c=[];a(1,"IS_REPEATED_FIELD");a(2,"IS_IMMUTABLE_ARRAY");a(4,"IS_API_FORMATTED");a(4096,"STRING_FORMATTED");a(8192,"GBIGINT_FORMATTED");a(8192,"BINARY");a(8,"ONLY_MUTABLE_VALUES");a(32,"MUTABLE_REFERENCES_ARE_OWNED");a(64,"CONSTRUCTED");a(128,"TRANSFERRED");a(256,"HAS_SPARSE_OBJECT");a(512,"HAS_MESSAGE_ID");a(2048,"FROZEN_ARRAY");a(16384,"DESERIALIZED_FROM_BINARY");var d=b>>15&1023||536870912;d!==536870912&& c.push(`pivot: ${d}`);d=c.join(",");return gb?gb.get.call(this)+"|"+d:d},configurable:!0,enumerable:!1}});var y=a=>{v(a,"state is only maintained on arrays.");return a[eb]|0}; function hb(a,b){r(b&64,"state for messages must be constructed");r((b&5)===0,"state for messages should not contain repeated field state");const c=b>>15&1023||536870912,d=a.length;r(c+z(b)>=d-1,"pivot %s is pointing at an index earlier than the last index of the array, length: %s",c,d);b&512&&r(typeof a[0]==="string","arrays with a message_id bit must have a string in the first position, got: %s",a[0]);a=d?a[d-1]:void 0;r((a!=null&&typeof a==="object"&&a.constructor===Object)===!!(b&256),"arraystate and array disagree on sparseObject presence")} var A=a=>{v(a,"state is only maintained on arrays.");const b=a[eb];hb(a,b);return b},B=(a,b)=>{v(a,"state is only maintained on arrays.");r((b&33554431)==b);a[eb]=b};function ib(a,b){B(b,(a|0)&-30975)}function jb(a,b){B(b,(a|34)&-30941)}function kb(a,b){ma(b);r(b>0&&b<=1023||536870912===b);return a&-33521665|(b&1023)<<15}function z(a){return+!!(a&512)-1};function lb(a){w(a,$a);if(Xa!==Xa)throw Error("d");var b=a.Da;b==null||b!=null&&b instanceof Uint8Array||(typeof b==="string"?b=Wa(b):(la("Cannot coerce to Uint8Array: "+q(b)),b=null));return(b==null?b:a.Da=b)||new Uint8Array(0)};let mb;var nb={};function ob(a){const b=a.Ub===nb;r(!mb||b===a instanceof mb);return b}var pb={};function qb(a){const b=!(!a||typeof a!=="object"||a.Hc!==pb);r(b===a instanceof Map);return b&&w(a,Map).size===0}function rb(a,b){ma(a);r(a>0);r(b===0||b===-1);return a+b}function sb(a,b){ma(a);r(a>=0);r(b===0||b===-1);return a-b}function tb(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}function ub(a){return!Array.isArray(a)||a.length?!1:y(a)&1?!0:!1}var vb; const wb=[];B(wb,55);vb=Object.freeze(wb);function xb(){}let yb;function zb(a,b){v(a);v(b);(b=yb?v(b)[yb]:void 0)&&(a[yb]=db(b))}function Bb(a,b){var c=y(v(a));b||r(!(c&2&&c&4||c&2048)||Object.isFrozen(a));b=!!(c&8);c=!!(c&16&&c&32);if(b||c){let d,e,f;a.forEach(g=>{Array.isArray(g)?f=!0:g&&ob(g)&&(y(g.F)&2?e=!0:d=!0)});f&&r(!e&&!d);c&&r(!f&&!d);b&&r(!f&&!e)}Cb(a)} function Cb(a){var b=y(a);const c=b&4,d=(4096&b?1:0)+(8192&b?1:0);r(c&&d<=1||!c&&d===0,`Expected at most 1 type-specific formatting bit, but got ${d} with state: ${b}`);if(4096&y(a))for(b=0;bFb(e,b)).join(", ")}]`;b.delete(a);c!==Array.prototype&&(d=`${Gb(c.constructor)}(${d})`);return d;case Object.prototype:return b.add(a),c=`{${Object.entries(a).map(([e,f])=>`${e}: ${Fb(f,b)}`).join(", ")}}`,b.delete(a),c;default:return d="Object",c&&c.constructor&& (d=Gb(c.constructor)),typeof a.toString==="function"&&a.toString!==Object.prototype.toString?`${d}(${String(a)})`:`(object ${d})`}}break;case "function":return`function ${Gb(a)}`;case "number":if(!Number.isFinite(a))return String(a);break;case "bigint":return`${a.toString(10)}n`;case "symbol":return a.toString()}return JSON.stringify(a)} function Gb(a){var b=a.displayName;return b&&typeof b==="string"||(b=a.name)&&typeof b==="string"?b:(a=/function\s+([^\(]+)/m.exec(String(a)))?a[1]:"(Anonymous)"};function Hb(a){var b=Ib;const c=Jb,d=[];Kb(b,a,d)||Lb(void 0,c,`Guard ${b.Ab().trim()} failed:`,...d.reverse())}function Mb(a,b){a.Gc=!0;a.Ab=typeof b==="function"?b:()=>b;return a}function Kb(a,b,c){const d=a(b,c);d||Nb(c,()=>{let e="";e.length>0&&(e+=": ");return`${e}Expected ${a.Ab().trim()}, got ${Fb(b)}`});return d}function Nb(a,b){a?.push((typeof b==="function"?b():b).trim())}let Jb=void 0;function Ob(a){return typeof a==="function"?a():a} function Lb(...a){throw Error(a.map(Ob).filter(Boolean).join("\n").trim().replace(/:$/,""));};var Ib=Mb(a=>typeof a==="bigint","bigint");var Rb=Mb(a=>{Hb(Pb);Hb(Qb);a=BigInt(a);return a>=Pb&&a<=Qb},"isSafeInt52");const Pb=BigInt(Number.MIN_SAFE_INTEGER),Qb=BigInt(Number.MAX_SAFE_INTEGER);let C=0,D=0,Sb;function Tb(a){const b=a>>>0;C=b;D=(a-b)/4294967296>>>0}function Ub(a){if(a<0){Tb(0-a);a=C;var b=D;b=~b;a?a=~a+1:b+=1;const [c,d]=[a,b];C=c>>>0;D=d>>>0}else Tb(a)}function Vb(a){r(a<=8);return Sb||=new DataView(new ArrayBuffer(8))}function Wb(a,b){return b*4294967296+(a>>>0)}function Xb(a,b){const c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=Wb(a,b);return c?-a:a} function Yb(a,b){b>>>=0;a>>>=0;return b<=2097151?""+(4294967296*b+a):""+(BigInt(b)<0);a.length<16?Ub(Number(a)):(a=BigInt(a),C=Number(a&BigInt(4294967295))>>>0,D=Number(a>>BigInt(32)&BigInt(4294967295)))};function $b(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function ac(a){return a.displayName||a.name||"unknown type name"}const bc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function cc(a){const b=typeof a;switch(b){case "bigint":return!0;case "number":return Number.isFinite(a)}return b!=="string"?!1:bc.test(a)}function dc(a){if(!Number.isFinite(a))throw a=`Expected enum as finite number but got ${q(a)}: ${a}`,cb(a);return a|0} function ec(a){return a==null?a:Number.isFinite(a)?a|0:void 0}function fc(a){return`Expected int32 as finite number but got ${q(a)}: ${a}`}function gc(a){if(typeof a!=="number")throw cb(fc(a));if(!Number.isFinite(a))throw cb(fc(a));return a|0}function hc(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a|0:void 0}function ic(a){return`Expected uint32 as finite number but got ${q(a)}: ${a}`} function jc(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a>>>0:void 0}function kc(a){return a[0]==="-"?!1:a.length<20?!0:a.length===20&&Number(a.substring(0,6))<184467}function lc(a){r(a<0||!(0-922337:a.length<19||a.length===19&&Number(a.substring(0,6))<922337)||(Zb(a),a=C,b=D,a=b&2147483648?""+(BigInt(b|0)<>>0)):Yb(a,b))),a;if(b=== "number")return r(cc(a)),r(!0),a=Math.trunc(a),Number.isSafeInteger(a)||(r(!Number.isSafeInteger(a)),r(Number.isInteger(a)),Ub(a),a=Xb(C,D)),a}} function nc(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asUintN(64,a));if(cc(a)){if(b==="string")return r(cc(a)),r(!0),b=Math.trunc(Number(a)),Number.isSafeInteger(b)&&b>=0?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),r(a.indexOf(".")===-1),kc(a)||(Zb(a),a=Yb(C,D))),a;if(b==="number")return r(cc(a)),r(!0),a=Math.trunc(a),a>=0&&Number.isSafeInteger(a)?a:lc(a)}};var vc=function(a){oc===void 0&&(oc=typeof Proxy==="function"?pc(Proxy):null);if(!oc||!qc())return a;let b=rc?.get(a);if(b)return b;const c=Error().stack;sc(a);b=new oc(a,{set(d,e,f){tc(c);d[e]=f;return!0}});uc(a,b);return b};function tc(a){bb(`${"Warning: Forbidden array mutation. This will be a hard error in the future, please fix. See go/jspb-api-gotchas#readonly-repeated-fields."}\nArray origin at ${a}\nMutation at ${Error().stack}\n...`)}let rc=void 0,wc=void 0; function uc(a,b){(rc||=new xc).set(a,b);(wc||=new xc).set(b,a)}let oc=void 0,xc=void 0;function qc(){xc===void 0&&(xc=typeof WeakMap==="function"?pc(WeakMap):null);return xc}function pc(a){try{return a.toString().indexOf("[native code]")!==-1?a:null}catch{return null}}let yc=void 0;function sc(a){if(yc===void 0){const b=new oc([],{});yc=Array.prototype.concat.call([],b).length===1}yc&&typeof Symbol==="function"&&Symbol.isConcatSpreadable&&(a[Symbol.isConcatSpreadable]=!0)} var Dc=function(a,b){const c=zc?.get(b)?.get(a);c&&!Ac(a,c)&&(Bc(a,b),Cc(a,b))};function Ac(a,b){if(a.length!==b.length)return!1;for(const e in b){var c=Number(e),d;if(d=Number.isInteger(c))d=a[c],c=b[c],d=!(Number.isNaN(d)?Number.isNaN(c):d===c);if(d)return!1}return!0}var Ec=function(a){if(a&&zc?.has(a)){var b=a.F;if(b)for(let c=0;c0?void 0:a===0?Kc||=[0,void 0]:[-a,void 0];case "string":return[0,a];case "object":return v(a),r(a.length===2||a.length===3&&a[2]===!0),r(a[0]==null||typeof a[0]==="number"&&a[0]>=0),r(a[1]==null||typeof a[1]==="string"),a}}function Mc(a,b,c){v(b);a=Nc(a,b[0],b[1],c);b!==Jc&&c&&fb(a,16384);return a} function Nc(a,b,c,d){a==null&&(a=Hc);Hc=void 0;if(a!=null)for(var e=0;e=1024)throw Error("t`"+b+"`1024");e=kb(c,b);break a}if(b){b=Math.max(b,sb(e,z(c)));if(b>1024)throw Error("u`"+e+"`1024");e=kb(c,b)}else e=c}}B(a,e);r(e&64);return a};var Oc=class{constructor(){throw Error("v");}[Symbol.iterator](){}};const Pc=()=>{throw Error("w");};Object.defineProperties(Oc,{[Symbol.hasInstance]:{value:Pc,configurable:!1,writable:!1,enumerable:!1}});r(Oc[Symbol.hasInstance]===Pc,"defineProperties did not work: was it monkey-patched?");function Qc(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return Rb(a)?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(ub(a))return}else{if(a!=null&&a instanceof Uint8Array)return Ra(a);if(a instanceof $a){const b=a.Da;return b==null?"":typeof b==="string"?b:a.Da=Ra(b)}}}return a};function Rc(a,b,c){const d=db(a);var e=d.length;const f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;bVc(f,e,d));fb(a,32|(c?2:0));return a} function Yc(a){const b=a.F,c=A(b);return c&2?Wc(a,b,c,!1):a};function Zc(a,b,c,d){b=rb(d,z(b));if(!(b<0||b>=a.length||b>=c))return a[b]}var $c=function(a,b,c,d){if(c===-1)return null;const e=b>>15&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(Zc(a,b,e,c))throw Error("x`"+c);return d}return Zc(a,b,e,c)}},F=function(a,b,c){const d=a.F;let e=A(d);if(e&2)throw Error("f");E(d,e,b,c);return a}; function E(a,b,c,d){r(!tb(d),"Invalid object passed to a setter");const e=b>>15&1023||536870912;if(c>=e){r(e!==536870912);let g=b;if(b&256)var f=a[a.length-1];else{if(d==null)return g;f=rb(e,z(b));r(f>=a.length&&Number.isInteger(f)&&f<4294967295,"Expected sparseObjectIndex (%s) to be >= %s and a valid array index",f,a.length);f=a[f]={};g|=256}f[c]=d;c>>=0}return F(a,b,c)},od=function(a,b,c){if(c!=null&&typeof c!=="string")throw Error("l`"+c+"`"+q(c));return F(a,b,c)},pd=function(a,b,c){return F(a,b,c==null?c:dc(c))};function qd(a){if(typeof a==="string")return{buffer:Wa(a),ca:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),ca:!1};if(a.constructor===Uint8Array)return{buffer:a,ca:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),ca:!1};if(a.constructor===$a)return{buffer:lb(a),ca:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),ca:!1};throw Error("G");};var sd=function(a,b){let c,d=0,e=0,f=0;const g=a.M;let h=a.I;do c=g[h++],d|=(c&127)<32&&(e|=(c&127)>>4);for(f=3;f<32&&c&128;f+=7)c=g[h++],e|=(c&127)<>>0,e>>>0);throw Error("D");},td=function(a){let b=0,c=a.I;const d=c+10,e=a.M;for(;c>>0},vd=function(a){return sd(a,Wb)},wd=function(a){var b=a.M;const c=a.I,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0},xd=function(a){return ud(a)},yd=function(a,b,{Ua:c=!1}={}){a.Ua=c;b&&(b=qd(b),a.M=b.buffer,a.Xa=b.ca,a.Ha=null,a.Na=0,a.R=a.M.length,a.I=a.Na)},rd=function(a,b){a.I= b;if(b>a.R)throw Error("E`"+b+"`"+a.R);},zd=function(a,b){if(b<0)throw Error("F`"+b);const c=a.I,d=c+b;if(d>a.R)throw Error("E`"+(a.R-c)+"`"+b);a.I=d;return c},Bd=class{constructor(a,b){this.M=null;this.Xa=!1;this.Ha=null;this.I=this.R=this.Na=0;yd(this,a,b)}yb(){this.clear();Ad.length<100&&Ad.push(this)}clear(){this.M=null;this.Xa=!1;this.Ha=null;this.I=this.R=this.Na=0;this.Ua=!1}setEnd(a){this.R=a}reset(){this.I=this.Na}K(){return this.I}advance(a){rd(this,this.I+a)}Db(a,b){const c=zd(this,a); var d=r(this.M),e;b?(e=ra)||(e=ra=new TextDecoder("utf-8",{fatal:!0})):(e=sa)||(e=sa=new TextDecoder("utf-8",{fatal:!1}));a=c+a;d=c===0&&a===d.length?d:d.subarray(c,a);try{var f=e.decode(d)}catch(g){if(b){if(qa===void 0){try{e.decode(new Uint8Array([128]))}catch(h){}try{e.decode(new Uint8Array([97])),qa=!0}catch(h){qa=!1}}b=!qa}b&&(ra=void 0);throw g;}return f}fb(a){if(a==0)return Ya||=new $a(null,Xa);var b=zd(this,a);if(this.Ua&&this.Xa)b=this.M.subarray(b,b+a);else{var c=r(this.M);a=b+a;b=b===a? new Uint8Array(0):c.slice(b,a)}w(b,Uint8Array);return b.length==0?Ya||=new $a(null,Xa):new $a(b,Xa)}},Ad=[];r(!0); var Cd=function(a,{vb:b=!1}={}){a.vb=b},Dd=function(a){var b=a.v;if(b.I==b.R)return!1;a.La!==-1&&(b=a.v.K(),a.v.I=a.aa,G(a.v),a.A===4||a.A===3?r(b===a.v.K(),"Expected to not advance the cursor. Group tags do not have values."):r(b>a.v.K(),"Expected to read the field, did you forget to call a read or skip method?"),a.v.I=b);a.aa=a.v.K();b=G(a.v);const c=b>>>3,d=b&7;if(!(d>=0&&d<=5))throw Error("z`"+d+"`"+a.aa);if(c<1)throw Error("A`"+c+"`"+a.aa);a.La=b;a.na=c;a.A=d;return!0},Ed=function(a){switch(a.A){case 0:a.A!=0? (la("Invalid wire type for skipVarintField"),Ed(a)):td(a.v);break;case 1:r(a.A===1);a.v.advance(8);break;case 2:if(a.A!=2)la("Invalid wire type for skipDelimitedField"),Ed(a);else{var b=G(a.v);a.v.advance(b)}break;case 5:r(a.A===5);a.v.advance(4);break;case 3:b=a.na;do{if(!Dd(a))throw Error("B");if(a.A==4){if(a.na!=b)throw Error("C");break}Ed(a)}while(1);break;default:throw Error("z`"+a.A+"`"+a.aa);}},Fd=function(a,b,c){r(a.A==2);const d=a.v.R,e=G(a.v),f=a.v.K()+e;let g=f-d;g<=0&&(a.v.setEnd(f),c(b, a,void 0,void 0,void 0),g=f-a.v.K());if(g)throw Error("y`"+e+"`"+(e-g));a.v.I=f;a.v.setEnd(d)},Gd=function(a){r(a.A==0);return G(a.v)},Hd=function(a){r(a.A==0);return vd(a.v)},Id=function(a){r(a.A==0);return ud(a.v)},Jd=function(a){r(a.A==2);const b=G(a.v);return a.v.Db(b,!0)},Kd=function(a,b,c){r(a.A==2);var d=G(a.v);for(d=a.v.K()+d;a.v.K()0;Q--){n=Q-1;Y=h[n];sb(n,a);if(Y!=null&&!ub(Y)&&!qb(Y))break;var Va=!0}if(h!==b||l||Va){if(!d&&!c)h=Array.prototype.slice.call(h,0,Q);else if(Va||l||m)h.length=Q;m&&h.push(m)}Va=h}else Va=b}return Va};var Rd=function(a){if(!a)return Pd||=new Qd(0,0);if(!/^\d+$/.test(a))return null;Zb(a);return new Qd(C,D)},Qd=class{constructor(a,b){this.ya=a>>>0;this.va=b>>>0}};let Pd;var Ud=function(a){if(!a)return Sd||=new Td(0,0);if(!/^-?\d+$/.test(a))return null;Zb(a);return new Td(C,D)},Td=class{constructor(a,b){this.ya=a>>>0;this.va=b>>>0}};let Sd;var Vd=function(a,b){r(b==Math.floor(b));for(r(b>=0&&b<4294967296);b>127;)a.H.push(b&127|128),b>>>=7;a.H.push(b)},Wd=function(a,b){r(b==Math.floor(b));r(b>=-2147483648&&b<2147483648);if(b>=0)Vd(a,b);else{for(let c=0;c<9;c++)a.H.push(b&127|128),b>>=7;a.H.push(1)}},Xd=class{constructor(){this.H=[]}length(){return this.H.length}end(){const a=this.H;this.H=[];return a}X(a,b){r(a==Math.floor(a));r(b==Math.floor(b));r(a>=0&&a<4294967296);for(r(b>=0&&b<4294967296);b>0||a>127;)this.H.push(a&127|128),a=(a>>> 7|b<<25)>>>0,b>>>=7;this.H.push(a)}nb(a,b){r(a==Math.floor(a));r(b==Math.floor(b));r(a>=0&&a<4294967296);r(b>=0&&b<4294967296);this.N(a);this.N(b)}N(a){r(a==Math.floor(a));r(a>=0&&a<4294967296);this.H.push(a>>>0&255);this.H.push(a>>>8&255);this.H.push(a>>>16&255);this.H.push(a>>>24&255)}Kb(a){r(a==Math.floor(a));r(a>=0&&a<1.8446744073709552E19);Tb(a);this.N(C);this.N(D)}Ib(a){r(a==Math.floor(a));r(a>=-2147483648&&a<2147483648);this.H.push(a>>>0&255);this.H.push(a>>>8&255);this.H.push(a>>>16&255); this.H.push(a>>>24&255)}Jb(a){r(a==Math.floor(a));r(a>=-0x7fffffffffffffff&&a<0x7fffffffffffffff);Ub(a);this.nb(C,D)}mb(a){r(a==Infinity||a==-Infinity||isNaN(a)||typeof a==="number"&&a>=-3.4028234663852886E38&&a<=3.4028234663852886E38);const b=Vb(4);b.setFloat32(0,+a,!0);D=0;C=b.getUint32(0,!0);this.N(C)}lb(a){r(typeof a==="number"||a==="Infinity"||a==="-Infinity"||a==="NaN");const b=Vb(8);b.setFloat64(0,+a,!0);C=b.getUint32(0,!0);D=b.getUint32(4,!0);this.N(C);this.N(D)}kb(a){r(typeof a==="boolean"|| typeof a==="number");this.H.push(a?1:0)}Pa(a){r(a==Math.floor(a));r(a>=-2147483648&&a<2147483648);Wd(this,a)}};var Yd=function(a,b){b.length!==0&&(a.Wa.push(b),a.da+=b.length)},J=function(a,b,c){r(b>=1&&b==Math.floor(b));Vd(a.C,b*8+c)},Zd=function(a,b){J(a,b,2);b=a.C.end();Yd(a,b);b.push(a.da);return b},$d=function(a,b){var c=b.pop();c=a.da+a.C.length()-c;for(r(c>=0);c>127;)b.push(c&127|128),c>>>=7,a.da++;b.push(c);a.da++},ae=function(a,b,c){if(c!=null)switch(J(a,b,0),typeof c){case "number":a=a.C;r(c==Math.floor(c));r(c>=0&&c<1.8446744073709552E19);Ub(c);a.X(C,D);break;case "bigint":c=BigInt.asUintN(64,c); c=new Qd(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));a.C.X(c.ya,c.va);break;default:c=Rd(c),a.C.X(c.ya,c.va)}},ce=class{constructor(){this.Wa=[];this.da=0;this.C=new Xd}Ib(a,b){b!=null&&(K(a,b,b>=-2147483648&&b<2147483648),b!=null&&(be(a,b),J(this,a,0),Wd(this.C,b)))}Jb(a,b){if(b!=null){switch(typeof b){case "string":K(a,b,Ud(b));break;case "number":K(a,b,b>=-0x7fffffffffffffff&&b<0x7fffffffffffffff);break;default:K(a,b,b>=BigInt(-0x7fffffffffffffff)&&b=-0x7fffffffffffffff&&b<0x7fffffffffffffff);Ub(b);a.X(C,D);break;case "bigint":b=BigInt.asUintN(64,b);b=new Td(Number(b&BigInt(4294967295)),Number(b>>BigInt(32)));this.C.X(b.ya,b.va);break;default:b=Ud(b),this.C.X(b.ya,b.va)}}}N(a,b){b!=null&&(K(a,b,b>=0&&b<4294967296),b!=null&&(J(this,a,0),Vd(this.C,b)))}Kb(a,b){if(b!=null){switch(typeof b){case "string":K(a,b,Rd(b));break;case "number":K(a,b,b>=0&&b<1.8446744073709552E19);break;default:K(a, b,b>=BigInt(0)&&b=-2147483648&&b<2147483648)} function K(a,b,c){c||la(`for [${b}] at [${a}]`)};function L(){const a=class{constructor(){throw Error("J");}};Object.setPrototypeOf(a,a.prototype);return a}var de=L(),ee=L(),fe=L(),ge=L(),he=L();var M=class{constructor(a,b,c,d){this.Qa=a;this.Ra=b;a=ca(ee);this.Lb=!!a&&d===a||!1}};function ie(a,b,c,d,e){b instanceof I?(Ec(b),b=b.F):b=Array.isArray(b)?Mc(b,d,!1):void 0;b!=null&&(c=Zd(a,c),e(b,a),$d(a,c))}const je=new M(function(a,b,c,d,e){if(a.A!==2)return!1;Fd(a,ed(b,d,c),e);return!0},ie,!1,ee),ke=new M(function(a,b,c,d,e){if(a.A!==2)return!1;Fd(a,ed(b,d,c,!0),e);return!0},ie,!1,ee);var le=Symbol(),me=Symbol(),ne=Symbol(),oe=Symbol();let pe,qe; function re(a,b,c,d){var e=d[a];if(e)return e;e={};e.Ka=r(Lc(d[0]));var f=d[1];let g=1;f&&f.constructor===Object&&(e.xb=f,f=d[++g],typeof f==="function"&&(pe!=null&&(r(pe===f),r(qe===d[1+g])),e.Cb=!0,pe??=f,qe??=oa(d[g+1]),f=d[g+=2]));const h={};for(;f&&se(f);){for(var l=0;l0),l+=f,f=d[++g]);let t;var m=void 0;f instanceof M?t=f:(t=je,g--);if(t?.Lb){f=d[++g];m=d;var n=g;typeof f==="function"&&(r(f.length===0),f=f(),m[n]= f);te(f);m=f}f=d[++g];n=l+1;typeof f==="number"&&f<0&&(n-=f,f=d[++g]);for(;l0}function te(a){if(Array.isArray(a)&&a.length){var b=a[0];var c=Lc(b);c!=null&&c!==b&&(a[0]=c);b=c!=null}else b=!1;r(b);return a}function ue(a){return Array.isArray(a)?a[0]instanceof M?(r(a.length===2),te(a[1]),a):[ke,te(a)]:[w(a,M),void 0]};function ve(a,b,c,d){const e=c.Qa;a[b]=d?(f,g,h)=>e(f,g,h,d):e}function we(a,b,c,d,e){const f=c.Qa;let g,h;a[b]=(l,m,n)=>f(l,m,n,h||=re(me,ve,we,d).Ka,g||=xe(d),e)} function xe(a){let b=a[ne];if(b!=null)return b;const c=re(me,ve,we,a);b=c.Cb?(d,e)=>r(pe)(d,e,c):(d,e)=>{var f=A(d);for(r(!(f&2));Dd(e)&&e.A!=4;){var g=e.na,h=c[g];if(h==null){var l=c.xb;l&&(l=l[g])&&(l=ye(l),l!=null&&(h=c[g]=l))}if(h==null||!h(e,d,g)){g=e;h=g.aa;Ed(g);if(g.vb)h=void 0;else{l=g.v.K();var m=l-h;g.v.I=h;h=g.v.fb(m);r(l==g.v.K())}g=d;v(g);h&&(yb||=Symbol("unknownBinaryFields"),(l=g[yb])?l.push(h):g[yb]=[h])}}if(f&16384){h=A(d);e=ze;f=z(h);g=d.length;h=h===0?!!g&&tb(d[g-1]):h&256;l=g+ (h?-1:0);r(!!h===tb(d[g-1]));for(m=0;mb(e,f,g,d,c)}return b}function ze(a,b){Array.isArray(b)&&fb(b,34)};function Ae(a,b,c){a[b]=c.Ra}function Be(a,b,c,d){let e,f;const g=c.Ra;a[b]=(h,l,m)=>g(h,l,m,f||=re(le,Ae,Be,d).Ka,e||=Ce(d))}function Ce(a){let b=a[oe];if(!b){const c=re(le,Ae,Be,a);b=(d,e)=>De(d,e,c);a[oe]=b}return b} function De(a,b,c){for(var d=A(a),e=z(d),f=a.length,g=d&512?1:0,h=f+(d&256?-1:0);gd(g,h,l,f,e)}else c=d;return a[b]=c}};function Fe(a,b,c){if(Array.isArray(b)){var d=y(b);if(d&4)return b;for(var e=0,f=0;e>31)*2+1;const e=d>>>23&255;d&=8388607;O(b,c,e==255?d?NaN:a*Infinity:e==0?a*1.401298464324817E-45*d:a*Math.pow(2,e-150)*(d+8388608));return!0},function(a,b,c){a.mb(c,$b(b))},L()),Ke=N(function(a,b,c){if(a.A!== 0)return!1;r(a.A==0);a=sd(a.v,Xb);O(b,c,a);return!0},function(a,b,c){a.Jb(c,mc(b))},L()),Le=N(function(a,b,c){if(a.A!==0)return!1;O(b,c,Hd(a));return!0},function(a,b,c){a.Kb(c,nc(b))},ge),Me=Ge(function(a,b,c){if(a.A!==0&&a.A!==2)return!1;b=cd(b,c);a.A==2?Kd(a,vd,b):b.push(Hd(a));return!0},function(a,b,c){b=Fe(nc,b,!1);if(b!=null)for(let d=0;d=0&&b<4294967296),J(a,c,5),a.C.N(b))},L()),Pe=N(function(a,b,c){if(a.A!==0)return!1;r(a.A==0);a=td(a.v);O(b,c,a);return!0},function(a,b,c){a.kb(c,b==null||typeof b==="boolean"?b:typeof b==="number"?!!b:void 0)},L()),Qe=N(function(a,b,c){if(a.A!==2)return!1;O(b,c,Jd(a));return!0},function(a,b,c){b=b==null||typeof b==="string"?b:void 0;if(b!=null){na(b);if(ua?!b.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b))throw Error("a"); b=(ta||=new TextEncoder).encode(b);J(a,c,2);Vd(a.C,b.length);Yd(a,a.C.end());Yd(a,b)}},L()),Re=N(function(a,b,c){if(a.A!==0)return!1;O(b,c,Gd(a));return!0},function(a,b,c){a.N(c,jc(b))},fe),Se=Ge(function(a,b,c){if(a.A!==0&&a.A!==2)return!1;b=cd(b,c);a.A==2?Kd(a,G,b):b.push(Gd(a));return!0},function(a,b,c){b=Fe(jc,b,!0);if(b!=null&&b.length){c=Zd(a,c);for(let d=0;da(b)||Ze(b):Ze})();const $e=I;function af(a){return function(){Ec(this);const b=new ce;De(w(this,I).F,b,re(le,Ae,Be,a));Yd(b,b.C.end());const c=new Uint8Array(b.da),d=b.Wa,e=d.length;let f=0;for(let g=0;ga(...b)},cf=class{};var df=function(a,b){return Object.keys(a.S).map(c=>Number(c)).filter(c=>!isNaN(c)&&c>b).every(c=>a.S[c].length===0)},ef=function(a,b){const c=df(a,3);a.S[3].push(b);c&&a.S[3].length===1&&a.flush()},ff=function(a,b){for(;df(a,b)&&a.S[b].length>0;)a.S[b][0](),a.S[b].shift()},gf=class{constructor(){this.S={[3]:[],[2]:[],[1]:[]};this.bb=!1}flush(){if(!this.bb){this.bb=!0;try{for(;Object.values(this.S).some(a=>a.length>0);)ff(this,3),ff(this,2),ff(this,1)}catch(a){throw Object.values(this.S).forEach(b=> void b.splice(0,b.length)),a;}finally{this.bb=!1}}}};/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ var hf={};let jf=globalThis.trustedTypes,kf;function lf(){let a=null;if(!jf)return a;try{const b=c=>c;a=jf.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(b){throw b;}return a};var mf=class{constructor(a){if(hf!==hf)throw Error("K");this.Yb=a}toString(){return this.Yb+""}};function nf(a){kf===void 0&&(kf=lf());var b=kf;return new mf(b?b.createScriptURL(a):a)};function of(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function pf(a){return a.toString().indexOf("`")===-1}const qf=pf(a=>a``)||pf(a=>a`\0`)||pf(a=>a`\n`)||pf(a=>a`\u0000`),rf=of``&&of`\0`&&of`\n`&&of`\u0000`;var sf=class{constructor(a){if(hf!==hf)throw Error("K");this.Zb=a}toString(){return this.Zb}};new sf("about:blank");new sf("about:invalid#zClosurez");const tf=[];var uf=a=>{console.warn("M`"+a)};tf.indexOf(uf)===-1&&tf.push(uf);/* Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ function vf(a){a=a(b=>{b.stack=Error().stack});a.prototype=Object.create(Error.prototype);return a.prototype.constructor=a};var wf=vf(a=>function(b){a(this);this.message=b?`${b.length} errors occurred during unsubscription: ${b.map((c,d)=>`${d+1}) ${c.toString()}`).join("\n ")}`:"";this.name="UnsubscriptionError";this.errors=b});function xf(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,1))};function P(a){return typeof a==="function"};var R=class{constructor(a){this.Rb=a;this.closed=!1;this.sa=this.ga=null}unsubscribe(){let a;if(!this.closed){this.closed=!0;const c=this.ga;if(Array.isArray(c))for(var b of c)b.remove(this);else c?.remove(this);b=this.Rb;if(P(b))try{b()}catch(e){a=e instanceof wf?e.errors:[e]}const d=this.sa;if(d){this.sa=null;for(const e of d)try{P(e)?e():e.unsubscribe()}catch(f){a=a??[],f instanceof wf?a=[...a,...f.errors]:a.push(f)}}if(a)throw new wf(a);}}add(a){if(a&&a!==this)if(this.closed)P(a)?a():a.unsubscribe(); else{if(a instanceof R){if(a.closed||a.Nb(this))return;a.Mb(this)}(this.sa=this.sa??[]).push(a)}}Nb(a){const b=this.ga;return b===a||Array.isArray(b)&&b.includes(a)}Mb(a){const b=this.ga;this.ga=Array.isArray(b)?(b.push(a),b):b?[b,a]:a}Ob(a){const b=this.ga;b===a?this.ga=null:Array.isArray(b)&&xf(b,a)}remove(a){const b=this.sa;b&&xf(b,a);a instanceof R&&a.Ob(this)}},yf=R;const zf=new R;zf.closed=!0;yf.EMPTY=zf; function Af(a){return a instanceof R||a&&"closed"in a&&P(a.remove)&&P(a.add)&&P(a.unsubscribe)};function Bf(a){setTimeout(()=>{throw a;})};var Df=class extends R{static create(a,b,c){return new Cf(a,b,c)}constructor(a){super();this.J=!1;this.destination=a instanceof Df?a:new Ef(!a||P(a)?{next:a??void 0}:a);Af(a)&&a.add(this)}next(a){this.J||this.tb(a)}error(a){this.J||(this.J=!0,this.qb(a))}complete(){this.J||(this.J=!0,this.pb())}unsubscribe(){this.closed||(this.J=!0,super.unsubscribe())}tb(a){this.destination.next(a)}qb(a){this.destination.error(a);this.unsubscribe()}pb(){this.destination.complete();this.unsubscribe()}}; class Ef{constructor(a){this.cb=a}next(a){const b=this.cb;if(b.next)try{b.next(a)}catch(c){Bf(c)}}error(a){const b=this.cb;if(b.error)try{b.error(a)}catch(c){Bf(c)}else Bf(a)}complete(){const a=this.cb;if(a.complete)try{a.complete()}catch(b){Bf(b)}}}var Cf=class extends Df{constructor(a,b,c){super();this.destination=new Ef(P(a)||!a?{next:a??void 0,error:b??void 0,complete:c??void 0}:a)}};var Ff=typeof Symbol==="function"&&Symbol.observable||"@@observable";function Gf(a){return a};function Hf(a){return a.length===0?Gf:a.length===1?a[0]:function(b){return a.reduce((c,d)=>d(c),b)}};var S=function(a,...b){return b.length?Hf(b)(a):a},T=class{constructor(a){a&&(this.Y=a)}ma(a){const b=new T;b.source=this;b.operator=a;return b}subscribe(a,b,c){a=a&&a instanceof Df||a&&P(a.next)&&P(a.error)&&P(a.complete)&&Af(a)?a:new Cf(a,b,c);b=this.operator;c=this.source;a.add(b?b.call(a,c):c?this.Y(a):this.Ta(a));return a}Ta(a){try{return this.Y(a)}catch(b){a.error(b)}}forEach(a,b){b=b??void 0??Promise;return new b((c,d)=>{let e;e=this.subscribe(f=>{try{a(f)}catch(g){d(g),e?.unsubscribe()}}, d,c)})}Y(a){return this.source?.subscribe(a)}[Ff](){return this}};T.create=a=>new T(a);var If=vf(a=>function(){a(this);this.name="ObjectUnsubscribedError";this.message="object unsubscribed"});var Kf=class extends T{constructor(){super();this.oa=[];this.Za=this.J=this.closed=!1;this.Fb=null}ma(a){const b=new Jf(this,this);b.operator=a;return b}ha(){if(this.closed)throw new If;}next(a){this.ha();if(!this.J){const b=this.oa.slice();for(const c of b)c.next(a)}}error(a){this.ha();if(!this.J){this.Za=this.J=!0;this.Fb=a;const b=this.oa;for(;b.length;)b.shift().error(a)}}complete(){this.ha();if(!this.J){this.J=!0;const a=this.oa;for(;a.length;)a.shift().complete()}}unsubscribe(){this.J=this.closed= !0;this.oa=null}Ta(a){this.ha();return super.Ta(a)}Y(a){this.ha();this.ob(a);return this.sb(a)}sb(a){const b=this.J,c=this.oa;return this.Za||b?R.EMPTY:(c.push(a),new R(()=>xf(this.oa,a)))}ob(a){const b=this.Fb,c=this.J;this.Za?a.error(b):c&&a.complete()}};Kf.create=(a,b)=>new Jf(a,b); var Jf=class extends Kf{constructor(a,b){super();this.destination=a;this.source=b}next(a){this.destination?.next?.(a)}error(a){this.destination?.error?.(a)}complete(){this.destination?.complete?.()}Y(a){return this.source?.subscribe(a)??R.EMPTY}};var Lf=new T(a=>a.complete());function Mf(a,b){return new T(c=>{let d=0;return b.T(function(){d===a.length?c.complete():(c.next(a[d++]),c.closed||this.T())})})};var Nf=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var Of=a=>a&&typeof a.length==="number"&&typeof a!=="function";function Pf(a){if(a instanceof T)return a;if(a!=null){if(P(a[Ff]))return Qf(a);if(Of(a))return Rf(a);if(P(a?.then))return Sf(a);if(Symbol.asyncIterator&&P(a?.[Symbol.asyncIterator]))return Tf(a);if(P(a?.[Nf]))return Uf(a)}throw new TypeError("O`"+(a!==null&&typeof a==="object"?"an invalid object":`'${a}'`));}function Qf(a){return new T(b=>{const c=a[Ff]();if(P(c.subscribe))return c.subscribe(b);throw new TypeError("P");})} function Rf(a){return new T(b=>{for(let c=0;c{a.then(c=>{b.closed||(b.next(c),b.complete())},c=>b.error(c)).then(null,Bf)})}function Uf(a){return new T(b=>{const c=a[Nf]();for(;!b.closed;){const {done:d,value:e}=c.next();d?b.complete():b.next(e)}return()=>P(c?.return)&&c.return()})}function Tf(a){return new T(b=>{Vf(a,b).catch(c=>b.error(c))})}async function Vf(a,b){for await(const c of a)b.next(c);b.complete()};function Wf(a){return a&&P(a.T)};function Xf(...a){const b=Wf(a[a.length-1])?a.pop():void 0;return b?Mf(a,b):Rf(a)};var Yf={now(){return(Yf.Qb||Date).now()},Qb:void 0};var Zf=function(a){var b=a.bufferSize,c=a.Gb;const d=a.buffer;a=a.ab;const e=(a?1:2)*b;bfunction(){a(this);this.name="EmptyError";this.message="no elements in sequence"});function dg(a){return new Promise((b,c)=>{let d=!1,e;a.subscribe({next:f=>{e=f;d=!0},error:c,complete:()=>{d?b(e):c(new cg)}})})};var U=class extends Df{constructor(a,b,c,d,e){super(a);this.Xb=e;b&&(this.tb=function(f){try{b(f)}catch(g){this.destination.error(g)}});c&&(this.qb=function(f){try{c(f)}catch(g){this.destination.error(g)}this.unsubscribe()});d&&(this.pb=function(){try{d()}catch(f){this.destination.error(f)}this.unsubscribe()})}unsubscribe(){!this.closed&&this.Xb?.();super.unsubscribe()}};function V(a){return b=>{if(P(b?.ma))return b.ma(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("Q");}};function eg(){return V((a,b)=>{let c=null;a.Ea++;const d=new U(b,void 0,void 0,void 0,()=>{if(!a||a.Ea<=0||0<--a.Ea)c=null;else{var e=a.fa,f=c;c=null;!e||f&&e!==f||e.unsubscribe();b.unsubscribe()}});a.subscribe(d);d.closed||(c=a.connect())})};var fg=function(a){const b=a.Fa;if(!b||b.J)a.Fa=a.Eb();return a.Fa},gg=class extends T{constructor(a,b){super();this.source=a;this.Eb=b;this.Fa=null;this.Ea=0;this.fa=null}Y(a){return fg(this).subscribe(a)}Sa(){this.Ea=0;const a=this.fa;this.Fa=this.fa=null;a?.unsubscribe()}connect(){let a=this.fa;if(!a){a=this.fa=new R;const b=fg(this);a.add(this.source.subscribe(new U(b,void 0,c=>{this.Sa();b.error(c)},()=>{this.Sa();b.complete()},()=>this.Sa())));a.closed&&(this.fa=null,a=R.EMPTY)}return a}};function hg(){var a=ig;return V((b,c)=>{c.add(a.T(()=>b.subscribe(c),0))})};function jg(a){return V((b,c)=>{let d=0;b.subscribe(new U(c,e=>{c.next(a.call(void 0,e,d++))}))})};const kg=Array.isArray;function lg(a){return jg(b=>kg(b)?a(...b):a(b))};function mg(a,b,c,d){let e=[],f=0,g=0,h=!1;const l=m=>{f++;Pf(c(m,g++)).subscribe(new U(b,n=>{b.next(n)},void 0,()=>{for(f--;e.length&&ff{h=!0;!h||e.length||f||b.complete()}));return()=>{e=null}};function ng(a,b){var c=Infinity;if(P(b))return ng((d,e)=>jg((f,g)=>b(d,f,e,g))(Pf(a(d,e))),c);typeof b==="number"&&(c=b);return V((d,e)=>mg(d,e,a,c))};function og(a=Infinity){return ng(Gf,a)};function pg(a){return new T(b=>{Pf(a()).subscribe(b)})};const qg=["addListener","removeListener"],rg=["addEventListener","removeEventListener"],sg=["on","off"]; function tg(a,b,c){if(P(c)){var d=c;c=void 0}if(d)return S(tg(a,b,c),lg(d));const [e,f]=P(a.addEventListener)&&P(a.removeEventListener)?rg.map(g=>h=>a[g](b,h,c)):P(a.addListener)&&P(a.removeListener)?qg.map(ug(a,b)):P(a.Kc)&&P(a.Jc)?sg.map(ug(a,b)):[];return!e&&Of(a)?ng(g=>tg(g,b,c))(Rf(a)):new T(g=>{if(!e)throw new TypeError("R");const h=(...l)=>g.next(1f(h)})}function ug(a,b){return c=>d=>a[c](b,d)};var vg=class extends R{constructor(){super()}T(){return this}};var wg=function(a,b,c=0){if(c!=null&&a.delay===c&&a.pending===!1)return b;clearInterval(b)},xg=class extends vg{constructor(a,b){super();this.scheduler=a;this.ib=b;this.pending=!1}T(a,b=0){if(this.closed)return this;this.state=a;a=this.id;const c=this.scheduler;a!=null&&(this.id=wg(this,a,b));this.pending=!0;this.delay=b;this.id=this.id||this.hb(c,this.id,b);return this}hb(a,b,c=0){a=a.flush.bind(a,this);return setInterval(a,c)}execute(a,b){if(this.closed)return Error("S");this.pending=!1;if(a=this.rb(a, b))return a;this.pending===!1&&this.id!=null&&(this.id=wg(this,this.id,null))}rb(a){let b=!1,c;try{this.ib(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c}unsubscribe(){if(!this.closed){const a=this.id,b=this.scheduler.actions;this.ib=this.state=this.scheduler=null;this.pending=!1;xf(b,this);a!=null&&(this.id=wg(this,a,null));this.delay=null;super.unsubscribe()}}};var yg=class extends bg{constructor(a,b=ag){super(a,b);this.actions=[];this.active=!1}flush(a){const b=this.actions;if(this.active)b.push(a);else{var c;this.active=!0;do if(c=a.execute(a.state,a.delay))break;while(a=b.shift());this.active=!1;if(c){for(;a=b.shift();)a.unsubscribe();throw c;}}}};function zg(...a){const b=Wf(a[a.length-1])?a.pop():void 0;var c=typeof a[a.length-1]==="number"?a.pop():Infinity;return a.length?a.length===1?Pf(a[0]):og(c)(b?Mf(a,b):Rf(a)):Lf};var Ag=new T(function(){});function Bg(a){return V((b,c)=>{let d=0;b.subscribe(new U(c,e=>a.call(void 0,e,d++)&&c.next(e)))})};vf(a=>function(b=null){a(this);this.message="Timeout has occurred";this.name="TimeoutError";this.info=b});var ig=new class extends yg{}(class extends xg{constructor(a,b){super(a,b);this.scheduler=a;this.ib=b}T(a,b=0){if(b>0)return super.T(a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this}execute(a,b){return b>0||this.closed?super.execute(a,b):this.rb(a,b)}hb(a,b,c=0){return c!=null&&c>0||c==null&&this.delay>0?super.hb(a,b,c):a.flush(this)}});vf(a=>function(){a(this);this.name="ArgumentOutOfRangeError";this.message="argument out of range"});vf(a=>function(b){a(this);this.name="NotFoundError";this.message=b});vf(a=>function(b){a(this);this.name="SequenceError";this.message=b});var Cg=class{constructor(){this.Ma=new cf;this.ac=new gf}zb(){return Ag}};var Dg=class extends Error{constructor(a){super(String(a));this.code=a;this.__proto__=Dg.prototype;this.name=String(a)}},Eg=class extends Dg{constructor(){super(1003);this.__proto__=Eg.prototype}},Fg=class extends Dg{constructor(){super(1009);this.__proto__=Fg.prototype}},Gg=class extends Dg{constructor(){super(1007);this.__proto__=Eg.prototype}};var Hg=class{constructor(a,...b){this.pa=[];this.pa.push(a);b.forEach(c=>{this.pa.push(c)})}L(a){return this.pa.some(b=>b.L(a))}za(a,b){for(let c=0;cnew T(b=>a.subscribe(c=>{bf(()=>{b.next(c)})()},c=>{bf(()=>{b.error(c)})()},()=>{bf(()=>{b.complete()})()}))};var Kg=class{constructor(a,b){this.context=a;this.qa=b}L(a){return this.qa.L(a)}za(a,b){if(!this.L(b))throw new Fg;return new Jg(this.context,this.qa,b??void 0,a)}}; class Jg{constructor(a,b,c,d){this.qa=b;this.properties=c;this.url=d;this.Ia=!0;this.ja=new Map;this.body=void 0;this.method=c?.P??"GET";this.Pb=a.zb().subscribe(()=>{this.sendNow()})}deactivate(){this.Ia=!1}sendNow(){if(this.Ia)if(this.Pb.unsubscribe(),this.qa.L(this.properties))try{this.ja.size>0||this.body!==void 0?this.qa.eb(this.properties??{},this.ja,this.body??"",this.url):this.qa.ping(this.url),this.Ia=!1}catch(a){}else this.Ia=!1}};var Lg=Symbol("time-origin"),Mg=Symbol("date"),Ng=class{constructor(a,b){this.value=a;this.timeline=b}equals(a){if(a.timeline!==this.timeline)throw new Gg;return this.value-a.value===0}maximum(a){if(a.timeline!==this.timeline)throw new Gg;return this.value>=a.value?this:a}round(){return new Ng(Math.round(this.value),this.timeline)}add(a){return new Ng(this.value+a,this.timeline)}toString(){return String(this.value)}};var Pg=class{constructor(...a){for(const b of a)if(b.O()){this.V=b;return}this.V=new Og}O(){return this.V.O()}now(){return this.V.now()}setTimeout(a,b){return this.V.setTimeout(a,b)}clearTimeout(a){this.V.clearTimeout(a)}interval(a,b){const c=this.xa(a).subscribe(b);return()=>void c.unsubscribe()}xa(a){return this.V.xa(a)}get timeline(){return this.V.timeline}}; class Og{constructor(){this.timeline=Symbol()}O(){return!1}now(){return new Ng(0,this.timeline)}setTimeout(){return 0}clearTimeout(){}interval(){return()=>{}}xa(){return Ag}};var Qg=class{constructor(a,b){this.G=a;this.Ma=b}setTimeout(a,b){return this.G.setTimeout(bf(a),b)}clearTimeout(a){this.G.clearTimeout(a)}interval(a,b){const c=this.xa(a).subscribe(b);return()=>void c.unsubscribe()}xa(a){return new T(b=>{let c=0;const d=this.G.setInterval(()=>{b.next(c++)},a);return()=>{this.G.clearInterval(d)}})}O(){return!!this.G.clearTimeout&&"setTimeout"in this.G&&"setInterval"in this.G&&!!this.G.clearInterval}};var Rg=class extends Qg{constructor(a,b){super(a,b);this.timeline=Mg}now(){return new Ng(this.G.Date.now(),this.timeline)}O(){return!!this.G.Date&&!!this.G.Date.now&&super.O()}};var Sg=class extends Qg{constructor(a,b){super(a,b);this.timeline=Lg}now(){return new Ng(this.G.performance.now(),this.timeline)}O(){return!!this.G.performance&&!!this.G.performance.now&&super.O()}};function Tg(a){a=a.global;if(a.fetchLater)return a.fetchLater.bind(a)} var Xg=class{constructor(a){this.context=a;if(Ug===void 0)a:{const b=a.global?.document?.createElement("meta");if(b)try{b.httpEquiv="origin-trial";b.content="AxjhRadLCARYRJawRjMjq4U8V8okQvSnrBIJWdMajuEkN3/DfVAcLcFhMVrUWnOXagwlI8dQD84FwJDGj9ohqAYAAABveyJvcmlnaW4iOiJodHRwczovL2dvb2dsZWFkc2VydmljZXMuY29tOjQ0MyIsImZlYXR1cmUiOiJGZXRjaExhdGVyQVBJIiwiZXhwaXJ5IjoxNzI1NDA3OTk5LCJpc1RoaXJkUGFydHkiOnRydWV9";a.global.document.head.append(b);Ug=b;break a}catch(c){}Ug=void 0}}L(a){return Tg(this.context)!==void 0&& !!a?.Fc&&!Vg(this.context)&&!a?.Va&&!a?.ja&&!a?.Ya}za(a,b){if(!this.L(b))throw new Fg;return new Wg(this.context,a,b)}},Ug,Yg=function(a,b){a.W&&a.W.activated||(a.ta=new AbortController,a.W=a.fetchLater(b,{method:a.P,cache:"no-cache",mode:"no-cors",signal:a.ta.signal,activateAfter:96E4}))}; class Wg{constructor(a,b,c){this.context=a;this.properties=c;this.ea=b;this.P=c?.P??"GET";a=Tg(this.context);if(a===void 0)throw Error();this.fetchLater=a;Yg(this,this.Aa())}Aa(){const a=this.ea;return(a.slice(-1)[0]==="&"?a:a+"&")+"flapi=1"}deactivate(){this.W&&!this.W.activated&&this.ta&&(this.ta.abort(),this.W=void 0)}get url(){return this.ea}set url(a){this.ea=a;a=this.Aa();this.W&&this.W.activated||!this.ta||(this.ta.abort(),this.W=void 0);Yg(this,a)}sendNow(){}get method(){return this.P}};function Zg(a=null){return V((b,c)=>{let d=!1;b.subscribe(new U(c,e=>{d=!0;c.next(e)},void 0,()=>{d||c.next(a);c.complete()}))})};function $g(){return V((a,b)=>{let c=0;a.subscribe(new U(b,d=>{++c<=1&&(b.next(d),1<=c&&b.complete())}))})};function ah(){var a=a??bh;return V((b,c)=>{let d,e=!0;b.subscribe(new U(c,f=>{if(e||!a(d,f))e=!1,d=f,c.next(f)}))})}function bh(a,b){return a===b};function ch(a=dh){return V((b,c)=>{let d=!1;b.subscribe(new U(c,e=>{d=!0;c.next(e)},void 0,()=>d?c.complete():c.error(a())))})}function dh(){return new cg};function eh(a){return V((b,c)=>{let d=0;b.subscribe(new U(c,e=>{a.call(void 0,e,d++,b)||(c.next(!1),c.complete())},void 0,()=>{c.next(!0);c.complete()}))})};function fh(){return V((a,b)=>{let c=[];a.subscribe(new U(b,d=>{c.push(d);1{for(const d of c)b.next(d);b.complete()},()=>{c=null}))})};function gh(a,b){const c=arguments.length>=2;return d=>S(d,a?Bg((e,f)=>a(e,f,d)):Gf,fh(),c?Zg(b):ch(()=>new cg))};function hh(a){const b=P(a)?a:()=>a;return P()?V((c,d)=>{const e=b();(void 0)(e).subscribe(d).add(c.subscribe(e))}):c=>{const d=new gg(c,b);P(c?.ma)&&(d.ma=c.ma);d.source=c;d.Eb=b;return d}};function ih(){const a=new $f;return b=>hh(()=>a)(b)};var jh=class{constructor(a){this.context=a}L(){return!Vg(this.context)&&!!this.context.global.fetch}ping(...a){return S(zg(...a.map(b=>S(Pf(this.context.global.fetch(b,{method:"GET",cache:"no-cache",keepalive:!0,mode:"no-cors"})),jg(c=>c.status===200)))),eh(b=>b),gh())}eb(a,b,c,...d){const e=new Headers;for(const [g,h]of b.entries())e.set(g,h);const f=a.keepAlive??!1;S(zg(...d.map(g=>S(Pf(this.context.global.fetch(g,{method:String(a.P),cache:"no-cache",...(f?{keepalive:!0}:{}),mode:"no-cors",headers:e, body:c})),jg(h=>h.status===200)))),eh(g=>g),gh())}};"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(" ").concat(["BUTTON", "INPUT"]);function kh(a,...b){var c=b.length;if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!==a.raw.length||!qf&&a===a.raw||!(qf&&!rf||of(a))||c+1!==a.length)throw new TypeError("L");if(b.length===0)return nf(a[0]);c=a[0].toLowerCase();if(/^data:/.test(c))throw Error("Z");if(/^https:\/\//.test(c)||/^\/\//.test(c)){var d=c.indexOf("//")+2;var e=c.indexOf("/",d);if(e<=d)throw Error("T");d=c.substring(d,e);if(!/^[0-9a-z.:-]+$/i.test(d))throw Error("U");if(!/^[^:]*(:[0-9]+)?$/i.test(d))throw Error("V"); if(!/(^|\.)[a-z][^.]*$/i.test(d))throw Error("W");d=!0}else d=!1;if(!d)if(/^\//.test(c))if(c==="/"||c.length>1&&c[1]!=="/"&&c[1]!=="\\")d=!0;else throw Error("Y");else d=!1;if(!(d=d||RegExp("^[^:\\s\\\\/]+/").test(c)))if(/^about:blank/.test(c)){if(c!=="about:blank"&&!/^about:blank#/.test(c))throw Error("X");d=!0}else d=!1;if(!d)throw Error("$");c=a[0];for(d=0;d{try{var c=this.context.global;c.google_image_requests||(c.google_image_requests=[]);const d=lh(c.document);d.src=b;c.google_image_requests.push(d);return!0}catch(d){return!1}}).every(b=>b))}eb(a,b,c,...d){this.ping(...d)}};function nh(a){a=a.global;if(a.PendingGetBeacon)return a.PendingGetBeacon}var qh=class{constructor(a){this.context=a}L(a){return oh&&!Vg(this.context)&&nh(this.context)!==void 0&&!a?.Va&&a?.P!=="POST"&&!a?.ja&&!a?.Ya}za(a,b){if(!this.L(b))throw new Fg;return new ph(this.context,a)}},oh=!1; class ph{constructor(a,b){this.context=a;this.ea=b;a=nh(this.context);if(a===void 0)throw Error();this.jb=new a(this.Aa(),{})}Aa(){const a=this.ea;return(a.slice(-1)[0]==="&"?a:a+"&")+"pbapi=1"}deactivate(){this.jb.deactivate()}get url(){return this.ea}set url(a){this.ea=a;this.jb.setURL(this.Aa())}sendNow(){this.jb.sendNow()}get method(){return"GET"}set method(a){if(a!=="GET")throw new Fg;}};var rh=class{constructor(a){this.context=a}L(a){return a?.Va||a?.P==="GET"||a?.ja||a?.Ya||a?.keepAlive?!1:!Vg(this.context)&&this.context.global.navigator?.sendBeacon!==void 0}ping(...a){return Xf(a.map(b=>this.context.global.navigator?.sendBeacon(b)).every(b=>b))}eb(a,b,c,...d){this.ping(...d)}};function sh(){var a={};if(typeof Event==="function")return new Event("DOMContentLoaded",a);if(typeof document!=="undefined"){const b=document.createEvent("CustomEvent");b.initCustomEvent("DOMContentLoaded",a.bubbles||!1,a.cancelable||!1,a.detail);return b}throw Error();};var th=class{constructor(a){this.value=a;this.gb=new Kf}release(){this.gb.next();this.gb.complete();this.value=void 0}get released(){return this.gb}};var uh=class{constructor(a){this.global=a;this.document?S(zg(Xf(!0),tg(this.document,"visibilitychange")),Ig(),jg(()=>this.document?this.document.visibilityState:"visible"),ah()):Xf("visible");this.document?S(tg(this.document,"DOMContentLoaded"),Ig(),$g()):Xf(sh())}get document(){a:{try{Ka(this.global.document);var a=!0;break a}catch(b){}a=!1}return a?this.global.document||null:null}querySelector(a){return this.document?this.document.querySelector(a):null}querySelectorAll(a){return this.document? Ja(this.document.querySelectorAll(a)):[]}elementFromPoint(a,b){if(!this.document||this.document===null||typeof this.document.elementFromPoint!=="function")return null;a=this.document.elementFromPoint(a,b);return a===null?null:new th(a)}};function vh(a){return b=>S(b,wh(a))}function wh(a){function b(c){return new T(d=>c.subscribe(e=>{ef(a,()=>void d.next(e))},e=>{ef(a,()=>void d.error(e))},()=>{ef(a,()=>void d.complete())}))}return Hf([b,hg(),ih(),eg(),b])};function xh(a){return{[0]:kh`https://www.googleadservices.com/pagead/managed/js/activeview/${a}/reach_worklet.html`,[1]:kh`./reach_worklet.js`,[2]:kh`./reach_worklet.js`}}kh`./reach_worklet.html`;kh`./reach_worklet.js`;kh`./reach_worklet.js`;var Vg=function(a){const b=a.global;return!!a.global.HTMLFencedFrameElement&&!!b.fence&&typeof b.fence.reportEvent==="function"},yh=class extends Cg{constructor(a=window,b=new cf,c=xh("current")){super();this.global=a;this.Ma=b;this.cc=c;this.Wb=S(pg(()=>tg(this.global,"pagehide")),Ig());S(pg(()=>tg(this.global,"load")),Ig(),$g());S(pg(()=>tg(this.global,"resize")),Ig());this.onMessage=S(pg(()=>tg(this.global,"message")),Ig());this.document=new uh(this.global);this.V=new Pg(new Sg(this.G,this.Ma), new Rg(this.G,this.Ma));this.ub=new Hg(new Xg(this),new qh(this),new Kg(this,new jh(this)),new Kg(this,new rh(this)),new Kg(this,new mh(this)))}get sharedStorage(){try{return this.global.sharedStorage}catch{}}get G(){return window}zb(){return S(this.Wb,Ig(),vh(this.ac),jg(()=>{}))}postMessage(a,b,c=[]){this.global.postMessage(a,b,c)}get scrollY(){return this.global.scrollY}get MutationObserver(){return this.G.MutationObserver}get ResizeObserver(){return this.G.ResizeObserver}validate(){const a=this.ub.L()|| Vg(this);return this.global&&this.V.O()&&a}};var zh;zh=["2024102102"].slice(-1)[0].substring(0,8);function Ah(a,b){switch(a.a){case 1:return a.b?a=Bh(a.b,b,!1)!==null:(console.log("aa",a),a=!1),a;case 2:return a.b?(b=Bh(a.b,b,!0),a=b===null?!1:b===a.c):(console.log("ba",a),a=!1),a;case 3:return a.b?(b=Bh(a.b,b,!0),a=typeof b==="number"&&typeof a.c==="number"||typeof b==="bigint"&&typeof a.c==="bigint"?b>a.c:!1):(console.log("ca",a),a=!1),a;case 4:return a.b?(b=Bh(a.b,b,!0),a=typeof b==="number"&&typeof a.c==="number"||typeof b==="bigint"&&typeof a.c==="bigint"?b>>7|e<<25)^(e>>>18|e<<14)^e>>>3)|0,g=(c[b-7]|0)+((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)|0;c[b]=f+g|0}d=a.B[0]|0;e=a.B[1]|0;var h=a.B[2]|0,l=a.B[3]|0,m=a.B[4]|0,n=a.B[5]|0,t=a.B[6]|0;f=a.B[7]|0;for(b=0;b<64;b++){var u=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&h^e&h)|0;g=m&n^~m&t;f=f+((m>>> 6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))|0;g=g+(Lh[b]|0)|0;g=f+(g+(c[b]|0)|0)|0;f=t;t=n;n=m;m=l+g|0;l=h;h=e;e=d;d=g+u|0}a.B[0]=a.B[0]+d|0;a.B[1]=a.B[1]+e|0;a.B[2]=a.B[2]+h|0;a.B[3]=a.B[3]+l|0;a.B[4]=a.B[4]+m|0;a.B[5]=a.B[5]+n|0;a.B[6]=a.B[6]+t|0;a.B[7]=a.B[7]+f|0}; Nh.prototype.update=function(a,b){b===void 0&&(b=a.length);var c=0,d=this.la;if(typeof a==="string")for(;c=e&&e==(e|0)))throw Error("ga");this.Ga[d++]=e;d==this.blockSize&&(Qh(this),d=0)}else throw Error("ha");this.la=d;this.Oa+=b}; Nh.prototype.digest=function(){var a=[],b=this.Oa*8;this.la<56?this.update(Ph,56-this.la):this.update(Ph,this.blockSize-(this.la-56));for(var c=63;c>=56;c--)this.Ga[c]=b&255,b/=256;Qh(this);for(c=b=0;c=0;d-=8)a[b++]=this.B[c]>>d&255;return a}; var Mh=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804, 4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];var Sh=function(){Nh.call(this,8,Rh)};da(Sh,Nh);var Rh=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function Th(a,b){var c=new Sh;c.update(a);a=c.digest();c=BigInt(0);for(const d of a)c=(c*BigInt(256)+BigInt(d))%b;return c}function Uh(a){var b=8;if(!Number.isInteger(b)||b<=0||b>=33)b=3;var c=new Sh;c.update(a);a=c.digest();c=0;for(let d=0;d1)return console.error("ka"),-1;c+=d}if(c<.9999999||c>1.0000001)return console.error("la"),-1;c=0;d=b[0];d=-Math.log(Uh(`consistent-hashing-${a}-${0}`))/d;for(let f=1;fe&&(c=f,d=e)}return c};/* Lodash Copyright OpenJS Foundation and other contributors Released under MIT license Based on Underscore.js 1.8.3 Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */ (function(){const module=undefined;const exports=undefined;const define=undefined;var _=globalThis._||{};(function(){var undefined;var VERSION="4.17.21";var LARGE_ARRAY_SIZE=200;var CORE_ERROR_TEXT="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",FUNC_ERROR_TEXT="Expected a function",INVALID_TEMPL_VAR_ERROR_TEXT="Invalid `variable` option passed into `_.template`";var HASH_UNDEFINED="__lodash_hash_undefined__";var MAX_MEMOIZE_SIZE=500;var PLACEHOLDER="__lodash_placeholder__";var CLONE_DEEP_FLAG= 1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_BOUND_FLAG=4,WRAP_CURRY_FLAG=8,WRAP_CURRY_RIGHT_FLAG=16,WRAP_PARTIAL_FLAG=32,WRAP_PARTIAL_RIGHT_FLAG=64,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG=256,WRAP_FLIP_FLAG=512;var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...";var HOT_COUNT=800,HOT_SPAN=16;var LAZY_FILTER_FLAG=1,LAZY_MAP_FLAG=2,LAZY_WHILE_FLAG=3;var INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991, MAX_INTEGER=1.7976931348623157E308,NAN=0/0;var MAX_ARRAY_LENGTH=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1;var wrapFlags=[["ary",WRAP_ARY_FLAG],["bind",WRAP_BIND_FLAG],["bindKey",WRAP_BIND_KEY_FLAG],["curry",WRAP_CURRY_FLAG],["curryRight",WRAP_CURRY_RIGHT_FLAG],["flip",WRAP_FLIP_FLAG],["partial",WRAP_PARTIAL_FLAG],["partialRight",WRAP_PARTIAL_RIGHT_FLAG],["rearg",WRAP_REARG_FLAG]];var argsTag="[object Arguments]",arrayTag="[object Array]",asyncTag="[object AsyncFunction]", boolTag="[object Boolean]",dateTag="[object Date]",domExcTag="[object DOMException]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",nullTag="[object Null]",objectTag="[object Object]",promiseTag="[object Promise]",proxyTag="[object Proxy]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",undefinedTag="[object Undefined]",weakMapTag="[object WeakMap]", weakSetTag="[object WeakSet]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing= /(__e\(.*?\)|\b__t\)) \+\n'';/g;var reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reUnescapedHtml=/[&<>"']/g,reHasEscapedHtml=RegExp(reEscapedHtml.source),reHasUnescapedHtml=RegExp(reUnescapedHtml.source);var reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,reInterpolate=/<%=([\s\S]+?)%>/g;var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var reRegExpChar= /[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source);var reTrimStart=/^\s+/;var reWhitespace=/\s/;var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /;var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var reForbiddenIdentifierChars=/[()=,{}\[\]\/\s]/;var reEscapeChar=/\\(\\)?/g;var reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var reFlags=/\w*$/;var reIsBadHex=/^[-+]0x[0-9a-f]+$/i;var reIsBinary= /^0b[01]+$/i;var reIsHostCtor=/^\[object .+?Constructor\]$/;var reIsOctal=/^0o[0-7]+$/i;var reIsUint=/^(?:0|[1-9]\d*)$/;var reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var reNoMatch=/($^)/;var reUnescapedString=/['\n\r\u2028\u2029\\]/g;var rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange="\\u2700-\\u27bf", rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange;var rsApos= "['\u2019]",rsAstral="["+rsAstralRange+"]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboRange+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]", rsZWJ="\\u200d";var rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq=rsOptVar+ reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")";var reApos=RegExp(rsApos,"g");var reComboMark=RegExp(rsCombo,"g");var reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");var reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+ ")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");var reHasUnicode=RegExp("["+rsZWJ+rsAstralRange+rsComboRange+rsVarRange+"]");var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var contextProps=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol", "TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var templateCounter=-1;var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]= typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]= cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=false;var deburredLetters={"\u00c0":"A","\u00c1":"A", "\u00c2":"A","\u00c3":"A","\u00c4":"A","\u00c5":"A","\u00e0":"a","\u00e1":"a","\u00e2":"a","\u00e3":"a","\u00e4":"a","\u00e5":"a","\u00c7":"C","\u00e7":"c","\u00d0":"D","\u00f0":"d","\u00c8":"E","\u00c9":"E","\u00ca":"E","\u00cb":"E","\u00e8":"e","\u00e9":"e","\u00ea":"e","\u00eb":"e","\u00cc":"I","\u00cd":"I","\u00ce":"I","\u00cf":"I","\u00ec":"i","\u00ed":"i","\u00ee":"i","\u00ef":"i","\u00d1":"N","\u00f1":"n","\u00d2":"O","\u00d3":"O","\u00d4":"O","\u00d5":"O","\u00d6":"O","\u00d8":"O","\u00f2":"o", "\u00f3":"o","\u00f4":"o","\u00f5":"o","\u00f6":"o","\u00f8":"o","\u00d9":"U","\u00da":"U","\u00db":"U","\u00dc":"U","\u00f9":"u","\u00fa":"u","\u00fb":"u","\u00fc":"u","\u00dd":"Y","\u00fd":"y","\u00ff":"y","\u00c6":"Ae","\u00e6":"ae","\u00de":"Th","\u00fe":"th","\u00df":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d", "\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L", "\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T", "\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"};var htmlEscapes={"&":"&","<":"<",">":">",'"':""","'":"'"};var htmlUnescapes= {"&":"&","<":"<",">":">",""":'"',"'":"'"};var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var freeParseFloat=parseFloat,freeParseInt=parseInt;var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||globalThis;var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var freeModule=freeExports&&typeof module== "object"&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var freeProcess=moduleExports&&freeGlobal.process;var nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;if(types)return types;return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();var nodeIsArrayBuffer=nodeUtil&&nodeUtil.isArrayBuffer,nodeIsDate=nodeUtil&&nodeUtil.isDate,nodeIsMap=nodeUtil&&nodeUtil.isMap,nodeIsRegExp= nodeUtil&&nodeUtil.isRegExp,nodeIsSet=nodeUtil&&nodeUtil.isSet,nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}function arrayAggregator(array,setter,iteratee,accumulator){var index=-1,length=array==null?0:array.length;while(++index-1}function arrayIncludesWith(array,value,comparator){var index=-1,length=array==null?0:array.length; while(++index-1);return index}function charsEndIndex(strSymbols,chrSymbols){var index=strSymbols.length;while(index--&&baseIndexOf(chrSymbols,strSymbols[index],0)>-1);return index}function countHolders(array,placeholder){var length=array.length,result=0;while(length--)if(array[length]===placeholder)++result;return result}var deburrLetter=basePropertyOf(deburredLetters);var escapeHtmlChar=basePropertyOf(htmlEscapes);function escapeStringChar(chr){return"\\"+ stringEscapes[chr]}function getValue(object,key){return object==null?undefined:object[key]}function hasUnicode(string){return reHasUnicode.test(string)}function hasUnicodeWord(string){return reHasUnicodeWord.test(string)}function iteratorToArray(iterator){var data,result=[];while(!(data=iterator.next()).done)result.push(data.value);return result}function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value]});return result}function overArg(func, transform){return function(arg){return func(transform(arg))}}function replaceHolders(array,placeholder){var index=-1,length=array.length,resIndex=0,result=[];while(++index-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){++this.size;data.push([key,value])}else data[index][1]=value;return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get= listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries==null?0:entries.length;this.clear();while(++index=lower?number:lower}return number}function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=bitmask&CLONE_DEEP_FLAG,isFlat=bitmask&CLONE_FLAT_FLAG,isFull=bitmask&CLONE_SYMBOLS_FLAG;if(customizer)result=object? customizer(value,key,object,stack):customizer(value);if(result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value))return cloneBuffer(value,isDeep);if(tag==objectTag||tag==argsTag||isFunc&&!object){result=isFlat||isFunc?{}:initCloneObject(value);if(!isDeep)return isFlat?copySymbolsIn(value,baseAssignIn(result, value)):copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result);if(isSet(value))value.forEach(function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))});else if(isMap(value))value.forEach(function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))}); var keysFunc=isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys;var props=isArr?undefined:keysFunc(value);arrayEach(props||value,function(subValue,key){if(props){key=subValue;subValue=value[key]}assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))});return result}function baseConforms(source){var props=keys(source);return function(object){return baseConformsTo(object,source,props)}}function baseConformsTo(object,source,props){var length=props.length;if(object==null)return!length; object=Object(object);while(length--){var key=props[length],predicate=source[key],value=object[key];if(value===undefined&&!(key in object)||!predicate(value))return false}return true}function baseDelay(func,wait,args){if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT);return setTimeout(function(){func.apply(undefined,args)},wait)}function baseDifference(array,values,iteratee,comparator){var index=-1,includes=arrayIncludes,isCommon=true,length=array.length,result=[],valuesLength=values.length; if(!length)return result;if(iteratee)values=arrayMap(values,baseUnary(iteratee));if(comparator){includes=arrayIncludesWith;isCommon=false}else if(values.length>=LARGE_ARRAY_SIZE){includes=cacheHas;isCommon=false;values=new SetCache(values)}outer:while(++indexlength?0:length+start;end=end===undefined||end>length?length:toInteger(end);if(end<0)end+=length;end=start>end?0:toLength(end);while(start0&&predicate(value))if(depth>1)baseFlatten(value,depth-1,predicate,isStrict,result);else arrayPush(result,value);else if(!isStrict)result[result.length]=value}return result} var baseFor=createBaseFor();var baseForRight=createBaseFor(true);function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseForOwnRight(object,iteratee){return object&&baseForRight(object,iteratee,keys)}function baseFunctions(object,props){return arrayFilter(props,function(key){return isFunction(object[key])})}function baseGet(object,path){path=castPath(path,object);var index=0,length=path.length;while(object!=null&&indexother}function baseHas(object,key){return object!=null&&hasOwnProperty.call(object, key)}function baseHasIn(object,key){return object!=null&&key in Object(object)}function baseInRange(number,start,end){return number>=nativeMin(start,end)&&number=120&&array.length>=120)?new SetCache(othIndex&&array):undefined}array=arrays[0];var index=-1,seen=caches[0];outer:while(++index-1){if(seen!==array)splice.call(seen,fromIndex,1);splice.call(array,fromIndex,1)}}return array}function basePullAt(array,indexes){var length=array?indexes.length:0,lastIndex=length-1;while(length--){var index=indexes[length];if(length==lastIndex||index!==previous){var previous=index;if(isIndex(index))splice.call(array,index,1);else baseUnset(array,index)}}return array}function baseRandom(lower,upper){return lower+ nativeFloor(nativeRandom()*(upper-lower+1))}function baseRange(start,end,step,fromRight){var index=-1,length=nativeMax(nativeCeil((end-start)/(step||1)),0),result=Array(length);while(length--){result[fromRight?length:++index]=start;start+=step}return result}function baseRepeat(string,n){var result="";if(!string||n<1||n>MAX_SAFE_INTEGER)return result;do{if(n%2)result+=string;n=nativeFloor(n/2);if(n)string+=string}while(n);return result}function baseRest(func,start){return setToString(overRest(func, start,identity),func+"")}function baseSample(collection){return arraySample(values(collection))}function baseSampleSize(collection,n){var array=values(collection);return shuffleSelf(array,baseClamp(n,0,array.length))}function baseSet(object,path,value,customizer){if(!isObject(object))return object;path=castPath(path,object);var index=-1,length=path.length,lastIndex=length-1,nested=object;while(nested!=null&&++indexlength?0:length+start;end=end>length?length:end;if(end<0)end+=length;length=start>end?0:end-start>>>0;start>>>=0;var result=Array(length);while(++index>>1,computed=array[mid];if(computed!==null&&!isSymbol(computed)&&(retHighest?computed<=value:computed=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=false;includes=cacheHas;seen=new SetCache}else seen=iteratee?[]:result;outer:while(++index=length?array:baseSlice(array,start,end)}var clearTimeout=ctxClearTimeout||function(id){return root.clearTimeout(id)};function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);buffer.copy(result);return result}function cloneArrayBuffer(arrayBuffer){var result= new arrayBuffer.constructor(arrayBuffer.byteLength);(new Uint8Array(result)).set(new Uint8Array(arrayBuffer));return result}function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));result.lastIndex=regexp.lastIndex;return result}function cloneSymbol(symbol){return symbolValueOf? Object(symbolValueOf.call(symbol)):{}}function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}function compareAscending(value,other){if(value!==other){var valIsDefined=value!==undefined,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value);var othIsDefined=other!==undefined,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol= isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive)return 1;if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value=ordersLength)return result;var order=orders[index];return result*(order=="desc"?-1:1)}}return object.index-other.index}function composeArgs(args,partials,holders,isCurried){var argsIndex=-1,argsLength=args.length,holdersLength=holders.length,leftIndex=-1,leftLength= partials.length,rangeLength=nativeMax(argsLength-holdersLength,0),result=Array(leftLength+rangeLength),isUncurried=!isCurried;while(++leftIndex1?sources[length-1]:undefined,guard=length>2?sources[2]:undefined;customizer=assigner.length>3&&typeof customizer=="function"?(length--,customizer):undefined;if(guard&&isIterateeCall(sources[0],sources[1],guard)){customizer=length<3?undefined:customizer;length=1}object=Object(object);while(++index-1?iterable[iteratee?collection[index]:index]:undefined}}function createFlow(fromRight){return flatRest(function(funcs){var length=funcs.length,index=length,prereq=LodashWrapper.prototype.thru;if(fromRight)funcs.reverse(); while(index--){var func=funcs[index];if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT);if(prereq&&!wrapper&&getFuncName(func)=="wrapper")var wrapper=new LodashWrapper([],true)}index=wrapper?index:length;while(++index1)args.reverse();if(isAry&&aryarrLength))return false;var arrStacked=stack.get(array);var othStacked=stack.get(other);if(arrStacked&& othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=true,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:undefined;stack.set(array,other);stack.set(other,array);while(++index1?"& ":"")+details[lastIndex];details=details.join(length>2?", ":" ");return source.replace(reWrapComment,"{\n/* [wrapped with "+details+"] */\n")}function isFlattenable(value){return isArray(value)||isArguments(value)||!!(spreadableSymbol&&value&&value[spreadableSymbol])}function isIndex(value, length){var type=typeof value;length=length==null?MAX_SAFE_INTEGER:length;return!!length&&(type=="number"||type!="symbol"&&reIsUint.test(value))&&(value>-1&&value%1==0&&value0){if(++count>=HOT_COUNT)return arguments[0]}else count=0;return func.apply(undefined,arguments)}}function shuffleSelf(array, size){var index=-1,length=array.length,lastIndex=length-1;size=size===undefined?length:size;while(++index1?arrays[length-1]:undefined;iteratee=typeof iteratee=="function"?(arrays.pop(),iteratee):undefined;return unzipWith(arrays,iteratee)});function chain(value){var result=lodash(value);result.__chain__=true;return result} function tap(value,interceptor){interceptor(value);return value}function thru(value,interceptor){return interceptor(value)}var wrapperAt=flatRest(function(paths){var length=paths.length,start=length?paths[0]:0,value=this.__wrapped__,interceptor=function(object){return baseAt(object,paths)};if(length>1||this.__actions__.length||!(value instanceof LazyWrapper)||!isIndex(start))return this.thru(interceptor);value=value.slice(start,+start+(length?1:0));value.__actions__.push({"func":thru,"args":[interceptor], "thisArg":undefined});return(new LodashWrapper(value,this.__chain__)).thru(function(array){if(length&&!array.length)array.push(undefined);return array})});function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===undefined)this.__values__=toArray(this.value());var done=this.__index__>=this.__values__.length,value=done?undefined:this.__values__[this.__index__++];return{"done":done,"value":value}} function wrapperToIterator(){return this}function wrapperPlant(value){var result,parent=this;while(parent instanceof baseLodash){var clone=wrapperClone(parent);clone.__index__=0;clone.__values__=undefined;if(result)previous.__wrapped__=clone;else result=clone;var previous=clone;parent=parent.__wrapped__}previous.__wrapped__=value;return result}function wrapperReverse(){var value=this.__wrapped__;if(value instanceof LazyWrapper){var wrapped=value;if(this.__actions__.length)wrapped=new LazyWrapper(this); wrapped=wrapped.reverse();wrapped.__actions__.push({"func":thru,"args":[reverse],"thisArg":undefined});return new LodashWrapper(wrapped,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var countBy=createAggregator(function(result,value,key){if(hasOwnProperty.call(result,key))++result[key];else baseAssignValue(result,key,1)});function every(collection,predicate,guard){var func=isArray(collection)?arrayEvery:baseEvery;if(guard&& isIterateeCall(collection,predicate,guard))predicate=undefined;return func(collection,getIteratee(predicate,3))}function filter(collection,predicate){var func=isArray(collection)?arrayFilter:baseFilter;return func(collection,getIteratee(predicate,3))}var find=createFind(findIndex);var findLast=createFind(findLastIndex);function flatMap(collection,iteratee){return baseFlatten(map(collection,iteratee),1)}function flatMapDeep(collection,iteratee){return baseFlatten(map(collection,iteratee),INFINITY)} function flatMapDepth(collection,iteratee,depth){depth=depth===undefined?1:toInteger(depth);return baseFlatten(map(collection,iteratee),depth)}function forEach(collection,iteratee){var func=isArray(collection)?arrayEach:baseEach;return func(collection,getIteratee(iteratee,3))}function forEachRight(collection,iteratee){var func=isArray(collection)?arrayEachRight:baseEachRight;return func(collection,getIteratee(iteratee,3))}var groupBy=createAggregator(function(result,value,key){if(hasOwnProperty.call(result, key))result[key].push(value);else baseAssignValue(result,key,[value])});function includes(collection,value,fromIndex,guard){collection=isArrayLike(collection)?collection:values(collection);fromIndex=fromIndex&&!guard?toInteger(fromIndex):0;var length=collection.length;if(fromIndex<0)fromIndex=nativeMax(length+fromIndex,0);return isString(collection)?fromIndex<=length&&collection.indexOf(value,fromIndex)>-1:!!length&&baseIndexOf(collection,value,fromIndex)>-1}var invokeMap=baseRest(function(collection, path,args){var index=-1,isFunc=typeof path=="function",result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value){result[++index]=isFunc?apply(path,value,args):baseInvoke(value,path,args)});return result});var keyBy=createAggregator(function(result,value,key){baseAssignValue(result,key,value)});function map(collection,iteratee){var func=isArray(collection)?arrayMap:baseMap;return func(collection,getIteratee(iteratee,3))}function orderBy(collection,iteratees,orders, guard){if(collection==null)return[];if(!isArray(iteratees))iteratees=iteratees==null?[]:[iteratees];orders=guard?undefined:orders;if(!isArray(orders))orders=orders==null?[]:[orders];return baseOrderBy(collection,iteratees,orders)}var partition=createAggregator(function(result,value,key){result[key?0:1].push(value)},function(){return[[],[]]});function reduce(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduce:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee, 4),accumulator,initAccum,baseEach)}function reduceRight(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduceRight:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee,4),accumulator,initAccum,baseEachRight)}function reject(collection,predicate){var func=isArray(collection)?arrayFilter:baseFilter;return func(collection,negate(getIteratee(predicate,3)))}function sample(collection){var func=isArray(collection)?arraySample:baseSample;return func(collection)} function sampleSize(collection,n,guard){if(guard?isIterateeCall(collection,n,guard):n===undefined)n=1;else n=toInteger(n);var func=isArray(collection)?arraySampleSize:baseSampleSize;return func(collection,n)}function shuffle(collection){var func=isArray(collection)?arrayShuffle:baseShuffle;return func(collection)}function size(collection){if(collection==null)return 0;if(isArrayLike(collection))return isString(collection)?stringSize(collection):collection.length;var tag=getTag(collection);if(tag== mapTag||tag==setTag)return collection.size;return baseKeys(collection).length}function some(collection,predicate,guard){var func=isArray(collection)?arraySome:baseSome;if(guard&&isIterateeCall(collection,predicate,guard))predicate=undefined;return func(collection,getIteratee(predicate,3))}var sortBy=baseRest(function(collection,iteratees){if(collection==null)return[];var length=iteratees.length;if(length>1&&isIterateeCall(collection,iteratees[0],iteratees[1]))iteratees=[];else if(length>2&&isIterateeCall(iteratees[0], iteratees[1],iteratees[2]))iteratees=[iteratees[0]];return baseOrderBy(collection,baseFlatten(iteratees,1),[])});var now=ctxNow||function(){return root.Date.now()};function after(n,func){if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT);n=toInteger(n);return function(){if(--n<1)return func.apply(this,arguments)}}function ary(func,n,guard){n=guard?undefined:n;n=func&&n==null?func.length:n;return createWrap(func,WRAP_ARY_FLAG,undefined,undefined,undefined,undefined,n)}function before(n, func){var result;if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT);n=toInteger(n);return function(){if(--n>0)result=func.apply(this,arguments);if(n<=1)func=undefined;return result}}var bind=baseRest(function(func,thisArg,partials){var bitmask=WRAP_BIND_FLAG;if(partials.length){var holders=replaceHolders(partials,getHolder(bind));bitmask|=WRAP_PARTIAL_FLAG}return createWrap(func,bitmask,thisArg,partials,holders)});var bindKey=baseRest(function(object,key,partials){var bitmask=WRAP_BIND_FLAG| WRAP_BIND_KEY_FLAG;if(partials.length){var holders=replaceHolders(partials,getHolder(bindKey));bitmask|=WRAP_PARTIAL_FLAG}return createWrap(key,bitmask,object,partials,holders)});function curry(func,arity,guard){arity=guard?undefined:arity;var result=createWrap(func,WRAP_CURRY_FLAG,undefined,undefined,undefined,undefined,undefined,arity);result.placeholder=curry.placeholder;return result}function curryRight(func,arity,guard){arity=guard?undefined:arity;var result=createWrap(func,WRAP_CURRY_RIGHT_FLAG, undefined,undefined,undefined,undefined,undefined,arity);result.placeholder=curryRight.placeholder;return result}function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=false,maxing=false,trailing=true;if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT);wait=toNumber(wait)||0;if(isObject(options)){leading=!!options.leading;maxing="maxWait"in options;maxWait=maxing?nativeMax(toNumber(options.maxWait)||0,wait):maxWait;trailing= "trailing"in options?!!options.trailing:trailing}function invokeFunc(time){var args=lastArgs,thisArg=lastThis;lastArgs=lastThis=undefined;lastInvokeTime=time;result=func.apply(thisArg,args);return result}function leadingEdge(time){lastInvokeTime=time;timerId=setTimeout(timerExpired,wait);return leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime,timeWaiting=wait-timeSinceLastCall;return maxing?nativeMin(timeWaiting, maxWait-timeSinceLastInvoke):timeWaiting}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return lastCallTime===undefined||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){timerId=undefined;if(trailing&&lastArgs)return invokeFunc(time);lastArgs= lastThis=undefined;return result}function cancel(){if(timerId!==undefined)clearTimeout(timerId);lastInvokeTime=0;lastArgs=lastCallTime=lastThis=timerId=undefined}function flush(){return timerId===undefined?result:trailingEdge(now())}function debounced(){var time=now(),isInvoking=shouldInvoke(time);lastArgs=arguments;lastThis=this;lastCallTime=time;if(isInvoking){if(timerId===undefined)return leadingEdge(lastCallTime);if(maxing){clearTimeout(timerId);timerId=setTimeout(timerExpired,wait);return invokeFunc(lastCallTime)}}if(timerId=== undefined)timerId=setTimeout(timerExpired,wait);return result}debounced.cancel=cancel;debounced.flush=flush;return debounced}var defer=baseRest(function(func,args){return baseDelay(func,1,args)});var delay=baseRest(function(func,wait,args){return baseDelay(func,toNumber(wait)||0,args)});function flip(func){return createWrap(func,WRAP_FLIP_FLAG)}function memoize(func,resolver){if(typeof func!="function"||resolver!=null&&typeof resolver!="function")throw new TypeError(FUNC_ERROR_TEXT);var memoized= function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);memoized.cache=cache.set(key,result)||cache;return result};memoized.cache=new (memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function negate(predicate){if(typeof predicate!="function")throw new TypeError(FUNC_ERROR_TEXT);return function(){var args=arguments;switch(args.length){case 0:return!predicate.call(this); case 1:return!predicate.call(this,args[0]);case 2:return!predicate.call(this,args[0],args[1]);case 3:return!predicate.call(this,args[0],args[1],args[2])}return!predicate.apply(this,args)}}function once(func){return before(2,func)}var overArgs=castRest(function(func,transforms){transforms=transforms.length==1&&isArray(transforms[0])?arrayMap(transforms[0],baseUnary(getIteratee())):arrayMap(baseFlatten(transforms,1),baseUnary(getIteratee()));var funcsLength=transforms.length;return baseRest(function(args){var index= -1,length=nativeMin(args.length,funcsLength);while(++index=other});var isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&& hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};var isArray=Array.isArray;var isArrayBuffer=nodeIsArrayBuffer?baseUnary(nodeIsArrayBuffer):baseIsArrayBuffer;function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isBoolean(value){return value===true||value===false||isObjectLike(value)&&baseGetTag(value)==boolTag}var isBuffer=nativeIsBuffer|| stubFalse;var isDate=nodeIsDate?baseUnary(nodeIsDate):baseIsDate;function isElement(value){return isObjectLike(value)&&value.nodeType===1&&!isPlainObject(value)}function isEmpty(value){if(value==null)return true;if(isArrayLike(value)&&(isArray(value)||typeof value=="string"||typeof value.splice=="function"||isBuffer(value)||isTypedArray(value)||isArguments(value)))return!value.length;var tag=getTag(value);if(tag==mapTag||tag==setTag)return!value.size;if(isPrototype(value))return!baseKeys(value).length; for(var key in value)if(hasOwnProperty.call(value,key))return false;return true}function isEqual(value,other){return baseIsEqual(value,other)}function isEqualWith(value,other,customizer){customizer=typeof customizer=="function"?customizer:undefined;var result=customizer?customizer(value,other):undefined;return result===undefined?baseIsEqual(value,other,undefined,customizer):!!result}function isError(value){if(!isObjectLike(value))return false;var tag=baseGetTag(value);return tag==errorTag||tag==domExcTag|| typeof value.message=="string"&&typeof value.name=="string"&&!isPlainObject(value)}function isFinite(value){return typeof value=="number"&&nativeIsFinite(value)}function isFunction(value){if(!isObject(value))return false;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}function isInteger(value){return typeof value=="number"&&value==toInteger(value)}function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type= typeof value;return value!=null&&(type=="object"||type=="function")}function isObjectLike(value){return value!=null&&typeof value=="object"}var isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;function isMatch(object,source){return object===source||baseIsMatch(object,source,getMatchData(source))}function isMatchWith(object,source,customizer){customizer=typeof customizer=="function"?customizer:undefined;return baseIsMatch(object,source,getMatchData(source),customizer)}function isNaN(value){return isNumber(value)&& value!=+value}function isNative(value){if(isMaskable(value))throw new Error(CORE_ERROR_TEXT);return baseIsNative(value)}function isNull(value){return value===null}function isNil(value){return value==null}function isNumber(value){return typeof value=="number"||isObjectLike(value)&&baseGetTag(value)==numberTag}function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return false;var proto=getPrototype(value);if(proto===null)return true;var Ctor=hasOwnProperty.call(proto,"constructor")&& proto.constructor;return typeof Ctor=="function"&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}var isRegExp=nodeIsRegExp?baseUnary(nodeIsRegExp):baseIsRegExp;function isSafeInteger(value){return isInteger(value)&&value>=-MAX_SAFE_INTEGER&&value<=MAX_SAFE_INTEGER}var isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;function isString(value){return typeof value=="string"||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}function isSymbol(value){return typeof value== "symbol"||isObjectLike(value)&&baseGetTag(value)==symbolTag}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function isUndefined(value){return value===undefined}function isWeakMap(value){return isObjectLike(value)&&getTag(value)==weakMapTag}function isWeakSet(value){return isObjectLike(value)&&baseGetTag(value)==weakSetTag}var lt=createRelationalOperation(baseLt);var lte=createRelationalOperation(function(value,other){return value<=other});function toArray(value){if(!value)return[]; if(isArrayLike(value))return isString(value)?stringToArray(value):copyArray(value);if(symIterator&&value[symIterator])return iteratorToArray(value[symIterator]());var tag=getTag(value),func=tag==mapTag?mapToArray:tag==setTag?setToArray:values;return func(value)}function toFinite(value){if(!value)return value===0?value:0;value=toNumber(value);if(value===INFINITY||value===-INFINITY){var sign=value<0?-1:1;return sign*MAX_INTEGER}return value===value?value:0}function toInteger(value){var result=toFinite(value), remainder=result%1;return result===result?remainder?result-remainder:result:0}function toLength(value){return value?baseClamp(toInteger(value),0,MAX_ARRAY_LENGTH):0}function toNumber(value){if(typeof value=="number")return value;if(isSymbol(value))return NAN;if(isObject(value)){var other=typeof value.valueOf=="function"?value.valueOf():value;value=isObject(other)?other+"":other}if(typeof value!="string")return value===0?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary|| reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}function toPlainObject(value){return copyObject(value,keysIn(value))}function toSafeInteger(value){return value?baseClamp(toInteger(value),-MAX_SAFE_INTEGER,MAX_SAFE_INTEGER):value===0?value:0}function toString(value){return value==null?"":baseToString(value)}var assign=createAssigner(function(object,source){if(isPrototype(source)||isArrayLike(source)){copyObject(source,keys(source),object);return}for(var key in source)if(hasOwnProperty.call(source, key))assignValue(object,key,source[key])});var assignIn=createAssigner(function(object,source){copyObject(source,keysIn(source),object)});var assignInWith=createAssigner(function(object,source,srcIndex,customizer){copyObject(source,keysIn(source),object,customizer)});var assignWith=createAssigner(function(object,source,srcIndex,customizer){copyObject(source,keys(source),object,customizer)});var at=flatRest(baseAt);function create(prototype,properties){var result=baseCreate(prototype);return properties== null?result:baseAssign(result,properties)}var defaults=baseRest(function(object,sources){object=Object(object);var index=-1;var length=sources.length;var guard=length>2?sources[2]:undefined;if(guard&&isIterateeCall(sources[0],sources[1],guard))length=1;while(++index1);return path});copyObject(object,getAllKeysIn(object),result);if(isDeep)result=baseClone(result,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone);var length=paths.length;while(length--)baseUnset(result,paths[length]);return result});function omitBy(object,predicate){return pickBy(object, negate(getIteratee(predicate)))}var pick=flatRest(function(object,paths){return object==null?{}:basePick(object,paths)});function pickBy(object,predicate){if(object==null)return{};var props=arrayMap(getAllKeysIn(object),function(prop){return[prop]});predicate=getIteratee(predicate);return basePickBy(object,props,function(value,path){return predicate(value,path[0])})}function result(object,path,defaultValue){path=castPath(path,object);var index=-1,length=path.length;if(!length){length=1;object=undefined}while(++index< length){var value=object==null?undefined:object[toKey(path[index])];if(value===undefined){index=length;value=defaultValue}object=isFunction(value)?value.call(object):value}return object}function set(object,path,value){return object==null?object:baseSet(object,path,value)}function setWith(object,path,value,customizer){customizer=typeof customizer=="function"?customizer:undefined;return object==null?object:baseSet(object,path,value,customizer)}var toPairs=createToPairs(keys);var toPairsIn=createToPairs(keysIn); function transform(object,iteratee,accumulator){var isArr=isArray(object),isArrLike=isArr||isBuffer(object)||isTypedArray(object);iteratee=getIteratee(iteratee,4);if(accumulator==null){var Ctor=object&&object.constructor;if(isArrLike)accumulator=isArr?new Ctor:[];else if(isObject(object))accumulator=isFunction(Ctor)?baseCreate(getPrototype(object)):{};else accumulator={}}(isArrLike?arrayEach:baseForOwn)(object,function(value,index,object){return iteratee(accumulator,value,index,object)});return accumulator} function unset(object,path){return object==null?true:baseUnset(object,path)}function update(object,path,updater){return object==null?object:baseUpdate(object,path,castFunction(updater))}function updateWith(object,path,updater,customizer){customizer=typeof customizer=="function"?customizer:undefined;return object==null?object:baseUpdate(object,path,castFunction(updater),customizer)}function values(object){return object==null?[]:baseValues(object,keys(object))}function valuesIn(object){return object== null?[]:baseValues(object,keysIn(object))}function clamp(number,lower,upper){if(upper===undefined){upper=lower;lower=undefined}if(upper!==undefined){upper=toNumber(upper);upper=upper===upper?upper:0}if(lower!==undefined){lower=toNumber(lower);lower=lower===lower?lower:0}return baseClamp(toNumber(number),lower,upper)}function inRange(number,start,end){start=toFinite(start);if(end===undefined){end=start;start=0}else end=toFinite(end);number=toNumber(number);return baseInRange(number,start,end)}function random(lower, upper,floating){if(floating&&typeof floating!="boolean"&&isIterateeCall(lower,upper,floating))upper=floating=undefined;if(floating===undefined)if(typeof upper=="boolean"){floating=upper;upper=undefined}else if(typeof lower=="boolean"){floating=lower;lower=undefined}if(lower===undefined&&upper===undefined){lower=0;upper=1}else{lower=toFinite(lower);if(upper===undefined){upper=lower;lower=0}else upper=toFinite(upper)}if(lower>upper){var temp=lower;lower=upper;upper=temp}if(floating||lower%1||upper% 1){var rand=nativeRandom();return nativeMin(lower+rand*(upper-lower+freeParseFloat("1e-"+((rand+"").length-1))),upper)}return baseRandom(lower,upper)}var camelCase=createCompounder(function(result,word,index){word=word.toLowerCase();return result+(index?capitalize(word):word)});function capitalize(string){return upperFirst(toString(string).toLowerCase())}function deburr(string){string=toString(string);return string&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}function endsWith(string, target,position){string=toString(string);target=baseToString(target);var length=string.length;position=position===undefined?length:baseClamp(toInteger(position),0,length);var end=position;position-=target.length;return position>=0&&string.slice(position,end)==target}function escape(string){string=toString(string);return string&&reHasUnescapedHtml.test(string)?string.replace(reUnescapedHtml,escapeHtmlChar):string}function escapeRegExp(string){string=toString(string);return string&&reHasRegExpChar.test(string)? string.replace(reRegExpChar,"\\$&"):string}var kebabCase=createCompounder(function(result,word,index){return result+(index?"-":"")+word.toLowerCase()});var lowerCase=createCompounder(function(result,word,index){return result+(index?" ":"")+word.toLowerCase()});var lowerFirst=createCaseFirst("toLowerCase");function pad(string,length,chars){string=toString(string);length=toInteger(length);var strLength=length?stringSize(string):0;if(!length||strLength>=length)return string;var mid=(length-strLength)/ 2;return createPadding(nativeFloor(mid),chars)+string+createPadding(nativeCeil(mid),chars)}function padEnd(string,length,chars){string=toString(string);length=toInteger(length);var strLength=length?stringSize(string):0;return length&&strLength>>0;if(!limit)return[];string=toString(string);if(string&&(typeof separator=="string"||separator!=null&&!isRegExp(separator))){separator=baseToString(separator);if(!separator&&hasUnicode(string))return castSlice(stringToArray(string),0,limit)}return string.split(separator, limit)}var startCase=createCompounder(function(result,word,index){return result+(index?" ":"")+upperFirst(word)});function startsWith(string,target,position){string=toString(string);position=position==null?0:baseClamp(toInteger(position),0,string.length);target=baseToString(target);return string.slice(position,position+target.length)==target}function toLower(value){return toString(value).toLowerCase()}function toUpper(value){return toString(value).toUpperCase()}function trim(string,chars,guard){string= toString(string);if(string&&(guard||chars===undefined))return baseTrim(string);if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),chrSymbols=stringToArray(chars),start=charsStartIndex(strSymbols,chrSymbols),end=charsEndIndex(strSymbols,chrSymbols)+1;return castSlice(strSymbols,start,end).join("")}function trimEnd(string,chars,guard){string=toString(string);if(string&&(guard||chars===undefined))return string.slice(0,trimmedEndIndex(string)+1);if(!string||!(chars= baseToString(chars)))return string;var strSymbols=stringToArray(string),end=charsEndIndex(strSymbols,stringToArray(chars))+1;return castSlice(strSymbols,0,end).join("")}function trimStart(string,chars,guard){string=toString(string);if(string&&(guard||chars===undefined))return string.replace(reTrimStart,"");if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),start=charsStartIndex(strSymbols,stringToArray(chars));return castSlice(strSymbols,start).join("")}function truncate(string, options){var length=DEFAULT_TRUNC_LENGTH,omission=DEFAULT_TRUNC_OMISSION;if(isObject(options)){var separator="separator"in options?options.separator:separator;length="length"in options?toInteger(options.length):length;omission="omission"in options?baseToString(options.omission):omission}string=toString(string);var strLength=string.length;if(hasUnicode(string)){var strSymbols=stringToArray(string);strLength=strSymbols.length}if(length>=strLength)return string;var end=length-stringSize(omission);if(end< 1)return omission;var result=strSymbols?castSlice(strSymbols,0,end).join(""):string.slice(0,end);if(separator===undefined)return result+omission;if(strSymbols)end+=result.length-end;if(isRegExp(separator)){if(string.slice(end).search(separator)){var match,substring=result;if(!separator.global)separator=RegExp(separator.source,toString(reFlags.exec(separator))+"g");separator.lastIndex=0;while(match=separator.exec(substring))var newEnd=match.index;result=result.slice(0,newEnd===undefined?end:newEnd)}}else if(string.indexOf(baseToString(separator), end)!=end){var index=result.lastIndexOf(separator);if(index>-1)result=result.slice(0,index)}return result+omission}function unescape(string){string=toString(string);return string&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string}var upperCase=createCompounder(function(result,word,index){return result+(index?" ":"")+word.toUpperCase()});var upperFirst=createCaseFirst("toUpperCase");function words(string,pattern,guard){string=toString(string);pattern=guard?undefined: pattern;if(pattern===undefined)return hasUnicodeWord(string)?unicodeWords(string):asciiWords(string);return string.match(pattern)||[]}var attempt=baseRest(function(func,args){try{return apply(func,undefined,args)}catch(e){return isError(e)?e:new Error(e)}});var bindAll=flatRest(function(object,methodNames){arrayEach(methodNames,function(key){key=toKey(key);baseAssignValue(object,key,bind(object[key],object))});return object});function cond(pairs){var length=pairs==null?0:pairs.length,toIteratee=getIteratee(); pairs=!length?[]:arrayMap(pairs,function(pair){if(typeof pair[1]!="function")throw new TypeError(FUNC_ERROR_TEXT);return[toIteratee(pair[0]),pair[1]]});return baseRest(function(args){var index=-1;while(++indexMAX_SAFE_INTEGER)return[];var index=MAX_ARRAY_LENGTH,length=nativeMin(n,MAX_ARRAY_LENGTH);iteratee=getIteratee(iteratee);n-=MAX_ARRAY_LENGTH;var result=baseTimes(length,iteratee);while(++index0||end<0))return new LazyWrapper(result);if(start<0)result=result.takeRight(-start);else if(start)result=result.drop(start);if(end!==undefined){end=toInteger(end);result=end<0?result.dropRight(-end):result.take(end-start)}return result};LazyWrapper.prototype.takeRightWhile=function(predicate){return this.reverse().takeWhile(predicate).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)};baseForOwn(LazyWrapper.prototype, function(func,methodName){var checkIteratee=/^(?:filter|find|map|reject)|While$/.test(methodName),isTaker=/^(?:head|last)$/.test(methodName),lodashFunc=lodash[isTaker?"take"+(methodName=="last"?"Right":""):methodName],retUnwrapped=isTaker||/^find/.test(methodName);if(!lodashFunc)return;lodash.prototype[methodName]=function(){var value=this.__wrapped__,args=isTaker?[1]:arguments,isLazy=value instanceof LazyWrapper,iteratee=args[0],useLazy=isLazy||isArray(value);var interceptor=function(value){var result= lodashFunc.apply(lodash,arrayPush([value],args));return isTaker&&chainAll?result[0]:result};if(useLazy&&checkIteratee&&typeof iteratee=="function"&&iteratee.length!=1)isLazy=useLazy=false;var chainAll=this.__chain__,isHybrid=!!this.__actions__.length,isUnwrapped=retUnwrapped&&!chainAll,onlyLazy=isLazy&&!isHybrid;if(!retUnwrapped&&useLazy){value=onlyLazy?value:new LazyWrapper(this);var result=func.apply(value,args);result.__actions__.push({"func":thru,"args":[interceptor],"thisArg":undefined});return new LodashWrapper(result, chainAll)}if(isUnwrapped&&onlyLazy)return func.apply(this,args);result=this.thru(interceptor);return isUnwrapped?isTaker?result.value()[0]:result.value():result}});arrayEach(["pop","push","shift","sort","splice","unshift"],function(methodName){var func=arrayProto[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:pop|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;if(retUnwrapped&&!this.__chain__){var value=this.value(); return func.apply(isArray(value)?value:[],args)}return this[chainName](function(value){return func.apply(isArray(value)?value:[],args)})}});baseForOwn(LazyWrapper.prototype,function(func,methodName){var lodashFunc=lodash[methodName];if(lodashFunc){var key=lodashFunc.name+"";if(!hasOwnProperty.call(realNames,key))realNames[key]=[];realNames[key].push({"name":methodName,"func":lodashFunc})}});realNames[createHybrid(undefined,WRAP_BIND_KEY_FLAG).name]=[{"name":"wrapper","func":undefined}];LazyWrapper.prototype.clone= lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=wrapperAt;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(symIterator)lodash.prototype[symIterator]=wrapperToIterator;return lodash}; var _=runInContext();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){root._=_;define(function(){return _})}else if(freeModule){(freeModule.exports=_)._=_;freeExports._=_}else root._=_}).call(this)}).call(globalThis);/* Lodash Copyright JS Foundation and other contributors Released under MIT license Based on Underscore.js 1.8.3 Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */ var W=globalThis._;function Wh(a,b){return typeof a[b]!=="object"?!0:Array.isArray(a[b])?(console.warn("oa`"+b),!0):!1}function Xh(a,b){return W.isEmpty(a)?(console.warn("pa`"+b),!0):!1}function Yh(a,b){for(const c of Object.keys(b))if(c in a&&(Wh(b,c)||!Xh(b[c],c)&&!Zh(a[c],b,c)))return!1;return!0}function Zh(a,b,c){if(typeof a!=="object"){console.error("qa`"+c+"`"+typeof a);var d=!1}else Array.isArray(a)?(console.error("ra`"+c),d=!1):d=!0;return!d||W.isEmpty(a)?!0:Yh(a,b[c])} function $h(a,b,c){for(const f of Object.keys(c))if(f in a||f in b){if(Wh(c,f)){var d;if(d=f in a&&f in b){d=a[f];var e=b[f];d=typeof d!==typeof e||typeof d==="object"&&Array.isArray(d)!==Array.isArray(e)?!1:typeof d==="object"&&!Array.isArray(d)&&W.isEmpty(d)&&W.isEmpty(e)?!0:W.isEqual(d,e)}if(d)continue;else return!1}if(!Xh(c[f],f)){if(!(f in a))if(Zh(b[f],c,f))continue;else return!1;if(!(f in b))if(Zh(a[f],c,f))continue;else return!1;if(typeof a[f]!==typeof b[f])return!1;d=Zh(a[f],c,f);e=Zh(b[f], c,f);if(!d||!e)if(d||e||!$h(a[f],b[f],c[f]))return!1}}return!0}function ai(a,b,c){return W.isEmpty(c)||W.isEmpty(a)&&W.isEmpty(b)?!0:W.isEmpty(a)?Yh(b,c):W.isEmpty(b)?Yh(a,c):$h(a,b,c)} function bi(a,b){if(Array.isArray(a)||Array.isArray(b))console.error("sa");else if(!W.isEmpty(b))if(W.isEmpty(a))W.merge(a,b);else for(const c of Object.keys(b)){if(!(c in a)){a[c]=W.cloneDeep(b[c]);continue}if(typeof a[c]!==typeof b[c]){console.error("ma");continue}if(typeof a[c]!=="object"){a[c]=b[c];continue}const d=a[c],e=b[c];Array.isArray(d)&&Array.isArray(e)?d.push(...W.cloneDeep(e)):Array.isArray(d)||Array.isArray(e)?console.error("na"):bi(d,e)}} function ci(a,b){const c=W.cloneDeep(a);bi(c,b);return W.isEqual(c,a)};function di(a,b){if(a.b){var c=ei(a.b,b);if(!c.ok)return console.log("ta"),console.log("ua`"+JSON.stringify(a.b)),console.log("va`"+JSON.stringify(b)),c.D?c:{ok:!1,D:-12}}else if(a.c){if(!fi(a.c,b))return console.log("wa"),console.log("xa`"+JSON.stringify(a.c)),console.log("va`"+JSON.stringify(b)),{ok:!1,D:-13}}else if(a.d){if(c=gi(a.d,b),!c.ok)return console.log("ya"),console.log("za`"+JSON.stringify(a.d)),console.log("va`"+JSON.stringify(b)),c.D?c:{ok:!1,D:-15}}else if(a.e&&(c=di(a.e,b),!c.ok))return console.log("Aa"), console.log("Ba`"+JSON.stringify(a.e)),console.log("va`"+JSON.stringify(b)),c;if(a.g)a=di(a.g,b);else if(a.f)a=hi(a,b);else if(a.h)if(a.j&&a.i&&a.h&&a.k){var d=b.b+a.k;c=Vh(d,a.j);if(c<0)a={ok:!1,D:-4};else{var e=BigInt(a.i[c]);d=Th(d,Gh);if(d>=0&&d<=Jh)if(e>0&&e>BigInt(33);if(g===Ih)break;g=f*Fh/(g+BigInt(1))+BigInt(1)}e=f-BigInt(1)}else console.log("ja"),e=BigInt(-1);else console.log("ia"), e=BigInt(-1);b.c.a.push({a:e+BigInt(a.h[c])});b.a.n&&b.a.n.a&&(b.c.a[0].b=b.a.n.a);a={ok:!0}}}else console.log("Ca"),console.log("Da`"+JSON.stringify(a)),a={ok:!1,D:-3};else a={ok:!0};return a} function hi(a,b){if(!a.f)return console.log("Ea"),console.log("Da`"+JSON.stringify(a)),{ok:!1,D:-5};if(a.j){if(!a.k)return console.log("Fa"),console.log("Da`"+JSON.stringify(a)),{ok:!1,D:-6};var c=Vh(b.b+a.k,a.j);return c<0?{ok:!1,D:-7}:di(a.f[c],b)}if(a.l){c=0;const d=a.l;for(;cb-c).join(",");return a in ea?BigInt(ea[a]):BigInt(-1)};function ni(a,b,c){b=Th(b.toString(),Hh);a={a:{a},b:b.toString(),c:{a:[]}};c=di(c.b,a);if(!c.ok)return{ok:!1,D:c.D,value:{a:[]}};for(const e of a.c.a){if(e.b){c=a.b;b={};var d=e.b.a??[];for(const f of d)bi(b,ji(c,f));e.c=b}if(e.c){b=e.c;c=BigInt(0);b.a&&(c=mi(b.a));c===BigInt(-1)&&(c=BigInt(0));d=BigInt(0);if(b.b)if(d=b.b,d.a&&d.b){b:switch(d.a){case 2:b=BigInt(0);break b;case 1:b=BigInt(1);break b;default:b=BigInt(-1)}b===BigInt(-1)?d=BigInt(-1):(d=d.b,d=li.has(d)?BigInt(d):BigInt(-1),d=d===BigInt(-1)? BigInt(-1):d<qi(h)).filter(h=>!!h)));if(f.length===0){b===void 0&&(b=JSON.parse(c));c=ui(e,b,d);if(!c.ok&&c.D)return[oi-BigInt(c.D)];f=c.value.map(h=>h.d??BigInt(0))}c=f.map(h=> String(h));await a.set("cachedVpids",JSON.stringify(c));return f}aa("runPrivateReach",vi);var wi=BigInt(0);function xi(a,b,c=BigInt(0)){return{bucket:a,value:b?1:16384,filteringId:c}};function yi(){var a=zi;class b{async run(c){if(c!==void 0&&c.modelJson!==void 0){var d=e=>{a?.privateAggregation?.sendHistogramReport?a.privateAggregation.sendHistogramReport(e):a.privateAggregation?.contributeToHistogram?.(e)};try{c.enableDebugMode&&a.privateAggregation.enableDebugMode({debug_key:wi,debugKey:wi}),(await vi(this.sharedStorage??a?.sharedStorage,c.reportBrowserIdInsteadOfVPID,c.modelJson,c.deviceType)).forEach(e=>{for(const f of c.filterIds)d(xi(e,c.enableDebugMode,f))})}catch(e){d(xi(oi- BigInt(-1),!0))}}}}a.register("google_reach",b)};function X(a,b){b=`${"https://pagead2.googlesyndication.com/pagead/gen_204"}?id=av-js&type=reach&proto=${encodeURIComponent(Oa(b.U()))}`;a.ub.za(b,{P:"GET"}).sendNow()};function Ai(a){return[{ia:2,Ba:!1,ua:!0,filterIds:Bi(a?.productionFilterIds)},{ia:2,Ba:!0,ua:!0,filterIds:Bi(a?.testFilterIds)},{ia:2,Ba:!1,ua:!1,filterIds:Bi(a?.testFilterIds)}]}function Bi(a){if(a!==void 0)return a.map(b=>BigInt(b))};var Ci=class extends $e{constructor(a){super(a)}getType(){var a=this.F;a=$c(a,A(a),6);return ec(a)??0}},Di=function(a){return b=>{oa(a);if(b==null||b=="")b=w(new a,I);else{na(b);b=JSON.parse(b);if(!Array.isArray(b))throw Error("I`"+q(b)+"`"+b);fb(b,32);b=Ic(a,b)}return b}}(Ci);Ci.wa="ads.geo.GeoTargetMessage";var Ei=function(a,b){return pd(a,1,b)},Fi=function(a,b){return od(a,2,b)},Gi=function(a,b){return od(a,3,b)},Z=class extends $e{constructor(){super(void 0)}Ca(a){return od(this,10,a)}};Z.wa="ads.branding.measurement.client.frontend.integrations.reach.ReachStatusMessage";var Hi=[0,Re,-4,Te,Pe,Ne,Je,Re,Je,Re,Ne,Re,-1,[0,Ne,-3],Se,Me,Re,Le,-1,Ne,-1,Le,Je,[0,Le,Ne,-1,Te,Je,Le],Ie,Re];Ci.prototype.U=af(Hi);Z.prototype.U=af([0,Te,Qe,-1,Te,-2,Qe,-1,Ne,Qe,Hi,Ue,Ne]);var Ii=async function(a,b){try{return await b()}finally{a.flush()}},Ji=class{constructor(a){this.context=a;this.points=[]}flush(){if(!(this.points.length<=0)){var a=new Z;Ei(a,9);var b=Ai().length;F(a,13,b==null?b:gc(b));kd(a,12,this.points);this.points.splice(0);X(this.context,a)}}};var Ye=class extends $e{constructor(a){super(a)}};Ye.wa="EventIdMessage";var Ki=class extends $e{constructor(){super(void 0)}ra(a){return nd(this,4,a)}};Ki.wa="ads.branding.measurement.client.frontend.integrations.reach.ContextIdMessage";var Li=[0,Ke,Oe,-1];Ye.prototype.U=af(Li);Ki.prototype.U=af([0,Li,Pe,-1,Re,-3,Ve,Pe]);var Xe=class extends $e{constructor(a){super(a,1)}};Xe.wa="proto2.bridge.MessageSet";const Mi={};Xe[Eb]=Mi;Mi[4156379]={Ic:new We};var Ni=function(a,b){return(c,d)=>{if(Ld.length){const f=Ld.pop();Cd(f,d);yd(f.v,c,d);c=f}else c=new Md(c,d);try{const f=new a,g=f.F;xe(b)(g,c);var e=f}finally{c.yb()}return e}}(Ye,Li);var Oi=function(a,b){var c=md(a.message,2,b.ia===2);b=md(c,3,!b.Ba);a.message=b;return a},Pi=function(a,b){a.message=kd(a.message,8,b);return a},Qi=function(a){var b=zh.match(/m\d{12}/g),c=zh.match(/\d{8}/g);if(b&&b.length>0){b=b[0].slice(1);c=a.message;var d=Number(b.slice(0,8));c=nd(c,5,d);d=Number(b.slice(8,10));c=nd(c,6,d);b=Number(b.slice(10,12));b=nd(c,7,b);a.message=b;return a}if(c&&c.length>0)return b=nd(a.message,5,Number(c[0])),b=F(b,6),b=F(b,7),a.message=b,a;zh==="unreleased"&&(b=F(a.message, 5),b=nd(b,6,0),a.message=F(b,7));return a},Ri=class{constructor(){this.message=new Ki}Ca(a){var b=this.message;a=Ni(Qa(a));this.message=hd(b,Ye,1,a);return this}ra(a){this.message=this.message.ra(Math.max(1,a));return this}encode(){let a=this.message,b=Oa(a.U());b.length>64&&(a=a.ra(1),b=Oa(a.U()));b.length>64&&(a=F(a,6),b=Oa(a.U()));b.length>64&&(a=F(a,7),b=Oa(a.U()));b.length>64&&(a=F(a,5),b=Oa(a.U()));return b}};function Si(a,b){if(b===void 0||b.length===0)return X(a,Ei(new Z,7)),[BigInt(0)];const c=BigInt(-2147483648);return b.map(d=>{const e=d%c;d!==e&&X(a,Ei(new Z,6));return e})};function Ti(a){for(var b=[],c=0,d=0;d>6|192:((e&64512)==55296&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}if(b.length>=24)throw Error("Ua");return[96|b.length,...b]}function Ui(a){if(a.length>=24)throw Error("Va");return[160|a.length,...a.sort(Vi).map(b=>[...b[0],...b[1]]).flat()]} function Wi(a){if(a.length>=24)throw Error("Wa");return[128|a.length,...a.flat()]}function Xi(a,b){const c=[];for(;a>0;)c.push(Number(a%BigInt(255))),a/=BigInt(255);for(;c.length{})}catch(f){}} function Zi(a){a=Ui([[Ti("data"),Wi(a.map(b=>Ui([[Ti("value"),[68,...Xi(BigInt(b.value),4)]],[Ti("bucket"),[80,...Xi(b.bucket,16)]],[Ti("filteringId"),[68,...Xi(b.filteringId,4)]]])))],[Ti("operation"),Ti("histogram")]]);return btoa(String.fromCharCode(...(new Uint8Array(a))))};const $i={[2]:"prod",[1]:"canary"}; async function aj(a,b,c,d){const e=Ai(c),f=l=>{e.forEach(m=>{const n=Qi(Oi(Pi((new Ri).Ca(c.escapedQueryId),c.trafficTypes??[0]),m)).ra(-1).encode();Yi(a,n,l,m.ua)})};try{var g=!!a.global.sharedStorage}catch(l){g=l}if(g instanceof Error)f(-16),d=Gi(Fi(Ei(new Z,8),g.name),g.message),X(a,d);else{d.points.push(7);g=bj(a,c,e);b=cj(a,b,f);var [h]=await Promise.all([g,b]);d.points.push(8);b=e.map(l=>dj(a,l,h,c.deviceType??1,c.escapedQueryId,c.trafficTypes??[0],c.isProductSplitVpidLogsExperiment??!1,m=> {const n=Qi(Oi(Pi((new Ri).Ca(c.escapedQueryId),c.trafficTypes??[0]).ra(-1),l)).encode();Yi(a,n,m,l.ua)}));await Promise.all(b);d.points.push(9)}}async function cj(a,b,c){const d=a.sharedStorage;if(d)try{await d.worklet.addModule(b)}catch(e){c(-17),b=Gi(Fi(Ei(new Z,1),e.name),e.message),X(a,b)}}async function bj(a,b,c){const d=[...(new Set(c.map(e=>e.ia)))];c=d.map(e=>ej(a,b,e));c=await Promise.all(c);return new Map(c.map((e,f)=>[d[f],e]))} async function ej(a,b,c){var d=b.clientsideModelFilename??"model_person_country_code_XX_person_region_code_5858.json",e=void 0;let f=1;const g={method:"GET"};var h=200,l=b.geoTargetMessage?Di(b.geoTargetMessage):void 0;b=(new Z).Ca(b.escapedQueryId);l=hd(b,Ci,11,l);try{e=await a.global.fetch(fj(c,d),g),h=e.status,e.ok||(e=await a.global.fetch(fj(c,"model_person_country_code_XX_person_region_code_5858.json"),g),f=2)}catch(m){h=-1,m instanceof Error&&Gi(Fi(l,m.name),m.message)}c=Ei(l,2);F(c,9,h==null? h:gc(h));if(e&&e.ok)return h=pd(l,4,f),od(h,7,f===1?d:""),X(a,l),await e.text();e=pd(l,4,4);d=od(e,8,d);od(d,7,"");X(a,l)}function fj(a,b){return"https://www.googletagservices.com/agrp/"+$i[a]+"/"+b} async function dj(a,b,c,d,e,f,g,h){c=c.get(b.ia);if(c!==void 0){var l=Number(Th(c,BigInt(-2147483648)));e=Qi(Oi(Pi((new Ri).Ca(e),f),b).ra(l));e.message=md(e.message,9,g);g={contextId:e.encode(),aggregationCoordinatorOrigin:"https://publickeyservice.msmt.gcp.privacysandboxservices.com",filteringIdMaxBytes:4};d={modelJson:c,modelHash:l,deviceType:d,enableDebugMode:b.ua,reportBrowserIdInsteadOfVPID:b.Ba,filterIds:Si(a,b.filterIds)};if(c=a.sharedStorage){d=c.run("google_reach",{privateAggregationConfig:g, data:d,keepAlive:!0});if(d!==void 0)try{await d}catch(m){h(-18),h=m,h=Gi(Fi(Ei(new Z,3),h?.name??"unknown"),h?.message??""),X(a,h)}h=Ei(new Z,5);h=pd(h,5,b.ia===1?1:2);b=pd(h,6,b.Ba?1:2);X(a,b)}}};function gj(a){return a===void 0||typeof a==="string"}function hj(a){return a===void 0||typeof a==="number"}function ij(a){return a===void 0||typeof a==="boolean"}function jj(a){return a===void 0||Array.isArray(a)&&a.every(b=>typeof b==="number")}function kj(a){return a===void 0||Array.isArray(a)&&a.every(b=>typeof b==="string")};async function lj(a,b){if(typeof window==="undefined")console.error("Xa");else{var c=b??new yh(void 0,void 0,a),d=new Ji(c);await Ii(d,async()=>{d.points.push(5);var e=await dg(S(c.onMessage,jg(f=>{a:{f=f.data;if(f!==void 0)try{var g=atob(f);break a}catch(l){}g=void 0}a:{if(g!==void 0)try{var h=JSON.parse(g);break a}catch(l){}h=void 0}return h}),Bg(f=>f!==void 0),jg(f=>f),$g()));e&&e!==void 0&&typeof e.escapedQueryId==="string"&&typeof e.experimentState==="object"&&gj(e.clientsideModelFilename)&& gj(e.geoTargetMessage)&&hj(e.deviceType)&&kj(e.productionFilterIds)&&kj(e.testFilterIds)&&jj(e.trafficTypes)&&ij(e.isProductSplitVpidLogsExperiment)?(d.points.push(6),await aj(c,c.cc[2],e,d)):(e=Ei(new Z,4),X(c,e))})}};const zi=globalThis;(async function(a,b){var c=zi;typeof c==="object"&&"register"in c?yi():await lj(a,b)})(xh("m202410210201".match(/^m\d{10}$/g)!==null?"m202410210201":"current"));}).call(this);