Olympia Apotheke - ETHILON Nahtm.schw.monof.2-0 100cm LS1 W736G - 12 St (2024)

Olympia Apotheke - ETHILON Nahtm.schw.monof.2-0 100cm LS1 W736G - 12 St

\"awPopup(html, 'Bitte den Rezeptcode scannen!', 'take-webcam-photo remove-popup', undefined, undefined, 'auto', true);jQuery('.buttonLinks.barcode.disk').on('click',function () {jQuery('#barcodeFile').click();jQuery('.aw-popup-close').click();});jQuery('.buttonLinks.barcode.webcam').on('click',function () {let videoDevices = [];devices.forEach(device => {if (device.kind === 'videoinput') {videoDevices.push(device);}});const candidate = videoDevices.filter(it => it.label.toLowerCase().indexOf('back') > -1);if (candidate && candidate.length) {selectedCamera = candidate[0].deviceId;} else {selectedCamera = videoDevices[0].deviceId;}openBarcodeWebcamPopup(videoDevices);});} else {let videoDevices = [];devices.forEach(device => {if (device.kind === 'videoinput') {videoDevices.push(device);}});const candidate = videoDevices.filter(it => it.label.toLowerCase().indexOf('back') > -1);if (candidate && candidate.length) {selectedCamera = candidate[0].deviceId;} else {selectedCamera = videoDevices[0].deviceId;}openBarcodeWebcamPopup(videoDevices);} } else { localStorage.setItem('openFileInputBarcode', 'Y'); } }) }).catch(e => {alert('Die Kamera Berechtigung ist nicht aktiv');}); } catch (e) { alert(JSON.stringify(e)); jQuery('#barcodeFile').click(); } }); document.getElementById('barcodeFile').addEventListener('change', function(e) {jQuery(".erezept-file-upload").addClass("loader")awAsyncJS("/ecommerce/images/js/zxing-browser.min.js", '', '', '', '', function () {awAsyncJS("/ecommerce/images/js/image-conversion.js", '', '', '', '', function () {const codeReader = new ZXingBrowser.BrowserDatamatrixCodeReader();const onScanFinishedOk = () => {if (typeof createOrderErezept !== 'undefined' && createOrderErezept) {createQuickOrderERezept();} else {window.location.href = 'https://shop.olympia-apotheke.eu/showcart';}}function withTimeout(promise, timeout) {return new Promise((resolve, reject) => {setTimeout(() => reject(new Error("Timeout")), timeout);promise.then(resolve, reject);});}const decodeFun = async (img) => {try {return await withTimeout(codeReader.decodeFromImageElement(img), 3000);} catch (e) {// console.error(e);}return null;}function canvasToBlob(canvas) {return new Promise((resolve, reject) => {canvas.toBlob(blob => {if (blob) {resolve(blob);} else {reject(new Error('Canvas to Blob conversion failed'));}}, 'image/png');});}async function fileToImage(file) {const dataURL = await imageConversion.filetoDataURL(file);return await imageConversion.dataURLtoImage(dataURL);}function rotateImageAndDisplay(imageElement, degrees, targetElementId) {return new Promise((resolve, reject) => {const canvas = document.createElement('canvas');const ctx = canvas.getContext('2d');function handleLoad() {if (degrees === 90 || degrees === 270) {canvas.width = imageElement.height;canvas.height = imageElement.width;} else {canvas.width = imageElement.width;canvas.height = imageElement.height;}ctx.translate(canvas.width / 2, canvas.height / 2);ctx.rotate(degrees * Math.PI / 180);ctx.drawImage(imageElement, -imageElement.width / 2, -imageElement.height / 2);const dataURL = canvas.toDataURL();const targetElement = document.createElement('img');targetElement.id = targetElementId;targetElement.src = dataURL;targetElement.style.display = 'none';document.body.append(targetElement);resolve();}if (imageElement.complete) {handleLoad();} else {imageElement.onload = handleLoad;imageElement.onerror = reject;}});}const findCodeInImage = async () => {let idx = 0;let found = null;while (!found && idx < 30) {const image = document.getElementById('barcode-scanner-photo-result-rotated');const canvas = document.createElement("canvas");const ctx = canvas.getContext("2d");const desiredWidth = 100 * (idx + 1);const desiredHeight = 100 * (idx + 1);canvas.width = desiredWidth;canvas.height = desiredHeight;ctx.drawImage(image, image.width - desiredWidth, 0, desiredWidth, desiredHeight, 0, 0, desiredWidth, desiredHeight);const croppedImage = canvas.toDataURL("image/jpeg", 1.0);const newImage = document.createElement('img');newImage.classList.add('erezept-img-test');newImage.src = croppedImage;newImage.videoWidth = 0;// console.log(idx);// document.querySelectorAll('.erezept-img-test').forEach(it => it.remove());// document.body.append(newImage);idx++;found = await decodeFun(newImage);if (!found) {const blob = await canvasToBlob(canvas);const compressFile = await imageConversion.compressAccurately(blob, {size: 80,accuracy: 0.99,type: 'image/jpeg',width: '',height: '',scale: 0.5});const compressImage = await fileToImage(compressFile);found = await decodeFun(compressImage);}if (desiredWidth > image.width && desiredHeight > image.height) break;}return found;}const decodeFromImage = async () => {const original = document.getElementById('barcode-scanner-photo-result');const onImageLoad = async () => {const isPortrait = original.naturalWidth < original.naturalHeight;if (isPortrait) {await rotateImageAndDisplay(original, 90, 'barcode-scanner-photo-result-rotated')} else {await rotateImageAndDisplay(original, 0, 'barcode-scanner-photo-result-rotated')}let found = await findCodeInImage();if (!found) {document.getElementById('barcode-scanner-photo-result-rotated').remove();await rotateImageAndDisplay(original, 180, 'barcode-scanner-photo-result-rotated');found = await findCodeInImage();}if (found) {await handleDataMatrixScanned(found, false);onScanFinishedOk();} else {alert('ERezept nicht gefunden');jQuery(".erezept-file-upload").removeClass("loader");original.removeEventListener('load', onImageLoad);}}if (original.complete && original.naturalHeight !== 0) {await onImageLoad();} else {original.addEventListener('load', onImageLoad);}}if (e.target.files && e.target.files.length) {const fr = new FileReader();fr.onload = async function () {if (fr.result.indexOf('data:image/jpeg') > -1 || fr.result.indexOf('data:image/png') > -1) {document.getElementById('barcode-scanner-photo-result').src = fr.result;await decodeFromImage();} else if (fr.result.indexOf('data:application/pdf') > -1) {awAsyncJS("https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.0.269/pdf.min.mjs", '', '', '', '', function () {awAsyncJS("/ecommerce/images/js/html2canvas.min.js", '', '', '', '', async function () {pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.0.269/pdf.worker.min.mjs';const pdfDoc = await pdfjsLib.getDocument(fr.result).promise;const page = await pdfDoc.getPage(1);const viewport = page.getViewport({scale: 1});const canvas = document.createElement('canvas');const ctx = canvas.getContext('2d');canvas.height = viewport.height;canvas.width = viewport.width;const renderContext = {canvasContext: ctx,viewport: viewport};await page.render(renderContext).promise;document.getElementById('barcode-scanner-photo-result').src = canvas.toDataURL();await decodeFromImage();});}, 'module');} else {console.log(fr.result);alert('invalid photo');}}fr.readAsDataURL(e.target.files[0]);}});}); }); function openBarcodeWebcamPopup(devices) { let html = "

