(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},n=function(a,b){a:{var c=["CLOSURE_FLAGS"];for(var d=k,e=0;e{throw a;},0)};const wa=n(1,!0);var xa=n(610401301,!1);n(899588437,!1);n(188588736,!0);n(676937399,!0);n(651175828,!0);n(653718497,wa);n(660014094,wa);n(2147483644,!1);n(2147483645,!0);n(2147483646,wa);n(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){const b=a.length;let 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);const d=new Uint8Array(c);let e=0;Pa(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},Pa=function(a,b){function c(e){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},Na=function(){if(!Ma){Ma={};var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), b=["+/=","+/","-_=","-_.","-_"];for(let c=0;c<5;c++){const d=a.concat(b[c].split(""));La[c]=d;for(let 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,c=!1){c||r(b&64,"state for messages must be constructed");r((b&5)===0,"state for messages should not contain repeated field state");c=b>>15&1023||536870912;const 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,b=!1)=>{v(a,"state is only maintained on arrays.");const c=a[eb];hb(a,c,b);return c},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,Za);if(Xa!==Xa)throw Error("e");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 Ab(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?1:2);b!==Jc&&c&&fb(a,16384);return a} function Nc(a,b,c,d){d=d??0;a==null&&(a=Hc);Hc=void 0;if(a!=null)for(var e=0;e=1024)throw Error("t`"+b+"`1024");f=kb(c,b);break a}}if(b){b=Math.max(b,sb(f,z(c)));if(b>1024)throw Error("u`"+f+"`1024");f=kb(c,b)}else f=c}}B(a,f);d===1||d===2||r(f&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 Za){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===Za)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 $a||=new Za(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?$a||=new Za(null,Xa):new Za(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;R--){p=R-1;Z=h[p];sb(p,a);if(Z!=null&&!ub(Z)&&!qb(Z))break;var Va=!0}if(h!==b||l||Va){if(!d&&!c)h=Array.prototype.slice.call(h,0,R);else if(Va||l||m)h.length=R;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 ie=class{constructor(a,b,c,d){this.Qa=a;this.Ra=b;a=ca(ee);this.Lb=!!a&&d===a||!1}};function je(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 ke=new ie(function(a,b,c,d,e){if(a.A!==2)return!1;Fd(a,ed(b,d,c),e);return!0},je,!1,ee),le=new ie(function(a,b,c,d,e){if(a.A!==2)return!1;Fd(a,ed(b,d,c,!0),e);return!0},je,!1,ee);var me=Symbol(),ne=Symbol(),oe=Symbol(),pe=Symbol();let qe,re; function se(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"&&(qe!=null&&(r(qe===f),r(re===d[1+g])),e.Cb=!0,qe??=f,re??=oa(d[g+1]),f=d[g+=2]));const h={};for(;f&&te(f);){for(var l=0;l0),l+=f,f=d[++g]);let t;var m=void 0;f instanceof ie?t=f:(t=ke,g--);if(t?.Lb){f=d[++g];m=d;var p=g;typeof f==="function"&&(r(f.length===0),f=f(),m[p]= f);ue(f);m=f}f=d[++g];p=l+1;typeof f==="number"&&f<0&&(p-=f,f=d[++g]);for(;l0}function ue(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 ve(a){return Array.isArray(a)?a[0]instanceof ie?(r(a.length===2),ue(a[1]),a):[le,ue(a)]:[w(a,ie),void 0]};function we(a,b,c,d){const e=c.Qa;a[b]=d?(f,g,h)=>e(f,g,h,d):e}function xe(a,b,c,d,e){const f=c.Qa;let g,h;a[b]=(l,m,p)=>f(l,m,p,h||=se(ne,we,xe,d).Ka,g||=ye(d),e)} function ye(a){let b=a[oe];if(b!=null)return b;const c=se(ne,we,xe,a);b=c.Cb?(d,e)=>r(qe)(d,e,c):(d,e)=>{const f=A(d,!0);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=ze(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();const 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])}}f&16384&&fb(d,34);return!0};return a[oe]=b} function ze(a){a=ve(a);const b=w(a[0],ie).Qa;if(a=a[1]){const c=ye(ue(a)),d=se(ne,we,xe,ue(a)).Ka;return(e,f,g)=>b(e,f,g,d,c)}return b};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||=se(me,Ae,Be,d).Ka,e||=Ce(d))}function Ce(a){let b=a[pe];if(!b){const c=se(me,Ae,Be,a);b=(d,e)=>De(d,e,c);a[pe]=b}return b} function De(a,b,c){for(var d=y(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;N(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=M(function(a,b,c){if(a.A!== 0)return!1;r(a.A==0);a=sd(a.v,Xb);N(b,c,a);return!0},function(a,b,c){a.Jb(c,mc(b))},L()),Le=M(function(a,b,c){if(a.A!==0)return!1;N(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=M(function(a,b,c){if(a.A!==0)return!1;r(a.A==0);a=td(a.v);N(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=M(function(a,b,c){if(a.A!==2)return!1;N(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=M(function(a,b,c){if(a.A!==0)return!1;N(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,se(me,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 O(a){return typeof a==="function"};var P=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(O(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{O(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)O(a)?a():a.unsubscribe(); else{if(a instanceof P){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 P&&a.Ob(this)}},yf=P;const zf=new P;zf.closed=!0;yf.EMPTY=zf; function Af(a){return a instanceof P||a&&"closed"in a&&O(a.remove)&&O(a.add)&&O(a.unsubscribe)};function Bf(a){setTimeout(()=>{throw a;})};var Df=class extends P{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||O(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(O(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 Q=function(a,...b){return b.length?Hf(b)(a):a},S=class{constructor(a){a&&(this.Y=a)}ma(a){const b=new S;b.source=this;b.operator=a;return b}subscribe(a,b,c){a=a&&a instanceof Df||a&&O(a.next)&&O(a.error)&&O(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}};S.create=a=>new S(a);var If=vf(a=>function(){a(this);this.name="ObjectUnsubscribedError";this.message="object unsubscribed"});var Kf=class extends S{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?P.EMPTY:(c.push(a),new P(()=>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)??P.EMPTY}};var Lf=new S(a=>a.complete());function Mf(a,b){return new S(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 S)return a;if(a!=null){if(O(a[Ff]))return Qf(a);if(Of(a))return Rf(a);if(O(a?.then))return Sf(a);if(Symbol.asyncIterator&&O(a?.[Symbol.asyncIterator]))return Tf(a);if(O(a?.[Nf]))return Uf(a)}throw new TypeError("O`"+(a!==null&&typeof a==="object"?"an invalid object":`'${a}'`));}function Qf(a){return new S(b=>{const c=a[Ff]();if(O(c.subscribe))return c.subscribe(b);throw new TypeError("P");})} function Rf(a){return new S(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 S(b=>{const c=a[Nf]();for(;!b.closed;){const {done:d,value:e}=c.next();d?b.complete():b.next(e)}return()=>O(c?.return)&&c.return()})}function Tf(a){return new S(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&&O(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 T=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 U(a){return b=>{if(O(b?.ma))return b.ma(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("Q");}};function eg(){return U((a,b)=>{let c=null;a.Ea++;const d=new T(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 S{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 P;const b=fg(this);a.add(this.source.subscribe(new T(b,void 0,c=>{this.Sa();b.error(c)},()=>{this.Sa();b.complete()},()=>this.Sa())));a.closed&&(this.fa=null,a=P.EMPTY)}return a}};function hg(){var a=ig;return U((b,c)=>{c.add(a.T(()=>b.subscribe(c),0))})};function jg(a){return U((b,c)=>{let d=0;b.subscribe(new T(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 T(b,p=>{b.next(p)},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(O(b))return ng((d,e)=>jg((f,g)=>b(d,f,e,g))(Pf(a(d,e))),c);typeof b==="number"&&(c=b);return U((d,e)=>mg(d,e,a,c))};function og(a=Infinity){return ng(Gf,a)};function pg(a){return new S(b=>{Pf(a()).subscribe(b)})};const qg=["addListener","removeListener"],rg=["addEventListener","removeEventListener"],sg=["on","off"]; function tg(a,b,c){if(O(c)){var d=c;c=void 0}if(d)return Q(tg(a,b,c),lg(d));const [e,f]=O(a.addEventListener)&&O(a.removeEventListener)?rg.map(g=>h=>a[g](b,h,c)):O(a.addListener)&&O(a.removeListener)?qg.map(ug(a,b)):O(a.Kc)&&O(a.Jc)?sg.map(ug(a,b)):[];return!e&&Of(a)?ng(g=>tg(g,b,c))(Rf(a)):new S(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 P{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 S(function(){});function Bg(a){return U((b,c)=>{let d=0;b.subscribe(new T(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=function(a){if((typeof a==="bigint"||typeof a==="number"||typeof a==="string")&&typeof BigInt==="function")return BigInt(a)},Dg=class{constructor(){this.Ma=new cf;this.ac=new gf}zb(){return Ag}};var Eg=class extends Error{constructor(a){super(String(a));this.code=a;this.__proto__=Eg.prototype;this.name=String(a)}},Fg=class extends Eg{constructor(){super(1003);this.__proto__=Fg.prototype}},Gg=class extends Eg{constructor(){super(1009);this.__proto__=Gg.prototype}},Hg=class extends Eg{constructor(){super(1007);this.__proto__=Fg.prototype}};var Ig=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 S(b=>a.subscribe(c=>{bf(()=>{b.next(c)})()},c=>{bf(()=>{b.error(c)})()},()=>{bf(()=>{b.complete()})()}))};var Lg=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 Gg;return new Kg(this.context,this.qa,b??void 0,a)}}; class Kg{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 Mg=Symbol("time-origin"),Ng=Symbol("date"),Og=class{constructor(a,b){this.value=a;this.timeline=b}equals(a){if(a.timeline!==this.timeline)throw new Hg;return this.value-a.value===0}maximum(a){if(a.timeline!==this.timeline)throw new Hg;return this.value>=a.value?this:a}round(){return new Og(Math.round(this.value),this.timeline)}add(a){return new Og(this.value+a,this.timeline)}toString(){return String(this.value)}};var Qg=class{constructor(...a){for(const b of a)if(b.O()){this.V=b;return}this.V=new Pg}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 Pg{constructor(){this.timeline=Symbol()}O(){return!1}now(){return new Og(0,this.timeline)}setTimeout(){return 0}clearTimeout(){}interval(){return()=>{}}xa(){return Ag}};var Rg=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 S(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 Sg=class extends Rg{constructor(a,b){super(a,b);this.timeline=Ng}now(){return new Og(this.G.Date.now(),this.timeline)}O(){return!!this.G.Date&&!!this.G.Date.now&&super.O()}};var Tg=class extends Rg{constructor(a,b){super(a,b);this.timeline=Mg}now(){return new Og(this.G.performance.now(),this.timeline)}O(){return!!this.G.performance&&!!this.G.performance.now&&super.O()}};function Ug(a){a=a.global;if(a.fetchLater)return a.fetchLater.bind(a)} var Yg=class{constructor(a){this.context=a;if(Vg===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);Vg=b;break a}catch(c){}Vg=void 0}}L(a){return Ug(this.context)!==void 0&& !!a?.Fc&&!Wg(this.context)&&!a?.Va&&!a?.ja&&!a?.Ya}za(a,b){if(!this.L(b))throw new Gg;return new Xg(this.context,a,b)}},Vg,Zg=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 Xg{constructor(a,b,c){this.context=a;this.properties=c;this.ea=b;this.P=c?.P??"GET";a=Ug(this.context);if(a===void 0)throw Error();this.fetchLater=a;Zg(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);Zg(this,a)}sendNow(){}get method(){return this.P}};function $g(a=null){return U((b,c)=>{let d=!1;b.subscribe(new T(c,e=>{d=!0;c.next(e)},void 0,()=>{d||c.next(a);c.complete()}))})};function ah(){return U((a,b)=>{let c=0;a.subscribe(new T(b,d=>{++c<=1&&(b.next(d),1<=c&&b.complete())}))})};function bh(){var a=a??ch;return U((b,c)=>{let d,e=!0;b.subscribe(new T(c,f=>{if(e||!a(d,f))e=!1,d=f,c.next(f)}))})}function ch(a,b){return a===b};function dh(a=eh){return U((b,c)=>{let d=!1;b.subscribe(new T(c,e=>{d=!0;c.next(e)},void 0,()=>d?c.complete():c.error(a())))})}function eh(){return new cg};function fh(a){return U((b,c)=>{let d=0;b.subscribe(new T(c,e=>{a.call(void 0,e,d++,b)||(c.next(!1),c.complete())},void 0,()=>{c.next(!0);c.complete()}))})};function gh(){return U((a,b)=>{let c=[];a.subscribe(new T(b,d=>{c.push(d);1{for(const d of c)b.next(d);b.complete()},()=>{c=null}))})};function hh(a,b){const c=arguments.length>=2;return d=>Q(d,a?Bg((e,f)=>a(e,f,d)):Gf,gh(),c?$g(b):dh(()=>new cg))};function ih(a){const b=O(a)?a:()=>a;return O()?U((c,d)=>{const e=b();(void 0)(e).subscribe(d).add(c.subscribe(e))}):c=>{const d=new gg(c,b);O(c?.ma)&&(d.ma=c.ma);d.source=c;d.Eb=b;return d}};function jh(){const a=new $f;return b=>ih(()=>a)(b)};var kh=class{constructor(a){this.context=a}L(){return!Wg(this.context)&&!!this.context.global.fetch}ping(...a){return Q(zg(...a.map(b=>Q(Pf(this.context.global.fetch(b,{method:"GET",cache:"no-cache",keepalive:!0,mode:"no-cors"})),jg(c=>c.status===200)))),fh(b=>b),hh())}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;Q(zg(...d.map(g=>Q(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)))),fh(g=>g),hh())}};"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 lh(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=mh(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 oh(a){a=a.global;if(a.PendingGetBeacon)return a.PendingGetBeacon}var rh=class{constructor(a){this.context=a}L(a){return ph&&!Wg(this.context)&&oh(this.context)!==void 0&&!a?.Va&&a?.P!=="POST"&&!a?.ja&&!a?.Ya}za(a,b){if(!this.L(b))throw new Gg;return new qh(this.context,a)}},ph=!1; class qh{constructor(a,b){this.context=a;this.ea=b;a=oh(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 Gg;}};var sh=class{constructor(a){this.context=a}L(a){return a?.Va||a?.P==="GET"||a?.ja||a?.Ya||a?.keepAlive?!1:!Wg(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 th(){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 uh=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 vh=class{constructor(a){this.global=a;this.document?Q(zg(Xf(!0),tg(this.document,"visibilitychange")),Jg(),jg(()=>this.document?this.document.visibilityState:"visible"),bh()):Xf("visible");this.document?Q(tg(this.document,"DOMContentLoaded"),Jg(),ah()):Xf(th())}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 uh(a)}};function wh(a){return b=>Q(b,xh(a))}function xh(a){function b(c){return new S(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(),jh(),eg(),b])};function yh(a){return{[0]:lh`https://www.googleadservices.com/pagead/managed/js/activeview/${a}/reach_worklet.html`,[1]:lh`./reach_worklet.js`,[2]:lh`./reach_worklet.js`}}lh`./reach_worklet.html`;lh`./reach_worklet.js`;lh`./reach_worklet.js`;var Wg=function(a){const b=a.global;return!!a.global.HTMLFencedFrameElement&&!!b.fence&&typeof b.fence.reportEvent==="function"},zh=class extends Dg{constructor(a=window,b=new cf,c=yh("current")){super();this.global=a;this.Ma=b;this.cc=c;this.Wb=Q(pg(()=>tg(this.global,"pagehide")),Jg());Q(pg(()=>tg(this.global,"load")),Jg(),ah());Q(pg(()=>tg(this.global,"resize")),Jg());this.onMessage=Q(pg(()=>tg(this.global,"message")),Jg());this.document=new vh(this.global);this.V=new Qg(new Tg(this.G,this.Ma), new Sg(this.G,this.Ma));this.ub=new Ig(new Yg(this),new rh(this),new Lg(this,new kh(this)),new Lg(this,new sh(this)),new Lg(this,new nh(this)))}get sharedStorage(){try{return this.global.sharedStorage}catch{}}get G(){return window}zb(){return Q(this.Wb,Jg(),wh(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()|| Wg(this);return this.global&&this.V.O()&&a}};var Ah;Ah=["2024103001"].slice(-1)[0].substring(0,8);function Bh(a,b){switch(a.a){case 1:return a.b?a=Ch(a.b,b,!1)!==null:(console.log("aa",a),a=!1),a;case 2:return a.b?(b=Ch(a.b,b,!0),a=b===null?!1:b===a.c):(console.log("ba",a),a=!1),a;case 3:return a.b?(b=Ch(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=Ch(a.b,b,!0),a=typeof b==="number"&&typeof a.c==="number"||typeof b==="bigint"&&typeof a.c==="bigint"?b>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.B[0]|0;d=a.B[1]|0;e=a.B[2]|0;let f=a.B[3]|0,g=a.B[4]|0,h=a.B[5]|0,l=a.B[6]|0,m=a.B[7]|0;for(let p=0;p<64;p++){const t=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,u=(m+((g>>>6|g<< 26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^~g&l)+(Mh[p]|0)|0)+(c[p]|0)|0)|0;m=l;l=h;h=g;g=f+u|0;f=e;e=d;d=b;b=u+t|0}a.B[0]=a.B[0]+b|0;a.B[1]=a.B[1]+d|0;a.B[2]=a.B[2]+e|0;a.B[3]=a.B[3]+f|0;a.B[4]=a.B[4]+g|0;a.B[5]=a.B[5]+h|0;a.B[6]=a.B[6]+l|0;a.B[7]=a.B[7]+m|0}; Oh.prototype.update=function(a,b){b===void 0&&(b=a.length);let 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&&(Rh(this),d=0)}else throw Error("ha");this.la=d;this.Oa+=b}; Oh.prototype.digest=function(){const a=[];var b=this.Oa*8;this.la<56?this.update(Qh,56-this.la):this.update(Qh,this.blockSize-(this.la-56));for(var c=63;c>=56;c--)this.Ga[c]=b&255,b/=256;Rh(this);b=0;for(c=0;c=0;d-=8)a[b++]=this.B[c]>>d&255;return a}; var Nh=[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 Th=function(){Oh.call(this,8,Sh)};da(Th,Oh);var Sh=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function Uh(a,b){var c=new Th;c.update(a);a=c.digest();c=BigInt(0);for(const d of a)c=(c*BigInt(256)+BigInt(d))%b;return c}function Vh(a){var b=8;if(!Number.isInteger(b)||b<=0||b>=33)b=3;var c=new Th;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(Vh(`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 V=globalThis._;function Xh(a,b){return typeof a[b]!=="object"?!0:Array.isArray(a[b])?(console.warn("oa`"+b),!0):!1}function Yh(a,b){return V.isEmpty(a)?(console.warn("pa`"+b),!0):!1}function Zh(a,b){for(const c of Object.keys(b))if(c in a&&(Xh(b,c)||!Yh(b[c],c)&&!$h(a[c],b,c)))return!1;return!0}function $h(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||V.isEmpty(a)?!0:Zh(a,b[c])} function ai(a,b,c){for(const f of Object.keys(c))if(f in a||f in b){if(Xh(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)&&V.isEmpty(d)&&V.isEmpty(e)?!0:V.isEqual(d,e)}if(d)continue;else return!1}if(!Yh(c[f],f)){if(!(f in a))if($h(b[f],c,f))continue;else return!1;if(!(f in b))if($h(a[f],c,f))continue;else return!1;if(typeof a[f]!==typeof b[f])return!1;d=$h(a[f],c,f);e=$h(b[f], c,f);if(!d||!e)if(d||e||!ai(a[f],b[f],c[f]))return!1}}return!0}function bi(a,b,c){return V.isEmpty(c)||V.isEmpty(a)&&V.isEmpty(b)?!0:V.isEmpty(a)?Zh(b,c):V.isEmpty(b)?Zh(a,c):ai(a,b,c)} function ci(a,b){if(Array.isArray(a)||Array.isArray(b))console.error("sa");else if(!V.isEmpty(b))if(V.isEmpty(a))V.merge(a,b);else for(const c of Object.keys(b)){if(!(c in a)){a[c]=V.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(...V.cloneDeep(e)):Array.isArray(d)||Array.isArray(e)?console.error("na"):ci(d,e)}} function di(a,b){const c=V.cloneDeep(a);ci(c,b);return V.isEqual(c,a)};function ei(a,b){if(a.b){var c=fi(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(!gi(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=hi(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=ei(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=ei(a.g,b);else if(a.f)a=ii(a,b);else if(a.h)if(a.j&&a.i&&a.h&&a.k){var d=b.b+a.k;c=Wh(d,a.j);if(c<0)a={ok:!1,D:-4};else{var e=BigInt(a.i[c]);d=Uh(d,Hh);if(d>=0&&d<=Kh)if(e>0&&e>BigInt(33);if(g===Jh)break;g=f*Gh/(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 ii(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=Wh(b.b+a.k,a.j);return c<0?{ok:!1,D:-7}:ei(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 oi(a,b,c){b=Uh(b.toString(),Ih);a={a:{a},b:b.toString(),c:{a:[]}};c=ei(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)ci(b,ki(c,f));e.c=b}if(e.c){b=e.c;c=BigInt(0);b.a&&(c=ni(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=mi.has(d)?BigInt(d):BigInt(-1),d=d===BigInt(-1)? BigInt(-1):d<ri(h)).filter(h=>!!h)));if(f.length===0){b===void 0&&(b=JSON.parse(c));c=vi(e,b,d);if(!c.ok&&c.D)return[pi-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",wi);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:BigInt(0),debugKey:BigInt(0)}),(await wi(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(pi- BigInt(-1),!0))}}}}a.register("google_reach",b)};function W(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&&typeof BigInt==="function")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 X=function(a,b){return pd(a,1,b)},Ei=function(a,b){return od(a,2,b)},Fi=function(a,b){return od(a,3,b)},Y=class extends $e{constructor(){super(void 0)}Ca(a){return od(this,10,a)}};Y.wa="ads.branding.measurement.client.frontend.integrations.reach.ReachStatusMessage";var Gi=[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(Gi);Y.prototype.U=af([0,Te,Qe,-1,Te,-2,Qe,-1,Ne,Qe,Gi,Ue,Ne]);var Hi=async function(a,b){try{return await b()}finally{a.flush()}},Ii=class{constructor(a){this.context=a;this.points=[]}flush(){if(!(this.points.length<=0)){var a=new Y;X(a,9);var b=Ai().length;F(a,13,b==null?b:gc(b));kd(a,12,this.points);this.points.splice(0);W(this.context,a)}}};var Ye=class extends $e{constructor(a){super(a)}};Ye.wa="EventIdMessage";var Ji=class extends $e{constructor(){super(void 0)}ra(a){return nd(this,4,a)}};Ji.wa="ads.branding.measurement.client.frontend.integrations.reach.ContextIdMessage";var Ki=[0,Ke,Oe,-1];Ye.prototype.U=af(Ki);Ji.prototype.U=af([0,Ki,Pe,-1,Re,-3,Ve,Pe]);var Xe=class extends $e{constructor(a){super(a,1)}};Xe.wa="proto2.bridge.MessageSet";const Li={};Xe[Eb]=Li;var Mi=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;ye(b)(g,c);var e=f}finally{c.yb()}return e}}(Ye,Ki);Li[4156379]={Ic:new We};var Ni=function(a,b){var c=md(a.message,2,b.ia===2);b=md(c,3,!b.Ba);a.message=b;return a},Oi=function(a,b){a.message=kd(a.message,8,b);return a},Pi=function(a){var b=Ah.match(/m\d{12}/g),c=Ah.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;Ah==="unreleased"&&(b=F(a.message, 5),b=nd(b,6,0),a.message=F(b,7));return a},Qi=class{constructor(){this.message=new Ji}Ca(a){var b=this.message;a=Mi(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 Ri(a,b){if(b===void 0||b.length===0)return W(a,X(new Y,7)),[Cg(0)].filter(d=>d!==void 0);const c=Cg(-2147483648);return c===void 0?[]:b.map(d=>{const e=d%c;d!==e&&W(a,X(new Y,6));return e})};function Si(a){const b=[];let c=0;for(let 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 Ti(a){if(a.length>=24)throw Error("Va");return[160|a.length,...a.sort(Ui).map(b=>[...b[0],...b[1]]).flat()]}function Vi(a){if(a.length>=24)throw Error("Wa");return[128|a.length,...a.flat()]}function Wi(a,b){const c=[];for(;a>0;)c.push(Number(a%BigInt(255))),a/=BigInt(255);for(;c.length{})}catch(f){}} function Yi(a){a=Ti([[Si("data"),Vi(a.map(b=>Ti([[Si("value"),[68,...Wi(BigInt(b.value),4)]],[Si("bucket"),[80,...Wi(b.bucket,16)]],[Si("filteringId"),[68,...Wi(b.filteringId,4)]]])))],[Si("operation"),Si("histogram")]]);return btoa(String.fromCharCode(...(new Uint8Array(a))))};const Zi={[2]:"prod",[1]:"canary"}; async function $i(a,b,c,d){const e=Ai(c),f=m=>{e.forEach(p=>{const t=Pi(Ni(Oi((new Qi).Ca(c.escapedQueryId),c.trafficTypes??[0]),p)).ra(-1).encode();Xi(a,t,m,p.ua)})};try{var g=!!a.global.sharedStorage}catch(m){g=m}if(g instanceof Error)f(-16),d=Fi(Ei(X(new Y,8),g.name),g.message),W(a,d);else{d.points.push(7);g=aj(a,c,e);var h=await (c.experimentState.reachUseCreateWorklet?bj(a,b,f):cj(a,b,f)),l=await g;d.points.push(8);b=e.map(m=>dj(a,h,m,l,c.deviceType??1,c.escapedQueryId,c.trafficTypes??[0],c.isProductSplitVpidLogsExperiment?? !1,p=>{const t=Pi(Ni(Oi((new Qi).Ca(c.escapedQueryId),c.trafficTypes??[0]).ra(-1),m)).encode();Xi(a,t,p,m.ua)}));await Promise.all(b);d.points.push(9)}}async function cj(a,b,c){const d=a.sharedStorage;if(!d)return Promise.reject(Error("Xa"));try{await d.worklet.addModule(b)}catch(e){c(-17),b=Fi(Ei(X(new Y,1),e.name),e.message),W(a,b)}return d} async function bj(a,b,c){const d=a.sharedStorage;if(!d)return Promise.reject(Error("Xa"));try{return await d.createWorklet(b,{dataOrigin:"script-origin"})}catch(e){return c(-17),b=Fi(Ei(X(new Y,1),e.name),e.message),W(a,b),Promise.reject(e)}}async function aj(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 Y).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&&Fi(Ei(l,m.name),m.message)}c=X(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:""),W(a,l),await e.text();e=pd(l,4,4);d=od(e,8,d);od(d,7,"");W(a,l)}function fj(a,b){return"https://www.googletagservices.com/agrp/"+Zi[a]+"/"+b} async function dj(a,b,c,d,e,f,g,h,l){d=d.get(c.ia);if(d!==void 0){var m=Cg(-2147483648);m=m===void 0?-1:Number(Uh(d,m));f=Pi(Ni(Oi((new Qi).Ca(f),g),c).ra(m));f.message=md(f.message,9,h);h={contextId:f.encode(),aggregationCoordinatorOrigin:"https://publickeyservice.msmt.gcp.privacysandboxservices.com",filteringIdMaxBytes:4};e={modelJson:d,modelHash:m,deviceType:e,enableDebugMode:c.ua,reportBrowserIdInsteadOfVPID:c.Ba,filterIds:Ri(a,c.filterIds)};b=b.run("google_reach",{privateAggregationConfig:h, data:e,keepAlive:!0});if(b!==void 0)try{await b}catch(p){l(-18),l=p,l=Fi(Ei(X(new Y,3),l?.name??"unknown"),l?.message??""),W(a,l)}l=X(new Y,5);l=pd(l,5,c.ia===1?1:2);c=pd(l,6,c.Ba?1:2);W(a,c)}};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("Ya");else{var c=b??new zh(void 0,void 0,a),d=new Ii(c);await Hi(d,async()=>{d.points.push(5);var e=await dg(Q(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),ah()));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 $i(c,c.cc[2],e,d)):(e=X(new Y,4),W(c,e))})}};const zi=globalThis;(async function(a,b){var c=zi;typeof c==="object"&&"register"in c?yi():await lj(a,b)})(yh("m202410300101".match(/^m\d{10}$/g)!==null?"m202410300101":"current"));}).call(this);