This commit is contained in:
Alexander Zinchuk 2021-09-25 13:02:13 +03:00
parent 73c3b659e2
commit bfe6894431
11 changed files with 14 additions and 14 deletions

View File

@ -1 +1 @@
6
1

View File

@ -1,2 +1,2 @@
(()=>{"use strict";"undefined"!=typeof window&&window.innerHeight,Math.round(425),new Set(["newMessage","newScheduledMessage","deleteMessages","deleteScheduledMessages","deleteHistory"]);const e=new Set(["image/png","image/gif","image/jpeg"]),r=new Set(["video/mp4"]);new Set([...e,...r]),self.onerror=e=>{console.error(e),n({type:"unhandledError",error:{message:e.error.message||"Uncaught exception in worker"}})},self.addEventListener("unhandledrejection",(e=>{console.error(e),n({type:"unhandledError",error:{message:e.reason.message||"Uncaught rejection in worker"}})}));const t=new Map;function n(e,r){r?postMessage(e,r):postMessage(e)}let s;self.importScripts("rlottie-wasm.js");const a=new Promise((e=>{Module.onRuntimeInitialized=()=>{s={init:Module.cwrap("lottie_init","",[]),destroy:Module.cwrap("lottie_destroy","",["number"]),resize:Module.cwrap("lottie_resize","",["number","number","number"]),buffer:Module.cwrap("lottie_buffer","number",["number"]),render:Module.cwrap("lottie_render","",["number","number"]),loadFromData:Module.cwrap("lottie_load_from_data","number",["number","number"])},e()}})),o=new Map;var i;i={init:async function(e,r,t,n,i,d){s||await a;const c=JSON.stringify(r),l=allocate(intArrayFromString(c),"i8",0),m=s.init(),u=s.loadFromData(m,l);s.resize(m,t,t),o.set(e,{imgSize:t,reduceFactor:i,handle:m}),d(Math.ceil(u/i))},renderFrames:async function(e,r,t,n){s||await a;const{imgSize:i,reduceFactor:d,handle:c}=o.get(e);for(let e=r;e<=t;e++){const r=e*d;s.render(c,r);const t=s.buffer(c),a=Module.HEAPU8.subarray(t,t+i*i*4);n(e,new Uint8ClampedArray(a).buffer)}},destroy:function(e){const r=o.get(e);s.destroy(r.handle),o.delete(e)}},onmessage=async e=>{const{data:r}=e;switch(r.type){case"callMethod":{const{messageId:e,name:s,args:a}=r;try{if(e){const r=(...r)=>{const t=r[r.length-1];n({type:"methodCallback",messageId:e,callbackArgs:r},t instanceof ArrayBuffer?[t]:void 0)};t.set(e,r),a.push(r)}const[r,o]=await i[s](...a)||[];e&&n({type:"methodResponse",messageId:e,response:r},o)}catch(r){e&&n({type:"methodResponse",messageId:e,error:{message:r.message}})}e&&t.delete(e);break}case"cancelProgress":{const e=t.get(r.messageId);e&&(e.isCanceled=!0);break}}}})();
//# sourceMappingURL=354.8041a92beb2302b4ec50.js.map
//# sourceMappingURL=354.225b6ed558ee84b0eefe.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang="en" translate="no" class="notranslate"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Telegram WebZ"><meta name="application-name" content="Telegram WebZ"><meta name="msapplication-TileColor" content="#2b5797"><meta name="msapplication-config" content="./browserconfig.xml"><meta name="theme-color" content="#ffffff"><meta name="description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta name="google" content="notranslate"/><link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"><link rel="manifest" href="./site.webmanifest"><link rel="mask-icon" href="./safari-pinned-tab.svg" color="#3a8bf5"><title>Telegram</title><script defer="defer" src="main.b2bddec786783459ffd8.js"></script><link href="main.c3b9dbfd378bef2ded6a.css" rel="stylesheet"></head><body><div id="root"></div><div id="portals"></div></body></html>
<!doctype html><html lang="en" translate="no" class="notranslate"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Telegram WebZ"><meta name="application-name" content="Telegram WebZ"><meta name="msapplication-TileColor" content="#2b5797"><meta name="msapplication-config" content="./browserconfig.xml"><meta name="theme-color" content="#ffffff"><meta name="description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta name="google" content="notranslate"/><link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"><link rel="manifest" href="./site.webmanifest"><link rel="mask-icon" href="./safari-pinned-tab.svg" color="#3a8bf5"><title>Telegram</title><script defer="defer" src="main.77a38b026f57db13ba13.js"></script><link href="main.c3b9dbfd378bef2ded6a.css" rel="stylesheet"></head><body><div id="root"></div><div id="portals"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/report.html vendored

File diff suppressed because one or more lines are too long