This commit is contained in:
Peter Maquiran
2021-10-27 14:42:10 +01:00
parent 7882f76d54
commit 934c998cde
25 changed files with 116 additions and 62 deletions
@@ -0,0 +1,8 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 7H18V8H7V7Z" fill="white"/>
<path d="M10.5 9C11.3284 9 12 8.32843 12 7.5C12 6.67157 11.3284 6 10.5 6C9.67157 6 9 6.67157 9 7.5C9 8.32843 9.67157 9 10.5 9Z" fill="white"/>
<path d="M17.5 35C27.165 35 35 27.165 35 17.5C35 7.83502 27.165 0 17.5 0C7.83502 0 0 7.83502 0 17.5C0 27.165 7.83502 35 17.5 35Z" fill="#C63527"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 25.5L8.5 10.5L26.5 10.5V25.5H8.5Z" stroke="white" stroke-width="2" stroke-linejoin="round"/>
<path d="M20 21C21.1046 21 22 20.1046 22 19C22 17.8954 21.1046 17 20 17C18.8954 17 18 17.8954 18 19C18 20.1046 18.8954 21 20 21Z" stroke="white"/>
<path d="M22 19.5H25.5M9 21C11.308 20 14.308 19.5 18 19.5L9 21Z" stroke="white"/>
</svg>

After

Width:  |  Height:  |  Size: 849 B

@@ -0,0 +1,9 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 7H18V8H7V7Z" fill="white"/>
<path d="M10.5 9C11.3284 9 12 8.32843 12 7.5C12 6.67157 11.3284 6 10.5 6C9.67157 6 9 6.67157 9 7.5C9 8.32843 9.67157 9 10.5 9Z" fill="white"/>
<path d="M17.5 35C27.165 35 35 27.165 35 17.5C35 7.83502 27.165 0 17.5 0C7.83502 0 0 7.83502 0 17.5C0 27.165 7.83502 35 17.5 35Z" fill="#C63527"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 9H25V27H10V9Z" stroke="white" stroke-width="2" stroke-linejoin="round"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 23H25V27H10V23Z" fill="white"/>
<path d="M19 19C20.1046 19 21 18.1046 21 17C21 15.8954 20.1046 15 19 15C17.8954 15 17 15.8954 17 17C17 18.1046 17.8954 19 19 19Z" stroke="white"/>
<path d="M21 17.5H24.5M10.5 19C12.167 18 14.333 17.5 17 17.5L10.5 19Z" stroke="white"/>
</svg>

After

Width:  |  Height:  |  Size: 919 B

+2 -8
View File
@@ -20,7 +20,7 @@
* Javascript code in this page
*/
(function webpackUniversalModuleDefinition(root, factory) {
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
@@ -9928,8 +9928,6 @@ function getDocument(src) {
source = src;
}
console.log('source================================================', source)
var params = Object.create(null);
var rangeTransport = null,
worker = null;
@@ -10002,9 +10000,7 @@ function getDocument(src) {
}
(0, _util.setVerbosityLevel)(params.verbosity);
console.log('params=======================', params)
if (!worker) {
var workerParams = {
verbosity: params.verbosity,
@@ -10016,8 +10012,6 @@ function getDocument(src) {
var docId = task.docId;
worker.promise.then(function () {
if (task.destroyed) {
throw new Error('Loading aborted');
}
+4 -8
View File
@@ -20,7 +20,7 @@
* Javascript code in this page
*/
(function webpackUniversalModuleDefinition(root, factory) {
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
@@ -2952,7 +2952,7 @@ var store = global[SHARED] || setGlobal(SHARED, {});
})('versions', []).push({
version: '3.2.1',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
/***/ }),
@@ -6250,7 +6250,7 @@ module.exports = !fails(function () {
var url = new URL('b?e=1', 'http://a');
var searchParams = url.searchParams;
url.pathname = 'c%20d';
return IS_PURE && !url.toJSON || !searchParams.sort || url.href !== 'http://a/c%20d?e=1' || searchParams.get('e') !== '1' || String(new URLSearchParams('?a=1')) !== 'a=1' || !searchParams[ITERATOR] || new URL('https://a@b').username !== 'a' || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' || new URL('http://тест').host !== 'xn--e1aybc' || new URL('http://a#б').hash !== '#%D0%B1';
return IS_PURE && !url.toJSON || !searchParams.sort || url.href !== 'http://a/c%20d?e=1' || searchParams.get('e') !== '1' || String(new URLSearchParams('?a=1')) !== 'a=1' || !searchParams[ITERATOR] || new URL('https://a@b').username !== 'a' || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' || new URL('http://тест').host !== 'xn--e1aybc' || new URL('http://a#б').hash !== '#%D0%B1';
});
/***/ }),
@@ -44839,7 +44839,7 @@ var getSerifFonts = (0, _core_utils.getLookupTableFactory)(function (t) {
t['Sylfaen'] = true;
t['Times'] = true;
t['Trajan'] = true;
t['Trinité'] = true;
t['Trinité'] = true;
t['Trump Mediaeval'] = true;
t['Utopia'] = true;
t['Vale Type'] = true;
@@ -56297,8 +56297,6 @@ function () {
_createClass(PDFWorkerStream, [{
key: "getFullReader",
value: function getFullReader() {
console.log('getFullReader')
(0, _util.assert)(!this._fullRequestReader);
this._fullRequestReader = new PDFWorkerStreamReader(this._msgHandler);
return this._fullRequestReader;
@@ -56306,8 +56304,6 @@ function () {
}, {
key: "getRangeReader",
value: function getRangeReader(begin, end) {
console.log('getRangeReader')
var reader = new PDFWorkerStreamRangeReader(begin, end, this._msgHandler);
this._rangeRequestReaders.push(reader);
+36 -10
View File
@@ -7,6 +7,42 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PDF.js viewer</title>
<link rel="stylesheet" href="viewer.css">
<script>
window.parent.zipPhoneCallback('nice');
function setCookie(name,value,days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}
function getCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
window.addEventListener("message", (event) => {
console.log(event)
if (event.data && event.data.sender == "cookies") {
}
});
</script>
<link rel="resource" type="application/l10n" href="locale/locale.properties">
<script src="../build/pdf.js"></script>
<script src="viewer.js"></script>
@@ -370,16 +406,6 @@
</div> <!-- outerContainer -->
<div id="printContainer"></div>
<script>
window.addEventListener("message", (event) => {
if (event.data &&
event.data.sender == "get_page_button1") {
//alert("Frame window alert 2");
}
});
</script>
</body>
</html>