angular.module("CarFilters2",[]).filter("startFrom2",function(){return function(e,t){return e?(t=+t,e.slice(t)):[]}}),CarControlers.controller("product_details",["$scope","$http","$timeout","$sce","$location","$routeParams",function($scope,$http,$timeout,$sce,$location,$routeParams){$scope.add_to_basket_arr={},$scope.add_to_basket_arr.courier=0,$scope.add_to_basket_arr.inPostPaczkomat="",$scope.$watch("windowWidth",function(){$scope.windowWidth<=1200?$scope.windowWidth>960?($scope.slider2_width=Math.floor(.9*$scope.windowWidth)/3,$(".main2_1_1_2").width(3*$scope.slider2_width),$(".main2_1_1_3").css("width","5%"),$(".main2_1_1_1").css("width","5%")):$scope.windowWidth>800?($scope.slider2_width=Math.floor(.84*$scope.windowWidth)/2,$(".main2_1_1_2").width(2*$scope.slider2_width),$(".main2_1_1_3").css("width","8%"),$(".main2_1_1_1").css("width","8%")):$scope.windowWidth>650?($scope.slider2_width=Math.floor(.88*$scope.windowWidth)/2,$(".main2_1_1_2").width(2*$scope.slider2_width),$(".main2_1_1_3").css("width","6%"),$(".main2_1_1_1").css("width","6%")):$scope.windowWidth>360?($scope.slider2_width=Math.floor(.6*$scope.windowWidth),$(".main2_1_1_2").width($scope.slider2_width),$(".main2_1_1_3").css("width","20%"),$(".main2_1_1_1").css("width","20%")):($scope.slider2_width=Math.floor(.76*$scope.windowWidth),$(".main2_1_1_2").width($scope.slider2_width),$(".main2_1_1_3").css("width","12%"),$(".main2_1_1_1").css("width","12%")):($scope.slider2_width=360,$(".main2_1_1_2").width(3*$scope.slider2_width),$(".main2_1_1_3").css("width","5%"),$(".main2_1_1_1").css("width","5%")),$(".top20_1").width($scope.windowWidth)}),$scope.count_loyalty_points=function(){var e=0;e="3"==$scope.details.products_profiles_type?$scope.count_price()/$scope.main_settings[11].value/$scope.currency.rate*$scope.special_dates.change2:$scope.prices_arr2[$scope.add_to_basket_arr.selected_product].price/$scope.main_settings[11].value/$scope.currency.rate*$scope.special_dates.change2,$scope.loyalty_points=e};var productid=$routeParams.productid;$scope.details={},$scope.details.selected_amount=1,$scope.add_to_basket_arr.selected_amount=1,$scope.details_text_gifts="Zobacz więcej prezent\xf3w",$scope.show_all_gifts=function(){var e=$(".gifts").height(),t=$(".gifts00").height();415==e?($(".gifts").animate({height:t},500),$scope.details_text_gifts="Zwiń listę",document.getElementById("showAllGifts").style.display="none"):($(".gifts").animate({height:415},500),$scope.details_text_gifts="Zobacz więcej prezent\xf3w")},$scope.show_gift_info=function(e,t,o){gtag("event","GiftInfo"),Swal.fire({title:e,imageUrl:t,html:o,confirmButtonColor:"#55A602"},"success")},$scope.canCustomize=0,$scope.checkCustomize=function(e){e.includes("asna")?$scope.canCustomize=1:($scope.canCustomize=0,$scope.add_to_basket_arr.customize1="",$scope.add_to_basket_arr.customize2="",$scope.add_to_basket_arr.customize3="",$scope.add_to_basket_arr.customize4="")},$scope.runFPD=function(custom_arr,customizeJSON){$("#fpdFabric").length>0||($("head").append($("").attr("href","css/FancyProductDesigner-all.min.css").attr("rel","stylesheet")),$("head").append($("").attr("src","js/fabric-3.0.0.min.js").attr("id","fpdFabric")),$("head").append($("").attr("src","js/FancyProductDesigner-all.min.js").attr("id","fpdFn"))),$scope.jack_daniels_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/jack.png",options:{stageWidth:"650"},elements:[{title:"Jack Daniels",source:"images/etykiety/jack.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:323,top:110,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:22,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:1,curved:1,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Wiek",source:custom_arr.customize2,type:"text",parameters:{left:323,top:172,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:45,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Adnotacja",source:custom_arr.customize3,type:"text",parameters:{left:323,top:272,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:25,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:150,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize4,type:"text",parameters:{left:520,top:180,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:13,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:8,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:130,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize5,type:"text",parameters:{left:520,top:280,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:15,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:100,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}}]}]]}],$scope.sachino_slub_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/sachino_slub.png",options:{stageWidth:"650"},elements:[{title:"Sachino Slub",source:"images/etykiety/sachino-slub.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:443,top:120,originX:"center",originY:"center",z:-1,fill:"#a87e76",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Forum",fontSize:45,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:100,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Imię",source:custom_arr.customize2,type:"text",parameters:{left:443,top:170,originX:"center",originY:"center",z:-1,fill:"#a87e76",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Forum",fontSize:45,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Zyczenia",source:custom_arr.customize3,type:"text",parameters:{left:443,top:240,originX:"center",originY:"center",z:-1,fill:"#1d1d1b",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Petit",fontSize:13,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:200,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize4,type:"text",parameters:{left:443,top:300,originX:"center",originY:"center",z:-1,fill:"#a87e76",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Petit",fontSize:13,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:8,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:250,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Imię Lewe",source:custom_arr.customize1,type:"text",parameters:{left:176,top:175,originX:"center",originY:"center",z:-1,fill:"#a87e76",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Forum",fontSize:15,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:100,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Imię Lewe",source:custom_arr.customize2,type:"text",parameters:{left:176,top:220,originX:"center",originY:"center",z:-1,fill:"#a87e76",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Forum",fontSize:15,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Data Lewa",source:custom_arr.customize5,type:"text",parameters:{left:176,top:240,originX:"center",originY:"center",z:-1,fill:"#a87e76",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Forum",fontSize:10,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:1,width:100,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Data",source:custom_arr.customize5,type:"text",parameters:{left:443,top:330,originX:"center",originY:"center",z:-1,fill:"#a87e76",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Forum",fontSize:15,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:1,width:200,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}}]}]]}],$scope.jager_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/jager.png",options:{stageWidth:"500"},elements:[{title:"Jagermeister",source:"images/etykiety/jager.png",type:"image",parameters:{left:250,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:248,top:193,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"BerkshireSwash",fontSize:28,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Wiek",source:custom_arr.customize2,type:"text",parameters:{left:248,top:236,originX:"center",originY:"center",z:-1,fill:"#e8561f",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Arial",fontSize:27,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:200,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize3,type:"text",parameters:{left:248,top:285,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Gabriola",fontSize:12,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:5,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:120,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize4,type:"text",parameters:{left:248,top:330,originX:"center",originY:"center",z:-1,fill:"#e8561f",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Gabriola",fontSize:16,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}}]}]]}],$scope.moet_black_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/moet_black.png",options:{stageWidth:"650"},elements:[{title:"Moet Black",source:"images/etykiety/moet_black.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:335,top:170,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"MatrixIIOT-Book",fontSize:45,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:2,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podziękowania",source:custom_arr.customize2,type:"text",parameters:{left:335,top:210,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Myriad-Pro",fontSize:18,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:4,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:1,width:200,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize3,type:"text",parameters:{left:325,top:250,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"GreatVibes",fontSize:35,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:5,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:250,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},]}]]}],$scope.moet_rose_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/moet_rose.png",options:{stageWidth:"650"},elements:[{title:"Moet Rose",source:"images/etykiety/moet_rose.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:335,top:170,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"MatrixIIOT-Book",fontSize:45,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:2,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podziękowania",source:custom_arr.customize2,type:"text",parameters:{left:335,top:210,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Myriad-Pro",fontSize:18,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:4,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:300,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize3,type:"text",parameters:{left:325,top:250,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"GreatVibes",fontSize:35,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:5,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:250,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},]}]]}],$scope.moet_gold_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/moet_gold.png",options:{stageWidth:"650"},elements:[{title:"Moet Gold",source:"images/etykiety/moet_gold.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:335,top:170,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"MatrixIIOT-Book",fontSize:45,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:2,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podziękowania",source:custom_arr.customize2,type:"text",parameters:{left:335,top:210,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Myriad-Pro",fontSize:18,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:4,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:300,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize3,type:"text",parameters:{left:325,top:250,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"GreatVibes",fontSize:35,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:5,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:250,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},]}]]}],$scope.mionetto_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/mionetto.png",options:{stageWidth:"650"},elements:[{title:"Mionetto",source:"images/etykiety/mionetto.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:335,top:165,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Milkshake",fontSize:60,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podziękowania",source:custom_arr.customize2,type:"text",parameters:{left:335,top:245,originX:"center",originY:"center",z:-1,fill:"#b67b7b",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"LeagueSpartan",fontSize:18,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:4,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:240,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize3,type:"text",parameters:{left:335,top:320,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Milkshake",fontSize:20,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:180,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},]}]]}],$scope.portada_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/portada.png",options:{stageWidth:"650"},elements:[{title:"Portada",source:"images/etykiety/portada.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:325,top:170,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Cormorant",fontSize:21,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Tekst",source:custom_arr.customize2,type:"text",parameters:{left:325,top:215,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Cormorant",fontSize:30,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:1,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:240,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize3,type:"text",parameters:{left:325,top:250,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Cormorant",fontSize:23,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:1,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:180,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},]}]]}],$scope.jack_daniels_dziadek_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/jackdziadek.png",options:{stageWidth:"650"},elements:[{title:"Jack Daniels",source:"images/etykiety/jackdziadek.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:323,top:115,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:22,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:1,curved:1,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize2,type:"text",parameters:{left:520,top:200,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:13,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:8,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:130,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize3,type:"text",parameters:{left:520,top:280,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:20,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}}]}]]}],$scope.jager_dziadek_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/jagerdziadek.png",options:{stageWidth:"500"},elements:[{title:"Jagermeister",source:"images/etykiety/jagerdziadek.png",type:"image",parameters:{left:250,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:248,top:193,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"BerkshireSwash",fontSize:30,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Slogan",source:custom_arr.customize2,type:"text",parameters:{left:248,top:230,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Gabriola",fontSize:12,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:5,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:1,width:120,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize3,type:"text",parameters:{left:248,top:275,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Gabriola",fontSize:12,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:5,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:120,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize4,type:"text",parameters:{left:248,top:320,originX:"center",originY:"center",z:-1,fill:"#e8561f",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Gabriola",fontSize:14,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}}]}]]}],$scope.portada_babcia_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/portadababcia.png",options:{stageWidth:"650"},elements:[{title:"Portada",source:"images/etykiety/portadababcia.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:325,top:175,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Cormorant",fontSize:30,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}}]}]]}],$scope.mionetto_wielkanoc_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/mionetto_wielkanoc.png",options:{stageWidth:"650"},elements:[{title:"Mionetto Wielkanoc",source:"images/etykiety/mionetto_wielkanoc.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:325,top:150,originX:"center",originY:"center",z:-1,fill:"#e4ae24",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Montserrat",fontSize:38,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:0,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podziękowania",source:custom_arr.customize2,type:"text",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:"#ca6faa",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Insigne",fontSize:70,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:4,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:240,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize3,type:"text",parameters:{left:325,top:260,originX:"center",originY:"center",z:-1,fill:"#9e186a",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Milkshake",fontSize:25,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"bold",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:2,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:1,width:150,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},]}]]}],$scope.jack_milosc_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/jack_milosc.png",options:{stageWidth:"650"},elements:[{title:"Jack Daniels",source:"images/etykiety/jack_milosc.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:323,top:110,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:22,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:1,curved:1,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Życzenia",source:custom_arr.customize2,type:"text",parameters:{left:520,top:170,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:13,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:8,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:1,width:150,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Podpis",source:custom_arr.customize3,type:"text",parameters:{left:520,top:240,originX:"center",originY:"center",z:-1,fill:"#ffffff",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Colus",fontSize:20,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}}]}]]}],$scope.sachino_json=[{category:"Product Category One",products:[[{title:"Front",thumbnail:"images/etykiety/sachino.png",options:{stageWidth:"650"},elements:[{title:"Sachino",source:"images/etykiety/sachino.png",type:"image",parameters:{left:325,top:200,originX:"center",originY:"center",z:-1,fill:!1,colors:["#b33939"],colorLinkGroup:"base",draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!1,uniScalingUnlockable:0,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"inside",opacity:1,excludeFromExport:!1,locked:0,showInColorSelection:!1,boundingBox:!1,resizeToW:0,resizeToH:0,filter:null,scaleMode:"fit",minScaleLimit:.01,advancedEditing:!1,uploadZone:0}},{title:"Imię",source:custom_arr.customize1,type:"text",parameters:{left:345,top:90,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"Carattere",fontSize:60,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:1,curveSpacing:4,curveRadius:500,curveReverse:0,stroke:null,strokeWidth:1,maxLines:0,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"none",widthFontSize:0,textBox:0,width:207.97399536132812,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Tekst",source:custom_arr.customize2,type:"text",parameters:{left:350,top:160,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"MrDarcy",fontSize:20,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:1,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:1,width:220,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Tekst",source:custom_arr.customize3,type:"text",parameters:{left:350,top:210,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"MrDarcy",fontSize:15,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:1,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:180,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},{title:"Tekst",source:custom_arr.customize4,type:"text",parameters:{left:350,top:230,originX:"center",originY:"center",z:-1,fill:"#000000",colorLinkGroup:!1,draggable:0,rotatable:0,resizable:0,removable:0,zChangeable:0,scaleX:1,scaleY:1,lockUniScaling:!0,uniScalingUnlockable:!1,angle:0,autoCenter:!1,replaceInAllViews:!1,autoSelect:0,topped:0,boundingBoxMode:"clipping",opacity:1,excludeFromExport:0,locked:0,showInColorSelection:!1,fontFamily:"MrDarcy",fontSize:15,editable:0,lineHeight:1,textDecoration:"normal",maxLength:0,fontWeight:"normal",fontStyle:"normal",textAlign:"center",curvable:0,curved:0,curveSpacing:3,curveRadius:200,curveReverse:0,stroke:null,strokeWidth:1,maxLines:1,letterSpacing:0,chargeAfterEditing:!1,minFontSize:1,maxFontSize:1e3,textTransform:"uppercase",widthFontSize:0,textBox:0,width:180,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textNumberPlaceholder:"none"}},]}]]}],jQuery(document).ready(function(){var $yourDesigner=$("#fpd"),pluginOpts={productsJSON:eval(customizeJSON),langJSON:"lang/default.json",stageWidth:500,stageHeight:400,mainBarModules:[],disableTextEmojis:!0,boundingBoxProps:{strokeWidth:0},fonts:[{name:"Colus",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Colus-Regular.otf"},{name:"BerkshireSwash",url:"https://www.kwiatowaprzesylka.pl/css/fonts/BerkshireSwash-Regular.ttf"},{name:"Gabriola",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Gabriola.ttf"},{name:"Matrix-Book",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Matrix-Book.ttf"},{name:"Myriad-Pro",url:"https://www.kwiatowaprzesylka.pl/css/fonts/myriad-pro.ttf"},{name:"GreatVibes",url:"https://www.kwiatowaprzesylka.pl/css/fonts/GreatVibes-Regular.otf"},{name:"MatrixIIOT-Book",url:"https://www.kwiatowaprzesylka.pl/css/fonts/MatrixIIOT-Book.ttf"},{name:"Milkshake",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Milkshake.ttf"},{name:"LeagueSpartan",url:"https://www.kwiatowaprzesylka.pl/css/fonts/LeagueSpartan.otf"},{name:"Cormorant",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Cormorant-SemiBold.ttf"},{name:"Insigne",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Insigne.otf"},{name:"Montserrat",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Montserrat-Regular.ttf"},{name:"Carattere",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Carattere.ttf"},{name:"MrDarcy",url:"https://www.kwiatowaprzesylka.pl/css/fonts/MrDarcy.ttf"},{name:"Forum",url:"https://www.kwiatowaprzesylka.pl/css/fonts/Forum-Regular.otf"},{name:"Petit",url:"https://www.kwiatowaprzesylka.pl/css/fonts/PetitFormalScript-Regular.ttf"}]};yourDesigner=new FancyProductDesigner($yourDesigner,pluginOpts)})},$scope.select_element=function(e,t,o,a){$scope.add_to_basket_arr.selected_product=e,$scope.add_to_basket_arr.selected_product_name=t,$scope.add_to_basket_arr.selected_product_index=o,$scope.add_to_basket_arr.selected_product_pic=a,$(".product_options_1").removeClass("product_options_1_selected"),$("#product_options_1_"+e).addClass("product_options_1_selected"),$scope.checkCustomize(t),$scope.count_loyalty_points(),$scope.count_price()},$scope.add_to_basket_arr.selected_gifts={},$scope.add_to_basket_arr.selected_gifts_amount={},$scope.giftCard=0,$scope.select_gift=function(e){1==$scope.add_to_basket_arr.selected_gifts[e]?(3460==e&&($scope.giftCard=0,$scope.add_to_basket_arr.note=$scope.add_to_basket_arr.note.substring(0,180)),$scope.add_to_basket_arr.selected_gifts[e]=0,$("#gifts_1_1_"+e).removeClass("gifts_1_1_selected"),delete $scope.add_to_basket_arr.selected_gifts[e],delete $scope.add_to_basket_arr.selected_gifts_amount[e],$scope.count_price()):Swal.fire({title:"Wprowadź liczbę dodatk\xf3w",input:"number",icon:"question",showCancelButton:!0,cancelButtonText:"Anuluj",allowOutsideClick:!1,allowEscapeKey:!1,inputValue:1,inputAttributes:{min:1,max:5,step:1},inputValidator(t){if(!t||0==t||t>5||!1==/^-?\d+$/.test(t))return"Wprowadź liczbę z zakresu od 1 do 5";3460==e&&($scope.giftCard=1),$scope.add_to_basket_arr.selected_gifts_amount[e]=t,$scope.add_to_basket_arr.selected_gifts[e]=1,$("#gifts_1_1_"+e).addClass("gifts_1_1_selected"),$scope.count_price()}})},$scope.delivery_date_time="Kliknij i wybierz czas dostawy",$scope.select_delivery_date_time0=function(){$scope.delivery_arr.post_code="",$scope.select_delivery_date_time()},$scope.select_delivery_date_time=function(){"4"==$scope.details.products_profiles_type||"58"==$scope.details.products_profileid?$scope.get_details("no_scroll",$scope.delivery_arr.post_code,1):($scope.calculate_popup_position("select_date1","select_date_popup"),$scope.show("select_date_popup"),$scope.show("select_date_popup_back"))},$scope.selected_date_arr={},$scope.check_selected_date=function(e){$http.post("data/product_details/check_date.php",{id:$scope.details.productid,date:e,weekend:$scope.products_calendars.weekend_delivery,saturday:$scope.products_calendars.saturday_delivery,calendarid:$scope.products_calendars.products_calendarid,catalogNumber:$scope.details.catalog_number}).success(function(e){data1=JSON.parse(JSON.stringify(e)),$scope.special_dates=data1.special_dates,$scope.count_price()})},$scope.delivery_arr={},$scope.save_delivery_date_time=function(){void 0!==$scope.delivery_arr.time&&(0==$scope.special_dates.displaySpecialTimeRange||void 0===$scope.special_dates.displaySpecialTimeRange)?$scope.delivery_date_time=$scope.delivery_arr.date+" "+$scope.delivery_arr.time:1==$scope.special_dates.displaySpecialTimeRange&&1==$scope.products_calendars.displayTimeRange?($scope.delivery_arr.time=void 0,$scope.delivery_date_time=$scope.delivery_arr.date):1==$scope.special_dates.displaySpecialTimeRange&&0==$scope.products_calendars.displayTimeRange&&1==$scope.products_calendars.display_time?$scope.delivery_date_time=$scope.delivery_arr.date+" "+$scope.delivery_arr.time:$scope.delivery_date_time=$scope.delivery_arr.date,$(".callendar_prod02_1_1").css("display","none"),$scope.hide("select_date_popup_back"),$scope.hide("select_date_popup")},$scope.featured_products2=function(e){$http.post("data/product_details/featured_products.php",{productid:e}).success(function(e){data1=JSON.parse(JSON.stringify(e)),$scope.featured_products=data1.featured_products})},$scope.add_to_basket_arr.note="",$scope.count_note=function(){return $scope.main_settings[15].value-$scope.add_to_basket_arr.note.length},$scope.count_note1=function(){return 90-$scope.add_to_basket_arr.note.length},$scope.count_note2=function(){return 250-$scope.add_to_basket_arr.note.length},$scope.move_go_to_gal_el=function(e){var t=$(".product_details1_1_1_1").position().top,o=$(".product_details1_1_1_1").position().left,a=$(window).scrollTop();$scope.position2_left=e.clientX-o,$scope.position2_top=e.clientY-t+a-180},$scope.gallery_left=function(e){$scope.gallery_current_id<$scope.pictures_amount-1&&($scope.loading_show("#gallery_popup","gallery"),$scope.gallery_current_id=$scope.gallery_current_id+1,$scope.pic_big3=$scope.gallery[$scope.gallery_current_id].pic3,$scope.calculate_picture_postion($scope.gallery_current_id),$timeout(function(){$scope.loading_hide("#gallery_popup","gallery")},500),$scope.pictures_amount-1==$scope.gallery_current_id&&($scope[e].display_left="none"),$scope[e].display_right="block")},$scope.gallery_right=function(e){$scope.gallery_current_id>0&&($scope.loading_show("#gallery_popup","gallery"),$scope.gallery_current_id=$scope.gallery_current_id-1,$scope.pic_big3=$scope.gallery[$scope.gallery_current_id].pic3,$scope.calculate_picture_postion($scope.gallery_current_id),$timeout(function(){$scope.loading_hide("#gallery_popup","gallery")},500),0==$scope.gallery_current_id&&($scope[e].display_right="none"),$scope[e].display_left="block")},$scope.calculate_picture_postion=function(e){var t=($(window).width()-$("#big_pic").width())/2;$(".gallery_popup_1_1").css("margin-left",t+"px");var o=$(".gallery_popup_back").height(),a=$(".app1").height(),i=$("#big_pic").width()+100;o1&&($scope.details.selected_amount-=1),$scope.count_loyalty_points()},$scope.amount_more=function(){$scope.details.stock>$scope.details.selected_amount?$scope.details.selected_amount+=1:$scope.save_info2("#amount_plus","Dostępna ilość w magazynie "+$scope.stock),$scope.count_loyalty_points()},$scope.amount_creator_less=function(){$scope.add_to_basket_arr.selected_amount>$scope.details.min_amount?$scope.add_to_basket_arr.selected_amount-=1:$scope.save_info2("#amount_creator_minus","W bukiecie może być minimalnie "+$scope.details.min_amount+" kwiatk\xf3w"),$scope.count_loyalty_points()},$scope.amount_creator_more=function(){$scope.add_to_basket_arr.selected_amount<$scope.details.max_amount?$scope.add_to_basket_arr.selected_amount+=1:$scope.save_info2("#amount_creator_plus","W bukiecie może być maksymalnie "+$scope.details.max_amount+" kwiatk\xf3w"),$scope.count_loyalty_points()},$scope.amount_creator_less10=function(){$scope.add_to_basket_arr.selected_amount>$scope.details.min_amount?$scope.add_to_basket_arr.selected_amount-=10:$scope.save_info2("#amount_creator_minus","W bukiecie może być minimalnie "+$scope.details.min_amount+" kwiatk\xf3w"),$scope.count_loyalty_points()},$scope.amount_creator_more10=function(){$scope.add_to_basket_arr.selected_amount<$scope.details.max_amount?$scope.add_to_basket_arr.selected_amount+=10:$scope.save_info2("#amount_creator_plus","W bukiecie może być maksymalnie "+$scope.details.max_amount+" kwiatk\xf3w"),$scope.count_loyalty_points()},$scope.select_size=function(e,t,o){$scope.selected_size=e,$scope.show_select_list(t),$(".input3_3_1_1_1").html(""),setTimeout(function(){$("#input3_3_1_1_"+e).html("x")},0),$(".input3_1_input_text2").html("Wybrany rozmiar: "+o+"")},$scope.select_stars0=function(e){$(".stars00").css("display","block")},$scope.select_stars=function(e){$("#selected_stars").css("width",46*e),$scope.stars=e,$(".stars00").css("display","none")},$scope.show_select_list=function(e){"input3_3 input4_3_show"==$("#select_list_"+e).attr("class")?$("#select_list_"+e).removeClass("input4_3_show"):$("#select_list_"+e).addClass("input4_3_show")},$http.post("data/main/navigation.php",{productid:productid}).success(function(e){$scope.navigation=$sce.trustAsHtml(e)}),$scope.set_post_code=function(){$scope.get_details("no_scroll",$scope.delivery_arr.post_code2,1)},$scope.get_details=function(e,t,o){$scope.delivery_arr.post_code=t,$("#datepicker1").datepicker("destroy"),""==e&&$scope.scroll_to_el(".navigation",500,-50),$http.post("data/product_details/data.php",{productid:productid,selected_color:$scope.selected_color,selected_size:$scope.selected_size,post_code:t}).success(function(e){if($scope.pageReady(),product_details=e,$scope.details=product_details.details,$scope.accessories=product_details.accessories,$scope.pic_big=product_details.pic_big,$scope.pic_popup=product_details.popup,$scope.gallery=product_details.pictures,$scope.icons=product_details.icons,$scope.profiles_elements=product_details.profiles_elements,$scope.profiles_subelements=product_details.profiles_subelements,$scope.colors1=product_details.color1,$scope.colors2=product_details.color2,$scope.prices_arr=product_details.prices_arr,$scope.prices_arr2=product_details.prices_arr2,$scope.prices_arr3=product_details.prices_arr3,$scope.sizes=product_details.rozmiar,$scope.reviews=product_details.reviews,$scope.pic_big3=product_details.pic_big2,$scope.pictures_amount=product_details.pictures_amount,$scope.products2_arr=product_details.products,$scope.products3_arr=product_details.products2,$scope.selected_product=product_details.selected_product,$scope.products_calendars=product_details.products_calendars,$scope.products_calendars_elements=product_details.products_calendars_elements,$scope.special_dates=product_details.special_dates,$scope.add_to_basket_arr.selected_amount=product_details.details.default_amount,$scope.add_to_basket_arr.hasAlco=product_details.details.hasAlco,$scope.add_to_basket_arr.allowCustomize=product_details.details.allowCustomize,gtag("event","view_item",{currency:"PLN",value:$scope.count_price(),items:[{item_id:$scope.details.catalog_number,item_name:$scope.details.name}]}),$scope.featured_products2(productid),$scope.calculate_picture_postion(0),product_details.details.stock>0&&($scope.stock=product_details.details.stock),$scope.check_left_arrow("pd_slide1",$scope.pictures_amount),$scope.delivery_arr.date=$scope.products_calendars.minDate,"0"==$scope.products_calendars.weekend_delivery&&"0"==$scope.products_calendars.monday_delivery&&"0"==$scope.products_calendars.saturday_delivery)$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()},beforeShowDay:function(e){var t=e.getDay(),o=["2023-08-12","2023-04-29","2023-12-27","2024-03-30"],a=jQuery.datepicker.formatDate("yy-mm-dd",e);return[6!=t&&0!=t&&1!=t&&-1==o.indexOf(a)]}});else if("0"==$scope.products_calendars.weekend_delivery&&"0"==$scope.products_calendars.monday_delivery&&"1"==$scope.products_calendars.saturday_delivery)$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()},beforeShowDay:function(e){var t=e.getDay(),o=["2023-08-12","2023-04-29","2023-12-23","2023-12-27","2024-03-30"],a=jQuery.datepicker.formatDate("yy-mm-dd",e);return[0!=t&&1!=t&&-1==o.indexOf(a)]}});else if("1"==$scope.products_calendars.weekend_delivery&&"0"==$scope.products_calendars.monday_delivery&&"1"==$scope.products_calendars.saturday_delivery)$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()},beforeShowDay:function(e){var t=e.getDay(),o=["2023-08-12","2023-04-29","2024-03-30"],a=jQuery.datepicker.formatDate("yy-mm-dd",e);return[1!=t&&-1==o.indexOf(a)]}});else if("0"==$scope.products_calendars.weekend_delivery&&"1"==$scope.products_calendars.monday_delivery&&"1"==$scope.products_calendars.saturday_delivery)$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()},beforeShowDay:function(e){var t=e.getDay(),o=["2023-08-12","2023-04-29","2023-12-23","2024-03-30"],a=jQuery.datepicker.formatDate("yy-mm-dd",e);return[0!=t&&-1==o.indexOf(a)]}});else if("0"==$scope.products_calendars.weekend_delivery&&"1"==$scope.products_calendars.monday_delivery&&"0"==$scope.products_calendars.saturday_delivery)$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()},beforeShowDay:function(e){var t=e.getDay(),o=["2023-08-12","2023-04-29","2024-03-30"],a=jQuery.datepicker.formatDate("yy-mm-dd",e);return[0!=t&&6!=t&&-1==o.indexOf(a)]}});else{var t=new Date($scope.delivery_arr.date),a=new Date;"Kliknij i wybierz czas dostawy"==$scope.delivery_date_time&&0==t.getDay()&&0==a.getDay()?$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",defaultDate:1,minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()}}):"Kliknij i wybierz czas dostawy"==$scope.delivery_date_time&&0==t.getDay()&&6==a.getDay()?$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",defaultDate:2,minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()}}):$("#datepicker1").datepicker({inline:!0,altField:"#delivery_date",dateFormat:"yy-mm-dd",minDate:$scope.products_calendars.minDate,onSelect:function(e){$scope.delivery_arr.date=e,$scope.check_selected_date(e),$scope.set_time_picker()}})}if("Kliknij i wybierz czas dostawy"==$scope.delivery_date_time){var i=new Date($scope.delivery_arr.date),r=new Date;0==i.getDay()&&0==r.getDay()?(i.setDate(i.getDate()+1),$scope.delivery_arr.date=i.toISOString().split("T")[0]):0==i.getDay()&&6==r.getDay()&&(i.setDate(i.getDate()+1),$scope.delivery_arr.date=i.toISOString().split("T")[0]),$scope.check_selected_date($scope.delivery_arr.date)}else $scope.check_selected_date($scope.delivery_arr.date);$scope.set_time_picker(),1!=o&&$timeout(function(){if("4"==$scope.details.products_profiles_type){var e=$scope.prices_arr3[product_details.selected_product.ids];$scope.select_mid_picture($scope.prices_arr[e].pictures.pic2,$scope.prices_arr[e].pictures.pic3,$scope.prices_arr[e].pictures.products_pictureid,product_details.selected_product.ids)}else $scope.select_element(product_details.selected_product.id,product_details.selected_product.name,product_details.selected_product.index,product_details.selected_product.pic)},100),1==o&&$timeout(function(){$scope.calculate_popup_position("select_date1","select_date_popup"),$scope.show("select_date_popup"),$scope.show("select_date_popup_back")},100),1!=o&&$("html, body").animate({scrollTop:$("#product_details0").offset().top},10)})},$scope.set_time_picker=function(){$timeout(function(){$scope.delivery_arr.date==$scope.products_calendars.dateToday?"1"==$scope.products_calendars.display_minuts?($("#timepicker1").timepicker({timeFormat:"H:i",minTime:$scope.products_calendars.minHourToday,maxTime:$scope.products_calendars_elements.to_hour2,step:"15",disableTextInput:!0,disableTouchKeyboard:!0}),$("#timepicker1").timepicker("option","minTime",$scope.products_calendars.minHourToday)):($("#timepicker1").timepicker({step:60,timeFormat:"H:i",minTime:$scope.products_calendars.minHourToday,maxTime:$scope.products_calendars_elements.to_hour2,disableTextInput:!0,disableTouchKeyboard:!0}),$("#timepicker1").timepicker("option","minTime",$scope.products_calendars.minHourToday)):"1"==$scope.products_calendars.display_minuts?($("#timepicker1").timepicker({timeFormat:"H:i",minTime:$scope.products_calendars_elements.from_hour2,maxTime:$scope.products_calendars_elements.to_hour2,step:"15",disableTextInput:!0,disableTouchKeyboard:!0}),$("#timepicker1").timepicker("option","minTime",$scope.products_calendars_elements.from_hour2)):($("#timepicker1").timepicker({step:60,timeFormat:"H:i",minTime:$scope.products_calendars_elements.from_hour2,maxTime:$scope.products_calendars_elements.to_hour2,disableTextInput:!0,disableTouchKeyboard:!0}),$("#timepicker1").timepicker("option","minTime",$scope.products_calendars_elements.from_hour2)),$("#timepicker1").keypress(function(e){e.preventDefault()})},100)},$scope.count_price=function(){if(void 0!==$scope.prices_arr2[$scope.add_to_basket_arr.selected_product])var e=(1*$scope.details.price+$scope.special_dates.change3+$scope.add_to_basket_arr.selected_amount*$scope.prices_arr2[$scope.add_to_basket_arr.selected_product].price)*$scope.special_dates.change4,t=1*$scope.details.price2+$scope.add_to_basket_arr.selected_amount*$scope.prices_arr2[$scope.add_to_basket_arr.selected_product].price2,o=1*$scope.details.price+$scope.add_to_basket_arr.selected_amount*$scope.prices_arr2[$scope.add_to_basket_arr.selected_product].price_old,a=1*$scope.details.price+$scope.add_to_basket_arr.selected_amount*$scope.prices_arr2[Object.keys($scope.prices_arr2)[0]].price;else var e=0,t=0,o=0,a=0;for(var i in $scope.add_to_basket_arr.product_gifts="",$scope.add_to_basket_arr.product_gifts_ids="",$scope.add_to_basket_arr.selected_gifts)for(var r=0;r<$scope.add_to_basket_arr.selected_gifts_amount[$scope.products3_arr[i].productid];r++)$scope.add_to_basket_arr.product_gifts+=","+$scope.products3_arr[i].name,$scope.add_to_basket_arr.product_gifts_ids+=","+$scope.products3_arr[i].productid,e+=1*$scope.products3_arr[i].price,t+=1*$scope.products3_arr[i].price2;return $scope.add_to_basket_arr.product_gifts=$scope.add_to_basket_arr.product_gifts.substr(1),$scope.add_to_basket_arr.product_gifts_ids=$scope.add_to_basket_arr.product_gifts_ids.substr(1),(-1!==$scope.add_to_basket_arr.product_gifts_ids.indexOf(2511)||-1!==$scope.add_to_basket_arr.product_gifts_ids.indexOf(2514)||-1!==$scope.add_to_basket_arr.product_gifts_ids.indexOf(2516))&&($scope.add_to_basket_arr.hasAlco=1),$scope.details.facebook_price=a,$scope.add_to_basket_arr.selected_product_price=e,$scope.add_to_basket_arr.selected_product_price2=t,$scope.add_to_basket_arr.selected_product_price_old=o,e},$scope.count_price_old=function(){if($scope.prices_arr2[$scope.add_to_basket_arr.selected_product].price_old>0){if(void 0!==$scope.prices_arr2[$scope.add_to_basket_arr.selected_product]){var e=1*$scope.details.price+$scope.add_to_basket_arr.selected_amount*$scope.prices_arr2[$scope.add_to_basket_arr.selected_product].price_old;$scope.details.price2,$scope.add_to_basket_arr.selected_amount,$scope.prices_arr2[$scope.add_to_basket_arr.selected_product].price2}else var e=0}else var e=0;return e},$scope.count_price0=function(e){if(void 0!==$scope.prices_arr2[e])var t=1*$scope.details.price+$scope.add_to_basket_arr.selected_amount*$scope.prices_arr2[e].price;else var t=0;return t},$scope.count_price0_old=function(e){if(void 0!==$scope.prices_arr2[e])var t=1*$scope.details.price+$scope.add_to_basket_arr.selected_amount*$scope.prices_arr2[e].price_old;else var t=0;return t},$scope.check_left_arrow=function(e,t){t<=3&&($scope[e].display_left="none")},$scope.slideLeft=function(e){var t=$(".pd_slide1_pic1").width(),o=-1*$("."+e+"__1").width()+2*t,a=$("#"+e+"_postion").val()/1-t;$("#"+e+"_postion").val(a),$scope[e+"_postion"]=a,$("."+e).animate({left:"-="+t+"px"}),a<0&&($scope[e].display_right="block"),o+t==a&&($scope[e].display_left="none")},$scope.slideRight=function(e){var t=$(".pd_slide1_pic1").width();$("."+e+"__1").width();var o=$("#"+e+"_postion").val()/1+t;o<=0&&($("#"+e+"_postion").val(o),$("."+e).animate({left:o+"px"})),0==o&&($scope[e].display_right="none"),$scope[e].display_left="block"},$scope.slideLeft1=function(e){var t=366,o=-1*$("."+e+"__1").width()+2*t,a=$("#"+e+"_postion").val()/1-t;o800?($scope.show("add_wishlist_popup"),$scope.show("add_wishlist_popup_back")):$scope.save_info1("#add_to_wishlist","Produkt został dodany")}).error(function(e,t,o,a){console.log("File not found!")}):$scope.save_info2("#add_to_wishlist","Proszę wybrać kolor i rozmiar")},$scope.formData={},$scope.add_to_basket=function(e,t){if("Kliknij i wybierz czas dostawy"!=$scope.delivery_date_time){var o="https://maps.googleapis.com/maps/api/geocode/json";o+="?address="+$scope.delivery_arr.city+"+"+$scope.delivery_arr.street+"+"+$scope.delivery_arr.house+"+"+$scope.delivery_arr.post_code,o+="&key=AIzaSyB_gT-KCbo9ydh7hGjNqwRDyApbGFZOQog",$http.get(o).success(function(e,t,o,a){void 0!==e.results[0]&&($scope.delivery_arr.lat=e.results[0].geometry.location.lat,$scope.delivery_arr.lng=e.results[0].geometry.location.lng),$scope.selected_amount=$scope.details.selected_amount,gtag("event","add_to_cart",{currency:"PLN",value:$scope.count_price(),items:[{item_id:$scope.details.catalog_number,item_name:$scope.details.name}]}),$http.post("data/products/add_to_basket.php",{details:$scope.details,add_to_basket_arr:$scope.add_to_basket_arr,delivery_arr:$scope.delivery_arr}).success(function(e,t,o,a){$scope.load_basket(),$location.path("/basket")}).error(function(e,t,o,a){})})}else 1==$scope.add_to_basket_arr.courier&&""==$scope.add_to_basket_arr.inPostPaczkomat?$scope.save_info2("#add_to_basket_submit","Proszę wybrać paczkomat lub zmienić formę dostawy"):$scope.save_info2("#add_to_basket_submit","Proszę wybrać datę dostawy")},$scope.selected_notes_groupid=0,$scope.select_ready_text=function(){$http.post("data/product_details/select_ready_text.php",{}).success(function(e,t,o,a){$scope.calculate_popup_position("select_note1","select_note_popup"),$scope.show("select_note_popup"),$scope.show("select_note_popup_back"),$scope.notes_arr=JSON.parse(JSON.stringify(e)),$scope.selected_notes_groupid=$scope.notes_arr.selected_notes_groupid,$timeout(function(){$("#select_note_1_1_"+$scope.selected_notes_groupid).addClass("select_note_1_1_selected")},100)}).error(function(e,t,o,a){console.log("File not found!")})},$scope.select_notes_groups2=function(e){$("#select_note_1_1_"+$scope.selected_notes_groupid).removeClass("select_note_1_1_selected"),$scope.selected_notes_groupid=e,$("#select_note_1_1_"+$scope.selected_notes_groupid).addClass("select_note_1_1_selected")},$scope.select_note=function(e){$scope.add_to_basket_arr.note=e,$scope.hide("select_note_popup_back"),$scope.hide("select_note_popup")},$scope.get_location=function(){$http.post("data/product_details/get_location.php",{id:$routeParams.productid}).success(function(e,t,o,a){$scope.location_arr=JSON.parse(JSON.stringify(e))}).error(function(e,t,o,a){console.log("File not found!")})},$scope.inpostPaczkomat=function(e){1==e?(gtag("event","InPost"),document.addEventListener("afterPointSelected",e=>{$scope.add_to_basket_arr.inPostPaczkomat=e.detail.name,$("#inpostPaczkomaty").html("
Wybrano paczkomat: "+$scope.add_to_basket_arr.inPostPaczkomat+", "+e.detail.location_description)}),$("#inpostPaczkomaty").html('')):$("#inpostPaczkomaty").html("")},$scope.get_location(),$scope.get_details("")}]);