This commit is contained in:
Alexander Zinchuk 2021-11-19 17:36:25 +03:00
parent e9e1b6a442
commit a81fc70c3f
11 changed files with 14 additions and 14 deletions

View File

@ -1 +1 @@
4
5

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]),new Set(["AU","BD","CA","CO","EG","HN","IE","IN","JO","MX","MY","NI","NZ","PH","PK","SA","SV","US"]),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.d06a6e32c48ff8a75cf2.js.map
//# sourceMappingURL=354.2d6b579ec5a2bf7aaeb7.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"><title>Telegram</title><meta name="title" content="Telegram Web"><meta name="description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><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="mobile-web-app-capable" content="yes"><meta name="mobile-web-app-title" content="Telegram WebZ"><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="google" content="notranslate"><meta property="og:type" content="website"><meta property="og:url" content="https://web.telegram.org/z/"><meta property="og:title" content="Telegram Web"><meta property="og:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="og:image" content="./icon-192x192.png"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://web.telegram.org/z/"><meta property="twitter:title" content="Telegram Web"><meta property="twitter:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="twitter:image" content="./icon-192x192.png"><link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"><link rel="icon" href="./favicon.svg" type="image/svg+xml"><link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"><link rel="icon" type="image/png" sizes="192x192" href="./icon-192x192.png"><link rel="alternate icon" href="./favicon.ico" type="image/x-icon"><link rel="manifest" href="./site.webmanifest"><script defer="defer" src="main.37efab2c9656229f56d8.js"></script><link href="main.444e568b90ee36625f74.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"><title>Telegram</title><meta name="title" content="Telegram Web"><meta name="description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><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="mobile-web-app-capable" content="yes"><meta name="mobile-web-app-title" content="Telegram WebZ"><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="google" content="notranslate"><meta property="og:type" content="website"><meta property="og:url" content="https://web.telegram.org/z/"><meta property="og:title" content="Telegram Web"><meta property="og:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="og:image" content="./icon-192x192.png"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://web.telegram.org/z/"><meta property="twitter:title" content="Telegram Web"><meta property="twitter:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="twitter:image" content="./icon-192x192.png"><link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"><link rel="icon" href="./favicon.svg" type="image/svg+xml"><link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"><link rel="icon" type="image/png" sizes="192x192" href="./icon-192x192.png"><link rel="alternate icon" href="./favicon.ico" type="image/x-icon"><link rel="manifest" href="./site.webmanifest"><script defer="defer" src="main.ce1fa399df4b78360c06.js"></script><link href="main.444e568b90ee36625f74.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