Der Link oben kann nun kopiert und geteilt werden.","dcl_saved":"Die Konfiguration ist als 'Deep Link' erfolgreich gespeichert. Der Link oben kann nun kopiert und geteilt werden.","dcl_copy":"Link kopieren","dcl_copy_done":"Link in die Zwischenablage kopiert","dcl_copy_error":"Sorry, leider ist das Kopieren in die Zwischenablage nicht möglich","please_select":"Bitte auswählen","basket_change":"im Warenkorb ändern","hint_before_basket_change":"Konfiguration ändern: Bestellmenge oder sonstige Optionen","hint_before_order_repeat":"Wiederholte Bestellung: Einstellungen genau überprüfen und gegebenenfalls ändern.","article_price_label":"Ihr Konfigurationspreis:","article_ordercode_label":"Produkt-Code:","article_not_exist":"Produkt/Komponente(n) ist/sind in der Konfiguration nicht mehr vorhanden. Bitte alternative Komponente/Produkt auswählen.","article_delivery_label":"Lieferzeit:","config_discount_saved":"gespart","multiupload_counttext":"Uploads"};var defaultsJSON={};var parentgroupsJSON={};var childrenOfParentCurrentDetach={};var detachedStore={};var blackoptions={};var parentgroupsErrors=[];var blackoptions_product={};var basketButtonActiveJSON={};var sticky;if(window.router['frontend.data-request.custom.data']===undefined)window.router['frontend.data-request.custom.data']='/data-request/custom/data';if(window.router['frontend.deep-link.get.url']===undefined)window.router['frontend.deep-link.get.url']='/deep-link/get/url';if(window.router['frontend.optioninfo.get.data']===undefined)window.router['frontend.optioninfo.get.data']='/optioninfo/get/data';if(window.router['frontend.multi-upload.file.upload']===undefined)window.router['frontend.multi-upload.file.upload']='/multi-upload/file/upload';if(window.router['frontend.multi-upload.file.remove']===undefined)window.router['frontend.multi-upload.file.remove']='/multi-upload/file/remove';var bogxMultiuploads='{"o_lichtduchl\u00e4ssigkeit_2":{"uploads":{}},"o_transparente_stoffe":{"uploads":{}},"o_halbtransparente_stoffe":{"uploads":{}},"o_halbdimout_stoffe":{"uploads":{}},"o_abdunkelnde_stoffe":{"uploads":{}},"o_area":{"uploads":{}},"o_montaz":{"uploads":{}},"o_schienenfarben":{"uploads":{}},"o_bediengriff":{"uploads":{}}}';var dropzone_id="";function showFilesFromServer(bogx_files,max_files,fileCountOnServer,wrap_element,dropzone,upload_data_trigger){bogx_files.forEach(function(bogx_file){let mockFile={bogx_uuid:bogx_file.id,name:bogx_file.name,size:bogx_file.size,ext:bogx_file.ext,url:bogx_file.url,status:Dropzone.ADDED,accepted:true};let callback=function(){return"success";};let crossOrigin=null;let resizeThumbnail=false;let result=dropzone.displayExistingFile(mockFile,bogx_file.url,callback,crossOrigin,resizeThumbnail);dropzone.files.push(mockFile);if(wrap_element.classList.contains('bogx--hidden'))wrap_element.classList.remove('bogx--hidden');});dropzone.files.forEach(function(file){console.log("file: ",file);let uuid=file.bogx_uuid;let filename=file.name;let url=file.url;let filesize=dropzone.filesize(file.size).replace(/(<([^>]+)>)/gi,"");let fileext=file.bogx_ext;file.previewElement.setAttribute('data-uuid',uuid);file.previewElement.setAttribute('data-name',filename);file.previewElement.setAttribute('data-url',url);file.previewElement.setAttribute('data-size',filesize);file.previewElement.setAttribute('data-ext',fileext);var removeButton=Dropzone.createElement('');file.previewElement.querySelector("div.thumb-container").appendChild(removeButton);var _this=dropzone;var formData="uuid="+file["bogx_uuid"];removeButton.addEventListener("click",function(e){e.preventDefault();e.stopPropagation();_this.removeFile(file);removeFileFromServer(formData,upload_data_trigger);upload_data_trigger.value=Date.now();upload_data_trigger.dispatchEvent(new Event('change'));});});}
function removeFileFromServer(formData,upload_data_trigger){if(upload_data_trigger.getAttribute("data-state")==='ready'){var xhr=new XMLHttpRequest();xhr.open("POST",window.router['frontend.multi-upload.file.remove'],true);xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded");xhr.send(formData);xhr.onreadystatechange=function(){if(xhr.readyState===XMLHttpRequest.DONE){if(xhr.status===200){var response=xhr.responseText;if(xhr.getResponseHeader("content-type")&&~xhr.getResponseHeader("content-type").indexOf("application/json")){try{response=JSON.parse(response);}catch(error){e=error;response="Invalid JSON response from server.";}}}}};}}
window.meteorAjaxVariant={'backToReferrer':"",};window.twtCookiePermissionPositioned=false;