{"version":3,"sources":["session.js","ageVerificationPopup_A.js","consentsManager.js","validation.js","form.js","sliders.js","facebookInit.js","formatPrices.js","numberFormatter.js","custom.js","header_B.js","tabPanel_A.js","lazyProductList_A.js","productBox_A.js","footer_A.js","offCanvasMenu_A.js","switchVersion_A.js","facebookLogin_A.js","googleLogin_A.js","inlineAdmin.js","shareButtons_A.js","shareButtons_B.js","sortBySelector_A.js","pager_A.js","mainMenu_C.js","sidemenu_A.js","newsletterForm_A.js","currencySelector_A.js","loginForm_A.js","loginWidget_B.js","cartWidget_B.js","registerWidgetForm_A.js","wishlistWidget_A.js","elasticSearchBox_A.js","searchbox_A.js","productCompareWidget_B.js","lazyHtmlArea_A.js","cookieAcceptance_A.js","disqusLogin_A.js","faqlist_A.js","customForm_A.js","exportFile_A.js","giftcard_A.js","articleList_A.js","productList_A.js","filtersList_A.js","brandWidget_B.js","headerNotification_A.js","trackTraceForm_A.js","paymentOrder_A.js","warehouseSelectorPopup_A.js","warehouseSelectorPopupStepOne_A.js","warehouseSelectorPopupStepOne_B.js","warehouseSelectorPopupStepOne_C.js","warehouseSelectorPopupStepTwo_A.js","warehouseSelectorWidget_A.js","trackingData.js","chameleon.js","contactpigeon.js","linkwise.js","facebookpixel.js","phoneLocalization.js","googleDynamicRemarketing.js","googleConversionTracking.js","googleEcomTracking.js","googleEnhancedEcommerce.js","googleAnalytics4.js","skroutzAnalytics.js","mailchimpecommerce360.js","rtbhouse.js","moosendTracking.js","glamiTracking.js","criteo.js","esatisfaction.js"],"names":["Vendd","Scripts","load","trackStatsCompleted","trackAffiliatesCompleted","trackStats","window","setTimeout","HandleItemStatistics","HandleProductStatistics","trackAffiliates","LhApp","Context","IsAffiliateTrackingEnabled","IsConsentsEnabled","ConsentsManager","cookiesStatus","marketingCookies","Function","PageTrackingRequest","MessageBus","publishAsync","User","Messages","GetSessionState","Item","Template","indexOf","subscribe","Product","SetSelected","envelope","GetSessionStateSuccess","Consents","InsertAllCookiesSuccess","ageCookie","$container","redirectUrl","cookieDuration","canClose","$wrapper","$","length","Cookies","get","data","toLowerCase","fancybox","margin","modal","afterClose","set","expires","samesite","trigger","click","close","location","href","addClass","removeClass","dontLoadOnLoginSuccess","self","this","cookie","cookieChecked","cookiesWidgetWrapper","cookiesModalWrapper","cookieTypeCodes","endpoints","insertConsents","getCookiesConsentsModel","insertAllCookies","updateAllUserConsents","getCookiesWidgetModel","showCookiesWidget","CookiesDisplay","initCookiesModal","hideCookiesWidget","createOrUpdateCookie","date","Date","setTime","getTime","consentsCookie","getJSON","dataLayer","push","functionalityCookiesEnabled","functionalityCookies","marketingCookiesEnabled","statisticCookiesEnabled","statisticCookies","getCookieStatus","userHasSetCookies","CookiesDefaultActive","onGetCookieModelSuccess","res","UserHasSetCookies","ApprovedFunctionalityCookies","ApprovedMarketingCookies","ApprovedStatisticsCookies","activateCookies","type","options","method","url","onSuccess","response","jQuery","inArray","getCookieConsentsModel","InsertConsents","onFailure","Service","call","Login","message","isLoginForm","remove","path","afterInsertAllCookiesSuccess","Math","random","initModalHtml","html","extend","cookiesModal","map","e","IsActive","ConsentTypeCode","Handlebars","parse","tabsCont","scrollContConfig","isTouch","mCustomScrollbar","scrollbarPosition","scrollInertia","timeout","theme","mouseWheel","preventDefault","thisTab","siblings","index","fCookies","sCookies","mCookies","source","each","closest","is","registerEvents","trackingModel","Tracking","getTrackingModel","EnableGoogleTagManagerConsents","gtag","ad_storage","analytics_storage","functionality_storage","filter","l","event","LoginSuccess","success","on","ScriptsActivator","loadAllScripts","init","document","ValidationEngine","base","field","fields","firstTime","processFields","k","v","selector","enabled","undefined","processValidations","bindValidations","console","error","validations","key","value","validator","f","$elem","getValue","tag","getTagName","val","attr","prop","searchField","i","validateField","result","fn","opts","matchField","beforeValidation","optional","validationEngine","config","o","afterValidation","validateAll","elem","reset","j","destroy","removeData","addField","addFields","removeField","item","splice","removeFields","array","enable","disable","validate","va","trim","required","checkboxRequired","isEmail","test","isNumeric","isAlphaNumeric","match","value1","value2","arguments","limit","maxLength","minLength","validIBAN","digits","iban","String","toUpperCase","replace","code","GR","fragment","checksum","letter","charCodeAt","slice","offset","substring","parseInt","isSocialSecurityNumber","parameters","isEleven","totalX","Number","substr","isRuleX","totalY1","totalY2","isRuleY","isRuleFirstDigit","isGreekTaxIdentifier","taxIdentifier","isNaN","arrTaxId","split","pow","isPhoneNumber","isGreekPhone","isGreekMobile","isValidPhoneLocalized","paremeters","iti","intlTelInputGlobals","getInstance","numberType","getNumberType","numberTypeIsValid","intlTelInputUtils","FIXED_LINE","FIXED_LINE_OR_MOBILE","MOBILE","isValidNumber","isGreekPostalCode","areas","isCypriotPostalCode","hasAreas","venddProjectConfigs","Registration","CyprusAreasAutoCompletedEnabled","Forms","HookFormsFn","hookFormsFn","HookAjaxFormsFn","hookAjaxFormsFn","$forms","form","$form","validateOnKeyup","token","formUploadBoxesIds","formUploadBoxes","Array","$rows","r","row","$valField","tagName","setValue","isValid","s","ii","ubi","ub","id","isFileSelected","group","groupedFields","fieldValue","isMatchValid","gi","gItem","$validator","hide","show","validateSelected","showLoader","find","hideLoader","isLoading","hasClass","valid","keyup","keydown","preventSpecialCharacter","parents","change","update","keyCode","stopPropagation","configData","getConfig","submit","isButtonDisabled","generateVisitorToken","fub","box","input","uploaded","initCallback","bb","successCallback","checkUploadsAndSubmit","done","t","reqData","JSON","stringify","$ajaxForms","methodType","submitUrl","removeAttr","back","request","successMsgVal","$successSection","getText","validationMessage","$failureSection","me","successFn","responseData","parseJSON","d","Success","Code","Data","time","Time","failureFn","ex","responseText","invoke","ajax","async","dataType","contentType","ContentType","Url","getServiceEndpoint","failure","convertToGreek","convertToUppercase","initOwlSlider","singleItem","rewindSpeed","items","itemsDesktop","itemsDesktopSmall","itemsTablet","itemsMobile","ww","width","mobile","destroyOwlSlider","defSliderOptions","navigation","pagination","slideSpeed","scrollPerPage","paginationSpeed","addClassActive","navigationText","autoPlay","lazyLoad","container","SliderOption","afterUpdate","assignPagerValues","afterInit","parent","lazyload","afterMove","defOptions","owlCarousel","wrapper","pages","$item","eq","js","fjs","hasLikeBox","hasCustomerChat","ua","navigator","userAgent","isIE","facebookSettings","facebookSettingsEl","AppId","PageId","fbAsyncInit","FB","appId","autoLogAppEvents","xfbml","version","getElementsByTagName","getElementById","createElement","src","parentNode","insertBefore","$enableFormatPrices","formatPrices","$boxes","formed","$box","amount","formatPrice","pos","sep","Currency","DecimalSeparator","cur","decodeEntities","Symbol","NumberOfDigits","NumberFormatter","currencySymbol","currencyFirst","SymbolShownFirst","currencyVisible","DoShowSymbol","decimalSeparator","decimalDigits","pricePrefix","priceSuffix","numberLiteral","toString","number","parseFloat","parsePrice","priceLiteral","format","toFixed","formatInt","sidebar","fancyOverlayColor","fancyOverlayOpacity","rating","numbersOnly","shiftPressed","shiftKey","phoneGROnly","currentTarget","stickyContainer","cssClass","containerHeight","height","scrlTop","scrollTop","before","spacer","scroll","scroll_to_class","element_class","removed_height","scroll_to","top","stop","animate","hideOnScrollDown","didScroll","lastScrollTop","setInterval","st","abs","validateEmail","email","importEmailForRegistration","sessionStorage","getItem","initSideStickyColumn","stickyConfig","topSpacing","bottomSpacing","containerSelector","innerWrapperSelector","resizeSensor","minWidth","StickySidebar","initTooltips","tooltipBox","not","toggle","target","has","getParentOrSelfVendd","isElementInViewport","el","rect","getBoundingClientRect","left","bottom","innerHeight","documentElement","clientHeight","right","innerWidth","clientWidth","isElementPartialyInViewport","minSize","UpdateQueryString","re","RegExp","separator","hash","getQueryStringValueByName","name","results","exec","search","decodeURIComponent","stickyHeader","inlineAdminHeight","eSatisfactionHeight","infoBarHeight","mainBarHeight","header","initSticky","resize","stickyHeaderResponsive","searchBarHeight","initStickyResponsive","initResponsiveHeader","isMoved","detach","appendTo","insertAfter","initScrollDirection","previousScroll","currentScroll","initCallMeBack","open","toolbar","smallBtn","baseClass","afterShow","contents","initUspSlider","$header","$usps","carouselMainOpts","slidesToShow","slidesToScroll","autoplay","autoplaySpeed","infinite","dots","prevArrow","nextArrow","slick","calculateSearchHeight","headerHeight","regionHeight","searchOffset","outerHeight","css","hideHeaderInfo","initTabPanel","innerWrapper","thisTabIndex","children","$this","reInitLazyProductLists","colorId","$lazyPds","configs","currentitemid","Id","$lazypd","configCode","templateCode","entityCode","itemId","refreshInterval","nodeId","nodePath","photoDimensionId","LazyProductList","GetLazyProductList","addSkuParameterInProductBox","$productBox","selectedColorId","state","productBox","productId","defaultColor","$link","Quickbuy","initState","selectedColorModel","_","Colors","x","defaultSizeId","first","AvailableSizes","model","selectedSku","GetSkuData","SkuData","SkuId","query","$selectedSkuLink","backToTop","$backToTop","debounce","initFooterMenuToggle","mainCont","hiddenCont","toggleClass","accordion","ready","InitMyAccountFunctions","InitCheckoutFunctions","registerHelper","context","prependTo","Widget","BindControl","$context","$wrappers","AuthProviders","facebook","Error","login","$buttons","google","hasCookie","loading","bind","loadJS","callback","scriptTag","onload","onreadystatechange","appendChild","body","applyEditMode","encodeURIComponent","Logout","domain","hostname","protocol","post","alert","reload","InlineAdmin","CheckForInlineAdmin","UserSelect","ClearInterfaceUser","setParameterValue","newGuid","crypto","getRandomValues","Uint8Array","ClearInterfaceUserSuccess","CheckForInlineAdminSuccess","CallCenter","InterfaceUserIsNewGuest","CheckForInlineAdminFailure","CreateCookieForInlineAdminSuccess","languageMappings","control","Q","Username","Password","xhrFields","withCredentials","then","controls","controlFactory","Resolve","all","isPromise","Promise","resolve","reject","forEach","build","render","factoriesDictionary","prototype","register","factory","Object","keys","concat","controlBase","element","definition","apply","skuId","create","SiteId","siteId","ItemId","EntityCode","ItemPathChecksum","titleContainer","descriptionContainer","localization","ItemsLocalized","LanguageId","languageId","InlineEditor","editor","titleEditor","setData","Name","hasChanges","catch","descriptionEditor","description","getData","text","ctl","Site","Language","addthis_config","pubid","addthis","initSocialShare","linkUrl","origin","facebookUrl","append","twitterUrl","pinterestUrl","linkedinUrl","forwardEmail","sSelect","ddMaxHeight","targetUrl","ProductList","GetModelSuccess","Products","Items","SortBySelector","scrolled","newUrl","newParts","pageSizes","pageJumps","prev","next","parts","pageJump","$control","initPageSize","initComboPages","Pager","openClass","calculateMenuHeight","uselessHeight","menuOffset","mainMenu","closeMenu","initCustomScrollbar","$submenus","$el","$nav2","sensitivity","interval","over","out","hoverIntent","initTwoLevelMenu","$submenuItems","$nav3","$parentLi","initThreeLevelMenu","$openOffCanvas","$closeOffCanvas","$backMenu","$closeMenu","closeOffCanvasMenu","resetMainMenu","fadeIn","openOffCanvasMenu","initMobileMenu","$menu","$nav1","initMenuHeight","iconOpen","iconClose","$button","$categoriesWrapper","formData","subscriptionType","apiKey","mailparams","mailLists","option","Newsletter","Subscribe","$categoriesList","mailList","Action","MailListId","Provider","isPopUp","SubscribeSuccess","SubscribeFailure","Cart","ClearClientModel","loginFailedAttempts","isRecaptchaLoaded","isLoginSuccess","forms","LoginForm","$loginForm","$forgotForm","$loginFormButton","$forgotFormButton","loginForm","forgotForm","lf","ff","returnUrl","useEmailAsLoginName","captchaWidgetId","captchaId","$captchaElement","$captchaContainer","captchaEnabled","recaptchaCallback","isRecaptchaInitialized","initRecaptcha","htmlExists","sitekey","grecaptcha","initLoginForm","loginName","password","rememberMe","loginRedirectUrl","logoutRedirectUrl","reCaptchaCode","forgotFormData","validateRecaptcha","resetRecaptcha","removeRecaptcha","usermodel","MultipleWishlistsEnabled","UserWishlist","LoginRedirectUrl","_logoutRedirectUrl","LogoutRedirectUrl","renderInline","pathname","publish","CreateCookieForInlineAdmin","CreateCookieForInlineAdminOnSuccess","loginURL","InLineAdminEndpoint","username","baseUrl","host","CreateCookieForInlineAdminOnFailure","vendd_submit","IsSubmitted","val1","val2","currentUrl","accessToken","GetUserViewModelSuccess","LoginFailure","CreateCookieForInlineAdminFailure","ForgotPassword","ForgotPasswordSuccess","ForgotPasswordFailure","loginNameVal","valOpts","checkInitRecaptcha","formobj","SsoEnabled","SsoLogin","initSsoLoginForm","Plugins","RecaptcaLoaded","ActionCounters","FailedLogin","LoginSubmit","loaded","recaptchaLoaded","appendRecaptcha","WidgetOpened","LoginWidget","minimalUpdate","script","LogoutSuccess","GetUserViewModel","widgetName","openWidget","userTriggeredOpen","IsPartiallyLoaded","GetModel","CartWidget","extendModel","B2BModel","CartWidgetDisplayOptions","ShowProductCount","ProductsCount","empty","initCategoryMenu","$list","$items","$cartMenu","$destination","clone","Remove","OpenWidget","Changed","Failed","IsAddToCartAllowed","toastr","WidgetLiterals","AddToCartAllowedText","timeOut","showDuration","hideDuration","Warning","warning","ProductAdded","flag","isDisabled","CheckoutStatus","IsDisabled","reason","Reason","ReasonText","setItem","MultipleAddSuccess","immediate","isB2B","IsB2BUser","isAuthenticated","IsAuthenticated","SiteIsLocked","findEmailAttempts","RegisterWidgetForm","$registerWidgetForm","registerWidgetForm","initRegisterWidgetForm","clicked","formremoveRecaptcha","CanRegister","rf","fieldName","CanRegisterSuccess","CanRegisterFailure","SsoRegister","initSsoRegistrationForm","CanRegistrer","WishlistWidget","cycle","slides","fx","log","carouselVertical","carouselVisible","allowWrap","disabledClass","Wishlist","MoveAllToCart","AddToWishlistSuccess","ErrorMessage","focus","fbPixelTracker","fbPixelCanTrack","Properties","FacebookPixelId","fbq","RemoveFromWishlistSuccess","AddSuccess","RemoveSuccess","$input","$toggleButton","$closeButton","pdPageSize","catPageSize","artPageSize","showOnlyProducts","mask","lazyLoadPrices","$elastic","searchTerm","pdPageNum","pdPageStart","pdFirstShown","pdLastShown","catPageNum","catFirstShown","catLastShown","catPageStart","artPageNum","artPageStart","artFirstShown","artLastShown","scrollToPd","scrollToCat","scrollToArt","ElasticSearch","GetCategoryElasticResultsFailed","categories","GetProductElasticResultsFailed","products","GetArticleElasticResultsFailed","article","GetCategoryElasticResultsSuccess","GetProductElasticResultsSuccess","GetArticleElasticResultsSuccess","articles","currentUser","GetClientModel","customPrices","HasCustomPrices","hits","obj","itemIds","pluck","fetchPrices","fetchAvailabilities","fetchStock","ScrollList","GetClientProductListData","GetClientProductListDataSuccess","b2bModel","B2B","shouldHidePrices","DisplayOptions","ShouldHidePrice","b2b","LazyLoadPrices","modelWithPrices","selectedProduct","_source","VariantId","Prices","unsubscribe","search_string","pdPaging","catPaging","artPaging","showList","clearValue","checkSearchTerm","pdCont","pdTotal","GetProductElasticResults","catCont","catTotal","GetCategoryElasticResults","artCont","artTotal","GetArticleElasticResults","expand","toggleButton","filtered","$category","$suggestive","hideEvent","Search","GetSuggestiveResultsFailed","GetSuggestiveResultsSuccess","transformData","SearchProductsUrl","categoriesFilter","removeParameterFromUrl","category","GetSuggestiveResults","delay","hover","clearTimeout","MoreProducts","Manufacturers","ManufacturersCount","Categories","CategoriesCount","MoreCategories","ItemsCount","MaxProductsExceeded","ProductCompare","ProductCompareWidget","Clear","ProductCompareAdded","ProductCompareRemoved","GetWidgetModel","GetWidgetModelSuccess","DeletedPrice","Price","DeletedPriceWithoutVat","UnitPrice","CurrentPrice","UnitPriceWithoutVat","CurrentPriceWithoutVat","defaultCallExecuted","defaultCall","SessionState","wrpr","configuration","partial","connectedList","ItemsCountText","onGetClientProductListDataSuccess","GetClientProductListDataFailure","onGetClientProductListDataFailure","getConfiguration","setModel","LazyPrices","LazyAvailabilities","itemVariantId","itemData","a","prices","points","Points","pointsGain","PointsGain","countdownPrices","CountDownProperties","displayedPrice","$currentPrice","PointsPrice","TotalPointsGain","availability","Availability","AvailabilityData","cartEnabled","CanBuy","AvailabilityActionId","LazyProductListSuccess","sender","$connectedFilter","FilterProduct","Filters","$configuration","configurations","wrappers","htmlTemplate","LazyHtmlArea","LazyHtmlAreaSuccess","innerwrapper","configIndex","removeConfiguration","GetLazyHtmlArea","identifier","disqusUrl","DISQUS","page","disqus","slideUp","slideDown","initFaq","CustomForms","SubmitSuccess","IsSaved","IsSend","Errors","serializeFormJSON","Submit","serializeArray","checkboxes","chkbx","approved","links","exportCode","listingId","Export","GetListingExport","GetListingExportSuccess","link","today","dd","getDate","mm","getMonth","yyyy","getFullYear","fname","blb","Blob","toArrayBuffer","_buffer","file","File","URL","createObjectURL","GetListingExportFailure","$formWrapper","$success","$error","fromName","toName","emailconfirm","customText","checkConsents","$selectedGiftcard","enhancedInfo","giftCardsInfo","FromName","Email","ToName","CustomText","Add","minQuantity","maxQuantity","quanta","consentType","wishlistArticleBindClicks","articleId","articleUrl","$removeBox","WishlistArticle","WishlistArticleWidget","addEventListener","ArticleId","scrolledWrapper","$scrolledWrapper","isScrolled","totalPages","forwardUpdates","hasNext","list","lastItem","$html","last","grouping","rowSize","currentIndex","li","PageNumber","wrapBoxes","GetNextPage","GetPageSuccess","GetNextPageFailure","updatePageUrl","pageNumber","pager","pageCount","comboPager","$comboPager","history","pushState","querystring","pageText","prevLink","nextLink","replaceState","colorSelectorCallback","initProducboxHover","takeawayprice","renderPrice","initTakeAwayPrice","cartIds","MultipleRemove","MultipleRemoveSuccess","SuccessMessage","$qty","qty","extraAttributes","bundleItems","color","size","recipeItems","comboItems","defaultcolorId","stringToNumber","itemInfo","SelectedColorId","wishlistItemId","varId","wishlistModel","localStorage","hideAllProductWishlists","product","showProductWishlists","$spinner","min","max","step","Helpers","isInteger","ProductSelected","selectedColorName","selectedColorSrc","Href","maxWidth","fitToView","autoSize","closeClick","openEffect","closeEffect","padding","beforeShow","fancy","deliveryPointId","SetDeliveryPoint","userModel","showPriceWithoutVat","selectedColor","dimensionWidget","quantitySelector","cartButton","wishlistButton","compareButton","priceElement","deletedPriceElement","discountPercentageElement","discountValueElement","image","HasColors","HasSizes","HasDim3","HasSingleDim","HasTwoDims","HasThreeDims","createNewColorState","defaultDimId","createNewState","createNewSizeState","createNewDim3State","GetUserModel","ShowPriceWithoutVat","UpdateBoxData","imgSrc","selectedSizeId","SelectedSizeId","selectedDim3Id","SelectedDim3Id","HasSingleColor","HasSingleSize","HasSingleDim3","skuData","NoAvailabilityName","selectedsku","$wishlistButton","CountDownUnitPrice","currentPrice","CountDownUnitPriceWithoutVat","DiscountPercentage","DiscountValue","$wrap","isColorList","isSizeList","isDim3List","Update","initQuickBuy","quantityInCart","idsInCart","inCart","ProductId","Quantity","productInWishlist","productInCompare","$compareButton","$pl","$selectedRelatedPl","jsonConfiguration","$resultsFancyboxLink","$resultsWraper","hasQuickbuy","hasColorSelector","forwardUpdatesCup","backwardUpdates","backwardUpdatesCup","pagerModel","GetCurrentPage","direction","position","HasQuickBuy","addToQuickbuyList","indicator","latePos","elementFocused","initPos","windowPos","prepend","effect","threshold","skip_invisible","AlreadyInCartEnabled","AlreadyInWishlistEnabled","AlreadyInCompareListEnabled","productItems","dataObj","onFailureCurrent","_LTracker","Message Error","publisher","onSuccessCurrent","dataListMovement","GetPreviousPage","updatePlOnFiltersChange","updateSticky","updatePageScroll","PrevPageNumber","NextPageNumber","PagesCount","PagesSize","PagesNumber","PageText","ItemsOfText","IsFirstPage","updatePagerAttr","plData","itemPath","ItemPath","pageSize","sortKey","SortKey","fullPath","FullPath","includeFilters","defaultUriFilter","excludeItemIds","ExcludeItemIds","relationshipTypeName","xRelatedProducts","EnableNoImage","isLazyLoadEnabled","imageTypeCodeArray","GetReplacedByProducts","initializeReplacedPL","isChecked","updateButtonStatus","prObj","MultipleAdd","GetCurrentPageSuccess","GetCurrentPageFailure","GetPreviousPageFailure","partials","multipleAddResults_A","GetReplacedByProductsSuccess","initLazyLoadPrices","isB2BUser","PriceWithoutVat","FromPriceText","FromPriceWithoutVatText","documentURL","isAjaxLoad","hasSubmitButton","UpdateProductList","$ajaxPL","ajaxPL","queryString","removeValueFromCommaSeparatedString","values","join","getInputFilterValues","$rangeInputFilter","rangeFilter","tempValueFrom","urlWithItem","$filter","$inputFrom","valFrom","$inputTo","valTo","initFilters","filterKey","columnSize","urlWithoutItem","queryName","queryValue","FilterScrollMobileEnabled","saveFiltersState","List","valueNames","matchingItems","filterwrap","dateFrom","dateTo","searchParam","off","toggleFilters","multiplier","closeExpandedFilters","filters","$slider","$init","$text","urlMask","textMask","symbol","minValue","maxValue","currentMinValue","currentMaxValue","rangeDisabled","fromMax","toMin","ionRangeSlider","grid","from","to","from_max","to_min","block","postfix","skin","hide_min_max","onChange","onFinish","filtersScroll","openedFilter","openFiltersAfterReload","calculateHeight","$criticalHeight","$scrollbar","$trackTraceForm","trackTraceForm","providerId","voucherCode","orderCode","TrackTrace","GetTrackTraceModel","GetTrackTraceModelSuccess","$paymentOrder","isPaymentOrderAmount","numericLiteral","billingAddress.firstName","billingAddress.lastName","billingAddress.email","billingAddress.phone","billingAddress.mobile","billingAddress.fax","billingAddress.country","billingAddress.address","billingAddress.address2","billingAddress.postCode","billingAddress.city","billingAddress.prefecture","preferredAmount","paymentMethod","updateJSONFieldValues","scrollToError","$formRowsWithError","scrollOffsetY","logInputData","$field","fieldPrefix","$inputs","inputName","inputValue","$root","$steps","$backButton","currentStep","updateViewState","status","switchToStep","onShowing","WarehouseSelector","GetPopupModel","StateChanged","onShown","onHiding","onHidden","GetPopupModelSuccess","GetPopupModelFailed","OpenPopup","beforeClose","ClosePopup","GetStoresSuccess","GetStoresFailed","SetShippingMethodSuccess","toggleDisabled","selectedVal","$postCode","$submitButton","postCode","validationError","updatePostCode","GetStoresByPostCode","$postCodeButton","$area","area","shouldReloadAreas","loadingAreas","loadAreas","updateArea","GetGeoAreas","onAreasLoaded","updateAreaSelector","GeoAreas","GetStoresByGeoArea","GetGeoAreasSuccess","GetGeoAreasFailed","googleMaps","apiUrl","GoogleMapsKey","language","region","Country","useViewport","googleMapOptions","disableDefaultUI","zoomControl","mapTypeControl","fullscreenControl","googleMapsLoaded","warehouseSelectorContext","$map","$locateButton","$address","$addressButton","marker","geolocationAccessDenied","address","locationId","$location","initMap","moveMarkerToLocation","getSelectedLocation","mapOptions","mapZoom","mapLatitude","mapLongitude","zoom","center","lat","lng","maps","Map","addListener","onMapClick","Marker","draggable","onMarkerDragEnd","Address","locationAddress","AddressComponents","StreetNumber","locationStreetNumber","StreetName","locationStreetName","Area","locationArea","City","locationCity","Prefecture","locationPrefecture","PostalCode","locationPostalCode","CountryCode","locationCountryCode","Coordinates","Latitude","locationLatitude","Longitude","locationLongitude","convertDataToModel","LatLng","isVisible","getMap","getPosition","setTitle","setPosition","setMap","Viewport","fitBounds","south","Southwest","west","north","Northeast","east","panTo","setZoom","setCenter","updateMarkerPosition","reverseGeocode","updateAddress","geocode","updateLocationId","updateAndSelectLocationSuggestion","IsSelected","Value","updateLocationSuggestions","locations","geocoding","reverseGeocoding","cancelGeocode","beforeSend","jqXHR","complete","convertPlacesToModel","error_message","latlng","toUrlValue","abort","latLng","geolocation","getCurrentPosition","coords","latitude","longitude","GetStoresByLocation","places","place","types","includes","place_id","formatted_address","getAddressComponent","address_components","geometry","viewport","northeast","southwest","convertPlaceToModel","components","fieldType","component","short_name","scripts","installScript","defer","GoogleMapsLoaded","$formDelivery","$formFromStore","$store","$submitDeliveryButton","$submitFromStoreButton","supportsDelivery","supportsFromStore","store","Stores","$selector","IsDeliveryShippingMethodSupported","IsFromStoreShippingMethodSupported","updateStore","SetDeliveryShippingMethod","SetFromStoreShippingMethod","SetShippingMethodFailed","mode","isDisplayed","isRequired","isSpecified","selectionKey","forceDisplay","shouldOpenConditions","force","shouldOpenUnconditionally","startup","shouldOpenOnStartup","addtocart","shouldOpenOnAddToCart","checkout","default","displayMode","displayCount","display","condition","onaddtocart","oncheckout","refresh","GetModelFailed","TrackingModel","winPerf","performance","winPerfNavEntryTypes","getEntriesByType","updTrackingData","BrowserNavigation","Reload","BackForward","Order","isTest","Request","IsLocal","IsDebug","completionServerReloaded","CompletionPageLoadCounter","browserReloadedOrBackForward","IsAlreadyTracked","updateTrackingData","GoogleTagManagerCode","InitGoogleTagManager","GoogleAnalyticsCode","canTrack","InitGoogleAnalytics","TrackingData","ProductListsData","SeoTitle","lists","updatedProducts","idx","Title","Brand","Manufacturer","Category","Path","Color","sel_color","Size","sel_size","PriceN","round","CurrentPriceN","PriceWithoutVatN","CurrentPriceWithoutVatN","Position","Image","Images","merge","ProductsUpdated","Index","Tracker","getTracker","ChameleonCode","ChameleonId","ChameleonProjectName","_isUserSelectedProduct","CanTrack","_cartAddResponses","IsProductListPage","ids","listItems","getFeedItemId","Track","IsProductDetailsPage","ProductData","IsThankYouPage","CartProductsData","TotalPrice","Init","cartModel","AddToCartTrack","p","pCartItemModel","shift","visitorInitiated","iid","setAttribute","style","FVPMS","b","pid_data","end_pos","lastIndexOf","extra_param","ContactPigeonAccount","ContactPigeonUrl","startsWith","cpaAccount","cpa_async","ctag","utmipn","utmipc","utmtid","utmtto","cutmcn","cutmcc","cpaE","ContactPigeonConfig","cpanots_config","angular","oScope","scope","tracked","checkoutEmail","Model","Profile","IsCheckoutPage","orderAngularElement","orderScope","scr","LinkWiseProgramId","lw","q","IsHomePage","price","InitialPriceWithoutVatN","quantity","payout","DiscountAmountWithoutVatN","orderid","IsCartPage","UnitPriceWithoutVatN","initPhoneLocalization","formRow","getElementsByClassName","initPlugin","querySelector","itiOptions","validationType","getAttribute","defaultItiOptions","initialCountry","preferredCountries","autoPlaceholder","formatOnDisplay","utilsScript","placeholderNumberType","intlTelInput","phoneLocalizationAutoCompleteCode","fullNumber","getNumber","n","callMethod","queue","_fbq","content_type","content_category","CategoryName","content_ids","content_name","currency","orderproductIds","orderNames","orderproductIdsOBJarr","TotalPriceN","pAddResponse","productContent","UnitPriceN","_userIdentifier","_currentPath","HashedEmail","len","ecomm_prodid","ecomm_userid","ecomm_pagetype","ecomm_totalvalue","ecomm_category","Summary","GoogleConversionId","GoogleConversionLabel","google_conversion_id","google_conversion_label","google_conversion_value","google_conversion_currency","google_remarketing_only","GoogleConversionRemarketingOnly","dimsInName","EcomTrackingDimensionsInName","discounts","brands","sku","ManufacturerProductCode","Dim3","discountType","Discounts","typeDiscounts","discount","AmountN","IsSplitOnProducts","Coupon","AmountWithoutVatN","transactionId","transactionAffiliation","transactionTotal","ProductsCostWithouVatN","transactionTax","VatCostN","transactionShipping","ShippingCostWithoutVatN","transactionProducts","sort","TrackingScriptName","gAnalyticsCode","_currentCartModel","_trackQueue","_batchSize","EnhancedEcommerceBatchProductsAmount","_maxCategoryLength","EnhancedEcommerceMaxCategoryLength","_maxTitleLength","EnhancedEcommerceMaxTitleLength","analyticsBatch","getCookie","cid","add","gid","tid","prArg","prodData","prod","brand","variant","dimension1","requiredData","title","additionalData","affiliation","revenue","tax","shipping","send","settings","crossDomain","_Initialized","IsAllOtherPages","flatten","toArray","ecImpressions","batch","ecImpression","CleanUpTrackingProduct","DefaultColor","nonInteraction","DataLayerPush","ecommerce","impressions","ecAddProduct","detail","ecAddProducts","actionField","ecActionField","currentBatchProducts","purchase","smScope","$watch","current","previous","checkout_option","listName","dim","Dimensions","dimension","ColorId","SizeId","ver","Versions","IsColor","Selected","IsSize","ParentProductId","ManufacturerName","findIndex","hasOwnProperty","TrackUsingGA","ga","PopulateDataLayer","IsBrandPage","checkViewableLists","entries","trackedLists","$thisEl","listKey","itemDataFormatted","item_id","item_name","item_brand","item_category","item_list_id","item_list_name","item_variant","trackList","getthelooklist","totalPrice","FirstDimension","TotalCost","coupon","transaction_id","StoreName","evt","service","inlineAdminGlobalVariables","checkViewablePromos","trackedPromo","creative_slot","creative_name","redirectLink","itemID","stopImmediatePropagation","eventCallback","warn","wishModel","currentColor","_wishAddResponses","dontTrackNextViewCart","idsToRemove","loginTracked","SelectedProductColorId","ColorData","VersionId","AddToWishTrack","RegisterSuccess","B2BRegisterSuccess","SkroutzAnalyticsCode","c","g","skroutz_analytics","adjustedPriceItems","orderDiscountsNotAppliedOnProductsN","reduce","total","IsSpitOnProducts","orderItems","priceReduction","orderItemsSumN","totalDistributedDiscount","productDiscount","productVolumePercent","productUnitdiscount","AdjustPrices","skroutzOrder","order_id","PaymentCostN","ShippingCostN","SkrouztAnalytics_addOrder","skroutzOrderItem","product_id","SkrouztAnalytics_addItem","qs_mc_cid","QueryString","getValueOf","unescape","RawUrl","qs_mc_eid","mc_cid","mc_eid","MailChimpEcommerce360Tracking","RtbHashCode","ExtraProductListTemplateCodes","productIds","trackData","ProductsCostN","frameborder","MoosendTrackingId","now","MooTrackerObject","attachEvent","mootrack","itemCode","itemName","itemImage","FeedImage","IsSecure","itemPrice","itemUrl","GetItemUrl","itemTotalPrice","itemQuantity","itemCategory","itemManufacturer","trackP","trackProduct","TrackingGlamiId","h","glami","item_ids","product_names","extraProductListsTemplates","GlamiExtraProductListsTemplates","product_ids","category_text","GlamiCategoryTextSeperator","CriteoId","CriteoTMS","criteo_q","_criteo_q","account","criteoItems","FinalPriceN","trackOrder","CustomerEmail","phone","CustomerMobiles","transaction_date","CompletedDateTime","store_pickup","IsStorePickup","store_id","StoreCode","phoneLocalizationEnabled"],"mappings":"AAAAA,MAAAC,QAAAC,KAAA,WACA,aAiBA,IAAAC,oBAaAC,yBAZA,SAAAC,aAEAC,OAAAC,WAAA,WACAJ,sBAEAA,qBAAA,EAEAH,MAAAQ,uBACAR,MAAAS,4BACA,KAIA,SAAAC,kBAEAC,MAAAC,QAAAC,4BAIAP,OAAAC,WAAA,WACAH,2BAGAO,MAAAC,QAAAE,kBACAR,OAAAS,gBAAAC,cAAAC,mBACAb,0BAAA,EACAO,MAAAO,SAAAC,wBAGAf,0BAAA,EACAO,MAAAO,SAAAC,yBAEA,KAhDAnB,MAAAoB,WAAAC,aAAArB,MAAAsB,KAAA,IAAAtB,MAAAsB,KAAAC,SAAAC,iBAEAb,MAAAC,QAAAa,KAAAC,SAAAC,QAAA,mBAAA,EACA3B,MAAAoB,WAAAQ,UAAA5B,MAAA6B,QAAAN,SAAAO,YAAA,aAAA,SAAAC,UACA1B,aACAK,oBAIAV,MAAAoB,WAAAQ,UAAA5B,MAAAsB,KAAAC,SAAAS,uBAAA,aAAA,SAAAD,UACA1B,aACAK,oBAwCAV,MAAAoB,WAAAQ,UAAA5B,MAAAiC,SAAAV,SAAAW,wBAAA,qCAAA,WACAxB,sBCvDAV,MAAAC,QAAAC,KAAA,WAEA,IASAiC,UAEAC,WAEAC,YACAC,eACAC,SAfAC,SAAAC,EAAA,6BAEAD,SAAAE,OAAA,IAOAP,UAAAQ,QAAAC,IAAA,YAEAR,WAAAK,EAAA,0BAAAD,UAEAH,YAAAD,WAAAS,KAAA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AS,MAAA,CACA,GAAAT,cAAAS,MAAAQ,iBACA,OAEA,IAAA6X,WAAA,CACA3pD,MAAA6wC,cAAAS,MAAAsY,cACAC,MAAAhZ,cAAAS,MAAAwY,gBACAzG,eAAAxS,cAAAS,MAAAjrC,GACA0jD,iBAAAlZ,cAAAS,MAAA0Y,kBACAC,aAAApZ,cAAAS,MAAA4Y,cAAA,EAAA,EACAC,SAAAtZ,cAAAS,MAAA4Y,cAAArZ,cAAAS,MAAA8Y,UAAA,GACAhhE,MAAA,iBAGA/E,UAAAC,KAAAqlE,aAnBA1U,MAfA,GZAAl2D,MAAAC,QAAAC,KAAA,WACAuS,oBAAA64D,0BACA9R","file":"scripts-common.js","sourcesContent":["Vendd.Scripts.load(function () {\n 'use strict';\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionState());\n\n if (LhApp.Context.Item.Template.indexOf('productDetails') >= 0) {\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, 'session.js', function (envelope) {\n trackStats();\n trackAffiliates();\n });\n }\n else {\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, 'session.js', function (envelope) {\n trackStats();\n trackAffiliates();\n });\n }\n\n var trackStatsCompleted;\n function trackStats() {\n //just tracking. allow some delay.\n window.setTimeout(function () {\n if (trackStatsCompleted)\n return;\n trackStatsCompleted = true;\n\n Vendd.HandleItemStatistics();\n Vendd.HandleProductStatistics();\n }, 1000);\n }\n\n var trackAffiliatesCompleted;\n function trackAffiliates() {\n //page trackiing disbaled\n if (!LhApp.Context.IsAffiliateTrackingEnabled)\n return;\n\n //just tracking. allow some delay.\n window.setTimeout(function () {\n if (trackAffiliatesCompleted)\n return;\n\n if (LhApp.Context.IsConsentsEnabled) {\n if (window.ConsentsManager.cookiesStatus.marketingCookies) {\n trackAffiliatesCompleted = true;\n LhApp.Function.PageTrackingRequest();\n }\n } else {\n trackAffiliatesCompleted = true;\n LhApp.Function.PageTrackingRequest();\n }\n }, 1000);\n }\n\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, 'session.js.InsertAllCookiesSuccess', function () {\n trackAffiliates();\n });\n});","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.x-age-verification-popup');\n\n if ($wrapper.length < 1)\n return;\n\n InitAgeVerificationPopUp();\n\n function InitAgeVerificationPopUp() {\n\n var ageCookie = Cookies.get('aboveAge');\n\n var $container = $('.age-verification-popup', $wrapper);\n\n var redirectUrl = $container.data('redirect-url');\n var cookieDuration = $container.data('cookie-duration') || 30;\n var canClose = $container.data('can-close').toLowerCase() === 'true';\n\n if (!ageCookie || typeof ageCookie === \"undefined\") {\n $('.open-fancy-age', $wrapper).fancybox({\n margin: [20, 0],\n modal: !canClose,\n afterClose: function () {\n Cookies.set(\"aboveAge\", true, { expires: cookieDuration, samesite: 'Lax' });\n }\n });\n //open fancybox\n $('.open-fancy-age', $wrapper).trigger(\"click\"); \n\n //age verification\n $('.js-verification', $container).click(function () {\n $.fancybox.close(true);\n });\n\n //age prohibition\n $('.js-prohibition', $container).click(function () {\n if (redirectUrl.length > 0) {\n window.location.href = redirectUrl;\n } else {\n $('.fancy-age-container').addClass('no-verification');\n }\n });\n\n //back to age verification\n $('.js-back-to-verification', $container).click(function () {\n $('.fancy-age-container').removeClass('no-verification');\n });\n } \n }\n});\n","Vendd.Scripts.load(function () {\n\n window.ConsentsManager = new ConsentsManager();\n\n function ConsentsManager() {\n var self = this;\n\n this.cookie = 'ConsentChecked';\n this.cookieChecked;\n this.cookiesStatus = {};\n\n this.cookiesWidgetWrapper = $('.x-cookie-acceptance');\n\n this.cookiesModalWrapper = $('.cookies-modal-container');\n\n this.cookieTypeCodes = [\n \"FunctionalityCookies\",\n \"StatisticsCookies\",\n \"MarketingCookies\"\n ];\n this.endpoints = {\n \"insertConsents\": \"api/Consents/InsertConsents\",\n \"getCookiesConsentsModel\": \"api/Consents/GetCookiesConsentsModel\",\n \"insertAllCookies\": \"api/Consents/InsertAllCookies\",\n \"updateAllUserConsents\": \"api/Consents/UpdateAllUserConsents\",\n \"getCookiesWidgetModel\": \"api/Consents/GetCookiesWidgetModel\"\n };\n\n\n //------------------------------------------------------------------------------\n this.showCookiesWidget = function () {\n if (LhApp.Context.CookiesDisplay === \"Modal\") {\n self.initCookiesModal();\n } else if (LhApp.Context.CookiesDisplay === \"Layer\" && $('.manage-cookies-container').length <= 0) {\n this.cookiesWidgetWrapper.addClass('visible');\n }\n };\n\n //------------------------------------------------------------------------------\n this.hideCookiesWidget = function () {\n this.cookiesWidgetWrapper.removeClass('visible');\n };\n\n //------------------------------------------------------------------------------\n this.createOrUpdateCookie = function () {\n var date = new Date();\n date.setTime(date.getTime() + (60 * 60 * 1000));\n Cookies.set(self.cookie, self.cookiesStatus, { expires: date, samesite: 'Lax' });\n\n /*--DEPRICATED-- Expose Cookie Consents to Data Layer*/\n var consentsCookie = Cookies.getJSON('ConsentChecked');\n if (consentsCookie) {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({ 'functionalityCookiesEnabled': consentsCookie.functionalityCookies, 'marketingCookiesEnabled': consentsCookie.marketingCookies, 'statisticCookiesEnabled': consentsCookie.statisticCookies });\n }\n };\n\n //------------------------------------------------------------------------------\n this.getCookieStatus = function () {\n self.cookiesStatus = !self.cookieChecked ? {\n userHasSetCookies: false,\n functionalityCookies: LhApp.Context.CookiesDefaultActive,\n statisticCookies: LhApp.Context.CookiesDefaultActive,\n marketingCookies: LhApp.Context.CookiesDefaultActive\n } : Cookies.getJSON(self.cookie);\n };\n\n //------------------------------------------------------------------------------\n this.onGetCookieModelSuccess = function (res) {\n\n self.cookiesStatus.userHasSetCookies = res.UserHasSetCookies;\n if (self.cookiesStatus.userHasSetCookies) {\n self.cookiesStatus.functionalityCookies = res.ApprovedFunctionalityCookies;\n self.cookiesStatus.marketingCookies = res.ApprovedMarketingCookies;\n self.cookiesStatus.statisticCookies = res.ApprovedStatisticsCookies;\n }\n\n self.createOrUpdateCookie();\n self.activateCookies();\n\n if (!res.UserHasSetCookies) {\n self.showCookiesWidget();\n } else {\n self.hideCookiesWidget();\n }\n };\n\n //------------------------------------------------------------------------------\n this.insertConsents = function (data) {\n var type = data.type;\n\n function onSuccess(response) {\n\n if (jQuery.inArray(type, self.cookieTypeCodes) > -1) {\n self.getCookieConsentsModel();\n }\n\n Vendd.MessageBus.publishAsync(Vendd.Consents, new Vendd.Consents.Messages.InsertConsents);\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'POST',\n url: self.endpoints.insertConsents,\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n var dontLoadOnLoginSuccess;\n Vendd.MessageBus.subscribe(Vendd.User.Messages.Login, self, function (envelope) {\n dontLoadOnLoginSuccess = envelope.message.data.options && envelope.message.data.options.isLoginForm;\n\n if (dontLoadOnLoginSuccess)\n Cookies.remove(self.cookie, { path: '/' });\n });\n\n //------------------------------------------------------------------------------\n this.getCookieConsentsModel = function (afterInsertAllCookiesSuccess) {\n if (dontLoadOnLoginSuccess)\n return;\n\n function onSuccess(response) {\n self.onGetCookieModelSuccess(response.data);\n\n if (afterInsertAllCookiesSuccess)\n Vendd.MessageBus.publishAsync(Vendd.Consents, new Vendd.Consents.Messages.InsertAllCookiesSuccess);\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'GET',\n url: self.endpoints.getCookiesConsentsModel + \"?v=\" + Math.random(),\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n //------------------------------------------------------------------------------\n this.insertAllCookies = function (data) {\n\n function onSuccess(response) {\n self.getCookieConsentsModel(true);\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'POST',\n url: self.endpoints.insertAllCookies,\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n //------------------------------------------------------------------------------\n this.updateAllUserConsents = function () {\n\n function onSuccess(response) {\n self.getCookieConsentsModel();\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'GET',\n url: self.endpoints.updateAllUserConsents,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n //------------------------------------------------------------------------------\n this.getCookiesWidgetModel = function () {\n\n function onSuccess(response) {\n var initModalHtml = self.cookiesModalWrapper.html();\n\n response.data = $.extend(response.data, { cookiesModal: true });\n\n /*update model with cookie values*/\n var consentsCookie = Cookies.getJSON(self.cookie);\n if (consentsCookie) {\n $.map(response.data.Cookies, function (e) { return e.IsActive = (e.ConsentTypeCode == \"FunctionalityCookies\") ? consentsCookie.functionalityCookies : (e.ConsentTypeCode == \"StatisticsCookies\") ? consentsCookie.statisticCookies : (e.ConsentTypeCode == \"MarketingCookies\") ? consentsCookie.marketingCookies : e.IsActive });\n }\n var html = Vendd.Handlebars.parse(\"cookiesManager_A\", response.data);\n\n self.cookiesModalWrapper.html(html);\n //$.fancybox.update();\n\n var tabsCont = $('.tabs-container', self.cookiesModalWrapper);\n var scrollContConfig = $('.js-scrollbar', self.cookiesModalWrapper);\n\n if (!isTouch() && scrollContConfig) {\n scrollContConfig.mCustomScrollbar({\n scrollbarPosition: \"outside\",\n scrollInertia: 400,\n timeout: 1000,\n theme: \"dark-2\",\n mouseWheel: { preventDefault: false },\n });\n }\n\n $('.tab-title', tabsCont).click(function () {\n var thisTab = $(this);\n thisTab.addClass('active').siblings().removeClass('active');\n\n $('.tab-content:eq(' + thisTab.index() + ')', tabsCont).addClass('active').siblings().removeClass('active');\n });\n\n $('.js-save-cookies-btn', self.cookiesModalWrapper).click(function () {\n var data = { fCookies: true, sCookies: true, mCookies: true, source: 'Cookie Consent Page' }, type;\n\n $('.switch-checkbox', self.cookiesModalWrapper).each(function () {\n type = $(this).closest('div[data-type]').data('type');\n\n if (type === \"FunctionalityCookies\") {\n data.fCookies = $(this).is(\":checked\");\n } else if (type === \"StatisticsCookies\") {\n data.sCookies = $(this).is(\":checked\");\n } else if (type === \"MarketingCookies\") {\n data.mCookies = $(this).is(\":checked\");\n }\n\n });\n\n self.insertAllCookies(data);\n $.fancybox.close();\n });\n\n $('.js-back-to-modal', self.cookiesModalWrapper).click(function () {\n self.cookiesModalWrapper.html(initModalHtml);\n });\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'GET',\n url: self.endpoints.getCookiesWidgetModel,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n }\n\n //------------------------------------------------------------------------------\n this.registerEvents = function () {\n\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, self, function () {\n //update tagmanager consents if enabled\n var trackingModel = LhApp.Function.Tracking.getTrackingModel();\n if (trackingModel && trackingModel.EnableGoogleTagManagerConsents) {\n LhApp.Function.Tracking.gtag('consent', 'update', {\n 'ad_storage': window.ConsentsManager.cookiesStatus.marketingCookies ? 'granted' : 'denied',\n 'analytics_storage': window.ConsentsManager.cookiesStatus.statisticCookies ? 'granted' : 'denied',\n 'functionality_storage': window.ConsentsManager.cookiesStatus.functionalityCookies ? 'granted' : 'denied'\n });\n }\n if (dataLayer.filter(function (l) { return l['event'] && l['event'] == 'vendd_consents_ready' }) == 0) {\n dataLayer.push({ 'event': 'vendd_consents_ready' });\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, self, function (envelope) {\n //for some reason Login Success is fired even when login fails so the success must be checked....\n if (envelope.message.data.success) {\n self.updateAllUserConsents();\n }\n });\n\n //after successful register always follows login -> unnecessary function in success message\n //Vendd.MessageBus.subscribe(Vendd.User.Messages.RegisterSuccess, self, self.updateAllUserConsents);\n\n //cookies widget\n if (self.cookiesWidgetWrapper.length > 0) {\n self.cookiesWidgetWrapper.on('click', '.js-accept', function (e) {\n e.preventDefault();\n\n var data = { fCookies: true, sCookies: true, mCookies: true, source: 'Cookies Widget' };\n self.insertAllCookies(data);\n });\n }\n\n //cookies modal\n if (self.cookiesModalWrapper.length > 0) {\n self.cookiesModalWrapper.on('click', '.js-accept', function (e) {\n e.preventDefault();\n\n var data = { fCookies: true, sCookies: true, mCookies: true, source: 'Cookies Widget' };\n self.insertAllCookies(data);\n $.fancybox.close();\n });\n }\n\n if (self.cookiesModalWrapper.length > 0) {\n self.cookiesModalWrapper.on('click', '.js-decline', function (e) {\n e.preventDefault();\n\n var data = { fCookies: false, sCookies: false, mCookies: false, source: 'Cookies Widget' };\n self.insertAllCookies(data);\n $.fancybox.close();\n });\n }\n //cookies modal\n if (self.cookiesModalWrapper.length > 0) {\n self.cookiesModalWrapper.on('click', '.terms-link', function (e) {\n e.preventDefault();\n\n self.getCookiesWidgetModel();\n });\n }\n }\n\n //------------------------------------------------------------------------------\n this.initCookiesModal = function () {\n $(\".open-cookies-modal\").fancybox({\n modal: true\n });\n $(\".open-cookies-modal\").trigger(\"click\");\n }\n\n //------------------------------------------------------------------------------\n this.activateCookies = function () {\n window.ScriptsActivator.loadAllScripts(\n self.cookiesStatus.functionalityCookies,\n self.cookiesStatus.marketingCookies,\n self.cookiesStatus.statisticCookies\n );\n };\n\n\n //------------------------------------------------------------------------------\n this.init = function () {\n //behave like consents are activated and we have consent of user for all cookies\n if (!LhApp.Context.IsConsentsEnabled) {\n\n self.cookieChecked = true;\n self.cookiesStatus.userHasSetCookies = true;\n self.cookiesStatus.functionalityCookies = true;\n self.cookiesStatus.marketingCookies = true;\n self.cookiesStatus.statisticCookies = true;\n\n self.activateCookies();\n\n return;//do not run anything else from consents manager\n }\n\n self.cookieChecked = document.cookie.indexOf(self.cookie) !== -1;\n self.getCookieStatus();\n self.activateCookies();\n self.registerEvents();\n\n if (!self.cookieChecked) {\n self.getCookieConsentsModel();\n } else if (!self.cookiesStatus.userHasSetCookies) {\n self.showCookiesWidget();\n }\n };\n\n self.init();\n\n return self;\n };\n});\n","(function ($) {\n\t'use strict';\n\n\tvar ValidationEngine = (function () {\n\t\tvar self = this, base,\n \tfield, validation, fields = [],\n \tfirstTime = true;\n\n\t\tself.processFields = function (options) {\n\n\t\t\t$.each(options, function (k, v) {\n\t\t\t\tfield = {};\n\n\t\t\t\tif (typeof (v) === 'object') {\n\t\t\t\t\tfield.selector = k;\n\t\t\t\t\tfield.enabled = v.enabled !== undefined ? v.enabled : true\n\n\t\t\t\t\tdelete v.enabled; // could be done better :(\n\n\t\t\t\t\tself.processValidations(v);\n\t\t\t\t\tself.bindValidations(field);\n\t\t\t\t\tfields.push(field);\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('ValidationEngine: ' + k + ' must be of type object. Not ' + typeof (v) + '.');\n\t\t\t\t};\n\t\t\t});\n\t\t};\n\n\t\tself.processValidations = function (validations) {\n\t\t\tfield.validations = {};\n\n\t\t\t$.each(validations, function (k, v) {\n\t\t\t\tfield.validations[k] = {};\n\n\t\t\t\tif (typeof (v) === 'object') {\n\t\t\t\t\t$.each(v, function (key, value) {\n\t\t\t\t\t\tfield.validations[k][key] = value;\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tfield.validations[k].validator = v;\n\t\t\t\t};\n\t\t\t});\n\t\t};\n\n\t\tself.bindValidations = function (f) {\n\t\t\tf.$elem = $('*[name=\"' + f.selector + '\"]', base.$elem);\n\n\t\t\tif (f.$elem.length !== 1) {\n\t\t\t\tconsole.error('ValidationEngine: None or multiple results for selector: \"' + f.selector + '\".');\n\t\t\t};\n\t\t};\n\n\t\tself.getValue = function (f) {\n\t\t\tvar tag = self.getTagName(f);\n\n\t\t\treturn tag === 'select' || tag === 'textarea'\n ? f.$elem.val()\n : tag === 'input'\n ? f.$elem.attr('type') === 'text' || f.$elem.attr('type') === 'password' || f.$elem.attr('type') === 'date' || f.$elem.attr('type') === 'tel'\n ? f.$elem.val()\n : f.$elem.attr('type') === 'radio'\n ? $('input[name=' + f.$elem.attr('name') + ']:checked').val()\n : f.$elem.attr('type') === 'checkbox'\n ? f.$elem.is(':checked')\n : null\n : null;\n\t\t};\n\n\t\tself.getTagName = function (f) {\n\t\t\treturn f.$elem.prop(\"tagName\").toLowerCase();\n\t\t};\n\n\t\tself.searchField = function (selector) {\n\t\t\tvar field;\n\n\t\t\t$.each(fields, function (i, f) {\n\t\t\t\tif (f.selector === selector) {\n\t\t\t\t\tfield = f;\n\n\t\t\t\t\treturn false;\n\t\t\t\t};\n\t\t\t});\n\n\t\t\treturn field;\n\t\t};\n\n\t\tself.validateField = function (f) {\n\t\t\tvar result = true;\n\n\t\t\t$.each(f.validations, function (fn, opts) {\n\t\t\t\tif (fn === 'match') {\n\t\t\t\t\tvar matchField = self.searchField(opts.matchField);\n\n\t\t\t\t\tif (matchField) {\n\t\t\t\t\t\tif (typeof (opts.beforeValidation) === 'function')\n\t\t\t\t\t\t\topts.beforeValidation(f.$elem);\n\n\t\t\t\t\t\tif (opts.optional) {\n\t\t\t\t\t\t\tif ($.fn.validationEngine.validations.optional(self.getValue(f))) {\n\t\t\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n\t\t\t\t\t\t\t\t\t.call(self, self.getValue(f), self.getValue(matchField), opts.config)) {\n\n\t\t\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n\t\t\t\t\t\t\t\t.call(self, self.getValue(f), self.getValue(matchField), opts.config)) {\n\n\t\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error('ValidationEngine: MatchField was not found for match key : \"' + opts.matchField + '\".');\n\t\t\t\t\t};\n\n\t\t\t\t} else {\n\t\t\t\t\tif (typeof (opts.beforeValidation) === 'function')\n\t\t\t\t\t\topts.beforeValidation(f.$elem);\n\n\t\t\t\t\tif (opts.optional) {\n\t\t\t\t\t\tif ($.fn.validationEngine.validations.optional(self.getValue(f))) {\n\t\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n\t\t\t\t\t\t\t\t.call(self, self.getValue(f), opts.config)) {\n\n\t\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n .call(self, self.getValue(f), opts.config, f.$elem.get(0))) {\n\n\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t};\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\tif (result !== true) {\n\t\t\t\t\t$.each(f.validations, function (f, o) {\n\t\t\t\t\t\t$('.' + o.validator, base.$elem).removeClass('error');\n\t\t\t\t\t\tif ($('.' + o.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t\t$('.' + o.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\t$('.' + result, base.$elem).addClass('error');\n\n\t\t\t\t\tif ($('.' + result, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t$('.' + result, base.$elem).closest('.form-row').addClass('with-error');\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof (opts.afterValidation) === 'function')\n\t\t\t\t\t\topts.afterValidation(f.$elem, result);\n\n\t\t\t\t\treturn false;\n\t\t\t\t};\n\t\t\t});\n\n\t\t\tif (result === true) {\n\t\t\t\t$.each(f.validations, function (fn, opts) {\n\t\t\t\t\t$('.' + opts.validator, base.$elem).removeClass('error');\n\n\t\t\t\t\tif ($('.' + opts.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t$('.' + opts.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof (opts.afterValidation) === 'function')\n\t\t\t\t\t\topts.afterValidation(f.$elem, result);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn result;\n\t\t};\n\n\t\tself.validateAll = function () {\n\t\t\tvar result = true;\n\n\t\t\t$.each(fields, function (i, f) {\n\t\t\t\tif (f.enabled === false)\n\t\t\t\t\treturn true;\n\n\t\t\t\tif (self.validateField(f) !== true)\n\t\t\t\t\tresult = false;\n\t\t\t});\n\n\t\t\treturn result;\n\t\t};\n\n\t\treturn {\n\t\t\tinit: function (options, elem) {\n\t\t\t\tbase = this;\n\n\t\t\t\tbase.$elem = $(elem);\n\t\t\t\tbase.options = options;\n\n\t\t\t\tself.processFields(base.options);\n\t\t\t},\n\n\t\t\treset: function () {\n\t\t\t\tfirstTime = true;\n\n\t\t\t\t$.each(fields, function(i, f) {\n\t\t\t\t\t$.each(f.validations, function(j, v) {\n\t\t\t\t\t\t$('.' + v.validator, base.$elem).removeClass('error');\n\t\t\t\t\t\tif ($('.' + v.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t\t$('.' + v.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tdestroy: function () {\n\t\t\t\tbase.$elem.removeData();\n\n\t\t\t\t/*\n\t\t\t\t * TODO: FIX THIS !!!!\n\t\t\t\t */\n\n\t\t\t\tbase = undefined;\n\t\t\t\tself = undefined;\n\t\t\t},\n\n\t\t\taddField: function (options) {\n\t\t\t\tself.processFields(options);\n\t\t\t},\n\n\t\t\taddFields: function (options) {\n\t\t\t\tself.processFields(options);\n\t\t\t},\n\n\t\t\tremoveField: function (f) {\n\t\t\t\t$.each(fields, function (i, item) {\n\t\t\t\t\tif (item.selector === f) {\n\t\t\t\t\t\tfields.splice(i, 1);\n\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tremoveFields: function (array) {\n\t\t\t\t$.each(array, function (i, f) {\n\t\t\t\t\tbase.removeField(f);\n\t\t\t\t});\n\t\t\t},\n\n validateField: function (f) {\n if (f) {\n var field = self.searchField(f);\n\n if (field) {\n if (field.enabled)\n self.validateField(field);\n }\n }\n },\n\n\t\t\tenable: function (array) {\n\t\t\t\t$.each(array, function (i, key) {\n\t\t\t\t\tvar f = self.searchField(key);\n\n\t\t\t\t\tif (f)\n\t\t\t\t\t\tf.enabled = true;\n\t\t\t\t\telse\n\t\t\t\t\t\tconsole.error('ValidationEngine: None fields found for key: \"' + key + '\".');\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tdisable: function (array) {\n\t\t\t\t$.each(array, function (i, key) {\n\t\t\t\t\tvar f = self.searchField(key);\n\n\t\t\t\t\tif (f) {\n\t\t\t\t\t\tf.enabled = false;\n\n\t\t\t\t\t\t$.each(f.validations, function (f, o) {\n\t\t\t\t\t\t\t$('.' + o.validator, base.$elem).removeClass('error');\n\t\t\t\t\t\t\tif ($('.' + o.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t\t\t$('.' + o.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error('ValidationEngine: None fields found for key: \"' + key + '\".');\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tvalidate: function (f) {\n\t\t\t\tif (f) {\n\t\t\t\t\tif (firstTime)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tvar field = self.searchField(f);\n\n\t\t\t\t\tif (field) {\n\t\t\t\t\t\tif (field.enabled)\n\t\t\t\t\t\t\tself.validateField(field);\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\tif (firstTime)\n\t\t\t\t\t\tfirstTime = false;\n\n\t\t\t\t\treturn self.validateAll();\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t});\n\n\t$.fn.validationEngine = function (options) {\n\t\treturn this.each(function () {\n\t\t\tvar va;\n\n\t\t\tif ($(this).data(\"va-init\") === true) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t$(this).data(\"va-init\", true);\n\n\t\t\tva = new ValidationEngine();\n\t\t\tva.init(options, this);\n\n\t\t\t$.data(this, \"validationEngine\", va);\n\t\t});\n\t};\n\n\t$.fn.validationEngine.validations = {\n\t\toptional: function (value) {\n\t\t\tif ($.trim(value).length === 0)\n\t\t\t\treturn false;\n\n\t\t\treturn true;\n\t\t},\n\n\t\trequired: function (value) {\n\t\t\tif ($.trim(value).length > 0)\n\t\t\t\treturn true;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tcheckboxRequired: function (value) {\n\n\t\t\treturn value;\n\t\t},\n\n isEmail: function (value) {\n var reg = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,20}|^$/i;\n\n return reg.test(value);\n },\n\n\t\tisNumeric: function (value) {\n var reg = /^\\d+$/;\n\n return reg.test(value);\n\n\t\t},\n\n\t\tisAlphaNumeric: function (value) {\n\n\t\t\treturn true;\n\t\t},\n\n\t\tmatch: function (value1, value2) {\n\n\t\t\treturn value1 === value2;\n\t\t},\n\n\t\tlength: function () {\n\t\t\tvar value = arguments[0], config = arguments[1], score;\n\n\t\t\tif (config && config.limit !== 'undefined')\n\t\t\t\treturn value.length === config.limit;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tmaxLength: function () {\n\t\t\tvar value = arguments[0], config = arguments[1], score;\n\n\t\t\tif (config && config.limit !== 'undefined')\n\t\t\t\treturn value.length <= config.limit;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tminLength: function () {\n\t\t\tvar value = arguments[0], config = arguments[1], score;\n\n\t\t\tif (config && config.limit !== 'undefined')\n\t\t\t\treturn value.length >= config.limit;\n\n\t\t\treturn false;\n },\n\n validIBAN: function (value) {\n\n if ($.trim(value).length > 0) {\n\n var CODE_LENGTHS = {\n GR: 27\n \n //AD: 24, AE: 23, AT: 20, AZ: 28, BA: 20, BE: 16, BG: 22, BH: 22, BR: 29,\n //CH: 21, CR: 21, CY: 28, CZ: 24, DE: 22, DK: 18, DO: 28, EE: 20, ES: 24,\n //FI: 18, FO: 18, FR: 27, GB: 22, GI: 23, GL: 18, GR: 27, GT: 28, HR: 21,\n //HU: 28, IE: 22, IL: 23, IS: 26, IT: 27, JO: 30, KW: 30, KZ: 20, LB: 28,\n //LI: 21, LT: 20, LU: 20, LV: 21, MC: 27, MD: 24, ME: 22, MK: 19, MR: 27,\n //MT: 31, MU: 30, NL: 18, NO: 15, PK: 24, PL: 28, PS: 29, PT: 25, QA: 29,\n //RO: 24, RS: 22, SA: 24, SE: 24, SI: 19, SK: 24, SM: 27, TN: 24, TR: 26\n };\n\n var iban = String(value).toUpperCase().replace(/[^A-Z0-9]/g, ''), // keep only alphanumeric characters\n code = iban.match(/^([A-Z]{2})(\\d{2})([A-Z\\d]+)$/), // match and capture (1) the country code, (2) the check digits, and (3) the rest\n digits;\n\n // check syntax and length\n if (!code || iban.length !== CODE_LENGTHS[code[1]]) {\n return false;\n }\n\n // rearrange country code and check digits, and convert chars to ints\n digits = (code[3] + code[1] + code[2]).replace(/[A-Z]/g, function (letter) {\n return letter.charCodeAt(0) - 55;\n });\n\n var checksum = digits.slice(0, 2), fragment;\n for (var offset = 2; offset < digits.length; offset += 7) {\n fragment = String(checksum) + digits.substring(offset, offset + 7);\n checksum = parseInt(fragment, 10) % 97;\n }\n\n if (checksum == 1)\n return true;\n }\n\n return false;\n },\n\n isSocialSecurityNumber: function (value, parameters) {\n if (value.length === 0)\n return true;\n\n var isEleven = /^[0-9]{11}$/.test(value);\n var totalX = 0;\n for (var i = 0; i < 10; i++) {\n totalX += Number(value.substr(i, 1));\n }\n var isRuleX = totalX % 10 == value.substr(10, 1);\n var totalY1 = 0;\n var totalY2 = 0;\n for (var i = 0; i < 10; i += 2) {\n totalY1 += Number(value.substr(i, 1));\n }\n for (var i = 1; i < 10; i += 2) {\n totalY2 += Number(value.substr(i, 1));\n }\n var isRuleY = ((totalY1 * 7) - totalY2) % 10 == value.substr(9, 0);\n var isRuleFirstDigit = value.substr(0, 1) != '0';\n\n return isEleven && isRuleX && isRuleY && isRuleFirstDigit;\n\t\t},\n\n\t\tisGreekTaxIdentifier: function (taxIdentifier) {\n if (taxIdentifier.length === 0)\n return true;\n\n\t\t\tif (!isNaN(parseInt(taxIdentifier)) && taxIdentifier.length === 9) {\n\t\t\t\tvar result = 0;\n\t\t\t\tvar arrTaxId = taxIdentifier.split(\"\").map(function (item) {\n\t\t\t\t\treturn parseInt(item);\n\t\t\t\t});\n\n\t\t\t\tfor (var i = arrTaxId.length - 2; i >= 0; i--) {\n\t\t\t\t\tresult = result + arrTaxId[i] * Math.pow(2, (8 - i));\n\t\t\t\t}\n\n\t\t\t\tif ((result % 11) % 10 === arrTaxId[8]) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\n },\n\n isPhoneNumber: function (value) {\n if (value.length === 0)\n return true;\n\n var reg = /^\\+?\\d{10,14}$/;\n\n return reg.test(value);\n },\n\n isGreekPhone: function (value) {\n if (value.length === 0)\n return true;\n\n var reg = /^2[0-9]{9}$/;\n\n return reg.test(value);\n },\n\n isGreekMobile: function (value) {\n if (value.length === 0)\n return true;\n\n var reg = /^69[0-9]{8}$/;\n\n return reg.test(value);\n },\n\n isValidPhoneLocalized: function (value, paremeters, elem) {\n if (value.length === 0)\n return true;\n\n var iti = window.intlTelInputGlobals.getInstance(elem);\n var type = paremeters.type;\n var numberType = iti.getNumberType();\n var numberTypeIsValid = false;\n\n\t\t\tvar regex = /^\\+{0,1}[0-9]+$/g;\n\n if (type == \"phone\") {\n numberTypeIsValid = (numberType === intlTelInputUtils.numberType.FIXED_LINE || numberType === intlTelInputUtils.numberType.FIXED_LINE_OR_MOBILE) ? true : false;\n } else if (type == \"mobile\") {\n numberTypeIsValid = (numberType === intlTelInputUtils.numberType.MOBILE || numberType === intlTelInputUtils.numberType.FIXED_LINE_OR_MOBILE) ? true : false;\n } else if (type == \"both\") {\n numberTypeIsValid = (numberType === intlTelInputUtils.numberType.FIXED_LINE || numberType === intlTelInputUtils.numberType.MOBILE || numberType === intlTelInputUtils.numberType.FIXED_LINE_OR_MOBILE) ? true : false;\n }\n\n\t\t\treturn iti.isValidNumber() && numberTypeIsValid && regex.test(value);\n },\n\n isGreekPostalCode: function () {\n\t\t\tvar value = arguments[0], config = arguments[1];\n\n if (value.length === 5 && config.areas.length > 0) {\n return true;\n } else if (value.length < 1) {\n return true;\n } else {\n return false;\n }\n\n\t\t},\n\n\t\tisCypriotPostalCode: function () {\n\t\t\tvar value = arguments[0], config = arguments[1];\n\t\t\tvar hasAreas = venddProjectConfigs.Registration.CyprusAreasAutoCompletedEnabled;\n\n\t\t\tif (value.length === 4 && ((hasAreas && config.areas.length > 0) || (!hasAreas && config.areas.length == 0))) {\n\t\t\t\treturn true;\n\t\t\t} else if (value.length < 1) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t}\n\n\t};\n\n})(jQuery);","var Forms = {\n HookFormsFn: hookFormsFn,\n HookAjaxFormsFn: hookAjaxFormsFn\n};\n\nvar hookFormsFn = function ($forms) {\n\n $forms.each(function (j, form) {\n var $form = $(form);\n\n var validateOnKeyup = false;\n form.token = '';\n\n form.formUploadBoxesIds = {};\n form.formUploadBoxes = new Array();\n /*$(uploadBoxes).each(function (index, ub) {\n if ($form.find('#' + ub.id).length) {\n form.formUploadBoxes.push({\n box: ub,\n uploaded: false\n });\n form.formUploadBoxesIds[ub.id] = ub;\n }\n });*/\n\n var $rows = $('*.form-row.text, *.form-row.textarea, *.form-row.checkbox, *.form-row.select, *.form-row.uploads', $(form));\n $rows.each(function (r, row) {\n var $valField = $('*[data-member]:first', $(row));\n\n row.getValue = function () {\n if ($valField.length == 0)\n return null;\n\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select')\n return $valField.val();\n else if ($valField.is(':checkbox'))\n return $valField.is(':checked');\n else if ($($valField.get(0)).data('uploads')) {\n return '';\n }\n\n return null;\n };\n\n row.setValue = function (value) {\n if ($valField.length == 0)\n return;\n\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select')\n $valField.val(value);\n else if ($valField.is(':checkbox'))\n $valField.prop('checked', value);\n };\n\n row.isValid = function () {\n if ($valField.length == 0)\n return true;\n\n if ($valField.data('validaterequired')) {\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select') {\n if ($valField.val().trim() === '') {\n return false;\n }\n } else if ($valField.is(':checkbox')) {\n var checked = $valField.is(':checked');\n if (!checked)\n return false;\n } else if ($($valField.get(0)).data('uploads')) {\n var s = 0;\n var v = true;\n $('*[data-upload-box]', $(row)).each(function (ii, ubi) {\n var ub = form.formUploadBoxesIds[ubi.id];\n if (ub.isFileSelected())\n s++;\n if (!ub.isValid()) {\n v = false;\n s--;\n }\n });\n if (s < $form.data('required-files') || !v)\n return false;\n }\n }\n\n if ($valField.data('validateemail')) {\n if ($valField.is(':text')) {\n if (!LhApp.Function.String.isEmail($valField.val())) {\n return false;\n }\n }\n }\n\n if ($valField.data('validatematch')) {\n var group = $valField.data('validatematchgroup');\n var groupedFields = $('*[data-member][data-validatematchgroup=\"' + group + '\"]', $(form));\n if (groupedFields.length > 0) {\n var fieldValue = row.getValue();\n var isMatchValid = true;\n\n groupedFields.each(function (gi, gItem) {\n if ($(gItem).is(':text') || $(gItem).is(':password')) {\n if ($(gItem).val() != fieldValue) {\n isMatchValid = false;\n }\n } else if ($(gItem).is(':checkbox')) {\n if ($(gItem).is(':checked') != fieldValue) {\n isMatchValid = false;\n }\n }\n });\n\n if (!isMatchValid) {\n return false;\n }\n }\n }\n\n return true;\n };\n\n row.validate = function () {\n if ($valField.length == 0)\n return true;\n\n $(row).removeClass('x-invalid');\n\n if ($valField.data('validaterequired')) {\n var $validator = $('*[' + $valField.data('validaterequired') + ']', $(form));\n $validator.siblings().hide();\n $validator.hide();\n\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select') {\n if ($valField.val().trim() === '') {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n } else if ($valField.is(':checkbox')) {\n var checked = $valField.is(':checked');\n if (!checked) {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n } else if ($($valField.get(0)).data('uploads')) {\n var s = 0;\n $('*[data-upload-box]', $(row)).each(function (ii, ubi) {\n var ub = form.formUploadBoxesIds[ubi.id];\n if (ub.isFileSelected()) {\n s++;\n }\n if (!ub.validate()) {\n s--;\n }\n });\n if (s < $form.data('required-files')) {\n $('*[data-upload-box]', $(row)).each(function (ii, ubi) {\n var ub = form.formUploadBoxesIds[ubi.id];\n ub.validateSelected();\n });\n }\n\n if (!row.isValid()) {\n $(row).addClass('x-invalid');\n $validator.show();\n }\n }\n }\n\n if ($valField.data('validateemail')) {\n var $validator = $('*[' + $valField.data('validateemail') + ']', $(form));\n $validator.siblings().hide();\n $validator.hide();\n\n if ($valField.is(':text')) {\n if (!LhApp.Function.String.isEmail($valField.val())) {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n }\n }\n\n if ($valField.data('validatematch')) {\n\n var $validator = $('*[' + $valField.data('validatematch') + ']', $(form));\n $validator.siblings().hide();\n $validator.hide();\n\n var group = $valField.data('validatematchgroup');\n var groupedFields = $('*[data-member][data-validatematchgroup=\"' + group + '\"]', $(form));\n if (groupedFields.length > 0) {\n var fieldValue = row.getValue();\n var isMatchValid = true;\n\n groupedFields.each(function (gi, gItem) {\n if ($(gItem).is(':text') || $(gItem).is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea') {\n if ($(gItem).val() != fieldValue) {\n isMatchValid = false;\n }\n } else if ($(gItem).is(':checkbox')) {\n if ($(gItem).is(':checked') != fieldValue) {\n isMatchValid = false;\n }\n }\n });\n\n if (!isMatchValid) {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n }\n }\n };\n });\n\n form.fields = [];\n form.showLoader = function () {\n\n $('*[data-member]', $(form)).each(function (i, item) {\n if (!$(item).is(':disabled')) {\n form.fields.push($(item).data('member'));\n $(item).prop('disabled', true);\n }\n });\n\n $('*[data-click]', $(form)).each(function (i, item) {\n if (!$(item).is(':disabled')) {\n $(item).prop('disabled', true);\n }\n });\n\n $form.find('.button-wrapper').addClass('x-disabled');\n $form.addClass('x-disabled');\n $form.addClass('x-loading');\n };\n\n form.hideLoader = function () {\n\n $('*[data-member]', $(form)).each(function (i, item) {\n if ($(item).is(':disabled')) {\n if (form.fields.indexOf($(item).data('member')) != -1)\n $(item).prop('disabled', false);\n }\n });\n\n $('*[data-click]', $(form)).each(function (i, item) {\n if ($(item).is(':disabled')) {\n $(item).prop('disabled', false);\n }\n });\n\n $form.find('.button-wrapper').removeClass('x-disabled');\n $form.removeClass('x-disabled');\n $form.removeClass('x-loading');\n };\n\n form.isLoading = function () {\n return $form.hasClass('x-disabled');\n };\n\n form.validate = function () {\n $rows.each(function (r, row) {\n row.validate();\n });\n validateOnKeyup = true;\n };\n\n form.isValid = function () {\n var valid = true;\n\n $rows.each(function (r, row) {\n if (!row.isValid())\n valid = false;\n });\n\n return valid;\n };\n\n form.reset = function () {\n $('*[data-section=\"success\"]', $(form)).hide();\n $('*[data-section=\"failure\"]', $(form)).hide();\n $('*[data-section=\"content\"]', $(form)).show();\n\n\n $('input[type=\"file\"][data-member]', $(form)).val('');\n $('input[type=\"text\"][data-member]', $(form)).val('');\n $('input[type=\"password\"][data-member]', $(form)).val('');\n $('input[type=\"textarea\"][data-member]', $(form)).val('');\n $('input[type=\"checkbox\"][data-member]', $(form)).prop('checked', false);\n\n $('*[data-validator]', $(form)).hide();\n $('*[data-validationmsg]', $(form)).hide();\n };\n\n $('*[data-member]', $(form)).keyup(function (e) {\n if ($(this).data(\"member\") == \"message\") {\n $(this).keydown(preventSpecialCharacter);\n }\n\n if (!validateOnKeyup)\n return;\n\n var $row = $(this).parents('.form-row:first');\n $row.get(0).validate();\n });\n\n $('select[data-member]', $(form)).change(function (e) {\n if (!validateOnKeyup)\n return;\n\n var $row = $(this).parents('.form-row:first');\n $row.get(0).validate();\n });\n\n $('*[data-input]', $('*[data-uploads]', $(form))).change(function (e) {\n $('*[data-upload-box]', $(form)).each(function (i, ub) {\n var ub = form.formUploadBoxesIds[ub.id];\n ub.update();\n if (!validateOnKeyup)\n ub.validate();\n })\n\n if (!validateOnKeyup)\n return;\n var $row = $(this).parents('.form-row:first');\n $row.get(0).validate();\n });\n\n $('*[data-trigger]', $(form)).keyup(function (e) {\n if (e.keyCode == 13) {\n e.stopPropagation();\n e.preventDefault();\n\n if (!form.isValid()) {\n form.validate();\n return;\n }\n\n if (form.isLoading())\n return;\n\n var configData = form.getConfig();\n form.submit(configData);\n }\n });\n\n $('*[data-click=\"submit\"]', $(form)).click(function (e) {\n e.preventDefault();\n\n if (!form.isValid()) {\n form.validate();\n return;\n }\n\n var isDisabled = form.isLoading() || LhApp.Function.isButtonDisabled(this);\n if (isDisabled)\n return;\n\n var configData = form.getConfig();\n form.submit(configData);\n });\n\n // submit customForm\n $('*[data-click=\"generic-submit\"]', $(form)).click(function (e) {\n var code = $(form).data('code');\n\n e.preventDefault();\n form.validate();\n if (!form.isValid()) {\n return;\n }\n\n var isDisabled = form.isLoading() || LhApp.Function.isButtonDisabled(this);\n if (isDisabled)\n return;\n\n form.token = generateVisitorToken();\n $(form.formUploadBoxes).each(function (index, fub) {\n if (fub.box.input.val().length < 1) {\n fub.uploaded = true;\n } else {\n fub.uploaded = false;\n fub.box.initCallback = function (box, token) {\n $(form.formUploadBoxes).each(function (ii, bb) {\n if (bb.box.id == box.id) {\n $('*[data-progress-bar-box]', $(bb.box)).show();\n }\n });\n };\n fub.box.successCallback = function (box, token) {\n $(form.formUploadBoxes).each(function (ii, bb) {\n if (bb.box.id == box.id) {\n bb.uploaded = true;\n $('*[data-progress-bar-box]', $(bb.box)).hide();\n }\n });\n form.checkUploadsAndSubmit();\n };\n fub.box.submit(form.token);\n }\n });\n form.checkUploadsAndSubmit();\n });\n\n form.checkUploadsAndSubmit = function () {\n var done = true;\n var t = new Array();\n $(this.formUploadBoxes).each(function (index, fub) {\n t.push(fub.uploaded);\n if (!fub.uploaded)\n done = false;\n });\n if (done) {\n var code = $(this).data('code');\n var reqData = { code: code, data: JSON.stringify(this.getConfig()), token: this.token };\n this.submit(reqData);\n }\n };\n });\n};\n\nvar hookAjaxFormsFn = function ($ajaxForms) {\n\n $ajaxForms.each(function(i, form) {\n\n var $form = $(form);\n\n form.methodType = $form.data('method');\n form.submitUrl = $form.data('action');\n $form.removeAttr('data-action');\n\n var $rows = $('*.form-row.text, *.form-row.textarea, *.form-row.checkbox, *.form-row.select', $form);\n\n form.back = function() {\n $('*[data-section]', $(form)).hide();\n $('*[data-section=\"content\"]', $(form)).show();\n };\n\n form.getConfig = function() {\n var config = {};\n $rows.each(function(r, row) {\n var $valField = $('*[data-member]:first', $(row));\n if ($valField.length > 0)\n config[$valField.data('member')] = row.getValue();\n });\n $('*[data-hidden-member]', $(form)).each(function(i, item) {\n config[$(item).data('hidden-member')] = $(item).val();\n });\n\n if (form.methodType === 'control') {\n return [\n config\n ];\n }\n else {\n return config;\n }\n };\n\n form.onSuccess = function(request, response) {\n\n var redirectUrl = $(this).data('redirect');\n if (redirectUrl === undefined) {\n $('*[data-validator]', $(form)).hide();\n $('*[data-validationmsg]', $(form)).hide();\n $('.file-uploader', $(form)).hide();\n\n var $successSection = $('*[data-section=\"success\"]', $(form));\n if ($successSection.length > 0) {\n var $sections = $('*[data-section]', $(form));\n $sections.hide();\n\n var successMsgVal = $('*[data-validationmsg=\"success\"]', $successSection);\n successMsgVal.html(LhApp.Function.getText('Validation:' + response.code));\n successMsgVal.show();\n $successSection.show();\n } else {\n var successMsgVal = $('*[data-section=\"content\"] *[data-validationmsg=\"success\"]', $(form));\n successMsgVal.html(LhApp.Function.getText('Validation:' + response.code));\n successMsgVal.show();\n }\n } else if (redirectUrl != '') {\n document.location = redirectUrl;\n }\n };\n\n form.onFailure = function(request, response) {\n var validationMessage = LhApp.Function.getText('Validation:' + response.code);\n\n $('*[data-validator]', $(form)).hide();\n $('*[data-validationmsg]', $(form)).hide();\n var $failureSection = $('*[data-section=\"failure\"]', $(form));\n if ($failureSection.length > 0) {\n var $sections = $('*[data-section]', $(form));\n $sections.hide();\n $failureSection.show();\n\n var $validator = $('*[data-validationmsg=\"failure\"]', $failureSection);\n $validator.html(validationMessage);\n $validator.show();\n } else {\n var $validator = $('*[data-section=\"content\"] *[data-validationmsg=\"failure\"]', $(form));\n if ($validator.length > 0) {\n $validator.html(validationMessage);\n $validator.show();\n } else {\n var $validator = $('*[data-validationmsg]', $(form));\n $validator.html(validationMessage);\n $validator.show();\n }\n }\n };\n\n form.submit = function(config) {\n var me = this;\n\n if (form.isLoading())\n return;\n\n me.showLoader();\n\n var successFn = function (response) {\n me.hideLoader();\n\n var responseData = form.methodType == 'control' ? jQuery.parseJSON(response) : response.d;\n\n if (responseData.Success) responseData.success = responseData.Success;\n if (responseData.Code) responseData.code = responseData.Code;\n if (responseData.data) responseData.data = responseData.Data;\n if (responseData.time) responseData.time = responseData.Time;\n\n if (!responseData.success && responseData.code == 'GenericError') {\n if (typeof (responseData.Data) == 'string') {\n try {\n responseData.Data = jQuery.parseJSON(responseData.Data);\n } catch (e) {\n }\n }\n }\n\n if (responseData.success && typeof (me.onSuccess) === 'function')\n me.onSuccess(config, responseData);\n else if (!responseData.success && typeof (me.onFailure) === 'function')\n me.onFailure(config, responseData);\n };\n\n var failureFn = function (ex) {\n me.hideLoader();\n\n var response = {\n code: 'GenericError',\n success: false,\n time: 0\n };\n\n if (ex.responseText)\n response.data = jQuery.parseJSON(ex.responseText)\n else\n response.data = ex;\n\n if (typeof (me.onFailure) === 'function')\n me.onFailure(config, response);\n };\n\n if (form.methodType === 'control') { // todo: is this used??\n form.invoke(form.config, form.submitUrl, form.methodType == 'control' ? config : JSON.stringify(config), successFn, failureFn);\n }\n else {\n $.ajax({\n async: true,\n type: 'POST',\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n url: LhApp.Function.Url.getServiceEndpoint(me.submitUrl),\n data: JSON.stringify(config),\n success: successFn,\n error: failureFn,\n failure: failureFn\n });\n }\n };\n\n $('*[data-section=\"failure\"] *[data-click=\"reset\"]', $(form)).click(function(e) {\n e.preventDefault();\n\n var isDisabled = form.isLoading() || LhApp.Function.isButtonDisabled(this);\n if (isDisabled)\n return;\n\n form.reset();\n form.back();\n });\n });\n};\n\nVendd.Scripts.load(function() {\n var $forms = $('.x-control.x-form[data-control=\"form\"]');\n var $ajaxForms = $('.x-control.x-form[data-control=\"form\"][data-ajax=\"true\"]');\n\n hookFormsFn($forms);\n hookAjaxFormsFn($ajaxForms);\n\n if (venddProjectConfigs.convertToGreek)\n convertToGreek();\n\n if (venddProjectConfigs.convertToUppercase)\n convertToUppercase();\n});\n\n\n","Vendd.Scripts.load(function () {\n\n //Always carousel\n initOwlSlider($('.news-slider > ul'), { singleItem: true, rewindSpeed: 1500 });\n initOwlSlider($('.category-list-page .caregory-slider > ul'), { items: 7, itemsDesktop: [1199, 7], itemsDesktopSmall: [959, 5], itemsTablet: [768, 4], itemsMobile: [479, 2] });\n initOwlSlider($('.category-list-page .brands-slider > ul'), { items: 6, itemsDesktop: [1199, 6], itemsDesktopSmall: [959, 5], itemsTablet: [768, 4], itemsMobile: [479, 2] });\n initOwlSlider($('.manufacturer-list-page .x-slider > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.x-instagram-feed .instagram-list > ul'), { items: 6, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n\n //Carousel only on desktop - Product Lists\n var ww = $(window).width();\n var mobile = (ww < 960) ? true : false;\n\n if (!mobile) { \n initOwlSlider($('.home-page .countdown-container .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [640, 3], itemsMobile: [479, 2] }); \n initOwlSlider($('.home-page .countdown-timer-container .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 3], itemsTablet: [640, 2], itemsMobile: [479, 2] }); \n initOwlSlider($('.home-page .on-demand-container .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 3], itemsTablet: [640, 2], itemsMobile: [479, 2] }); \n initOwlSlider($('.manufacturer-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2], });\n initOwlSlider($('.product-details-region .tab-content .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1599, 2], itemsDesktopSmall: [1199, 1], itemsTablet: [768, 2], itemsMobile: [479, 1] });\n initOwlSlider($('.product-details-region .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] }); \n initOwlSlider($('.combo-template-one .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.combo-template-two .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.category-list-page .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.cart-region .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] }); \n initOwlSlider($('.blog-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n } \n\n $(window).on('resize', function () {\n\n ww = $(window).width();\n mobile = (ww < 960) ? true : false;\n\n if (!mobile) {\n initOwlSlider($('.home-page .countdown-container .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [640, 3], itemsMobile: [479, 2] }); \n initOwlSlider($('.home-page .countdown-timer-container .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 3], itemsTablet: [640, 2], itemsMobile: [479, 2] }); \n initOwlSlider($('.home-page .on-demand-container .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 3], itemsTablet: [640, 2], itemsMobile: [479, 2] }); \n initOwlSlider($('.manufacturer-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2], });\n initOwlSlider($('.product-details-region .tab-content .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1599, 2], itemsDesktopSmall: [1199, 1], itemsTablet: [768, 2], itemsMobile: [479, 1] });\n initOwlSlider($('.product-details-region .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.combo-template-one .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.combo-template-two .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.category-list-page .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.cart-region .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.blog-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n } else {\n destroyOwlSlider($('.home-page .countdown-container .x-product-slider .x-product-list > ul')); \n destroyOwlSlider($('.home-page .countdown-timer-container .x-product-slider .x-product-list > ul')); \n destroyOwlSlider($('.home-page .on-demand-container .x-product-slider .x-product-list > ul')); \n destroyOwlSlider($('.manufacturer-details-page .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.product-details-region .tab-content .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.product-details-region .x-product-slider .x-product-list > ul')); \n destroyOwlSlider($('.combo-template-one .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.combo-template-two .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.category-list-page .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.cart-region .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.blog-details-page .x-product-slider .x-product-list > ul'));\n }\n\n });\n \n});\n\nvar defSliderOptions = {\n navigation: true,\n pagination: true,\n items: 3,\n slideSpeed: 600,\n scrollPerPage: true,\n paginationSpeed: 600,\n addClassActive: true,\n navigationText: [\"\", \"\"],\n autoPlay: false,\n lazyLoad: false\n\n};\n\nfunction initOwlSlider(container, options) {\n\n if ($(container).length > 0) {\n\n container.SliderOption = options;\n\n var $wrapper = $(container).closest('.x-slider');\n\n if (!$wrapper.data('init')) return;\n\n var opts = $.extend({}, defSliderOptions, options);\n\n if ($wrapper.data('detailed-pager')) {\n opts.afterUpdate = function () {\n assignPagerValues($wrapper);\n };\n opts.afterInit = function () {\n assignPagerValues($wrapper);\n };\n }\n\n if ($(container).parent().hasClass(\"js-lazyload\") && typeof $.fn.lazyload === \"function\") {\n\n opts.afterMove = opts.afterMove || function () {\n setTimeout(function () { $('img', $wrapper).trigger('lazyload'); }, defOptions.slideSpeed);\n };\n $(\"img\", $wrapper).lazyload().trigger('lazyload');\n }\n\n container.owlCarousel(opts);\n }\n}\n\nfunction destroyOwlSlider($container) {\n\n if ($container.length > 1) {\n //for those pages that have more than one product list ex category list page\n $container.each(function () {\n if (typeof $(this).data('owlCarousel') !== 'undefined') {\n $(this).data('owlCarousel').destroy();\n $(this).removeClass('owl-carousel');\n }\n });\n } else {\n if (typeof $container.data('owlCarousel') !== 'undefined') {\n $container.data('owlCarousel').destroy();\n $container.removeClass('owl-carousel');\n }\n }\n \n}\n\nfunction assignPagerValues(wrapper) {\n\n if (!wrapper || wrapper.length < 1) return;\n\n var items = $('> ul > .owl-wrapper-outer > .owl-wrapper > .owl-item', wrapper);\n var pages = $('> ul > .owl-controls > .owl-pagination > .owl-page', wrapper);\n\n items.each(function (index, item) {\n var $item = $(item),\n value = $('.slide-container', $item).data('pager');\n $('span', pages.eq(index)).html(value);\n\n });\n\n}\n","Vendd.Scripts.load(function () {\n\n var hasLikeBox = $('.x-facebook-likebox').length > 0;\n var hasCustomerChat = $('.x-facebook-customer-chat').length > 0;\n var ua = window.navigator.userAgent;\n var isIE = /MSIE|Trident/.test(ua);\n\n if ((hasLikeBox || hasCustomerChat) && !isIE) {\n var facebookSettings;\n var facebookSettingsEl = $('#facebook-settings');\n\n if (facebookSettingsEl.length > 0) {\n facebookSettings = {\n AppId: $(facebookSettingsEl[0]).data('facappid'),\n PageId: $(facebookSettingsEl[0]).data('facpageid')\n };\n\n facebookSettingsEl.remove();\n }\n \n if (facebookSettings) {\n window.fbAsyncInit = function () {\n FB.init({\n appId: facebookSettings.AppId,\n autoLogAppEvents: true,\n xfbml: true,\n version: 'v10.0'\n });\n };\n }\n\n (function (d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) return;\n js = d.createElement(s); js.id = id;\n js.src = \"https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js\";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'facebook-jssdk'));\n }\n\n});","var $enableFormatPrices = false;\nfunction formatPrices($container) {\n if (!$enableFormatPrices) return;\n if (!$container || $container.length < 0) $container = $('html');\n var $boxes = $('[data-format=\"price\"]:not(.price-formatted)', $container);\n $boxes.each(function (index, box) {\n var $box = $(box), amount = $box.html(), formed = \"\";\n if ($box.hasClass('price-formatted')) return;\n $box.addClass('price-formatted');\n formed = formatPrice(amount);\n $box.html(formed);\n });\n return $boxes.length;\n}\n\nfunction formatPrice(amount) {\n var sep = LhApp.Context.Currency.DecimalSeparator, cur = decodeEntities(LhApp.Context.Currency.Symbol), pos, formed = \"\";\n if (!amount) return formed;\n amount = amount.trim();\n pos = amount.indexOf(cur);\n amount = amount.replace(cur, '').trim().split(sep);\n\n /* Respect number of decimal digits */\n amount[1] = amount[1].substring(0, LhApp.Context.Currency.NumberOfDigits);\n\n formed += pos == 0 ? '' + cur + '' : '';\n formed += amount.length > 0 ? '' + amount[0] + '' : '';\n /* Hides decimal part */\n if (amount[1] == '00') {\n formed += amount.length > 1 ? '' + sep + '' + amount[1] + '' : '';\n } else {\n formed += amount.length > 1 ? '' + sep + '' + amount[1] + '' : '';\n }\n formed += pos > 0 ? '' + cur + '' : '';\n return formed;\n}","Vendd.Scripts.load(function () {\n\n\t/**\n\t * NumberFormatter class\n\t * \n\t * Instances of this class may be used to convert numerical literals to native js \n\t * values and vice versa.\n\t * \n\t * The formatter is implicitly configured via the LhApp.context.Currency.* properties,\n\t * that specify the preferred number of decimal digits, the decimal separator, as well \n\t * as the symbol and position of the effective currency (if applicable).\n\t * \n\t * \n\t * Example:\n\t * \n\t * // LhApp.Context.Currency.Symbol = 'EUR';\n\t * // LhApp.Context.Currency.DecimalSeparator = ',';\n\t * // LhApp.Context.Currency.NumberOfDigits = true;\n\t * \n\t * var price = PriceFormatter.parsePrice('1000,45 EUR'); // price = 1000.45\n\t * var priceLiteral = PriceFormater.formatPrice(45.5); // priceLiteral = '45,50 EUR'\n\t * \n\t */\n\n\twindow.NumberFormatter = new NumberFormatter();\n\n\tfunction NumberFormatter() {\n\t\tvar self = this;\n\n\t\tvar currencySymbol = LhApp.Context.Currency.Symbol || '';\n\t\tvar currencyFirst = LhApp.Context.Currency.SymbolShownFirst || false;\n\t\tvar currencyVisible = LhApp.Context.Currency.DoShowSymbol || false;\n\t\tvar decimalSeparator = LhApp.Context.Currency.DecimalSeparator || '.';\n\t\tvar decimalDigits = LhApp.Context.Currency.NumberOfDigits || 0;\n\t\tvar pricePrefix = currencyVisible && currencyFirst ? currencySymbol + ' ' : '';\n\t\tvar priceSuffix = currencyVisible && !currencyFirst ? ' ' + currencySymbol : '';\n\n\t\t// Public methods\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.parse = function (numberLiteral) {\n if (typeof numberLiteral == 'undefined') {\n return undefined;\n }\n\n if (typeof numberLiteral !== 'string') {\n numberLiteral = numberLiteral.toString();\n }\n\t\t\t\n\t\t\tif (numberLiteral.trim().length === 0) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\tnumberLiteral = numberLiteral.replace(decimalSeparator, '.').trim();\n\t\t\tvar number = parseFloat(numberLiteral);\n\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\treturn number;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.parsePrice = function (priceLiteral) {\n\t\t\tif (typeof priceLiteral !== 'string') {\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tif (priceLiteral.trim().length === 0) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\tpriceLiteral = priceLiteral.replace(currencySymbol, '').trim();\n\t\t\tpriceLiteral = priceLiteral.replace(decimalSeparator, '.').trim();\n\t\t\tvar number = parseFloat(priceLiteral);\n\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\treturn number;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.formatPrice = function (number) {\n\t\t\tif (number === undefined) {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn '';\n\t\t\t}\n\n\t\t\tvar numberLiteral = self.format(number);\n\n\t\t\treturn pricePrefix + numberLiteral + priceSuffix;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.format = function (number) {\n\t\t\tif (number === undefined) {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn '';\n\t\t\t}\n\n\t\t\tvar numberLiteral;\n\n\t\t\tif (0 < decimalDigits) {\n\t\t\t\tnumberLiteral = parseFloat(number).toFixed(decimalDigits);\n\t\t\t\tnumberLiteral = numberLiteral.replace('.', decimalSeparator);\n\t\t\t} else {\n\t\t\t\tnumberLiteral = '' + parseInt(number);\n\t\t\t}\n\n\t\t\treturn numberLiteral;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.formatInt = function (number) {\n\t\t\tif (number === undefined) {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn '';\n\t\t\t}\n\n\t\t\tvar numberLiteral = '' + parseInt(number);\n\n\t\t\treturn numberLiteral;\n\t\t};\n\n\t\treturn self;\n\t};\n});\n","//============================================================================================================\n// GLOBAL VARS\n//============================================================================================================\n\nvar fancyOverlayColor = '#fff';\nvar fancyOverlayOpacity = 0.75;\nvar rating = 4.3;\nvar sidebar;\n\n//============================================================================================================\n// DOCUMENT READY\n//============================================================================================================\n$(document).ready(function () {\n\n initMyAccountFunctions();\n initCheckoutFunction();\n\n function initMyAccountFunctions() {\n if (typeof (InitMyAccountFunctions) == \"function\")\n InitMyAccountFunctions();\n };\n\n function initCheckoutFunction() {\n if (typeof (InitCheckoutFunctions) == \"function\")\n InitCheckoutFunctions();\n };\n\n $('*[data-numbers-allowed=\"true\"]').keyup(function () {\n var value = this.value.replace(/[^0-9\\.,]/g, '');\n\n if (this.value != value) {\n this.value = value;\n }\n });\n\n initSideStickyColumn();\n initTooltips();\n\n Handlebars.registerHelper('serialize', function (context) {\n return (context);\n });\n\n Handlebars.registerHelper('json', function (context) {\n return JSON.stringify(context);\n });\n\n});\n\n\n\n//============================================================================================================\n// DOCUMENT READY END\n//============================================================================================================\nfunction numbersOnly(event) {\n // left arrow, right arrow, tab\n if (event.keyCode == 37 || event.keyCode == 39 || event.keyCode == 9) {\n }\n else if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 36 || event.keyCode == 35) { // delete, backspace, home, end\n }\n else {\n if (event.keyCode < 95) {\n if (event.keyCode < 48 || event.keyCode > 57) // numbers\n event.preventDefault();\n }\n else {\n if (event.keyCode < 96 || event.keyCode > 105) // keypad\n event.preventDefault();\n }\n }\n}\n\nfunction preventSpecialCharacter(e) {\n var shiftPressed = e.shiftKey;\n var keyCode = e.keyCode;\n\n if (shiftPressed) {\n // In Order: '<', '>', '#', '&', '%', '{', '}'\n if (keyCode == 188 || keyCode == 190 || keyCode == 51 || keyCode == 55 || keyCode == 53 || keyCode == 219 || keyCode == 221)\n e.preventDefault();\n } else {\n // In Order: '/', '[', ']', '/(numPad)', '&', '%'\n if (keyCode == 191 || keyCode == 219 || keyCode == 221 || keyCode == 111)\n e.preventDefault();\n }\n};\n\nfunction phoneGROnly(event) {\n numbersOnly(event);\n if ($(event.currentTarget).val().length > 9)\n // delete, backspace, home, end, left arrow, right arrow, tab\n if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 36 || event.keyCode == 35 || event.keyCode == 37 || event.keyCode == 39 || event.keyCode == 9) { }\n else { event.preventDefault(); }\n}\n\nfunction stickyContainer(container, cssClass) {\n //Sticky container on scroll\n\n //Call Example\n //stickyContainer($('.header-region'), 'sticky');\n\n var containerHeight = container.height();\n var scrlTop = $(window).scrollTop();\n container.before(\"
\");\n var spacer = $('.spacer');\n\n //Initialize\n if (scrlTop >= containerHeight) {\n spacer.height(containerHeight);\n container.addClass(cssClass);\n }\n else {\n spacer.height(0);\n container.removeClass(cssClass);\n }\n\n /* respond to scroll event */\n $(window).scroll(function () {\n scrlTop = $(window).scrollTop();\n if (scrlTop >= containerHeight) {\n spacer.height(containerHeight);\n container.addClass(cssClass);\n }\n else {\n spacer.height(0);\n container.removeClass(cssClass);\n }\n });\n}\n\nfunction scroll_to_class(element_class, removed_height) {\n var scroll_to = $(element_class).offset().top - removed_height;\n if ($(window).scrollTop() != scroll_to) {\n $('html, body').stop().animate({\n scrollTop: scroll_to\n }, 0);\n }\n}\n\nfunction hideOnScrollDown(container, cssClass) {\n // Hide container on on scroll down\n\n //Call Example\n //hideOnScrollDown($('.header-region'), 'hidden');\n\n var containerHeight = container.height();\n\n var didScroll;\n var lastScrollTop = 0;\n var delta = 5;\n\n $(window).scroll(function (event) {\n didScroll = true;\n });\n\n setInterval(function () {\n if (didScroll) {\n var st = $(this).scrollTop();\n // Make sure they scroll more than delta\n if (Math.abs(lastScrollTop - st) <= delta)\n return;\n\n // If they scrolled down and are past the navbar, add class .nav-up.\n // This is necessary so you never see what is \"behind\" the navbar.\n if (st > lastScrollTop && st > containerHeight) {\n // Scroll Down\n container.addClass(cssClass);\n } else {\n // Scroll Up\n if (st + $(window).height() < $(document).height()) {\n container.removeClass(cssClass);\n }\n }\n\n lastScrollTop = st;\n didScroll = false;\n }\n }, 250);\n\n}\n\nfunction validateEmail(email) {\n var re = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(email);\n}\n\nfunction isTouch() {\n return ($('.touch').length > 0);\n}\n\nfunction importEmailForRegistration() {\n\n var email = sessionStorage.getItem('registrationEmail');\n\n if ($('.x-registration-form').length > 0 && email) {\n $('.x-registration-form input[name=\"email\"]').val(email);\n }\n\n if ($('.x-registration-b2b-form').length > 0 && email) {\n $('.x-registration-b2b-form input[name=\"email\"]').val(email);\n }\n\n}\n\nfunction initSideStickyColumn() {\n\n var stickyContainer = $('.side-content.js-sticky-column');\n\n if (stickyContainer.length < 1) return;\n\n var stickyConfig = {};\n if (isTouch()) {\n stickyConfig = {\n topSpacing: 0,\n bottomSpacing: 0,\n containerSelector: '.sticky-full',\n innerWrapperSelector: '.inner-sticky-column',\n resizeSensor: true,\n minWidth: 960\n };\n\n } else {\n stickyConfig = {\n topSpacing: stickyContainer.data('top-spacing') || 50,\n bottomSpacing: stickyContainer.data('bottom-spacing') || 0,\n containerSelector: '.sticky-full',\n innerWrapperSelector: '.inner-sticky-column',\n resizeSensor: true,\n minWidth: 960\n\n };\n\n }\n\n sidebar = new StickySidebar('.side-content.js-sticky-column', stickyConfig);\n}\n\nfunction initTooltips() {\n var $wrapper = $('.form-row .tooltip-info-wrapper');\n\n if ($wrapper.length < 1)\n return;\n\n $('.info-btn', $wrapper).click(function () {\n var tooltipBox = $(this).siblings('.info-tooltip');\n $('.info-tooltip', $wrapper).not(tooltipBox).hide();\n tooltipBox.toggle();\n });\n\n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n $('.info-tooltip', $wrapper).hide();\n }\n });\n}\n\n// in case of pages that need to load inside an iframe\n// and call parent vendd js to execute some actions\n// make sure that parent vendd iframe is accessible\nfunction getParentOrSelfVendd() {\n try {\n\n if (typeof parent.Vendd != \"undefined\")\n return parent.Vendd;\n }\n catch (error) { }\n\n return Vendd;\n}\n\nfunction isElementInViewport(el) {\n\n if (el.length <= 0)\n return false;\n //special bonus for those using jQuery\n if (typeof jQuery === \"function\" && el instanceof jQuery) {\n el = el[0];\n }\n\n var rect = el.getBoundingClientRect();\n\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /*or $(window).height() */\n rect.right <= (window.innerWidth || document.documentElement.clientWidth) /*or $(window).width() */\n );\n}\n\nfunction isElementPartialyInViewport(el, minSize = { height: 0, width: 0 }) { // minSize = Minimum viewable size of element in viewport\n\n if (el.length <= 0)\n return false;\n //special bonus for those using jQuery\n if (typeof jQuery === \"function\" && el instanceof jQuery) {\n el = el[0];\n }\n\n var rect = el.getBoundingClientRect();\n\n return (\n rect.bottom >= 0 &&\n rect.right >= 0 &&\n (rect.top + minSize.height) <= (window.innerHeight || document.documentElement.clientHeight) &&\n (rect.left + minSize.width) <= (window.innerWidth || document.documentElement.clientWidth)\n );\n} \n \n//============================================================================================================\n\nfunction UpdateQueryString(key, value, url) {\n\n if (!url) url = window.location.href;\n\n // dirty fix for new url rewriter, remove page number to go back to page 1\n url = url.replace(/\\/{1}p{1}[0-9]+/, '');\n\n\n //Vendd.MessageBus.publishAsync(wrapper, new Vendd.FilterProduct.Messages.GetNextFilter());\n\n var re = new RegExp(\"([?|&])\" + key + \"=.*?(&|#|$)\", \"gi\");\n\n if (url.match(re)) {\n if (value)\n var value = url.replace(re, '$1' + key + \"=\" + value + '$2');\n else\n var value = url.replace(re, '$2');\n\n if (value.indexOf('?') == -1) { // convert first paramter separator to query params separator\n var pos = value.indexOf('&');\n if (pos != -1) // has at least one parameter\n value = value.substring(0, pos) + '?' + value.substring(pos + 1, value.length);\n }\n return value;\n }\n else {\n if (value) {\n var separator = url.indexOf('?') !== -1 ? '&' : '?',\n hash = url.split('#');\n url = hash[0] + separator + key + '=' + value;\n if (hash[1]) url += '#' + hash[1];\n return url;\n }\n else\n return url;\n }\n};\n\nfunction getQueryStringValueByName(name) {\n name = name.replace(/[\\[]/, \"\\\\\\[\").replace(/[\\]]/, \"\\\\\\]\");\n var regexS = \"[\\\\?&]\" + name + \"=([^&#]*)\";\n var regex = new RegExp(regexS);\n var results = regex.exec(window.location.search);\n if (results == null)\n return \"\";\n else\n return decodeURIComponent(results[1].replace(/\\+/g, \" \"));\n}","Vendd.Scripts.load(function () {\n\n if ($('.header-template-one').length <= 0)\n return;\n\n if (isTouch()) {\n initResponsiveHeader();\n //initScrollDirection();\n stickyHeaderResponsive();\n } else {\n stickyHeader();\n }\n\n initCallMeBack();\n initUspSlider();\n hideHeaderInfo();\n\n var isMoved = false;\n});\n\nfunction stickyHeader() {\n var header = $('.header-region');\n var spacer = $('.header-spacer');\n var inlineAdminHeight, eSatisfactionHeight, infoBarHeight, mainBarHeight;\n\n initSticky();\n $(window).scroll(initSticky);\n $(window).resize(function () {\n if (!isTouch()) initSticky();\n });\n\n function initSticky() {\n\n if ($('html').hasClass('no-scroll')) return;\n\n infoBarHeight = $('.region-area-one', header).height();\n mainBarHeight = $('.region-area-two', header).height();\n inlineAdminHeight = $('.region-area-zero', header).height() || 0;\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n\n if (($(window).scrollTop() < infoBarHeight + inlineAdminHeight + eSatisfactionHeight || $(window).width() < 1200)) {\n header.removeClass('sticky');\n spacer.height(0);\n } else {\n header.addClass('sticky');\n spacer.height(mainBarHeight); \n }\n } \n}\n\nfunction stickyHeaderResponsive() {\n var header = $('.header-region');\n var spacer = $('.header-spacer');\n var inlineAdminHeight, eSatisfactionHeight, infoBarHeight, mainBarHeight, searchBarHeight;\n \n initStickyResponsive();\n $(window).scroll(initStickyResponsive);\n $(window).resize(function () { initStickyResponsive() });\n\n function initStickyResponsive() {\n\n if ($('html').hasClass('no-scroll')) return;\n\n infoBarHeight = $('.region-area-one', header).height();\n mainBarHeight = $('.region-area-two', header).height();\n searchBarHeight = $('.region-area-three', header).height();\n inlineAdminHeight = $('.region-area-zero', header).height() || 0;\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n\n if (($(window).scrollTop() <= infoBarHeight + inlineAdminHeight + eSatisfactionHeight)) {\n header.removeClass('sticky');\n spacer.height(0);\n } else {\n header.addClass('sticky');\n if ($(window).width() < 1200) {\n spacer.height(mainBarHeight + searchBarHeight);\n } else {\n spacer.height(mainBarHeight);\n }\n } \n } \n}\n\nfunction initResponsiveHeader() {\n\n if (isTouch()) {\n $(window).resize(function () {\n attachToResponsiveArea();\n });\n }\n\n var isMoved = false;\n\n if ($(window).width() < 1200) {\n if (isTouch()) {\n $('.header-region .region-area-two').addClass('reveal');\n $('.header-region .region-area-three').addClass('reveal');\n $('.header-region .x-searchbox').detach().appendTo('.header-region .region-area-three');\n isMoved = true;\n }\n }\n\n function attachToResponsiveArea() {\n\n if ($(window).width() < 1200) {\n if (!isMoved) {\n $('.header-region .region-area-two').addClass('reveal');\n $('.header-region .region-area-three').addClass('reveal');\n $('.header-region .x-searchbox').detach().appendTo('.header-region .region-area-three');\n isMoved = true;\n }\n } else {\n if (isMoved) {\n $('.header-region .x-searchbox').detach().insertAfter('.header-region .region-area-two .x-sitelogo');\n isMoved = false;\n }\n }\n }\n}\n\nfunction initScrollDirection() {\n var header = $('.header-region');\n var previousScroll = 0;\n\n $(window).scroll(function () {\n var currentScroll = $(this).scrollTop();\n if (currentScroll > previousScroll) {\n if (currentScroll > header.height()) {\n header.addClass('scroll-down').removeClass('scroll-up');\n }\n } else {\n header.addClass('scroll-up').removeClass('scroll-down');\n }\n previousScroll = currentScroll;\n });\n\n}\n\nfunction initCallMeBack() {\n\n if ($('.x-call-me-back-widget').length < 1)\n return;\n\n $('.call-me-back').click(function (e) {\n var url = $(this).data('url');\n $.fancybox.open({\n src: url,\n type: \"iframe\",\n toolbar: false,\n smallBtn: true,\n hash: null,\n baseClass: 'call-me-back-fancy',\n afterShow: function () {\n var $iframe = $('.fancybox-iframe').contents();\n $iframe.find('body').addClass('full');\n }\n });\n\n });\n}\n\nfunction initUspSlider() {\n var $header = $('.header-region');\n var $usps = $('.x-usp-widget > ul', $header);\n\n if ($usps.length < 1) return;\n\n var carouselMainOpts = {\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n autoplaySpeed: 4000,\n infinite: true,\n dots: false,\n prevArrow: false,\n nextArrow: false\n };\n\n var ww = $(window).width();\n var mobile = (ww < 960) ? true : false;\n\n if (mobile) {\n $usps.slick(carouselMainOpts);\n }\n\n $(window).on('resize', function () {\n\n ww = $(window).width();\n mobile = (ww < 960) ? true : false;\n\n if (mobile) {\n if (!$usps.hasClass('slick-initialized')) $usps.slick(carouselMainOpts); \n } else {\n if ($usps.hasClass('slick-initialized')) $usps.slick('unslick');\n }\n\n });\n\n}\n\nfunction calculateSearchHeight() {\n var $wrapper = $('.x-searchbox.elastic');\n\n if ($wrapper.length < 1) return;\n\n var header = $('.header-region');\n var headerHeight, regionHeight, eSatisfactionHeight, searchOffset;\n\n //header height\n headerHeight = header.height() || 0;\n regionHeight = $('.region-area-four', header).height() || 0;\n \n if ($(window).width() > 1200) {\n regionHeight = regionHeight + ($('.region-area-one', header).height() || 0) + ($('.info-message', header).height() || 0);\n } else {\n regionHeight = regionHeight + ($('.info-message', header).outerHeight() || 0);\n }\n headerHeight = headerHeight - regionHeight;\n //esatisfaction height\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n //search offset\n searchOffset = headerHeight + eSatisfactionHeight;\n\n $('.x-elastic-results-list', $wrapper).css({ 'height': 'calc(100% - ' + searchOffset + 'px)', top: searchOffset });\n}\n\n\n\nfunction hideHeaderInfo() {\n var $wrapper = $('.js-notification-message');\n\n if ($wrapper.length < 1)\n return;\n\n if (Cookies.get('hideNotification'))\n return;\n\n $wrapper.addClass('visible');\n\n $wrapper.on('click', '.js-hide-notification', function (e) {\n var date = new Date();\n date.setTime(date.getTime() + (30 * 60 * 1000));\n Cookies.set('hideNotification', 'true', { expires: date, samesite: 'Lax' });\n $wrapper.removeClass('visible');\n });\n}\n","Vendd.Scripts.load(function () {\n initTabPanel();\n});\n\nfunction initTabPanel($wrapper) {\n var $container = $wrapper;\n\n if (!$container) {\n $container = $('html');\n }\n\n $('.x-control.x-tab-panel', $container).each(function (i, wrapper) {\n\n $('*[data-tab-click]', $(wrapper)).click(function () {\n \n $(wrapper).removeClass('default');\n var thisTab = $(this);\n var innerWrapper = thisTab.closest('.x-tab-panel');\n var thisTabIndex = thisTab.data('tab-index');\n\n if ($('.product-details-region').length > 0) {\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).children('.mb-title').addClass('icon-arrow-up').removeClass('icon-arrow-down');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).siblings().children('.mb-title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n }\n\n thisTab.addClass('active').siblings().removeClass('active');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).addClass('active').siblings().removeClass('active');\n\n });\n\t$('*[data-tab-mobile-click]', $(wrapper)).click(function () {\n \n $(wrapper).removeClass('default');\n var $this = $(this);\n var innerWrapper = $this.closest('.x-tab-panel');\n var thisTabIndex = $this.data('tab-index');\n\n \n \n $('.x-tab-mobile', innerWrapper).removeClass('icon-arrow-up').addClass('icon-arrow-down');\n $this.removeClass('icon-arrow-down').addClass('icon-arrow-up');\n \n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).addClass('active').siblings().removeClass('active');\n });\n\n });\n}","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrappers = $('.x-lazy-product-list');\n\n var $configuration, configurations = [], currentitemid = 0;\n var wrappers = $wrappers;\n\n if ($wrappers.length < 1)\n return;\n\n if (LhApp.Context.Item.Id !== undefined && LhApp.Context.Item.Id > 0)\n currentitemid = LhApp.Context.Item.Id;\n\n $.each($wrappers, function (i, wrpr) {\n var $this = $(wrpr);\n wrpr.model = null;\n\n var configuration = {\n configCode: $this.data(\"code\"),\n templateCode: $this.data(\"template\"),\n entityCode: $this.data(\"entity\"),\n itemId: currentitemid,\n refreshInterval: $this.data(\"refresh-interval\") === undefined ? 0 : parseInt($this.data(\"refresh-interval\")),\n nodeId: $this.data(\"nodeid\"),\n nodePath: $this.data(\"nodepath\"),\n }; \n\n if ($('.x-product-details').length > 0 && $('.x-product-details').data('selected-color-id') > 0 && $this.data(\"photodimensiondependent\")) {\n configuration.photoDimensionId = $('.x-product-details').data('selected-color-id');\n }\n\n wrpr.loading = function loading(loading) {\n if (loading) {\n $this.addClass('x-loading');\n } else {\n $this.removeClass('x-loading');\n }\n };\n\n wrpr.update = function update() {\n wrpr.loading(true);\n\n var partial = $this.data('partial');\n var html = Vendd.Handlebars.parse(partial, wrpr.model);\n wrpr.bind(html);\n\n var connectedList = $(wrpr).data('list');\n if (connectedList !== undefined) {\n $('.num-of-products[data-list-count=\"' + connectedList + '\"]').html(wrpr.model.ItemsCountText);\n }\n Vendd.MessageBus.publish(wrpr, new Vendd.Widget.Messages.BindControl($(wrpr)));\n\n var lazyLoadPrices = $('.list-lazy-load-prices', wrpr).text().toLowerCase().trim() === \"true\";\n //check if current user has custom prices\n var currentUser = Vendd.User && Vendd.User.GetClientModel();\n var customPrices = currentUser && currentUser.HasCustomPrices;\n\n if (lazyLoadPrices || customPrices) {\n var items = [];\n $('.x-product-box[data-variantid]', wrpr).each(function (i, el) {\n items.push(parseInt($(el).attr('data-variantid')));\n });\n\n var obj = {\n itemIds: items,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n Vendd.MessageBus.publishAsync(wrpr, new Vendd.ScrollList.Messages.GetClientProductListData(obj));\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrpr, wrpr.onGetClientProductListDataSuccess);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataFailure, wrpr, wrpr.onGetClientProductListDataFailure);\n }\n\n wrpr.loading(false);\n };\n\n wrpr.bind = function bind(html) {\n $this.html(html);\n\n formatPrices($this);\n\n var opts = {\n navigation: true,\n pagination: true,\n items: 5,\n slideSpeed: 600,\n scrollPerPage: true,\n paginationSpeed: 600,\n addClassActive: true,\n navigationText: [\"\", \"\"],\n autoPlay: false,\n lazyLoad: false,\n itemsDesktop: [1199, 5],\n itemsDesktopSmall: [959, 4],\n itemsTablet: [768, 3],\n itemsMobile: [479, 2]\n };\n $('.see-recently-container > ul', $this).owlCarousel(opts);\n };\n\n wrpr.getConfiguration = function () {\n return configuration;\n };\n\n wrpr.setModel = function (model) {\n wrpr.model = model;\n };\n\n wrpr.onGetClientProductListDataSuccess = function (envelope) {\n var result = JSON && JSON.parse(envelope.message.data) || $.parseJSON(envelope.message.data);\n LazyPrices(result);\n LazyAvailabilities(result);\n };\n\n wrpr.onGetClientProductListDataFailure = function (envelope) {\n //console.log(envelope.message.data);\n };\n\n var LazyPrices = function (obj) {\n $('.x-product-box[data-variantid]', wrpr).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n\n if (itemData.length === 0) return;\n\n var prices = itemData[0].Prices.Price;\n var points = itemData[0].Prices.Points;\n var pointsGain = itemData[0].Prices.PointsGain;\n var countdownPrices = itemData[0].CountDownProperties;\n\n // hide all\n $('.deleted-price-container', el).addClass('hide');\n\n $('.current-point-price-container', el).addClass('hide');\n\n if (prices) {\n if (prices.DeletedPrice) {\n $('.deleted-price-container', el).removeClass('hide');\n $('.deleted-price', el).text(decodeEntities(prices.DeletedPrice));\n } else if (countdownPrices) {\n $('.deleted-price-container', el).removeClass('hide');\n $('.deleted-price', el).text(decodeEntities(prices.CurrentPrice));\n }\n\n var displayedPrice = decodeEntities(prices.CurrentPrice);\n if (countdownPrices && countdownPrices.Price) {\n displayedPrice = countdownPrices.Price;\n }\n var $currentPrice = $('.current-price', el);\n if ($enableFormatPrices) {\n $currentPrice.html(formatPrice(displayedPrice));\n $currentPrice.addClass('price-formatted');\n\n } else {\n $currentPrice.text(displayedPrice);\n }\n }\n\n if (points) {\n $('.current-point-price-container', el).removeClass('hide');\n $('.current-point-price-container .points-price', el).text(points.PointsPrice);\n }\n\n if (pointsGain) {\n $('.current-point-price-container', el).removeClass('hide');\n $('.current-point-price-container .points-gain', el).text(pointsGain.TotalPointsGain);\n }\n\n });\n };\n\n var LazyAvailabilities = function (obj) {\n $('.x-product-box[data-variantid]', wrpr).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n if (itemData.length > 0) {\n var availability = itemData[0].Availability.AvailabilityData;\n var cartEnabled = availability.CanBuy === true;\n $('.availability', $(this)).addClass(\"availability-\" + availability.AvailabilityActionId).text(availability.Name).parent('.availability-container').removeClass('hide');\n if (cartEnabled) {\n $('.buttons .add-to-cart', $(this)).removeClass('x-disabled');\n $('.buttons .add-to-cart button', $(this)).removeAttr('disabled', 'disabled');\n }\n }\n });\n };\n\n function removeConfiguration(innerwrapper, config) {\n\n if ($this.length > 0) {\n $this = $this.slice(1);\n }\n\n if (configurations.length > 0) {\n var configIndex = configurations.indexOf(config);\n configurations.splice(configIndex, 1);\n }\n };\n\n Vendd.MessageBus.subscribe(Vendd.LazyProductList.Messages.LazyProductListSuccess, wrpr, function (envelope) {\n var sender = envelope.message.data.sender;\n if (wrpr && sender && wrpr == sender) {\n var model = envelope.message.data.model;\n if (model.Items && model.Items.length > 0) {\n wrpr.setModel(model);\n wrpr.update();\n if ($(wrpr).data(\"has-filter\") != undefined) {\n var connectedList = $(wrpr).data('list');\n if (connectedList !== undefined) {\n var $connectedFilter = $('.js-filters-wrapper[data-list=\"' + connectedList + '\"]').first();\n if ($connectedFilter.length > 0) {\n Vendd.MessageBus.publishAsync($connectedFilter.get(0), new Vendd.FilterProduct.Messages.Changed(model.Filters.Filters));\n }\n }\n }\n } \n }\n });\n\n //keep last in component's code\n (function () {\n var defaultCallExecuted;\n function defaultCall() {\n if (Vendd.User.SessionState && !defaultCallExecuted) {\n defaultCallExecuted = true;\n Vendd.MessageBus.publishAsync(wrpr, new Vendd.LazyProductList.Messages.GetLazyProductList(configuration));\n }\n }\n defaultCall();\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, wrpr, function (envelope) {\n defaultCall();\n });\n })();\n\n });\n\n});\n\nfunction reInitLazyProductLists(colorId) {\n\n var $lazyPds = $(\".x-lazy-product-list[data-photodimensiondependent='true']\");\n var configs = [], currentitemid = 0;\n\n if ($lazyPds.length < 1)\n return;\n\n if (LhApp.Context.Item.Id !== undefined && LhApp.Context.Item.Id > 0)\n currentitemid = LhApp.Context.Item.Id;\n\n $lazyPds.each(function () {\n var $lazypd = $(this);\n\n configs.push({\n configCode: $lazypd.data(\"code\"),\n templateCode: $lazypd.data(\"template\"),\n entityCode: $lazypd.data(\"entity\"),\n itemId: currentitemid,\n refreshInterval: $lazypd.data(\"refresh-interval\") === undefined ? 0 : parseInt($lazypd.data(\"refresh-interval\")),\n nodeId: $lazypd.data(\"nodeid\"),\n nodePath: $lazypd.data(\"nodepath\"),\n photoDimensionId: colorId\n });\n });\n\n Vendd.MessageBus.publishAsync($lazyPds.get(0), new Vendd.LazyProductList.Messages.GetLazyProductList(configs[0]));\n}","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-product-box', function (envelope) {\n\n var $context = envelope.message.data.context, model, quickBuyObj, $hoveredProduct, colorSelectorCallback = false,\n $boxes = $('.x-product-box', $context);\n\n if ($boxes.length < 1)\n return;\n\n if (!isTouch() && $boxes.data('hasquickbuy')) {\n initProducboxHover($boxes);\n }\n\n if ($('.takeaway-price-container', $boxes).length > 0) {\n $('.takeaway-price-container', $boxes).each(function () {\n initTakeAwayPrice($(this));\n });\n }\n\n $boxes.on('click', '.js-remove-from-cart', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, cartIds;\n\n $box = $this.closest('.x-product-box');\n\n cartIds = $box.prop('data-cartproductid');\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Cart.Messages.MultipleRemove(cartIds));\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleRemoveSuccess, $box, function (envelope) {\n $this.attr('disabled', 'disabled').parent().addClass('disabled');\n toastr.success(envelope.message.data.data.SuccessMessage, \"\", { timeOut: 1200, showDuration: 1000, hideDuration: 700 });\n Vendd.MessageBus.unsubscribe(Vendd.Cart.Messages.MultipleRemoveSuccess, $box);\n });\n });\n\n $boxes.on('click', '.js-add-to-cart', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty, extraAttributes, bundleItems, color, colorId, size, $wrapper, list, recipeItems, comboItems;\n\n if ($this.hasClass('x-disabled') || $this.is(':disabled'))\n return;\n if ($('.x-warehouse-selector-widget').trigger('addtocart').hasClass('opening'))\n return;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-qty', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n var defaultcolorId = $box.data('default-colorid');\n\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n extraAttributes = [];\n bundleItems = [];\n recipeItems = [];\n comboItems = [];\n\n var itemInfo = {\n minQuantity: parseInt($box.data('min-quantity') || 0),\n maxQuantity: parseInt($box.data('max-quantity') || 0),\n quanta: parseInt($box.data('quanta') || 0)\n };\n\n //enhanced info\n color = $box.attr('data-color');\n size = $box.attr('data-size');\n colorId = $box[0].SelectedColorId || defaultcolorId || 0;\n\n $wrapper = $this.closest('.x-control.x-product-list');\n list = $wrapper.data('list');\n\n var enhancedInfo = { color: color, size: size, list: list, colorId: colorId };\n //enhanced info\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Cart.Messages.Add(id, skuId, path, qty, extraAttributes, bundleItems, recipeItems, comboItems, itemInfo, enhancedInfo));\n //Open the widget only for template 1 of Cart Widget\n if ($('.x-cart-widget').data('template') === 1) {\n if ($box.closest('.x-searchbox.elastic').length > 0) {\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCart\"), \"\", { timeOut: 1200, showDuration: 300, hideDuration: 700 });\n } else {\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.CartWidget, false));\n }\n }\n\n });\n\n $boxes.on('click', '.js-remove-from-wishlist', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, wishlistItemId;\n\n if ($this.closest('.wishlist-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n\n if ($boxes.data('hasquickbuy')) {\n var varId = parseInt($box.data('variantid'));\n var wishlistModel = JSON.parse(localStorage.getItem(\"CurrentWishlistModel\"));\n var selectedsku = _.find(wishlistModel.Items, function (item) { return varId === item.VariantId });\n wishlistItemId = selectedsku.Id;\n } else {\n wishlistItemId = $box.prop('data-wishlistitemid');\n }\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Wishlist.Messages.Remove(wishlistItemId));\n });\n\n $boxes.on('click', '.js-add-to-wishlist', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty, extraAttributes, bundleItems;\n\n if ($this.closest('.wishlist-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-quantity', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n extraAttributes = [];\n bundleItems = [];\n\n\n if (LhApp.Context.MultipleWishlistsEnabled && $('.js-wishlist-lists', $box).length > 0) {\n LhApp.Function.hideAllProductWishlists();\n var product = { id: id, skuId: skuId, path: path, qty: qty };\n LhApp.Function.showProductWishlists($box, product);\n } else {\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Wishlist.Messages.Add(id, skuId, path, qty, extraAttributes, bundleItems));\n }\n });\n\n $boxes.on('click', '.js-remove-from-compare', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, productId;\n\n if ($this.closest('.compare-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n\n productId = $box.prop('data-productid');\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.ProductCompare.Messages.Remove(productId));\n\n if ($('.x-productcompare-widget').data('template') === 1) {\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n }\n });\n\n $boxes.on('click', '.js-add-to-compare', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty;\n\n if ($this.closest('.compare-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-quantity', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.ProductCompare.Messages.Add(id, skuId));\n\n if ($('.x-productcompare-widget').data('template') === 1) {\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n }\n });\n\n $boxes.on('click', '.js-qty-change', function (e) {\n var $this, $spinner, $input, val, min, max, step;\n\n $this = $(this);\n $spinner = $this.parent();\n $input = $this.siblings('input[name=\"qty\"]').eq(0);\n val = parseFloat($input.val()).toFixed(2);\n min = $(this).closest(\"article\").attr(\"data-min-quantity\");\n max = $(this).closest(\"article\").attr(\"data-max-quantity\");\n step = $(this).closest(\"article\").attr(\"data-quanta\");\n\n if ($spinner.hasClass('x-disabled'))\n return;\n\n if ($this.hasClass('js-decrement')) {\n\n if (min === \"\" && max === \"\" && step === \"\") {\n min = parseInt($spinner.data('min'));\n max = parseInt($spinner.data('max'));\n step = parseInt($spinner.data('step'));\n\n if ((parseInt(val) - parseInt(step)) <= parseInt(min)) {\n val = parseInt(min);\n } else {\n val = parseInt(val) - parseInt(step);\n } \n }\n else if (Vendd.Helpers.isInteger(parseFloat(step))) {\n val = parseInt(val) - parseInt(step);\n }\n else if (parseFloat(val) > parseFloat(min) && (parseFloat(val) - parseFloat(step) >= parseFloat(min))) {\n val = parseFloat(val) - parseFloat(step);\n val = parseFloat(val).toFixed(2);\n }\n\n $input.val(val);\n $this.siblings('.js-increment').removeClass('disabled');\n $this.siblings('.js-increment').removeAttr('disabled');\n\n if (val === min) {\n $this.addClass('disabled');\n $this.attr('disabled', 'disabled');\n }\n } else if ($this.hasClass('js-increment')) {\n\n if (min === \"\" && max === \"\" && step === \"\") {\n min = parseInt($spinner.data('min'));\n max = parseInt($spinner.data('max'));\n step = parseInt($spinner.data('step'));\n val = parseInt(val) + parseInt(step);\n }\n else if (Vendd.Helpers.isInteger(parseFloat(step))) {\n val = parseInt(val) + parseInt(step);\n }\n else if (parseFloat(val) < parseFloat((max == null || max === \"\" || max <= 0 ? 1000000 : max)) && (parseFloat(val) + parseFloat(step)) <= parseFloat((max == null || max === \"\" || max <= 0 ? 1000000 : max))) {\n val = parseFloat(val) + parseFloat(step);\n val = parseFloat(val).toFixed(2);\n }\n\n $input.val(val);\n $this.siblings('.js-decrement').removeClass('disabled');\n $this.siblings('.js-decrement').removeAttr('disabled');\n\n if (val === max) {\n $this.addClass('disabled');\n $this.attr('disabled', 'disabled');\n }\n }\n });\n\n $boxes.on('keydown', '.js-qty', function (e) {\n numbersOnly(e);\n });\n\n $boxes.on('click', '.js-select-product', function (e) {\n\n var $this, $box, id, $wrapper, list;\n $this = $(this);\n\n $box = $this.closest('.x-product-box');\n\n id = $box.data('productid');\n\n $wrapper = $this.closest('section.x-product-list');\n list = $wrapper.data('list');\n\n Vendd.MessageBus.publish($box.get(0), new Vendd.Product.Messages.ProductSelected(id, list));\n });\n\n $boxes.on('click', '.js-color-selector', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this);\n var $box = $this.closest($boxes);\n\n if (!$box.data('hascolorselector'))\n return;\n\n //get selected color data\n var selectedColorId = $this.data('id');\n var selectedColorName = $this.data('name');\n var selectedColorSrc = $this.data('src');\n\n $('.js-color-selector', $box).removeClass('selected');\n $this.addClass('selected');\n\n //change product box image\n if (typeof selectedColorSrc != 'undefined') {\n $box.find('img').attr('src', selectedColorSrc);\n $box.attr('data-color', selectedColorName);\n $box.attr('data-selected-colorid', selectedColorId);\n } \n\n //add the selected sku parameter in product box links\n addSkuParameterInProductBox($box, selectedColorId); \n\n //sync color selector with quick buy - only if quickbuy is open\n if ($box.data('hasquickbuy') && $box.hasClass('x-initialized')) {\n colorSelectorCallback = true;\n $('.js-dimensions li[data-id=' + selectedColorId + ']', $box).trigger('click');\n }\n });\n\n $boxes.on('click', '.js-quick-view', function (e) {\n e.preventDefault();\n e.stopPropagation();\n if (isTouch()) {\n window.location.href = $('> a', $(this).closest('.image-container')).attr('href');\n return;\n }\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty, extraAttributes, bundleItems;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-quantity', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n extraAttributes = [];\n bundleItems = [];\n\n var Href = '/pages/productdetailspopup.aspx?iid=' + id + '&path=' + path + '&Quantity=' + qty;\n $.fancybox.open({\n src: Href,\n type: 'iframe',\n maxWidth: 840,\n //maxHeight: 745,\n fitToView: false,\n //width: '100%',\n //height: '100%',\n autoSize: false,\n closeClick: false,\n openEffect: 'none',\n closeEffect: 'none',\n padding: 0,\n beforeShow: function () {\n var fancy = $('.fancybox-iframe');\n fancy.closest('.fancybox-skin').addClass('quick-view');\n fancy.contents().find('html').addClass('quick-view');\n fancy.contents().find('.fancybox-my-close').on('click', function () { $.fancybox.close(); });\n this.width = ($('.fancybox-iframe').contents().find('.product-details-popup').width());\n this.height = ($('.fancybox-iframe').contents().find('html').height());\n },\n afterClose: function () {\n }\n });\n });\n\n $boxes.on('click', '.js-set-delivery-point', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, deliveryPointId;\n\n $box = $this.closest('.x-product-box');\n\n deliveryPointId = $this.data('id');\n\n $('.js-set-delivery-point').addClass('x-disabled').attr('disabled', 'disabled').parent().addClass('x-loading');\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Cart.Messages.SetDeliveryPoint(deliveryPointId));\n });\n\n $boxes.on('click', '.js-quick-buy', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this);\n var $box = $this.closest($boxes);\n\n if (!$box.data('hasquickbuy'))\n return;\n\n $boxes.removeClass('shown');\n $box.addClass('shown');\n\n if (!$box.hasClass('x-initialized')) {\n initQuickBuy($box);\n }\n });\n\n function initQuickBuy($wrapper) {\n\n var wrapper = $wrapper.get(0);\n var userModel = {}, showPriceWithoutVat = false;\n\n wrapper.productId = $wrapper.data('productid');\n wrapper.defaultColor = $wrapper.data('default-colorid');\n wrapper.selectedColor = $wrapper.data('selected-colorid');\n\n var state = Vendd.Quickbuy.initState(wrapper.productId, wrapper.defaultColor);\n\n if (state == undefined) return;\n\n wrapper.model = state;\n wrapper.dimensionWidget = $('.x-dimensions-widget', $wrapper);\n wrapper.quantitySelector = $('.x-cart-qty-spinner', $wrapper);\n wrapper.cartButton = $('.add-to-cart', $wrapper);\n wrapper.wishlistButton = $('.wishlist-button', $wrapper);\n wrapper.compareButton = $('.compare-button', $wrapper);\n wrapper.priceElement = $('.current-price', $wrapper);\n wrapper.deletedPriceElement = $('.deleted-price', $wrapper);\n wrapper.discountPercentageElement = $('.discount-percentage', $wrapper);\n wrapper.discountValueElement = $('.discount-value', $wrapper);\n wrapper.image = $('.image-container', $wrapper).find('img');\n\n if (!state.HasColors && !state.HasSizes && !state.HasDim3) {\n wrapper.cartButton.removeClass('x-disabled').find('button').prop(\"disabled\", false);\n wrapper.quantitySelector.removeClass('x-disabled');\n wrapper.wishlistButton.removeClass('x-disabled');\n wrapper.compareButton.removeClass('x-disabled');\n\n return;\n }\n\n if (state.HasSingleDim) $wrapper.addClass('has-one-dim');\n if (state.HasTwoDims) $wrapper.addClass('has-two-dims');\n if (state.HasThreeDims) $wrapper.addClass('has-three-dims');\n\n //check color selector for new state\n if ($wrapper.data('hascolorselector') && $('.js-color-selector.selected', $wrapper).length > 0) {\n state.createNewColorState = true;\n if (wrapper.defaultColor === wrapper.selectedColor) {\n state.defaultDimId = wrapper.defaultColor;\n } else {\n state.defaultDimId = wrapper.selectedColor;\n }\n }\n\n //create new state\n if (state.createNewColorState) {\n Vendd.Quickbuy.createNewState(wrapper, state.defaultDimId, wrapper.productId, wrapper.defaultColor, 'color');\n } else if (state.createNewSizeState) {\n Vendd.Quickbuy.createNewState(wrapper, state.defaultDimId, wrapper.productId, wrapper.defaultColor, 'size');\n } else if (state.createNewDim3State) {\n Vendd.Quickbuy.createNewState(wrapper, state.defaultDimId, wrapper.productId, wrapper.defaultColor, 'dim3');\n }\n\n wrapper.GetUserModel = function () {\n userModel = Vendd.User && Vendd.User.GetClientModel();\n\n if (userModel && window.B2BModel) {\n _.extend(userModel, window.B2BModel);\n showPriceWithoutVat = userModel.IsB2BUser && userModel.ShowPriceWithoutVat;\n }\n };\n\n wrapper.UpdateBoxData = function (type, imgSrc, event) {\n var $wrapper = $(this);\n\n if (type === 'color' && typeof imgSrc != 'undefined')\n wrapper.image.attr('src', imgSrc);\n\n var selectedColorId = (typeof wrapper.SelectedColorId != 'undefined') ? wrapper.SelectedColorId : null;\n var selectedSizeId = (typeof wrapper.SelectedSizeId != 'undefined') ? wrapper.SelectedSizeId : null;\n var selectedDim3Id = (typeof wrapper.SelectedDim3Id != 'undefined') ? wrapper.SelectedDim3Id : null;\n\n if ((wrapper.model.HasColors && !state.HasSingleColor && selectedColorId == null)\n || (wrapper.model.HasSizes && !state.HasSingleSize && selectedSizeId == null)\n || (wrapper.model.HasDim3 && !state.HasSingleDim3 && selectedDim3Id == null))\n {\n wrapper.cartButton.addClass('x-disabled').find('button').prop(\"disabled\", true);\n wrapper.quantitySelector.addClass('x-disabled');\n wrapper.wishlistButton.addClass('x-disabled');\n wrapper.compareButton.addClass('x-disabled');\n \n return;\n }\n \n var selectedSku = Vendd.Quickbuy.GetSkuData(wrapper, wrapper.productId, wrapper.defaultColor, selectedColorId, selectedSizeId, selectedDim3Id);\n\n if (selectedSku !== null && typeof selectedSku !== \"undefined\") {\n var skuData = selectedSku.SkuData;\n\n $wrapper.data('variantid', skuData.SkuId);\n\n if (!skuData.CanBuy) {\n wrapper.cartButton.addClass('x-disabled').find('button').prop(\"disabled\", true).prev('.availability').html(skuData.NoAvailabilityName);\n wrapper.quantitySelector.addClass('x-disabled');\n } else {\n wrapper.cartButton.removeClass('x-disabled').find('button').prop(\"disabled\", false).prev('.availability').html(skuData.NoAvailabilityName);\n wrapper.quantitySelector.removeClass('x-disabled');\n }\n\n var wishlistModel = JSON.parse(localStorage.getItem(\"CurrentWishlistModel\"));\n\n if (wishlistModel) {\n var selectedsku = _.find(wishlistModel.Items, function (item) { return skuData.SkuId === item.VariantId });\n var $wishlistButton = $('.wishlist-button', $wrapper);\n if (selectedsku) {\n $wishlistButton.addClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).addClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).removeClass('disabled');\n } else {\n $wishlistButton.removeClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).removeClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).addClass('disabled');\n }\n }\n\n wrapper.wishlistButton.removeClass('x-disabled');\n wrapper.compareButton.removeClass('x-disabled');\n\n //manipulate prices\n if (event == \"onChange\") {\n if (skuData.CountDownUnitPrice) {\n var currentPrice = showPriceWithoutVat ? skuData.CountDownUnitPriceWithoutVat : skuData.CountDownUnitPrice;\n } else {\n var currentPrice = showPriceWithoutVat ? skuData.UnitPriceWithoutVat : skuData.UnitPrice\n }\n\n if ($enableFormatPrices) {\n if (!wrapper.priceElement.hasClass('price-formatted')) {\n wrapper.priceElement.addClass('price-formatted');\n }\n wrapper.priceElement.html(formatPrice(currentPrice));\n } else {\n wrapper.priceElement.text(currentPrice);\n }\n\n if (skuData.DeletedPrice) {\n wrapper.deletedPriceElement.text(showPriceWithoutVat ? skuData.DeletedPriceWithoutVat : skuData.DeletedPrice);\n } else if (skuData.CountDownUnitPrice) {\n wrapper.deletedPriceElement.text(showPriceWithoutVat ? skuData.UnitPriceWithoutVat : skuData.UnitPrice);\n }\n\n wrapper.discountPercentageElement.text(skuData.DiscountPercentage);\n wrapper.discountValueElement.text(skuData.DiscountValue);\n }\n\n }\n };\n\n $wrapper.on('click', '.js-dimensions li', function (e) {\n\n var $this = $(this), id, type, name, $wrap, wrapper, productId, defaultColor, imgSrc,\n isColorList, isSizeList, isDim3List, $color, $size;\n\n if ($this.hasClass('selected') || $this.hasClass('disabled'))\n return;\n\n id = $this.data('id');\n name = $this.data('name');\n type = $this.closest('.dropdown-content').data('type');\n\n isColorList = ($this.parent().hasClass('colors-list')) ? true : false;\n isSizeList = ($this.parent().hasClass('sizes-list')) ? true : false;\n isDim3List = ($this.parent().hasClass('dim3-list')) ? true : false;\n\n if (isColorList) imgSrc = $this.find('img').attr('src');\n\n $wrap = $this.closest('.x-product-box');\n wrapper = $wrap.get(0);\n productId = $wrap.data('productid');\n defaultColor = $wrap.data('default-colorid');\n\n $this.addClass('selected').siblings().removeClass('selected');\n $this.closest('.dropdown-list').find('.selected-text').html(name);\n\n if (id === undefined) return;\n\n var state = Vendd.Quickbuy.createNewState(wrapper, id, productId, defaultColor, type);\n Vendd.Quickbuy.Update(wrapper.dimensionWidget, state);\n\n if (isColorList) {\n wrapper.UpdateBoxData(\"color\", imgSrc);\n $wrap.attr('data-color', name);\n } else if (isSizeList) {\n wrapper.UpdateBoxData(\"size\", imgSrc);\n $wrap.attr('data-size', name);\n } else if (isDim3List) {\n wrapper.UpdateBoxData(\"dim3\", imgSrc);\n $wrap.attr('data-dim3', name);\n }\n\n //sync quick buy with color selector\n if ($wrapper.data('hascolorselector') && isColorList && !colorSelectorCallback) {\n $('.js-color-selector', $wrap).removeClass('selected');\n $('.js-color-selector[data-id=' + id + ']', $wrap).addClass('selected');\n\n addSkuParameterInProductBox($wrap, id, state); \n }\n\n colorSelectorCallback = false;\n });\n\n $wrapper.on('click', '.js-dropdown-btn', function (e) {\n var $this = $(this);\n\n if ($this.hasClass('disabled')) return;\n\n if ($this.hasClass('expanded')) {\n $this.removeClass('expanded');\n } else {\n $('.js-dropdown-btn.expanded').removeClass('expanded');\n $this.addClass('expanded');\n }\n });\n\n $(document).click(function (event) {\n if (!$(event.target).closest('.js-dropdown-btn').length &&\n !$(event.target).is('.js-dropdown-btn')) {\n\n $('.js-dropdown-btn').removeClass(\"expanded\");\n }\n });\n\n $wrapper.closest('.x-product-list').on('mouseleave', function (e) {\n $('.x-product-box.hovered').removeClass('hovered');\n $('.js-dropdown-btn.expanded').removeClass('expanded');\n });\n\n Vendd.Quickbuy.Update(wrapper.dimensionWidget, state);\n\n wrapper.GetUserModel();\n\n wrapper.UpdateBoxData();\n\n $wrapper.addClass('x-initialized');\n }\n\n function initProducboxHover($productBox) {\n if ($productBox.length == 0)\n return;\n\n var config = {\n sensitivity: 50,\n interval: 180,\n over: mouseenter,\n timeout: 10,\n out: mouseleave\n };\n\n function mouseenter() {\n $this = $(this);\n if (!isTouch()) {\n $this.addClass('hovered').parent().siblings().children().removeClass('hovered');\n }\n }\n\n function mouseleave() {\n return;\n }\n\n $productBox.hoverIntent(config);\n }\n\n function initTakeAwayPrice($productBox) {\n if ($productBox.length == 0)\n return;\n\n var takeawayprice = $('.takeaway-price', $productBox).text();\n if (takeawayprice != \"\") {\n $('.takeaway-price', $productBox).text(LhApp.Function.renderPrice(parseFloat(takeawayprice)));\n }\n } \n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, 'x-product-box', function (envelope) {\n var data = envelope.message.data.Cart.Items;\n\n var $boxes = $('.x-product-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var id = $el.data('productid');\n var quantityInCart = 0, idsInCart = [], inCart = false;\n\n $el.find('.js-remove-from-cart').attr('disabled', 'disabled').parent().addClass('disabled');\n\n for (var j = 0; j < data.length; j++) {\n if (id == data[j].ProductId) {\n quantityInCart += data[j].Quantity;\n idsInCart.push(data[j].Id);\n inCart = true;\n }\n }\n if (inCart) {\n $el.prop('data-cartproductid', idsInCart);\n $el.find('.js-remove-from-cart').removeAttr('disabled').parent().removeClass('disabled');\n $el.find('.js-cart-quantity').text(\"(\" + quantityInCart + \")\");\n }\n });\n });\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Changed, 'x-product-box', function (envelope) {\n var data = envelope.message.data.Items;\n var $boxes = $('.x-product-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var id = $el.data('variantid');\n\n if (data) {\n var productInWishlist = _.find(data, function (x) { return id === x.VariantId });\n var $wishlistButton = $('.wishlist-button', $el);\n\n if (productInWishlist) {\n $el.prop('data-wishlistitemid', productInWishlist.Id);\n $wishlistButton.addClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).addClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).removeClass('disabled');\n } else {\n $wishlistButton.removeClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).removeClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).addClass('disabled');\n }\n }\n\n });\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetWidgetModelSuccess, 'x-product-box', function (envelope) {\n var data = envelope.message.data.model.Items;\n var $boxes = $('.x-product-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var id = $el.data('productid');\n\n if (data) {\n var productInCompare = _.find(data, function (x) { return id === x.Id });\n var $compareButton = $('.compare-button', $el);\n\n if (productInCompare) {\n $el.prop('data-productid', productInCompare.Id);\n $compareButton.addClass('already-in-compare');\n $('.js-add-to-compare', $compareButton).addClass('disabled');\n $('.js-remove-from-compare', $compareButton).removeClass('disabled');\n } else {\n $compareButton.removeClass('already-in-compare');\n $('.js-add-to-compare', $compareButton).removeClass('disabled');\n $('.js-remove-from-compare', $compareButton).addClass('disabled');\n }\n }\n\n });\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.GetModelSuccess, 'x-product-box', LhApp.Function.hideAllProductWishlists);\n\n});\n\n//function used in productBox_A.js and productList_A.js\nfunction addSkuParameterInProductBox($productBox, selectedColorId, state) {\n\n if ($productBox.length < 1) return;\n\n var productBox = $productBox.get(0);\n\n //get product box data\n var productId = $productBox.data('productid');\n var defaultColor = $productBox.data('default-colorid');\n var $link = $productBox.data('url');\n\n //get quickbuy model\n var state = state ? state : Vendd.Quickbuy.initState(productId, defaultColor);\n if (!state) return;\n \n //find first available size of selected color\n var selectedColorModel = _.find(state.Colors, function (x) { return x.Id === selectedColorId });\n var defaultSizeId = _.first(selectedColorModel.AvailableSizes);\n\n //get selected sku of selected color\n productBox.model = state;\n var selectedSku = Vendd.Quickbuy.GetSkuData(productBox, productId, defaultColor, selectedColorId, defaultSizeId);\n if (selectedSku !== null && typeof selectedSku !== 'undefined') {\n //add data attribute\n $productBox.attr('data-selected-sku', selectedSku.SkuData.SkuId);\n //add sku parameter in product box links\n var query = ($link.indexOf('?') > -1) ? '&' : '?';\n var $selectedSkuLink = $link + (($link.indexOf('skuid=') === -1) ? query + 'skuid=' + selectedSku.SkuData.SkuId : '');\n $('.js-product-link', $productBox).attr('href', $selectedSkuLink);\n }\n}","Vendd.Scripts.load(function () {\n if ($('.back-to-top').length > 0) {\n backToTop();\n }\n\n if (isTouch()) {\n initFooterMenuToggle();\n }\n});\n\nfunction backToTop() {\n var $backToTop = $(\".back-to-top\"),\n scroll;\n\n scroll = $(window).scrollTop();\n scroll > 500 ? $backToTop.addClass(\"visible\") : $backToTop.removeClass(\"visible\");\n $(window).scroll($.debounce(200, function () {\n scroll = $(window).scrollTop();\n scroll > 500 ? $backToTop.addClass(\"visible\") : $backToTop.removeClass(\"visible\")\n }));\n\n $backToTop.on(\"click\", function () {\n $(\"body,html\").animate({ scrollTop: 0 }, 400, 'swing');\n });\n}\n\nfunction initFooterMenuToggle() {\n var mainCont = $('.footer-template-one .region-area-two');\n $(\".footer-template-one .js-toggle\").click(function () {\n var hiddenCont = $(this).siblings('.js-content-accord');\n $(this).toggleClass('icon-arrow-down icon-arrow-up');\n if (hiddenCont.hasClass('opened')) {\n hiddenCont.removeClass('opened');\n } else {\n mainCont.find('.opened').removeClass('opened').siblings('.js-toggle').toggleClass('icon-arrow-down icon-arrow-up');\n hiddenCont.addClass('opened');\n }\n });\n\n var accordion = false;\n\n if ($(window).width() <= 767) {\n accordion = true;\n }\n\n $(window).resize(function () {\n if ($(window).width() > 767) {\n if (accordion) {\n $('.js-content-accord', mainCont).removeClass('opened');\n accordion = false;\n }\n }\n else {\n if (!accordion) {\n $('.js-content-accord', mainCont).siblings('.js-toggle').addClass('icon-arrow-down').removeClass('icon-arrow-up');\n accordion = true;\n }\n }\n });\n}","Vendd.Scripts.load(function () {\n \n if ($('.x-off-canvas-menu').length <= 0)\n return;\n\n if (isTouch()) {\n $(window).resize(function () {\n attachToCanvasMenu();\n });\n }\n\n var isMoved = false;\n\n if ($(window).width() < 1200) {\n if (isTouch()) {\n $('.header-usps-list').detach().prependTo('.js-canvas-menu').show();\n if ($('.x-currency-selector').length > 0)\n $('.x-currency-selector').detach().prependTo('.js-canvas-menu').show();\n $('.x-call-me-back-widget').detach().prependTo('.js-canvas-menu').show();\n $('.js-main-menu').detach().prependTo('.js-canvas-menu').show();\n $('.header-region .x-language-selector').detach().prependTo('.js-canvas-menu').show();\n isMoved = true;\n }\n }\n\n function attachToCanvasMenu() {\n\n if ($(window).width() < 1200) {\n if (!isMoved) {\n $('.header-usps-list').detach().prependTo('.js-canvas-menu').show();\n\n if ($('.x-currency-selector').length > 0)\n $('.x-currency-selector').detach().prependTo('.js-canvas-menu').show();\n $('.x-call-me-back-widget').detach().prependTo('.js-canvas-menu').show();\n $('.js-main-menu').detach().prependTo('.js-canvas-menu').show();\n $('.header-region .x-language-selector').detach().prependTo('.js-canvas-menu').show();\n\n isMoved = true;\n }\n } else {\n if (isMoved) {\n $('.off-canvas-menu .x-language-selector').detach().insertBefore('.x-sitelogo');\n\n if ($('.x-currency-selector').length > 0)\n $('.x-currency-selector').detach().insertBefore('.x-sitelogo');\n\n $('.js-main-menu').insertBefore('.x-sitelogo');\n $('.x-call-me-back-widget').detach().insertAfter('.x-login-widget');\n $('.header-usps-list').detach().appendTo('.header-template-one .inner-area-one');\n isMoved = false;\n $(\"html\").removeClass(\"show-canvas\");\n $('.site-overlay').hide();\n }\n }\n }\n\n});\n","$(document).ready(function () {\n\n var $wrapper = $('.site-version-container');\n \n if ($wrapper.length < 1)\n return;\n\n if ($('html').hasClass(\"touch\")) {\n $('.to-desktop', $wrapper).addClass(\"visible\");\n } else {\n $('.to-mobile', $wrapper).addClass(\"visible\");\n }\n\n $('.version-button').click(function () {\n if ($('html').hasClass(\"touch\")) {\n Cookies.set(\"siteVersion\", \"Desktop\", { expires: 365, samesite: 'Lax' });\n } else {\n Cookies.set(\"siteVersion\", \"Mobile\", { expires: 365, samesite: 'Lax' });\n }\n window.location.href = window.location.href;\n });\n\n});\n","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-facebook-widget', function (envelope) {\n\n var $context = envelope.message.data.context,\n \t$wrappers = $('.x-facebook-widget', $context);\n\n if ($wrappers.length < 1)\n return;\n\n var $buttons = $('.js-fbsubmit-button', $wrappers);\n\n if (!Vendd.User.AuthProviders.facebook)\n throw new Error('facebook vendd auth provider not found');\n\n Vendd.User.AuthProviders.facebook.init();\n\n $('.x-facebook-widget .js-fbsubmit-button').click(function (e) {\n if (typeof (e.preventDefault) === 'function')\n e.preventDefault();\n\n Vendd.User.AuthProviders.facebook.login();\n });\n\n });\n});","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-google-widget', function (envelope) {\n\n var $context = envelope.message.data.context,\n \t$wrappers = $('.x-google-widget', $context);\n\n if ($wrappers.length < 1)\n return;\n\n var $buttons = $('.js-gsubmit-button', $wrappers);\n\n if (!Vendd.User.AuthProviders.google)\n throw new Error('google vendd auth provider not found');\n\n if ($buttons.length > 0) {\n Vendd.User.AuthProviders.google.init();\n }\n\n $buttons.click(function (e) {\n if (typeof (e.preventDefault) === 'function')\n e.preventDefault();\n\n Vendd.User.AuthProviders.google.login();\n });\n\n });\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-inline-widget');\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n var model = null;\n var hasCookie = Cookies.get('InlineAdmin');\n\n wrapper.loading = function loading(loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n };\n };\n\n wrapper.update = function update() {\n\n wrapper.loading(true);\n\n var html = Vendd.Handlebars.parse(\"inlineAdmin\", model);\n wrapper.bind(html);\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function bind(html) {\n\n $wrapper.html(html);\n\n var loadJS = function (url, location, callback) {\n\n var scriptTag = document.createElement('script');\n\n scriptTag.src = url;\n\n if (!!callback && typeof callback === 'function') {\n\n scriptTag.onload = callback;\n scriptTag.onreadystatechange = callback;\n\n }\n\n location.appendChild(scriptTag);\n };\n\n loadJS('/system/js/plugins/q.js', document.body, function () {\n\n loadJS('https://cdn.ckeditor.com/ckeditor5/29.1.0/inline/ckeditor.js', document.body, function () {\n\n var wrapper = $('.header-region .region-area-two');\n\n wrapper.css(\"position\", \"relative\");\n\n //var html = '
Edit
';\n\n //wrapper.append(html);\n\n $('.js-inline-admin-edit-page').on('click', function (e) {\n\n applyEditMode();\n\n e.preventDefault();\n e.stopPropagation();\n\n });\n\n });\n\n });\n\n $('.js-inline-admin-trigger').on('click', function () {\n\n this.href += '#' + encodeURIComponent(document.location.href);\n });\n\n var fancyOpts = {\n type: 'iframe',\n baseClass: \"inline-admin-popup\",\n toolbar: false,\n smallBtn: true\n };\n\n $(\"section.admin .iframe\").fancybox(fancyOpts);\n\n $('.inline-admin-logout').on('click', '.js-logout', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.Logout());\n });\n\n $('.inline-clear-cache').on('click', '.js-clear-cache', function (e) {\n e.preventDefault();\n\n var domain = document.location.hostname;\n var url = location.protocol + '//' + domain + '/engine/clearcache?cloudflare=true';\n $.post(url, function (data) {\n alert(data);\n location.reload();\n });\n });\n\n $('.inline-admin-newguest').on('click', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.InlineAdmin.Messages.CheckForInlineAdmin(true));\n\n });\n $('.inline-admin-clearinterfaceuser').on('click', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.UserSelect.Messages.ClearInterfaceUser());\n\n });\n\n $('section.admin .shippingCountry').on('click', function (e) {\n e.preventDefault();\n window.location.href = LhApp.Function.Url.setParameterValue(\"country\", $(this).data(\"country\"));\n });\n\n $('.header-spacer').addClass('has-inline-admin');\n $('.header-region').addClass('has-inline-admin');\n\n };\n\n wrapper.newGuid = function newGuid() {\n return ([1e7] + [-1e3] + [-4e3] + [-8e3] + [-1e11]).replace(/[018]/g, (parseInt('$2') ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> parseInt('$2') / 4).toString(16));\n };\n\n Vendd.MessageBus.subscribe(Vendd.UserSelect.Messages.ClearInterfaceUserSuccess, wrapper, function (envelope) {\n location.reload();\n });\n\n if (hasCookie) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.InlineAdmin.Messages.CheckForInlineAdmin());\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess, wrapper, function (envelope) {\n\n model = envelope.message.data.model.data;\n if (model.CallCenter.InterfaceUserIsNewGuest)\n location.reload();\n\n wrapper.update();\n });\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure, wrapper, function (envelope) {\n Cookies.set('InlineAdmin', '', { expires: 0, samesite: 'Lax' });\n });\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n var redirectUrl = envelope.message.data.redirectUrl;\n\n hasCookie = Cookies.get('InlineAdmin');\n\n if (!hasCookie) {\n Cookies.set('InlineAdmin', wrapper.newGuid(), { expires: 1, samesite: 'Lax' });\n }\n\n });\n }\n\n var applyEditMode = function () {\n\n Q($.ajax({\n type: \"POST\",\n url: 'https://venddeshop.test.devlh.com/vendd/api/security/authenticate',\n data: JSON.stringify({\n Username: 'lh3admin@lighthouse.gr',\n Password: 'GEcp=9(U{{vS1y]s'\n }),\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n xhrFields: { withCredentials: true }\n }))\n .then(function (response) {\n\n var controls = controlFactory.Resolve($('body'));\n\n Q.all(controls\n .map(function (x) {\n\n var result = x.init(); // promisify this\n\n if (!Q.isPromise(result)) {\n\n result = Q.Promise(function (resolve, reject) {\n\n resolve();\n\n });\n\n }\n\n return result.then(function () {\n return x;\n });\n\n }))\n .then(function () {\n\n controls.forEach(function (x) {\n\n x.build();\n x.render();\n x.bind();\n\n });\n\n });\n\n $('.js-inline-admin-edit-page').addClass('hidden');\n $('.js-inline-admin-edit-page-undo').removeClass('hidden');\n $('.js-inline-admin-edit-page-save').removeClass('hidden');\n\n });\n\n };\n\n var controlFactory = (function () {\n\n var factoriesDictionary = {};\n\n var controlFactory = function () {\n\n };\n\n controlFactory.prototype.register = function (name, factory) {\n\n factoriesDictionary[name] = factory;\n\n };\n\n controlFactory.prototype.Resolve = function (wrapper) {\n\n var results = [];\n\n Object.keys(factoriesDictionary).forEach(function (x) {\n\n results = results.concat(factoriesDictionary[x]());\n\n });\n\n return results;\n\n };\n\n controlFactory.prototype.destroy = function () {\n\n factoriesDictionary = undefined;\n\n };\n\n return new controlFactory();\n\n })();\n\n var controlBase = (function () {\n\n var controlBase = function (element, definition) {\n\n this.element = element;\n this.definition = definition;\n\n };\n\n controlBase.prototype.init = function () {\n\n };\n\n controlBase.prototype.build = function () {\n\n };\n\n controlBase.prototype.render = function () {\n\n };\n\n controlBase.prototype.bind = function () {\n\n };\n\n return controlBase;\n\n })();\n\n (function () {\n\n var languageMappings = [\n { Id: 10, Code: 'bg' },\n { Id: 3, Code: 'de' },\n { Id: 1, Code: 'el' },\n { Id: 2, Code: 'en' },\n { Id: 4, Code: 'es' },\n { Id: 5, Code: 'fr' },\n { Id: 6, Code: 'it' },\n { Id: 9, Code: 'ro' },\n { Id: 7, Code: 'ru' },\n { Id: 8, Code: 'zh' }\n ];\n\n var control = function (element, definition) {\n\n var self = this;\n\n controlBase.apply(self, [element, definition]);\n\n self.productId = element.data('parent-id');\n self.skuId = element.data('selected-id');\n self.path = element.data('path');\n\n };\n\n control.prototype = Object.create(controlBase.prototype);\n\n control.prototype.init = function () {\n\n var self = this;\n\n controlBase.prototype.init.apply(self);\n\n var url = 'https://venddeshop.test.devlh.com/vendd/api/InlineAdmin/GetFullItemAsync';\n var data = {\n SiteId: self.definition.siteId,\n ItemId: self.productId,\n EntityCode: \"product\",\n ItemPathChecksum: self.path\n };\n\n return Q($.ajax({\n type: \"POST\",\n url: url,\n data: JSON.stringify(data),\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n xhrFields: { withCredentials: true }\n }))\n .then(function (response) {\n\n self.row = response.data;\n\n return data;\n\n });\n\n };\n\n control.prototype.render = function () {\n\n controlBase.prototype.render.apply(self);\n\n var self = this;\n\n self.titleContainer = $('.title-container h1.title', self.element);\n self.descriptionContainer = $('.tabs-content .tab-content.dynamic-content.extended-descritpion').eq(0); // TODO: change this\n\n var localization = self.row.ItemsLocalized.find(function (x) {\n return x.LanguageId === self.definition.languageId;\n });\n\n InlineEditor\n .create(self.titleContainer[0], {\n toolbar: [\"undo\", \"redo\"]\n })\n .then(function (editor) {\n\n self.titleEditor = editor;\n\n editor.setData(localization.Name);\n\n editor.model.document.on('change:data', function() {\n\n $('.js-inline-admin-edit-page-undo').addClass('disabled')\n $('.js-inline-admin-edit-page-save').addClass('disabled')\n\n if (self.hasChanges()) {\n\n $('.js-inline-admin-edit-page-undo').removeClass('disabled')\n $('.js-inline-admin-edit-page-save').removeClass('disabled')\n\n }\n\n });\n\n })\n .catch(function (error) { console.error(error); });\n\n InlineEditor\n .create(self.descriptionContainer[0], {\n toolbar: [\"heading\", \"|\", \"bold\", \"italic\", \"link\", \"bulletedList\", \"numberedList\", \"|\", \"outdent\", \"indent\", \"|\", \"insertTable\", \"|\", \"undo\", \"redo\"]\n })\n .then(function (editor) {\n\n self.descriptionEditor = editor;\n\n self.description = editor.getData();\n\n editor.model.document.on('change:data', function() {\n\n $('.js-inline-admin-edit-page-undo').addClass('disabled')\n $('.js-inline-admin-edit-page-save').addClass('disabled')\n\n if (self.hasChanges()) {\n\n $('.js-inline-admin-edit-page-undo').removeClass('disabled')\n $('.js-inline-admin-edit-page-save').removeClass('disabled')\n\n }\n\n });\n\n })\n .catch(function (error) { console.error(error); });\n\n };\n\n control.prototype.hasChanges = function () {\n\n var self = this;\n\n var localization = self.row.ItemsLocalized.find(function (x) {\n return x.LanguageId === self.definition.languageId;\n });\n\n return localization.Name !== $(self.titleEditor.getData()).text()\n || self.description !== self.descriptionEditor.getData();\n\n };\n\n controlFactory.register('products', function () {\n\n var results = [];\n\n $('.x-product-details').each(function () {\n\n var ctl = new control($(this), {\n siteId: LhApp.Context.Site.Id,\n languageId: languageMappings.find(function (x) { return x.Code === LhApp.Context.Language }).Id\n });\n\n results.push(ctl);\n\n $(this).data('vendd-control', ctl);\n\n });\n\n return results;\n\n });\n\n })();\n\n});\n","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.js-share-buttons-one');\n\n if ($wrapper.length < 1) {\n return;\n }\n\n var addthis_config = addthis_config || {};\n addthis_config.pubid = $wrapper.data('profile-id');\n\n function loadAddThis() {\n if (typeof addthis !== 'undefined') {\n \t\taddthis.init();\n \t}\n\n }\n\n loadAddThis();\n\n});\n","Vendd.Scripts.load(function () {\n\n initSocialShare = function () {\n\n var $wrappers = $('.js-share-buttons-two');\n\n $wrappers.each(function () {\n var $wrapper = $(this);\n $wrapper.attr(\"social-setup\", true);\n\n if ($wrapper.hasClass('initialized')) {\n return;\n } else {\n $wrapper.addClass('initialized');\n }\n\n var linkUrl = window.location.origin + $wrapper.data(\"url\");\n\n if (typeof $wrapper.data('facebook') !== 'undefined') {\n var facebookUrl = \"http://api.addthis.com/oexchange/0.8/forward/facebook/offer?pco=tbx32nj-1.0&url={{Url}}\";\n facebookUrl = facebookUrl.replace(\"{{Url}}\", linkUrl);\n $wrapper.append($(\"
  • \").append($(\"\").addClass(\"facebook icon-facebook\").attr(\"href\", facebookUrl).attr(\"target\", \"_blank\").attr(\"rel\", \"noopener\").append($(\"\").addClass(\"text\").text('facebook'))));\n }\n\n if (typeof $wrapper.data('twitter') !== 'undefined') {\n var twitterUrl = \"http://api.addthis.com/oexchange/0.8/forward/twitter/offer?pco=tbx32nj-1.0&url={{Url}}\";\n twitterUrl = twitterUrl.replace(\"{{Url}}\", linkUrl);\n $wrapper.append($(\"
  • \").append($(\"\").addClass(\"twitter icon-twitter\").attr(\"href\", twitterUrl).attr(\"target\", \"_blank\").attr(\"rel\", \"noopener\").append($(\"\").addClass(\"text\").text('twitter'))));\n }\n\n if (typeof $wrapper.data('pinterest') !== 'undefined') {\n var pinterestUrl = \"http://api.addthis.com/oexchange/0.8/forward/pinterest_share/offer?pco=tbx32nj-1.0&url={{Url}}\";\n pinterestUrl = pinterestUrl.replace(\"{{Url}}\", linkUrl);\n $wrapper.append($(\"
  • \").append($(\"\").addClass(\"pinterest icon-pinterest\").attr(\"href\", pinterestUrl).attr(\"target\", \"_blank\").attr(\"rel\", \"noopener\").append($(\"\").addClass(\"text\").text('pinterest'))));\n }\n\n if (typeof $wrapper.data('linkedin') !== 'undefined') {\n var linkedinUrl = \"http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?pco=tbx32nj-1.0&url={{Url}}\";\n linkedinUrl = linkedinUrl.replace(\"{{Url}}\", linkUrl);\n $wrapper.append($(\"
  • \").append($(\"\").addClass(\"linkedin icon-linkedin\").attr(\"href\", linkedinUrl).attr(\"target\", \"_blank\").attr(\"rel\", \"noopener\").append($(\"\").addClass(\"text\").text('linkedin'))));\n }\n\n if (typeof $wrapper.data('email') !== 'undefined') {\n var forwardEmail = \"http://api.addthis.com/oexchange/0.8/forward/email/offer?pco=tbx32nj-1.0&url={{Url}}\";\n forwardEmail = forwardEmail.replace(\"{{Url}}\", linkUrl);\n $wrapper.append($(\"
  • \").append($(\"\").addClass(\"email icon-mail\").attr(\"href\", forwardEmail).attr(\"target\", \"_blank\").attr(\"rel\", \"noopener\").append($(\"\").addClass(\"text\").text('mail'))));\n } \n\n });\n\n }\n initSocialShare();\n\n});\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-control.x-sortbyselector[data-control=\"sorter\"]');\n\n if ($wrapper.length < 1) return;\n\n var wrapper = $wrapper.get(0),\n model = null;\n\n wrapper.bind = function () {\n $wrapper.each(function (i, item) {\n $('select', item).sSelect({ ddMaxHeight: '200px' });\n\n $('select', item).change(function (e) {\n var targetUrl = $(this).find(\":selected\").data('url');\n if (targetUrl) document.location = targetUrl;\n });\n });\n };\n\n wrapper.update = function () {\n var html = Vendd.Handlebars.parse(\"sortBySelector_A\", model);\n $wrapper.html(html);\n wrapper.bind();\n };\n\n wrapper.bind();\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, $wrapper, function (envelope) {\n if (envelope.message.data.data.Products.Items.length < 1)\n return; \n\n model = envelope.message.data.data.SortBySelector;\n wrapper.update();\n });\n\n});\n\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-control.x-pager[data-control=\"pager\"]');\n\n if ($wrapper.length < 1) return;\n\n var wrapper = $wrapper.get(0),\n model = null;\n\n var scrolled = $wrapper.data('scrolled') === true;\n\n wrapper.bind = function () {\n if (!isTouch()) updatePagerLinks();\n\n initPageSize();\n initComboPages();\n };\n\n wrapper.update = function () {\n var html;\n if (scrolled) {\n html = Vendd.Handlebars.parse(\"plPager_B\", model);\n } else {\n html = Vendd.Handlebars.parse(\"plPager_A\", model);\n }\n \n $wrapper.html(html);\n wrapper.bind();\n };\n\n\tfunction updatePagerLinks() {\n\t\t$('.pager').each(function (index, wrapper) {\n\t\t\tvar $wrapper = $(wrapper); \n\t\t\t//check if main product list product folder\n\t\t\tif ($wrapper.data('id') !== 'products') return;\n\t\t\tvar pageSizes = $('[data-format-url=\"pagesize\"]', $wrapper);\n\t\t\tvar pageJumps = $('[data-format-url=\"page\"]', $wrapper);\n\t\t\tvar prev = $('[data-format-url=\"prevpage\"]', $wrapper);\n\t\t\tvar next = $('[data-format-url=\"nextpage\"]', $wrapper);\n\n\t\t\tvar url = window.location.href,\n\t\t\t\tparts = url.split('?'),\n\t\t\t\tnewUrl, newParts;\n\n\t\t\tparts[0] = parts[0].replace(/\\/P\\d+\\//i, '');\n\n\t\t\t//prev link\n\t\t\tnewUrl = prev.attr('href');\n\t\t\tif (newUrl) {\n\t\t\t\tnewParts = newUrl.split('?');\n\t\t\t\tnewParts[0] = newParts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t\tif (newParts[0] !== parts[0]) {\n\t\t\t\t\tnewParts[0] = parts[0];\n\t\t\t\t\tif (newParts[0][newParts[0].length - 1] !== '/') {\n\t\t\t\t\t\tnewParts[0] += '/';\n\t\t\t\t\t}\n\t\t\t\t\tif (parseInt(prev.attr('data-page') || 0) > 1)\n\t\t\t\t\t\tnewParts[0] = newParts[0] + 'p' + prev.attr('data-page') + '/';\n\t\t\t\t\t\n\t\t\t\t\tprev.attr('href', newParts[0] + '?' + newParts[1]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//next link\n\t\t\tnewUrl = next.attr('href');\n\t\t\tif (newUrl) {\n\t\t\t\tnewParts = newUrl.split('?');\n\t\t\t\tnewParts[0] = newParts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t\tif (newParts[0] !== parts[0]) {\n\t\t\t\t\tnewParts[0] = parts[0];\n\t\t\t\t\tif (newParts[0][newParts[0].length - 1] !== '/') {\n\t\t\t\t\t\tnewParts[0] += '/';\n\t\t\t\t\t}\n\t\t\t\t\tif (parseInt(next.attr('data-page') || 0) > 1)\n\t\t\t\t\t\tnewParts[0] = newParts[0] + 'p' + next.attr('data-page') + '/';\n\t\t\t\t\tnext.attr('href', newParts[0] + '?' + newParts[1]);\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//page sizes\n\t\t\tpageSizes.closest('.x-pager-pagesizes').hide();\n\t\t\t//pageSizes.each(function (index, pageSize) {\n\t\t\t//\tvar $elem = $(pageSize);\n\t\t\t//\tnewUrl = $elem.attr('data-url');\n\t\t\t//\tnewParts = newUrl.split('?');\n\t\t\t//\tif (newParts[0] !== parts[0]) {\n\t\t\t//\t\tnewParts[0] = parts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t//\t\t$elem.attr('data-url', newParts[0] + '?' + newParts[1]);\n\t\t\t//\t}\n\t\t\t//});\n\n\t\t\t//pages\n\t\t\tpageJumps.each(function (index, pageJump) {\n\t\t\t\tvar $elem = $(pageJump);\n\t\t\t\tnewUrl = $elem.attr('data-url');\n\t\t\t\tnewParts = newUrl.split('?');\n\t\t\t\tif (newParts[0] !== parts[0]) {\n\t\t\t\t\tnewParts[0] = parts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t\t\tif (newParts[0][newParts[0].length - 1] !== '/') {\n\t\t\t\t\t\tnewParts[0] += '/';\n\t\t\t\t\t}\n\t\t\t\t\tif (parseInt($elem.val() || 0) > 1)\n\t\t\t\t\t\tnewParts[0] += 'p' + $elem.val() + '/';\n\t\t\t\t\t$elem.attr('data-url', newParts[0] + '?' + newParts[1]);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n }\n\n function initPageSize() {\n var $control = $('.x-control[data-control=\"pager\"][data-type=\"pageSize\"]');\n\n if ($control.length < 1) return;\n\n $control.each(function (i, item) {\n if (!isTouch()) $('select', item).sSelect({ ddMaxHeight: '200px' });\n\n $('select', item).change(function (e) {\n document.location = $(this).find(\":selected\").data('url');\n });\n });\n }\n\n function initComboPages() {\n var $control = $('.x-control[data-control=\"pager\"][data-type=\"combopages\"]');\n\n if ($control.length < 1) return;\n\n $control.each(function (i, item) {\n if (!isTouch()) $('select', item).sSelect({ ddMaxHeight: '200px' });\n\n $('select', item).change(function (e) {\n if ($(this).hasClass('disabled')) return;\n\n var element = $('.x-product-list li[data-page=\"' + $(this).find(\":selected\").val() + '\"]');\n if (element.length > 0) {\n $('html,body').animate({ scrollTop: element.eq(0).offset().top - 100 }, 600);\n return;\n }\n document.location = $(this).find(\":selected\").data('url');\n });\n });\n }\n\n wrapper.bind();\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, $wrapper, function (envelope) {\n if (envelope.message.data.data.Products.Items.length < 1)\n return;\n\n model = envelope.message.data.data.Pager; \n wrapper.update();\n });\n});\n\n","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.x-menu.main-menu');\n var openClass = 'x-open';\n\n if ($wrapper.length < 1) return;\n\n initDesktopMenu();\n if (isTouch()) initMobileMenu();\n\n $(window).resize(function () {\n if (isTouch() && $(window).width() < 1200) {\n initMenuHeight(); \n } else {\n closeMenu(); \n }\n });\n\n function initDesktopMenu() { \n initMenuTriggers();\n initTwoLevelMenu();\n initThreeLevelMenu();\n }\n\n function initTwoLevelMenu() {\n\n var $submenus = $('.nav-link-1', $wrapper);\n\n if ($submenus.length < 1) return;\n\n //if isTouch menu actions on click\n //else menu actions on hover\n if (isTouch()) {\n\n $submenus.click(function () {\n\n var $el = $(this);\n\n if ($(window).width() < 1200) {\n var $nav2 = $el.siblings('.nav-2');\n $nav2.addClass('mobile-revealed');\n $('.off-canvas-menu').addClass('is-menu-opened');\n\n } else {\n $el = $(this).closest('li.nav-item-1');\n $('.nav-1', $wrapper).removeClass('opened-nav-3');\n\n if ($el.find('.nav-2').length > 0) {\n $el.closest('.nav-1').addClass('opened-nav-2');\n } else {\n $el.closest('.nav-1').removeClass('opened-nav-2');\n }\n\n $el.addClass('hovered');\n //initCustomScrollbar($el.children('.nav-2'));\n $el.children('.nav-2').addClass('revealed');\n $el.closest('.nav-1').find('.nav-2 > .nav-box > ul > li').removeClass(\"hovered\").find('.nav-3').removeClass('revealed');\n $el.siblings().removeClass('hovered').find('.nav-2').removeClass('revealed');\n\n if ($el.find('.nav-2 li.hovered').length > 0) {\n if ($el.find('.nav-2 li.hovered').find('.nav-3').length > 0) {\n $('.nav-1', $wrapper).addClass('opened-nav-3');\n }\n }\n }\n });\n\n } else {\n //hoverIntent configurations\n var config = {\n sensitivity: 50,\n interval: 60,\n over: mouseenter,\n timeout: 10,\n out: mouseleave\n };\n\n function mouseenter() {\n var $el = $(this);\n\n $('.nav-1', $wrapper).removeClass('opened-nav-3');\n\n if ($el.find('.nav-2').length > 0) {\n $el.closest('.nav-1').addClass('opened-nav-2');\n } else {\n $el.closest('.nav-1').removeClass('opened-nav-2');\n }\n\n $el.addClass('hovered');\n initCustomScrollbar($el.children('.nav-2'));\n $el.children('.nav-2').addClass('revealed');\n $el.closest('.nav-1').find('.nav-2 > .nav-box > ul > li').removeClass(\"hovered\").find('.nav-3').removeClass('revealed');\n $el.siblings().removeClass('hovered').find('.nav-2').removeClass('revealed');\n\n if ($el.find('.nav-2 li.hovered').length > 0) {\n if ($el.find('.nav-2 li.hovered').find('.nav-3').length > 0) {\n $('.nav-1', $wrapper).addClass('opened-nav-3');\n }\n }\n }\n\n function mouseleave() {\n return;\n }\n\n $submenus.parent().hoverIntent(config);\n }\n\n }\n\n function initThreeLevelMenu() {\n\n var $submenuItems = $('.nav-2 .nav-item-2 .nav-link-2', $wrapper);\n \n if ($submenuItems.length < 1) return;\n\n //if isTouch menu actions on click\n //else menu actions on hover\n if (isTouch()) {\n\n $submenuItems.click(function () {\n\n var $el = $(this);\n\n if ($(window).width() < 1200) {\n var $nav3 = $el.siblings('.nav-3');\n //$nav3.addClass('mobile-revealed');\n $nav3.toggleClass('mobile-revealed');\n $el.toggleClass('selected-menu-item');\n $('.nav-item-2 .mobile-show-submenu span').toggleClass('icon-arrow-down');\n $('.nav-item-2 .mobile-show-submenu span').toggleClass('icon-arrow-up');\n\n } else {\n var $parentLi = $el.closest('li.nav-item-2');\n\n if ($parentLi.find('.nav-3').length > 0) {\n $parentLi.closest('.nav-1').addClass('opened-nav-3');\n } else {\n $parentLi.closest('.nav-1').removeClass('opened-nav-3');\n }\n\n $parentLi.siblings().removeClass('hovered').find('.nav-3').removeClass('revealed');\n $parentLi.addClass('hovered');\n //initCustomScrollbar($parentLi.children('.nav-3'));\n $parentLi.children('.nav-3').addClass('revealed');\n }\n\n });\n\n } else {\n\n //hoverIntent configurations\n var config = {\n sensitivity: 50,\n interval: 30,\n over: mouseenter,\n timeout: 0,\n out: mouseleave\n };\n\n function mouseenter() {\n var $parentLi = $(this).closest('li');\n\n if ($parentLi.find('.nav-3').length > 0) {\n $parentLi.closest('.nav-1').addClass('opened-nav-3');\n } else {\n $parentLi.closest('.nav-1').removeClass('opened-nav-3');\n }\n\n $parentLi.siblings().removeClass('hovered').find('.nav-3').removeClass('revealed');\n $parentLi.addClass('hovered');\n initCustomScrollbar($parentLi.children('.nav-3'));\n $parentLi.children('.nav-3').addClass('revealed');\n }\n\n function mouseleave() {\n return;\n }\n\n $submenuItems.hoverIntent(config);\n }\n }\n\n function initMenuTriggers() {\n\n var $trigger = $('.js-menu-trigger', $wrapper);\n\n $trigger.on('click', function () {\n\n if ($(window).width() < 1200) return;\n\n if ($('.main-menu').hasClass(openClass)) {\n closeMenu();\n } else {\n openMenu();\n initCustomScrollbar($(this).siblings('.nav-1'));\n }\n });\n\n $('.menu-overlay').on('click', function () {\n closeMenu();\n });\n }\n\n function calculateMenuHeight() {\n var header = $('.header-region');\n var mainMenu = $('.main-menu', header);\n\n var headerHeight, uselessHeight, eSatisfactionHeight, menuOffset;\n\n headerHeight = $('.header-region').height() || 0;\n uselessHeight = $('.header-region .region-area-four').height() || 0;\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n\n menuOffset = headerHeight + eSatisfactionHeight - uselessHeight;\n\n $('.nav-1, .nav-2, .nav-3', mainMenu).css({ 'height': 'calc(100% - ' + menuOffset + 'px)', top: menuOffset });\n }\n\n function openMenu() {\n\n if ($wrapper.hasClass(openClass)) return;\n\n $('html, body').addClass('no-scroll');\n $('.header-region').removeClass('sticky');\n $('.header-spacer').css('height', 0);\n $('.menu-overlay').addClass('mega-menu-visible');\n $('.main-menu').addClass(openClass);\n calculateMenuHeight();\n setInterval(function () { calculateMenuHeight(); }, 1000);\n }\n\n function closeMenu() {\n\n if (!$wrapper.hasClass(openClass)) return;\n\n $wrapper.removeClass(openClass);\n $('.nav-1', $wrapper).removeClass('opened-nav-2').removeClass('opened-nav-3');\n $('.nav-2', $wrapper).removeClass('opened-nav-3');\n $('.hovered', $wrapper).removeClass('hovered');\n $('.revealed', $wrapper).removeClass('revealed');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('html, body').removeClass('no-scroll');\n\n }\n\n function initMobileMenu() {\n\n $('.nav-item-2 .mobile-show-submenu span').removeClass('icon-arrow-right');\n $('.nav-item-2 .mobile-show-submenu span').removeClass('icon');\n $('.nav-item-2 .mobile-show-submenu span').addClass('icon-arrow-down');\n\n //off canvas buttons\n var $openOffCanvas = $('.header-region .js-mobile-btn');\n var $closeOffCanvas = $('.off-canvas-menu .js-close-canvas');\n //main menu buttons\n var $backMenu = $('.mobile-show-prev', $wrapper);\n var $closeMenu = $('.mobile-show-close', $wrapper);\n\n //open off canvas menu\n $openOffCanvas.on('click', function (e) {\n openOffCanvasMenu();\n });\n\n //close off canvas menu\n $closeOffCanvas.on('click', function (e) {\n closeOffCanvasMenu();\n });\n\n //back to previous menu level\n $backMenu.on('click', function (e) {\n var $this = $(this);\n\n if ($this.hasClass('prev-2')) {\n $this.closest('.nav-2').removeClass('mobile-revealed');\n $this.closest('.nav-1').scrollTop(0);\n $('.off-canvas-menu').removeClass('is-menu-opened');\n } else if ($this.hasClass('prev-3')) {\n $this.closest('.nav-3').removeClass('mobile-revealed');\n $this.closest('.nav-2').scrollTop(0);\n }\n });\n\n //close opened menu levels\n $closeMenu.on('click', function (e) {\n var $this = $(this);\n\n $this.closest('.nav-3').removeClass('mobile-revealed');\n $this.closest('.nav-2').removeClass('mobile-revealed');\n $('.off-canvas-menu').removeClass('is-menu-opened');\n closeOffCanvasMenu();\n });\n\n $('.site-overlay').on('click', function (e) {\n //reset main menu\n if ($('.off-canvas-menu').hasClass('is-menu-opened')) {\n resetMainMenu();\n }\n //close off canvas\n if ($('html').hasClass('show-canvas')) {\n setTimeout(function () {\n closeOffCanvasMenu();\n }, 200);\n }\n });\n\n $(window).resize($.debounce(100, function () {\n if ($(window).width() > 1199) {\n //reset main menu\n if ($('.off-canvas-menu').hasClass('is-menu-opened')) {\n resetMainMenu();\n }\n //close off canvas\n if ($('html').hasClass('show-canvas')) {\n closeOffCanvasMenu();\n }\n } \n }));\n\n function openOffCanvasMenu() {\n $(\"html\").addClass(\"show-canvas no-scroll\");\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n\n setTimeout(function () {\n $('.site-overlay').fadeIn(300);\n }, 300);\n }\n\n function closeOffCanvasMenu() {\n $('html').removeClass('show-canvas no-scroll');\n $('.site-overlay').hide();\n }\n\n function resetMainMenu() {\n $('.nav-3', $wrapper).removeClass('mobile-revealed');\n $('.nav-2', $wrapper).removeClass('mobile-revealed');\n $('.off-canvas-menu').removeClass('is-menu-opened');\n }\n }\n\n function initCustomScrollbar(container) {\n\n if (isTouch()) return;\n\n if (!container.hasClass('scroll-initialized')) {\n $(container).mCustomScrollbar({\n scrollbarPosition: \"inside\",\n scrollInertia: 400,\n timeout: 1000,\n theme: \"light\",\n mouseWheel: { preventDefault: true }\n });\n container.addClass('scroll-initialized');\n }\n }\n\n function initMenuHeight() {\n\n var $menu = $('.x-menu.main-menu');\n var $nav1 = $('.nav-1', $menu);\n var $nav2 = $('.nav-2', $menu);\n var $nav3 = $('.nav-3', $menu);\n\n if ($nav1.length > 0) $nav1.removeAttr('style');\n if ($nav2.length > 0) $nav2.removeAttr('style');\n if ($nav3.length > 0) $nav3.removeAttr('style');\n }\n\n});\n\n\n\n\n","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.side-menu');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var iconOpen = $wrapper.data('icon-open');\n var iconClose = $wrapper.data('icon-close');\n\n wrapper.open = function () {\n if ($wrapper.hasClass('with-popup')) {\n $('.header-overlay').addClass('visible');\n $('html, body').addClass('no-scroll');\n }\n $('.mobile-title', $wrapper).addClass('active');\n $('.mobile-title > .icon', $wrapper).removeClass(iconOpen).addClass(iconClose);\n $('.nav-1', $wrapper).addClass('active');\n };\n\n wrapper.close = function () {\n $('.mobile-title', $wrapper).removeClass('active');\n $('.mobile-title > .icon', $wrapper).removeClass(iconClose).addClass(iconOpen);\n $('.nav-1', $wrapper).removeClass('active');\n if ($wrapper.hasClass('with-popup')) {\n $('html, body').removeClass('no-scroll');\n $('.header-overlay').removeClass('visible');\n }\n };\n \n if ($wrapper.hasClass('x-account-menu')) {\n $wrapper.on('click', '.js-logout', function (e) {\n e.preventDefault();\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.Logout());\n });\n }\n\n $wrapper.on('click', '.mobile-title', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n\n if ($this.hasClass('active')) {\n wrapper.close();\n } else {\n wrapper.open();\n }\n });\n\n if ($wrapper.hasClass('with-toggle')) {\n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n wrapper.close();\n }\n });\n }\n\n if ($wrapper.hasClass('with-popup')) {\n $wrapper.on('click', '.js-close-categories', function (e) {\n e.preventDefault();\n\n var $this = $(this).closest('.nav-1');\n\n if ($this.hasClass('active')) {\n wrapper.close();\n }\n });\n\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n wrapper.close();\n });\n\n $(window).resize(_.debounce(function () {\n if ($(window).width() >= 960) {\n wrapper.close();\n }\n }, 50));\n }\n\n});\n\n","Vendd.Scripts.load(function () {\n var $form = $('.x-newsletter-form');\n\n if ($form.length < 1)\n return;\n\n $.each($form, function (i, form) {\n var $this = $(form),\n $button = $('.js-submit', $this),\n $categoriesWrapper = $('.newsletter-categories-wrapper', $this);\n\n var formData = {\n email: \"\",\n subscriptionType: \"NewsletterForm\",\n apiKey: \"793c8798-df3d-440c-a195-9a973a9f508e\",\n mailparams: \"\",\n mailLists: []\n //mailLists: {\n // Action: 0, //subscribe action\n // MailListId: \"\",\n // Provider: 1 //mailchimp provider\n //}\n };\n\n $this.validationEngine({\n email: {\n required: 'email-required',\n isEmail: 'email-invalid'\n }\n });\n\n var va = $this.data('validationEngine'),\n messageTiming = 3500;\n\n form.loading = function (option) {\n if (option) {\n $this.addClass('x-loading');\n $button.attr(\"disabled\", \"disabled\");\n return;\n }\n\n $this.removeClass('x-loading');\n $button.removeAttr(\"disabled\");\n };\n\n form.onSuccess = function (envelope) {\n var response = envelope.message.data;\n\n if (!$this.hasClass('x-loading'))\n \treturn;\n\n form.loading(false);\n form.reset();\n\n $('.js-success', $this).removeClass('js-visible');\n\n if (response.success) {\n $('.js-content', $this).hide();\n $('.js-success', $this).html(response.data + '' + response.email + '').addClass('js-visible');\n }\n else {\n if (response.code && response.code === 'Newsletter_AlreadySubscribed') {\n\n $('.js-alreadysubscribed', $this).addClass('js-visible');\n\n setTimeout(function () {\n $('.js-alreadysubscribed', $this).removeClass('js-visible');\n }, messageTiming);\n }\n else {\n $('.js-generic-error', $this).addClass('js-visible');\n\n setTimeout(function () {\n $('.js-generic-error', $this).removeClass('js-visible');\n }, messageTiming);\n }\n }\n };\n\n form.onFailure = function (envelope) {\n form.loading(false);\n form.reset();\n\n $('.form-result', $this).removeClass('js-visible');\n $('.js-generic-error', $this).addClass('js-visible');\n\n setTimeout(function () {\n $('.js-generic-error', $this).removeClass('js-visible');\n }, messageTiming);\n };\n\n form.submit = function () {\n form.loading(true);\n\n Vendd.MessageBus.publishAsync(form, new Vendd.Newsletter.Messages.Subscribe(formData.email, formData.subscriptionType, formData.apiKey, formData.mailparams, formData.mailLists));\n };\n\n form.reset = function () {\n //reset mailLists Array\n formData.mailLists = [];\n //reset mailLists Selection\n $('.js-category', $categoriesWrapper).removeClass('selected');\n //reset Selected Categories\n $('.selected-categories', $categoriesWrapper).addClass('hidden');\n $('.selected-categories .count', $categoriesWrapper).text($('.js-category.selected', $categoriesWrapper).length);\n };\n\n $categoriesWrapper.on('click', '.js-categories-trigger', function (e) {\n\n var $categoriesList = $('.newsletter-categories-list', $categoriesWrapper);\n\n if ($categoriesList.hasClass('hidden')) {\n $categoriesList.removeClass('hidden');\n } else {\n $categoriesList.addClass('hidden');\n }\n });\n\n $categoriesWrapper.on('click', '.js-category', function (e) {\n if ($(this).hasClass('selected')) {\n $(this).removeClass('selected');\n } else {\n $(this).addClass('selected');\n }\n\n if ($('.js-category.selected', $categoriesWrapper).length > 0) {\n $('.selected-categories', $categoriesWrapper).removeClass('hidden');\n } else {\n $('.selected-categories', $categoriesWrapper).addClass('hidden'); \n }\n $('.selected-categories .count', $categoriesWrapper).text($('.js-category.selected', $categoriesWrapper).length);\n });\n\n $(document).on('click', function (e) {\n if (!$categoriesWrapper.is(e.target) && $categoriesWrapper.has(e.target).length === 0) {\n if (!$('.newsletter-categories-list', $categoriesWrapper).hasClass('hidden')) {\n $('.newsletter-categories-list', $categoriesWrapper).addClass('hidden');\n }\n }\n });\n\n $this.on('click', '.js-submit', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n $('.js-category', $categoriesWrapper).each(function (index) {\n if ($(this).hasClass('selected')) {\n var mailList = {\n Action: 0, //subscribe action\n MailListId: $(this).data('category-id'),\n Provider: 1 //mailchimp provider\n };\n formData.mailLists.push(mailList);\n }\n });\n\n if ($this.hasClass('pop-up'))\n formData.isPopUp = true;\n\n if (va.validate())\n form.submit(); \n });\n\n $this.on('keyup', 'input[name=\"email\"]', function (e) {\n var $this = $(this);\n formData.email = $this.val();\n\n if (e.keyCode == 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $button.click();\n\n return;\n }\n\n va.validate('email');\n });\n\n $this.on('blur', 'input[name=\"email\"]', function (e) {\n setTimeout(function () {\n $('.validator', $form).removeClass('error');\n }, messageTiming);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Newsletter.Messages.SubscribeSuccess, form, form.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.Newsletter.Messages.SubscribeFailure, form, form.onFailure);\n });\n});","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-currency-selector');\n\n $('.js-change-currency', $wrapper).click(function (e) {\n e.preventDefault();\n e.stopPropagation();\n Vendd.Cart.ClearClientModel();\n\n document.location.href = $(this).attr('href');\n });\n});","Vendd.Scripts.load(function () {\n\n var isRecaptchaLoaded = isLoginSuccess = false, forms = [], loginFailedAttempts;\n\n var LoginForm = function () {\n var self = this;\n this.isRecaptchaInitialized = false;\n\n var $context, $loginForm, $forgotForm, $loginFormButton, $forgotFormButton,\n wrapper, loginForm, forgotForm, lf, ff, returnUrl;\n\n var useEmailAsLoginName;\n\n var captchaWidgetId, captchaId, $captchaElement, $captchaContainer, captchaEnabled, recaptchaCallback;\n\n this.initRecaptcha = function () {\n if (typeof loginFailedAttempts === \"undefined\") return;\n self.isRecaptchaInitialized = true;\n\n $captchaElement = $loginForm.find(\".recaptcha-id-element\");\n $captchaContainer = $loginForm.find('.recaptcha-container');\n captchaEnabled = false;\n\n captchaId = $captchaElement.attr('id');\n\n var htmlExists = $captchaElement.length > 0 ? true : false;\n\n if (!htmlExists || loginFailedAttempts < 3)\n return;\n\n if (htmlExists && loginFailedAttempts >= 3) {\n $captchaContainer.show();\n }\n\n var sitekey = $captchaElement.data(\"sitekey\");\n if (sitekey) {\n captchaEnabled = true;\n captchaWidgetId = grecaptcha.render(captchaId, {\n 'sitekey': sitekey,\n 'callback': recaptchaCallback\n });\n }\n };\n\n this.initLoginForm = function (envelope) {\n $context = envelope.message.data.context;\n $wrapper = $('.x-login-form', $context);\n\n if ($wrapper.length < 1)\n return false;\n\n $loginForm = $('.login-form', $wrapper);\n $forgotForm = $('.forgot-form', $wrapper);\n\n $loginFormButton = $('.js-submit-button', $loginForm);\n $forgotFormButton = $('.js-submit-button', $forgotForm);\n\n useEmailAsLoginName = $loginForm.data(\"useemailasloginname\").toString().toLowerCase() === 'true';\n\n wrapper = $wrapper.get(0);\n loginForm = $loginForm.get(0);\n\n\n var formData = {\n loginName: '',\n password: '',\n rememberMe: false,\n loginRedirectUrl: '',\n logoutRedirectUrl: '',\n reCaptchaCode: \"\"\n };\n var forgotFormData = { loginName: \"\" };\n\n\n loginForm.validateRecaptcha = function () {\n if (!captchaEnabled)\n return true;\n\n formData.reCaptchaCode = $captchaElement.find('.g-recaptcha-response').val();\n\n var res = false;\n\n if (formData.reCaptchaCode) {\n $captchaContainer.find('.recaptcha-required').removeClass('error');\n res = true;\n }\n else {\n $captchaContainer.find('.recaptcha-required').addClass('error');\n }\n\n return res;\n };\n\n loginForm.resetRecaptcha = function () {\n // Website must only verify the user's reCAPTCHA response token (g-recaptcha-response) once. \n // If a verify attempt has been made with a particular token, it cannot be used again. \n // Call grecaptcha.reset() to ask the end user to verify with reCAPTCHA again.\n if (captchaEnabled)\n grecaptcha.reset(captchaWidgetId);\n };\n\n loginForm.removeRecaptcha = function () {\n $captchaElement.remove();\n };\n\n recaptchaCallback = function () {\n loginForm.validateRecaptcha();\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n loginForm.onSuccess = function (envelope) {\n /**\n * Return Codes:\n *\n * Login_OperationSuccesful\n * Login_InvalidLoginOrPassword\n * Login_LoginIsLocked\n * Login_LoginIsNotEnabled\n * Login_ValidationError\n * Login_GenericError\n */\n\n var usermodel = envelope.message.data.model;\n\n loginForm.reset();\n\n Cookies.set(\"ForceClearCartLocalStorage\", 1, { samesite: 'Lax' });\n Cookies.set(\"ForceClearCompareLocalStorage\", 1, { samesite: 'Lax' });\n Cookies.set(\"ForceClearWishlistLocalStorage\", 1, { samesite: 'Lax' });\n if (LhApp.Context.MultipleWishlistsEnabled)\n Vendd.UserWishlist.ClearClientModel();\n returnUrl = usermodel.LoginForm.LoginRedirectUrl;\n _logoutRedirectUrl = usermodel.LoginForm.LogoutRedirectUrl;\n\n\n if ($loginForm.data('redirect')) {\n returnUrl = $loginForm.data('redirect');\n }\n\n var renderInline = (returnUrl && returnUrl === document.location.pathname);\n var iframe = $('#Vendd-InlineAdmin');\n if (iframe.length > 0) {\n //wrapper.loading(false); this will be handled in CreateCookieForInlineAdmin handler\n\n Vendd.MessageBus.publish(\n Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin(renderInline, formData.loginName, formData.password, returnUrl)\n );\n } else {\n wrapper.loading(false);\n\n if (returnUrl && returnUrl !== \"\") {\n document.location.href = decodeURIComponent(returnUrl);\n }\n else {\n document.location.href = document.location.href;\n }\n }\n };\n\n loginForm.onFailure = function (envelope) {\n wrapper.loading(false);\n\n var response = envelope.message.data;\n\n if (response.code === 'Login_InvalidLoginOrPassword') {\n $('.js-error', $loginForm).hide();\n $('.js-validation-error', $loginForm).show();\n\n $('input[name=\"password\"]', $loginForm).val(\"\");\n } else {\n $('.js-validation-error', $loginForm).hide();\n $('.js-error', $loginForm).show();\n\n $('input[name=\"password\"]', $loginForm).val(\"\");\n };\n\n loginFailedAttempts++;\n\n if (!captchaEnabled)\n self.initRecaptcha();\n else\n loginForm.resetRecaptcha();\n };\n\n loginForm.CreateCookieForInlineAdminOnSuccess = function (envelope) {\n\n var model = envelope.message.data.model;\n returnUrl = model.redirectUrl;\n\n var loginURL = LhApp.Context.InLineAdminEndpoint + '/vendd/api/Security/Authenticate';\n\n $.ajax({\n url: loginURL,\n data: { \"Username\": model.username, \"Password\": model.password },\n dataType: \"json\",\n xhrFields: { withCredentials: true }\n }).done(function (data) {\n\n wrapper.loading(false);\n\n if (returnUrl) {\n document.location = decodeURIComponent(returnUrl);\n } else {\n if (document.location.href.indexOf('/login/') > -1 || document.location.href.indexOf('/registration/') > -1) {\n var baseUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n document.location.href = baseUrl;\n } else {\n document.location.href = document.location.href;\n }\n }\n });\n }\n\n loginForm.CreateCookieForInlineAdminOnFailure = function (envelope) {\n var model = envelope.message.data.model;\n if (model.redirectUrl) {\n returnUrl = model.redirectUrl;\n }\n\n if (returnUrl) {\n document.location = decodeURIComponent(returnUrl);\n } else {\n if (document.location.href.indexOf('/login/') > -1 || document.location.href.indexOf('/registration/') > -1) {\n var baseUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n document.location.href = baseUrl;\n } else {\n document.location.href = document.location.href;\n }\n }\n }\n\n loginForm.vendd_submit = function () {\n loginForm.IsSubmitted = true;\n\n formData.loginName = $('input[name=\"username\"]', $loginForm).val().replace(/\\s+/g, '');\n formData.password = $('input[name=\"password\"]', $loginForm).val();\n\n var val1 = loginForm.validateRecaptcha();\n var val2 = lf.validate();\n\n if (!(val1 && val2))\n return false;\n\n wrapper.loading(true);\n\n var currentUrl = window.location.href;\n\n if (currentUrl.indexOf(\"/login/\") > -1)\n formData.loginRedirectUrl = $loginForm.data('redirect') || formData.loginRedirectUrl;\n else\n formData.loginRedirectUrl = $loginForm.data('redirect') || currentUrl;\n\n formData.logoutRedirectUrl = $loginForm.data('logoutredirect') || formData.logoutRedirectUrl;\n\n var accessToken = getQueryStringValueByName(\"accessToken\") || \"\";\n\n Vendd.MessageBus.publishAsync(loginForm,\n new Vendd.User.Messages.Login(\n formData.loginName,\n formData.password,\n formData.rememberMe,\n formData.loginRedirectUrl,\n formData.logoutRedirectUrl,\n formData.reCaptchaCode,\n accessToken,\n {\n isLoginForm: true\n } \n )\n );\n };\n\n loginForm.reset = function () {\n $('.js-error', $loginForm).hide();\n $('.js-validation', $loginForm).hide();\n\n $('input[name=\"username\"]', $loginForm).val(\"\");\n $('input[name=\"password\"]', $loginForm).val(\"\");\n\n lf.reset();\n loginForm.resetRecaptcha();\n };\n\n //event listeners couple 1(1). do not use for anything else. use a copy of event listeners if needed.\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, loginForm, function (envelope) {\n isLoginSuccess = true;\n });\n //event listeners couple 1(2).do not use for anything else. use a copy of event listeners if needed.\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, loginForm, function (envelope) {\n if (isLoginSuccess) {\n isLoginSuccess = true;\n if (loginForm.IsSubmitted)\n loginForm.onSuccess(envelope);\n }\n });\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginFailure, loginForm, function (envelope) {\n if (loginForm.IsSubmitted)\n loginForm.onFailure(envelope);\n });\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess, loginForm, function (envelope) {\n if (loginForm.IsSubmitted)\n loginForm.CreateCookieForInlineAdminOnSuccess(envelope);\n });\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure, loginForm, function (envelope) {\n if (loginForm.IsSubmitted)\n loginForm.CreateCookieForInlineAdminOnFailure(envelope);\n });\n\n\n\n if ($forgotForm.length > 0) {\n forgotForm = $forgotForm.get(0);\n\n forgotForm.onSuccess = function (envelope) {\n wrapper.loading(false);\n\n /**\n * Return Codes:\n *\n * ForgotPassword_OperationSuccesful\n * ForgotPassword_ValidationError\n * ForgotPassword_UserNotExists\n * ForgotPassword_GenericError\n */\n var code = envelope.message.data.code;\n if (code === 'ForgotPassword_OperationSuccesful') {\n $('.js-error', $forgotForm).hide();\n $('.js-validation-error', $forgotForm).hide();\n $('.js-content', $forgotForm).hide();\n $('.js-success', $forgotForm).show();\n } else {\n if (code === 'ForgotPassword_UserNotExists') {\n $('.js-error', $forgotForm).hide();\n $('.js-not-found', $forgotForm).show();\n $('.js-success', $forgotForm).hide();\n }\n else {\n $('.js-error', $forgotForm).show();\n $('.js-not-found', $forgotForm).hide();\n $('.js-success', $forgotForm).hide();\n }\n }\n };\n\n forgotForm.onFailure = function (envelope) {\n wrapper.loading(false);\n\n $('.js-validation-error', $forgotForm).hide();\n $('.js-error', $forgotForm).show();\n };\n\n forgotForm.submit = function () {\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(forgotForm, new Vendd.User.Messages.ForgotPassword(forgotFormData));\n };\n\n forgotForm.reset = function () {\n $('.js-error', $forgotForm).hide();\n $('.js-validation', $forgotForm).hide();\n $('.js-success', $forgotForm).hide();\n\n $('.js-content', $forgotForm).show();\n\n $('input[name=\"username\"]', $forgotForm).val(\"\");\n\n ff.reset();\n };\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.ForgotPasswordSuccess, forgotForm, forgotForm.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.User.Messages.ForgotPasswordFailure, forgotForm, forgotForm.onFailure);\n }\n\n var loginNameVal = {\n required: 'loginName-required'\n };\n if (useEmailAsLoginName)\n loginNameVal.isEmail = 'loginName-invalid';\n\n var valOpts = {\n username: loginNameVal,\n password: {\n required: 'password-required'\n }\n };\n\n $loginForm.validationEngine(valOpts);\n lf = $loginForm.data('validationEngine');\n\n if ($forgotForm.length > 0) {\n $forgotForm.validationEngine({\n loginName: loginNameVal\n });\n ff = $forgotForm.data('validationEngine');\n }\n\n //$loginForm.on('click', '.js-submit-button', function (e) {\n // e.preventDefault();\n // e.stopPropagation();\n\n // formData.loginName = $('input[name=\"username\"]', $loginForm).val();\n // formData.password = $('input[name=\"password\"]', $loginForm).val();\n\n // var val1 = loginForm.validateRecaptcha();\n // var val2 = lf.validate();\n\n // if (val1 && val2)\n // loginForm.vendd_submit();\n //});\n\n $loginForm.on('keyup', 'input[name]', function (e) {\n var $this = $(this);\n\n if (e.keyCode === 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $loginFormButton.click();\n\n return;\n }\n\n formData[$this.attr('name')] = $this.val();\n\n lf.validate($this.attr('name'));\n });\n\n if ($forgotForm.length > 0) {\n\n $forgotForm.on('click', '.js-submit-button', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n forgotFormData.loginName = $('input[name=\"loginName\"]', $forgotForm).val();\n\n if (ff.validate())\n forgotForm.submit();\n });\n\n $forgotForm.on('keyup', 'input[name]', function (e) {\n var $this = $(this);\n\n if (e.keyCode === 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $forgotFormButton.click();\n\n return;\n };\n\n forgotFormData[$this.attr('name')] = $this.val();\n\n ff.validate($this.attr('name'));\n });\n }\n\n $wrapper.on('click', '.js-forgot-show', function (e) {\n e.preventDefault();\n\n loginForm.reset();\n\n $loginForm.hide();\n $(this).hide();\n $forgotForm.show();\n });\n\n $wrapper.on('click', '.js-forgot-hide', function (e) {\n e.preventDefault();\n\n forgotForm.reset();\n\n $forgotForm.hide();\n $('.js-forgot-show', $loginForm).show();\n $loginForm.show();\n });\n\n $wrapper.on('click', '.js-password-reveal', function (e) {\n e.preventDefault();\n if ($(this).hasClass('shown')) {\n $(this).removeClass('shown').siblings('input').prop('type', 'password');\n } else {\n $(this).addClass('shown').siblings('input').prop('type', 'text');\n }\n });\n\n return true;\n };\n };\n\n var checkInitRecaptcha = function () {\n if (isRecaptchaLoaded) {\n _.each(forms, function (formobj) {\n if (!formobj.isRecaptchaInitialized)\n formobj.initRecaptcha();\n });\n }\n };\n\n function initSsoLoginForm($context) {\n var $wrapper = $('.x-login-form', $context);\n\n if (!$wrapper.length) {\n return false;\n }\n\n var $loginForm = $('.login-form', $wrapper);\n\n $loginForm.on('click', '.sso-login-button', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.SsoLogin());\n });\n }\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-login-form', function (envelope) {\n if (LhApp.Context.SsoEnabled) {\n initSsoLoginForm(envelope.message.data.context);\n\n return;\n }\n\n var form = new LoginForm();\n if (form.initLoginForm(envelope)) {\n forms.push(form);\n checkInitRecaptcha();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Plugins.Messages.RecaptcaLoaded, 'login-forms', function () {\n isRecaptchaLoaded = true;\n checkInitRecaptcha();\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, 'login-forms', function (envelope) {\n loginFailedAttempts = envelope.message.data.ActionCounters ? envelope.message.data.ActionCounters.FailedLogin : 0;\n });\n\n});\n\n//πριν αλλάξετε κάτι δείτε αυτό VDCORE-1899\nVendd.LoginSubmit = function (form) {\n $loginForm = $(form).closest('.login-form');\n if ($loginForm.length < 0) return false;\n loginForm = $loginForm.get(0);\n loginForm.vendd_submit();\n};","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-login-widget');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, loaded = false;\n\n wrapper.open = function () {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n if (!recaptchaLoaded) wrapper.appendRecaptcha();\n \n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.WidgetOpened(Vendd.Widget.LoginWidget));\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.minimalUpdate = function () {\n var html = Vendd.Handlebars.parse(\"loginWidget_B\", model);\n $wrapper.html(html);\n\n if (loaded) loaded = false;\n };\n\n wrapper.update = function () {\n wrapper.loading(true);\n var html = Vendd.Handlebars.parse(\"loginWidgetBox_A\", model);\n $('.js-widget-container', $wrapper).html(html);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.BindControl($wrapper));\n wrapper.loading(false);\n };\n\n wrapper.appendRecaptcha = function () {\n var url = 'https://www.google.com/recaptcha/api.js?onload=callback_recaptcha&render=explicit&hl=' + LhApp.Context.Language;\n var script = document.createElement(\"script\");\n script.type = \"text/javascript\";\n script.src = url;\n document.getElementsByTagName('body')[0].appendChild(script);\n };\n\n $wrapper.on('click', '.js-logout', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.Logout());\n });\n \n //On click Login Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if (model === null) return;\n\n if ($(this).hasClass('x-open')) {\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n } else {\n if (!loaded) {\n wrapper.update();\n loaded = true;\n }\n $('html, body').addClass('no-scroll');\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n $('.header-region').addClass('clean-zindex');\n $('.header-overlay').addClass('visible');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.loading(false);\n wrapper.open();\n }\n });\n\n //On click Close Button inside Login Widget\n $wrapper.on('click', '.close-button', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n //On click outside Login Widget\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, wrapper, function (envelope) {\n if (envelope.message.data.success) {\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, wrapper, function (envelope) {\n if (envelope.message.data.success) {\n Vendd.MessageBus.publish(wrapper, new Vendd.User.Messages.GetUserViewModel());\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.LoginWidget) {\n wrapper.close();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n\n wrapper.minimalUpdate();\n\n if (loaded) wrapper.update(); \n if ($wrapper.hasClass('x-loading')) $('.js-widget-trigger', $wrapper).trigger(\"click\");\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-cart-widget');\n $wrapper.attr('data-template', '2');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, loaded = false, openWidget = false;\n\n wrapper.open = function (userTriggeredOpen) {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n openWidget = false;\n\n if (userTriggeredOpen && model && model.IsPartiallyLoaded) {\n Vendd.Cart.ClearClientModel();\n openWidget = true;\n wrapper.loading(true);\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n } else {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.WidgetOpened(Vendd.Widget.CartWidget));\n }\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.extendModel = function () {\n if (window.B2BModel === undefined) return;\n _.extend(model, window.B2BModel);\n };\n\n wrapper.minimalUpdate = function () {\n if (model.CartWidgetDisplayOptions.ShowProductCount && model.ProductsCount >= 0) {\n if (model.ProductsCount > 0) {\n $('.js-widget-trigger', $wrapper).addClass('has-items');\n $('.number', $wrapper).text(model.ProductsCount);\n } else if (model.ProductsCount == 0) {\n $('.js-widget-trigger', $wrapper).removeClass('has-items');\n $('.number', $wrapper).text('');\n }\n }\n\n if (loaded && !$('.js-widget-trigger', $wrapper).hasClass('x-open')) {\n loaded = false;\n $('.js-widget-container', $wrapper).empty();\n }\n };\n\n wrapper.update = function () {\n wrapper.loading(true);\n\n var html = Vendd.Handlebars.parse(\"cartWidget_B\", model);\n wrapper.bind(html);\n\n wrapper.initCategoryMenu();\n wrapper.loading(false);\n };\n\n wrapper.bind = function (html) {\n $('.js-widget-container', $wrapper).html(html);\n\n var $list = $('.x-cart-list', $wrapper);\n var $items = $('.cart-item', $list);\n\n wrapper.initCategoryMenu();\n\n if (!isTouch()) {\n $list.mCustomScrollbar({\n scrollbarPosition: \"inside\",\n scrollInertia: 400,\n timeout: 1000,\n theme: \"light\",\n mouseWheel: {\n preventDefault: true\n }\n });\n }\n\n if ($items.length > 0) {\n $wrapper.addClass('has-products');\n $('.site-wrapper-outer').addClass('hasProd');\n\n } else {\n $wrapper.removeClass('has-products');\n $('.site-wrapper-outer').removeClass('hasProd');\n }\n\n if (openWidget) wrapper.open();\n\n formatPrices($wrapper);\n\n $('.js-expand-combo', $items).click(function () {\n $(this).closest('.cart-item').siblings().find('.combo-item-wrapper.expanded').removeClass('expanded open-above').children('.combo-title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n\n if ($(this).closest('.cart-item').index() >= ($items.length - 2) && $items.length > 3) {\n $(this).parent().toggleClass('open-above');\n }\n\n $(this).parent().toggleClass('expanded');\n $(this).toggleClass('icon-arrow-down icon-arrow-up');\n });\n\n if ($('.js-warning-message', $wrapper).length > 0) {\n if ($('.js-warning-message', $wrapper).data('reason') === 'DailyTradingLimitReached' || $('.js-warning-message', $wrapper).data('reason') === 'TradingRestriction') {\n $('.js-warning-message', $wrapper).addClass('visible');\n } else {\n $('.js-warning-message', $wrapper).removeClass('visible');\n }\n }\n };\n\n //Append Cart Widget Menu from Header \n wrapper.initCategoryMenu = function () {\n\n var $cartMenu = $('.header-region .promo-categories-container');\n if ($cartMenu.length < 1)\n return;\n\n var $destination = $('.empty-container', $wrapper);\n\n if ($destination.length > 0 && $('.promo-categories-container', $destination).length < 1) {\n $cartMenu.clone().appendTo($destination);\n }\n\n };\n\n $wrapper.on('click', '.js-remove', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n var $item = $this.closest('.cart-item');\n var id = $item.data('identifier');\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.Remove(id));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.CartWidget, false));\n });\n\n //On click Checkout Button\n $wrapper.on('click', '.js-checkout', function (e) {\n if ($('.x-warehouse-selector-widget').trigger('checkout').hasClass('opening')) {\n e.preventDefault();\n }\n });\n\n //On click Cart Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if (model === null) return;\n\n if ($(this).hasClass('x-open')) {\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n } else {\n if (!loaded) {\n wrapper.extendModel();\n wrapper.update();\n loaded = true;\n }\n $('html, body').addClass('no-scroll');\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n $('.header-region').addClass('clean-zindex');\n $('.header-overlay').addClass('visible');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.loading(false);\n wrapper.open(true);\n }\n });\n\n //On click Close Button inside Cart Widget\n $wrapper.on('click', '.close-button', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n //On click outside Cart Widget\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, wrapper, function (envelope) {\n model = envelope.message.data.Cart;\n\n wrapper.extendModel();\n wrapper.minimalUpdate();\n\n if (loaded) wrapper.update();\n if ($wrapper.hasClass('x-loading')) $('.js-widget-trigger', $wrapper).trigger(\"click\");\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Failed, wrapper, function (envelope) {\n if (envelope.message.data.success === false) {\n model.IsAddToCartAllowed = true;\n toastr.error(model.WidgetLiterals.AddToCartAllowedText, \"\", {\n timeOut: 1200,\n showDuration: 400,\n hideDuration: 700\n });\n }\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Warning, wrapper, function (envelope) {\n if (envelope.message.data.success === true) {\n toastr.warning(envelope.message.data.data.Messages[0], \"\", {\n timeOut: 1200,\n showDuration: 400,\n hideDuration: 700\n });\n }\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.CartWidget) {\n wrapper.close();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.ProductAdded, wrapper, function (envelope) {\n var data = envelope.message.data;\n var flag = sessionStorage.getItem('noCartWarning');\n\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCart\"), \"\", {\n timeOut: 1200,\n showDuration: 400,\n hideDuration: 700\n });\n\n var isDisabled = data.responseData.CheckoutStatus ? data.responseData.CheckoutStatus.IsDisabled : null;\n var reason = data.responseData.CheckoutStatus ? data.responseData.CheckoutStatus.Reason : null;\n\n if (isDisabled && (reason === 'DailyTradingLimitReached' || reason === 'TradingRestriction') && flag === null) {\n toastr.warning(data.responseData.CheckoutStatus.ReasonText, \"\", {\n timeOut: 15000,\n showDuration: 400,\n hideDuration: 700\n });\n sessionStorage.setItem('noCartWarning', true);\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleAddSuccess, wrapper, function (envelope) {\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCart\"), \"\", {\n timeOut: 1200,\n showDuration: 400,\n hideDuration: 700\n });\n });\n\n // TODO: Review\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.OpenWidget, wrapper, function (envelope) {\n if (envelope.message.data.widgetName === Vendd.Widget.CartWidget) {\n if (envelope.message.data.immediate === true) {\n wrapper.open(true);\n } else {\n openWidget = true; // the next refresh will open it\n }\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, wrapper, function (envelope) {\n\n var isB2B = envelope.message.data.model.IsB2BUser;\n var isAuthenticated = envelope.message.data.model.IsAuthenticated\n\n if (isB2B && isAuthenticated && venddProjectConfigs.SiteIsLocked) {\n $wrapper.removeClass('site-is-locked');\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n }\n });\n\n});","Vendd.Scripts.load(function () {\n\n var isRecaptchaLoaded = false, forms = [], findEmailAttempts;\n\n var RegisterWidgetForm = function () {\n var self = this;\n this.isRecaptchaInitialized = false;\n\n var $context, $registerWidgetForm, registerWidgetForm;\n\n var captchaWidgetId, captchaId, $captchaElement, $captchaContainer, captchaEnabled, recaptchaCallback;\n\n this.initRecaptcha = function () {\n\n self.isRecaptchaInitialized = true;\n\n $captchaElement = $registerWidgetForm.find(\".recaptcha-id-element\");\n $captchaContainer = $registerWidgetForm.find('.recaptcha-container');\n captchaEnabled = false;\n\n captchaId = $captchaElement.attr('id');\n\n var htmlExists = $captchaElement.length > 0 ? true : false;\n\n if (!htmlExists || findEmailAttempts < 3)\n return;\n\n if (htmlExists && findEmailAttempts >= 3) {\n $captchaContainer.show();\n }\n var sitekey = $captchaElement.data(\"sitekey\");\n if (sitekey) {\n captchaEnabled = true;\n captchaWidgetId = grecaptcha.render(captchaId, {\n 'sitekey': sitekey,\n 'callback': recaptchaCallback\n });\n }\n };\n\n this.initRegisterWidgetForm = function (envelope) {\n var formData;\n\n $context = envelope.message.data.context;\n $registerWidgetForm = $('.x-register-widget-form', $context);\n\n if ($registerWidgetForm.length < 1)\n return;\n\n registerWidgetForm = $registerWidgetForm.get(0);\n\n formData = {\n loginName: \"\",\n reCaptchaCode: \"\"\n };\n\n clicked = false;\n\n registerWidgetForm.validateRecaptcha = function () {\n if (!captchaEnabled)\n return true;\n\n formData.reCaptchaCode = $captchaElement.find('.g-recaptcha-response').val();\n\n var res = false;\n\n if (formData.reCaptchaCode) {\n $captchaContainer.find('.recaptcha-required').removeClass('error');\n res = true;\n }\n else {\n $captchaContainer.find('.recaptcha-required').addClass('error');\n }\n\n return res;\n };\n\n registerWidgetForm.resetRecaptcha = function () {\n // Website must only verify the user's reCAPTCHA response token (g-recaptcha-response) once. \n // If a verify attempt has been made with a particular token, it cannot be used again. \n // Call grecaptcha.reset() to ask the end user to verify with reCAPTCHA again.\n if (captchaEnabled)\n grecaptcha.reset(captchaWidgetId);\n };\n\n formremoveRecaptcha = function () {\n $captchaElement.remove();\n };\n\n recaptchaCallback = function () {\n registerWidgetForm.validateRecaptcha();\n };\n\n registerWidgetForm.loading = function (loading) {\n if (loading) {\n $registerWidgetForm.addClass('x-loading');\n } else {\n $registerWidgetForm.removeClass('x-loading');\n }\n };\n\n registerWidgetForm.onSuccess = function (envelope) {\n registerWidgetForm.loading(false);\n\n $('.js-error', $registerWidgetForm).hide();\n\n sessionStorage.setItem('registrationEmail', formData.loginName);\n window.location = $('.js-registration-button', $registerWidgetForm).data('href');\n };\n\n registerWidgetForm.onFailure = function (envelope) {\n\n registerWidgetForm.loading(false);\n\n var data = envelope.message.data;\n\n if (!data.success && data.code === \"Registration_ValidationError\") {\n $('.js-error.generic-error', $registerWidgetForm).hide();\n $('.js-error.already-exist', $registerWidgetForm).show();\n } else {\n $('.js-error.already-exist', $registerWidgetForm).hide();\n $('.js-error.generic-error', $registerWidgetForm).show();\n }\n\n findEmailAttempts++;\n\n if (!captchaEnabled)\n self.initRecaptcha();\n else\n registerWidgetForm.resetRecaptcha();\n\n };\n\n registerWidgetForm.submit = function () {\n registerWidgetForm.loading(true);\n\n Vendd.MessageBus.publishAsync($registerWidgetForm, new Vendd.User.Messages.CanRegister(formData.loginName, formData.reCaptchaCode));\n };\n\n var valOpts = {\n loginName: {\n required: 'loginName-required',\n isEmail: 'loginName-invalid'\n }\n };\n\n $registerWidgetForm.validationEngine(valOpts);\n rf = $registerWidgetForm.data('validationEngine');\n\n $registerWidgetForm.on('click', '.js-registration-button', function (e) {\n if (rf.validate() && registerWidgetForm.validateRecaptcha()) {\n registerWidgetForm.submit();\n }\n });\n\n $registerWidgetForm.on('keyup', '.js-registration-input', function (e) {\n if (e.keyCode == 13) {\n e.preventDefault();\n e.stopPropagation();\n $('.js-registration-button', $registerWidgetForm).trigger('click');\n\n return;\n }\n\n var $this = $(this);\n var fieldName = $this.attr('name');\n\n formData[fieldName] = $this.val().trim();\n rf.validate(fieldName);\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.CanRegisterSuccess, registerWidgetForm, registerWidgetForm.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.User.Messages.CanRegisterFailure, registerWidgetForm, registerWidgetForm.onFailure);\n\n return true;\n };\n };\n\n var checkInitRecaptcha = function () {\n if (isRecaptchaLoaded) {\n _.each(forms, function (formobj) {\n if (!formobj.isRecaptchaInitialized)\n formobj.initRecaptcha();\n });\n }\n };\n\n function initSsoRegistrationForm($context) {\n var $wrapper = $('.x-register-widget-form', $context);\n\n if (!$wrapper.length) {\n return false;\n }\n\n $wrapper.on('click', '.sso-registration-button', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.SsoRegister());\n });\n }\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-register-widget-form', function (envelope) {\n if (LhApp.Context.SsoEnabled) {\n initSsoRegistrationForm(envelope.message.data.context);\n\n return;\n }\n\n var form = new RegisterWidgetForm();\n if (form.initRegisterWidgetForm(envelope)) {\n forms.push(form);\n checkInitRecaptcha();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Plugins.Messages.RecaptcaLoaded, 'x-register-widget-form', function () {\n isRecaptchaLoaded = true;\n checkInitRecaptcha();\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, 'x-register-widget-form', function (envelope) {\n findEmailAttempts = envelope.message.data.ActionCounters ? envelope.message.data.ActionCounters.CanRegistrer : 0;\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-wishlist-widget');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, openWidget = false;\n\n wrapper.open = function () {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n openWidget = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.WidgetOpened(Vendd.Widget.WishlistWidget));\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.update = function () {\n wrapper.loading(true);\n\n var html = Vendd.Handlebars.parse(\"wishlistWidget_A\", model);\n wrapper.bind(html);\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function (html) {\n $wrapper.html(html);\n\n var $list = $('.x-wishlist-list', $wrapper);\n var $items = $('.wishlist-item', $list);\n\n if ($items.length > 3) {\n $list.cycle({\n slides: '> li',\n fx: 'carousel',\n timeout: 0,\n prev: '.x-wishlist-widget .nav-btn.prev-vertical',\n next: '.x-wishlist-widget .nav-btn.next-vertical',\n log: false,\n carouselVertical: true,\n carouselVisible: 3,\n allowWrap: false,\n disabledClass: 'disabled'\n });\n $('.nav-btn', $wrapper).show().css(\"display\", \"block\");\n }\n\n if (openWidget) {\n $('html, body').animate({ scrollTop: $wrapper.offset().top }, 600);\n wrapper.open();\n }\n }; \n\n $wrapper.on('click', '.js-remove', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n var $item = $this.closest('.wishlist-item');\n var id = $item.data('identifier');\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.Remove(id));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistWidget, false));\n });\n\n /*\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n\n if ($this.hasClass('x-open')) {\n wrapper.close();\n } else {\n wrapper.open();\n }\n });\n */\n\n $wrapper.on('click', '.js-move-to-cart', function (e) {\n e.preventDefault();\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.MoveAllToCart());\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistWidget, false));\n });\n\n $wrapper.on('click', function (e) {\n e.stopPropagation();\n });\n\n $wrapper.AddToWishlistSuccess = function (envelope) {\n var response = envelope.message.data;\n\n if (response.code === \"RequiresAuthenticationError\") {\n toastr.warning(response.data.ErrorMessage, \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n setTimeout(function () {\n $(\".x-login-widget .js-widget-trigger\").trigger('click');\n }, 500);\n\n setTimeout(function () {\n $(\".x-login-widget .x-login-form input[name ='username']\").focus();\n }, 900);\n } else {\n /* Track Add To Wishlist */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'AddToWishlist');\n }\n }\n /* END Track Add To Wishlist */\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToWishlist\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n }\n };\n\n $wrapper.RemoveFromWishlistSuccess = function (envelope) {\n var response = envelope.message.data;\n\n if (response.code === \"RequiresAuthenticationError\") {\n toastr.warning(response.data.ErrorMessage, \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n setTimeout(function () {\n $(\".x-login-widget .js-widget-trigger\").trigger('click');\n }, 500);\n\n setTimeout(function () {\n $(\".x-login-widget .x-login-form input[name ='username']\").focus();\n }, 900);\n } else {\n /* Track Remove From Wishlist */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'RemoveFromWishlist');\n }\n }\n /* END Track Remove From Wishlist */\n toastr.success(LhApp.Function.getText(\"Common:ProductRemovedFromWishlist\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n }\n };\n\n $('body').on('click', function (e) {\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Changed, wrapper, function (envelope) {\n model = envelope.message.data;\n wrapper.update();\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.WishlistWidget) {\n wrapper.close();\n }\n });\n\n // TODO: Review\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.OpenWidget, wrapper, function (envelope) {\n if (envelope.message.data.widgetName === Vendd.Widget.WishlistWidget) {\n if (envelope.message.data.immediate === true)\n wrapper.open();\n else\n openWidget = true; // the next refresh will open it\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.AddSuccess, wrapper, $wrapper.AddToWishlistSuccess);\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.RemoveSuccess, wrapper, $wrapper.RemoveFromWishlistSuccess);\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, wrapper, function (envelope) {\n\n var isB2B = envelope.message.data.model.IsB2BUser;\n var isAuthenticated = envelope.message.data.model.IsAuthenticated\n\n if (isB2B && isAuthenticated && venddProjectConfigs.SiteIsLocked) {\n $wrapper.removeClass('site-is-locked');\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.GetModel());\n }\n });\n});\n\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-searchbox.elastic');\n\n if ($wrapper.length < 1)\n return;\n\n $.each($wrapper, function (i, wrapper) {\n var $wrapper = $(wrapper);\n\n var $input = $('.js-keyword', $wrapper);\n $input.val(\"\");\n var $button = $('.js-submit', $wrapper);\n var $toggleButton = $('.js-search-toggle', $wrapper);\n var $closeButton = $('.js-search-close', $wrapper);\n var minLength = $wrapper.data('min-search-length');\n var pdPageSize = $wrapper.data('pd-page-size');\n var catPageSize = $wrapper.data('cat-page-size');\n var artPageSize = $wrapper.data('art-page-size');\n var filtered = $wrapper.data('product-categories-filter');\n var showOnlyProducts = $wrapper.data('only-products');\n var mask = $wrapper.data('mask');\n var lazyLoadPrices = $wrapper.data('lazyload-prices');\n if (typeof lazyLoadPrices === 'string') {\n lazyLoadPrices = lazyLoadPrices.trim().toLowerCase() === 'true';\n }\n var ajax = $wrapper.data('ajax');\n if (typeof ajax === 'string')\n ajax = ajax.trim().toLowerCase() === 'true';\n var lazy = false;\n\n var $category, $elastic;\n var model = {};\n\n var searchTerm = \"\"; pdPageNum = 1, pdPageStart = 0, pdFirstShown = 0, pdLastShown = 0, catPageNum = 1, catFirstShown = 0, catLastShown = 0,\n catPageStart = 0, artPageNum = 1, artPageStart = 0, artFirstShown = 0, artLastShown = 0, scrollToPd = false, scrollToCat = false, scrollToArt = false;\n\n if (ajax) {\n $elastic = $(\".x-elastic-results-list\", $wrapper);\n\n if ($elastic.length <= 0)\n throw 'Error: Elastic List does not exist';\n\n lazy = $elastic.data(\"lazy-load-init\");\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetCategoryElasticResultsFailed, wrapper, function (envelope) {\n model.categories = null;\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed, wrapper, function (envelope) {\n model.products = null;\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetArticleElasticResultsFailed, wrapper, function (envelope) {\n model.article = null;\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetCategoryElasticResultsSuccess, wrapper, function (envelope) {\n model.categories = envelope.message.data.model;\n wrapper.render();\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess, wrapper, function (envelope) {\n model.products = envelope.message.data.model;\n wrapper.render();\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetArticleElasticResultsSuccess, wrapper, function (envelope) {\n model.articles = envelope.message.data.model;\n wrapper.render();\n });\n }\n\n wrapper.render = function () {\n if (!model.categories) return;\n if (!model.products) return;\n if (!model.articles) return;\n\n //check if current user has custom prices\n var currentUser = Vendd.User && Vendd.User.GetClientModel();\n var customPrices = currentUser && currentUser.HasCustomPrices;\n lazyLoadPrices = lazyLoadPrices || customPrices;\n\n if (lazyLoadPrices && model.products && model.products.hits.hits.length > 0) {\n var items = _.pluck(_.pluck(model.products.hits.hits, '_source'), 'VariantId');\n var obj = {\n itemIds: items,\n fetchPrices: true,\n fetchAvailabilities: false,\n fetchStock: false\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetClientProductListData(obj));\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrapper, function (envelope) {\n var result = JSON && JSON.parse(envelope.message.data) || $.parseJSON(envelope.message.data);\n var b2bModel = result.B2B;\n var shouldHidePrices = b2bModel && b2bModel.DisplayOptions && b2bModel.DisplayOptions.ShouldHidePrice;\n\n //extend model\n model.b2b = _.extend({}, b2bModel);\n model.LazyLoadPrices = true;\n\n if (!shouldHidePrices) {\n var modelWithPrices = _.each(model.products.hits.hits, function (obj) {\n var selectedProduct = _.find(result.Products, function (x) { return obj._source.VariantId === x.VariantId; });\n if (selectedProduct) _.extend(obj._source, selectedProduct.Prices);\n });\n _.extend(model.products.hits.hits, modelWithPrices);\n }\n\n wrapper.bind();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n\n setTimeout(function () { $elastic.removeClass('loading'); }, 50);\n\n Vendd.MessageBus.unsubscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrapper);\n\n /* Track Search & SearchTerm */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: searchTerm });\n }\n }\n /* END Track Search & SearchTerm */\n });\n\n } else {\n\n wrapper.bind();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n\n if (model.categories.hits.hits.length < 1 && model.products.hits.hits.length < 1 && model.articles.hits.hits.length < 1)\n $('.no-results.results', $elastic).addClass('visible');\n\n setTimeout(function () { $elastic.removeClass('loading'); }, 50);\n\n /* Track Search & SearchTerm */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: searchTerm });\n }\n }\n /* END Track Search & SearchTerm */\n }\n };\n\n wrapper.bind = function () {\n var html = Vendd.Handlebars.parse(\"elasticResultList_A\", model);\n $elastic.html(html);\n\n Vendd.MessageBus.publishAsync($elastic.get(0), new Vendd.Widget.Messages.BindControl($elastic));\n\n wrapper.pdPaging();\n wrapper.catPaging();\n wrapper.artPaging();\n\n wrapper.showList(true);\n wrapper.loading(false);\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading').addClass('x-disabled');\n } else {\n $wrapper.removeClass('x-loading').removeClass('x-disabled');\n }\n };\n\n wrapper.clearValue = function () {\n $input.val(\"\");\n };\n\n wrapper.checkSearchTerm = function () {\n return /[a-zα-ωάέήίόύώϊϋΐΰςа-я0-9]+/i.test(searchTerm);\n };\n\n wrapper.showList = function (show) {\n if (ajax && $elastic.length > 0) {\n if (show) {\n $('html').addClass('no-scroll');\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n $elastic.addClass('js-visible');\n $wrapper.addClass('overlaid');\n //$wrapper.addClass('expanded');\n $('.header-region').addClass('active clean-zindex');\n $(\".header-overlay\").addClass(\"active\");\n setTimeout(function () { calculateSearchHeight(); }, 150);\n } else {\n $('html').removeClass('no-scroll');\n $('.header-region').removeClass('active clean-zindex');\n $('.header-overlay').removeClass('active');\n $wrapper.removeClass('overlaid');\n //$wrapper.removeClass('expanded');\n $elastic.removeClass('js-visible');\n }\n }\n };\n\n wrapper.pdPaging = function () {\n var pdCont = $('.elastic-area.products', $elastic);\n var pdTotal = pdCont.data('total');\n\n if (scrollToPd) {\n $(\".result-list-wrapper\", $elastic).animate({ scrollTop: pdCont.offset().top - $(\".result-list-wrapper\", $elastic).offset().top }, 1);\n }\n\n if (pdTotal > pdPageSize) {\n $('.prev-btn', pdCont).removeClass('hidden');\n $('.next-btn', pdCont).removeClass('hidden');\n }\n\n if (pdPageStart <= 0) {\n $('.prev-btn', pdCont).addClass('disabled');\n }\n\n if ((pdPageStart + pdPageSize) >= pdTotal) {\n $('.next-btn', pdCont).addClass('disabled');\n if (pdTotal > pdPageSize) {\n pdFirstShown = pdPageStart + 1;\n pdLastShown = pdTotal;\n $('.js-pd-info', pdCont).append(\", \" + pdCont.data('fromtext') + \" \" + pdFirstShown + \" \" + pdCont.data('totext') + \" \" + pdLastShown + \"\");\n }\n }\n\n if (((pdPageStart + pdPageSize) < pdTotal) && (pdTotal > pdPageSize)) {\n pdFirstShown = pdPageStart + 1;\n pdLastShown = pdPageStart + pdPageSize;\n $('.js-pd-info', pdCont).append(\", \" + pdCont.data('fromtext') + \" \" + pdFirstShown + \" \" + pdCont.data('totext') + \" \" + pdLastShown + \"\");\n }\n\n $('.prev-btn', pdCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n pdPageStart -= pdPageSize;\n pdPageNum--;\n scrollToPd = true;\n scrollToCat = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetProductElasticResults(searchTerm, pdPageNum, pdPageSize));\n } else {\n scrollToPd = false;\n }\n });\n\n $('.next-btn', pdCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n pdPageStart += pdPageSize;\n pdPageNum++;\n scrollToPd = true;\n scrollToCat = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetProductElasticResults(searchTerm, pdPageNum, pdPageSize));\n } else {\n scrollToPd = false;\n }\n\n });\n\n $('.js-show-elastic-results', pdCont).click(function (e) {\n e.preventDefault;\n wrapper.submit();\n });\n };\n\n wrapper.catPaging = function () {\n var catCont = $('.elastic-area.categories', $elastic);\n var catTotal = catCont.data('total');\n\n if (scrollToCat) {\n $(\".result-list-wrapper\", $elastic).animate({ scrollTop: catCont.offset().top - $(\".result-list-wrapper\", $elastic).offset().top }, 1);\n }\n\n if (catTotal > catPageSize) {\n $('.prev-btn', catCont).removeClass('hidden');\n $('.next-btn', catCont).removeClass('hidden');\n }\n\n if (catPageStart <= 0) {\n $('.prev-btn', catCont).addClass('disabled');\n }\n\n if ((catPageStart + catPageSize) >= catTotal) {\n $('.next-btn', catCont).addClass('disabled');\n if (catTotal > catPageSize) {\n catFirstShown = catPageStart + 1;\n catLastShown = catTotal;\n $('.js-cat-info', catCont).append(\", \" + catCont.data('fromtext') + \" \" + catFirstShown + \" \" + catCont.data('totext') + \" \" + catLastShown + \"\");\n }\n }\n\n if (((catPageStart + catPageSize) < catTotal) && (catTotal > catPageSize)) {\n catFirstShown = catPageStart + 1;\n catLastShown = catPageStart + catPageSize;\n $('.js-cat-info', catCont).append(\", \" + catCont.data('fromtext') + \" \" + catFirstShown + \" \" + catCont.data('totext') + \" \" + catLastShown + \"\");\n }\n\n $('.prev-btn', catCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n catPageStart -= catPageSize;\n catPageNum--;\n scrollToCat = true;\n scrollToPd = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetCategoryElasticResults(searchTerm, catPageNum, catPageSize));\n } else {\n scrollToCat = false;\n }\n });\n\n $('.next-btn', catCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n catPageStart += catPageSize;\n catPageNum++;\n scrollToCat = true;\n scrollToPd = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetCategoryElasticResults(searchTerm, catPageNum, catPageSize));\n } else {\n scrollToCat = false;\n }\n });\n };\n\n wrapper.artPaging = function () {\n var artCont = $('.elastic-area.articles', $elastic);\n var artTotal = artCont.data('total');\n\n if (scrollToArt) {\n $(\".result-list-wrapper\", $elastic).animate({ scrollTop: artCont.offset().top - $(\".result-list-wrapper\", $elastic).offset().top }, 1);\n }\n\n if (artTotal > artPageSize) {\n $('.prev-btn', artCont).removeClass('hidden');\n $('.next-btn', artCont).removeClass('hidden');\n }\n\n if (artPageStart <= 0) {\n $('.prev-btn', artCont).addClass('disabled');\n }\n\n if ((artPageStart + artPageSize) >= artTotal) {\n $('.next-btn', artCont).addClass('disabled');\n if (artTotal > artPageSize) {\n artFirstShown = artPageStart + 1;\n artLastShown = artTotal;\n $('.js-art-info', artCont).append(\", \" + artCont.data('fromtext') + \" \" + artFirstShown + \" \" + artCont.data('totext') + \" \" + artLastShown + \"\");\n }\n }\n\n if (((artPageStart + artPageSize) < artTotal) && (artTotal > artPageSize)) {\n artFirstShown = artPageStart + 1;\n artLastShown = artPageStart + artPageSize;\n $('.js-art-info', artCont).append(\", \" + artCont.data('fromtext') + \" \" + artFirstShown + \" \" + artCont.data('totext') + \" \" + artLastShown + \"\");\n }\n\n $('.prev-btn', artCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n artPageStart -= artPageSize;\n artPageNum--;\n scrollToArt = true;\n scrollToPd = false;\n scrollToCat = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetArticleElasticResults(searchTerm, artPageNum, artPageSize));\n } else {\n scrollToArt = false;\n }\n });\n\n $('.next-btn', artCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n artPageStart += artPageSize;\n artPageNum++;\n scrollToArt = true;\n scrollToPd = false;\n scrollToCat = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetArticleElasticResults(searchTerm, artPageNum, artPageSize));\n } else {\n scrollToArt = false;\n }\n\n });\n };\n\n wrapper.submit = function () {\n var searchTerm = $input.val();\n var targetUrl = mask.replace(\"((search))\", encodeURIComponent(searchTerm));\n if (showOnlyProducts)\n targetUrl = targetUrl.replace('/search/', '/search-products/');\n\n document.location = targetUrl;\n };\n\n wrapper.expand = function () {\n if ($wrapper.hasClass('expanded')) {\n $wrapper.removeClass('expanded');\n $button.trigger('click');\n } else {\n //$wrapper.addClass('expanded');\n $input.focus();\n if ($input.val().length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n }\n }\n\n };\n\n $input.keyup($.debounce(500, function (e) {\n if (searchTerm != $input.val()) {\n searchTerm = $input.val();\n pdPageNum = 1;\n pdPageStart = 0;\n scrollToPd = false;\n catPageStart = 0;\n catPageNum = 1;\n scrollToCat = false;\n artPageStart = 0;\n artPageNum = 1;\n scrollToArt = false;\n if (searchTerm.length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.loading(true);\n wrapper.showList(true);\n model.products = null;\n model.categories = null;\n model.articles = null;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetArticleElasticResults(searchTerm, artPageNum, artPageSize));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetCategoryElasticResults(searchTerm, catPageNum, catPageSize));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetProductElasticResults(searchTerm, pdPageNum, pdPageSize));\n }\n } else {\n wrapper.showList(false);\n }\n }\n }));\n\n $input.keyup(function (e) {\n if (e.keyCode === 13 && $input.val().length >= minLength && wrapper.checkSearchTerm()) {\n wrapper.submit();\n }\n if (searchTerm == $input.val()) {\n $elastic.removeClass('loading');\n }\n else {\n $elastic.addClass('loading');\n }\n });\n\n $input.click(function (e) {\n if (searchTerm.length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n } else {\n wrapper.showList(false);\n }\n });\n\n $toggleButton.click(function (e) {\n wrapper.expand();\n });\n\n $closeButton.click(function (e) {\n if ($wrapper.hasClass('overlaid')) {\n wrapper.showList(false);\n } else {\n if ($input.val().length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n }\n }\n });\n\n $button.click(function (e) {\n e.preventDefault();\n if ($wrapper.hasClass('overlaid')) {\n wrapper.showList(false);\n } else {\n if ($input.val().length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n }\n $input.focus();\n }\n });\n\n $('.header-overlay').on('click', function () {\n if ($wrapper.hasClass('overlaid')) {\n $wrapper.removeClass('expanded');\n wrapper.showList(false);\n }\n });\n\n $(document).keyup(function (e) {\n if (e.keyCode == 27 && $wrapper.hasClass('overlaid')) {\n $wrapper.removeClass('expanded');\n wrapper.showList(false);\n }\n });\n\n $('.esat-bar').on('click', function () {\n if ($wrapper.hasClass('overlaid')) {\n setTimeout(function () {\n calculateSearchHeight();\n }, 100);\n }\n });\n\n });\n\n});\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-searchbox');\n\n if ($wrapper.length < 1 || $wrapper.hasClass('elastic'))\n return;\n\n $.each($wrapper, function (i, wrapper) {\n var $wrapper = $(wrapper);\n\n var lookup = true;\n var $input = $('.js-keyword', $wrapper);\n var $button = $('.js-submit', $wrapper);\n var toggleButton = $('.js-search-toggle', $wrapper);\n \n var minLength = $wrapper.data('min-search-length');\n var filtered = $wrapper.data('product-categories-filter');\n var mask = $wrapper.data('mask'); \n var showOnlyProducts = $wrapper.data('only-products'); \n var ajax = $wrapper.data('ajax');\n if (typeof (ajax) == 'string')\n ajax = $wrapper.data('ajax').toLowerCase() === 'true';\n var lazy = false;\n\n var $category, $suggestive;\n var model = null;\n\n if (filtered) {\n $category = $('.js-search-category', $wrapper);\n\n $category.change(function (e) {\n if (ajax) {\n wrapper.showList(false);\n };\n\n wrapper.clearValue();\n });\n };\n\n if (ajax) {\n $suggestive = $(\".x-suggestive-results-list\", $wrapper);\n\n if ($suggestive.length <= 0)\n throw 'Error: Suggestive List does not exist';\n\n lazy = $suggestive.data(\"lazy-load-init\");\n\n \t//Vendd.MessageBus.subscribe(Vendd.Search.Messages.GetProductSuggestiveResultsFailed, wrapper, function (envelope) {\n \tVendd.MessageBus.subscribe(Vendd.Search.Messages.GetSuggestiveResultsFailed, wrapper, function (envelope) {\n wrapper.loading(false);\n });\n \t\n \t//Vendd.MessageBus.subscribe(Vendd.Search.Messages.GetProductSuggestiveResultsSuccess, wrapper, function (envelope) {\n \tVendd.MessageBus.subscribe(Vendd.Search.Messages.GetSuggestiveResultsSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n\n /* Track Search & SearchTerm */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: $input });\n }\n }\n /* END Track Search & SearchTerm */\n\n if (showOnlyProducts) {\n model = wrapper.transformData(model);\n mask = model.SearchProductsUrl; // SOS has been add to change to url from Search to Search Products\n }\n var html = Vendd.Handlebars.parse(\"suggestiveResultList_A\", model);\n\n \t$suggestive.html(html); \n\n wrapper.showList(true);\n wrapper.loading(false);\n });\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading').addClass('x-disabled');\n } else {\n $wrapper.removeClass('x-loading').removeClass('x-disabled');\n };\n };\n\n wrapper.clearValue = function () {\n $input.val(\"\");\n };\n\n wrapper.showList = function (show) {\n if (ajax && $suggestive.length > 0) {\n if (show) {\n $suggestive.addClass(\"js-visible\");\n $('.site-overlay').addClass('visible');\n } else {\n $suggestive.removeClass(\"js-visible\");\n $('.site-overlay').removeClass('visible');\n };\n }\n };\n\n wrapper.submit = function () {\n if (mask == '')\n return;\n\n var text = $input.val();\n var targetUrl = mask.replace(\"((search))\", text);\n if (showOnlyProducts)\n targetUrl = targetUrl.replace('/search/', '/search-products/');\n\n if (filtered) {\n var categoriesFilter = $category.val() ? $category.val() : \"\";\n\n if (categoriesFilter !== \"\") {\n targetUrl = targetUrl.replace(\"((category))\", categoriesFilter);\n } else {\n targetUrl = LhApp.Function.Url.removeParameterFromUrl(targetUrl, 'Category'); // chriss TODO\n }\n }\n\n document.location = targetUrl;\n };\n\n wrapper.expand = function () {\n if ($wrapper.hasClass('expanded')) {\n $wrapper.removeClass('expanded');\n } else {\n $wrapper.addClass('expanded');\n $input.focus();\n }\n\n };\n\n $button.click(function (e) {\n if ($input.val().length >= minLength && lookup) {\n e.preventDefault();\n\n wrapper.loading(true);\n wrapper.submit();\n };\n });\n\n toggleButton.click(function (e) {\n wrapper.expand();\n });\n \n $input.keyup($.debounce(850, function (e) {\n var searchTerm = $input.val();\n var category = filtered ? $category.val() : \"\";\n\n if ($input.val().length >= minLength) {\n if (ajax) {\n wrapper.loading(true);\n wrapper.showList(true);\n \n //Vendd.MessageBus.publishAsync(wrapper, new Vendd.Search.Messages.GetProductSuggestiveResults(searchTerm, 200));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Search.Messages.GetSuggestiveResults(searchTerm, category));\n };\n } else {\n wrapper.showList(false);\n };\n }));\n\n $input.keyup(function (e) {\n if (e.keyCode === 13) {\n e.stopPropagation();\n e.preventDefault();\n\n $button.trigger(\"click\");\n };\n });\n /*\n $wrapper.hover(\n function () {\n if ($input.val().length >= minLength && ajax) {\n wrapper.showList(true);\n } else {\n wrapper.showList(false);\n }\n },\n function () {\n wrapper.showList(false);\n }\n );\n */\n\n var hideEvent;\n var delay = isTouch() ? 0 : 200;\n $wrapper.hover(\n function () {\n clearTimeout(hideEvent);\n if ($input.val().length >= minLength && ajax) {\n wrapper.showList(true);\n } else {\n wrapper.showList(false);\n }\n },\n function () {\n hideEvent = setTimeout(function () {\n wrapper.showList(false);\n }, delay);\n }\n );\n \n toggleButton.hover(\n function (e) {\n e.stopPropagation();\n wrapper.showList(false);\n },\n function () {\n if ($input.val().length >= minLength && ajax) {\n if ($wrapper.is(':hover')) {\n wrapper.showList(true);\n }\n }\n }\n );\n \n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n $wrapper.removeClass('expanded');\n }\n });\n\n wrapper.transformData = function (model) {\n if (!model) return model;\n if (model.Products && model.Products.length > 5) {\n model.Products.splice(5, model.Products.length);\n model.MoreProducts = true;\n }\n if (model.Manufacturers && model.Manufacturers.length > 0) {\n model.Manufacturers = null;\n model.ManufacturersCount = 0;\n }\n if (model.Categories && model.Categories.length > 0) {\n model.Categories = null;\n model.CategoriesCount = 0;\n }\n if (model.Categories && model.Categories.length > 9) {\n \tmodel.Categories.splice(9, model.Categories.length);\n \tmodel.CategoriesCount = 9;\n \tmodel.MoreCategories = true;\n }\n\n model.ItemsCount = model.ProductsCount;// + model.CategoriesCount;\n return model;\n }\n });\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-productcompare-widget');\n $wrapper.attr('data-template', '2');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, loaded = false, openWidget = false;\n\n var lazyLoadPrices = $wrapper.data('lazyload-prices');\n if (typeof lazyLoadPrices === 'string') {\n lazyLoadPrices = lazyLoadPrices.trim().toLowerCase() === 'true';\n }\n\n wrapper.open = function () {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n openWidget = false;\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded'); \n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.extendModel = function () {\n if (window.B2BModel === undefined) return;\n _.extend(model, window.B2BModel);\n };\n\n wrapper.minimalUpdate = function () {\n if (model.ProductsCount > 0) {\n $('.number', $wrapper).text(model.ProductsCount);\n $('.js-widget-trigger', $wrapper).addClass('has-items');\n } else if (model.ProductsCount == 0) {\n $('.number', $wrapper).text('');\n $('.js-widget-trigger', $wrapper).removeClass('has-items');\n }\n\n if (loaded && !$('.js-widget-trigger', $wrapper).hasClass('x-open')) {\n loaded = false;\n $('.js-widget-container', $wrapper).empty();\n }\n };\n\n\n wrapper.update = function () {\n wrapper.loading(true);\n\n if (model.ProductsCount >= 5) {\n model.MaxProductsExceeded = true;\n } else {\n model.MaxProductsExceeded = false;\n }\n\n var html = Vendd.Handlebars.parse(\"productCompareWidget_B\", model);\n wrapper.bind(html);\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function (html) {\n $('.js-widget-container', $wrapper).html(html);\n\n var $list = $('.x-productcompare-list', $wrapper);\n var $items = $('.productcompare-item', $list);\n\n //init scrollbar\n if (!isTouch()) {\n $list.mCustomScrollbar({\n scrollbarPosition: \"inside\",\n scrollInertia: 400,\n timeout: 1000,\n theme: \"light\",\n mouseWheel: { preventDefault: true }\n });\n }\n //init fancybox\n $(\".btn-productcompare.pop-up\", $wrapper).fancybox({\n smallBtn: true,\n toolbar: false,\n baseClass: \"compare-pop-up\",\n afterShow: function () {\n $('html').addClass('hide-sticky-btns');\n }\n });\n\n if (openWidget) wrapper.open();\n };\n\n $wrapper.on('click', '.js-remove', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n var $item = $this.closest('.productcompare-item');\n var id = $item.data('identifier');\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.Remove(id));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n });\n\n $wrapper.on('click', '.js-remove-all', function (e) {\n e.preventDefault();\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.Clear());\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n });\n\n //On click Compare Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if (model === null) return;\n\n if ($(this).hasClass('x-open')) {\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n } else {\n if (!loaded) {\n wrapper.extendModel();\n wrapper.update();\n loaded = true;\n }\n $('html, body').addClass('no-scroll');\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n $('.header-region').addClass('clean-zindex');\n $('.header-overlay').addClass('visible');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.loading(false);\n wrapper.open();\n }\n\n });\n\n //On click Close Button inside Compare Widget\n $wrapper.on('click', '.close-button', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n //On click outside Compare Widget\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.ProductCompareAdded, wrapper, function (envelope) {\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCompare\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.ProductCompareRemoved, wrapper, function (envelope) {\n toastr.success(LhApp.Function.getText(\"Common:ProductRemovedFromCompare\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.Changed, wrapper, function (envelope) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetWidgetModelSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n wrapper.extendModel();\n wrapper.minimalUpdate();\n\n if (loaded) {\n\n //check if current user has custom prices\n var currentUser = Vendd.User && Vendd.User.GetClientModel();\n var customPrices = currentUser && currentUser.HasCustomPrices;\n lazyLoadPrices = lazyLoadPrices || customPrices;\n\n if (lazyLoadPrices && model.Items.length > 0) {\n var items = _.pluck(model.Items, 'VariantId');\n var obj = {\n itemIds: items,\n fetchPrices: true,\n fetchAvailabilities: false,\n fetchStock: false\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetClientProductListData(obj));\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrapper, function (envelope) {\n var result = JSON && JSON.parse(envelope.message.data) || $.parseJSON(envelope.message.data);\n var modelWithPrices = _.each(model.Items, function (obj) {\n var selectedProduct = _.find(result.Products, function (x) { return obj.VariantId === x.VariantId; });\n if (selectedProduct) {\n obj.Prices.DeletedPrice = selectedProduct.Prices.Price.DeletedPrice;\n obj.Prices.DeletedPriceWithoutVat = selectedProduct.Prices.Price.DeletedPriceWithoutVat;\n obj.Prices.UnitPrice = selectedProduct.Prices.Price.CurrentPrice;\n obj.Prices.UnitPriceWithoutVat = selectedProduct.Prices.Price.CurrentPriceWithoutVat;\n }\n });\n _.extend(model.Items, modelWithPrices);\n\n wrapper.update();\n Vendd.MessageBus.unsubscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrapper);\n });\n } else {\n wrapper.update();\n }\n }\n\n if ($wrapper.hasClass('x-loading')) $('.js-widget-trigger', $wrapper).trigger(\"click\");\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.ProductCompareWidget) {\n wrapper.close();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.OpenWidget, wrapper, function (envelope) {\n if (envelope.message.data.widgetName === Vendd.Widget.ProductCompareWidget) {\n if (envelope.message.data.immediate === true)\n wrapper.open();\n else\n openWidget = true; // the next refresh will open it\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, wrapper, function (envelope) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, wrapper, function (envelope) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n });\n\n //keep last in component's code\n (function () {\n var defaultCallExecuted;\n function defaultCall() {\n if (Vendd.User.SessionState && !defaultCallExecuted) {\n defaultCallExecuted = true;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n }\n }\n defaultCall();\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, wrapper, function (envelope) {\n defaultCall();\n });\n })();\n});\n\n","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrappers = $('.x-lazy-html-area');\n\n var $configuration, configurations = [],\n currentitemid = 0;\n var model = null;\n var wrappers = $wrappers;\n\n if ($wrappers.length < 1)\n return;\n\n if (LhApp.Context.Item.Id !== undefined && LhApp.Context.Item.Id > 0)\n currentitemid = LhApp.Context.Item.Id;\n\n for (var i = 0; i < wrappers.length; i++) {\n var wrpr = wrappers[i];\n\n $configuration = $('.configuration', wrpr);\n\n configurations.push({\n configCode: $configuration.data(\"code\"),\n templateCode: $configuration.data(\"template\"),\n entityCode: $configuration.data(\"entity\"),\n itemId: currentitemid,\n nodeId: $configuration.data(\"node-id\"),\n nodePath: $configuration.data(\"node-path\"),\n htmlTemplate: $configuration.data(\"html\")\n });\n\n $configuration.remove();\n }\n\n $.each($wrappers, function (i, wrpr) {\n var $this = $(wrpr);\n\n wrpr.loading = function loading(loading) {\n if (loading) {\n $this.addClass('x-loading');\n } else {\n $this.removeClass('x-loading');\n };\n };\n\n wrpr.update = function update() {\n wrpr.loading(true);\n\n var html = Vendd.Handlebars.parse(configurations[0].htmlTemplate, model);\n wrpr.bind(html);\n\n Vendd.MessageBus.publish(wrpr, new Vendd.Widget.Messages.BindControl($(wrpr)));\n wrpr.loading(false);\n };\n\n wrpr.bind = function bind(html) {\n $this.html(html);\n\n if (configurations[0].htmlTemplate == \"bannerList_A\")\n initOwlSlider($('> ul', $(this)), {\n items: 3,\n itemsDesktop: [1199, 3],\n itemsDesktopSmall: [959, 3],\n itemsTablet: [768, 2],\n itemsMobile: [479, 1]\n });\n };\n });\n\n Vendd.MessageBus.subscribe(Vendd.LazyHtmlArea.Messages.LazyHtmlAreaSuccess, wrappers.get(0), function (envelope) {\n var innerWrapper = wrappers.get(0);\n var config = configurations[0];\n\n if (innerWrapper) {\n model = envelope.message.data.model;\n innerWrapper.update();\n\n removeConfiguration(innerWrapper, config);\n }\n if (wrappers.length < 1 || configurations.length < 1) return;\n\n Vendd.MessageBus.publishAsync(wrappers.get(0), new Vendd.LazyHtmlArea.Messages.GetLazyHtmlArea(configurations[0]));\n });\n\n function removeConfiguration(innerwrapper, config) {\n\n if (wrappers.length > 0) {\n wrappers = wrappers.slice(1);\n }\n\n if (configurations.length > 0) {\n var configIndex = configurations.indexOf(config);\n configurations.splice(configIndex, 1);\n }\n };\n\n //keep last in component's code\n (function () {\n var defaultCallExecuted;\n function defaultCall() {\n if (Vendd.User.SessionState && !defaultCallExecuted) {\n defaultCallExecuted = true;\n Vendd.MessageBus.publishAsync(wrappers.get(0), new Vendd.LazyHtmlArea.Messages.GetLazyHtmlArea(configurations[0]));\n }\n }\n defaultCall();\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, wrappers.get(0), function (envelope) {\n defaultCall();\n });\n })();\n\n});","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.x-cookie-acceptance');\n\n if ($wrapper.length < 1 || LhApp.Context.IsConsentsEnabled)\n return;\n\n if (Cookies.get('cookiesAcceptance'))\n return;\n\n $wrapper.addClass('visible');\n\n $wrapper.on('click', '.js-accept', function (e) {\n e.preventDefault();\n Cookies.set('cookiesAcceptance', 'true', { expires: 30, samesite: 'Lax' });\n $wrapper.removeClass('visible');\n });\n\n});","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-disqus-widget', function (envelope) {\n\n var $context = envelope.message.data.context,\n \t$wrapper = $('.x-disqus-widget');\n\n if ($wrapper.length < 1)\n return;\n\n var identifier = $wrapper.data('disqus-id');\n var disqusUrl = $wrapper.data('disqus-url');\n \n if (window.DISQUS) {\n //if Disqus exists, call it's reset method with new parameters\n DISQUS.reset({\n reload: true,\n config: function () {\n this.page.identifier = identifier;\n this.page.url = url;\n }\n });\n } else {\n $('
    ').appendTo($('.x-disqus-widget'));\n \n Vendd.User.AuthProviders.disqus.init($wrapper, identifier, disqusUrl);\n }\n\n if (!Vendd.User.AuthProviders.disqus)\n throw new Error('Disqus vendd auth provider not found');\n\n });\n});","Vendd.Scripts.load(function () {\n\n initFaq();\n\n //faqNumber();\n function faqNumber() {\n var i = 1;\n $('.x-faq-list li').each(function () {\n $(this).find('.number').html(i + '.');\n i++;\n });\n }\n\n function initFaq() {\n var $wrapper = $('.x-faq-list');\n\n if ($wrapper.length < 1) {\n return;\n }\n\n var $question = $('.question', $wrapper);\n\n $question.click(function (e) {\n\n if (!$(this).siblings('.answer').hasClass('active')) {\n\n $('.active', $wrapper).stop(true, true).slideUp(200).removeClass('active').siblings().removeClass('open-faq icon-arrow-up').addClass('icon-arrow-down');\n\n $(this).siblings('.answer').addClass('active').stop(true, true).slideDown(200);\n\n $(this).addClass('open-faq icon-arrow-up').removeClass('icon-arrow-down').stop(true, true).slideDown(200);\n\n } else {\n\n $('.active', $wrapper).stop(true, true).slideUp(200).removeClass('active');\n\n $(this).removeClass('open-faq icon-arrow-up').addClass('icon-arrow-down').stop(true, true).slideDown(200);\n\n }\n\n });\n }\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.js-custom-form');\n\n if ($wrapper.length <= 0)\n return;\n\n var checkConsents = function () {\n var data = [];\n\n var checkboxes = $('.form-row.consent.checkbox', $wrapper);\n $.each(checkboxes, function (e, el) {\n var chkbx = $('.checkbox-wrapper input', el);\n data.push({ type: chkbx.attr('id'), source: 'Custom Form Page', approved: chkbx.prop(\"checked\") });\n });\n\n if (data.length > 0) {\n window.ConsentsManager.insertConsents(data);\n } else {\n submit();\n }\n };\n\n Vendd.MessageBus.subscribe(Vendd.CustomForms.Messages.SubmitSuccess, Vendd.CustomForms, function (envelope) {\n $(\".error-container\", $wrapper).html(\"\");\n $(\".response-container\", $wrapper).html(\"\");\n var response = envelope.message.data;\n if (!response.Success) {\n $.each(response.Errors, function (i, el) {\n $(\".error-container\", $wrapper).append($(\"

    \" + el + \"

    \"));\n });\n } else {\n if (response.IsSaved) {\n $(\".response-container\", $wrapper).append($(\"

    Data Saved

    \"));\n }\n if (response.IsSend) {\n $(\".response-container\", $wrapper).append($(\"

    Data Send

    \"));\n }\n }\n });\n\n var submit = function () {\n \n var code = $wrapper.data(\"code\");\n var model = $(\"form\", $wrapper).serializeFormJSON();\n var data = { model: model, code: code };\n\n Vendd.MessageBus.publishAsync('CustomForm', new Vendd.CustomForms.Messages.Submit(data));\n };\n\n (function ($) {\n $.fn.serializeFormJSON = function () {\n\n var o = {};\n var a = this.serializeArray();\n $.each(a, function () {\n if (o[this.name]) {\n if (!o[this.name].push) {\n o[this.name] = [o[this.name]];\n }\n o[this.name].push(this.value || '');\n } else {\n o[this.name] = this.value || '';\n }\n });\n return o;\n };\n })(jQuery);\n\n $('.js-send-custom-form').click(function (e) {\n e.preventDefault();\n\n if (LhApp.Context.IsConsentsEnabled) {\n checkConsents();\n } else {\n submit();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertConsents, $wrapper, submit);\n});","Vendd.Scripts.load(function () {\n\n\tvar $wrappers = $('.js-export-file');\n\n\tif ($wrappers.length < 1) return;\n\n\tinitListingExports();\n\n\tfunction initListingExports() {\n\t\tvar links = $('.js-download-listing', $wrappers);\n\n\t\tlinks.on('click', function (e) {\n\t\t\tvar $this = $(this);\n\t\t\tif (!$this.hasClass('loaded')) {\n\t\t\t\tif ($this.hasClass('loading')) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tvar $container = $this.closest('.js-export-file');\n\t\t\t\tvar data = {\n\t\t\t\t\texportCode: $container.data('export-code') || 'export_default',\n\t\t\t\t\tlistingId: $container.data('listing-id') ? \"\" + $container.data('listing-id') : 'none'\n\t\t\t\t};\n\n\t\t\t\tVendd.MessageBus.publishAsync($container.get(0), new Vendd.Export.Messages.GetListingExport(data));\n\t\t\t\t$container.addClass('called');\n\t\t\t\t$this.addClass('loading');\n\t\t\t}\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.Export.Messages.GetListingExportSuccess, Vendd.Export, function (envelope) {\n\n\t\t\tvar container = $('.js-export-file.called'),\n\t\t\t\tlink = $('.js-download-listing', container);\n\n\t\t\tcontainer.removeClass('called loading');\n\n\t\t\tvar today = new Date(), dd = today.getDate(), mm = today.getMonth() + 1, yyyy = today.getFullYear(),\n\t\t\t\tdata = envelope.message.data, opt = { type: \"application/vnd.ms-excel\" };\n\n\t\t\tif (dd < 10) { dd = '0' + dd; }\n\t\t\tif (mm < 10) { mm = '0' + mm; }\n\t\t\ttoday = dd + '/' + mm + '/' + yyyy;\n\n\t\t\tvar fname = container.data('listing-code') ? (link.html() + '-' + container.data('listing-code') + '.xls') : (link.html() + + '-' + today + '.xls'),\n\t\t\t\tblb = new Blob([toArrayBuffer(data._buffer)], opt), file = new File([blb], fname);\n\n\t\t\tlink.attr('href', URL.createObjectURL(file));\n\t\t\tlink.attr('download', file.name);\n\t\t\tlink.addClass('loaded').removeClass('loading');\n\n\t\t\tlink.get(0).click();\n\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.Export.Messages.GetListingExportFailure, Vendd.Export, function (envelope) {\n\t\t\tlinks.remove();\n\t\t});\n\t};\n\n\n});\n","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $form = $(\".js-email-giftcard-form \");\n if ($form.length < 1)\n return;\n\n var $success = $('.js-success', $form), $error = $('.js-error', $form), $submitButton, $formWrapper;\n var form, rf, valOpts, hasData;\n\n form = $form.get(0);\n $submitButton = $('.js-submit-button', $form);\n $formWrapper = $('.form-wrapper', $form);\n\n form.formData = {\n fromName: $('input[name=\"fromName\"]', $form).val(),\n toName: $('input[name=\"toName\"]', $form).val(),\n email: $('input[name=\"email\"]', $form).val(),\n emailconfirm: $('input[name=\"emailconfirm\"]', $form).val(),\n customText: $('textarea[name=\"customText\"]', $form).val()\n };\n\n \n //Disable the paste from the confirmation email field\n\n $('input[name=\"emailconfirm\"]', $form).bind(\"cut copy paste\",function(e) {\n e.preventDefault();\n });\n\n $form.on('keyup', 'input[name],textarea[name]', function (e) {\n var $this = $(this);\n var fieldName = $this.attr('name');\n\n form.formData[fieldName] = $this.val();\n rf = $form.data('validationEngine');\n rf.validate(fieldName);\n });\n\n $form.on('click', '.giftcard-item', function (e) {\n e.stopPropagation();\n var $this = $(this);\n\n $this.siblings('.active').removeClass('active');\n $this.addClass('active');\n });\n\n $form.on('click', '.js-submit-button', function (e) {\n $form.validationEngine(valOpts);\n rf = $form.data('validationEngine');\n\n e.preventDefault();\n e.stopPropagation();\n\n if (rf.validate()) {\n if (LhApp.Context.IsConsentsEnabled) {\n form.checkConsents();\n } else {\n form.submit();\n }\n }\n });\n\n form.submit = function () {\n form.loading(true);\n\n var $selectedGiftcard = $('.giftcard-list input:checked', $form),\n id = $selectedGiftcard.data('id'),\n skuId = $selectedGiftcard.data('skuid'),\n path = $selectedGiftcard.data('path'),\n qty = 1, extraAttributes = [], bundleItems = [], recipeItems = [], comboItems = [],\n itemInfo = {\n minQuantity: null,\n maxQuantity: null,\n quanta: null\n },\n enhancedInfo = {\n giftCardsInfo: [{\n FromName: form.formData.fromName,\n Email: form.formData.email,\n ToName: form.formData.toName,\n CustomText: form.formData.customText\n }]\n };\n\n\n form.formData.skuId = skuId;\n hasData = true;\n Vendd.MessageBus.publishAsync($form, new Vendd.Cart.Messages.Add(id, skuId, path, qty, extraAttributes, bundleItems, recipeItems, comboItems, itemInfo, enhancedInfo));\n };\n\n form.onSuccess = function () {\n form.loading(false);\n\n $error.hide();\n $formWrapper.hide();\n $success.show();\n\n //Open the widget only for template 1 of Cart Widget\n if ($('.x-cart-widget').data('template') === 1) {\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.CartWidget, false));\n }\n };\n\n form.onFailure = function () {\n form.loading(false);\n $error.show();\n };\n\n form.checkConsents = function () {\n var data = [];\n\n var checkboxes = $('.form-row.consent.checkbox', form);\n $.each(checkboxes, function (e, el) {\n var chkbx = $('.checkbox-wrapper input', el);\n data.push({ type: chkbx.attr('id'), source: 'Gift Card', approved: chkbx.prop(\"checked\") });\n });\n\n if (data.length > 0) {\n window.ConsentsManager.insertConsents(data);\n } else {\n form.submit();\n }\n }\n\n form.loading = function (option) {\n if (option)\n $form.addClass('x-loading');\n else\n $form.removeClass('x-loading');\n }\n\n\n valOpts = {\n fromName: {\n required: 'fromName-required'\n },\n toName: {\n required: 'toName-required'\n },\n email: {\n required: 'email-required',\n isEmail: 'email-invalid',\n match: {\n validator: 'emailconfirm-invalid',\n matchField: 'emailconfirm'\n }\n },\n emailconfirm: {\n required: 'emailconfirm-required',\n match: {\n validator: 'emailconfirm-invalid',\n matchField: 'email'\n }\n }\n };\n\n //add consent validations\n $.each($('div.consent.checkbox[data-required]', $form), function (e, el) {\n var consentType = $('input', el).attr('name');\n valOpts[consentType] = {\n checkboxRequired: consentType + '-required'\n };\n });\n\n\n $form.validationEngine(valOpts);\n rf = $form.data('validationEngine');\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, form, function (envelope) {\n form.loading(false);\n });\n\n /*Vendd.MessageBus.subscribe(Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess, form, function () {\n form.onSuccess();\n });\n */\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Warning, form, form.onFailure);\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Failed, form, form.onFailure);\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertConsents, form, form.submit);\n});\n\n\n","Vendd.Scripts.load(function () {\n wishlistArticleBindClicks = function ($control) {\n $control.on('click', '.js-add-to-wishlistArticle', function (e) {\n e.preventDefault();\n e.stopPropagation();\n articleId = $(this).closest('.x-article-box').data('article-id');\n articleUrl = $(this).closest('.x-article-box').data('article-url');\n var id = articleId,\n path = articleUrl,\n extraAttributes = [],\n bundleItems = null;\n var $removeBox = $(this).closest('.x-article-box').find('.in-wishlistArticle-wrapper');\n $removeBox.removeClass('disabled');\n $removeBox.find('.js-remove-from-wishlistArticle').prop(\"disabled\", false);\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.WishlistArticle.Messages.Add(id, path, extraAttributes, bundleItems));\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistArticleWidget, false));\n });\n\n $control.on('click', '.js-remove-from-wishlistArticle', function (e) {\n e.preventDefault();\n e.stopPropagation();\n articleId = $(this).closest('.x-article-box').data('article-id');\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.WishlistArticle.Messages.Remove(articleId));\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistArticleWidget, false));\n });\n\n Vendd.MessageBus.subscribe(Vendd.WishlistArticle.Messages.Changed, 'x-article-box', function (envelope) {\n var data = envelope.message.data.Items; addEventListener\n var $boxes = $('.x-article-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var id = $el.data('article-id');\n\n $el.find('.js-remove-from-wishlistArticle').attr('disabled', 'disabled').parent().addClass('disabled');\n\n for (var j = 0; j < data.length; j++) {\n if (id == data[j].ArticleId) {\n $el.prop('data-article-id', data[j].Id);\n $el.find('.js-remove-from-wishlistArticle').removeAttr('disabled').parent().removeClass('disabled');\n }\n }\n });\n });\n }\n $control = $('.x-article-box');\n wishlistArticleBindClicks($control);\n\n var $wrapper = $('.x-article-list');\n\n var model = null;\n\n if ($wrapper.length < 1)\n return;\n\n var $scrolledWrapper = $('.x-article-list[data-scrolled=true]'),\n scrolledWrapper,\n $configuration, configuration,\n partial = 'articleList',\n isScrolled = $scrolledWrapper.data('scrolled') === true,\n totalPages = isScrolled ? parseInt($scrolledWrapper.data('total-pages')) : 0,\n forwardUpdates = 0,\n forwardUpdatesCup = 2,\n loading = false,\n hasNext = true;\n\n if ($scrolledWrapper.length < 1)\n return;\n\n scrolledWrapper = $scrolledWrapper.get(0);\n\n if ($scrolledWrapper.data('template')) {\n partial = $scrolledWrapper.data('template');\n }\n\n $configuration = $('#configuration', $scrolledWrapper);\n configuration = $configuration.text();\n $configuration.remove();\n\n scrolledWrapper.loading = function () {\n if (loading === true) {\n $scrolledWrapper.addClass('x-loading');\n } else {\n $scrolledWrapper.removeClass('x-loading');\n if (forwardUpdates >= forwardUpdatesCup) {\n $('.scrolllist-pager-notification').removeClass('x-loading');\n }\n };\n };\n\n scrolledWrapper.onSuccess = function (envelope) {\n if (envelope.message.data.list !== scrolledWrapper)\n return;\n\n model = envelope.message.data.model;\n\n var html = Vendd.Handlebars.parse(partial, model);\n\n var $html = $(html),\n $list = $('> ul', $scrolledWrapper),\n $boxes,\n items, lastItem, grouping, rowSize;\n\n configuration = $('#configuration', $html).text();\n\n $boxes = $('.x-article-box', $html);\n\n lastItem = $list.children().last();\n grouping = $html.data('grouping');\n rowSize = 0;\n\n items = wrapBoxes($boxes, grouping, rowSize, lastItem);\n\n if (parseInt($scrolledWrapper.attr('data-total-pages')) == model.PageNumber) {\n $('.scrolllist-pager-notification').remove();\n }\n\n $list.append(items);\n\n loading = false;\n\n scrolledWrapper.loading(loading);\n\n };\n\n scrolledWrapper.onFailure = function (envelope) {\n if (envelope.message.data.list !== scrolledWrapper)\n return;\n\n loading = false;\n scrolledWrapper.loading(loading);\n };\n\n scrolledWrapper.update = function () {\n\n hasNext = totalPages > parseInt($('>ul>li[data-page]', $scrolledWrapper).eq($('>ul>li[data-page]', $scrolledWrapper).length - 1).attr('data-page'));\n\n if (loading || hasNext === false)\n return;\n\n loading = true;\n scrolledWrapper.loading(loading);\n Vendd.MessageBus.publishAsync(scrolledWrapper, new Vendd.ScrollList.Messages.GetNextPage(scrolledWrapper, configuration, 'articleList'));\n };\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPageSuccess, scrolledWrapper, scrolledWrapper.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetNextPageFailure, scrolledWrapper, scrolledWrapper.onFailure);\n\n scrolledWrapper.updatePageUrl = function () {\n\n var element = _.first(_.filter($('>ul>li[data-page]', $scrolledWrapper), function (element) { return $(window).scrollTop() <= $(element).offset().top; })),\n\t\t\tpageNumber = $(element).length ? $(element).data('page') : $('>ul>li[data-page]', $scrolledWrapper).eq($('>ul>li[data-page]', $scrolledWrapper).length - 1).data('page'),\n\t\t\tpager = $('.x-pager[data-page-count]'),\n\t\t\tpageCount = pager.length ? (parseInt(pager.attr('data-page-count')) || 0) : 0,\n\t\t\tcomboPagers = $('.pager .x-pager-combopages');\n\n comboPagers.each(function (index, comboPager) {\n var $comboPager = $(comboPager);\n $('select', $comboPager).addClass('disabled');\n $('.newList>li a', $('select', $comboPager).siblings('.newListSelected')).eq(pageNumber - 1).trigger('click');\n $('select', $comboPager).removeClass('disabled');\n });\n\n if (history.pushState) {\n\n var querystring = window.location.pathname + (window.location.pathname.slice(-1) != \"/\" ? \"/\" : \"\"),\n\t\t\t\tpageText = pageNumber > 1 ? \"p\" + pageNumber + \"/\" : \"\";\n\n if (!(/\\/P\\d+\\//i.test(querystring))) {\n querystring = querystring + pageText;\n } else {\n querystring = querystring.replace(/\\/P\\d+\\//i, \"/\" + pageText);\n }\n\n var stateObject = {};\n var url = window.location.protocol\n\t\t\t\t+ \"//\"\n\t\t\t\t+ window.location.host\n\t\t\t\t+ querystring\n\t\t\t\t+ window.location.search;\n\n if (window.location.href !== url) {\n var prev = $(\"head link[rel=prev]\");\n var next = $(\"head link[rel=next]\");\n var prevLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber - 1) + \"$2\");\n var nextLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber + 1) + \"$2\");\n if (prev) {\n if (pageNumber > 1) {\n prev.attr(\"href\", prevLink);\n } else {\n prev.remove();\n }\n } else if (pageNumber > 1) {\n $(\"head\").append(\"link rel=\\\"prev\\\" href=\\\"\" + prevLink + \"\\\" />\");\n }\n if (next) {\n if (pageNumber < pageCount) {\n next.attr(\"href\", nextLink);\n } else {\n next.remove();\n }\n } else if (pageNumber < pageCount) {\n $(\"head\").append(\"link rel=\\\"next\\\" href=\\\"\" + nextLink + \"\\\" />\");\n }\n history.replaceState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n }\n }\n }\n\n function wrapBoxes($boxes, grouping, rowSize, lastItem) {\n var items = [],\n currentIndex, cssClass;\n\n lastItem.removeClass('last');\n\n currentIndex = lastItem.data('index') + 1;\n\n for (var i = 0; i < $boxes.length; i++) {\n var li = $('
  • ');\n\n cssClass = \"index\" + currentIndex;\n cssClass += (currentIndex % 2) ? \" odd\" : \" even\";\n cssClass += (i === $boxes.length - 1) ? \" last\" : \"\";\n\n cssClass += rowSize === 0 ? \"\" : currentIndex % rowSize === 0 ? \" row-first\" : \"\";\n cssClass += rowSize === 0 ? \"\" : (currentIndex + 1) % rowSize === 0 ? \" row-last\" : \"\";\n\n li.append($boxes.eq(i))\n .addClass(cssClass)\n .attr('data-index', currentIndex)\n .attr('data-page', model.PageNumber);\n\n items.push(li);\n\n currentIndex++;\n };\n\n return items;\n };\n\n $('.scrolllist-pager-notification').on('click', '.js-show', function () {\n forwardUpdates = 0;\n $('.scrolllist-pager-notification').addClass('x-loading');\n scrolledWrapper.update();\n });\n\n if (isScrolled === true) {\n $(window).scroll($.debounce(300, function () {\n if (($(window).scrollTop() >= $(document).height() - $(window).height() - $('.footer-region').height() - 100 || isElementInViewport($('.scrolllist-pager-notification'))) && forwardUpdates < forwardUpdatesCup) {\n forwardUpdates++;\n scrolledWrapper.update();\n $scrolledWrapper.removeClass('x-loading');\n };\n if ($(window).scrollTop() >= 0 && !loading) {\n scrolledWrapper.updatePageUrl();\n }\n }));\n };\n});\n","Vendd.Scripts.load(function () {\n var $pl = $('.x-product-list');\n\n if ($pl.length < 1) return;\n\n var $selectedRelatedPl;\n\n var lazyLoadPrices = $('.list-lazy-load-prices', $pl).first().text().toLowerCase().trim() === \"true\";\n var customPrices = false;\n\n $pl.each(function () {\n var $wrapper = $(this),\n wrapper = $wrapper.get(0),\n $configuration, configuration, jsonConfiguration,\n $resultsFancyboxLink = $('.results-fancybox-link', $wrapper), $resultsWraper = $('.js-results-wrapper', $wrapper),\n isScrolled = $wrapper.data('scrolled') === true,\n hasQuickbuy = $wrapper.data('quickbuy') === true,\n hasColorSelector = $wrapper.data('colorselector') === true,\n previousPage = isScrolled ? parseInt($wrapper.data('previous-page')) : 0,\n currentPage = isScrolled ? parseInt($wrapper.data('current-page')) : 0,\n nextPage = isScrolled ? parseInt($wrapper.data('next-page')) : 0,\n totalPages = isScrolled ? parseInt($wrapper.data('total-pages')) : 0,\n forwardUpdates = 0,\n forwardUpdatesCup = 2,\n backwardUpdates = 0,\n backwardUpdatesCup = 0;\n\n var model = {}, pagerModel = {};\n\n if ($resultsFancyboxLink.length > 0) {\n $resultsFancyboxLink.fancybox({ type: 'inline' });\n }\n\n $configuration = $('.configuration', $wrapper);\n\n configuration = $configuration.text();\n\n if (configuration)\n jsonConfiguration = JSON.parse(configuration);\n\n //$configuration.remove();\n\n wrapper.getConfiguration = function () { return configuration; };\n\n if (hasQuickbuy) {\n $('.wrapper-to-delete').remove();\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetCurrentPage(wrapper, configuration, 'productList'));\n }\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.BindControl(wrapper));\n\n var loading = false, hasNext = true, hasPrevious = true, initialCall = true;\n\n wrapper.loading = function (option, direction) {\n loading = option;\n if (option === true) {\n $('.scrolllist-pager-notification[data-direction=\"' + direction + '\"]').addClass('disabled');\n $('.scrolllist-pager-notification[data-direction=\"' + direction + '\"]').addClass('x-loading');\n } else {\n if (direction === 'forward') {\n if (forwardUpdates >= forwardUpdatesCup) {\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').removeClass('disabled');\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('disabled x-loading');\n }\n }\n else if (direction === 'backward') {\n if (backwardUpdates >= backwardUpdatesCup) {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('disabled');\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').removeClass('disabled x-loading');\n }\n } else {\n $('.scrolllist-pager-notification').removeClass('disabled x-loading');\n }\n }\n };\n\n wrapper.onSuccess = function (envelope) {\n\n if (envelope.message.data.list !== wrapper) return;\n \n var direction = '';\n\n model = envelope.message.data.model;\n\n if (model.Items.length === 0) {\n\n if (envelope.message.data.position == 'BottomOfList') {\n hasNext = false;\n direction = 'forward';\n }\n if (envelope.message.data.position == 'TopOfList') {\n hasPrevious = false;\n direction = 'backward';\n }\n if (envelope.message.data.position != 'Reload') {\n wrapper.loading(false, direction);\n return;\n }\n }\n\n if (model.HasQuickBuy && model.Items.length > 0) {\n Vendd.Quickbuy.addToQuickbuyList(model.Items[0], true);\n }\n\n var html = Vendd.Handlebars.parse(\"productList_A\", model);\n\n var $html = $(html),\n $list = $('> ul', $wrapper),\n $boxes,\n items, lastItem, grouping, rowSize;\n\n configuration = $('.configuration', $html).text();\n\n Vendd.MessageBus.publish(wrapper, new Vendd.Widget.Messages.BindControl($html));\n\n $boxes = $('.x-product-box', $html);\n\n lastItem = $list.children().last();\n grouping = $html.data('grouping');\n rowSize = 3;\n\n items = wrapBoxes($boxes, grouping, rowSize, lastItem, model);\n if (envelope.message.data.position == 'BottomOfList') {\n if (parseInt($wrapper.attr('data-total-pages')) == model.PageNumber) {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').addClass('hidden');\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').removeClass('disabled');\n } else {\n $('.scrolllist-pager-notification[data-direction=\"forward\"] .current-page').html(model.PageNumber);\n }\n\n var indicator = $('.page-indicator', $wrapper).eq(0).clone();\n indicator.attr('data-page', model.PageNumber);\n $('.page-number', indicator).html(model.PageNumber);\n $list.append(indicator);\n $list.append(items);\n $('.page-indicator', $wrapper).removeClass('hidden');\n direction = 'forward';\n }\n\n if (envelope.message.data.position == 'TopOfList') {\n if (model.PageNumber == 1) {\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').addClass('hidden');\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('disabled');\n } else {\n $('.scrolllist-pager-notification[data-direction=\"backward\"] .current-page').html(model.PageNumber);\n }\n var elementFocused = $(' >ul >li', $wrapper).eq(0),\n initPos = elementFocused.parent().offset().top, latePos,\n windowPos = $(window).scrollTop(),\n indicator = $('.page-indicator', $wrapper).eq(0).clone();\n\n indicator.attr('data-page', model.PageNumber);\n $('.page-number', indicator).html(model.PageNumber);\n $list.prepend(items);\n $list.prepend(indicator);\n $('.page-indicator', $wrapper).removeClass('hidden');\n latePos = elementFocused.offset().top;\n $('html,body').scrollTop(windowPos + latePos - initPos);\n\n direction = 'backward';\n }\n\n if ($wrapper.hasClass(\"js-lazyload\") && typeof $.fn.lazyload === \"function\") {\n $(\"img[data-lazyload]\", $wrapper).lazyload({\n effect: 'fadeIn',\n threshold: 500,\n skip_invisible: false\n }).removeAttr(\"data-lazyload\");\n }\n\n if (model.Items[0][0].AlreadyInCartEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInWishlistEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInCompareListEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n }\n\n if (lazyLoadPrices || customPrices) {\n var productItems = [];\n $boxes.each(function (i, el) {\n productItems.push(parseInt($(el).attr('data-variantid')));\n });\n\n var dataObj = {\n itemIds: productItems,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetClientProductListData(dataObj));\n }\n\n if (hasColorSelector) {\n $boxes.each(function (box, i) {\n var $box = $(this);\n var selectedColorId = $('.js-color-selector.selected', $box).data('id');\n $box.attr('data-selected-colorid', selectedColorId);\n\n addSkuParameterInProductBox($box, selectedColorId);\n });\n } \n\n wrapper.loading(false, direction);\n };\n\n wrapper.onFailure = function (envelope) {\n if (envelope.message.data.list !== wrapper)\n return;\n\n var direction = '';\n\n if (envelope.message.data.position == 'BottomOfList') {\n direction = 'forward';\n }\n if (envelope.message.data.position == 'TopOfList') {\n direction = 'backward';\n }\n wrapper.loading(false, direction);\n };\n\n wrapper.onFailureCurrent = function (envelope) {\n _LTracker.push({\n \"Message Error\": {\n \"message\": \"Quickbuy couldn't be initialized, in Product list\",\n \"publisher\": \"Vendd.ScrollList.Messages.GetCurrentPageFailure\"\n }\n });\n };\n\n wrapper.onSuccessCurrent = function (envelope) {\n\n if (envelope.message.data.list.list != wrapper) return;\n\n var model = envelope.message.data.model; \n\n Vendd.Quickbuy.addToQuickbuyList(model);\n $wrapper.removeClass('quickbuy-loading');\n\n if (hasColorSelector) {\n var $boxes = $('.x-product-box', wrapper);\n $boxes.each(function (box, i) {\n var $box = $(this);\n var selectedColorId = $('.js-color-selector.selected', $box).data('id');\n $box.attr('data-selected-colorid', selectedColorId);\n\n addSkuParameterInProductBox($box, selectedColorId);\n });\n } \n };\n\n wrapper.updatePageUrl = function () {\n\n var element = _.first(_.filter($('>ul>li[data-page]', $wrapper), function (element) { return $(window).scrollTop() <= $(element).offset().top; })),\n pageNumber = $(element).length ? $(element).data('page') : $('>ul>li[data-page]', $wrapper).eq($('>ul>li[data-page]', $wrapper).length - 1).data('page'),\n pager = $('.x-pager[data-page-count]'),\n pageCount = pager.length ? (parseInt(pager.attr('data-page-count')) || 0) : 0,\n comboPagers = $('.pager .x-pager-combopages');\n\n comboPagers.each(function (index, comboPager) {\n var $comboPager = $(comboPager);\n $('select', $comboPager).addClass('disabled');\n $('.newList>li a', $('select', $comboPager).siblings('.newListSelected')).eq(pageNumber - 1).trigger('click');\n $('select', $comboPager).removeClass('disabled');\n });\n\n if (history.pushState) {\n\n var querystring = window.location.pathname + (window.location.pathname.slice(-1) != \"/\" ? \"/\" : \"\"),\n pageText = pageNumber > 1 ? \"p\" + pageNumber + \"/\" : \"\";\n\n if (!(/\\/P\\d+\\//i.test(querystring))) {\n querystring = querystring + pageText;\n } else {\n querystring = querystring.replace(/\\/P\\d+\\//i, \"/\" + pageText);\n }\n\n var stateObject = {};\n var url = window.location.protocol\n + \"//\"\n + window.location.host\n + querystring\n + window.location.search;\n\n if (window.location.href !== url) {\n var prev = $(\"head link[rel=prev]\");\n var next = $(\"head link[rel=next]\");\n var prevLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber - 1) + \"$2\");\n var nextLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber + 1) + \"$2\");\n if (prev) {\n if (pageNumber > 1) {\n prev.attr(\"href\", prevLink);\n } else {\n prev.remove();\n }\n } else if (pageNumber > 1) {\n $(\"head\").append(\"link rel=\\\"prev\\\" href=\\\"\" + prevLink + \"\\\" />\");\n }\n if (next) {\n if (pageNumber < pageCount) {\n next.attr(\"href\", nextLink);\n } else {\n next.remove();\n }\n } else if (pageNumber < pageCount) {\n $(\"head\").append(\"link rel=\\\"next\\\" href=\\\"\" + nextLink + \"\\\" />\");\n }\n history.replaceState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n //history.pushState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n }\n }\n };\n\n wrapper.update = function (dataListMovement) {\n\n if (loading) return;\n\n if (dataListMovement == 'forward') {\n hasNext = totalPages > parseInt($('>ul>li[data-page]', $wrapper).eq($('>ul>li[data-page]', $wrapper).length - 1).attr('data-page'));\n if (!hasNext) return;\n }\n if (dataListMovement == 'backward') {\n hasPrevious = parseInt($('>ul>li[data-page]', $wrapper).eq(0).attr('data-page')) > 1;\n if (!hasPrevious) return;\n }\n\n wrapper.loading(true, dataListMovement);\n\n if (dataListMovement == 'forward') {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetNextPage(wrapper, configuration, 'productList'));\n }\n if (dataListMovement == 'backward') {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetPreviousPage(wrapper, configuration, 'productList'));\n }\n\n };\n\n wrapper.updatePlOnFiltersChange = function (envelope) {\n\n if (envelope.message.data.list !== wrapper) return;\n\n model = envelope.message.data.data.Products;\n pagerModel = envelope.message.data.data.Pager;\n\n //init variables for scroll\n forwardUpdates = 0, forwardUpdatesCup = 2, backwardUpdates = 0, backwardUpdatesCup = 0;\n\n //parse new product list\n var html = Vendd.Handlebars.parse(\"productListInner_A\", model);\n $wrapper.html(html);\n\n //updates\n updatePageScroll();\n updatePagerAttr($wrapper, model, pagerModel);\n wrapper.updatePageUrl();\n\n //bind product list\n Vendd.MessageBus.publish(wrapper, new Vendd.Widget.Messages.BindControl($wrapper));\n\n if (model.Items.length > 0) {\n if (model.HasQuickBuy) {\n Vendd.Quickbuy.addToQuickbuyList(model.Items[0], true);\n }\n if (model.Items[0][0].AlreadyInCartEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInWishlistEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInCompareListEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n }\n }\n\n //hide pager if there are no products\n if (model.Items.length < 1) {\n $wrapper.closest('.x-main-product-list').siblings('.pager').addClass('hidden');\n } else {\n $wrapper.closest('.x-main-product-list').siblings('.pager').removeClass('hidden');\n }\n\n if ($wrapper.hasClass(\"js-lazyload\") && typeof $.fn.lazyload === \"function\") {\n $(\"img[data-lazyload]\", $wrapper).lazyload({\n effect: 'fadeIn',\n threshold: 500,\n skip_invisible: false\n }).removeAttr(\"data-lazyload\");\n }\n\n var $boxes = $('.x-product-box', $wrapper);\n\n if (lazyLoadPrices || customPrices) {\n var productItems = [];\n $boxes.each(function (i, el) {\n productItems.push(parseInt($(el).attr('data-variantid')));\n });\n\n var dataObj = {\n itemIds: productItems,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetClientProductListData(dataObj));\n }\n\n if (hasColorSelector) {\n $boxes.each(function (box, i) {\n var $box = $(this);\n var selectedColorId = $('.js-color-selector.selected', $box).data('id');\n $box.attr('data-selected-colorid', selectedColorId);\n\n addSkuParameterInProductBox($box, selectedColorId);\n });\n } \n };\n\n $wrapper.on('click', '.x-replaced-by-products .js-toggle', function (e) {\n var $container = $(this).closest('.x-replaced-by-products');\n\n $(this).toggleClass('icon-plus icon-minus');\n $container.find('.js-content').toggle();\n\n if (!$container.hasClass('initiliazed')) {\n initializeReplacedPL($container);\n }\n\n });\n\n $wrapper.on('click', '.js-select', function (e) {\n\n if ($(this).hasClass('selected')) {\n $(this).removeClass('selected');\n } else {\n $(this).addClass('selected');\n }\n\n updateButtonStatus();\n });\n\n $wrapper.on('click', '.js-add-selected', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $boxes = $('.x-product-box', $wrapper);\n\n if ($boxes.length < 1) {\n $this.attr('disabled', 'disabled').addClass('disabled');\n return;\n }\n\n var data = [], prObj;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n\n if ($el.find('.js-select').hasClass('selected')) {\n\n prObj = {\n id: $el.data('productid'),\n skuId: $el.data('variantid'),\n path: $el.data('path'),\n qty: 1\n };\n\n data.push(prObj);\n }\n });\n\n if (data.length > 0) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.MultipleAdd(data));\n }\n });\n\n if (isScrolled === true) {\n $(window).scroll($.debounce(300, function () {\n if (($(window).scrollTop() == 0 || $wrapper.offset().top > $(window).scrollTop()) && backwardUpdates < backwardUpdatesCup) {\n backwardUpdates++;\n wrapper.update('backward');\n }\n if (($(window).scrollTop() >= $(document).height() - $(window).height() - $('.footer-region').height() - 500 || isElementInViewport($('.scrolllist-pager-notification'))) && forwardUpdates < forwardUpdatesCup) {\n forwardUpdates++;\n wrapper.update('forward');\n }\n if ($(window).scrollTop() >= 0 && !loading) {\n wrapper.updatePageUrl();\n }\n }));\n }\n\n //click in order to see more products\n $('.scrolllist-pager-notification').on('click', '.js-show', function () {\n if (!$(this).closest('.scrolllist-pager-notification').hasClass('disabled')) {\n if ($(this).data('direction') === 'forward') forwardUpdates = 0;\n else if ($(this).data('direction') === 'backward') backwardUpdates = 0;\n wrapper.update($(this).data('direction'));\n }\n });\n\n function initializeReplacedPL($container) {\n $selectedRelatedPl = $container.find('.x-replaced-product-list');\n\n $selectedRelatedPl.parent().addClass('x-loading');\n\n var plData = {\n itemId: $selectedRelatedPl.data('product-id'),\n itemPath: jsonConfiguration ? jsonConfiguration.ItemPath : '',\n pageNumber: $selectedRelatedPl.data('page-number'),\n pageSize: $selectedRelatedPl.data('page-size'),\n sortKey: jsonConfiguration ? jsonConfiguration.SortKey : '',\n fullPath: LhApp.Context.Item.FullPath,\n includeFilters: false,\n defaultUriFilter: \"\",\n templateCode: 'productList',\n configCode: \"\",\n excludeItemIds: jsonConfiguration ? jsonConfiguration.ExcludeItemIds : '',\n relationshipTypeName: $selectedRelatedPl.data('rel-type'),\n xRelatedProducts: $selectedRelatedPl.data('max-products'),\n EnableNoImage: $selectedRelatedPl.data('no-image'),\n isLazyLoadEnabled: $selectedRelatedPl.data('lazy-load'),\n imageTypeCodeArray: $selectedRelatedPl.data('image-type'),\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Product.Messages.GetReplacedByProducts(plData));\n }\n\n function handleMulitpleAddResult(data) {\n var html = Vendd.Handlebars.parse(Handlebars.partials.multipleAddResults_A, JSON.parse(data));\n\n $resultsWraper.html(html);\n $resultsFancyboxLink.trigger('click');\n }\n\n function updateButtonStatus(e) {\n var isChecked = false;\n\n var $boxes = $('.x-product-box', $wrapper);\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n if ($el.find('.js-select').hasClass('selected')) {\n $('.js-add-selected', $wrapper).removeAttr('disabled').removeClass('disabled');\n isChecked = true;\n return;\n }\n });\n\n if (isChecked) return;\n\n $('.js-add-selected', $wrapper).attr('disabled', 'disabled').addClass('disabled');\n }\n\n function wrapBoxes($boxes, grouping, rowSize, lastItem, model) {\n var items = [],\n currentIndex, cssClass;\n\n lastItem.removeClass('last');\n\n currentIndex = lastItem.data('index') + 1;\n\n for (var i = 0; i < $boxes.length; i++) {\n var li = $('
  • ');\n\n cssClass = \"item\" + currentIndex;\n cssClass += (currentIndex % 2) ? \" odd\" : \" even\";\n cssClass += (i === $boxes.length - 1) ? \" last\" : \"\";\n cssClass += currentIndex % rowSize === 0 ? \" row-first\" : \"\";\n cssClass += (currentIndex + 1) % rowSize === 0 ? \" row-last\" : \"\";\n\n li.append($boxes.eq(i))\n .addClass(cssClass)\n .attr('data-index', currentIndex)\n .attr('data-page', model.PageNumber);\n\n items.push(li);\n\n currentIndex++;\n }\n\n return items;\n }\n\n function updatePagerAttr(wrapper, model, pagerModel) {\n //update products count\n $('.js-num-of-products').text(model.ItemsCountText);\n\n //update product list attributes\n wrapper.attr('data-previous-page', pagerModel.PrevPageNumber);\n wrapper.attr('data-next-page', pagerModel.NextPageNumber);\n wrapper.attr('data-total-pages', pagerModel.PagesCount);\n wrapper.attr('data-page-size', pagerModel.PagesSize);\n wrapper.attr('data-current-page', pagerModel.PagesNumber);\n\n //update list items attributes\n $('ul.items-list > li ', wrapper).attr('data-page', pagerModel.PagesNumber);\n\n //update page indicator\n if (wrapper.data('scrolled') === true) {\n $('ul.items-list', wrapper).prepend('
  • ' + pagerModel.PageText + ' ' + pagerModel.PagesNumber + ' ' + pagerModel.ItemsOfText + ' ' + pagerModel.PagesCount + '

  • ');\n }\n\n //update scrollist pager\n if (parseInt($wrapper.attr('data-total-pages')) == pagerModel.PagesNumber) {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').addClass('hidden');\n } else {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('hidden disabled');\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').addClass('x-loading');\n }\n if (pagerModel.IsFirstPage) {\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').addClass('hidden');\n }\n }\n\n function updatePageScroll() {\n //scroll to top of the list\n if ($(window).scrollTop() > $wrapper.offset().top) {\n $(\"html, body\").animate({ scrollTop: $wrapper.offset().top - 180 }, 100);\n }\n\n //update sticky sidebar\n if (sidebar.length > 0) sidebar.updateSticky();\n }\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPageSuccess, wrapper, wrapper.onSuccess);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetNextPageFailure, wrapper, wrapper.onFailure);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetCurrentPageSuccess, wrapper, wrapper.onSuccessCurrent);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetCurrentPageFailure, wrapper, wrapper.onFailureCurrent);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPreviousPageFailure, wrapper, wrapper.onFailure);\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleAddSuccess, wrapper, function (envelope) {\n handleMulitpleAddResult(envelope.message.data.model.data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetReplacedByProductsSuccess, wrapper, function (envelope) {\n model = envelope.message.data.data;\n\n var html = Vendd.Handlebars.parse(\"productList_A\", model);\n var $html = $(html);\n\n $selectedRelatedPl.closest('.x-replaced-by-products').addClass('initiliazed');\n\n $selectedRelatedPl.parent().removeClass('x-loading');\n\n $selectedRelatedPl.html(html);\n\n Vendd.MessageBus.publish($wrapper, new Vendd.Widget.Messages.BindControl($html));\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, wrapper, wrapper.updatePlOnFiltersChange);\n\n });\n \n //if global lazyload prices is enabled -> run initLazyLoadPrices\n if (lazyLoadPrices) {\n initLazyLoadPrices();\n } else {\n //if user has custom prices -> run initLazyLoadPrices\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, $pl, function (envelope) {\n customPrices = envelope.message.data.model.HasCustomPrices;\n if (customPrices) initLazyLoadPrices();\n });\n }\n\n /* Functionality for Lazy Prices & Availabilities */\n function initLazyLoadPrices() {\n var items = [];\n\n $pl.each(function () {\n var $wrapper = $(this);\n $('.x-product-box[data-variantid]', $wrapper).each(function (i, el) {\n items.push(parseInt($(el).attr('data-variantid')));\n });\n });\n\n var obj = {\n itemIds: items,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n\n Vendd.MessageBus.publishAsync($pl, new Vendd.ScrollList.Messages.GetClientProductListData(obj));\n }\n\n var LazyPrices = function (obj) {\n $pl.each(function () {\n var $wrapper = $(this);\n var b2bModel = obj.B2B;\n var isB2BUser = b2bModel.IsAuthenticated && b2bModel.IsB2BUser;\n var shouldHidePrices = b2bModel && b2bModel.DisplayOptions && b2bModel.DisplayOptions.ShouldHidePrice;\n\n $('.x-product-box[data-variantid]:not(.prices-lazyloaded)', $wrapper).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n\n if (itemData.length === 0) {\n return;\n }\n\n // hide all\n $('.discount-container', el).addClass('hide');\n $('.deleted-price-container', el).addClass('hide');\n $('.current-price-container', el).addClass('hide');\n $('.current-points-price-container', el).addClass('hide');\n $('.current-points-gain-container', el).addClass('hide');\n\n if (!shouldHidePrices) {\n var prices = itemData[0].Prices.Price;\n var points = itemData[0].Prices.Points;\n var pointsGain = itemData[0].Prices.PointsGain;\n var countdownPrices = itemData[0].CountDownProperties;\n var showPriceWithoutVat = isB2BUser && prices.ShowPriceWithoutVat;\n\n if (prices) {\n\n //discount value\n if (prices.DiscountValue) {\n $('.discount-container', el).removeClass('hide');\n $('.discount-value', el).text(decodeEntities(prices.DiscountValue));\n }\n\n //deleted price\n if (prices.DeletedPrice) {\n $('.deleted-price-container', el).removeClass('hide');\n $('.deleted-price', el).text(decodeEntities(showPriceWithoutVat ? prices.DeletedPriceWithoutVat : prices.DeletedPrice));\n } else if (countdownPrices) {\n $('.deleted-price-container', el).removeClass('hide');\n $('.deleted-price', el).text(decodeEntities(showPriceWithoutVat ? prices.CurrentPriceWithoutVat : prices.CurrentPrice));\n }\n\n //current price\n var currentPrice;\n\n if (countdownPrices) {\n currentPrice = showPriceWithoutVat ? countdownPrices.PriceWithoutVat : countdownPrices.Price;\n } else {\n if (prices.FromPriceText) {\n currentPrice = showPriceWithoutVat ? prices.FromPriceWithoutVatText : prices.FromPriceText;\n } else {\n currentPrice = showPriceWithoutVat ? prices.CurrentPriceWithoutVat : prices.CurrentPrice;\n }\n }\n\n $('.current-price-container', el).removeClass('hide');\n if ($enableFormatPrices) {\n $('.current-price', el).html(formatPrice(currentPrice));\n $('.current-price', el).addClass('price-formatted');\n } else {\n $('.current-price', el).text(currentPrice);\n }\n }\n\n if (points) {\n $('.current-points-price-container', el).removeClass('hide');\n $('.current-points-price-container .points-price', el).text(points.PointsPrice);\n }\n\n if (pointsGain) {\n $('.current-points-gain-container', el).removeClass('hide');\n $('.current-points-gain-container .points-gain', el).text(pointsGain.TotalPointsGain);\n }\n }\n\n $(el).addClass('prices-lazyloaded');\n });\n });\n };\n\n var LazyAvailabilities = function (obj) {\n $pl.each(function () {\n var $wrapper = $(this);\n $('.x-product-box[data-variantid]:not(.availabilities-lazyloaded)', $wrapper).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n if (itemData.length > 0) {\n var availability = itemData[0].Availability.AvailabilityData;\n var cartEnabled = availability.CanBuy === true;\n $('.availability', $(this)).addClass(\"availability-\" + availability.AvailabilityActionId).text(availability.Name).parent('.availability-container').removeClass('hide');\n if (cartEnabled) {\n $('.buttons .add-to-cart', $(this)).removeClass('x-disabled');\n $('.buttons .add-to-cart button', $(this)).removeAttr('disabled', 'disabled');\n }\n }\n\n $(el).addClass('availabilities-lazyloaded');\n });\n });\n };\n\n $pl.onGetClientProductListDataSuccess = function (envelope) {\n var result = JSON && JSON.parse(envelope.message.data) || $.parseJSON(envelope.message.data);\n LazyPrices(result);\n LazyAvailabilities(result);\n };\n $pl.onGetClientProductListDataFailure = function (envelope) {\n //console.log(envelope.message.data);\n };\n\n Vendd.MessageBus.unsubscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, $pl);\n Vendd.MessageBus.unsubscribe(Vendd.ScrollList.Messages.GetClientProductListDataFailure, $pl);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, $pl, $pl.onGetClientProductListDataSuccess);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataFailure, $pl, $pl.onGetClientProductListDataFailure);\n\n});","Vendd.Scripts.load(function () {\n var $wrappers = $('.x-control.x-filters');\n\n $wrappers.each(function (index, wrapper) {\n\n var $wrapper = $(wrapper);\n\n var isAjaxLoad = $wrapper.data('ajax-load').toString().toLowerCase().trim() === \"true\",\n hasSubmitButton = $wrapper.data('submit-button').toString().toLowerCase().trim() === \"true\",\n documentURL;\n\n model = null;\n\n documentURL = document.URL;\n\n function UpdateProductList(url) {\n\n var $ajaxPL = $('.x-control.x-list[data-list=' + $wrapper.data('list') + ']').first(),\n ajaxPL = $ajaxPL.get(0);\n\n //if Ajax Filters call async service with new constracted url \n if (isAjaxLoad && $ajaxPL.length > 0) {\n \n var queryString = url.split(\"?\").length > 1 ? \"?\" + url.split(\"?\")[1] : \"\";\n var configuration = $('.configuration', ajaxPL).text();\n\n //change url\n history.pushState({}, '', url);\n\n Vendd.MessageBus.publishAsync(ajaxPL, new Vendd.ProductList.Messages.GetModel(ajaxPL, configuration, LhApp.Context.Item.Template, queryString, true, wrapper.defaultUriFilter));\n }\n //else refresh page with new constracted url \n else {\n window.location.href = url;\n }\n }\n\n function UpdateQueryString(key, value, url) {\n\n if (!url) url = documentURL;\n\n // dirty fix for new url rewriter, remove page number to go back to page 1\n url = url.replace(/\\/{1}p{1}[0-9]+/, '');\n\n var re = new RegExp(\"([?|&])\" + key + \"=.*?(&|#|$)\", \"gi\");\n\n if (url.match(re)) {\n if (value) {\n value = url.replace(re, '$1' + key + \"=\" + value + '$2');\n } else {\n value = url.replace(re, '$2');\n }\n\n if (value.indexOf('?') == -1) { // convert first paramter separator to query params separator\n var pos = value.indexOf('&');\n if (pos != -1) // has at least one parameter\n value = value.substring(0, pos) + '?' + value.substring(pos + 1, value.length);\n }\n return value;\n }\n else {\n if (value) {\n var separator = url.indexOf('?') !== -1 ? '&' : '?',\n hash = url.split('#');\n url = hash[0] + separator + key + '=' + value;\n\n if (hash[1]) url += '#' + hash[1];\n\n return url;\n } else {\n return url;\n }\n }\n };\n\n function getQueryStringValueByName(name) {\n name = name.replace(/[\\[]/, \"\\\\\\[\").replace(/[\\]]/, \"\\\\\\]\");\n var regexS = \"[\\\\?&]\" + name + \"=([^&#]*)\";\n var regex = new RegExp(regexS);\n var results = regex.exec(documentURL);\n if (results == null)\n return \"\";\n else\n return decodeURIComponent(results[1].replace(/\\+/g, \" \"));\n };\n\n function removeValueFromCommaSeparatedString(list, value, separator) {\n separator = separator || \",\";\n var values = list.split(separator);\n for (var i = 0; i < values.length; i++) {\n if (values[i] == value.replace(/\\s+/g, '-')) {\n values.splice(i, 1);\n return values.join(separator);\n }\n }\n return list;\n };\n\n function getInputFilterValues($rangeInputFilter) {\n\n var $control = $rangeInputFilter ? $rangeInputFilter : $('.x-control[data-control=\"filter\"][data-type=\"range-input\"]', $wrapper);\n\n $control.each(function (i, rangeFilter) {\n\n var $filter = $(rangeFilter);\n var $inputFrom = $('.input-from', $filter);\n var valFrom = $inputFrom.val() ? parseFloat($inputFrom.val()) : null;\n var $inputTo = $('.input-to', $filter);\n var valTo = $inputTo.val() ? parseFloat($inputTo.val()) : null;\n var tempValueFrom;\n var queryName, queryValue, urlWithItem;\n\n //if both inputs are empty -> return\n if (valFrom == null && valTo == null)\n return;\n\n //set valFrom with default minimum value\n if (valFrom == null && valTo)\n valFrom = parseFloat($filter.data('min'));\n\n //set valTo with default maximum value\n if (valTo == null && valFrom)\n valTo = parseFloat($filter.data('max'));\n\n //reverse values if valFrom is bigger\n if (valFrom && valTo && (valFrom > valTo)) {\n tempValueFrom = valFrom;\n valFrom = valTo;\n valTo = tempValueFrom;\n }\n\n if (valFrom) {\n queryName = $filter.data('filter-key') + '-from';\n queryValue = valFrom;\n //update querystring\n urlWithItem = UpdateQueryString(queryName, queryValue, documentURL);\n documentURL = urlWithItem;\n }\n\n if (valTo) {\n queryName = $filter.data('filter-key') + '-to';\n queryValue = valTo;\n //update querystring\n urlWithItem = UpdateQueryString(queryName, queryValue, documentURL);\n documentURL = urlWithItem;\n }\n });\n }\n\n function initSliderFilters() {\n $('.x-control[data-control=\"filter\"][data-type=\"range\"]', $wrapper).each(function (i, rangeFilter) {\n\n var $filter = $(rangeFilter);\n var $slider = $filter.find('*[data-slider]');\n var $init = $filter.find('*[data-init]');\n var $text = $filter.find('input[data-text]');\n var key = $filter.data('filter-key');\n\n var urlMask = $init.data('mask');\n urlMask = urlMask.split('?')[1];\n var textMask = $text.data('mask');\n\n var symbol = $init.data('symbol');\n\n var minValue = parseFloat($init.data('min'));\n var maxValue = parseFloat($init.data('max'));\n var currentMinValue = parseFloat($init.data('from'));\n var currentMaxValue = parseFloat($init.data('to'));\n var step = parseFloat($init.data('step'));\n var rangeDisabled = false, fromMax = 0, toMin = 0;\n\n if (maxValue - minValue <= step) {\n rangeDisabled = true;\n fromMax = minValue;\n toMin = maxValue;\n } else {\n if (currentMinValue < minValue || currentMinValue > maxValue) {\n currentMinValue = minValue;\n }\n\n if (currentMaxValue < minValue || currentMaxValue > maxValue) {\n currentMaxValue = maxValue;\n }\n\n if (currentMaxValue < currentMinValue) {\n currentMinValue = minValue;\n currentMaxValue = maxValue;\n }\n\n fromMax = currentMaxValue - step;\n toMin = currentMinValue + step;\n }\n\n $slider.ionRangeSlider({\n type: \"double\",\n grid: true,\n min: minValue,\n max: maxValue,\n from: currentMinValue,\n to: currentMaxValue,\n from_max: fromMax,\n to_min: toMin,\n block: rangeDisabled,\n postfix: symbol,\n skin: \"flat\",\n step: step,\n hide_min_max: true,\n onChange: function (data) {\n $text.val(textMask.replace(\"((from))\", data.from).replace(\"((to))\", data.to));\n },\n onFinish: function (data) {\n var queryName;\n\n queryName = $(data.input).closest('.x-filter-range-slider').data('filter-key') + '-from';\n documentURL = UpdateQueryString(queryName, data.from, documentURL);\n queryName = $(data.input).closest('.x-filter-range-slider').data('filter-key') + '-to';\n documentURL = UpdateQueryString(queryName, data.to, documentURL);\n\n if (!hasSubmitButton) UpdateProductList(documentURL);\n }\n });\n\n $text.val(textMask.replace(\"((from))\", $slider.data(\"from\")).replace(\"((to))\", $slider.data(\"to\")));\n\n });\n }\n\n function initFilters() {\n var filterKey, searchid, searchList;\n\n //click filter functionality\n $(\".filters .filter ul.filters-list li a\", $wrapper).click(function (e) {\n e.preventDefault();\n\n var itemswithvalue, itemswithoutvalue, urlWithItem, urlWithoutItem;\n var queryName = $(this).attr(\"data-query\");\n var queryValue = $(this).attr(\"data-value\");\n var items = getQueryStringValueByName(queryName);\n\n $(\".filters\", $wrapper).addClass('x-loading');\n\n if (venddProjectConfigs.FilterScrollMobileEnabled)\n saveFiltersState($(this).closest('.filter'));\n\n if ($(this).hasClass(\"checked\")) {\n\n if ($(this).closest('.filter').hasClass('multi-select')) {\n $(this).removeClass(\"checked icon-check\").addClass('icon-empty');\n }\n $(this).removeClass(\"checked\");\n\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n documentURL = urlWithoutItem;\n } else {\n\n if ($(this).closest('.filter').hasClass('multi-select')) {\n $(this).addClass(\"icon-check\").removeClass('icon-empty');\n } else if ($(this).closest('.filter').hasClass('unique-select')) {\n items = '';\n $(this).closest(\"li\").siblings().find('a').removeClass(\"checked\");\n }\n $(this).addClass(\"checked\");\n\n itemswithvalue = items == '' ? queryValue : items + ',' + queryValue;\n urlWithItem = UpdateQueryString(queryName, itemswithvalue, documentURL);\n documentURL = urlWithItem;\n }\n\n if (!hasSubmitButton) UpdateProductList(documentURL);\n\n $(\".filters\", $wrapper).removeClass('x-loading');\n });\n\n //search filter functionality\n if (!isTouch()) {\n $(\".js-scrollbar\", $wrapper).mCustomScrollbar({\n scrollbarPosition: \"outside\",\n scrollInertia: 400,\n theme: \"dark-2\",\n mouseWheel: { preventDefault: true }\n });\n }\n\n $('.filters .filter.search', $wrapper).each(function () {\n filterKey = $(this).data('filter-key');\n searchid = filterKey + '-search-id';\n\n var options = {\n valueNames: [filterKey]\n };\n\n searchList = new List(searchid, options);\n\n searchList.on('updated', function (list) {\n if (list.matchingItems.length > 0) {\n $('.no-result').hide();\n } else {\n $('.no-result').show();\n }\n });\n });\n\n //date filter functionality\n $(\".js-datefilter .js-apply-Filter-button\", $wrapper).click(function () {\n var filterwrap = this.closest('.js-datefilter');\n var mask = $('.js-datefilterUrlMask', filterwrap)[0].value;\n var dateFrom = $('.js-datefilterdateFrom', filterwrap)[0].value;\n var dateTo = $('.js-datefilterdateTo', filterwrap)[0].value;\n mask = mask.replace(\"(date-from)\", dateFrom).replace(\"(date-to)\", dateTo).replace(\"(tag),\", \"\");\n UpdateProductList(mask);\n });\n\n //submit specific filter\n $(\".js-submit-range-filter\", $wrapper).click(function (e) {\n e.preventDefault();\n\n //get specific filter\n var $rangeInputFilter = $(this).closest('.x-control[data-control=\"filter\"][data-type=\"range-input\"]');\n //get input values\n var $inputFrom = $('.input-from', $rangeInputFilter);\n var valFrom = $inputFrom.val() ? parseFloat($inputFrom.val()) : null;\n var $inputTo = $('.input-to', $rangeInputFilter);\n var valTo = $inputTo.val() ? parseFloat($inputTo.val()) : null;\n //if both inputs are empty -> return\n if (valFrom == null && valTo == null)\n return;\n\n getInputFilterValues($rangeInputFilter);\n UpdateProductList(documentURL);\n });\n\n //submit filters\n $(\".js-submit-filters\", $wrapper).click(function (e) {\n e.preventDefault();\n //get input values\n getInputFilterValues();\n UpdateProductList(documentURL);\n //close pop up in mobile\n if (isAjaxLoad && (isTouch() && $(window).width() < 960)) {\n wrapper.close();\n }\n });\n\n //clear all applied filters\n $(\".js-clear-all-filter\", $wrapper).click(function (e) {\n e.preventDefault();\n\n var searchParam = getQueryStringValueByName('search-for');\n\n if (searchParam) {\n var url = (documentURL || \"\").split('?')[0];\n url += '?search-for=' + searchParam;\n documentURL = url;\n UpdateProductList(documentURL);\n }\n else {\n //retain old functionality\n documentURL = documentURL.split('?')[0];\n UpdateProductList(documentURL);\n }\n\n });\n\n //clear applied filter\n $(\".js-clear-filter\", $wrapper).click(function () {\n\n var queryName, queryValue, items, itemswithoutvalue, urlWithoutItem;\n\n if ($(this).hasClass('range')) {\n //remove from-value from url\n queryName = $(this).attr(\"data-query\") + '-from';\n queryValue = parseFloat($(this).attr(\"data-from\")).toString();\n items = getQueryStringValueByName(queryName);\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n //update document url\n documentURL = urlWithoutItem;\n\n //remove to-value from url\n queryName = $(this).attr(\"data-query\") + '-to';\n queryValue = parseFloat($(this).attr(\"data-to\")).toString();\n items = getQueryStringValueByName(queryName);\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n //update document url\n documentURL = urlWithoutItem;\n } else {\n //remove value from url\n queryName = $(this).attr(\"data-query\");\n queryValue = $(this).attr(\"data-value\");\n items = getQueryStringValueByName(queryName);\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n //update document url\n documentURL = urlWithoutItem;\n }\n\n UpdateProductList(documentURL);\n });\n\n //function for expand/collapse filters\n expandFilters();\n\n //function for open/close filters\n toggleFilters();\n\n //function for show/hide more filters\n seeMoreToggle(6);\n }\n\n function toggleFilters() {\n var iconOpen = $wrapper.data('icon-open');\n var iconClose = $wrapper.data('icon-close');\n\n wrapper.open = function () {\n if ($wrapper.hasClass('with-popup')) {\n $('.header-overlay').addClass('visible');\n $('html, body').addClass('no-scroll');\n }\n $('.js-filter-toggle-btn', $wrapper).removeClass(iconOpen).addClass(iconClose + ' active');\n $wrapper.addClass('opened');\n };\n\n wrapper.close = function () {\n $('.js-filter-toggle-btn', $wrapper).removeClass(iconClose + ' active').addClass(iconOpen);\n $wrapper.removeClass('opened');\n if ($wrapper.hasClass('with-popup')) {\n $('html, body').removeClass('no-scroll');\n $('.header-overlay').removeClass('visible');\n }\n };\n\n $wrapper.off('click', '.js-filter-toggle-btn').on('click', '.js-filter-toggle-btn', function (e) {\n e.preventDefault();\n var $this = $(this);\n\n if ($this.hasClass('active')) {\n wrapper.close();\n } else {\n wrapper.open();\n }\n });\n\n if ($wrapper.hasClass('with-toggle')) {\n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n wrapper.close();\n }\n });\n }\n\n if ($wrapper.hasClass('with-popup')) {\n $wrapper.on('click', '.js-close-filters, .js-close-ajax-filters', function (e) {\n e.preventDefault();\n wrapper.close();\n });\n\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n wrapper.close();\n });\n\n $(window).resize(_.debounce(function () {\n if ($(window).width() >= 960) {\n wrapper.close();\n }\n }, 50));\n }\n }\n\n function expandFilters() {\n $(\".filters .filter\", $wrapper).children('.title').addClass('icon-arrow-down');\n $(\".filters .filter.expanded\", $wrapper).children('.title').addClass('icon-arrow-up');\n\n $(\".filters .filter .title\", $wrapper).click(function () {\n if ($(this).parent().hasClass(\"disabled\")) return;\n if ($(this).parent().hasClass(\"expanded\")) {\n $(this).parent().removeClass(\"expanded\");\n $(this).removeClass('icon-arrow-up').addClass('icon-arrow-down');\n } else {\n $(this).parent().addClass(\"expanded\");\n $(this).removeClass('icon-arrow-down').addClass('icon-arrow-up');\n }\n });\n }\n\n function initFilterExpander() {\n if ($(window).width() < 960) {\n if (!$wrapper.hasClass('mobile')) {\n closeExpandedFilters();\n $wrapper.addClass('mobile');\n }\n } else {\n if ($wrapper.hasClass('mobile')) {\n $('.filter', $wrapper).addClass('expanded').find('.title').removeClass('icon-arrow-down').addClass('icon-arrow-up');\n $wrapper.removeClass('mobile');\n }\n }\n }\n\n function closeExpandedFilters() {\n $('.filter.expanded', $wrapper).removeClass('expanded').find('.title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n $wrapper.addClass('mobile');\n }\n\n function seeMoreToggle(columnSize) {\n $('.filters .filter.simple.see-more').each(function () {\n var multiplier = $(this).hasClass('two-columns') ? 2 : 1;\n\n if ($(this).find('.filters-list').children('li').length > (columnSize * multiplier)) {\n $(this).find(\".show-more\").addClass('visible');\n }\n });\n $(\".filter-toggle-btn\").click(function () {\n if ($(this).hasClass('show-more'))\n $(this).removeClass('show-more icon-arrow-down').addClass('show-less icon-arrow-up').closest('.filter').addClass('show-all');\n else {\n $(this).removeClass('show-less icon-arrow-up').addClass('show-more icon-arrow-down').closest('.filter').removeClass('show-all');\n }\n });\n }\n\n function saveFiltersState(filter) {\n\n if (!isTouch() || $(window).width() > 960)\n return;\n\n Cookies.set(\"OpenedFilter\", filter.data('filter-key'), { samesite: 'Lax' });\n }\n\n function openFiltersAfterReload() {\n\n if (!isTouch() || $(window).width() > 960)\n return;\n\n var filterKey = Cookies.get(\"OpenedFilter\");\n var headerHeight = $('.header-region').height();\n var filtersScroll;\n\n if (filterKey) {\n var openedFilter = $(\".filters .filter[data-filter-key='\" + filterKey + \"']\", $wrapper);\n $('.js-filter-toggle-btn', $wrapper).trigger('click');\n openedFilter.children('.title').trigger('click');\n Cookies.remove(\"OpenedFilter\", { path: '/' });\n filtersScroll = setTimeout(function () {\n $('html, body').animate({\n scrollTop: openedFilter.offset().top - headerHeight\n }, 300);\n }, 2000);\n }\n\n $(window).scroll(function () {\n clearTimeout(filtersScroll);\n });\n }\n\n wrapper.loading = function loading(loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.update = function update() {\n wrapper.loading(true);\n\n //update filters\n var filters = Vendd.Handlebars.parse(\"filtersList_A\", model.Filters);\n $wrapper.html(filters);\n\n $('.js-close-ajax-filters', $wrapper).text(model.Products.ItemsCountText);\n\n wrapper.bind();\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function bind() {\n initSliderFilters();\n\n initFilters();\n\n //close expanded filters\n if ($(window).width() < 960) closeExpandedFilters();\n\n $(window).resize(_.debounce(function () { initFilterExpander(); }, 50));\n\n if (venddProjectConfigs.FilterScrollMobileEnabled)\n openFiltersAfterReload();\n };\n\n wrapper.bind();\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, wrapper, function (envelope) {\n model = envelope.message.data.data;\n wrapper.update();\n });\n\n //issue for serialize of Handlebar.NET(sync) & JS Handlebars (async) for rangeFilter.html\n Handlebars.registerHelper('serialize', function (context) {\n return (context);\n });\n\n //reload the page on back browser\n window.addEventListener('popstate', function () {\n if (($('.product-list-page').length > 0 || $('.search-products-page').length > 0) && isAjaxLoad) {\n location.reload();\n }\n }, false);\n });\n\n});\n\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-brand-widget');\n\n if ($wrapper.length < 1)\n return;\n\n \n //On click Brands Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if ($(this).hasClass('x-open')) {\n $('html').removeClass('hide-sticky-btns');\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n } else {\n $('html').addClass('hide-sticky-btns');\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n //init height calculation\n if ($(window).width() < 960 && isTouch()) { \n calculateHeight();\n } \n \n //init Plugin for Scrollbar\n initCustomScrollbar();\n //init Plugin for Search\n initSearch();\n\n }\n });\n\n //Calculate height on resize\n $(window).resize(function () {\n if ($(window).width() < 960 && isTouch()) {\n if ($('.js-widget-container', $wrapper).hasClass('x-expanded')) {\n calculateHeight();\n }\n }\n });\n\n //On click outside Brand Widget\n $(document).on('click', function (e) {\n\n if (!$('.js-widget-trigger', $wrapper).hasClass('x-open'))\n return;\n\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n }\n });\n\n function calculateHeight() {\n var $container = $('.js-widget-container', $wrapper);\n var $windowHeight = $(window).height();\n var $headerHeight = $('.header-region').height();\n var $criticalHeight = $windowHeight - $headerHeight;\n\n $container.css('height', $criticalHeight);\n\n }\n\n function initCustomScrollbar() {\n\n var $scrollbar = $('.js-scrollbar', $wrapper);\n\n if (isTouch() || $scrollbar.hasClass('mCustomScrollbar'))\n return;\n\n $scrollbar.mCustomScrollbar({\n scrollbarPosition: \"outside\",\n scrollInertia: 400,\n timeout: 1000,\n theme: \"dark-thin\",\n mouseWheel: { preventDefault: true }\n });\n\n }\n\n function initSearch() {\n\n var options = {\n valueNames: ['brand']\n };\n\n var brandList = new List('brand-search', options);\n\n brandList.on('updated', function (list) {\n if (list.matchingItems.length > 0) {\n $('.no-result').hide();\n } else {\n $('.no-result').show();\n }\n });\n }\n\n});\n\n","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-header-notification');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null;\n\n wrapper.update = function () {\n var html = Vendd.Handlebars.parse(\"headerNotification_A\", model);\n wrapper.bind(html);\n\n };\n\n wrapper.bind = function (html) {\n $wrapper.html(html);\n\n $('.js-close-header-notification', $wrapper).on('click', function () {\n $('.js-header-notification', $wrapper).removeClass('visible');\n\n sessionStorage.setItem('noHeaderNotification', true);\n });\n };\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, $wrapper, function (envelope) {\n model = envelope.message.data;\n\n var flag = sessionStorage.getItem('noHeaderNotification');\n\n if (model.CheckoutStatus.IsDisabled && (model.CheckoutStatus.Reason === 'DailyTradingLimitReached' || model.CheckoutStatus.Reason === 'TradingRestriction' ) && flag === null) {\n wrapper.update();\n }\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-track-trace'),\n $trackTraceForm = $('.x-track-trace-form');\n\n var model = null;\n var wrapper = $wrapper;\n\n if ($wrapper.length < 1)\n return;\n\n var trackTraceForm = $trackTraceForm.get(0);\n\n var formData = {\n providerId: 0,\n voucherCode: '',\n orderCode: ''\n };\n\n wrapper.loading = function loading(loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n };\n };\n\n wrapper.update = function update() {\n wrapper.loading(true);\n\n var html = Vendd.Handlebars.parse(\"trackTraceReview_A\", model);\n wrapper.bind(html);\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function bind(html) {\n wrapper.html(html);\n };\n\n $trackTraceForm.on('click', '.tab-title', function () {\n \n \n var thisTab = $(this);\n var innerWrapper = thisTab.closest('.x-tab-panel');\n var thisTabIndex = thisTab.data('tab-index');\n\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).children('.mb-title').addClass('icon-arrow-up').removeClass('icon-arrow-down');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).siblings().children('.mb-title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n\n thisTab.addClass('active').siblings().removeClass('active');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).addClass('active').siblings().removeClass('active');\n\n });\n\t\n $trackTraceForm.on('click', '.x-tab-mobile', function () {\n \n var $this = $(this);\n var innerWrapper = $this.closest('.x-tab-panel');\n var thisTabIndex = $this.data('tab-index');\n\n \n \n $('.x-tab-mobile', innerWrapper).removeClass('icon-arrow-up').addClass('icon-arrow-down');\n $this.removeClass('icon-arrow-down').addClass('icon-arrow-up');\n \n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).addClass('active').siblings().removeClass('active');\n });\n\n\n $trackTraceForm.on('click', '.js-submit-button', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n if ($('.tab-content.active', '.x-tab-panel').hasClass('voucher')) {\n if ($('select[name=\"dlProviderId\"]').length > 0) {\n if ($('select[name=\"dlProviderId\"]').val() && $('select[name=\"dlProviderId\"]').val() == 0) {\n return;\n }\n } else if (!($trackTraceForm.data('default-provider'))) {\n return;\n }\n } else if ($('.tab-content.active', '.x-tab-panel').hasClass('order')) {\n if ($('input[name=\"orderCode\"]').val() === undefined) {\n return;\n }\n }\n trackTraceForm.submit();\n \n });\n\n\n trackTraceForm.submit = function () {\n trackTraceForm.loading(true);\n\n if ($('.tab-content.active', '.x-tab-panel').hasClass('voucher')) {\n formData.voucherCode = $('input[name=\"voucherCode\"]').val();\n formData.orderCode = undefined;\n formData.providerId = ($('select[name=\"dlProviderId\"]').length > 0) ? \n $('select[name=\"dlProviderId\"]').val() : $trackTraceForm.data('default-provider'); \n\n } else if ($('.tab-content.active', '.x-tab-panel').hasClass('order')) {\n formData.voucherCode = undefined;\n formData.orderCode = $('input[name=\"orderCode\"]').val();\n formData.providerId = undefined;\n }\n\n Vendd.MessageBus.publishAsync(wrapper.get(0), new Vendd.TrackTrace.Messages.GetTrackTraceModel(formData.voucherCode, formData.orderCode, formData.providerId));\n };\n\n trackTraceForm.loading = function (loading) {\n if (loading) {\n $trackTraceForm.addClass('x-loading');\n } else {\n $trackTraceForm.removeClass('x-loading');\n }\n };\n\n Vendd.MessageBus.subscribe(Vendd.TrackTrace.Messages.GetTrackTraceModelSuccess, wrapper, function (envelope) {\n\n model = envelope.message.data.model;\n wrapper.update();\n });\n\n});","Vendd.Scripts.load(function () {\n\n\tvar $wrapper = $('.x-payment-order');\n\n\tif ($wrapper.length < 1)\n\t\treturn;\n\n\t$wrapper.each(function () {\n\t\tvar paymentOrder = this;\n\t\tvar $paymentOrder = $(paymentOrder);\n\n\t\tvar $forms = $('form.x-payment-order-form', $paymentOrder);\n\n\t\tif ($forms.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\t$forms.each(function () {\n\t\t\tvar form = this;\n\t\t\tvar $form = $(form);\n\n\t\t\t//var $submit = $('.js-submit-button', $paymentOrder);\n\n\t\t\tvar $captcha = $('.recaptcha-wrapper', $form);\n\t\t\tvar captchaId = $captcha.attr('id');\n\t\t\tvar captchaWidgetId = undefined;\n\n\t\t\t// reCAPTCHA\n\t\t\tvar captchaId = \"paymentOrderCaptcha\";\n\t\t\tvar captchaWidgetId;\n\t\t\tvar $captchaElement = $form.find(\"#\" + captchaId);\n\t\t\tvar $captchaContainer = $form.find('.recaptcha-container');\n\t\t\tvar captchaEnabled = $captchaElement.length > 0 ? true : false;\n\n\t\t\t$.fn.validationEngine.validations.isPaymentOrderAmount = function (value) {\n\t\t\t\tvar decimalSeparator = LhApp.Context.Currency.DecimalSeparator || '.';\n\t\t\t\tvar nativeDecimalSeparator = '.';\n\t\t\t\tvar numericLiteral = value.replace(decimalSeparator, nativeDecimalSeparator).trim();\n\t\t\t\tvar numericRegExp = /^(?:\\d+(?:\\.\\d*)?|\\.(?:\\d+)?)$/;\n\n\t\t\t\treturn numericRegExp.test(numericLiteral);\n\t\t\t};\n\n\t\t\tvar validationOptions = {\n\t\t\t\t'billingAddress.firstName': {\n\t\t\t\t\trequired: 'firstname-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.lastName': {\n\t\t\t\t\trequired: 'lastname-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.email': {\n\t\t\t\t\trequired: 'email-required',\n\t\t\t\t\tisEmail: 'email-invalid'\n\t\t\t\t},\n\t\t\t\t'billingAddress.phone': {\n\t\t\t\t\trequired: 'phone-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.mobile': {\n\t\t\t\t\trequired: 'mobile-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.fax': {\n\t\t\t\t\t// required: 'fax-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.country': {\n\t\t\t\t\trequired: 'country-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.address': {\n\t\t\t\t\trequired: 'address-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.address2': {\n\t\t\t\t\t// required: 'address2-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.postCode': {\n\t\t\t\t\trequired: 'postcode-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.city': {\n\t\t\t\t\trequired: 'city-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.prefecture': {\n\t\t\t\t\trequired: 'prefecture-required'\n\t\t\t\t},\n\t\t\t\t'preferredAmount': {\n\t\t\t\t\trequired: 'amount-required',\n\t\t\t\t\tisPaymentOrderAmount: 'amount-invalid'\n\t\t\t\t},\n\t\t\t\t'paymentMethod': {\n\t\t\t\t\tcheckboxRequired: 'paymentmethod-required'\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tvar validationEngine = $form.validationEngine(validationOptions).data('validationEngine');\n\n\t\t\t$form.on('submit', function (e) {\n\t\t\t\tform.updateJSONFieldValues();\n\t\t\t\t//form.logInputData();\n\n\t\t\t\tif (!validationEngine.validate() || !form.validateRecaptcha()) {\n\t\t\t\t\tform.scrollToError();\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tform.loading(true);\n\t\t\t});\n\n\t\t\t$form.on('change', 'select[name], input[name][type=\"radio\"]', function (e) {\n\t\t\t\tvar $field = $(this);\n\t\t\t\tvar name = $field.attr('name');\n\t\t\t\tvalidationEngine.validate(name);\n\t\t\t});\n\n\t\t\t$form.on('keyup', 'input[name], textarea[name]', function (e) {\n\t\t\t\tvar $field = $(this);\n\t\t\t\tvar name = $field.attr('name');\n\t\t\t\tvalidationEngine.validate(name);\n\t\t\t});\n\n\t\t\tform.scrollToError = function () {\n\t\t\t\tvar $formRowsWithError = $('.form-row.with-error', $form);\n\n\t\t\t\tif ($formRowsWithError.length > 0) {\n\t\t\t\t\tvar $formRow = $formRowsWithError.first();\n\t\t\t\t\tvar scrollOffsetY = $formRow.offset().top;\n\n\t\t\t\t\t$('html,body').animate({\n\t\t\t\t\t\tscrollTop: scrollOffsetY - 100\n\t\t\t\t\t}, 600);\n\t\t\t\t}\n\n\t\t\t};\n\n\t\t\tform.logInputData = function () {\n\t\t\t\t$form.find('input').each(function () {\n\t\t\t\t\tvar $field = $(this);\n\t\t\t\t\tvar name = $field.attr('name');\n\t\t\t\t\tvar value = $field.val();\n\n\t\t\t\t\tconsole.log(name + ': \"' + value + '\"');\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tform.initRecaptcha = function () {\n\n\t\t\t\tif (!captchaEnabled)\n\t\t\t\t\treturn;\n\n\t\t\t\tvar sitekey = $captchaElement.data(\"sitekey\");\n\t\t\t\tif (sitekey) {\n\t\t\t\t\tcaptchaEnabled = true;\n\t\t\t\t\tcaptchaWidgetId = grecaptcha.render(captchaId, {\n\t\t\t\t\t\t'sitekey': sitekey,\n\t\t\t\t\t\t'callback': form.recaptchaCallback\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tform.recaptchaCallback = function () {\n\t\t\t\tform.validateRecaptcha();\n\t\t\t};\n\n\t\t\tform.resetRecaptcha = function () {\n\t\t\t\t// Website must only verify the user's reCAPTCHA response token (g-recaptcha-response) once. \n\t\t\t\t// If a verify attempt has been made with a particular token, it cannot be used again. \n\t\t\t\t// Call grecaptcha.reset() to ask the end user to verify with reCAPTCHA again.\n\t\t\t\tif (captchaEnabled)\n\t\t\t\t\tgrecaptcha.reset(captchaWidgetId);\n\t\t\t};\n\n\t\t\tform.removeRecaptcha = function () {\n\t\t\t\t$captchaElement.remove();\n\t\t\t};\n\n\t\t\tform.validateRecaptcha = function () {\n\t\t\t\tif (!captchaEnabled)\n\t\t\t\t\treturn true;\n\n\t\t\t\tformData.reCaptchaCode = $captchaElement.find('.g-recaptcha-response').val();\n\n\t\t\t\tvar res = false;\n\n\t\t\t\tif (formData.reCaptchaCode) {\n\t\t\t\t\t$captchaContainer.find('.recaptcha-required').removeClass('error');\n\t\t\t\t\tres = true;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t$captchaContainer.find('.recaptcha-required').addClass('error');\n\t\t\t\t}\n\n\t\t\t\treturn res;\n\t\t\t};\n\n\t\t\tform.loading = function (loading) {\n\t\t\t\t$form.toggleClass('x-loading', loading);\n\t\t\t};\n\n\t\t\tform.updateJSONFieldValues = function () {\n\t\t\t\t$('.js-field-json-data', $form).each(function () {\n\t\t\t\t\tvar $field = $(this);\n\t\t\t\t\tvar name = $field.attr('name');\n\t\t\t\t\tvar value = $field.val();\n\t\t\t\t\tvar data = $field.data();\n\t\t\t\t\t//console.log('JSON data string[' + name + ']: \"' + value + '\"');\n\t\t\t\t\tvalue = value.length ? JSON.parse(value) : {};\n\t\t\t\t\tvalue = $.extend({}, value, data);\n\t\t\t\t\tvalue = JSON.stringify(data);\n\t\t\t\t\t$field.val(value);\n\t\t\t\t});\n\t\t\t\t$('.js-field-json-input', $form).each(function () {\n\t\t\t\t\tvar $field = $(this);\n\t\t\t\t\tvar fieldName = $field.attr('name');\n\t\t\t\t\tvar fieldPrefix = fieldName + '.';\n\t\t\t\t\tvar $inputs = $('input[name^=\"' + fieldPrefix + '\"]', $form);\n\t\t\t\t\tvar value = $field.val();\n\t\t\t\t\t//console.log('JSON input string[' + fieldName + ']: \"' + value + '\"');\n\t\t\t\t\tvalue = value.length ? JSON.parse(value) : {};\n\t\t\t\t\t$inputs.each(function () {\n\t\t\t\t\t\tvar $input = $(this);\n\t\t\t\t\t\tvar inputName = $input.attr('name').substr(fieldPrefix.length);\n\t\t\t\t\t\tvar inputValue = $input.val();\n\t\t\t\t\t\tvalue[inputName] = inputValue;\n\t\t\t\t\t});\n\t\t\t\t\tvalue = JSON.stringify(value);\n\t\t\t\t\t$field.val(value);\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tVendd.MessageBus.subscribe(Vendd.Plugins.Messages.RecaptcaLoaded, form, form.initRecaptcha);\n\t\t});\n\t});\n});","Vendd.Scripts.load(function () {\n\n\tvar $wrapper = $('.x-warehouse-selector-popup');\n\n\tif ($wrapper.length < 1) {\n\t\treturn;\n\t}\n\n\tvar wrapper = $wrapper.get(0),\n\t\t$root,\n\t\t$steps,\n\t\t$backButton,\n\t\t$closeButton;\n\n\tvar state = {\n\t\tcurrentStep: undefined\n\t};\n\n\twrapper.init = function () {\n\t\t$root = $('.warehouse-selector-popup', $wrapper);\n\t\t$steps = $('.warehouse-selector-step', $root);\n\t\t$backButton = $('.js-back', $root);\n\t\t$closeButton = $('.js-close', $root);\n\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.Widget.Messages.BindControl('x-warehouse-selector-popup'));\n\n\t\tstate.currentStep = 0;\n\n\t\twrapper.updateViewState();\n\t};\n\n\twrapper.updateViewState = function () {\n\t\t$steps.removeClass('active').eq(state.currentStep).addClass('active');\n\t\t$backButton.toggle(state.currentStep > 0);\n\t\t$closeButton.toggle(true);\n\t};\n\n\twrapper.update = function (model) {\n\t\t/* console.log('[WarehouseSelector] Popup JSON model: ' + JSON.stringify(model)); */\n\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorPopup_A\", model);\n\t\t$wrapper.html(html);\n\t\twrapper.init();\n\t};\n\n\twrapper.loading = function (status) {\n\t\tif (status === undefined) {\n\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t} else {\n\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t}\n\t};\n\n\twrapper.switchToStep = function (value) {\n\t\tif (value !== state.currentStep) {\n\t\t\t/* console.log('[WarehouseSelector] Current step: \"' + state.currentStep + '\" -> \"' + value + '\"'); */\n\t\t\tstate.currentStep = value;\n\t\t\twrapper.updateViewState();\n\t\t}\n\t};\n\n\twrapper.onShowing = function () {\n\t\twrapper.init();\n\t\twrapper.loading(true);\n\t\tVendd.MessageBus.publishAsync(wrapper, new Vendd.WarehouseSelector.Messages.GetPopupModel());\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('opening'));\n\t};\n\n\twrapper.onShown = function () {\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('opened'));\n\t};\n\n\twrapper.onHiding = function () {\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('closing'));\n\t};\n\n\twrapper.onHidden = function () {\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('closed'));\n\t};\n\n\t$wrapper.on('click', '.js-back', function (e) {\n\t\te.preventDefault();\n\t\twrapper.switchToStep(Math.max(0, state.currentStep - 1));\n\t});\n\n\t$wrapper.on('click', '.js-close', function (e) {\n\t\te.preventDefault();\n\t\t$.fancybox.close();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetPopupModelSuccess, 'x-warehouse-selector-popup', function (envelope) {\n\t\twrapper.loading(false);\n\t\twrapper.update(envelope.message.data.data);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetPopupModelFailed, wrapper, function (envelope) {\n\t\twrapper.loading(false);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.OpenPopup, wrapper, function (envelope) {\n\t\t$.fancybox.open($wrapper, {\n\t\t\tmodal: true,\n\t\t\tbeforeShow: wrapper.onShowing,\n\t\t\tafterShow: wrapper.onShown,\n\t\t\tbeforeClose: wrapper.onHiding,\n\t\t\tafterClose: wrapper.onHidden\n\t\t});\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.ClosePopup, wrapper, function (envelope) {\n\t\t$.fancybox.close();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\twrapper.switchToStep(1);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\twrapper.switchToStep(0);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess, wrapper, function (envelope) {\n\t\t$.fancybox.close();\n\t});\n\n\t/* jQuery extension used by contained components */\n\t$.fn.extend({\n\t\ttoggleDisabled: function (value) {\n\t\t\treturn this\n\t\t\t\t.prop('disabled', value)\n\t\t\t\t.toggleClass('disabled', value)\n\t\t\t\t.toggleClass('x-disabled', value)\n\t\t\t\t;\n\t\t},\n\t\tselectedVal: function (value) {\n\t\t\tif (value === undefined) {\n\t\t\t\tif (this.is('[type=\"radio\"]')) {\n\t\t\t\t\treturn this.filter(':checked').val();\n\t\t\t\t} else {\n\t\t\t\t\treturn this.val();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (this.is('[type=\"radio\"]')) {\n\t\t\t\t\treturn this.filter('[value=\"' + value + '\"]').prop('checked', true);\n\t\t\t\t} else {\n\t\t\t\t\treturn this.val(value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-one_A', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$postCode,\n\t\t\t$error,\n\t\t\t$submitButton;\n\n\t\tvar state = {\n\t\t\tpostCode: undefined,\n\t\t\tvalidationError: undefined\n\t\t};\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-one', $wrapper);\n\t\t\t$postCode = $(':input[name=\"postcode\"]', $root);\n\t\t\t$error = $('.js-error', $root);\n\t\t\t$submitButton = $('.js-submit', $root);\n\n\t\t\tstate.postCode = $postCode.selectedVal() || '';\n\t\t\tstate.validationError = false;\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$error.toggle(state.validationError);\n\t\t\t$submitButton.toggleDisabled(state.postCode === '' || state.validationError);\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t} else {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updatePostCode = function (value) {\n\t\t\tif (state.postCode !== value) {\n\t\t\t\tstate.postCode = value;\n\t\t\t\tstate.validationError = false;\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\t$wrapper.on('click', '.js-submit', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetStoresByPostCode(\n\t\t\t\tstate.postCode\n\t\t\t));\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"postcode\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\t\tstate.validationError = true;\n\t\t\twrapper.updateViewState();\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-one_A', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\tinit(envelope.sender);\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-one_B', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$postCode,\n\t\t\t$postCodeButton,\n\t\t\t$area,\n\t\t\t$submitButton;\n\n\t\tvar state = {\n\t\t\tpostCode: undefined,\n\t\t\tarea: undefined\n\t\t};\n\n\t\t/* State management variables for the dynamic fetching of the GeoArea option list,\n\t\t * to enable re-fetching, given that it doesn't support immediate cancellation. */\n\t\tvar shouldReloadAreas = false;\n\t\tvar loadingAreas = false;\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-one', $wrapper);\n\t\t\t$postCode = $(':input[name=\"postcode\"]', $root);\n\t\t\t$postCodeButton = $('.js-lookup', $root);\n\t\t\t$area = $(':input[name=\"area\"]', $root);\n\t\t\t$submitButton = $('.js-submit', $root);\n\n\t\t\tstate.postCode = $postCode.selectedVal() || '';\n\t\t\tstate.area = $area.selectedVal() || '';\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$postCodeButton.toggleDisabled(state.postCode === '');\n\t\t\t$area.toggleDisabled($('option', $area).length <= 1);\n\t\t\t$submitButton.toggleDisabled(state.postCode === '' || state.area === '');\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t} else {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.loadAreas = function () {\n\t\t\tif (state.postCode === '') {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (loadingAreas) {\n\t\t\t\tshouldReloadAreas = true;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$area.find('option').slice(1).remove();\n\t\t\t$area.val('');\n\t\t\twrapper.updateArea('');\n\n\t\t\tshouldReloadAreas = false;\n\t\t\tloadingAreas = true;\n\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetGeoAreas(\n\t\t\t\tstate.postCode\n\t\t\t));\n\t\t};\n\n\t\twrapper.onAreasLoaded = function (model) {\n\t\t\tloadingAreas = false;\n\n\t\t\tif (shouldReloadAreas) {\n\t\t\t\twrapper.loadAreas();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (model) {\n\t\t\t\twrapper.updateAreaSelector(model);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateAreaSelector = function (model) {\n\t\t\t/* console.log('[WarehouseSelector] Areas JSON model: ' + JSON.stringify(model)); */\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorAreaSelector_A\", model.GeoAreas);\n\t\t\t$('.x-warehouse-selector-area-selector', $wrapper).html(html);\n\t\t\twrapper.init();\n\t\t};\n\n\t\twrapper.updatePostCode = function (value) {\n\t\t\tif (state.postCode !== value) {\n\t\t\t\t/* console.log('[WarehouseSelector] PostCode: \"' + state.postCode + '\" -> \"' + value + '\"'); */\n\t\t\t\tstate.postCode = value;\n\t\t\t\twrapper.loadAreas();\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateArea = function (value) {\n\t\t\tif (state.area !== value) {\n\t\t\t\t/* console.log('[WarehouseSelector] Area: \"' + state.area + '\" -> \"' + value + '\"'); */\n\t\t\t\tstate.area = value;\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\t$wrapper.on('click', '.js-lookup', function (e) {\n\t\t\te.preventDefault();\n\t\t\t/* NOTE: Will only initiate a lookup operation if postcode has been modified since last lookup. */\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t\t/* console.log(\"[WarehouseSelector] Looking up \" + state.postCode); */\n\t\t});\n\n\t\t$wrapper.on('click', '.js-submit', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetStoresByGeoArea(\n\t\t\t\tstate.postCode,\n\t\t\t\tstate.area\n\t\t\t));\n\t\t});\n\n\t\t$wrapper.on('change', ':input[name=\"postcode\"]', function (e) {\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"postcode\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"postcode\"]', $.debounce(500, function () {\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t}));\n\n\t\t$wrapper.on('change', ':input[name=\"area\"]', function (e) {\n\t\t\twrapper.updateArea($area.val());\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetGeoAreasSuccess, wrapper, function (envelope) {\n\t\t\tvar model = envelope.message.data.data;\n\t\t\twrapper.onAreasLoaded(model);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetGeoAreasFailed, wrapper, function () {\n\t\t\t/* TODO: Shall we provide additional error handling? */\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t\t/* TODO: Shall we provide additional error handling? */\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-one_B', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\tinit(envelope.sender);\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tvar googleMaps = {\n\t\tapiUrl: 'https://maps.google.com/maps/api/',\n\t\tapiKey: LhApp.Context.Site.GoogleMapsKey,\n\t\tlanguage: LhApp.Context.Language,\n\t\tregion: LhApp.Context.Country,\n\t\tcallback: 'callback_googlemaps',\n\t\trequest: undefined,\n\t\tuseViewport: false\n\t}\n\n\tvar googleMapOptions = {\n\t\tdisableDefaultUI: true,\n\t\tzoomControl: true,\n\t\tmapTypeControl: false,\n\t\tfullscreenControl: false\n\t};\n\n\tvar googleMapsLoaded = false;\n\tvar warehouseSelectorContext = undefined;\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-one_C', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$map,\n\t\t\t$locateButton,\n\t\t\t$address,\n\t\t\t$addressButton,\n\t\t\t$submitButton,\n\t\t\tmap,\n\t\t\tmarker;\n\n\t\tvar state = {\n\t\t\tgeolocationAccessDenied: false,\n\t\t\taddress: undefined,\n\t\t\tlocationId: undefined\n\t\t};\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-one', $wrapper);\n\t\t\t$map = $('.map-container', $root);\n\t\t\t$locateButton = $('.js-locate', $root);\n\t\t\t$address = $(':input[name=\"address\"]', $root);\n\t\t\t$addressButton = $('.js-lookup', $root);\n\t\t\t$location = $(':input[name=\"location\"]', $root);\n\t\t\t$submitButton = $('.js-submit', $root);\n\n\t\t\t/* NOTE: The 'geolocationAccessDenied' field should not be updated after a re-init. */\n\t\t\tstate.address = $address.val() || '';\n\t\t\tstate.locationId = $location.selectedVal();\n\n\t\t\twrapper.initMap();\n\t\t\twrapper.moveMarkerToLocation(wrapper.getSelectedLocation());\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.initMap = function () {\n\t\t\tif (!map) {\n\t\t\t\tvar mapOptions = $.extend({}, googleMapOptions);\n\n\t\t\t\tvar mapZoom = parseFloat($map.data('map-zoom'));\n\t\t\t\tvar mapLatitude = parseFloat($map.data('map-latitude'));\n\t\t\t\tvar mapLongitude = parseFloat($map.data('map-longitude'));\n\n\t\t\t\tif (!isNaN(mapZoom)) {\n\t\t\t\t\tmapOptions = $.extend(mapOptions, {\n\t\t\t\t\t\tzoom: mapZoom\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tif (!isNaN(mapLatitude) && !isNaN(mapLongitude)) {\n\t\t\t\t\tmapOptions = $.extend(mapOptions, {\n\t\t\t\t\t\tcenter: {\n\t\t\t\t\t\t\tlat: mapLatitude,\n\t\t\t\t\t\t\tlng: mapLongitude\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tmap = new google.maps.Map($map.get(0), mapOptions);\n\t\t\t\tmap.addListener('click', wrapper.onMapClick);\n\t\t\t}\n\n\t\t\tif (!marker) {\n\t\t\t\tvar markerOptions = {\n\t\t\t\t\tdraggable: true\n\t\t\t\t};\n\n\t\t\t\tmarker = new google.maps.Marker(markerOptions);\n\t\t\t\tmarker.addListener('dragend', wrapper.onMarkerDragEnd);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$locateButton.toggleDisabled(state.geolocationAccessDenied);\n\t\t\t$addressButton.toggleDisabled(state.address === '');\n\t\t\t$submitButton.toggleDisabled(state.locationId === undefined);\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.getSelectedLocation = function () {\n\t\t\tvar $selectedLocation = $location.filter('[value=\"' + state.locationId + '\"]');\n\t\t\treturn convertDataToModel($selectedLocation.data());\n\t\t};\n\n\t\twrapper.moveMarkerToLocation = function (location) {\n\t\t\tif (location) {\n\t\t\t\tvar position = new google.maps.LatLng({\n\t\t\t\t\tlat: location.Coordinates.Latitude,\n\t\t\t\t\tlng: location.Coordinates.Longitude\n\t\t\t\t});\n\n\t\t\t\tvar isVisible = marker.getMap() && marker.getPosition();\n\n\t\t\t\tmarker.setTitle(location.Address);\n\t\t\t\tmarker.setPosition(position);\n\t\t\t\tmarker.setMap(map);\n\n\t\t\t\tif (!isVisible) {\n\t\t\t\t\t/* Avoid using panTo(...) method until the map initializes and becomes \n\t\t\t\t\t * visible to the user; use setCenter(...) instead. */\n\t\t\t\t\tmap.setCenter(position);\n\t\t\t\t\tmap.setZoom(18);\n\t\t\t\t}\n\t\t\t\telse if (location.Viewport && googleMaps.useViewport) {\n\t\t\t\t\tmap.fitBounds({\n\t\t\t\t\t\tsouth: location.Viewport.Southwest.Latitude,\n\t\t\t\t\t\twest: location.Viewport.Southwest.Longitude,\n\t\t\t\t\t\tnorth: location.Viewport.Northeast.Latitude,\n\t\t\t\t\t\teast: location.Viewport.Northeast.Longitude\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tmap.panTo(position);\n\t\t\t\t\tmap.setZoom(18);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tmarker.setMap(null);\n\t\t\t\tmarker.setPosition(null);\n\t\t\t}\n\n\t\t\twrapper.updateViewState();\n\t\t}\n\n\t\twrapper.updateMarkerPosition = function (position) {\n\t\t\tif (position) {\n\t\t\t\tmarker.setPosition(position);\n\t\t\t\tmarker.setMap(map);\n\t\t\t\twrapper.reverseGeocode();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tmarker.setMap(null);\n\t\t\t\tmarker.setPosition(null);\n\t\t\t}\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateAddress = function (address) {\n\t\t\tif (state.address !== address) {\n\t\t\t\tstate.address = address;\n\t\t\t\twrapper.geocode();\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateLocationId = function (locationId) {\n\t\t\tif (state.locationId !== locationId) {\n\t\t\t\tstate.locationId = locationId;\n\t\t\t\twrapper.moveMarkerToLocation(wrapper.getSelectedLocation());\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateAndSelectLocationSuggestion = function (location) {\n\t\t\tvar items = [{ IsSelected: true, Value: location }];\n\t\t\tvar model = { Items: items };\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorLocationSelector_A\", model);\n\t\t\t$('.x-warehouse-selector-location-selector', $root).html(html);\n\t\t\twrapper.init();\n\t\t}\n\n\t\twrapper.updateLocationSuggestions = function (locations) {\n\t\t\tvar items = $.map(locations, function (location) {\n\t\t\t\treturn { IsSelected: false, Value: location };\n\t\t\t});\n\t\t\tvar model = { Items: items };\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorLocationSelector_A\", model);\n\t\t\t$('.x-warehouse-selector-location-selector', $root).html(html);\n\t\t\twrapper.init();\n\t\t}\n\n\t\t/* Google geocoding and reverse-geocoding services */\n\n\t\twrapper.geocoding = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-geocoding');\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$wrapper.toggleClass('x-geocoding', status);\n\t\t\t}\n\t\t}\n\n\t\twrapper.reverseGeocoding = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-reverse-geocoding');\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$wrapper.toggleClass('x-reverse-geocoding', status);\n\t\t\t}\n\t\t}\n\n\t\twrapper.geocode = function () {\n\t\t\twrapper.cancelGeocode();\n\n\t\t\tif (state.address === '') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tgoogleMaps.request = $.ajax({\n\t\t\t\turl: googleMaps.apiUrl + 'geocode/json',\n\t\t\t\ttype: 'GET',\n\t\t\t\tdata: {\n\t\t\t\t\tkey: googleMaps.apiKey,\n\t\t\t\t\tlanguage: googleMaps.language,\n\t\t\t\t\tregion: googleMaps.region,\n\t\t\t\t\taddress: state.address,\n\t\t\t\t},\n\t\t\t\tbeforeSend: function (jqXHR) {\n\t\t\t\t\twrapper.geocoding(true);\n\t\t\t\t},\n\t\t\t\tcomplete: function (jqXHR, status) {\n\t\t\t\t\tgoogleMaps.request = undefined;\n\t\t\t\t\twrapper.geocoding(false);\n\t\t\t\t},\n\t\t\t\terror: function (jqXHR, status, error) {\n\t\t\t\t\tif (status === 'abort') {\n\t\t\t\t\t\treturn; /* User cancelled request ignore. */\n\t\t\t\t\t}\n\t\t\t\t\tconsole.log('' + error);\n\t\t\t\t},\n\t\t\t\tsuccess: function (data, status, jqXHR) {\n\t\t\t\t\tif (data && data.status === 'OK' && data.results && data.results.length > 0) {\n\t\t\t\t\t\tvar model = convertPlacesToModel(data.results);\n\t\t\t\t\t\tif (model.length === 1) {\n\t\t\t\t\t\t\twrapper.updateAndSelectLocationSuggestion(model[0]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (model.length > 1) {\n\t\t\t\t\t\t\twrapper.updateLocationSuggestions(model);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if (data && data.error_message) {\n\t\t\t\t\t\ttoastr.error(data.error_message);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\twrapper.reverseGeocode = function () {\n\t\t\twrapper.cancelGeocode();\n\n\t\t\tif (!marker.getMap()) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tgoogleMaps.request = $.ajax({\n\t\t\t\turl: googleMaps.apiUrl + 'geocode/json',\n\t\t\t\ttype: 'GET',\n\t\t\t\tdata: {\n\t\t\t\t\tkey: googleMaps.apiKey,\n\t\t\t\t\tlanguage: googleMaps.language,\n\t\t\t\t\tregion: googleMaps.region,\n\t\t\t\t\tlatlng: marker.getPosition().toUrlValue()\n\t\t\t\t},\n\t\t\t\tbeforeSend: function (jqXHR) {\n\t\t\t\t\twrapper.reverseGeocoding(true);\n\t\t\t\t},\n\t\t\t\tcomplete: function (jqXHR, status) {\n\t\t\t\t\tgoogleMaps.request = undefined;\n\t\t\t\t\twrapper.reverseGeocoding(false);\n\t\t\t\t},\n\t\t\t\terror: function (jqXHR, status, error) {\n\t\t\t\t\tif (status === 'abort') {\n\t\t\t\t\t\treturn; /* User cancelled request ignore. */\n\t\t\t\t\t}\n\t\t\t\t\tconsole.log('' + error);\n\t\t\t\t},\n\t\t\t\tsuccess: function (data, status, jqXHR) {\n\t\t\t\t\tif (data && data.status === 'OK' && data.results && data.results.length > 0) {\n\t\t\t\t\t\tvar model = convertPlacesToModel(data.results);\n\t\t\t\t\t\tif (model.length) {\n\t\t\t\t\t\t\twrapper.updateAndSelectLocationSuggestion(model[0]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\twrapper.updateLocationSuggestions([]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if (data && data.error_message) {\n\t\t\t\t\t\ttoastr.error(data.error_message);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t});\n\t\t}\n\n\t\twrapper.cancelGeocode = function () {\n\t\t\tif (googleMaps.request !== undefined) {\n\t\t\t\tgoogleMaps.request.abort();\n\t\t\t\tgoogleMaps.request = undefined;\n\t\t\t}\n\t\t};\n\n\t\t/* Event handlers */\n\n\t\twrapper.onMapClick = function (e) {\n\t\t\twrapper.updateMarkerPosition(e.latLng);\n\t\t};\n\n\t\twrapper.onMarkerDragEnd = function (e) {\n\t\t\twrapper.updateMarkerPosition(e.latLng);\n\t\t};\n\n\t\t$wrapper.on('click', '.js-locate', function (e) {\n\t\t\te.preventDefault();\n\n\t\t\tif (navigator.geolocation) {\n\t\t\t\tnavigator.geolocation.getCurrentPosition(\n\t\t\t\t\tfunction (position) {\n\t\t\t\t\t\tvar latLng = new google.maps.LatLng({\n\t\t\t\t\t\t\tlat: position.coords.latitude,\n\t\t\t\t\t\t\tlng: position.coords.longitude,\n\t\t\t\t\t\t});\n\t\t\t\t\t\twrapper.updateMarkerPosition(latLng);\n\t\t\t\t\t},\n\t\t\t\t\tfunction (error) {\n\t\t\t\t\t\ttoastr.error(error.message);\n\t\t\t\t\t\tstate.geolocationAccessDenied = true;\n\t\t\t\t\t\twrapper.updateViewState();\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\n\t\t$wrapper.on('click', '.js-lookup', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.geocode();\n\t\t});\n\n\t\t$wrapper.on('change', ':input[name=\"address\"]', function () {\n\t\t\twrapper.updateAddress($address.val());\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"address\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"address\"]', $.debounce(500, function () {\n\t\t\twrapper.updateAddress($address.val());\n\t\t}));\n\n\t\t$wrapper.on('change', ':input[name=\"location\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.updateLocationId($location.selectedVal());\n\t\t});\n\n\t\t$wrapper.on('click', '.js-submit', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetStoresByLocation(\n\t\t\t\twrapper.getSelectedLocation()\n\t\t\t));\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t\t/* TODO: Shall we provide additional error handling? */\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-one_C', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\twarehouseSelectorContext = envelope.sender;\n\n\t\t\tinstallScript({\n\t\t\t\tsrc: googleMaps.apiUrl + 'js?key=' + googleMaps.apiKey + '&language=' + googleMaps.language + '&callback=' + googleMaps.callback,\n\t\t\t\tasync: true,\n\t\t\t\tdefer: true\n\t\t\t});\n\n\t\t\tif (googleMapsLoaded) {\n\t\t\t\tinit(warehouseSelectorContext);\n\t\t\t}\n\t\t}\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Plugins.Messages.GoogleMapsLoaded, 'x-warehouse-selector-popup-step-one_C', function (envelope) {\n\t\tgoogleMapsLoaded = true;\n\n\t\tif (warehouseSelectorContext) {\n\t\t\tinit(warehouseSelectorContext);\n\t\t}\n\t});\n\n\n\t/* Helpers */\n\n\tfunction installScript(options) {\n\t\tvar baseUrl = options.src.match(/[^?]*/)[0]; /* Absolute URL without the query part. */\n\n\t\tif (!$('script[src^=\"' + baseUrl + '\"]').length) {\n\t\t\t/* console.log('[WarehouseSelector] Installing script: ' + options.src); */\n\t\t\tvar script = $.extend(document.createElement('script'), options);\n\t\t\tvar scripts = document.getElementsByTagName('script');\n\t\t\tscripts[0].parentNode.appendChild(script);\n\t\t}\n\t}\n\n\tfunction convertPlacesToModel(places) {\n\t\tvar model = [];\n\t\t$.each(places, function (index, place) {\n\t\t\t/* console.log('Types: ' + JSON.stringify(place.types)); */\n\t\t\tif (place.types.includes('street_address') ||\n\t\t\t\tplace.types.includes('intersection') ||\n\t\t\t\tplace.types.includes('premise') ||\n\t\t\t\tplace.types.includes('subpremise') ||\n\t\t\t\tplace.types.includes('establishment') ||\n\t\t\t\tplace.types.includes('point_of_interest')) {\n\t\t\t\tmodel.push(convertPlaceToModel(place));\n\t\t\t}\n\t\t});\n\t\treturn model;\n\t}\n\n\tfunction convertPlaceToModel(place) {\n\t\tif (place) {\n\t\t\t/* console.log('[WarehouseSelector] Place: ' + JSON.stringify(place)); */\n\t\t\treturn {\n\t\t\t\tId: place.place_id,\n\t\t\t\tAddress: place.formatted_address,\n\t\t\t\tAddressComponents: {\n\t\t\t\t\tStreetNumber: getAddressComponent(place.address_components, 'street_number'),\n\t\t\t\t\tStreetName: getAddressComponent(place.address_components, 'route'),\n\t\t\t\t\tArea: getAddressComponent(place.address_components, 'administrative_area_level_3'),\n\t\t\t\t\tCity: getAddressComponent(place.address_components, 'locality'),\n\t\t\t\t\tPrefecture: getAddressComponent(place.address_components, 'administrative_area_level_2'),\n\t\t\t\t\tPostalCode: getAddressComponent(place.address_components, 'postal_code'),\n\t\t\t\t\tCountryCode: getAddressComponent(place.address_components, 'country')\n\t\t\t\t},\n\t\t\t\tCoordinates: {\n\t\t\t\t\tLatitude: place.geometry.location.lat,\n\t\t\t\t\tLongitude: place.geometry.location.lng\n\t\t\t\t},\n\t\t\t\tViewport: {\n\t\t\t\t\tNortheast: {\n\t\t\t\t\t\tLatitude: place.geometry.viewport.northeast.lat,\n\t\t\t\t\t\tLongitude: place.geometry.viewport.northeast.lng\n\t\t\t\t\t},\n\t\t\t\t\tSouthwest: {\n\t\t\t\t\t\tLatitude: place.geometry.viewport.southwest.lat,\n\t\t\t\t\t\tLongitude: place.geometry.viewport.southwest.lng\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n\n\tfunction getAddressComponent(components, fieldType) {\n\t\tvar value = undefined;\n\t\t$.each(components, function (index, component) {\n\t\t\tif (component.types && component.types.includes(fieldType)) {\n\t\t\t\tvalue = component.short_name;\n\t\t\t\treturn false;\n\t\t\t}\n\t\t});\n\t\treturn value;\n\t}\n\n\tfunction convertDataToModel(data) {\n\t\tif (data) {\n\t\t\treturn {\n\t\t\t\tId: data.locationId,\n\t\t\t\tAddress: data.locationAddress,\n\t\t\t\tAddressComponents: {\n\t\t\t\t\tStreetNumber: data.locationStreetNumber,\n\t\t\t\t\tStreetName: data.locationStreetName,\n\t\t\t\t\tArea: data.locationArea,\n\t\t\t\t\tCity: data.locationCity,\n\t\t\t\t\tPrefecture: data.locationPrefecture,\n\t\t\t\t\tPostalCode: data.locationPostalCode,\n\t\t\t\t\tCountryCode: data.locationCountryCode\n\t\t\t\t},\n\t\t\t\tCoordinates: {\n\t\t\t\t\tLatitude: parseFloat(data.locationLatitude),\n\t\t\t\t\tLongitude: parseFloat(data.locationLongitude)\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n});\n","Vendd.Scripts.load(function () {\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-two', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$formDelivery,\n\t\t\t$formFromStore,\n\t\t\t$store,\n\t\t\t$submitDeliveryButton,\n\t\t\t$submitFromStoreButton;\n\n\t\tvar state = {\n\t\t\tsupportsDelivery: undefined,\n\t\t\tsupportsFromStore: undefined,\n\t\t\tstore: undefined\n\t\t};\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-two', $wrapper);\n\t\t\t$formDelivery = $('.js-form-delivery', $root);\n\t\t\t$formFromStore = $('.js-form-fromstore', $root);\n\t\t\t$store = $(':input[name=\"store\"]', $root);\n\t\t\t$submitDeliveryButton = $('.js-submit-delivery', $root);\n\t\t\t$submitFromStoreButton = $('.js-submit-fromstore', $root);\n\n\t\t\tstate.supportsDelivery = $root.data('supports-delivery') === 'true';\n\t\t\tstate.supportsFromStore = $root.data('supports-fromstore') === 'true';\n\t\t\tstate.store = $store.selectedVal() || '';\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$formDelivery.toggleClass('js-active', state.supportsDelivery);\n\t\t\t$formFromStore.toggleClass('js-active', state.supportsFromStore);\n\t\t\t$submitDeliveryButton.toggleDisabled(!state.supportsDelivery);\n\t\t\t$submitFromStoreButton.toggleDisabled(!state.supportsFromStore || state.store === '');\n\t\t};\n\n\t\twrapper.update = function (model) {\n\t\t\t//console.log('[WarehouseSelector] Selected store: ' + state.store);\n\t\t\t//console.log('[WarehouseSelector] Stores JSON model: ' + JSON.stringify(model));\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorStoreSelector_A\", model.Stores);\n\t\t\tvar $selector = $('.x-warehouse-selector-store-selector', $root).html(html);\n\t\t\tvar $stores = $(':input[name=\"store\"]', $selector);\n\t\t\t$stores.selectedVal(state.store);\n\t\t\t$root.data('supports-delivery', model.IsDeliveryShippingMethodSupported ? 'true' : 'false');\n\t\t\t$root.data('supports-fromstore', model.IsFromStoreShippingMethodSupported ? 'true' : 'false');\n\t\t\twrapper.init();\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t} else {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateStore = function (value) {\n\t\t\tif (state.store !== value) {\n\t\t\t\tconsole.log('[WarehouseSelector] Store: \"' + state.store + '\" -> \"' + value + '\"');\n\t\t\t\tstate.store = value;\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\t$wrapper.on('click', '.js-submit-delivery', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.SetDeliveryShippingMethod());\n\t\t});\n\n\t\t$wrapper.on('click', '.js-submit-fromstore', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.SetFromStoreShippingMethod(\n\t\t\t\tstate.store\n\t\t\t));\n\t\t});\n\n\t\t$wrapper.on('change', ':input[name=\"store\"]', function (e) {\n\t\t\twrapper.updateStore($store.selectedVal());\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function (envelope) {\n\t\t\twrapper.update(envelope.message.data.data);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess, wrapper, function (envelope) {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodFailed, wrapper, function (envelope) {\n\t\t\twrapper.loading(false); /* TODO: Handle error. */\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-two', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\tinit(envelope.sender);\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tvar $wrapper = $('.x-warehouse-selector-widget');\n\n\tif ($wrapper.length < 1) {\n\t\treturn;\n\t}\n\n\tvar wrapper = $wrapper.get(0),\n\t\t$root,\n\t\t$button;\n\n\tvar state = {\n\t\tmode: undefined,\n\t\tisDisplayed: undefined,\n\t\tisRequired: undefined,\n\t\tisSpecified: undefined,\n\t\tselectionKey: undefined,\n\t\tforceDisplay: undefined\n\t};\n\n\tfunction shouldOpenUnconditionally() {\n\t\treturn state.forceDisplay;\n\t}\n\tfunction shouldOpenOnStartup() {\n\t\treturn shouldOpenUnconditionally() || !state.isSpecified && state.mode === 'startup' && !state.isDisplayed;\n\t}\n\tfunction shouldOpenOnAddToCart() {\n\t\treturn shouldOpenOnStartup() || !state.isSpecified && state.mode === 'addtocart' && (!state.isDisplayed || state.isRequired);\n\t}\n\tfunction shouldOpenOnCheckout() {\n\t\treturn shouldOpenOnAddToCart() || !state.isSpecified && state.mode === 'checkout' && (!state.isDisplayed || state.isRequired);\n\t}\n\tfunction shouldOpen() {\n\t\treturn !state.isSpecified;\n\t}\n\n\tvar shouldOpenConditions = {\n\t\t'force': shouldOpenUnconditionally,\n\t\t'startup': shouldOpenOnStartup,\n\t\t'addtocart': shouldOpenOnAddToCart,\n\t\t'checkout': shouldOpenOnCheckout,\n\t\t'default': shouldOpen\n\t};\n\n\twrapper.init = function () {\n\t\t$root = $('.warehouse-selector-widget', $wrapper);\n\t\t$button = $('.js-select-warehouse', $root);\n\t\t$button.toggleDisabled($('.x-warehouse-selector-popup').length === 0);\n\n\t\tvar data = $root.data();\n\t\tvar selectionKey = data.selectionKey;\n\n\t\tif ((state.selectionKey !== undefined) && (state.selectionKey !== selectionKey)) {\n\t\t\twindow.location.reload();\n\t\t\treturn;\n\t\t}\n\n\t\tstate.mode = data.displayMode;\n\t\tstate.isDisplayed = !!parseInt(data.displayCount);\n\t\tstate.isRequired = !!parseInt(data.isRequired);\n\t\tstate.isSpecified = !!parseInt(data.isSpecified);\n\t\tstate.selectionKey = selectionKey;\n\t\tstate.forceDisplay = !!parseInt(data.forceDisplay);\n\n\t\t/* console.log('[WarehouseSelector] Data: ' + JSON.stringify($root.data())); */\n\t\t/* console.log('[WarehouseSelector] Displayed: ' + state.isDisplayed + ', Required: ' + state.isRequired + ', Specified: ' + state.isSpecified); */\n\n\t\t$wrapper.css({ display: '' });\n\t\twrapper.open('startup');\n\t};\n\n\t/** Opens the warehouse popup selector conditionally\n\t * \n\t * @param {any} condition Controls the condition that should be met to open the popup selector.\n\t *\t\tPossible values are:\n\t *\t\t\ttrue (or undefined): Opens the selector unconditionally (force)\n\t *\t\t\tfalse : Opens only if still not specified.\n\t *\t\t\t'startup' : Once upon landing, if still not specified.\n\t *\t\t\t'addtocart' : Upon adding something to cart, if still not specified; only once if not required.\n\t *\t\t\t'checkout' : Upon proceeding to checkout, if still not specified; only once if not required.\n\t * @returns true if the popup selector opens; false otherwise.\n\t */\n\twrapper.open = function (condition) {\n\t\tconsole.log('[WarehouseSelector] Displayed: ' + state.isDisplayed + ', Required: ' + state.isRequired + ', Specified: ' + state.isSpecified);\n\t\tif ((condition === undefined) ||\n\t\t\t(condition === true) ||\n\t\t\t(condition === false && !state.isSpecified) ||\n\t\t\t(typeof shouldOpenConditions[condition] === 'function' && shouldOpenConditions[condition]())) {\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.OpenPopup());\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t};\n\n\t/* Opens the warehouse popup selector as part of a jQuery trigger('addtocart') operation.\n\t * \n\t * Example:\n\t * \n\t *\tif ($('.x-warehouse-selector-widget').trigger('addtocart').hasClass('opening')) {\n\t *\t\t// The warehouse selector is installed and about to open.\n\t *\t}\n\t */\n\twrapper.onaddtocart = function () {\n\t\twrapper.open('addtocart');\n\t};\n\n\t/* Opens the warehouse popup selector as part of a jQuery trigger('checkout') operation.\n\t *\n\t * Example:\n\t *\n\t *\tif ($('.x-warehouse-selector-widget').trigger('checkout').hasClass('opening')) {\n\t *\t\t// The warehouse selector is installed and about to open.\n\t *\t}\n\t */\n\twrapper.oncheckout = function () {\n\t\twrapper.open('checkout');\n\t};\n\n\twrapper.refresh = function () {\n\t\twrapper.loading(true);\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetModel());\n\t};\n\n\twrapper.update = function (model) {\n\t\t/* console.log('[WarehouseSelector] Widget JSON model: ' + JSON.stringify(model)); */\n\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorWidget_A\", model);\n\t\t$wrapper.html(html);\n\t\twrapper.init();\n\t};\n\n\twrapper.loading = function (status) {\n\t\tif (status === undefined) {\n\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t} else {\n\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t}\n\t};\n\n\t$wrapper.on('click', '.js-select-warehouse', function (e) {\n\t\te.preventDefault();\n\t\twrapper.open();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetModelSuccess, wrapper, function (envelope) {\n\t\twrapper.loading(false);\n\t\twrapper.update(envelope.message.data.data);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetModelFailed, wrapper, function () {\n\t\twrapper.loading(false);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess, wrapper, function () {\n\t\twrapper.refresh();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.StateChanged, wrapper, function (envelope) {\n\t\t/* console.log('[WarehouseSelector] Modal dialog state changed: ' + envelope.message.data.state); */\n\t\t$wrapper.removeClass('opening opened closing closed').addClass(envelope.message.data.state);\n\t\tstate.isDisplayed = true;\n\t});\n\n\n\t/* Initialization */\n\n\t/* \n\t * NOTE: The 'wrapper.init()' method initializes the widget using the static HTML data, which might\n\t * be stale, due to aggressive caching of CDNs. Calling the 'wrapper.refresh()' method, forces a\n\t * dynamic fetch of the widget's most up-to-date content model (preventing unecessary display of the\n\t * popup selector).\n\t * \n\t * PS. It might be a good idea to make this an back-office controlled option.\n\t * \n\t * --charizakis (2021-01-21)\n\t */\n\twrapper.refresh(); /* - OR - wrapper.init(); */\n});\n","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'TrackingData';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n\n //navigation.type 1=reload, 2=back_forward\n var winPerf = window.performance;\n var winPerfNavEntryTypes = winPerf.getEntriesByType && winPerf.getEntriesByType(\"navigation\").map(function (t) { return t.type });\n var updTrackingData = {\n BrowserNavigation: {\n Reload: (winPerf.navigation && winPerf.navigation.type == 1) || winPerfNavEntryTypes.indexOf('reload') >= 0,\n BackForward: (winPerf.navigation && winPerf.navigation.type == 2) || winPerfNavEntryTypes.indexOf('x-back_forward') >= 0\n }\n };\n\n //order tracking\n if (TrackingModel && TrackingModel.Order) {\n var isTest = LhApp.Context.Request.IsLocal && LhApp.Context.IsDebug; \n var completionServerReloaded = TrackingModel.Order.CompletionPageLoadCounter > 1; //if session lost page would not be reloaded. if that changes keep counter in db\n var browserReloadedOrBackForward = updTrackingData.BrowserNavigation.Reload || updTrackingData.BrowserNavigation.BackForward;\n updTrackingData.Order = {\n IsAlreadyTracked: isTest ? false : (completionServerReloaded || browserReloadedOrBackForward)\n };\n }\n //update TrackingData object\n LhApp.Function.Tracking.updateTrackingData(updTrackingData);\n\n //get new tracking model\n TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n\n //initialize the tag manager or analytics\n if (TrackingModel && TrackingModel.GoogleTagManagerCode) {\n LhApp.Function.Tracking.InitGoogleTagManager();\n }\n if (TrackingModel && TrackingModel.GoogleAnalyticsCode && LhApp.Function.Tracking.canTrack('statisticCookies')) {\n LhApp.Function.Tracking.InitGoogleAnalytics();\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPageSuccess, TrackingScriptName, function (envelope) {\n var model = envelope.message.data.model;\n if (!window.TrackingData || !window.TrackingData.ProductListsData || envelope.message.data.type != 'productList' || !model.Items || model.Items.length < 1)\n return;\n\n var list = model.SeoTitle;\n var lists = window.TrackingData.ProductListsData || [];\n var updatedProducts = [];\n\n if (list in lists) {\n $.each(model.Items[0], function (idx, item) {\n updatedProducts.push({\n ProductId: '' + item.Id,\n SkuId: '' + item.VariantId,\n Name: item.Title,\n Brand: item.Manufacturer,\n Category: item.Category,\n Path: item.Path,\n Color: item.sel_color,\n Size: item.sel_size,\n PriceN: Math.round(item.Prices.Price.CurrentPriceN * 100) / 100,\n PriceWithoutVatN: Math.round(item.Prices.Price.CurrentPriceWithoutVatN * 100) / 100,\n List: list,\n Position: lists[list].length + idx + 1,\n Quantity: 1,\n Image: item.Images.length > 0 ? item.Images[0].List : '',\n Url: document.location.origin + item.Url,\n Properties: []\n });\n });\n\n if (updatedProducts.length > 0) {\n lists[list] = $.merge(lists[list], updatedProducts);\n Vendd.MessageBus.publishAsync(Vendd.Tracking, new Vendd.Tracking.Messages.ProductsUpdated(updatedProducts));\n }\n }\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.LazyProductList.Messages.LazyProductListSuccess, TrackingScriptName, function (envelope) {\n var model = envelope.message.data.model;\n if (!window.TrackingData || !model.Items || model.Items.length < 1 || !window.TrackingData.ProductListsData)\n return;\n\n var list = model.SeoTitle;\n var lists = window.TrackingData.ProductListsData || [];\n var updatedProducts = [];\n\n $.each(model.Items[0], function (idx, item) {\n updatedProducts.push({\n ProductId: '' + item.Id,\n SkuId: '' + item.VariantId,\n Name: item.Title,\n Brand: item.Manufacturer,\n Category: item.Category,\n Path: item.Path,\n Color: item.sel_color,\n Size: item.sel_size,\n PriceN: Math.round(item.Prices.Price.CurrentPriceN * 100) / 100,\n PriceWithoutVatN: Math.round(item.Prices.Price.CurrentPriceWithoutVatN * 100) / 100,\n List: idx + 1,\n Position: item.Index,\n Quantity: 1,\n Image: item.Images.length > 0 ? item.Images[0].List : '',\n Url: document.location.origin + item.Url,\n Properties: []\n });\n });\n\n if (updatedProducts.length > 0) {\n\n if (list in lists) {\n window.TrackingData.ProductListsData[list] = $.merge(window.TrackingData.ProductListsData[list], updatedProducts);\n } else {\n window.TrackingData.ProductListsData[list] = updatedProducts;\n }\n\n Vendd.MessageBus.publishAsync(Vendd.Tracking, new Vendd.Tracking.Messages.ProductsUpdated(updatedProducts));\n }\n });\n }\n });\n})();","(function () {\r\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\r\n if (!s) return;\r\n s.load(function () {\r\n 'use strict';\r\n var TrackingScriptName = 'Chameleon';\r\n\r\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\r\n var Tracker = LhApp.Function.Tracking.getTracker(\"chameleon\", TrackingModel);\r\n\r\n if (!Tracker || !Tracker.Properties.ChameleonCode || !Tracker.Properties.ChameleonId || !Tracker.Properties.ChameleonProjectName)\r\n return;\r\n\r\n var CanTrack = LhApp.Function.Tracking.canTrack();\r\n\r\n var _cartAddResponses = []; // holds a response for every cart add action. \r\n var _isUserSelectedProduct;\r\n\r\n Init();\r\n\r\n function Track(type, data) {\r\n var iid = 'iframeChameleon';\r\n var i = document.getElementById(iid);\r\n if (!i) {\r\n i = document.createElement(\"iframe\");\r\n i.setAttribute('id', iid);\r\n i.style.width = \"0px\";\r\n i.style.height = \"0px\";\r\n i.style.position = 'absolute';\r\n document.body.appendChild(i);\r\n }\r\n\r\n var d = [Tracker.Properties.ChameleonProjectName, type, Tracker.Properties.ChameleonId, data, Tracker.Properties.ChameleonCode];\r\n\r\n var FVPMS = FVPMS || function () {\r\n var a = {};\r\n return {\r\n init: function (b) {\r\n a = b;\r\n var pid_data = encodeURIComponent(a[3]);\r\n if (500 < pid_data.length) {\r\n pid_data = pid_data.substring(0, 500);\r\n var end_pos = pid_data.lastIndexOf(\"%2C\");\r\n end_pos = 400 < end_pos ? end_pos : 500;\r\n pid_data = pid_data.substring(0, end_pos);\r\n }\r\n var extra_param = \"undefined\" == typeof a[4] ? \"\" : \"&exp=\" + encodeURIComponent(a[4]);\r\n i.src = 'https://dco.gr/beta/public/pm/pmtrack.php?campaign=' + a[0] + \"&\" + a[1] + \"=\" + a[2] + \"-\" + pid_data + extra_param;\r\n }\r\n }\r\n }();\r\n FVPMS.init(d); \r\n\r\n /*\r\n var src = idocument.createElement('script');\r\n src.onload = function () {\r\n iwindow.FVPMS.init(d); \r\n };\r\n src.async = 1;\r\n src.src = 'https://fv-pm.s3.amazonaws.com/pmtrack.min.js';\r\n var head = idocument.getElementsByTagName('head')[0];\r\n head.parentNode.insertBefore(src, head);\r\n */\r\n }\r\n\r\n function Init() {\r\n if (!CanTrack) return;\r\n \r\n //TRACK product list \r\n if (TrackingModel.IsProductListPage && TrackingModel.ProductListsData) {\r\n var ids = [];\r\n for (var list in TrackingModel.ProductListsData) {\r\n var listItems = TrackingModel.ProductListsData[list];\r\n for (var i = 0; i < listItems.length; i++) {\r\n var product = listItems[i];\r\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\r\n\r\n if (ids.indexOf(productId) < 0)\r\n ids.push(productId);\r\n };\r\n }\r\n if (ids.length > 0)\r\n Track('sid', '[' + ids.join(',') + ']');\r\n }\r\n //TRACK product details\r\n else if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\r\n var product = TrackingModel.ProductData[0];\r\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\r\n\r\n Track('pid', '[' + productId + ']');\r\n }\r\n //TRACK order completion\r\n else if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\r\n if (TrackingModel.Order.IsAlreadyTracked)\r\n return;\r\n\r\n Track('thankyou', '[' + TrackingModel.Order.Id + '^' + TrackingModel.Order.TotalPrice + ']');\r\r\n }\r\n else {\r\n Track('all', '');\r\n }\r\n }\r\n\r\n // IMPORTANT execute this scripts in all other pages except checout\r\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\r\n\r\n //HELPER this script keep track of products added to cart\r\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, TrackingScriptName, function (envelope) {\r\n if (!CanTrack) return;\r\n\r\n var res = envelope.message.data;\r\n _cartAddResponses.push({\r\n ProductId: res.id,\r\n SkuId: res.skuId,\r\n Quantity: parseFloat(res.qty)\r\n });\r\n\r\n });\r\n //TRACK add to cart (recorded by the ABOVE script)\r\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\r\n if (!CanTrack) return;\r\n\r\n var cartModel = envelope.message.data.Cart;\r\n //var _cartAddResponses = _cartAddResponses.slice();\r\n\r\n var pAddResponse = _cartAddResponses.shift();\r\n (function AddToCartTrack(p) {\r\n if (!p)\r\n return;\r\n\r\n var pCartItemModel = cartModel.Items.find(function (i) {\r\n return i.ProductId == p.ProductId && i.VariantId == p.SkuId;\r\n });\r\n\r\n if (pCartItemModel) {\r\n var product = pCartItemModel;\r\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\r\n\r\n Track('cartpid', '[' + productId + ']');\r\n }\r\n\r\n AddToCartTrack(_cartAddResponses.shift());\r\n\r\n })(pAddResponse);\r\n\r\n });\r\n\r\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\r\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\r\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\r\n });\r\n //TRACK product view (changed)\r\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\r\n if (!CanTrack) return;\r\n\r\n if(!_isUserSelectedProduct)\r\n return;\r\n\r\n var model = envelope.message.data.model;\r\n\r\n var product = model;\r\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', Tracker);\r\n\r\n Track('pid', '[' + productId + ']');\r\n });\r\n }\r\n });\r\n})();","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'ContactPigeon';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"contactpigeon\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.ContactPigeonAccount || !Tracker.Properties.ContactPigeonUrl || !Tracker.Properties.ContactPigeonUrl.startsWith('//'))\n return;\n\n var CanTrack = LhApp.Function.Tracking.canTrack();\n\n function Track() {\n var el = document.createElement('script');\n el.async = 1;\n el.src = Tracker.Properties.ContactPigeonUrl;\n var scr = document.getElementsByTagName('script')[0];\n scr.parentNode.insertBefore(el, scr);\n }\n\n Init();\n\n function Init() {\n if (!CanTrack) return;\n\n window.cpaAccount = Tracker.Properties.ContactPigeonAccount;\n window.cpa_async = { 'ctag': '', 'utmipn': '', 'utmipc': '', 'utmtid': '', 'utmtto': '', 'cutmcn': '', 'cutmcc': '' };\n window.cpaE = '';\n if (Tracker.Properties.ContactPigeonConfig)\n window.cpanots_config = Tracker.Properties.ContactPigeonConfig;\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n if (typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var oScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n var tracked = false;\n if (oScope && !tracked) {\n if (TrackingModel.IsThankYouPage) //cookie consent had been granted\n {\n tracked = true;\n\n var checkoutEmail = oScope.Model.Data.Profile.Email.trim().toLowerCase();\n\n window.cpaE = checkoutEmail;\n Track();\n }\n }\n });\n }\n } \n else if (TrackingModel.IsCheckoutPage && TrackingModel.CartProductsData && typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var orderAngularElement = angular.element('.x-control.x-angular-control.x-checkoutorder');\n if (orderAngularElement) {\n var orderScope = orderAngularElement.scope();\n var checkoutEmail = orderScope.Model.Data.Profile\n && orderScope.Model.Data.Profile.Email\n && orderScope.Model.Data.Profile.Email.trim().toLowerCase()\n || '';\n\n window.cpaE = checkoutEmail;\n Track();\n }\n });\n }\n }\n\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (envelope && envelope.message && envelope.message.data && envelope.message.data.model) {\n if (envelope.message.data.model.IsAuthenticated && envelope.message.data.model.Email) {\n window.cpaE = envelope.message.data.model.Email;\n }\n Track();\n }\n });\n }\n });\n})();\n","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'Linkwise';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"linkwisefeed\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.LinkWiseProgramId)\n return;\n\n var CanTrack = LhApp.Function.Tracking.canTrack()\n || TrackingModel.IsThankYouPage; // custom for linkwise\n\n var _isUserSelectedProduct;\n\n Init();\n\n function Init() {\n if (!CanTrack) return;\n\n //include linkwise tracking script\n (function (f, b, e, v, t) {\n if (f.lw) return;\n f.lw = f.lw || function () { { (f.lw.q = f.lw.q || []).push(arguments) } };\n f.lw.l = +new Date;\n t = b.createElement(e);\n t.async = !0;\n t.src = v;\n s = b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t, s)\n })(window, document, 'script', '//go.linkwi.se/delivery/js/tl.js');\n lw('setProgram', Tracker.Properties.LinkWiseProgramId);\n lw('setDecimal', '.');\n\n /*TRACK home*/\n if (TrackingModel.IsHomePage) {\n lw('viewhome');\n }\n\n /*TRACK checkout start*/\n if (TrackingModel.IsCheckoutPage) {\n lw('checkout');\n }\n\n //TRACK product list \n if (TrackingModel.IsProductListPage && TrackingModel.ProductListsData) {\n for (var list in TrackingModel.ProductListsData) {\n var listItems = TrackingModel.ProductListsData[list];\n for (var i = 0; i < listItems.length; i++) {\n var product = listItems[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.PriceWithoutVatN });\n };\n }\n lw('listItems');\n }\n\n //TRACK product details\n if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.PriceWithoutVatN });\n\n lw('viewItem');\n }\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n lw('setCurrency', LhApp.Context.Currency.Code);\n\n for (var i = 0; i < TrackingModel.CartProductsData.length; i++) {\n var product = TrackingModel.CartProductsData[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.InitialPriceWithoutVatN, quantity: product.Quantity || 1, payout: 1 });\n }\n\n lw('setCoupon', TrackingModel.Order.DiscountAmountWithoutVatN);\n\n lw('thankyou', { orderid: TrackingModel.Order.Id, status: 'pending' });\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checkout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //TRACK add to cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n var cartModel = envelope.message.data.Cart;\n\n //TRACK view cart\n if (TrackingModel.IsCartPage) {\n for (var i=0; i < cartModel.Items.length; i++) {\n var product = cartModel.Items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.Prices.PriceWithoutVatN, quantity: product.Quantity || 1, payout: 1 });\n }\n\n lw('viewCart');\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', Tracker);\n\n lw(\"addItem\", { id: productId, price: product.Prices.UnitPriceWithoutVatN, quantity: product.Quantity || 1 });\n\n lw('viewItem');\n });\n }\n });\n})();","var fbPixelTracker = null;\nvar fbPixelCanTrack = null;\n\n(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'FacebookPixel';\n \n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n fbPixelTracker = LhApp.Function.Tracking.getTracker(\"facebook\", TrackingModel);\n\n if (!fbPixelTracker || !fbPixelTracker.Properties.FacebookPixelId)\n return;\n\n fbPixelCanTrack = LhApp.Function.Tracking.canTrack();\n\n var _cartAddResponses = []; // holds a response for every cart add action. \n var _isUserSelectedProduct;\n\n Init();\n\n function Init() {\n if (!fbPixelCanTrack) return;\n\n //include facebook tracking script\n (function (f, b, e, v, n, t, s) {\n if (f.fbq) return;\n n = f.fbq = function () {\n n.callMethod ?\n n.callMethod.apply(n, arguments) : n.queue.push(arguments);\n };\n if (!f._fbq) f._fbq = n;\n n.push = n;\n n.loaded = !0;\n n.version = '2.0';\n n.queue = [];\n t = b.createElement(e);\n t.async = !0;\n t.src = v;\n s = b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t, s)\n })(window, document, 'script', '//connect.facebook.net/en_US/fbevents.js');\n fbq('init', fbPixelTracker.Properties.FacebookPixelId);\n\n //TRACK page view\n fbq('track', 'PageView');\n\n //TRACK product list \n if (TrackingModel.IsProductListPage && TrackingModel.ProductListsData) {\n var ids = [];\n for (var list in TrackingModel.ProductListsData) {\n var listItems = TrackingModel.ProductListsData[list];\n for (var i = 0; i < listItems.length; i++) {\n var product = listItems[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n\n if (ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n }\n\n fbq('track', 'ViewCategory',\n {\n content_type: 'product',\n content_category: TrackingModel.CategoryName,\n content_ids: ids\n }\n );\n }\n\n //TRACK product details\n if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n\n fbq('track', 'ViewContent',\n {\n content_type: 'product',\n content_ids: [productId],\n content_name: product.Name,\n content_category: product.Category,\n value: product.PriceN,\n currency: LhApp.Context.Currency.Code\n }\n );\n }\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n var orderproductIds = [];\n var orderNames = [];\n var categories = [];\n var items = TrackingModel.CartProductsData;\n var orderproductIdsOBJarr = [];\n \n for (var i = 0; i < items.length; i++) {\n var product = items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n\n orderproductIds.push(productId);\n categories.push(product.Category);\n orderNames.push(product.Name);\n orderproductIdsOBJarr.push({ id: productId, quantity: product.Quantity });\n }\n\n fbq('track', 'Purchase',\n {\n content_type: 'product',\n content_ids: orderproductIds,\n content_name: orderNames,\n value: TrackingModel.Order.TotalPriceN,\n currency: LhApp.Context.Currency.Code,\n content_category: categories,\n contents: orderproductIdsOBJarr\n });\n }\n\n // TRACK Search & SearchTerm - for SearchProducts\n if ($('.search-region[data-searchterm]').length > 0) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: $('.search-region[data-searchterm]').data('searchterm') });\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //HELPER this script keep track of products added to cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, TrackingScriptName, function (envelope) {\n if (!fbPixelCanTrack) return;\n\n var res = envelope.message.data;\n _cartAddResponses.push({\n ProductId: res.id,\n SkuId: res.skuId,\n Quantity: parseFloat(res.qty)\n });\n \n });\n //TRACK add to cart (recorded by the ABOVE script)\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!fbPixelCanTrack) return;\n\n var cartModel = envelope.message.data.Cart;\n\n var pAddResponse = _cartAddResponses.shift();\n (function AddToCartTrack(p) {\n if (!p)\n return;\n\n var pCartItemModel = cartModel.Items.filter(function (i) {\n return i.ProductId == p.ProductId && i.VariantId == p.SkuId;\n })[0];\n\n if (pCartItemModel) {\n var product = pCartItemModel;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n var productContent = [{ id: productId, quantity: pAddResponse.Quantity }];\n\n fbq('track', 'AddToCart', {\n content_type: 'product',\n contents: productContent, //[productId],\n content_name: pCartItemModel.Title,\n content_category: pCartItemModel.Category,\n value: pCartItemModel.Prices.PriceN,\n currency: LhApp.Context.Currency.Code\n });\n }\n\n AddToCartTrack(_cartAddResponses.shift());\n\n })(pAddResponse);\n \n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!fbPixelCanTrack) return;\n\n if (!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', fbPixelTracker);\n\n fbq('track', 'ViewContent', {\n content_type: 'product',\n content_ids: [productId],\n content_name: model.Name,\n content_category: model.Category,\n value: model.Prices.UnitPriceN,\n currency: LhApp.Context.Currency.Code\n });\n });\n }\n });\n})();","Vendd.Scripts.load(function () {\n if (venddProjectConfigs.phoneLocalizationEnabled) {\n initPhoneLocalization();\n } \n});\n\nfunction initPhoneLocalization() {\n\n var formRow = document.getElementsByClassName(\"js-phone-localization\");\n\n if (formRow.length < 1) return;\n\n for (var i = 0; i < formRow.length; i++) {\n initPlugin(formRow[i]);\n }\n}\n\nfunction initPlugin(item) {\n\n var input = item.querySelector(\"input\");\n\n if (input.length < 1) return;\n\n var validationType = input.getAttribute(\"data-validation\");\n var iti, itiOptions;\n\n var defaultItiOptions = {\n initialCountry: LhApp.Context.Country.toLowerCase(),\n preferredCountries: [LhApp.Context.Country.toLowerCase()],\n //excludeCountries: [],\n //onlyCountries: [],\n autoPlaceholder: 'aggressive',\n formatOnDisplay: false,\n utilsScript: \"system/js/plugins/utils.js\"\n };\n\n if (validationType === \"phone\") {\n itiOptions = $.extend({}, defaultItiOptions, { placeholderNumberType: 'FIXED_LINE' });\n } else if (validationType === \"mobile\") {\n itiOptions = $.extend({}, defaultItiOptions, { placeholderNumberType: 'MOBILE' });\n } else if (validationType === \"both\") {\n itiOptions = $.extend({}, defaultItiOptions, { placeholderNumberType: 'FIXED_LINE_OR_MOBILE' });\n } else {\n itiOptions = defaultItiOptions;\n }\n\n iti = window.intlTelInput(input, itiOptions);\n\n // on blur: add country phone code\n if (venddProjectConfigs.phoneLocalizationAutoCompleteCode) {\n input.addEventListener('blur', function () {\n if (input.value.trim()) {\n if (iti.isValidNumber()) {\n var fullNumber = iti.getNumber();\n input.value = fullNumber;\n }\n }\n });\n }\n}","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'GoogleDynamicRemarketing';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"googledynamicremarketing\", TrackingModel);\n\n if (!Tracker)\n return;\n\n var CanTrack = LhApp.Function.Tracking.canTrack();\n\n var _userIdentifier = ''; \n var _isUserSelectedProduct;\n var _currentPath = new Array();\n\n Init(); \n\n function Init() {\n if (!CanTrack) return;\n\n LhApp.Function.Tracking.InitGoogleTagManager();\n\n window.dataLayer = window.dataLayer || [];\n \n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n if (typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var oScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n var tracked = false;\n if (oScope && !tracked) {\n if (TrackingModel.IsThankYouPage) //cookie consent had been granted\n {\n tracked = true;\n\n if (oScope.Model.Data.Profile.HashedEmail)\n _userIdentifier = oScope.Model.Data.Profile.HashedEmail;\n\n var ids = [];\n var items = TrackingModel.CartProductsData;\n for (var i = 0, len = items.length; i < len; i++) {\n var product = items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n if(ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n\n window.dataLayer.push({\n 'ecomm_prodid': ids,\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'purchase',\n 'ecomm_totalvalue': TrackingModel.Order.TotalPriceN\n });\n }\n }\n });\n }\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //in the case of criteo we first have to retrive user email before sending trcking in\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (envelope && envelope.message && envelope.message.data && envelope.message.data.model) {\n if (envelope.message.data.model.IsAuthenticated && envelope.message.data.model.HashedEmail) {\n _userIdentifier = envelope.message.data.model.HashedEmail;\n }\n\n if (TrackingModel.IsHomePage) {\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'home'\n });\n } else if (LhApp.Context.Item.Template === 'searchresults' || LhApp.Context.Item.Template === 'search_products') {\n var ids = []; \n for (var list in TrackingModel.ProductListsData) {\n var listItems = TrackingModel.ProductListsData[list];\n for (var i = 0; i < listItems.length; i++) {\n var product = listItems[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n if (ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n }\n\n window.dataLayer.push({\n 'ecomm_prodid': ids,\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'searchresults'\n });\n } else if (TrackingModel.IsProductListPage) {\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'category',\n 'ecomm_category': TrackingModel.Path\n });\n } else if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n _currentPath = product.Path.slice(0, product.Path.length - 1);\n\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'product',\n 'ecomm_category': _currentPath,\n 'ecomm_prodid': [productId],\n 'ecomm_totalvalue': product.PriceN\n });\n } else if (TrackingModel.IsCartPage) {\n //this is handled in cart change\n }\n else {\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'other'\n });\n }\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', Tracker);\n\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'product',\n 'ecomm_category': _currentPath,\n 'ecomm_prodid': [productId],\n 'ecomm_totalvalue': product.Prices.UnitPriceN\n });\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (TrackingModel.IsCartPage) {\n\n var items = envelope.message.data.Cart.Items || [];\n var ids = [];\n for (var i = 0, len = items.length; i < len; i++) {\n var product = items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n if(ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'cart',\n 'ecomm_prodid': ids,\n 'ecomm_totalvalue': envelope.message.data.Cart.Summary.TotalPrice\n });\n }\n });\n }\n });\n})();\n","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'GoogleConversionTracking';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"googleconversiontracking\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.GoogleConversionId || !Tracker.Properties.GoogleConversionLabel)\n return;\n\n var CanTrack = LhApp.Function.Tracking.canTrack();\n\n Init();\n\n function Init() {\n if (!CanTrack) return;\n\n LhApp.Function.Tracking.InitGoogleTagManager();\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n if (typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var oScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n var tracked = false;\n if (oScope && !tracked) {\n if (TrackingModel.IsThankYouPage) //cookie consent had been granted\n {\n tracked = true;\n\n window.google_conversion_id = Tracker.Properties.GoogleConversionId;\n window.google_conversion_label = Tracker.Properties.GoogleConversionLabel;\n window.google_conversion_value = TrackingModel.Order.TotalPriceN;\n window.google_conversion_currency = LhApp.Context.Currency.Code;\n window.google_remarketing_only = Tracker.Properties.GoogleConversionRemarketingOnly ? true : false; \n\n $('body').prepend(\n '