" + "

" +"

" + "

" +"

" + "" + //"" +"" + "

" + "" + "
  • Rezept einlösen
  • Downloads
  • Über uns
  • Zur Olympia
  • Olympia WebApp
  • Hilfe
  • Kontakt

    Startseite

    Olympia Apotheke - ETHILON Nahtm.schw.monof.2-0 100cm LS1 W736G - 12 St (2)
    Anbieter:
    + Actic Medical GmbH
    Einheit:
    12 St
    PZN:
    16251129
    Ihr Preis:
    95,35€¹
    Hauptapo Olympia Apotheke:

    Leider nicht lieferbar. Aber es gibt Alternativen. Bitte rufen Sie uns an.

    Maximilian Center:

    Leider nicht lieferbar. Aber es gibt Alternativen. Bitte rufen Sie uns an.

    Tulla Apotheke:

    Leider nicht lieferbar. Aber es gibt Alternativen. Bitte rufen Sie uns an.

    Verfügbarkeit:
    Leider nicht lieferbar. Aber es gibt Alternativen. Bitte rufen Sie uns an.
    • Suche ähnliches Produkt
    • Suche diesen Anbieter
    Wirkstoff
    Praxisbedarf, Instrumente
  • ');var productAvailabilitySelector = 'dl.productAvailability';var productSummaryElementsToChange = ['dl.productPrice', productAvailabilitySelector, 'div.youSavePercent'];jQuery('body').find('div.boxProduct').each(function() {var $actor = jQuery(this);var id = $actor.attr('id');var $replacement = $body.find('#' + id);if ($replacement.length) {productSummaryElementsToChange.forEach(v => {if (v === productAvailabilitySelector) {var listReplaced = replaceElement($actor, $replacement, '.productAvailabilityPharmaciesList');var globalReplaced = replaceElement($actor, $replacement, '.productAvailabilityPharmaciesGlobal');if (!listReplaced && !globalReplaced) {replaceElement($actor, $replacement, v);}} else {replaceElement($actor, $replacement, v);}});} else {productSummaryElementsToChange.forEach(v => $actor.find(v).hide());}});var headerSelector = '#nav div.nav-top ul:not(.nav-top-submenu):first';$header = jQuery(headerSelector);$replacementHeader = $body.find(headerSelector);if ($replacementHeader.length) {$header.replaceWith($replacementHeader);}} catch (e) {console.error(e);}}jQuery(document).ready(function() {if (!window.navigator.onLine) {handleOfflineStatus();}});function handleOfflineStatus() {jQuery('#nav div.nav-top div.wrap').prepend('Sie sehen eine Offline-Version der Seite, da keine Internetverbindung besteht.');jQuery('a, button').on('click',function(e) {e.preventDefault();awPopup2('Sie sind offline. Bitte stellen Sie eine Verbindung zum Internet her, um diese Seite anzuzeigen.', 'Offline','offline-popup');});}window.addEventListener('online', () => window.location.reload());window.addEventListener('offline', handleOfflineStatus);

    Olympia Apotheke - ETHILON Nahtm.schw.monof.2-0 100cm LS1 W736G - 12 St (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Domingo Moore

    Last Updated:

    Views: 5535

    Rating: 4.2 / 5 (73 voted)

    Reviews: 88% of readers found this page helpful

    Author information

    Name: Domingo Moore

    Birthday: 1997-05-20

    Address: 6485 Kohler Route, Antonioton, VT 77375-0299

    Phone: +3213869077934

    Job: Sales Analyst

    Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

    Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.