1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1998],{51998:(t,e,r)=>{let n,i,s,o,a,h,u,l,c,f,d,p,g;r.d(e,{FilesetResolver:()=>s1,HandLandmarker:()=>am,PoseLandmarker:()=>aC});var m="undefined"!=typeof self?self:{};function y(t,e){t:{for(var r=["CLOSURE_FLAGS"],n=m,i=0;i<r.length;i++)if(null==(n=n[r[i]])){r=null;break t}r=n}return null!=(t=r&&r[t])?t:e}function _(){throw Error("Invalid UTF8")}function v(t,e){return e=String.fromCharCode.apply(null,e),null==t?e:t+e}let E="undefined"!=typeof TextDecoder,w="undefined"!=typeof TextEncoder;function T(t){if(w)t=(s||=new TextEncoder).encode(t);else{let r=0,n=new Uint8Array(3*t.length);for(let i=0;i<t.length;i++){var e=t.charCodeAt(i);if(e<128)n[r++]=e;else{if(e<2048)n[r++]=e>>6|192;else{if(e>=55296&&e<=57343){if(e<=56319&&i<t.length){let s=t.charCodeAt(++i);if(s>=56320&&s<=57343){e=1024*(e-55296)+s-56320+65536,n[r++]=e>>18|240,n[r++]=e>>12&63|128,n[r++]=e>>6&63|128,n[r++]=63&e|128;continue}i--}e=65533}n[r++]=e>>12|224,n[r++]=e>>6&63|128}n[r++]=63&e|128}}t=r===n.length?n:n.subarray(0,r)}return t}function b(t){m.setTimeout(()=>{throw t},0)}var A,k=y(0x2461fc15,!1),x=y(0x2c9bb5e3,!0);function S(){var t=m.navigator;return t&&(t=t.userAgent)?t:""}let L=m.navigator;function R(t){return R[" "](t),t}A=L&&L.userAgentData||null,R[" "]=function(){};let I={},F=null;function P(){if(!F){F={};var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"];for(let r=0;r<5;r++){let n=t.concat(e[r].split(""));I[r]=n;for(let t=0;t<n.length;t++){let e=n[t];void 0===F[e]&&(F[e]=t)}}}}var M="undefined"!=typeof Uint8Array,C=!(!(k&&A&&A.brands.length>0)&&(-1!=S().indexOf("Trident")||-1!=S().indexOf("MSIE")))&&"function"==typeof btoa;let O=/[-_.]/g,N={"-":"+",_:"/",".":"="};function U(t){return N[t]||""}function D(t){if(!C){var e=t;let r=e.length,n=3*r/4;n%3?n=Math.floor(n):-1!="=.".indexOf(e[r-1])&&(n=-1!="=.".indexOf(e[r-2])?n-2:n-1);let i=new Uint8Array(n),s=0;return function(t,e){function r(e){for(;n<t.length;){let e=t.charAt(n++),r=F[e];if(null!=r)return r;if(!/^[\s\xa0]*$/.test(e))throw Error("Unknown base64 encoding at char: "+e)}return e}P();let n=0;for(;;){let t=r(-1),n=r(0),i=r(64),s=r(64);if(64===s&&-1===t)break;e(t<<2|n>>4),64!=i&&(e(n<<4&240|i>>2),64!=s&&e(i<<6&192|s))}}(e,function(t){i[s++]=t}),s!==n?i.subarray(0,s):i}let r=new Uint8Array((t=atob(t=O.test(t)?t.replace(O,U):t)).length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r}function B(t){return M&&null!=t&&t instanceof Uint8Array}var G={};function j(){return o||=new X(null,G)}function V(t){H(G);var e=t.g;return null==(e=null==e||B(e)?e:"string"==typeof e?D(e):null)?e:t.g=e}var X=class{h(){return new Uint8Array(V(this)||0)}constructor(t,e){if(H(e),this.g=t,null!=t&&0===t.length)throw Error("ByteString should be constructed with non-empty values")}};function H(t){if(t!==G)throw Error("illegal external caller")}function W(t,e){t.__closure__error__context__984382||(t.__closure__error__context__984382={}),t.__closure__error__context__984382.severity=e}function K(t){return W(t=Error(t),"warning"),t}function z(t,e){if(null!=t){var r=a??={},n=r[t]||0;n>=e||(r[t]=n+1,W(t=Error(),"incident"),b(t))}}function Y(){return"function"==typeof BigInt}var q="function"==typeof Symbol&&"symbol"==typeof Symbol();function $(t,e,r=!1){return"function"==typeof Symbol&&"symbol"==typeof Symbol()?r&&Symbol.for&&t?Symbol.for(t):null!=t?Symbol(t):Symbol():e}var J=$("jas",void 0,!0),Z=$(void 0,"0di"),Q=$(void 0,"1oa"),tt=$(void 0,Symbol()),te=$(void 0,"0ub"),tr=$(void 0,"0ubs"),tn=$(void 0,"0ubsb"),ti=$(void 0,"0actk"),ts=$("m_m","Pa",!0),to=$();let ta={Ga:{value:0,configurable:!0,writable:!0,enumerable:!1}},th=Object.defineProperties,tu=q?J:"Ga",tl=[];function tc(t,e){q||tu in t||th(t,ta),t[tu]|=e}function tf(t,e){q||tu in t||th(t,ta),t[tu]=e}function td(t){return tc(t,34),t}function tp(t){return tc(t,8192),t}tf(tl,7),oS=Object.freeze(tl);var tg={};function tm(t,e){return void 0===e?t.h!==ty&&!!(2&(0|t.v[tu])):!!(2&e)&&t.h!==ty}let ty={};function t_(t,e){if(null!=t){if("string"==typeof t)t=t?new X(t,G):j();else if(t.constructor!==X)if(B(t))t=t.length?new X(new Uint8Array(t),G):j();else{if(!e)throw Error();t=void 0}}return t}class tv{constructor(t,e,r){this.g=t,this.h=e,this.l=r}next(){let t=this.g.next();return t.done||(t.value=this.h.call(this.l,t.value)),t}[Symbol.iterator](){return this}}var tE=Object.freeze({});function tw(t,e,r){var n;let i=128&e?0:-1,s=t.length;(n=!!s)&&(n=null!=(n=t[s-1])&&"object"==typeof n&&n.constructor===Object);let o=s+(n?-1:0);for(e=128&e?1:0;e<o;e++)r(e-i,t[e]);if(n)for(let e in t=t[s-1])isNaN(e)||r(+e,t[e])}var tT={};function tb(t){return 128&t?tT:void 0}function tA(t){return t.Na=!0,t}var tk=tA(t=>"number"==typeof t),tx=tA(t=>"string"==typeof t),tS=tA(t=>"boolean"==typeof t),tL="function"==typeof m.BigInt&&"bigint"==typeof m.BigInt(0);function tR(t){var e=t;
1if(tx(e)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(e))throw Error(String(e))}else if(tk(e)&&!Number.isSafeInteger(e))throw Error(String(e));return tL?BigInt(t):t=tS(t)?t?"1":"0":tx(t)?t.trim()||"0":String(t)}var tI=tA(t=>tL?t>=tP&&t<=tC:"-"===t[0]?tO(t,tF):tO(t,tM));let tF=Number.MIN_SAFE_INTEGER.toString(),tP=tL?BigInt(Number.MIN_SAFE_INTEGER):void 0,tM=Number.MAX_SAFE_INTEGER.toString(),tC=tL?BigInt(Number.MAX_SAFE_INTEGER):void 0;function tO(t,e){if(t.length>e.length)return!1;if(t.length<e.length||t===e)return!0;for(let r=0;r<t.length;r++){let n=t[r],i=e[r];if(n>i)return!1;if(n<i)return!0}}let tN="function"==typeof Uint8Array.prototype.slice,tU,tD=0,tB=0;function tG(t){let e=t>>>0;tD=e,tB=(t-e)/0x100000000>>>0}function tj(t){if(t<0){tG(-t);let[e,r]=t$(tD,tB);tD=e>>>0,tB=r>>>0}else tG(t)}function tV(t){let e=tU||=new DataView(new ArrayBuffer(8));e.setFloat32(0,+t,!0),tB=0,tD=e.getUint32(0,!0)}function tX(t,e){let r=0x100000000*e+(t>>>0);return Number.isSafeInteger(r)?r:tK(t,e)}function tH(t,e){return tR(Y()?BigInt.asUintN(64,(BigInt(e>>>0)<<BigInt(32))+BigInt(t>>>0)):tK(t,e))}function tW(t,e){return Y()?tR(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(e))<<BigInt(32))+BigInt.asUintN(32,BigInt(t)))):tR(tY(t,e))}function tK(t,e){if(t>>>=0,(e>>>=0)<=2097151)var r=""+(0x100000000*e+t);else Y()?r=""+(BigInt(e)<<BigInt(32)|BigInt(t)):(t=(0xffffff&t)+6777216*(r=0xffffff&(t>>>24|e<<8))+6710656*(e=e>>16&65535),r+=8147497*e,e*=2,t>=1e7&&(r+=t/1e7>>>0,t%=1e7),r>=1e7&&(e+=r/1e7>>>0,r%=1e7),r=e+tz(r)+tz(t));return r}function tz(t){return t=String(t),"0000000".slice(t.length)+t}function tY(t,e){if(0x80000000&e)if(Y())t=""+(BigInt(0|e)<<BigInt(32)|BigInt(t>>>0));else{let[r,n]=t$(t,e);t="-"+tK(r,n)}else t=tK(t,e);return t}function tq(t){if(t.length<16)tj(Number(t));else if(Y())tD=Number((t=BigInt(t))&BigInt(0xffffffff))>>>0,tB=Number(t>>BigInt(32)&BigInt(0xffffffff));else{let e=+("-"===t[0]);tB=tD=0;let r=t.length;for(let n=e,i=(r-e)%6+e;i<=r;n=i,i+=6){let e=Number(t.slice(n,i));tB*=1e6,(tD=1e6*tD+e)>=0x100000000&&(tB+=Math.trunc(tD/0x100000000),tB>>>=0,tD>>>=0)}if(e){let[t,e]=t$(tD,tB);tD=t,tB=e}}}function t$(t,e){return e=~e,t?t=1+~t:e+=1,[t,e]}function tJ(t){return Array.prototype.slice.call(t)}let tZ="function"==typeof BigInt?BigInt.asIntN:void 0,tQ="function"==typeof BigInt?BigInt.asUintN:void 0,t1=Number.isSafeInteger,t2=Number.isFinite,t3=Math.trunc,t4=tR(0);function t0(t){if(null!=t&&"number"!=typeof t)throw Error(`Value of float/double field must be a number, found ${typeof t}: ${t}`);return t}function t5(t){return null==t||"number"==typeof t?t:"NaN"===t||"Infinity"===t||"-Infinity"===t?Number(t):void 0}function t6(t){if(null!=t&&"boolean"!=typeof t){var e=typeof t;throw Error(`Expected boolean but got ${"object"!=e?e:t?Array.isArray(t)?"array":e:"null"}: ${t}`)}return t}function t7(t){return null==t||"boolean"==typeof t?t:"number"==typeof t?!!t:void 0}let t8=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function t9(t){switch(typeof t){case"bigint":return!0;case"number":return t2(t);case"string":return t8.test(t);default:return!1}}function et(t){if(null==t)return t;if("string"==typeof t&&t)t*=1;else if("number"!=typeof t)return;return t2(t)?0|t:void 0}function ee(t){if(null==t)return t;if("string"==typeof t&&t)t*=1;else if("number"!=typeof t)return;return t2(t)?t>>>0:void 0}function er(t){let e=t.length;return("-"===t[0]?e<20||20===e&&t<="-9223372036854775808":e<19||19===e&&t<="9223372036854775807")?t:(tq(t),tY(tD,tB))}function en(t){if(!t1(t=t3(t))){tj(t);var e=tD,r=tB;(t=0x80000000&r)&&(r=~r>>>0,0==(e=1+~e>>>0)&&(r=r+1>>>0)),t="number"==typeof(e=tX(e,r))?t?-e:e:t?"-"+e:e}return t}function ei(t){var e=t3(Number(t));return t1(e)?String(e):(-1!==(e=t.indexOf("."))&&(t=t.substring(0,e)),er(t))}function es(t){var e=t3(Number(t));return t1(e)?tR(e):(-1!==(e=t.indexOf("."))&&(t=t.substring(0,e)),Y()?tR(tZ(64,BigInt(t))):tR(er(t)))}function eo(t){return t1(t)?t=tR(en(t)):(t1(t=t3(t))?t=String(t):(tj(t),t=tY(tD,tB)),t=tR(t)),t}function ea(t){let e=typeof t;return null==t?t:"bigint"===e?tR(tZ(64,t)):t9(t)?"string"===e?es(t):eo(t):void 0}function eh(t){if("string"!=typeof t)throw Error();return t}function eu(t){if(null!=t&&"string"!=typeof t)throw Error();return t}function el(t){return null==t||"string"==typeof t?t:void 0}function ec(t,e,r,n){return null!=t&&t[ts]===tg?t:Array.isArray(t)?((n=(r=0|t[tu])|32&n|2&n)!==r&&tf(t,n),new e(t)):(r?2&n?((t=e[Z])||(td((t=new e).v),t=e[Z]=t),e=t):e=new e:e=void 0,e)}function ef(t,e,r){if(e)t:{if(!t9(e=t))throw K("int64");switch(typeof e){case"string":e=es(e);break t;case"bigint":e=tR(tZ(64,e));break t;default:e=eo(e)}}else e=ea(t);return null==(t=e)?r?t4:void 0:t}let ed={},ep=function(){try{return R(new class extends Map{constructor(){super()}}),!1}catch{return!0}}();class eg{constructor(){this.g=new Map}get(t){return this.g.get(t)}set(t,e){return this.g.set(t,e),this.size=this.g.size,this}delete(t){return t=this.g.delete(t),this.size=this.g.size,t}clear(){this.g.clear(),this.size=this.g.size}has(t){return this.g.has(t)}entries(){return this.g.entries()}keys(){return this.g.keys()}values(){return this.g.values()}forEach(t,e){return this.g.forEach(t,e)}[Symbol.iterator](){return this.entries()}}let em=ep?(Object.setPrototypeOf(eg.prototype,Map.prototype),Object.defineProperties(eg.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),eg):class extends Map{constructor(){super()}};function ey(t){return t}function e_(t){if(2&t.J)throw Error("Cannot mutate an immutable Map")}var ev=class extends em{constructor(t,e,r=ey,n=ey){super(),this.J=0|t[tu],this.K=e,this.S=r,this.fa=this.K?eE:n;for(let i=0;i<t.length;i++){let s=t[i],o=r(s[0],!1,!0),a=s[1];e?void 0===a&&(a=null):a=n(s[1],!1,!0,void 0,void 0,this.J),super.set(o,a)}}V(t){return tp(Array.from(super.entries(),t))}clear(){e_(this),super.clear()}delete(t){return e_(this),super.delete(this.S(t,!0,!1))}entries(){if(this.K){var t=super.keys();t=new tv(t,ew,this)}else t=super.entries();return t}values(){if(this.K){var t=super.keys();t=new tv(t,ev.prototype.get,this)}else t=super.values();return t}forEach(t,e){this.K?super.forEach((r,n,i)=>{t.call(e,i.get(n),n,i)}):super.forEach(t,e)}set(t,e){return e_(this),null==(t=this.S(t,!0,!1))?this:null==e?(super.delete(t),this):super.set(t,this.fa(e,!0,!0,this.K,!1,this.J))}Ma(t){let e=this.S(t[0],!1,!0);t=t[1],t=this.K?void 0===t?null:t:this.fa(t,!1,!0,void 0,!1,this.J),super.set(e,t)}has(t){return super.has(this.S(t,!1,!1))}get(t){t=this.S(t,!1,!1);let e=super.get(t);if(void 0!==e){var r=this.K;return r?((r=this.fa(e,!1,!0,r,this.ra,this.J))!==e&&super.set(t,r),r):e}}[Symbol.iterator](){return this.entries()}};function eE(t,e,r,n,i,s){return t=ec(t,n,r,s),i&&(t=eB(t)),t}function ew(t){return[t,this.get(t)]}function eT(){return h||=new ev(td([]),void 0,void 0,void 0,ed)}function eb(t){return tt?t[tt]:void 0}function eA(t,e){for(let r in t)isNaN(r)||e(t,+r,t[r])}ev.prototype.toJSON=void 0;var ek=class{};let ex={Ka:!0};function eS(t,e){e<100||z(tr,1)}function eL(t,e,r,n){let i,s=void 0!==n;n=!!n;var o,a=tt;!s&&q&&a&&(o=t[a])&&eA(o,eS),a=[];var h=t.length;o=0xffffffff;let u=!1,l=!!(64&e),c=l?128&e?0:-1:void 0;1&e||(null!=(i=h&&t[h-1])&&"object"==typeof i&&i.constructor===Object?o=--h:i=void 0,!l||128&e||s||(u=!0,o=o-c+c)),e=void 0;for(var f=0;f<h;f++){let i=t[f];if(null!=i&&null!=(i=r(i,n)))if(l&&f>=o){let t=f-c;(e??={})[t]=i}else a[f]=i}if(i)for(let t in i){let s;null!=(h=i[t])&&null!=(h=r(h,n))&&(f=+t,l&&!Number.isNaN(f)&&(s=f+c)<o?a[s]=h:(e??={})[t]=h)}return e&&(u?a.push(e):a[o]=e),s&&tt&&(t=eb(t))&&t instanceof ek&&(a[tt]=function(t){let e=new ek;return eA(t,(t,r,n)=>{e[r]=tJ(n)}),e.da=t.da,e}(t)),a}function eR(t){return t[0]=eI(t[0]),t[1]=eI(t[1]),t}function eI(t){switch(typeof t){case"number":return Number.isFinite(t)?t:""+t;case"bigint":return tI(t)?Number(t):""+t;case"boolean":return+!!t;case"object":if(Array.isArray(t)){var e=0|t[tu];return 0===t.length&&1&e?void 0:eL(t,e,eI)}if(null!=t&&t[ts]===tg)return eF(t);if(t instanceof X){if(null==(e=t.g))t="";else if("string"==typeof e)t=e;else{if(C){for(var r="",n=0,i=e.length-10240;n<i;)r+=String.fromCharCode.apply(null,e.subarray(n,n+=10240));r+=String.fromCharCode.apply(null,n?e.subarray(n):e),e=btoa(r)}else{void 0===r&&(r=0),P(),r=I[r],n=Array(Math.floor(e.length/3)),i=r[64]||"";let t=0,u=0;for(;t<e.length-2;t+=3){var s=e[t],o=e[t+1],a=e[t+2],h=r[s>>2];s=r[(3&s)<<4|o>>4],o=r[(15&o)<<2|a>>6],a=r[63&a],n[u++]=h+s+o+a}switch(h=0,a=i,e.length-t){case 2:a=r[(15&(h=e[t+1]))<<2]||i;case 1:e=e[t],n[u]=r[e>>2]+r[(3&e)<<4|h>
1>4]+a+i}e=n.join("")}t=t.g=e}break}return t instanceof ev?t=0!==t.size?t.V(eR):void 0:void 0}return t}function eF(t){return eL(t=t.v,0|t[tu],eI)}function eP(t,e){return eM(t,e[0],e[1])}function eM(t,e,r,n=0){if(null==t){var i=32;r?(t=[r],i|=128):t=[],e&&(i=-0xffc001&i|(1023&e)<<14)}else{if(!Array.isArray(t))throw Error("narr");if(i=0|t[tu],x&&1&i)throw Error("rfarr");if(2048&i&&!(2&i)&&function(){if(x)throw Error("carr");z(ti,5)}(),256&i)throw Error("farr");if(64&i)return(i|n)!==i&&tf(t,i|n),t;if(r&&(i|=128,r!==t[0]))throw Error("mid");t:{i|=64;var s=(r=t).length;if(s){var o=s-1;let t=r[o];if(null!=t&&"object"==typeof t&&t.constructor===Object){if((o-=e=128&i?0:-1)>=1024)throw Error("pvtlmt");for(var a in t)(s=+a)<o&&(r[s+e]=t[a],delete t[a]);i=-0xffc001&i|(1023&o)<<14;break t}}if(e){if((a=Math.max(e,s-(128&i?0:-1)))>1024)throw Error("spvt");i=-0xffc001&i|(1023&a)<<14}}}return tf(t,64|i|n),t}function eC(t,e){if("object"!=typeof t)return t;if(Array.isArray(t)){var r=0|t[tu];return 0===t.length&&1&r?void 0:eO(t,r,e)}if(null!=t&&t[ts]===tg)return eU(t);if(t instanceof ev){if(2&(e=t.J))return t;if(!t.size)return;if(r=td(t.V()),t.K)for(t=0;t<r.length;t++){let n=r[t],i=n[1];i=null==i||"object"!=typeof i?void 0:null!=i&&i[ts]===tg?eU(i):Array.isArray(i)?eO(i,0|i[tu],!!(32&e)):void 0,n[1]=i}return r}return t instanceof X?t:void 0}function eO(t,e,r){return 2&e||(!r||4096&e||16&e?t=eD(t,e,!1,r&&!(16&e)):(tc(t,34),4&e&&Object.freeze(t))),t}function eN(t,e,r){return t=new t.constructor(e),r&&(t.h=ty),t.m=ty,t}function eU(t){let e=t.v,r=0|e[tu];return tm(t,r)?t:eX(t,e,r)?eN(t,e):eD(e,r)}function eD(t,e,r,n){return n??=!!(34&e),t=eL(t,e,eC,n),n=32,r&&(n|=2),tf(t,e=0xffe0c1&e|n),t}function eB(t){let e=t.v,r=0|e[tu];return tm(t,r)?eX(t,e,r)?eN(t,e,!0):new t.constructor(eD(e,r,!1)):t}function eG(t){if(t.h!==ty)return!1;var e=t.v;return tc(e=eD(e,0|e[tu]),2048),t.v=e,t.h=void 0,t.m=void 0,!0}function ej(t){if(!eG(t)&&tm(t,0|t.v[tu]))throw Error()}function eV(t,e){void 0===e&&(e=0|t[tu]),32&e&&!(4096&e)&&tf(t,4096|e)}function eX(t,e,r){return!!(2&r)||!(!(32&r)||4096&r)&&(tf(e,2|r),t.h=ty,!0)}let eH=tR(0),eW={};function eK(t,e,r,n,i){if(null!==(e=ez(t.v,e,r,i))||n&&t.m!==ty)return e}function ez(t,e,r,n){let i,s;if(-1===e)return null;let o=e+(r?0:-1),a=t.length-1;if(!(a<1+(r?0:-1))){if(o>=a)if(null!=(i=t[a])&&"object"==typeof i&&i.constructor===Object)r=i[e],s=!0;else{if(o!==a)return;r=i}else r=t[o];if(n&&null!=r){if(null==(n=n(r)))return n;if(!Object.is(n,r))return s?i[e]=n:t[o]=n,n}return r}}function eY(t,e,r,n){ej(t),eq(t=t.v,0|t[tu],e,r,n)}function eq(t,e,r,n,i){let s=r+(i?0:-1);var o=t.length-1;if(o>=1+(i?0:-1)&&s>=o){let i=t[o];if(null!=i&&"object"==typeof i&&i.constructor===Object)return i[r]=n,e}return s<=o?t[s]=n:void 0!==n&&(r>=(o=(e??=0|t[tu])>>14&1023||0x20000000)?null!=n&&(t[o+(i?0:-1)]={[r]:n}):t[s]=n),e}function e$(){return void 0===tE?2:4}function eJ(t,e,r,n,i){let s=t.v,o=0|s[tu];n=tm(t,o)?1:n,i=!!i||3===n,2===n&&eG(t)&&(o=0|(s=t.v)[tu]);let a=(t=eQ(s,e))===oS?7:0|t[tu],h=e1(a,o);var u=!(4&h);if(u){4&h&&(t=tJ(t),a=0,h=rh(h,o),o=eq(s,o,e,t));let n=0,i=0;for(;n<t.length;n++){let e=r(t[n]);null!=e&&(t[i++]=e)}i<n&&(t.length=i),h=-4097&(r=-513&(4|h)&-1025)}return h!==a&&(tf(t,h),2&h&&Object.freeze(t)),eZ(t,h,s,o,e,n,u,i)}function eZ(t,e,r,n,i,s,o,a){let h=e;return 1===s||4===s&&(2&e||!(16&e)&&32&n)?e2(e)||((e|=t.length&&(!o||4096&e)&&(!(32&n)||4096&e||16&e)?256:2)!==h&&tf(t,e),Object.freeze(t)):(2===s&&e2(e)&&(t=tJ(t),h=0,e=rh(e,n),n=eq(r,n,i,t)),e2(e)||(a||(e|=16),e!==h&&tf(t,e))),2&e||!(4096&e||16&e)||eV(r,n),t}function eQ(t,e,r){return Array.isArray(t=ez(t,e,r))?t:oS}function e1(t,e){return 2&e&&(t|=2),1|t}function e2(t){return!!(2&t)&&!!(4&t)||!!(256&t)}function e3(t){return t_(t,!0)}function e4(t){t=tJ(t);for(let e=0;e<t.length;e++){let r=t[e]=tJ(t[e]);Array.isArray(r[1])&&(r[1]=td(r[1]))}return tp(t)}function e0(t,e,r,n){ej(t),eq(t=t.v,0|t[tu],e,("0"===n?0===Number(r):r===n)?void 0:r)}function e5(t,e,r){if(2&e)throw Error();let n=tb(e),i=eQ(t,r,n),s=i===oS?7:0|i[tu],o=e1(s,e);return(2&o||e2(o)||16&o)&&(o===s||e2(o)||tf(i,o),i=tJ(i),s=0,o=rh(o,e),eq(t,e,r,i,n)),(o&=-13)!==s&&tf(i,o),i}function e6(t,e){return e9(e7(t=t.v),t,void 0,iq)===e?e:-1}function e7(t){if(q)return t[Q]??(t[Q]=new Map);if(Q in t)return t[Q];let e=new Map;return Object.defineProperty(t,Q,{value:e}),e}function e8(t,e,r,n,i){let s=e7(t),o=e9(s,t,e,r,i);return o!==n&&(o&&(e=eq(t,e,o,void 0,i)),s.set(r,n)),e}function e9(t,e,r,n,i){let s=t.get(n);if(null!=s)return s;s=0;for(let t=0;t<n.length;t++){let o=n[t];null!=ez(e,o,i)&&(0!==s&&(r=eq(e,r,s,void 0,i)),s=o)}return t.set(n,s),s}function rt(t,e,r){let n,i=0|t[tu],s=tb(i),o=ez(t,r,s);if(null!=o&&o[ts]===tg){if(!tm(o))return eG(o),o.v;n=o.v}else Array.isArray(o)&&(n=o);if(n){let t=0|n[tu];2&t&&(n=eD(n,t))}return(n=eP(n,e))!==o&&eq(t,i,r,n,s),n}function re(t,e,r,n,i){let s=!1;if(null!=(n=ez(t,n,i,t=>{let n=ec(t,r,!1,e);return s=n!==t&&null!=n,n})))return s&&!tm(n)&&eV(t,e),n}function rr(t,e,r,n){let i=t.v,s=0|i[tu];if(null==(e=re(i,s,e,r,n)))return e;if(!tm(t,s=0|i[tu])){let o=eB(e);o!==e&&(eG(t)&&(s=0|(i=t.v)[tu]),s=eq(i,s,r,e=o,n),eV(i,s))}return e}function rn(t,e,r,n,i,s,o,a){var h=tm(t,r);s=h?1:s,o=!!o||3===s,h=a&&!h,(2===s||h)&&eG(t)&&(r=0|(e=t.v)[tu]);var u=(t=eQ(e,i))===oS?7:0|t[tu],l=e1(u,r);if(a=!(4&l)){var c=t,f=r;let e=!!(2&l);e&&(f|=2);let i=!e,s=!0,o=0,a=0;for(;o<c.length;o++){let t=ec(c[o],n,!1,f);
1if(t instanceof n){if(!e){let e=tm(t);i&&=!e,s&&=e}c[a++]=t}}a<o&&(c.length=a),l|=4,l=s?-4097&l:4096|l,l=i?8|l:-9&l}if(l!==u&&(tf(t,l),2&l&&Object.freeze(t)),h&&!(8&l||!t.length&&(1===s||4===s&&(2&l||!(16&l)&&32&r)))){for(e2(l)&&(t=tJ(t),l=rh(l,r),r=eq(e,r,i,t)),n=t,h=l,u=0;u<n.length;u++)(c=n[u])!==(l=eB(c))&&(n[u]=l);h|=8,tf(t,l=h=n.length?4096|h:-4097&h)}return eZ(t,l,e,r,i,s,a,o)}function ri(t,e,r){let n=t.v;return rn(t,n,0|n[tu],e,r,e$(),!1,!0)}function rs(t){return null==t&&(t=void 0),t}function ro(t,e,r,n,i){return eY(t,r,n=rs(n),i),n&&!tm(n)&&eV(t.v),t}function ra(t,e,r,n){t:{var i=n=rs(n);ej(t);let s=t.v,o=0|s[tu];if(null==i){let t=e7(s);if(e9(t,s,o,r)!==e)break t;t.set(r,0)}else o=e8(s,o,r,e);eq(s,o,e,i)}n&&!tm(n)&&eV(t.v)}function rh(t,e){return -273&(2&e?2|t:-3&t)}function ru(t,e,r,n){var i=n;ej(t),t=rn(t,n=t.v,0|n[tu],r,e,2,!0),i=null!=i?i:new r,t.push(i),e=r=t===oS?7:0|t[tu],(i=tm(i))?(r&=-9,1===t.length&&(r&=-4097)):r|=4096,r!==e&&tf(t,r),i||eV(n)}function rl(t,e,r){return et(eK(t,e,void 0,r))}function rc(t,e){return eK(t,e,void 0,void 0,t5)??0}function rf(t,e,r){if(null!=r){if("number"!=typeof r||!t2(r))throw K("int32");r|=0}eY(t,e,r)}function rd(t,e,r){eY(t,e,t0(r))}function rp(t,e,r){e0(t,e,eu(r),"")}function rg(t,e,r){{ej(t);let o=t.v,a=0|o[tu];if(null==r)eq(o,a,e);else{var n=t=r===oS?7:0|r[tu],i=e2(t),s=i||Object.isFrozen(r);for(i||(t=0),s||(r=tJ(r),n=0,t=rh(t,a),s=!1),t|=5,t|=(4&t?512&t?512:1024&t?1024:0:void 0)??1024,i=0;i<r.length;i++){let e=r[i],o=eh(e);Object.is(e,o)||(s&&(r=tJ(r),n=0,t=rh(t,a),s=!1),r[i]=o)}t!==n&&(s&&(r=tJ(r),t=rh(t,a)),tf(r,t)),eq(o,a,e,r)}}}function rm(t,e,r){ej(t),eJ(t,e,el,2,!0).push(eh(r))}var ry=class{constructor(t,e,r){if(this.buffer=t,r&&!e)throw Error();this.g=e}};function r_(t,e){if("string"==typeof t)return new ry(D(t),e);if(Array.isArray(t))return new ry(new Uint8Array(t),e);if(t.constructor===Uint8Array)return new ry(t,!1);if(t.constructor===ArrayBuffer)return new ry(t=new Uint8Array(t),!1);if(t.constructor===X)return new ry(e=V(t)||new Uint8Array(0),!0,t);if(t instanceof Uint8Array)return new ry(t=t.constructor===Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength),!1);throw Error()}function rv(t,e){let r,n=0,i=0,s=0,o=t.h,a=t.g;do n|=(127&(r=o[a++]))<<s,s+=7;while(s<32&&128&r);if(s>32)for(i|=(127&r)>>4,s=3;s<32&&128&r;s+=7)i|=(127&(r=o[a++]))<<s;if(rk(t,a),!(128&r))return e(n>>>0,i>>>0);throw Error()}function rE(t){let e=0,r=t.g,n=r+10,i=t.h;for(;r<n;){let n=i[r++];if(e|=n,0==(128&n))return rk(t,r),!!(127&e)}throw Error()}function rw(t){let e=t.h,r=t.g,n=e[r++],i=127&n;if(128&n&&(i|=(127&(n=e[r++]))<<7,128&n&&(i|=(127&(n=e[r++]))<<14,128&n&&(i|=(127&(n=e[r++]))<<21,128&n&&(i|=(n=e[r++])<<28,128&n&&128&e[r++]&&128&e[r++]&&128&e[r++]&&128&e[r++]&&128&e[r++])))))throw Error();return rk(t,r),i}function rT(t){return rw(t)>>>0}function rb(t){var e=t.h;let r=t.g;var n=e[r],i=e[r+1];let s=e[r+2];return e=e[r+3],rk(t,t.g+4),t=2*((i=(0|n|i<<8|s<<16|e<<24)>>>0)>>31)+1,n=i>>>23&255,i&=8388607,255==n?i?NaN:1/0*t:0==n?1401298464324817e-60*t*i:t*Math.pow(2,n-150)*(i+8388608)}function rA(t){return rw(t)}function rk(t,e){if(t.g=e,e>t.l)throw Error()}function rx(t,e){if(e<0)throw Error();let r=t.g;if((e=r+e)>t.l)throw Error();return t.g=e,r}function rS(t,e){if(0==e)return j();var r=rx(t,e);return t.Y&&t.j?r=t.h.subarray(r,r+e):(t=t.h,r=r===(e=r+e)?new Uint8Array(0):tN?t.slice(r,e):new Uint8Array(t.subarray(r,e))),0==r.length?j():new X(r,G)}var rL=[];function rR(t,e,r,n){if(rU.length){let i=rU.pop();return i.o(n),i.g.init(t,e,r,n),i}return new rN(t,e,r,n)}function rI(t){t.g.clear(),t.l=-1,t.h=-1,rU.length<100&&rU.push(t)}function rF(t){var e=t.g;if(e.g==e.l)return!1;t.m=t.g.g;var r=rT(t.g);if(e=r>>>3,!((r&=7)>=0&&r<=5)||e<1)throw Error();return t.l=e,t.h=r,!0}function rP(t,e,r){let n=t.g.l;var i=rT(t.g);let s=(i=t.g.g+i)-n;if(s<=0&&(t.g.l=i,r(e,t,void 0,void 0,void 0),s=i-t.g.g),s)throw Error();return t.g.g=i,t.g.l=n,e}function rM(t){var e=rT(t.g),r=rx(t=t.g,e);if(t=t.h,E){var s,o=t;(s=i)||(s=i=new TextDecoder("utf-8",{fatal:!0})),e=r+e,o=0===r&&e===o.length?o:o.subarray(r,e);try{var a=s.decode(o)}catch(t){if(void 0===n){try{s.decode(new Uint8Array([128]))}catch(t){}try{s.decode(new Uint8Array([97])),n=!0}catch(t){n=!1}}throw n||(i=void 0),t}}else{e=(a=r)+e,r=[];let n,i=null;for(;a<e;){var h=t[a++];h<128?r.push(h):h<224?a>=e?_():(n=t[a++],h<194||128!=(192&n)?(a--,_()):r.push((31&h)<<6|63&n)):h<240?a>
1=e-1?_():128!=(192&(n=t[a++]))||224===h&&n<160||237===h&&n>=160||128!=(192&(s=t[a++]))?(a--,_()):r.push((15&h)<<12|(63&n)<<6|63&s):h<=244?a>=e-2?_():128!=(192&(n=t[a++]))||n-144+(h<<28)>>30!=0||128!=(192&(s=t[a++]))||128!=(192&(o=t[a++]))?(a--,_()):(h=((7&h)<<18|(63&n)<<12|(63&s)<<6|63&o)-65536,r.push(55296+(h>>10&1023),56320+(1023&h))):_(),r.length>=8192&&(i=v(i,r),r.length=0)}a=v(i,r)}return a}function rC(t){let e=rT(t.g);return rS(t.g,e)}function rO(t,e,r){var n=rT(t.g);for(n=t.g.g+n;t.g.g<n;)r.push(e(t.g))}var rN=class{constructor(t,e,r,n){if(rL.length){let i=rL.pop();i.init(t,e,r,n),t=i}else t=new class{constructor(t,e,r,n){this.h=null,this.j=!1,this.g=this.l=this.m=0,this.init(t,e,r,n)}init(t,e,r,{Y:n=!1,ea:i=!1}={}){this.Y=n,this.ea=i,t&&(t=r_(t,this.ea),this.h=t.buffer,this.j=t.g,this.m=e||0,this.l=void 0!==r?this.m+r:this.h.length,this.g=this.m)}clear(){this.h=null,this.j=!1,this.g=this.l=this.m=0,this.Y=!1}}(t,e,r,n);this.g=t,this.m=this.g.g,this.h=this.l=-1,this.o(n)}o({ha:t=!1}={}){this.ha=t}},rU=[];function rD(t){return t?/^\d+$/.test(t)?(tq(t),new rB(tD,tB)):null:c||=new rB(0,0)}var rB=class{constructor(t,e){this.h=t>>>0,this.g=e>>>0}};function rG(t){return t?/^-?\d+$/.test(t)?(tq(t),new rj(tD,tB)):null:f||=new rj(0,0)}var rj=class{constructor(t,e){this.h=t>>>0,this.g=e>>>0}};function rV(t,e,r){for(;r>0||e>127;)t.g.push(127&e|128),e=(e>>>7|r<<25)>>>0,r>>>=7;t.g.push(e)}function rX(t,e){for(;e>127;)t.g.push(127&e|128),e>>>=7;t.g.push(e)}function rH(t,e){if(e>=0)rX(t,e);else{for(let r=0;r<9;r++)t.g.push(127&e|128),e>>=7;t.g.push(1)}}function rW(t){var e=tD;t.g.push(e>>>0&255),t.g.push(e>>>8&255),t.g.push(e>>>16&255),t.g.push(e>>>24&255)}function rK(t,e){0!==e.length&&(t.l.push(e),t.h+=e.length)}function rz(t,e,r){rX(t.g,8*e+r)}function rY(t,e){return rz(t,e,2),e=t.g.end(),rK(t,e),e.push(t.h),e}function rq(t,e){var r=e.pop();for(r=t.h+t.g.length()-r;r>127;)e.push(127&r|128),r>>>=7,t.h++;e.push(r),t.h++}function r$(t,e,r){rz(t,e,2),rX(t.g,r.length),rK(t,t.g.end()),rK(t,r)}function rJ(t,e,r,n){null!=r&&(e=rY(t,e),n(r,t),rq(t,e))}function rZ(){let t=class{constructor(){throw Error()}};return Object.setPrototypeOf(t,t.prototype),t}var rQ=rZ(),r1=rZ(),r2=rZ(),r3=rZ(),r4=rZ(),r0=rZ(),r5=rZ(),r6=rZ(),r7=rZ(),r8=rZ();function r9(t,e,r){var n=t.v;tt&&tt in n&&(n=n[tt])&&delete n[e.g],e.h?e.j(t,e.h,e.g,r,e.l):e.j(t,e.g,r,e.l)}var nt=class{constructor(t,e){this.v=eM(t,e,void 0,2048)}toJSON(){return eF(this)}j(){var t=this.v,e=sF.g,r=tt;if(q&&r&&null!=t[r]?.[e]&&z(te,3),t=sF.g,to&&tt&&void 0===to&&(r=(e=this.v)[tt])&&(r=r.da))try{r(e,t,ex)}catch(t){b(t)}return sF.h?sF.m(this,sF.h,sF.g,sF.l):sF.m(this,sF.g,sF.defaultValue,sF.l)}clone(){let t=this.v,e=0|t[tu];return eX(this,t,e)?eN(this,t,!0):new this.constructor(eD(t,e,!1))}};nt.prototype[ts]=tg,nt.prototype.toString=function(){return this.v.toString()};var ne=class{constructor(t,e,r){this.g=t,this.h=e,t=rQ,this.l=!!t&&r===t}};function nr(t,e){return new ne(t,e,rQ)}function nn(t,e,r,n,i){rJ(t,r,nd(e,n),i)}let ni=nr(function(t,e,r,n,i){return 2===t.h&&(rP(t,rt(e,n,r),i),!0)},nn),ns=nr(function(t,e,r,n,i){return 2===t.h&&(rP(t,rt(e,n,r),i),!0)},nn);var no=Symbol(),na=Symbol(),nh=Symbol(),nu=Symbol(),nl=Symbol();function nc(t,e,r,n){var i=n[t];if(i)return i;(i={}).qa=n,i.T=function(t){switch(typeof t){case"boolean":return u||=[0,void 0,!0];case"number":return t>0?void 0:0===t?l||=[0,void 0]:[-t,void 0];case"string":return[0,t];case"object":return t}}(n[0]);var s=n[1];let o=1;s&&s.constructor===Object&&(i.ba=s,"function"==typeof(s=n[++o])&&(i.ma=!0,d??=s,p??=n[o+1],s=n[o+=2]));let a={};for(;s&&Array.isArray(s)&&s.length&&"number"==typeof s[0]&&s[0]>0;){for(var h=0;h<s.length;h++)a[s[h]]=s;s=n[++o]}for(h=1;void 0!==s;){let t;"number"==typeof s&&(h+=s,s=n[++o]);var c=void 0;if(s instanceof ne?t=s:(t=ni,o--),t?.l){s=n[++o],c=n;var f=o;"function"==typeof s&&(s=s(),c[f]=s),c=s}for(f=h+1,"number"==typeof(s=n[++o])&&s<0&&(f-=s,s=n[++o]);h<f;h++){let n=a[h];c?r(i,h,t,c,n):e(i,h,t,n)}}return n[t]=i}function nf(t){return Array.isArray(t)?t[0]instanceof ne?t:[ns,t]:[t,void 0]}function nd(t,e){return t instanceof nt?t.v:Array.isArray(t)?eP(t,e):void 0}function np(t,e,r,n){let i=r.g;t[e]=n?(t,e,r)=>i(t,e,r,n):i}function ng(t,e,r,n,i){let s,o,a=r.g;t[e]=(t,e,r)=>a(t,e,r,o||=nc(na,np,ng,n).T,s||=nm(n),i)}function nm(t){let e=t[nh];if(null!=e)return e;let r=nc(na,np,ng,t);return e=r.ma?(t,e)=>d(t,e,r):(t,e)=>{for(;rF(e)&&4!=e.h;){var n=e.l,i=r[n];if(null==i){var s=r.ba;s&&(s=s[n])&&null!=(s=function(t){let e=(t=nf(t))[0].g;if(t=t[1]){let r=nm(t),n=nc(na,np,ng,t).T;return(t,i,s)=>e(t,i,s,n,r)}return e}(s))&&(i=r[n]=s)}if(null==i||!i(e,t,n)){if(i=(s=e).m,function t(e){switch(e.h){case 0:0!=e.h?t(e):rE(e.g);break;case 1:rk(e=e.g,e.g+8);break;case 2:if(2!=e.h)t(e);else{var r=rT(e.g);rk(e=e.g,e.g+r)}break;case 5:rk(e=e.g,e.g+4);break;case 3:for(r=e.l;;){if(!rF(e))throw Error();if(4==e.h){if(e.l!=r)throw Error();break}t(e)}break;default:throw Error()}}(s),s.ha)var o=void 0;else o=s.g.g-i,s.g.g=i,o=rS(s.g,o);i=void 0,s=t,o&&((i=s[tt]??(s[tt]=new ek))[n]??(i[n]=[])).push(o)}}return(t=eb(t))&&(t.da=r.qa[nl]),!0},t[nh]=e,t[nl]=ny.bind(t),e}function ny(t,e,r,n){var i=this[na];let s=this[nh],o=eP(void 0,i.T),a=eb(t);if(a){var h=!1,u=i.ba;
1if(u){if(i=(e,r,i)=>{if(0!==i.length)if(u[r])for(let t of i){e=rR(t);try{h=!0,s(o,e)}finally{rI(e)}}else n?.(t,r,i)},null==e)eA(a,i);else if(null!=a){let t=a[e];t&&i(a,e,t)}if(h){let n=0|t[tu];if(2&n&&2048&n&&!r?.Ka)throw Error();let i=tb(n),s=(e,s)=>{if(null!=ez(t,e,i)){if(1===r?.Qa)return;throw Error()}null!=s&&(n=eq(t,n,e,s,i)),delete a[e]};null==e?tw(o,0|o[tu],(t,e)=>{s(t,e)}):s(e,ez(o,e,i))}}}}function n_(t,e,r){t[e]=r.h}function nv(t,e,r,n){let i,s,o=r.h;t[e]=(t,e,r)=>o(t,e,r,s||=nc(no,n_,nv,n).T,i||=nE(n))}function nE(t){let e=t[nu];if(!e){let r=nc(no,n_,nv,t);e=(t,e)=>nw(t,e,r),t[nu]=e}return e}function nw(t,e,r){tw(t,0|t[tu],(t,n)=>{if(null!=n){var i=function(t,e){var r=t[e];if(r)return r;if((r=t.ba)&&(r=r[e])){var n=(r=nf(r))[0].h;if(r=r[1]){let e=nE(r),i=nc(no,n_,nv,r).T;r=t.ma?p(i,e):(t,r,s)=>n(t,r,s,i,e)}else r=n;return t[e]=r}}(r,t);i?i(e,n,t):t<500||z(tn,3)}}),(t=eb(t))&&eA(t,(t,r,n)=>{for(rK(e,e.g.end()),t=0;t<n.length;t++)rK(e,V(n[t])||new Uint8Array(0))})}let nT=tR(0);function nb(t,e){if(Array.isArray(e)){var r=0|e[tu];if(4&r)return e;for(var n=0,i=0;n<e.length;n++){let r=t(e[n]);null!=r&&(e[i++]=r)}return i<n&&(e.length=i),(t=-1537&(5|r))!==r&&tf(e,t),2&t&&Object.freeze(e),e}}function nA(t,e,r){return new ne(t,e,r)}function nk(t,e,r){return new ne(t,e,r)}function nx(t,e,r){eq(t,0|t[tu],e,r,tb(0|t[tu]))}var nS=nr(function(t,e,r,n,i){if(2!==t.h)return!1;if(t=tJ(t=rP(t,eP([void 0,void 0],n),i)),i=tb(n=0|e[tu]),2&n)throw Error();let s=ez(e,r,i);if(s instanceof ev)0!=(2&s.J)?((s=s.V()).push(t),eq(e,n,r,s,i)):s.Ma(t);else if(Array.isArray(s)){var o=0|s[tu];8192&o||tf(s,o|=8192),2&o&&eq(e,n,r,s=e4(s),i),s.push(t)}else eq(e,n,r,tp([t]),i);return!0},function(t,e,r,n,i){if(e instanceof ev)e.forEach((e,s)=>
1{rJ(t,r,eP([s,e],n),i)});else if(Array.isArray(e)){for(let s=0;s<e.length;s++){let o=e[s];Array.isArray(o)&&rJ(t,r,eP(o,n),i)}tp(e)}});function nL(t,e,r){null!=(e=t5(e))&&(rz(t,r,5),t=t.g,tV(e),rW(t))}function nR(t,e,r){if(null!=(e=function(t){if(null==t)return t;let e=typeof t;if("bigint"===e)return String(tZ(64,t));if(t9(t)){if("string"===e)return ei(t);if("number"===e)return en(t)}}(e))&&("string"==typeof e&&rG(e),null!=e))switch(rz(t,r,0),typeof e){case"number":t=t.g,tj(e),rV(t,tD,tB);break;case"bigint":r=new rj(Number((r=BigInt.asUintN(64,e))&BigInt(0xffffffff)),Number(r>>BigInt(32))),rV(t.g,r.h,r.g);break;default:r=rG(e),rV(t.g,r.h,r.g)}}function nI(t,e,r){null!=(e=et(e))&&null!=e&&(rz(t,r,0),rH(t.g,e))}function nF(t,e,r){null!=(e=t7(e))&&(rz(t,r,0),t.g.g.push(+!!e))}function nP(t,e,r){null!=(e=el(e))&&r$(t,r,T(e))}function nM(t,e,r,n,i){rJ(t,r,nd(e,n),i)}function nC(t,e,r){null!=(e=null==e||"string"==typeof e||e instanceof X?e:void 0)&&r$(t,r,r_(e,!0).buffer)}function nO(t,e,r){null!=(e=ee(e))&&null!=e&&(rz(t,r,0),rX(t.g,e))}function nN(t,e,r){return(5===t.h||2===t.h)&&(e=e5(e,0|e[tu],r),2==t.h?rO(t,rb,e):e.push(rb(t.g)),!0)}var nU=nA(function(t,e,r){return 5===t.h&&(nx(e,r,rb(t.g)),!0)},nL,r6),nD=nk(nN,function(t,e,r){if(null!=(e=nb(t5,e)))for(let s=0;s<e.length;s++){var n=t,i=e[s];null!=i&&(rz(n,r,5),n=n.g,tV(i),rW(n))}},r6),nB=nk(nN,function(t,e,r){if(null!=(e=nb(t5,e))&&e.length){rz(t,r,2),rX(t.g,4*e.length);for(let n=0;n<e.length;n++)r=t.g,tV(e[n]),rW(r)}},r6),nG=nA(function(t,e,r){return 5===t.h&&(nx(e,r,0===(t=rb(t.g))?void 0:t),!0)},nL,r6),nj=nA(function(t,e,r){return 0!==t.h?t=!1:(nx(e,r,rv(t.g,tW)),t=!0),t},nR,r0),nV=nA(function(t,e,r){return 0!==t.h?e=!1:(nx(e,r,(t=rv(t.g,tW))===nT?void 0:t),e=!0),e},nR,r0),nX=nA(function(t,e,r){return 0!==t.h?t=!1:(nx(e,r,rv(t.g,tH)),t=!0),t},function(t,e,r){if(null!=(e=function(t){if(null==t)return t;var e=typeof t;if("bigint"===e)return String(tQ(64,t));if(t9(t)){if("string"===e)return t1(e=t3(Number(t)))&&e>=0?t=String(e):(-1!==(e=t.indexOf("."))&&(t=t.substring(0,e)),(e="-"!==t[0]&&((e=t.length)<20||20===e&&t<="18446744073709551615"))||(tq(t),t=tK(tD,tB))),t;if("number"===e)return(t=t3(t))>=0&&t1(t)||(tj(t),t=tX(tD,tB)),t}}(e))&&("string"==typeof e&&rD(e),null!=e))switch(rz(t,r,0),typeof e){case"number":t=t.g,tj(e),rV(t,tD,tB);break;case"bigint":r=new rB(Number((r=BigInt.asUintN(64,e))&BigInt(0xffffffff)),Number(r>>BigInt(32))),rV(t.g,r.h,r.g);break;default:r=rD(e),rV(t.g,r.h,r.g)}},r5),nH=nA(function(t,e,r){return 0===t.h&&(nx(e,r,rw(t.g)),!0)},nI,r3),nW=nk(function(t,e,r){return(0===t.h||2===t.h)&&(e=e5(e,0|e[tu],r),2==t.h?rO(t,rw,e):e.push(rw(t.g)),!0)},function(t,e,r){if(null!=(e=nb(et,e))&&e.length){r=rY(t,r);for(let r=0;r<e.length;r++)rH(t.g,e[r]);rq(t,r)}},r3),nK=nA(function(t,e,r){return 0===t.h&&(nx(e,r,0===(t=rw(t.g))?void 0:t),!0)},nI,r3),nz=nA(function(t,e,r){return 0===t.h&&(nx(e,r,rE(t.g)),!0)},nF,r1),nY=nA(function(t,e,r){return 0===t.h&&(nx(e,r,!1===(t=rE(t.g))?void 0:t),!0)},nF,r1),nq=nk(function(t,e,r){return 2===t.h&&(t=rM(t),e5(e,0|e[tu],r).push(t),!0)},function(t,e,r){if(null!=(e=nb(el,e)))for(let i=0;i<e.length;i++){var n=e[i];null!=n&&r$(t,r,T(n))}},r2),n$=nA(function(t,e,r){return 2===t.h&&(nx(e,r,""===(t=rM(t))?void 0:t),!0)},nP,r2),nJ=nA(function(t,e,r){return 2===t.h&&(nx(e,r,rM(t)),!0)},nP,r2),nZ=function(t,e,r=rQ){return new ne(t,e,r)}(function(t,e,r,n,i){return 2===t.h&&(n=eP(void 0,n),e5(e,0|e[tu],r).push(n),rP(t,n,i),!0)},function(t,e,r,n,i){if(Array.isArray(e)){for(let s=0;s<e.length;s++)nM(t,e[s],r,n,i);1&(t=0|e[tu])||tf(e,1|t)}}),nQ=nr(function(t,e,r,n,i,s){if(2!==t.h)return!1;let o=0|e[tu];return e8(e,o,s,r,tb(o)),rP(t,e=rt(e,n,r),i),!0},nM),n1=nA(function(t,e,r){return 2===t.h&&(nx(e,r,rC(t)),!0)},nC,r7),n2=nk(function(t,e,r){return(0===t.h||2===t.h)&&(e=e5(e,0|e[tu],r),2==t.h?rO(t,rT,e):e.push(rT(t.g)),!0)},function(t,e,r){if(null!=(e=nb(ee,e)))for(let i=0;i<e.length;i++){var n=e[i];null!=n&&(rz(t,r,0),rX(t.g,n))}},r4),n3=nA(function(t,e,r){return 0===t.h&&(nx(e,r,0===(t=rT(t.g))?void 0:t),!0)},nO,r4),n4=nA(function(t,e,r){return 0===t.h&&(nx(e,r,rw(t.g)),!0)},function(t,e,r){null!=(e=et(e))&&(e=parseInt(e,10),rz(t,r,0),rH(t.g,e))},r8);class n0{constructor(t,e){this.g=t,this.h=e,this.m=rr,this.j=ro,this.defaultValue=void 0,this.l=null!=ip.Oa?tT:void 0}register(){R(this)}}function n5(t,e){return new n0(t,e)}function n6(t,e){return(r,n)=>{{let s={ea:!0};n&&Object.assign(s,n),r=rR(r,void 0,void 0,s);try{let n=new t,s=n.v;nm(e)(s,r);var i=n}finally{rI(r)}}return i}}function n7(t){return function(){let e=new class{constructor(){this.l=[],this.h=0,this.g=new class{constructor(){this.g=[]}length(){return this.g.length}end(){let t=this.g;return this.g=[],t}}}};nw(this.v,e,nc(no,n_,nv,t)),rK(e,e.g.end());let r=new Uint8Array(e.h),n=e.l,i=n.length,s=0;for(let t=0;t<i;t++){let e=n[t];r.set(e,s),s+=e.length}return e.l=[r],r}}var n8=class extends nt{constructor(t){super(t)}},n9=[0,n$,nA(function(t,e,r){return 2===t.h&&(nx(e,r,(t=rC(t))===j()?void 0:t),!0)},function(t,e,r){if(null!=e){if(e instanceof nt){let n=e.Ra;return void(n?null!=(e=n(e))&&r$(t,r,r_(e,!0).buffer):z(tn,3))}if(Array.isArray(e))return void z(tn,3)}nC(t,e,r)},r7)];let it,ie=globalThis.trustedTypes;function ir(t){var e;return void 0===it&&(it=function(){let t=null;if(!ie)return t;try{let e=t=>t;t=ie.createPolicy("goog#html",{createHTML:e,createScript:e,createScriptURL:e})}catch(t){}return t}()),t=(e=it)?e.createScriptURL(t):t,new class{constructor(t){this.g=t}toString(){return this.g+""}}(t)}function ii(t,...e){if(0===e.length)return ir(t[0]);let r=t[0];for(let n=0;n<e.length;n++)r+=encodeURIComponent(e[n])+t[n+1];return ir(r)}var is=[0,nH,n4,nz,-1,nW,n4,-1,nz],io=class extends nt{constructor(t){super(t)}},ia=[0,nz,nJ,nz,n4,-1,nk(function(t,e,r){return(0===t.h||2===t.h)&&(e=e5(e,0|e[tu],r),2==t.h?rO(t,rA,e):e.push(rw(t.g)),!0)},function(t,e,r){if(null!=(e=nb(et,e))&&e.length){r=rY(t,r);for(let r=0;r<e.length;r++)rH(t.g,e[r]);rq(t,r)}},r8),nJ,-1,[0,nz,-1],n4,nz,-1],ih=[0,3,nz,-1,2,[0,[2],nH,nQ,[0,nA(function(t,e,r){return 0===t.h&&(nx(e,r,rT(t.g)),!0)},nO,r4)]],[0,n4,nz,n4,nz,n4,nz,nJ,-1],[0,[3,4],nJ,-1,nQ,[0,nH],nQ,[0,n4]],[0]],iu=[0,nJ,-2],il=class extends nt{constructor(t){super(t)}},ic=[0],id=[0,nH,nz,1,nz,-4],ip=class extends nt{constructor(t){super(t,2)}},ig={};ig[0x1412e9f7]=[0,nJ,nz,-1,nH,[0,[1,2,3,4,5,6,7,8,9],nQ,ic,nQ,ia,nQ,iu,nQ,id,nQ,is,nQ,[0,nJ,-2],nQ,[0,nJ,n4],nQ,ih,nQ,[0,n4,-1,nz]],[0,nJ],nz,[0,[1,3],[2,4],nQ,[0,nW],-1,nQ,[0,nq],-1,nZ,[0,nJ,-1]],nJ];var im=[0,nV,-1,nY,-3,nV,nW,n$,nK,nV,-1,nY,nK,nY,-2,n$];function iy(t,e){rm(t,3,e)}function i_(t,e){rm(t,4,e)}var iv=class extends nt{constructor(t){super(t,500)}o(t){return ro(this,0,7,t)}},iE=[-1,{}],iw=[0,nJ,1,iE],iT=[0,nJ,nq,iE];function ib(t,e){ru(t,1,iv,e)}function iA(t,e){rm(t,10,e)}function ik(t,e){rm(t,15,e)}var ix=class extends nt{constructor(t){super(t,500)}o(t){return ro(this,0,1001,t)}},iS=[-500,nZ,[-500,n$,-1,nq,-3,[-2,ig,nz],nZ,n9,nK,-1,iw,iT,nZ,[0,n$,nY],n$,im,nK,nq,987,nq],4,nZ,[-500,nJ,-1,[-1,{}],998,nJ],nZ,[-500,nJ,nq,-1,[-2,{},nz],997,nq,-1],nK,nZ,[-500,nJ,nq,iE,998,nq],nq,nK,iw,iT,nZ,[0,n$,-1,iE],nq,-2,im,n$,-1,nY,[0,nY,n3],978,iE,nZ,n9];ix.prototype.g=n7(iS);var iL=n6(ix,iS),iR=class extends nt{constructor(t){super(t)}},iI=class extends nt{constructor(t){super(t)}g(){return ri(this,iR,1)}},iF=[0,nZ,[0,nH,nU,nJ,-1]],iP=n6(iI,iF),iM=class extends nt{constructor(t){super(t)}},iC=class extends nt{constructor(t){super(t)}},iO=class extends nt{constructor(t){super(t)}l(){return rr(this,iM,2)}g(){return ri(this,iC,5)}},iN=n6(class extends nt{constructor(t){super(t)}},[0,nq,nW,nB,[0,n4,[0,nH,-3],[0,nU,-3],[0,nH,-1,[0,nZ,[0,nH,-2]]],nZ,[0,nU,-1,nJ,nU]],nJ,-1,nj,nZ,[0,nH,nU],nq,nj]),iU=class extends nt{constructor(t){super(t)}},iD=n6(class extends nt{constructor(t){super(t)}},[0,nZ,[0,nU,-4]]),iB=class extends nt{constructor(t){super(t)}},iG=n6(class extends nt{constructor(t){super(t)}},[0,nZ,[0,nU,-4]]),ij=class extends nt{constructor(t){super(t)}},iV=[0,nH,-1,nB,n4],iX=class extends nt{constructor(t){super(t)}};iX.prototype.g=n7([0,nU,-4,nj]);var iH=class extends nt{constructor(t){super(t)}},iW=n6(class extends nt{constructor(t){super(t)}},[0,nZ,[0,1,nH,nJ,iF],nj]),iK=class extends nt{constructor(t){super(t)}},iz=class extends nt{constructor(t){super(t)}na(){let t=eK(this,1,void 0,void 0,e3);return null==t?j():t}},iY=class extends nt{constructor(t){super(t)}},iq=[1,2],i$=n6(class extends nt{constructor(t){super(t)}},[0,nZ,[0,iq,nQ,[0,nB],nQ,[0,n1],nH,nJ],nj]),iJ=class extends nt{constructor(t){super(t)}},iZ=[0,nJ,nH,nU,nq,-1],iQ=class extends nt{constructor(t){super(t)}},i1=[0,nz,-1],i2=class extends nt{constructor(t){super(t)}},i3=[1,2,3,4,5,6],i4=class extends nt{constructor(t){super(t)}g(){return null!=eK(this,1,void 0,void 0,e3)}l(){return null!=el(eK(this,2))}},i0=class extends nt{constructor(t){super(t)}g(){return t7(eK(this,2))??!1}},i5=[0,n1,nJ,[0,nH,nj,-1],[0,nX,nj]],i6=[0,i5,nz,[0,i3,nQ,id,nQ,ia,nQ,is,nQ,ic,nQ,iu,nQ,ih],n4],i7=class extends nt{constructor(t){super(t)}},i8=[0,i6,nU,-1,nH],i9=n5(0x1dee13c9,i7);ig[0x1dee13c9]=i8;var st=n6(class extends nt{constructor(t){super(t)}},[0,[0,n4,-1,nD,n2],iV]),se=class extends nt{constructor(t){super(t)}},sr=class extends nt{constructor(t){super(t)}},sn=[0,i6,nU,[0,i6],nz],si=n5(0x1e563cd6,sr);ig[0x1e563cd6]=[0,i6,i8,sn,nU,[0,[0,i5]]],ig[0x1e563cd5]=sn;var ss=class extends nt{constructor(t){super(t)}l(){return rr(this,iJ,2)}g(){eY(this,2)}},so=[0,i6,iZ];ig[0x1c8a4bf9]=so;var sa=class extends nt{constructor(t){super(t)}},sh=class extends nt{constructor(t){super(t)}},su=class extends nt{constructor(t){super(t)}},sl=class extends nt{constructor(t){super(t)}},sc=class extends nt{constructor(t){super(t)}}
vendor: 5,062 bytes, line 1
1,sf=[0,i6,[0,i6],so,-1],sd=[0,i6,nU,nH],sp=[0,i6,nU],sg=[0,i6,sd,sp,nU],sm=n5(0x1c8e70de,sc);ig[0x1c8e70de]=[0,i6,sg,sf],ig[0x1b9e78d4]=sf,ig[0x1bb54420]=sd;var sy=n5(0x1b947172,sl);ig[0x1b947172]=sg,ig[0x1c47e016]=sp;var s_=class extends nt{constructor(t){super(t)}},sv=class extends nt{constructor(t){super(t)}},sE=class extends nt{constructor(t){super(t)}},sw=class extends nt{constructor(t){super(t)}},sT=[0,i6,nU,-1,nH],sb=[0,i6,nU,nz];sw.prototype.g=n7([0,i6,sp,[0,i6],i8,sn,sT,sb]);var sA=class extends nt{constructor(t){super(t)}},sk=n5(0x1b33db97,sA);ig[0x1b33db97]=[0,i6,iZ];var sx=class extends nt{constructor(t){super(t)}},sS=n5(0x1c647f1b,sx);ig[0x1c647f1b]=[0,i6,i1];var sL=class extends nt{constructor(t){super(t)}},sR=class extends nt{constructor(t){super(t)}},sI=[0,n4,-1],sF=n5(0x1b4e2414,class extends nt{constructor(t){super(t)}g(){let t;var e=this.v;let r=0|e[tu];return t=tm(this,r),e=function(t,e,r,n){!n&&eG(t)&&(r=0|(e=t.v)[tu]);var i=ez(e,2);if(t=!1,null==i){if(n)return eT();i=[]}else if(i.constructor===ev){if(!(2&i.J)||n)return i;i=i.V()}else Array.isArray(i)?t=!!(2&(0|i[tu])):i=[];if(n){if(!i.length)return eT();t||(t=!0,td(i))}else t&&(t=!1,tp(i),i=e4(i));return!t&&32&r&&tc(i,32),r=eq(e,r,2,n=new ev(i,sR,ef,void 0)),t||eV(e,r),n}(this,e,r,t),!t&&sR&&(e.ra=!0),e}});ig[0x1b4e2414]=[0,sI,nS,[!0,nj,[0,nJ,-1,nq]],[0,nW,nz,n4]];var sP=class extends nt{constructor(t){super(t)}},sM=n5(0x1b4e239e,sP);ig[0x1b4e239e]=[0,i6,nJ,sI];var sC=class extends nt{constructor(t){super(t)}},sO=[0,nG,-1,nY],sN=class extends nt{constructor(t){super(t)}},sU=class extends nt{constructor(t){super(t)}},sD=[1,2];sU.prototype.g=n7([0,sD,nQ,sO,nQ,[0,nZ,sO]]);var sB=class extends nt{constructor(t){super(t)}},sG=n5(0x1a6e638a,sB);ig[0x1a6e638a]=[0,i6,nJ,nH,nU,nq,-1,nz,nU],ig[0x1eaed71d]=sT;var sj=class extends nt{constructor(t){super(t)}},sV=n5(0x1eca7ede,sj);function sX(t,e){return e=e?e.clone():new iJ,void 0!==t.displayNamesLocale?eY(e,1,eu(t.displayNamesLocale)):void 0===t.displayNamesLocale&&eY(e,1),void 0!==t.maxResults?rf(e,2,t.maxResults):"maxResults"in t&&eY(e,2),void 0!==t.scoreThreshold?rd(e,3,t.scoreThreshold):"scoreThreshold"in t&&eY(e,3),void 0!==t.categoryAllowlist?rg(e,4,t.categoryAllowlist):"categoryAllowlist"in t&&eY(e,4),void 0!==t.categoryDenylist?rg(e,5,t.categoryDenylist):"categoryDenylist"in t&&eY(e,5),e}function sH(t){let e=Number(t);return Number.isSafeInteger(e)?e:String(t)}function sW(t,e=-1,r=""){return{categories:t.map(t=>({index:rl(t,1)??0??-1,score:rc(t,2)??0,categoryName:el(eK(t,3))??""??"",displayName:el(eK(t,4))??""??""})),headIndex:e,headName:r}}function sK(t){var e=eJ(t,3,t5,e$()),r=eJ(t,2,et,e$()),n=eJ(t,1,el,e$()),i=eJ(t,9,el,e$());let s={categories:[],keypoints:[]};for(let t=0;t<e.length;t++)s.categories.push({score:e[t],index:r[t]??-1,categoryName:n[t]??"",displayName:i[t]??""});if((e=rr(t,iO,4)?.l())&&(s.boundingBox={originX:rl(e,1,eW)??0,originY:rl(e,2,eW)??0,width:rl(e,3,eW)??0,height:rl(e,4,eW)??0,angle:0}),rr(t,iO,4)?.g().length)for(let e of rr(t,iO,4).g())s.keypoints.push({x:eK(e,1,void 0,eW,t5)??0,y:eK(e,2,void 0,eW,t5)??0,score:eK(e,4,void 0,eW,t5)??0,label:el(eK(e,3,void 0,eW))??""});return s}function sz(t){let e=[];for(let r of ri(t,iB,1))e.push({x:rc(r,1)??0,y:rc(r,2)??0,z:rc(r,3)??0,visibility:rc(r,4)??0});return e}function sY(t){let e=[];for(let r of ri(t,iU,1))e.push({x:rc(r,1)??0,y:rc(r,2)??0,z:rc(r,3)??0,visibility:rc(r,4)??0});return e}function sq(t){return Array.from(t,t=>t>127?t-256:t)}function s$(t,e){if(t.length!==e.length)throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${t.length} vs. ${e.length}).`);let r=0,n=0,i=0;for(let s=0;s<t.length;s++)r+=t[s]*e[s],n+=t[s]*t[s],i+=e[s]*e[s];if(n<=0||i<=0)throw Error("Cannot compute cosine similarity on embedding with 0 norm.");return r/Math.sqrt(n*i)}ig[0x1eca7ede]=[0,i6,sT,sb,nU],ig[0x1eee3800]=sb;let sJ=new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]);async function sZ(t){if(t)return!0;if(void 0===g)try{await WebAssembly.instantiate(sJ),g=!0}catch{g=!1}return g}async function sQ(t,e,r){return{wasmLoaderPath:`${e}/${t}_${r=`wasm${r?"_module":""}${await sZ(r)?"":"_nosimd"}_internal`}.js`,wasmBinaryPath:`${e}/${t}_${r}.wasm`}}var s1=class{};function s2(){var t=navigator;return"undefined"!=typeof OffscreenCanvas&&(!function(t=navigator){return(t=t.userAgent).includes("Safari")&&!t.includes("Chrome")}(t)||!!((t=t.userAgent.match(/Version\/([\d]+).*Safari/))&&t.length>=1&&Number(t[1])>=17))}async function s3(t){if("function"!=typeof importScripts){let e=document.createElement("script");return e.src=t.toString(),e.crossOrigin="anonymous",new Promise((t,r)=>{e.addEventListener("load",()=>{t()},!1),e.addEventListener("error",t=>{r(t)},!1),document.body.appendChild(e)})}try{importScripts(t.toString())}catch(e){if(!(e instanceof TypeError))throw e;{let e=self.import;e?await e(t.toString()):await r(83023)(t.toString())}}}function s4(t){return void 0!==t.videoWidth?[t.videoWidth,t.videoHeight]:void 0!==t.naturalWi
1dth?[t.naturalWidth,t.naturalHeight]:void 0!==t.displayWidth?[t.displayWidth,t.displayHeight]:[t.width,t.height]}function s0(t,e,r){t.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"),r(e=t.i.stringToNewUTF8(e)),t.i._free(e)}function s5(t,e,r){if(!t.i.canvas)throw Error("No OpenGL canvas configured.");if(r?t.i._bindTextureToStream(r):t.i._bindTextureToCanvas(),!(r=t.i.canvas.getContext("webgl2")||t.i.canvas.getContext("webgl")))throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");t.i.gpuOriginForWebTexturesIsBottomLeft&&r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!0),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,e),t.i.gpuOriginForWebTexturesIsBottomLeft&&r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1);let[n,i]=s4(e);return t.l&&(n!==t.i.canvas.width||i!==t.i.canvas.height)&&(t.i.canvas.width=n,t.i.canvas.height=i),[n,i]}function s6(t,e,r){t.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");let n=new Uint32Array(e.length);for(let r=0;r<e.length;r++)n[r]=t.i.stringToNewUTF8(e[r]);for(let i of(e=t.i._malloc(4*n.length),t.i.HEAPU32.set(n,e>>2),r(e),n))t.i._free(i);t.i._free(e)}function s7(t,e,r){t.i.simpleListeners=t.i.simpleListeners||{},t.i.simpleListeners[e]=r}function s8(t,e,r){let n=[];t.i.simpleListeners=t.i.simpleListeners||{},t.i.simpleListeners[e]=(t,e,i)=>{e?(r(n,i),n=[]):n.push(t)}}async function s9(t,e,r,n){return t=await (async(t,e,r,n,i)=>{if(e&&await s3(e),!self.ModuleFactory||r&&(await s3(r),!self.ModuleFactory))throw Error("ModuleFactory not set.");return self.Module&&i&&((e=self.Module).locateFile=i.locateFile,i.mainScriptUrlOrBlob&&(e.mainScriptUrlOrBlob=i.mainScriptUrlOrBlob)),i=await self.ModuleFactory(self.Module||i),self.ModuleFactory=self.Module=void 0,new t(i,n)})(t,r.wasmLoaderPath,r.assetLoaderPath,e,{locateFile:t=>t.endsWith(".wasm")?r.wasmBinaryPath.toString():r.assetBinaryPath&&t.endsWith(".data")?r.assetBinaryPath.toString():t}),await t.o(n),t}function ot(t,e){let r=rr(t.baseOptions,i4,1)||new i4;"string"==typeof e?(eY(r,2,eu(e)),eY(r,1)):e instanceof Uint8Array&&(eY(r,1,t_(e,!1)),eY(r,2)),ro(t.baseOptions,0,1,r)}function oe(t){try{let e=t.H.length;if(1===e)throw Error(t.H[0].message);if(e>1)throw Error("Encountered multiple errors: "+t.H.map(t=>t.message).join(", "))}finally{t.H=[]}}function or(t,e){t.C=Math.max(t.C,e)}function on(t,e){t.B=new iv,rp(t.B,2,"PassThroughCalculator"),iy(t.B,"free_memory"),i_(t.B,"free_memory_unused_out"),iA(e,"free_memory"),ib(e,t.B)}function oi(t,e){iy(t.B,e),i_(t.B,e+"_unused_out")}function os(t){t.g.addBoolToStream(!0,"free_memory",t.C)}s1.forVisionTasks=function(t,e=!1){return sQ("vision",t??ii``,e)},s1.forTextTasks=function(t,e=!1){return sQ("text",t??ii``,e)},s1.forGenAiTasks=function(t,e=!1){return sQ("genai",t??ii``,e)},s1.forAudioTasks=function(t,e=!1){return sQ("audio",t??ii``,e)},s1.isSimdSupported=function(t=!1){return sZ(t)};var oo=class{constructor(t){this.g=t,this.H=[],this.C=0,this.g.setAutoRenderToScreen(!1)}l(t,e=!0){if(e){let e=t.baseOptions||{};if(t.baseOptions?.modelAssetBuffer&&t.baseOptions?.modelAssetPath)throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");if(!(rr(this.baseOptions,i4,1)?.g()||rr(this.baseOptions,i4,1)?.l()||t.baseOptions?.modelAssetBuffer||t.baseOptions?.modelAssetPath))throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");if(function(t,e){let r=rr(t.baseOptions,i2,3);if(!r){var n=r=new i2;ra(n,4,i3,new il)}"delegate"in e&&("GPU"===e.delegate?ra(e=r,2,i3,n=new io):ra(e=r,4,i3,n=new il)),ro(t.baseOptions,0,3,r)}(this,e),e.modelAssetPath)return fetch(e.modelAssetPath.toString()).then(t=>{if(t.ok)return t.arrayBuffer();throw Error(`Failed to fetch model: ${e.modelAssetPath} (${t.status})`)}).then(t=>{try{this.g.i.FS_unlink("/model.dat")}catch{}this.g.i.FS_createDataFile("/","model.dat",new Uint8Array(t),!0,!1,!1),ot(this,"/model.dat"),this.m(),this.L()});if(e.modelAssetBuffer instanceof Uint8Array)ot(this,e.modelAssetBuffer);else if(e.modelAssetBuffer)return(async function(t){let e=[];for(var r=0;;){let{done:n,value:i}=await t.read();if(n)break;e.push(i),r+=i.length}if(0===e.length)return new Uint8Array(0);if(1===e.length)return e[0];for(let n of(t=new Uint8Array(r),r=0,e))t.set(n,r),r+=n.length;return t})(e.modelAssetBuffer).then(t=>{ot(this,t),this.m(),this.L()})}return this.m(),this.L(),Promise.resolve()}L(){}ca(){let t;if(this.g.ca(e=>{t=iL(e)}),!t)throw Error("Failed to retrieve CalculatorGraphConfig");return t}setGraph(t,e){this.g.attachErrorListener((t,e)=>{this.H.push(Error(e))}),this.g.Ja(),this.g.setGraph(t,e),this.B=void 0,oe(this)}finishProcessing(){this.g.finishProcessing(),oe(this)}close(){this.B=void 0,this.g.closeGraph()}};function oa(t,e){if(!t)throw Error(`Unable to obtain required WebGL resource: ${e}`);return t}oo.prototype.close=oo.prototype.close;class oh{constructor(t,e,r,n){this.g=t,this.h=e,this.m=r,this.l=n}bind(){this.g.bindVertexArray(this.h)}close(){this.g.deleteVertexArray(this.h),this.g.deleteBuffer(this.m),this.g.deleteBuffer(this.l)}}function ou(t,e,r){let n=t.g;if(r=oa(n.createShader(r),"Failed to create WebGL shader"),n.shaderSource(r,e),n.compileShader(r),!n.getShaderParameter(r,n.COMPILE_STATUS))throw Error(`Could not compile WebGL shader: ${n.getShaderInfoLog(r)}`);return n.attachShader(t.h,r),r}function ol(t,e){let r=t.g,n=oa(r.createVertexArray(),"Failed to create vertex array");r.bindVertexArray(n);let i=oa(r.createBuffer(),"Failed to create buffer");r.bindBuffer(r.ARRAY_BUFFER,i),r.enableVertexAttribArray(t.O),r.vertexAttribPointer(t.O,2,r.FLOAT,!1,0,0),r.bufferData(r.ARRAY_BUFFER,new Float32Array([-1,-1,-1,1,1,1,1,-1]),r.STATIC_DRAW);let s=oa(r.createBuffer(),"Failed to create buffer");return r.bindBuffer(r.ARRAY_BUFFER,s),r.enableVertexAttribArray(t.L),r.vertexAttribPointer(t.L,2,r.FLOAT,!1,0,0),r.bufferData(r.ARRAY_BUFFER,new Float32Array(e?[0,1,0,0,1,0,1,1]:[0,0,0,1,1,1,1,0]),r.STATIC_DRAW),r.b
vendor: 24,108 bytes, line 1
1indBuffer(r.ARRAY_BUFFER,null),r.bindVertexArray(null),new oh(r,n,i,s)}function oc(t,e){if(t.g){if(e!==t.g)throw Error("Cannot change GL context once initialized")}else t.g=e}function of(t,e,r,n){return oc(t,e),t.h||(t.m(),t.D()),r?(t.u||(t.u=ol(t,!0)),r=t.u):(t.A||(t.A=ol(t,!1)),r=t.A),e.useProgram(t.h),r.bind(),t.l(),t=n(),r.g.bindVertexArray(null),t}function od(t,e,r){return oc(t,e),t=oa(e.createTexture(),"Failed to create texture"),e.bindTexture(e.TEXTURE_2D,t),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,r??e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,r??e.LINEAR),e.bindTexture(e.TEXTURE_2D,null),t}function op(t,e,r){oc(t,e),t.B||(t.B=oa(e.createFramebuffer(),"Failed to create framebuffe.")),e.bindFramebuffer(e.FRAMEBUFFER,t.B),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,r,0)}function og(t){t.g?.bindFramebuffer(t.g.FRAMEBUFFER,null)}var om=class{H(){return"\n precision mediump float;\n varying vec2 vTex;\n uniform sampler2D inputTexture;\n void main() {\n gl_FragColor = texture2D(inputTexture, vTex);\n }\n "}m(){let t=this.g;if(this.h=oa(t.createProgram(),"Failed to create WebGL program"),this.X=ou(this,"\n attribute vec2 aVertex;\n attribute vec2 aTex;\n varying vec2 vTex;\n void main(void) {\n gl_Position = vec4(aVertex, 0.0, 1.0);\n vTex = aTex;\n }",t.VERTEX_SHADER),this.W=ou(this,this.H(),t.FRAGMENT_SHADER),t.linkProgram(this.h),!t.getProgramParameter(this.h,t.LINK_STATUS))throw Error(`Error during program linking: ${t.getProgramInfoLog(this.h)}`);this.O=t.getAttribLocation(this.h,"aVertex"),this.L=t.getAttribLocation(this.h,"aTex")}D(){}l(){}close(){if(this.h){let t=this.g;t.deleteProgram(this.h),t.deleteShader(this.X),t.deleteShader(this.W)}this.B&&this.g.deleteFramebuffer(this.B),this.A&&this.A.close(),this.u&&this.u.close()}},oy=class extends om{H(){return"\n precision mediump float;\n uniform sampler2D backgroundTexture;\n uniform sampler2D maskTexture;\n uniform sampler2D colorMappingTexture;\n varying vec2 vTex;\n void main() {\n vec4 backgroundColor = texture2D(backgroundTexture, vTex);\n float category = texture2D(maskTexture, vTex).r;\n vec4 categoryColor = texture2D(colorMappingTexture, vec2(category, 0.0));\n gl_FragColor = mix(backgroundColor, categoryColor, categoryColor.a);\n }\n "}D(){let t=this.g;t.activeTexture(t.TEXTURE1),this.C=od(this,t,t.LINEAR),t.activeTexture(t.TEXTURE2),this.j=od(this,t,t.NEAREST)}m(){super.m();let t=this.g;this.P=oa(t.getUniformLocation(this.h,"backgroundTexture"),"Uniform location"),this.U=oa(t.getUniformLocation(this.h,"colorMappingTexture"),"Uniform location"),this.M=oa(t.getUniformLocation(this.h,"maskTexture"),"Uniform location")}l(){super.l();let t=this.g;t.uniform1i(this.M,0),t.uniform1i(this.P,1),t.uniform1i(this.U,2)}close(){this.C&&this.g.deleteTexture(this.C),this.j&&this.g.deleteTexture(this.j),super.close()}},o_=class extends om{H(){return"\n precision mediump float;\n uniform sampler2D maskTexture;\n uniform sampler2D defaultTexture;\n uniform sampler2D overlayTexture;\n varying vec2 vTex;\n void main() {\n float confidence = texture2D(maskTexture, vTex).r;\n vec4 defaultColor = texture2D(defaultTexture, vTex);\n vec4 overlayColor = texture2D(overlayTexture, vTex);\n // Apply the alpha from the overlay and merge in the default color\n overlayColor = mix(defaultColor, overlayColor, overlayColor.a);\n gl_FragColor = mix(defaultColor, overlayColor, confidence);\n }\n "}D(){let t=this.g;t.activeTexture(t.TEXTURE1),this.j=od(this,t),t.activeTexture(t.TEXTURE2),this.C=od(this,t)}m(){super.m();let t=this.g;this.M=oa(t.getUniformLocation(this.h,"defaultTexture"),"Uniform location"),this.P=oa(t.getUniformLocation(this.h,"overlayTexture"),"Uniform location"),this.I=oa(t.getUniformLocation(this.h,"maskTexture"),"Uniform location")}l(){super.l();let t=this.g;t.uniform1i(this.I,0),t.uniform1i(this.M,1),t.uniform1i(this.P,2)}close(){this.j&&this.g.deleteTexture(this.j),this.C&&this.g.deleteTexture(this.C),super.close()}};function ov(t,e){switch(e){case 0:return t.g.find(t=>t instanceof Uint8Array);case 1:return t.g.find(t=>t instanceof Float32Array);case 2:return t.g.find(t=>"undefined"!=typeof WebGLTexture&&t instanceof WebGLTexture);default:throw Error(`Type is not supported: ${e}`)}}function oE(t){var e=ov(t,1);if(!e){if(e=ov(t,0))e=new Float32Array(e).map(t=>t/255);else{e=new Float32Array(t.width*t.height);let n=oT(t);var r=oA(t);if(op(r,n,ow(t)),"iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"document"in self&&"ontouchend"in self.document){r=new Float32Array(t.width*t.height*4),n.readPixels(0,0,t.width,t.height,n.RGBA,n.FLOAT,r);for(let t=0,n=0;t<e.length;++t,n+=4)e[t]=r[n]}else n.readPixels(0,0,t.width,t.height,n.RED,n.FLOAT,e)}t.g.push(e)}return e}function ow(t){let e=ov(t,2);if(!e){let r=oT(t);e=ok(t);let n=oE(t),i=ob(t);r.texImage2D(r.TEXTURE_2D,0,i,t.width,t.height,0,r.RED,r.FLOAT,n),ox(t)}return e}function oT(t){if(!t.canvas)throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");return t.h||(t.h=oa(t.canvas.getContext("webgl2"),"You cannot use a canvas that is already bound to a different type of rendering context.")),t.h}function ob(t){if(t=oT(t),!oL)if(t.getExtension("EXT_color_buffer_float")&&t.getExtension("OES_texture_float_linear")&&t.getExtension("EXT_float_blend"))oL=t.R32F;else{if(!t.getExtension("EXT_color_buffer_half_float"))throw Error("GPU does not fully support 4-channel float32 or float16 formats");oL=t.R16F}return oL}function oA(t){return t.l||(t.l=new om),t.l}function ok(t){let e=oT(t);e.viewport(0,0,t.width,t.height),e.activeTexture(e.TEXTURE0);let r=ov(t,2);return r||(r=od(oA(t),e,t.m?e.LINEAR:e.NEAREST),t.g.push(r),t.j=!0),e.bindTexture(e.TEXTURE_2D,r),r}function ox(t){t.h.bindTexture(t.h.TEXTURE_2D,null)}var oS,oL,oR=class{constructor(t,e,r,n,i,s,o){this.g=t,this.m=e,this.j=r,this.canvas=n,this.l=i,this.width=s,this.height=o,this.j&&0==--oI&&console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.")}Fa(){return!!ov(this,0)}ka(){return!!ov(this,1)}R(){return!!ov(this,2)}ja(){var t;return(t=ov(this,0))||(t=new Uint8Array((t=oE(this)).map(t=>Math.round(255*t))),this.g.push(t)),t}ia(){return oE(this)}N(){return ow(this)}clone(){let t=[];for(let e of this.g){let r;if(e instanceof Uint8Array)r=new Uint8Array(e);else if(e instanceof Float32Array)r=new Float32Array(e);else{if(!(e instanceof WebGLTexture))throw Error(`Type is not supported: ${e}`);{let t=oT(this),e=oA(this);t.activeTexture(t.TEXTURE1),r=od(e,t,this.m?t.LINEAR:t.NEAREST),t.bindTexture(t.TEXTURE_2D,r);let n=ob(this);t.texImage2D(t.TEXTURE_2D,0,n,this.width,this.height,0,t.RED,t.FLOAT,null),t.bindTexture(t.TEXTURE_2D,null),op(e,t,r),of(e,t,!1,()=>{ok(this),t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),t.drawArrays(t.TRIANGLE_FAN,0,4),ox(this)}),og(e),ox(this)}}t.push(r)}return new oR(t,this.m,this.R(),this.canvas,this.l,this.width,this.height)}close(){this.j&&oT(this).deleteTexture(ov(this,2)),oI=-1}};oR.prototype.close=oR.prototype.close,oR.prototype.clone=oR.prototype.clone,oR.prototype.getAsWebGLTexture=oR.prototype.N,oR.prototype.getAsFloat32Array=oR.prototype.ia,oR.prototype.getAsUint8Array=oR.prototype.ja,oR.prototype.hasWebGLTexture=oR.prototype.R,oR.prototype.hasFloat32Array=oR.prototype.ka,oR.prototype.hasUint8Array=oR.prototype.Fa;var oI=250;let oF={color:"white",lineWidth:4,radius:6};function oP(t){return{...oF,fillColor:(t=t||{}).color,...t}}function oM(t,e){return t instanceof Function?t(e):t}function oC(t,e,r){return Math.max(Math.min(e,r),Math.min(Math.max(e,r),t))}function oO(t){if(!t.l)throw Error("CPU rendering requested but CanvasRenderingContext2D not provided.");return t.l}function oN(t){if(!t.j)throw Error("GPU rendering requested but WebGL2RenderingContext not provided.");return t.j}function oU(t,e,r){if(e.R())r(e.N());else{let n=e.ka()?e.ia():e.ja();t.m=t.m??new om;let i=oN(t);r((t=new oR([n],e.m,!1,i.canvas,t.m,e.width,e.height)).N()),t.close()}}function oD(t,e,r,n){let i=(t.g||(t.g=new oy),t.g),s=oN(t),o=Array.isArray(r)?new ImageData(new Uint8ClampedArray(r),1,1):r;of(i,s,!0,()=>{!function(t,e,r,n){let i=t.g;if(i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,e),i.activeTexture(i.TEXTURE1),i.bindTexture(i.TEXTURE_2D,t.C),i.texImage2D(i.TEXTURE_2D,0,i.RGBA,i.RGBA,i.UNSIGNED_BYTE,r),t.I&&function(t,e){if(t!==e)return!1;for(let[r,n]of(t=t.entries(),e=e.entries(),t)){t=r;let i=e.next();if(i.done)return!1;let[s,o]=i.value;if(t!==s||n[0]!==o[0]||n[1]!==o[1]||n[2]!==o[2]||n[3]!==o[3])return!1}return!!e.next().done}(t.I,n))i.activeTexture(i.TEXTURE2),i.bindTexture(i.TEXTURE_2D,t.j);else{t.I=n;let e=Array(1024).fill(0);n.forEach((t,r)=>{if(4!==t.length)throw Error(`Color at index ${r} is not a four-channel value.`);e[4*r]=t[0],e[4*r+1]=t[1],e[4*r+2]=t[2],e[4*r+3]=t[3]}),i.activeTexture(i.TEXTURE2),i.bindTexture(i.TEXTURE_2D,t.j),i.texImage2D(i.TEXTURE_2D,0,i.RGBA,256,1,0,i.RGBA,i.UNSIGNED_BYTE,new Uint8Array(e))}}(i,e,o,n),s.clearColor(0,0,0,0),s.clear(s.COLOR_BUFFER_BIT),s.drawArrays(s.TRIANGLE_FAN,0,4);let t=i.g;t.activeTexture(t.TEXTURE0),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE2),t.bindTexture(t.TEXTURE_2D,null)})}function oB(t,e,r,n){let i=oN(t),s=(t.h||(t.h=new o_),t.h),o=Array.isArray(r)?new ImageData(new Uint8ClampedArray(r),1,1):r,a=Array.isArray(n)?new ImageData(new Uint8ClampedArray(n),1,1):n;of(s,i,!0,()=>{var t=s.g;t.activeTexture(t.TEXTURE0),t.bindTexture(t.TEXTURE_2D,e),t.activeTexture(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,s.j),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,o),t.activeTexture(t.TEXTURE2),t.bindTexture(t.TEXTURE_2D,s.C),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,a),i.clearColor(0,0,0,0),i.clear(i.COLOR_BUFFER_BIT),i.drawArrays(i.TRIANGLE_FAN,0,4),i.bindTexture(i.TEXTURE_2D,null),(t=s.g).activeTexture(t.TEXTURE0),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE2),t.bindTexture(t.TEXTURE_2D,null)})}var oG=class{constructor(t,e){"undefined"!=typeof CanvasRenderingContext2D&&t instanceof CanvasRenderingContext2D||t instanceof OffscreenCanvasRenderingContext2D?(this.l=t,this.j=e):this.j=t}ya(t,e){if(t){var r=oO(this);e=oP(e),r.save();var n=r.canvas,i=0;for(let s of t)r.fillStyle=oM(e.fillColor,{index:i,from:s}),r.strokeStyle=oM(e.color,{index:i,from:s}),r.lineWidth=oM(e.lineWidth,{index:i,from:s}),(t=new Path2D).arc(s.x*n.width,s.y*n.height,oM(e.radius,{index:i,from:s}),0,2*Math.PI),r.fill(t),r.stroke(t),++i;r.restore()}}xa(t,e,r){if(t&&e){var n=oO(this);r=oP(r),n.save();var i=n.canvas,s=0;for(let o of e){n.beginPath(),e=t[o.start];let a=t[o.end];e&&a&&(n.strokeStyle=oM(r.color,{index:s,from:e,to:a}),n.lineWidth=oM(r.lineWidth,{index:s,from:e,to:a}),n.moveTo(e.x*i.width,e.y*i.height),n.lineTo(a.x*i.width,a.y*i.height)),++s,n.stroke()}n.restore()}}ua(t,e){let r=oO(this);e=oP(e),r.save(),r.beginPath(),r.lineWidth=oM(e.lineWidth,{}),r.strokeStyle=oM(e.color,{}),r.fillStyle=oM(e.fillColor,{}),r.moveTo(t.originX,t.originY),r.lineTo(t.originX+t.width,t.originY),r.lineTo(t.originX+t.width,t.originY+t.height),r.lineTo(t.originX,t.originY+t.height),r.lineTo(t.originX,t.originY),r.stroke(),r.fill(),r.restore()}va(t,e,r=[0,0,0,255]){this.l?function(t,e,r,n){let i=oN(t);oU(t,e,e=>{oD(t,e,r,n),(e=oO(t)).drawImage(i.canvas,0,0,e.canvas.width,e.canvas.height)})}(this,t,r,e):oD(this,t.N(),r,e)}wa(t,e,r){this.l?function(t,e,r,n){let i=oN(t);oU(t,e,e=>{oB(t,e,r,n),(e=oO(t)).drawImage(i.canvas,0,0,e.canvas.width,e.canvas.height)})}(this,t,e,r):oB(this,t.N(),e,r)}close(){this.g?.close(),this.g=void 0,this.h?.close(),this.h=void 0,this.m?.close(),this.m=void 0}};function oj(t,e){switch(e){case 0:return t.g.find(t=>t instanceof ImageData);case 1:return t.g.find(t=>"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap);case 2:return t.g.find(t=>"undefined"!=typeof WebGLTexture&&t instanceof WebGLTexture);default:throw Error(`Type is not supported: ${e}`)}}function oV(t){var e=oj(t,0);if(!e){e=oH(t);let r=oW(t),n=new Uint8Array(t.width*t.height*4);op(r,e,oX(t)),e.readPixels(0,0,t.width,t.height,e.RGBA,e.UNSIGNED_BYTE,n),og(r),e=new ImageData(new Uint8ClampedArray(n.buffer),t.width,t.height),t.g.push(e)}return e}function oX(t){let e=oj(t,2);if(!e){let r=oH(t);e=oK(t);let n=oj(t,1)||oV(t);r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,n),oz(t)}return e}function oH(t){if(!t.canvas)throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");return t.h||(t.h=oa(t.canvas.getContext("webgl2"),"You cannot use a canvas that is already bound to a different type of rendering context.")),t.h}function oW(t){return t.l||(t.l=new om),t.l}function oK(t){let e=oH(t);e.viewport(0,0,t.width,t.height),e.activeTexture(e.TEXTURE0);let r=oj(t,2);return r||(r=od(oW(t),e),t.g.push(r),t.m=!0),e.bindTexture(e.TEXTURE_2D,r),r}function oz(t){t.h.bindTexture(t.h.TEXTURE_2D,null)}function oY(t){let e=oH(t);return of(oW(t),e,!0,()=>(function(t,e){let r=t.canvas;if(r.width===t.width&&r.height===t.height)return e();let n=r.width,i=r.height;return r.width=t.width,r.height=t.height,t=e(),r.width=n,r.height=i,t})(t,()=>{if(e.bindFramebuffer(e.FRAMEBUFFER,null),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.drawArrays(e.TRIANGLE_FAN,0,4),!(t.canvas instanceof OffscreenCanvas))throw Error("Conversion to ImageBitmap requires that the MediaPipe Tasks is initialized with an OffscreenCanvas");return t.canvas.transferToImageBitmap()}))}oG.prototype.close=oG.prototype.close,oG.prototype.drawConfidenceMask=oG.prototype.wa,oG.prototype.drawCategoryMask=oG.prototype.va,oG.prototype.drawBoundingBox=oG.prototype.ua,oG.prototype.drawConnectors=oG.prototype.xa,oG.prototype.drawLandmarks=oG.prototype.ya,oG.lerp=function(t,e,r,n,i){return oC(n*(1-(t-e)/(r-e))+i*(1-(r-t)/(r-e)),n,i)},oG.clamp=oC;var oq=class{constructor(t,e,r,n,i,s,o){this.g=t,this.j=e,this.m=r,this.canvas=n,this.l=i,this.width=s,this.height=o,(this.j||this.m)&&0==--o$&&console.error("You seem to be creating MPImage instances without invoking .close(). This leaks resources.")}Ea(){return!!oj(this,0)}la(){return!!oj(this,1)}R(){return!!oj(this,2)}Ca(){return oV(this)}Ba(){var t=oj(this,1);return t||(oX(this),oK(this),t=oY(this),oz(this),this.g.push(t),this.j=!0),t}N(){return oX(this)}clone(){let t=[];for(let e of this.g){let r;if(e instanceof ImageData)r=new ImageData(e.data,this.width,this.height);else if(e instanceof WebGLTexture){let t=oH(this),e=oW(this);t.activeTexture(t.TEXTURE1),r=od(e,t),t.bindTexture(t.TEXTURE_2D,r),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,this.width,this.height,0,t.RGBA,t.UNSIGNED_BYTE,null),t.bindTexture(t.TEXTURE_2D,null),op(e,t,r),of(e,t,!1,()=>{oK(this),t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),t.drawArrays(t.TRIANGLE_FAN,0,4),oz(this)}),og(e),oz(this)}else{if(!(e instanceof ImageBitmap))throw Error(`Type is not supported: ${e}`);oX(this),oK(this),r=oY(this),oz(this)}t.push(r)}return new oq(t,this.la(),this.R(),this.canvas,this.l,this.width,this.height)}close(){this.j&&oj(this,1).close(),this.m&&oH(this).deleteTexture(oj(this,2)),o$=-1}};oq.prototype.close=oq.prototype.close,oq.prototype.clone=oq.prototype.clone,oq.prototype.getAsWebGLTexture=oq.prototype.N,oq.prototype.getAsImageBitmap=oq.prototype.Ba,oq.prototype.getAsImageData=oq.prototype.Ca,oq.prototype.hasWebGLTexture=oq.prototype.R,oq.prototype.hasImageBitmap=oq.prototype.la,oq.prototype.hasImageData=oq.prototype.Ea;var o$=250;function oJ(...t){return t.map(([t,e])=>({start:t,end:e}))}let oZ=function(t){return class extends t{Ja(){this.i._registerModelResourcesGraphService()}}}((oQ=class{constructor(t,e){this.l=!0,this.i=t,this.g=null,this.h=0,this.m="function"==typeof this.i._addIntToInputStream,void 0!==e?this.i.canvas=e:s2()?this.i.canvas=new OffscreenCanvas(1,1):(console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."),this.i.canvas=document.createElement("canvas"))}async initializeGraph(t){let e=await (await fetch(t)).arrayBuffer();t=!(t.endsWith(".pbtxt")||t.endsWith(".textproto")),this.setGraph(new Uint8Array(e),t)}setGraphFromString(t){this.setGraph((new TextEncoder).encode(t),!1)}setGraph(t,e){let r=t.length,n=this.i._malloc(r);this.i.HEAPU8.set(t,n),e?this.i._changeBinaryGraph(r,n):this.i._changeTextGraph(r,n),this.i._free(n)}configureAudio(t,e,r,n,i){this.i._configureAudio||console.warn('Attempting to use configureAudio without support for input audio. Is build dep ":gl_graph_runner_audio" missing?'),s0(this,n||"input_audio",n=>{s0(this,i=i||"audio_header",i=>{this.i._configureAudio(n,i,t,e??0,r)})})}setAutoResizeCanvas(t){this.l=t}setAutoRenderToScreen(t){this.i._setAutoRenderToScreen(t)}setGpuBufferVerticalFlip(t){this.i.gpuOriginForWebTexturesIsBottomLeft=t}ca(t){s7(this,"__graph_config__",e=>{t(e)}),s0(this,"__graph_config__",t=>{this.i._getGraphConfig(t,void 0)}),delete this.i.simpleListeners.__graph_config__}attachErrorListener(t){this.i.errorListener=t}attachEmptyPacketListener(t,e){this.i.emptyPacketListeners=this.i.emptyPacketListeners||{},this.i.emptyPacketListeners[t]=e}addAudioToStream(t,e,r){this.addAudioToStreamWithShape(t,0,0,e,r)}addAudioToStreamWithShape(t,e,r,n,i){let s=4*t.length;this.h!==s&&(this.g&&this.i._free(this.g),this.g=this.i._malloc(s),this.h=s),this.i.HEAPF32.set(t,this.g/4),s0(this,n,t=>{this.i._addAudioToInputStream(this.g,e,r,t,i)})}addGpuBufferToStream(t,e,r){s0(this,e,e=>{let[n,i]=s5(this,t,e);this.i._addBoundTextureToStream(e,n,i,r)})}addBoolToStream(t,e,r){s0(this,e,e=>{this.i._addBoolToInputStream(t,e,r)})}addDoubleToStream(t,e,r){s0(this,e,e=>{this.i._addDoubleToInputStream(t,e,r)})}addFloatToStream(t,e,r){s0(this,e,e=>{this.i._addFloatToInputStream(t,e,r)})}addIntToStream(t,e,r){s0(this,e,e=>{this.i._addIntToInputStream(t,e,r)})}addUintToStream(t,e,r){s0(this,e,e=>{this.i._addUintToInputStream(t,e,r)})}addStringToStream(t,e,r){s0(this,e,e=>{s0(this,t,t=>{this.i._addStringToInputStream(t,e,r)})})}addStringRecordToStream(t,e,r){s0(this,e,e=>{s6(this,Object.keys(t),n=>{s6(this,Object.values(t),i=>{this.i._addFlatHashMapToInputStream(n,i,Object.keys(t).length,e,r)})})})}addProtoToStream(t,e,r,n){s0(this,r,r=>{s0(this,e,e=>{let i=this.i._malloc(t.length);this.i.HEAPU8.set(t,i),this.i._addProtoToInputStream(i,t.length,e,r,n),this.i._free(i)})})}addEmptyPacketToStream(t,e){s0(this,t,t=>{this.i._addEmptyPacketToInputStream(t,e)})}addBoolVectorToStream(t,e,r){s0(this,e,e=>{let n=this.i._allocateBoolVector(t.length);if(!n)throw Error("Unable to allocate new bool vector on heap.");for(let e of t)this.i._addBoolVectorEntry(n,e);this.i._addBoolVectorToInputStream(n,e,r)})}addDoubleVectorToStream(t,e,r){s0(this,e,e=>{let n=this.i._allocateDoubleVector(t.length);if(!n)throw Error("Unable to allocate new double vector on heap.");for(let e of t)this.i._addDoubleVectorEntry(n,e);this.i._addDoubleVectorToInputStream(n,e,r)})}addFloatVectorToStream(t,e,r){s0(this,e,e=>{let n=this.i._allocateFloatVector(t.length);if(!n)throw Error("Unable to allocate new float vector on heap.");for(let e of t)this.i._addFloatVectorEntry(n,e);this.i._addFloatVectorToInputStream(n,e,r)})}addIntVectorToStream(t,e,r){s0(this,e,e=>{let n=this.i._allocateIntVector(t.length);if(!n)throw Error("Unable to allocate new int vector on heap.");for(let e of t)this.i._addIntVectorEntry(n,e);this.i._addIntVectorToInputStream(n,e,r)})}addUintVectorToStream(t,e,r){s0(this,e,e=>{let n=this.i._allocateUintVector(t.length);if(!n)throw Error("Unable to allocate new unsigned int vector on heap.");for(let e of t)this.i._addUintVectorEntry(n,e);this.i._addUintVectorToInputStream(n,e,r)})}addStringVectorToStream(t,e,r){s0(this,e,e=>{let n=this.i._allocateStringVector(t.length);if(!n)throw Error("Unable to allocate new string vector on heap.");for(let e of t)s0(this,e,t=>{this.i._addStringVectorEntry(n,t)});this.i._addStringVectorToInputStream(n,e,r)})}addBoolToInputSidePacket(t,e){s0(this,e,e=>{this.i._addBoolToInputSidePacket(t,e)})}addDoubleToInputSidePacket(t,e){s0(this,e,e=>{this.i._addDoubleToInputSidePacket(t,e)})}addFloatToInputSidePacket(t,e){s0(this,e,e=>{this.i._addFloatToInputSidePacket(t,e)})}addIntToInputSidePacket(t,e){s0(this,e,e=>{this.i._addIntToInputSidePacket(t,e)})}addUintToInputSidePacket(t,e){s0(this,e,e=>{this.i._addUintToInputSidePacket(t,e)})}addStringToInputSidePacket(t,e){s0(this,e,e=>{s0(this,t,t=>{this.i._addStringToInputSidePacket(t,e)})})}addProtoToInputSidePacket(t,e,r){s0(this,r,r=>{s0(this,e,e=>{let n=this.i._malloc(t.length);this.i.HEAPU8.set(t,n),this.i._addProtoToInputSidePacket(n,t.length,e,r),this.i._free(n)})})}addBoolVectorToInputSidePacket(t,e){s0(this,e,e=>{let r=this.i._allocateBoolVector(t.length);if(!r)throw Error("Unable to allocate new bool vector on heap.");for(let e of t)this.i._addBoolVectorEntry(r,e);this.i._addBoolVectorToInputSidePacket(r,e)})}addDoubleVectorToInputSidePacket(t,e){s0(this,e,e=>{let r=this.i._allocateDoubleVector(t.length);if(!r)throw Error("Unable to allocate new double vector on heap.");for(let e of t)this.i._addDoubleVectorEntry(r,e);this.i._addDoubleVectorToInputSidePacket(r,e)})}addFloatVectorToInputSidePacket(t,e){s0(this,e,e=>{let r=this.i._allocateFloatVector(t.length);if(!r)throw Error("Unable to allocate new float vector on heap.");for(let e of t)this.i._addFloatVectorEntry(r,e);this.i._addFloatVectorToInputSidePacket(r,e)})}addIntVectorToInputSidePacket(t,e){s0(this,e,e=>{let r=this.i._allocateIntVector(t.length);if(!r)throw Error("Unable to allocate new int vector on heap.");for(let e of t)this.i._addIntVectorEntry(r,e);this.i._addIntVectorToInputSidePacket(r,e)})}addUintVectorToInputSidePacket(t,e){s0(this,e,e=>{let r=this.i._allocateUintVector(t.length);if(!r)throw Error("Unable to allocate new unsigned int vector on heap.");for(let e of t)this.i._addUintVectorEntry(r,e);this.i._addUintVectorToInputSidePacket(r,e)})}addStringVectorToInputSidePacket(t,e){s0(this,e,e=>{let r=this.i._allocateStringVector(t.length);if(!r)throw Error("Unable to allocate new string vector on heap.");for(let e of t)s0(this,e,t=>{this.i._addStringVectorEntry(r,t)});this.i._addStringVectorToInputSidePacket(r,e)})}attachBoolListener(t,e){s7(this,t,e),s0(this,t,t=>{this.i._attachBoolListener(t)})}attachBoolVectorListener(t,e){s8(this,t,e),s0(this,t,t=>{this.i._attachBoolVectorListener(t)})}attachIntListener(t,e){s7(this,t,e),s0(this,t,t=>{this.i._attachIntListener(t)})}attachIntVectorListener(t,e){s8(this,t,e),s0(this,t,t=>{this.i._attachIntVectorListener(t)})}attachUintListener(t,e){s7(this,t,e),s0(this,t,t=>{this.i._attachUintListener(t)})}attachUintVectorListener(t,e){s8(this,t,e),s0(this,t,t=>{this.i._attachUintVectorListener(t)})}attachDoubleListener(t,e){s7(this,t,e),s0(this,t,t=>{this.i._attachDoubleListener(t)})}attachDoubleVectorListener(t,e){s8(this,t,e),s0(this,t,t=>{this.i._attachDoubleVectorListener(t)})}attachFloatListener(t,e){s7(this,t,e),s0(this,t,t=>{this.i._attachFloatListener(t)})}attachFloatVectorListener(t,e){s8(this,t,e),s0(this,t,t=>{this.i._attachFloatVectorListener(t)})}attachStringListener(t,e){s7(this,t,e),s0(this,t,t=>{this.i._attachStringListener(t)})}attachStringVectorListener(t,e){s8(this,t,e),s0(this,t,t=>{this.i._attachStringVectorListener(t)})}attachProtoListener(t,e,r){s7(this,t,e),s0(this,t,t=>{this.i._attachProtoListener(t,r||!1)})}attachProtoVectorListener(t,e,r){s8(this,t,e),s0(this,t,t=>{this.i._attachProtoVectorListener(t,r||!1)})}attachAudioListener(t,e,r){this.i._attachAudioListener||console.warn('Attempting to use attachAudioListener without support for output audio. Is build dep ":gl_graph_runner_audio_out" missing?'),s7(this,t,(t,r)=>
1{e(t=new Float32Array(t.buffer,t.byteOffset,t.length/4),r)}),s0(this,t,t=>{this.i._attachAudioListener(t,r||!1)})}finishProcessing(){this.i._waitUntilIdle()}closeGraph(){this.i._closeGraph(),this.i.simpleListeners=void 0,this.i.emptyPacketListeners=void 0}},class extends oQ{get ga(){return this.i}pa(t,e,r){s0(this,e,e=>{let[n,i]=s5(this,t,e);this.ga._addBoundTextureAsImageToStream(e,n,i,r)})}Z(t,e){s7(this,t,e),s0(this,t,t=>{this.ga._attachImageListener(t)})}aa(t,e){s8(this,t,e),s0(this,t,t=>{this.ga._attachImageVectorListener(t)})}}));var oQ,o1=class extends oZ{};async function o2(t,e,r){return async function(t,e,r,n){return s9(t,e,r,n)}(t,r.canvas??(s2()?void 0:document.createElement("canvas")),e,r)}function o3(t,e,r,n){if(t.U){let s=new iX;if(r?.regionOfInterest){if(!t.oa)throw Error("This task doesn't support region-of-interest.");var i=r.regionOfInterest;if(i.left>=i.right||i.top>=i.bottom)throw Error("Expected RectF with left < right and top < bottom.");if(i.left<0||i.top<0||i.right>1||i.bottom>1)throw Error("Expected RectF values to be in [0,1].");rd(s,1,(i.left+i.right)/2),rd(s,2,(i.top+i.bottom)/2),rd(s,4,i.right-i.left),rd(s,3,i.bottom-i.top)}else rd(s,1,.5),rd(s,2,.5),rd(s,4,1),rd(s,3,1);if(r?.rotationDegrees){if(r?.rotationDegrees%90!=0)throw Error("Expected rotation to be a multiple of 90\xb0.");if(rd(s,5,-Math.PI*r.rotationDegrees/180),r?.rotationDegrees%180!=0){let[t,n]=s4(e);r=rc(s,3)*n/t,i=rc(s,4)*t/n,rd(s,4,r),rd(s,3,i)}}t.g.addProtoToStream(s.g(),"mediapipe.NormalizedRect",t.U,n)}t.g.pa(e,t.X,n??performance.now()),t.finishProcessing()}function o4(t,e,r){if(t.baseOptions?.g())throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");o3(t,e,r,t.C+1)}function o0(t,e,r,n){if(!t.baseOptions?.g())throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");o3(t,e,r,n)}function o5(t,e,r,n){var i=e.data;let s=e.width,o=s*(e=e.height);if((i instanceof Uint8Array||i instanceof Float32Array)&&i.length!==o)throw Error("Unsupported channel count: "+i.length/o);return t=new oR([i],r,!1,t.g.i.canvas,t.P,s,e),n?t.clone():t}var o6=class extends oo{constructor(t,e,r,n){super(t),this.g=t,this.X=e,this.U=r,this.oa=n,this.P=new om}l(t,e=!0){if("runningMode"in t&&eY(this.baseOptions,2,t6(!!t.runningMode&&"IMAGE"!==t.runningMode)),void 0!==t.canvas&&this.g.i.canvas!==t.canvas)throw Error("You must create a new task to reset the canvas.");return super.l(t,e)}close(){this.P.close(),super.close()}};o6.prototype.close=o6.prototype.close;var o7=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect_in",!1),this.j={detections:[]},ro(t=this.h=new i7,0,1,e=new i0),rd(this.h,2,.5),rd(this.h,3,.3)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return"minDetectionConfidence"in t&&rd(this.h,2,t.minDetectionConfidence??.5),"minSuppressionThreshold"in t&&rd(this.h,3,t.minSuppressionThreshold??.3),this.l(t)}F(t,e){return this.j={detections:[]},o4(this,t,e),this.j}G(t,e,r){return this.j={detections:[]},o0(this,t,r,e),this.j}m(){var t=new ix;iA(t,"image_in"),iA(t,"norm_rect_in"),ik(t,"detections");let e=new ip;r9(e,i9,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.face_detector.FaceDetectorGraph"),iy(r,"IMAGE:image_in"),iy(r,"NORM_RECT:norm_rect_in"),i_(r,"DETECTIONS:detections"),r.o(e),ib(t,r),this.g.attachProtoVectorListener("detections",(t,e)=>{for(let e of t)t=iN(e),this.j.detections.push(sK(t));or(this,e)}),this.g.attachEmptyPacketListener("detections",t=>{or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};o7.prototype.detectForVideo=o7.prototype.G,o7.prototype.detect=o7.prototype.F,o7.prototype.setOptions=o7.prototype.o,o7.createFromModelPath=async function(t,e){return o2(o7,t,{baseOptions:{modelAssetPath:e}})},o7.createFromModelBuffer=function(t,e){return o2(o7,t,{baseOptions:{modelAssetBuffer:e}})},o7.createFromOptions=function(t,e){return o2(o7,t,e)};var o8=oJ([61,146],[146,91],[91,181],[181,84],[84,17],[17,314],[314,405],[405,321],[321,375],[375,291],[61,185],[185,40],[40,39],[39,37],[37,0],[0,267],[267,269],[269,270],[270,409],[409,291],[78,95],[95,88],[88,178],[178,87],[87,14],[14,317],[317,402],[402,318],[318,324],[324,308],[78,191],[191,80],[80,81],[81,82],[82,13],[13,312],[312,311],[311,310],[310,415],[415,308]),o9=oJ([263,249],[249,390],[390,373],[373,374],[374,380],[380,381],[381,382],[382,362],[263,466],[466,388],[388,387],[387,386],[386,385],[385,384],[384,398],[398,362]),at=oJ([276,283],[283,282],[282,295],[295,285],[300,293],[293,334],[334,296],[296,336]),ae=oJ([474,475],[475,476],[476,477],[477,474]),ar=oJ([33,7],[7,163],[163,144],[144,145],[145,153],[153,154],[154,155],[155,133],[33,246],[246,161],[161,160],[160,159],[159,158],[158,157],[157,173],[173,133]),an=oJ([46,53],[53,52],[52,65],[65,55],[70,63],[63,105],[105,66],[66,107]),ai=oJ([469,470],[470,471],[471,472],[472,469]),as=oJ([10,338],[338,297],[297,332],[332,284],[284,251],[251,389],[389,356],[356,454],[454,323],[323,3
161],[361,288],[288,397],[397,365],[365,379],[379,378],[378,400],[400,377],[377,152],[152,148],[148,176],[176,149],[149,150],[150,136],[136,172],[172,58],[58,132],[132,93],[93,234],[234,127],[127,162],[162,21],[21,54],[54,103],[103,67],[67,109],[109,10]),ao=[...o8,...o9,...at,...ar,...an,...as],aa=oJ(
vendor: 14,069 bytes, line 1
1[127,34],[34,139],[139,127],[11,0],[0,37],[37,11],[232,231],[231,120],[120,232],[72,37],[37,39],[39,72],[128,121],[121,47],[47,128],[232,121],[121,128],[128,232],[104,69],[69,67],[67,104],[175,171],[171,148],[148,175],[118,50],[50,101],[101,118],[73,39],[39,40],[40,73],[9,151],[151,108],[108,9],[48,115],[115,131],[131,48],[194,204],[204,211],[211,194],[74,40],[40,185],[185,74],[80,42],[42,183],[183,80],[40,92],[92,186],[186,40],[230,229],[229,118],[118,230],[202,212],[212,214],[214,202],[83,18],[18,17],[17,83],[76,61],[61,146],[146,76],[160,29],[29,30],[30,160],[56,157],[157,173],[173,56],[106,204],[204,194],[194,106],[135,214],[214,192],[192,135],[203,165],[165,98],[98,203],[21,71],[71,68],[68,21],[51,45],[45,4],[4,51],[144,24],[24,23],[23,144],[77,146],[146,91],[91,77],[205,50],[50,187],[187,205],[201,200],[200,18],[18,201],[91,106],[106,182],[182,91],[90,91],[91,181],[181,90],[85,84],[84,17],[17,85],[206,203],[203,36],[36,206],[148,171],[171,140],[140,148],[92,40],[40,39],[39,92],[193,189],[189,244],[244,193],[159,158],[158,28],[28,159],[247,246],[246,161],[161,247],[236,3],[3,196],[196,236],[54,68],[68,104],[104,54],[193,168],[168,8],[8,193],[117,228],[228,31],[31,117],[189,193],[193,55],[55,189],[98,97],[97,99],[99,98],[126,47],[47,100],[100,126],[166,79],[79,218],[218,166],[155,154],[154,26],[26,155],[209,49],[49,131],[131,209],[135,136],[136,150],[150,135],[47,126],[126,217],[217,47],[223,52],[52,53],[53,223],[45,51],[51,134],[134,45],[211,170],[170,140],[140,211],[67,69],[69,108],[108,67],[43,106],[106,91],[91,43],[230,119],[119,120],[120,230],[226,130],[130,247],[247,226],[63,53],[53,52],[52,63],[238,20],[20,242],[242,238],[46,70],[70,156],[156,46],[78,62],[62,96],[96,78],[46,53],[53,63],[63,46],[143,34],[34,227],[227,143],[123,117],[117,111],[111,123],[44,125],[125,19],[19,44],[236,134],[134,51],[51,236],[216,206],[206,205],[205,216],[154,153],[153,22],[22,154],[39,37],[37,167],[167,39],[200,201],[201,208],[208,200],[36,142],[142,100],[100,36],[57,212],[212,202],[202,57],[20,60],[60,99],[99,20],[28,158],[158,157],[157,28],[35,226],[226,113],[113,35],[160,159],[159,27],[27,160],[204,202],[202,210],[210,204],[113,225],[225,46],[46,113],[43,202],[202,204],[204,43],[62,76],[76,77],[77,62],[137,123],[123,116],[116,137],[41,38],[38,72],[72,41],[203,129],[129,142],[142,203],[64,98],[98,240],[240,64],[49,102],[102,64],[64,49],[41,73],[73,74],[74,41],[212,216],[216,207],[207,212],[42,74],[74,184],[184,42],[169,170],[170,211],[211,169],[170,149],[149,176],[176,170],[105,66],[66,69],[69,105],[122,6],[6,168],[168,122],[123,147],[147,187],[187,123],[96,77],[77,90],[90,96],[65,55],[55,107],[107,65],[89,90],[90,180],[180,89],[101,100],[100,120],[120,101],[63,105],[105,104],[104,63],[93,137],[137,227],[227,93],[15,86],[86,85],[85,15],[129,102],[102,49],[49,129],[14,87],[87,86],[86,14],[55,8],[8,9],[9,55],[100,47],[47,121],[121,100],[145,23],[23,22],[22,145],[88,89],[89,179],[179,88],[6,122],[122,196],[196,6],[88,95],[95,96],[96,88],[138,172],[172,136],[136,138],[215,58],[58,172],[172,215],[115,48],[48,219],[219,115],[42,80],[80,81],[81,42],[195,3],[3,51],[51,195],[43,146],[146,61],[61,43],[171,175],[175,199],[199,171],[81,82],[82,38],[38,81],[53,46],[46,225],[225,53],[144,163],[163,110],[110,144],[52,65],[65,66],[66,52],[229,228],[228,117],[117,229],[34,127],[127,234],[234,34],[107,108],[108,69],[69,107],[109,108],[108,151],[151,109],[48,64],[64,235],[235,48],[62,78],[78,191],[191,62],[129,209],[209,126],[126,129],[111,35],[35,143],[143,111],[117,123],[123,50],[50,117],[222,65],[65,52],[52,222],[19,125],[125,141],[141,19],[221,55],[55,65],[65,221],[3,195],[195,197],[197,3],[25,7],[7,33],[33,25],[220,237],[237,44],[44,220],[70,71],[71,139],[139,70],[122,193],[193,245],[245,122],[247,130],[130,33],[33,247],[71,21],[21,162],[162,71],[170,169],[169,150],[150,170],[188,174],[174,196],[196,188],[216,186],[186,92],[92,216],[2,97],[97,167],[167,2],[141,125],[125,241],[241,141],[164,167],[167,37],[37,164],[72,38],[38,12],[12,72],[38,82],[82,13],[13,38],[63,68],[68,71],[71,63],[226,35],[35,111],[111,226],[101,50],[50,205],[205,101],[206,92],[92,165],[165,206],[209,198],[198,217],[217,209],[165,167],[167,97],[97,165],[220,115],[115,218],[218,220],[133,112],[112,243],[243,133],[239,238],[238,241],[241,239],[214,135],[135,169],[169,214],[190,173],[173,133],[133,190],[171,208],[208,32],[32,171],[125,44],[44,237],[237,125],[86,87],[87,178],[178,86],[85,86],[86,179],[179,85],[84,85],[85,180],[180,84],[83,84],[84,181],[181,83],[201,83],[83,182],[182,201],[137,93],[93,132],[132,137],[76,62],[62,183],[183,76],[61,76],[76,184],[184,61],[57,61],[61,185],[185,57],[212,57],[57,186],[186,212],[214,207],[207,187],[187,214],[34,143],[143,156],[156,34],[79,239],[239,237],[237,79],[123,137],[137,177],[177,123],[44,1],[1,4],[4,44],[201,194],[194,32],[32,201],[64,102],[102,129],[129,64],[213,215],[215,138],[138,213],[59,166],[166,219],[219,59],[242,99],[99,97],[97,242],[2,94],[94,141],[141,2],[75,59],[59,235],[235,75],[24,110],[110,228],[228,24],[25,130],[130,226],[226,25],[23,24],[24,229],[229,23],[22,23],[23,230],[230,22],[26,22],[22,231],[231,26],[112,26],[26,232],[232,112],[189,190],[190,243],[243,189],[221,56],[56,190],[190,221],[28,56],[56,221],[221,28],[27,28],[28,222],[222,27],[29,27],[27,223],[223,29],[30,29],[29,224],[224,30],[247,30],[30,225],[225,247],[238,79],[79,20],[20,238],[166,59],[59,75],[75,166],[60,75],[75,240],[240,60],[147,177],[177,215],[215,147],[20,79],[79,166],[166,20],[187,147],[147,213],[213,187],[112,233],[233,244],[244,112],[233,128],[128,245],[245,233],[128,114],[114,188],[188,128],[114,217],[217,174],[174,114],[131,115],[115,220],[220,131],[217,198],[198,236],[236,217],[198,131],[131,134],[134,198],[177,132],[132,58],[58,177],[143,35],[35,124],[124,143],[110,163],[163,7],[7,110],[228,110],[110,25],[25,228],[356,389],[389,368],[368,356],[11,302],[302,267],[267,11],[452,350],[350,349],[349,452],[302,303],[303,269],[269,302],[357,343],[343,277],[277,357],[452,453],[453,357],[357,452],[333,332],[332,297],[297,333],[175,152],[152,377],[377,175],[347,348],[348,330],[330,347],[303,304],[304,270],[270,303],[9,336],[336,337],[337,9],[278,279],[279,360],[360,278],[418,262],[262,431],[431,418],[304,408],[408,409],[409,304],[310,415],[415,407],[407,310],[270,409],[409,410],[410,270],[450,348],[348,347],[347,450],[422,430],[430,434],[434,422],[313,314],[314,17],[17,313],[306,307],[307,375],[375,306],[387,388],[388,260],[260,387],[286,414],[414,398],[398,286],[335,406],[406,418],[418,335],[364,367],[367,416],[416,364],[423,358],[358,327],[327,423],[251,284],[284,298],[298,251],[281,5],[5,4],[4,281],[373,374],[374,253],[253,373],[307,320],[320,321],[321,307],[425,427],[427,411],[411,425],[421,313],[313,18],[18,421],[321,405],[405,406],[406,321],[320,404],[404,405],[405,320],[315,16],[16,17],[17,315],[426,425],[425,266],[266,426],[377,400],[400,369],[369,377],[322,391],[391,269],[269,322],[417,465],[465,464],[464,417],[386,257],[257,258],[258,386],[466,260],[260,388],[388,466],[456,399],[399,419],[419,456],[284,332],[332,333],[333,284],[417,285],[285,8],[8,417],[346,340],[340,261],[261,346],[413,441],[441,285],[285,413],[327,460],[460,328],[328,327],[355,371],[371,329],[329,355],[392,439],[439,438],[438,392],[382,341],[341,256],[256,382],[429,420],[420,360],[360,429],[364,394],[394,379],[379,364],[277,343],[343,437],[437,277],[443,444],[444,283],[283,443],[275,440],[440,363],[363,275],[431,262],[262,369],[369,431],[297,338],[338,337],[337,297],[273,375],[375,321],[321,273],[450,451],[451,349],[349,450],[446,342],[342,467],[467,446],[293,334],[334,282],[282,293],[458,461],[461,462],[462,458],[276,353],[353,383],[383,276],[308,324],[324,325],[325,308],[276,300],[300,293],[293,276],[372,345],[345,447],[447,372],[352,345],[345,340],[340,352],[274,1],[1,19],[19,274],[456,248],[248,281],[281,456],[436,427],[427,425],[425,436],[381,256],[256,252],[252,381],[269,391],[391,393],[393,269],[200,199],[199,428],[428,200],[266,330],[330,329],[329,266],[287,273],[273,422],[422,287],[250,462],[462,328],[328,250],[258,286],[286,384],[384,258],[265,353],[353,342],[342,265],[387,259],[259,257],[257,387],[424,431],[431,430],[430,424],[342,353],[353,276],[276,342],[273,335],[335,424],[424,273],[292,325],[325,307],[307,292],[366,447],[447,345],[345,366],[271,303],[303,302],[302,271],[423,266],[266,371],[371,423],[294,455],[455,460],[460,294],[279,278],[278,294],[294,279],[271,272],[272,304],[304,271],[432,434],[434,427],[427,432],[272,407],[407,408],[408,272],[394,430],[430,431],[431,394],[395,369],[369,400],[400,395],[334,333],[333,299],[299,334],[351,417],[417,168],[168,351],[352,280],[280,411],[411,352],[325,319],[319,320],[320,325],[295,296],[296,336],[336,295],[319,403],[403,404],[404,319],[330,348],[348,349],[349,330],[293,298],[298,333],[333,293],[323,454],[454,447],[447,323],[15,16],[16,315],[315,15],[358,429],[429,279],[279,358],[14,15],[15,316],[316,14],[285,336],[336,9],[9,285],[329,349],[349,350],[350,329],[374,380],[380,252],[252,374],[318,402],[402,403],[403,318],[6,197],[197,419],[419,6],[318,319],[319,325],[325,318],[367,364],[364,365],[365,367],[435,367],[367,397],[397,435],[344,438],[438,439],[439,344],[272,271],[271,311],[311,272],[195,5],[5,281],[281,195],[273,287],[287,291],[291,273],[396,428],[428,199],[199,396],[311,271],[271,268],[268,311],[283,444],[444,445],[445,283],[373,254],[254,339],[339,373],[282,334],[334,296],[296,282],[449,347],[347,346],[346,449],[264,447],[447,454],[454,264],[336,296],[296,299],[299,336],[338,10],[10,151],[151,338],[278,439],[439,455],[455,278],[292,407],[407,415],[415,292],[358,371],[371,355],[355,358],[340,345],[345,372],[372,340],[346,347],[347,280],[280,346],[442,443],[443,282],[282,442],[19,94],[94,370],[370,19],[441,442],[442,295],[295,441],[248,419],[419,197],[197,248],[263,255],[255,359],[359,263],[440,275],[275,274],[274,440],[300,383],[383,368],[368,300],[351,412],[412,465],[465,351],[263,467],[467,466],[466,263],[301,368],[368,389],[389,301],[395,378],[378,379],[379,395],[412,351],[351,419],[419,412],[436,426],[426,322],[322,436],[2,164],[164,393],[393,2],[370,462],[462,461],[461,370],[164,0],[0,267],[267,164],[302,11],[11,12],[12,302],[268,12],[12,13],[13,268],[293,300],[300,301],[301,293],[446,261],[261,340],[340,446],[330,266],[266,425],[425,330],[426,423],[423,391],[391,426],[429,355],[355,437],[437,429],[391,327],[327,326],[326,391],[440,457],[457,438],[438,440],[341,382],[382,362],[362,341],[459,457],[457,461],[461,459],[434,430],[430,394],[394,434],[414,463],[463,362],[362,414],[396,369],[369,262],[262,396],[354,461],[461,457],[457,354],[316,403],[403,402],[402,316],[315,404],[404,403],[403,315],[314,405],[405,404],[404,314],[313,406],[406,405],[405,313],[421,418],[418,406],[406,421],[366,401],[401,361],[361,366],[306,408],[408,407],[407,306],[291,409],[409,408],[408,291],[287,410],[410,409],[409,287],[432,436],[436,410],[410,432],[434,416],[416,411],[411,434],[264,368],[368,383],[383,264],[309,438],[438,457],[457,309],[352,376],[376,401],[401,352],[274,275],[275,4],[4,274],[421,428],[428,262],[262,421],[294,327],[327,358],[358,294],[433,416],[416,367],[367,433],[289,455],[455,439],[439,289],[462,370],[370,326],[326,462],[2,326],[326,370],[370,2],[305,460],[460,455],[455,305],[254,449],[449,448],[448,254],[255,261],[261,446],[446,255],[253,450],[450,449],[449,253],[252,451],[451,450],[450,252],[256,452],[452,451],[451,256],[341,453],[453,452],[452,341],[413,464],[464,463],[463,413],[441,413],[413,414],[414,441],[258,442],[442,441],[441,258],[257,443],[443,442],[442,257],[259,444],[444,443],[443,259],[260,445],[445,444],[444,260],[467,342],[342,445],[445,467],[459,458],[458,250],[250,459],[289,392],[392,290],[290,289],[290,328],[328,460],[460,290],[376,433],[433,435],[435,376],[250,290],[290,392],[392,250],[411,416],[416,433],[433,411],[341,463],[463,464],[464,341],[453,464],[464,465],[465,453],[357,465],[465,412],[412,357],[343,412],[412,399],[399,343],[360,363],[363,440],[440,360],[437,399],[399,456],[456,437],[420,456],[456,363],[363,420],[401,435],[435,288],[288,401],[372,383],[383,353],[353,372],[339,255],[255,249],[249,339],[448,261],[261,255],[255,448],[133,243],[243,190],[190,133],[133,155],[155,112],[112,133],[33,246],[246,247],[247,33],[33,130],[130,25],[25,33],[398,384],[384,286],[286,398],[362,398],[398,414],[414,362],[362,463],[463,341],[341,362],[263,359],[359,467],[467,263],[263,249],[249,255],[255,263],[466,467],[467,260],[260,466],[75,60],[60,166],[166,75],[238,239],[239,79],[79,238],[162,127],[127,139],[139,162],[72,11],[11,37],[37,72],[121,232],[232,120],[120,121],[73,72],[72,39],[39,73],[114,128],[128,47],[47,114],[233,232],[232,128],[128,233],[103,104],[104,67],[67,103],[152,175],[175,148],[148,152],[119,118],[118,101],[101,119],[74,73],[73,40],[40,74],[107,9],[9,108],[108,107],[49,48],[48,131],[131,49],[32,194],[194,211],[211,32],[184,74],[74,185],[185,184],[191,80],[80,183],[183,191],[185,40],[40,186],[186,185],[119,230],[230,118],[118,119],[210,202],[202,214],[214,210],[84,83],[83,17],[17,84],[77,76],[76,146],[146,77],[161,160],[160,30],[30,161],[190,56],[56,173],[173,190],[182,106],[106,194],[194,182],[138,135],[135,192],[192,138],[129,203],[203,98],[98,129],[54,21],[21,68],[68,54],[5,51],[51,4],[4,5],[145,144],[144,23],[23,145],[90,77],[77,91],[91,90],[207,205],[205,187],[187,207],[83,201],[201,18],[18,83],[181,91],[91,182],[182,181],[180,90],[90,181],[181,180],[16,85],[85,17],[17,16],[205,206],[206,36],[36,205],[176,148],[148,140],[140,176],[165,92],[92,39],[39,165],[245,193],[193,244],[244,245],[27,159],[159,28],[28,27],[30,247],[247,161],[161,30],[174,236],[236,196],[196,174],[103,54],[54,104],[104,103],[55,193],[193,8],[8,55],[111,117],[117,31],[31,111],[221,189],[189,55],[55,221],[240,98],[98,99],[99,240],[142,126],[126,100],[100,142],[219,166],[166,218],[218,219],[112,155],[155,26],[26,112],[198,209],[209,131],[131,198],[169,135],[135,150],[150,169],[114,47],[47,217],[217,114],[224,223],[223,53],[53,224],[220,45],[45,134],[134,220],[32,211],[211,140],[140,32],[109,67],[67,108],[108,109],[146,43],[43,91],[91,146],[231,230],[230,120],[120,23
vendor: 10,272 bytes, line 1
11],[113,226],[226,247],[247,113],[105,63],[63,52],[52,105],[241,238],[238,242],[242,241],[124,46],[46,156],[156,124],[95,78],[78,96],[96,95],[70,46],[46,63],[63,70],[116,143],[143,227],[227,116],[116,123],[123,111],[111,116],[1,44],[44,19],[19,1],[3,236],[236,51],[51,3],[207,216],[216,205],[205,207],[26,154],[154,22],[22,26],[165,39],[39,167],[167,165],[199,200],[200,208],[208,199],[101,36],[36,100],[100,101],[43,57],[57,202],[202,43],[242,20],[20,99],[99,242],[56,28],[28,157],[157,56],[124,35],[35,113],[113,124],[29,160],[160,27],[27,29],[211,204],[204,210],[210,211],[124,113],[113,46],[46,124],[106,43],[43,204],[204,106],[96,62],[62,77],[77,96],[227,137],[137,116],[116,227],[73,41],[41,72],[72,73],[36,203],[203,142],[142,36],[235,64],[64,240],[240,235],[48,49],[49,64],[64,48],[42,41],[41,74],[74,42],[214,212],[212,207],[207,214],[183,42],[42,184],[184,183],[210,169],[169,211],[211,210],[140,170],[170,176],[176,140],[104,105],[105,69],[69,104],[193,122],[122,168],[168,193],[50,123],[123,187],[187,50],[89,96],[96,90],[90,89],[66,65],[65,107],[107,66],[179,89],[89,180],[180,179],[119,101],[101,120],[120,119],[68,63],[63,104],[104,68],[234,93],[93,227],[227,234],[16,15],[15,85],[85,16],[209,129],[129,49],[49,209],[15,14],[14,86],[86,15],[107,55],[55,9],[9,107],[120,100],[100,121],[121,120],[153,145],[145,22],[22,153],[178,88],[88,179],[179,178],[197,6],[6,196],[196,197],[89,88],[88,96],[96,89],[135,138],[138,136],[136,135],[138,215],[215,172],[172,138],[218,115],[115,219],[219,218],[41,42],[42,81],[81,41],[5,195],[195,51],[51,5],[57,43],[43,61],[61,57],[208,171],[171,199],[199,208],[41,81],[81,38],[38,41],[224,53],[53,225],[225,224],[24,144],[144,110],[110,24],[105,52],[52,66],[66,105],[118,229],[229,117],[117,118],[227,34],[34,234],[234,227],[66,107],[107,69],[69,66],[10,109],[109,151],[151,10],[219,48],[48,235],[235,219],[183,62],[62,191],[191,183],[142,129],[129,126],[126,142],[116,111],[111,143],[143,116],[118,117],[117,50],[50,118],[223,222],[222,52],[52,223],[94,19],[19,141],[141,94],[222,221],[221,65],[65,222],[196,3],[3,197],[197,196],[45,220],[220,44],[44,45],[156,70],[70,139],[139,156],[188,122],[122,245],[245,188],[139,71],[71,162],[162,139],[149,170],[170,150],[150,149],[122,188],[188,196],[196,122],[206,216],[216,92],[92,206],[164,2],[2,167],[167,164],[242,141],[141,241],[241,242],[0,164],[164,37],[37,0],[11,72],[72,12],[12,11],[12,38],[38,13],[13,12],[70,63],[63,71],[71,70],[31,226],[226,111],[111,31],[36,101],[101,205],[205,36],[203,206],[206,165],[165,203],[126,209],[209,217],[217,126],[98,165],[165,97],[97,98],[237,220],[220,218],[218,237],[237,239],[239,241],[241,237],[210,214],[214,169],[169,210],[140,171],[171,32],[32,140],[241,125],[125,237],[237,241],[179,86],[86,178],[178,179],[180,85],[85,179],[179,180],[181,84],[84,180],[180,181],[182,83],[83,181],[181,182],[194,201],[201,182],[182,194],[177,137],[137,132],[132,177],[184,76],[76,183],[183,184],[185,61],[61,184],[184,185],[186,57],[57,185],[185,186],[216,212],[212,186],[186,216],[192,214],[214,187],[187,192],[139,34],[34,156],[156,139],[218,79],[79,237],[237,218],[147,123],[123,177],[177,147],[45,44],[44,4],[4,45],[208,201],[201,32],[32,208],[98,64],[64,129],[129,98],[192,213],[213,138],[138,192],[235,59],[59,219],[219,235],[141,242],[242,97],[97,141],[97,2],[2,141],[141,97],[240,75],[75,235],[235,240],[229,24],[24,228],[228,229],[31,25],[25,226],[226,31],[230,23],[23,229],[229,230],[231,22],[22,230],[230,231],[232,26],[26,231],[231,232],[233,112],[112,232],[232,233],[244,189],[189,243],[243,244],[189,221],[221,190],[190,189],[222,28],[28,221],[221,222],[223,27],[27,222],[222,223],[224,29],[29,223],[223,224],[225,30],[30,224],[224,225],[113,247],[247,225],[225,113],[99,60],[60,240],[240,99],[213,147],[147,215],[215,213],[60,20],[20,166],[166,60],[192,187],[187,213],[213,192],[243,112],[112,244],[244,243],[244,233],[233,245],[245,244],[245,128],[128,188],[188,245],[188,114],[114,174],[174,188],[134,131],[131,220],[220,134],[174,217],[217,236],[236,174],[236,198],[198,134],[134,236],[215,177],[177,58],[58,215],[156,143],[143,124],[124,156],[25,110],[110,7],[7,25],[31,228],[228,25],[25,31],[264,356],[356,368],[368,264],[0,11],[11,267],[267,0],[451,452],[452,349],[349,451],[267,302],[302,269],[269,267],[350,357],[357,277],[277,350],[350,452],[452,357],[357,350],[299,333],[333,297],[297,299],[396,175],[175,377],[377,396],[280,347],[347,330],[330,280],[269,303],[303,270],[270,269],[151,9],[9,337],[337,151],[344,278],[278,360],[360,344],[424,418],[418,431],[431,424],[270,304],[304,409],[409,270],[272,310],[310,407],[407,272],[322,270],[270,410],[410,322],[449,450],[450,347],[347,449],[432,422],[422,434],[434,432],[18,313],[313,17],[17,18],[291,306],[306,375],[375,291],[259,387],[387,260],[260,259],[424,335],[335,418],[418,424],[434,364],[364,416],[416,434],[391,423],[423,327],[327,391],[301,251],[251,298],[298,301],[275,281],[281,4],[4,275],[254,373],[373,253],[253,254],[375,307],[307,321],[321,375],[280,425],[425,411],[411,280],[200,421],[421,18],[18,200],[335,321],[321,406],[406,335],[321,320],[320,405],[405,321],[314,315],[315,17],[17,314],[423,426],[426,266],[266,423],[396,377],[377,369],[369,396],[270,322],[322,269],[269,270],[413,417],[417,464],[464,413],[385,386],[386,258],[258,385],[248,456],[456,419],[419,248],[298,284],[284,333],[333,298],[168,417],[417,8],[8,168],[448,346],[346,261],[261,448],[417,413],[413,285],[285,417],[326,327],[327,328],[328,326],[277,355],[355,329],[329,277],[309,392],[392,438],[438,309],[381,382],[382,256],[256,381],[279,429],[429,360],[360,279],[365,364],[364,379],[379,365],[355,277],[277,437],[437,355],[282,443],[443,283],[283,282],[281,275],[275,363],[363,281],[395,431],[431,369],[369,395],[299,297],[297,337],[337,299],[335,273],[273,321],[321,335],[348,450],[450,349],[349,348],[359,446],[446,467],[467,359],[283,293],[293,282],[282,283],[250,458],[458,462],[462,250],[300,276],[276,383],[383,300],[292,308],[308,325],[325,292],[283,276],[276,293],[293,283],[264,372],[372,447],[447,264],[346,352],[352,340],[340,346],[354,274],[274,19],[19,354],[363,456],[456,281],[281,363],[426,436],[436,425],[425,426],[380,381],[381,252],[252,380],[267,269],[269,393],[393,267],[421,200],[200,428],[428,421],[371,266],[266,329],[329,371],[432,287],[287,422],[422,432],[290,250],[250,328],[328,290],[385,258],[258,384],[384,385],[446,265],[265,342],[342,446],[386,387],[387,257],[257,386],[422,424],[424,430],[430,422],[445,342],[342,276],[276,445],[422,273],[273,424],[424,422],[306,292],[292,307],[307,306],[352,366],[366,345],[345,352],[268,271],[271,302],[302,268],[358,423],[423,371],[371,358],[327,294],[294,460],[460,327],[331,279],[279,294],[294,331],[303,271],[271,304],[304,303],[436,432],[432,427],[427,436],[304,272],[272,408],[408,304],[395,394],[394,431],[431,395],[378,395],[395,400],[400,378],[296,334],[334,299],[299,296],[6,351],[351,168],[168,6],[376,352],[352,411],[411,376],[307,325],[325,320],[320,307],[285,295],[295,336],[336,285],[320,319],[319,404],[404,320],[329,330],[330,349],[349,329],[334,293],[293,333],[333,334],[366,323],[323,447],[447,366],[316,15],[15,315],[315,316],[331,358],[358,279],[279,331],[317,14],[14,316],[316,317],[8,285],[285,9],[9,8],[277,329],[329,350],[350,277],[253,374],[374,252],[252,253],[319,318],[318,403],[403,319],[351,6],[6,419],[419,351],[324,318],[318,325],[325,324],[397,367],[367,365],[365,397],[288,435],[435,397],[397,288],[278,344],[344,439],[439,278],[310,272],[272,311],[311,310],[248,195],[195,281],[281,248],[375,273],[273,291],[291,375],[175,396],[396,199],[199,175],[312,311],[311,268],[268,312],[276,283],[283,445],[445,276],[390,373],[373,339],[339,390],[295,282],[282,296],[296,295],[448,449],[449,346],[346,448],[356,264],[264,454],[454,356],[337,336],[336,299],[299,337],[337,338],[338,151],[151,337],[294,278],[278,455],[455,294],[308,292],[292,415],[415,308],[429,358],[358,355],[355,429],[265,340],[340,372],[372,265],[352,346],[346,280],[280,352],[295,442],[442,282],[282,295],[354,19],[19,370],[370,354],[285,441],[441,295],[295,285],[195,248],[248,197],[197,195],[457,440],[440,274],[274,457],[301,300],[300,368],[368,301],[417,351],[351,465],[465,417],[251,301],[301,389],[389,251],[394,395],[395,379],[379,394],[399,412],[412,419],[419,399],[410,436],[436,322],[322,410],[326,2],[2,393],[393,326],[354,370],[370,461],[461,354],[393,164],[164,267],[267,393],[268,302],[302,12],[12,268],[312,268],[268,13],[13,312],[298,293],[293,301],[301,298],[265,446],[446,340],[340,265],[280,330],[330,425],[425,280],[322,426],[426,391],[391,322],[420,429],[429,437],[437,420],[393,391],[391,326],[326,393],[344,440],[440,438],[438,344],[458,459],[459,461],[461,458],[364,434],[434,394],[394,364],[428,396],[396,262],[262,428],[274,354],[354,457],[457,274],[317,316],[316,402],[402,317],[316,315],[315,403],[403,316],[315,314],[314,404],[404,315],[314,313],[313,405],[405,314],[313,421],[421,406],[406,313],[323,366],[366,361],[361,323],[292,306],[306,407],[407,292],[306,291],[291,408],[408,306],[291,287],[287,409],[409,291],[287,432],[432,410],[410,287],[427,434],[434,411],[411,427],[372,264],[264,383],[383,372],[459,309],[309,457],[457,459],[366,352],[352,401],[401,366],[1,274],[274,4],[4,1],[418,421],[421,262],[262,418],[331,294],[294,358],[358,331],[435,433],[433,367],[367,435],[392,289],[289,439],[439,392],[328,462],[462,326],[326,328],[94,2],[2,370],[370,94],[289,305],[305,455],[455,289],[339,254],[254,448],[448,339],[359,255],[255,446],[446,359],[254,253],[253,449],[449,254],[253,252],[252,450],[450,253],[252,256],[256,451],[451,252],[256,341],[341,452],[452,256],[414,413],[413,463],[463,414],[286,441],[441,414],[414,286],[286,258],[258,441],[441,286],[258,257],[257,442],[442,258],[257,259],[259,443],[443,257],[259,260],[260,444],[444,259],[260,467],[467,445],[445,260],[309,459],[459,250],[250,309],[305,289],[289,290],[290,305],[305,290],[290,460],[460,305],[401,376],[376,435],[435,401],[309,250],[250,392],[392,309],[376,411],[411,433],[433,376],[453,341],[341,464],[464,453],[357,453],[453,465],[465,357],[343,357],[357,412],[412,343],[437,343],[343,399],[399,437],[344,360],[360,440],[440,344],[420,437],[437,456],[456,420],[360,420],[420,363],[363,360],[361,401],[401,288],[288,361],[265,372],[372,353],[353,265],[390,339],[339,249],[249,390],[339,448],[448,255],[255,339]
vendor: 13,857 bytes, line 1
1);function ah(t){t.j={faceLandmarks:[],faceBlendshapes:[],facialTransformationMatrixes:[]}}var au=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect",!1),this.j={faceLandmarks:[],faceBlendshapes:[],facialTransformationMatrixes:[]},this.outputFacialTransformationMatrixes=this.outputFaceBlendshapes=!1,ro(t=this.h=new sr,0,1,e=new i0),this.A=new se,ro(this.h,0,3,this.A),this.u=new i7,ro(this.h,0,2,this.u),rf(this.u,4,1),rd(this.u,2,.5),rd(this.A,2,.5),rd(this.h,4,.5)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return"numFaces"in t&&rf(this.u,4,t.numFaces??1),"minFaceDetectionConfidence"in t&&rd(this.u,2,t.minFaceDetectionConfidence??.5),"minTrackingConfidence"in t&&rd(this.h,4,t.minTrackingConfidence??.5),"minFacePresenceConfidence"in t&&rd(this.A,2,t.minFacePresenceConfidence??.5),"outputFaceBlendshapes"in t&&(this.outputFaceBlendshapes=!!t.outputFaceBlendshapes),"outputFacialTransformationMatrixes"in t&&(this.outputFacialTransformationMatrixes=!!t.outputFacialTransformationMatrixes),this.l(t)}F(t,e){return ah(this),o4(this,t,e),this.j}G(t,e,r){return ah(this),o0(this,t,r,e),this.j}m(){var t=new ix;iA(t,"image_in"),iA(t,"norm_rect"),ik(t,"face_landmarks");let e=new ip;r9(e,si,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"),iy(r,"IMAGE:image_in"),iy(r,"NORM_RECT:norm_rect"),i_(r,"NORM_LANDMARKS:face_landmarks"),r.o(e),ib(t,r),this.g.attachProtoVectorListener("face_landmarks",(t,e)=>{for(let e of t)t=iG(e),this.j.faceLandmarks.push(sz(t));or(this,e)}),this.g.attachEmptyPacketListener("face_landmarks",t=>{or(this,t)}),this.outputFaceBlendshapes&&(ik(t,"blendshapes"),i_(r,"BLENDSHAPES:blendshapes"),this.g.attachProtoVectorListener("blendshapes",(t,e)=>{if(this.outputFaceBlendshapes)for(let e of t)t=iP(e),this.j.faceBlendshapes.push(sW(t.g()??[]));or(this,e)}),this.g.attachEmptyPacketListener("blendshapes",t=>{or(this,t)})),this.outputFacialTransformationMatrixes&&(ik(t,"face_geometry"),i_(r,"FACE_GEOMETRY:face_geometry"),this.g.attachProtoVectorListener("face_geometry",(t,e)=>{if(this.outputFacialTransformationMatrixes)for(let e of t)(t=rr(t=st(e),ij,2))&&this.j.facialTransformationMatrixes.push({rows:rl(t,1)??0??0,columns:rl(t,2)??0??0,data:eJ(t,3,t5,e$()).slice()??[]});or(this,e)}),this.g.attachEmptyPacketListener("face_geometry",t=>{or(this,t)})),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};au.prototype.detectForVideo=au.prototype.G,au.prototype.detect=au.prototype.F,au.prototype.setOptions=au.prototype.o,au.createFromModelPath=function(t,e){return o2(au,t,{baseOptions:{modelAssetPath:e}})},au.createFromModelBuffer=function(t,e){return o2(au,t,{baseOptions:{modelAssetBuffer:e}})},au.createFromOptions=function(t,e){return o2(au,t,e)},au.FACE_LANDMARKS_LIPS=o8,au.FACE_LANDMARKS_LEFT_EYE=o9,au.FACE_LANDMARKS_LEFT_EYEBROW=at,au.FACE_LANDMARKS_LEFT_IRIS=ae,au.FACE_LANDMARKS_RIGHT_EYE=ar,au.FACE_LANDMARKS_RIGHT_EYEBROW=an,au.FACE_LANDMARKS_RIGHT_IRIS=ai,au.FACE_LANDMARKS_FACE_OVAL=as,au.FACE_LANDMARKS_CONTOURS=ao,au.FACE_LANDMARKS_TESSELATION=aa;var al=oJ([0,1],[1,2],[2,3],[3,4],[0,5],[5,6],[6,7],[7,8],[5,9],[9,10],[10,11],[11,12],[9,13],[13,14],[14,15],[15,16],[13,17],[0,17],[17,18],[18,19],[19,20]);function ac(t){t.gestures=[],t.landmarks=[],t.worldLandmarks=[],t.handedness=[]}function af(t){return 0===t.gestures.length?{gestures:[],landmarks:[],worldLandmarks:[],handedness:[],handednesses:[]}:{gestures:t.gestures,landmarks:t.landmarks,worldLandmarks:t.worldLandmarks,handedness:t.handedness,handednesses:t.handedness}}function ad(t,e=!0){let r=[];for(let i of t){var n=iP(i);for(let r of(t=[],n.g()))n=e&&null!=rl(r,1)?rl(r,1)??0:-1,t.push({score:rc(r,2)??0,index:n,categoryName:el(eK(r,3))??""??"",displayName:el(eK(r,4))??""??""});r.push(t)}return r}var ap=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect",!1),this.gestures=[],this.landmarks=[],this.worldLandmarks=[],this.handedness=[],ro(t=this.j=new sc,0,1,e=new i0),this.u=new sl,ro(this.j,0,2,this.u),this.D=new su,ro(this.u,0,3,this.D),this.A=new sh,ro(this.u,0,2,this.A),this.h=new sa,ro(this.j,0,3,this.h),rd(this.A,2,.5),rd(this.u,4,.5),rd(this.D,2,.5)}get baseOptions(){return rr(this.j,i0,1)}set baseOptions(t){ro(this.j,0,1,t)}o(t){if(rf(this.A,3,t.numHands??1),"minHandDetectionConfidence"in t&&rd(this.A,2,t.minHandDetectionConfidence??.5),"minTrackingConfidence"in t&&rd(this.u,4,t.minTrackingConfidence??.5),"minHandPresenceConfidence"in t&&rd(this.D,2,t.minHandPresenceConfidence??.5),t.cannedGesturesClassifierOptions){var e=new ss,r=e,n=sX(t.cannedGesturesClassifierOptions,rr(this.h,ss,3)?.l());ro(r,0,2,n),ro(this.h,0,3,e)}else void 0===t.cannedGesturesClassifierOptions&&rr(this.h,ss,3)?.g();return t.customGesturesClassifierOptions?(ro(r=e=new ss,0,2,n=sX(t.customGesturesClassifierOptions,rr(this.h,ss,4)?.l())),ro(this.h,0,4,e)):void 0===t.customGesturesClassifierOptions&&rr(this.h,ss,4)?.g(),this.l(t)}Ha(t,e){return ac(this),o4(this,t,e),af(this)}Ia(t,e,r){return ac(this),o0(this,t,r,e),af(this)}m(){var t=new ix;iA(t,"image_in"),iA(t,"norm_rect"),ik(t,"hand_gestures"),ik(t,"hand_landmarks"),ik(t,"world_hand_landmarks"),ik(t,"handedness");let e=new ip;r9(e,sm,this.j);let r=new iv;rp(r,2,"mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"),iy(r,"IMAGE:image_in"),iy(r,"NORM_RECT:norm_rect"),i_(r,"HAND_GESTURES:hand_gestures"),i_(r,"LANDMARKS:hand_landmarks"),i_(r,"WORLD_LANDMARKS:world_hand_landmarks"),i_(r,"HANDEDNESS:handedness"),r.o(e),ib(t,r),this.g.attachProtoVectorListener("hand_landmarks",(t,e)=>{for(let e of t){t=iG(e);let r=[];for(let e of ri(t,iB,1))r.push({x:rc(e,1)??0,y:rc(e,2)??0,z:rc(e,3)??0,visibility:rc(e,4)??0});this.landmarks.push(r)}or(this,e)}),this.g.attachEmptyPacketListener("hand_landmarks",t=>{or(this,t)}),this.g.attachProtoVectorListener("world_hand_landmarks",(t,e)=>{for(let e of t){t=iD(e);let r=[];for(let e of ri(t,iU,1))r.push({x:rc(e,1)??0,y:rc(e,2)??0,z:rc(e,3)??0,visibility:rc(e,4)??0});this.worldLandmarks.push(r)}or(this,e)}),this.g.attachEmptyPacketListener("world_hand_landmarks",t=>{or(this,t)}),this.g.attachProtoVectorListener("hand_gestures",(t,e)=>{this.gestures.push(...ad(t,!1)),or(this,e)}),this.g.attachEmptyPacketListener("hand_gestures",t=>{or(this,t)}),this.g.attachProtoVectorListener("handedness",(t,e)=>{this.handedness.push(...ad(t)),or(this,e)}),this.g.attachEmptyPacketListener("handedness",t=>{or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};function ag(t){return{landmarks:t.landmarks,worldLandmarks:t.worldLandmarks,handednesses:t.handedness,handedness:t.handedness}}ap.prototype.recognizeForVideo=ap.prototype.Ia,ap.prototype.recognize=ap.prototype.Ha,ap.prototype.setOptions=ap.prototype.o,ap.createFromModelPath=function(t,e){return o2(ap,t,{baseOptions:{modelAssetPath:e}})},ap.createFromModelBuffer=function(t,e){return o2(ap,t,{baseOptions:{modelAssetBuffer:e}})},ap.createFromOptions=function(t,e){return o2(ap,t,e)},ap.HAND_CONNECTIONS=al;var am=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect",!1),this.landmarks=[],this.worldLandmarks=[],this.handedness=[],ro(t=this.h=new sl,0,1,e=new i0),this.u=new su,ro(this.h,0,3,this.u),this.j=new sh,ro(this.h,0,2,this.j),rf(this.j,3,1),rd(this.j,2,.5),rd(this.u,2,.5),rd(this.h,4,.5)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return"numHands"in t&&rf(this.j,3,t.numHands??1),"minHandDetectionConfidence"in t&&rd(this.j,2,t.minHandDetectionConfidence??.5),"minTrackingConfidence"in t&&rd(this.h,4,t.minTrackingConfidence??.5),"minHandPresenceConfidence"in t&&rd(this.u,2,t.minHandPresenceConfidence??.5),this.l(t)}F(t,e){return this.landmarks=[],this.worldLandmarks=[],this.handedness=[],o4(this,t,e),ag(this)}G(t,e,r){return this.landmarks=[],this.worldLandmarks=[],this.handedness=[],o0(this,t,r,e),ag(this)}m(){var t=new ix;iA(t,"image_in"),iA(t,"norm_rect"),ik(t,"hand_landmarks"),ik(t,"world_hand_landmarks"),ik(t,"handedness");let e=new ip;r9(e,sy,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"),iy(r,"IMAGE:image_in"),iy(r,"NORM_RECT:norm_rect"),i_(r,"LANDMARKS:hand_landmarks"),i_(r,"WORLD_LANDMARKS:world_hand_landmarks"),i_(r,"HANDEDNESS:handedness"),r.o(e),ib(t,r),this.g.attachProtoVectorListener("hand_landmarks",(t,e)=>{for(let e of t)t=iG(e),this.landmarks.push(sz(t));or(this,e)}),this.g.attachEmptyPacketListener("hand_landmarks",t=>{or(this,t)}),this.g.attachProtoVectorListener("world_hand_landmarks",(t,e)=>{for(let e of t)t=iD(e),this.worldLandmarks.push(sY(t));or(this,e)}),this.g.attachEmptyPacketListener("world_hand_landmarks",t=>{or(this,t)}),this.g.attachProtoVectorListener("handedness",(t,e)=>{var r=this.handedness,n=r.push;let i=[];for(let e of t){t=iP(e);let r=[];for(let e of t.g())r.push({score:rc(e,2)??0,index:rl(e,1)??0??-1,categoryName:el(eK(e,3))??""??"",displayName:el(eK(e,4))??""??""});i.push(r)}n.call(r,...i),or(this,e)}),this.g.attachEmptyPacketListener("handedness",t=>{or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};am.prototype.detectForVideo=am.prototype.G,am.prototype.detect=am.prototype.F,am.prototype.setOptions=am.prototype.o,am.createFromModelPath=function(t,e){return o2(am,t,{baseOptions:{modelAssetPath:e}})},am.createFromModelBuffer=function(t,e){return o2(am,t,{baseOptions:{modelAssetBuffer:e}})},am.createFromOptions=function(t,e){return o2(am,t,e)},am.HAND_CONNECTIONS=al;var ay=oJ([0,1],[1,2],[2,3],[3,7],[0,4],[4,5],[5,6],[6,8],[9,10],[11,12],[11,13],[13,15],[15,17],[15,19],[15,21],[17,19],[12,14],[14,16],[16,18],[16,20],[16,22],[18,20],[11,23],[12,24],[23,24],[23,25],[24,26],[25,27],[26,28],[27,29],[28,30],[29,31],[30,32],[27,31],[28,32]);function a_(t){t.h={faceLandmarks:[],faceBlendshapes:[],poseLandmarks:[],poseWorldLandmarks:[],poseSegmentationMasks:[],leftHandLandmarks:[],leftHandWorldLandmarks:[],rightHandLandmarks:[],rightHandWorldLandmarks:[]}}function av(t){try{if(!t.D)return t.h;t.D(t.h)}finally{os(t)}}function aE(t,e){t=iG(t),e.push(sz(t))}var aw=class extends o6{constructor(t,e){super(new o1(t,e),"input_frames_image",null,!1),this.h={faceLandmarks:[],faceBlendshapes:[],poseLandmarks:[],poseWorldLandmarks:[],poseSegmentationMasks:[],leftHandLandmarks:[],leftHandWorldLandmarks:[],rightHandLandmarks:[],rightHandWorldLandmarks:[]},this.outputPoseSegmentationMasks=this.outputFaceBlendshapes=!1,ro(t=this.j=new sw,0,1,e=new i0),this.I=new su,ro(this.j,0,2,this.I),this.W=new s_,ro(this.j,0,3,this.W),this.u=new i7,ro(this.j,0,4,this.u),this.O=new se,ro(this.j,0,5,this.O),this.A=new sv,ro(this.j,0,6,this.A),this.M=new sE,ro(this.j,0,7,this.M),rd(this.u,2,.5),rd(this.u,3,.3),rd(this.O,2,.5),rd(this.A,2,.5),rd(this.A,3,.3),rd(this.M,2,.5),rd(this.I,2,.5)}get baseOptions(){return rr(this.j,i0,1)}set baseOptions(t){ro(this.j,0,1,t)}o(t){return"minFaceDetectionConfidence"in t&&rd(this.u,2,t.minFaceDetectionConfidence??.5),"minFaceSuppressionThreshold"in t&&rd(this.u,3,t.minFaceSuppressionThreshold??.3),"minFacePresenceConfidence"in t&&rd(this.O,2,t.minFacePresenceConfidence??.5),"outputFaceBlendshapes"in t&&(this.outputFaceBlendshapes=!!t.outputFaceBlendshapes),"minPoseDetectionConfidence"in t&&rd(this.A,2,t.minPoseDetectionConfidence??.5),"minPoseSuppressionThreshold"in t&&rd(this.A,3,t.minPoseSuppressionThreshold??.3),"minPosePresenceConfidence"in t&&rd(this.M,2,t.minPosePresenceConfidence??.5),"outputPoseSegmentationMasks"in t&&(this.outputPoseSegmentationMasks=!!t.outputPoseSegmentationMasks),"minHandLandmarksConfidence"in t&&rd(this.I,2,t.minHandLandmarksConfidence??.5),this.l(t)}F(t,e,r){return this.D="function"==typeof e?e:r,a_(this),o4(this,t,"function"!=typeof e?e:{}),av(this)}G(t,e,r,n){return this.D="function"==typeof r?r:n,a_(this),o0(this,t,"function"!=typeof r?r:{},e),av(this)}m(){var t=new ix;iA(t,"input_frames_image"),ik(t,"pose_landmarks"),ik(t,"pose_world_landmarks"),ik(t,"face_landmarks"),ik(t,"left_hand_landmarks"),ik(t,"left_hand_world_landmarks"),ik(t,"right_hand_landmarks"),ik(t,"right_hand_world_landmarks");let e=new ip,r=new n8;rp(r,1,"type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"),function(t,e){if(null!=e)if(Array.isArray(e))eY(t,2,eL(e,0,eI));else{if(!("string"==typeof e||e instanceof X||B(e)))throw Error("invalid value in Any.value field: "+e+" expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");e0(t,2,t_(e,!1),j())}}(r,this.j.g());let n=new iv;rp(n,2,"mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"),ru(n,8,n8,r),iy(n,"IMAGE:input_frames_image"),i_(n,"POSE_LANDMARKS:pose_landmarks"),i_(n,"POSE_WORLD_LANDMARKS:pose_world_landmarks"),i_(n,"FACE_LANDMARKS:face_landmarks"),i_(n,"LEFT_HAND_LANDMARKS:left_hand_landmarks"),i_(n,"LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"),i_(n,"RIGHT_HAND_LANDMARKS:right_hand_landmarks"),i_(n,"RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"),n.o(e),ib(t,n),on(this,t),this.g.attachProtoListener("pose_landmarks",(t,e)=>{aE(t,this.h.poseLandmarks),or(this,e)}),this.g.attachEmptyPacketListener("pose_landmarks",t=>{or(this,t)}),this.g.attachProtoListener("pose_world_landmarks",(t,e)=>{var r=this.h.poseWorldLandmarks;t=iD(t),r.push(sY(t)),or(this,e)}),this.g.attachEmptyPacketListener("pose_world_landmarks",t=>{or(this,t)}),this.outputPoseSegmentationMasks&&(i_(n,"POSE_SEGMENTATION_MASK:pose_segmentation_mask"),oi(this,"pose_segmentation_mask"),this.g.Z("pose_segmentation_mask",(t,e)=>{this.h.poseSegmentationMasks=[o5(this,t,!0,!this.D)],or(this,e)}),this.g.attachEmptyPacketListener("pose_segmentation_mask",t=>{this.h.poseSegmentationMasks=[],or(this,t)})),this.g.attachProtoListener("face_landmarks",(t,e)=>{aE(t,this.h.faceLandmarks),or(this,e)}),this.g.attachEmptyPacketListener("face_landmarks",t=>{or(this,t)}
1),this.outputFaceBlendshapes&&(ik(t,"extra_blendshapes"),i_(n,"FACE_BLENDSHAPES:extra_blendshapes"),this.g.attachProtoListener("extra_blendshapes",(t,e)=>{var r=this.h.faceBlendshapes;this.outputFaceBlendshapes&&(t=iP(t),r.push(sW(t.g()??[]))),or(this,e)}),this.g.attachEmptyPacketListener("extra_blendshapes",t=>{or(this,t)})),this.g.attachProtoListener("left_hand_landmarks",(t,e)=>{aE(t,this.h.leftHandLandmarks),or(this,e)}),this.g.attachEmptyPacketListener("left_hand_landmarks",t=>{or(this,t)}),this.g.attachProtoListener("left_hand_world_landmarks",(t,e)=>{var r=this.h.leftHandWorldLandmarks;t=iD(t),r.push(sY(t)),or(this,e)}),this.g.attachEmptyPacketListener("left_hand_world_landmarks",t=>{or(this,t)}),this.g.attachProtoListener("right_hand_landmarks",(t,e)=>{aE(t,this.h.rightHandLandmarks),or(this,e)}),this.g.attachEmptyPacketListener("right_hand_landmarks",t=>{or(this,t)}),this.g.attachProtoListener("right_hand_world_landmarks",(t,e)=>{var r=this.h.rightHandWorldLandmarks;t=iD(t),r.push(sY(t)),or(this,e)}),this.g.attachEmptyPacketListener("right_hand_world_landmarks",t=>{or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};aw.prototype.detectForVideo=aw.prototype.G,aw.prototype.detect=aw.prototype.F,aw.prototype.setOptions=aw.prototype.o,aw.createFromModelPath=function(t,e){return o2(aw,t,{baseOptions:{modelAssetPath:e}})},aw.createFromModelBuffer=function(t,e){return o2(aw,t,{baseOptions:{modelAssetBuffer:e}})},aw.createFromOptions=function(t,e){return o2(aw,t,e)},aw.HAND_CONNECTIONS=al,aw.POSE_CONNECTIONS=ay,aw.FACE_LANDMARKS_LIPS=o8,aw.FACE_LANDMARKS_LEFT_EYE=o9,aw.FACE_LANDMARKS_LEFT_EYEBROW=at,aw.FACE_LANDMARKS_LEFT_IRIS=ae,aw.FACE_LANDMARKS_RIGHT_EYE=ar,aw.FACE_LANDMARKS_RIGHT_EYEBROW=an,aw.FACE_LANDMARKS_RIGHT_IRIS=ai,aw.FACE_LANDMARKS_FACE_OVAL=as,aw.FACE_LANDMARKS_CONTOURS=ao,aw.FACE_LANDMARKS_TESSELATION=aa;var aT=class extends o6{constructor(t,e){super(new o1(t,e),"input_image","norm_rect",!0),this.j={classifications:[]},ro(t=this.h=new sA,0,1,e=new i0)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return ro(this.h,0,2,sX(t,rr(this.h,iJ,2))),this.l(t)}sa(t,e){return this.j={classifications:[]},o4(this,t,e),this.j}ta(t,e,r){return this.j={classifications:[]},o0(this,t,r,e),this.j}m(){var t=new ix;iA(t,"input_image"),iA(t,"norm_rect"),ik(t,"classifications");let e=new ip;r9(e,sk,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"),iy(r,"IMAGE:input_image"),iy(r,"NORM_RECT:norm_rect"),i_(r,"CLASSIFICATIONS:classifications"),r.o(e),ib(t,r),this.g.attachProtoListener("classifications",(t,e)=>{this.j=function(t){var e;let r={classifications:ri(t,iH,1).map(t=>sW(rr(t,iI,4)?.g()??[],rl(t,2)??0,el(eK(t,3))??""))};return null!=(null==(e=eK(t,2,void 0,void 0,ea))?e:"bigint"==typeof e?e=tI(e)||tI(e=tZ(64,e))?Number(e):String(e):t9(e)?"number"==typeof e?en(e):ei(e):void 0)&&(r.timestampMs=sH(eK(t,2,void 0,void 0,ea)??eH)),r}(iW(t)),or(this,e)}),this.g.attachEmptyPacketListener("classifications",t=>{or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};aT.prototype.classifyForVideo=aT.prototype.ta,aT.prototype.classify=aT.prototype.sa,aT.prototype.setOptions=aT.prototype.o,aT.createFromModelPath=function(t,e){return o2(aT,t,{baseOptions:{modelAssetPath:e}})},aT.createFromModelBuffer=function(t,e){return o2(aT,t,{baseOptions:{modelAssetBuffer:e}})},aT.createFromOptions=function(t,e){return o2(aT,t,e)};var ab=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect",!0),this.h=new sx,this.embeddings={embeddings:[]},ro(t=this.h,0,1,e=new i0)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){var e=this.h,r=rr(this.h,iQ,2);return r=r?r.clone():new iQ,void 0!==t.l2Normalize?eY(r,1,t6(t.l2Normalize)):"l2Normalize"in t&&eY(r,1),void 0!==t.quantize?eY(r,2,t6(t.quantize)):"quantize"in t&&eY(r,2),ro(e,0,2,r),this.l(t)}za(t,e){return o4(this,t,e),this.embeddings}Aa(t,e,r){return o0(this,t,r,e),this.embeddings}m(){var t=new ix;iA(t,"image_in"),iA(t,"norm_rect"),ik(t,"embeddings_out");let e=new ip;r9(e,sS,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"),iy(r,"IMAGE:image_in"),iy(r,"NORM_RECT:norm_rect"),i_(r,"EMBEDDINGS:embeddings_out"),r.o(e),ib(t,r),this.g.attachProtoListener("embeddings_out",(t,e)=>{var r;t=i$(t),this.embeddings={embeddings:ri(r=t,iY,1).map(t=>{let e={headIndex:rl(t,3)??0??-1,headName:el(eK(t,4))??""??""};var r=t.v;return void 0!==re(r,0|r[tu],iK,e6(t,1))?e.floatEmbedding=(t=eJ(t=rr(t,iK,e6(t,1),void 0),1,t5,e$())).slice():(r=new Uint8Array(0),e.quantizedEmbedding=rr(t,iz,e6(t,2),void 0)?.na()?.h()??r),e}),timestampMs:sH(eK(r,2,void 0,void 0,ea)??eH)},or(this,e)}),this.g.attachEmptyPacketListener("embeddings_out",t=>{or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};ab.cosineSimilarity=function(t,e){if(t.floatEmbedding&&e.floatEmbedding)t=s$(t.floatEmbedding,e.floatEmbedding);else{if(!t.quantizedEmbedding||!e.quantizedEmbedding)throw Error("Cannot compute cosine similarity between quantized and float embeddings.");t=s$(sq(t.quantizedEmbedding),sq(e.quantizedEmbedding))}return t},ab.prototype.embedForVideo=ab.prototype.Aa,ab.prototype.embed=ab.prototype.za,ab.prototype.setOptions=ab.prototype.o,ab.createFromModelPath=function(t,e){return o2(ab,t,{baseOptions:{modelAssetPath:e}})},ab.createFromModelBuffer=function(t,e){return o2(ab,t,{baseOptions:{modelAssetBuffer:e}})},ab.createFromOptions=function(t,e){return o2(ab,t,e)};var aA=class{constructor(t,e,r){this.confidenceMasks=t,this.categoryMask=e,this.qual
1ityScores=r}close(){this.confidenceMasks?.forEach(t=>{t.close()}),this.categoryMask?.close()}};function ak(t){t.categoryMask=void 0,t.confidenceMasks=void 0,t.qualityScores=void 0}function ax(t){try{let e=new aA(t.confidenceMasks,t.categoryMask,t.qualityScores);if(!t.j)return e;t.j(e)}finally{os(t)}}aA.prototype.close=aA.prototype.close;var aS=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect",!1),this.u=[],this.outputCategoryMask=!1,this.outputConfidenceMasks=!0,this.h=new sP,this.A=new sL,ro(this.h,0,3,this.A),ro(t=this.h,0,1,e=new i0)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return void 0!==t.displayNamesLocale?eY(this.h,2,eu(t.displayNamesLocale)):"displayNamesLocale"in t&&eY(this.h,2),"outputCategoryMask"in t&&(this.outputCategoryMask=t.outputCategoryMask??!1),"outputConfidenceMasks"in t&&(this.outputConfidenceMasks=t.outputConfidenceMasks??!0),super.l(t)}L(){var t=this;let e=ri(t.ca(),iv,1).filter(t=>(el(eK(t,1))??"").includes("mediapipe.tasks.TensorsToSegmentationCalculator"));if(t.u=[],e.length>1)throw Error("The graph has more than one mediapipe.tasks.TensorsToSegmentationCalculator.");1===e.length&&(rr(e[0],ip,7)?.j()?.g()??new Map).forEach((e,r)=>{t.u[Number(r)]=el(eK(e,1))??""})}segment(t,e,r){return this.j="function"==typeof e?e:r,ak(this),o4(this,t,"function"!=typeof e?e:{}),ax(this)}La(t,e,r,n){return this.j="function"==typeof r?r:n,ak(this),o0(this,t,"function"!=typeof r?r:{},e),ax(this)}Da(){return this.u}m(){var t=new ix;iA(t,"image_in"),iA(t,"norm_rect");let e=new ip;r9(e,sM,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"),iy(r,"IMAGE:image_in"),iy(r,"NORM_RECT:norm_rect"),r.o(e),ib(t,r),on(this,t),this.outputConfidenceMasks&&(ik(t,"confidence_masks"),i_(r,"CONFIDENCE_MASKS:confidence_masks"),oi(this,"confidence_masks"),this.g.aa("confidence_masks",(t,e)=>{this.confidenceMasks=t.map(t=>o5(this,t,!0,!this.j)),or(this,e)}),this.g.attachEmptyPacketListener("confidence_masks",t=>{this.confidenceMasks=[],or(this,t)})),this.outputCategoryMask&&(ik(t,"category_mask"),i_(r,"CATEGORY_MASK:category_mask"),oi(this,"category_mask"),this.g.Z("category_mask",(t,e)=>{this.categoryMask=o5(this,t,!1,!this.j),or(this,e)}),this.g.attachEmptyPacketListener("category_mask",t=>{this.categoryMask=void 0,or(this,t)})),ik(t,"quality_scores"),i_(r,"QUALITY_SCORES:quality_scores"),this.g.attachFloatVectorListener("quality_scores",(t,e)=>{this.qualityScores=t,or(this,e)}),this.g.attachEmptyPacketListener("quality_scores",t=>{this.categoryMask=void 0,or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};aS.prototype.getLabels=aS.prototype.Da,aS.prototype.segmentForVideo=aS.prototype.La,aS.prototype.segment=aS.prototype.segment,aS.prototype.setOptions=aS.prototype.o,aS.createFromModelPath=function(t,e){return o2(aS,t,{baseOptions:{modelAssetPath:e}})},aS.createFromModelBuffer=function(t,e){return o2(aS,t,{baseOptions:{modelAssetBuffer:e}})},aS.createFromOptions=function(t,e){return o2(aS,t,e)};var aL=class{constructor(t,e,r){this.confidenceMasks=t,this.categoryMask=e,this.qualityScores=r}close(){this.confidenceMasks?.forEach(t=>{t.close()}),this.categoryMask?.close()}};aL.prototype.close=aL.prototype.close;var aR=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect_in",!1),this.outputCategoryMask=!1,this.outputConfidenceMasks=!0,this.h=new sP,this.u=new sL,ro(this.h,0,3,this.u),ro(t=this.h,0,1,e=new i0)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return"outputCategoryMask"in t&&(this.outputCategoryMask=t.outputCategoryMask??!1),"outputConfidenceMasks"in t&&(this.outputConfidenceMasks=t.outputConfidenceMasks??!0),super.l(t)}segment(t,e,r,n){let i="function"!=typeof r?r:{};if(this.j="function"==typeof r?r:n,this.qualityScores=this.categoryMask=this.confidenceMasks=void 0,r=this.C+1,n=new sU,e.keypoint&&e.scribble)throw Error("Cannot provide both keypoint and scribble.");if(e.keypoint){var s=new sC;e0(s,3,t6(!0),!1),e0(s,1,t0(e.keypoint.x),0),e0(s,2,t0(e.keypoint.y),0),ra(n,1,sD,s)}
vendor: 6,690 bytes, line 1
1else{if(!e.scribble)throw Error("Must provide either a keypoint or a scribble.");{let t=new sN;for(s of e.scribble)e0(e=new sC,3,t6(!0),!1),e0(e,1,t0(s.x),0),e0(e,2,t0(s.y),0),ru(t,1,sC,e);ra(n,2,sD,t)}}this.g.addProtoToStream(n.g(),"mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest","roi_in",r),o4(this,t,i);t:{try{let t=new aL(this.confidenceMasks,this.categoryMask,this.qualityScores);if(!this.j){var o=t;break t}this.j(t)}finally{os(this)}o=void 0}return o}m(){var t=new ix;iA(t,"image_in"),iA(t,"roi_in"),iA(t,"norm_rect_in");let e=new ip;r9(e,sM,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"),iy(r,"IMAGE:image_in"),iy(r,"ROI:roi_in"),iy(r,"NORM_RECT:norm_rect_in"),r.o(e),ib(t,r),on(this,t),this.outputConfidenceMasks&&(ik(t,"confidence_masks"),i_(r,"CONFIDENCE_MASKS:confidence_masks"),oi(this,"confidence_masks"),this.g.aa("confidence_masks",(t,e)=>{this.confidenceMasks=t.map(t=>o5(this,t,!0,!this.j)),or(this,e)}),this.g.attachEmptyPacketListener("confidence_masks",t=>{this.confidenceMasks=[],or(this,t)})),this.outputCategoryMask&&(ik(t,"category_mask"),i_(r,"CATEGORY_MASK:category_mask"),oi(this,"category_mask"),this.g.Z("category_mask",(t,e)=>{this.categoryMask=o5(this,t,!1,!this.j),or(this,e)}),this.g.attachEmptyPacketListener("category_mask",t=>{this.categoryMask=void 0,or(this,t)})),ik(t,"quality_scores"),i_(r,"QUALITY_SCORES:quality_scores"),this.g.attachFloatVectorListener("quality_scores",(t,e)=>{this.qualityScores=t,or(this,e)}),this.g.attachEmptyPacketListener("quality_scores",t=>{this.categoryMask=void 0,or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};aR.prototype.segment=aR.prototype.segment,aR.prototype.setOptions=aR.prototype.o,aR.createFromModelPath=function(t,e){return o2(aR,t,{baseOptions:{modelAssetPath:e}})},aR.createFromModelBuffer=function(t,e){return o2(aR,t,{baseOptions:{modelAssetBuffer:e}})},aR.createFromOptions=function(t,e){return o2(aR,t,e)};var aI=class extends o6{constructor(t,e){super(new o1(t,e),"input_frame_gpu","norm_rect",!1),this.j={detections:[]},ro(t=this.h=new sB,0,1,e=new i0)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return void 0!==t.displayNamesLocale?eY(this.h,2,eu(t.displayNamesLocale)):"displayNamesLocale"in t&&eY(this.h,2),void 0!==t.maxResults?rf(this.h,3,t.maxResults):"maxResults"in t&&eY(this.h,3),void 0!==t.scoreThreshold?rd(this.h,4,t.scoreThreshold):"scoreThreshold"in t&&eY(this.h,4),void 0!==t.categoryAllowlist?rg(this.h,5,t.categoryAllowlist):"categoryAllowlist"in t&&eY(this.h,5),void 0!==t.categoryDenylist?rg(this.h,6,t.categoryDenylist):"categoryDenylist"in t&&eY(this.h,6),this.l(t)}F(t,e){return this.j={detections:[]},o4(this,t,e),this.j}G(t,e,r){return this.j={detections:[]},o0(this,t,r,e),this.j}m(){var t=new ix;iA(t,"input_frame_gpu"),iA(t,"norm_rect"),ik(t,"detections");let e=new ip;r9(e,sG,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.ObjectDetectorGraph"),iy(r,"IMAGE:input_frame_gpu"),iy(r,"NORM_RECT:norm_rect"),i_(r,"DETECTIONS:detections"),r.o(e),ib(t,r),this.g.attachProtoVectorListener("detections",(t,e)=>{for(let e of t)t=iN(e),this.j.detections.push(sK(t));or(this,e)}),this.g.attachEmptyPacketListener("detections",t=>{or(this,t)}),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};aI.prototype.detectForVideo=aI.prototype.G,aI.prototype.detect=aI.prototype.F,aI.prototype.setOptions=aI.prototype.o,aI.createFromModelPath=async function(t,e){return o2(aI,t,{baseOptions:{modelAssetPath:e}})},aI.createFromModelBuffer=function(t,e){return o2(aI,t,{baseOptions:{modelAssetBuffer:e}})},aI.createFromOptions=function(t,e){return o2(aI,t,e)};var aF=class{constructor(t,e,r){this.landmarks=t,this.worldLandmarks=e,this.segmentationMasks=r}close(){this.segmentationMasks?.forEach(t=>{t.close()})}};function aP(t){t.landmarks=[],t.worldLandmarks=[],t.segmentationMasks=void 0}function aM(t){try{let e=new aF(t.landmarks,t.worldLandmarks,t.segmentationMasks);if(!t.u)return e;t.u(e)}finally{os(t)}}aF.prototype.close=aF.prototype.close;var aC=class extends o6{constructor(t,e){super(new o1(t,e),"image_in","norm_rect",!1),this.landmarks=[],this.worldLandmarks=[],this.outputSegmentationMasks=!1,ro(t=this.h=new sj,0,1,e=new i0),this.A=new sE,ro(this.h,0,3,this.A),this.j=new sv,ro(this.h,0,2,this.j),rf(this.j,4,1),rd(this.j,2,.5),rd(this.A,2,.5),rd(this.h,4,.5)}get baseOptions(){return rr(this.h,i0,1)}set baseOptions(t){ro(this.h,0,1,t)}o(t){return"numPoses"in t&&rf(this.j,4,t.numPoses??1),"minPoseDetectionConfidence"in t&&rd(this.j,2,t.minPoseDetectionConfidence??.5),"minTrackingConfidence"in t&&rd(this.h,4,t.minTrackingConfidence??.5),"minPosePresenceConfidence"in t&&rd(this.A,2,t.minPosePresenceConfidence??.5),"outputSegmentationMasks"in t&&(this.outputSegmentationMasks=t.outputSegmentationMasks??!1),this.l(t)}F(t,e,r){return this.u="function"==typeof e?e:r,aP(this),o4(this,t,"function"!=typeof e?e:{}),aM(this)}G(t,e,r,n){return this.u="function"==typeof r?r:n,aP(this),o0(this,t,"function"!=typeof r?r:{},e),aM(this)}m(){var t=new ix;iA(t,"image_in"),iA(t,"norm_rect"),ik(t,"normalized_landmarks"),ik(t,"world_landmarks"),ik(t,"segmentation_masks");let e=new ip;r9(e,sV,this.h);let r=new iv;rp(r,2,"mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"),iy(r,"IMAGE:image_in"),iy(r,"NORM_RECT:norm_rect"),i_(r,"NORM_LANDMARKS:normalized_landmarks"),i_(r,"WORLD_LANDMARKS:world_landmarks"),r.o(e),ib(t,r),on(this,t),this.g.attachProtoVectorListener("normalized_landmarks",(t,e)=>{for(let e of(this.landmarks=[],t))t=iG(e),this.landmarks.push(sz(t));or(this,e)}),this.g.attachEmptyPacketListener("normalized_landmarks",t=>{this.landmarks=[],or(this,t)}),this.g.attachProtoVectorListener("world_landmarks",(t,e)=>{for(let e of(this.worldLandmarks=[],t))t=iD(e),this.worldLandmarks.push(sY(t));or(this,e)}),this.g.attachEmptyPacketListener("world_landmarks",t=>{this.worldLandmarks=[],or(this,t)}),this.outputSegmentationMasks&&(i_(r,"SEGMENTATION_MASK:segmentation_masks"),oi(this,"segmentation_masks"),this.g.aa("segmentation_masks",(t,e)=>{this.segmentationMasks=t.map(t=>o5(this,t,!0,!this.u)),or(this,e)}),this.g.attachEmptyPacketListener("segmentation_masks",t=>{this.segmentationMasks=[],or(this,t)})),t=t.g(),this.setGraph(new Uint8Array(t),!0)}};aC.prototype.detectForVideo=aC.prototype.G,aC.prototype.detect=aC.prototype.F,aC.prototype.setOptions=aC.prototype.o,aC.createFromModelPath=function(t,e){return o2(aC,t,{baseOptions:{modelAssetPath:e}})},aC.createFromModelBuffer=function(t,e){return o2(aC,t,{baseOptions:{modelAssetBuffer:e}})},aC.createFromOptions=function(t,e){return o2(aC,t,e)},aC.POSE_CONNECTIONS=ay}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.