PageSourceSearch

https://evernote.com/_next/static/chunks/2801.9c3421b70e66c4e3.js

js evernote.com collected 2026-09-24 08:25:48 UTC 4,277 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c92ed4c7-ca84-4cac-80de-0f87c7cedf07",e._sentryDebugIdIdentifier="sentry-dbid-c92ed4c7-ca84-4cac-80de-0f87c7cedf07")}()}catch(e){}(()=>{var e={22801:(e,t,r)=>{"use strict";var a=r(39830),n=r(50602);let o=e=>e.replace(/\.pdf$/i,"")||"document";class s extends Error{constructor(e){super(e),this.code=e}}let c=async e=>{try{let t=await a.UL4.load(e,{password:"",throwOnInvalidObject:!1});if(t.isEncrypted)throw new s("password-protected");return t}catch(e){if(e instanceof s||e instanceof Error&&/password|encrypt/i.test(e.message))throw new s("password-protected");throw new s("invalid")}},i=async e=>{let t=await a.UL4.create();for(let r of e){let e=await c(r.buffer);(await t.copyPages(e,e.getPageIndices())).forEach(e=>t.addPage(e))}return{type:"done",bytes:await t.save(),filename:"".concat(o(e[0].name),"_merged.pdf"),fileCount:e.length,fileType:"pdf"}},l=(e,t)=>
1{if(!t||0===t.length)return Array.from({length:e},(e,t)=>({indices:[t],label:"p".concat(t+1)}));let r=new Set,a=[];t.forEach((t,n)=>{let o=[...new Set(t)].filter(t=>Number.isInteger(t)&&t>=0&&t<e).sort((e,t)=>e-t);if(0===o.length)return;o.forEach(e=>r.add(e));let s=o[0],c=o[o.length-1],i=o.every((e,t)=>e===s+t);a.push({indices:o,label:i?s===c?"p".concat(s+1):"p".concat(s+1,"-p").concat(c+1):"group".concat(n+1)})});for(let t=0;t<e;t++)r.has(t)||a.push({indices:[t],label:"p".concat(t+1)});return a.sort((e,t)=>e.indices[0]-t.indices[0])},f=async e=>{let{files:t,groups:r}=e,i=[];for(let e of t){let t=await c(e.buffer),r=o(e.name);for(let e of t.getPageIndices())i.push({base:r,source:t,pageIndex:e})}let f={},d=async e=>{let t=i[e.indices[0]].base,r=await a.UL4.create();for(let t of e.indices){let{source:e,pageIndex:a}=i[t];(await r.copyPages(e,[a])).forEach(e=>r.addPage(e))}let n=await r.save(),o="".concat(t,"_").concat(e.label,".pdf"),s=2;for(;o in f;)o="".concat(t,"_").concat(s,"_").concat(e.label,".pdf"),s+=1;f[o]=n};if(r&&0!==r.length)for(let e of l(i.length,r))await d(e);else for(let e of l(i.length,void 0))await d(e);let p=Object.keys(f);if(0===p.length)throw new s("invalid");return 1===p.length?{type:"done",bytes:f[p[0]],filename:p[0],fileCount:1,fileType:"pdf"}:{type:"done",bytes:(0,n.L)(f,{level:0}),filename:1===t.length?"".concat(o(t[0].name),"_split.zip"):"split_pdfs.zip",fileCount:p.length,fileType:"zip"}};self.onmessage=async e=>{try{let t="merge"===e.data.mode?await i(e.data.files):await f(e.data);self.postMessage(t,[t.bytes.buffer])}catch(t){let e=t instanceof s?t.code:t instanceof Error&&/password/i.test(t.message)?"password-protected":"invalid";self.postMessage({type:"error",code:e})}}}},t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={exports:{}},s=!0;try{e[a].call(o.exports,o,o.exports,r),s=!1}finally{s&&delete t[a]}return o.exports}r.m=e,r.x=()=>{var e=r.O(void 0,[9830],()=>r(22801));return r.O(e)},(()=>{var e=[];r.O=(t,a,n,o)=>{if(a){o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[a,n,o];return}for(var c=1/0,s=0;s<e.length;s++){for(var[a,n,o]=e[s],i=!0,l=0;l<a.length;l++)(!1&o||c>=o)&&Object.keys(r.O).every(e=>r.O[e](a[l]))?a.splice(l--,1):(i=!1,o<c&&(c=o));if(i){e.splice(s--,1);var f=n();void 0!==f&&(t=f)}}return t}})(),r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,a)=>(r.f[a](e,t),t),[])),r.u=e=>"static/chunks/"+e+".4429768696d223ff.js",r.miniCssF=e=>{},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={2801:1};r.f.i=(t,a)=>{e[t]||importScripts(r.tu(r.p+r.u(t)))};var t=self.webpackChunk_N_E=self.webpackChunk_N_E||[],a=t.push.bind(t);t.push=t=>{var[n,o,s]=t;for(var c in o)r.o(o,c)&&(r.m[c]=o[c]);for(s&&s(r);n.length;)e[n.pop()]=1;a(t)}})(),(()=>{var e=r.x;r.x=()=>r.e(9830).then(e)})(),_N_E=r.x()})();

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.