Skip to Content

JavaScript File

URL: https://1tiktokdownloader.com/assets/es-module-shims.min-d89e73202ec09dede55fb74115af9c5f9f2bb965433de1c2446e1faa6dac2470.js
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Sun, 12 Feb 2023 19:04:28 GMT
Download Time: Less than a second
Cookies: None
Size: 32 KB
HTTP Headers:  15 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1(function(){const e="undefined"!==typeof window;const t="undefined"!==typeof document;const noop=()=>{}

2;const r=t?document.querySelector("script[type=esms-options]"):void 0;const s=r?JSON.parse(r.innerHTML):{}

3;Object.assign(s,self.esmsInitOptions||{}

4);let a=!t||!!s.shimMode;const n=globalHook(a&&s.onimport);const i=globalHook(a&&s.resolve);let c=s.fetch?globalHook(s.fetch):fetch;const f=s.meta?globalHook(a&&s.meta):noop;const te=s.skip?new RegExp(s.skip):null;const re=s.mapOverrides;let se=s.nonce;if(!se&&t){const e=document.querySelector("script[nonce]");e&&(se=e.nonce||e.getAttribute("nonce"))}

5const ae=globalHook(s.onerror||noop);const ne=s.onpolyfill?globalHook(s.onpolyfill):()=>{console.log("%c^^ Module TypeError above is polyfilled and can be ignored ^^","font-weight:900;color:#391")}

6;const{revokeBlobURLs:oe,noLoadEventRetriggers:ie,enforceIntegrity:ce}

7=s;function globalHook(e){return"string"===typeof e?self[e]:e}

8const le=Array.isArray(s.polyfillEnable)?s.polyfillEnable:[];const fe=le.includes("css-modules");const ue=le.includes("json-modules");const pe=!navigator.userAgentData&&!!navigator.userAgent.match(/Edge\/\d+\.\d+/);const de=t?document.baseURI:`${location.protocol}

9//${location.host}

10${location.pathname.includes("/")?location.pathname.slice(0,location.pathname.lastIndexOf("/")+1):location.pathname}

11`;function createBlob(e,t="text/javascript"){return URL.createObjectURL(new Blob([e],{type:t}

12))}

13const eoop=e=>setTimeout((()=>{throw e}

14));const throwError=t=>{(self.reportError||e&&window.safari&&console.error||eoop)(t),void ae(t)}

15;function fromParent(e){return e?` imported from ${e}

16`:""}

17let be=false;function setImportMapSrcOrLazy(){be=true}

18if(!a)if(document.querySelectorAll("script[type=module-shim],script[type=importmap-shim],link[rel=modulepreload-shim]").length)a=true;else{let e=false;for(const t of document.querySelectorAll("script[type=module],script[type=importmap]"))if(e){if("importmap"===t.type&&e){be=true;break}

19}

20else"module"!==t.type||t.ep||(e=true)}

21const he=/\\/g;function isURL(e){if(-1===e.indexOf(":"))return false;try{new URL(e);return true}

22catch(e){return false}

23}

24function resolveUrl(e,t){return resolveIfNotPlainOrUrl(e,t)||(isURL(e)?e:resolveIfNotPlainOrUrl("./"+e,t))}

25function resolveIfNotPlainOrUrl(e,t){const r=t.indexOf("?",-1===t.indexOf("#")?t.indexOf("#"):t.length);-1!==r&&(t=t.slice(0,r));-1!==e.indexOf("\\")&&(e=e.replace(he,"/"));if("/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){const r=t.slice(0,t.indexOf(":")+1);let s;if("/"===t[r.length+1])if("file:"!==r){s=t.slice(r.length+2);s=s.slice(s.indexOf("/")+1)}

26else s=t.slice(8);else s=t.slice(r.length+("/"===t[r.length]));if("/"===e[0])return t.slice(0,t.length-s.length-1)+e;const a=s.slice(0,s.lastIndexOf("/")+1)+e;const n=[];let i=-1;for(let e=0;e<a.length;e++)if(-1===i){if("."===a[e]){if("."===a[e+1]&&("/"===a[e+2]||e+2===a.length)){n.pop();e+=2;continue}

27if("/"===a[e+1]||e+1===a.length){e+=1;continue}

28}

29while("/"===a[e])e++;i=e}

30else if("/"===a[e]){n.push(a.slice(i,e+1));i=-1}

31-1!==i&&n.push(a.slice(i));return t.slice(0,t.length-s.length)+n.join("")}

32}

33function resolveAndComposeImportMap(e,t,r){const s={imports:Object.assign({}

34,r.imports),scopes:Object.assign({}

35,r.scopes)}

36;e.imports&&resolveAndComposePackages(e.imports,s.imports,t,r);if(e.scopes)for(let a in e.scopes){const n=resolveUrl(a,t);resolveAndComposePackages(e.scopes[a],s.scopes[n]||(s.scopes[n]={}

37),t,r)}

38return s}

39function getMatch(e,t){if(t[e])return e;let r=e.length;do{const s=e.slice(0,r+1);if(s in t)return s}

40while(-1!==(r=e.lastIndexOf("/",r-1)))}

...

</html>