PageSourceSearch

https://www.pdfescape.com/pdfescape-service-pages-optimize-static/…Kz4iDo_GTJ07b7eprqRU71ehlSdc6XM1RP2yCzzVmeQ

js pdfescape.com collected 2026-10-01 10:37:58 UTC 15,636 bytes, 1 lines download raw bytes

1var cookieService=function(){var e={setCookie:function(e,t,n,o){var i=new Date;i.setTime(i.getTime()+864e5*n);var r=e+"="+t+";path=/;expires="+i.toGMTString();o&&(r+=";domain="+o),document.cookie=r},getCookie:function(e){var t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?t[2]:null},deleteCookie:function(t,n){e.setCookie(t,"",-1,n)}};return e}(),oauth=function(){var e=window.oauthConfig.authCookieName,t=function(e){return clientConfig.environmentconfig.authurl+"api"+e},n={isAuthorized:function(){return null!=this.getAuthData()},isActivated:function(){var e=this.getAuthData();if(null==e)return!1;var t=e.status;return 0!=t&&t%2>0},setAuthData:function(t){var n=encodeURIComponent(JSON.stringify(t)),o=urlHelper._getDomain();cookieService.setCookie(e,n,365,o)}};return n.getAuthData=function(){return function(){var t=cookieService.getCookie(e);if(null!=t){var n=decodeURIComponent(t),o=JSON.parse(n);return o&&(o.firstName&&(o.firstName=decodeURI(o.firstName)),o.lastName&&(o.lastName=decodeURI(o.lastName))),o}return null}()},n.deleteAuthData=function(){var t=urlHelper.getDomain();cookieService.deleteCookie(e,t),cookieService.deleteCookie(e)},n.getAccountProducts=function(e){var n=this.getAuthData();return!(!n||!n.access_token)&&(apiService.get(t("/account/products"),function(t,n){if(!t)try{var o=JSON.parse(n);e(o)}catch(e){return!1}},n.access_token),!0)},n.identityToken=function(e,n,o){var i={grant_type:"identity",access_token:e,refresh_token:n};return apiService.postForm(t("/token"),i,function(e,t){if(e)o(e);else{var n=null;try{n=JSON.parse(t)}catch(t){o(e)}n&&o(null,n)}})},n.checkStatus=function(e){void 0===e&&(e=function(e){});var n=this.getAuthData();n&&n.access_token&&apiService.get(t("/account/account-status"),function(t,o){if(!t)try{return Number(o)&&(n.status=Number(statusResult),setAuthData(n)),void e(o)}catch(e){}e(null)},n.access_token)},n}(),useragent=window.navigator.userAgent.toLowerCase(),html=document.getElementsByTagName("html")[0],jwt=function(){"use strict";var e={parse:function(e){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(window.atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(n)}};return e}();-1!=useragent.indexOf("mac")&&html.classList.add("mac-device"),"ar"==window.lang&&html.setAttribute("dir","rtl");var apiService=function(){"use strict";var e=function(e,t,n,o,i){var r=new XMLHttpRequest;if(r.open(e,t,!0),n)for(var a in n)r.setRequestHeader(a,n[a]);i&&(r.onload=function(){i(null,r.response)},r.onerror=function(){i(r.response)}),r.send(o)},t={get:function(t,n,o){var i={};o&&(i.Authorization="Bearer "+o),e("GET",t,i,null,n)},postForm:function(t,n,o,i){var r=[];for(var a in n){var c=encodeURIComponent(a),s=encodeURIComponent(n[a]);r.push(c+"="+s)}r=r.join("&");var u={"Content-Type":"application/x-www-form-urlencoded"};i&&(u.Authorization="Bearer "+i),e("POST",t,u,r,o)},postJson:function(t,n,o,i){var r=JSON.stringify(n),a={"Content-Type":"application/json"};i&&(a.Authorization="Bearer "+i),e("POST",t,a,r,o)}};return t}(),isJTrackingLoading=!0,isOIDCLibLoading=!1,isLocalHost=-1!==window.location.href.indexOf("localhost"),isStage=-1!==window.location.href.indexOf("stage")||isLocalHost;function initUserFromCookie(){}function initUser(e,t){void 0===t&&(t=!1)}function changeUserDialogVisibility(e){var t=document.querySelectorAll(".user-authorized"),n=document.querySelectorAll(".user-unauthorized");for(i=0;i<t.length;i++)e?(t[i].style.display="",n[i].style.display="none"):(t[i].style.display="none",n[i].style.display="")}function hideUserDialog(){var e=document.querySelectorAll(".user-authorized"),t=document.querySelectorAll(".user-unauthorized");for(i=0;i<e.length;i++)e[i].style.display="none",t[i].style.display="none"}function signIn(){internalSignIn(!1,null)}function internalSignIn(e,t){getDefaultUserManager(function(n){preparePostSignUpTracking().then(function(o){var i={state:base64UrlEncode('{\n                "redicrectPage": "'+window.location.protocol+"//"+window.location.host+window.location.pathname+'",\n                "queryString": "'+window.location.search+'",\n                "webFormsApiJson": '+JSON.stringify(o)+"\n            }"),ui_locales:localizationService.convertLangToCulture(window.lang)};e&&(i.prompt="none"),t&&(i.extraQueryParams={session_hint:t}),n.signinRedirect(i)})})}function signOut(){var e=oauth.getAuthData();oauth.deleteAuthData(),sessionStore.remove(),localStorage.removeItem("photo_data"),e&&e.id_token?getDefaultUserManager(function(t){var n=base64UrlEncode('{\n                "redicrectPage": "'+window.location.protocol+"//"+window.location.host+window.location.pathname+'",\n                "queryString": "'+window.location.search+'"\n            }'),o={id_token_hint:e.id_token,state:n,ui_locales:localizationService.convertLangToCulture(window.lang)};t.signoutRedirect(o)}):window.location.reload()}function getDefaultUserManager(e){getUserManager({authority:oauthConfig.authority,client_id:oauthConfig.clientId,redirect_uri:oauthConfig.redirectUri,response_type:"code",scope:oauthConfig.scope,post_logout_redirect_uri:oauthConfig.postLogoutRedirectUri},e)}function getUserManager(e,t){if(!isOIDCLibLoading)if("undefined"==typeof Oidc)isOIDCLibLoading=!0,loadOidcScript(function(){isOIDCLibLoading=!1;var n=new Oidc.UserManager(e);t(n)});else{var n=new Oidc.UserManager(e);t(n)}}function preparePostSignUpTracking(e){return function(e){var t={};t.formId=e,t.language=window.lang,t.url=location.href,t.pageName=location.pathname.replace(/\//gi,".").replace(/^\./gi,"").replace(/\.$/gi,"");for(var n=["googleid","msnid","overtureid"],o=0;o<n.length;o++){var i=n[o];t[i]&&(t.advTypeName=i,t.advTypeValue=t[i])}return jTrackingService.initJtracking().then(function(e){return isJTrackingLoading=!1,e?jTracking.getCheckoutTracking():[]}).then(function(e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t.visitorId=window.jTracking.getVisitorId(),t})}("SodaPDF-WEB")}function loadOidcScript(e){var t=document.createElement("script");t.onload=function(){e()},t.src=oauthConfig.authority+"/identity-server-static/lib/oidc-client/1.11.5/oidc-client.min.js",document.head.appendChild(t)}function getParameterByName(e,t){void 0===t&&(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);
1return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}function loginActivationFlow(e,t){void 0===t&&(t=!1),getDefaultUserManager(function(n){var o=window.location.search;t&&(o+="&isPayment=true");var i={state:base64UrlEncode('{\n            "redicrectPage": "'+window.location.protocol+"//"+window.location.host+window.location.pathname+'",\n            "queryString": "'+o+'"\n        }'),ui_locales:localizationService.convertLangToCulture(window.lang)};e&&(i.login_hint=e),n.signinRedirect(i)})}function createPasswordActivationFlow(e,t,n,o,i){void 0===i&&(i=!1),getDefaultUserManager(function(r){var a=window.location.search;i&&(a+="&isPayment=true");var c={state:base64UrlEncode('{\n            "redicrectPage": "'+window.location.protocol+"//"+window.location.host+window.location.pathname+'",\n            "queryString": "'+a+'"\n        }'),ui_locales:localizationService.convertLangToCulture(window.lang)},s={userId:e,firstName:t,lastName:n,email:o};c.acr_values="1;"+base64UrlEncode(JSON.stringify(s)),r.signinRedirect(c)})}function prepareValidateAccountPopup(){var e=document.createElement("iframe"),t=document.querySelector(".body");e.setAttribute("name","loginIframe"),e.style.borderBottom=0;var n=document.createElement("div");n.classList.add("login-iframe");var o=document.createElement("div");o.classList.add("scroll-wrapper"),n.appendChild(o),o.appendChild(e);var i=document.createElement("div");i.classList.add("spinner-border"),i.style.display="none";var r=document.createElement("div");r.classList.add("spinner"),i.appendChild(r),t.appendChild(i);var a="en"===window.lang?"":"/"+window.lang;isStage?(e.classList.add("validateAccount"),e.src="https://stage.sodapdf.com"+a+"/account/validate-account/?noheader=true&nogtm=true"):(e.classList.add("validateAccount"),e.src="https://www.sodapdf.com"+a+"/account/validate-account/?noheader=true&nogtm=true"),t.appendChild(n);var c=window.addEventListener?"addEventListener":"attachEvent";(0,window[c])("attachEvent"===c?"onmessage":"message",function(t){if(isStage){if("https://stage.sodapdf.com"!==t.origin)return}else if("https://www.sodapdf.com"!==t.origin)return;var n=document.querySelector(".login-iframe iframe");processPostMessage(t,"closeLogin")&&showLogin(),processPostMessage(t,"closeValidateAccount")&&showLogin(),processPostMessage(t,"resendEmail")&&n.classList.add("resendEmail"),setTimeout(function(){if(processPostMessage(t,"windowResize")){var n=t.data.split("+");e.style.height=n[1]+"px"}},"100")})}function showValidateAccount(){if(oauth.isAuthorized()&&!oauth.isActivated())oauth.checkStatus(afterGetAccountStatus);else if(oauth.isActivated()){document.getElementById("not-validated").style.display="none"}}function afterGetAccountStatus(e){e&e%2>0?refreshPage():showLogin()}function showSpinner(){var e=document.querySelector(".spinner-border");void 0!==e&&null!=e&&(e.style.display="block")}function hideSpinner(){var e=document.querySelector(".spinner-border");void 0!==e&&null!=e&&(e.style.display="none")}function showLogin(){"block"!=document.querySelector(".spinner-border").style.display?showSpinner():hideSpinner(),closeMobileHeader(),document.querySelector(".login-iframe").classList.toggle("showLogin"),hideSpinner()}function refreshPage(e){void 0===e&&(e=!1),window.location.reload(e)}function processPostMessage(e,t){return void 0!==e.data&&null!==e.data?-1!==e.data.toString().indexOf(t):void 0!==e.message&&null!==e.data&&-1!==e.message.toString().indexOf(t)}document.addEventListener("DOMContentLoaded",function(){initUserFromCookie()});var langBtn=document.querySelector(".lang-btn"),isOpen=!1;langBtn&&langBtn.addEventListener("click",function(){var e=document.getElementsByClassName("body")[0];e.classList.toggle("open--lang"),isOpen=e.classList.contains("open--lang")});var specifiedElement=document.querySelector(".dropdown-langs");function b64DecodeUnicode(e){var t=e.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}document.addEventListener("click",function(e){isOpen&&(specifiedElement.contains(e.target)||langBtn.contains(e.target)||(document.querySelector(".body").classList.remove("open--lang"),isOpen=!0))});var urlHelper=function(){"use strict";var e={getDomain:function(){return window.location.hostname.split(".").slice(-2).join(".")}};return e}();function initAssignLazyLoadCode(){var e,t=document.querySelectorAll(".lazy");function n(){e&&clearTimeout(e),e=setTimeout(function(){var e=Math.abs(document.body.getBoundingClientRect().top)+window.innerHeight;t.forEach(function(t){var n=Math.abs(t.getBoundingClientRect().top+window.scrollY);window.document.documentMode&&(n=Math.abs(t.getBoundingClientRect().top+document.documentElement.scrollTop)),0!==n&&e>=(n-=100)&&(t.src=t.dataset.src,t.classList.remove("lazy"))}),0==(t=document.querySelectorAll(".lazy")).length&&(document.removeEventListener("scroll",n),window.removeEventListener("resize",n),window.removeEventListener("orientationChange",n))},20)}window.addEventListener("scroll",n),window.addEventListener("resize",n),window.addEventListener("orientationChange",n),n()}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),"loading"!==document.readyState?initAssignLazyLoadCode():document.addEventListener("DOMContentLoaded",function(){initAssignLazyLoadCode()});var localizationService=function(){var e={en:"en-US",fr:"fr-FR",de:"de-DE",it:"it-IT",es:"es-ES"},t={convertLangToCulture:function(t){return e[t]?e[t]:e.en}};return t}(),sessionStore=function(){"use strict";var e=window.oauthConfig.sessionCookieName,t={getShared:function(){return cookieService.getCookie(e)},getClient:function(){return localStorage.getItem("web.session")},set:function(t){var n=urlHelper.getDomain();cookieService.setCookie(e,t,365,n),localStorage.setItem("web.session",t)},remove:function(){var t=urlHelper.getDomain();cookieService.deleteCookie(e,t),localStorage.removeItem("web.session")}};return t}(),TrackingProxyService=function(e){var t={initTracking:function(){return e?avqToolsService.initTracking():jTrackingService.initJtracking()},getCheckoutTracking:function(){return e?avqTools.getSession():jTracking.getCheckoutTracking()},getVisitorId:function(){return e?avqTools.getVisitorId():jTracking.getVisitorId()}};return t}("true"===window.isAvqTracking.toLowerCase());!function(){if("undefined"!=typeof window&&window.addEventListener){var e,t=Object.create(null),n=function(){clearTimeout(e),e=setTimeout(a,100)},o=function(){},i=function(){if(window.addEventListener("resize",n,!1),window.addEventListener("orientationchange",n,!1),window.MutationObserver){var e=new MutationObserver(n);e.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),o=function(){try{e.disconnect(),window.removeEventListener("resize",n,!1),window.removeEventListener("orientationchange",n,!1)}catch(e){}}}else document.documentElement.addEventListener("DOMSubtreeModified",n,!1),o=function(){document.documentElement.removeEventListener("DOMSubtreeModified",n,!1),window.removeEventListener("resize",n,!1),window.removeEventListener("orientationchange",n,!1)}},r=function(e){function t(e){if(void 0!==e.protocol)var t=e;else(t=document.createElement("a")).href=e;return t.protocol.replace(/:/g,"")+t.host}if(window.XMLHttpRequest){var n=new XMLHttpRequest,o=t(location);e=t(e),n=void 0===n.withCredentials&&""!==e&&e!==o?XDomainRequest||void 0:XMLHttpRequest}return n},a=function(){function e(){0===--d&&(o(),i())}function n(e){return function(){!0!==t[e.base]&&(e.useEl.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+e.hash),e.useEl.hasAttribute("href")&&e.useEl.setAttribute("href","#"+e.hash))}}function a(t){return function(){var n=document.body,o=document.createElement("x");t.onload=null,o.innerHTML=t.responseText,(o=o.getElementsByTagName("svg")[0])&&(o.setAttribute("aria-hidden","true"),o.style.position="absolute",o.style.width=0,o.style.height=0,o.style.overflow="hidden",n.insertBefore(o,n.firstChild)),e()}}function c(t){return function(){t.onerror=null,t.ontimeout=null,e()}}var s,u,d=0;o();var l=document.getElementsByTagName("use");for(u=0;
1u<l.length;u+=1){try{var g=l[u].getBoundingClientRect()}catch(e){g=!1}var f=(s=l[u].getAttribute("href")||l[u].getAttributeNS("http://www.w3.org/1999/xlink","href")||l[u].getAttribute("xlink:href"))&&s.split?s.split("#"):["",""],v=f[0];f=f[1];var m=g&&0===g.left&&0===g.right&&0===g.top&&0===g.bottom;g&&0===g.width&&0===g.height&&!m?(l[u].hasAttribute("href")&&l[u].setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s),v.length&&(!0!==(s=t[v])&&setTimeout(n({useEl:l[u],base:v,hash:f}),0),void 0===s&&(void 0!==(f=r(v))&&(s=new f,t[v]=s,s.onload=a(s),s.onerror=c(s),s.ontimeout=c(s),s.open("GET",v),s.send(),d+=1)))):m?v.length&&t[v]&&setTimeout(n({useEl:l[u],base:v,hash:f}),0):void 0===t[v]?t[v]=!0:t[v].onload&&(t[v].abort(),delete t[v].onload,t[v]=!0)}l="",d+=1,e()},c=function t(){window.removeEventListener("load",t,!1),e=setTimeout(a,0)};"complete"!==document.readyState?window.addEventListener("load",c,!1):c()}}();

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.