1//# sourceMappingURL=websiteModule.js.map 2/* 3 2013-2014 Enrico Marino / Jordan Harband 4 @license MIT 5 ***************************************************************************** 6Copyright (C) Microsoft. All rights reserved. 7Licensed under the Apache License, Version 2.0 (the "License"); you may not use 8this file except in compliance with the License. You may obtain a copy of the 9License at http://www.apache.org/licenses/LICENSE-2.0 10 11THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 12KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 13WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 14MERCHANTABLITY OR NON-INFRINGEMENT. 15 16See the Apache Version 2.0 License for specific language governing permissions 17and limitations under the License. 18*****************************************************************************/ 19var process=process||{env:{NODE_ENV:"development"}}; 20!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6035)}({0:function(e,t,n){function i(e,t){if(!(e instanceof 21t))throw new TypeError("Cannot call a class as a function");}t.a=i},1:function(e,t,n){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}t.a=r},10:function(e,t,n){function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e} 22t.a=i},1009:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(856),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.finalValue=new a.a(t.finalValue),this.initialValue=new a.a(t.initialValue),this.animationTime=webwave.isDef(t.animationTime)?t.animationTime:e.DEFAULT_VALUES.ANIMATION_TIME,this.decimals=t.decimals,this.ownAnimationTimeEnabled=!!webwave.isDef(t.ownAnimationTimeEnabled)&&t.ownAnimationTimeEnabled,this.ownAnimationStartNumberEnabled= 23!!webwave.isDef(t.ownAnimationStartNumberEnabled)&&t.ownAnimationStartNumberEnabled}return Object(r.a)(e,[{key:"getNumber",value:function e(){return this.number}},{key:"setNumber",value:function e(t){this.number=t}},{key:"setFinalValue",value:function e(t){this.finalValue=t}},{key:"getFinalValue",value:function e(){return this.finalValue}},{key:"setInitialValue",value:function e(t){this.initialValue=t}},{key:"getInitialValue",value:function e(){return this.initialValue}},{key:"getAnimationTime",value:function t(){return this.ownAnimationTimeEnabled? 24this.animationTime:e.DEFAULT_VALUES.ANIMATION_TIME}},{key:"setAnimationTime",value:function e(t){this.animationTime=t}},{key:"getDecimals",value:function e(){return this.decimals}},{key:"setDecimals",value:function e(t){this.decimals=t}},{key:"setOwnAnimationTimeEnabled",value:function e(t){this.ownAnimationTimeEnabled=t}},{key:"getOwnAnimationTimeEnabled",value:function e(){return this.ownAnimationTimeEnabled}},{key:"setOwnAnimationStartNumberEnabled",value:function e(t){this.ownAnimationStartNumberEnabled= 25t}},{key:"getOwnAnimationStartNumberEnabled",value:function e(){return this.ownAnimationStartNumberEnabled}}]),e}();o.DEFAULT_VALUES={ANIMATION_START_NUMBER:0,ANIMATION_TIME:1500,FINAL_VALUE:"12597,54",INITIAL_VALUE:"0"}},106:function(e,t,n){var i={PX:"px",PERCENT:"%",VW:"vw",VH:"vh"};Object.freeze(i),t.a=i},1060:function(e,t,n){t.a={PAGE_TOP_LEFT:"pageTopLeft",PAGE_TOP_RIGHT:"pageTopRight",SCREEN_TOP_LEFT:"screenTopLeft",SCREEN_TOP_RIGHT:"screenTopRight"}},1061:function(e,t,n){n.d(t,"a",function(){return s}); 26var i=n(0),r=n(1),a=n(1073),o=n(123),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};
26Object(i.a)(this,e),this.styleMap=t.styleMap,this.styleString=t.styleString,this.textStyleMap=webwave.isDef(t.textStyleMap)?new a.a(t.textStyleMap):void 0,this.textStyleString=this.textStyleMap instanceof a.a?this.textStyleMap.toStyleString():void 0,this.textStyleId=t.textStyleId,this.text=t.text}return Object(r.a)(e,[{key:"removeTextStyleMap",value:function e(){this.textStyleMap= 27void 0,this.textStyleString=void 0}},{key:"setTextStyleMap",value:function e(t){t instanceof a.a&&(this.textStyleMap=t,this.textStyleString=t.toStyleString())}},{key:"removeTextStyleId",value:function e(){this.textStyleId=void 0}},{key:"setTextStyleId",value:function e(t){this.textStyleId=t}},{key:"getTextStyleId",value:function e(){return this.textStyleId}},{key:"setText",value:function e(t){this.text=t}},{key:"getText",value:function e(){return this.text}},{key:"setStyleMap",value:function e(t){this.styleMap= 28t}},{key:"getStyleMap",value:function e(){return this.styleMap}},{key:"getTextStyleMap",value:function e(){return this.textStyleMap}},{key:"serialize",value:function e(){return{styleMap:this.styleMap,styleString:this.styleString,textStyleMap:this.textStyleMap,textStyleString:this.textStyleString,textStyleId:this.textStyleId,text:this.text}}},{key:"toJSON",value:function e(){return this.serialize()}},{key:"toStyleString",value:function e(){var t;return t=webwave.isDef(this.textStyleId)?"":webwave.isDef(this.textStyleMap)? 29this.textStyleMap.toStyleString():""}},{key:"toCssMap",value:function e(t){webwave.isNotDef(t)&&(t={});var n={};return webwave.isDef(this.styleMap)&&$.extend(n,this.styleMap),!0!==t.noTextStyle&&webwave.isDef(this.textStyleMap)&&$.extend(n,this.textStyleMap.toCssMap()),n}},{key:"applyStyleMap",value:function e(t){if(webwave.isDef(t))for(var n in webwave.isNotDef(this.styleMap)&&(this.styleMap={}),t)t.hasOwnProperty(n)&&(this.styleMap[n]=t[n])}},{key:"applyTextStyleMap",value:function e(t){webwave.isDef(t)&& 30(webwave.isNotDef(this.textStyleMap)?this.textStyleMap=new a.a(t):this.textStyleMap.applyPartialTextStyleMap(t),webwave.isDef(this.textStyleMap)&&(this.textStyleString=this.textStyleMap.toStyleString()))}},{key:"applyPartialStyle",value:function e(t){webwave.isDef(t)&&(this.applyStyleMap(t.styleMap),this.applyTextStyleMap(t.textStyleMap),webwave.isDef(t.textStyleId)&&(this.textStyleId=t.textStyleId))}},{key:"merge",value:function e(t){webwave.isDef(t)&&(this.applyStyleMap(t.styleMap),this.applyTextStyleMap(t.textStyleMap), 31webwave.isDef(t.textStyleId)&&(this.textStyleId=t.textStyleId))}},{key:"applyStyleRwdProperties",value:function e(t){webwave.isNotDef(t)&&(t={}),webwave.isNotDef(this.styleMap)&&(this.styleMap={}),this.styleMap.paddingTop=t.paddingTop,this.styleMap.paddingRight=t.paddingRight,this.styleMap.paddingBottom=t.paddingBottom,this.styleMap.paddingLeft=t.paddingLeft}},{key:"applyTextStyleRwdProperties",value:function e(t){webwave.isNotDef(this.textStyleMap)?this.textStyleMap=new a.a(t):this.textStyleMap.applyRwdTextStyleProperties(t), 32webwave.isDef(this.textStyleMap)&&(this.textStyleString=this.textStyleMap.toStyleString())}},{key:"applyRwdProperties",value:function e(t){webwave.isNotDef(t)&&(t={}),this.applyStyleRwdProperties(t.styleMap),this.applyTextStyleRwdProperties(t.textStyleMap)}},{key:"clone",value:function t(){var n;return new e($.extend(!0,{},this.serialize()))}},{key:"isEmptyTextStyleMap",value:function e(){var t;return webwave.isNotDef(this.textStyleMap)||(null===(t=this.textStyleMap)||void 0===t?void 0:t.isEmpty())}}, 33{key:"removeStyleMap",value:function e(){this.styleMap=void 0}},{key:"changeWebsiteColorConnection",value:function e(t){var n=this.changeWebsiteColorConnectionInStyleMap(t,{property:"backgroundColor"}),i=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderBottomColor"}),r=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderLeftColor"}),a=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderRightColor"}),o=this.changeWebsiteColorConnectionInStyleMap(t,{property:"borderTopColor"}), 34s=this.changeWebsiteColorConnectionInStyleMap(t,{property:"backgroundImage"}),u=this.changeWebsiteColorConnectionInTextStyleMap(t,{property:"color"});return n||i||r||a||o||s||u}},{key:"changeWebsiteColorConnectionInStyleMap",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getStyleMap();
34return!!webwave.isDefAndNotNull(i)&&!0===o.a.changeObjectPropertyWithWebsiteColor(i,t,n)}},{key:"changeWebsiteColorConnectionInTextStyleMap",value:function e(t){var n=arguments.length> 351&&void 0!==arguments[1]?arguments[1]:{},i=this.getTextStyleMap();return!!webwave.isDefAndNotNull(i)&&!0===o.a.changeObjectPropertyWithWebsiteColor(i,t,n)}}],[{key:"deserialize",value:function t(n){return new e(n)}},{key:"deserializeCombinedStyles",value:function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={};for(var a in n)n.hasOwnProperty(a)&&(r[a]=e.deserialize(n[a]));if(!0===i.createMissingData&&webwave.isDef(i.keys))for(var o in i.keys)if(i.keys.hasOwnProperty(o)){var s= 36i.keys[o];webwave.isNotDef(r[s])&&(r[s]=new e)}return r}}]),e}()},1071:function(e,t,n){n.d(t,"a",function(){return O});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(1323),l=n(1572),d=n(966),h=n(1631),f=n(965),v=n(1632),g=n(943),p=n(11),y=n.n(p),b=n(43),m=n.n(b);function w(e){var t=S();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function S(){if("undefined"==typeof Reflect|| 37!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var O=function(e){Object(a.a)(n,e);var t=w(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r)).update(r),e}return Object(r.a)(n,[{key:"compareTo",value:function e(t){if(t instanceof n==!1)return-1;if(this.type!==t.type){if(this.type=== 38d.a.INPOST_EASYPACK)return 1;if(t.type===d.a.INPOST_EASYPACK)return-1}return this.name.localeCompare(t.name,void 0,{sensitivity:"base"})}},{key:"checkAllowedWeight",value:function e(t){return!0===this.postageWeightRangeOptions.enable&&this.postageWeightRangeOptions.weightInRange(t)}},{key:"equals",value:function e(t){return t instanceof n!=!1&&(this.price===t.price&&this.type===t.type&&this.name===t.name&&this.postageAvailability===t.postageAvailability&&this.taxValue===t.taxValue&&this.description.value=== 39t.description.value&&this.getIdForSelect()===t.getIdForSelect())}},{key:"update",value:function e(t){this.id=t.id,this._description=new u.a(t.description),this._details=t.details,this._name=t.name,this._postageAvailability=webwave.isDef(t.postageAvailability)?t.postageAvailability:c.a.ALL,this._price=webwave.isNumberAndNotNaN(parseFloat(t.price))?"".concat(t.price):void 0,this._taxValue=t.taxValue,this._thumbnailId=t.thumbnailId,this._thumbnailUrl=t.thumbnailUrl,this._type=webwave.isDef(t.type)?t.type: 40d.a.CUSTOM,this._uniqueId=webwave.isDef(t.uniqueId)?t.uniqueId:Object(f.a)(),this.deleted=!1,this._pickupPointCode=t.pickupPointCode,this._postageWeightRangeOptions=new h.a(t.postageWeightSettings),this._postageAvailableCountriesOption=new l.a(t.postageAvailableCountriesOption),this._selectedFurgonetkaPostageProvidersOption=new v.a(t.selectedFurgonetkaPostageProvidersOption)}},{key:"getNameForOption",value:function e(t){return"".concat(this.name," (").concat(this.price," ").concat(t,")")}},{key:"postageWeightRangeOptions", 41get:function e(){return n.TYPES_WITH_DISABLED_POSTAGE_WEIGHT.includes(this.type)?new h.a:this._postageWeightRangeOptions}},{key:"postageAvailableCountriesOption",get:function e(){return n.TYPES_WITH_DISABLED_COUNTY_AVAILABLE.includes(this.type)?new l.a:this._postageAvailableCountriesOption}},{key:"type",get:function e(){return this._type},set:function e(t){this._type=t,n.TYPES_WITH_COUNTRY_LIST_NOT_EDITABLE.includes(this._type)?(this._postageAvailableCountriesOption.enable=!0,this._postageAvailableCountriesOption.value= 42this._getPostageAvailableCountriesForPostageType()):(this._postageAvailableCountriesOption.enable=!1,this._postageAvailableCountriesOption.value=[])}},{key:"details",get:function e(){return this._type===d.a.INPOST_EASYPACK||this.isFurgonetkaPostage()?this._details:void 0},set:function e(t){this._details=t}},{key:"inpostInfo",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n";return webwave.isDefAndNotNull(this._details)?"".concat(i18n.t("shop.c
42om.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.inpostEasyPack.parcelLocker"), 43" - ").concat(this._details.name).concat(t).concat(this._details.address.line1).concat(t).concat(this._details.address.line2):void 0}},{key:"furgonetkaInfo",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n";return webwave.isDefAndNotNull(this._details)?"".concat(this._details.name).concat(t).concat(this._details.address.line1).concat(t).concat(this._details.address.line2):void 0}},{key:"uniqueId",get:function e(){return this._uniqueId}},{key:"name",get:function e(){return this._name}, 44set:function e(t){this._name=t}},{key:"postageAvailability",get:function e(){return this._postageAvailability},set:function e(t){this._postageAvailability=t}},{key:"price",get:function e(){return this._price},set:function e(t){this._price=t}},{key:"taxValue",get:function e(){return this._taxValue},set:function e(t){this._taxValue=t}},{key:"thumbnailId",get:function e(){return this._thumbnailId},set:function e(t){this._thumbnailId=t}},{key:"thumbnailUrl",get:function e(){return this._thumbnailUrl}, 45set:function e(t){this._thumbnailUrl=t}},{key:"isFurgonetkaPostage",value:function e(){return this.isFurgonetkaEnabled()&&webwave.isDefAndNotNull(this.selectedFurgonetkaPostageProvidersOption.getValue())}},{key:"isFurgonetkaEnabled",value:function e(){return this.type===d.a.FURGONETKA}},{key:"getTaxNumberValue",value:function e(){return parseInt(this.taxValue)}},{key:"description",get:function e(){return this._description}},{key:"selectedFurgonetkaPostageProvidersOption",get:function e(){return this._selectedFurgonetkaPostageProvidersOption}}, 46{key:"selectedFurgonetkaPostageProviders",set:function e(t){this._selectedFurgonetkaPostageProviders=t}},{key:"isFurgonetkaPointPostage",value:function e(){return this.isFurgonetkaEnabled()&&webwave.isDefAndNotNull(this._selectedFurgonetkaPostageProvidersOption.getValue())&&this._selectedFurgonetkaPostageProvidersOption.getValue().length>0}},{key:"serialize",value:function e(){var t;return{id:!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,description:this._description.serialize(), 47details:this.details,name:this._name,postageAvailability:this._postageAvailability,price:this._price,thumbnailId:this._thumbnailId,thumbnailUrl:this._thumbnailUrl,taxValue:this._taxValue,type:this._type,uniqueId:this._uniqueId,postageWeightSettings:this.postageWeightRangeOptions.serialize(),postageAvailableCountriesOption:this.postageAvailableCountriesOption.serialize(),selectedFurgonetkaPostageProvidersOption:this.selectedFurgonetkaPostageProvidersOption.serialize()}}},{key:"getDataToOrder",value:function e(){var t= 48{};return this.validate()&&(t={details:this._getDetailsInfo("<br />"),name:this._name,price:this._price,taxValue:this.getTaxValueForOrder(),description:this._description.value,postageType:this._type,settingsId:this.id},this.isFurgonetkaPostage()&&(t.pickupPointCode=this._pickupPointCode,t.postageService=this.selectedFurgonetkaPostageProvidersOption.getValue())),t}},{key:"getTaxValueForOrder",value:function e(){var t=Number.parseInt(100*this.getTaxValue());return webwave.isNumberAndNotNaN(t)?t:void 0}}, 49{key:"getTaxValueForSaveData",value:function e(){var t=this.getTaxValueForOrder();return webwave.isDef(t)?t:null}},{key:"getTaxValue",value:function e(){return p.StoreUtils.parseTaxValue(this._taxValue)}},{key:"getNumberPrice",value:function e(){return this.price?parseFloat(this._price.replace(",",".")):0}},{key:"_getDetailsInfo",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n";return this.isFurgonetkaPostage()?this.furgonetkaInfo(t):this.inpostInfo(t)}},{key:"getIdForSelect", 50value:function e(){var t;return webwave.isDefAndNotNull(this.id)?null===(t=this.id)||void 0===t?void 0:t.toString():this.uniqueId}},{key:"isEmpty",value:function e(){return this.equals(new n)}},{key:"setDeleted",value:function e(t){this.deleted=t}},{key:"validate",value:function e(){return b.ValidatorFunctions.requireProp(this._name)&&b.ValidatorFunctions.price(this._price)}},{key:"hasDisableCountryRestrictions",value:function e(){return!1===this.postageAvailableCountriesOption.enable}},{key:"countryIsValid", 51value:function e(t){return this.postageAvailableCountriesOption.countryIsValid(t)}},{key:"_getPostageAvailableCountriesForPostageType",value:function e(){return[d.a.INPOST_EASYPACK,d.a.FURGONETKA].includes(this._type)?["PL"]:[]}}]),n}(g.a);O.TYPES_WITH_DISABLED_POSTAGE_WEIGHT=[d.a.ELECTRONIC],O.TYPES_WITH_DISABLED_COUNTY_AVAILABLE=[d.a.ELECTRONIC,d.a.SELF_PICKUP],O.TYPES_WITH_COUNTRY_LIST_NOT_EDITABLE=[d.a.INPOST_EASYPACK,d.a.FURGONETKA]},1073:function(e,t,n){n.d(t,"a",function(){return l});var i= 52n(0),r=n(1),a=n(123),o=n(245),s=1.2,u=["fontFamily","fontSize","fontWeight","fontStyle","lineHeight","textTransform","textShadow","textDecoration","textAlign","color","marginBottom"],c={fontFamily:"font-family",fontSize:"font-size",fontWeight:"font-weight",fontStyle:"font-style",lineHeight:"line-height",textTransform:"text-transform",textShadow:"text-shadow",textDecoration:"text-decoration",textAlign:"text-align",color:"color",marginBottom:"margin-bottom"},l=function(){function e(){var t=arguments.length> 530&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),webwave.isString(t)&&(t=e.stringToTextStyleProperties(t)),this.loadFromPropertiesMap(t)}return Object(r.a)(e,[{key:"loadFromPropertiesMap",value:function e(t){var n=this;u.forEach(function(e){n[e]=t[e]})}},{key:"removeFontFamily",value:function e(){this.fontFamily=void 0}},{key:"toStyleString",value:function t(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r="";return u.forEach(function(e){i.onlyMargin&&!1===e.startsWith("margin")|| 54!0!==i.onlyMargin&&e.startsWith("margin")||webwave.isString(n[e])&&n[e].length>0&&(r+="".concat(c[e],": ").concat(n[e],";"))}),-1===r.indexOf("line-height")&&r.indexOf("font-size")>-1&&(r+="line-height: ".concat(e.getLineHeightByFontSize(this.fontSize),"px;")),r}},{key:"toCssMap",value:function e(){return this.serialize()}},{key:"applyPartialTextStyleMap",value:function e(t){if(webwave.isDef(t))for(var n,i=0;i<u.length;i++)n=u[i],webwave.isDef(t[n])&&(this[n]=t[n])}},{key:"applyRwdTextStyleProperties", 55value:function e(t){webwave.isNotDef(t)&&(t={}),this.fontSize=t.fontSize,this.lineHeight=t.lineHeight,this.textAlign=t.textAlign}},{key:"serialize",value:function t(){var n=this,i={};return u.forEach(function(e){i[e]=n[e]}),webwave.isNotDef(i.lineHeight)&&webwave.isDef(i.fontSize)&&(i.lineHeight=e.getLineHeightByFontSize(this.fontSize)+"px"),i}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"isEmpty",value:function e(){var t=this,n=!0;
55return Object.keys(this).forEach(function(e){webwave.isDef(t[e])&& 56(n=!1)}),n}},{key:"connectWebsiteColor",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,t,{connection:o.a.CONNECT})}},{key:"disconnectWebsiteColor",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,t,{connection:o.a.DISCONNECT})}},{key:"swapWebsiteColor",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,t,{connection:o.a.SWAP})}}],[{key:"stringToTextStyleProperties",value:function e(t){return textStyleService.textStyleStringToCssMap(t, 57!0)}},{key:"getClearTextStyleMap",value:function t(){var n={};return u.forEach(function(e){n[e]=""}),new e(n)}},{key:"getLineHeightByFontSize",value:function e(t){var n=parseInt(t);if(webwave.isNumberAndNotNaN(n))return parseInt(Math.floor(1.2*n))}}]),e}();l.ValidTextStyleProperties=u,webwave.provide("com.webwave.gui.style.text.TextStyleMap"),com.webwave.gui.style.text.TextStyleMap=l},1081:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(123),o=function(){function e(){var t=arguments.length> 580&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.gradientType=webwave.isString(t.gradientType)?t.gradientType:"linear-gradient",this.angle=webwave.isString(t.angle)?t.angle:"0deg",this.rgb1=webwave.isString(t.rgb1)?t.rgb1:"#000",this.rgb2=webwave.isString(t.rgb2)?t.rgb2:"#666",this.start1=webwave.isString(t.start1)?t.start1:"0%",this.start2=webwave.isString(t.start2)?t.start2:"100%"}return Object(r.a)(e,[{key:"toBackgroundImageString",value:function e(){var t;return t="linear-gradient"=== 59this.gradientType?this.gradientType+"("+this.angle+", "+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+")":"radial-gradient("+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+")"}},{key:"serialize",value:function e(){return{gradientType:this.gradientType,angle:this.angle,rgb1:this.rgb1,start1:this.start1,rgb2:this.rgb2,start2:this.start2}}},{key:"equals",value:function e(t){return this.gradientType===t.gradientType&&this.angle===t.angle&&this.rgb1===t.rgb1&&this.rgb2===t.rgb2&&this.start1=== 60t.start1&&this.start2===t.start2}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n=a.a.changeObjectPropertyWithWebsiteColor(this,t,{property:"rgb1"}),i=a.a.changeObjectPropertyWithWebsiteColor(this,t,{property:"rgb2"});return!0===n||!0===i}}]),e}()},11:function(e,t,n){!function i(r,a){if(1)e.exports=a(n(62),n(219));else if("function"==typeof define&&define.amd)define(["@webwave/type","@webwave/webwave-logger"],a);else{var o= 61"object"==typeof t?a(require("@webwave/type"),require("@webwave/webwave-logger")):a(r["@webwave/type"],r["@webwave/webwave-logger"]);for(var s in o)("object"==typeof t?t:r)[s]=o[s]}}("undefined"!=typeof self?self:this,function(e,n){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})}, 62n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(t,n){t.exports=e},function(e,t){e.exports=n},function(e,t,n){var i=n(3),r=n(0),a=n.n(r);class o{constructor(e){if(this.r=0,this.g=0,this.b=0,this.a=0,a.a.isString(e)){var t=Object(i.a)(e);null!==t&&(this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3])}else a.a.isDef(e)&&(a.a.isNumberAndNotNaN(e.r)&& 63(this.r=e.r),a.a.isNumberAndNotNaN(e.g)&&(this.g=e.g),a.a.isNumberAndNotNaN(e.b)&&(this.b=e.b),a.a.isNumberAndNotNaN(e.a)&&(this.a=e.a))}toRgbaString(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.a+")"}toRgbString(){return"rgb("+this.r+", "+this.g+", "+this.b+")"}subtract(e){return this.r-=e.r,this.g-=e.g,this.b-=e.b,this.a-=e.a,this}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this.a+=e.a,this}multiply(e){return this.r=Math.round(this.r*e),this.g=Math.round(this.g*e),this.b=Math.round(this.b* 64e),this.multiplyAlpha(e),this}multiplyAlpha(e){this.a*=e}clone(){return new o(this)}static rgb2hex(e){return a.a.isNotString(e)?e="#000000":-1!=e.indexOf("#")?e:null!=(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+o._hex(e[1])+o._hex(e[2])+o._hex(e[3]):""}static hex2rgb(e){if(a.a.isNotString(e))return"rgb(0, 0, 0)";let t=0,n=0,i=0;return 4==e.length?(t="0x"+e[1]+e[1],n="0x"+e[2]+e[2],i="0x"+e[3]+e[3]):7==e.length&&(t="0x"+e[1]+e[2],n="0x"+e[3]+e[4],i="0x"+e[5]+e[6]),"rgb("+ +t+", "+ +n+", "+ 65+i+")"}static hex2Rgba(e,t){var n=(e=e.slice(-6)).slice(0,2),i=e.slice(2,4),r=e.slice(4);return"rgba("+parseInt(n,16)+","+parseInt(i,16)+","+parseInt(r,16)+","+t+")"}static hex2RgbObject(e){return e=e.slice(-6),{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4),16)}}static isHex(e){return/^#[0-9A-F]{3,6}$/i.test(e)}static isRgba(e){return/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/.test(e)}static isRgb(e){return/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/.test(e)}static rgb2hsl(e){if(a.a.isNotString(e))return{H:0, 66S:0,L:0}
66;"#"===e[0]&&(e=this.hex2rgb(e));let t=0,n=0,i=0,r;t=(r=e.slice(4,-1).split(",").map(e=>+e))[0],n=r[1],i=r[2],t/=255,n/=255,i/=255;const o=Math.max(t,n,i),s=o-Math.min(t,n,i),u=s?o===t?(n-i)/s:o===n?2+(i-t)/s:4+(t-n)/s:0;return{H:60*u<0?60*u+360:60*u,S:100*(s?o<=.5?s/(2*o-s):s/(2-(2*o-s)):0),L:100*(2*o-s)/2}}invert(){this.r=255-this.r,this.g=255-this.g,this.b=255-this.b}static _hex(e){return null!==e?("0"+parseInt(e).toString(16)).slice(-2):"00"}randomizeColor(){this.r=Math.floor(255*Math.random()), 67this.g=Math.floor(255*Math.random()),this.b=Math.floor(255*Math.random()),this.a=1}static rgba2Rgb(e){let t=e.replace(/[^\d,]/g,"").split(",");return`rgb(${t[0]}, ${t[1]}, ${t[2]})`}static obtainRgbValue(e){let t;return t=o.isHex(e)?o.hex2rgb(e):o.isRgba(e)?o.rgba2Rgb(e):e}static obtainHexValue(e){let t;if(o.isRgb(e))t=o.rgb2hex(e);else if(o.isRgba(e)){let n=o.rgba2Rgb(e);t=o.rgb2hex(n)}else t=e;return t}}t.a=o},function(e,n,i){(function(e){i.d(n,"a",function(){return l});var r={transparent:[0,0, 680,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1], 69darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255, 7020,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255, 71240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153, 721],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255, 73228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102, 7451,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1], 75turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(e){return(e=Math.round(e))<0?0:e>255?255:e}function o(e){return e<0?0:e>1?1:e}function s(e){return"%"===e[e.length-1]?a(parseFloat(e)/100*255):a(parseInt(e))}function u(e){return"%"===e[e.length-1]?o(parseFloat(e)/100):o(parseFloat(e))}
75function c(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)* 76(2/3-n)*6:e}function l(e){var t=e.replace(/ /g,"").toLowerCase(),n,n;if(t in r)return r[t].slice();if("#"===t[0])return 4===t.length?(n=parseInt(t.substr(1),16))>=0&&n<=4095?[(3840&n)>>4|(3840&n)>>8,240&n|(240&n)>>4,15&n|(15&n)<<4,1]:null:7===t.length&&(n=parseInt(t.substr(1),16))>=0&&n<=16777215?[(16711680&n)>>16,(65280&n)>>8,255&n,1]:null;var i=t.indexOf("("),o=t.indexOf(")");if(-1!==i&&o+1===t.length){var l=t.substr(0,i),d=t.substr(i+1,o-(i+1)).split(","),h=1,f,v,g,p,y;switch(l){case "rgba":if(4!== 77d.length)return null;h=u(d.pop());case "rgb":return 3!==d.length?null:[s(d[0]),s(d[1]),s(d[2]),h];case "hsla":if(4!==d.length)return null;h=u(d.pop());case "hsl":return 3!==d.length?null:(f=(parseFloat(d[0])%360+360)%360/360,v=u(d[1]),[a(255*c(p=2*(g=u(d[2]))-(y=g<=.5?g*(v+1):g+v-g*v),y,f+1/3)),a(255*c(p,y,f)),a(255*c(p,y,f-1/3)),h]);default:return null}}return null}void 0!==e&&e.exports&&(t.parseCSSColor=l)}).call(n,i(14)(e))},function(e,t,n){const i={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right", 78BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"};t.a=i},function(e,t,n){t.a={TEST:"test",DEVELOPMENT:"development",PRE_PRODUCTION:"pre_production",QUALITY_ASSURANCE:"quality_assurance",PRODUCTION:"production"}},function(e,t,n){const i={FLOAT:"float",INT:"int"};t.a=i},function(e,t,n){t.a={COMPACT:"compact"}},function(e,t,n){var i=n(0),r=n.n(i);class a{constructor(e,t){this.y=0,this.x=0,r.a.isNumberAndNotNaN(e)?(this.x=e,r.a.isNumberAndNotNaN(t)&& 79(this.y=t)):r.a.isDef(e)&&(r.a.isNumberAndNotNaN(e.x)&&(this.x=e.x),r.a.isNumberAndNotNaN(e.y)&&(this.y=e.y))}getX(){return this.x}setX(e){this.x=e}getY(){return this.y}setY(e){this.y=e}subtract(e){return this.x-=e.x,this.y-=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}multiply(e){return this.x*=e,this.y*=e,this}serialize(){return{x:this.x,y:this.y}}clone(){return new a({x:this.x,y:this.y})}equals(e){return this.x===e.x&&this.y===e.y}lt(e){return this.x<e.x&&this.y<e.y}lte(e){return this.x<= 80e.x&&this.y<=e.y}gt(e){return this.x>e.x&&this.y>e.y}gte(e){return this.x>=e.x&&this.y>=e.y}toString(){return`{${this.x},${this.y}}}`}static deserialize(e){return r.a.isNotDef(e)?new a(0,0):new a(e.x,e.y)}static countDistance(e,t){return Math.sqrt(Math.abs(e.getX()-t.getX())*Math.abs(e.getY()-t.getY()))}}t.a=a},function(e,t,n){t.a={NO_BREAK_SPACE:/\u00a0/g,ONLY_LETTERS:/[a-zA-Z]/g}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),r=n(12),a=n(13),o=n(2),s=n(15),u=n(16), 81c=n(17),l=n(18),d=n(4),h=n(19),f=n(5),v=n(20),g=n(21),p=n(22),y=n(23),b=n(24),m=n(7),w=n(25),S=n(26),O=n(27),_=n(28),k=n(29),P=n(8),A=n(9),E=n(30),I=n(31),C=n(32),T=n(6),N=n(33),D=n(34),j=n(38),R=n(39),L=n(3);n.d(t,"ArrayUtils",function(){return a.a}),n.d(t,"Color",function(){return o.a}),n.d(t,"ColorUtils",function(){return s.a}),n.d(t,"DateUtils",function(){return u.a}),n.d(t,"DecimalSeparators",function(){return c.a}),n.d(t,"DelayedThrottler",function(){return l.a}),n.d(t,"Direction2D",function(){return d.a}), 82n.d(t,"EnumUtils",function(){return i}),n.d(t,"Environment",function(){return h.a}),n.d(t,"Environments",function(){return f.a}),n.d(t,"FileUtils",function(){return v.a}),n.d(t,"IconsNamesReferences",function(){return g.a}),n.d(t,"InputUtils",function(){return p.a}),n.d(t,"KeyBindings",function(){return y.a}),n.d(t,"KeyCodes",function(){return b.a}),n.d(t,"MathOutputFormat",function(){return m.a}),n.d(t,"MathUtils",function(){return w.a}),n.d(t,"MobileUtils",function(){return S.a}),n.d(t,"NumberUtils", 83function(){return O.a}),n.d(t,"ObjectUtils",function(){return _.a}),n.d(t,"Orientation2D",function(){return k.a}),n.d(t,"parseCSSColor",function(){return L.a}),n.d(t,"Point2D",function(){return P.a}),n.d(t,"RegexTypes",function(){return A.a}),n.d(t,"Resize",function(){return E.a}),n.d(t,"SingleActionThrottler",function(){return I.a}),n.d(t,"Size2D",function(){return C.a}),n.d(t,"SliderInputReturnTypes",function(){return T.a}),n.d(t,"StoreUtils",function(){return N.a}),n.d(t,"StringUtils",function(){return D.a}), 84n.d(t,"TranslationPrefix",function(){return r}),n.d(t,"VariableUtils",function(){return j.a}),n.d(t,"VueUtils",function(){return R.a})}
84,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});const i="autoSorting";t.AUTO_SORTING=i;const r=e=>{Object.defineProperty(e,i,{value:!0,enumerable:!1})};t.addTranslationSorting=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n.n(i);const a="_translationPrefix";t.TRANSLATION_PREFIX_KEY="_translationPrefix";const o="_translationSuffix"; 85t.TRANSLATION_SUFFIX_KEY="_translationSuffix";const s=(e,t,n)=>{Object.defineProperty(e,"_translationPrefix",{value:t,enumerable:!1}),r.a.isDefAndNotNull(n)&&Object.defineProperty(e,"_translationSuffix",{value:n,enumerable:!1})};t.addTranslationPrefix=s;const u=(e,t,n)=>r.a.isDefAndNotNull(n)&&i18n.exists(`${e._translationPrefix}.${t}.${n}`)?i18n.t(`${e._translationPrefix}.${t}.${n}`):i18n.t(`${e._translationPrefix}.${t}`);t.translateEnumValue=u},function(e,t,n){var i=n(1),r=n.n(i),a=n(0),o=n.n(a); 86class s{static sortArrayOfObjectsByKeyAscending(e,t){let n=[];return e&&t&&(n=Array.from(e)).sort((e,n)=>{let i=e[t],r=n[t];if(o.a.isString(i)&&o.a.isString(r)&&(i=i.toLowerCase(),r=r.toLowerCase()),o.a.isDefAndNotNull(i)&&o.a.isDefAndNotNull(r)){if(i>r)return 1;if(i<r)return-1}else if(!1===o.a.isDef(i)||""===i){if(r)return 1}else if((!1===o.a.isDef(r)||""===r)&&i)return-1;return 0}),n}static sortArrayOfObjectsByKeyDescending(e,t){let n=[];return e&&t&&(n=Array.from(e)).sort((e,n)=>{let i=e[t],r= 87n[t];if(o.a.isString(i)&&o.a.isString(r)&&(i=i.toLowerCase(),r=r.toLowerCase()),o.a.isDefAndNotNull(i)&&o.a.isDefAndNotNull(r)){if(i>r)return-1;if(i<r)return 1}else if(!1===o.a.isDef(i)||""===i){if(r)return-1}else if((!1===o.a.isDef(r)||""===r)&&i)return 1;return 0}),n}static sortArrayAscending(e){let t=[];return e&&(t=e).sort((e,t)=>{let n=e,i=t;if(o.a.isString(n)&&o.a.isString(i)&&(n=n.toLowerCase(),i=i.toLowerCase()),o.a.isDefAndNotNull(n)&&o.a.isDefAndNotNull(i)){if
87(n>i)return 1;if(n<i)return-1}return 0}), 88t}static sortArrayDescending(e){let t=[];return e&&(t=e).sort((e,t)=>{let n=e,i=t;if(o.a.isString(n)&&o.a.isString(i)&&(n=n.toLowerCase(),i=i.toLowerCase()),o.a.isDefAndNotNull(n)&&o.a.isDefAndNotNull(i)){if(n>i)return-1;if(n<i)return 1}return 0}),t}static sortArrayByDefinedSortingValueAscending(e){let t=[];return e.array&&(t=e.array).sort((t,n)=>{let i=e.getValueCallback(t),r=e.getValueCallback(n);if(o.a.isDefAndNotNull(i)&&o.a.isDefAndNotNull(r)){if(i>r)return 1;if(i<r)return-1}if(o.a.isFunction(e.equalValuesAdditionalCallback)){if((i= 89e.equalValuesAdditionalCallback(t))>(r=e.equalValuesAdditionalCallback(n)))return 1;if(i<r)return-1}return 0}),t}static isArrayHasOnlyTruthyValues(e){return e.every(e=>!0===e)}static shuffle(e){let t=e.length,n;for(;t>0;)n=Math.floor(Math.random()*t),t--,[e[t],e[n]]=[e[n],e[t]];return e}static permute(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(0===e.length)t.push(n);else for(let i=0;i<e.length;i++){let r=e.slice(),a=r.splice(i,1);s.permute(r.slice(),t,n.concat(a))}}static findValueClosestToNumericValue(e, 90t){if(0===t.length)return null;let n=0,i=1/0;for(let r=0;r<t.length;r++){let a=t[r],o=Math.abs(e-a);o<i&&(i=o,n=r)}return t[n]}static subtractCommonElementsFromArray(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return o.a.isDef(n)?e.filter(e=>!t.some(t=>e[n]===t[n])):e.every(e=>o.a.isObject(e))?e.filter(e=>!t.some(t=>JSON.stringify(t)===JSON.stringify(e))):e.filter(e=>!t.includes(e))}static getUniqueElements(e){return e.filter((e,t,n)=>t===n.findIndex(t=>(!1===o.a.isFunction(t.equals)&& 91r.a.error("object has not equals method"),t.equals(e))))}static array2stringWithQuota(e){return e.reduce((e,t)=>e?e=`${e}, "${t}"`:`"${t}"`,"")}static mapToIdsArray(e){let t=[];return o.a.isArrayLike(e)&&e.length>0&&(t=e.map(e=>e.getId())),t}}t.a=s},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}), 92Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var i=n(2),r=n(0),a=n.n(r);class o{static rgbaOrRgb2hexAndOpacity(e){let t,n,i,r={hex:"#000000",opacity:1},o=function(e){let t=parseInt(e);return isNaN(t)?"00":(t=Math.max(t,0),1===(t=(t=Math.min(t,255)).toString(16)).length?"0"+t:t)};return a.a.isString(e)&&("transparent"===e&&(r.opacity=0),e.startsWith("rgba")?(t=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/,(n=e.match(t))&& 935===n.length&&(r.hex="#"+o(n[1])+o(n[2])+o(n[3]),i=parseFloat(n[4]),i=Math.max(i,0),i=Math.min(i,1),r.opacity=i)):e.startsWith("rgb")&&(t=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(n=e.match(t))&&4===n.length&&(r.hex="#"+o(n[1])+o(n[2])+o(n[3]),r.opacity=1))),r}static isTransparent(e){return"transparent"===e||0===o.rgbaOrRgb2hexAndOpacity(e).opacity}static isTransparentOrSomeLevelOfTransparency(e){return"transparent"===e||o.rgbaOrRgb2hexAndOpacity(e).opacity<1}static rgbObjectAndOpacityToRgbaString(e, 94t){return"rgba("+e.r+","+e.g+","+e.b+","+t+")"}static rgbAndOpacityToRgba(e,t){let n,i,r;return a.a.isNotString(e)&&(e="rgb(0,0,0)"),a.a.isNumberAndNotNaN(t)||(t=1),n=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(i=e.match(n))&&4===i.length?(r={r:parseInt(i[1],10),g:parseInt(i[2],10),b:parseInt(i[3],10)},o.rgbObjectAndOpacityToRgbaString(r,t)):"rgba(0,0,0,1)"}static isColorStartWithRgbPhrase(e){return o.isColorStartWithAnyOfPhrase(e,["rgb"])}static isColorStartWithVarPhrase(e){return o.isColorStartWithAnyOfPhrase(e, 95["var"])}static isColorStartWithAnyOfPhrase(e,t){return t.some(t=>e.startsWith(t))}static isValueContainGradientOrIconPhrase(e){return e.indexOf("gradient")>-1||o.isValueContainsIconPhrase(e)}static isValueContainsIconPhrase(e){return e.indexOf("ww_icon")>-1}static checkIfColorSame(e,t){let n=!1;if(a.a.isDefAndNotNull(e)&&a.a.isDefAndNotNull(t)){var r,o;let a,s;if(i.a.isRgba(e))a=e;else{let t=e.replace(/[^\d,]/g,"").split(",");a=`rgba(${t[0]}, ${t[1]}, ${t[2]}, 1)`}if(i.a.isRgba(t))s=t;else{let e= 96t.replace(/[^\d,]/g,"").split(",");s=`rgba(${e[0]}, ${e[1]}, ${e[2]}, 1)`}n=(null==(r=a)?void 0:r.replace(/\s/g,""))===(null==(o=s)?void 0:o.replace(/\s/g,""))}return n}static generateRgbRandomColor(){let e,t,n;return`rgb(${`${o.generateRandomColor(0,255)}`}, ${`${o.generateRandomColor(0,255)}`}, ${`${o.generateRandomColor(0,255)}`})`}static generateRandomColor(e,t){return Math.round(Math.random()*(t-e)+e)}}t.a=o},function(e,t,n){var i=n(1),r=n.n(i);const a=(e,t)=>`${1E15+e}`.slice(-t);class o{static getMonthNameByLanguage(e, 97t){void 0===t&&(t=i18n.lng);let n=`months.${e}`,i;return i=i18n.exists(n,{lng:t})?i18n.t(n,{lng:t}):i18n.t(n,{lng:"en"})}static dateToString(e,t,n){let i=e.getDate(),s=e.getMonth()+1,u=e.getFullYear(),c=a(e.getFullYear(),2),l=e.getHours(),d=e.getMinutes(),h=e.getSeconds(),f=e.getMilliseconds(),v;switch(t){case "dd/mm/yyyy":v=`${a(i,2)}/${a(s,2)}/${u}`;break;case "dd.mm.yyyy":v=`${a(i,2)}.${a(s,2)}.${u}`;break;case "dd/mm/yy":v=`${a(i,2)}/${a(s,2)}/${c}`;break;case "yyyy/mm/dd":v=`${u}/${a(s,2)}/${a(i, 982)}`;break;case "yy/mm/dd":v=`${c}/${a(s,2)}/${a(i,2)}`;break;case "d mmmm yyyy":v=`${i} ${o.getMonthNameByLanguage(s,n)} ${u}`;break;case "dd mmmm yyyy":v=`${a(i,2)} ${o.getMonthNameByLanguage(s,n)} ${u}`;break;case "dd.mm.yyyy hh:mm":v=`${a(i,2)}.${a(s,2)}.${u} ${a(l,2)}:${a(d,2)}`;break;case "dd-mm-yyyy":v=`${a(i,2)}-${a(s,2)}-${u}`;break;case o.availableFormats.DATA_RANGE_FILTER_DATE_FORMAT:v=`${u}-${a(s,2)}-${a(i,2)}`;break;case o.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:v=`${a(i,2)}-${a(s, 992)}
99-${u} ${a(l,2)}:${a(d,2)}`;break;case o.availableFormats.INPUT_DATE_TIME_FORMAT:v=`${u}-${a(s,2)}-${a(i,2)}T${a(l,2)}:${a(d,2)}`;break;case o.availableFormats.ISO_8601_FORMAT:v=`${u}-${a(s,2)}-${a(i,2)}T${a(l,2)}:${a(d,2)}:${a(h,2)}Z`;break;case o.availableFormats.yyyymmdd:v=u+a(s,2)+a(i,2);break;case o.availableFormats.WERBWAVE_BACKEND_BINDING:v=`${u}-${a(s,2)}-${a(i,2)} ${a(l,2)}:${a(d,2)}:${a(h,2)}.${a(f,2)}`;break;case o.availableFormats.FULL_TIME:v=`${a(l,2)}:${a(d,2)}:${a(h,2)}`;break;case o.availableFormats.STORE_ORDER_DATE:v= 100`${u}-${a(s,2)}-${a(i,2)} ${a(l,2)}:${a(d,2)}`;break;default:r.a.error(`Nieznany format daty! ('${t}')`),v=`${i}/${s}/${u}`;break}return v}static isValidDate(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())}static convertTwoDigitYearToFull(e){let t=o.getNowDateYear(),n,i=100*Math.floor(t/100)+e;return i<t&&(i+=100),i}static convertYearToClosestCentury(e){let t=o.getNowDateYear();if(e<100){let n=100*Math.floor(t/100),i=n+e,r=n+e-100,a=n+e+100;e=Math.abs(t-a)<Math.abs(t- 101i)?a:Math.abs(t-i)<Math.abs(t-r)?i:r}else if(e<1E3){let n,i=10*e,r=1E3*Math.floor(t/1E3)+e-1E3;e=Math.abs(t-i)<Math.abs(t-r)?i:r}return e}static getNowDateYear(){return(new Date).getFullYear()}static daysBetween(e,t){let n=864E5,i=Math.abs(e-t);return Math.round(i/864E5)}static dateIsGreaterThenNow(e){return e>new Date}static getBeginOfTheDay(e){return e.setHours(0),e.setMinutes(0),e.setSeconds(0),e}static getEndOfTheDay(e){return e.setHours(23),e.setMinutes(59),e.setSeconds(59),e}static stringToDate(e, 102t,n){var i,r;let a,s,u,c,l,d,h,f;switch(t){case "dd-mm-yyyy":a=(h=e.split("-"))[0],s=h[1],u=o.convertYearToClosestCentury(parseInt(h[2]));break;case o.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:a=(h=null==(i=(d=e.split(" "))[0])?void 0:i.split("-"))[0],s=h[1],u=o.convertYearToClosestCentury(parseInt(h[2])),(f=null==(r=d[1])?void 0:r.split(":"))&&(c=f[0],l=f[1]);break}return c&&l?new Date(u,s-1,a,c,l):new Date(u,s-1,a)}}t.a=o,o.availableFormats={"dd/mm/yyyy":"dd/mm/yyyy","dd/mm/yy":"dd/mm/yy","yyyy/mm/dd":"yyyy/mm/dd", 103"yy/mm/dd":"yy/mm/dd","d mmmm yyyy":"d mmmm yyyy","dd mmmm yyyy":"dd mmmm yyyy","dd.mm.yyyy hh:mm":"dd.mm.yyyy hh:mm","dd-mm-yyyy":"dd-mm-yyyy",DATE_PICKER_DATE_TIME_FORMAT:"dd-mm-yyyy hh:mm",WERBWAVE_BACKEND_BINDING:"yyyy-MM-dd HH:mm:ss.S",STORE_ORDER_DATE:"yyyy-MM-dd HH:mm",yyyymmdd:"yyyymmdd",FULL_TIME:"HH:mm:ss",INPUT_DATE_TIME_FORMAT:"yyyy-mm-ddTHH:mm",ISO_8601_FORMAT:"yyyy-mm-ddTHH:mm:ss",DATA_RANGE_FILTER_DATE_FORMAT:"yyyy-mm-dd"}},function(e,t,n){t.a=Object.freeze({DEFAULT:"",DOT:".",COMMA:",", 104EMPTY:""})},function(e,t,n){var i=n(0),r=n.n(i);const a=300;class o{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._delay=r.a.isNumberAndNotNaN(e.delay)&&e.delay>0?e.delay:a,this._handler=null,this._caller=null,this._args=void 0,this._timeout=void 0}_runFunc(e,t,n){}_onDelayFinish(){r.a.isFunction(this._handler)&&this._handler.apply(this._caller,this._args)}throttleRun(e,t,n){window.clearTimeout(this._timeout),this._timeout=void 0,this._handler=e,this._caller=t, 105this._args=n,this._timeout=window.setTimeout(this._onDelayFinish.bind(this),this._delay)}isWaiting(){return r.a.isDefAndNotNull(this._timeout)}}t.a=o},function(e,t,n){var i=n(5),r=n(0),a=n.n(r);let o;class s{static readEnv(){if(a.a.isDef(window.config)&&a.a.isDef(window.config.environment))for(let e in i.a)if(i.a.hasOwnProperty(e)&&i.a[e]===window.config.environment)return void(o=i.a[e]);o=i.a.PRODUCTION}static getCurrent(){return o}static isDevelopment(){return o===i.a.DEVELOPMENT}static isNotDevelopment(){return o!== 106i.a.DEVELOPMENT}static isProduction(){return o===i.a.PRODUCTION}static isNotProduction(){return o!==i.a.PRODUCTION}static isTest(){return o===i.a.TEST}static isNotTest(){return o!==i.a.TEST}static isQA(){return o===i.a.PRE_PRODUCTION}static setEnvironment(e){a.a.isValidEnumValue(e,i.a)&&(o=e)}}t.a=s,s.readEnv()},function(e,t,n){var i=n(1),r=n.n(i),a=n(0),o=n.n(a);class s{static async urlToFile(e,t,n){try{if(!e||""===e.trim())return null;let i=await fetch(e);if(!i.ok)return null;let a=await i.blob(); 107return a&&0!==a.size?new File([a],t,{type:n}):null}catch(e){return r.a.error("Error converting URL to file:",e),null}}}t.a=s},function(e,t,n){t.a={AddSection:"wsection-icon",a:"link-style-text-icon",a_hover:"text_format_black_24dp_2",addNews:"newPageIcon",addSectionAboveIcon:"plus-icon-2",addSectionBelowIcon:"plus-icon-2",aiIcon:"AI_icon",aiwidget:"widgets-icon",aiText:"ai-icon",alignBottom:"align-vertical-bottom-icon",alignCenter:"align-horizontal-center-icon",alignHorizontal:"horizontal-distribute-icon", 108alignLeft:"align-horizontal-left-icon",alignMiddle:"align-vertical-center-icon",alignRight:"align-horizontal-right",alignTop:"align-vertical-top-icon",alignVertical:"vertical-distribute-icon",banner_premium:"premium-icon",bindwobjects:"bind-icon",button:"button-tool-icon",carousel:"carousel-tool-icon",changeProduct:"refresh-icon",changestate:"auto_awesome-icon",commentColored:"chat-outline-icon",contextboxIconSymbol:"settings-tool-icon",copy:"content-copy-icon",copystyle:"content-copy-style-icon", 109counter:"counter-tool-icon",cut:"content-cut-icon",date:"date-tool-icon",defaultText:"text-menu-tool-icon",delete:"deleteIcon",deltaIndicatorNegativeRange:"arrow-downward-icon",deltaIndicatorPositiveRange:"arrow-upward-icon",duplicate:"content-duplicate",edit:"edit-icon",editOutline:"edit-icon-outline",editProduct:"shop-add-product-icon",editlink:"link-icon",form:"tollbar-form-icon2",gallery:"gallery-icon",googleMaps:"map-tool-icon",group:"groupIcon",h1:"h1-style-text-headline-icon",h2:"h2-style-text-headline-icon", 110h3:"h3-style-text-headline-icon",h4:"h4-style-text-headline-icon",htmltool:"code-tool-icon",icon:"icon-tool-icon",imageCropping:"fullscreen-change-size",img:"image-icon",imgMenu:"image-icon-menu",languageSelector:"language-tool-icon",layerblockIconSymbol:"layers-tool-panel-icon",lightbox:"image-grid-tool-icon",login:"login-tool-icon",menu:"menu-tool-icon",moveSectionDownIcon:"expand-more-icon-2",moveSectionUpIcon:"expand-less-icon-2",moveToFooter:"add-to-footer-icon",moveToLayout:"add-to-website-icon2", 111moveToLowerSectionIcon:"expand-more-icon-2",moveToUpperSectionIcon:"expand-less-icon-2",moveontop:"moveOnTopIcon",movetobottom:"moveToBottomIcon",newsfeed:"newsfeed-tool-icon",objectHelp:"help-outline-icon",objectLibraryIconSymbol:"library-icon",objectStyle:"edit-icon",objectproperties:"element-settings-icon",objecttext:"paragraph-tool-icon",otherTools:"more-tool-menu-icon",overviewModeIcon:"preview-icon",p:"title_black_24dp_2",pageThumbnail:"thumbnail_tool_icon",paste:"content-paste-icon",pastestyle:"paste-style-icon", 112paymentStepClientData:"lock-outline-icon",paymentStepItem:"cms-icon3",paymentStepSummary:"wallet",price:"tag-outline-icon",product:"shop-add-product-icon",productfeed:"product-feed-icon",rectangle:"rectangle-tool",removeFromFooterAction:"delete-from-footer-icon",removeFromLayout:"cancel-icon2",saveIcon:"save-icon",selectSubelement:"more-icon2",settings:"settings-icon-outline",shop:"shop-menu-tool-icon",shopCart:"shop-menu-tool-icon-1",showNews:"newsfeed-tool-icon",simpleText:"header-tool-icon",slider:"toolbar-slider-icon", 113stopCropping:"cancel-icon2",text:"paragraph-tool-icon",textTools:"paragraph-tool-icon",timeLineError:"cancel-icon2",timeLineInProgress:"hourglass_empty",timelineSuccess:"check-mark-icon",toolsmenuwrappericonsymbol:"add-element-tool-icon",unbindwobjects:"unbind-icon",ungroup:"cancel-icon2",viewpageicon:"public-icon",wfooter:"add-to-footer-icon",wgroup:"groupIcon",wlayoutgroup:"add-to-website-icon2",wmediaplayer:"video-tool-icon",wsection:"wsection-icon"}},function(e,t,n){var i=n(6);class r{static isReturnTypeNumeric(e){return e=== 114i.a.INT||e===i.a.FLOAT}static normalizeInputValue(e,t){let n=e.trim();return 0===n.length&&this.isReturnTypeNumeric(t)?"0":n}static parseValueToReturnType(e,t){switch(t){case i.a.FLOAT:return parseFloat(e);case i.a.INT:return parseInt(parseFloat(e),10);default:return NaN}}}t.a=r},function(e,t,n){var i=n(0),r=n.n(i);class a{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.enabled=!!r.a.isDef(e.enabled)&&e.enabled,this.max=r.a.isNumberAndNotNaN(e.max)?e.max:null,this.min= 115r.a.isNumberAndNotNaN(e.min)?e.min:null,this.step=r.a.isNumberAndNotNaN(e.step)?e.step:null}}t.a=a}
115,function(e,t,n){t.a={DELETE:46,LEFT:37,RIGHT:39,UP:38,DOWN:40,ESC:27,ENTER:13,BACKSPACE:8,LEFT_SQUARE_BRACKET:219,RIGHT_SQUARE_BRACKET:221,K7:55,K8:56,K9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,M:77,O:79,P:80,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,PLUS:187,MINUS:189,NUM_PLUS:107,NUM_MINUS:109,ZERO:48,NUM_ZERO:96,SPACE:32}},function(e,t,n){var i=n(7),r=n(0),a=n.n(r);const o={[i.a.COMPACT]:e=> 116s.formatToCompactNumber(e)};class s{static formatOutput(e,t){return a.a.isDefAndNotNull(o[e])?o[e](t):t}static sumArrayValues(e){return e.reduce((e,t)=>e+t,0)}static weightedMean(e,t){return s.sumArrayValues(e.map((e,n)=>e*t[n]))/s.sumArrayValues(t)}static isValueInRange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e>=t.min&&e<=t.max}static limitValue(e,t,n){let i=e;return a.a.isNumberAndNotNaN(n)&&(i=Math.min(n,i)),a.a.isNumberAndNotNaN(t)&&(i=Math.max(t,i)),i}static cartesianProduct(){for(var e= 117arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!0===a.a.isArrayLike(t)&&0===t.length)return[];let i;return t.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat()))).map(e=>a.a.isArrayLike(e)?e:[e])}static cartesianProductNumber(e){return!0===a.a.isArrayLike(e)&&0===e.length?0:e.map(e=>e.length).reduce((e,t)=>e*t)}static setFloatPriceToLong(e){let t=e,n=100;return a.a.isString(e)&&(t=e.replace(",",".")),Math.round(100*parseFloat(t))}static roundValueToTwoDecimals(e){return Math.round(100* 118e)/100}static returnIfNumberOrParseInt(e){return a.a.isNumber(e)?e:parseInt(e,10)}static returnUndefinedIfNaN(e){return isNaN(e)?void 0:e}static formatToCompactNumber(e){let t;return(new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:1})).format(Number(e))}}t.a=s},function(e,t,n){var i=n(0),r=n.n(i);class a{static emulateClickEventForAppleDevice(e,t){e.on("touchstart.iphoneDoubleTap",n=>{let i=!1;e.one("touchend.iphoneDoubleTap",function(){!1===i&&t(),e.off("touchmove.iphoneDoubleTap")}), 119e.one("touchmove.iphoneDoubleTap",function(){i=!0})})}static isMobileDevice(){return this.isMobileAppleDevice()||navigator.userAgent.match(/(Android|BlackBerry|Windows Phone)/i)}static isTouchScreenDevice(){return navigator.maxTouchPoints>0}static isMobileAppleDevice(){return null!==navigator.userAgent.match(/(iPhone|iPod|iPad)/i)}static isAppleDevice(){return null!==navigator.userAgent.match(/(iPhone|iPod|iPad|Macintosh)/i)}static isAppleDeviceWithTouchScreen(){return a.isMobileAppleDevice()||null!== 120navigator.userAgent.match(/(Macintosh)/i)&&a.isTouchScreenDevice()}static isMobileSafari(){return a.isAppleDeviceWithTouchScreen()&&!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)}static reloadIfBackForwadCacheInAppleDevice(){this.isMobileAppleDevice()&&$(window).on("pageshow",function(e){if(e.originalEvent.persisted){var t=elementService.findAllWButton();r.a.isArrayLike(t)&&t.length>0&&location.reload()}})}}t.a=a},function(e,t,n){var i=n(0),r=n.n(i);t.a={getDecimalSeparator(e){let t=1.1; 121return Intl.NumberFormat(e).formatToParts(1.1).find(e=>"decimal"===e.type).value},normalizeStringForNumberParsing:e=>e.replace(/[+\-\s]/g,"").replace(",","."),convertStringToNumber(e){return parseFloat(this.normalizeStringForNumberParsing(e))},calculatePriceWithDiscount:(e,t)=>r.a.isNumberAndNotNaN(t)?e-e*(t/100):e,calculateTaxValue:(e,t)=>parseFloat(e*(t/100)),convertIntegerToFloat:e=>e/100,convertFloatToInteger:e=>Math.round(100*e)}},function(e,t,n){var i=n(0),r=n.n(i);class a{static overrideFalsyValuesFromFistMapIfEquivalentValuesIsTruthy(e, 122t){Object.keys(t).forEach(n=>{let r=t[n];Object(i.isDef)(e[n])&&!1===e[n]&&!0===r&&(e[n]=!0)})}static isObjectHasOnlyTruthyValues(e){let t=!0,n=Object.keys(e);for(let i=0;i<n.length;i++)if(!0!==e[n[i]]){t=!1;break}return t}static isShallowEqual(e,t){let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let i of n)if(e[i]!==t[i])return!1;return!0}static getKeysFromFlatObject(e){let t=[];return Object.entries(e).forEach(e=>{let [n,i]=e;t.push(n)}),t}static isClassInheritedFrom(e, 123t){let n=e.prototype;for(;null!=n;){if(n===t.prototype)return!0;n=n.__proto__}return!1}static filterObject(e,t){let n={};for(let i=0;i<t.length;i++){let r=t[i];e.hasOwnProperty(r)&&(n[r]=e[r])}return n}}t.a=a},function(e,t,n){const i={HORIZONTAL:"horizontal",VERTICAL:"vertical"};t.a=i},function(e,t,n){var i=n(4),r=n(0),a=n.n(r);class o{constructor(){this.direction=i.a.BOTTOM_RIGHT,this.resizing=!1,this.targetNode=void 0,this.handlerNode=void 0,this._handleResizeHandler=void 0,this._stopResizeHandler= 124void 0,this._onMouseLeaveHandler=void 0}init(e){this.direction=e.direction?e.direction:i.a.BOTTOM_RIGHT,this.targetNode=e.targetNode,this.handlerNode=e.handlerNode}startResize(){this.resizing=!0,this._handleResizeHandler=this._handleResize.bind(this),this._stopResizeHandler=this._stopResize.bind(this),this._setCursor(),document.addEventListener("mousemove",this._handleResizeHandler),document.addEventListener("mouseup",this._stopResizeHandler)}_handleResize(e){if(e.preventDefault(),this.resizing&& 125a.a.isDefAndNotNull(this.targetNode))switch(this.direction){case i.a.BOTTOM_RIGHT:this._resizeSouthEast(e.clientX,e.clientY);break;case i.a.BOTTOM:this._resizeSouth(e.clientY);break;case i.a.RIGHT:this._resizeEast(e.clientX);break}}_setCursor(){switch(this.direction){case i.a.BOTTOM_RIGHT:document.body.style.cursor="nwse-resize";break;case i.a.BOTTOM:document.body.style.cursor="ns-resize";break;case i.a.RIGHT:document.body.style.cursor="ew-resize";break}}_resetCursor(){document.body.style.cursor= 126""}_stopResize(){this.resizing=!1,this._resetCursor(),document.removeEventListener("mousemove",this._handleResizeHandler),document.removeEventListener("mouseup",this._stopResizeHandler)}_resizeEast(e){let t=e-this.targetNode.getBoundingClientRect().left;this.targetNode.style.width=`${t}px`}_resizeSouth(e){let t=e-this.targetNode.getBoundingClientRect().top;this.targetNode.style.height=`${t}px`}_resizeSouthEast(e,t){this._resizeSouth(t),this._resizeEast(e)}}t.a=o},function(e,t,n){var i=n(0),r=n.n(i); 127class a{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.timeoutDelay=r.a.isNumberAndNotNaN(e.timeoutDelay)?e.timeoutDelay:1E3,this.timerId=null,this.jobHandler=r.a.isFunction(e.jobHandler)?e.jobHandler:null}run(e){this.clean(),this.timerId=setTimeout(()=>{r.a.isFunction(this.jobHandler)&&this.jobHandler(e)},this.timeoutDelay)}clean(){clearTimeout(this.timerId)}}t.a=a},function(e,t,n){var i=n(8),r=n(0),a=n.n(r);class o{constructor(e){a.a.isNotDef(e)&&(e={}),this.width= 128a.a.isNumberAndNotNaN(e.width)?e.width:0,this.height=a.a.isNumberAndNotNaN(e.height)?e.height:0}getWidth(){return this.width}setWidth(e){this.width=e}getHeight(){return this.height}setHeight(e){this.height=e}clone(){return new o({width:this.width,height:this.height})}serialize(){return{width:this.width,height:this.height}}equals(e){return this.width===e.width&&this.height===e.height}add(e){return this.width+=e.getWidth(),this.height+=e.getHeight(),this}subtract(e){return this.width-=e.getWidth(), 129this.height-=e.getHeight(),this}multiply(e){return this.width*=e,this.height*=e,this}applyLimits(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.a.isDef(e.width)&&(a.a.isNumber(e.width.min)&&(this.width=Math.max(this.width,e.width.min)),a.a.isNumber(e.width.max)&&(this.width=Math.min(this.width,e.width.max))),a.a.isDef(e.height)&&(a.a.isNumber(e.height.min)&&(this.height=Math.max(this.height,e.height.min)),a.a.isNumber(e.height.max)&&(this.height=Math.min(this.height,e.height.max)))}toString(){return`{${this.width},${this.height}}}`}toVector(){return new i.a({x:this.getWidth(), 130y:this.getHeight()})}addHeight(e){this.height+=e}subtractHeight(e){this.height-=e}addWidth(e){this.width+=e}subtractWidth(e){this.width-=e}ceil(){this.width=Math.ceil(this.width),this.height=Math.ceil(this.height)}}t.a=o,o.deserialize=function(e){return a.a.isNotDef(e)?new o({width:0,height:0}):new o(e)}},function(e,t,n){var i=n(0),r=n.n(i);class a{static getValidTaxValue(e){let t=a.parseTaxValue(e);return r.a.isDefAndNotNull(t)?t:i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.default.taxValue")}static parseTaxValue(e){if(r.a.isDef(e)){if(r.a.isNumber(e))return e; 131if(r.a.isStringAndNotEmpty(e)&&(e.includes(",")&&(e=e.replace(",",".")),e=parseFloat(e),r.a.isNumberAndNotNaN(e)))return e}}}t.a=a},function(e,t,n){var i=n(35),r=n.n(i),a=n(9),o=n(0),s=n.n(o),u=200,c=/^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*$/i,l=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,d=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,h=/^[0-9]{8,13}$/,f=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@((\[[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,}))$/, 132v=/^(?=.*\d)(?=.*[a-zA-Z `\-=[\];'\\,.\/~!@#$%^&*()_+{}:"|<>?])([a-zA-Z0-9 `\-=[\];'\\,.\/~!@#$%^&*()_+{}:"|<>?]{8,})$/,g=/^(?=.*?\d)(?=.*?\D).{8,}/,p=/^.*$/i,y=/[0-9]*[.]*[a-z\u0105\u0119\u015b\u0107\u017c\u017a\u0107\u00f3\u0142\u0144\u0104\u0118\u015a\u017b\u0179\u0106\u00d3\u0141\u0143\. ]{2,150}[.]*[0-9]+[a-z]*|[0-9]+[.]*[a-z\u0105\u0119\u015b\u0107\u017c\u017a\u0107\u00f3\u0142\u0144\u0104\u0118\u015a\u017b\u0179\u0106\u00d3\u0141\u0143\. ]{2,150}[.]*[0-9]/i,b={"&":"&","<":"<",">":">", 133'"':""","'":"'","/":"/"},m,w=RegExp("["+["-","[","]","/","{","}","(",")","*","+","?",".","\\","^","$","\\ ","|"].join("\\")+"]","g");class S{static generateRandomPasswordString(){const e=10,t=Math.random().toString(36).slice(-10);return!1===S.isValidPassword(t,S.passwordTypes.SIMPLE)?S.generateRandomPasswordString():t}static isValidEmail(e){return"string"==typeof e&&e.length>0&&null!=e.match(f)}static isValidEmailName(e){return"string"==typeof e&&e.length>0&&null!==e.match(c)}static checkIsValidUrl(e){try{return Boolean(new URL(e))}catch(e){return!1}}static checkIsValidName(e){return!!e.includes(" ")}static deleteWhiteSpace(e){return e.replace(/\s/g, 134"")}static checkIsValidDomain(e){var t=!1;return null!=e.match(l)&&-1==e.indexOf(config.hostSettings.domain)&&(t=!0),t}static checkIsValidSubdomain(e){var t=!1;return null!=e.match(d)&&(t=!0),t}static checkIsValidPhone(e){var t=!1;return null!=e.match(h)&&(t=!0),t}static countWords(e){if(!0===s.a.isNotDefOrNull(e)||0===e.length)return 0;let t=e.split(/(\s+)/).filter(e=>!/\s+$/.test(e));return(t=t.filter(e=>""!=e)).length}static textStartsWithTagOpening(e){return"<"===e[0]}static isValidPassword(e, 135t){if("string"==typeof e&&e.length>4)switch(t){case S.passwordTypes.SIMPLE:return null!==e.match(v);case S.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS:return null!==e.match(g);default:return null!==e.match(p)}return!1}static escapeStringForRegexp(e){return e.replace(w,"\\$&")}static isValidPolishStreetAddress(e){return"string"==typeof e&&y.test(e)}static isValidLength(e,t,n){return s.a.isDef(n)||(n=S.fieldMinLength.EMPTY),e.length<=t&&e.length>n}static isValidMaxLength(e,t){return e.length<=t}static isValidMinLength(e, 136t){return e.length>t}static isEqualLength(e,t){return e.length===t}static escapeHtml(e){return String(e).replace(/[&<>
136"'\/]/g,function(e){return b[e]})}static removeHtml(e){return String(e).replace(/<\/?[^>]+(>|$)/g,"")}static normalizeTextForUrl(e){return s.a.isString(e)&&(e=e.toLowerCase(),e=S.removeUnsafeCharactersFromTextForUrl(e),e=(e=S.removeUnwantedCharactersFromTextForUrl(e)).replace(/[ \u00A0]/g,"-")),e}static normalizeTextForRefUrl(e){return s.a.isString(e)&&(e=(e=e.replace(/\s/g,"")).substring(0, 137254),!1===/([a-zA-Z-])+/g.test(e)&&(e=e.replace(new RegExp("\\d","g"),"")),e=S.normalizeTextForUrl(e)),e}static removeUnwantedCharactersFromTextForUrl(e){return s.a.isString(e)&&(e=e.replace(/[.,\r\n]/g,"")),e}static removeUnsafeCharactersFromTextForUrl(e){return s.a.isString(e)&&(e=e.replace(/[\[\]`~&\^%@"<>\\\/#|?:;={}$+]/g,"")),e}static valueNonNumericChars(e){return a.a.ONLY_LETTERS.test(e)}static replaceExtensionInSrc(e,t){return s.a.isString(e)&&s.a.isString(t)&&(e=e.replace(/\.[^.]+$/,"."+ 138t)),e}static joinArrayUsingCut(e){let t=e[0];for(let n=1;n<e.length;n++)t+=`, ${e[n]}`;return t}static joinArrayUsingChar(e,t){let n=e[0];for(let i=1;i<e.length;i++)n+=`${t} ${e[i]}`;return n}static capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static getValidHref(e){if(!1===S.checkIsValidUrl(e)){let t=`https://${e}`;if(S.checkIsValidUrl(t))return t}return e}static updateOrAddParameterToUrl(e,t,n){let i=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=-1!==e.indexOf("?")?"&":"?";return e.match(i)? 139e.replace(i,"$1"+t+"="+n+"$2"):e+r+t+"="+n}static trimFirstAndLastQuote(e){return s.a.isStringAndNotEmpty(e)?e.replace(/^"|"$/g,""):e}static isHeaderOnly(e){let t;return/^\*\*(.*)\*\*$/.test(e.trim())}static removeBoldFromHeader(e){return e.replace(/^\*\*(.*)\*\*$/,"$1").trim()}static removeHeader(e){return e.replace(/^\*\*.*\*\*\s*/,"").trim()}static trimHeaderAndRemoveBold(e){return S.isHeaderOnly(e)?S.removeBoldFromHeader(e):S.removeHeader(e)}static trimMarkdown(e){let t=/```(\w+)\s*([\s\S]*?)\s*```/, 140n=e.match(t);return n?n[2].trim():""}static trimMarkdownIfExists(e){return e.includes("```")?S.trimMarkdown(e):e}static convertNaturalTextToCamelCase(e){let t=e.split(" "),n=t.shift();return(t=t.map(e=>S.capitalizeFirstLetter(e))).unshift(n),t.join("")}static convertToVerticalText(e){return e.toString().split("").join("<br>")}static generateUUID(){return r()()}static stringToHash(e){let t=0,n=e.length,i=0;if(n>0)for(;i<n;)t=(t<<5)-t+e.charCodeAt(i++)|0;return t}static isStringEndWithAnyOfPhrases(e, 141t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.some(t=>S.isStringEndWithPhrase(e,t,n))}static isStringEndWithPhrase(e,t){let n;return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipCaseSensitive&&(e=e.toLowerCase(),t=t.toLowerCase()),!0===e.endsWith(t)}static extendsStringWithSymbolToReachMinLength(e,t,n){let i=e;if(s.a.isString(e)&&i.length>=t==!1&&s.a.isDef(n))for(;i.length>=t==!1;)i+=n;return i}static truncateLink(e){let t=arguments.length>1&&void 0!== 142arguments[1]?arguments[1]:0;return e.substring(0,Math.min(e.length,u-t))}static trimToLength(e,t){return s.a.isStringAndNotEmpty(e)?e.substring(0,Math.min(e.length,t)):e}static simplifyNewAddress(e){e=(e=(e=S.truncateLink(e)).trim()).split("/");for(let t=0;t<e.length;t++)e[t]=S.removeUnsafeCharactersFromTextForUrl(e[t]);let t=e.join("/");return t=t.replace(/^\/+/g,"")}static truncateText(e,t){return e.length>t?e.slice(0,t-3).trim()+"...":e}static camelCaseToSeparateWords(e){return e.replace(/([a-z])([A-Z])/g, 143"$1 $2").toLowerCase()}static cutStringAfterNWord(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(s.a.isString(e.text)&&s.a.isNumberAndNotNaN(e.wordsNumber)){let t=0,n,i=e.text;for(let r=0;r<e.wordsNumber&&null!=(n=/\s*\S+/.exec(i));r++)i=i.substring(n[0].length),t+=n[0].length;return e.showDots?e.text.substr(0,t)+"...":e.text.substr(0,t)}return e.text}static trimAndReplaceSpaces(e){return e.trim().replace(/\s+/g," ")}static convertPriceToDotFormat(e){let t;return e.replace(/,/g, 144".").replace(/\s/g,"").replace(/[^\d.]/g,"").replace(/\.(?=.*\.)/g,"")}}t.a=S,"function"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(e){return this.slice(0,e.length)==e}),"function"!=typeof String.prototype.endsWith&&(String.prototype.endsWith=function(e){return this.slice(-e.length)==e}),S.passwordTypes={SIMPLE:"simple",SIMPLE_WITHOUT_RESTRICTIONS:"SIMPLE_WITHOUT_RESTRICTIONS",NORMAL:"normal"},S.fieldMaxLength={NORMAL:255},S.fieldMinLength={NORMAL:0,EMPTY:-1},window.stringUtils= 145S},function(e,t,n){var i=n(36),r=n(37);function a(e,t,n){var a=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||i)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[a+s]=o[s];return t||r(o)}
145e.exports=a},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto); 146if(n){var i=new Uint8Array(16);e.exports=function e(){return n(i),i}}else{var r=new Array(16);e.exports=function e(){for(var t=0,n;t<16;t++)0==(3&t)&&(n=4294967296*Math.random()),r[t]=n>>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);function r(e,t){var i=t||0,r=n;return[r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]]].join("")} 147e.exports=r},function(e,t,n){var i=n(0),r=n.n(i);class a{static createVariableById(e){return`var(--${e})`}static findVariablesValuesInString(e){return r.a.isDefAndNotNull(e)?e.match(/--[a-zA-Z_0-9]*/g):null}static isVariableExistInString(e){let t=a.findVariablesValuesInString(e);return r.a.isArrayLike(t)&&t.length>0}}t.a=a},function(e,t,n){var i=n(0),r=n.n(i);class a{static generateSelectOptionsFromEnum(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a={};r.a.isString(t)?a.prefix= 148t:Object.assign(a,t),r.a.isString(n)&&(a.suffix=n);let o=[],s=r.a.isStringAndNotEmpty(a.prefix)?`${a.prefix}.`:"",u=r.a.isStringAndNotEmpty(a.tooltipPrefix)?`${a.tooltipPrefix}.`:s,c=r.a.isStringAndNotEmpty(a.suffix)?`.${a.suffix}`:"",l=r.a.isStringAndNotEmpty(a.tooltipSuffix)?`.${a.tooltipSuffix}`:".tooltip",d=r.a.isArrayLike(e)?e:Object.values(e);for(let e=0;e<d.length;e++){let t=d[e],n=!0===a.withTooltip?i18n.t(`${u}${t}${l}`):void 0,i=!0===a.withId?t:void 0;o.push({value:t,label:i18n.t(`${s}${t}${c}`), 149id:i,tooltip:n})}return!0!==i.enableSort&&!0!==e.autoSorting||o.sort((e,t)=>e.label.localeCompare(t.label)),o}static removeRactivity(e){return Object.assign({},e)}static addNonReactiveProperty(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1})}}t.a=a}])})},1105:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(t){Object(i.a)(this,e),this.name=t.name,this.placeholder=t.placeholder,this.label=t.label,this.validator=t.validator}},111:function(e,t,n){n.d(t,"a",function(){return o}); 150var i=n(0),r=n(1),a=n(232),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"_normalizeTable",value:function e(t){t.replaceWith("<div>".concat(t.text().replace(/\s+/g," ").trim(),"</div>"))}},{key:"htmlElementToText",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;if(!0===i.preserveWhiteSpaces){var o=webwave.isDefAndNotNull(i.replaceValue)?i.replaceValue:"\n";r=i.property===a.a.INNER_TEXT?n[0].innerText.replace(e.multipleNewLineCharRegex, 151o):n[0].textContent.replace(e.multipleNewLineCharRegex,o)}else r=n.text();return r}},{key:"html2Text",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=$('<div style="white-space: pre;"/>').html(n);!0===i.stripTables&&r.find("table").each(function(t,n){e._normalizeTable($(n))});var a=e.htmlElementToText(r,i);return!1===webwave.isDefAndNotEmpty(a)&&webwave.isStringAndNotEmpty(i.optionalValueOnEmpty)&&(a=i.optionalValueOnEmpty),a}},{key:"changeCssPropertyForEachChildrenElementInTextElement", 152value:function e(t,n){for(var i=t.find('*[style*="'.concat(n.cssProperty,'"]')),r=0;r<i.length;r++)i[r].style[n.cssProperty]=n.newCssValue;return i}},{key:"convertMarkdownBoldToHtmlStrong",value:function e(t){return!1===webwave.isString(t)?"":t.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}},{key:"decodeHtml",value:function e(t){var n=document.createElement("textarea");n.innerHTML=t;var i=n.value;return n.remove(),i}},{key:"getEmptyParagraph",value:function e(){return"<p> </p>"}},{key:"getTextContentWithoutRedundantNewLines", 153value:function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="",r=t[0].childNodes,a=0;a<r.length;a++){var o,s;i+=r[a].textContent,a!==r.length-1&&(!0===n.withSpace?i+=" ":i+="\n")}return i}},{key:"getTextContentWithoutRedundantNewLinesFromElementHtml",value:function t(n){var i=document.createElement("div");return $(i).html(n.html()),e.getTextContentWithoutRedundantNewLines($(i))}},{key:"textToHTMLWithDivs",value:function e(t){if(webwave.isStringAndNotEmpty(t)){var n=t.split(/\n/g); 154return(n=n.map(function(e){return""===e?"<div> </div>":"<div>".concat(e,"</div>")})).join("")}return t}},{key:"isPlainText",value:function e(t){return!1!==webwave.isStringAndNotEmpty(t)&&!/<[^>]*>/.test(t);var n}}]),e}();o.htmlToElements=function(e){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.childNodes},o.multipleNewLineCharRegex=/(\n)((\s)*(\n))+/g},1113:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(112),o=n(106),s,u=function(){function e(){var t= 155arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._x=new a.a(t.x),this._y=new a.a(t.y)}return Object(r.a)(e,[{key:"subtract",value:function e(t){this._x.subtract(t.getX()),this._y.subtract(t.getY())}},{key:"add",value:function e(t){this._x.add(t.getX()),this._y.add(t.getY())}}
155,{key:"serialize",value:function e(){return{x:this._x.serialize(),y:this._y.serialize()}}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"equals",value:function e(t){return this._x.equals(t._x)&& 156this._y.equals(t._y)}},{key:"setX",value:function e(t){this._x=t}},{key:"setXUnit",value:function e(t){this._x.setUnit(t)}},{key:"getXUnit",value:function e(){return this._x.getUnit()}},{key:"setYUnit",value:function e(t){this._y.setUnit(t)}},{key:"getYUnit",value:function e(){return this._y.getUnit()}},{key:"getX",value:function e(){return this._x}},{key:"setY",value:function e(t){this._y=t}},{key:"getY",value:function e(){return this._y}},{key:"getYValue",value:function e(){return this.getY().getValue()}}, 157{key:"getXValue",value:function e(){return this.getX().getValue()}},{key:"setYValue",value:function e(t){this.getY().setValue(t)}},{key:"setXValue",value:function e(t){this.getX().setValue(t)}},{key:"toJSON",value:function e(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function e(){return this.isXUnitDynamic()||this.isYUnitDynamic()}},{key:"isXUnitDynamic",value:function e(){return a.a.isUnitDynamic(this.getXUnit())}},{key:"isYUnitDynamic",value:function e(){return a.a.isUnitDynamic(this.getYUnit())}}]), 158e}()},112:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(106),o,s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.value=webwave.isNumberAndNotNaN(t.value)?t.value:0,this.unit=webwave.isValidEnumValue(t.unit,a.a)?t.unit:a.a.PX}return Object(r.a)(e,[{key:"getUnit",value:function e(){return this.unit}},{key:"setUnit",value:function e(t){webwave.isValidEnumValue(t,a.a)&&(this.unit=t)}},{key:"getValue",value:function e(){return this.value}}, 159{key:"setValue",value:function e(t){webwave.isNumberAndNotNaN(t)&&(this.value=t)}},{key:"serialize",value:function e(){return{value:this.value,unit:this.unit}}},{key:"add",value:function t(n){n instanceof e&&this.unit===n.getUnit()&&(this.value+=n.getValue())}},{key:"subtract",value:function e(t){return this.unit===t.getUnit()&&(this.value-=t.getValue()),this}},{key:"multiply",value:function e(t){return this.value*=t,this}},{key:"equals",value:function e(t){return this.getUnit()===t.getUnit()&&this.getValue()=== 160t.getValue()}},{key:"toString",value:function e(){return this.value+this.unit}},{key:"clone",value:function t(){return new e({value:this.value,unit:this.unit})}},{key:"loadValuesFromObject",value:function e(t){this.setUnit(t.getUnit()),this.setValue(t.getValue())}}],[{key:"parseLengthString",value:function e(t){var n=String(t),i=parseFloat(n),r=n.match(/%|em/);return isNaN(i)?"":r?i+r:"".concat(Math.round(i),"px")}},{key:"parseLengthUnitString",value:function e(t){var n,i=String(t).match(/%|em|vh|vw/); 161return i?i.toString():a.a.PX}},{key:"isUnitVWorVH",value:function e(t){return t===a.a.VH||t===a.a.VW}},{key:"isUnitPX",value:function e(t){return t===a.a.PX}},{key:"isUnitVH",value:function e(t){return t===a.a.VH}},{key:"isUnitVW",value:function e(t){return t===a.a.VW}},{key:"isUnitDynamic",value:function t(n){return e.isUnitVH(n)||e.isUnitVW(n)}},{key:"createLengthWithPxUnitFromValue",value:function t(n){var i;return new e({value:!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withoutRounding? 162Math.round(n):n,unit:a.a.PX})}}]),e}()},114:function(e,t,n){t.a={AED:"AED",AFN:"AFN",ALL:"ALL",AMD:"AMD",ANG:"ANG",AOA:"AOA",ARS:"ARS",AUD:"AUD",AWG:"AWG",AZN:"AZN",BAM:"BAM",BBD:"BBD",BDT:"BDT",BGN:"BGN",BIF:"BIF",BMD:"BMD",BND:"BND",BOB:"BOB",BRL:"BRL",BSD:"BSD",BWP:"BWP",BYN:"BYN",BZD:"BZD",CAD:"CAD",CDF:"CDF",CHF:"CHF",CLP:"CLP",CNY:"CNY",COP:"COP",CRC:"CRC",CVE:"CVE",CZK:"CZK",DJF:"DJF",DKK:"DKK",DOP:"DOP",DZD:"DZD",EGP:"EGP",ETB:"ETB",EURO:"EUR",FJD:"FJD",FKP:"FKP",GBP:"GBP",GEL:"GEL",GIP:"GIP", 163GMD:"GMD",GNF:"GNF",GTQ:"GTQ",GYD:"GYD",HKD:"HKD",HNL:"HNL",HRK:"HRK",HTG:"HTG",HUF:"HUF",IDR:"IDR",ILS:"ILS",INR:"INR",ISK:"ISK",JMD:"JMD",JPY:"JPY",KES:"KES",KGS:"KGS",KHR:"KHR",KMF:"KMF",KRW:"KRW",KYD:"KYD",KZT:"KZT",LAK:"LAK",LBP:"LBP",LKR:"LKR",LRD:"LRD",LSL:"LSL",MAD:"MAD",MDL:"MDL",MGA:"MGA",MKD:"MKD",MMK:"MMK",MNT:"MNT",MOP:"MOP",MRO:"MRO",MUR:"MUR",MVR:"MVR",MWK:"MWK",MXN:"MXN",MYR:"MYR",MZN:"MZN",NAD:"NAD",NGN:"NGN",NIO:"NIO",NOK:"NOK",NPR:"NPR",NZD:"NZD",PAB:"PAB",PEN:"PEN",PGK:"PGK",PHP:"PHP", 164PKR:"PKR",PLN:"PLN",PYG:"PYG",QAR:"QAR",RON:"RON",RSD:"RSD",RUB:"RUB",RWF:"RWF",SAR:"SAR",SBD:"SBD",SCR:"SCR",SEK:"SEK",SGD:"SGD",SHP:"SHP",SLE:"SLE",SLL:"SLL",SOS:"SOS",SRD:"SRD",STD:"STD",SZL:"SZL",THB:"THB",TJS:"TJS",TOP:"TOP",TRY:"TRY",TTD:"TTD",TWD:"TWD",TZS:"TZS",UAH:"UAH",UGX:"UGX",USD:"USD",UYU:"UYU",UZS:"UZS",VND:"VND",VUV:"VUV",WST:"WST",XAF:"XAF",XCD:"XCD",XOF:"XOF",XPF:"XPF",YER:"YER",ZAR:"ZAR",ZMW:"ZMW"}}
164,116:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingOnSyntax= 165void 0;var i=n(117),r=function(){function e(e){this._binding=e}return e.prototype.onActivation=function(e){return this._binding.onActivation=e,new i.BindingWhenSyntax(this._binding)},e}();t.BindingOnSyntax=r},117:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenSyntax=void 0;var i=n(116),r=n(174),a=function(){function e(e){this._binding=e}return e.prototype.when=function(e){return this._binding.constraint=e,new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetNamed= 166function(e){return this._binding.constraint=r.namedConstraint(e),new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(e){var t;return null!==e.target&&!e.target.isNamed()&&!e.target.isTagged()},new i.BindingOnSyntax(this._binding)},e.prototype.whenTargetTagged=function(e,t){return this._binding.constraint=r.taggedConstraint(e)(t),new i.BindingOnSyntax(this._binding)},e.prototype.whenInjectedInto=function(e){return this._binding.constraint= 167function(t){return r.typeConstraint(e)(t.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenParentNamed=function(e){return this._binding.constraint=function(t){return r.namedConstraint(e)(t.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenParentTagged=function(e,t){return this._binding.constraint=function(n){return r.taggedConstraint(e)(t)(n.parentRequest)},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorIs=function(e){return this._binding.constraint= 168function(t){return r.traverseAncerstors(t,r.typeConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorIs=function(e){return this._binding.constraint=function(t){return!r.traverseAncerstors(t,r.typeConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorNamed=function(e){return this._binding.constraint=function(t){return r.traverseAncerstors(t,r.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorNamed=function(e){return this._binding.constraint= 169function(t){return!r.traverseAncerstors(t,r.namedConstraint(e))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._binding.constraint=function(n){return r.traverseAncerstors(n,r.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorTagged=function(e,t){return this._binding.constraint=function(n){return!r.traverseAncerstors(n,r.taggedConstraint(e)(t))},new i.BindingOnSyntax(this._binding)},e.prototype.whenAnyAncestorMatches= 170function(e){return this._binding.constraint=function(t){return r.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e.prototype.whenNoAncestorMatches=function(e){return this._binding.constraint=function(t){return!r.traverseAncerstors(t,e)},new i.BindingOnSyntax(this._binding)},e}();t.BindingWhenSyntax=a},1173:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor; 171r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue", 172value:function e(t){this._linkSelectorData=null===t||void 0===t?void 0:t.linkSelectorData,this._url=null===t||void 0===t?void 0:t.url}},{key:"url",get:function e(){return this.enable?this._url:null}},{key:"linkSelectorData",get:function e(){return null===this||void 0===this?void 0:this._linkSelectorData}},{key:"getSerializeValue",value:function e(){return{url:this._url,linkSelectorData:this._linkSelectorData}}}]),n}(n(69).a)}
172,1174:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1), 173a=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;Object(i.a)(this,e),this._paymentOption=t,this._onlinePaymentTranslation=n,this._variant=r}return Object(r.a)(e,[{key:"paymentOption",get:function e(){return this._paymentOption}},{key:"getMap",value:function e(){return{value:this._paymentOption.getUniqueIdForVariant(this._variant),label:this._getLabel()}}},{key:"_getLabel",value:function e(){return!0===this._paymentOption.isPaymentMethodIntegration?"".concat(this._onlinePaymentTranslation, 174" (").concat(this._variant?this._paymentOption.getVariantName(this._variant):this._paymentOption.name,")"):this._paymentOption.name}}]),e}()},1177:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(106),o=n(112),s,u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._width=new o.a(t.width),this._height=new o.a(t.height)}return Object(r.a)(e,[{key:"subtract",value:function e(t){this._width.subtract(point.getWidth()), 175this._height.subtract(point.getHeight())}},{key:"add",value:function e(t){this._width.add(t.getWidth()),this._height.add(t.getHeight())}},{key:"serialize",value:function e(){return{width:this._width.serialize(),height:this._height.serialize()}}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"equals",value:function e(t){return this._width.equals(t._width)&&this._height.equals(t._height)}},{key:"setWidth",value:function e(t){this._width=t}},{key:"setWidthValue",value:function e(t){this._width.setValue(t)}}, 176{key:"setWidthUnit",value:function e(t){this._width.setUnit(t)}},{key:"getWidthUnit",value:function e(){return this._width.getUnit()}},{key:"getWidthValue",value:function e(){return this._width.getValue()}},{key:"setHeightUnit",value:function e(t){this._height.setUnit(t)}},{key:"getHeightUnit",value:function e(){return this._height.getUnit()}},{key:"getWidth",value:function e(){return this._width}},{key:"setHeight",value:function e(t){this._height=t}},{key:"setHeightValue",value:function e(t){this._height.setValue(t)}}, 177{key:"getHeight",value:function e(){return this._height}},{key:"getHeightValue",value:function e(){return this._height.getValue()}},{key:"toJSON",value:function e(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function e(){return this.isWidthUnitDynamic()||this.isHeightUnitDynamic()}},{key:"isHeightUnitDynamic",value:function e(){return o.a.isUnitDynamic(this.getHeightUnit())}},{key:"isWidthUnitDynamic",value:function e(){return o.a.isUnitDynamic(this.getWidthUnit())}}]),e}()},1178:function(e, 178t,n){n.d(t,"a",function(){return _});var i=n(36),r=n(0),a=n(1),o=n(3),s=n(4),u=n(2),c=n(2144),l=n(69),d=n(81),h=n(1188),f=n(2076),v=n(1741),g=n(1742),p=n(2145),y=n(1295),b=n(2077),m=n(11),w=n.n(m);function S(e){var t=O();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 179if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var _=function(e){Object(o.a)(n,e);var t=S(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),(e=t.call(this,i)).status=webwave.isDef(i.status)?i.status:v.a.AVAILABLE,e.taxValue=webwave.isNumberAndNotNaN(i.taxValue)?i.taxValue:void 0,e.additionalText=new l.a(i.additionalText),e.productVariants=new g.a(i.productVariants), 180e.customPostageOptions=new c.a(i.postageSettings),e.productWeightOptions=new p.a(i.productWeightOptions),e._buildStorage(i.storage),e}return Object(a.a)(n,[{key:"addVariant",value:function e(t){this.productVariants.addOption(t)}},{key:"calculateNumberOfStorageItems",value:function e(){var t=this._getListProductVariantsOptions();return m.MathUtils.cartesianProductNumber(t)}},{key:"canBeUpdatedByProductData",value:function e(t){if(this.id!==t.id)return!1;var n=this.productVariants.value,i=t.productVariants.value; 181if(n.length!==i.length)return!1;if(!1===webwave.arrayHasSameItems(n.map(function(e){return e.toString()}),i.map(function(e){return e.toString()})))return!1;for(var r=this.getVariantsWithSelectedOption(),a,o=0;o<r.length;o++)if(a=r[o],webwave.isNotDefOrNull(i.find(function(e){return e.getId()===a.variant&&e.findVariantById(a.option)})))return!1;return!0}},{key:"generateStorage",value:function e(){var t=this._getListProductVariantsOptions(),n=m.MathUtils.cartesianProduct.apply(m.MathUtils,Object(i.a)(t)); 182this.storage.updateStorage(n)}},{key:"getFormattedPrice",value:function e(){return webwave.isNumberAndNotNaN(this.price)?d.a.formatNumberToLocaleStr
182ing(this.price):""}},{key:"getIdForOrderItem",value:function e(){for(var t=this.getSelectedVariants(),n=this.getId(),i=0;i<t.length;i++)n+=t[i].getId();return n}},{key:"getNameForOrderItem",value:function e(){var t=this.name,n=this.getSelectedVariants();if(n.length>0){var i=n.map(function(e){return e.getName()});t+=" (".concat(m.StringUtils.joinArrayUsingChar(i, 183" /"),")")}return t}},{key:"getVariantsString",value:function e(){var t="",n=this.getSelectedVariants();if(n.length>0){var i=n.map(function(e){return e.getName()});t+=" ".concat(m.StringUtils.joinArrayUsingChar(i," /"))}return t}},{key:"getNotEmptyVariant",value:function e(){return this.getVariants().filter(function(e){return e.variantsExist()})}},{key:"getPrice",value:function e(){return this.price}},{key:"getPriceForBackend",value:function e(){return m.MathUtils.setFloatPriceToLong(this.getPrice())}}, 184{key:"getTaxValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.a.DOUBLE,n=this.taxValue;if(!1!==webwave.isDefAndNotEmpty(n))return t===h.a.CONVERTED_TO_LONG?m.MathUtils.setFloatPriceToLong(n):n}},{key:"getPriceForOrderItem",value:function e(){var t=this.getSelectedVariants(),n=this.getPrice();n=parseFloat(n);for(var i=0;i<t.length;i++)n+=parseFloat(t[i].getAdditionalSum());return n}},{key:"getProductWeight",value:function e(){var t=this.productWeightOptions.value; 185if(webwave.isNumberAndNotNaN(t))return t}},{key:"getSelectedStorage",value:function e(){return this.storage.findItemByVariants(this.getSelectedVariants())}},{key:"getSelectedVariants",value:function e(){for(var t=[],n,i=this.getVariants(),r=0;r<i.length;r++)(n=i[r].getSelectedOption())&&t.push(n);return t}},{key:"getSelectedVariantsIds",value:function e(){return this.getSelectedVariants().map(function(e){return e.getId()})}},{key:"getThumbnailUrl",value:function e(){return this.thumbnailUrl}},{key:"getVariants", 186value:function e(){return webwave.isDef(this.productVariants.value)?y.a.dateAsc(this.productVariants.value.filter(function(e){return!1===e.isDeleted()}),"_createDate"):[]}},{key:"getVariantsWithSelectedOption",value:function e(){for(var t=[],n=this.getVariants(),i=0;i<n.length;i++){var r;n[i].getSelectedOption()&&t.push({variant:n[i].getId(),option:n[i].getSelectedOption().getId()})}return t}},{key:"isAvailable",value:function e(){return this.status===v.a.AVAILABLE&&this.storage.isAvailable()}},{key:"isSelectedStorageNotAvailable", 187value:function e(){return!0===this.storage.enable&&!1===this.getSelectedStorage().isAvailable()}},{key:"removeVariant",value:function e(t){t.delete()}},{key:"selectFirstAvailableStorageForVariantOption",value:function e(t){var n=this.storage.getFirstAvailableItemByVariant(t);webwave.isDefAndNotNull(n)&&this.selectVariantsByStorageItem(n)}},{key:"selectVariants",value:function e(t){var n=this;t.forEach(function(e){n.productVariants.value.find(function(t){return t.getId()===e.variant}).updateSelectedVariant(e.option)})}}, 188{key:"selectVariantsByStorageItem",value:function e(t){var n=this;this.storage.enable&&this.storage.itemExist(t)&&t.getVariants().forEac
188h(function(e){n.productVariants.value.find(function(t){return t.getVariantOptions().includes(e)}).updateSelectedVariant(e.getId())})}},{key:"serialize",value:function e(){return{id:this.getId(),name:this.name,price:this.price,thumbnailId:this.thumbnailId,thumbnailUrl:this.thumbnailUrl,description:this.description,productVariants:this.productVariants.serialize(),taxValue:this.getTaxValue(), 189additionalText:this.additionalText.serialize(),storage:this.storage.serialize(),status:this.status}}},{key:"storageExceedTheMaximumNumberOfItems",value:function e(){return this.calculateNumberOfStorageItems()>b.a.MAXIMUM_NUMBER_OF_STORAGE}},{key:"updateFromServerData",value:function e(t){webwave.isNotDef(this.id)&&(this.id=t.id),this.productVariants.updateFromServerData(t.productVariants)}},{key:"_buildStorage",value:function e(t){var n=this;webwave.isDef(t)&&webwave.isArrayLike(t.value)&&t.value.forEach(function(e){webwave.isArrayLike(e.variants)&& 190(e.variants=n._getVariantsListFromIds(e.variants))}),this.storage=new b.a(t)}},{key:"_getListProductVariantsOptions",value:function e(){var t,n=[];return this.getNotEmptyVariant().forEach(function(e){n.push(e.getVariantOptions())}),n}},{key:"_getVariantsListFromIds",value:function e(t){var n=this,i=[];return t.forEach(function(e){i.push(n.productVariants.findOptionById(e))}),i}},{key:"_parseTaxValue",value:function e(t){return 1==webwave.isString(t)&&t.includes(",")&&(t=t.replace(",",".")),Number.parseFloat(t)}}, 191{key:"postageMethodIsSupported",value:function e(t){return this.customPostageOptions.postageMethodIsSupported(t)}},{key:"setName",value:function e(t){this.name=t}},{key:"setDescription",value:function e(t){this.description=t}},{key:"setImage",value:function e(t){webwave.isDef(t)&&(this.thumbnailId=t.getId(),this.thumbnailUrl=t.getThumbnailUrl())}}]),n}(f.a)},1187:function(e,t,n){t.a={SNIPCART:"snipcart",WEBWAVE:"webwave",ECWID:"ecwid"}},1188:function(e,t,n){t.a={CONVERTED_TO_LONG:"convertedToLong", 192DOUBLE:"double"}},121:function(e,t,n){var i={HORIZONTAL:"horizontal",VERTICAL:"vertical"};t.a=i},123:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(178),u=n(898),c=n(245),l=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"findWebsiteColorVariableIfValueSameAsWebsiteColor",value:function t(n,i){var r=n;if(webwave.isDefAndNotNull(n))if(a.ColorUtils.isValueContainGradientOrIconPhrase(n)){var o=/(#[a-z|A-Z|0-9]*|((rgb|rgba)\(\d+,\s?\d+,\s?\d+(,\s?[0-1]{1}\.?\d*)?\)))/g, 193s=e.findWebsiteColorVariableOrReturnOriginalValue.bind(this,i);r=r.replaceAll(o,s)}else r=e.findWebsiteColorVariableOrReturnOriginalValue(i,n);return r}},{key:"findWebsiteColorValueIfValueIndicateToWebsiteColor",value:function t(n,i){var r=n;if(webwave.isDefAndNotNull(n))if(a.ColorUtils.isValueContainGradientOrIconPhrase(n)){var o=/var\(([a-z-A-Z-0-9-_,\s]+)\)/g,s=e.findWebsiteColorValueOrReturnOriginalValue.bind(this,i);r=r.replaceAll(o,s)}else r=e.findWebsiteColorValueOrReturnOriginalValue(i,n); 194return r}},{key:"changeWebsiteColorValueIfIndicateToWebsiteColor",value:function t(n,i){var r=n;return webwave.isDefAndNotNull(n)&&(r=e.getWebsiteColorValueToApply(i,i.newWebsiteColor,n)),r}},{key:"mapStyleIdToWebsiteColorVariable",value:function e(t){switch(t){case s.a.H1:case s.a.H2:case s.a.H3:case s.a.H4:return"var(--brand)";case s.a.DEFAULT:case s.a.LINK:case s.a.LINK_HOVER:return"var(--neutral1)";default:return""}}},{key:"changeObjectPropertyWithWebsiteColor",value:function t(n,i){var r=arguments.length> 1952&&void 0!==arguments[2]?arguments[2]:{},a=!1,o=r.property,s=webwave.isDefAndNotNull(o)?n[o]:void 0;if(webwave.isDefAndNotNull(s)){var u=e.getValueAfterWebsiteConnectionChange(s,i,r);s!==u&&(n[o]=u,a=!0)}return a}},{key:"getValueAfterWebsiteConnectionChange",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a;switch(i.getConnection()){case c.a.DISCONNECT:a=e.findWebsiteColorValueIfValueIndicateToWebsiteColor(n,i);break;case c.a.CONNECT:a=e.findWebsiteColorVariableIfValueSameAsWebsiteColor(n, 196i);break;case c.a.CHANGE:a=e.changeWebsiteColorValueIfIndicateToWebsiteColor(n,i);break;
196case c.a.SWAP:a=e.swapWebsiteColorIfValueIndicateToWebsiteColor(i,n);break}return a}},{key:"changeObjectColorPropertyWithWebsiteColor",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.property="color",e.changeObjectPropertyWithWebsiteColor(n,i,r)}},{key:"changeObjectBackgroundColorPropertyWithWebsiteColor",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]? 197arguments[2]:{};return r.property="backgroundColor",e.changeObjectPropertyWithWebsiteColor(n,i,r)}},{key:"getShadowStringAfterChangingWebsiteColorConnection",value:function t(n,i,r){var a,o=u.a.getShadowColorArrayFromString(n),s=u.a.getShadowSettingsArrayFromString(n);if(webwave.isArrayWithExactlyOneElement(o)&&webwave.isArrayLike(s)){var l=r===c.a.CONNECT?e.findWebsiteColorVariableOrReturnOriginalValue(i,o[0]):e.findWebsiteColorValueOrReturnOriginalValue(i,o[0]);l!==o[0]&&(a=u.a.composeShadowValueByColorAndDirectionSettings(l, 198s))}return a}},{key:"findWebsiteColorVariableToApply",value:function e(t,n){var i=a.Color.isHex(t)?a.Color.hex2rgb(t):t;return a.ColorUtils.checkIfColorSame(n.getColor(),i)?n.getWebsiteColorVariable():void 0}},{key:"findWebsiteColorVariableOrReturnOriginalValue",value:function t(n,i){var r=n.getWebsiteColor(),a=e.findWebsiteColorVariableToApply(i,r);return webwave.isDefAndNotNull(a)?a:i}},{key:"findWebsiteColorValueOrReturnOriginalValue",value:function e(t,n){var i=t.getWebsiteColor();return n=== 199i.getWebsiteColorVariable()?i.getColor():n}},{key:"getWebsiteColorValueToApply",value:function e(t,n,i){return i===t.getWebsiteColorVariable()?n.getWebsiteColorVariable():i}},{key:"updateColorInElementAfterWebsiteColorConnectionChange",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a;if(webwave.isDefAndNotEmpty(n.style.color)?a=n.style.color:"FONT"===n.nodeName&&webwave.isDefAndNotEmpty(n.color)&&(a=n.color),webwave.isDef(a)){var o=e.chooseConnectionFunction(r.connection)(i, 200a);a!==o&&(n.style.color=o)}for(var s=0;s<n.children.length;s++)e.updateColorInElementAfterWebsiteColorConnectionChange(n.children[s],i,r)}},{key:"swapWebsiteColorIfValueIndicateToWebsiteColor",value:function e(t,n){return t.swapColors(n)}},{key:"chooseConnectionFunction",value:function t(n){switch(n){case c.a.CONNECT:return e.findWebsiteColorVariableOrReturnOriginalValue;case c.a.DISCONNECT:return e.findWebsiteColorValueOrReturnOriginalValue;case c.a.SWAP:return e.swapWebsiteColorIfValueIndicateToWebsiteColor}return function(){}}}]), 201e}()},1233:function(e,t,n){var i={LEFT:"left",CENTER:"center",RIGHT:"right"};t.a=i},1234:function(e,t,n){var i={HORIZONTAL:"horizontal",VERTICAL:"vertical"};t.a=i},1238:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=[{name:"blur",defaultValue:0,regex:/blur\(([+-]?([0-9]*[.])?[0-9]+)px\)/},{name:"brightness",defaultValue:1,regex:/brightness\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"contrast",defaultValue:1,regex:/contrast\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"greyscale",defaultValue:0, 202regex:/grayscale\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"hueRotate",defaultValue:0,regex:/hue-rotate\(([+-]?([0-9]*[.])?[0-9]+)deg\)/},{name:"saturate",defaultValue:1,regex:/saturate\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"sepia",defaultValue:0,regex:/sepia\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"invert",defaultValue:0,regex:/invert\(([+-]?([0-9]*[.])?[0-9]+)\)/}],o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.blur=void 0,this.brightness= 203void 0,this.contrast=void 0,this.greyscale=void 0,this.hueRotate=void 0,this.saturate=void 0,this.sepia=void 0,this.invert=void 0,this.enabled=!0===t.enabled,this.blur=webwave.isNumberAndNotNaN(t.blur)?t.blur:void 0,this.brightness=webwave.isNumberAndNotNaN(t.brightness)?t.brightness:void 0,this.contrast=webwave.isNumberAndNotNaN(t.contrast)?t.contrast:void 0,this.greyscale=webwave.isNumberAndNotNaN(t.greyscale)?t.greyscale:void 0,this.hueRotate=webwave.isNumberAndNotNaN(t.hueRotate)?t.hueRotate: 204void 0,this.saturate=webwave.isNumberAndNotNaN(t.saturate)?t.saturate:void 0,this.sepia=webwave.isNumberAndNotNaN(t.sepia)?t.sepia:void 0,this.invert=webwave.isNumberAndNotNaN(t.invert)?t.invert:void 0}return Object(r.a)(e,[{key:"setBlur",value:function e(t){this.blur=t}},{key:"setBrightness",value:function e(t){this.brightness=t}},{key:"setContrast",value:function e(t){this.contrast=t}},{key:"setGreyscale",value:function e(t){this.greyscale=t}},{key:"setHueRotate",value:function e(t){this.hueRotate= 205t}},{key:"setSaturate",value:function e(t){this.saturate=t}},{key:"setSepia",value:function e(t){this.sepia=t}},{key:"setInvert",value:function e(t){this.invert=t}},{key:"isEnabled",value:function e(){return this.enabled}},{key:"setEnabled",value:function e(t){return this.enabled=t}},{key:"toCssString",value:function e(){var t="";return this.isEnabled()?(webwave.isDef(this.blur)&&(t+="blur(".concat(Math.abs(this.blur),"px)")),webwave.isDef(this.brightness)&&(t+=" brightness(".concat(Math.abs(this.brightness), 206")")),webwave.isDef(this.contrast)&&(t+=" contrast(".concat(Math.abs(this.contrast),")")),webwave.isDef(this.greyscale)&&(t+=" grayscale(".concat(Math.abs(this.greyscale),")")),webwave.isDef(this.hueRotate)&&(t+=" hue-rotate(".concat(Math.abs(this.hueRotate),"deg)")),webwave.isDef(this.saturate)&&(t+=" saturate(".concat(Math.abs(this.saturate),")")),webwave.isDef(this.sepia)&&(t+=" sepia(".concat(Math.abs(this.sepia),")")),webwave.isDef(this.invert)&&(t+=" invert(".concat(Math.abs(this.invert),")"))): 207t="none",t}},{key:"toCss2Map",value:function e(){return{filter:this.toCssString()}}},{key:"serialize",value:function e(){return{enabled:this.enabled,blur:this.blur,brightness:this.brightness,contrast:this.contrast,greyscale:this.greyscale,hueRotate:this.hueRotate,saturate:this.saturate,sepia:this.sepia,invert:this.invert}}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"multiply",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n].name;
207webwave.isDef(this[i])&&(this[i]*= 208t)}}},{key:"add",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n].name;webwave.isDef(this[i])&&webwave.isDef(t[i])&&(this[i]+=t[i])}}},{key:"subtract",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n].name;webwave.isDef(this[i])&&webwave.isDef(t[i])&&(this[i]-=t[i])}}},{key:"fillDefaultMissingValues",value:function e(t){for(var n=0;n<a.length;n++){var i=a[n],r=a[n].name;webwave.isDef(t[r])&&webwave.isNotDef(this[r])&&(this[r]=i.defaultValue)}}},{key:"mergeStyle",value:function e(t){if(webwave.isDef(t.enabled)&& 209(this.enabled=t.enabled),!0===t.enabled)for(var n=0;n<a.length;n++){var i=a[n].name;webwave.isDef(t[i])&&(this[i]=t[i])}}}],[{key:"deserialize",value:function t(n){return new e(n)}},{key:"readFromString",value:function t(n){for(var i=new e({enabled:webwave.isStringAndNotEmpty(n)}),r=0;r<a.length;r++){var o=a[r],s=n.match(o.regex);if(null!==s){var u=parseFloat(s[1]);!1===isNaN(u)&&(i[o.name]=u)}}return i}},{key:"createDefaultFilterData",value:function t(){return new e({blur:this.DEFAULT_BLUR_VALUE})}}]), 210e}();o.DEFAULT_BLUR_VALUE=4.8},1239:function(e,t,n){var i=n(11),r=n.n(i),a=n(1553);t.a={BRAND:i.VariableUtils.createVariableById(a.a.BRAND),SECONDARY:i.VariableUtils.createVariableById(a.a.SECONDARY),COMPLEMENTARY:i.VariableUtils.createVariableById(a.a.COMPLEMENTARY),FIRST_NEUTRAL:i.VariableUtils.createVariableById(a.a.FIRST_NEUTRAL),SECOND_NEUTRAL:i.VariableUtils.createVariableById(a.a.SECOND_NEUTRAL)}},1295:function(e,t,n){var i=n(0),r=n(1),a=n(953),o=function(){function e(){Object(i.a)(this,e)} 211return Object(r.a)(e,null,[{key:"stringAsc",value:function e(t,n){return t.sort(function(e,t){return a.a.ignoreCaseTextComparator(e[n],t[n])})}},{key:"stringDesc",value:function e(t,n){return t.sort(function(e,t){return-1*a.a.ignoreCaseTextComparator(e[n],t[n])})}},{key:"dateAsc",value:function e(t,n){return t.sort(function(e,t){return a.a.defaultComparator(e[n],t[n])})}},{key:"dateDesc",value:function e(t,n){return t.sort(function(e,t){return-1*a.a.defaultComparator(e[n],t[n])})}},{key:"numberAsc", 212value:function e(t,n){return t.sort(function(e,t){return a.a.defaultComparator(e[n],t[n])})}},{key:"numberDesc",value:function e(t,n){return t.sort(function(e,t){return-1*a.a.defaultComparator(e[n],t[n])})}}]),e}();t.a=o},1297:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.headerTitle=t.headerTitle?t.headerTitle:"",this.orderConfirmedError=t.orderConfirmedError?t.orderConfirmedError: 213"",this.orderConfirmed=t.orderConfirmed?t.orderConfirmed:"",this.backFromPaymentProviderError=t.backFromPaymentProviderError?t.backFromPaymentProviderError:"",this.backFromPaymentProviderSuccess=t.backFromPaymentProviderSuccess?t.backFromPaymentProviderSuccess:"",this.testEnvironment=t.testEnvironment?t.testEnvironment:"",this.headersItems=t.headersItems?t.headersItems:"",this.headersInvoiceData=t.headersInvoiceData?t.headersInvoiceData:"",this.headersSummary=t.headersSummary?t.headersSummary:"", 214this.orderItemsPriceSum=t.orderItemsPriceSum?t.orderItemsPriceSum:"",this.keepShopping=t.keepShopping?t.keepShopping:"",this.back=t.back?t.back:"",this.close=t.close?t.close:"",this.ok=t.ok?t.ok:"",this.next=t.next?t.next:"",this.tryAgain=t.tryAgain?t.tryAgain:"",this.pay=t.pay?t.pay:"",this.confirmOrder=t.confirmOrder?t.confirmOrder:"",this.testPaymentEnvironmentInfo1=t.testPaymentEnvironmentInfo1?t.testPaymentEnvironmentInfo1:"",this.testPaymentEnvironmentInfo2=t.testPaymentEnvironmentInfo2?t.testPaymentEnvironmentInfo2: 215"",this.item=t.item?t.item:"",this.count=t.count?t.count:"",this.pricePerItem=t.pricePerItem?t.pricePerItem:"",this.price=t.price?t.price:"",this.emptyShoppingCart=t.emptyShoppingCart?t.emptyShoppingCart:"",this.invoiceDataHeader=t.invoiceDataHeader?t.invoiceDataHeader:"",this.invoiceDataActive=t.invoiceDataActive?t.invoiceDataActive:"",this.requiredValidatorText=t.requiredValidatorText?t.requiredValidatorText:"",this.order_clientType_individual=t.order_clientType_individual?t.order_clientType_individual: 216"",this.order_clientType_company=t.order_clientType_company?t.order_clientType_company:"",this.orderClientDataName=t.orderClientDataName?t.orderClientDataName:"",this.orderClientDataCompanyName=t.orderClientDataCompanyName?t.orderClientDataCompanyName:"",this.orderClientDataAddress1=t.orderClientDataAddress1?t.orderClientDataAddress1:"",this.orderClientDataAddress2=t.orderClientDataAddress2?t.orderClientDataAddress2:"",this.orderClientDataZipCode=t.orderClientDataZipCode?t.orderClientDataZipCode: 217"",this.orderClientDataCity=t.orderClientDataCity?t.orderClientDataCity:"",this.orderClientDataCountry=t.orderClientDataCountry?t.orderClientDataCountry:"",this.orderClientDataNoResult=t.orderClientDataNoResult?t.orderClientDataNoResult:"",this.orderClientDataCountryNotFound=t.orderClientDataCountryNotFound?t.orderClientDataCountryNotFound:"",this.orderClientDataTaxId=t.orderClientDataTaxId?t.orderClientDataTaxId:"",this.orderClientData_invoiceCheckboxLabel=t.orderClientData_invoiceCheckboxLabel? 218t.orderClientData_invoiceCheckboxLabel:"",this.postageDataHeader=t.postageDataHeader?t.postageDataHeader:"",this.notValidPostageOption=t.notValidPostageOption?t.notValidPostageOption:"",this.sendDataHeader=t.sendDataHeader?t.sendDataHeader:"",this.postageDataParcelNotSelected=t.postageDataParcelNotSelected?t.postageDataParcelNotSelected:"",this.anyPostageAvailable=t.anyPostageAvailable?t.anyPostageAvailable:"",this.paymentMethodHeader=t.paymentMethodHeader?t.paymentMethodHeader:"",this.online=t.online? 219t.online:"",this.delivery_not_defined_after_order=t.delivery_not_defined_after_order?t.delivery_not_defined_after_order:"",this.delivery_not_available_before_order=t.delivery_not_available_before_order?t.delivery_not_available_before_order:"",this.delivery_not_defined_before_order=t.delivery_not_defined_before_order?t.delivery_not_defined_before_order:"",this.paymentMethod_not_after_order=t.paymentMethod_not_after_order?t.paymentMethod_not_after_order:"",this.paymentMethod_not_before_order=t.paymentMethod_not_before_order? 220t.paymentMethod_not_before_order:"",this.freeShippingInfo=t.freeShippingInfo?t.freeShippingInfo:"",this.parcelLocker=t.parcelLocker?t.parcelLocker:"",this.changeParcelButton=t.changeParcelButton?t.changeParcelButton:"",this.contactDataHeader=t.contactDataHeader?t.contactDataHeader:"",this.phone=t.phone?t.phone:"",this.email=t.email?t.email:"",this.emailValidatorText=t.emailValidatorText?t.emailValidatorText:"",this.additionalOrderFieldsHeader=t.additionalOrderFieldsHeader?t.additionalOrderFieldsHeader: 221"",this.checkBoxValidationMessage=t.checkBoxValidationMessage?t.checkBoxValidationMessage:"",this.termsAndConditionsHeader=t.termsAndConditionsHeader?t.termsAndConditionsHeader:"",this.termsAndConditionsRequire=t.termsAndConditionsRequire?t.termsAndConditionsRequire:"",this.orderSummaryPostage=t.orderSummaryPostage?t.orderSummaryPostage:"",this.orderSummaryTax=t.orderSummaryTax?t.orderSummaryTax:"",this.taxValue=t.taxValue?t.taxValue:"",this.taxSummary=t.taxSummary?t.taxSummary:"",this.toPay=t.toPay? 222t.toPay:"",this.tel=t.tel?t.tel:"",this.e_mail=t.e_mail?t.e_mail:"",this.discountCodeLabel=t.discountCodeLabel?t.discountCodeLabel:"",this.discountCodeError404=t.discountCodeError404?t.discountCodeError404:"",this.discountCodeError405=t.discountCodeError405?t.discountCodeError405:"",this.verificationMessage=t.verificationMessage?t.verificationMessage:"",this.notVerifiedYetMessage=t.notVerifiedYetMessage?t.notVerifiedYetMessage:"",this.errorMessage=t.errorMessage?t.errorMessage:"",this.incorrectAuthentication= 223t.incorrectAuthentication?t.incorrectAuthentication:"",this.selectProductVariantPopupTitle=t.selectProductVariantPopupTitle?t.selectProductVariantPopupTitle:"",this.selectProductVariantPopupHint=t.selectProductVariantPopupHint?t.selectProductVariantPopupHint:"",this.selectProductVariantPopupAddToCart=t.selectProductVariantPopupAddToCart?t.selectProductVariantPopupAddToCart:"",this.productPrice
223=t.productPrice?t.productPrice:"",this.totalPrice=t.totalPrice?t.totalPrice:"",this.additionalPriceForVariant= 224t.additionalPriceForVariant?t.additionalPriceForVariant:"",this.notAvailableVariantSuffix=t.notAvailableVariantSuffix?t.notAvailableVariantSuffix:"",this.shop=t.shop?t.shop:"",this.testingOrderNumberWithPayment=t.testingOrderNumberWithPayment?t.testingOrderNumberWithPayment:"",this.orderNumber=t.orderNumber?t.orderNumber:"",this.paymentStatusHeader=t.paymentStatusHeader?t.paymentStatusHeader:"",this.providerStatus_overpaid=t.providerStatus_overpaid?t.providerStatus_overpaid:"",this.providerStatus_paid= 225t.providerStatus_paid?t.providerStatus_paid:"",this.providerStatus_underpaid=t.providerStatus_underpaid?t.providerStatus_underpaid:"",this.providerStatus_unpaid=t.providerStatus_unpaid?t.providerStatus_unpaid:"",this.summaryOrder=t.summaryOrder?t.summaryOrder:"",this.paymentOption=t.paymentOption?t.paymentOption:"",this.nip=t.nip?t.nip:"",this.postageData=t.postageData?t.postageData:"",this.sendData=t.sendData?t.sendData:"",this.contactData=t.contactData?t.contactData:"",this.additionalData=t.additionalData? 226t.additionalData:"",this.sellerInfo=t.sellerInfo?t.sellerInfo:"",this.invoiceData=t.invoiceData?t.invoiceData:"",this.discountCode=t.discountCode?t.discountCode:"",this.additionalText=t.additionalText?t.additionalText:"",this.postage=t.postage?t.postage:"",this.toPayMail=t.toPayMail?t.toPayMail:"",this.vatTax=t.vatTax?t.vatTax:"",this.vatTaxSummary=t.vatTaxSummary?t.vatTaxSummary:"",this.itemsHeader=t.itemsHeader?t.itemsHeader:"",this.itemsName=t.itemsName?t.itemsName:"",this.itemsCount=t.itemsCount? 227t.itemsCount:"",this.pricePerItemMail=t.pricePerItemMail?t.pricePerItemMail:"",this.totalPriceSum=t.totalPriceSum?t.totalPriceSum:"",this.description=t.description?t.description:"",this.payed=t.payed?t.payed:"",this.termsAndConditions=t.termsAndConditions?t.termsAndConditions:"",this.termsAndConditionsRequired=t.termsAndConditionsRequired?t.termsAndConditionsRequired:"",this.termsAndConditionsValue_true=t.termsAndConditionsValue_true?t.termsAndConditionsValue_true:"",this.termsAndConditionsValue_false= 228t.termsAndConditionsValue_false?t.termsAndConditionsValue_false:"",this.productStateException_text=t.productStateException_text?t.productStateException_text:"",this.productStateException_title=t.productStateException_title?t.productStateException_title:"",this.productNotAvailableException_text=t.productNotAvailableException_text?t.productNotAvailableException_text:"",this.productNotAvailableException_title=t.productNotAvailableException_title?t.productNotAvailableException_title:"",this.productNotAvailableException_yesLabel= 229t.productNotAvailableException_yesLabel?t.productNotAvailableException_yesLabel:"",this.productChangeState_information=t.productChangeState_information?t.productChangeState_information:"",this.notification_minimumAmountNotExceeded_part1=t.notification_minimumAmountNotExceeded_part1?t.notification_minimumAmountNotExceeded_part1:"",this.notification_minimumAmountNotExceeded_part2=t.notification_minimumAmountNotExceeded_part2?t.notification_minimumAmountNotExceeded_part2:"",this.shippingAddressDifferent= 230t.shippingAddressDifferent?t.shippingAddressDifferent:"",this.orderPendingHeader=t.orderPendingHeader?t.orderPendingHeader:"",this.orderConfirmedErrorHeader=t.orderConfirmedErrorHeader?t.orderConfirmedErrorHeader:"",this.orderConfirmedHeader=t.orderConfirmedHeader?t.orderConfirmedHeader:"",this.orderConfirmedText=t.orderConfirmedText?t.orderConfirmedText:"",this.streetAddress=t.streetAddress?t.streetAddress:"",this.apartmentNumber=t.apartmentNumber?t.apartmentNumber:"",this.clientType=t.clientType? 231t.clientType:"",this.goToCheckout=t.goToCheckout?t.goToCheckout:"",this.selectPoint=t.selectPoint?t.selectPoint:"",this.activate=t.activate?t.activate:"",this.backToShop=t.backToShop?t.backToShop:"",this.orderPendingText=t.orderPendingText?t.orderPendingText:"",this.postageAndPayment=t.postageAndPayment?t.postageAndPayment:"",this.clickLinkOnPreviewMessage=t.clickLinkOnPreviewMessage?t.clickLinkOnPreviewMessage:""}return Object(r.a)(e,[{key:"changeValueByKey",value:function e(t,n){this[t]=n}},{key:"getValueByKey", 232value:function e(t){return this[t]}},{key:"serialize",value:function e(){return{headerTitle:this.headerTitle,orderConfirmedError:this.orderConfirmedError,orderConfirmed:this.orderConfirmed,backFromPaymentProviderError:this.backFromPaymentProviderError,backFromPaymentProviderSuccess:this.backFromPaymentProviderSuccess,testEnvironment:this.testEnvironment,headersItems:this.headersItems,headersInvoiceData:this.headersInvoiceData,headersSummary:this.headersSummary,orderItemsPriceSum:this.orderItemsPriceSum, 233keepShopping:this.keepShopping,back:this.back,close:this.close,ok:this.ok,next:this.next,tryAgain:this.tryAgain,pay:this.pay,confirmOrder:this.confirmOrder,testPaymentEnvironmentInfo1:this.testPaymentEnvironmentInfo1,testPaymentEnvironmentInfo2:this.testPaymentEnvironmentInfo2,item:this.item,count:this.count,pricePerItem:this.pricePerItem,price:this.price,emptyShoppingCart:this.emptyShoppingCart,invoiceDataHeader:this.invoiceDataHeader,invoiceDataActive:this.invoiceDataActive,requiredValidatorText:this.requiredValidatorText, 234order_clientType_individual:this.order_clientType_individual,order_clientType_company:this.order_clientType_company,orderClientDataName:this.orderClientDataName,orderClientDataCompanyName:this.orderClientDataCompanyName,orderClientDataAddress1:this.orderClientDataAddress1,orderClientDataAddress2:this.orderClientDataAddress2,orderClientDataCity:this.orderClientDataCity,orderClientDataZipCode:this.orderClientDataZipCode,orderClientDataCountry:this.orderClientDataCountry,orderClientDataNoResult:this.orderClientDataNoResult, 235orderClientDataCountryNotFound:this.orderClientDataCountryNotFound,orderClientDataTaxId:this.orderClientDataTaxId,orderClientData_invoiceCheckboxLabel:this.orderClientData_invoiceCheckboxLabel,postageDataHeader:this.postageDataHeader,notValidPostageOption:this.notValidPostageOption,sendDataHeader:this.sendDataHeader,postageDataParcelNotSelected:this.postageDataParcelNotSelected,anyPostageAvailable:this.anyPostageAvailable,paymentMethodHeader:this.paymentMethodHeader,online:this.online,delivery_not_available_before_order:this.delivery_not_available_before_order, 236delivery_not_defined_after_order:this.delivery_not_defined_after_order,delivery_not_defined_before_order:this.delivery_not_defined_before_order,paymentMethod_not_after_order:this.paymentMethod_not_after_order,paymentMethod_not_before_order:this.paymentMethod_not_before_order,freeShippingInfo:this.freeShippingInfo,parcelLocker:this.parcelLocker,changeParcelButton:this.changeParcelButton,contactDataHeader:this.contactDataHeader,phone:this.phone,email:this.email,emailValidatorText:this.emailValidatorText, 237additionalOrderFieldsHeader:this.additionalOrderFieldsHeader,checkBoxValidationMessage:this.checkBoxValidationMessage,termsAndConditionsHeader:this.termsAndConditionsHeader,termsAndConditionsRequire:this.termsAndConditionsRequire,orderSummaryPostage:this.orderSummaryPostage,orderSummaryTax:this.orderSummaryTax,taxValue:this.taxValue,taxSummary:this.taxSummary,toPay:this.toPay,tel:this.tel,e_mail:this.e_mail,discountCodeLabel:this.discountCodeLabel,discountCodeError404:this.discountCodeError404,discountCodeError405:this.discountCodeError405, 238verificationMessage:this.verificationMessage,notVerifiedYetMessage:this.notVerifiedYetMessage,errorMessage:this.errorMessage,incorrectAuthentication:this.incorrectAuthentication,selectProductVariantPopupTitle:this.selectProductVariantPopupTitle,selectProductVariantPopupHint:this.selectProductVariantPopupHint,selectProductVariantPopupAddToCart:this.selectProductVariantPopupAddToCart,productPrice:this.productPrice,totalPrice:this.totalPrice,additionalPriceForVariant:this.additionalPriceForVariant,notAvailableVariantSuffix:this.notAvailableVariantSuffix, 239shop:this.shop,testingOrderNumberWithPayment:this.testingOrderNumberWithPayment,orderNumber:this.orderNumber,paymentStatusHeader:this.paymentStatusHeader,providerStatus_overpaid:this.providerStatus_overpaid,providerStatus_paid:this.providerStatus_paid,providerStatus_underpaid:this.providerStatus_underpaid,providerStatus_unpaid:this.providerStatus_unpaid,summaryOrder:this.summaryOrder,paymentOption:this.paymentOption,nip:this.nip,postageData:this.postageData,sendData:this.sendData,contactData:this.contactData, 240additionalData:this.additionalData,sellerInfo:this.sellerInfo,invoiceData:this.invoiceData,discountCode:this.discountCode,additionalText:this.additionalText,postage:this.postage,toPayMail:this.toPayMail,vatTax:this.vatTax,vatTaxSummary:this.vatTaxSummary,itemsHeader:this.itemsHeader,itemsName:this.itemsName,itemsCount:this.itemsCount,pricePerItemMail:this.pricePerItemMail,totalPriceSum:this.totalPriceSum,description:this.description,payed:this.payed,termsAndConditions:this.termsAndConditions,termsAndConditionsRequired:this.termsAndConditionsRequired, 241termsAndConditionsValue_true:this.termsAndConditionsValue_true,termsAndConditionsValue_false:this.termsAndConditionsValue_false,productStateException_title:this.productStateException_title,productStateException_text:this.productStateException_text,productNotAvailableException_text:this.productNotAvailableException_text,productNotAvailableException_title:this.productNotAvailableException_title,productNotAvailableException_yesLabel:this.productNotAvailableException_yesLabel,productChangeState_information:this.productChangeState_information, 242notification_minimumAmountNotExceeded_part1:this.notification_minimumAmountNotExceeded_part1,notification_minimumAmountNotExceeded_part2:this.notification_minimumAmountNotExceeded_part2,shippingAddressDifferent:this.shippingAddressDifferent,orderPendingHeader:this.orderPendingHeader,orderConfirmedErrorHeader:this.orderConfirmedErrorHeader,orderConfirmedHeader:this.orderConfirmedHeader,orderConfirmedText:this.orderConfirmedText,streetAddress:this.streetAddress,apartmentNumber:this.apartmentNumber, 243clientType:this.clientType,goToCheckout:this.goToCheckout,selectPoint:this.selectPoint,activate:this.activate,backToShop:this.backToShop,orderPendingText:this.orderPendingText,postageAndPayment:this.postageAndPayment,clickLinkOnPreviewMessage:this.clickLinkOnPreviewMessage}}}]),e}()},1299:function(e,t,n){var i={COLOR:"color",GRADIENT:"gradient"};t.a=i},1300:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e), 244r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;if(Object(i.a)(this,n),void 0===e||void 0=== 245e.pageId)throw webwave.debug("No page provided!"),new Error("No page provided!");return e.type="webwave.link.PageLinkData",(r=t.call(this,e)).pageId=e.pageId,r}return Object(r.a)(n,[{key:"toJSON",value:function e(){var t={type:this.t
245ype,target:this.target,pageId:this.pageId},n=this.getWPage();return t.pageName=void 0!==n?n.getName():this.pageId,t}},{key:"getShortName",value:function e(){var t=this.getWPage();return webwave.isDef(t)?t.getName():this.pageId}},{key:"setPageId",value:function e(t){this.pageId= 246t}},{key:"getPageLanguageId",value:function e(){return this.getWPage().getWLanguage().getId()}},{key:"getPageId",value:function e(){return this.pageId}},{key:"getLinkDefaultName",value:function e(){var t;return this.getWPage().getName()}},{key:"isValid",value:function e(){return!!this.getWPage()}},{key:"getWPage",value:function e(){return pageService.getWPageById(this.pageId)}}]),n}(n(854).a)},1306:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(114),c=n(235), 247l=n(1629),d=n(14),h=n.n(d),f,v,g,p;function y(e){var t=b();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m=(f=Object(d.injectable)())((p= 248g=function(e){Object(a.a)(n,e);var t=y(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){try{var n;return window.Stripe(t.storeKey).redirectToCheckout({sessionId:t.sessionId})}catch(e){if(-1!==e.message.toLowerCase().indexOf("must use https"))throw new l.a;}}}]),n}(c.a),g.AVAILABLE_CURRENCIES=[u.a.AED,u.a.AFN,u.a.ALL,u.a.AMD,u.a.ANG,u.a.AOA,u.a.ARS,u.a.AUD,u.a.AWG,u.a.AZN,u.a.BAM,u.a.BBD,u.a.BDT,u.a.BGN,u.a.BIF,u.a.BMD, 249u.a.BND,u.a.BOB,u.a.BRL,u.a.BSD,u.a.BWP,u.a.BYN,u.a.BZD,u.a.CAD,u.a.CDF,u.a.CHF,u.a.CLP,u.a.CNY,u.a.COP,u.a.CRC,u.a.CVE,u.a.CZK,u.a.DJF,u.a.DKK,u.a.DOP,u.a.DZD,u.a.EGP,u.a.ETB,u.a.EURO,u.a.FJD,u.a.FKP,u.a.GBP,u.a.GEL,u.a.GIP,u.a.GMD,u.a.GNF,u.a.GTQ,u.a.GYD,u.a.HKD,u.a.HNL,u.a.HRK,u.a.HTG,u.a.HUF,u.a.IDR,u.a.ILS,u.a.INR,u.a.ISK,u.a.JMD,u.a.JPY,u.a.KES,u.a.KGS,u.a.KHR,u.a.KMF,u.a.KRW,u.a.KYD,u.a.KZT,u.a.LAK,u.a.LBP,u.a.LKR,u.a.LRD,u.a.LSL,u.a.MAD,u.a.MDL,u.a.MGA,u.a.MKD,u.a.MMK,u.a.MNT,u.a.MOP,u.a.MRO, 250u.a.MUR,u.a.MVR,u.a.MWK,u.a.MXN,u.a.MYR,u.a.MZN,u.a.NAD,u.a.NGN,u.a.NIO,u.a.NOK,u.a.NPR,u.a.NZD,u.a.PAB,u.a.PEN,u.a.PGK,u.a.PHP,u.a.PKR,u.a.PLN,u.a.PYG,u.a.QAR,u.a.RON,u.a.RSD,u.a.RUB,u.a.RWF,u.a.SAR,u.a.SBD,u.a.SCR,u.a.SEK,u.a.SGD,u.a.SHP,u.a.SLE,u.a.SLL,u.a.SOS,u.a.SRD,u.a.STD,u.a.SZL,u.a.THB,u.a.TJS,u.a.TOP,u.a.TRY,u.a.TTD,u.a.TWD,u.a.TZS,u.a.UAH,u.a.UGX,u.a.USD,u.a.UYU,u.a.UZS,u.a.VND,u.a.VUV,u.a.WST,u.a.XAF,u.a.XCD,u.a.XOF,u.a.XPF,u.a.YER,u.a.ZAR,u.a.ZMW],v=p))||v},1307:function(e,t,n){n.d(t, 251"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e),this._browserZoom=this._getCurrentZoom()}return Object(r.a)(e,[{key:"getBrowserZoom",value:function e(){return this._browserZoom}},{key:"zoomValueChanged",value:function e(){return this._browserZoom!==this._getCurrentZoom()&&(this._browserZoom=this._getCurrentZoom(),!0)}},{key:"_getCurrentZoom",value:function e(){return Math.round(100*window.devicePixelRatio)}}]),e}()},1308:function(e,t,n){n.d(t,"a",function(){return o}); 252var i=n(0),r=n(1),a=n(176),o=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top=webwave.parseNumber(t.top),this.right=webwave.parseNumber(t.right),this.bottom=webwave.parseNumber(t.bottom),this.left=webwave.parseNumber(t.left),webwave.isDef(t.enabled)?this.enabled=t.enabled:this.enabled=this._computeEnabledValue()}return Object(r.a)(e,[{key:"serialize",value:function e(){return{top:this.top,right:this.right,bottom:this.bottom,left:this.left,enabled:this.enabled}}},{key:"_computeEnabledValue", 253value:function e(){for(var t=!1,n=Object.values(a.a),i=0;i<n.length;i++)if(this[n[i]]>0){t=!0;break}return t}},{key:"toCss2Map",value:function e(){return{paddingTop:"".concat(this.enabled?this.top:0,"px"),paddingRight:"".concat(this.enabled?this.right:0,"px"),paddingBottom:"".concat(this.enabled?this.bottom:0,"px"),paddingLeft:"".concat(this.enabled?this.left:0,"px")}
253}},{key:"clone",value:function t(){return new e({left:this.left,top:this.top,right:this.right,bottom:this.bottom,enabled:this.enabled})}}, 254{key:"applyPartialPaddingMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.top)&&(this.top=t.top),webwave.isNumberAndNotNaN(t.right)&&(this.right=t.right),webwave.isNumberAndNotNaN(t.bottom)&&(this.bottom=t.bottom),webwave.isNumberAndNotNaN(t.left)&&(this.left=t.left),webwave.isDef(t.enabled)&&(this.enabled=t.enabled))}},{key:"getComputedTop",value:function e(){return this.enabled?this.top:0}},{key:"getComputedRight",value:function e(){return this.enabled?this.right:0}},{key:"getComputedLeft", 255value:function e(){return this.enabled?this.left:0}},{key:"getComputedBottom",value:function e(){return this.enabled?this.bottom:0}}],[{key:"deserialize",value:function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({top:n.top,right:n.right,bottom:n.bottom,left:n.left,enabled:n.enabled})}}]),e}()},1323:function(e,t,n){t.a={ALL:"all",ONLY_ONLINE:"only_online",ONLY_ON_DELIVERY:"only_on_delivery"}},1324:function(e,t,n){var i={ALL_PRODUCTS:"allProducts",PRODUCT_CATEGORIES:"productCategories", 256SELECTED_PRODUCTS:"selectedProducts"};t.a=i},1325:function(e,t,n){n.d(t,"a",function(){return g});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l;function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){Object(i.a)(e, 257t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e){var t=v();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 258if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(s.a)(n,e);var t=f(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),(e=t.call(this,i)).update(i),e}return Object(a.a)(n,[{key:"update",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(o.a)(Object(c.a)(n.prototype),"update",this).call(this, 259t),this._type=t.type,this._require=t.require,this._label=t.label}},{key:"type",get:function e(){return this._type},set:function e(t){this._type=t}},{key:"label",get:function e(){return this._label},set:function e(t){this._label=t}},{key:"name",get:function e(){return this.label}},{key:"require",get:function e(){return this._require},set:function e(t){this._require=t}},{key:"serialize",value:function e(){return h(h({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),{},{type:this._type, 260require:this._require,label:this._label})}},{key:"equals",value:function e(t){return this._label===t._label&&this._require===t._require&&this._type===t._type}}]),n}(n(943).a)},1326:function(e,t,n){n.d(t,"a",function(){return p});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(1173),d;function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n, 261i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e){var t=g();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i, 262arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(s.a)(n,e);var t=v(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),(e=t.call(this,i)).update(i), 263e}return Object(a.a)(n,[{key:"update",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(o.a)(Object(c.a)(n.prototype),"update",this).call(this,t),this._name=t.name,this._description=t.description,this._require=t.require,this._link=new l.a(t.link||{})}},{key:"name",get:function e(){return this._name},set:function e(t){this._name=t}},{key:"require",get:function e(){return this._require},set:function e(t){this._require=t}},{key:"description",get:function e(){return this._description}, 264set:function e(t){this._description=t}},{key:"link",get:function e(){return this._link},set:function e(t){this._link=t}},{key:"url",get:function e(){var t;return null===(t=this._link)||void 0===t?void 0:t.url}},{key:"serialize",value:function e(){return f(f({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),{},{name:this._name,description:this._description,require:this._require,link:this._link.serialize()})}},{key:"printLabel",value:function e(){return this.description?this.description: 265this.name}}]),n}(n(943).a)},1327:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 266[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"enteredViewportHandler",value:function e(){var t=$(this.getDomObject()),i=t.attr(n.LAZY_LOAD_ATTR_NAME);t.attr("src",this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(i,this.getDomObject()))}}]),n}(n(1579).a);d.LAZY_LOAD_ATTR_NAME="data-lazy-load-src",webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg"), 267com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg=d},1328:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(218),l=n(2147),d=n(106);function h(e){var t=f();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 268if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(o.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._cropType=webwave.isValidEnumValue(e.cropType,c.a)?e.cropType:null,r}return Object(r.a)(n,[{key:"serialize",value:function e(){return Object.assign(Object(a.a)(Object(u.a)(n.prototype),"serialize",this).call(this),{cropType:this.getCropType()})}}, 269{key:"loadValueFromObject",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadValueFromObject",this).call(this,t),this.setCropType(t.getCropType())}},{key:"getCropType",value:function e(){return this._cropType}},{key:"setCropType",value:function e(t){this._cropType=t}}
269,{key:"isCropTypeValidToCropping",value:function e(){return n.isCropTypeValidToCropping(this.getCropType())}}],[{key:"deserialize",value:function e(t){return new n(t)}},{key:"createDefaultWithCropType",value:function e(t){return new n({cropType:t, 270x:{value:50,unit:d.a.PERCENT},y:{value:50,unit:d.a.PERCENT}})}},{key:"isCropTypeValidToCropping",value:function e(t){return t!==c.a.FULL_WIDTH}}]),n}(l.a)},1329:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(40),o=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(i.a)(this,e),this.wFeed=t,this.type=void 0}return Object(r.a)(e,[{key:"getParentWObject",value:function e(){return this.wFeed}},{key:"loadAdditionalRwdProperties",value:function e(){}}, 271{key:"shouldAddToCountMinSize",value:function e(){return!1}},{key:"shouldAddWidth",value:function e(){return!1}},{key:"countMinSize",value:function e(){var t=this.wFeed.getInnerElementStyles(this.type);return new a.a({width:webwave.isDefAndNotNull(t)?t.getHorizontalSpace():0,height:0})}},{key:"updateSingleFeedItemElData",value:function e(){}}]),e}()},1330:function(e,t,n){var i=n(176);t.a={DEFAULT_ANIMATION_TIME:300,DEFAULT_DIRECTION:i.a.TOP}},1335:function(e,t,n){n.d(t,"a",function(){return m});var i= 272n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(31),c=n(114),l=n(235),d=n(14),h=n.n(d),f,v,g,p;function y(e){var t=b();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[], 273function(){})),!0}catch(e){return!1}}var m=(f=Object(d.injectable)())((p=g=function(e){Object(a.a)(n,e);var t=y(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}},{key:"hasExternalConfigurationLinks",value:function e(){return!0}},{key:"getExternalConfigurationLinksList",value:function e(){return[n.ITN,n.BACK_URL]}},{key:"getExternalConfigurationLink",value:function e(t){var i= 274u.a.getValue("linkToWebsite");switch(t){case n.ITN:return"".concat(i).concat(n.ITN_PATH);case n.BACK_URL:return"".concat(i).concat(n.BACK_URL_PATH)}}}]),n}(l.a),g.AVAILABLE_CURRENCIES=[c.a.PLN],g.ITN="ITN",g.BACK_URL="backUrl",g.ITN_PATH="/_app/shop/notificationAutopay",g.BACK_URL_PATH="/?backFromPaymentProvider=true&status=TO_VERIFY",v=p))||v},1336:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(114),c=n(235),l=n(14),d=n.n(l),h,f,v,g;function p(e){var t= 275y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(h=Object(l.injectable)())((g=v=function(e){Object(a.a)(n,e); 276var t=p(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}}]),n}(c.a),v.AVAILABLE_CURRENCIES=[u.a.RON],f=g))||f},1337:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(114),c=n(235),l=n(14),d=n.n(l),h,f,v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments, 277a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(h=Object(l.injectable)())((g=v=function(e){Object(a.a)(n,e);var t=p(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this)).errorCodes=[400,401,404,409,500],e}return Object(r.a)(n, 278[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}},{key:"isKnownError",value:function e(t){var n;return!!this.errorCodes.includes(null===t||void 0===t?void 0:null===(n=t.data)||void 0===n?void 0:n.code)}},{key:"getErrorTranslate",value:function e(t){var n;switch(null===t||void 0===t?void 0:null===(n=t.data)||void 0===n?void 0:n.code){case 401:return"incorrectAuthentication";default:return"errorMessage"}}}]),n}(c.a),v.AVAILABLE_CURRENCIES=[u.a.PLN],f=g))||f},1338:function(e, 279t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(114),c=n(235),l=n(14),d=n.n(l),h,f,v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 280[],function(){})),!0}catch(e){return!1}}var b=(h=Object(l.injectable)())((g=v=function(e){Object(a.a)(n,e);var t=p(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"handlePayProcedure",value:function e(t){this.locationService.openUrl(t.url)}}]),n}(c.a),v.AVAILABLE_CURRENCIES=[u.a.AUD,u.a.BRL,u.a.CAD,u.a.CHF,u.a.CNY,u.a.CZK,u.a.DKK,u.a.EURO,u.a.GBP,u.a.HKD,u.a.HUF,u.a.ILS,u.a.JPY,u.a.MXN,u.a.MYR,u.a.NOK,u.a.NZD,u.a.PHP,u.a.PLN,u.a.RUB,u.a.SEK,u.a.SGD,u.a.THB, 281u.a.TWD,u.a.USD],f=g))||f},1339:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 282[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._unit=e.unit,r}return Object(r.a)(n,[{key:"inputType",get:function e(){return"text"}},{key:"short",get:function e(){return!0}},{key:"translationPrefix",get:function e(){return"com.webwave.common.ui.inputRange"}},{key:"unit",get:function e(){return this._unit}},{key:"isFilled",value:function e(){return webwave.isDefAndNotNull(this.from)&&webwave.isDefAndNotNull(this.to)}}, 283{key:"rangeIsNotOk",value:function e(){return Number.parseInt(this.from)>Number.parseInt(this.to)}},{key:"serialize",value:function e(){return{to:this.to,from:this.from}}},{key:"valueInRange",value:function e(t){return Number.parseFloat(this.to)>=t&&Number.parseFloat(this.from)<=t}}]),n}(n(246).a)},134:function(e,t){var n=e.exports={},i,r;function a(){throw new Error("setTimeout has not been defined");}function o(){throw new Error("clearTimeout has not been defined");}function s(e){if(i===setTimeout)return setTimeout(e, 2840);if((i===a||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}function u(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:a}catch(e){i=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r= 285o}}();var c=[],l=!1,d,h=-1;
285function f(){l&&d&&(l=!1,d.length?c=d.concat(c):h=-1,c.length&&v())}function v(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(d=c,c=[];++h<t;)d&&d[h].run();h=-1,t=c.length}d=null,l=!1,u(e)}}function g(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new g(e,t)),1!==c.length||l||s(v)},g.prototype.run=function(){this.fun.apply(null, 286this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported");},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported");},n.umask=function(){return 0}},1340:function(e,t,n){var i=n(1239),r= 287{submitButton:{normal:{backgroundColor:i.a.BRAND,color:i.a.SECOND_NEUTRAL},hover:{backgroundColor:i.a.SECONDARY}},input:{normal:{backgroundColor:i.a.COMPLEMENTARY,border:i.a.FIRST_NEUTRAL}},button:{normal:{backgroundColor:i.a.BRAND},hover:{backgroundColor:i.a.SECONDARY}},product:{normal:{backgroundColor:i.a.BRAND},hover:{backgroundColor:i.a.SECONDARY}},shopCart:{normal:{backgroundColor:i.a.BRAND},hover:{backgroundColor:i.a.SECONDARY}},login:{loggedIn:{backgroundColor:i.a.BRAND},notLoggedIn:{backgroundColor:i.a.BRAND}}, 288menuItem:{activeStyle:{color:i.a.BRAND,borderColor:i.a.BRAND},hoverStyle:{color:i.a.SECONDARY,borderColor:i.a.SECONDARY},normalStyle:{color:i.a.FIRST_NEUTRAL,borderColor:"transparent"}},date:{normal:{color:i.a.FIRST_NEUTRAL}},selectedPaginationIndex:{normal:{color:i.a.SECOND_NEUTRAL,backgroundColor:i.a.BRAND}},paginationIndex:{normal:{color:i.a.SECONDARY}},news:{normal:{}},header:{normal:{color:i.a.BRAND}},counter:{color:i.a.BRAND},gallery:{header:{color:i.a.SECOND_NEUTRAL}},slider:{header:{color:i.a.SECOND_NEUTRAL}, 289description:{color:i.a.SECOND_NEUTRAL}}};t.a=r},1341:function(e,t,n){var i={ABSOLUTE_URL:"absoluteURL",PHONE:"phone",EMAIL:"email",USER_FILE:"userFile"};t.a=i},135:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(99),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect|| 290!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"getSource",value:function e(){return this._source}}]),n}(n(857).a)},14:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.multiBindToService=t.getServiceIdentifierAsString= 291t.typeConstraint=t.namedConstraint=t.taggedConstraint=t.traverseAncerstors=t.decorate=t.id=t.MetadataReader=t.postConstruct=t.targetName=t.multiInject=t.unmanaged=t.optional=t.LazyServiceIdentifer=t.inject=t.named=t.tagged=t.injectable=t.ContainerModule=t.AsyncContainerModule=t.TargetTypeEnum=t.BindingTypeEnum=t.BindingScopeEnum=t.Container=t.METADATA_KEY=void 0;var i=n(22);t.METADATA_KEY=i;var r=n(306);Object.defineProperty(t,"Container",{enumerable:!0,get:function(){return r.Container}});var a= 292n(46);Object.defineProperty(t,"BindingScopeEnum",{enumerable:!0,get:function(){return a.BindingScopeEnum}}),Object.defineProperty(t,"BindingTypeEnum",{enumerable:!0,get:function(){return a.BindingTypeEnum}}),Object.defineProperty(t,"TargetTypeEnum",{enumerable:!0,get:function(){return a.TargetTypeEnum}});var o=n(322);Object.defineProperty(t,"AsyncContainerModule",{enumerable:!0,get:function(){return o.AsyncContainerModule}}),Object.defineProperty(t,"ContainerModule",{enumerable:!0,get:function(){return o.ContainerModule}}); 293var s=n(323);Object.defineProperty(t,"injectable",{enumerable:!0,get:function(){return s.injectable}});var u=n(324);Object.defineProperty(t,"tagged",{enumerable:!0,get:function(){return u.tagged}});var c=n(325);Object.defineProperty(t,"named",{enumerable:!0,get:function(){return c.named}});var l=n(171);Object.defineProperty(t,"inject",{enumerable:!0,get:function(){return l.inject}}),Object.defineProperty(t,"LazyServiceIdentifer",{enumerable:!0,get:function(){return l.LazyServiceIdentifer}});var d= 294n(326);Object.defineProperty(t,"optional",{enumerable:!0,get:function(){return d.optional}});var h=n(327);Object.defineProperty(t,"unmanaged",{enumerable:!0,get:function(){return h.unmanaged}});var f=n(328);Object.defineProperty(t,"multiInject",{enumerable:!0,get:function(){return f.multiInject}});var v=n(329);Object.defineProperty(t,"targetName",{enumerable:!0,get:function(){return v.targetName}});var g=n(330);Object.defineProperty(t,"postConstruct",{enumerable:!0,get:function(){return g.postConstruct}}); 295var p=n(169);Object.defineProperty(t,"MetadataReader",{enumerable:!0,get:function(){return p.MetadataReader}});var y=n(60);Object.defineProperty(t,"id",{enumerable:!0,get:function(){return y.id}});var b=n(54);Object.defineProperty(t,"decorate",{enumerable:!0,get:function(){return b.decorate}});var m=n(174);Object.defineProperty(t,"traverseAncerstors",{enumerable:!0,get:function(){return m.traverseAncerstors}}),Object.defineProperty(t,"taggedConstraint",{enumerable:!0,get:function(){return m.taggedConstraint}}), 296Object.defineProperty(t,"namedConstraint",{enumerable:!0,get:function(){return m.namedConstraint}}),Object.defineProperty(t,"typeConstraint",{enumerable:!0,get:function(){return m.typeConstraint}});var w=n(73);Object.defineProperty(t,"getServiceIdentifierAsString",{enumerable:!0,get:function(){return w.getServiceIdentifierAsString}});var S=n(331);Object.defineProperty(t,"multiBindToService",{enumerable:!0,get:function(){return S.multiBindToService}})},15:function(e,t,n){function i(e,t,n){return t in 297e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=i},154:function(e,t,n){function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}t.a=i},155:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(121),o=n(51),s=n(40),u=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._position=new o.a(t.position),this._size=new s.a(t.size)}return Object(r.a)(e,[{key:"getSize",value:function e(){return this._size}}, 298{key:"setSize",value:function e(t){this._size=t}},{key:"getPosition",value:function e(){return this._position}},{key:"setPosition",value:function e(t){this._position=t}},{key:"equals",value:function e(t){return this.getPosition().equals(t.getPosition())&&this.get
298Size().equals(t.getSize())}},{key:"clone",value:function t(){return new e({size:this.getSize().clone(),position:this.getPosition().clone()})}},{key:"moveBy",value:function e(t){this.getPosition().add(t)}},{key:"getX1",value:function e(){return this.getPosition().getX()}}, 299{key:"setX1",value:function e(t){var n=t-this.getPosition().getX();this.getSize().setWidth(this.getSize().getWidth()-n),this.getPosition().setX(t)}},{key:"getX2",value:function e(){return this.getPosition().getX()+this.getSize().getWidth()}},{key:"setX2",value:function e(t){this.getSize().setWidth(t-this.getPosition().getX())}},{key:"getY1",value:function e(){return this.getPosition().getY()}},{key:"setY1",value:function e(t){var n=t-this.getPosition().getY();this.getSize().setHeight(this.getSize().getHeight()- 300n),this.getPosition().setY(t)}},{key:"getY2",value:function e(){return this.getPosition().getY()+this.getSize().getHeight()}},{key:"setY2",value:function e(t){this.getSize().setHeight(t-this.getPosition().getY())}},{key:"getWidth",value:function e(){return this.getSize().getWidth()}},{key:"setWidth",value:function e(t){this.getSize().setWidth(t)}},{key:"getHeight",value:function e(){return this.getSize().getHeight()}},{key:"setHeight",value:function e(t){this.getSize().setHeight(t)}},{key:"intersects", 301value:function e(t){return this.getX1()<=t.getX2()&&this.getX2()>=t.getX1()&&this.getY1()<=t.getY2()&&this.getY2()>=t.getY1()}},{key:"getCenterX",value:function e(){return this.getPosition().getX()+this.getSize().getWidth()/2}},{key:"getCenterY",value:function e(){return this.getPosition().getY()+this.getSize().getHeight()/2}},{key:"getCenter",value:function e(){return new o.a({x:this.getCenterX(),y:this.getCenterY()})}},{key:"containsMoreThanHalf",value:function e(t){var n=t.getCenterX(),i=t.getCenterY(); 302return i>=this.getPosition().getY()&&i<=this.getY2()&&n>=this.getPosition().getX()&&n<=this.getX2()}},{key:"join",value:function e(t){return this.setX1(Math.min(this.getX1(),t.getX1())),this.setY1(Math.min(this.getY1(),t.getY1())),this.setX2(Math.max(this.getX2(),t.getX2())),this.setY2(Math.max(this.getY2(),t.getY2())),this}},{key:"collidesXByHalf",value:function e(t){var n=this.getCenterX(),i=t.getCenterX();return n>=t.getX1()&&n<=t.getX2()||i>=this.getX1()&&i<=this.getX2()}},{key:"collidesYByHalf", 303value:function e(t){var n=this.getCenterY(),i=t.getCenterY();return n>=t.getY1()&&n<=t.getY2()||i>=this.getY1()&&i<=this.getY2()}},{key:"crossCollidesByHalf",value:function e(t){return this.collidesXByHalf(t)||this.collidesYByHalf(t)}},{key:"crossCollidesY",value:function e(t){return this.getY1()<=t.getY2()&&this.getY2()>=t.getY1()}},{key:"crossCollidesX",value:function e(t){return this.getX1()<=t.getX2()&&this.getX2()>=t.getX1()}},{key:"contains",value:function e(t){return this.getX1()<=t.getX1()&& 304this.getX2()>=t.getX2()&&this.getY1()<=t.getY1()&&this.getY2()>=t.getY2()}},{key:"getDistance2D",value:function e(t){var n=this.getDistance2DWithAvailableNegativeValue(t);return new o.a({x:Math.max(n.x,0),y:Math.max(n.y,0)})}},{key:"getDistance2DWithAvailableNegativeValue",value:function e(t){var n=this.getX1()<t.getX1()?t.getX1()-this.getX2():this.getX1()-t.getX2(),i=this.getY1()<t.getY1()?t.getY1()-this.getY2():this.getY1()-t.getY2();return new o.a({x:n,y:i})}},{key:"getRectBetweenY",value:function t(n){var i= 305{x:Math.min(this.getX1(),n.getX1()),y:Math.min(this.getY2(),n.getY2())};return new e({position:i,size:{height:Math.max(0,Math.max(this.getY1(),n.getY1())-i.y),width:Math.max(this.getX2(),n.getX2())-i.x}})}},{key:"getRectBetweenX",value:function t(n){var i={x:Math.min(this.getX2(),n.getX2()),y:Math.min(this.getY1(),n.getY1())};return new e({position:i,size:{height:Math.max(this.getY2(),n.getY2())-i.y,width:Math.max(0,Math.max(this.getX1(),n.getX1())-i.x)}})}},{key:"moveTo",value:function e(t){var n= 306t.clone();n.subtract(this.getPosition()),this.moveBy(n)}},{key:"isPointAbove",value:function e(t){return t.getY()<this.getY1()}},{key:"isPointBelow",value:function e(t){return t.getY()>this.getY2()}},{key:"isPointOnTheLeft",value:function e(t){return t.getX()<this.getX1()}},{key:"isPointOnTheRight",value:function e(t){return t.getX()>this.getX2()}},{key:"isRectangleAbove",value:function e(t){return this.getY1()>t.getY2()}},{key:"isRectangleBelow",value:function e(t){return this.getY2()<t.getY1()}}, 307{key:"containsPoint",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(this.isPointBetweenX(t)||!0===n.checkIsBetweenY)&&(this.isPointBetweenY(t)||!0===n.checkIsBetweenX)}},{key:"isPointBetweenX",value:function e(t){return this.getX1()<=t.getX()&&this.getX2()>=t.getX()}},{key:"isPointBetweenY",value:function e(t){return this.getY1()<=t.getY()&&this.getY2()>=t.getY()}},{key:"countYDistanceToPoint",value:function e(t){return Math.min(Math.abs(this.getY1()-t.getY()), 308Math.abs(this.getY2()-t.getY()))}},{key:"addSize",value:function e(t){this._size.add(t)}},{key:"addSizeValueByOrientation",value:function e(t,n){switch(n){case a.a.HORIZONTAL:this._size.addWidth(t);break;case a.a.VERTICAL:this._size.addHeight(t);break}}},{key:"getTopCenterPoint",value:function e(){return new o.a({x:this.getCenterX(),y:this.getY1()})}},{key:"getTopRightPoint",value:function e(){return new o.a({x:this.getX2(),y:this.getY1()})}}]),e}()},1551:function(e,t,n){n.d(t,"a",function(){return f}); 309var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1071),c=n(182),l=n(1633);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})), 310!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r))._freeShippingSettings=new l.a(r.freeShippingSettings),e}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new u.a(t)}},{key:"postageOptionsExist",value:function e(){var t;return(null===(t=this.value)||void 0===t?void 0:t.length)>0}},{key:"serialize",value:function e(){var t=arguments.length> 3110&&void 0!==arguments[0]?arguments[0]:{};return{enable:this.enable,value:this.getSerializeValue(t),freeShippingSettings:this._freeShippingSettings.serialize()}}},{key:"freeShippingSettings",get:function e(){return this._freeShippingSettings}},{key:"getFreeShippingValue",value:function e(){if(webwave.isDef(this.value)&&this.value.length>0)return this.freeShippingSettings.value}},{key:"removeOption",value:function e(t){t.setDeleted(!0)}}]),n}(c.a)},1552:function(e,t,n){n.d(t,"a",function(){return g}); 312var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(11),c=n.n(u),l=n(1324),d=n(910),h=n(74);function f(e){var t=v();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[], 313function(){})),!0}catch(e){return!1}}var g=function(e){Object(a.a)(n,e);var t=f(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this)).update(r),e}return Object(r.a)(n,[{key:"update",value:function e(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.id=i.id,this.code=i.code,this.discount=this._readDiscountValue(i.discount),this.expireDate=i.expireDate?new Date(i.expireDate):void 0,this.maxUsage=i.maxUsage, 314this.discountCodeType=null!==(t=i.discountCodeType)&&void 0!==t?t:n.DEFAULT_DISCOUNT_CODE_TYPE,this.deleted=i.deleted||!1,this.selectedProducts=i.selectedProducts||[],this.selectedCategories=i.selectedCategories||[]}},{key:"_readDiscountValue",value:function e(t){return webwave.isStringAndNotEmpty(t)?t.replace("%",""):""}},{key:"constraints",get:function e(){return{code:h.a.DISCOUNT_CODE,discount:h.a.DISCOUNT_VALUE,expireDate:h.a.DATE_NOT_REQUIRE,maxUsage:h.a.NUMBER_USAGE_NOT_REQUIRE,discountCodeType:h.a.REQUIRE}
314}}, 315{key:"translationPrefix",get:function e(){return"storeSettings.discountCode"}},{key:"serializeForCreateGroup",value:function e(){var t;return{id:this.id,code:this.code,discount:this.discount,expireDate:this.expireDate,maxUsage:this.maxUsage,productsCategories:this.productsCategories,products:this.products,discountCodeType:this.discountCodeType,deleted:this.deleted,selectedProducts:this.selectedProducts,selectedCategories:this.selectedCategories}}},{key:"serialize",value:function e(){return this.serializeForCreateGroup()}}, 316{key:"setDeleted",value:function e(){this.deleted=!0}},{key:"name",get:function e(){var t=this.code;return webwave.isStringAndNotEmpty(this.expireDate)&&(t+="(".concat(this.formattedDate,")")),t+=" - ".concat(this.discount,"%")}},{key:"formattedDate",get:function e(){return webwave.isDefAndNotNull(this.expireDate)&&this.expireDate instanceof Date?u.DateUtils.dateToString(this.expireDate,"dd-mm-yyyy"):""}},{key:"validate",value:function e(){return h.a.REQUIRE.validate(this.code)&&h.a.DISCOUNT_VALUE.validate(this.discount)&& 317h.a.DATE_NOT_REQUIRE.validate(this.expireDate)&&h.a.NUMBER_USAGE_NOT_REQUIRE.validate(this.maxUsage)}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"isExpired",value:function e(){if(webwave.isDefAndNotNull(this.expireDate)){var t=u.DateUtils.getEndOfTheDay(this.expireDate);return!1===u.DateUtils.dateIsGreaterThenNow(t)}return!1}}]),n}(d.a);g.DEFAULT_DISCOUNT_CODE_TYPE=l.a.ALL_PRODUCTS},1553:function(e,t,n){t.a={BRAND:"brand",SECONDARY:"secondary",COMPLEMENTARY:"complementary", 318FIRST_NEUTRAL:"neutral1",SECOND_NEUTRAL:"neutral2"}},1554:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1341),c=n(854),l=n(1775);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 319try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),void 0===e.customLinkType&&(e.customLinkType=u.a.ABSOLUTE_URL),e.customLinkType===u.a.USER_FILE&&e.type!==l.a.FILE&&(e.customLinkType=u.a.ABSOLUTE_URL),!1===webwave.isDefAndNotNull(Object.values(l.a).find(function(t){return t===e.type}))&&(e.type=l.a.CUSTOM),(r=t.call(this,e)).customLinkType=e.customLinkType, 320r.href=e.href,r.urlType=e.urlType,r}return Object(r.a)(n,[{key:"getShortName",value:function e(){return this.href}},{key:"setHref",value:function e(t){this.href=t}},{key:"getHref",value:function e(){return this.href}},{key:"getCustomLinkType",value:function e(){return this.customLinkType}},{key:"setCustomLinkType",value:function e(t){this.customLinkType=t}},{key:"getUrlType",value:function e(){return this.urlType}},{key:"setUrlType",value:function e(t){this.urlType=t}},{key:"toJSON",value:function e(){return{type:this.type, 321target:this.target,customLinkType:this.customLinkType,href:this.href,urlType:this.urlType}}},{key:"getDefaultLinkName",value:function e(){switch(this.customLinkType){case u.a.ABSOLUTE_URL:return i18n.t("com.webwave.link.CustomLinkTypes.enum.absoluteURL");case u.a.PHONE:return i18n.t("menuPopup.defaultInput.phone");case u.a.EMAIL:return i18n.t("com.webwave.link.CustomLinkTypes.enum.email");case u.a.USER_FILE:return i18n.t("menuPopup.defaultInput.userFile")}}}]),n}(c.a)},1555:function(e,t,n){n.d(t, 322"a",function(){return s});var i=n(0),r=n(1),a=n(1330),o=0,s=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._id=o++,this._duration=webwave.isDef(t.duration)&&webwave.isNumber(t.duration)?t.duration:a.a.DEFAULT_ANIMATION_TIME,this._startTime=0,this._currentTime=0,this._progress=0,this._started=!1,this._running=!1,this._finished=!1}return Object(r.a)(e,[{key:"setStartTime",value:function e(t){this._startTime=t}},{key:"setCurrentTime",value:function e(t){this._currentTime= 323Math.min(t,this._duration),this._progress=Math.min(this._currentTime/this._duration,1)}},{key:"getProgress",value:function e(){return this._progress}},{key:"getCurrentTime",value:function e(){return this._currentTime}},{key:"getCurrentProgress",value:function e(){return this._progress}},{key:"getStartTime",value:function e(){return this._startTime}},{key:"getDuration",value:function e(){return this._duration}},{key:"start",value:function e(t){!1===this._started&&(this.setStartTime(t),this._started= 324!0,this._running=!0)}},{key:"isStarted",value:function e(){return this._started}},{key:"isRunning",value:function e(){return this._running}},{key:"isFinished",value:function e(){return this._finished}},{key:"stop",value:function e(t){!1===this._finished&&(this._running=!1,this._finished=!0,!0===t&&this.finish())}},{key:"finish",value:function e(){}},{key:"tick",value:function e(t){}}]),e}()},156:function(e,t,n){t.a=r;var i=n(154);function r(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t); 325var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}},1560:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2);function u(e){var t=c();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments); 326return Object(o.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0, 327configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}var d=function(e){Object(a.a)(n,e);var t=u(n);function n(){return Object(i.a)(this,n),t.call(this)}return Object(r.a)(n,[{key:"getMessage",value:function e(){return i18n.t("shop.c
327om.webwave.gui.onlineStore.orderPopup.errorMessage")}}]),n}(l(Error))},1561:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1325),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e), 328r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)} 329return Object(r.a)(n,[{key:"createObject",value:function e(t){return new u.a(t)}},{key:"removeOption",value:function e(t){t.setDeleted(!0)}}]),n}(n(182).a)},1563:function(e,t,n){t.a={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}},157:function(e,t,n){var i=Object.prototype,r=i.hasOwnProperty,a=i.toString,o,s;"function"==typeof Symbol&&(o=Symbol.prototype.valueOf),"function"==typeof BigInt&&(s=BigInt.prototype.valueOf);var u=function(e){return e!=e},c={boolean:1,number:1,string:1,undefined:1}, 330l=/^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$/,d=/^[A-Fa-f0-9]+$/,h={};h.a=h.type=function(e,t){return typeof e===t},h.defined=function(e){return void 0!==e},h.empty=function(e){var t=a.call(e),n;if("[object Array]"===t||"[object Arguments]"===t||"[object String]"===t)return 0===e.length;if("[object Object]"===t){for(n in e)if(r.call(e,n))return!1;return!0}return!e},h.equal=function e(t,n){if(t===n)return!0;var i=a.call(t),r;if(i!==a.call(n))return!1;if("[object Object]"=== 331i){for(r in t)if(!(h.equal(t[r],n[r])&&r in n))return!1;for(r in n)if(!(h.equal(t[r],n[r])&&r in t))return!1;return!0}if("[object Array]"===i){if((r=t.length)!==n.length)return!1;for(;r--;)if(!h.equal(t[r],n[r]))return!1;return!0}return"[object Function]"===i?t.prototype===n.prototype:"[object Date]"===i&&t.getTime()===n.getTime()},h.hosted=function(e,t){var n=typeof t[e];return"object"===n?!!t[e]:!c[n]},h.instance=h.instanceof=function(e,t){return e instanceof t},h.nil=h.null=function(e){return null=== 332e},h.undef=h.undefined=function(e){return void 0===e},h.args=h.arguments=function(e){var t="[object Arguments]"===a.call(e),n=!h.array(e)&&h.arraylike(e)&&h.object(e)&&h.fn(e.callee);return t||n},h.array=Array.isArray||function(e){return"[object Array]"===a.call(e)},h.args.empty=function(e){return h.args(e)&&0===e.length},h.array.empty=function(e){return h.array(e)&&0===e.length},h.arraylike=function(e){return!!e&&!h.bool(e)&&r.call(e,"length")&&isFinite(e.length)&&h.number(e.length)&&e.length>=0}, 333h.bool=h.boolean=function(e){return"[object Boolean]"===a.call(e)},h.false=function(e){return h.bool(e)&&!1===Boolean(Number(e))},h.true=function(e){return h.bool(e)&&!0===Boolean(Number(e))},h.date=function(e){return"[object Date]"===a.call(e)},h.date.valid=function(e){return h.date(e)&&!isNaN(Number(e))},h.element=function(e){return void 0!==e&&"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&1===e.nodeType},h.error=function(e){return"[object Error]"===a.call(e)},h.fn=h.function=function(e){var t; 334if("undefined"!=typeof window&&e===window.alert)return!0;var n=a.call(e);return"[object Function]"===n||"[object GeneratorFunction]"===n||"[object AsyncFunction]"===n},h.number=function(e){return"[object Number]"===a.call(e)},h.infinite=function(e){return e===1/0||e===-1/0},h.decimal=function(e){return h.number(e)&&!u(e)&&!h.infinite(e)&&e%1!=0},h.divisibleBy=function(e,t){var n=h.infinite(e),i=h.infinite(t),r=h.number(e)&&!u(e)&&h.number(t)&&!u(t)&&0!==t;return n||i||r&&e%t==0},h.integer=h.int=function(e){return h.number(e)&& 335!u(e)&&e%1==0},h.maximum=function(e,t){if(u(e))throw new TypeError("NaN is not a valid value");if(!h.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=0;)if(e<t[n])return!1;return!0},h.minimum=function(e,t){if(u(e))throw new TypeError("NaN is not a valid value");if(!h.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=0;)if(e>t[n])return!1;return!0},h.nan=function(e){return!h.number(e)||e!=e},h.even=function(e){return h.infinite(e)|| 336h.number(e)&&e==e&&e%2==0},h.odd=function(e){return h.infinite(e)||h.number(e)&&e==e&&e%2!=0},h.ge=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value");return!h.infinite(e)&&!h.infinite(t)&&e>=t},h.gt=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value");return!h.infinite(e)&&!h.infinite(t)&&e>t},h.le=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value");return!h.infinite(e)&&!h.infinite(t)&&e<=t},h.lt=function(e,t){if(u(e)||u(t))throw new TypeError("NaN is not a valid value"); 337return!h.infinite(e)&&!h.infinite(t)&&e<t},h.within=function(e,t,n){if(u(e)||u(t)||u(n))throw new TypeError("NaN is not a valid value");if(!h.number(e)||!h.number(t)||!h.number(n))throw new TypeError("all arguments must be numbers");var i;return h.infinite(e)||h.infinite(t)||h.infinite(n)||e>=t&&e<=n},h.object=function(e){return"[object Object]"===a.call(e)},h.primitive=function e(t){return!t||!("object"==typeof t||h.object(t)||h.fn(t)||h.array(t))},h.hash=function(e){return h.object(e)&&e.constructor=== 338Object&&!e.nodeType&&!e.setInterval},h.regexp=function(e){return"[object RegExp]"===a.call(e)},h.string=function(e){return"[object String]"===a.call(e)},h.base64=function(e){return h.string(e)&&(!e.length||l.test(e))},h.hex=function(e){return h.string(e)&&(!e.length||d.test(e))},h.symbol=function(e){return"function"==typeof Symbol&&"[object Symbol]"===a.call(e)&&"symbol"==typeof o.call(e)},h.bigint=function(e){return"function"==typeof BigInt&&"[object BigInt]"===a.call(e)&&"bigint"==typeof s.call(e)}, 339e.exports=h},1570:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(11),l=n.n(c);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 340[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){this._value=c.StringUtils.isValidEmail(t)?t:null}},{key:"getSerializeValue",value:function e(){return this._value}}]),n}(u.a)},1571:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(182),c=n(932),l=n(247),d=n(1630);function h(e){var t=f();return function n(){var i= 341Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(e){return Object(i.a)(this,n),t.call(this, 342e)}return Object(r.a)(n,[{key:"createObject",value:function e(t){if(webwave.isValidEnumValue(t.paymentProvider,l.a))switch(t.paymentProvider){case l.a.NETOPIA:return new d.a(t);default:return new c.a(t)}}},{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{enable:this.enable,value:this.getSerializeValue(t)}}},{key:"removeOption",value:function e(t){t.setDeleted()}},{key:"paymentOnDeliveryEnable",value:function e(){return webwave.isDef(this.value.find(function(e){return!0=== 343e.paymentOnDeliveryEnable}))}},{key:"isPaymentIntegrationDefined",value:function e(t){return webwave.isDef(this.value.find(function(e){return e.paymentIntegrationExists(t)}))}},{key:"isAnyPaymentMethodIntegration",value:function e(){return webwave.isDef(this.value.find(function(e){return!0===e.isAnyPaymentMethodIntegration}))}},{key:"getPaymentProviderByUniqueId",value:function e(t){return this.value.find(function(e){return e.checkUniqueId(t)})}},{key:"checkPaymentMethodExist",value:function e(t){return this.value.find(function(e){return e.equals(t)})}}]), 344n}(u.a)},1572:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(31);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 345[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}
345return Object(r.a)(n,[{key:"countryIsValid",value:function e(t){return!1===this.enable||this.value.includes(t)}},{key:"deserializeValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._value=webwave.isArrayLike(t)?t:[c.a.getValue("loggedUser.registerCountry")]}},{key:"getSerializeValue",value:function e(){return this._value}}, 346{key:"getValueForBackend",value:function e(){return this._value.join(",")}},{key:"serialize",value:function e(){var t;return{id:this.id,enable:(null===(t=this._value)||void 0===t?void 0:t.length)>0&&this.enable,value:this.getSerializeValue()}}}]),n}(u.a)},1573:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1561),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._additionalFormFields=new a.a(t.additionalFormFields)} 347return Object(r.a)(e,[{key:"additionalFormFields",get:function e(){return this._additionalFormFields}},{key:"serialize",value:function e(){return{additionalFormFields:this._additionalFormFields.serialize()}}}]),e}()},1577:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(1578),o=n(2184),s=n(2185),u=n(2047),c=n(2187),l=n(1238),d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.background=webwave.isDef(t.background)? 348new o.a(t.background):void 0,this.padding=webwave.isDef(t.padding)?new u.a(t.padding):void 0,this.border=webwave.isDef(t.border)?new s.a(t.border):void 0,this.shadow=webwave.isDef(t.shadow)?new c.a(t.shadow):void 0,this.filter=webwave.isDef(t.filter)?new l.a(t.filter):void 0,this.opacity=webwave.isNumberAndNotNaN(t.opacity)?t.opacity:void 0,this.opacityEnabled=webwave.isBoolean(t.opacityEnabled)?t.opacityEnabled:void 0,this.backgroundOverlay=webwave.isDef(t.backgroundOverlay)?new a.a(t.backgroundOverlay): 349void 0,this.verticalAlign=webwave.isString(t.verticalAlign)?t.verticalAlign:void 0,this.horizontalAlign=webwave.isString(t.horizontalAlign)?t.horizontalAlign:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n,i,r,a,o,s;return{background:webwave.isDef(this.background)?this.background.serialize(t):void 0,padding:webwave.isDef(this.padding)?this.padding.serialize():void 0,border:webwave.isDef(this.border)?this.border.serialize(): 350void 0,shadow:webwave.isDef(this.shadow)?this.shadow.serialize():void 0,filter:webwave.isDef(this.filter)?this.filter.serialize():void 0,backgroundOverlay:webwave.isDef(this.backgroundOverlay)?this.backgroundOverlay.serialize():void 0,opacity:this.opacity,opacityEnabled:this.opacityEnabled,verticalAlign:this.verticalAlign,horizontalAlign:this.horizontalAlign}}},{key:"getCssOpacity",value:function e(){return this.getComputedOpacity()/100}},{key:"getComputedOpacity",value:function e(){return this.opacityEnabled? 351this.opacity:100}},{key:"toCss2Map",value:function e(){var t={};return webwave.isDef(this.opacity)&&(t.opacity=this.getCssOpacity()),webwave.isDef(this.padding)&&$.extend(t,this.padding.toCss2Map()),webwave.isDef(this.border)&&$.extend(t,this.border.toCss2Map()),webwave.isDef(this.shadow)&&$.extend(t,this.shadow.toCss2Map()),webwave.isDef(this.background)&&$.extend(t,this.background.toCss2Map()),webwave.isDef(this.filter)&&$.extend(t,this.filter.toCss2Map()),webwave.isDef(this.backgroundOverlay)&& 352$.extend(t,this.backgroundOverlay.toCss2Map()),t}},{key:"applyPartialObjectStyle",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.background)&&(webwave.isDef(this.background)?this.background.applyPartialBackgroundMap(t.background):this.background=new o.a(t.background)),webwave.isDef(t.border)&&(webwave.isDef(this.border)?this.border.applyPartialBorderMap(t.border):this.border=new s.a(t.border)),webwave.isDef(t.padding)&&(webwave.isDef(this.padding)?this.padding.applyPartialPaddingMap(t.padding): 353this.padding=new u.a(t.padding)),webwave.isDef(t.shadow)&&(webwave.isDef(this.shadow)?this.shadow.applyPartialShadowMap(t.shadow):this.shadow=new c.a(t.shadow)),webwave.isDef(t.filter)&&(this.filter=new l.a(t.filter)),webwave.isDef(t.backgroundOverlay)&&(webwave.isDef(this.backgroundOverlay)?this.backgroundOverlay.mergeStyle(t.backgroundOverlay):this.backgroundOverlay=new a.a(t.backgroundOverlay)),webwave.isDef(t.opacityEnabled)&&(this.opacityEnabled=!0===t.opacityEnabled),webwave.isNumberAndNotNaN(t.opacity)&& 354!0===this.opacityEnabled&&(this.opacity=t.opacity),webwave.isString(t.verticalAlign)&&(this.verticalAlign=t.verticalAlign),webwave.isString(t.horizontalAlign)&&(this.horizontalAlign=t.horizontalAlign))}},{key:"removePadding",value:function e(){this.padding=void 0}},{key:"removeFilter",value:function e(){this.filter=void 0}},{key:"setFilter",value:function e(t){this.filter=t}},{key:"getFilter",value:function e(){return this.filter}}
354,{key:"setBackgroundOverlay",value:function e(t){this.backgroundOverlay= 355t}},{key:"getBackgroundOverlay",value:function e(){return this.backgroundOverlay}},{key:"getBackground",value:function e(){return this.background}},{key:"createDefaultFilterData",value:function e(){this.setFilter(l.a.createDefaultFilterData())}},{key:"createDefaultBackgroundOverlay",value:function e(){this.setBackgroundOverlay(new a.a({}))}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i,r,a,o=null===(n=this.background)|| 356void 0===n?void 0:n.changeWebsiteColorConnection(t),s=null===(i=this.backgroundOverlay)||void 0===i?void 0:i.changeWebsiteColorConnection(t),u=null===(r=this.border)||void 0===r?void 0:r.changeWebsiteColorConnection(t),c=null===(a=this.shadow)||void 0===a?void 0:a.changeWebsiteColorConnection(t);return!0===o||!0===s||!0===u||!0===c}}]),e}()},1578:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(918),o=n(2071),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]? 357arguments[0]:{};Object(i.a)(this,e),this.enabled=!0===t.enabled,this.background=webwave.isDef(t.background)?new a.a(t.background):new a.a({backgroundColor:e.DEFAULT_BACKGROUND_COLOR}),this.mixBlendMode=webwave.isDef(t.mixBlendMode)?t.mixBlendMode:o.a.NORMAL}return Object(r.a)(e,[{key:"isEnabled",value:function e(){return this.enabled}},{key:"setEnabled",value:function e(t){this.enabled=t}},{key:"toCss2Map",value:function e(){var t=this.isEnabled()?this.mixBlendMode:o.a.NORMAL,n=this.isEnabled()?this.background.toCss2Map(): 358(new a.a({enabled:!1})).toCss2Map(),i={mixBlendMode:t};return Object.assign(i,n),i}},{key:"toCssString",value:function e(){if(this.enabled){var t=$("<div />");return t.css(this.toCss2Map()),t.attr("style")}return"background:none"}},{key:"serialize",value:function e(){return{enabled:this.enabled,background:this.background.serialize(),mixBlendMode:this.mixBlendMode}}},{key:"mergeStyle",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.enabled)&&(this.enabled=t.enabled),!0===t.enabled&&(webwave.isDef(t.background)&& 359this.background.applyPartialBackgroundMap(t.background),webwave.isDef(t.mixBlendMode)&&(this.mixBlendMode=t.mixBlendMode)))}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n;return null===(n=this.background)||void 0===n?void 0:n.changeWebsiteColorConnection(t)}}],[{key:"deserialize",value:function t(n){return new e(n)}}]),e}();s.DEFAULT_BACKGROUND_COLOR="rgba(200, 99, 99, 0.5)"},1579:function(e,t,n){n.d(t,"a",function(){return d}); 360var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d= 361function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._domObject=e,r.browserWebPSupportUtils=null,r}return Object(r.a)(n,[{key:"getDomObject",value:function e(){return this._domObject}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}}]),n}(n(1754).a)},1580:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2189),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e), 362r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 363{};return Object(i.a)(this,n),(e=t.call(this,r)).type="webwave.link.InteractionsLinkData",e._interactions=new u.a(r.interactions),e}return Object(r.a)(n,[{key:"getInteractions",value:function e(){return this._interactions}}
363,{key:"toJSON",value:function e(){return{type:this.type,target:this.target,interactions:this._interactions.serialize()}}}]),n}(n(854).a)},16:function(e,t,n){n.d(t,"a",function(){return i});var i={AdditionalEventService:Symbol.for("AdditionalEventService"),AddStoreProductService:Symbol.for("AddStoreProductService"), 364AILanguageService:Symbol.for("AILanguageService"),AINewsGenerationService:Symbol.for("AINewsGenerationService"),AISectionGenerationService:Symbol.for("AISectionGenerationService"),AISeoWriterService:Symbol.for("AISeoWriterService"),AIWebsiteColorsService:Symbol.for("AIWebsiteColorsService"),AIWebsiteCookiesService:Symbol.for("AIWebsiteCookiesService"),AIWebsiteFontsService:Symbol.for("AIWebsiteFontsService"),AIWebsiteSeoService:Symbol.for("AIWebsiteSeoService"),AIWebsiteStoreService:Symbol.for("AIWebsiteStoreService"), 365AIWebsiteTranslationService:Symbol.for("AIWebsiteTranslationService"),AIWebsiteService:Symbol.for("AIWebsiteService"),AIWebsiteWObjectManager:Symbol.for("AIWebsiteWObjectManager"),AIWebsiteWPagesService:Symbol.for("AIWebsiteWPagesService"),AIWidgetService:Symbol.for("AIWidgetService"),AIWrapperFactory:Symbol.for("AIWrapperFactory"),AlignElementsService:Symbol.for("AlignElementsService"),AnimationOnScrollService:Symbol.for("AnimationOnScrollService"),Animator:Symbol.for("Animator"),WebsiteDataStoreService:Symbol.for("WebsiteDataStoreService"), 366AutoSaveService:Symbol.for("AutoSaveService"),AutomaticImportService:Symbol.for("AutomaticImportService"),BackgroundMapCreatorService:Symbol.for("BackgroundMapCreatorService"),BackgroundParallaxService:Symbol.for("BackgroundParallaxService"),BackupService:Symbol.for("BackupService"),BasicFontService:Symbol.for("BasicFontService"),BrowserDetectService:Symbol.for("BrowserDetectService"),ButtonService:Symbol.for("ButtonService"),CKEditorOpenAI:Symbol.for("CKEditorOpenAI"),CarouselService:Symbol.for("CarouselService"), 367CheckoutIntegrationService:Symbol.for("CheckoutIntegrationService"),ClipboardService:Symbol.for("ClipboardService"),CommandService:Symbol.for("CommandService"),ContextMenuService:Symbol.for("ContextMenuService"),CookieBarService:Symbol.for("CookieBarService"),CookiePopupSettingsService:Symbol.for("CookiePopupSettingsService"),CookiePopupIconService:Symbol.for("CookiePopupIconService"),CookieShowSettingsService:Symbol.for("CookieShowSettingsService"),CoreService:Symbol.for("CoreService"),CreateAIWebsiteTemplateService:Symbol.for("CreateAIWebsiteTemplateService"), 368DatePickerService:Symbol.for("DatePickerService"),DispatchActionIcon:Symbol.for("DispatchActionIcon"),DownloadProtectionService:Symbol.for("DownloadProtectionService"),DropImageUpload:Symbol.for("DropImageUpload"),DuplicateService:Symbol.for("DuplicateService"),DynamicMenuService:Symbol.for("DynamicMenuService"),DropdownMenuItemFactory:Symbol.for("DropdownMenuItemFactory"),EditorControlsOverlayService:Symbol.for("EditorControlsOverlayService"),EditorMouseoverManager:Symbol.for("EditorMouseoverManager"), 369EditorRoleService:Symbol.for("EditorRoleService"),EditorSelectionManager:Symbol.for("EditorSelectionManager"),EditorSettingsService:Symbol.for("EditorSettingsService"),ElementRotationService:Symbol.for("ElementRotationService"),EmbeddedElementService:Symbol.for("EmbeddedElementService"),EnvironmentUtils:Symbol.for("EnvironmentUtils"),ElementService:Symbol.for("ElementService"),FeedService:Symbol.for("FeedService"),FeedCategoryService:Symbol.for("FeedCategoryService"),FeedInnerElementFactory:Symbol.for("FeedInnerElementFactory"), 370FeedHtmlBuilder:Symbol.for("FeedHtmlBuilder"),FileManagerService:Symbol.for("FileManagerService"),FontManagerService:Symbol.for("FontManagerService"),FontService:Symbol.for("FontService"),FooterService:Symbol.for("FooterService"),FormService:Symbol.for("FormService"),FurgonetkaIntegrationService:Symbol.for("FurgonetkaIntegrationService"),FurgonetkaPostageService:Symbol.for("FurgonetkaPostageService"),GalleryService:Symbol.for("GalleryService"),GeneralSettingsService:Symbol.for("GeneralSettingsService"), 371GoogleFontService:Symbol.for("GoogleFontService"),GoogleMapsService:Symbol.for("GoogleMapsService"),GradientService:Symbol.for("GradientService"),GroupService:Symbol.for("GroupService"),GuiEditorBaseShortcuts:Symbol.for("GuiEditorBaseShortcuts"),GuiModeService:Symbol.for("GuiModeService"),GuideService:Symbol.for("GuideService"),GuideStoreService:Symbol.for("GuideStoreService"),HeadCodeService:Symbol.for("HeadCodeService"),HeaderBoxService:Symbol.for("HeaderBoxService"),HtmlEditorService:Symbol.for("HtmlEditorService"), 372IdGeneratorService:Symbol.for("IdGeneratorService"),ImageBankService:Symbol.for("ImageBankService"),ImageEditorService:Symbol.for("ImageEditorService"),ImgService:Symbol.for("ImgService"),InfoboxService:Symbol.for("InfoboxService"),InitGUIService:Symbol.for("InitGUIService"),InnerElementControlsVisualiser:Symbol.for("InnerElementControlsVisualiser"),InnerElementService:Symbol.for("InnerElementService"),InpostEasyPackService:Symbol.for("InpostEasyPackService"),InteractionsService:Symbol.for("InteractionsService"), 373JsonUpgradeService:Symbol.for("JsonUpgradeService"),KenBurnsService:Symbol.for("KenBurnsService"),KeyboardService:Symbol.for("Ke
373yboardService"),LanguageService:Symbol.for("LanguageService"),LayerFooterButtonService:Symbol.for("LayerFooterButtonService"),LayerManager:Symbol.for("LayerManager"),LayerNodeFactory:Symbol.for("LayerNodeFactory"),LayerNodeService:Symbol.for("LayerNodeService"),LayerNodeStore:Symbol.for("LayerNodeStore"),LayerService:Symbol.for("LayerService"),LayerStackFactory:Symbol.for("LayerStackFactory"), 374LlmsDataService:Symbol.for("LlmsDataService"),LayoutService:Symbol.for("LayoutService"),LinkDataUrlGenerator:Symbol.for("LinkDataUrlGenerator"),LinkElementService:Symbol.for("LinkElementService"),LocalStorageService:Symbol.for("LocalStorageService"),LocationService:Symbol.for("LocationService"),MarketingService:Symbol.for("MarketingService"),MediaPlayerService:Symbol.for("MediaPlayerService"),MediaService:Symbol.for("MediaService"),MenuItemService:Symbol.for("MenuItemService"),MenuManagerService:Symbol.for("MenuManagerService"), 375MenuToolService:Symbol.for("MenuToolService"),MissingAltTagsService:Symbol.for("MissingAltTagsService"),MouseDragSelectionService:Symbol.for("MouseDragSelectionService"),MultiSectionElementsLockService:Symbol.for("MultiSectionElementsLockService"),NavigationService:Symbol.for("NavigationService"),NavigationFooterService:Symbol.for("NavigationFooterService"),NavigationTopService:Symbol.for("NavigationTopService"),NavigationTopView:Symbol.for("NavigationTopView"),NewLanguageService:Symbol.for("NewLanguageService"), 376NewsCategoryManagerService:Symbol.for("NewsCategoryManagerService"),NewsManagerService:Symbol.for("NewsManagerService"),NewsCategoryService:Symbol.for("NewsCategoryService"),NewsLayoutManagerService:Symbol.for("NewsLayoutManagerService"),NewsLayoutService:Symbol.for("NewsLayoutService"),FeedPaginationService:Symbol.for("FeedPaginationService"),NewsService:Symbol.for("NewsService"),NewsfeedService:Symbol.for("NewsfeedService"),ObjectAnimationService:Symbol.for("ObjectAnimationService"),ObjectDistanceService:Symbol.for("ObjectDistanceService"), 377ObjectEdgeService:Symbol.for("ObjectEdgeService"),ObjectFixService:Symbol.for("ObjectFixService"),ObjectImportHelper:Symbol.for("ObjectImportHelper"),ObjectLibraryService:Symbol.for("ObjectLibraryService"),ObjectLibraryToolWindow:Symbol.for("ObjectLibraryToolWindow"),ObjectRelationService:Symbol.for("ObjectRelationService"),ObjectService:Symbol.for("ObjectService"),OnlineStoreService:Symbol.for("OnlineStoreService"),OnboardingService:Symbol.for("OnboardingService"),OrderHistoryService:Symbol.for("OrderHistoryService"), 378OrderPopupService:Symbol.for("OrderPopupService"),PageAreaBackgroundService:Symbol.for("PageAreaBackgroundService"),PageCanvasService:Symbol.for("PageCanvasService"),PageManagerService:Symbol.for("PageManagerService"),PageService:Symbol.for("PageService"),PaletteService:Symbol.for("PaletteService"),PaymentService:Symbol.for("PaymentService"),PhotoswipeService:Symbol.for("PhotoswipeService"),PopupManager:Symbol.for("PopupManager"),PopupService:Symbol.for("PopupService"),PopupPageManagerService:Symbol.for("PopupPageMangerService"), 379NewsManagementService:Symbol.for("NewsManagementService"),PositionService:Symbol.for("PositionService"),PostageIntegrationService:Symbol.for("PostageIntegrationService"),ProductCategoryService:Symbol.for("ProductCategoryService"),ProductCategoryStore:Symbol.for("ProductCategoryStore"),ProductDescriptionService:Symbol.for("ProductDescriptionService"),ProductLayoutService:Symbol.for("ProductLayoutService"),ProductListPopupService:Symbol.for("ProductListPopupService"),ProductMapGenerator:Symbol.for("ProductMapGenerator"), 380ProductPageService:Symbol.for("ProductPageService"),ProductPageCurrencyService:Symbol.for("ProductPageCurrencyService"),ProfileService:Symbol.for("ProfileService"),ProjectService:Symbol.for("ProjectService"),PublicationRestrictionService:Symbol.for("PublicationRestrictionService"),PublishService:Symbol.for("PublishService"),RelationManagerService:Symbol.for("RelationManagerService"),RwdPropertiesService:Symbol.for("RwdPropertiesService"),RwdService:Symbol.for("RwdService"),RwdSizeTransformerFactory:Symbol.for("RwdSizeTransformerFactory"), 381SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),SchemaGeneratorService:Symbol.for("SchemaGeneratorService"),SchemaGeneratorFactory:Symbol.for("SchemaGeneratorFactory"),SchemaOrganizationGenerator:Symbol.for("SchemaOrganizationGenerator"),SchemaImageGenerator:Symbol.for("SchemaImageGenerator"),SchemaFAQGenerator:Symbol.for("SchemaFAQGenerator"),SchemaMetaDataHelper:Symbol.for("SchemaMetaDataHelper"),SchemaProductPriceHelper:Symbol.for("SchemaProductPriceHelper"),SchemaBaseGenerator:Symbol.for("SchemaBaseGenerator"), 382SchemaWebPageGenerator:Symbol.for("SchemaWebPageGenerator"),SchemaNewsPageGenerator:Symbol.for("SchemaNewsPageGenerator"),SchemaProductPageGenerator:Symbol.for("SchemaProductPageGenerator"),SchemaPageService:Symbol.for("SchemaPageService"),SchemaSettingsStore:Symbol.for("SchemaSettingsStore"),ScreenshotService:Symbol.for("ScreenshotService"),ScrollService:Symbol.for("ScrollService"),SectionIcons:Symbol.for("SectionIcons"),SectionModeService:Symbol.for("SectionModeService"),SeoAutomatonManagerService:Symbol.for("SeoAutomatonManagerService"), 383SeoAutomatonService:Symbol.for("SeoAutomatonService"),SeoCriterion
383Factory:Symbol.for("SeoCriterionFactory"),SeoElementFinder:Symbol.for("SeoElementFinder"),SeoSettingsPopupService:Symbol.for("SeoSettingsPopupService"),ShowPaymentPopupService:Symbol.for("ShowPaymentPopupService"),SimpleTextEditorService:Symbol.for("SimpleTextEditorService"),SnipcartService:Symbol.for("SnipcartService"),SnipcartStoreService:Symbol.for("SnipcartStoreService"),StorageService:Symbol.for("StorageService"),StoreAnalyticsManager:Symbol.for("StoreAnalyticsManager"), 384StoreDotPayPaymentProvider:Symbol.for("StoreDotPayPaymentProvider"),StoreNetopiaPaymentProvider:Symbol.for("StoreNetopiaPaymentProvider"),StoreP24PaymentProvider:Symbol.for("StoreP24PaymentProvider"),StorePayPalPaymentProvider:Symbol.for("StorePayPalPaymentProvider"),StoreAutoPayPaymentProvider:Symbol.for("StoreAutoPayPaymentProvider"),StorePaymentProvider:Symbol.for("StorePaymentProvider"),StorePaymentProviderFactory:Symbol.for("StorePaymentProviderFactory"),StoreService:Symbol.for("StoreService"), 385StoreSettingsMapGenerator:Symbol.for("StoreSettingsMapGenerator"),StoreSettingsService:Symbol.for("StoreSettingsService"),StoreStripePaymentProvider:Symbol.for("StoreStripePaymentProvider"),StyleableComponentSelectorFactory:Symbol.for("StyleableComponentSelectorFactory"),StyleService:Symbol.for("StyleService"),TextEditorService:Symbol.for("TextEditorService"),TextElementService:Symbol.for("TextElementService"),TextStyleService:Symbol.for("TextStyleService"),ToolWindowService:Symbol.for("ToolWindowService"), 386TutorialService:Symbol.for("TutorialService"),UndoButtonService:Symbol.for("UndoButtonService"),UndoService:Symbol.for("UndoService"),UpgradeService:Symbol.for("UpgradeService"),UploadFileService:Symbol.for("UploadFileService"),UserChatService:Symbol.for("UserChatService"),UserFlowService:Symbol.for("UserFlowService"),UserFontService:Symbol.for("UserFontService"),UsersPopupService:Symbol.for("UsersPopupService"),VisibilityKnowledgeService:Symbol.for("VisibilityKnowledgeService"),WElementFactory:Symbol.for("WElementFactory"), 387WElementImageCropperFactory:Symbol.for("WElementImageCropperFactory"),WFooterFactory:Symbol.for("WFooterFactory"),WGroupFactory:Symbol.for("WGroupFactory"),WLayoutGroupFactory:Symbol.for("WLayoutGroupFactory"),WObjectComponentSelectorService:Symbol.for("WObjectComponentSelectorService"),WObjectControlsVisualiser:Symbol.for("WObjectControlsVisualiser"),WObjectEditIcons:Symbol.for("WObjectEditIcons"),WObjectFactory:Symbol.for("WObjectFactory"),WObjectLockService:Symbol.for("WObjectLockService"),WObjectMoveLimitService:Symbol.for("WObjectMoveLimitService"), 388WObjectMoveService:Symbol.for("WObjectMoveService"),WObjectRwdMathService:Symbol.for("WObjectRwdMathService"),WObjectSnapService:Symbol.for("WObjectSnapService"),WPageDuplicateService:Symbol.for("WPageDuplicateService"),WPageFactory:Symbol.for("WPageFactory"),WPageStore:Symbol.for("WPageStore"),WSectionFactory:Symbol.for("WSectionFactory"),WSectionService:Symbol.for("WSectionService"),WebmasterObjectLibraryService:Symbol.for("WebmasterObjectLibraryService"),WebmasterObjectService:Symbol.for("WebmasterObjectService"),
389WebpageBackgroundService:Symbol.for("WebpageBackgroundService"),WebpageService:Symbol.for("WebpageService"),WebpageWithSectionsService:Symbol.for("WebpageWithSectionsService"),WebsiteColorPropertyFactory:Symbol.for("WebsiteColorPropertyFactory"),WebsiteColorService:Symbol.for("WebsiteColorService"),WebsiteColorStyleManager:Symbol.for("WebsiteColorStyleManager"),WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePropertiesService:Symbol.for("WebsitePropertiesService"),WebwaveStorePopupService:Symbol.for("WebwaveStorePopupService"), 390WebwaveTemplateJsonUpgradeService:Symbol.for("WebwaveTemplateJsonUpgradeService"),ZoomService:Symbol.for("ZoomService"),PagePanService:Symbol.for("PagePanService")}},1607:function(e,t,n){var i={FIXED:"fixed",SCROLL:"scroll"};t.a=i},1608:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments); 391return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).type="webwave.link.EmptyLinkData",r}return Object(r.a)(n,[{key:"getShortName",value:function e(){return""}}, 392{key:"isEmptyLink",value:function e(){return!0}}]),n}(n(854).a)},1629:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 393try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.call(this)}return Object(r.a)(n,[{key:"getMessage",value:function e(){return i18n.t("shop.com.webwave.gui.onlineStore.orderPopup.stripe.requiredHttpsConnection")}}]),n}(n(1560).a)},1630:function(e,t,n){n.d(t,"a",function(){return y});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(932),d=n(1174), 394h=n(247);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e, 395t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e){var t=p();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}} 396var y=function(e){Object(s.a)(n,e);var t=g(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"equals",value:function e(t){return t instanceof n!=!1&&Object(o.a)(Object(c.a)(n.prototype),"equals",this).call(this,t)}},{key:"update",value:function e(t){var i;Object(o.a)(Object(c.a)(n.prototype),"update",this).call(this,t),this._paymentProvider=h.a.NETOPIA,this._selectedVariant=null!==(i=t.selectedVariant)&&void 0!==i?i:n.INITIAL_VALUE,this._name=this._getOrLoadDefaultName(t.name)}}, 397{key:"_getOrLoadDefaultName",value:function e(t){return i18n.t("shop.c
397om.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider))}},{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(v({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this,t)),{},{selectedVariant:this._selectedVariant})}},{key:"getDataToOrder",value:function e(){return{paymentMethodId:this.uniqueId, 398paymentMethodSelectedVariant:this._selectedVariant}}},{key:"name",get:function e(){return i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider))}},{key:"paymentMethodName",get:function e(){return this._selectedVariant?this.getVariantName(this._selectedVariant):i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider))}},{key:"getVariantName", 399value:function e(t){return i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.variant.netopia.".concat(t))}},{key:"getSelectOptions",value:function e(t){var i=this;return n.VARIANTS.map(function(e){return(new d.a(i,t.getTranslate("online"),e)).getMap()})}},{key:"checkUniqueId",value:function e(t){var i=this;return this._selectedVariant=n.VARIANTS.find(function(e){return"".concat(i.uniqueId,"_").concat(e)===t}),webwave.isDef(this._selectedVariant)}}, 400{key:"getUniqueIdForVariant",value:function e(t){return"".concat(this.uniqueId,"_").concat(t)}},{key:"getIdForPaymentOptionSelector",value:function e(){return"".concat(this.uniqueId,"_").concat(this._selectedVariant)}}]),n}(l.a);y.VARIANTS=["card","bnpl"],y.INITIAL_VALUE=y.VARIANTS[0]},1631:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(1339),l=n(74),d=n(11),h=n.n(d);function f(e){var t=v();return function n(){var i=Object(s.a)(e),r;if(t){var a= 401Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(a.a)(n,e);var t=f(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n, 402[{key:"deserializeValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._value=new c.a({to:webwave.isDefAndNotNull(t.to)?t.to/100:void 0,from:webwave.isDefAndNotNull(t.from)?t.from/100:void 0,unit:n.WEIGHT_UNIT,validator:l.a.POSITIVE_FLOAT_VALUE_SHORT_MESSAGE,placeholder:{from:"0",to:"30"}})}},{key:"getSerializeValue",value:function e(){var t=this._value.serialize(),n=d.MathUtils.setFloatPriceToLong(t.from),i=d.MathUtils.setFloatPriceToLong(t.to);return{from:webwave.isNumberAndNotNaN(n)? 403n:null,to:webwave.isNumberAndNotNaN(i)?i:null}}},{key:"weightInRange",value:function e(t){return this.value.valueInRange(t)}}]),n}(u.a);g.WEIGHT_UNIT="kg"},1632:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 404if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this._value=webwave.isDefAndNotNull(t)? 405t:""}},{key:"isEnable",value:function e(){return!0===this._enable}},{key:"getValue",value:function e(){return this._value}},{key:"serialize",value:function e(){return{enable:!!webwave.isDefAndNotNull(this._value)&&this.enable,value:this._value}}}]),n}(n(69).a)},1633:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(74);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i, 406arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(){var t=arguments.length> 4070&&void 0!==arguments[0]?arguments[0]:"";webwave.isDefAndNotNull(t)&&(this._value=c.a.POSITIVE_NUMBER.validate(t)?t:void 0)}},{key:"getSerializeValue",value:function e(){return this._value}}]),n}(u.a)},1634:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(182),c=n(1552);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this, 408r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new c.a(t)}},{key:"decorateByServerData",value:function e(t){webwave.isNotDef(t)|| 409(this._id=t.id,this._enable=t.enable||!1,this.deserializeValue(t.value||[]))}},{key:"findDiscountCodeByCode",value:function e(t){if(this.enable)return this.value.find(function(e){return e.code===t})}},{key:"checkIsEnable",value:function e(){var t=this.value.filter(function(e){return!0===e.deleted});return 0!==this.value.length&&t.length!==this.value.length&&this.enable}},{key:"removeOption",value:function e(t){t.setDeleted()}},{key:"hasActiveDiscountCodes",value:function e(){var t;return!!this.enable&& 410this.value.filter(function(e){return!1===e.isExpired()}).length>0}}]),n}(u.a)},1635:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.currency=webwave.isStringAndNotEmpty(t.currency)?t.currency:i18n.t("shop.c
410om.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.default.currency"),this.taxValue="".concat(a.StoreUtils.getValidTaxValue(t.taxValue),"%"), 411this.availableTaxInvoices=!!t.availableTaxInvoices&&t.availableTaxInvoices,this.logoId=t.logoId?t.logoId:void 0,this.logoUrl=t.logoUrl?t.logoUrl:void 0}return Object(r.a)(e,[{key:"decorateByServerData",value:function e(t){webwave.isDefAndNotNull(t.currency)&&(this.currency=t.currency),webwave.isDefAndNotNull(t.availableTaxInvoices)&&(this.availableTaxInvoices=t.availableTaxInvoices),webwave.isDefAndNotNull(t.taxValue)&&(this.taxValue="".concat(a.StoreUtils.getValidTaxValue(t.taxValue),"%")),webwave.isDefAndNotNull(t.logoId)&& 412(this.logoId=t.logoId),webwave.isDefAndNotNull(t.logoUrl)&&(this.logoUrl=t.logoUrl)}},{key:"setLogoId",value:function e(t){this.logoId=t}},{key:"setLogoUrl",value:function e(t){this.logoUrl=t}},{key:"getTaxValue",value:function e(){return a.StoreUtils.getValidTaxValue(this.taxValue)}},{key:"serialize",value:function e(){return{currency:this.currency,taxValue:this.getTaxValue(),availableTaxInvoices:this.availableTaxInvoices,logoUrl:this.logoUrl,logoId:this.logoId}}}]),e}()},1636:function(e,t,n){n.d(t, 413"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(11),l=n.n(c);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 414[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"calculateMissingAmount",value:function e(t){return this.enable&&!1===this.minimumValueReached(t)?this.getValueForBackend()-t:0}},{key:"deserializeValue",value:function e(t){webwave.isNumberAndNotNaN(Number.parseInt(t))?this._value=t/100:this._value=void 0}},{key:"equals",value:function e(t){return t instanceof n!=!1&&(this.enable=== 415t.enable&&this.value===t.value&&this.id===t.id)}},{key:"getSerializeValue",value:function e(){return this.getValueForBackend()}},{key:"getValueForBackend",value:function e(){return webwave.isDefAndNotNull(this._value)?c.MathUtils.setFloatPriceToLong(c.NumberUtils.normalizeStringForNumberParsing(this._value.toString())):""}},{key:"minimumValueReached",value:function e(t){return!this.enable||t>=this.getValueForBackend()}}]),n}(u.a)},1637:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r= 416n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(1638);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h= 417function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"getSerializeValue",value:function e(){return this._value.serialize()}},{key:"deserializeValue",value:function e(t){this._value=new c.a(t)}},{key:"setHeaderColor",value:function e(t){this._value.setHeaderColor(t)}},{key:"value",get:function e(){return!0===this.enable?this._value:this.getDefaultValue()}},{key:"getDefaultValue",value:function e(){return new c.a}},{key:"changeWebsiteColorConnection", 418value:function e(t){var n=!1,i;webwave.isDefAndNotNull(this._value)&&webwave.isFunction(this._value.changeWebsiteColorConnection)&&(n=null===(i=this._value)||void 0===i?void 0:i.changeWebsiteColorConnection(t));return n}}]),n}(u.a)},1638:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(1639),u=n(123),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._buttonsColor=webwave.isStringAndNotEmpty(t.buttonsColor)? 419t.buttonsColor:s.a.BUTTON_COLOR,this._headerColor=webwave.isStringAndNotEmpty(t.headerColor)?t.headerColor:s.a.HEADER_COLOR,this._headerTextColor=webwave.isStringAndNotEmpty(t.headerTextColor)?t.headerTextColor:s.a.HEADER_TEXT_COLOR,this._backgroundColor=s.a.BACKGROUND_COLOR,this._buttonsText=s.a.BUTTON_TEXT_COLOR,this._closeButtonColor=s.a.CLOSE_BUTTON_COLOR,this._errorHeaderColor=s.a.ERROR_HEADER_COLOR,this._headerNotSelectedOptionTextColor=this.calculateHeaderNotSelected(),this._inputFocusShadow= 420s.a.INPUT_FOCUS_SHADOW,this._otherButtonsColor=s.a.OTHER_BUTTONS_COLOR,this._tableHeaderTextColor=s.a.TABLE_HEADER_TEXT_COLOR,this._textColor=s.a.TEXT_COLOR,this._textDescriptionItemColor=s.a.TEXT_DESCRIPTION_ITEM_COLOR}return Object(r.a)(e,[{key:"calculateHeaderNotSelected",value:function e(){return a.Color.rgb2hsl(this._headerColor).L<76?s.a.HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_LIGHT:s.a.HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_DARK}},{key:"setHeaderColor",value:function e(t){this._headerColor=t, 421this._headerNotSelectedOptionTextColor=this.calculateHeaderNotSelected()}},{key:"headerColor",get:function e(){return this._headerColor}},{key:"setHeaderTextColor",value:function e(t){this._headerTextColor=t}},{key:"headerTextColor",get:function e(){return this._headerTextColor}},{key:"setButtonsColor",value:function e(t){this._buttonsColor=t}},{key:"buttonsColor",get:function e(){return this._buttonsColor}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i=u.a.getValueAfterWebsiteConnectionChange(this.buttonsColor, 422t),r=u.a.getValueAfterWebsiteConnectionChange(this.headerTextColor,t),a=u.a.getValueAfterWebsiteConnectionChange(this.headerColor,t);return i!==this.buttonsColor&&(this.setButtonsColor(i),n=!0),r!==this.headerTextColor&&(this.setHeaderTextColor(r),n=!0),a!==this.headerColor&&(this.setHeaderColor(a),n=!0),n}},{key:"getLayoutColors",value:function e(){return{"--backgroundColor":this._backgroundColor,"--buttonsColor":this._buttonsColor,"--buttonsTextColor":this._buttonsText,"--headerColor":this._headerColor, 423"--headerNotSelectedOptionTextColor":this._headerNotSelectedOptionTextColor,"--headerTextColor":this._headerTextColor,"--inputFocusShadowColor":this._inputFocusShadow,"--otherButtonsColor":this._otherButtonsColor,"--tableHeaderTextColor":this._tableHeaderTextColor,"--textColor":this._textColor,"--textDescriptionItemColor":this._textDescriptionItemColor,"--textHeaderErrorColor":this._errorHeaderColor,"--popup__close-icon_color":this._headerTextColor,"--popup__close-icon--hover_color":this._headerTextColor}}}, 424{key:"serialize",value:function e(){return{backgroundColor:this._backgroundColor,buttonsColor:this._buttonsColor,buttonsTextColor:this._buttonsText,closeButtonColor:this._closeButtonColor,errorHeaderColor:this._errorHeaderColor,headerColor:this._headerColor,headerNotSelectedOptionTextColor:this._headerNotSelectedOptionTextColor,headerTextColor:this._headerTextColor,inputFocusShadowColor:this._inputFocusShadow,otherButtonsColor:this._otherButtonsColor,tableHeaderTextColor:this._tableHeaderTextColor, 425textColor:this._textColor,textDescriptionItemColor:this._textDescriptionItemColor}}}]),e}()},1639:function(e,t,n){t.a={BACKGROUND_COLOR:"#fff",BUTTON_COLOR:"#000",BUTTON_TEXT_COLOR:"#fff",CLOSE_BUTTON_COLOR:"",ERROR_HEADER_COLOR:"#DA2B2B",HEADER_COLOR:"#EDEDED",HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_DARK:"#000000",HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_LIGHT:"#ffffff",HEADER_TEXT_COLOR:"#000000",INPUT_FOCUS_SHADOW:"#D2D2D2",OTHER_BUTTONS_COLOR:"#EDEDED",TABLE_HEADER_TEXT_COLOR:"#555",TEXT_COLOR:"#333", 426TEXT_DESCRIPTION_ITEM_COLOR:"#9B9B9B"}},1640:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(1641);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 427[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){webwave.isString(t)?this._value=new c.a({body:t}):this._value=new c.a(t)}},{key:"getSerializeValue",value:function e(){return this._value.serialize()}},{key:"title",get:function e(){if(this.enable)return this._value.title}},{key:"body",get:function e(){if(this.enable)return this._value.body}}, 428{key:"serializeValue",get:function e(){return this.value?this.value.serialize():{}}}]),n}(u.a)},1641:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._title=t.title,this._body=t.body}return Object(r.a)(e,[{key:"body",get:function e(){return this._body},set:function e(t){this._body=t}},{key:"title",get:function e(){return this._title},set:function e(t){this._title=t}}, 429{key:"serialize",value:function e(){return{title:this._title,body:this._body}}}]),e}()},1642:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(182),c=n(1326);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 430if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new c.a(t)}},{key:"removeOption",value:function e(t){t.setDeleted(!0)}}]),n}(u.a)},1643:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u= 431n(69),c=n(1297);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n, 432e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){this._value=new c.a(t)}},{key:"getDataToOrder",value:function e(){if(this.enable)return JSON.stringify(this.getSerializeValue())}},{key:"getSerializeValue",value:function e(){return this._value.serialize()}}]),n}(u.a)},1645:function(e,t,n){var i={OWN_SIZE:0,CHILDREN_SIZE:1};t.a=i},1646:function(e,t,n){t.a={SHOW:"show",HIDE:"hide",TOGGLE:"toggle"}},1647:function(e, 433t,n){t.a={LEFT:"left",BOTTOM:"bottom",RIGHT:"right"}},1648:function(e,t,n){t.a={AddPaymentInfoEvent:"add_payment_info",AddShippingInfoEvent:"add_shipping_info",AddToCardEvent:"add_to_cart",BeginCheckoutEvent:"begin_checkout",PurchaseEvent:"purchase",RemoveFromCartEvent:"remove_from_cart",ViewCartEvent:"view_cart",ViewItemEvent:"view_item"}},1654:function(e,t,n){n.d(t,"a",function(){return v});var i=n(15),r=n(0),a=n(1),o=n(918),s=n(1578),u=n(1773),c=n(1308),l=n(1807),d=n(1238);function h(e,t){var n= 434Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
434t%2?h(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e, 435t,Object.getOwnPropertyDescriptor(n,t))})}return e}var v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(r.a)(this,e),this.background=t.background instanceof o.a?t.background:new o.a,this.padding=t.padding instanceof c.a?t.padding:new c.a,this.border=t.border instanceof u.a?t.border:new u.a,this.shadow=t.shadow instanceof l.a?t.shadow:new l.a,this.opacity=webwave.isDef(t.opacity)?t.opacity:100,this.opacityEnabled=webwave.isDef(t.opacityEnabled)?t.opacityEnabled: 436this.opacity<100,this.filter=webwave.isDef(t.filter)?t.filter:new d.a,this.backgroundOverlay=webwave.isDef(t.backgroundOverlay)?t.backgroundOverlay:new s.a}return Object(a.a)(e,[{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=webwave.isDefAndNotNull(this.background)?this.background.serialize(t):void 0,i=webwave.isDefAndNotNull(this.padding)?this.padding.serialize():void 0,r=webwave.isDefAndNotNull(this.border)?this.border.serialize():void 0,a= 437webwave.isDefAndNotNull(this.shadow)?this.shadow.serialize():void 0,o=webwave.isDefAndNotNull(this.filter)?this.filter.serialize():void 0,s=webwave.isDefAndNotNull(this.backgroundOverlay)?this.backgroundOverlay.serialize():void 0;return{background:n,padding:i,border:r,shadow:a,opacity:this.opacity,opacityEnabled:this.opacityEnabled,filter:o,backgroundOverlay:s}}},{key:"getCssOpacity",value:function e(){return this.getComputedOpacity()/100}},{key:"getComputedOpacity",value:function e(){return this.opacityEnabled? 438this.opacity:100}},{key:"isFullyVisible",value:function e(){return 100===this.getComputedOpacity()&&this.background.isNonTransparentBackgroundAvailable()}},{key:"getOpacityEnabled",value:function e(){return this.opacityEnabled}},{key:"toCss2Map",value:function e(){return f(f(f(f(f({opacity:this.getCssOpacity()},this.padding.toCss2Map()),this.border.toCss2Map()),this.shadow.toCss2Map()),this.background.toCss2Map()),this.filter.toCss2Map())}}
438,{key:"toContentStyleString",value:function e(){var t=$("<div />"); 439return t.css(this.toCss2Map()),t.attr("style")}},{key:"toBackgroundOverlayStyleString",value:function e(){return"border-radius: ".concat(this.border.getComputedRadius(),"px;").concat(this.backgroundOverlay.toCssString())}},{key:"applyPartialObjectStyle",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.background)&&this.background.applyPartialBackgroundMap(t.background),webwave.isDef(t.border)&&this.border.applyPartialBorderMap(t.border),webwave.isDef(t.padding)&&this.padding.applyPartialPaddingMap(t.padding), 440webwave.isDef(t.backgroundOverlay)&&this.getBackgroundOverlay().mergeStyle(t.backgroundOverlay),webwave.isDef(t.shadow)&&this.shadow.applyPartialShadowMap(t.shadow),webwave.isNumberAndNotNaN(t.opacity)&&(this.opacity=t.opacity),webwave.isBoolean(t.opacityEnabled)&&(this.opacityEnabled=t.opacityEnabled),webwave.isDef(t.filter)&&this.setFilter(t.filter.clone()))}},{key:"setFilter",value:function e(t){this.filter=t}},{key:"getFilter",value:function e(){return this.filter}},{key:"setBackgroundOverlay", 441value:function e(t){this.backgroundOverlay=t}},{key:"getBackgroundOverlay",value:function e(){return this.backgroundOverlay}},{key:"clone",value:function t(){return e.deserialize(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i,r,a,o=null===(n=this.background)||void 0===n?void 0:n.changeWebsiteColorConnection(t),s=null===(i=this.backgroundOverlay)||void 0===i?void 0:i.changeWebsiteColorConnection(t),u=null===(r=this.border)||void 0===r?void 0:r.changeWebsiteColorConnection(t), 442c=null===(a=this.shadow)||void 0===a?void 0:a.changeWebsiteColorConnection(t);return!0===o||!0===s||!0===u||!0===c}},{key:"isParallaxActive",value:function e(){var t;return null===(t=this.background)||void 0===t?void 0:t.isParallaxActive()}}],[{key:"deserialize",value:function t(n){return void 0===n&&(n={}),new e({background:new o.a(n.background),padding:c.a.deserialize(n.padding),border:u.a.deserialize(n.border),shadow:l.a.deserialize(n.shadow),opacity:n.opacity,opacityEnabled:n.opacityEnabled,filter:d.a.deserialize(n.filter), 443backgroundOverlay:new s.a(n.backgroundOverlay)})}}]),e}()},1655:function(e,t,n){t.a={DISABLED:"disabled",BASIC_KEN_BURNS:"basicKenBurns"}},1656:function(e,t,n){t.a={BLOCK:"block",NONE:"none"}},1660:function(e,t,n){var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1720);function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect|| 444!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}!function(e){webwave.provide("com.webwave.publication.object.WElement");var t=function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"recreateContent",value:function e(){}},{key:"recreate",value:function e(){this.recreateContent()}}, 445{key:"getGroup",value:function e(){return com.webwave.publication.object.ObjectService.getInstance().getWObjectById(this.getDomObject().attr("groupid"))}},{key:"getAnimatingContent",value:function e(){return this.getContent()}},{key:"canBeRotated",value:function e(){return!0}}]),n}(u.a);com.webwave.publication.object.WElement=t}(window),t.a=com.webwave.publication.object.WElement},1661:function(e,t,n){var i=n(11),r=n.n(i),a={SELF:"self",NEW_TAB:"blank"};i.TranslationPrefix.addTranslationPrefix(a, 446"com.webwave.link.LinkTargets"),t.a=a},1662:function(e,t,n){var i={ANCHOR:"anchor",CUSTOM:"customLink",INTERACTION:"interaction",NEWSPAGE:"newspage",NO_LINK:"noLink",OBJECT:"object",PRODUCTPAGE:"productpage",WEBPAGE:"webpage"};t.a=i},1663:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1812),c=n(1813),l=n(43),d=n.n(l),h=n(26),f=n(14),v=n.n(f),g,p;function y(e){var t=b();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor; 447r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m=(g=Object(f.injectable)())(p=function(e){Object(a.a)(n,e);var t=y(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this)).prefixes=n.getPrefixesFromMap(), 448e}return Object(r.a)(n,[{key:"parseNumber",value:function e(t,n){return t.startsWith("+")?this.parseForMethod(t,n,u.a.PLUS):t.startsWith("00")?this.parseForMethod(t,n,u.a.DOUBLE_ZERO):t.match(/^\d/)&&!1===t.startsWith("0")?this.parse(t,n):!0===t.startsWith("0")?this.parseForMethod(t,n,u.a.SINGLE_ZERO):this.getDefault(t,n)}},{key:"parseForMethod",value:function e(t,n,i){switch(i){case u.a.PLUS:t=t.replace("+","");break;case u.a.DOUBLE_ZERO:t=t.replace("00","");break;case u.a.SINGLE_ZERO:t=t.replace("0", 449"");break}return this.parse(t,n)}},{key:"parse",value:function e(t,n){var i="";if(t.length>9)for(var r=0;r<8;r++)if(i+=t[r],this.prefixes.includes("+"+i)){var a=i;return t=t.substring(r+1,t.length),new c.a("+"+a,t)}return this.getDefault(t,n)}},{key:"getDefault",value:function e(t,n){var i=this.getPrefixByCountry(n);return new c.a(i,t)}},{key:"getPrefixes",value:function e(){return this.prefixes}},{key:"getPrefixByCountry",value:function e(t){var n;return webwave.isDefAndNotNull(t)&&(n=l.PhonePrefix[t.toUpperCase()]), 450!1===webwave.isDef(n)&&(n=l.PhonePrefix.PL),n}}],[{key:"getPrefixesFromMap",value:function e(){var t=Object.values(l.PhonePrefix);return t.filter(function(e,n){return t.indexOf(e)==n})}},{key:"getPrefixesOptions",value:function e(){for(var t=n.getPrefixesFromMap(),i=[],r=0;r<t.length;r++)i.push({label:t[r],value:t[r]});return i}}]),n}(h.a))||p},1665:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(1307),o=n(51),s=n(40),u=n(14),c=n.n(u),l,d,h=(l=Object(u.injectable)())(d=function(){function e(){Object(i.a)(this, 451e),this._currentSize=this._getCurrentWindowSize(),this._sizeChangeListeners=[],this._browserZoomLevelChangeListeners=[],this._browserZoomLevel=new a.a,this._initEvents()}return Object(r.a)(e,[{key:"_getCurrentWindowSize",value:function e(){var t=parseInt(window.innerWidth,10),n=parseInt(window.innerHeight,10);return isNaN(t)&&(t=0),isNaN(n)&&(n=0),new s.a({width:t,height:n})}},{key:"_notifySizeChangeListeners",value:function e(t,n){for(var i=0;i<this._sizeChangeListeners.length;i++)this._sizeChangeListeners[i].onWindowSizeChange(t, 452n)}},{key:"_notifyBrowserZoomLevelListeners",value:function e(t,n){for(var i=0;i<this._browserZoomLevelChangeListeners.length;i++)this._browserZoomLevelChangeListeners[i].onBrowserZoomLevelChange(t,n)}},{key:"getCurrentSize",value:function e(){return this._currentSize}},{key:"setCurrentSize",value:function e(t){if(!1===this._currentSize.equals(t)){var n=this._currentSize.clone();this._currentSize=t,this._notifySizeChangeListeners(t,n)}}},{key:"_updateCurrentSize",value:function e(){this.setCurrentSize(this._getCurrentWindowSize())}}, 453{key:"_updateCurrentZoomLevel",value:function e(){var t=this._browserZoomLevel.getBrowserZoom(),n;this._browserZoomLevel.zoomValueChanged()&&this._notifyBrowserZoomLevelListeners(this._browserZoomLevel.getBrowserZoom(),t)}},{key:"_initEvents",value:function e(){var t=this;window.onresize=function(){t._updateCurrentSize.call(t),t._updateCurrentZoomLevel.call(t)}}},{key:"addSizeChangeListener",value:function e(t){-1===this._sizeChangeListeners.indexOf(t)&&this._sizeChangeListeners.push(t)}},{key:"addBrowserZoomLevelChangeListener", 454value:function e(t){-1===this._browserZoomLevelChangeListeners.indexOf(t)&&this._browserZoomLevelChangeListeners.push(t)}},{key:"convertPointToRightOrigin",value:function e(t){return new o.a({x:this._currentSize.getWidth()-t.getX(),y:t.getY()})}}]),e}())||d},1669:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r= 455i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;if(Object(i.a)(this,n),void 0===e||void 0===e.objectId)throw webwave.debug("No object provided!"),new Error("No object provided!"); 456e.type="webwave.link.ObjectLinkData",(r=t.call(this,e)).objectId=e.objectId,r.pageId=e.pageId;var a=parseInt(e.scrollDistance);return r.scrollDistance=isNaN(a)||a<0?0:a,r}return Object(r.a)(n,[{key:"getShortName",value:function e(){return this.objectId}},{key:"getObjectName",value:function e(){var t=objectService.getWObjectById(this.objectId);return webwave.isDef(t)?t.getName():this.objectId}},{key:"getScrollDistance",value:function e(){return this.scrollDistance}},{key:"setScrollDistance",value:function e(t){t= 457parseInt(t),!1===isNaN(t)&&t>0?this.scrollDistance=t:this.scrollDistance=0}},{key:"setPageId",value:function e(t){this.pageId=t}},{key:"getPageId",value:function e(){return this.pageId}},{key:"setObjectId",value:function e(t){this.objectId=t}},{key:"getObjectId",value:function e(){return this.objectId}}
457,{key:"toJSON",value:function e(){return{type:this.type,objectId:this.objectId,pageId:this.pageId,scrollDistance:this.scrollDistance}}}]),n}(n(854).a)},167:function(e,t,n){n.d(t,"a",function(){return m}); 458var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(14),l=n.n(c),d=n(99),h=n(215),f=n(858),v=n(230),g,p;function y(e){var t=b();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 459[],function(){})),!0}catch(e){return!1}}var m=(g=Object(c.injectable)())(p=function(e){Object(o.a)(n,e);var t=y(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this))._visiblePopups=[],e._registeredPopups=[],e.lockService=null,e}return Object(r.a)(n,[{key:"popupClosed",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"popupClosed",this).call(this,t),r=this._visiblePopups[this._visiblePopups.length-1];webwave.isDef(r)?webwave.isStringAndNotEmpty(i.analyticsPageView)&&webwave.isStringAndNotEmpty(r.analyticsPageView)&& 460webwave.analyticsUtils.sendPageview(r.analyticsPageView):webwave.isStringAndNotEmpty(i.analyticsPageView)&&webwave.analyticsUtils.sendPageview()}},{key:"popupOpened",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"popupOpened",this).call(this,t);!0!==i.deactivateSendPageView&&webwave.isStringAndNotEmpty(i.analyticsPageView)&&webwave.analyticsUtils.sendPageview(i.analyticsPageView),webwave.isDefAndNotNull(i._element)&&this.sendEventToAmplitudeIfFirstOpened(i._element.id)}},{key:"sendEventToAmplitudeIfFirstOpened", 461value:function e(t){f.a.hasOwnProperty(t)&&(f.a[t]===f.a.filemanager_popup?setTimeout(function(){coreService.triggerEditorEvent("openPopup",f.a.filemanager_popup)},100):coreService.triggerEditorEvent("openPopup",f.a[t]))}},{key:"findPopupByHolderId",value:function e(t){return this._registeredPopups.find(function(e){return e.holderId===t})}}],[{key:"setBodyScrollOn",value:function e(){document.body.style.overflow="",document.body.style.marginRight="",document.body.style.removeProperty("--body-right-margin")}}, 462{key:"setBodyScrollOff",value:function e(){var t=document.body.clientWidth;document.body.style.overflow="hidden";var n=document.body.clientWidth-t;n>0&&(document.body.style.marginRight="".concat(n,"px"),document.body.style.setProperty("--body-right-margin","".concat(n,"px")))}}]),n}(v.a))||p;webwave.provide("com.webwave.ui.popup.PopupManager"),com.webwave.ui.popup.PopupManager=m},1670:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(3),a=n(4),o=n(2),s;function u(e){var t=c();return function n(){var i= 463Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=function(e){Object(r.a)(n,e);var t=u(n);function n(){Object(i.a)(this,n);var e={type:"webwave.link.ShowShopCardLinkData"}; 464return t.call(this,e)}return n}(n(854).a)},168:function(e,t,n){(function(e,t){var n;!function(n){!function(e){var i="object"==typeof t?t:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),r=a(n);function a(e,t){return function(n,i){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:i}),t&&t(n,i)}}void 0===i.Reflect?i.Reflect=n:r=a(i.Reflect,r),e(r)}(function(t){var n=Object.prototype.hasOwnProperty,i="function"==typeof Symbol,r=i&&void 0!== 465Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=i&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,u=!o&&!s,c={create:o?function(){return ae(Object.create(null))}:s?function(){return ae({__proto__:null})}:function(){return ae({})},has:u?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:u?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),d="object"== 466typeof e&&Object({NODE_ENV:"development"})&&"true"===Object({NODE_ENV:"development"}).REFLECT_METADATA_USE_MAP_POLYFILL,h=d||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?ne():Map,f=d||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?ie():Set,v,g=new (d||"function"!=typeof WeakMap?re():WeakMap);function p(e,t,n,i){if(M(n)){if(!Y(e))throw new TypeError;if(!q(t))throw new TypeError;return A(e,t)}if(!Y(e))throw new TypeError;if(!F(t))throw new TypeError;if(!F(i)&&!M(i)&& 467!B(i))throw new TypeError;return B(i)&&(i=void 0),E(e,t,n=G(n),i)}
467function y(e,t){function n(n,i){if(!F(n))throw new TypeError;if(!M(i)&&!X(i))throw new TypeError;j(e,t,n,i)}return n}function b(e,t,n,i){if(!F(n))throw new TypeError;return M(i)||(i=G(i)),j(e,t,n,i)}function m(e,t,n){if(!F(t))throw new TypeError;return M(n)||(n=G(n)),C(e,t,n)}function w(e,t,n){if(!F(t))throw new TypeError;return M(n)||(n=G(n)),T(e,t,n)}function S(e,t,n){if(!F(t))throw new TypeError;return M(n)||(n=G(n)),N(e,t,n)}function O(e, 468t,n){if(!F(t))throw new TypeError;return M(n)||(n=G(n)),D(e,t,n)}function _(e,t){if(!F(e))throw new TypeError;return M(t)||(t=G(t)),R(e,t)}function k(e,t){if(!F(e))throw new TypeError;return M(t)||(t=G(t)),L(e,t)}function P(e,t,n){if(!F(t))throw new TypeError;M(n)||(n=G(n));var i=I(t,n,!1);if(M(i))return!1;if(!i.delete(e))return!1;if(i.size>0)return!0;var r=g.get(t);return r.delete(n),r.size>0||(g.delete(t),!0)}function A(e,t){for(var n=e.length-1;n>=0;--n){var i,r=(0,e[n])(t);if(!M(r)&&!B(r)){if(!q(r))throw new TypeError; 469t=r}}return t}function E(e,t,n,i){for(var r=e.length-1;r>=0;--r){var a,o=(0,e[r])(t,n,i);if(!M(o)&&!B(o)){if(!F(o))throw new TypeError;i=o}}return i}function I(e,t,n){var i=g.get(e);if(M(i)){if(!n)return;i=new h,g.set(e,i)}var r=i.get(t);if(M(r)){if(!n)return;r=new h,i.set(t,r)}return r}function C(e,t,n){var i;if(T(e,t,n))return!0;var r=te(t);return!B(r)&&C(e,r,n)}function T(e,t,n){var i=I(t,n,!1);return!M(i)&&z(i.has(e))}function N(e,t,n){var i;if(T(e,t,n))return D(e,t,n);var r=te(t);return B(r)? 470void 0:N(e,r,n)}function D(e,t,n){var i=I(t,n,!1);if(!M(i))return i.get(e)}function j(e,t,n,i){var r;I(n,i,!0).set(e,t)}function R(e,t){var n=L(e,t),i=te(e);if(null===i)return n;var r=R(i,t);if(r.length<=0)return n;if(n.length<=0)return r;for(var a=new f,o=[],s=0,u=n;s<u.length;s++){var c=u[s],l;(l=a.has(c))||(a.add(c),o.push(c))}for(var d=0,h=r;d<h.length;d++){var c=h[d],l;(l=a.has(c))||(a.add(c),o.push(c))}return o}function L(e,t){var n=[],i=I(e,t,!1);if(M(i))return n;for(var r,a=Z(i.keys()),o= 4710;;){var s=Q(a);if(!s)return n.length=o,n;var u=J(s);try{n[o]=u}catch(e){try{ee(a)}finally{throw e;}}o++}}function x(e){if(null===e)return 1;switch(typeof e){case "undefined":return 0;case "boolean":return 2;case "string":return 3;case "symbol":return 4;case "number":return 5;case "object":return null===e?1:6;default:return 6}}function M(e){return void 0===e}function B(e){return null===e}function V(e){return"symbol"==typeof e}function F(e){return"object"==typeof e?null!==e:"function"==typeof e}function W(e, 472t){switch(x(e)){case 0:return e;case 1:return e;case 2:return e;case 3:return e;case 4:return e;case 5:return e}var n=3===t?"string":5===t?"number":"default",i=K(e,r);if(void 0!==i){var a=i.call(e,n);if(F(a))throw new TypeError;return a}return U(e,"default"===n?"number":n)}function U(e,t){if("string"===t){var n=e.toString,i,r,i;if($(n))if(!F(i=n.call(e)))return i;if($(r=e.valueOf))if(!F(i=r.call(e)))return i}else{var r,i;if($(r=e.valueOf))if(!F(i=r.call(e)))return i;var a=e.toString,i;if($(a))if(!F(i= 473a.call(e)))return i}throw new TypeError;}function z(e){return!!e}function H(e){return""+e}function G(e){var t=W(e,3);return V(t)?t:H(t)}function Y(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function $(e){return"function"==typeof e}function q(e){return"function"==typeof e}function X(e){switch(x(e)){case 3:return!0;case 4:return!0;default:return!1}}function K(e,t){var n=e[t];if(void 0!==n&&null!==n){if(!$(n))throw new TypeError; 474return n}}function Z(e){var t=K(e,a);if(!$(t))throw new TypeError;var n=t.call(e);if(!F(n))throw new TypeError;return n}function J(e){return e.value}function Q(e){var t=e.next();return!t.done&&t}function ee(e){var t=e.return;t&&t.call(e)}function te(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,i=n&&Object.getPrototypeOf(n);if(null==i||i===Object.prototype)return t;var r=i.constructor;return"function"!=typeof r?t:r===e?t:r}function ne(){var e= 475{},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>= 4760&&(this._index=-1,this._keys=t,this._values=t),e;},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1); 477return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var i=this._keys.length,r=n+1;r<i;r++)this._keys[r-1]=this._keys[r],this._values[r-1]=this._values[r];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex= 478-2},t.prototype.keys=function(){return new n(this._keys,this._values,i)},t.prototype.values=function(){return new n(this._keys,this._values,r)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e), 479this._values.push(void 0)),this._cacheIndex},t}();function i(e,t){return e}function r(e,t){return t}function o(e,t){return[e,t]}}function ie(){return function(){function e(){this._map=new h}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()}, 480e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}()}function re(){var e=16,t=c.create(),i=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=a(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=a(e,!1);return void 0!== 481t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){var n;return a(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=a(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var e;do e="@@WeakMap@@"+u();while(c.has(t,e));return t[e]=!0,e}function a(e,t){if(!n.call(e,i)){if(!t)return;Object.defineProperty(e,i,{value:c.create()})}return e[i]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function s(e){return"function"== 482typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):o(new Uint8Array(e),e):o(new Array(e),e)}function u(){var t=s(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",i=0;i<e;++i){var r=t[i];4!==i&&6!==i&&8!==i||(n+="-"),r<16&&(n+="0"),n+=r.toString(16).toLowerCase()}return n}}function ae(e){return e.__=void 0,delete e.__,e}t("decorate",p),t("metadata",y),t("defineMetadata",b),t("hasMetadata", 483m),t("hasOwnMetadata",w),t("getMetadata",S),t("getOwnMetadata",O),t("getMetadataKeys",_),t("getOwnMetadataKeys",k),t("deleteMetadata",P)})}(n||(n={}))}).call(t,n(134),n(41))},1680:function(e,t,n){var i={TOP:"top",CENTER:"center",BOTTOM:"bottom"};t.a=i},1681:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(217),o=n(1577),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._states={},this._states[a.a.NORMAL]=t[a.a.NORMAL], 484this._states[a.a.HOVER]=t[a.a.HOVER],this._states[a.a.DISABLED]=t[a.a.DISABLED]}return Object(r.a)(e,[{key:"getStates",value:function e(){return this._states}}
484,{key:"getState",value:function e(t){return this.getStates()[t]}},{key:"setStyle",value:function e(t,n){this.getStates()[t]=n}},{key:"getStyle",value:function e(t){return this.getState(t)}},{key:"serialize",value:function e(){return{normal:this.getState(a.a.NORMAL).serialize(),hover:this.getState(a.a.HOVER).serialize(),disabled:this.getState(a.a.DISABLED).serialize()}}}, 485{key:"clone",value:function t(){return e.deserialize(this.serialize())}}],[{key:"deserialize",value:function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({normal:new o.a(n[a.a.NORMAL]),hover:new o.a(n[a.a.HOVER]),disabled:new o.a(n[a.a.DISABLED])})}}]),e}()},1682:function(e,t,n){var i={CROSSFADE:"crossfade",FADE_IN_OVER:"fadeInOver",EXPLOSION:"explosion",FADE:"fade",RANDOM:"random",SLIDE:"slide",SQUARE_FALL:"squareFall",SQUARE_SHUTTER:"squareShutter",SQUARE_VORTEX:"squareVortex"}; 486t.a=i},1683:function(e,t,n){var i={TOP_VISIBLE:"topVisible",BOTTOM_VISIBLE:"bottomVisible",DISTANCE_FROM_TOP:"distanceFromTop"};t.a=i},169:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataReader=void 0;var i=n(22),r=function(){function e(){}return e.prototype.getConstructorMetadata=function(e){var t,n;return{compilerGeneratedMetadata:Reflect.getMetadata(i.PARAM_TYPES,e),userGeneratedMetadata:Reflect.getMetadata(i.TAGGED,e)||{}}},e.prototype.getPropertiesMetadata=function(e){var t; 487return Reflect.getMetadata(i.TAGGED_PROP,e)||[]},e}();t.MetadataReader=r},17:function(e,t,n){n.d(t,"a",function(){return i});var i={ActivationAccountService:Symbol.for("ActivationAccountService"),AddNewAIWebsiteService:Symbol.for("AddNewAIWebsiteService"),AddNewWebsiteService:Symbol.for("AddNewWebsiteService"),AIWebsiteDeductionService:Symbol.for("AIWebsiteDeductionService"),AIWebsiteTemplatePreviewService:Symbol.for("AIWebsiteTemplatePreviewService"),AmplitudeEventsService:Symbol.for("AmplitudeEventsService"), 488AmplitudeService:Symbol.for("AmplitudeService"),AnalyticsPaymentService:Symbol.for("AnalyticsPaymentService"),AnalyticsService:Symbol.for("AnalyticsService"),BackupService:Symbol.for("BackupService"),BeaconUtils:Symbol.for("BeaconUtils"),BingAdsService:Symbol.for("BingAdsService"),BrandColorService:Symbol.for("BrandColorService"),BrowserDetectService:Symbol.for("BrowserDetectService"),BrowserFingerPrintService:Symbol.for("BrowserFingerPrintService"),CardOperationErrorMessageService:Symbol.for("CardOperationErrorMessageService"), 489CardAuthorizationErrorHandlerService:Symbol.for("CardAuthorizationErrorHandlerService"),ColorPickerService:Symbol.for("ColorPickerService"),Container:Symbol.for("container"),CookieAcceptedSettingsService:Symbol.for("CookieAcceptedSettingsService"),CookieService:Symbol.for("CookieService"),CreateNewWebsiteView:Symbol.for("CreateNewWebsiteView"),CreateNewWebsiteService:Symbol.for("CreateNewWebsiteService"),DateUtils:Symbol.for("DateUtils"),DiscountCodeUtils:Symbol.for("DiscountCodeUtils"),DomainsListPopupService:Symbol.for("DomainsListPopupService"), 490EnvironmentUtils:Symbol.for("EnvironmentUtils"),FbPixelService:Symbol.for("FbPixelService"),FrontendTranslation:Symbol.for("FrontendTranslation"),FurgonetkaPostageService:Symbol.for("FurgonetkaPostageService"),GTAGManagerService:Symbol.for("GTAGManagerService"),GeneralSettingsService:Symbol.for("GeneralSettingsService"),HostingManagerService:Symbol.for("HostingManagerService"),IconsService:Symbol.for("IconsService"),KeyboardService:Symbol.for("KeyboardService"),LanguageUtils:Symbol.for("LanguageUtils"), 491LegalApprovalDetailsPopupService:Symbol.for("LegalApprovalDetailsPopupService"),LegalApprovalService:Symbol.for("LegalApprovalService"),LoadingBoxService:Symbol.for("LoadingBoxService"),LocalStorageService:Symbol.for("LocalStorageService"),LocationService:Symbol.for("LocationService"),MailPaymentPopup:Symbol.for("MailPaymentPopup"),MenuItemFactory:Symbol.for("MenuItemFactory"),MenuItemService:Symbol.for("MenuItemService"),OpenAIService:Symbol.for("OpenAIService"),PaymentAwaitingSubscriptionService:Symbol.for("PaymentAwaitingSubscriptionService"), 492Panda2TrackingService:Symbol.for("Panda2TrackingService"),PaymentOrderDataFactory:Symbol.for("PaymentOrderDataFactory"),PermissionsLockControlManager:Symbol.for("PermissionsLockControlManager"),PaymentPopupManager:Symbol.for("PaymentPopupManager"),PhoneNumberUtils:Symbol.for("PhoneNumberUtils"),PopupService:Symbol.for("PopupService"),PositionService:Symbol.for("PositionService"),PremiumLinkService:Symbol.for("PremiumLinkService"),PromotionBannerService:Symbol.for("PromotionBannerService"),PublicatedScrollService:Symbol.for("PublicatedScrollService"), 493SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),ServiceModeLanguageService:Symbol.for("ServiceModeLanguageService"),ShowPaymentPopupService:Symbol.for("ShowPaymentPopupService"),SideMenuService:Symbol.for("SideMenuService"),Store:Symbol.for("Store"),StoreAdapter:Symbol.for("StoreAdapter"),StoreStorage:Symbol.for("StoreStorage"),StoreCartsProductCounterService:Symbol.for("StoreCartsProductCounterService"),StripeProvider:Symbol.for("StripeProvider"),TemplateStore:Symbol.for("TemplateStore"), 494TranslationUtils:Symbol.for("TranslationUtils"),UserChatService:Symbol.for("UserChatService"),UserService:Symbol.for("UserService"),Utils:Symbol.for("Utils"),WebmasterAccountTypeService:Symbol.for("WebmasterAccountTypeService"),WebsiteAdditionalServicesService:Symbol.for("WebsiteAdditionalServicesService"),WebmasterDomainInfoPopupService:Symbol.for("WebmasterDomainInfoPopupService"),WebmasterObjectService:Symbol.for("WebmasterObjectService"),WebmasterPanelCoreService:Symbol.for("WebmasterPanelCoreService"), 495WebsiteAccessPopupService:Symbol.for("WebsiteAccessPopupService"),WebsiteEmailService:Symbol.for("WebsiteEmailService"),WebsiteExportService:Symbol.for("WebsiteExportService"),WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePlanOfferBoxService:Symbol.for("WebsitePlanOfferBoxService"),WebsitePlanService:Symbol.for("WebsitePlanService"),WebsiteStatisticsManagerService:Symbol.for("WebsiteStatisticsManagerService"),WebsiteSubscriptionManagementService:Symbol.for("WebsiteSubscriptionManagementService"),
496WebwaveApp:Symbol.for("WebwaveApp"),WindowService:Symbol.for("WindowService"),BusinessPanelPopupListenersService:Symbol.for("BusinessPanelPopupListenersService")}},170:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isStackOverflowExeption=void 0;var i=n(33);function r(e){return e instanceof RangeError||e.message===i.STACK_OVERFLOW}t.isStackOverflowExeption=r},171:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.inject=t.LazyServiceIdentifer=void 0;var i=n(33), 497r=n(22),a=n(37),o=n(54),s=function(){function e(e){this._cb=e}return e.prototype.unwrap=function(){return this._cb()},e}();function u(e){return function(t,n,s){if(void 0===e)throw new Error(i.UNDEFINED_INJECT_ANNOTATION(t.name));var u=new a.Metadata(r.INJECT_TAG,e);"number"==typeof s?o.tagParameter(t,n,s,u):o.tagProperty(t,n,u)}}t.LazyServiceIdentifer=s,t.inject=u},172:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Target=void 0;var i=n(22),r=n(60),a=n(37),o=n(313),s=function(){function e(e, 498t,n,s){this.id=r.id(),this.type=e,this.serviceIdentifier=n,this.name=new o.QueryableString(t||""),this.metadata=new Array;var u=null;"string"==typeof s?u=new a.Metadata(i.NAMED_TAG,s):s instanceof a.Metadata&&(u=s),null!==u&&this.metadata.push(u)}return e.prototype.hasTag=function(e){for(var t=0,n=this.metadata;t<n.length;t++){var i;if(n[t].key===e)return!0}return!1},e.prototype.isArray=function(){return this.hasTag(i.MULTI_INJECT_TAG)},e.prototype.matchesArray=function(e){return this.matchesTag(i.MULTI_INJECT_TAG)(e)}, 499e.prototype.isNamed=function(){return this.hasTag(i.NAMED_TAG)},e.prototype.isTagged=function(){return this.metadata.some(function(e){return i.NON_CUSTOM_TAG_KEYS.every(function(t){return e.key!==t})})},e.prototype.isOptional=function(){return this.matchesTag(i.OPTIONAL_TAG)(!0)},e.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter(function(e){return e.key===i.NAMED_TAG})[0]:null},e.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter(function(e){return i.NON_CUSTOM_TAG_KEYS.every(function(t){return e.key!== 500t})}):null},e.prototype.matchesNamedTag=function(e){return this.matchesTag(i.NAMED_TAG)(e)},e.prototype.matchesTag=function(e){var t=this;return function(n){for(var i=0,r=t.metadata;i<r.length;i++){var a=r[i];if(a.key===e&&a.value===n)return!0}return!1}},e}();t.Target=s},1720:function(e,t,n){n.d(t,"a",function(){return I});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2183),l=n(106),d=n(1654),h=n(51),f=n(1060),v=n(53),g=n.n(v),p=n(2703),y=n(40),b=n(217),m=n(2704),w=n(82),S=n(1739),O=n(1327), 501_=n(1794),k=n(1681);function P(e){var t=A();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function A(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var E=[w.a.BUTTON,w.a.IMG, 502w.a.STORE_CART,w.a.STORE_PRODUCT];webwave.provide("com.webwave.publication.object.WObject");var I=function(e){Object(o.a)(n,e);var t=P(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).backgroundParallaxService=e.backgroundParallaxService,r.objectService=e.objectService,r._rwdService=e.rwdService,r._pageaAreaService=null,r.$domObject=e.domObject,!1===r.hasBackgroundOverlayDom()&&r._renderBackgroundOverlayDom(),r.cachedDom=r.cacheDom(r.$domObject[0]),r.$content=void 0,r._type=r.$domObject[0].getAttribute("data-element-type"), 503r.objectStyle={},r.fixed=null,r.objectStyle=webwave.isDefAndNotNull(e.objectStyle)?d.a.deserialize(e.objectStyle):new d.a,r._positionOrigin=f.a.PAGE_TOP_LEFT,r._rwdProperties=r._deserializeRwdPropertiesMap(e.rwdProperties),r.rotationDegree=n.DEFAULT_ROTATION_DEGREE,r._hooverAnimatorData=e.hoverAnimator,r._hoverAnimator=void 0,r._propertyChangeDispatcher=new v.PropertyChangeDispatcher,r._domElementPositionUpdateEnabled=!1,r._visibilityRequiresAnimation=!1,r._animationsInitialized=!1,r._rwdPropertiesLoaded= 504!1,r}return Object(r.a)(n,[{key:"cacheDom",value:function e(t){return{content:t.children[0],backgroundOverlay:t.children[1]}}},{key:"isHoverAnimatorEnabled",value:function e(){return-1!==E.indexOf(this.getType())&&webwave.isDef(this.getHoverAnimator())}},{key:"_updateHoverAnimationDisabled",value:function e(){this.getHoverAnimator().setDisabled(!1===this.isHoverEventsEnabled())}},{key:"setHoverAnimator",value:function e(t){this._hoverAnimator=t}},{key:"getHoverAnimatorData",value:function e(){return this._hooverAnimatorData}}, 505{key:"enableHoverEvents",value:function e(){this.hoverEventsEnabled=!0,this._updateHoverAnimationDisabled(),this.get
505State().setLocked(!1)}},{key:"disableHoverEvents",value:function e(){this.hoverEventsEnabled=!1,this._updateHoverAnimationDisabled(),this.getState().setLocked(!0)}},{key:"init",value:function e(){var t;this.isParallaxActive()&&this.backgroundParallaxService.addParallaxListener(this),this.setRwdMode(null===(t=this._rwdService)||void 0===t?void 0:t.getCurrentRwdMode()),this.isFullWidth()&& 506this.updateDomSizeAndPosition(),this.initHoverEvents()}},{key:"createStatesStyles",value:function e(t){return k.a.deserialize(t)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.canBeRotated()&&this.updateDomSizeForRotatedObject(),this.triggerPropertyChange(_.a.DOM_SIZE,this.getComputedSize())}},{key:"isFixed",value:function e(){return!0===this.fixed}},{key:"setFixed",value:function e(t){var n=this.fixed!==t;this.fixed= 507t,n&&this.setFixedAttribute(t)}},{key:"setFixedAttribute",value:function e(t){this.$domObject[0].setAttribute("fixed",t)}},{key:"getContent",value:function e(){return webwave.isNotDef(this.$content)&&(this.$content=$(this.cachedDom.content)),this.$content}},{key:"getContentEl",value:function e(){return this.cachedDom.content}},{key:"getDomObject",value:function e(){return webwave.isDef(this.$domObject)?this.$domObject:$()}},{key:"getY",value:function e(){return this.getComputedPosition().getY()}}, 508{key:"getHeight",value:function e(){return this.getComputedSize().getHeight()}},{key:"getWidth",value:function e(){return this.getComputedSize().getWidth()}},{key:"getBackgroundParallax",value:function e(){return this.objectStyle.background.parallax}},{key:"getShadowSizeCorrection",value:function e(){var t={top:0,right:0,bottom:0,left:0};if(!0===this.objectStyle.shadow.enabled){var n=this.objectStyle.shadow,i=Math.ceil(n.blur);t.left=n.x<0?-n.x+i:i,t.right=n.x>0?n.x+i:i,t.top=n.y<0?-n.y+i:i,t.bottom= 509n.y>0?n.y+i:i}return t}},{key:"isRotated",value:function e(){var t=!1;return this.canBeRotated()&&this.isRotationEnabled()&&this.rotationDegree!==n.DEFAULT_ROTATION_DEGREE&&(t=!0),t}},{key:"getRotationTransformCss",value:function e(){return this.isRotated()?"rotate(".concat(this.rotationDegree,"deg)"):""}}
509,{key:"updateBackgroundParallaxPosition",value:function e(t){webwave.isNotDef(t)&&(t=pageService.getWindowScroll());var n,i=this.objectStyle.background.parallax;if(webwave.isNumberAndNotNaN(t)&& 510100!==i){var r,a=t-this.getY(),o=parseInt(a-i/100*a),s=o<0?" - ".concat(Math.abs(o),"px"):" + ".concat(o,"px");this.setVerticalBackgroundPositionForParallax(s)}}},{key:"setVerticalBackgroundPositionForParallax",value:function e(t){var n="calc(".concat(this.objectStyle.background.verticalPosition).concat(t,")");this.getContentEl().style.backgroundPosition="".concat(this.objectStyle.background.horizontalPosition," ").concat(n)}},{key:"isParallaxActive",value:function e(){return this.objectStyle.isParallaxActive()}}, 511{key:"setVisibilityRequiresAnimation",value:function e(t){this._visibilityRequiresAnimation=t}},{key:"setAnimationsInitliazed",value:function e(t){var n=this._animationsInitialized!==t;this._animationsInitialized=t,n&&this.updateBaseVisibility()}},{key:"isVisiblilityRequiresAnimation",value:function e(){return this._visibilityRequiresAnimation}},{key:"isAnimationInitialized",value:function e(){return this._animationsInitialized}},{key:"_loadRwdProperties",value:function e(t){this.setVisibilityRequiresAnimation(t.animationOnScrollEnabled|| 512t.animationEnabled),this.updateBaseVisibility(),this.setAllPadding(t.style.padding),this.setRotationEnabled(t.rotationEnabled),this.setRotation(t.rotation),this.setSize(t.size,{noDomElementUpdate:!0}),this.setFullWidth(t.fullWidth,{noDomUpdate:!0}),this.setPositionOrigin(t.positionOrigin,{noDomUpdate:!0}),this.setPosition(t.position,{noDomElementUpdate:!0}),this.applyBindsRwd(t.binds),this.setFixed(!0===t.fixed),this.setSticky(!0===t.sticky),this.setStickyStartDistance(t.stickyStartDistance),this.setStickyEndDistance(t.stickyEndDistance), 513this.setStickyEndDistanceEnabled(t.stickyEndDistanceEnabled),this.loadAdditionalData(t.additionalProperties),this._rwdPropertiesLoaded=!0,this.updateDomSizeAndPosition(),this.updateMinSize(),this.updateContentDomStyle()}},{key:"loadAdditionalData",value:function e(t){}},{key:"setRwdMode",value:function e(t){if(webwave.isDefAndNotNull(this._rwdService)){this._rwdService.changeElementsAttributes(this.getDomObject()[0],t);var n=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,t); 514n&&this._loadRwdProperties(n)}}},{key:"updateObjectForRwdChange",value:function e(t){this.setRwdMode(t)}},{key:"getRotation",value:function e(){return this.rotationDegree}},{key:"getOpacity",value:function e(){return this.objectStyle.opacity}},{key:"getComputedOpacity",value:function e(){return this.objectStyle.getComputedOpacity()}},{key:"isFullWidth",value:function e(){return"true"===this.getDomObject()[0].getAttribute("fullWidth")}},{key:"triggerAnimationChanged",value:function e(){}},{key:"canChangeAnimationEnabled", 515value:function e(){}},{key:"_deserializeRwdPropertiesMap",value:function e(t){var n={};try{if(webwave.isDefAndNotNull(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=new p.a(t[i]))}catch(e){console.log(e),n={}}return n}},{key:"setAllPadding",value:function e(t){this.objectStyle.padding=t}},{key:"canBeRotated",value:function e(){return!1}},{key:"isRotationEnabled",value:function e(){return this.rotationEnabled}},{key:"areRwdPropertiesLoaded",value:function e(){return this._rwdPropertiesLoaded}},{key:"setRotationEnabled", 516value:function e(t){this.rotationEnabled=!0===t}},{key:"setRotation",value:function e(t){this.rotationDegree=webwave.isNumberAndNotNaN(t)?t:0}},{key:"setFullWidth",value:function e(t,n){this.fullWidth=t,this.$domObject[0].setAttribute("fullWidth",!0===t),(webwave.isNotDef(n)||!0!==n.noDomUpdate)&&this.updateDomSizeAndPosition()}},{key:"setPositionOrigin",value:function e(t,n){this._positionOrigin=t,this.$domObject[0].setAttribute("data-positionOrigin",t),(webwave.isNotDef(n)||!0!==n.noDomUpdate)&& 517this.updateDomPosition()}},{key:"getInnerWidth",value:function e(){return this.computeSize({noRotation:!0}).getWidth()-this.getPaddingAndBorderSizes().horizontal}},{key:"getInnerHeight",value:function e(){return this.computeSize({noRotation:!0}).getHeight()-this.getPaddingAndBorderSizes().vertical}},{key:"calculateMinContentSize",value:function e(){return new y.a({width:0,height:0})}},{key:"calculateMinSize",value:function e(){var t=this.calculateMinContentSize(),n=this.getPaddingAndBorderSizes(), 518i;return new y.a({width:t.getWidth()+n.horizontal,height:t.getHeight()+n.vertical})}},{key:"getPadding",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i;if(!0===this.getObjectStyle().padding.enabled||n)switch(t){case "left"
518:i=parseInt(this.objectStyle.padding.left);break;case "right":i=parseInt(this.objectStyle.padding.right);break;case "top":i=parseInt(this.objectStyle.padding.top);break;case "bottom":i=parseInt(this.objectStyle.padding.bottom);break}return isNaN(i)? 5190:i}},{key:"getBorderWidth",value:function e(t,n){var i;switch(t){case "left":i=!0===n?this.objectStyle.border.getComputedLeftWidth():this.objectStyle.border.left.width;break;case "top":i=!0===n?this.objectStyle.border.getComputedTopWidth():this.objectStyle.border.top.width;break;case "right":i=!0===n?this.objectStyle.border.getComputedRightWidth():this.objectStyle.border.right.width;break;case "bottom":i=!0===n?this.objectStyle.border.getComputedBottomWidth():this.objectStyle.border.bottom.width; 520break}return i=parseInt(i),isNaN(i)?0:i}},{key:"getBorderEnabled",value:function e(){return this.getObjectStyle().border.enabled}},{key:"getPaddingAndBorderSizes",value:function e(){var t=this.objectStyle.border.enabled?this.objectStyle.border.top.width:0,n=this.objectStyle.border.enabled?this.objectStyle.border.bottom.width:0,i=this.objectStyle.border.enabled?this.objectStyle.border.left.width:0,r=this.objectStyle.border.enabled?this.objectStyle.border.right.width:0,a,o,s,u,c=t+(this.objectStyle.padding.enabled? 521this.objectStyle.padding.top:0),l=r+(this.objectStyle.padding.enabled?this.objectStyle.padding.right:0),d=n+(this.objectStyle.padding.enabled?this.objectStyle.padding.bottom:0),h=i+(this.objectStyle.padding.enabled?this.objectStyle.padding.left:0);return{top:c=webwave.isNumberAndNotNaN(c)?c:0,right:l=webwave.isNumberAndNotNaN(l)?l:0,bottom:d=webwave.isNumberAndNotNaN(d)?d:0,left:h=webwave.isNumberAndNotNaN(h)?h:0,horizontal:h+l,vertical:c+d}}},{key:"transformSizesToRotation",value:function e(t,n, 522i){var r=i*(Math.PI/180),a=Math.abs(Math.sin(r)),o=Math.abs(Math.cos(r));return new y.a({width:Math.round(o*t+a*n),height:Math.round(a*t+o*n)})}},{key:"setPageAreaService",value:function e(t){this._pageaAreaService=t}},{key:"getPageAreaService",value:function e(){return this._pageaAreaService}},{key:"isObjectSizeAndPositionShouldBeConvertedToPX",value:function e(){return this.isUnitShouldBeConvertedToPX(this.getPosition().getXUnit())||this.isUnitShouldBeConvertedToPX(this.getPosition().getYUnit())|| 523this.isUnitShouldBeConvertedToPX(this.getSize().getWidthUnit())||this.isUnitShouldBeConvertedToPX(this.getSize().getHeightUnit())}},{key:"isUnitShouldBeConvertedToPX",value:function e(t){return t!==l.a.PX}},{key:"hasAnyAncestorObjectAnimationQueueItem",value:function e(){var t=!1;return this.forEachAncestor(function(e){t=t||e.hasObjectAnimationQueueItem()}),t}},{key:"computeBaseVisibility",value:function e(){var t;return(!this.isVisiblilityRequiresAnimation()||!1!==this.isAnimationInitialized()&& 524(!1!==this.hasObjectAnimationQueueItem()||!1!==this.hasAnyAncestorObjectAnimationQueueItem()))&&this.getRwdModeVisibility(null===(t=this.getRwdService())||void 0===t?void 0:t.getCurrentRwdMode())}},{key:"getRwdModeVisibility",value:function e(t){var n=!0;if(webwave.isDefAndNotNull(t)){var i=this.getLayoutVisibility();if(webwave.isDefAndNotNull(i))n=i;else{var r=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,t);webwave.isDef(r)&&(n=r.visibility)}}return n}},{key:"getLayoutVisibility", 525value:function e(){var t=null,n=this.objectService.getLayoutObjectVisibility(this.id);if(webwave.isDefAndNotNull(n)){var i=n[this._rwdService.getCurrentRwdMode().getId()];webwave.isDef(i)&&(t=i)}return t}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.isHoverAnimatorEnabled()&&(this.isVisible()?this.getHoverAnimator().setDisabled(!1):this.getHoverAnimator().setDisabled(!0))}}, 526{key:"getContentSize",value:function e(){var t;return new y.a({width:this.getContentEl().offsetWidth,height:this.getContentEl().offsetHeight})}},{key:"setMinSize",value:function e(t,n){var i=!1===this._minSize.equals(t);this._minSize=t.clone(),i&&this.areRwdPropertiesLoaded()&&this.updateDomSizeAndPosition()}},{key:"updateMinSize",value:function e(){this.setMinSize(this.calculateMinSize())}},{key:"updateDomSizeForRotatedObject",value:function e(){var t;if(this.getRotation()!==n.DEFAULT_ROTATION_DEGREE){var i= 527this.computeSize({noRotation:!0}),r=this.getContentEl(),a=i.getWidth();r.style.width="".concat(i.getWidth(),"px");var o=i.getHeight();r.style.height="".concat(o,"px");var s=this.calcRotatedContentPosition(a,o,this.getRotation());r.style.left="".concat(s.x,"px"),r.style.top="".concat(s.y,"px")}else this._resetSizeAndPositionForContent()}},{key:"calcRotatedContentPosition",value:function e(t,n,i){var r=i*(Math.PI/180),a=Math.cos(r),o=Math.sin(r),s=0,u=0;return a<0&&(s+=-a*t,u+=-a*n),o>0?s+=o*n:o<0&& 528(u+=-o*t),new h.a({x:s,y:u})}},{key:"useAdvancedTextEditor",value:function e(){return!1}}
528,{key:"addImgLazyLoad",value:function e(){this._addBackgroundImageLazyLoad(),this.useAdvancedTextEditor()&&this._addAdvancedTextImagesLazyLoad()}},{key:"addObjectInViewPortListener",value:function e(){}},{key:"_addBackgroundImageLazyLoad",value:function e(){if(webwave.isDef(this.getContentEl())&&this.getContentEl().hasAttribute(S.a.LAZY_LOAD_ATTR_NAME)){var t=new S.a(this.getContentEl());this.createDomWIntersectionObserved(t)}}}, 529{key:"_addAdvancedTextImagesLazyLoad",value:function e(){var t=this;this.getContentEl().querySelectorAll("img[".concat(O.a.LAZY_LOAD_ATTR_NAME,"]")).forEach(function(e){var n=new O.a(e);t.createDomWIntersectionObserved(n)})}},{key:"createDomWIntersectionObserved",value:function e(t){webwave.isDef(t)&&(t.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),this.addObjectToIntersectionObserver(t))}},{key:"addObjectToIntersectionObserver",value:function e(t){this.wIntersectionObserver.addObject(t)}}, 530{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"setWIntersectionObserver",value:function e(t){this.wIntersectionObserver=t}},{key:"setRwdService",value:function e(t){this._rwdService=t}},{key:"getRwdService",value:function e(){return this._rwdService}},{key:"canChangeStateStyle",value:function e(){return-1!==E.indexOf(this.getType())}}
530,{key:"updateBackgroundOverlayDomStyle",value:function e(){var t=this.getBackgroundOverlayEl();webwave.isDefAndNotNull(t)&& 531(t.style.cssText=this.objectStyle.backgroundOverlay.toCssString(),t.style.borderRadius="".concat(this.objectStyle.border.getComputedRadius(),"px"))}},{key:"applyPartialObjectStyle",value:function e(t){this.objectStyle.applyPartialObjectStyle(t),(this.isInitialized()||this.isBeingInitialized())&&(this.updateContentDomStyle(),this.updateBackgroundOverlayDomStyle(),this.isParallaxActive()&&this.updateBackgroundParallaxPosition())}},{key:"applyStateStyle",value:function e(t){this.applyPartialObjectStyle(this.getStateStyle(t))}}, 532{key:"updateStateStyle",value:function e(){this.applyStateStyle(this.getState().getName())}},{key:"getObjectStyle",value:function e(){return this.objectStyle}},{key:"updateContentDomStyle",value:function e(){this.getContent().css(this.getObjectStyle().toCss2Map())}},{key:"getType",value:function e(){return this._type}},{key:"getHoverAnimator",value:function e(){return this._hoverAnimator}},{key:"setStyleVersion",value:function e(t){this.applyStateStyle(t)}},{key:"onOwnMouseOverChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype), 533"onOwnMouseOverChange",this).call(this),this.isHoverAnimatorEnabled()&&this.getHoverAnimator().getAnimationData().isEnabled()&&(this.getOwnMouseOver()?this.getHoverAnimator().onMouseEnter():this.getHoverAnimator().onMouseLeave())}},{key:"getBackgroundOverlayDom",value:function e(){return $(this.cachedDom.backgroundOverlay)}},{key:"getBackgroundOverlayEl",value:function e(){return this.cachedDom.backgroundOverlay}},{key:"hasBackgroundOverlayDom",value:function e(){return this.$domObject[0].children.length>= 5342}},{key:"_renderBackgroundOverlayDom",value:function e(){var t=document.createElement("DIV");t.classList.add("backgroundOverlay"),this.$domObject[0].appendChild(t)}},{key:"applyBindsRwd",value:function e(t){this.objectService.removeAllRelationsByWObject(this),this.objectService.detachBinds(this),this.objectService.restoreBindsFromJSON(this,t),this.objectService.loadWObjectRelations(this)}},{key:"isInGroup",value:function e(){return this.getParentWNode()instanceof com.webwave.publication.object.WGroup&& 535this.getParentWNode().isUserGroup()}},{key:"getPageCanvas",value:function e(){return this.pageCanvas}},{key:"isToAnimate",value:function e(){return webwave.isDef(this.getAnimation())&&!1===this.isScrollAnimationEnabled()}},{key:"addPropertyChangeListener",value:function e(t,n){this._propertyChangeDispatcher.addPropertyChangeListener(t,n)}},{key:"removePropertyChangeListener",value:function e(t,n){this._propertyChangeDispatcher.removePropertyChangeListener(t,n)}},{key:"notifyPropertyChangeListeners", 536value:function e(t){this._propertyChangeDispatcher.dispatch(t)}},{key:"triggerPropertyChange",value:function e(t,n,i){this.notifyPropertyChangeListeners(new v.PropertyChangeEvent({propertyName:t,previousValue:i,newValue:n}))}},{key:"afterDomPositionChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomPositionChange",this).call(this),this.triggerPropertyChange(_.a.DOM_POSITION,this.getComputedPosition())}},{key:"_resetSizeAndPositionForContent",value:function e(){var t=this.getContentEl();
537t.style.width="",t.style.height="",t.style.left="",t.style.top=""}},{key:"canBeTargetScroll",value:function e(){return!1===this.isSticked()&&!1===this.isFixed()}},{key:"getInnerElements",value:function e(){return[]}},{key:"getRwdProperties",value:function e(){return this._rwdProperties}},{key:"getAnimatableElements",value:function e(){return[this.getContent()[0],this.getBackgroundOverlayEl()]}},{key:"cloneComputedStyleToInlineInContent",value:function e(){for(var t=this.getContentEl(),i=0;i<n.PROPERTIES_TO_COPY.length;i++)t.style[n.PROPERTIES_TO_COPY[i]]= 538"";for(var r=window.getComputedStyle(t),a=0;a<n.PROPERTIES_TO_COPY.length;a++)t.style[n.PROPERTIES_TO_COPY[a]]=r[n.PROPERTIES_TO_COPY[a]]}},{key:"getContentComputedProperty",value:function e(t){return window.getComputedStyle(this.getContentEl()).getPropertyValue(t)}}]),n}(c.a);I.DEFAULT_ROTATION_DEGREE=0,I.DEFAULT_PARALLAX_VALUE=100,I.PROPERTIES_TO_COPY=["filter","transform","transformOrigin"],com.webwave.publication.object.WObject=I},1721:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0), 539r=n(1),a=n(1680),o=n(1233),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.DEFAULT_POSITION;Object(i.a)(this,e),this.positionOrigin=t instanceof e?t.serialize():t}return Object(r.a)(e,[{key:"setPositionOrigin",value:function e(t){this.positionOrigin=t}},{key:"getPositionOrigin",value:function e(){return this.positionOrigin}},{key:"getHorizontalPosition",value:function e(){return this.positionOrigin[0]}},{key:"getVerticalPosition",value:function e(){return this.positionOrigin[1]}}, 540{key:"serialize",value:function e(){return this.positionOrigin}}]),e}();s.DEFAULT_POSITION=[o.a.LEFT,a.a.TOP]},1722:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(112),c=n(53),l=n.n(c);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 541if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=0,v=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).relatedWNodes=[],r.typeOfRelation=null,r.distance=null,r.relatedWNodes=webwave.isArrayLike(e.relatedWNodes)?e.relatedWNodes:[],r.typeOfRelation=e.typeOfRelation,r.distance=new u.a(e.distance),r._pullBack=!0=== 542e.pullBack,r._rwdModeId=e.rwdModeId,r.instanceId=f++,r}return Object(r.a)(n,[{key:"setDistance",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new u.a({value:Math.max(0,t.getValue()),unit:t.getUnit()}),r=!1===this.distance.equals(t),a=this.distance;if(this.distance=i,r){if(this._pullBack=!0,this.triggerPropertyChange("distance",i,a),webwave.isDefAndNotNull(window.objectService)&&!0===n.userInteraction){var o=objectService.getWObjectById(this.relatedWNodes[0]); 543webwave.isDef(o)&&(o.updateRwdBinds(),o.saveCurrentRwdProperties());var s=objectService.getWObjectById(this.relatedWNodes[1]);webwave.isDef(s)&&(s.updateRwdBinds(),s.saveCurrentRwdProperties())}var c=objectService.getWObjectById(this.relatedWNodes[0]);webwave.isDef(c)&&c.onRelationDistanceChange(this,i,a);var l=objectService.getWObjectById(this.relatedWNodes[1]);webwave.isDef(l)&&l.onRelationDistanceChange(this,i,a)}}},{key:"getDistance",value:function e(){return this.distance}},{key:"toJSON",value:function e(){return{relatedWNodes:this.relatedWNodes, 544typeOfRelation:this.typeOfRelation,distance:this.distance,pullBack:this._pullBack}}},{key:"getTopGroup",value:function e(){return this.relatedWNodes[0]}},{key:"getBottomGroup",value:function e(){return this.relatedWNodes[1]}},{key:"getOtherWNodeId",value:function e(t){return this.relatedWNodes[0]!==t?this.relatedWNodes[0]:this.relatedWNodes[1]}},{key:"clone",value:function e(){return new n(JSON.parse(JSON.stringify(this.toJSON())))}},{key:"hasDisabledPulling",value:function e(){return!1===this._pullBack}}, 545{key:"getRelatedWNodes",value:function e(){return this.relatedWNodes}},{key:"getTypeOfRelation",value:function e(){return this.typeOfRelation}},{key:"getRwdModeId",value:function e(){return this._rwdModeId}}]),n}(c.SimplePropertyChangeEmitter)},1723:function(e,t,n){t.a={VERTICAL:"vertical",HORIZONTAL:"horizontal",MOBILE:"mobile"}},1724:function(e,t,n){t.a={ELEMENT:"element",AUTO:"auto",FULL_WIDTH:"fullWidth"}},1725:function(e,t,n){var i={ITEM:"item",NAME:"name",PRICE:"price",THUMBNAIL:"thumbnail", 546PAGINATION_INDEX:"paginationIndex",SELECTED_PAGINATION_INDEX:"selectedPaginationIndex"};t.a=i},1726:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(){Object(i.a)(this,e)};r.PRODUCT_COUNTER_CLASS_NAME="shop-cart__product-counter",r.PRODUCT_COUNTER_MOCK_AMOUNT=1,r.PRODUCT_COUNTER_PROPERTY_NAME="product-count"}
546,173:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenOnSyntax=void 0;var i=n(116),r=n(117),a=function(){function e(e){this._binding=e,this._bindingWhenSyntax= 547new r.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new i.BindingOnSyntax(this._binding)}return e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)}, 548e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged= 549function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation= 550function(e){return this._bindingOnSyntax.onActivation(e)},e}();t.BindingWhenOnSyntax=a},1739:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1579),c=n(1327);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 551if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"enteredViewportHandler",value:function e(){var t,i=$(this.getDomObject()).attr(n.LAZY_LOAD_ATTR_NAME);i=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(i,this.getDomObject()),this.getDomObject().style.backgroundImage= 552'url("'.concat(i,'")')}}]),n}(u.a);h.LAZY_LOAD_ATTR_NAME="data-lazy-background-image",webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroundImgObject"),com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroundImgObject=h},174:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.typeConstraint=t.namedConstraint=t.taggedConstraint=t.traverseAncerstors=void 0;var i=n(22),r=n(37),a=function(e,t){var n=e.parentRequest; 553return null!==n&&(!!t(n)||a(n,t))};t.traverseAncerstors=a;var o=function(e){return function(t){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(e)(t)};return n.metaData=new r.Metadata(e,t),n}};t.taggedConstraint=o;var s=o(i.NAMED_TAG);t.namedConstraint=s;var u=function(e){return function(t){var n=null;if(null!==t){var i;if(n=t.bindings[0],"string"==typeof e)return n.serviceIdentifier===e;var r=t.bindings[0].implementationType;return e===r}return!1}};t.typeConstraint=u},1740:function(e, 554t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1061),c=n(1577),l=n(2047);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 555[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;Object(i.a)(this,n),webwave.isNotDef(e)&&(e={});var a=e.styleMap;return(r=t.call(this,e)).styleMap=new c.a(a),r}return Object(r.a)(n,[{key:"toCssMap",value:function e(){var t={};return webwave.isDef(this.styleMap)&&$.extend(t,this.styleMap.toCss2Map()),webwave.isDef(this.textStyleMap)&&$.extend(t,this.textStyleMap.toCssMap()),t}},{key:"clone",value:function e(){var t;return new n($.extend(!0, 556{},this.serialize()))}},{key:"applyStyleRwdProperties",value:function e(t){webwave.isNotDef(t)&&(t={}),webwave.isNotDef(this.styleMap)&&(this.styleMap=new c.a),webwave.isNotDef(t.padding)&&(t.padding=new l.a),webwave.isNotDef(this.styleMap.padding)&&(this.styleMap.padding=new l.a),this.styleMap.padding.top=t.padding.top,this.styleMap.padding.right=t.padding.right,this.styleMap.padding.bottom=t.padding.bottom,this.styleMap.padding.left=t.padding.left}},{key:"applyStyleMap",value:function e(t){webwave.isDef(t)&& 557(webwave.isNotDef(this.styleMap)?this.styleMap=new c.a(t):this.styleMap.applyPartialObjectStyle(t))}}],[{key:"deserialize",value:function e(t){return new n(t)}},{key:"deserializeObjectCombinedStyles",value:function e(t){webwave.isNotDef(t)&&(t={});var i={};for(var r in t)t.hasOwnProperty(r)&&(i[r]=new n(t[r]));return i}}]),n}(u.a)},1741:function(e,t,n){var i=n(11),r=n.n(i),a={AVAILABLE:"AVAILABLE",NOT_AVAILABLE:"NOT_AVAILABLE"},o={};o[a.AVAILABLE]=0,o[a.NOT_AVAILABLE]=1,Object.defineProperty(a,"sortOrder", 558{value:o,enumerable:!1}),i.TranslationPrefix.addTranslationPrefix(a,"com.webwave.webwaveStore.product.status"),t.a=a},1742:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(182),c=n(1757);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 559if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(t){return new c.a(t)}},{key:"findOptionById",value:function e(t){for(var n,i,r=0;r<this._value.length&&(n=(i=this._value[r]).getVariantOptions().find(function(e){return e.getVariantId()=== 560t}),!webwave.isDefAndNotNull(n));r++);return n}},{key:"findProductByName",value:function e(t){return this.value.find(function(e){return e.getName()===t&&!1===e.isDeleted()})}},{key:"update",value:function e(t){for(var n,i,r=0;r<t.value.length;r++)n=t.value[r],i=this.findProductByName(n.name),webwave.isDef(i)&&i.update(n)}},{key:"updateFromServerData",value:function e(t){for(var n,i,r=0;r<t.value.length;r++)n=t.value[r],i=this.findProductByName(n.name),webwave.isDef(i)&&i.updateFromServerData(n)}}], 561[{key:"getDefaultMap",value:function e(){return{enable:!1,value:[{name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.name"),variantOption:[{createDate:new Date((new Date).getTime()-n._ONE_MINUTE_IN_MS),name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.option1.name"),additionalPrice
561:0,additionalPricePositive:!0},{createDate:new Date,name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.option2.name"),additionalPrice:0,additionalPricePositive:!0}]}]}}}]), 562n}(u.a);h._ONE_MINUTE_IN_MS=6E3},1743:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(43),u=n.n(s),c=n(69),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.setData(t)}return Object(r.a)(e,[{key:"delete",value:function e(){this._deleted=!0}},{key:"getPriceForBackend",value:function e(){return this._additionalPrice}},{key:"getDateCreatedForBackend",value:function e(){return a.DateUtils.dateToString(this._createDate, 563a.DateUtils.availableFormats.WERBWAVE_BACKEND_BINDING)}},{key:"isDeleted",value:function e(){return this._deleted}},{key:"isToSave",value:function e(){return!1===(webwave.isNotDef(this._id)&&!0===this._deleted)}},{key:"update",value:function e(t){this.setData(t)}},{key:"setData",value:function e(t){this._id=t.
563id,this._temporaryId=!0===webwave.isNotDef(this._id)&&!0===webwave.isNotDef(t.temporaryId)?webwave.uniqueId("option_"):void 0,this._name=t.name,this._additionalPricePositive=t.additionalPricePositive, 564this._createDate=webwave.isDef(t.createDate)?new Date(t.createDate):new Date,this._additionalPrice=webwave.isNumberAndNotNaN(t.additionalPrice)?t.additionalPrice:void 0,this._additionalText=new c.a(t.additionalText),this._deleted=!!webwave.isDef(t.deleted)&&t.deleted}},{key:"serialize",value:function e(){return{name:this._name,additionalPricePositive:this._additionalPricePositive,additionalPrice:this._additionalPrice,createDate:this._createDate,id:this._id,temporaryId:this._temporaryId,deleted:this._deleted, 565additionalText:this._additionalText.serialize()}}},{key:"additionalText",get:function e(){return this._additionalText}},{key:"getId",value:function e(){return this._id}},{key:"getName",value:function e(){return this._name}},{key:"setPrice",value:function e(t){this._additionalPricePositive=!t.includes("-"),this._additionalPrice=a.MathUtils.setFloatPriceToLong(t.replace(",",".").replace("+","").replace("-",""))}},{key:"_getAdditionalPrice",value:function e(){return webwave.isNumberAndNotNaN(this._additionalPrice)? 566this._additionalPrice/100:0}},{key:"getAdditionalSum",value:function e(){return this._additionalPricePositive?this._getAdditionalPrice():-this._getAdditionalPrice()}},{key:"getPrice",value:function e(t){return this._additionalPrice?"".concat(this.getPriceForOptionCreation()," ").concat(t):"-"}},{key:"getPriceForOptionCreation",value:function e(){return this._additionalPrice?(this._additionalPricePositive?"+":"-")+this._getAdditionalPrice():""}},{key:"validate",value:function e(){return webwave.isStringAndNotEmpty(this.getPriceForOptionCreation())? 567s.ValidatorFunctions.additionalPrice(this.getPriceForOptionCreation())*s.ValidatorFunctions.requireProp(this._name):s.ValidatorFunctions.requireProp(this._name)}},{key:"getAdditionalPriceWithCurrency",value:function e(t){var n=this.getPriceForOptionCreation();return n?"".concat(n," ").concat(t):""}},{key:"getRow",value:function e(){return{value:this.getId(),label:this.getName()}}},{key:"getVariantId",value:function e(){return webwave.isDef(this._id)?this._id:this._temporaryId}},{key:"updateFromServerData", 568value:function e(t){webwave.isNotDef(this._id)&&(this._id=t.id)}}]),e}()},1744:function(e,t,n){var i={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};t.a=i},1745:function(e,t,n){n.d(t,"a",function(){return s});var i=n(1),r=n(0);function a(){}!function(){var e=[],t="zero-timeout-message";function n(n){e.push(n),window.postMessage(t,"*")}function i(n){var i;n.source==window&&n.data==t&&(n.stopPropagation(),e.length>0&&e.shift()())}window.addEventListener("message",i,!0),window.setZeroTimeout=n}(); 569var o=function e(t,n){Object(r.a)(this,e),this.func=t,this.args=n},s=function(){function e(t){Object(r.a)(this,e),void 0===t&&(t={}),this.queue=[],this._errorHandler=t.onError||a,this._continueOnError=t.continueOnError}return Object(i.a)(e,[{key:"addToQueue",value:function e(t,n){this.queue.push(new o(t,Array.prototype.slice.call(arguments,1)))}},{key:"dequeue",value:function e(){var t=this;t.queue.length>0&&setZeroTimeout(function(){var e=t.queue.shift();try{var n=e.func.apply(this,e.args);webwave.isObject(n)&& 570webwave.isFunction(n.then)?n.then(function(){t.dequeue()}):t.dequeue()}catch(e){"function"==typeof t._errorHandler?t._errorHandler.call(t,e):webwave.error(e),t.getContinueOnError()&&t.dequeue()}},0)}},{key:"dequeueSync",value:function e(){for(var t,n=this;t=this.queue.shift();)try{t.func.apply(this,t.args)}catch(e){webwave.log("error occured during Worker.dequeueSync",this,e),this._errorHandler.call(this,e)}}},{key:"getContinueOnError",value:function e(){return!0===this._continueOnError}}]),e}(); 571webwave.provide("com.webwave.worker.Worker"),com.webwave.worker.Worker=s},175:function(e,t,n){n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var i=n(0),r=n(1),a=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return Object(i.a)(this,e),this.elements=void 0,t instanceof Element?this.elements=[t]:this.elements=n.querySelectorAll(t),new Proxy(this,{get:function e(t,n){return"string"==typeof n&&Number.isInteger(Number(n))?t.elements[n]:t[n]}, 572set:function e(t,n,i){return"string"==typeof n&&Number.isInteger(Number(n))?t.elements[n]=i:t[n]=i}})}return Object(r.a)(e,[{key:"get",value:function e(t){return t<this.elements.length?this.elements[t]:null}},{key:"setInnerHTML",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].innerHTML=t}},{key:"toggleClass",value:function e(t,n){return!0===n?this.addClass(t):this.removeClass(t),this}},{key:"removeClass",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].classList.remove(t); 573return this}},{key:"addClass",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].classList.add(t);return this}},{key:"exists",value:function e(){return this.elements.length>0}},{key:"length",value:function e(){return this.elements.length}},{key:"height",value:function e(t){return this.get(t).offsetHeight}},{key:"hasChild",value:function e(t){var n;return(null===(n=this.get(t).children)||void 0===n?void 0:n.length)>0}},{key:"setStyle",value:function e(t,n){for(var i=0;i<this.elements.length;i++)this.elements[i].style[t]= 574n}},{key:"val",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].value=t}},{key:"getAttribute",value:function e(t){for(var n,i=0;i<this.elements.length;i++)if(n=this.elements[i].getAttribute(t))return n}},{key:"has",value:function e(t){for(var n=0;n<this.elements.length;n++)if(this.elements[n].contains(t))return!0;return!1}},{key:"append",value:function e(t){for(var n=0;n<this.elements.length;n++)this.elements[n].insertAdjacentHTML("beforeend",t)}},{key:"appendElement",value:function e(t){for(var n= 5750;n<this.elements.length;n++)this.elements[n].insertAdjacentElement("beforeend",t)}},{key:"getScrollParent",value:function e(t){if(!1===this.exists())return document.body;for(var n=this.elements[0],i=getComputedStyle(n),r="absolute"===i.position||"fixed"===i.position,a=t?/(auto|scroll|hidden)/:/(auto|scroll)/,o=n;o=o.parentElement;)if(i=getComputedStyle(o),(!r||"static"!==i.position)&&a.test(i.overflow+i.overflowY+i.overflowX))return o;return document.body}},{key:"setAttribute",value:function e(t, 576n){for(var i=0;i<this.elements.length;i++)this.elements[i].setAttribute(t,n)}}]),e}(),o=function e(t,n){return new a(t,n)}},1754:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"enteredViewportHandler",value:function e(){throw new Error("Not supported for abstract class");}},{key:"getDomObject",value:function e(){throw new Error("Not supported for abstract class");}},{key:"isSingleHandler",value:function e(){return!0}}]), 577e}()},1755:function(e,t,n){t.a={CHILDREN:0,PUSHED_DOWN:1}},1756:function(e,t,n){n.d(t,"a",function(){return o}
577);var i=n(0),r=n(1),a="IMG",o=function(){function e(t){Object(i.a)(this,e),this._$domObject=t,this._$domObject[0].classList.add("wwTextContent")}return Object(r.a)(e,[{key:"initLinkBlockEvent",value:function e(){this._$domObject.off("click.rwdTextContentLinkBlock"),this._$domObject.on("click.rwdTextContentLinkBlock","a",function(e){e.stopPropagation()})}},{key:"loadRwdTextProperties",value:function t(n){var i= 578webwave.isDef(n)?n:com.webwave.publication.rwd.rwdService.getCurrentRwdMode(),r=this;if(webwave.isDef(i))for(var a=this._$domObject[0].querySelectorAll("[".concat(e.TEXT_RWD_PROPERTIES_ATTR_NAME,"]")),o=0;o<a.length;o++){var s=a[o],u=s.getAttribute(e.TEXT_RWD_PROPERTIES_ATTR_NAME),c;try{c=webwave.isString(u)?JSON.parse(u):{}}catch(e){c={}}var l=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(c,i);"IMG"===s.nodeName?this._applyRwdMapToImgDomElement(s,l):this._applyRwdMapToOtherDomElement(s, 579l)}}},{key:"_applyRwdMapToImgDomElement",value:function e(t,n){webwave.isDef(n)?(t.style.width=webwave.isDef(n.width)?n.width:"",t.style.height=webwave.isDef(n.height)?n.height:""):(t.style.width="",t.style.height="")}},{key:"_applyRwdMapToOtherDomElement",value:function e(t,n){webwave.isDef(n)?(t.style.fontSize=webwave.isDef(n.fontSize)?n.fontSize:"",t.style.lineHeight=webwave.isDef(n.lineHeight)?n.lineHeight:"",t.style.textAlign=webwave.isDef(n.textAlign)?n.textAlign:"",t.style.letterSpacing=webwave.isDef(n.letterSpacing)? 580n.letterSpacing:""):(t.style.fontSize="",t.style.lineHeight="",t.style.textAlign="",t.style.letterSpacing="")}},{key:"dispose",value:function t(){this._$domObject.off(e.RWD_TEXT_PROPERTY_CHANGE_EVENT_NAME)}}]),e}();o.TEXT_RWD_PROPERTIES_ATTR_NAME="textRwdProperties"},1757:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(1295),u=n(43),c=n.n(u),l=n(1743),d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e), 581this.update(t)}return Object(r.a)(e,[{key:"addOption",value:function e(t){this._variantOption.push(t)}},{key:"getDateCreatedForBackend",value:function e(){return a.DateUtils.dateToString(this._createDate,a.DateUtils.availableFormats.WERBWAVE_BACKEND_BINDING)}},{key:"getId",value:function e(){return this._id}},{key:"getName",value:function e(){return this._name}},{key:"getVariantOptions",value:function e(){return s.a.dateAsc(this._variantOption.filter(function(e){return!1===e._deleted}),"_createDate")}}, 582{key:"delete",value:function e(){this._deleted=!0}},{key:"findVariantById",value:function e(t){return this.getVariantOptions().find(function(e){return e.getId()===t})}},{key:"findVariantByName",value:function e(t){return this.getVariantOptions().find(function(e){return e.getName()===t})}},{key:"getOptionsRows",value:function e(){for(var t=[],n=this.getVariantOptions(),i=0;i<n.length;i++)t.push(n[i].getRow());return t}},{key:"getSelectedOption",value:function e(){return!1===webwave.isDefAndNotNull(this._selectedOption)&& 583(this._selectedOption=this.getVariantOptions()[0]),this._selectedOption}},{key:"isDeleted",value:function e(){return!0===this._deleted}},{key:"isToSave",value:function e(){return!1===(webwave.isNotDef(this._id)&&!0===this._deleted)}},{key:"removeOption",value:function e(t){t.delete()}},{key:"serialize",value:function e(){return{id:this._id,name:this._name,createDate:this._createDate,deleted:this._deleted,variantOption:this._serializeVariantOptions(),selectedOption:webwave.isDef(this._selectedOption)? 584this._selectedOption.serialize():void 0}}},{key:"toString",value:function e(){return"".concat(this._id,",").concat(this._name)}},{key:"update",value:function e(t){this._id=t.id,this._name=t.name,this._deleted=!!webwave.isDef(t.deleted)&&t.deleted,this._createDate=webwave.isDef(t.createDate)?new Date(t.createDate):new Date,this._deserializeVariantOptions(t.variantOption),this._selectedOption=webwave.isDef(t.selectedOption)?this._variantOption.find(function(e){return e._id===t.selectedOption.id}):void 0}}, 585{key:"updateFromServerData",value:function e(t){var n,i;webwave.isNotDef(this._id)&&(this._id=t.id);for(var r=0;r<t.variantOption.length;r++)n=t.variantOption[r],i=this.findVariantByName(n.name),webwave.isDef(i)&&i.updateFromServerData(n)}},{key:"updateSelectedVariant",value:function e(t){var n=this.getVariantOptions().find(function(e){return e.getId()===t});n&&(this._selectedOption=n)}},{key:"validate",value:function e(){return u.ValidatorFunctions.requireProp(this._name)}},{key:"variantsExist", 586value:function e(){return this.getVariantOptions().length>0}},{key:"_deserializeVariantOptions",value:function e(t){if(this._variantOption=[],webwave.isDef(t))for(var n=0;n<t.length;n++)this._variantOption.push(new l.a(t[n]))}},{key:"_serializeVariantOptions",value:function e(){for(var t=[],n=0;n<this._variantOption.length;n++)t.push(this._variantOption[n].serialize());return t}}]),e}()},1758:function(e,t,n){t.a={NOT_LOGGED_IN:"notLoggedIn",LOGGED_IN:"loggedIn"}},176:function(e,t,n){var i={TOP:"top", 587RIGHT:"right",BOTTOM:"bottom",LEFT:"left"};t.a=i},177:function(e,t,n){t.a={PAGEAREA:"pageareaLoadingBoxWrapper",WINDOW:"windowLoadingBoxWrapper"}},1773:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(1806),o=n(176),s=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top=t.top instanceof a.a?t.top:new a.a,this.right=t.right instanceof a.a?t.right:new a.a,this.bottom=t.bottom instanceof a.a?t.bottom:new a.a,this.left=t.left instanceof a.a?t.left:new a.a,this.radius=
588"number"==typeof t.radius?t.radius:0,webwave.isDef(t.enabled)?this.enabled=t.enabled:this.enabled=this._computeEnabledValue(),this.roundingEnabled=webwave.isBoolean(t.roundingEnabled)?t.roundingEnabled:this.radius>0}return Object(r.a)(e,[{key:"serialize",value:function e(){return{top:this.top.serialize(),right:this.right.serialize(),bottom:this.bottom.serialize(),left:this.left.serialize(),radius:this.radius,enabled:this.enabled,roundingEnabled:this.roundingEnabled}}},{key:"_computeEnabledValue", 589value:function e(){var t=this,n=!1;return Object.values(o.a).forEach(function(e){t[e].width>0&&(n=!0)}),n}},{key:"toCss2Map",value:function e(){return{borderTopWidth:"".concat(this.getComputedTopWidth(),"px"),borderTopStyle:this.top.style,borderTopColor:this.top.color,borderRightWidth:"".concat(this.getComputedRightWidth(),"px"),borderRightStyle:this.right.style,borderRightColor:this.right.color,borderBottomWidth:"".concat(this.getComputedBottomWidth(),"px"),borderBottomStyle:this.bottom.style,borderBottomColor:this.bottom.color, 590borderLeftWidth:"".concat(this.getComputedLeftWidth(),"px"),borderLeftStyle:this.left.style,borderLeftColor:this.left.color,borderRadius:"".concat(this.roundingEnabled?this.radius:0,"px")}}},{key:"getComputedRadius",value:function e(){return this.roundingEnabled?this.radius:0}},{key:"applyPartialBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.top)&&this.top.applyPartialSingleBorderMap(t.top),webwave.isDef(t.right)&&this.right.applyPartialSingleBorderMap(t.right),webwave.isDef(t.bottom)&& 591this.bottom.applyPartialSingleBorderMap(t.bottom),webwave.isDef(t.left)&&this.left.applyPartialSingleBorderMap(t.left),webwave.isNumberAndNotNaN(t.radius)&&(this.radius=t.radius),webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.roundingEnabled)&&(this.roundingEnabled=t.roundingEnabled))}},{key:"getComputedTopWidth",value:function e(){return this.enabled?this.top.width:0}},{key:"getComputedRightWidth",value:function e(){return this.enabled?this.right.width:0}},{key:"getComputedBottomWidth", 592value:function e(){return this.enabled?this.bottom.width:0}},{key:"getComputedLeftWidth",value:function e(){return this.enabled?this.left.width:0}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i,r,a,o=!0===(null===(n=this.left)||void 0===n?void 0:n.changeWebsiteColorConnection(t)),s=!0===(null===(i=this.right)||void 0===i?void 0:i.changeWebsiteColorConnection(t)),u=!0===(null===(r=this.top)||void 0===r?void 0:r.changeWebsiteColorConnection(t)),c=!0===(null===(a=this.bottom)||void 0=== 593a?void 0:a.changeWebsiteColorConnection(t));return o||s||u||c}},{key:"clone",value:function t(){return e.deserialize(this.serialize())}}],[{key:"deserialize",value:function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({top:a.a.deserialize(n.top),right:a.a.deserialize(n.right),bottom:a.a.deserialize(n.bottom),left:a.a.deserialize(n.left),radius:n.radius,enabled:n.enabled,roundingEnabled:n.roundingEnabled})}},{key:"isNonZeroBorderWidth",value:function e(t){return webwave.isDefAndNotNull(t)&& 594"0px"!==t}}]),e}()},1774:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 595[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;Object(i.a)(this,n);var a={type:"webwave.link.AddItemToShopCardLinkData"};return(r=t.call(this,a))._productId=e,r}return Object(r.a)(n,[{key:"getProductId",value:function e(){return this._productId}}]),n}(n(854).a)},1775:function(e,t,n){t.a={ADD_ITEM_TO_SHOP_CARD:"webwave.link.AddItemToShopCardLinkData",ANCHOR:"webwave.link.AnchorLinkData",CUSTOM:"webwave.link.CustomLinkData",EMPTY:"webwave.link.EmptyLinkData", 596FILE:"webwave.link.FileLinkData",INTERACTION:"webwave.link.InteractionsLinkData",OBJECT:"webwave.link.ObjectLinkData",PAGE:"webwave.link.PageLinkData",SHOW_SHOP_CARD:"web
596wave.link.ShowShopCardLinkData"}},1776:function(e,t,n){n.d(t,"a",function(){return y});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(1554),d=n(1341),h=n(1775);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e, 597t).enumerable})),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e){var t=p();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor; 598r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var y=function(e){Object(s.a)(n,e);var t=g(n);function n(e){var i;if(Object(r.a)(this,n),void 0===e||void 0===e.fileId)throw webwave.debug("No file provided!"), 599new Error("No file provided!");return e.customLinkType=d.a.USER_FILE,e.type=h.a.FILE,(i=t.call(this,e)).fileId=e.fileId,i}return Object(a.a)(n,[{key:"setFileId",value:function e(t){this.fileId=t}},{key:"getHref",value:function e(){var t=fileManagerService.getUserFileById(this.fileId);if(webwave.isDef(t))return t.getUrl(!0)}},{key:"toJSON",value:function e(){return v(v({},Object(o.a)(Object(c.a)(n.prototype),"toJSON",this).call(this)),{fileId:this.fileId})}}]),n}(l.a)},1777:function(e,t,n){var i={FLUID_WIDTH:"fluid_width", 600MASONRY_VERTICAL:"masonry_vertical",CLASSIC:"classic"};t.a=i},1778:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(14),o=n.n(a),s=n(17),u,c,l=(u=Object(a.injectable)())(c=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"loadTranslations",value:function e(t){this._loadTranslation(t)}},{key:"_loadTranslation",value:function e(t){var n=t.getLang(),i=t.getTranslationType();webwave.utils.makeAjxaCall({url:t.getSourceUrl(),data:{type:i,language:n},noLoadingBox:!0}, 601function(e){var r={};t.isPrefixTypeShouldBeAddedToMessages()?r[i]=e:r=e,i18n.loadLanguages(n,function(){window.i18n.addResourceBundle(n,"translation",r)}),webwave.isFunction(t.getCallback())&&t.getCallback()()}).catch(function(e){Environment.isNotTest()&&webwave.error(e)})}},{key:"changeLanguage",value:function e(t){i18n.changeLanguage(t,function(e,t){if(e)return console.error("something went wrong loading",e);t("key")})}},{key:"loadCountryList",value:function e(t,n){return webwave.utils.makeAjxaCall({url:t, 602data:{language:n},noLoadingBox:!0}).then(function(e){return e.data})}}]),e}())||c},1779:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"== 603typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"setLocalStorageObject",value:function e(t,n){localStorage[n]=JSON.stringify(t)}},{key:"setPropertyValueInLocalStorageObject",value:function e(t,n,i){var r=this.getObjectFromLocalStorage(t);r[n]=i,this.setLocalStorageObject(r,t)}},{key:"getLocalStorageKey", 604value:function e(t,n){return JSON.parse(localStorage[n])[t]}},{key:"getObjectFromLocalStorage",value:function e(t){if(this.isDefined(t))return JSON.parse(localStorage[t])}},{key:"getValueFromLocalStorage",value:function e(t){if(this.isDefined(t))return localStorage[t]}},{key:"isDefined",value:function e(t){return!!localStorage[t]&&"undefined"!=localStorage[t]}},{key:"removeLocalStorageItem",value:function e(t){localStorage.removeItem(t)}}]),n}(n(26).a)},178:function(e,t,n){t.a={DEFAULT:"p_default_block", 605H1:"h1_default_block",H2:"h2_default_block",H3:"h3_default_block",H4:"h4_default_block",LINK:"custom_link",LINK_HOVER:"custom_link_hover"}},1780:function(e,t,n){var i={SWING:"swing",LINEAR:"linear",EASE_IN:"ease-in",EASE_OUT:"ease-out",EASE_IN_O
605UT:"ease-in-out",BOUNCE_IN:"bounce-in",BOUNCE_OUT:"bounce-out",BOUNCE_IN_OUT:"bounce-in-out"};t.a=i},1781:function(e,t,n){n.d(t,"a",function(){return D});var i=n(28),r=n(6),a=n(0),o=n(1),s=n(10),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(45),v=n(27),g=n.n(v),p= 606n(26),y=n(17),b=n(14),m=n.n(b),w,S,O,_,k,P,A,E,I;function C(e){var t=T();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function T(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}} 607var N="undefined",D=(w=Object(b.injectable)(),S=Object(b.inject)(y.a.EnvironmentUtils),O=Object(b.inject)(y.a.FrontendTranslation),_=Object(b.inject)(y.a.LocationService),w((P=function(e){Object(u.a)(n,e);var t=C(n);function n(){var e;Object(a.a)(this,n);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return e=t.call.apply(t,[this].concat(o)),Object(r.a)(e,"environmentUtils",A,Object(s.a)(e)),Object(r.a)(e,"frontendTranslation",E,Object(s.a)(e)),Object(r.a)(e,"locationService", 608I,Object(s.a)(e)),e.parseUriOptions={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}}, 609e}return Object(o.a)(n,[{key:"getWebsiteId",value:function e(){return $("#websiteId").val()}},{key:"getLanguageCode",value:function e(){return $("#ww_language_code").val()}},{key:"getParentBaseElementId",value:function e(t){return this.getParentBaseElement(t).attr("id")}},{key:"getParentBaseElement",value:function e(t){return t.parents(".ww_element")}},{key:"changeLink",value:function e(t,n){var i=n;if(!1===this.isLinkAbsolute(n))if(!0===this.startsWith(n,"/")){var r=utilService.parseUri(t);i=r.protocol+ 610"://"+r.authority+n}else i=t+"/"+n;return i}},{key:"reloadPage",value:function e(){window.location.reload()}},{key:"isLinkAbsolute",value:function e(t){var n=!1;return void 0===t||0!==t.indexOf("http://")&&0!==t.indexOf("https://")||(n=!0),n}},{key:"getDynamicallyJSFile",value:function e(t,n){jQuery.ajax({type:"GET",url:t,success:n,dataType:"script",cache:!0})}},{key:"getDynamicallyCSSFile",value:function e(t){$("head").append('<link rel="stylesheet" href="'+t+'" type="text/css" />')}},{key:"insertCss", 611value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=document.createElement("style");i.type="text/css",webwave.isStringAndNotEmpty(n)&&(i.id=n),i.styleSheet?i.styleSheet.cssText=t:i.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(i)}},{key:"startsWith",value:function e(t,n){return t.slice(0,n.length)==n}},{key:"parseUri",value:function e(t){for(var n=this.parseUriOptions,i=n.parser[n.strictMode?"strict":"loose"].exec(t),r={},a=14;a--;)r[n.key[a]]= 612i[a]||"";return r[n.q.name]={},r[n.key[12]].replace(n.q.parser,function(e,t,i){t&&(r[n.q.name][t]=i)}),r}},{key:"extractGETParameter",value:function e(t,n){return this.locationService.getParameterByName(t,n)}},{key:"makeAjaxCall",value:function e(t,n,i){return $.ajax({url:this.environmentUtils.getPathForAjax()+t.url,type:"post",data:t.data}).fail(function(e){"function"==typeof i&&i(e)}).done(function(e){1==e.failure?"function"==typeof i&&i(e):"function"==typeof n&&n(e)})}},{key:"loadTranslations", 613value:function e(t){this.frontendTranslation.loadTranslations(t)}},{key:"_initDefaultLanguage",value:function e(t){window.i18n.init({fallbackLng:[t]})}},{key:"isDef",value:function e(t){return"undefined"!==Object(f.a)(t)}},{key:"isNotDef",value:function e(t){return"undefined"===Object(f.a)(t)}},{key:"removeGetParamsFromUrl",value:function e(){var t=window.location.toString();t.indexOf("?")>
6130&&(t=t.substring(0,t.indexOf("?")),window.history.replaceState({},document.title,t))}},{key:"getViewerCountryCode", 614value:function(){var e=Object(i.a)(g.a.mark(function e(){var t=this;return g.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise(function(e){var n="/publishedWebsite/getViewerCountryCode";n=t.locationService.addForceCountryParamIfSetInPath(n),t.makeAjaxCall({url:n},function(t){e(t.data.countryCode)})}));case 1:case "end":return n.stop()}},e)}));function t(){return e.apply(this,arguments)}return t}()}],[{key:"generateRandomID",value:function e(){return Math.floor(4294967296* 615(1+Math.random())).toString(16).substring(1)}}]),n}(p.a),A=Object(d.a)(P.prototype,"environmentUtils",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=Object(d.a)(P.prototype,"frontendTranslation",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=Object(d.a)(P.prototype,"locationService",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=P))||k)},1794:function(e,t,n){t.a={DOM_POSITION:"domPosition",DOM_SIZE:"domSize"}},1795:function(e,t,n){var i= 616n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1774),c=n(1580),l=n(854),d=n(922),h=n(1670),f=n(1660);function v(e){var t=g();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 617[],function(){})),!0}catch(e){return!1}}!function(){webwave.provide("com.webwave.publication.object.LinkWElement");var e=function(e){Object(a.a)(n,e);var t=v(n);function n(e){var r;return Object(i.a)(this,n),r=t.call(this,e),webwave.isDefAndNotNull(e.linkData)&&(r.linkData=d.a.createLink(e.linkData)),r._addLinkClickEvent(),r.interactionsService=null,r.orderPopupService=null,r}return Object(r.a)(n,[{key:"getLinkData",value:function e(){return this.linkData}},{key:"_addLinkClickEvent",value:function e(){var t= 618this;this.getDomObject().on("click.buttonLinkEvent",function(){t.linkClickHandler(t.getLinkData())})}},{key:"linkClickHandler",value:function e(t){t instanceof c.a?this._handleInteractionsLinkClick(t):t instanceof h.a?this._handleShowShopLinkClick():t instanceof u.a&&this._handleShowShopOrderPopupLinkClick(t)}},{key:"_handleShowShopLinkClick",value:function e(){this.orderPopupService.showPopup()}},{key:"_handleShowShopOrderPopupLinkClick",value:function e(t){this.orderPopupService.showPopup(t)}}, 619{key:"_handleInteractionsLinkClick",value:function e(t){for(var n=t.getInteractions().getInteractionsList(),i=0;i<n.length;i++)this.interactionsService.handleInteraction(n[i])}},{key:"setInteractionsService",value:function e(t){this.interactionsService=t}},{key:"setOrderPopupService",value:function e(t){this.orderPopupService=t}}]),n}(f.a);com.webwave.publication.object.LinkWElement=e}(),t.a=com.webwave.publication.object.LinkWElement},1796:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0), 620r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1234),l=n(2075),d=n(1755),h=n(1722),f=n(2113);function v(e){var t=g();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 621[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(o.a)(n,e);var t=v(n);function n(e){var r;return Object(i.a)(this,n),e.positioningMode=d.a.PUSHED_DOWN,(r=t.call(this,e)).minimalDistance=0,r._alwaysPushing=!0,r.defaultSection=e.defaultSection,r._wNodeSettings.countPushDownAttrOnUpdate=!0,r}return Object(r.a)(n,[{key:"countEdgePosition",value:function e(t){if(this.isPushedDownPositioningMode()){if("top"===t)return this.getPushedDownAttr();if("bottom"===t&&0===this.getAllChildrenForSizeComputation().length)return this.getPushedDownAttr()+ 622this.getMinHeightWithoutChildrenForSizeComputation()}return Object(a.a)(Object(u.a)(n.prototype),"countEdgePosition",this).call(this,t)}},{key:"isFullWidth",value:function e(){return!0}},{key:"setMinimalDistance",value:function e(t){var n=t!==this.minimalDistance;this.minimalDistance=t,n&&(this.updatePushedDownAttr(),this.updateDomSizeAndPosition())}},{key:"loadAdditionalData",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadAdditionalData",this).call(this,t),webwave.isNumberAndNotNaN(null=== 623t||void 0===t?void 0:t.minimalTopDistance)&&this.setMinimalDistance(t.minimalTopDistance)}},{key:"getMinimalDistance",value:function e(){return this.minimalDistance}},{key:"computeBindsForRwd",value:function e(){var t={};return this._generateAndAddBindBySection(t,this.objectService.getPreviousSection(this)),this._generateAndAddBindBySection(t,this.objectService.getNextSection(this),!0),t}},{key:"countPushDownAttr",value:function e(t,i){var r=Object(a.a)(Object(u.a)(n.prototype),"countPushDownAttr", 624this).call(this,t,!0),o=this.getPadding("top")+this.getBorderWidth("top",!0);return!1===isFinite(t)&&(r=o),Math.max(this.getMinimalDistance()+o,r)}},{key:"_generateAndAddBindBySection",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==n){var r=[n.getId(),this.getId()];i&&r.reverse(),t[n.getId()]=new h.a({relatedWNodes:r,typeOfRelation:c.a.VERTICAL,pullBack:!0})}}},{key:"isDefaultWSection",value:function e(){return this.defaultSection}},{key:"getMinHeightWithoutChildrenForSizeComputation", 625value:function e(){return this.isDefaultWSection()?f.a.HEADER_HEIGHT:f.a.SECTION_HEIGHT}}]),n}(l.a)}
625,1797:function(e,t,n){t.a={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"}},18:function(e,t,n){t.a=r;var i=n(278);function r(){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function e(t,n,r){var a=Object(i.a)(t,n);if(a){var o=Object.getOwnPropertyDescriptor(a,n);return o.get?o.get.call(arguments.length<3?t:r):o.value}}).apply(this,arguments)}},1804:function(e,t, 626n){n.d(t,"a",function(){return E});var i=n(0),r=n(1),a=n(956),o=n(1645),s=n(112),u=n(2068),c=n(106),l=n(11),d=n.n(l),h=n(121),f=n(51),v=n(1721),g=n(1060),p=n(155),y=n(40),b=n(217),m=n(2069),w=n(2214),S=n(2216),O=n(2070),_=n(1113),k=n(1177),P=n(2111),A=n(1681),E=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._customVisibilityParent=null,this.elementRotationService=t.elementRotationService,this.id=t.id,this.$domObject=t.domObject,this._wNodeSettings= 627new S.a(t.wNodeSettings),this._position=new _.a(t.position),this._offset=new f.a,this._size=new k.a(t.size),Object.defineProperty(this,"pageCanvas",{value:t.pageCanvas,configurable:!1,writable:!0}),this.objectService=null,this._renderedRect=new p.a({position:this.recalcToRenderedPosition(this._position),size:this.recalcToRenderedSize(this._size)}),this.computedSize=new y.a,this.computedPosition=new f.a,this.fullWidth=!0===t.fullWidth,this.computedFullWidth=!1,this.fixed=!0===t.fixed,this._computedFixed= 628this.fixed,this._fixParent=null,this._positionOrigin=webwave.isValidEnumValue(t.positionOrigin,g.a)?t.positionOrigin:g.a.PAGE_TOP_LEFT,this.visible=!1!==t.visible,this.visibilities=new O.a,this.visibilities.setBaseVisibility(this.visible),this.visibilities.addPropertyChangeListener("computedVisibility",this),this.visibilities.addPropertyChangeListener("computedVisibilityForChildren",this),this.visibilities.addPropertyChangeListener("computedVisibilityForInFlow",this),this._minSize=new y.a({width:0, 629height:0}),this._pushedDown=0,this._boundHeightModifier=0,this._relationNode=null,this._parentWNode=null,this._bulkMode=!0,this.children=[],this._childrenRect=new p.a,this._childrenOuterRect=new p.a,this._inFlow=!1,this._attached=!1,this._domNeedsRecalc=!1,this._visibilityNeedsRecalc=!1,this._wObjectEventListeners=[],this.binds={},this._halfBinds={},this._domSizeMode=webwave.isValidEnumValue(t.domSizeMode,o.a)?t.domSizeMode:o.a.OWN_SIZE,this._noPushing=!1,this._noUpdateOnChildPositionChange=!1,this._autoHeight= 630!1,this._mouseOver=!1,this._ownMouseOver=!1,this._externalMouseOvers=new Set,this._state=new P.a,this._statesStyles=this.createStatesStyles(t.statesStyles),this.sticky=!0===t.sticky,this._sticked=!1,this._stickyEnded=!1,this._stickyStartDistance=new s.a,this._stickyEndDistance=new s.a,this._stickyEndDistanceEnabled=!1,this.stuffedSize=void 0,this.stuffedPosition=void 0,this._settedRwdModeId=void 0,this._domElementPositionUpdateEnabled=!0,this._alwaysPushing=!1,this._mostBottomFromOtherPushes=-1/0, 631this._uiEventsLock=new m.a,this._uncopyable=!1,this._computedSticky=!1,this._stickyParent=null}return Object(r.a)(e,[{key:"createStatesStyles",value:function e(t){return A.a.deserialize(t)}},{key:"getId",value:function e(){return this.id}},{key:"_groupPushCondition",value:function e(){return!0}},{key:"getComputedPosition",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!0===t.convertOrigin?this.convertPointToOrigin(this._renderedRect.getPosition(),this.getPositionOrigin()): 632this._renderedRect.getPosition().clone();return!0===t.includeScrollIfFixed&&this.isFixed()&&(n.y+=this.pageCanvas.getCurrentPageAreaScrollY()),n}},{key:"getComputedSize",value:function e(){return this._renderedRect.getSize()}},{key:"getOffset",value:function e(){return this._offset}},{key:"computeOffset",value:function e(){var t=new f.a;t.setY(t.getY()+this.getPushedDownAttr());var n=this.getParentWNode();return webwave.isDefAndNotNull(n)&&!1===this.isFixed()&&t.add(n.getOffset()),t}},{key:"isNoPushing", 633value:function e(){return this._noPushing}},{key:"setNoPushing",value:function e(t){this._noPushing=t}},{key:"onParentOffsetChange",value:function e(){this.setNoPushing(!0),this.updateOffset(),this.setNoPushing(!1)}},{key:"isNoUpdateOnChildPositionChange",value:function e(){return this._noUpdateOnChildPositionChange}},{key:"setNoUpdateOnChildPositionChange",value:function e(t){this._noUpdateOnChildPositionChange=t}},{key:"onOffsetChange",value:function e(){var t=this.getChildren();this.setNoUpdateOnChildPositionChange(!0); 634for(var n=0;n<t.length;n++)t[n].onParentOffsetChange();this.setNoUpdateOnChildPositionChange(!1),this.updateDomPosition()}},{key:"setOffset",value:function e(t){var n=!1===this._offset.equals(t);this._offset=t,n&&this.onOffsetChange()}},{key:"updateOffset",value:function e(){this.setOffset(this.computeOffset())}},{key:"onPushedDownAttrChange",value:function e(){this.updateOffset()}},{key:"setPushedDownAttr",value:function e(t){var n=t!==this._pushedDown;this._pushedDown=t,n&&this.onPushedDownAttrChange()}}, 635{key:"countPushDownAttr",value:function e(t,n){if(!1===isFinite(t))return 0;
635var i=null!==this.getParentWNode()?this.getParentWNode().getOffset().getY():0,r=t-(this.getComputedPosition().getY()-i-this.getPushedDownAttr());return!0===n?Math.max(r,0):r}},{key:"updateBoundHeightModifiers",value:function e(){this.isVisibleForInFlow()&&null!==this.getRelationNode()&&this.getRelationNode().updateBoundHeightModifiers()}},{key:"setBoundHeightModifier",value:function e(t){var n=this._boundHeightModifier!== 636t;this._boundHeightModifier=t,n&&this.updateDomSize()}},{key:"getBoundHeightModifier",value:function e(){return this._boundHeightModifier}},{key:"setBinds",value:function e(t){this.binds=t}},{key:"getBinds",value:function e(){return this.binds}},{key:"getTopBinds",value:function e(){var t={},n=this.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=n[i];r.getTopGroup()!==this.getId()&&(t[i]=r)}return t}},{key:"getChildren",value:function e(t){var n=[],i=this.children;if(!0===t){for(var r=0;r< 637i.length;r++){var a=i[r];(n=n.concat(a.getChildren(!0))).push(a)}i=n}return i}},{key:"updateAllChildrenParentVisibility",value:function e(){for(var t=this.getChildren(),n=0;n<t.length;n++)t[n].updateVisibilityFromParent()}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getChildren();if(this.updateAllChildrenParentVisibility(),(n.length>0||!0===this.hasEnableVisibilityWithoutChildren())&&(this.updateChildRect(),this.isSticky()&& 638this.isVisibleForInFlow()))for(var i=0;i<n.length;i++)n[i].updateDomPosition({noUpdates:!0});this.getDomSizeMode()===o.a.CHILDREN_SIZE&&this.updateInFlow(),this.isVisibleForInFlow()&&this.updateDomPosition(),this.nofityParentOfVisibilityChange(),null!==this._relationNode&&this._relationNode.onWObjectVisibilityChange(),this._triggerVisibilityChangeEvent()}},{key:"invalidateVisibility",value:function e(){this._visibilityNeedsRecalc=!0}},{key:"_setVisibility",value:function e(t){var n=arguments.length> 6391&&void 0!==arguments[1]?arguments[1]:{};if(!1!==webwave.isBoolean(t)){var i=this.visible!==t;this.visible=t;var r=!0===this.visible?"visible":"hidden";return!0===this.hasDomRepresentation()&&(this.getDomObject()[0].style.visibility=r),i&&this.onVisibilityChange(),i}}},{key:"updateWNodeVisibility",value:function e(){if(!1===this.isInitialized()||this.isBulkMode())this.invalidateVisibility();else{var t=this.visibilities.getComputedVisibility();this._setVisibility(t)}}},{key:"onParentWNodeChange",value:function e(t, 640n){webwave.isDefAndNotNull(this.objectService)&&this.objectService.updateRelationsByWObject(this),webwave.isDefAndNotNull(n)&&n.onChildrenChange(),webwave.isDefAndNotNull(t)&&t.onChildrenChange(),this.updateOffset(),null!==t&&this.updateVisibilityFromParent()}},{key:"computeBaseVisibility",value:function e(){return!0}},{key:"updateBaseVisibility",value:function e(){this.visibilities.setBaseVisibility(this.computeBaseVisibility())}},{key:"updateVisibilityFromParent",value:function e(){this.visibilities.setParentVisibility(this.computeParentVisibility())}}, 641{key:"computeParentVisibility",value:function e(){var t=webwave.isDefAndNotNull(this.getCustomVisibilityParent())?this.getCustomVisibilityParent():this.getParentWNode();return!webwave.isDefAndNotNull(t)||t.visibilities.getComputedVisibilityForChildren()}},{key:"getComputedVisibility",value:function e(){return this.visibilities.getComputedVisibility()}},{key:"setParentWNode",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this._parentWNode!==t,r=this._parentWNode; 642this._parentWNode=t,i&&(this.onParentWNodeChange(this._parentWNode,r),!0!==n.doNotTriggerAscendantTreeChangeOnChildren&&(this.onAncestorTreeChange(),this.getChildren(!0).forEach(function(e){e.onAncestorTreeChange()})))}},{key:"getParentWNode",value:function e(){return this._parentWNode}},{key:"getPushedDownAttr",value:function e(){var t=parseInt(this._pushedDown);return isNaN(t)?0:t}},{key:"isAttached",value:function e(){return this._attached}},{key:"setAttached",value:function e(t){var n=this._attached!== 643t;this._attached=t,n&&this.onAttachedChange(this._attached,!this._attached)}},{key:"updatePushedDownAttr",value:function e(){this.isVisibleForInFlow()&&(null!==this.getRelationNode()?this.getRelationNode().updatePushedDown():this._wNodeSettings.hasCountPushDownAttrOnUpdate()?this.setPushedDownAttr(this.countPushDownAttr(0,!0)):this.setPushedDownAttr(0))}},{key:"addBind",value:function e(t){}},{key:"removeBind",value:function e(t){}},{key:"setBulkOperationsMode",value:function e(t){var n=t!==this._bulkOpertionsMode; 644this._bulkOpertionsMode=t}},{key:"performDomRevalidation",value:function e(){this.updateChildRect(),this.updateOuterChildRect(),this.updatePushedDownAttr(),this.updateBoundHeightModifiers()}},{key:"invalidateDom",value:function e(){this._domNeedsRecalc=!0}},{key:"performVisibilityRevalidation",value:function e(){this.updateVisibilityFromParent(),this.updateInFlow(),this.updateAnyChildVisibility(),this.updateWNodeVisibility()}},{key:"revalidateDom",value:function e(){!0===this._domNeedsRecalc&&this.performDomRevalidation(), 645this._domNeedsRecalc=!1}},{key:"revalidateVisibility",value:function e(){!0===this._visibilityNeedsRecalc&&this.performVisibilityRevalidation(),this._visibilityNeedsRecalc=!1}},{key:"isBulkMode",value:function e(){return this._bulkMode}},{key:"setBulkMode",value:function e(t){var n=t!==this._bulkMode;this._bulkMode=!0===t;var i=this.getChildren();this.setNoUpdateOnChildPositionChange(!0);for(var r=0;r<i.length;r++)i[r].setBulkMode(t);this.setNoUpdateOnChildPositionChange(!1),n&&!1===this._bulkMode&& 646(this.revalidateDom(),this.revalidateVisibility(),null!==this._relationNode&&this._relationNode.onWObjectPositionChange())}},{key:"onChildSizeChange",value:function e(t,n,i){this.updateSizeAndPosition()}},{key:"updateSizeAndPosition",value:function e(){this.isBulkMode()?this.invalidateDom():this.performDomRevalidation()}},{key:"onChildPositionChange",value:function e(t,n,i){this.isNoUpdateOnChildPositionChange()?this.invalidateDom():this.updateSizeAndPosition()}},{key:"notifyParentOfSizeChange",value:function e(t, 647n){if(!0!==this._noNotifyParentOfSizeChange){var i=this.getParentWNo
647de();webwave.isDefAndNotNull(i)&&i.onChildSizeChange(this,t,n)}}},{key:"notifyParentOfPositionChange",value:function e(t,n){if(!0!==this._noNotifyParentOfPositionChange){var i=this.getParentWNode();webwave.isDefAndNotNull(i)&&i.onChildPositionChange(this,t,n)}}},{key:"onChildVisibilityChange",value:function e(t,n,i){var r=this.isInFlow();this._noNotifyParentOfInflowChange=!0,this.updateInFlow(),this._noNotifyParentOfInflowChange= 648!1;var a=this.isInFlow()!==r,o=this.visibilities.computeVisibility();this._noNotifyParentOfVisibilityChange=!0,this.updateAnyChildVisibility(),this._noNotifyParentOfVisibilityChange=!1;var s=this.visibilities.computeVisibility()!==o,u=this.getOuterChildRect().clone();this._noNotifyParentOfSizeChange=!0,this._noNotifyParentOfPositionChange=!0,this.updateChildRect(),this._noNotifyParentOfSizeChange=!1,this._noNotifyParentOfPositionChange=!1;var c=!1===this.getOuterChildRect().clone().equals(u);a&&this.notifyParentOfInFlowChange(), 649s&&this.nofityParentOfVisibilityChange(),c&&(this.notifyParentOfSizeChange(),this.notifyParentOfPositionChange())}},{key:"nofityParentOfVisibilityChange",value:function e(){if(!0!==this._noNotifyParentOfVisibilityChange){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildVisibilityChange(this,this.isVisible(),!this.isVisible())}}},{key:"onChildInFlowChange",value:function e(t,n,i){this.updateInFlow(),this.updateChildRect()}},{key:"notifyParentOfInFlowChange",value:function e(){if(!0!== 650this._noNotifyParentOfInflowChange){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildInFlowChange(this,this.isInFlow(),!this.isInFlow())}}},{key:"onInFlowChange",value:function e(){this.notifyParentOfInFlowChange()}},{key:"setInFlow",value:function e(t){var n=t!==this._inFlow;this._inFlow=t,n&&this.onInFlowChange()}},{key:"isInFlow",value:function e(){return this._inFlow}},{key:"onChildrenChange",value:function e(){this.updateInFlow(),this.updateAnyChildVisibility(),this.updateSizeAndPosition()}}, 651{key:"onChildFixedChange",value:function e(){this.updateSizeAndPosition()}},{key:"notifyParentOfFixedChange",value:function e(){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildFixedChange()}},{key:"onFixedChange",value:function e(t,n){this.notifyParentOfFixedChange(),this.getDomSizeMode()===o.a.CHILDREN_SIZE&&this.updateChildRect()}},{key:"onChildAttachedChange",value:function e(){this.updateInFlow()}},{key:"notifyParentOfAttachedChange",value:function e(){var t=this.getParentWNode(); 652webwave.isDefAndNotNull(t)&&t.onChildAttachedChange()}},{key:"onAttachedChange",value:function e(t,n){this.isFixed()&&this.isAttached()&&this.updateDomPosition(),this.notifyParentOfAttachedChange(),this.updateAnyChildVisibility()}},{key:"setRelationNode",value:function e(t){this._relationNode=t}},{key:"getRelationNode",value:function e(){return this._relationNode}},{key:"updateAnyChildVisibility",value:function e(){this.getDomSizeMode()===o.a.CHILDREN_SIZE&&(this.isBulkMode()?this.invalidateVisibility(): 653!1===this.hasEnableVisibilityWithoutChildren()&&0===this.getAllChildrenForSizeComputation().length?this.visibilities.setAnyChildVisibility(!1):this.visibilities.setAnyChildVisibility(void 0))}},{key:"onChildAdded",value:function e(t){this.updateInFlow(),this.updateAnyChildVisibility(),this.updateSizeAndPosition()}},{key:"onChildRemoved",value:function e(){this.updateInFlow(),this.updateAnyChildVisibility(),this.updateSizeAndPosition()}},{key:"forEachAncestor",value:function e(t){if(!1!==webwave.isFunction(t))for(var n= 654this.getParentWNode();null!==n;)t(n),n=n.getParentWNode()}},{key:"onDescendantTreeChange",value:function e(){}},{key:"_updateComputedFixed",value:function e(){var t=this._computeFixed();this._computedFixed!==t&&this._setComputedFixed(t)}},{key:"_computeFixParent",value:function e(){var t,n;return null!==(t=this.getParentWNode())&&void 0!==t&&t.canBeFixedParent()?this.getParentWNode():null===(n=this.getParentWNode())||void 0===n?void 0:n._computeFixParent()}},{key:"canBeFixedParent",value:function e(){return!1===
655this.allowAlternateFixedChildren()&&(null===this.getParentWNode()||this.getParentWNode().allowAlternateFixedChildren())}},{key:"_setFixParent",value:function e(t){var n=this._fixParent!==t;this._fixParent=t,n&&this._updateComputedFixed()}},{key:"getFixParent",value:function e(){return this._fixParent}},{key:"_updateFixParent",value:function e(){this._setFixParent(this._computeFixParent())}},{key:"onAncestorTreeChange",value:function e(){this._updateStickyParent(),this._updateFixParent()}},{key:"addChild", 656value:function e(t,n){webwave.isDefAndNotNull(t._parentWNode)&&t._parentWNode.removeChild(t,{doNotTriggerAscendantTreeChangeOnChildren:!0});var i=this.children.indexOf(t);-1!==i&&this.children.splice(i,1),webwave.isNumberAndNotNaN(n)?this.children.splice(l.MathUtils.limitValue(n,0,this.children.length),0,t):this.children.push(t),t.setParentWNode(this),this.onChildAdded(t),this.onDescendantTreeChange(),this.forEachAncestor(function(e){e.onDescendantTreeChange()})}},{key:"removeChild",value:function e(t){var n= 657arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.children.indexOf(t);-1!==i&&(this.children.splice(i,1),t.getParentWNode()===this&&t.setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:n.doNotTriggerAscendantTreeChangeOnChildren}),this.onChildRemoved(),this.onDescendantTreeChange(),this.forEachAncestor(function(e){e.onDescendantTreeChange()}))}},{key:"getChildWNodeIndex",value:function e(t){return this.children.indexOf(t)}},{key:"swapChildren",value:function e(t){for(var n= 658this.getChildren().slice(),i=0;i<n.length;i++)n[i].setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:!0});this.children=t;for(var r=0;r<t.length;r++)t[r].setParentWNode(this);this.onChildrenChange()}},{key:"bulkAddChildren",value:function e(t){var n=this,i=t.filter(function(e){return-1===n.children.indexOf(e)});this.swapChildren(this.children.concat(i))}},{key:"bulkRemoveChildren",value:function e(t){var n=this.children.filter(function(e){return-1===t.indexOf(e)});this.swapChildren(n)}}, 659{key:"hasChildren",value:function e(){return this.children.length>0}},{key:"onOuterChildRectChange",value:function e(t,n){this.getDomSizeMode()===o.a.CHILDREN_SIZE&&(this.updateDomSizeAndPosition(),t.getPosition().getY()!==n.getPosition().getY()&&this.updatePushedDownAttr(),t.getPosition().getY()+t.getSize().getHeight()!==n.getPosition().getY()+n.get
659Size().getHeight()&&this.updateBoundHeightModifiers())}},{key:"getOuterChildRect",value:function e(){return this._childrenOuterRect}},{key:"setOuterChildRect", 660value:function e(t){var n=this.getOuterChildRect(),i=!1===n.equals(t);this._childrenOuterRect=t,i&&this.onOuterChildRectChange(t,n)}},{key:"getPadding",value:function e(){return 0}},{key:"getBorderWidth",value:function e(){return 0}},{key:"updateOuterChildRect",value:function e(){if(this.getDomSizeMode()!==o.a.OWN_SIZE)if(this.isBulkMode())this.invalidateDom();else{var t=this.getPaddingAndBorderSizes(),n=this.getChildRect().clone();n.getPosition().setX(n.getPosition().getX()-t.left),n.getPosition().setY(n.getPosition().getY()- 661t.top),n.getSize().setWidth(n.getSize().getWidth()+t.horizontal),n.getSize().setHeight(n.getSize().getHeight()+t.vertical),this.setOuterChildRect(n)}}},{key:"getChildRect",value:function e(){return this._childrenRect}},{key:"onChildRectChange",value:function e(t,n){this.updateOuterChildRect()}},{key:"setChildrenRect",value:function e(t){var n=this._childrenRect,i=!1===this._childrenRect.equals(t);this._childrenRect=t,i&&this.onChildRectChange(this._childrenRect,n)}},{key:"getAllChildrenForSizeComputation", 662value:function e(){var t=this;return this.getDomSizeMode()===o.a.OWN_SIZE?this.getChildren().filter(function(e){return!0===e._shouldBeConsiderInParentSizeComputation()}):this.getChildren().filter(function(e){return!0===e._shouldBeConsiderInParentSizeComputation()&&(!0===t.isFixed()||!1===e.isFixed())})}},{key:"countEdgePosition",value:function e(t){var n=this.getAllChildrenForSizeComputation();if(0===n.length)return t!==a.a.TOP&&t!==a.a.BOTTOM||!Number.isFinite(this.getMostBottomFromOtherPushes())? 6630:this.getMostBottomFromOtherPushes()+this.getPaddingAndBorderSizes().top;switch(t){case a.a.LEFT:return n.reduce(function(e,t){return Math.min(e,t.getRenderedRectangle().getX1())},1/0);case a.a.TOP:return n.reduce(function(e,t){return Math.min(e,t.getRenderedRectangle().getY1())},1/0);case a.a.BOTTOM:return n.reduce(function(e,t){return Math.max(e,t.getRenderedRectangle().getY2())},-1/0);case a.a.RIGHT:return n.reduce(function(e,t){return Math.max(e,t.getRenderedRectangle().getX2())},-1/0)}return null}}, 664{key:"calcChildrenRect",value:function e(){var t=this.countEdgePosition("top")-this.getOffset().getY(),n=this.countEdgePosition("left"),i=this.countEdgePosition("bottom")-this.getOffset().getY(),r=this.countEdgePosition("right");return new p.a({position:{x:n,y:t},size:{width:r-n,height:i-t}})}},{key:"updateChildRect",value:function e(){this.getDomSizeMode()===o.a.CHILDREN_SIZE&&this.setChildrenRect(this.calcChildrenRect())}},{key:"convertHorizontalLengthToUnit",value:function e(t,n){return webwave.isDef(this.pageCanvas)? 665this.pageCanvas.convertHorizontalLengthToUnit(t,n):(t instanceof s.a==!1&&(t=s.a.createLengthWithPxUnitFromValue(t)),t)}},{key:"convertVerticalLengthToUnit",value:function e(t,n){return webwave.isDef(this.pageCanvas)?this.pageCanvas.convertVerticalLengthToUnit(t,n):(t instanceof s.a==!1&&(t=s.a.createLengthWithPxUnitFromValue(t)),t)}},{key:"convertVerticalLengthFromUnit",value:function e(t){if(webwave.isDef(this.pageCanvas)){var n=this.pageCanvas.createPageDimensionObject();return u.a.convertVerticalLengthToPx(t, 666n)}return t instanceof s.a==!1&&(t=s.a.createLengthWithPxUnitFromValue(t)),t}},{key:"recalcToRenderedPosition",value:function e(t){var n=t.getX(),i=t.getY(),r=new f.a({x:n.getValue(),y:i.getValue()});return webwave.isNotDefOrNull(this.pageCanvas)?r:(r.setX(this.convertHorizontalLengthToUnit(n,c.a.PX).getValue()),r.setY(this.convertVerticalLengthToUnit(i,c.a.PX).getValue()),r)}},{key:"initialize",value:function e(){this._initialized=!0}},{key:"isInitialized",value:function e(){return!0}},{key:"isBeingInitialized", 667value:function e(){return!1}},{key:"isNodeAtBottomInRelation",value:function e(t){var n;return(null===(n=this.getBinds()[t.getId()])||void 0===n?void 0:n.getBottomGroup())===t.getId()}},{key:"applySizeModifiers",value:function e(t){t.height+=this.getBoundHeightModifier()}},{key:"addWObjectEventListener",value:function e(t){this._wObjectEventListeners.push(t)}},{key:"removeWObjectEventListener",value:function e(t){var n=this._wObjectEventListeners.indexOf(t);-1!==n&&this._wObjectEventListeners.splice(n, 6681)}},{key:"_triggerSizeChangeEvent",value:function e(){if(this._wObjectEventListeners.length>0)for(var t=new w.a(this),n=0;n<this._wObjectEventListeners.length;n++)this._wObjectEventListeners[n].wObjectSizeChanged(t)}},{key:"_triggerPositionChangeEvent",value:function e(){if(this._wObjectEventListeners.length>0)for(var t=new w.a(this),n=0;n<this._wObjectEventListeners.length;n++)this._wObjectEventListeners[n].wObjectPositionChanged(t)}},{key:"_triggerVisibilityChangeEvent",value:function e(){if(this._wObjectEventListeners.length> 6690)for(var t=new w.a(this),n=0;n<this._wObjectEventListeners.length;n++)this._wObjectEventListeners[n].wObjectVisibilityChanged(t)}},{key:"_triggerStickyChangeEvent",value:function e(){if(this._wObjectEventListeners.length>0)for(var t=new w.a(this),n=0;n<this._wObjectEventListeners.length;n++)webwave.isFunction(this._wObjectEventListeners[n].wObjectStickyChanged)&&this._wObjectEventListeners[n].wObjectStickyChanged(t)}},{key:"_convertPositionOriginEnumToClass",value:function e(t){var n=a.a.LEFT;switch(t){case g.a.PAGE_TOP_RIGHT:case g.a.SCREEN_TOP_RIGHT:n= 670a.a.RIGHT;break;default:n=a.a.LEFT;break}return new v.a([n,a.a.TOP])}},{key:"getPositionOrigin",value:function e(){var t;return!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).asClass?this._convertPositionOriginEnumToClass(this._positionOrigin):this._positionOrigin}},{key:"_convertPositionOriginClassToEnum",value:function e(t){var n=new v.a(t),i=g.a.PAGE_TOP_LEFT;return i=this.isDynamicPositioning()?"left"===n.getHorizontalPosition()?g.a.SCREEN_TOP_LEFT:g.a.SCREEN_TOP_RIGHT:"left"=== 671n.getHorizontalPosition()?g.a.PAGE_TOP_LEFT:g.a.PAGE_TOP_RIGHT}},{key:"convertPointFromOrigin",value:function e(t,n){var i=t.clone();return n!==g.a.SCREEN_TOP_RIGHT&&n!==g.a.PAGE_TOP_RIGHT||i.setX(i.getX()+this.getComputedSize().getWidth()),webwave.isDefAndNotNull(this.pageCanvas)?this.pageCanvas.convertPointFromOrigin(i,n):i}},{key:"applyPositionModifiers",value:function e(t){t.add(this.getOffset())}},{key:"_applyFixedModifications",value:function e(t){return webwave.isDef(this.objectService)&&(this.getDomObject()[0].style.position=
672"fixed",t=this.objectService.normal2FixedCoords(t)),t}},{key:"computeStickyStartDistanceValue",value:function e(){return this.convertVerticalLengthToUnit(this.getStickyStartDistance()).getValue()}},{key:"_applyStickyModifications",value:function e(t){if(webwave.isDef(this.pageCanvas)){var n=this.computeStickyEndDistanceValue(),i=this.computeStickyStartDistanceValue(),r=this.pageCanvas.getViewPort().getY1(),a,o=n,s=r>t.y-i&&r<o,u=r>=o;this.getDomObject()[0].style.position=s?"fixed":"absolute",s&&(t= 673this.objectService.normal2FixedCoords(new f.a({x:t.x,y:i}))),u?(t.y=o+i,this.setStickyEnded(!0)):this.setStickyEnded(!1),this.getDomObject().toggleClass("sticked",s),this.setSticked(s)}return t}},{key:"computeStickyEndDistanceValue",value:function e(){var t=1/0,n=this.getParentWNode();return webwave.isDefAndNotNull(n)&&!1===n.allowAlternateFixedChildren()?t=this.getParentWNode().computeStickyEndDistanceValue():this.isStickyEndDistanceEnabled()&&(t=this.convertVerticalLengthToUnit(this.getStickyEndDistance()).getValue()), 674t}},{key:"_triggerPostPositionChangeEvents",value:function e(t,n){this.onDomPositionChange(),this.isAttached()&&this.isVisibleForInFlow()&&this.notifyParentOfPositionChange(t,n),null!==this._relationNode&&this._relationNode.onWObjectPositionChange(t,n),this.afterDomPositionChange(),this._triggerPositionChangeEvent()}},{key:"updateDomPosition",value:function e(t){if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){webwave.isNotDef(t)&&(t={});var n=this.getComputedPosition().clone(), 675i;if(this.getDomSizeMode()===o.a.OWN_SIZE){var r=this.recalcToRenderedPosition(this._position);i=this.convertPointFromOrigin(r,this.getPositionOrigin())}else i=this.getOuterChildRect().getPosition().clone();this.isFullWidth()&&(i.x=this.computeFullWidthParams().x),this.applyPositionModifiers(i),webwave.isDef(this.stuffedPosition)&&(i=this.stuffedPosition);var a=!1===n.equals(i);return this._renderedRect.setPosition(i.clone()),this.isDomElementPositionUpdateEnabled()&&this.updateDomElementPosition(), 676a&&!0!==t.noUpdates&&this._triggerPostPositionChangeEvents(i,n),a}}},{key:"afterDomSizeChange",value:function e(){}},{key:"onDomPositionChange",value:function e(){}},{key:"afterDomPositionChange",value:function e(){}},{key:"updateSizesAfterRotate",value:function e(){}},{key:"recalcToRenderedSize",value:function e(t){var n=t.getWidth(),i=t.getHeight(),r=new y.a({width:n.getValue(),height:i.getValue()});return webwave.isNotDefOrNull(this.pageCanvas)?r:(r.setWidth(this.convertHorizontalLengthToUnit(n, 677c.a.PX).getValue()),r.setHeight(this.convertVerticalLengthToUnit(i,c.a.PX).getValue()),r)}},{key:"getSize",value:function e(){return this._size}},{key:"getPosition",value:function e(){return this._position}},{key:"isFullWidth",value:function e(){return this.fullWidth}},{key:"isFixed",value:function e(){var t;return!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).ownValue?this.fixed:this._computedFixed}},{key:"setFixed",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]? 678arguments[1]:{},i=this.fixed!==t;this.fixed=!0===t,this._updateComputedFixed(),!0===n.userInteraction&&this.saveCurrentRwdProperties(),i&&this.notifyDescendantsOfFixedParentChange()}},{key:"_computeFixed",value:function e(){var t=this.getFixParent();return webwave.isDefAndNotNull(t)?t.isFixed({ownValue:!0}):this.isFixed({ownValue:!0})}},{key:"_setComputedFixed",value:function e(t){var n=t!==this._computedFixed;this._computedFixed=!0===t,n&&(this.updateOffset(),this.updateDomPosition(),this.onFixedChange())}}, 679{key:"notifyDescendantsOfFixedParentChange",value:function e(){for(var t=this.getChildren(!0),n=0;n<t.length;n++)t[n].onParentFixedChange()}},{key:"onParentFixedChange",value:function e(){this._updateComputedFixed()}},{key:"getOriginSize",value:function e(){return this.recalcToRenderedSize(this.getSize())}},{key:"getMinSize",value:function e(){return this._minSize}},{key:"getRotation",value:function e(){return 0}},{key:"applyComputedSizeModifiers",value:function e(t){this.isAutoHeight()&&t.setHeight(0)}}, 680{key:"getDomSizeMode",value:function e(){return this._domSizeMode}},{key:"computeFullWidthParams",value:function e(){var t,n=null===(t=this.rwdService)||void 0===t?void 0:t.getCurrentMode();if(webwave.isDef(this.pageCanvas)&&this._settedRwdModeId===(null===n||void 0===n?void 0:n.getId()))return this.pageCanvas.getFullWidthObjectParam
680s();var i,r,a,o,s=null===(i=com)||void 0===i?void 0:null===(r=i.webwave)||void 0===r?void 0:null===(a=r.gui)||void 0===a?void 0:null===(o=a.rwd)||void 0===o?void 0:o.rwdService.getRwdModeById(this._settedRwdModeId); 681return{x:0,width:(null===s||void 0===s?void 0:s.width)||0}}},{key:"computeSize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(webwave.isDef(this.stuffedSize))return this.stuffedSize;var n=this.getMinSize(),i=this.getDomSizeMode()===o.a.OWN_SIZE?this.recalcToRenderedSize(this.getSize()):this._childrenOuterRect.getSize().clone();this.applyComputedSizeModifiers(i);var r=Math.max(i.getHeight(),n.getHeight()),a=Math.max(i.getWidth(),n.getWidth());if(!0!==t.noRotation&& 682this.isRotated()){var s=this.elementRotationService.transformSizesToRotation(a,r,this.getRotation());a=s.getWidth(),r=s.getHeight()}return this.isFullWidth()&&(a=this.computeFullWidthParams().width),new y.a({width:a,height:r})}},{key:"isVisible",value:function e(){return this.visible}},{key:"isVisibleForInFlow",value:function e(){return this.visibilities.getComputedVisibilityForInFlow()}},{key:"isVisibleForChildren",value:function e(){return this.visibilities.getComputedVisibilityForChildren()}}, 683{key:"isRotated",value:function e(){return!1}},{key:"_setWObjectPosition",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!1===this._position.equals(t)&&(this._position=t,this.updateInFlow(),!0!==n.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition())}},{key:"getDomObject",value:function e(){return webwave.isDef(this.$domObject)?this.$domObject:$()}},{key:"hasDomRepresentation",value:function e(){return 0!==this.getDomObject().length}},{key:"_setPositionOld", 684value:function e(t,n,i){void 0===i&&(i={});var r=!1;null!==t&&(this.getPosition().setXValue(t),!1===this.noHorizontalDrag&&(r=!0)),null!==n&&(this.isFooterElement()&&n<0&&(n=Math.max(0,n)),this.getPosition().setYValue(n),r=!0),r&&!0!==i.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition()}},{key:"setPosition",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof _.a?(this._setWObjectPosition(t,n),webwave.isDef(n)&&(i=n)):this._setPositionOld(t, 685n,i),!0===i.userInteraction&&this.saveCurrentRwdProperties()}},{key:"_computeInFlow",value:function e(t){return this.getDomSizeMode()===o.a.CHILDREN_SIZE&&!1===this.hasEnableFlowWithoutChildren()?this.getAllChildrenForSizeComputation().length>
6850:this.getSize().getWidth().getUnit()!==c.a.PERCENT&&this.getSize().getHeight().getUnit()!==c.a.PERCENT&&this.getPosition().getX().getUnit()!==c.a.PERCENT&&this.getPosition().getY().getUnit()!==c.a.PERCENT}},{key:"updateInFlow",value:function e(){this.setInFlow(this._computeInFlow())}}, 686{key:"_oldSetSize",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=!1;return null!==n&&(n=Math.min(n,e.maxSize.WIDTH),this._size.getWidth().getValue()!==n&&(a=!0),this._size.getWidth().setValue(n)),null!==i&&(i=Math.min(i,e.maxSize.HEIGHT),this._size.getHeight().getValue()!==i&&(a=!0),this._size.getHeight().setValue(i)),this.updateDomSize(),a}},{key:"_newSetSize",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!1=== 687this._size.equals(t)&&(this._size=t,this.updateInFlow(),!0!==n.noDomElementUpdate&&this.isInitialized()&&this.updateDomSizeAndPosition(),!0)}},{key:"setSize",value:function e(t,n,i){var r=!1;return t instanceof k.a?(r=this._newSetSize(t,n),webwave.isDef(n)&&(i=n)):r=this._oldSetSize(t,n,i),webwave.isNotDef(i)&&(i={}),r}},{key:"_triggerPostSizeChangeEvents",value:function e(t,n){webwave.isFunction(this.updateSizesAfterRotate)&&this.updateSizesAfterRotate(),this.isAttached()&&this.isVisibleForInFlow()&& 688this.notifyParentOfSizeChange(t,n),null!==this._relationNode&&this._relationNode.onWObjectSizeChange(t,n),this.afterDomSizeChange(),this._triggerSizeChangeEvent()}},{key:"updateDomSize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){var n=this.getComputedSize().clone(),i=this.computeSize();this.applySizeModifiers(i);var r=!1===this._renderedRect.getSize().equals(i); 689return this._renderedRect.setSize(i),!0===this.hasDomRepresentation()&&(this.$domObject[0].style.width=i.getWidth()+"px",this.$domObject[0].style.height=i.getHeight()+"px"),!0===r&&!0!==t.noUpdates&&this._triggerPostSizeChangeEvents(i,n),r}}},{key:"updateDomSizeAndPosition",value:function e(){var t=this.updateDomSize({noUpdates:!0}),n=this.updateDomPosition({noUpdates:!0});!0===t&&this._triggerPostSizeChangeEvents(),!0===n&&this._triggerPostPositionChangeEvents()}},{key:"setObjectService",value:function e(t){Object.defineProperty(this, 690"objectService",{value:t,configurable:!1})}},{key:"getSiblings",value:function e(){var t=this;return null!==this.getParentWNode()?this.getParentWNode().getChildren().filter(function(e){return e!==t}):[]}},{key:"isAutoHeight",value:function e(){return this._autoHeight}},{key:"isEveryChildrenHasAutoHeight",value:function e(){var t=this.getChildren(!0);return t.length>0&&t.every(function(e){return!0===e.isAutoHeight()})}},{key:"onAutoHeightChange",value:function e(){}},{key:"setAutoHeight",value:function e(t){var n= 691this.autoHeight!==t;this._autoHeight=t,n&&this.onAutoHeightChange()}},{key:"computeAutoHeight",value:function e(){return!1}},{key:"updateAutoHeight",value:function e(){this.setAutoHeight(this.computeAutoHeight())}},{key:"isMouseOver",value:function e(){return this._mouseOver}},{key:"onChildMouseOverChange",value:function e(){this.updateMouseOver()}},{key:"onMouseOverChange",value:function e(){var t=this.getParentWNode();webwave.isDefAndNotNull(t)&&t.onChildMouseOverChange()}},{key:"setMouseOver", 692value:function e(t){var n=this._mouseOver!==t;this._mouseOver=t,n&&this.onMouseOverChange()}},{key:"computeMouseOver",value:function e(){return this.getOwnMouseOver()||this._externalMouseOvers.size>0||this.getChildren().some(function(e){return e.isMouseOver()})}},{key:"updateMouseOver",value:function e(){this.setMouseOver(this.computeMouseOver())}},{key:"getOwnMouseOver",value:function e(){return this._ownMouseOver}},{key:"onOwnMouseOverChange",value:function e(){this.updateMouseOver(),this.updateState()}}, 693{key:"setOwnMouseOver",value:function e(t){var n=this._ownMouseOver!==t;this._ownMouseOver=t,n&&this.onOwnMouseOverChange()}},{key:"domMouseEnterHandler",value:function e(){this.setOwnMouseOver(!0)}},{key:"domMouseLeaveHandler",value:function e(){this.setOwnMouseOver(!1)}},{key:"initHoverEvents",value:function e(){var t=this,n=this.getDomObject();n.on("mouseenter",function(){!1===t._uiEventsLock.isLocked()?t.domMouseEnterHandler():t.customMouseEnterHandler()}),n.on("mouseleave",function(){!1===t._uiEventsLock.isLocked()&& 694t.domMouseLeaveHandler()})}},{key:"customMouseEnterHandler",value:function e(){}},{key:"hasTopBinds",value:function e(){var t=this.getBinds();for(var n in t){var i;if(t.hasOwnProperty(n))if(t[n].getTopGroup()!==this.getId())return!0}return!1}},{key:"hasBinds",value:function e(){return Object.keys(this.getBinds()).length>0}},{key:"setStatesStyles",value:function e(t){this._statesStyles=t}},{key:"getStatesStyles",value:function e(){return this._statesStyles}},{key:"applyStateStyle",value:function e(t){var n, 695i;if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).mergeStyles){var r=this.getStateStyle(b.a.NORMAL).clone(),a=this.getStateStyle(b.a.HOVER).clone();r.applyPartialObjectStyle(a),i=r}else i=this.getStateStyle(t);this.applyPartialObjectStyle(i)}},{key:"applyPartialObjectStyle",value:function e(t){}},{key:"updateStateStyle",value:function e(){if(this.canChangeStateStyle()){var t=this.getState().getName();this.applyStateStyle(t,{mergeStyles:this.shouldMergeStateStyles(t)})}else webwave.error("object not support changeStates")}}, 696{key:"shouldMergeStateStyles",value:function e(t){return t===b.a.HOVER}},{key:"onSStateChange",value:function e(){this.canChangeStateStyle()&&this.updateStateStyle()}},{key:"setState",value:function e(t){var n=this.getState().getName()!==t;
696this.getState().setStateByName(t),n&&this.onSStateChange()}},{key:"getState",value:function e(){return this._state}},{key:"updateState",value:function e(){this.canChangeState()&&this.setState(this.computeState())}},{key:"temporaryChangeState",value:function e(t){this.setState(t)}}, 697{key:"setStyleVersion",value:function e(t){this.applyStateStyle(t)}},{key:"computeState",value:function e(){return this.computeMouseOver()?b.a.HOVER:b.a.NORMAL}},{key:"canChangeState",value:function e(){return!1===this.getState().isLocked()}},{key:"canChangeStateStyle",value:function e(){return!1}},{key:"canChangeStateByStyleableComponent",value:function e(){return!1}},{key:"getStateStyle",value:function e(t){return this.getStatesStyles().getState(t)}},{key:"canChangePositionOrigin",value:function e(){return!0}}, 698{key:"setDynamicPositioning",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0===t?this.setPositionOrigin(g.a.SCREEN_TOP_LEFT,{userInteraction:n.userInteraction,isActionUndoable:n.isActionUndoable,recalcPosition:!0,deep:n.deep}):this.setPositionOrigin(g.a.PAGE_TOP_LEFT,{userInteraction:n.userInteraction,isActionUndoable:n.isActionUndoable,recalcPosition:!0,deep:n.deep})}},{key:"setPreviousPosition",value:function e(){}},{key:"isDynamicPositioning",value:function e(){return this.getPositionOrigin()=== 699g.a.SCREEN_TOP_LEFT||this.getPositionOrigin()===g.a.SCREEN_TOP_RIGHT}},{key:"canChangeDynamicPositioning",value:function e(){return!0}},{key:"setSticky",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.sticky!==t;return this.sticky=t,i&&this.notifyDescendantsOfStickyParentChange(),this._updateComputedSticky(n)}},{key:"notifyDescendantsOfStickyParentChange",value:function e(){for(var t=this.getChildren(!0),n=0;n<t.length;n++)t[n].onParentStickyChange()}},{key:"onParentStickyChange", 700value:function e(){this._updateComputedSticky()}},{key:"_updateComputedSticky",value:function e(t){var n=this._computeSticky();return this._computedSticky!==n&&this._setComputedSticky(n,t)}},{key:"_computeSticky",value:function e(){var t=this._stickyParent;return webwave.isDefAndNotNull(t)?t.isOwnedSticky():this.isOwnedSticky()}},{key:"isOwnedSticky",value:function e(){return this.sticky}},{key:"_setComputedSticky",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}, 701i=this._computedSticky!==t;if(this._computedSticky=t,i){if(this.isInitialized()){this.updateDomPosition();for(var r=this.getChildren({deep:!0}),a=0;a<r.length;a++)r[a].isInitialized()&&r[a].updateDomPosition()}!1===this._computedSticky&&(this.setSticked(!1),this.setStickyEnded(!1))}return i}},{key:"_computeStickyParent",value:function e(){var t,n;return null!==(t=this.getParentWNode())&&void 0!==t&&t.canBeStickyParent()?this.getParentWNode():null===(n=this.getParentWNode())||void 0===n?void 0:n._computeStickyParent()}}, 702{key:"canBeStickyParent",value:function e(){return!1===this.allowAlternateStickyChildren()&&(null===this.getParentWNode()||this.getParentWNode().allowAlternateStickyChildren())}},{key:"_setStickyParent",value:function e(t){var n=this._stickyParent!==t;this._stickyParent=t,n&&this._updateComputedSticky()}},{key:"getStickyParent",value:function e(){return this._stickyParent}},{key:"_updateStickyParent",value:function e(){this._setStickyParent(this._computeStickyParent())}},{key:"setSticked",value:function e(t){var n= 703this._sticked!==t;this._sticked=!0===t,n&&this._triggerStickyChangeEvent()}},{key:"setStickyEnded",value:function e(t){var n=this._stickyEnded!==t;this._stickyEnded=t,n&&this._triggerStickyChangeEvent()}},{key:"isStickyEnded",value:function e(){return this._stickyEnded}},{key:"isSticked",value:function e(){return this._sticked}},{key:"isSticky",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._stickyParent)&&this._stickyParent.isSticky()? 704!0!==t.falseIfAncestorIsSticky:!0===this._computedSticky}},{key:"setStickyStartDistance",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!1;i=webwave.isNotDefOrNull(t)?webwave.isDefAndNotNull(this._stickyStartDistance):webwave.isNotDefOrNull(this._stickyStartDistance)||!1===this._stickyStartDistance.equals(t),this._stickyStartDistance=t,this.updateDomPosition();for(var r=this.getChildren(),a=0;a<r.length;a++)r[a].updateDomPosition();return i}},{key:"setStickyEndDistanceEnabled", 705value:function e(t){var n=t!==this._stickyEndDistanceEnabled;return this._stickyEndDistanceEnabled=t,n}},{key:"isStickyEndDistanceEnabled",value:function e(){return!0===this._stickyEndDistanceEnabled}},{key:"isNewStickyEndDistanceValid",value:function e(t){var n=this.convertVerticalLengthToUnit(t,c.a.PX),i;return this.convertVerticalLengthToUnit(this.getStickyStartDistance(),c.a.PX).getValue()+this.getComputedPosition().getY()<n.getValue()}},{key:"setStickyEndDistance",value:function e(t){var n=webwave.isNotDefOrNull(this._stickyEndDistance)|| 706!1===this._stickyEndDistance.equals(t);return this._stickyEndDistance=t,n}},{key:"getStickyEndDistance",value:function e(){return this._stickyEndDistance}},{key:"getStickyStartDistance",value:function e(){var t=webwave.isDefAndNotNull(this._stickyStartDistance)?this._stickyStartDistance.clone():s.a.createLengthWithPxUnitFromValue(0),n=this.getParentWNo
706de();if(null!==n&&n.isSticky()){t=n.getStickyStartDistance().clone();var i=this.getComputedPosition().getY()-n.getComputedPosition().getY();t.add(this.convertVerticalLengthToUnit(i, 707t.getUnit()))}return t}},{key:"equalsParentWNode",value:function t(n){return n instanceof e!=!1&&this.getParentWNode()===n.getParentWNode()}},{key:"setStuffedSizeAndPosition",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.stuffedSize=t.size,this.stuffedPosition=t.position,this.updateDomSizeAndPosition()}},{key:"getRenderedRectangle",value:function e(){return this._renderedRect}},{key:"getRenderedRectangleDimensionValueByOrientation",value:function e(t){var n; 708switch(t){case h.a.HORIZONTAL:n=this.getRenderedRectangle().getWidth();break;case h.a.VERTICAL:n=this.getRenderedRectangle().getHeight();break}return n}},{key:"isDomElementPositionUpdateEnabled",value:function e(){return this._domElementPositionUpdateEnabled}},{key:"setDomElementPositionUpdateEnabled",value:function e(t){this._domElementPositionUpdateEnabled=t}},{key:"updateDomElementPosition",value:function e(){var t=this._renderedRect.getPosition().clone();this.isFixed()?t=this._applyFixedModifications(t): 709this.isSticky()?t=this._applyStickyModifications(t):this.getDomObject()[0].style.position="absolute",this.$domObject[0].style.left="".concat(t.x,"px"),this.$domObject[0].style.top="".concat(t.y,"px")}},{key:"isAlwaysPushing",value:function e(){return this._alwaysPushing}},{key:"getMinimalTopDistance",value:function e(){return 0}},{key:"dumpTree",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="";n+=t+this.toString();var i=this.getChildren();if(this.getChildren().length> 7100){n+="".concat(t,"{\n");for(var r=0;r<i.length;r++)n+=i[r].dumpTree("".concat(t," "));n+="".concat(t,"}")}return n+="".concat(t,"\n")}},{key:"hasEnableFlowWithoutChildren",value:function e(){return!0===this._wNodeSettings.enableFlowWithoutChildren}},{key:"hasEnableVisibilityWithoutChildren",value:function e(){return!0===this._wNodeSettings.enableVisibilityWithoutChildren}},{key:"setCustomVisibilityParent",value:function e(t){var n=this._customVisibilityParent!==t;this._customVisibilityParent= 711t,n&&this.updateVisibilityFromParent()}},{key:"getCustomVisibilityParent",value:function e(){return this._customVisibilityParent}},{key:"getBorderEnabled",value:function e(){return!1}},{key:"allowAlternateFixedChildren",value:function e(){return!0!==this._wNodeSettings.disableAlternateFixedChildren}},{key:"allowAlternateStickyChildren",value:function e(){return!0!==this._wNodeSettings.disableAlternateStickyChildren}},{key:"getChildrenSize",value:function e(){return this.getChildren(!1).length}},{key:"getElementsForAnimation", 712value:function e(){for(var t=this.getAnimatableElements(),n=t.length-1;n>=0;n--)webwave.isNotDefOrNull(t[n])&&t.splice(n,1);return t}},{key:"getAnimatableElements",value:function e(){return[]}},{key:"canDisplayBindLineEdge",value:function e(){return this.isVisible()}},{key:"setMostBottomFromOtherPushes",value:function e(t){this._mostBottomFromOtherPushes=t}},{key:"getMostBottomFromOtherPushes",value:function e(){return this._mostBottomFromOtherPushes}},{key:"getPaddingAndBorderSizes",value:function e(){return{top:0, 713right:0,bottom:0,left:0,horizontal:0,vertical:0}}},{key:"canRenderRandomBackgroundColor",value:function e(){return!0}},{key:"isSupportingColorVariables",value:function e(){return!1}},{key:"onPropertyChange",value:function e(t){switch(t.propertyName){case "computedVisibility":this.updateWNodeVisibility();break;case "computedVisibilityForInFlow":this.nofityParentOfVisibilityChange();break;case "computedVisibilityForChildren":this.updateAllChildrenParentVisibility();break}}},{key:"isExcludedFromSizeComputation", 714value:function e(){return this._wNodeSettings.isExcludedFromSizeComputation()}},{key:"isShadowStyleDisabled",value:function e(){return!0===this._wNodeSettings.isShadowStyleDisabled()}},{key:"isEnableInvokeAutoRwdPopup",value:function e(){return this._wNodeSettings.isEnableInvokeAutoRwdPopup()}},{key:"isUncopyable",value:function e(){return this._uncopyable}},{key:"_shouldBeConsiderInParentSizeComputation",value:function e(){return this.isVisibleForInFlow()&&this.isInFlow()&&!0!==this.isExcludedFromSizeComputation()}}, 715{key:"setPointerEventOnDomObject",value:function e(t){var n=this.getDomObject();webwave.isDefAndNotNull(n[0])&&(n[0].style.pointerEvents=t)}},{key:"setUncopyable",value:function e(t){this._uncopyable=t}},{key:"triggerBorderRadiusObjectChange",value:function e(){this.getDomObject().trigger("borderRadiusChange.cssSettings"),this.getDomObject().trigger("cssPropertyChange",{propertiesList:["borderRadius"]})}},{key:"triggerShadowObjectChange",value:function e(){this.getDomObject().trigger("shadowChange.cssSettings"), 716this.getDomObject().trigger("cssPropertyChange",{propertiesList:["boxShadow"]})}},{key:"triggerOpacityObjectChange",value:function e(){this.getDomObject().trigger("opacityChange.cssSettings"),this.getDomObject().trigger("cssPropertyChange",{propertiesList:["opacity"]})}},{key:"setExternalMouseOver",value:function e(t,n){!0===n?this._externalMouseOvers.add(t):this._externalMouseOvers.delete(t),this.updateMouseOver()}}]),e}();E.maxSize={WIDTH:99999,HEIGHT:99999}},1805:function(e,t,n){n.d(t,"a",function(){return o}
716); 717var i=n(0),r=n(1),a=n(2112),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"generateBackgroundRepeatString",value:function e(t,n){var i;if(!webwave.isNotDef(t)||!webwave.isNotDef(n))return i=!0===t&&!0===n?a.a.REPEAT:!0===t?a.a.REPEAT_X:!0===n?a.a.REPEAT_Y:a.a.NO_REPEAT}}]),e}()},1806:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(1239),o=n(123),s=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.width="number"==typeof t.width? 718t.width:0,this.color="string"==typeof t.color?t.color:e.DEFAULT_COLOR,this.style=void 0===t.style?e.Styles.SOLID:t.style,this.disabled=!0===t.disabled}return Object(r.a)(e,[{key:"serialize",value:function e(){return{width:this.width,color:this.color,style:this.style,disabled:this.disabled}}},{key:"toSingleBorderString",value:function e(){return this.width+"px "+this.style+" "+this.color}},{key:"applyPartialSingleBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.width)&& 719(this.width=t.width),webwave.isDef(t.style)&&(this.style=t.style),webwave.isDef(t.color)&&(this.color=t.color))}},{key:"changeWebsiteColorConnection",value:function e(t){return o.a.changeObjectColorPropertyWithWebsiteColor(this,t)}},{key:"clone",value:function t(){return e.deserialize(this.serialize())}}],[{key:"deserialize",value:function t(n){return void 0===n&&(n={}),new e({width:n.width,color:n.color,style:n.style,disabled:n.disabled})}}]),e}();s.DEFAULT_COLOR=a.a.FIRST_NEUTRAL,s.Styles={SOLID:"solid", 720DASHED:"dashed",DOTTED:"dotted",DOUBLE:"double"}},1807:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(123),u=function(){function e(t){if(Object(i.a)(this,e),void 0===t&&(t={}),this.enabled=!0===t.enabled,this.color="rgba(156,156,156,1)",webwave.isString(t.color))if(a.ColorUtils.isColorStartWithAnyOfPhrase(t.color,["rgba","var"]))this.color=t.color;else if("transparent"===t.color)this.color="rgba(0,0,0,0)";else if(a.ColorUtils.isColorStartWithRgbPhrase(t.color)){var n= 721webwave.isDef(t.opacity)?t.opacity/100:1;this.color=a.ColorUtils.rgbAndOpacityToRgba(t.color,n)}this.x="number"==typeof t.x?t.x:3,this.y="number"==typeof t.y?t.y:3,this.blur="number"==typeof t.blur?t.blur:10}return Object(r.a)(e,[{key:"serialize",value:function e(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function e(){var t="none";return!0===this.enabled&&(t="".concat(this.x,"px ").concat(this.y,"px ").concat(this.blur,"px"),webwave.isString(this.color)&& 722(t=t+" "+this.color)),t}},{key:"toCss2Map",value:function e(){return{boxShadow:this.toBoxShadowString()}}},{key:"applyPartialShadowMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.color)&&(this.color=t.color),webwave.isDef(t.x)&&(this.x=t.x),webwave.isDef(t.y)&&(this.y=t.y),webwave.isDef(t.blur)&&(this.blur=t.blur))}},{key:"changeWebsiteColorConnection",value:function e(t){return s.a.changeObjectColorPropertyWithWebsiteColor(this,t)}}], 723[{key:"deserialize",value:function t(n){return new e(n)}}]),e}()},1808:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 724try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"_getElementForAppleDeviceMouseEnterEvent",value:function e(){return this.getDomObject()}}]),n}(n(2217).a)},1809:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"innerDimensions", 725value:function e(t){var n=getComputedStyle(t),i=t.clientWidth,r=t.clientHeight;return{height:r-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom),width:i-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}}}]),e}()}
725,1810:function(e,t,n){var i={WCAROUSEL:"wcarousel",STORE_ANALYTICS:"storeAnalytics",STORE_APP:"storeApp"};t.a=i},1811:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1555),c=n(1780);function l(e){var t=d();return function n(){var i=Object(s.a)(e), 726r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._easing= 727webwave.isDef(e.easing)?e.easing:n.DEFAULT_EASING_FUNCTION,webwave.isString(r._easing)&&(r._easing=jQuery.easing[r._easing]),r._onComplete=e.onComplete,r._stepCallback=e.step,r}return Object(r.a)(n,[{key:"finish",value:function e(){this._running=!1,this._finished=!0,this.setCurrentTime(this.getDuration()),this.render(),this.clean(),webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"reset",value:function e(){this._running=!1,this._finished=!0,this.setCurrentTime(0),this.render(),this.clean(), 728webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"clean",value:function e(){}},{key:"dispose",value:function e(){}},{key:"render",value:function e(){throw new Error("renderer not implemented!");}},{key:"updateValues",value:function e(){throw new Error("update values not implemented!");}},{key:"tick",value:function e(){this.updateValues(),this.render(),webwave.isFunction(this._stepCallback)&&this._stepCallback()}}]),n}(u.a);h.DEFAULT_EASING_FUNCTION=c.a.SWING},1812:function(e,t,n){t.a= 729{PLUS:"plus",DOUBLE_ZERO:"doubleZero",SINGLE_ZERO:"singleZero"}},1813:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t,n){Object(i.a)(this,e),this.prefix=t,this.number=n}return Object(r.a)(e,[{key:"getPrefix",value:function e(){return this.prefix}},{key:"getNumber",value:function e(){return this.number}}]),e}()},1814:function(e,t,n){t.a={GO_TO_PAYMENT_PROVIDER:"goToPaymentProvider",POSITION_BOX:"positionContextMenuBox",SHOP_DATA:"shopData",ANIMATION_BOX:"animationContextMenuBox"}}, 7301815:function(e,t,n){n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r});var i={UNINITIALIZED:"uninitialized",INITIALIZING:"initializing",INITIALIZED:"initialized",UPDATED:"updated"},r="webwaveAppInitialized"},182:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this, 731r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createObject",value:function e(){throw"Not implement";}},{key:"deserializeValue",value:function e(t){if(this._value= 732new Array(0),webwave.isDef(t))for(var n=0;n<t.length;n++)if(webwave.isDefAndNotNull(t[n])){var i=this.createObject(t[n]);webwave.isDef(i)&&this._value.push(i)}}},{key:"getSerializeValue",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new Array(0),i=0;i<this._value.length;i++)n.push(this._value[i].serialize(t));return n}},{key:"addOption",value:function e(t){this._value.push(t)}},{key:"copyValueOption",value:function e(t){webwave.utils.copyToClipboard(t)}}, 733{key:"removeOption",value:function e(t){var n=this._value.findIndex(function(e){return e===t});n>=0&&this._value.splice(n,1)}},{key:"value",get:function e(){return!0===this.enable?this._value.filter(function(e){return!0!==e.deleted}):[]}},{key:"isEmpty",value:function e(){return 0===this._value.length}},{key:"updateEnable",value:function e(){!1===this.isEmpty()?this._enable=!0:this._enable=!1}},{key:"getValuesForSaveData",value:function e(){return this._value}}]),n}(n(69).a)},2:function(e,t,n){function i(e){return(i=
734Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}t.a=i},2047:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top="number"==typeof t.top?t.top:void 0,this.right="number"==typeof t.right?t.right:void 0,this.bottom="number"==typeof t.bottom?t.bottom:void 0,this.left="number"==typeof t.left?t.left:void 0,this.enabled=webwave.isBoolean(t.enabled)?t.enabled: 735void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){return{top:this.top,right:this.right,bottom:this.bottom,left:this.left,enabled:this.enabled}}},{key:"toCss2Map",value:function e(){var t={};return webwave.isDef(this.top)&&(t.paddingTop=(this.enabled?this.top:0)+"px"),webwave.isDef(this.right)&&(t.paddingRight=(this.enabled?this.right:0)+"px"),webwave.isDef(this.bottom)&&(t.paddingBottom=(this.enabled?this.bottom:0)+"px"),webwave.isDef(this.left)&&(t.paddingLeft=(this.enabled?this.left: 7360)+"px"),t}},{key:"clone",value:function t(){return new e({left:this.left,top:this.top,right:this.right,bottom:this.bottom,enabled:this.enabled})}},{key:"applyPartialPaddingMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.top)&&(this.top=t.top),webwave.isNumberAndNotNaN(t.right)&&(this.right=t.right),webwave.isNumberAndNotNaN(t.bottom)&&(this.bottom=t.bottom),webwave.isNumberAndNotNaN(t.left)&&(this.left=t.left),webwave.isDef(t.enabled)&&(this.enabled=t.enabled))}}],[{key:"deserialize", 737value:function t(n){return void 0===n&&(n={}),new e({top:n.top,right:n.right,bottom:n.bottom,left:n.left,enabled:n.enabled})}}]),e}()},2048:function(e,t,n){var i=n(11),r=n.n(i),a={NONE:"none",EMAIL:"email",PHONE:"phone"};i.TranslationPrefix.addTranslationPrefix(a,"formEditorService.types.textField"),t.a=a},2049:function(e,t,n){t.a={FACEBOOK_GRAPH_VERSION:"v18.0"}},2050:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=function(){function e(t){Object(i.a)(this,e), 738this._productData=t,this._selectedStorage=t.getSelectedStorage(),this._itemChanged=!1,this.setCount(1)}return Object(r.a)(e,[{key:"getId",value:function e(){return this._productData.getIdForOrderItem()}},{key:"getBaseProductId",value:function e(){return this._productData.getId()}},{key:"incrementCount",value:function e(){!1!==this._canIncrement()&&this._count++}},{key:"decreaseCount",value:function e(){this._count--}},{key:"getSelectedStorage",value:function e(){return this._productData.getSelectedStorage()}}, 739{key:"equals",value:function e(t){return webwave.isDef(this._productData.getSelectedStorage())&&webwave.isDef(t.getSelectedStorage())?this._productData.getSelectedStorage().getId()===t.getSelectedStorage().getId():webwave.isDef(this._productData.getSelectedStorage())===webwave.isDef(t.getSelectedStorage())&&(this._productData.getId()===t.getId()&&webwave.arrayHasSameItems(this._productData.getSelectedVariantsIds(),t.getSelectedVariantsIds()))}},{key:"getCount",value:function e(){return this._count}}, 740{key:"getPriceOrderItem",value:function e(){return this.getPrice()*this._count}},{key:"setCount",value:function e(t){webwave.isDef(this._selectedStorage)?this._selectedStorage.isValidateQuantity(t)?this._count=t:(this._count=this._selectedStorage.printAvailableQuantity(),this._itemChanged=!0):this._count=t}},{key:"serialize",value:function e(){return{productData:this._productData.serialize(),count:this._count,idItem:this._productData.getIdForOrderItem()}}},{key:"getItemWeight",value:function e(){return this._count* 741this._productData.getProductWeight()}},{key:"getName",value:function e(){return this._productData.getNameForOrderItem()}},{key:"getVariantsString",value:function e(){return this._productData.getVariantsString()}},{key:"getPrice",value:function e(){return this._productData.getPriceForOrderItem()}},{key:"getThumbnailUrl",value:function e(){return this._productData.getThumbnailUrl()}},{key:"getRow",value:function e(){var t,n=webwave.isNumberAndNotNaN(this.getTaxValue())?Number.parseInt(100*this.getTaxValue()): 742null;return{id:this._productData.getId(),idForOrder:this._productData.getIdForOrderItem(
742),name:this.getName(),description:this._productData.description,pricePerItem:this.getPrice(),price:this.getPriceOrderItem(),count:this._count,url:this._productData.getThumbnailUrl(),taxValue:n,variantInformations:this._productData.getVariantsWithSelectedOption(),storageItem:null===(t=this._selectedStorage)||void 0===t?void 0:t.getId(),canIncrement:this._canIncrement(),itemWeight:a.MathUtils.setFloatPriceToLong(this._productData.getProductWeight())}}}, 743{key:"getTaxValue",value:function e(){return this._productData.taxValue}},{key:"cleanChanged",value:function e(){this._itemChanged=!1}},{key:"isChanged",value:function e(){return this._itemChanged}},{key:"setProductDataAndChangeCount",value:function e(t){if(this._productData.getPriceForOrderItem()!==t.getPriceForOrderItem()&&(this._itemChanged=!0),this._productData.canBeUpdatedByProductData(t)){var n=this._productData.getVariantsWithSelectedOption();this._productData=t,this._productData.selectVariants(n), 744this._selectedStorage=this._productData.getSelectedStorage(),this.setCount(this.getCount()),this.incrementCount()}else this.setCount(0)}},{key:"_canIncrement",value:function e(){return!webwave.isDef(this._selectedStorage)||!1!==this._selectedStorage.canIncrement(this._count)}},{key:"postageMethodIsSupported",value:function e(t){return this._productData.postageMethodIsSupported(t)}},{key:"getAnalyticsData",value:function e(){return{item_id:this._productData.getId(),item_name:this._productData.name, 745item_variant:this._productData.getNameForOrderItem(),price:this.getPrice(),quantity:this._count}}},{key:"haveProductCategoriesInProductData",value:function e(){return webwave.isDef(this._productData)&&webwave.isDef(this._productData.productCategories)}},{key:"hasThisProductCategoryInProductData",value:function e(t){return this._productData.productCategories.some(function(e){return t.includes(e.toString())})}}]),e}()},2068:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(106), 746o=n(112),s=n(121),u=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"convertLengthToUnit",value:function t(n,i,r,o){var s=i;if(s.getUnit()===n)return s;s.getUnit()!==a.a.PX&&(s=e.convertLengthToPxUnit(s,r,o));var u=s;switch(n){case a.a.PERCENT:u=e.convertToLengthWithPercentUnit(s,r,o);break;case a.a.VW:u=e.convertToLengthWithVWUnit(s,o);break;case a.a.VH:u=e.convertToLengthWithVHUnit(s,o);break}return u}},{key:"convertToLengthWithPercentUnit",value:function e(t,n,i){var r= 747n===s.a.HORIZONTAL?i.pageAreaRenderedWidth:i.pageAreaRenderedHeight;return new o.a({value:t.getValue()/r*100,unit:a.a.PERCENT})}},{key:"convertToLengthWithVWUnit",value:function e(t,n){return new o.a({value:t.getValue()/n.responsiveViewPortWidth*100,unit:a.a.VW})}},{key:"convertToLengthWithVHUnit",value:function e(t,n){return new o.a({value:t.getValue()/n.fullHeight*100,unit:a.a.VH})}},{key:"convertLengthToPxUnit",value:function t(n,i,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]: 748{},s=e.convertLengthToValueInPX(n,i,r,a);return o.a.createLengthWithPxUnitFromValue(s,{withoutRounding:a.withoutRounding})}},{key:"convertHorizontalLengthToPx",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.convertLengthToPxUnit(n,s.a.HORIZONTAL,i,{withoutRounding:r})}},{key:"convertVerticalLengthToPx",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.convertLengthToPxUnit(n,s.a.VERTICAL,i,{withoutRounding:r})}}, 749{key:"convertLengthToValueInPX",value:function t(n,i,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};switch(n.getUnit()){case a.a.PERCENT:return e.convertPercentLengthToPxValue(n,i,r,o);break;case a.a.VW:return e.convertVWLengthToPxValue(n,r,o);break;case a.a.VH:return e.convertVHLengthToPxValue(n,r,o);break;default:return n.getValue()}}},{key:"convertVerticalLengthToValueInPX",value:function t(n,i){return e.convertLengthToValueInPX(n,s.a.VERTICAL,i)}},{key:"convertHorizontalLengthToValueInPX", 750value:function t(n,i){return e.convertLengthToValueInPX(n,s.a.HORIZONTAL,i)}},{key:"convertPercentLengthToPxValue",value:function e(t,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n===s.a.HORIZONTAL?i.pageAreaRenderedWidth:i.pageAreaRenderedHeight,o=t.getValue()*a/100;return!1===r.withoutRounding?o:Math.round(o)}},{key:"convertVHLengthToPxValue",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getValue()*n.fullHeight/100;return!1===
751i.withoutRounding?r:Math.round(r)}},{key:"convertVWLengthToPxValue",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getValue()*n.responsiveViewPortWidth/100;return!1===i.withoutRounding?r:Math.round(r)}},{key:"getPxValuesForAvailableUnitsByOrientation",value:function t(n,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{"%":e.convertPercentLengthToPxValue(new o.a({value:1,unit:a.a.PERCENT}),i,n,r),vh:e.convertVHLengthToPxValue(new o.a({value:1, 752unit:a.a.VH}),n,r),vw:e.convertVWLengthToPxValue(new o.a({value:1,unit:a.a.VW}),n,r),px:1}}},{key:"getPxValuesForAvailableUnitsInVerticalOrientation",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.getPxValuesForAvailableUnitsByOrientation(n,s.a.VERTICAL,{withoutRoundingFlag:i})}},{key:"getPxValuesForAvailableUnitsInHorizontalOrientation",value:function t(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.getPxValuesForAvailableUnitsByOrientation(n, 753s.a.HORIZONTAL,{withoutRoundingFlag:i})}}]),e}()},2069:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"isLocked",value:function e(){return!1}}]),e}()},2070:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(53),c=n.n(u);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r= 754i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._computedVisibility= 755!0,e._computedVisibilityForInFlow=!0,e._computedVisibilityForChildren=!0,e._baseVisibility=void 0,e._parentVisibility=void 0,e._anyChildrenVisibility=void 0,e._scrollVisibility=void 0,e._showAnimationVisibility=void 0,e._interactionVisibility=void 0,e._duringAnimationVisibility=void 0,e._contentGenerationVisibility=void 0,e}return Object(r.a)(n,[{key:"setBaseVisibility",value:function e(t){var n=this._baseVisibility;this._baseVisibility=t,this.updateComputedVisibilities(),t!==n&&this.triggerPropertyChange("baseVisibility", 756t,n)}},{key:"getBaseVisibility",value:function e(){return this._baseVisibility}},{key:"setParentVisibility",value:function e(t){var n=this._parentVisibility;this._parentVisibility=t,this.updateComputedVisibilities(),t!==n&&this.triggerPropertyChange("parentVisibility",t,n)}},{key:"getParentVisibility",value:function e(){return this._parentVisibility}},{key:"setAnyChildVisibility",value:function e(t){this._anyChildrenVisibility=t,this.updateComputedVisibilities()}},{key:"setScrollAnimationVisibility", 757value:function e(t){this._scrollVisibility=t,this.updateComputedVisibilities()}},{key:"getScrollAnimationVisibility",value:function e(){return this._scrollVisibility}},{key:"getVisibilityForShowAnimationQueue",value:function e(){return this.computeVisibility({skipShowAnimationVisibilityCondition:!0})}},{key:"setShowAnimationVisibility",value:function e(t){this._showAnimationVisibility=t,this.updateComputedVisibilities()}},{key:"getShowAnimationVisibility",value:function e(){return this._showAnimationVisibility}}, 758{key:"setInteractionVisibility",value:function e(t){this._interactionVisibility=t,this.updateComputedVisibilities()}},{key:"getInteractionVisibility",value:function e(){return this._interactionVisibility}},{key:"setDuringAnimationVisibility",value:function e(t){this._duringAnimationVisibility=t,this.updateComputedVisibilities()}},{key:"setContentGenerationVisibility",value:function e(t){this._contentGenerationVisibility=t,this.updateComputedVisibilities()}},{key:"computeVisibility",value:function e(){var t= 759arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._duringAnimationVisibility)?this._duringAnimationVisibility:webwave.isDefAndNotNull(this._contentGenerationVisibility)?this._contentGenerationVisibility:!0!==t.skipShowAnimationVisibilityCondition&&webwave.isDefAndNotNull(this._showAnimationVisibility)?this._showAnimationVisibility:webwave.isDefAndNotNull(this._interactionVisibility)?webwave.isDef(this._parentVisibility)&&!0!==t.skipParentVisibilityCondition? 760this._parentVisibility&&this._interactionVisibility:this._interactionVisibility:webwave.isDefAndNotNull(this._scrollVisibility)?this._scrollVisibility:webwave.isDef(this._anyChildrenVisibility)&&!0!==t.skipAnyChildrenVisibilityCondition?this._anyChildrenVisibility:webwave.isDef(this._parentVisibility)&&!0!==t.skipParentVisibilityCondition?this._parentVisibility&&this._baseVisibility:this._baseVisibility}},{key:"computeLayerIconVisibility",value:function e(){return webwave.isDefAndNotNull(this._interactionVisibility)? 761webwave.isDef(this._parentVisibility)?this._parentVisibility&&this._interactionVisibility:this._interactionVisibility:webwave.isDefAndNotNull(this._scrollVisibility)?this._scrollVisibility:webwave.isDef(this._parentVisibility)?this._parentVisibility&&this._baseVisibility:this._baseVisibility}},{key:"onComputedVisibilityChange",value:function e(t,n){this.triggerPropertyChange("computedVisibility",t,n)}},{key:"setComputedVisibility",value:function e(t){var n=this._computedVisibility;this._computedVisibility= 762t,t!==n&&this.onComputedVisibilityChange(t,n)}},{key:"getComputedVisibility",value:function e(){return this._computedVisibility}},{key:"getComputedVisibilityForChildren",value:function e(){return this._computedVisibilityForChildren}},{key:"setComputedVisibilityForChildren",value:function e(t){var n=this._computedVisibilityForChildren;this._computedVisibilityForChildren=t,t!==n&&this.triggerPropertyChange("computedVisibilityForChildren",t,n)}},{key:"getComputedVisibilityForInFlow",value:function e(){return this._computedVisibilityForInFlow}}, 763{key:"setComputedVisibilityForInFlow",value:function e(t){var n=this._computedVisibilityForInFlow;this._computedVisibilityForInFlow=t,t!==n&&this.triggerPropertyChange("computedVisibilityForInFlow",t,n)}},{key:"computeVisibilityForInFlow",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.computeVisibility({skipParentVisibilityCondition:!0,skipShowAnimationVisibilityCondition:!0,skipAnyChildrenVisibilityCondition:t.skipAnyChildrenVisibilityCondition})}}, 764{key:"updateComputedVisibilities",value:function e(){this.setComputedVisibilityForInFlow(this.computeVisibilityForInFlow()),this.setComputedVisibilityForChildren(this.computeVisibility({skipAnyChildrenVisibilityCondition:!0})),this.setComputedVisibility(this.computeVisibility())}}]),n}(u.SimplePropertyChangeEmitter)},2071:function(e,t,n){var i={NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn", 765HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"};t.a=i},2072:function(e,t,n){t.a={SHOW:"show",HIDE:"hide"}},2073:function(e,t,n){n.d(t,"a",function(){return o}
765);var i=n(0),r=n(1),a=n(1646),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._type=webwave.isValidEnumValue(t.type,a.a)?t.type:a.a.SHOW,this._wObjects=webwave.isArrayLike(t.wObjects)? 766t.wObjects:[]}return Object(r.a)(e,[{key:"getType",value:function e(){return this._type}},{key:"setType",value:function e(t){this._type=t}},{key:"getWObjects",value:function e(){return this._wObjects}},{key:"setWObjects",value:function e(t){var n=this.getDifference(t);return this._wObjects=t,this.updateDifferenceLayerVisibility(n),n.length>0}},{key:"getDifference",value:function e(t){var n=this;return this._wObjects.filter(function(e){return!t.includes(e)}).concat(t.filter(function(e){return!n._wObjects.includes(e)}))}}, 767{key:"updateDifferenceLayerVisibility",value:function e(t){if(!webwave.isNotDefOrNull(window.objectService))for(var n=0;n<t.length;n++){var i=window.objectService.getWObjectById(t[n]);webwave.isDef(i)&&i.getWLayer().updateVisibilityIcons()}}},{key:"serialize",value:function e(){return{type:this.getType(),wObjects:this._wObjects.slice(0)}}}]),e}()},2074:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(3),a=n(4),o=n(2),s;function u(e){var t=c();return function n(){var i=Object(o.a)(e), 768r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=function(e){Object(r.a)(n,e);var t=u(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 769{};return Object(i.a)(this,n),r.type="webwave.link.AnchorLinkData",(e=t.call(this,r)).anchor=r.anchor,e}return n}(n(854).a)},2075:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1645),l=n(155),d=n(1755),h=n(1720);function f(e){var t=v();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function v(){if("undefined"==typeof Reflect|| 770!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WGroup");var g=function(e){Object(o.a)(n,e);var t=f(n);function n(e){var r;return Object(i.a)(this,n),e.domSizeMode=c.a.CHILDREN_SIZE,(r=t.call(this,e))._childrenRect=new l.a,r._childrenOuterRect=new l.a,r._positioningMode=webwave.isValidEnumValue(e.positioningMode, 771d.a)?e.positioningMode:d.a.CHILDREN,r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this.updatePointerEventOnDomObject()}},{key:"addElements",value:function e(){try{var t=this.$domObject.attr("groupelements");if(webwave.isNotDef(t))return;for(var n=this.objectService.collectWObjectsByIdArray(JSON.parse(t)),i=0;i<n.length;i++)this.addChild(n[i])}catch(e){webwave.log(e)}}},{key:"hasElement",value:function e(t){return-1!==this.getChildren().indexOf(t)}}, 772{key:"getAdditionalVerticalCorrection",value:function e(){return 0}},{key:"_loadRwdProperties",value:function e(t){this.setVisibilityRequiresAnimation(!0===t.animationOnScrollEnabled||webwave.isDefAndNotNull(t.animation)),this.updateBaseVisibility(),this.setAllPadding(t.style.padding),this.setFullWidth(t.fullWidth,{noDomUpdate:!0}),this.applyBindsRwd(this.computeBindsForRwd(t)),this.setFixed(!0===t.fixed),this.setSticky(!0===t.sticky),this.setStickyStartDistance(t.stickyStartDistance),this.setStickyEndDistance(t.stickyEndDistance), 773this.setStickyEndDistanceEnabled(t.stickyEndDistanceEnabled),this.loadAdditionalData(t.additionalProperties),this.updateSizeAndPosition(),this.updateInFlow()}},{key:"canPlayShowOrHideAnimation",value:function e(){return Object(a.a)(Object(u.a)(n.prototype),"canPlayShowOrHideAnimation",this).call(this)||this.hasChildren()&&this.getChildren().every(function(e){return e.canPlayShowOrHideAnimation()})}},{key:"computeBindsForRwd",value:function e(t){return t.binds}},{key:"isUserGroup",value:function e(){return!0}}, 774{key:"getWObjects",value:function e(t){for(var i=[],r=this.getChildren(),a=0;a<r.length;a++){var o=r[a];!0===t&&o instanceof n&&(i=i.concat(o.getWObjects(t))),i.push(o)}return i}},{key:"getWGroups",value:function e(t){return this.getWObjects(t).filter(function(e){return e instanceof n})}},{key:"getPositioningMode",value:function e(){return this._positioningMode}},{key:"isPushedDownPositioningMode",value:function e(){return this.getPositioningMode()===d.a.PUSHED_DOWN}},{key:"updatePointerEventOnDomObject", 775value:function e(){this.setPointerEventOnDomObject(this.getObjectStyle().isFullyVisible()?"":"none")}}]),n}(h.a);com.webwave.publication.object.WGroup=g},2076:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.name=t.name,this.price=webwave.isNumberAndNotNaN(t.price)?t.price/100:void 0,this.productCategories=t.productCategories,this.thumbnailUrl=t.thumbnailUrl, 776this.thumbnailId=t.thumbnailId,this.description=t.description,this.promptLanguage=t.promptLanguage}return Object(r.a)(e,[{key:"getId",value:function e(){return this.id}}]),e}()},2077:function(e,t,n){n.d(t,"a",function(){return p});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(182),d=n(2146);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n, 777i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
777t%2?h(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e){var t=g();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i, 778arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(s.a)(n,e);var t=v(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"createObject",value:function e(t){return new d.a(t)}}, 779{key:"findItemByVariants",value:function e(t){return this.value.find(function(e){return webwave.arrayHasSameItems(e.getVariants(),t)})}},{key:"getFirstAvailableItem",value:function e(){return this.getStorageItems().find(function(e){return!0===e.isAvailable()})}},{key:"getFirstAvailableItemByVariant",value:function e(t){return this.getStorageItems().find(function(e){return e.getVariants().includes(t)&&!0===e.isAvailable()})}},{key:"getStorageItems",value:function e(){return this._value.filter(function(e){return!1=== 780e.isDeleted()}).sort(this._getComparatorForSortStorageItem())}},{key:"isAvailable",value:function e(){return!1===this.enable||0===this.getStorageItems().length||this.getStorageItems().filter(function(e){return e.isValidateQuantity(1)}).length>0}},{key:"itemExist",value:function e(t){return this.getStorageItems().find(function(e){return e===t})}},{key:"serialize",value:function e(){return f(f({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),{},{id:this._id})}},{key:"updateStorage", 781value:function e(t){var n=this;this._setCurrentStorageItemToDeleted(),0===t.length?this._processAddStorageItem([]):t.forEach(function(e){n._processAddStorageItem(e)}),this._removeFromListDeletedStorageItemsWithoutIds()}},{key:"_getComparatorForSortStorageItem",value:function e(){return function(e,t){var n,i,r=null===(n=e.printName())||void 0===n?void 0:n.toLowerCase(),a=null===(i=t.printName())||void 0===i?void 0:i.toLowerCase();return r<a?-1:r>a?1:0}}},{key:"_processAddStorageItem",value:function e(t){var n= 782this._value.find(function(e){return webwave.arrayHasSameItems(e.variants,t)});webwave.isNotDef(n)?this._value.push(new d.a({variants:t})):n.setDeleted(!1)}},{key:"_removeFromListDeletedStorageItemsWithoutIds",value:function e(){this._value=this._value.filter(function(e){return e.isToSave()})}},{key:"_setCurrentStorageItemToDeleted",value:function e(){this._value.forEach(function(e){e.setDeleted(!0)})}}]),n}(l.a);p.MAXIMUM_NUMBER_OF_STORAGE=100},2078:function(e,t,n){n.d(t,"a",function(){return a}); 783var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this.imageId=t.imageId,this.url=t.url,this.alternativeTitle=t.alternativeTitle,this._title=t.title,this._description=t.description,this._titleHtml=webwave.isString(t.titleHtml)?t.titleHtml:""}return Object(r.a)(e,[{key:"getRwdProperties",value:function e(){throw"Not implemented";}},{key:"loadRwdProperties",value:function e(t){this.getRwdProperties().loadRwdProperties(t)}},{key:"getCropData",value:function e(){return this.getRwdProperties().getCropData()}}, 784{key:"getTitle",value:function e(){return this._title}},{key:"getDescription",value:function e(){return this._description}},{key:"setTitle",value:function e(t){this._title=t}},{key:"setAlternativeTitle",value:function e(t){this.alternativeTitle=t}},{key:"getTitleHtml",value:function e(){return this._titleHtml}},{key:"serialize",value:function e(){return{imageId:this.imageId,url:this.url,alternativeTitle:this.alternativeTitle,title:this.getTitle(),description:this.getDescription(),titleHtml:this.getTitleHtml()}}}]), 785e}()},2079:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(2080),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"getFormItemFromRow",value:function e(t){var n=a.a.MULTI_FIELD_ITEM_ROW;return $(t).find("input, textarea, select, .ww_multiple_select_wrapper, .".concat(n)).filter(function(e,t){return!$(t).is(":not(.".concat(n,")"))||!$(t).closest(".".concat(n)).length}).eq(0)}},{key:"getFieldValue",value:function t(n){return e.isMultiFieldItemValue(n)? 786e.getMultiFieldItemValue(n):n.val()}},{key:"getMultiFieldItemValue",value:function t(n){var i;return n.hasClass(a.a.MULTI_FIELD_ITEM_ROW_FOR_PHONE)&&(i=e._getPhoneMultiFieldPrefixElement(n).val()+e._getPhoneMultiFieldInputElement(n).val()),i}},{key:"isMultiFieldItemValue",value:function e(t){return t.hasClass(a.a.MULTI_FIELD_ITEM_ROW)}},{key:"resetMultiFieldItemValue",value:function t(n){n.hasClass(a.a.MULTI_FIELD_ITEM_ROW_FOR_PHONE)&&e._getPhoneMultiFieldInputElement(n).val("")}},{key:"_getPhoneMultiFieldPrefixElement", 787value:function e(t){return t.find("select")}},{key:"_getPhoneMultiFieldInputElement",value:function e(t){return t.find("input")}}]),e}()},2080:function(e,t,n){t.a={MULTI_FIELD_ITEM_ROW:"multi-field-item-row",MULTI_FIELD_ITEM_ROW_FOR_PHONE:"multi-field-item-row-phone"}},2081:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"dispatchLoadedEvent",value:function e(t,n){var i=new CustomEvent(this.createEventName(t)); 788i.module=n,document.dispatchEvent(i)}},{key:"waitForLoad",value:function e(t){var n=this;return new Promise(function(e){document.addEventListener(n.createEventName(t),function(t){e(t.module)})})}},{key:"createEventName",value:function e(t){return"WModularObjectContentLoad-".concat(t)}}]),e}()},2110:function(e,t){},2111:function(e,t,n){n.d(t,"a",function(){return o}
788);var i=n(0),r=n(1),a=n(217),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this, 789e),this._name=webwave.isDef(t.value)?t.value:a.a.NORMAL,this._isLocked=!!webwave.isBoolean(t.isLocked)&&t.isLocked}return Object(r.a)(e,[{key:"setStateByName",value:function e(t){this._name=t}},{key:"getName",value:function e(){return this._name}},{key:"setLocked",value:function e(t){this._isLocked=t}},{key:"isLocked",value:function e(){return this._isLocked}},{key:"serialize",value:function e(){return{value:this.getName(),isLocked:this.isLocked()}}}]),e}()},2112:function(e,t,n){var i={REPEAT:"repeat", 790REPEAT_X:"repeat-x",REPEAT_Y:"repeat-y",NO_REPEAT:"no-repeat"};t.a=i},2113:function(e,t,n){var i=n(1308);t.a={HEADER_HEIGHT:50,SECTION_HEIGHT:250,objectStyle:{padding:new i.a({top:10,right:10,bottom:10,left:10,enabled:!0})}}},2114:function(e,t,n){t.a={HORIZONTAL:"h",VERTICAL:"v"}},2116:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this._link=t.link,this._id=t.id}return Object(r.a)(e,[{key:"getId",value:function e(){return this._id}}, 791{key:"getLink",value:function e(){return this._link}}]),e}()},2117:function(e,t,n){var i={CLOSING_ELEMENT:"swiper-closing-flag-element",IMAGE_WRAPPER_CLASS:"ww_inner_element_content",SLIDE_CLASS:"swiper-slide",WRAPPER_CLASS:"swiper"};t.a=i},2118:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"getYPositionToScroll",value:function e(){return 0}},{key:"getAnimationTime",value:function t(){return Math.min(this._calculateAnimationTimeBaseOnTargetPosition(), 792e.MAX_ANIMATION_TIME)}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function e(){return Math.floor(this.getYPositionToScroll()/2)}}]),e}();a.MAX_ANIMATION_TIME=1500},214:function(e,t,n){function i(e,t){return(i=Object.setPrototypeOf||function e(t,n){return t.__proto__=n,t})(e,t)}t.a=i},2144:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor; 793r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue", 794value:function e(t){this._value=webwave.isArrayLike(t)?t:[]}},{key:"postageMethodIsSupported",value:function e(t){return!this.enable||this._value.includes(t.id)}}]),n}(n(69).a)},2145:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(69),c=n(11),l=n.n(c);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"== 795typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"deserializeValue",value:function e(t){this._value=webwave.isDefAndNotNull(t)?t/100:void 0}},{key:"getSerializeValue",value:function e(){var t= 796c.MathUtils.setFloatPriceToLong(this.value);return webwave.isNumberAndNotNaN(t)?t:null}}]),n}(u.a)},2146:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(74),o=n(1295),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.variants=webwave.isArrayLike(t.variants)?o.a.dateAsc(t.variants,e.SORT_PROPERTY_NAME):[],this.numberOfItem=webwave.isDef(t.numberOfItem)?t.numberOfItem:e.INITIAL_NUMBER_OF_ITEMS,this.numberBoughtItems= 797webwave.isDef(t.numberBoughtItems)?t.numberBoughtItems:0,this._deleted=!!webwave.isDef(t.deleted)&&t.deleted}return Object(r.a)(e,[{key:"canIncrement",value:function e(t){return this.printAvailableQuantity()>t}},{key:"getId",value:function e(){return this.id}},{key:"getVariants",value:function e(){return this.variants}},{key:"isDeleted",value:function e(){return this._deleted}},{key:"getNumberOfItem",value:function e(){return this.numberOfItem}},{key:"isAvailable",value:function e(){return!0===this.isValidateQuantity(1)}}, 798{key:"isToSave",value:function e(){return!1===(webwave.isNotDef(this.id
798)&&!0===this._deleted)}},{key:"isValidateQuantity",value:function e(t){return this.printAvailableQuantity()>=t}},{key:"printAdditionalPrice",value:function e(){return this.variants.map(function(e){return e.getAdditionalSum()}).reduce(function(e,t){return e+t},0)}},{key:"printAvailableQuantity",value:function e(){return this.numberOfItem-this.numberBoughtItems}},{key:"printName",value:function e(){return this.variants.map(function(e){return e.getName()}).join(" | ")}}, 799{key:"serialize",value:function e(){return{id:this.id,deleted:this._deleted,numberOfItem:this.printAvailableQuantity()}}},{key:"setDeleted",value:function e(t){this._deleted=t}},{key:"updateQuantity",value:function e(t){a.a.AVAILABLE_PRODUCT_AMOUNT.validate(t)&&(this.numberOfItem=t+this.numberBoughtItems)}}]),e}();s.INITIAL_NUMBER_OF_ITEMS=1,s.SORT_PROPERTY_NAME="_createDate"},2147:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(112),o=function(){function e(t){Object(i.a)(this, 800e),this._x=new a.a(t.x),this._y=new a.a(t.y)}return Object(r.a)(e,[{key:"serialize",value:function e(){return{x:this.getX().serialize(),y:this.getY().serialize()}}},{key:"loadValueFromObject",value:function e(t){webwave.isNotDefOrNull(t)||(this.getX().loadValuesFromObject(t.getX()),this.getY().loadValuesFromObject(t.getY()))}},{key:"getX",value:function e(){return this._x}},{key:"getY",value:function e(){return this._y}},{key:"getCssMapForPosition",value:function e(){return"".concat(this.getX().getValue()).concat(this.getX().getUnit(), 801" ").concat(this.getY().getValue()).concat(this.getY().getUnit())}}],[{key:"deserialize",value:function t(n){return new e(n)}}]),e}()},2148:function(e,t,n){var i=n(1682),r=n(218),a=n(1744),o=n(1563);t.a={autoplay:!0,enable_overlays:!1,enable_slideshow:!0,filmstrip_position:o.a.BOTTOM,frame_gap:5,frame_height:40,frame_width:80,gallery_thumbnails_crop_type:r.a.COVER,gallery_thumbnails_height:115,gallery_thumbnails_width:115,next_prev_buttons_distance:10,overlay_position:a.a.TOP,panel_animation:i.a.SLIDE, 802panel_height:300,panel_scale:r.a.COVER,panel_width:400,show_filmstrip:!0,show_filmstrip_nav:!1,show_infobar:!1,show_panel_nav:!0,transition_interval:1E4,transition_speed:1E3}},2149:function(e,t,n){t.a={IMG_WRAPPER_SELECTOR:".gv_imgWrapper",PANEL_SELECTOR:".gv_panel",PANEL_WRAP_SELECTOR:".gv_panelWrap",PRELOAD_WRAPPER:"preload-slider-wrapper"}},215:function(e,t,n){var i=n(0),r=n(1),a=n(135),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"popupClosed",value:function e(t){}}, 803{key:"popupOpened",value:function e(t){}},{key:"popupDisposed",value:function e(t){}}]),e}()},2150:function(e,t,n){t.a={_NO_ANIMATION:"noAnimation",CROSSFADE:"crossfade",SPINFADE:"spinfade"}},2151:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"srcIsSvgFile",value:function e(t){var n;return!0===((null===t||void 0===t?void 0:null===(n=t.toLowerCase())||void 0===n?void 0:n.endsWith(".svg"))||(null===t|| 804void 0===t?void 0:t.startsWith("data:image/svg+xml")))}},{key:"changeMobileMenuImageSrc",value:function t(n,i){n.attr("src",i),n.css("height",e.srcIsSvgFile(i)?"100%":"")}}]),e}()},2152:function(e,t,n){t.a={FEED_PRICE:"feed_price",FEED_NAME:"feed_name",PRODUCTFEED_NAME:"productfeed_name"}},2153:function(e,t,n){n.d(t,"a",function(){return S});var i=n(0),r=n(1),a=n(10),o=n(18),s=n(3),u=n(4),c=n(2),l=n(1656),d=n(1809),h=n(2658),f=n(2990),v=n(2992),g=n(2993),p=n(2995),y=n(40),b;function m(e){var t=w(); 805return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var S=function(e){Object(s.a)(n,e);var t=m(n);function n(e){var r;return Object(i.a)(this, 806n),(r=t.call(this,e))._innerElementsStyles=r._deserializeInnerElementsStyles(e.innerElementsStyles),r._feedItemDataStore=void 0,r._paginationIndex=0,r._newsInRow=void 0,r._newsNumber=0,r.feedPaginationInnerElement=new f.a(Object(a.a)(r)),r.feedSingleNewsInnerElement=new v.a(Object(a.a)(r)),r.feedThumbnailInnerElement=new g.a(Object(a.a)(r)),r.feedService=null,r.pageService=null,r}return Object(r.a)(n,[{key:"init",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"init",this).call(this)}},{key:"cacheDom", 807value:function e(t){var i=Object(o.a)(Object(c.a)(n.prototype),"cacheDom",this).call(this,t);return i.newsfeedWrapper=i.content.children[0],i}},{key:"getNewsfeedWrapperEl",value:function e(){return this.cachedDom.newsfeedWrapper}},{key:"getNewsInRow",value:function e(){return this._newsInRow}},{key:"setNewsInRow",value:function e(t){this._newsInRow=t}},{key:"getInnerElementStyles",value:function e(t){return this._innerElementsStyles[t]}},{key:"getNewsNumber",value:function e(){return this._newsNumber}}, 808{key:"setNewsNumber",value:function e(t){var n=this._newsNumber,i=this._newsNumber!==t;if(this._newsNumber=t,i){for(var r=this.getFeedItems(),a=0;a<r.length;a++){var o=a<t;r[a].classList.toggle("hidden_for_rwd",!1===o),r[a].style.display=o?"":l.a.NONE}this.feedPaginationInnerElement._recreatePaginationDom(),this.setPaginationIndex(this.feedPaginationInnerElement._computeNewIndex(n))}}},{key:"setPaginationIndex",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i= 809this.computeMaxIndex();if(!(t<1||t>i)){var r=this.getPaginationIndex(),a=t!==this._paginationIndex;this._paginationIndex=t,this.feedPaginationInnerElement.updatePaginationClasses(),!0===a&&(n.userInteraction&&this.feedService.saveFeedIndexHistory(this.getNameParamForLink(),t),this.feedPaginationInnerElement._updateListLeftPosition(n.userInteraction),!0===n.animate?this._changeNewsToCurrentIndexWithAnimation({isPriorPage:t<r,isSubsequentPage:t>r}):this._changeNewsToCurrentIndexWithoutAnimation())}}}, 810{key:"_changeNewsToCurrentIndexWithoutAnimation",value:function e(){for(var t=this.getFeedItemsDataArrayForDisplay(),n=0;n<t.length;n++){var i=t[n],r=t[n].feedItemEl;webwave.isDefAndNotNull(i.feedItemData)?(r.style.display=l.a.BLOCK,this.updateSingleFeedItemElData(i,r)):r.style.display=l.a.NONE}this.updateFeedDomSizes(),this.updateMinSize()}},{key:"_changeNewsToCurrentIndexWithAnimation",value:function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.getFeedItems({rwdVisibleOnly:!0}), 811a=this.getAllFeedItemsCount(),o=this.getNewsNumber(),s=Math.min(o,a-(this.getPaginationIndex()-1)*o);this.setAnimationBlock(!0);var u=$(r);u.fadeOut(n.FEED_CHANGE_ANIMATION_TIME).promise().done(function(){if(t._changeNewsToCurrentIndexWithoutAnimation(),u.slice(0,s).show(),(i.isSubsequentPage||i.isPriorPage)&&u.length>0){var e=i.isSubsequentPage?u.eq(0):t.getPaginationInnerElement().getPaginationWrapper();t.pageService.scrollPageToElement(e)}u.slice(0,s).fadeIn(n.FEED_CHANGE_ANIMATION_TIME).promise().done(function(){t.setAnimationBlock(!1)})})}}, 812{key:"updateSingleFeedItemElData",value:function e(t,n){this.getFeedLinkElements(n).forEac
812h(function(e){e.setAttribute("href",t.feedItemData.link)})}},{key:"getFeedItemsDataArrayForDisplay",value:function e(){for(var t=this.getFeedItems({rwdVisibleOnly:!0}),n=this.getFeedItemsData(),i=this.getNewsNumber(),r=(this.getPaginationIndex()-1)*i,a=[],o=0;o<i;o++)a.push({feedItemEl:t[o],feedItemData:n[r+o]});return a}},{key:"getPaginationIndex",value:function e(){return this._paginationIndex}},{key:"getSingleNewsInnerElement", 813value:function e(){return this.feedSingleNewsInnerElement}},{key:"getThumbnailInnerElement",value:function e(){return this.feedThumbnailInnerElement}},{key:"getPaginationInnerElement",value:function e(){return this.feedPaginationInnerElement}},{key:"getInnerElementNameForIteration",value:function e(){return[]}},{key:"getInnerElementForIteration",value:function e(){return[]}},{key:"calculateMinContentSize",value:function e(){var t=(new h.a(this)).countMinSize(),n=Math.max(0,this.getNewsInRow()-1); 814return new y.a({width:this.getNewsInRow()*t.getWidth()+n*this.getSingleNewsInnerElement().getHorizontalSpace(),height:d.a.innerDimensions(this.getNewsfeedWrapperEl()).height})}},{key:"getFeedItems",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Array.from(this.getDomObject()[0].querySelectorAll(".feed_item"));return!0===t.rwdVisibleOnly?n.slice(0,this.getNewsNumber()):n}},{key:"addImgLazyLoad",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"addImgLazyLoad", 815this).call(this),this.getThumbnailInnerElement().addImgLazyLoad()}},{key:"afterDomSizeChange",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"afterDomSizeChange",this).call(this),this.updateFeedDomSizes()}},{key:"updateFeedDomSizes",value:function e(){var t=this.getInnerWidth();this.getNewsfeedWrapper().style.width="".concat(t,"px");var n=this.getNewsInRow(),i;t-=(n-1)*this.getSingleNewsInnerElement().getHorizontalSpace();var r=parseInt(t/n),a;
815this.getFeedItems().forEach(function(e){e.style.width= 816"".concat(r,"px"),e.style.height=""}),this._unifyRowsHeight()}},{key:"_unifyFeedItemHeights",value:function e(t){var n=0,i=0;t.forEach(function(e){(i=e.offsetHeight)>n&&(n=i)}),t.forEach(function(e){e.style.height="".concat(n,"px")})}},{key:"_unifyRowsHeight",value:function e(){for(var t=this.getNewsInRow(),n=this.getFeedItems(),i=Math.ceil(n.length/t),r=0;r<i;r++)this._unifyFeedItemHeights(n.slice(r*t,(r+1)*t))}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]? 817arguments[0]:{};Object(o.a)(Object(c.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.isVisible()&&(this.updateFeedDomSizes(),this.updateMinSize(),this.updatePaginationListSize())}},{key:"getAllFeedItemsCount",value:function e(){var t=this.getFeedItemsData();return webwave.isArrayLike(t)?t.length:0}},{key:"computeMaxIndex",value:function e(){var t=this.getNewsNumber();return 0===t||0===this.getAllFeedItemsCount()?1:Math.ceil(this.getAllFeedItemsCount()/t)}},{key:"getFeedItemsData",value:function e(){return webwave.isDefAndNotNull(this._feedItemDataStore)? 818this._feedItemDataStore:JSON.parse(this.getDomObject()[0].querySelector(".feed_data_container script").innerHTML)}},{key:"setFeedItemDataStore",value:function e(t){this._feedItemDataStore=t}},{key:"updatePaginationListSize",value:function e(){this.feedPaginationInnerElement.updatePaginationListSize()}},{key:"_loadInnerElementsRwdStyles",value:function e(t){var n,i,r,a=this.getInnerElementNames();for(var o in a)a.hasOwnProperty(o)&&(i=t[n=a[o]],r=this._innerElementsStyles[n],webwave.isDef(r)&&webwave.isDef(i)&& 819r.applyRwdProperties(i))}},{key:"getInnerElementNames",value:function e(){}},{key:"_deserializeInnerElementsStyles",value:function e(t){var n={};if(webwave.isDef(t)){var i,r,a=this.getInnerElementNames();for(var o in a)a.hasOwnProperty(o)&&(r=a[o],i=t.hasOwnProperty(r)?t[r]:{},n[r]=new p.a(i))}return n}},{key:"_finishAllFeedItemsAnimations",value:function e(){$(this.getFeedItems()).stop(!0,!0)}},{key:"setAnimationBlock",value:function e(t){this._animationBlock=t}},{key:"isAnimationBlocked",value:function e(){return!0=== 820this._animationBlock}},{key:"getNameParamForLink",value:function e(){return"newsfeed_".concat(this.id.split("_")[1],"_page")}},{key:"getFeedLinkElements",value:function e(t){return Array.from(t.querySelectorAll(".feed_name_link"))}},{key:"loadAdditionalData",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n;this._finishAllFeedItemsAnimations(),this.getInnerElementForIteration().forEach(function(e){e.loadAdditionalRwdProperties(t)}),this.setNewsNumber(t.newsNumber), 821this.setNewsInRow(t.newsInRow),webwave.isDef(t.innerElementsStyles)&&this._loadInnerElementsRwdStyles(t.innerElementsStyles),this.updateFeedDomSizes(),this.updateMinSize(),this.feedPaginationInnerElement._updateListLeftPosition(!1)}},{key:"setFeedService",value:function e(t){this.feedService=t}},{key:"setPageService",value:function e(t){this.pageService=t}},{key:"getItemElementName",value:function e(){}}]),n}(n(1660).a);S.DEFAULT_INDEX_VALUE=1,S.FEED_CHANGE_ANIMATION_TIME=500},2154:function(e,t,n){t.a= 822{standard:{button_count:{width:120,height:20},box_count:{width:73,height:61},button:{width:74,height:20},standard:{width:450,height:80}},recommend:{button_count:{width:190,height:20},box_count:{width:73,height:86},button:{width:146,height:20},standard:{width:450,height:80}}}},2155:function(e,t,n){t.a={headerTitle:"shop.com.webwave.gui.onlineStore.orderPopup.header.title",orderConfirmedError:"shop.c
822om.webwave.gui.onlineStore.orderPopup.header.orderConfirmedError",orderConfirmed:"shop.com.webwave.gui.onlineStore.orderPopup.header.orderConfirmed", 823backFromPaymentProviderError:"shop.com.webwave.gui.onlineStore.orderPopup.header.backFromPaymentProvider.error",backFromPaymentProviderSuccess:"shop.com.webwave.gui.onlineStore.orderPopup.header.backFromPaymentProvider.success",testEnvironment:"shop.com.webwave.gui.onlineStore.orderPopup.header.testEnvironment",headersItems:"shop.com.webwave.gui.onlineStore.orderPopup.tabWraper.headers.items",headersInvoiceData:"shop.com.webwave.gui.onlineStore.orderPopup.tabWraper.headers.invoiceData",headersSummary:"shop.com.webwave.gui.onlineStore.orderPopup.tabWraper.headers.summary", 824orderItemsPriceSum:"shop.com.webwave.gui.onlineStore.orderPopup.content.step1.orderItemsPriceSum",keepShopping:"shop.com.webwave.gui.onlineStore.orderPopup.button.keepShopping",back:"shop.com.webwave.gui.onlineStore.orderPopup.button.back",close:"shop.com.webwave.gui.onlineStore.orderPopup.button.close",ok:"shop.com.webwave.gui.onlineStore.orderPopup.button.ok",next:"shop.com.webwave.gui.onlineStore.orderPopup.button.next",tryAgain:"shop.com.webwave.gui.onlineStore.orderPopup.button.tryAgain",pay:"shop.com.webwave.gui.onlineStore.orderPopup.button.pay", 825confirmOrder:"shop.com.webwave.gui.onlineStore.orderPopup.button.confirmOrder",testPaymentEnvironmentInfo1:"shop.com.webwave.gui.onlineStore.orderPopup.testEnvironment.content.paragraph.1",testPaymentEnvironmentInfo2:"shop.com.webwave.gui.onlineStore.orderPopup.testEnvironment.content.paragraph.2",item:"shop.table.headers.item",count:"shop.table.headers.count",pricePerItem:"shop.table.headers.pricePerItem",price:"shop.table.headers.price",emptyShoppingCart:"shop.com.webwave.gui.onlineStore.orderPopup.content.step1.emptyShoppingCart", 826invoiceDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.invoiceData.header",requiredValidatorText:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.required.validatorText",order_clientType_individual:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.clientType.individual",order_clientType_company:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.clientType.company",orderClientDataName:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.name", 827orderClientDataCompanyName:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.companyName",orderClientDataAddress1:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.address1",orderClientDataAddress2:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.address2",orderClientDataCity:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.city",orderClientDataZipCode:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.zipCode", 828orderClientDataCountry:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.country",orderClientDataNoResult:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.noResult",orderClientDataCountryNotFound:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.countryNotFound",orderClientDataTaxId:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.taxID",orderClientData_invoiceCheckboxLabel:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.invoiceRequestLabel", 829postageDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.header",notValidPostageOption:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.notValidPostageOption",sendDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.sendData.header",invoiceDataActive:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.invoiceDataActive",postageDataParcelNotSelected:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.parcelNotSelected",anyPostageAvailable:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.anyPostageAvailable", 830paymentMethodHeader:"shop.com.webwave.gui.onlineStore.orderPopup.paymentMethod.header",online:"shop.c
830om.webwave.gui.onlineStore.orderPopup.paymentOption.online",paymentMethod_not_after_order:"shop.com.webwave.gui.onlineStore.orderPopup.paymentOption.notDefinedInfo.afterOrder",paymentMethod_not_before_order:"shop.com.webwave.gui.onlineStore.orderPopup.paymentOption.notDefinedInfo.beforeOrder",delivery_not_available_before_order:"shop.com.webwave.gui.onlineStore.orderPopup.delivery.notAvailableInfo.beforeOrder", 831delivery_not_defined_before_order:"shop.com.webwave.gui.onlineStore.orderPopup.delivery.notDefinedInfo.beforeOrder",delivery_not_defined_after_order:"shop.com.webwave.gui.onlineStore.orderPopup.delivery.notDefinedInfo.afterOrder",freeShippingInfo:"shop.com.webwave.gui.onlineStore.orderPopup.freeShipping.info",parcelLocker:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.inpostEasyPack.parcelLocker",changeParcelButton:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.changeParcelButton", 832contactDataHeader:"shop.com.webwave.gui.onlineStore.orderPopup.contactData.header",phone:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.phone",email:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.email",emailValidatorText:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.email.validatorText",additionalOrderFieldsHeader:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.additionalOrderFields.header",checkBoxValidationMessage:"shop.ui.checkbox.validationMessage.default", 833termsAndConditionsHeader:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.termsAndConditions.header",termsAndConditionsRequire:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.termsAndConditions.require",orderSummaryPostage:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.postage",orderSummaryTax:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.tax",taxValue:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.taxValue",taxSummary:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.taxSummary", 834toPay:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.toPay",tel:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.phone",e_mail:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.email",discountCodeLabel:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.discountCode.label",discountCodeError404:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.discountCode.validation.404",discountCodeError405:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.discountCode.validation.405", 835verificationMessage:"shop.com.webwave.gui.onlineStore.orderPopup.verificationMessage",notVerifiedYetMessage:"shop.com.webwave.gui.onlineStore.orderPopup.notVerifiedYetMessage",errorMessage:"shop.com.webwave.gui.onlineStore.orderPopup.errorMessage",incorrectAuthentication:"shop.com.webwave.gui.onlineStore.orderPopup.incorrectAuthentication",selectProductVariantPopupTitle:"shop.com.webwave.gui.selectProductVariantPopup.title",selectProductVariantPopupHint:"shop.com.webwave.gui.selectProductVariantPopup.hint", 836selectProductVariantPopupAddToCart:"shop.com.webwave.gui.selectProductVariantPopup.button.addToShopCart",productPrice:"shop.com.webwave.gui.selectProductVariantPopup.priceTable.productPrice",totalPrice:"shop.com.webwave.gui.selectProductVariantPopup.priceTable.totalPrice",additionalPriceForVariant:"shop.com.webwave.gui.selectProductVariantPopup.priceTable.additionalPriceForVariant",notAvailableVariantSuffix:"shop.com.webwave.gui.selectProductVariantPopup.notAvailableVariantSuffix",shop:"shop.com.webwave.gui.onlineStore.header.shop",
837testingOrderNumberWithPayment:"shop.com.webwave.gui.onlineStore.orderMail.headerTesting.orderNumberWithPayment",orderNumber:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.orderNumber",paymentStatusHeader:"snipcart.payment_status",providerStatus_overpaid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.overpaid",providerStatus_paid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.paid",providerStatus_underpaid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.underpaid", 838providerStatus_unpaid:"shop.com.webwave.gui.onlineStore.shop.mail.orderMail.header.paymentStatus.providerStatus.unpaid",summaryOrder:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.mainHeader",paymentOption:"shop.com.webwave.gui.onlineStore.orderPopup.sendData.header",nip:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.nip",postageData:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.header",sendData:"shop.com.webwave.gui.onlineStore.orderPopup.sendData.header", 839contactData:"shop.com.webwave.gui.onlineStore.orderPopup.contactData.header",additionalData:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.additionalInfo",sellerInfo:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.sellerInfo",invoiceData:"application.com.webwave.finance.invoiceData.defaultText.infoBox.title",discountCode:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.discountCode",additionalText:"shop.table.headers.additionalText",postage:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.postage", 840vatTax:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.vatTax",vatTaxSummary:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.taxSummary",itemsHeader:"shop.table.headers.items",itemsName:"shop.table.headers.itemsName",itemsCount:"shop.table.headers.count",pricePerItemMail:"application.com.webwave.webwaveStore.product.productVariants.table.price",totalPriceSum:"shop.table.headers.price",toPayMail:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.toPay",payed:"shop.com.webwave.gui.onlineStore.orderMail.items.payed", 841description:"application.com.webwave.webwaveStore.product.description.placeholder",termsAndConditions:"shop.com.webwave.gui.onlineStore.orderMail.header.summaryOrder.termsAndConditions",termsAndConditionsRequired:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.termsAndConditions.require",termsAndConditionsValue_true:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.termsAndConditions.value.true",termsAndConditionsValue_false:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.termsAndConditions.value.false", 842productStateException_text:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productStateException.text",productStateException_title:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productStateException.title",productNotAvailableException_text:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productNotAvailableException.text",productNotAvailableException_title:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productNotAvailableException.title",productNotAvailableException_yesLabel:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productNotAvailableException.yesLabel", 843productChangeState_information:"shop.com.webwave.gui.onlineStore.orderPopup.errors.productChangeState.information",notification_minimumAmountNotExceeded_part1:"shop.com.webwave.gui.onlineStore.orderPopup.errors.minimumOrderAmountSettings.information1",notification_minimumAmountNotExceeded_part2:"shop.com.webwave.gui.onlineStore.orderPopup.errors.minimumOrderAmountSettings.information2",shippingAddressDifferent:"shop.checkout.shippingAddressDifferent",orderPendingHeader:"shop.checkout.orderPendingHeader", 844orderConfirmedErrorHeader:"shop.checkout.orderPendingHeader",orderConfirmedHeader:"shop.checkout.orderConfirmedHeader",orderConfirmedText:"shop.checkout.orderConfirmedText",streetAddress:"shop.checkout.streetAddress",apartmentNumber:"shop.checkout.apartmentNumber",clientType:"shop.checkout.clientType",goToCheckout:"shop.checkout.goToCheckout",selectPoint:"shop.checkout.selectPoint",activate:"shop.checkout.activate",backToShop:"shop.checkout.backToShop",orderPendingText:"shop.checkout.orderPendingText", 845postageAndPayment:"shop.checkout.postageAndPayment",clickLinkOnPreviewMessage:"shop.checkout.clickLinkOnPreviewMessage"}},217:function(e,t,n){var i={NORMAL:"normal",HOVER:"hover",DISABLED:"disabled"};t.a=i},218:function(e,t,n){var i={COVER:"cover",CONTAIN:"contain",FULL_WIDTH:"100% 100%",AUTO:"auto"};t.a=i},2183:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(31),c=n(1645),l=n(112),d=n(106),h=n(1804),f=n(2072);function v(e){var t=g();return function n(){var i= 846Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(a.a)(n,e);var t=v(n);function n(){var e,r=arguments.length>0&&void 0!== 847arguments[0]?arguments[0]:{};return Object(i.a)(this,n),(e=t.call(this,r))._animationEnabled=!1,e._animation=void 0,e._hideAnimationEnabled=!1,e._hideAnimation=void 0,e._animationPlayer=void 0,e._animationOnScrollEnabled=!1,e._animationOnScroll=void 0,e.objectAnimationQueueItem=void 0,e}return Object(r.a)(n,[{key:"setAnimationPlayer",value:function e(t){this._animationPlayer=t}},{key:"getAnimation",value:function e(){return this._animation}},{key:"getHideAnimation",value:function e(){return this._hideAnimation}}, 848{key:"finishCurrentAnimation",value:function e(){var t;null===(t=this._animationPlayer)||void 0===t||t.finishCurrentAnimation();for(var n=0;n<this.children.length;n++){var i;null===(i=this.children[n])||void 0===i||i.finishCurrentAnimation()}}},{key:"canPlayShowOrHideAnimation",value:function e(){return this.isInitialized()&&!1===this.hasDisabledAnimations()&&(this.getDomSizeMode()!==c.a.CHILDREN_SIZE||this.getAllChildrenForSizeComputation().length>0||this.hasEnableVisibilityWithoutChildren())}}, 849{key:"canPlayShowAnimation",value:function e(){var t;return this.canPlayShowOrHideAnimation()&&(!0===this.isAnimationEnabled()&&webwave.isDef(this._animation)||!0===(null===(t=this.getParentWNo
849de())||void 0===t?void 0:t.canPlayShowAnimation()))}},{key:"getShowAnimationToPlay",value:function e(){var t;return this.isAnimationEnabled()?this.getAnimation():null===(t=this.getParentWNode())||void 0===t?void 0:t.getShowAnimationToPlay()}},{key:"collectShowAnimationDelayFromParents",value:function e(){var t= 850arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,n=t.isAnimationEnabled()?t.getAnimation().getDelay():0;return t.isInGroup()&&(n+=this.collectShowAnimationDelayFromParents(t.getParentWNode())),n}},{key:"playCurrentAnimation",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(),!1!==this.canPlayShowAnimation()||!0===t.force){var n=this.getShowAnimationToPlay(),i=u.a.getValue("publicatedPageApp.noObjectShowAnimations",!1);if(!0!== 851i?this._animationPlayer.playAnimation(n,{delay:t.delay,skipDelay:t.skipDelay,onComplete:t.onComplete,beforeEachAnimationStart:t.beforeEachAnimationStart,afterEachAnimationStop:t.afterEachAnimationStop,animationType:f.a.SHOW}):t.onComplete(),this.hasChildren())for(var r=this.getChildren(),a=0;a<r.length;a++)if(!0===r[a].isVisibleForInFlow()){var o=webwave.isDef(t.delay)?t.delay:1E3*r[a].collectShowAnimationDelayFromParents();!0!==i&&r[a].playCurrentAnimation({delay:o,skipDelay:t.skipDelay,beforeEachAnimationStart:t.beforeEachAnimationStart, 852afterEachAnimationStop:t.afterEachAnimationStop})}}else webwave.isFunction(t.onComplete)&&t.onComplete()}},{key:"canPlayHideAnimation",value:function e(){var t;return this.canPlayShowOrHideAnimation()&&(!0===this.isHideAnimationEnabled()&&webwave.isDef(this._hideAnimation)||!0===(null===(t=this.getParentWNode())||void 0===t?void 0:t.canPlayHideAnimation()))}},{key:"getHideAnimationToPlay",value:function e(){var t;return this.isHideAnimationEnabled()?this.getHideAnimation():null===(t=this.getParentWNode())|| 853void 0===t?void 0:t.getHideAnimationToPlay()}},{key:"playCurrentHideAnimation",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(),!1!==this.canPlayHideAnimation()){var n=this.getHideAnimationToPlay();if(this._animationPlayer.playAnimation(n,{delay:t.delay,skipDelay:t.skipDelay,onComplete:t.onComplete,cleanObjectDelay:t.cleanObjectDelay,beforeEachAnimationStart:t.beforeEachAnimationStart,afterEachAnimationStop:t.afterEachAnimationStop, 854animationType:f.a.HIDE}),this.hasChildren())for(var i=this.getChildren(),r=0;r<i.length;r++)!0===i[r].isVisibleForInFlow()&&i[r].playCurrentHideAnimation({delay:t.delay,skipDelay:t.skipDelay,cleanObjectDelay:t.cleanObjectDelay,beforeEachAnimationStart:t.beforeEachAnimationStart,afterEachAnimationStop:t.afterEachAnimationStop})}else webwave.isFunction(t.onComplete)&&t.onComplete()}},{key:"isAnimationEnabled",value:function e(){return this._animationEnabled}},{key:"isHideAnimationEnabled",value:function e(){return this._hideAnimationEnabled}}, 855{key:"setAnimation",value:function e(t){this._animation=t}},{key:"setHideAnimation",value:function e(t){this._hideAnimation=t}},{key:"setAnimationEnabled",value:function e(t){this._animationEnabled=t}},{key:"setHideAnimationEnabled",value:function e(t){this._hideAnimationEnabled=t}},{key:"isScrollAnimationEnabled",value:function e(){return this._animationOnScrollEnabled}},{key:"setScrollAnimationEnabled",value:function e(t){var n=this._animationOnScrollEnabled!==t;this._animationOnScrollEnabled=t, 856n&&this.updateScrollAnimationVisibility()}},{key:"setAnimationOnScroll",value:function e(t){var n=this._animationOnScroll!==t;this._animationOnScroll=t,n&&this.updateScrollAnimationVisibility()}},{key:"getAnimationOnScroll",value:function e(){return this._animationOnScroll}},{key:"computeAnimationOnScrollEndPoints",value:function e(){var t=this.getAnimationOnScroll().getStartStageStartValue(),n=this.getAnimationOnScroll().getStartStageStartUnit(),i=this.convertVerticalLengthToUnit(new l.a({value:t, 857unit:n}),d.a.PX).getValue(),r=this.getAnimationOnScroll().computeFinishStageStartValue(),a=this.getAnimationOnScroll().getFinishStageStartUnit(),o;return{START:i,FINISH:this.convertVerticalLengthToUnit(new l.a({value:r,unit:a}),d.a.PX).getValue()}}},{key:"computeScrollAnimationVisibility",value:function e(){var t,n=null===(t=this.pageCanvas)||void 0===t?void 0:t.getCurrentPageAreaScrollY(),i=this.computeAnimationOnScrollEndPoints(),r=this.getAnimationOnScroll().computeStartStageVisibility(),a=this.getAnimationOnScroll().computeFinishStageVisibility(); 858return n<i.START?!r:n>=i.START&&n<=i.FINISH?r:n>i.FINISH?a:void 0}},{key:"updateScrollAnimationVisibility",value:function e(){this.isScrollAnimationEnabled()&&webwave.isDef(this.getAnimationOnScroll())?this.visibilities.setScrollAnimationVisibility(this.computeScrollAnimationVisibility()):this.visibilities.setScrollAnimationVisibility(void 0)}},{key:"canChangeAnimationOnScroll",value:function e(){return!0}},{key:"beforeShowRealAnimationStart",value:function e(){}},{key:"beforeHideRealAnimationStart", 859value:function e(){}},{key:"hasDisabledAnimations",value:function e(){return!0===this._wNodeSettings.disableAnimations}},{key:"removeInteractionVisibility",value:function e(t){this.visibilities.setInteractionVisibility(void 0),!0===t&&this.getChildren().forEac
859h(function(e){e.removeInteractionVisibility(t)})}},{key:"setObjectAnimationQueueItem",value:function e(t){var n=this.objectAnimationQueueItem!==t;this.objectAnimationQueueItem=t,n&&(this.updateBaseVisibility(),this.getChildren(!0).forEach(function(e){e.updateBaseVisibility()}))}}, 860{key:"hasObjectAnimationQueueItem",value:function e(){return webwave.isDef(this.objectAnimationQueueItem)}}]),n}(h.a)},2184:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(918),o=n(218),s=n(1805),u=n(1081),c=n(123),l=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.backgroundType=t.backgroundType,this.imageId=t.imageId,this.backgroundImage=t.backgroundImage,this.backgroundColor=t.backgroundColor,this.gradient=webwave.isDef(t.gradient)?new u.a(t.gradient): 861void 0,this.verticalPosition=t.verticalPosition,this.horizontalPosition=t.horizontalPosition,this.repeatY=webwave.isDef(t.repeatY)?!1!==t.repeatY:void 0,this.repeatX=webwave.isDef(t.repeatX)?!1!==t.repeatX:void 0,this.backgroundSize=t.backgroundSize,this.backgroundAttachment=t.backgroundAttachment,this.parallax=t.parallax,this.enabled=t.enabled,this.backgroundImageEnabled=t.backgroundImageEnabled}return Object(r.a)(e,[{key:"toCss2Map",value:function e(){var t={};return!1===this.enabled&&!1===this.backgroundImageEnabled? 862{background:"none"}:(this.enabled?t=this.backgroundType===a.a.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:t.backgroundColor="transparent",this.backgroundImageEnabled&&(window.fileManagerService?t.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===o.a.FULL_WIDTH):t.backgroundImage=this.backgroundImage? 863this.backgroundImage:"none",Object.assign(t,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(t.backgroundImage)&&(t.backgroundImage="none"),t)}},{key:"serialize",value:function e(t){var n,i;(this.gradient instanceof u.a&&(n=this.gradient.serialize()),webwave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(t.imageIdCorrector))&&(this.imageId=null===(i=t.imageIdCorrector)|| 864void 0===i?void 0:i.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:n,verticalPosition:this.verticalPosition,horizontalPosition:this.horizontalPosition,repeatX:this.repeatX,repeatY:this.repeatY,backgroundSize:this.backgroundSize,backgroundAttachment:this.backgroundAttachment,parallax:this.parallax,enabled:this.enabled,backgroundImageEnabled:this.backgroundImageEnabled}}},{key:"applyPartialBackgroundMap", 865value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.backgroundAttachment)&&(this.backgroundAttachment=t.backgroundAttachment),webwave.isDef(t.backgroundColor)&&(this.backgroundColor=t.backgroundColor),webwave.isDef(t.backgroundSize)&&(this.backgroundSize=t.backgroundSize),webwave.isDef(t.backgroundType)&&(this.backgroundType=t.backgroundType),webwave.isDef(t.gradient)&&(this.gradient=new u.a(t.gradient)),webwave.isDef(t.horizontalPosition)&&(this.horizontalPosition=t.horizontalPosition),webwave.isDef(t.verticalPosition)&& 866(this.verticalPosition=t.verticalPosition),webwave.isDef(t.imageId)&&(this.imageId=t.imageId),webwave.isDef(t.backgroundImage)&&(this.backgroundImage=t.backgroundImage),webwave.isDef(t.repeatX)&&(this.repeatX=t.repeatX),webwave.isDef(t.repeatY)&&(this.repeatY=t.repeatY),webwave.isDef(t.parallax)&&(this.parallax=t.parallax),webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.backgroundImageEnabled)&&(this.backgroundImageEnabled=t.backgroundImageEnabled))}},{key:"generateBackgroundRepeatString", 867value:function e(){return s.a.generateBackgroundRepeatString(this.repeatX,this.repeatY)}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i=c.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,t),r=null===(n=this.gradient)||void 0===n?void 0:n.changeWebsiteColorConnection(t);return i||r}}
867,{key:"clearBackgroundImageProperties",value:function e(){this.backgroundSize=void 0,this.horizontalPosition=void 0,this.verticalPosition=void 0,this.imageId=void 0,this.repeatY=void 0,this.repeatX= 868void 0,this.backgroundImage=void 0,this.parallax=void 0}},{key:"clearNonBackgroundImageProperties",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.backgroundColor=void 0,this.gradient=void 0,this.enabled=void 0,t.clearBackgroundImageEnabled&&(this.backgroundImageEnabled=void 0)}},{key:"isBackgroundImageEnabledAndDefined",value:function e(){return!0===this.backgroundImageEnabled&&webwave.isDefAndNotNull(this.imageId)}},{key:"applyImagePropertiesIfNotDefined", 869value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.backgroundAttachment)&&webwave.isNotDef(this.backgroundAttachment)&&(this.backgroundAttachment=t.backgroundAttachment),webwave.isDef(t.backgroundSize)&&webwave.isNotDef(this.backgroundSize)&&(this.backgroundSize=t.backgroundSize),webwave.isDef(t.backgroundType)&&webwave.isNotDef(this.backgroundType)&&(this.backgroundType=t.backgroundType),webwave.isDef(t.horizontalPosition)&&webwave.isNotDef(this.horizontalPosition)&&(this.horizontalPosition= 870t.horizontalPosition),webwave.isDef(t.verticalPosition)&&webwave.isNotDef(this.verticalPosition)&&(this.verticalPosition=t.verticalPosition),webwave.isDef(t.imageId)&&webwave.isNotDef(this.imageId)&&(this.imageId=t.imageId),webwave.isDef(t.backgroundImage)&&webwave.isNotDef(this.backgroundImage)&&(this.backgroundImage=t.backgroundImage),webwave.isDef(t.repeatX)&&webwave.isNotDef(this.repeatX)&&(this.repeatX=t.repeatX),webwave.isDef(t.repeatY)&&webwave.isNotDef(this.repeatY)&&(this.repeatY=t.repeatY))}}]), 871e}()},2185:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(2186),o=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.top=webwave.isDef(t.top)?new a.a(t.top):void 0,this.right=webwave.isDef(t.right)?new a.a(t.right):void 0,this.bottom=webwave.isDef(t.bottom)?new a.a(t.bottom):void 0,this.left=webwave.isDef(t.left)?new a.a(t.left):void 0,this.radius="number"==typeof t.radius?t.radius:void 0,this.enabled=webwave.isBoolean()?t.enabled:void 0,this.roundingEnabled= 872webwave.isBoolean(t.roundingEnabled)?t.roundingEnabled:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){var t={radius:this.radius,enabled:this.enabled,roundingEnabled:this.roundingEnabled};return webwave.isDef(this.top)&&(t.top=this.top.serialize()),webwave.isDef(this.right)&&(t.right=this.right.serialize()),webwave.isDef(this.bottom)&&(t.right=this.right.serialize()),webwave.isDef(this.left)&&(t.right=this.right.serialize()),t}},{key:"toCss2Map",value:function e(){var t={};return webwave.isDef(this.radius)&& 873(css2Map.borderRadius=(this.roundingEnabled?this.radius:0)+"px"),webwave.isDef(this.top)&&(t.borderTopWidth=this.enabled?this.top.width:"0px",t.borderTopStyle=this.top.style,t.borderTopColor=this.top.color),webwave.isDef(this.right)&&(t.borderRightWidth=this.enabled?this.right.width:"0px",t.borderRightStyle=this.right.style,t.borderRightColor=this.right.color),webwave.isDef(this.bottom)&&(t.borderBottomWidth=this.enabled?this.bottom.width:"0px",t.borderBottomStyle=this.bottom.style,t.borderBottomColor= 874this.bottom.color),webwave.isDef(this.left)&&(t.borderLeftWidth=this.enabled?this.left.width:"0px",t.borderLeftStyle=this.left.style,t.borderLeftColor=this.left.color),t}},{key:"applyPartialBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.top)&&(webwave.isDef(this.top)?this.top.applyPartialSingleBorderMap(t.top):this.top=new a.a(t.top)),webwave.isDef(t.right)&&(webwave.isDef(this.right)?this.right.applyPartialSingleBorderMap(t.right):this.right=new a.a(t.right)),webwave.isDef(t.bottom)&& 875(webwave.isDef(this.bottom)?this.bottom.applyPartialSingleBorderMap(t.bottom):this.bottom=new a.a(t.bottom)),webwave.isDef(t.left)&&(webwave.isDef(this.left)?this.left.applyPartialSingleBorderMap(t.left):this.left=new a.a(t.left)),webwave.isNumberAndNotNaN(t.radius)&&(this.radius=t.radius),webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isBoolean(t.roundingEnabled)&&(this.roundingEnabled=t.roundingEnabled))}},{key:"removeAllBorderWidths",value:function e(){webwave.isDef(this.top)&&this.top.removeWidth(), 876webwave.isDef(this.right)&&this.right.removeWidth(),webwave.isDef(this.bottom)&&this.bottom.removeWidth(),webwave.isDef(this.left)&&this.left.removeWidth()}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i,r,a,o=!0===(null===(n=this.left)||void 0===n?void 0:n.changeWebsiteColorConnection(t)),s=!0===(null===(i=this.right)||void 0===i?void 0:i.changeWebsiteColorConnection(t)),u=!0===(null===(r=this.top)||void 0===r?void 0:r.changeWebsiteColorConnection(t)),c=!0===(null===(a=this.bottom)|| 877void 0===a?void 0:a.changeWebsiteColorConnection(t));return o||s||u||c}}],[{key:"deserialize",value:function t(n){return void 0===n&&(n={}),new e({top:a.a.deserialize(n.top),right:a.a.deserialize(n.right),bottom:a.a.deserialize(n.bottom),left:a.a.deserialize(n.left),radius:n.radius,enabled:n.enabled,roundingEnabled:n.roundingEnabled})}}]),e}()},2186:function(e,t,n){n.d(t,"a",function(){return o}
877);var i=n(0),r=n(1),a=n(123),o=function(){function e(t){Object(i.a)(this,e),void 0===t&&(t={}),this.width= 878"number"==typeof t.width?t.width:void 0,this.color="string"==typeof t.color?t.color:void 0,this.style=void 0!==t.style?t.style:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){return{width:this.width,color:this.color,style:this.style}}},{key:"applyPartialSingleBorderMap",value:function e(t){webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.width)&&(this.width=t.width),webwave.isDef(t.style)&&(this.style=t.style),webwave.isDef(t.color)&&(this.color=t.color))}},{key:"removeWidth",value:function e(){this.width= 879void 0}},{key:"changeWebsiteColorConnection",value:function e(t){return a.a.changeObjectColorPropertyWithWebsiteColor(this,t)}}]),e}()},2187:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(123),u=function(){function e(t){if(Object(i.a)(this,e),void 0===t&&(t={}),this.enabled=t.enabled,this.color,webwave.isString(t.color))if(a.ColorUtils.isColorStartWithAnyOfPhrase(t.color,["rgba","var"]))this.color=t.color;else if(a.ColorUtils.isColorStartWithRgbPhrase(t.color)){var n= 880webwave.isDef(t.opacity)?t.opacity/100:1;this.color=a.ColorUtils.rgbAndOpacityToRgba(t.color,n)}this.x="number"==typeof t.x?t.x:void 0,this.y="number"==typeof t.y?t.y:void 0,this.blur="number"==typeof t.blur?t.blur:void 0}return Object(r.a)(e,[{key:"serialize",value:function e(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function e(){var t;return t=!0===this.enabled&&webwave.isDef(this.color)&&webwave.isDef(this.x)&&webwave.isDef(this.y)&& 881webwave.isDef(this.blur)?this.x+"px "+this.y+"px "+this.blur+"px "+this.color:"none"}},{key:"toCss2Map",value:function e(){return{boxShadow:this.toBoxShadowString()}}},{key:"applyPartialShadowMap",value:function e(t){webwave.isDef(t)&&(webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.color)&&(this.color=t.color),webwave.isDef(t.x)&&(this.x=t.x),webwave.isDef(t.y)&&(this.y=t.y),webwave.isDef(t.blur)&&(this.blur=t.blur))}},{key:"changeWebsiteColorConnection",value:function e(t){return s.a.changeObjectColorPropertyWithWebsiteColor(this, 882t)}}],[{key:"deserialize",value:function e(t){return newPartialShadowMap(t)}}]),e}()},2188:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1308),o=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this.padding=a.a.deserialize(t.padding)}return Object(r.a)(e,null,[{key:"deserialize",value:function t(n){return new e(n)}}]),e}()},2189:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(2073),o=function(){function e(t){Object(i.a)(this,e), 883this._interactions=webwave.isArrayLike(t)?t.map(function(e){return new a.a(e)}):[new a.a]}return Object(r.a)(e,[{key:"addInteraction",value:function e(t){-1===this._interactions.indexOf(t)&&this._interactions.push(t)}},{key:"removeInteraction",value:function e(t){var n=webwave.isNumberAndNotNaN(t)?t:this._interactions.indexOf(t);-1!==n&&this._interactions.splice(n,1)}},{key:"getInteractions",value:function e(){return this._interactions}},{key:"getInteractionsList",value:function e(){return this._interactions}}, 884{key:"serialize",value:function e(){return this._interactions.map(function(e){return e.serialize()})}}]),e}()},219:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return S});var i=n(62);const r={DEBUG:0,INFO:1,WARN:2,ERROR:3};let a=!1,o=0;function s(e){a=e}function u(){return a}function c(e){if(e&&Object(i.isDefAndNotNull)(e.debug)){let t=e.debug;Object(i.isString)(t)&&(t="true"===t.toLowerCase()),s(t)}}function l(e){return!!a&&e>=o}function d(...e){l(0)&& 885console.log(...e)}function h(...e){l(1)&&console.info(...e)}function f(...e){l(2)&&console.warn(...e)}function v(...e){l(3)&&console.error(...e)}function g(e,...t){l(0)&&console.log(e,...t)}function p(e){c(e)}function y(){return{enabled:a,level:o}}function b(e){s(e)}function m(){return u()}function w(e){if(Object(i.isString)(e))o=r[e.toUpperCase()]||0;else{if(!Object(i.isNumber)(e))throw new Error("Invalid log level");o=e}}const S={debug:(...e)=>d(...e),info:(...e)=>h(...e),log:(...e)=>h(...e),warn:(...e)=> 886f(...e),error:(...e)=>v(...e),debugWithPrefix:(e,...t)=>g(e,...t),configure:{set:e=>p(e),get:()=>y(),setEnabled:e=>b(e),isEnabled:()=>m(),setLevel:e=>w(e)},LogLevel:r}},2190:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1740),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"== 887typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"getStyle",value:function e(t){return this.get
887State(t).getStyleMap()}}],[{key:"deserialize", 888value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{normal:new u.a(t.normal),hover:new u.a(t.hover),disabled:new u.a(t.disabled)}}}]),n}(n(1681).a)},2191:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(40),o=function(){function e(t){Object(i.a)(this,e),this.domObject=void 0,this.width=0,this.height=0,this.imageFile=null,this.html=t.html,this.width=t.width,this.height=t.height,this.imageFile=t.imageFile,this.domObject=t.domObject,this.thumbnailMode= 889!1,this.backgroundSize=t.backgroundSize}return Object(r.a)(e,[{key:"getHtml",value:function e(){return this.html}},{key:"getDomObject",value:function e(){return this.domObject}},{key:"getHeight",value:function e(){return this.height}},{key:"getWidth",value:function e(){return this.width}},{key:"isThumbnailMode",value:function e(){return this.thumbnailMode}},{key:"setThumbnailMode",value:function e(t){this.thumbnailMode=t,this._updateImageUrl()}},{key:"getImageSize",value:function e(){return new a.a({width:this.imageFile.width, 890height:this.imageFile.height})}},{key:"_updateImageUrl",value:function e(){var t=this.getDomObject().find(".image");if(webwave.isDef(this.imageFile)){var n=this.isThumbnailMode()?this.imageFile.getThumbnailUrlStringForCss():this.imageFile.getUrlStringForCss();t[0].style.background="".concat(n," center center / ").concat(this.backgroundSize," no-repeat")}}}]),e}()},2192:function(e,t,n){var i=n(1682),r=n(218),a=n(1744),o=n(1563);t.a={autoplay:!0,enable_overlays:!0,enable_slideshow:!0,filmstrip_on_image:!0, 891filmstrip_position:o.a.BOTTOM,filmstrip_style:"showall",frame_gap:8,frame_height:10,frame_width:10,overlay_position:a.a.TOP,panel_animation:i.a.SLIDE,panel_height:300,panel_scale:r.a.COVER,panel_width:400,showFilmstripOnHover:!0,show_filmstrip:!0,show_filmstrip_nav:!1,show_infobar:!1,show_panel_nav:!0,transition_interval:5E3,transition_speed:1E3}},2193:function(e,t,n){n.d(t,"a",function(){return h});var i=n(1682),r=n(218),a=n(1340),o=n(178),s=n(1744),u=n(1563),c={opacity:1,backgroundColor:"rgba(34, 34, 34, 0)", 892paddingLeft:"80px",paddingTop:"24px",paddingRight:"80px",paddingBottom:"24px"},l={color:a.a.gallery.header.color},d={color:a.a.gallery.header.color},h={animation_autoplay:!0,animation_delay:5E3,animation_duration:1E3,animation_type:i.a.SLIDE,gallery_infobox_enabled:!0,gallery_infobox_position:s.a.TOP,gallery_thumbnails_enabled:!1,gallery_thumbnails_position:u.a.BOTTOM,image_crop_type:r.a.COVER,next_prev_buttons_distance:24,next_previous_buttons_enabled:!0,thumbnailsHeight:10,thumbnailsWidth:10,useOriginalImageSizeInArrows:!0, 893styles:{header:{textStyleId:o.a.H2,styleMap:c,textStyleMap:l},descrition:{textStyleId:o.a.DEFAULT,textStyleMap:d}}};t.b={contentData:h,panel_height:450,panel_width:1200}},22:function(e,t,n){function i(){return[t.INJECT_TAG,t.MULTI_INJECT_TAG,t.NAME_TAG,t.UNMANAGED_TAG,t.NAMED_TAG,t.OPTIONAL_TAG]}Object.defineProperty(t,"__esModule",{value:!0}),t.NON_CUSTOM_TAG_KEYS=t.POST_CONSTRUCT=t.DESIGN_PARAM_TYPES=t.PARAM_TYPES=t.TAGGED_PROP=t.TAGGED=t.MULTI_INJECT_TAG=t.INJECT_TAG=t.OPTIONAL_TAG=t.UNMANAGED_TAG= 894t.NAME_TAG=t.NAMED_TAG=void 0,t.NAMED_TAG="named",t.NAME_TAG="name",t.UNMANAGED_TAG="unmanaged",t.OPTIONAL_TAG="optional",t.INJECT_TAG="inject",t.MULTI_INJECT_TAG="multi_inject",t.TAGGED="inversify:tagged",t.TAGGED_PROP="inversify:tagged_props",t.PARAM_TYPES="inversify:paramtypes",t.DESIGN_PARAM_TYPES="design:paramtypes",t.POST_CONSTRUCT="post_construct",t.NON_CUSTOM_TAG_KEYS=i()},2214:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l(); 895return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this, 896n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getSource",value:function e(){return this._source}}]),n}(n(2215).a)},2215:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this._source=t}return Object(r.a)(e,[{key:"getSource",value:function e(){return this._source}}]),e}()},2216:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 897{};Object(i.a)(this,e),this.disableAlternateFixedChildren=!1,this.disableAlternateStickyChildren=!1,this.enableFlowWithoutChildren=!1,this.enableVisibilityWithoutChildren=!1,this.disableAnimations=!1,this.enableBindsInheritanceInBothDirections=!1,this.disableCustomBindsPerRwdMode=!1,this.excludedFromSizeComputation=!1,this.supportVariableBackgroun
897dManipulationInHoverState=!1,this.disableShadowStyle=!1,this.enableInvokeAutoRwdPopup=!1,this.countPushDownAttrOnUpdate=!1,webwave.isDefAndNotNull(t.disableAlternateFixedChildren)&& 898(this.disableAlternateFixedChildren=t.disableAlternateFixedChildren),webwave.isDefAndNotNull(t.disableAlternateStickyChildren)&&(this.disableAlternateStickyChildren=t.disableAlternateStickyChildren),webwave.isDefAndNotNull(t.enableFlowWithoutChildren)&&(this.enableFlowWithoutChildren=t.enableFlowWithoutChildren),webwave.isDefAndNotNull(t.enableVisibilityWithoutChildren)&&(this.enableVisibilityWithoutChildren=t.enableVisibilityWithoutChildren),webwave.isDefAndNotNull(t.disableAnimations)&&(this.disableAnimations= 899t.disableAnimations),webwave.isDefAndNotNull(t.enableBindsInheritanceInBothDirections)&&(this.enableBindsInheritanceInBothDirections=t.enableBindsInheritanceInBothDirections),webwave.isDefAndNotNull(t.disableCustomBindsPerRwdMode)&&(this.disableCustomBindsPerRwdMode=t.disableCustomBindsPerRwdMode),webwave.isDefAndNotNull(t.excludedFromSizeComputation)&&(this.excludedFromSizeComputation=t.excludedFromSizeComputation),webwave.isDefAndNotNull(t.supportVariableBackgroundManipulationInHoverState)&&(this.supportVariableBackgroundManipulationInHoverState= 900t.supportVariableBackgroundManipulationInHoverState),webwave.isDefAndNotNull(t.disableShadowStyle)&&(this.disableShadowStyle=t.disableShadowStyle),webwave.isDefAndNotNull(t.countPushDownAttrOnUpdate)&&(this.countPushDownAttrOnUpdate=t.countPushDownAttrOnUpdate)}return Object(r.a)(e,[{key:"hasEnabledBindsInheritanceInBothDirections",value:function e(){return!0===this.enableBindsInheritanceInBothDirections}},{key:"hasDisabledCustomBindsPerRwdMode",value:function e(){return this.disableCustomBindsPerRwdMode}}, 901{key:"hasCountPushDownAttrOnUpdate",value:function e(){return this.countPushDownAttrOnUpdate}},{key:"isExcludedFromSizeComputation",value:function e(){return this.excludedFromSizeComputation}},{key:"isShadowStyleDisabled",value:function e(){return!0===this.disableShadowStyle}},{key:"isSupportVariableBackgroundManipulationInHoverState",value:function e(){return!0===this.supportVariableBackgroundManipulationInHoverState}},{key:"isEnableInvokeAutoRwdPopup",value:function e(){return!0===this.enableInvokeAutoRwdPopup}}]), 902e}()},2217:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2974),l=n(1795),d=n(11),h=n.n(d),f=n(1740),v=n(1756),g=n(217),p=n(2190);function y(e){var t=b();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"== 903typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.wobject.wbutton.WButton");var m=function(e){Object(o.a)(n,e);var t=y(n);function n(e){var r;Object(i.a)(this,n),(r=t.call(this,e))._currentState=g.a.NORMAL;var a=r.getDomObject()[0].getElementsByClassName("ww_button_data")[0];return r._buttonData=JSON.parse(a.text),a.remove(),r._textHtml=r._buttonData.textHtml,r._variableBackgroundImageInHoverState= 904e.variableBackgroundImageInHoverState,r.initRwdTextContent(),r.cloneComputedStyleToInlineInContent(),r._initTouchEvent(),!0!==r._variableBackgroundImageInHoverState&&r._clearHoverBackgroundImageStyle(),r}return Object(r.a)(n,[{key:"createStatesStyles",value:function e(t){return new p.a(p.a.deserialize(t))}},{key:"isHoverAnimatorEnabled",value:function e(){return Object(a.a)(Object(u.a)(n.prototype),"isHoverAnimatorEnabled",this).call(this)&&this._changeTextInStateIsAvailable(g.a.HOVER)}},{key:"setVerticalBackgroundPositionForParallax", 905value:function e(t){var n,i=this._getStyleMapByState(this.getCurrentVersion(),{full:!0}),r="calc("+i.background.verticalPosition+t+")",a;if(this.getContent()[0].style.backgroundPosition=i.background.horizontalPosition+" "+r,null===(n=this._hoverAnimator)||void 0===n?void 0:n.getAnimation()){var o=this.getDomObject().find(".hoverAnimationScene"),s=o.find('[wwButtonState="'+g.a.NORMAL+'"]');if(s.length>0){var u=this._getStyleMapByState(g.a.NORMAL,{full:!0});
905r="calc("+u.background.verticalPosition+t+ 906")",s.each(function(){this.style.backgroundPosition=u.background.horizontalPosition+" "+r})}var c=o.find('[wwButtonState="'+g.a.HOVER+'"]');if(c.length>0){var l=this._getStyleMapByState(g.a.HOVER,{full:!0});r="calc("+l.background.verticalPosition+t+")",c.each(function(){this.style.backgroundPosition=l.background.horizontalPosition+" "+r})}}}},{key:"getNormalStateWrapper",value:function e(){return this.getContent().find(".ww_button_background_image_box.normal")}},{key:"getHoverStateWrapper",value:function e(){return this.getContent().find(".ww_button_background_image_box.hover")}}, 907{key:"getButtonLink",value:function e(){return this.getContent().find(".ww_button_link")}},{key:"initRwdTextContent",value:function e(){var t=$(this.getContent()[0].querySelectorAll(".normal.ww_button_text_wrapper .ww_button_text")),n=$(this.getContent()[0].querySelectorAll(".hover.ww_button_text_wrapper .ww_button_text"));t.length>0&&(this._rwdTextContentNormal=new v.a(t)),n.length>0&&(this._rwdTextContentHover=new v.a(n)),this.reloadTextRwdProperties()}},{key:"reloadTextRwdProperties",value:function e(t){webwave.isDefAndNotNull(this._rwdTextContentNormal)&& 908this._rwdTextContentNormal.loadRwdTextProperties(t),webwave.isDefAndNotNull(this._rwdTextContentHover)&&this._rwdTextContentHover.loadRwdTextProperties(t)}},{key:"updateObjectForRwdChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this.cloneComputedStyleToInlineInContent(),this.reloadTextRwdProperties()}},{key:"getButtonTextWrapper",value:function e(){return this.getContent().find(".ww_button_text")}},{key:"_loadButtonStyle",value:function e(t){Object(a.a)(Object(u.a)(n.prototype), 909"applyPartialObjectStyle",this).call(this,t),this.getButtonTextWrapper().css({verticalAlign:t.verticalAlign,textAlign:t.horizontalAlign})}},{key:"setButtonTextHtml",value:function e(t){this.getButtonTextWrapper().html(t)}},{key:"_getStyleMapByState",value:function e(t){return this.getStateStyle(t)}},{key:"_getHtmlByState",value:function e(t){var n="";if(webwave.isValidEnumValue(t,g.a))return webwave.isNotDef(this._textHtml[t])?(t!==g.a.HOVER&&t!==g.a.DISABLED||(n=this._getHtmlByState(g.a.NORMAL)), 910t===g.a.NORMAL&&(n="")):n=this._textHtml[t],n}},{key:"setContentStyle",value:function e(t){this.getContent().css(t.toCss2Map())}},{key:"setState",value:function e(t){if(Object(a.a)(Object(u.a)(n.prototype),"setState",this).call(this,t),this._changeTextInStateIsAvailable(t)){this._currentState=t;var i=this._getStyleMapByState(t),r=this._getHtmlByState(t);this.setButtonTextHtml(r),this._loadButtonStyle(i),this.getContent().attr("wwButtonState",this._currentState),this.reloadTextRwdProperties()}}},{key:"getCurrentVersion", 911value:function e(){return this._currentState}},{key:"getStateStyle",value:function e(t){return this.getStatesStyles().getStyle(t)}},{key:"getButtonVersionStyle",value:function e(t){return this.getStateStyle(t)}},{key:"setStyleVersion",value:function e(t){this.setState(t)}},{key:"domMouseEnterHandler",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"domMouseEnterHandler",this).call(this),this.customMouseEnterHandler()}},{key:"customMouseEnterHandler",value:function e(){if(d.MobileUtils.isMobileAppleDevice()){if(this.getDomObject().find("a[href^=mailto]").length|| 912this.getDomObject().find("a[href^=tel]").length)return;!0===this._hasHrefAttr()&&this._getElementForAppleDeviceMouseEnterEvent()[0].click()}}},{key:"domTouchEnterHandler",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"domMouseEnterHandler",this).call(this)}},{key:"domTouchLeaveHandler",value:function e(){this.domMouseLeaveHandler()}},{key:"_getElementForAppleDeviceMouseEnterEvent",value:function e(){return this.getButtonLink()}},{key:"_initTouchEvent",value:function e(){this._initAppleDeviceClickHandler(), 913this._enableTouchEventListeners()}},{key:"changeStylesBackgroundImageExtensionIfNecessary",value:function e(){this.changeStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(g.a.NORMAL)),this.changePartialStyleBackgroun
913dExtensionIfNecessary(this.getStatesStyles().getState(g.a.HOVER),this.browserWebPSupportUtils.getHoverWeBPImageAttrName(),this.browserWebPSupportUtils.getHoverWeBPImageDatasetAttrName())}},{key:"changeStyleBackgroundExtensionIfNecessary",value:function e(t){var n=t.styleMap.background.backgroundImage; 914t.styleMap.background.backgroundImage=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(n,this.getContent()[0])}},{key:"changePartialStyleBackgroundExtensionIfNecessary",value:function e(t,n,i){if(webwave.isDef(t.styleMap)){var r=t.styleMap.background.backgroundImage,a=this.getContent().find("[".concat(n,"]"))[0];t.styleMap.background.backgroundImage=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrParameterCheck(r,a,i)}}},{key:"_clearHoverBackgroundImageStyle",value:function e(){var t= 915this.getButtonVersionStyle(g.a.HOVER);if(webwave.isDef(t)){var n=t.getBackground();webwave.isDef(n)&&n.clearBackgroundImageProperties()}}},{key:"useAdvancedTextEditor",value:function e(){return!0}},{key:"_enableTouchEventListeners",value:function e(){var t=this,n;this.getDomObject().on("touchstart",function(e){t._uiEventsLock=new c.a;var n=e.target,i=function e(){t._uiEventsLock=new c.a,n.removeEventListener("touchend",e),n.removeEventListener("touchcancel",e),t.domTouchLeaveHandler()};n.addEventListener("touchend", 916i),n.addEventListener("touchcancel",i),t.domTouchEnterHandler()})}},{key:"_hasHrefAttr",value:function e(){return webwave.isDefAndNotNull(this.getButtonLink().attr("href"))}},{key:"_initAppleDeviceClickHandler",value:function e(){if(d.MobileUtils.isMobileSafari()){var t=this.getButtonLink(),n=t.attr("href"),i=t.attr("target");webwave.isDef(n)&&""!==n&&webwave.isDef(i)&&(t.on("click",function(){return!1}),d.MobileUtils.emulateClickEventForAppleDevice(this.getDomObject(),function(){window.open(t.attr("href"), 917i)}))}}},{key:"_changeTextInStateIsAvailable",value:function e(t){return!1===d.MobileUtils.isAppleDeviceWithTouchScreen()||webwave.isNotDef(this.getButtonLink())}}]),n}(l.a);com.webwave.publication.wobject.wbutton.WButton=m,m.deserializeStyles=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=f.a.deserialize(e[n]));return t}},2218:function(e,t,n){n.d(t,"a",function(){return y});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(11),d=n.n(l),h;function f(e,t){var n=Object.keys(e); 918if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n, 919t))})}return e}function g(e){var t=p();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var y=function(e){Object(s.a)(n, 920e);var t=g(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,n),e=t.call(this,i),webwave.isNotDef(e.id)&&(e.id=e.generateId()),e.price=i.price,e._url=i.url,e._thumbnailId=i.thumbnailId,e.thumbnailUrl=i.image,e}return Object(a.a)(n,[{key:"getThumbnailId",value:function e(){return this._thumbnailId}},{key:"substituteId",value:function e(){this._id=this.generateId()}},{key:"generateId",value:function e(){return $("#websiteId").val()+"-"+Math.random().toString(36).substring(2, 9218)+"-"+Math.random().toString(36).substring(2,8)}},{key:"getUrl",value:function e(){return this._url}},{key:"setUrl",value:function e(t){this._url=t}},{key:"serialize",value:function e(){return v(v({},Object(o.a)(Object(c.a)(n.prototype),"serialize",this).call(this)),{},{url:this.getUrl(),image:this.getThumbnailUrl()})}},{key:"deserialize",value:function e(t){return new n(t)}},{key:"getThumbnailUrl",value:function e(){if(webwave.isNotDefOrNull(window.fileManagerService)&&webwave.isString(this.thumbnailUrl))return this.thumbnailUrl; 922if(webwave.isDef(window.fileManagerService)){var t=fileManagerService.getUserFileById(this.getThumbnailId()),n="";return webwave.isDef(t)&&(n=t.getThumbnailUrl()),l.Environment.isDevelopment()&&(n=n.replace("webwaver_front/webwaver_front","
922webwaver_front")),n}}},{key:"clone",value:function e(){return new n(this.serialize())}},{key:"getAttributes",value:function e(){return{id:this.getId(),name:this.name,url:"http://myapp.com/products/bacon",price:this.getPrice(),description:this.description,image:this.getThumbnailUrl()}}}]), 923n}(n(1178).a)},2219:function(e,t,n){var i={FIT:"fit",CROP:"crop"};t.a=i},2220:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2078),c=n(2977);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"== 924typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._rwdProperties=new c.a(e.rwdProperties),r}return Object(r.a)(n,[{key:"getRwdProperties",value:function e(){return this._rwdProperties}},{key:"initialize",value:function e(t){this._rwdProperties.setRwdService(t)}},{key:"getImageSrc",value:function e(){return this.getRwdProperties().getImageSrc()}}, 925{key:"getImageSize",value:function e(){return this.getRwdProperties().getImageSize()}},{key:"getCroppedImageSrc",value:function e(){return this.getRwdProperties().getCroppedImageSrc()}},{key:"getCroppedImageSize",value:function e(){return this.getRwdProperties().getCroppedImageSize()}},{key:"getThumbnailSrc",value:function e(){return this.getRwdProperties().getThumbnailSrc()}},{key:"getThumbnailSize",value:function e(){return this.getRwdProperties().getThumbnailSize()}},{key:"getUseWebp",value:function e(){return this.getRwdProperties().getUseWebp()}}]), 926n}(u.a)},2221:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(40),l=n(106),d=n(112);function h(e){var t=f();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 927[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WHtmlTool");var v,g=function(e){Object(o.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).dynamicHeight=!1,r}return Object(r.a)(n,[{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return webwave.isDefAndNotNull(i.content.children[0])&&(i.embeddedHtmlContentNode=i.content.children[0]),i}},{key:"getEmbeddedHtmlContentNode", 928value:function e(){return this.cachedDom.embeddedHtmlContentNode}},{key:"initMutationObserver",value:function e(){var t=this,n=webwave.requestAnimationFrame,i=null,r;!1!==webwave.isDef(this.getEmbeddedHtmlContentNode())&&n(function e(){var r=t.computeNewHeight();r!==i&&(i=r,t.updateMinSize()),t.dynamicHeight&&n(e)})}},{key:"computeNewHeight",value:function e(){if(this.dynamicHeight)return this.getEmbeddedHtmlContentNode().scrollHeight;var t=l.a.PX,n,i;return this.pageCanvas.convertHorizontalLengthToUnit(this._size.getHeight(), 929t).value-this.getPaddingAndBorderSizes().vertical}},{key:"calculateMinContentSize",value:function e(){var t=0;return webwave.isDef(this.getEmbeddedHtmlContentNode())&&(t=this.computeNewHeight()),new c.a({width:0,height:t})}},{key:"loadAdditionalData",value:function e(t){webwave.isDef(t)&&webwave.isDef(t.dynamicHeight)&&this.setDynamicHeight(t.dynamicHeight)}},{key:"setDynamicHeight",value:function e(t){this.getDomObject().attr("data-dynamic-height",t),t!==this.dynamicHeight&&(!0===t&&this.initMutationObserver(), 930this.dynamicHeight=t)}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WHtmlTool=g},2222:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1327),l=n(1739);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 931if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WMediaPlayer");var f,v=function(e){Object(o.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).videoProperties={},r.playerReady=!1,r.wasAutoPlayed=!1,r.customThumbnailEnabled=e.customThumbnailEnabled,r.mediaPlayerService=e.mediaPlayerService, 932r.fetchVideoPropertiesFromDomObject(),r.initElementPlayer(),r}return Object(r.a)(n,[{key:"isAutoPlayEnabled",value:function e(){return this.videoProperties.autoPlay}},{key:"isLoopEnabled",value:function e(){return this.videoProperties.loop}},{key:"isMuted",value:function e(){return this.videoProperties.muted}},{key:"areControlsHiden",value:function e(){return!this.videoProperties.controls}},{key:"isCustomThumbnailEnabled",value:function e(){return this.customThumbnailEnabled}},{key:"getMediaPlayerService", 933value:function e(){return this.mediaPlayerService}},{key:"shouldVideoBeAutoPlayed",value:function e(){return!0}},{key:"isCustomThumbnailWithoutAutoPlay",value:function e(){return!0===this.isCu
933stomThumbnailEnabled()&&!1===this.isAutoPlayEnabled()}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.resizeThumbnail()}},{key:"resizeThumbnail",value:function e(){var t=this.getCustomThumbnailImgDomElement();if(webwave.isDefAndNotNull(t)){var n= 934{contentWidth:this.getInnerWidth(),contentHeight:this.getInnerHeight(),element:t,imageWidth:t.getAttribute("imageWidth"),imageHeight:t.getAttribute("imageHeight")};domElementService.resizeImgDomElement(n)}}},{key:"tryToAutoPlayVideo",value:function e(){var t=pageService.getWindowScroll()+window.innerHeight;!1===this.wasAutoPlayed&&this.getDomObject().is(":visible")&&this.shouldVideoBeAutoPlayed()&&this.getY()<t&&this.isAutoPlayEnabled()&&(this.removeThumbnail(),this.wasAutoPlayed=!0,this.playVideo())}}, 935{key:"initPlayer",value:function e(){this.preparePlayerForShow()}},{key:"initElementPlayer",value:function e(){this.isCustomThumbnailWithoutAutoPlay()?this.initCustomThumbnail():this.initPlayer()}},{key:"removeThumbnail",value:function e(){if(!0===this.isCustomThumbnailEnabled()){var t;null===(t=this.getCustomThumbnailImgDomElement())||void 0===t||t.remove();var n=this.getCustomThumbnailDomElement();null===n||void 0===n||n.querySelectorAll(".icon").forEach(function(e){e.remove()})}}},{key:"initCustomThumbnail", 936value:function e(){this.initThumbnail(this.getCustomThumbnailDomElement())}},{key:"getCustomThumbnailDomElement",value:function e(){return this.getContent()[0].querySelector(".video-custom-thumbnail")}},{key:"getCustomThumbnailImgDomElement",value:function e(){var t;return null===(t=this.getCustomThumbnailDomElement())||void 0===t?void 0:t.querySelector("img")}},{key:"initThumbnail",value:function e(t){var n=this;null===t||void 0===t||t.addEventListener("click",function(){n.initPlayer(),n.removeThumbnail()})}}, 937{key:"playCurrentHideAnimation",value:function e(){this.pauseVideo(),Object(a.a)(Object(u.a)(n.prototype),"playCurrentHideAnimation",this).call(this)}},{key:"pauseVideo",value:function e(){}},{key:"playVideo",value:function e(){}},{key:"fetchVideoPropertiesFromDomObject",value:function e(){}},{key:"addImgLazyLoad",value:function e(){if(Object(a.a)(Object(u.a)(n.prototype),"addImgLazyLoad",this).call(this),this.isCustomThumbnailEnabled()){var t=this.getCustomThumbnailImgDomElement();webwave.isDefAndNotNull(t)&& 938(t.hasAttribute(c.a.LAZY_LOAD_ATTR_NAME)?this.createDomWIntersectionObserved(new c.a(t)):t.hasAttribute(l.a.LAZY_LOAD_ATTR_NAME)&&this.createDomWIntersectionObserved(new l.a(t)))}}},{key:"preparePlayerForShow",value:function e(){}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WMediaPlayer=v,v.VIDEO_TYPES={youtube:0,html5Video:1,vimeo:2}},2223:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2);function c(e){var t=l();return function n(){var i= 939Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WMediaPlayer.VimeoVideo");var d,h=function(e){Object(o.a)(n, 940e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"fetchVideoPropertiesFromDomObject",value:function e(){var t=this.getDomObject();this.vimeoDiv=t.find(".vimeoVideo"),this.vimeoDiv.length>0&&(this.videoProperties={videoId:this.vimeoDiv.attr("data-videoid"),controls:"true"===this.vimeoDiv.attr("data-controls"),autoPlay:"true"===this.vimeoDiv.attr("data-autoplay"),loop:"true"===this.vimeoDiv.attr("data-loop"),muted:"true"===this.vimeoDiv.attr("data-muted"), 941targetId:this.vimeoDiv.prop("id")})}},{key:"initPlayer",value:function e(){if(Object(a.a)(Object(u.a)(n.prototype),"initPlayer",this).call(this),webwave.isDef(window.Vimeo)&&webwave.isFunction(window.Vimeo.Player)){var t={id:this.videoProperties.videoId,loop:this.videoProperties.loop,autopause:!1};this.player=new Vimeo.Player(this.videoProperties.targetId,t),this.player.ready().then(this.playerReadyEventListener.bind(this))}else this.getMediaPlayerService().addVimeoPlayerToInitList(this),this.getMediaPlayerService().initVimeoApi()}}, 942{key:"playVideo",value:function e(){var t=this;webwave.isDef(this.player)&&this.player.play().then(function(){t.wasAutoPlayed=!0})}},{key:"playerReadyEventListener",value:function e(){this.playerReady=!0,this.isMuted()&&this.player.setVolume(0),this.isCu
942stomThumbnailWithoutAutoPlay()?this.playVideo():this.tryToAutoPlayVideo()}},{key:"pauseVideo",value:function e(){webwave.isDef(this.player)&&this.player.pause()}}]),n}(com.webwave.publication.object.WMediaPlayer)},2224:function(e,t,n){n.d(t,"a",function(){return b}); 943var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2);function c(e){var t=l();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}} 944webwave.provide("com.webwave.publication.object.WMediaPlayer.YoutubeVideo");var d,h=-1,f=0,v=1,g=2,p=3,y=5,b=function(e){Object(o.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"fetchVideoPropertiesFromDomObject",value:function e(){var t=this.getDomObject();this.youtubeDiv=t.find(".youtubeVideo");var n=this.youtubeDiv.attr("data-playlist");this.youtubeDiv.length>0&&(this.videoProperties={videoId:this.youtubeDiv.attr("data-videoid"),controls:"true"=== 945this.youtubeDiv.attr("data-controls"),autoPlay:"true"===this.youtubeDiv.attr("data-autoplay"),loop:"true"===this.youtubeDiv.attr("data-loop"),muted:"true"===this.youtubeDiv.attr("data-muted"),playlist:webwave.isDef(n)?n:null,events:{onStateChange:this.onStateChange.bind(this),onReady:this.onReady.bind(this)}})}},{key:"initElementPlayer",value:function e(){!1===this.isAutoPlayEnabled()?!0===this.isCustomThumbnailEnabled()?this.initCustomThumbnail():this._initMockThumbnail():this.initPlayer()}},{key:"onReady", 946value:function e(){this.playerReady=!0,this.videoProperties.muted&&this.player.mute(),!1===this.isAutoPlayEnabled()?this.playVideo():this.tryToAutoPlayVideo()}},{key:"initPlayer",value:function e(){if(Object(a.a)(Object(u.a)(n.prototype),"initPlayer",this).call(this),webwave.isDef(window.YT)){var t={videoId:this.videoProperties.videoId,playerVars:{modestbranding:1,controls:this.videoProperties.controls?1:0,rel:0,showinfo:this.videoProperties.loop?0:1},events:{onStateChange:this.videoProperties.events.onStateChange.bind(this), 947onReady:this.videoProperties.events.onReady.bind(this)}};this.player=new YT.Player(this.youtubeDiv.prop("id"),t)}else this.getMediaPlayerService().addYoutubePlayerToInitList(this),this.getMediaPlayerService().initYoutubeApi()}},{key:"shouldVideoBeAutoPlayed",value:function e(){return webwave.isDef(this.player)&&webwave.isFunction(this.player.getPlayerState)&&this.player.getPlayerState()===y&&this.playerReady}},{key:"playVideo",value:function e(){this.isPlaylist()&&this.player.cuePlaylist({listType:"playlist", 948list:this.videoProperties.playlist}),webwave.isDef(this.player)&&(this.player.playVideo(),this.wasAutoPlayed=!0)}},{key:"isPlaylist",value:function e(){return webwave.isDefAndNotNull(this.videoProperties.playlist)}},{key:"onStateChange",value:function e(t){if(this.isPlaylist()){if(t.data===y&&this.isPlaylist()&&!0!==this.playlistCued){var n,i=this.player.getPlaylist().indexOf(this.videoProperties.videoId);i>-1&&(this.firstVideoInPlaylistPlayed=!1,this.player.playVideoAt(i)),this.playlistCued=!0}t.data=== 949y&&this.isPlaylist()&&!1===this.firstVideoInPlaylistPlayed&&(this.firstVideoInPlaylistPlayed=!0)}t.data===f&&this.isLoopEnabled()&&this.player.playVideo()}},{key:"pauseVideo",value:function e(){webwave.isDef(this.player)&&this.player.pauseVideo()}},{key:"_initMockThumbnail",value:function e(){this.initThumbnail(this._getYoutubeMockThumbnail())}},{key:"removeThumbnail",value:function e(){if(this.isCustomThumbnailEnabled())Object(a.a)(Object(u.a)(n.prototype),"removeThumbnail",this).call(this);else{var t= 950this._getYoutubeMockThumbnail();webwave.isDefAndNotNull(t)&&t.remove()}}},{key:"_getYoutubeMockThumbnail",value:function e(){return this.getContent()[0].querySelector(".youtubeVideoMock")}},{key:"preparePlayerForShow",value:function e(){this.getContent()[0].classList.add("youtube-player
950-loading")}}]),n}(com.webwave.publication.object.WMediaPlayer)},2225:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(1),a=n(1809),o=n(2117);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]|| 951e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o= 952!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function u(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var l=function(){function e(){Object(i.a)(this, 953e)}return Object(r.a)(e,null,[{key:"lazyLoadImages",value:function t(n){if(webwave.isDefAndNotNull(n)){var i=elementAttributeService.getAttributeFromRwdMapForCurrentMode(n,"slidesPerView"),r,a=s(n.querySelectorAll(".".concat(o.a.SLIDE_CLASS,":nth-of-type(-n+").concat(i,")"))),u;try{for(a.s();!(u=a.n()).done;){var c=u.value,l,d=s(c.querySelectorAll("source")),h;try{for(d.s();!(h=d.n()).done;){var f=h.value;f.setAttribute("srcset",f.dataset.srcset)}}catch(e){d.e(e)}finally{d.f()}e.updateImageDimensions(c)}}catch(e){a.e(e)}finally{a.f()}}}}, 954{key:"updateImageDimensions",value:function e(t){var n=t.querySelector("img"),i=t.querySelector(".".concat(o.a.IMAGE_WRAPPER_CLASS));if(webwave.isDefAndNotNull(n)){var r=a.a.innerDimensions(i),s=r.width,u=r.height;domElementService.resizeImgDomElement({contentWidth:s,contentHeight:u,element:n,imageWidth:elementAttributeService.getAttributeFromRwdMapForCurrentMode(n,"width"),imageHeight:elementAttributeService.getAttributeFromRwdMapForCurrentMode(n,"height")})}}}]),e}()},2226:function(e,t,n){n.d(t, 955"a",function(){return o});var i=n(0),r=n(1),a=n(1555);webwave.provide("com.webwave.animator.Animator");var o=function(){function e(){Object(i.a)(this,e),this._animationQueue=[],this._running=!1,this._rafPtr}return Object(r.a)(e,[{key:"registerAnimation",value:function e(t){var n;-1===this._animationQueue.indexOf(t)&&(this._animationQueue.push(t),!1===this._running&&this._start())}},{key:"unregisterAnimation",value:function e(t){var n=this._animationQueue.indexOf(t);-1!==n&&this._animationQueue.splice(n, 9561),0===this._animationQueue.length&&this._stop()}},{key:"_handleTick",value:function t(n){var i,r=this._animationQueue.slice(0);this._rafPtr=e.requestAnimationFrame(this._handleTick.bind(this));for(var a=0;a<r.length;a++){i=r[a];try{!1===i.isStarted()&&i.start(n),!0===i.isRunning()&&(i.setCurrentTime(n-i.getStartTime()),i.tick()),i.getCurrentTime()>=i.getDuration()&&i.stop(!0),!0===i.isFinished()&&this.unregisterAnimation(i)}catch(e){webwave.debug(e),this.unregisterAnimation(i)}}}},{key:"_stop",value:function t(){!0=== 957this._running&&(this._running=!1,webwave.isDef(this._rafPtr)&&e.cancelAnimationFrame(this._rafPtr))}},{key:"_start",value:function t(){!1===this._running&&(this._running=!0,this._rafPtr=e.requestAnimationFrame(this._handleTick.bind(this)))}}]),e}();o.cancelAnimationFrame=function(e){window.cancelAnimationFrame(e)},o.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)},com.webwave.animator.Animator=o,com.webwave.animator.animator=new o},2227:function(e,t,n){var i={PAGE_DATA_NODE_ID:"pageData"}; 958t.a=i},2228:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(3),a=n(4),o=n(2),s=n(53),u=n.n(s),c=n(14),l=n.n(c),d,h;function f(e){var t=v();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 959[],function(){})),!0}catch(e){return!1}}var g=(d=Object(c.injectable)())(h=function(e){Object(r.a)(n,e);var t=f(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return n}(s.SimplePropertyChangeEmitter))||h},2229:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e),this._arr=[],this._map=new Map}return Object(r.a)(e,[{key:"add",value:function e(t,n){this._map.has(t)||(this._map.set(t,n),this._arr.push(n))}},{key:"remove", 960value:function e(t){!1!==this._map.has(t)&&(this._map.delete(t),this._arr.splice(this._arr.indexOf(t),1))}},{key:"get",value:function e(t){return this._map.get(t)}},{key:"has",value:function e(t){return this._map.has(t)}},{key:"toArray",value:function e(){return this._arr}}]),e}()},227:function(e,t,n){t.a={optJsonParse:function e(t){return webwave.isValidJSON(decodeURIComponent(t))?JSON.parse(decodeURIComponent(t)):{}},saveJSONParse:function e(t){return webwave.isValidJSON(t)?JSON.parse(t):{}},parseJsonFromNodeWithId:function e(t){var n= 961arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{var i=$("#".concat(t));if(i.length>0){var r=JSON.parse(i.html());return!0===n&&i.remove(),r}}catch(e){console.error("Error during node JSON data parsing",e)}},tryParseMultiStringifiedText:function e(t,n){for(var i=t,r=0;r<n&&(i=JSON.parse(i),!webwave.isObject(i));r++);return r===n?null:i},findStringifiedJsonInString:function e(t){return t?t.substring(t.indexOf("{"),t.lastIndexOf("}")+1):""},findStringifiedJsonArrayInString:function e(t){return t? 962t.substring(t.indexOf("["),t.lastIndexOf("]")+1):""},safeOptJsonParse:function e(t){if(!1!==webwave.isStringAndNotEmpty(t))return webwave.isValidJSON(decodeURIComponent(t))?JSON.parse(decodeURIComponent(t)):void 0},safeDecodeURIComponent:function e(t){if(!1!==webwave.isStringAndNotEmpty(t))try{return decodeURIComponent(t)}catch(e){return t}}}},230:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),a=n(14),o=n.n(a),s=n(99),u=n(215),c,l,d,h;function f(e,t){var n="undefined"!=typeof Symbol&& 963e[Symbol.iterator]||e["@@iterator"];
963if(!n){if(Array.isArray(e)||(n=v(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done, 964t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function v(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var p= 965(c=Object(a.injectable)())((h=d=function(){function e(){Object(i.a)(this,e),this._visiblePopups=[],this._registeredPopups=[],this.lockService=null}return Object(r.a)(e,[{key:"setLockService",value:function e(t){this.lockService=t}},{key:"_addPopup",value:function t(n){-1===this._visiblePopups.indexOf(n)?(0!==this._visiblePopups.length&&this._handleIdlePopups(),this._visiblePopups.push(n),e._attachPopupToDom(n),n.setLocked(!1)):this.movePopupToFront(n),this._moveFirstPopupToFrontIfAlwaysOnTop(),this.updateLock()}}, 966{key:"_removePopup",value:function e(t){var n=this._visiblePopups.indexOf(t);-1!==n&&(this._visiblePopups.splice(n,1),t.detach(),this._visiblePopups.length>0&&this._visiblePopups[this._visiblePopups.length-1].setLocked(!1)),this.updateLock()}},{key:"_handleIdlePopups",value:function e(){for(var t=this._visiblePopups.length-1;t>=0;t--)this._visiblePopups[t].setLocked(!0)}},{key:"movePopupToFront",value:function t(n){var i=this._visiblePopups.indexOf(n);-1!==i&&(this._visiblePopups.splice(i,1),this._visiblePopups.push(n), 967e._attachPopupToDom(n),this._handleIdlePopups(),n.setLocked(!1))}},{key:"dispose",value:function e(){for(var t=this._registeredPopups.length-1;t>=0;t--)this.unregisterPopup(this._registeredPopups[t])}},{key:"updateLock",value:function e(){webwave.isDefAndNotNull(this.lockService)&&(0===this.getVisiblePopupsNumber()?this.lockService.unlockAll():this.lockService.lockAll())}},{key:"getVisiblePopupsNumber",value:function e(){for(var t=0,n=0;n<this._visiblePopups.length;n++)!0===this._visiblePopups[n].isVisible()&& 968t++;return t}},{key:"isAnyPopupVisible",value:function e(){return this.getVisiblePopupsNumber()>0}},{key:"popupClosed",value:function e(t){var n=t.getSource();return this._removePopup(n),n}},{key:"popupOpened",value:function e(t){var n=t.getSource();return this._addPopup(n),n}},{key:"popupDisposed",value:function e(t){this.unregisterPopup(t.getSource())}},{key:"registerPopup",value:function e(t){this._registeredPopups.push(t),t.addPopupEventListener(this)}},{key:"unregisterPopup",value:function e(t){var n= 969this._registeredPopups.indexOf(t);t.removePopupEventListener(this),this._removePopup(t),-1!==n&&(this._registeredPopups.splice(n,1),t.dis
969pose())}},{key:"getVisiblePopups",value:function e(){return this._visiblePopups}},{key:"getRegisteredPopups",value:function e(){return this._registeredPopups}},{key:"_moveFirstPopupToFrontIfAlwaysOnTop",value:function e(){var t=f(this._visiblePopups),n;try{for(t.s();!(n=t.n()).done;){var i=n.value;if(!0===i.isAlwaysOnTop()){this.movePopupToFront(i);break}}}catch(e){t.e(e)}finally{t.f()}}}], 970[{key:"_attachPopupToDom",value:function e(t){t.attach($("#screen_popup"))}}]),e}(),d.SCREEN_POPUP_ID="screen_popup",l=h))||l;webwave.provide("com.webwave.ui.popup.SimplyPopupManager"),com.webwave.ui.popup.SimplyPopupManager=p},232:function(e,t,n){t.a={INNER_TEXT:"innerText"}},233:function(e,t,n){t.a={FROM:Symbol.for("from"),TO:Symbol.for("to")}},234:function(e,t,n){n.d(t,"a",function(){return S});var i=n(0),r=n(1),a=n(1570),o=n(1173),s=n(1571),u=n(1551),c=n(69),l=n(1634),d=n(1635),h=n(1636),f=n(1188), 971v=n(1573),g=n(1637),p=n(1640),y=n(1642),b=n(1643),m=n(11),w=n.n(m),S=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.description1=new c.a(t.description1),this.discountCodes=new l.a(t.discountCodes),this.dotPayEnabled=!!t.dotPayEnabled&&t.dotPayEnabled,this.formSettings=new v.a(t.formSettings),this.orderEmailAddress=new a.a(t.orderEmailAddress),this.orderSuccessInformation=this._parseOrderSuccessInformation(t),this.paymentProviderOptions= 972new s.a(t.paymentProviderOptions),this.postage=new u.a(t.postage),this.storeColorSettings=new g.a(t.storeColorSettings),this.successPaymentAction=new o.a(t.successPaymentAction),this.termsAndConditions=new y.a(t.termsAndConditions),this.translation=new b.a(t.translation),this.minimumOrderAmountSettings=new h.a(t.minimumOrderAmount),this.generalSettings=new d.a(t.generalSettings),this.productCategories=t.productCategories,this.products=t.products,this.checkoutEnabled=!0===t.checkoutEnabled}return Object(r.a)(e, 973[{key:"init",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.id=t.id;var n=webwave.isDef(t.shopSettingsPersonalisation)?t.shopSettingsPersonalisation:{};this.dotPayEnabled=t.dotPayEnabled||!1,this.productCategories=t.productCategories,this.products=t.products,this.orderEmailAddress=webwave.isDef(t.orderEmailAddress)?new a.a(t.orderEmailAddress):new a.a,this.postage=webwave.isDef(t.postage)?new u.a(t.postage):new u.a,this.minimumOrderAmountSettings=webwave.isDef(t.minimumOrderAmount)? 974new h.a(t.minimumOrderAmount):new h.a,this.paymentProviderOptions=webwave.isDef(t.paymentProviderOptions)?new s.a(t.paymentProviderOptions):new s.a,this.generalSettings=webwave.isDef(t.generalSettings)?new d.a(t.generalSettings):new d.a,this.discountCodes=webwave.isDef(t.discountCodes)?new l.a(t.discountCodes):new l.a,this.termsAndConditions=webwave.isDef(t.termsAndConditions)?new y.a(t.termsAndConditions):new y.a,this.shopSettingsPersonalisation={id:n.id},this.orderSuccessInformation=webwave.isDef(n.orderSuccessInformation)? 975new p.a(n.orderSuccessInformation):new p.a,this.description1=webwave.isDef(n.description1)?new c.a(n.description1):new c.a(t.description1),this.storeColorSettings=webwave.isDef(n.storeColorSettings)?new g.a(n.storeColorSettings):new g.a,this.formSettings=webwave.isDef(n.formSettings)?new v.a(n.formSettings):new v.a,this.successPaymentAction=webwave.isDef(n.successPaymentAction)?new o.a(n.successPaymentAction):new o.a,this.translation=this._initializeTranslationSettings(n),this.checkoutEnabled=!0=== 976n.checkoutEnabled}},{key:"decorateByServerData",value:function e(t){if(!webwave.isNotDef(t)){this.id=null===t||void 0===t?void 0:t.id;
976var n=t.shopSettingsPersonalisation;webwave.isDef(n)&&(this.shopSettingsPersonalisation={id:n.id}),webwave.isDef(t.orderEmailAddress)&&(this.orderEmailAddress=new a.a(t.orderEmailAddress)),webwave.isDef(t.postage)&&(this.postage=new u.a(t.postage)),webwave.isDef(t.minimumOrderAmount)&&(this.minimumOrderAmountSettings=new h.a(t.minimumOrderAmount)),webwave.isDef(t.paymentProviderOptions)&& 977(this.paymentProviderOptions=new s.a(t.paymentProviderOptions)),webwave.isArrayWithMinimumNElements(t.productCategories,1)&&(this.productCategories=t.productCategories),webwave.isArrayWithMinimumNElements(t.products,1)&&(this.products=t.products),webwave.isDef(t.generalSettings)&&this.generalSettings.decorateByServerData(t.generalSettings),webwave.isDef(t.discountCodes)&&this.discountCodes.decorateByServerData(t.discountCodes),webwave.isDef(n.orderSuccessInformation)&&(this.orderSuccessInformation= 978new p.a(n.orderSuccessInformation)),webwave.isDef(n.description1)&&(this.description1=new c.a(n.description1)),webwave.isDef(n.storeColorSettings)&&(this.storeColorSettings=new g.a(n.storeColorSettings)),webwave.isDef(n.formSettings)&&(this.formSettings=new v.a(n.formSettings)),webwave.isDef(n.translation)&&(this.translation=this._initializeTranslationSettings(n)),webwave.isDef(n.successPaymentAction)&&(this.successPaymentAction=new o.a(n.successPaymentAction)),webwave.isDef(t.termsAndConditions)&& 979(this.termsAndConditions=new y.a(t.termsAndConditions))}}},{key:"getCurrency",value:function e(){return this.generalSettings.currency}},{key:"getLogoUrl",value:function e(){return this.generalSettings.logoUrl}},{key:"getLogoId",value:function e(){return this.generalSettings.logoId}},{key:"setCurrency",value:function e(t){this.generalSettings.currency=t}},{key:"getDataToOrder",value:function e(){var t=this.storeColorSettings.value.serialize();return Object.assign(t,{taxValue:this.getTaxValue(f.a.CONVERTED_TO_LONG), 980currency:this.getCurrency(),description1:this.description1.value,sellerInfo:this.orderSuccessInformation.serializeValue,orderEmailAddress:this.orderEmailAddress.value,dotPayEnabled:this.dotPayEnabled,successUrl:this.successPaymentAction.url,freeShippingValue:this.postage.getFreeShippingValue(),checkoutEnabled:this.checkoutEnabled})}},{key:"getPaymentsAvailableForCurency",value:function e(){var t=this,n=[];return!0===this.paymentProviderOptions.enable&&this.paymentProviderOptions.value.forEach(function(e){e.paymentMethodAvailableForCurrency(t.getCurrency())&& 981n.push(e)}),0===n.length&&(this.paymentProviderOptions.enable=!1),n}},{key:"getTaxValue",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a.DOUBLE,n=this.generalSettings.getTaxValue();return t===f.a.CONVERTED_TO_LONG?m.MathUtils.setFloatPriceToLong(n):n}},{key:"getStoreLayoutSettings",value:function e(){return this.storeColorSettings.value.getLayoutColors()}},{key:"isAnyPaymentMethodIntegration",value:function e(){return this.paymentProviderOptions.isAnyPaymentMethodIntegration()}}, 982{key:"paymentOnDeliveryEnable",value:function e(){return this.paymentProviderOptions.paymentOnDeliveryEnable()}},{key:"paymentProviderEnabled",value:function e(){return!0===this.paymentProviderOptions.enable}},{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{description1:this.description1.serialize(t),discountCodes:this.discountCodes.serialize(t),dotPayEnabled:this.dotPayEnabled,formSettings:this.formSettings.serialize(),generalSettings:this.generalSettings.serialize(), 983minimumOrderAmount:this.minimumOrderAmountSettings.serialize(t),orderEmailAddress:this.orderEmailAddress.serialize(t),orderSuccessInformation:this.orderSuccessInformation.serialize(t),paymentProviderOptions:this.paymentProviderOptions.serialize(),postage:this.postage.serialize(t),storeColorSettings:this.storeColorSettings.serialize(t),successPaymentAction:this.successPaymentAction.serialize(t),termsAndConditions:this.termsAndConditions.serialize(t),translation:this.translation.serialize(t),checkoutEnabled:this.checkoutEnabled}}}, 984{key:"_parseJson",value:function e(t,n){try{return JSON.parse(t)}catch(e){return console.warn("Failed to parse ".concat(n," JSON:"),e),{}}}},{key:"_initializeTranslationSettings",value:function e(t){if(webwave.isDef(t.translation)){var n=this._parseJson(t.translation.translations,"translation");return new b.a({enable:!0,value:n||{}})}return new b.a}},{key:"_parseOrderSuccessInformation",value:function e(t){return webwave.isDef(t.description2)?new p.a(t.description2):new p.a(t.orderSuccessInformation)}}, 985{key:"getStoreColorSettings",value:function e(){return this.storeColorSettings}},{key:"hasAvailableTaxInvoices",value:function e(){return this.generalSettings.availableTaxInvoices}},{key:"setAvailableTaxInvoices",value:function e(t){this.generalSettings.availableTaxInvoices=t}},{key:"setCheckoutEnabled",value:function e(t){this.checkoutEnabled=t}}]),e}()},235:function(e,t,n){n.d(t,"a",function(){return p});var i=n(6),r=n(0),a=n(1),o=n(5),s=n(7),u=n(14),c=n.n(u),l=n(17),d,h,f,v,g,p=(d=Object(u.injectable)(), 986h=Object(u.inject)(l.a.LocationService),d((v=function(){function e(){Object(r.a)(this,e),Object(i.a)(this,"locationService",g,this)}return Object(a.a)(e,[{key:"handleValidationError",value:function e(){}},{key:"handleValidationSuccess",value:function e(){}},{key:"handlePayProcedure",value:function e(t){}},{key:"isKnownError",value:function e(t){return!1}},{key:"getErrorTranslate",value:function e(t){return"errorMessage"}},{key:"hasExternalConfigurationLinks",value:function e(){return!1}},{key:"getExternalConfigurationLinksList", 987value:function e(){return[]}},{key:"getExternalConfigurationLink",value:function e(){return""}}]),e}
987(),g=Object(o.a)(v.prototype,"locationService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=v))||f)},245:function(e,t,n){t.a={CONNECT:"connect",DISCONNECT:"disconnect",SWAP:"swap",CHANGE:"change"}},246:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(233),c=n(53),l=n.n(c);function d(e){var t=h();return function n(){var i=Object(s.a)(e), 988r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 989{};return Object(i.a)(this,n),(e=t.call(this,r))._from=r.from,e._to=r.to,e.validator=r.validator,e.placeholder=webwave.isDef(r.placeholder)?r.placeholder:{},e}return Object(r.a)(n,[{key:"inputType",get:function e(){}},{key:"pattern",get:function e(){}},{key:"rightIcon",get:function e(){}},{key:"short",get:function e(){return!1}},{key:"translationPrefix",get:function e(){}},{key:"unit",get:function e(){}},{key:"rangeIsNotOk",value:function e(){return!0}},{key:"valueInRange",value:function e(t){throw new Error("not implemented"); 990}},{key:"from",get:function e(){return this._from},set:function e(t){var n=this._from!==t;this._from=t,n&&this.triggerPropertyChange(u.a.FROM,this._from)}},{key:"to",get:function e(){return this._to},set:function e(t){var n=this._to!==t;this._to=t,n&&this.triggerPropertyChange(u.a.TO,this._to)}}]),n}(c.SimplePropertyChangeEmitter)},247:function(e,t,n){n.d(t,"b",function(){return a});var i={AUTOPAY:"autopay",DOT_PAY:"dotPay",ON_DELIVERY:"onDelivery",PAYPAL:"payPal",PRZELEWY24:"przelewy24",NETOPIA:"netopia", 991STRIPE:"stripe",TRADITIONAL_TRANSFER:"traditionalTransfer"},r=[i.AUTOPAY,i.PAYPAL,i.PRZELEWY24,i.STRIPE,i.TRADITIONAL_TRANSFER,i.ON_DELIVERY,i.DOT_PAY,i.NETOPIA],a=function e(t,n){var i=r.indexOf(t),a=r.indexOf(n);return-1===i&&(i=r.length),-1===a&&(a=r.length),i-a};t.a=i},252:function(e,t,n){t.a={GUI:"gui_panel",CMS:"cms_panel",WM:"wm_panel"}},254:function(e,t,n){t.a=r;var i=n(154);function r(e){if(Array.isArray(e))return Object(i.a)(e)}},255:function(e,t,n){function i(e){if("undefined"!=typeof Symbol&& 992null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.a=i},256:function(e,t,n){function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}t.a=i},257:function(e,t,n){var i=function(e){var t=Object.prototype,n=t.hasOwnProperty,i,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function u(e, 993t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var r=t&&t.prototype instanceof p?t:p,a=Object.create(r.prototype),o=new C(i||[]);return a._invoke=P(e,n,o),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",h="suspendedYield",f="executing",v="completed",g={};function p(){}function y(){}function b(){} 994var m={};m[a]=function(){return this};var w=Object.getPrototypeOf,S=w&&w(w(T([])));S&&S!==t&&n.call(S,a)&&(m=S);var O=b.prototype=p.prototype=Object.create(m);function _(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function i(r,a,o,s){var u=l(e[r],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){i("next",e,o,s)},function(e){i("throw",e,o,s)}):t.resolve(d).then(function(e){c.value= 995e,o(c)},function(e){return i("throw",e,o,s)})}s(u.arg)}var r;function a(e,n){function a(){return new t(function(t,r){i(e,n,t,r)})}return r=r?r.then(a,a):a()}this._invoke=a}function P(e,t,n){var i=d;return function r(a,o){if(i===f)throw new Error("Generator is already running");if(i===v){if("throw"===a)throw o;return N()}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=A(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i= 996v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var c=l(e,t,n);if("normal"===c.type){if(i=n.done?v:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=v,n.method="throw",n.arg=c.arg)}}}function A(e,t){var n=e.iterator[t.method];if(n===i){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&
vendor: 4,869 bytes, lines 996-1006
996(t.method="return",t.arg=i,A(e,t),"throw"===t.method))return g;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var r= 997l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,g;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=i),t.delegate=null,g):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal", 998delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=i,t.done=!0,t};return o.next=o}}return{next:N}}function N(){return{value:i,done:!0}}return y.prototype=O.constructor=b,b.constructor=y,y.displayName=u(b,s,"GeneratorFunction"), 999e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},_(k.prototype),k.prototype[o]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,i,r,a){void 0===a&&(a=Promise);var o=new k(c(t,n,i,r),a);return e.isGeneratorFunction(n)? 1000o:o.next().then(function(e){return e.done?e.value:o.next()})},_(O),u(O,s,"Generator"),O[a]=function(){return this},O.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg= 1001i,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=i)},stop:function(){this.done=!0;var e,t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return s.type="throw",s.arg=e,t.next=n,r&&(t.method="next",t.arg=i),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end"); 1002if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&& 1003this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length- 10041;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;I(n)}return r}}throw new Error("illegal catch attempt");},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=i),g}},e}(e.exports);try{regeneratorRuntime=i}catch(e){Function("r", 1005"regeneratorRuntime = r")(i)}},26:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(53),c=n.n(u),l=n(14),d=n.n(l),h=n(16),f,v;function g(e){var t=p();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 1006try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}
1006var y=(f=Object(l.injectable)())(v=function(e){Object(a.a)(n,e);var t=g(n);function n(){var e;return Object(i.a)(this,n),e=t.call(this),webwave.isFunction(e.__wCommandRegister)&&e.__wCommandRegister(),e}return Object(r.a)(n,[{key:"init",value:function e(){}}]),n}(u.SimplePropertyChangeEmitter))||v},2643:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4), 1007u=n(2),c;function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(o.a)(n,e);var t= 1008l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"onOuterChildRectChange",value:function e(t,i){Object(a.a)(Object(u.a)(n.prototype),"onOuterChildRectChange",this).call(this,t,i),this.isDomElementPositionUpdateEnabled()&&pageService.updateBackgroun
1008dSize()}},{key:"isUserGroup",value:function e(){return!1}}]),n}(n(1796).a);webwave.provide("com.webwave.publication.object.RootWObject"),com.webwave.publication.object.RootWObject=h},2644:function(e,t,n){n.d(t, 1009"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})), 1010!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"isUserGroup",value:function e(){return!1}}]),n}(n(1796).a);webwave.provide("com.webwave.publication.object.PageWObject"),com.webwave.publication.object.PageWObject=d},2645:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(3),a=n(4),o=n(2),s=n(1774),u=n(1808),c=n(2218);function l(e){var t=d();return function n(){var i=Object(o.a)(e), 1011r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(r.a)(n,e);var t=l(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return n}(u.a)}, 10122646:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c;function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1013[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(o.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).footerMargin=parseInt(r.getDomObject().attr("footerMargin")),r.rwdMinimalDistances=e.rwdMinimalDistances,r.rwdFooterMargins=webwave.isDef(e.rwdFooterMargins)?e.rwdFooterMargins:{},r}return Object(r.a)(n,[{key:"setFooterMargin",value:function e(t){var n=this.footerMargin!==t;this.footerMargin=t,n&&this.updatePushedDownAttr()}},{key:"getFooterMargin", 1014value:function e(){return this.footerMargin}},{key:"setRwdMode",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"setRwdMode",this).call(this,t);var i=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(this.rwdMinimalDistances,t);webwave.isNumber(i)&&this.setMinimalDistance(i);var r=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(this.rwdFooterMargins,t);webwave.isNumber(r)&&this.setFooterMargin(r)}},{key:"countPushDownAttr",value:function e(t,i){var r= 1015Object(a.a)(Object(u.a)(n.prototype),"countPushDownAttr",this).call(this,t,!0),o=this.getPadding("top")+this.getBorderWidth("top");return!1===isFinite(t)&&(r=o),Math.max(this.getMinimalDistance()+o,r+this.getFooterMargin())}}]),n}(n(1796).a)},2647:function(e,t,n){n.d(t,"a",function(){return A});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(218),l=n(2220),d=n(2148),h=n(111),f=n(1328),v=n(1655),g=n(1795),p=n(2866),y=n(40),b=n(1563),m=n(2149),w=n(2978);function S(e,t){var n="undefined"!=typeof Symbol&& 1016e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=O(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done, 1017t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function O(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function k(e){var t= 1018P();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WGallery");var A= 1019function(e){Object(o.a)(n,e);var t=k(n);function n(e){var r,a;Object(i.a)(this,n);var o=(r=t.call(this,e))._getGalleryImagesWrapper().querySelector(".ww_element_animation.header_animation");return webwave.isDefAndNotNull(o)&&(a=JSON.parse(o.innerHTML),o.remove()),r._headerInnerElement=new p.a({rwdAnimationMaps:a}),r._thumbnailsWidth=webwave.isNumberAndNotNaN(e.thumbnailsWidth)?e.thumbnailsWidth:n.DEFAULT_THUMBNAIL_SIZE.width,r._thumbnailsHeight=webwave.isNumberAndNotNaN(e.thumbnailsHeight)?e.thumbnailsHeight: 1020n.DEFAULT_THUMBNAIL_SIZE.height,r._thumbnailsCropType=webwave.isValidEnumValue(e.thumbnailsCropType,c.a)?e.thumbnailsCropType:c.a.COVER,r._panelSize=null,r._galleryView=null,r._initGalleryImageClick(),r.kenBurnsService=null,r.browserWebPSupportUtils=null,r._animator=null,r._images=[],r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this.setPanelSize(this.calcGalleryWrapSize())}},{key:"getDefaultGalleryViewSettings",value:function e(){var t= 1021{};return t.show_filmstrip_nav=d.a.show_filmstrip_nav,t.show_infobar=d.a.show_infobar,t.frame_gap=this.getFrameGap(),t.onOverlayChange=this.overlayChangeHandler.bind(this),t.panel_scale=d.a.panel_scale,t}},{key:"getFrameGap",value:function e(){return d.a.frame_gap}},{key:"createGvImageMapByGalleryImage",value:function e(t){var n,i,r=t.getImageSrc(),a,o,s,u=t.getCroppedImageSize();if(webwave.isDefAndNotNull(u)){var c=t.getCroppedImageSrc();a=this.browserWebPSupportUtils.changeSrcIfWebPSupported(c), 1022o=u.getWidth(),s=u.getHeight()}else a=t.getUseWebp()?this.browserWebPSupportUtils.changeSrcIfWebPSupported(r):r,o=t.getImageSize().getWidth(),s=t.getImageSize().getHeight();return{imageUrl:a,title:t.getTitleHtml(),altText:t.alternativeTitle||"",width:parseInt(o,10),height:parseInt(s,10),link:{href:r,target:"_blank",title:t.getTitle()},imageCropData:this._getImageCropDataFromGalleryImage(t),thumbnailUrl:t.getThumbnailSrc(),thumbnailWidth:null===(n=t.getThumbnailSize())||void 0===n?void 0:n.getWidth(), 1023thumbnailHeight:null===(i=t.getThumbnailSize())||void 0===i?void 0:i.getHeight()}}},{key:"_getImageCropDataFromGalleryImage",value:function e(t){return webwave.isDefAndNotNull(null===t||void 0===t?void 0:t.getCropData())?t.getCropData():f.a.createDefaultWithCropType(d.a.panel_scale)}
1023},{key:"createGalleryViewImagesList",value:function e(){for(var t=[],n=this.getImages(),i=0;i<n.length;i++)t.push(this.createGvImageMapByGalleryImage(n[i]));return t}},{key:"createGalleryViewSettings",value:function e(){var t= 1024this.getDefaultGalleryViewSettings(),n=this.getPanelSize();t.panel_width=n.getWidth(),t.panel_height=n.getHeight();var i=this._getGalleryImagesWrapper();t.show_filmstrip=this.isThumbnailsEnabled(),t.filmstrip_position=this.getGalleryThumbnailsPosition(),t.enable_overlays="true"===i.getAttribute("infobox_enabled"),t.overlay_position=i.getAttribute("infobox_position"),t.show_panel_nav="false"!==i.getAttribute("show_panel_nav"),t.autoplay="false"!==i.getAttribute("animation_autoplay"),t.panel_animation= 1025i.getAttribute("animation_type"),t.transition_speed=parseInt(i.getAttribute("animation_duration")),t.transition_interval=parseInt(i.getAttribute("animation_delay")),t.frame_scale=this.getThumbnailsCropType(),t.frame_width=this.getThumbnailsWidth(),t.frame_height=this.getThumbnailsHeight();var r=parseInt(i.getAttribute("nextPrevButtonsDistance"));t.prevButtonDistance=r,t.nextButtonDistance=r,t.onImageChanged=this.imageChangedHandler.bind(this);var a=i.getAttribute("paragraphtextstyleid");webwave.isDef(a)&& 1026(t.paragraph_text_style_id=a);var o=i.getAttribute("headertextstyleid");return webwave.isDef(o)&&(t.header_text_style_id=o),t.images=this.createGalleryViewImagesList(),t}},{key:"_getGalleryImagesWrapper",value:function e(){return this.getDomObject()[0].querySelector(".galleryList")}},{key:"_updateHeaderInnerElement",value:function e(){var t=this.getHeaderInnerElement(),n=this._getGalleryWrapper().find(".gv_overlayHeaderWrapper");n.length>0&&webwave.isDef(t)&&(t.setDomObject(n),t.reloadTextRwdProperties(), 1027n.data("wInnerElement",t))}},{key:"recreateContent",value:function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.getImages().length>0){if(!0===n.force)webwave.isDefAndNotNull(this._galleryView)&&this._galleryView.dispose();else if(webwave.isDefAndNotNull(this._galleryView))return void this._galleryView.resize(this.createGalleryViewSettings(),this.getContent()[0]);var i=document.createElement("div");this.getContent()[0].appendChild(i);var r=this.createGalleryViewSettings(); 1028this._galleryView=new com.webwave.webgal.GalleryView(r,i),this._galleryView.setAnimator(this.getAnimator()),this._galleryView.addImageLoadedListener(function(e){0===e&&t.removePreloadWrapper()}),this.updateHeaderVisibility(),this._updateHeaderInnerElement()}}},{key:"initKenBurnsType",value:function e(t){this.setKenBurnsService(t);var n=this._getGalleryImagesWrapper().getAttribute("data-ken-burns-type");this.kenBurnsType=webwave.isValidEnumValue(n,v.a)?n:v.a.DISABLED}},{key:"isKenBurnsEnabled",value:function e(){return this.kenBurnsType!== 1029v.a.DISABLED}},{key:"initKenBurns",value:function e(){if(this.isKenBurnsEnabled()){var t=$(".gv_panel.currentPanel img");this.kenBurns=this.kenBurnsService.initKenBurnsEffectOnElement(t,this.kenBurnsType)}}},{key:"imageChangedHandler",value:function e(t){if(this.isKenBurnsEnabled()&&webwave.isDefAndNotNull(this.kenBurnsService)){var n=t.find("img");webwave.isNotDef(this.kenBurns)?this.kenBurns=this.kenBurnsService.initKenBurnsEffectOnElement(n,this.kenBurnsType):(this.kenBurns.stop(),this.kenBurns.$targetElement= 1030n,this.kenBurns.update())}}},{key:"_initGalleryImageClick",value:function e(){var t=this;this.getDomObject().on("click",".gv_panelWrap a",function(e){e.preventDefault(),t.openLightboxPlugin()}),this.getDomObject().on("mousedown",".gv_panelWrap a",function(e){e.preventDefault()})}},{key:"getCurrentImageIndex",value:function e(){return webwave.isDefAndNotNull(this._galleryView)?this._galleryView.iterator:-1}},{key:"_createPhotoSwipeImageMapByGalleryImage",value:function e(t){var n=t.getImageSrc(),i= 1031t.getImageSize().getWidth(),r=t.getImageSize().getHeight(),a=t.getThumbnailSrc();!1===webwave.isStringAndNotEmpty(a)&&(a=n);var o="",s=t.getDescription();return webwave.isDef(s)&&""!=s&&(o+="<div>".concat(s,"</div>")),{src:n,w:i,h:r,msrc:a,title:o}}},{key:"getImages",value:function e(){return this._images}},{key:"openLightboxPlugin",value:function e(){for(var t=[],n=this.getImages(),i=0;i<n.length;i++)t.push(this._createPhotoSwipeImageMapByGalleryImage(n[i]));this.getPhotoswipeService().openAsLightbox(t, 1032this.getCurrentImageIndex())}},{key:"setPanelSize",value:function e(t){this._panelSize=t}},{key:"getPanelSize",value:function e(){return this._panelSize}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this);var t=this.calcGalleryWrapSize(),i=this.getPanelSize();
1032webwave.isDefAndNotNull(i)&&!1===i.equals(t)&&(this.setPanelSize(t),webwave.isDefAndNotNull(this._galleryView)&&this.recreate())}},{key:"getHeaderInnerElement",value:function e(){return this._headerInnerElement}}, 1033{key:"getThumbnailsHeight",value:function e(){return this._thumbnailsHeight}},{key:"setThumbnailsHeight",value:function e(t){this._thumbnailsHeight=t}},{key:"getThumbnailsWidth",value:function e(){return this._thumbnailsWidth}},{key:"setThumbnailsWidth",value:function e(t){this._thumbnailsWidth=t}},{key:"isThumbnailsEnabled",value:function e(){return this._thumbnailsEnabled}},{key:"setThumbnailsEnabled",value:function e(t){this._thumbnailsEnabled=t}},{key:"getThumbnailsCropType",value:function e(){return this._thumbnailsCropType}}, 1034{key:"setThumbnailsCropType",value:function e(t){this._thumbnailsCropType=t}},{key:"getGalleryThumbnailsPosition",value:function e(){return this._thumbnailsPosition}},{key:"setGalleryThumbnailsPosition",value:function e(t){this._thumbnailsPosition=t}},{key:"overlayChangeHandler",value:function e(){this.updateHeaderVisibility();var t=this.getHeaderInnerElement(),n;webwave.isDef(t)&&(t.getDomObject().length>0&&(t.reloadTextRwdProperties(),t.playCurrentAnimation()))}},{key:"updateHeaderVisibility",value:function e(){var t= 1035this._getGalleryWrapper().find(".gv_overlayHeaderWrapper");if(t.length>0){var n=t.html(),i=h.a.html2Text(n).length>0,r=n.indexOf("<img")>-1;t.toggle(i||r)}}},{key:"updateObjectForRwdChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this._headerInnerElement.loadRwdProperties(t),this._isImagesInitialized()&&(this._loadImagesRwdProperties(t),this.setPanelSize(this.calcGalleryWrapSize()),this.recreateContent({force:!0}))}},{key:"setKenBurnsService", 1036value:function e(t){this.kenBurnsService=t}},{key:"calcGalleryWrapSize",value:function e(){var t=this.getInnerWidth(),n=this.getInnerHeight();if(this.isThumbnailsEnabled()){var i=this.getGalleryThumbnailsPosition();"left"==i||"right"==i?t=t-this.getThumbnailsWidth()-this.getFrameGap():n=n-this.getThumbnailsHeight()-this.getFrameGap()}return new y.a({width:t,height:n})}},{key:"addImgLazyLoad",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"addImgLazyLoad",this).call(this),this.addObjectToIntersectionObserver(new w.a(this))}}, 1037{key:"useAdvancedTextEditor",value:function e(){return!0}},{key:"getImagePropertiesFromDom",value:function e(t){var n,i,r,a,o=null===(n=t.querySelector('[itemprop="name"]'))||void 0===n?void 0:n.getAttribute("content"),s=null===(i=t.querySelector('[itemprop="alternateName"]'))||void 0===i?void 0:i.getAttribute("content"),u=null===(r=t.querySelector('[itemprop="description"]'))||void 0===r?void 0:r.getAttribute("content"),c=null===(a=t.querySelector('[itemprop="caption description"]'))||void 0===a? 1038void 0:a.innerHTML,l,d=null===t||void 0===t?void 0:t.querySelector("script");return webwave.isDefAndNotNull(d)&&(l=JSON.parse(d.textContent).rwdProperties),{title:o,alternativeTitle:s,description:u,titleHtml:c,rwdProperties:l}}},{key:"createImageFromDom",value:function e(t){return new l.a(this.getImagePropertiesFromDom(t))}},{key:"initializeImages",value:function e(){this._images=this._deserializeImages();var t=this.getRwdService(),n=S(this._images),i;try{for(n.s();!(i=n.n()).done;){var r;i.value.initialize(t)}}catch(e){n.e(e)}finally{n.f()}this._loadImagesRwdProperties(t.getCurrentRwdMode()), 1039this.recreate()}},{key:"setAnimator",value:function e(t){this._animator=t}},{key:"getAnimator",value:function e(){return this._animator}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},{key:"getInnerElements",value:function e(){var t=Object(a.a)(Object(u.a)(n.prototype),"getInnerElements",this).call(this);return t.push(this.getHeaderInnerElement()),t}},{key:"loadAdditionalData",value:function e(t){Object(a.a)(Object(u.a)(n.prototype), 1040"loadAdditionalData",this).call(this,t),this._thumbnailsEnabled=t.thumbnailsEnabled,this._thumbnailsPosition=webwave.isValidEnumValue(t.thumbnailsPosition,b.a)?t.thumbnailsPosition:b.a.BOTTOM}},{key:"_deserializeImages",value:function e(){for(var t=this._getGalleryImagesWrapper().children,n=[],i=0;i<t.length;i++)n.push(this.createImageFromDom(t[i]));return n}},{key:"_loadImagesRwdProperties",value:function e(t){for(var n=0;n<this._images.length;n++)this._images[n].loadRwdProperties(t)}},{key:"_isImagesInitialized", 1041value:function e(){return this.getImages().length>0}},{key:"removePreloadWrapper",value:function e(){}},{key:"_getGalleryWrapper",value:function e(){return this.getDomObject().find(".gv_galleryWrap:not(.".concat(m.a.PRELOAD_WRAPPER,")"))}}]),n}(g.a);A.DEFAULT_THUMBNAIL_SIZE=new y.a({width:d.a.gallery_thumbnails_width,height:d.a.gallery_thumbnails_height}),com.webwave.publication.object.WGallery=A},2648:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this, 1042e),this._rwdProperties=this.deserialize(t)}return Object(r.a)(e,[{key:"deserialize",value:function e(t){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=this.deserializeProperties(t[i]));return n}},{key:"deserializeProperties",value:function e(){throw new Error("Not supported for abstract class");}},{key:"applyProperties",value:function e(t){throw new Error("Not supported for abstract class and property ".concat(t));}},{key:"loadRwdProperties",value:function e(t){this.applyProperties(this.getRwdService().searchForClosestObjectByRwdMode(this.getRwdPropertiesMaps(), 1043t))}},{key:"getRwdPropertiesMaps",value:function e(){return this._rwdProperties}},{key:"setRwdService",value:function e(t){this._rwdService=t}},{key:"getRwdService",value:function e(){return this._rwdService}}]),e}()},2649:function(e,t,n){n.d(t,"a",function(){return O});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(854),d=n(922),h=n(40),f=n(2979),v=n(2192),g=n(2149),p=n(2193);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&& 1044(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1044t%2?y(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e){var t=w();return function n(){var i= 1045Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WSlider");var S,O=function(e){Object(s.a)(n,e); 1046var t=m(n);function n(e){var i;if(Object(r.a)(this,n),(i=t.call(this,e))._thumbnailsWidth=webwave.isNumberAndNotNaN(e.thumbnailsWidth)?e.thumbnailsWidth:p.b.contentData.thumbnailsWidth,i._thumbnailsHeight=webwave.isNumberAndNotNaN(e.thumbnailsHeight)?e.thumbnailsHeight:p.b.contentData.thumbnailsHeight,i._imagesLinkData=[],webwave.isArrayLike(e.imagesLinkData))for(var a=e.imagesLinkData,o=0;o<a.length;o++)i._imagesLinkData.push(d.a.createLink(a[o]));return i}return Object(a.a)(n,[{key:"createGvImageMapByGalleryImage", 1047value:function e(t){var i=Object(o.a)(Object(c.a)(n.prototype),"createGvImageMapByGalleryImage",this).call(this,t);i.thumbnailUrl=wwConfig.additionalResoucresUrl.images.sliderDotImage,i.thumbnailWidth=this.getThumbnailsWidth(),i.thumbnailHeight=this.getThumbnailsHeight();var r=t.getHref();return webwave.isStringAndNotEmpty(r)?i.link={href:r,target:t.getTarget(),samepage:t.getSamePage()}:i.link=void 0,i}},{key:"_initGalleryImageClick",value:function e(){}},{key:"getLinkData",value:function e(){return this._imagesLinkData[this.getCurrentImageIndex()]}}, 1048{key:"getDefaultGalleryViewSettings",value:function e(){var t=Object(o.a)(Object(c.a)(n.prototype),"getDefaultGalleryViewSettings",this).call(this);return t.enable_overlays=!0,t.filmstrip_style=v.a.filmstrip_style,t.filmstrip_on_image=v.a.filmstrip_on_image,t.showFilmstripOnHover=v.a.showFilmstripOnHover,t}},{key:"getFrameGap",value:function e(){return v.a.frame_gap}},{key:"calcGalleryWrapSize",value:function e(){return new h.a({width:this.getInnerWidth(),height:this.getInnerHeight()})}},{key:"afterDomSizeChange", 1049value:function e(){if(Object(o.a)(Object(c.a)(n.prototype),"afterDomSizeChange",this).call(this),this.isInitialized()&&this.getPanelSize()){var t=this.calcGalleryWrapSize();!1===this.getPanelSize().equals(t)&&this.setPanelSize(t)}}},{key:"getImagePropertiesFromDom",value:function e(t){var i=t.querySelector('[itemprop="url"]'),r,a,s;return webwave.isDefAndNotNull(i)&&(r="interactionLinkData"===i.dataset.linkType?"javascript:void(0);":i.getAttribute("href"),a=i.getAttribute("target"),s="true"===i.getAttribute("data-samepage")), 1050b(b({},Object(o.a)(Object(c.a)(n.prototype),"getImagePropertiesFromDom",this).call(this,t)),{href:r,target:a,samePage:s})}},{key:"createImageFromDom",value:function e(t){return new f.a(this.getImagePropertiesFromDom(t))}},{key:"removePreloadWrapper",value:function e(){var t;null===(t=this.getContent()[0].querySelector(".".concat(g.a.PRELOAD_WRAPPER)))||void 0===t||t.remove()}}]),n}(com.webwave.publication.object.WGallery);com.webwave.publication.object.WSlider=O},2650:function(e,t,n){n.d(t,"a",function(){return f}); 1051var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(40),l=n(1660);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}} 1052webwave.provide("com.webwave.publication.object.WSimpleText");var f=function(e){Object(o.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getTextFrameEl",value:function e(){return this.cachedDom.textFrame}},{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.textFrame=i.content.children[0],i}},{key:"calculateMinContentSize",value:function e(){var t=this.getTextFrameEl(); 1053return new c.a({width:0,height:t.offsetHeight})}},{key:"onVisibilityChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this),this.isVisible()&&this.updateMinSize()}}]),n}(l.a);com.webwave.publication.object.WSimpleText=f},2651:function(e,t,n){n.d(t,"a",function(){return m});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2652),l=n(1655),d=n(176),h=n(1739),f=n(1327),v=n(1720),g=n(31);function p(e){var t=y();return function n(){var i=Object(u.a)(e),r; 1054if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WImg");var b,m=function(e){Object(o.a)(n,e);var t=p(n);function n(e){var r, 1055a;return Object(i.a)(this,n),(a=t.call(this,e)).imageMap={},a.svgImage=null===(r=a._getImgDomNode())||void 0===r?void 0:r.classList.contains("svgImage"),a.kenBurnsService=null,a.browserWebPSupportUtils=null,a.isEnabledImageParallax=!1,a}return Object(r.a)(n,[{key:"onPropertyChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"onPropertyChange",this).call(this,t),t.propertyName===c.a.BROWSER_ZOOM_LEVEL&&this.tryToCorrectBorderValues()}},{key:"tryToCorrectBorderValues",value:function e(){var t= 1056this,n=this.getContentEl();
1056Object.values(d.a).forEach(function(e){var i="border-".concat(e,"-width"),r=parseInt(t.getContentComputedProperty(i)),a=t.getBorderWidth(e,!0);if(a>r){var o=a-r;n.style[i]="".concat(a+o,"px")}})}},{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this);var t=this._getImgDomNode();webwave.isDef(t)&&(this.updateImageParallaxPosition(),t.onload=this.onDomImageLoad.bind(this)),this.cloneComputedStyleToInlineInContent(),this.tryToCorrectBorderValues(), 1057this.pageCanvas.addPropertyChangeListener(c.a.BROWSER_ZOOM_LEVEL,this)}},{key:"updateStateStyle",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"updateStateStyle",this).call(this),this.tryToCorrectBorderValues()}},{key:"updateImageParallaxPosition",value:function e(){var t=this._getImgDomNode();webwave.isDefAndNotNull(t)&&(this.updateBackgroundParallaxPosition(),this.isParallaxActive()?this.backgroundParallaxService.addParallaxListener(this):this.backgroundParallaxService.removeParallaxListener(this))}}, 1058{key:"setIsEnabledParallax",value:function e(t){this.isEnabledImageParallax=t}},{key:"getIsEnabledParallax",value:function e(){return this.isEnabledImageParallax}},{key:"getImageParallax",value:function e(){var t=this.imageMap.imageParallax;return webwave.isNotDef(t)&&(t=v.a.DEFAULT_PARALLAX_VALUE),t}},{key:"initKenBurnsType",value:function e(t){var n;this.setKenBurnsService(t);var i=null===(n=this._getImgDomNode())||void 0===n?void 0:n.getAttribute("data-ken-burns-type");this.kenBurnsType=webwave.isValidEnumValue(i, 1059l.a)?i:l.a.DISABLED}},{key:"isKenBurnsEnabled",value:function e(){return this.kenBurnsType!==l.a.DISABLED}},{key:"initKenBurns",value:function e(){if(this.isKenBurnsEnabled()){var t=this.getImageWrapper();this.kenBurnsService.initKenBurnsEffectOnElement(t,this.kenBurnsType)}}}
1059,{key:"updateBackgroundParallaxPosition",value:function e(t){if(!0!==g.a.getValue("publicatedPageApp.disableParallaxOnElements")){Object(a.a)(Object(u.a)(n.prototype),"updateBackgroundParallaxPosition",this).call(this,t),webwave.isNotDef(t)&& 1060(t=pageService.getWindowScroll());var i,r=this.imageMap.imageParallax;if(webwave.isNumberAndNotNaN(t)&&100!==r){var o=this._getImgDomNode();if(webwave.isDefAndNotNull(o)){var s=this.getY(),c=t-s,l=parseInt(c-r/100*c);if(this.isBackgroundSizeCover()&&r>100&&webwave.isDefAndNotNull(this.getPageAreaService())){var d=this.getPageAreaService().getWindowHeight(),h,f;l=(r-100)/100*(-t+Math.max(s-d,0))}if(this.isSvgImage()){var v=l<0?" - "+Math.abs(l)+"px":" + "+l+"px";o.style.backgroundPositionY="calc(50%"+ 1061v+")"}else o.style.transform="translate3D(0,"+l+"px, 0)"}}}}},{key:"isBackgroundSizeCover",value:function e(){var t=this._getImgDomNode();if(webwave.isDef(t))return"imageCrop"===t.getAttribute("backgroundsize")}},{key:"computeImageHeight",value:function e(){var t=this.getImageParallax(),i=Object(a.a)(Object(u.a)(n.prototype),"getInnerHeight",this).call(this);if(!this.isParallaxActive()||!this.isBackgroundSizeCover())return i;var r=this.getPageAreaService().getWindowHeight(),o,s;if(t<100)return i+ 1062(100-t)/100*Math.abs(r-i);if(t>100){var c=this.getComputedPosition().getY(),l=Math.max(c-r,0),d=(t-100)/100,h;return i+Math.abs(d*(-(c+i)+l))}}},{key:"onDomImageLoad",value:function e(){var t=this._getImgDomNode();webwave.isDef(t)&&webwave.isFunction(t.externalImageLoad)?t.externalImageLoad({imgDomNode:t,width:this.getWidth(),height:this.getHeight()}):this.resizeImgDomElement(),webwave.isDef(t)&&!0===g.a.getValue("publicatedPageApp.disableParallaxOnElements")&&(this.imageMap.imageParallax=void 0)}}, 1063{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.imageWrapper=i.content.children[0],i.imageWrapper&&(i.imgDomNode=i.imageWrapper.getElementsByTagName("img")[0]),i}},{key:"getImageWrapper",value:function e(){return webwave.isNotDef(this._imgWrapper)&&(this._imgWrapper=$(this.cachedDom.imageWrapper)),this._imgWrapper}},{key:"_getImgDomNode",value:function e(){return this.cachedDom.imgDomNode}},{key:"isParallaxActive",value:function e(){return!0!== 1064g.a.getValue("publicatedPageApp.disableParallaxOnElements")&&(100!==this.getBackgroundParallax()||100!==this.getImageParallax())}},{key:"updateObjectForRwdChange",value:function e(t){var i=this._getImgDomNode();webwave.isDefAndNotNull(i)&&(i.removeAttribute("style"),Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this.cloneComputedStyleToInlineInContent(),this.updateImageParallaxPosition(),this._changeLazyLoadedScr(),this.resizeImgDomElement())}},{key:"_changeLazyLoadedScr", 1065value:function e(){var t=com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg,n=this.getDomObject().find("img"),i=n.attr("src"),r=n.attr(t.LAZY_LOAD_ATTR_NAME);r=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(r,n[0]),webwave.isDef(i)&&-1===i.indexOf("data:image/gif;base64")&&n.attr("src",r)}},{key:"isSvgImage",value:function e(){return this.svgImage}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange", 1066this).call(this),this.resizeImgDomElement()}},{key:"computeContentHeight",value:function e(){return!1===(this.isParallaxActive()&&this.isBackgroundSizeCover())?Object(a.a)(Object(u.a)(n.prototype),"getInnerHeight",this).call(this):this.computeImageHeight()}},{key:"resizeImgDomElement",value:function e(){var t=this._getImgDomNode();if(webwave.isDefAndNotNull(t)){var n={contentWidth:this.getInnerWidth(),contentHeight:this.computeContentHeight(),element:t,imageWidth:t.getAttribute("imageWidth"),imageHeight:t.getAttribute("imageHeight")}; 1067this.isSvgImage()?t.style.height="".concat(this.computeImageHeight(),"px"):domElementService.resizeImgDomElement(n)}}},{key:"setKenBurnsService",value:function e(t){this.kenBurnsService=t}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"addImgLazyLoad",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"addImgLazyLoad",this).call(this);var t=this._getImgDomNode();webwave.isDefAndNotNull(t)&&!0!==g.a.getValue("publicatedPageApp.disableLazyLoad")&& 1068(t.hasAttribute(f.a.LAZY_LOAD_ATTR_NAME)?this.createDomWIntersectionObserved(new f.a(t)):t.hasAttribute(h.a.LAZY_LOAD_ATTR_NAME)&&this.createDomWIntersectionObserved(new h.a(t)))}},{key:"getAnimatingContent",value:function e(){return this.getImageWrapper()}},{key:"loadAdditionalData",value:function e(t){var i=t.imageParallax,r=t.isEnabledImageParallax;!1!==webwave.isNumberAndNotNaN(i)&&!1!==r||(i=n.DEFAULT_PARALLAX_VALUE),this.imageMap.imageParallax=i}}]),n}(com.webwave.publication.object.LinkWElement); 1069com.webwave.publication.object.WImg=m},2652:function(e,t,n){t.a={BROWSER_ZOOM_LEVEL:"browserZoomLevel"}},2653:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.zoom=t.zoom,this.center=t.center,this.sQuery=t.sQuery,this.mapType=t.mapT
1069ype,this.width=t.width,this.height=t.height}},2654:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a="AIzaSyCJMzPr06tNkQ6l8-Gwv9VxQ3uk_hqAZcY", 1070o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"renderGoogleMapHtml",value:function e(t){var n="key=".concat(a,"&zoom=").concat(t.zoom),i="view";return webwave.isStringAndNotEmpty(t.sQuery)?(n+="&q=".concat(encodeURIComponent(t.sQuery)),i="place"):webwave.isNotDefOrNull(t.center)&&(n+="¢er=52.2396615932874,21.042228700000037"),webwave.isDefAndNotNull(t.center)&&(n+="¢er=".concat(t.center.latitude,",").concat(t.center.longitude)),n+="&maptype=".concat(t.mapType), 1071'<iframe\n id="mapIframe"\n width="'.concat(t.width,'"\n height="').concat(t.height,'"\n frameborder="0"\n style="border:0;"\n src="https://www.google.com/maps/embed/v1/').concat(i,"?").concat(n,'">\n <iframe>')}}]),e}()},2655:function(e,t,n){var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2151),l=n(1647);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i, 1072arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function e(t){return function(e){Object(o.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"animateBackwardMenuIcon", 1073value:function e(){throw"Not implemented";}},{key:"animateForwardMenuIcon",value:function e(){throw"Not implemented";}},{key:"getDomObject",value:function e(){return Object(a.a)(Object(u.a)(n.prototype),"getDomObject",this).call(this)}},{key:"getElementService",value:function e(){throw"Not implemented";}},{key:"getMenuFrameWrapper",value:function e(){throw"Not implemented";}},{key:"getMobileMenuPosition",value:function e(){throw"Not implemented";}},{key:"getMobileMenuVisible",value:function e(){throw"Not implemented"; 1074}},{key:"hideMobileMenu",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{doNotHideWrapper:!1};if(this.isMobileMenu()&&this.getMobileMenuVisible()){this.animateBackwardMenuIcon();var n=this.getMenuFrameWrapper(),i=this.getDomObject(),r=this.getElementService();!1===t.doNotHideWrapper?this.getMobileMenuPosition()===l.a.LEFT||this.getMobileMenuPosition()===l.a.RIGHT?n.finish().animate({width:0},{always:function e(){n.get(0).style.width=""},done:function e(){n.hide(), 1075r.moveElementBack(i)}}):this.getMobileMenuPosition()===l.a.BOTTOM&&n.finish().animate({height:0},{always:function e(){n.get(0).style.height=""},done:function e(){n.hide(),r.moveElementBack(i)}}):r.moveElementBack(i),this.setMobileMenuVisible(!1)}}},{key:"isMobileMenu",value:function e(){throw"Not implemented";}},{key:"isTargetMenuWrapper",value:function e(t){return this.getMenuFrameWrapper().is(t)}},{key:"prepareMenuFrameToShowMobileMenu",value:function e(t){throw"Not implemented";}},{key:"setMobileMenuVisible", 1076value:function e(t){throw"Not implemented";}},{key:"showMobileMenu",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isMobileMenu()&&!1===this.getMobileMenuVisible()){this.animateForwardMenuIcon();var n=this.getMenuFrameWrapper();if(this.prepareMenuFrameToShowMobileMenu(n),!0!==t.noAnimation)if(this.getMobileMenuPosition()===l.a.LEFT||this.getMobileMenuPosition()===l.a.RIGHT){var i=this.getMenuFrameWrapper().width();n.width(0),this.getElementService().moveElementOnTop(this.getDomObject()), 1077n.animate({width:i},{done:function e(){n.get(0).style.width=""}})}else if(this.getMobileMenuPosition()===l.a.BOTTOM){var r=this.getMenuFrameWrapper().height();n.height(0),this.getElementService().moveElementOnTop(this.getDomObject()),n.animate({height:r},{done:function e(){n.get(0).style.height=""}})}this.setMobileMenuVisible(!0)}}},{key:"getIconImageUrl",value:function e(t){throw"Not implemented";}},{key:"getMobileMenuIcon",value:function e(){throw"Not implemented";}},{key:"updateIconInMobileMenu", 1078value:function e(){var t=this.getIconImageUrl(),n=this.getMobileMenuIcon();c.a.changeMobileMenuImageSrc(n,t)}}]),n}(t)};t.a=f}
1078,2656:function(e,t,n){t.a={TITLE:"title",NAME:"nameText"}},2657:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"== 1079typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return Object(i.a)(this,n),(r=t.call(this,e,a)).type=o,r.feedItemDataProperty=a.feedItemDataProperty,r.selectorClassName= 1080a.selectorClassName,r}return Object(r.a)(n,[{key:"getTextElement",value:function e(t){return t.querySelector(".".concat(this.selectorClassName))}},{key:"shouldAddToCountMinSize",value:function e(){return!0}},{key:"updateSingleFeedItemElData",value:function e(t){var n=this.getTextElement(t.feedItemEl);webwave.isDefAndNotNull(n)&&webwave.isDefAndNotNull(this.feedItemDataProperty)&&(n.textContent=t.feedItemData[this.feedItemDataProperty])}}]),n}(n(1329).a)},2658:function(e,t,n){n.d(t,"a",function(){return o}); 1081var i=n(0),r=n(1),a=n(40),o=function(){function e(t){Object(i.a)(this,e),this.feed=t,this.minSize=new a.a({}),this.biggestSize=new a.a({})}return Object(r.a)(e,[{key:"addMinSizeWidth",value:function e(t){this.minSize.addWidth(t)}},{key:"countMinSize",value:function e(){this.addMinSizeWidth(this.countMinSizeByInnerElementType(this.feed.getItemElementName()).getWidth());for(var t=this.feed.getInnerElementNameForIteration(),n=new a.a({}),i,r=0;r<t.length;r++){var o=t[r],s=this.feed.getInnerElementByName(o); 1082s.shouldAddToCountMinSize()?(i=this.countMinSizeByInnerElementType(s.type),n.setWidth(Math.max(n.getWidth(),i.getWidth()))):s.shouldAddWidth()&&this.addMinSizeWidth(s.getWidthValueToAdd())}return this.addMinSizeWidth(n.getWidth()),this.minSize}},{key:"countMinSizeByInnerElementType",value:function e(t){var n;return this.feed.getInnerElementByName(t).countMinSize()}}]),e}()},2659:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i= 1083Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this, 1084arguments)}return Object(r.a)(n,[{key:"getHtml5Object",value:function e(){return this.getDomObject()[0].querySelector("video")}}]),n}(n(2660).a)},2660:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c;function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 1085if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(o.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"fetchVideoPropertiesFromDomObject",value:function e(){var t=this.getHtml5Object();webwave.isDefAndNotNull(t)&&(this.videoProperties={autoPlay:"true"===t.dataset.autoplay})}},{key:"initPlayer", 1086value:function e(){Object(a.a)(Object(u.a)(n.prototype),"initPlayer",this).call(this),this.player=this.getHtml5Object(),web
1086wave.isDefAndNotNull(this.player)&&(this.player.style.display="block",this.playerReady=!0,this.isCustomThumbnailWithoutAutoPlay()?this.playVideo():this.tryToAutoPlayVideo())}},{key:"getHtml5Object",value:function e(){}},{key:"playVideo",value:function e(){var t;null===(t=this.player)||void 0===t||t.play(),this.wasAutoPlayed=!0}},{key:"pauseVideo",value:function e(){var t;null=== 1087(t=this.player)||void 0===t||t.pause()}}]),n}(n(2222).a)},2661:function(e,t){!function(){webwave.provide("com.webwave.util.cssUtils.parseBoxShadow");var e=/,(?![^\(]*\))/,t=/\s(?![^(]*\))/,n=/^[0-9]+[a-zA-Z%]+?$/,i=function e(n){var i=n.split(t),r=i.includes("inset"),s=i.slice(-1)[0],u=i[0],c=a(s)?void 0:s;c||(c=a(u)?void 0:u);var l=i.filter(function(e){return"inset"!==e}).filter(function(e){return e!==c}).map(o);return{inset:r,offsetX:l[0],offsetY:l[1],blurRadius:l[2],spreadRadius:l[3],color:c}}, 1088r=function e(t){var n=t.inset,i=t.offsetX?t.offsetX:0,r=t.offsetY?t.offsetY:0,a=t.blurRadius?t.blurRadius:0,o=t.spreadRadius,u=t.color;return[n?"inset":null,i,r,a,o,u].filter(function(e){return null!==e&&void 0!==e}).map(s).map(function(e){return(""+e).trim()}).join(" ")},a=function e(t){return"0"===t||n.test(t)},o=function e(t){if(!/px$/.test(t)&&"0"!==t)return t;var n=parseFloat(t);return isNaN(n)?t:n},s=function e(t){return"number"==typeof t&&0!==t?t+"px":t},u=function t(n){return n.split(e).map(function(e){return e.trim()}).map(i)}, 1089c=function e(t){return t.map(r).join(", ")};com.webwave.util.cssUtils.parseBoxShadow=u}()},2662:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(2707),o=n(1009),s=n(1683),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.values=new o.a(t.values),this.separators=new a.a(t.separators),this.startCondition=s.a.TOP_VISIBLE,this.onlyOnce=!1}return Object(r.a)(e,[{key:"getValues",value:function e(){return this.values}}, 1090{key:"setValues",value:function e(t){this.values=t}},{key:"getSeparators",value:function e(){return this.separators}},{key:"setSeparators",value:function e(t){this.separators=t}},{key:"getStartCondition",value:function e(){return this.startCondition}},{key:"getOnlyOnce",value:function e(){return this.onlyOnce}}]),e}()},2663:function(e,t,n){t.a=Object.freeze({DEFAULT:" ",DOT:".",SPACE:" ",COMMA:",",EMPTY:""})},2695:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2696),r=n.n(i), 1091a=n(2110),o=n.n(a),s=n(2697),u=n.n(s),c=n(2698),l=n.n(c),d=n(2699),h=n.n(d),f=n(2700),v=n.n(f),g=n(2701),p=n.n(g),y=n(2702),b=n.n(y)},2696:function(e,t){},2697:function(e,t){},2698:function(e,t){},2699:function(e,t){},27:function(e,t,n){e.exports=n(257)},2700:function(e,t){},2701:function(e,t){},2702:function(e,t){},2703:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(112),a=n(2188),o=n(1113),s=n(1177),u=function e(t){Object(i.a)(this,e),this.positionOrigin=t.positionOrigin,this.position= 1092new o.a(t.position),this.size=new s.a(t.size),this.fullWidth=t.fullWidth,this.additionalProperties=t.additionalProperties,this.animation=t.animation,this.hideAnimation=t.hideAnimation,this.visibility=t.visibility,this.style=a.a.deserialize(t.style),this.binds=t.binds,this.rotationEnabled=t.rotationEnabled,this.rotation=t.rotation,this.animationOnScrollEnabled=t.animationOnScrollEnabled,this.animationOnScroll=t.animationOnScroll,this.fixed=t.fixed,this.sticky=t.sticky,this.stickyStartDistance=new r.a(t.stickyStartDistance), 1093this.stickyEndDistance=new r.a(t.stickyEndDistance),this.stickyEndDistanceEnabled=t.stickyEndDistanceEnabled}},2704:function(e,t,n){var i="visible",r="hidden",a=""},2705:function(e,t,n){var i="afterInitializationServiceInitEvent";t.a="afterInitializationServiceInitEvent"},2706:function(e,t,n){n.d(t,"a",function(){return b});var i=n(15),r=n(0),a=n(1),o=n(3),s=n(4),u=n(2),c=n(1646),l=n(26),d=n(14),h=n.n(d),f=n(16),v,g;function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor; 1094r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}
1094var b=(v=Object(d.injectable)())(g=function(e){Object(o.a)(n,e);var t=p(n);function n(){var e;Object(r.a)(this,n);for(var i=arguments.length,a=new Array(i), 1095o=0;o<i;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).objectService=null,e}return Object(a.a)(n,[{key:"removeAllInteractionVisibilities",value:function e(){for(var t=this.objectService.findAllWObjects().filter(function(e){return webwave.isDef(e.visibilities.getInteractionVisibility())}),n=0;n<t.length;n++)t[n].removeInteractionVisibility()}},{key:"_collectStuffedSizeAndPositions",value:function e(t){var n=new Map;if(webwave.isFunction(t.getWGroups))for(var i=[t].concat(t.getWGroups(!0)), 1096r=0;r<i.length;r++){var a=i[r];a.isHideAnimationEnabled()&&n.set(a,{position:a.getComputedPosition().clone(),size:a.getComputedSize().clone()})}return n}},{key:"_applyStuffedSizesAndPositions",value:function e(t){t.forEach(function(e,t){t.setStuffedSizeAndPosition(e)})}},{key:"_performVisibilityChange",value:function e(t,n){var r=t.isVisible(),a=this._collectStuffedSizeAndPositions(t),o=Object(i.a)({},t.getId(),r);t.getChildren(!0).forEach(function(e){o[e.getId()]=e.isVisible()}),n.visibilityChangeAction(); 1097var s=t.isVisible(),u;r!==s?!0===s?t.playCurrentAnimation({onComplete:n.onComplete}):(this._applyStuffedSizesAndPositions(a),t.playCurrentHideAnimation({afterEachAnimationStop:function e(t){a.has(t)&&t.setStuffedSizeAndPosition({})},onComplete:n.onComplete})):webwave.isFunction(n.onComplete)&&n.onComplete()}},{key:"changeWObjectInteractionVisibility",value:function e(t,n){this._performVisibilityChange(t,{visibilityChangeAction:function e(){t.visibilities.setInteractionVisibility(n)}})}},{key:"updateWObjectScrollVisibility", 1098value:function e(t){var n=!1;this._performVisibilityChange(t,{visibilityChangeAction:function e(){var i=t.visibilities.getScrollAnimationVisibility();t.updateScrollAnimationVisibility(),(n=i!==t.visibilities.getScrollAnimationVisibility())&&t.finishCurrentAnimation()},onComplete:function e(){n&&t.removeInteractionVisibility()}})}},{key:"setWObjectShowAnimationVisibility",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._performVisibilityChange(t,{visibilityChangeAction:function e(){t.visibilities.setShowAnimationVisibility(n)}, 1099onComplete:i.onComplete})}},{key:"handleInteraction",value:function e(t){var n,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).preview,r=this.objectService.collectWObjectsByIds(t.getWObjects());switch(t.getType()){case c.a.SHOW:for(var a=0;a<r.length;a++)i?r[a].setInteractionPreview(!0,!0):this.changeWObjectInteractionVisibility(r[a],!0);break;case c.a.HIDE:for(var o=0;o<r.length;o++)i?r[o].setInteractionPreview(!0,!1):this.changeWObjectInteractionVisibility(r[o],!1);break;case c.a.TOGGLE:for(var s= 1100[],u=0;u<r.length;u++)r[u].finishCurrentAnimation(),s.push({wObject:r[u],visibility:!r[u].isVisible()});for(var l=0;l<s.length;l++)i?s[l].wObject.setInteractionPreview(!0,s[l].visibility):this.changeWObjectInteractionVisibility(s[l].wObject,s[l].visibility);break}}},{key:"setObjectService",value:function e(t){this.objectService=t}},{key:"onRwdModeChange",value:function e(t){this.removeAllInteractionVisibilities()}}]),n}(l.a))||g},2707:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1), 1101a=n(11),o=n.n(a),s=n(2663),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.decimalSeparator=webwave.isDef(t.decimalSeparator)?t.decimalSeparator:a.DecimalSeparators.DEFAULT,this.thousandsPlaceSeparator=webwave.isDef(t.thousandsPlaceSeparator)?t.thousandsPlaceSeparator:s.a.DEFAULT,this.ownSeparatorsEnabled=!!webwave.isDef(t.ownSeparatorsEnabled)&&t.ownSeparatorsEnabled}return Object(r.a)(e,[{key:"getDecimalSeparator",value:function e(){return this.decimalSeparator}}, 1102{key:"getThousandsPlaceSeparator",value:function e(){return this.ownSeparatorsEnabled?this.thousandsPlaceSeparator:s.a.DEFAULT}},{key:"setDecimalSeparator",value:function e(t){this.decimalSeparator=t}},{key:"setThousandsPlaceSeparators",value:function e(t){this.thousandsPlaceSeparator=t}},{key:"setOwnSeparatorsEnabled",value:function e(t){this.ownSeparatorsEnabled=t}},{key:"getOwnSeparatorsEnabled",value:function e(){return this.ownSeparatorsEnabled}}]),e}()}
1102,2708:function(e,t,n){n.d(t,"a",function(){return S}); 1103var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(155),c=n(2709),l=n(2710),d=n(26),h=n(40),f=n(2711),v=n(2713),g=n(14),p=n.n(g),y,b;function m(e){var t=w();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1104[],function(){})),!0}catch(e){return!1}}var S=(y=Object(g.injectable)())(b=function(e){Object(a.a)(n,e);var t=m(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).pageAreaService=null,e.objectService=null,e.browserWebPSupportUtils=null,e.pageCanvas=null,e}return Object(r.a)(n,[{key:"updateBackgroundSize",value:function e(){var t=this.objectService.getRootWObject(),n=t.getComputedPosition().getY()+ 1105t.getComputedSize().getHeight(),i=this.pageAreaService.getWindowHeight();this.pageAreaService.setBodyHeight(Math.max(n+this.getAdvertisementHeight()+this.getCommentsHeaderHeight(),i)),this.pageAreaService.updateScrollVisibility()}},{key:"getAdvertisementHeight",value:function e(){var t=$("#ww_advertisement_bottom_container_wrapper");return 1==t.length?t[0].offsetHeight:0}},{key:"getCommentsHeaderHeight",value:function e(){var t=$("#headerBoxPublication");return 1===t.length&&t.is(":visible")?t.outerHeight(): 11060}},{key:"disableScrollPreventEvents",value:function e(){var t;$("html,body").off("scroll.pageScroll mousedown.pageScroll wheel.pageScroll DOMMouseScroll.pageScroll mousewheel.pageScroll keyup.pageScroll touchmove.pageScroll")}},{key:"scrollPageToElement",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.length){if(this._scrollIsNotAvailableForTargetElement(t))return;var i=webwave.isNumberAndNotNaN(parseInt(n.margin))?parseInt(n.margin):0,r;if(!0===n.forceTop)(r= 1107new l.a({element:t[0],margin:i})).setPageCanvas(this.getPageCanvas());else{var a=this.objectService.pageCanvas.getPositionRelativeToPageArea(t[0]),o=new u.a({size:new h.a({width:t[0].offsetWidth,height:t[0].offsetHeight}),position:a}),s=this.objectService.pageCanvas.getViewPort(),d=s.getY1();o.getY1()<s.getY1()?d=o.getY1()-i:o.getY2()+i+this.getAdvertisementHeight()>s.getY2()&&(d=o.getY2()+i+this.getAdvertisementHeight()-s.getHeight()),r=new c.a({yPosition:d})}(new f.a({scrollArea:new v.a,scrollTarget:r})).scroll()}}}, 1108{key:"initLinkScroll",value:function e(){var t=this,n=utilService.extractGETParameter("anchorElement"),i=utilService.extractGETParameter("scrollMargin");n&&setTimeout(function(){t.scrollPageToElement($("#".concat(n)),{margin:i,forceTop:!0})},0)}},{key:"getPathForAjax",value:function e(){var t,n="";return-1!==document.URL.indexOf("localhost")&&(n="/webwaver_front"),n}},{key:"getWebsiteId",value:function e(){return $("#websiteId").val()}},{key:"getWindowScroll",value:function e(){return webwave.isDef(window.pageYOffset)? 1109window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}},{key:"getWindowWidth",value:function e(){return window.innerWidth}},{key:"initDownloadProtection",value:function e(){var t=$("#ww_download_protection");t.length>0&&"true"===t.val()&&$(window).on("contextmenu.downloadProtection",function(e){var t;t=(null===e||void 0===e?void 0:e.originalEvent)instanceof CustomEvent?e.detail.target:e.target,$(t).closest('.ww_element[data-element-type="img"], .ww_element[data-element-type="gallery"], .ww_element[data-element-type="slider"], .ww_element[data-element-type="lightbox"],.ww_element[data-element-type="carousel"],.ww_element[data-element-type="text"] img,.pswp').length> 11100&&(e.preventDefault(),alert($("#ww_download_protection_text").val()))})}},{key:"getPageId",value:function e(){return document.getElementById("pageId").getAttribute("value")}},{key:"isCurrentPageNewspage",value:function e(){var t=this.getPageId();return!!webwave.isString(t)&&t.startsWith("newspage")}},{key:"addPageTypeClassToBody",value:function e(){this.isCurrentPageNewspage()&&$(document.body).addClass("newspage")}},{key:"setPageAreaService",value:function e(t){this.pageAreaService=t}},{key:"setObjectService", 1111value:function e(t){this.objectService=t}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"setPageCanvas",value:function e(t){this.pageCanvas=t}},{key:"getPageCanvas",value:function e(){return this.pageCanvas}},{key:"_scrollIsNotAvailableForTargetElement",value:function e(t){var n=this.objectService.getWObjectById(t.attr("id"));return webwave.isDef(n)&&!1===n.canBeTargetScroll()}}]),n}(d.a))||b},2709:function(e,t,n){n.d(t,"a",function(){return d});var i= 1112n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n, 1113e);var t=c(n);function n(e){var r;
1113return Object(i.a)(this,n),(r=t.call(this))._yPosition=e.yPosition,r}return Object(r.a)(n,[{key:"getYPositionToScroll",value:function e(){return this._yPosition}}]),n}(n(2118).a)},2710:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2118);function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this, 1114r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._element=e.element,r._margin=e.margin,r}return Object(r.a)(n,[{key:"getYPositionToScroll",value:function e(){var t;return this.pageCanvas.getPositionRelativeToPageArea(this._element).getY()- 1115this._margin}},{key:"setPageCanvas",value:function e(t){this.pageCanvas=t}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function e(){var t=this.pageCanvas.getViewPort(),n=Math.abs(this.getYPositionToScroll()-t.getY1());return Math.min(Math.floor(n/2),u.a.MAX_ANIMATION_TIME)}}]),n}(u.a)},2711:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(2712),u=function(){function e(t){Object(i.a)(this,e),this._interactionWasCalled=!1,this._scrollTarget=t.scrollTarget, 1116this._scrollArea=t.scrollArea,this._interactionHandler=this._turnOnInteractionCalledFlag.bind(this)}return Object(r.a)(e,[{key:"scroll",value:function e(){this._enableTurnOffScrollingOnInteraction(),this._startScrolling()}},{key:"_enableTurnOffScrollingOnInteraction",value:function t(){var n=this;e.INTERACTIONS.forEach(function(e){n._getElementToInteractionListener().addEventListener(e,n._interactionHandler)})}},{key:"_getCurrentScrollPosition",value:function e(){return this._scrollArea.getCurrentScrollPosition()}}, 1117{key:"_getElementToInteractionListener",value:function e(){return document.querySelector("body")}},{key:"_normalizeScrollProgress",value:function e(t){return a.MathUtils.limitValue(t,0,1)}},{key:"_removeInteractionListeners",value:function t(){var n=this;e.INTERACTIONS.forEach(function(e){n._getElementToInteractionListener().removeEventListener(e,n._interactionHandler)})}},{key:"_startScrolling",value:function e(){var t=this,n=this._scrollTarget.getAnimationTime(),i=this._getCurrentScrollPosition(), 1118r=null,a=function e(a){var o=t._scrollTarget.getYPositionToScroll(),u=a-(r=webwave.isNotDefOrNull(r)?a:r),c=t._normalizeScrollProgress(u/n),l=i+(o-i)*c;if(t._scrollToPosition(l),!0===t._interactionWasCalled)return t._stopScrolling(),void t._removeInteractionListeners();u<n?s.a.requestAnimationFrame(e):(l!==o&&t._scrollToPosition(o),t._removeInteractionListeners())};s.a.requestAnimationFrame(a)}},{key:"_scrollToPosition",value:function e(t){this._scrollArea.scrollTo(t)}},{key:"_stopScrolling",value:function e(){this._scrollToPosition(this._getCurrentScrollPosition())}}, 1119{key:"_turnOnInteractionCalledFlag",value:function e(){this._interactionWasCalled=!0}}]),e}();u.INTERACTIONS=["scroll","mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"]},2712:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"requestAnimationFrame",value:function e(t){window.requestAnimationFrame(t)}}]),e}()},2713:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3), 1120o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n, 1121e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getCurrentScrollPosition",value:function e(){return window.pageYOffset}},{key:"scrollTo",value:function e(t){window.scrollTo(0,t)}}]),n}(n(2714).a)},2714:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"getCurrentScrollPosition",value:function e(){return 0}},{key:"scrollTo",value:function e(t){}}]),e}()}, 11222715:function(e,t,n){n.d(t,"a",function(){return h});var i=n(28),r=n(0),a=n(1),o=n(27),s=n.n(o),u=n(14),c=n.n(u),l,d,h=(l=Object(u.injectable)())(d=function(){function e(){Object(r.a)(this,e)}return Object(a.a)(e,[{key:"sendG4Event",value:function(){var e=Object(i.a)(s.a.mark(function e(t,n){return s.a.wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:case "end":return t.stop()}},e)}));function t(t,n){return e.apply(this,arguments)}return t}()}]),e}())||d},2716:function(e,t,n){n.d(t,"a",function(){return w}); 1123var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2229),c=n(3005),l=n(26),d=n(1234),h=n(1745),f=n(14),v=n.n(f),g=n(16),p,y;function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1124[],function(){})),!0}catch(e){return!1}}var w=(p=Object(f.injectable)())(y=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).objectService=null,e.relationMatrixes=[],e.nodes={},e.rootNodes={},e._updatesEnabled=!0,e}return Object(r.a)(n,[{key:"_addToRootNodes",value:function e(t){this.rootNodes[t.getId()]=t}},{key:"removeFromRootNodes",value:function e(t){delete this.rootNodes[t.getId()]}}, 1125{key:"addNode",value:function e(t){this.nodes[t.getId()]=t,this._addToRootNodes(t)}},{key:"_removeNode",value:function e(t){this.removeFromRootNodes(t),delete this.nodes[t.getId()],t.dispose()}},{key:"hasNodeWithId",value:function e(t){return webwave.isDef(this.nodes[t])}},{key:"getNodeById",value:function e(t){return this.nodes[t]}},{key:"_checkCircuralDependency",value:function e(t,n){return(!0===t.getHeads(!0).includes(n)||!0===n.getTails(!0).includes(t))&&(webwave.log("circural dependency foun
1125d in ".concat(t.wObject.id, 1126" and ").concat(n.wObject.id)),!0)}},{key:"createAndAddRelation",value:function e(t,n){var i=this.objectService.getWObjectById(t.relatedWNodes[0]),r=this.objectService.getWObjectById(t.relatedWNodes[1]);if(!webwave.isNotDefOrNull(i)&&!webwave.isNotDefOrNull(r)&&(null===i||void 0===i?void 0:i.getParentWNode())===(null===r||void 0===r?void 0:r.getParentWNode())){if(!1===this.hasNodeWithId(i.getId())){var a=new c.a({id:i.getId(),wObject:i});this.addNode(a)}if(!1===this.hasNodeWithId(r.getId())){var o= 1127new c.a({id:r.getId(),wObject:r});this.addNode(o)}switch(t.typeOfRelation){case d.a.VERTICAL:var s=this.getNodeById(i.getId()),u=this.getNodeById(r.getId());webwave.isDefAndNotNull(s)&&webwave.isDefAndNotNull(u)&&!1===this._checkCircuralDependency(s,u)&&(s.addToTails(u),u.addToHeads(s,t),this.removeFromRootNodes(u),!0!==n&&(s.shakeIt(),u.shakeIt()));break;case d.a.HORIZONTAL:var l=this.getNodeById(i.getId()),h=this.getNodeById(r.getId());webwave.isDefAndNotNull(l)&&webwave.isDefAndNotNull(h)&&(l.addToSides(h), 1128h.addToSides(l),!0!==n&&(l.shakeIt(),h.shakeIt()));break}}}},{key:"_updateRelationNodeState",value:function e(t){!1===t.hasAnyRelation()?this._removeNode(t):!1===t.hasHeads()&&this._addToRootNodes(t)}},{key:"removeRelation",value:function e(t,n,i){var r=this.getNodeById(t.getId()),a=this.getNodeById(n.getId());webwave.isDefAndNotNull(r)&&webwave.isDefAndNotNull(a)&&(r.removeFromHeads(a),r.removeFromTails(a),r.removeFromSides(a),a.removeFromHeads(r),a.removeFromTails(r),a.removeFromSides(r),!0!==i&& 1129(r.shakeIt(),a.shakeIt()),this._updateRelationNodeState(r),this._updateRelationNodeState(a))}},{key:"clearRelations",value:function e(){for(var t in this.nodes)this.nodes.hasOwnProperty(t)&&this.nodes[t].dispose();this.nodes={},this.rootNodes={}}},{key:"_scheduleAllNodesPushingDisabledChangeInWorker",value:function e(t,n){var i=this;t.addToQueue(function(){for(var e in i.nodes)i.nodes.hasOwnProperty(e)&&i.nodes[e].setPushingDisabled(n)})}},{key:"_collectRelationNodesInUpdateOrder",value:function e(){var t= 1130new u.a;for(var n in this.rootNodes)this.rootNodes.hasOwnProperty(n)&&this.rootNodes[n].collectDownPath(t);return t.toArray().sort(function(e,t){return e.level-t.level}).map(function(e){return e.node})}},{key:"shakeIt",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new h.a;this._scheduleAllNodesPushingDisabledChangeInWorker(n,!0);for(var i=this._collectRelationNodesInUpdateOrder(),r=function e(t){var r=i[t];n.addToQueue(function(){r.shakeIt()})},a=0;a<i.length;a++)r(a); 1131if(this._scheduleAllNodesPushingDisabledChangeInWorker(n,!1),t.async)return new Promise(function(e){n.addToQueue(function(){e()}),n.dequeue()});n.dequeueSync()}},{key:"setObjectService",value:function e(t){this.objectService=t}}]),n}(l.a))||y},278:function(e,t,n){t.a=r;var i=n(2);function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(i.a)(e)););return e}},28:function(e,t,n){function i(e,t,n,i,r,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(i, 1132r)}function r(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function s(e){i(o,r,a,s,u,"next",e)}function u(e){i(o,r,a,s,u,"throw",e)}s(void 0)})}}t.a=r},2865:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=function(){function e(t,n,r){Object(i.a)(this,e),this.id=t,this.width=n,this.disabled=r}return Object(r.a)(e,[{key:"getId",value:function e(){return this.id}},{key:"getWidth",value:function e(){return this.width}}]),e}(),o,s= 1133function(){function e(){Object(i.a)(this,e),this.rwdModeChangeListeners=[]}return Object(r.a)(e,[{key:"init",value:function e(){rwdModeService.init(),o=rwdModeService.getCurrentRwdMode()}},{key:"deserializeRwdModes",value:function e(t){for(var n=[],i=0;i<t.length;i++){var r=new a(t[i].id,t[i].width,t[i].disabled);n.push(r)}return n}},{key:"deserializeRwdMode",value:function e(t){if(webwave.isDef(t))return new a(t.id,t.width,t.disabled)}},{key:"getActiveRwdModes",value:function e(){return this.deserializeRwdModes(rwdModeService.getActiveRwdModes())}}, 1134{key:"getAllRwdModes",value:function e(){return this.deserializeRwdModes(rwdModeService.getAllRwdModes())}},{key:"getCurrentMode",value:function e(){return this.getCurrentRwdMode()}},{key:"getCurrentRwdMode",value:function e(){return this.deserializeRwdMode(rwdModeService.getCurrentRwdMode())}},{key:"_notifyRwdModeChangeListeners",value:function e(t){for(var n=0;n<this.rwdModeChangeListeners.length;n++)this.rwdModeChangeListeners[n].onRwdModeChange(t)}
1134},{key:"handleWindowResize",value:function e(){var t= 1135this.deserializeRwdMode(rwdModeService.handleWindowResize());void 0!==this.getActiveRwdMode()&&t.id==this.getActiveRwdMode().id||(o=t,this._notifyRwdModeChangeListeners(t))}},{key:"getActiveRwdMode",value:function e(){return o}},{key:"changeElementsAttributes",value:function e(t,n){if(!webwave.isNotDefOrNull(t)&&!webwave.isNotDefOrNull(this.elementAttributeService))for(var i=this.elementAttributeService.getElementsWithRwdAttribute(t),r=0;r<i.length;r++){var a=i[r],o=this.elementAttributeService.getElementRwdProperties(a); 1136for(var s in o)if(o.hasOwnProperty(s)){var u=this.searchForClosestObjectByRwdMode(o[s],n);a.setAttribute(s,u)}}}},{key:"searchForClosestObjectByRwdMode",value:function e(t,n){if(webwave.isDef(t)&&webwave.isDef(n)){var i=n.getId(),r=t[i];if(webwave.isNotDef(r))for(var a=n;webwave.isDef(a=this.getPreviousRwdMode(a));)if(i=a.getId(),webwave.isDef(t[i])){r=t[i];break}return r}}},{key:"getRwdModeIndex",value:function e(t,n){for(var i=0;i<t.length;i++)if(t[i].getId()===n.getId())return i}},{key:"getPreviousRwdMode", 1137value:function e(t){if(webwave.isDef(t)){var n=this.deserializeRwdModes(rwdModeService.getAllRwdModes()),i=this.getRwdModeIndex(n,t);return i>0?n[i-1]:void 0}}},{key:"isFirstRwdMode",value:function e(t){webwave.isNotDef(t)&&(t=this.getCurrentMode());var n=this.deserializeRwdModes(rwdModeService.getAllRwdModes());return 0===this.getRwdModeIndex(n,t)}},{key:"addRwdModeChangeListener",value:function e(t){-1===this.rwdModeChangeListeners.indexOf(t)&&this.rwdModeChangeListeners.push(t)}},{key:"setElementAttributeService", 1138value:function e(t){this.elementAttributeService=t}}]),e}();webwave.provide("com.webwave.publication.rwd.RwdMode"),com.webwave.publication.rwd.RwdMode=a,webwave.provide("com.webwave.publication.rwd.rwdService"),com.webwave.publication.rwd.rwdService=new s,window.rwdService=com.webwave.publication.rwd.rwdService,window.RwdMode=com.webwave.publication.rwd.RwdMode},2866:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2867),l=n(1756);function d(e){var t= 1139h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(o.a)(n,e);var t=d(n);function n(e){var r; 1140return Object(i.a)(this,n),(r=t.call(this,e))._rwdTextContent=null,r}return Object(r.a)(n,[{key:"setDomObject",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"setDomObject",this).call(this,t),null!==this._rwdTextContent&&this._rwdTextContent.dispose(),this._rwdTextContent=new l.a(t.find(".innerElementContent")),this._rwdTextContent.initLinkBlockEvent()}},{key:"loadRwdProperties",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadRwdProperties",this).call(this,t),this.reloadTextRwdProperties(t)}}, 1141{key:"reloadTextRwdProperties",value:function e(t){webwave.isDefAndNotNull(this._rwdTextContent)&&this._rwdTextContent.loadRwdTextProperties(t)}}]),n}(c.a)},2867:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(40),o=n(2070),s=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._$domObject=void 0,this._rwdAnimationMaps=webwave.isDef(t.rwdAnimationMaps)?t.rwdAnimationMaps:{},this._animation=void 0,this._animationPlayer=void 0,this.loadRwdProperties(com.webwave.publication.rwd.rwdService.getCurrentRwdMode()), 1142this._opacity=100,this.visibilities=new o.a}return Object(r.a)(e,[{key:"setAnimationPlayer",value:function e(t){this._animationPlayer=t}},{key:"getDomObject",value:function e(){return webwave.isDef(this._$domObject)?this._$domObject:$()}},{key:"setDomObject",value:function e(t){this._$domObject=t,t.data("wInnerElement",this);var n=parseFloat(this.getContent().css("opacity"));isNaN(n)&&(n=1),this._opacity=100*n}},{key:"loadRwdProperties",value:function e(t){}},{key:"setAnimationEnabled",value:function e(t, 1143n){}},{key:"triggerAnimationChanged",value:function e(t){}},{key:"isAnimationEnabled",value:function e(){return webwave.isDef(this._animation)}},{key:"canChangeAnimationEnabled",value:function e(){}},{key:"setAnimation",value:function e(t){this._animation=t}},{key:"getAnimation",value:function e(){return this._animation}},{key:"playCurrentAnimation",value:function e(t){this._animationPlayer.playCurrentAnimation(t)}},{key:"finishCurrentAnimation",value:function e(){this._animationPlayer.finishCurrentAnimation()}}, 1144{key:"getContent",value:function e(){return this.getDomObject().children(".innerElementContent")}},{key:"getOpacity",value:function e(){return this._opacity}},{key:"getComputedOpacity",value:function e(){return this.getOpacity()}},{key:"isRotated",value:function e(){return!1}},{key:"getRotation",value:function e(){return 0}},{key:"getRotationTransformCss",value:function e(){return this.canBeRotated()&&this.isRotated()?"rotate("+this.getRotation()+"deg)":""}}
1144,{key:"canBeRotated",value:function e(){return!1}}, 1145{key:"getShadowSizeCorrection",value:function e(){return{top:0,right:0,bottom:0,left:0}}},{key:"getContentSize",value:function e(){return new a.a({width:this.getContent().outerWidth(),height:this.getContent().outerHeight()})}},{key:"beforeShowRealAnimationStart",value:function e(){}},{key:"beforeHideRealAnimationStart",value:function e(){}},{key:"getRwdAnimationMaps",value:function e(){return this._rwdAnimationMaps}},{key:"getBackgroundOverlayDom",value:function e(){return $()}},{key:"getElementsForAnimation", 1146value:function e(){for(var t=[this.getContent()[0],this.getBackgroundOverlayDom()[0]],n=t.length-1;n>=0;n--)webwave.isNotDefOrNull(t[n])&&t.splice(n,1);return t}}]),e}()},2868:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=function(){function e(){Object(i.a)(this,e),this._webPSupported=null}return Object(r.a)(e,[{key:"init",value:function e(){var t=this;return new Promise(function(e){t._checkWebPSupport(function(n){t.setWebPSupport(n),e(n)})})}},{key:"changeSrcIfWebPSupported", 1147value:function e(t){return this.isWebPSupported()?this.replaceImageSrcToWebP(t):t}},{key:"changeSrcIfWebPSupportedWithAttrCheck",value:function t(n,i){return webwave.isDefAndNotNull(i)&&(n="true"===i.dataset[e.USE_WEBP_IMAGE_ATTR]?this.changeSrcIfWebPSupported(n):n),n}},{key:"changeSrcIfWebPSupportedWithAttrParameterCheck",value:function e(t,n,i){return webwave.isDefAndNotNull(n)&&"true"===n.dataset[i]?this.changeSrcIfWebPSupported(t):t}},{key:"isWebPSupported",value:function e(){return this._webPSupported}}, 1148{key:"replaceImageSrcToWebP",value:function e(t){return a.StringUtils.replaceExtensionInSrc(t,"webp")}},{key:"setWebPSupport",value:function e(t){this._webPSupported=t}},{key:"_checkWebPSupport",value:function e(t){var n="UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",i=new Image;i.onload=function(){var e=i.width>0&&i.height>0;t(e)},i.onerror=function(){t(!1)},i.src="data:image/webp;base64,"+n}},{key:"getWeBPImageAttrName",value:function t(){return e.USE_WEBP_IMAGE_ATTR}}, 1149{key:"getHoverWeBPImageDatasetAttrName",value:function t(){return e.USE_HOVER_WEBP_IMAGE_DATASET_ATTR}},{key:"getHoverWeBPImageAttrName",value:function t(){return e.USE_HOVER_WEBP_IMAGE_ATTR}}]),e}();s.USE_WEBP_IMAGE_ATTR="usedWebpImage",s.USE_HOVER_WEBP_IMAGE_DATASET_ATTR="hoverUsedWebpImage",s.USE_DISABLED_WEBP_IMAGE_DATASET_ATTR="disabledUsedWebpImage",s.USE_HOVER_WEBP_IMAGE_ATTR="data-hover-used-webp-image",s.USE_DISABLED_WEBP_IMAGE_ATTR="data-disabled-used-webp-image"},2869:function(e,t,n){n.d(t, 1150"a",function(){return y});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(26),c=n(40),l=n(14),d=n.n(l),h=n(16),f,v;function g(e){var t=p();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1151[],function(){})),!0}catch(e){return!1}}var y=(f=Object(l.injectable)())(v=function(e){Object(a.a)(n,e);var t=g(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"rotateSelectedWElements",value:function e(t,n){t=isNaN(t)?0:t,this.rotateWElements(this.getSelectedWElementsForRotation(),t)}},{key:"getSelectedWElementsForRotation",value:function e(){return elementService.getSelectedWElements({includeLayoutObjects:!0,unlockedLayoutObjectsOnly:!0,includeFooterObjects:!0})}}, 1152{key:"rotateWElements",value:function e(t,n){for(var i=0;i<t.length;i++)t[i].setRotation(n,{userInteraction:!0,isActionUndoable:!0})}},{key:"setRotationEnabledSelectedWElements",value:function e(t){var n;(this.getSelectedWElementsForRotation()||[]).forEach(function(e){e.setRotationEnabled(t)})}},{key:"transformSizesToRotation",value:function e(t,n,i){!1===webwave.isNumberAndNotNaN(i)&&(i=0);var r=i*(Math.PI/180),a=Math.abs(Math.sin(r)),o=Math.abs(Math.cos(r));return new c.a({width:Math.round(o*t+ 1153a*n),height:Math.round(a*t+o*n)})}}]),n}(u.a))||v},2870:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(74),o=n(2048),s=n(2079),u=n(2080),c=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"validate",value:function t(n,i){var r=!0,a=this;return n.find(i).each(function(){var t=$(this),n=s.a.getFormItemFromRow(t);if(0!==n.length){var i=t.data("required"),o=!1;i&&(o=a._requiredFieldIsInvalid(n)),!1===o&&(o=a._customValidatorIsInvalid(n,i)),o?(t.attr(e.DATA_VALID_PROP, 1154!1),r=!1):t.removeAttr(e.DATA_VALID_PROP)}}),!1===r?n.attr(e.DATA_VALID_PROP,!1):n.removeAttr(e.DATA_VALID_PROP),r}},{key:"validateFileInput",value:function t(n){var i,r=n.form.find("input"),a=n.fileInput.closest(".ww_form_cell_2"),o=this._getAllFilesAddedToF
1154orm(r),s;this._calculateAddedFilesSize(o)>e.CONTACT_FORM_MAX_FILESIZE_15_MB?(n.fileInput.val(""),a.attr(e.DATA_VALID_PROP,!1),n.fileInput.attr("title",i18n.t("form.maximalFileSizeReached"))):(a.removeAttr(e.DATA_VALID_PROP),n.fileInput.removeAttr("title"), 1155n.fileInput.data("file",n.files[0]))}},{key:"_calculateAddedFilesSize",value:function e(t){var n=0;return t.forEach(function(e){for(var t=0;t<e.length;t++)n+=e[t].size}),n}},{key:"_customValidatorIsInvalid",value:function e(t,n){var i=!1,r=s.a.getFieldValue(t),u;if(!1===n&&!1===webwave.isStringAndNotEmpty(r))return!1;switch(t.data("validator")){case o.a.PHONE:i=s.a.isMultiFieldItemValue(t)?!1===a.a.PHONE_NUMBER.validate(r):!1===a.a.PHONE_NUMBER_WITHOUT_EXPECTED_PREFIX.validate(r);break;case o.a.EMAIL:i= 1156!1===a.a.EMAIL.validate(t.val());break}return i}},{key:"_getAllFilesAddedToForm",value:function e(t){for(var n,i=[],r=0;r<t.length;r++)n=t[r].files,webwave.isDefAndNotNull(n)&&i.push(n);return i}},{key:"_requiredFieldIsInvalid",value:function e(t){var n=!1;return!0===t.is(":checkbox")&&!1===t.prop("checked")?n=!0:t.hasClass("ww_multiple_select_wrapper")?0===t.find("input:checked").length&&(n=!0):t.hasClass(u.a.MULTI_FIELD_ITEM_ROW)?n=webwave.isNotDefOrNullOrEmptyString(s.a.getMultiFieldItemValue(t)): 1157!1===webwave.isDefAndNotEmpty(t.val())&&(n=!0),n}}]),e}();c.DATA_VALID_PROP="data-valid",c.CONTACT_FORM_MAX_FILESIZE_15_MB=15E6},2871:function(e,t,n){n.d(t,"a",function(){return O});var i=n(0),r=n(1),a=n(10),o=n(3),s=n(4),u=n(2),c=n(11),l=n.n(c),d=n(3361),h=n(2659),f=n(26),v=n(2223),g=n(2224),p=n(14),y=n.n(p),b,m;function w(e){var t=S();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this, 1158r)}}function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var O=(b=Object(p.injectable)())(m=function(e){Object(o.a)(n,e);var t=w(n);function n(){var e;return Object(i.a)(this,n),e=t.call(this),window.onYouTubeIframeAPIReady=e.initAllYoutubePlayers.bind(Object(a.a)(e)),e.youtubeApiInitialized=!1,e.vimeoApiInitialized= 1159!1,e.youtubeVideosToInit=[],e.vimeoVideosToInit=[],e.scrollListeners=[],e.initScrollListener(),e}return Object(r.a)(n,[{key:"createNewWMediaPlayerFromMap",value:function e(t){var n,i=t.domObject;return t.mediaPlayerService=this,i.find(".youtubeVideo").length>0?n=new g.a(t):i.find(".vimeoVideo").length>0?n=new v.a(t):i.find("video").length>0?n=new h.a(t):i.find("audio").length>0&&(n=new d.a(t)),n.isAutoPlayEnabled()&&this.scrollListeners.push(n),n}},{key:"initYoutubeApi",value:function e(){this.isYoutubeApiInitialized()|| 1160(this.youtubeApiInitialized=!0,this.loadYoutubeApiScript())}},{key:"loadYoutubeApiScript",value:function e(){var t=document.createElement("script");t.src="https://www.youtube.com/iframe_api";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}},{key:"initAllVimeoPlayers",value:function e(){if(!c.Environment.isTest())for(var t=0;t<this.vimeoVideosToInit.length;t++)this.vimeoVideosToInit[t].initPlayer()}},{key:"initVimeoApi",value:function e(){this.isVimeoApiInitialized()|| 1161(this.vimeoApiInitialized=!0,this.loadVimeoApiScript())}},{key:"loadVimeoApiScript",value:function e(){var t=document.createElement("script");t.onload=this.vimeoApiOnLoad.bind(this),t.src="//player.vimeo.com/api/player.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}},{key:"vimeoApiOnLoad",value:function e(){this.initAllVimeoPlayers()}},{key:"isVimeoApiInitialized",value:function e(){return this.vimeoApiInitialized}},{key:"isYoutubeApiInitialized",value:function e(){return this.youtubeApiInitialized}}, 1162{key:"addYoutubePlayerToInitList",value:function e(t){this.youtubeVideosToInit.push(t)}},{key:"addVimeoPlayerToInitList",value:function e(t){this.vimeoVideosToInit.push(t)}},{key:"initAllYoutubePlayers",value:function e(){if(!c.Environment.isTest())for(var t=0;t<this.youtubeVideosToInit.length;t++)this.youtubeVideosToInit[t].initPlayer()}},{key:"triggerScrollListeners",value:function e(){for(var t=0;t<this.scrollListeners.length;t++)this.scrollListeners[t].tryToAutoPlayVideo()}},{key:"initScrollListener", 1163value:function e(){var t=this;$(window).on("scroll",function(e){t.triggerScrollListeners()})}}]),n}(f.a))||m},2872:function(e,t,n){n.d(t,"a",function(){return Se});var i=n(36),r=n(28),a=n(6),o=n(0),s=n(1),u=n(10),c=n(3),l=n(4),d=n(2),h=n(5),f=n(7),v=n(27),g=n.n(v),p=n(227),y=n(106),b=n(1187),m=n(2644),w=n(51),S=n(1060),O=n(2643),_=n(26),k=n(3363),P=n(3364),A=n(3366),E=n(3367),I=n(3369),C=n(82),T=n(2646),N=n(2647),D=n(2651),j=n(3370),R=n(1722),L=n(3371),x=n(1745),M=n(1796),B=n(2649),V=n(2645),F=n(14), 1164W=n.n(F),U=n(950),z=n(16),H,G,Y,q,X,K,Z,J,Q,ee,te,ne,ie,re,ae,oe,se,ue,ce,le,de;function he(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1164if(!n){if(Array.isArray(e)||(n=fe(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 1165}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function fe(e,t){if(e){if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ve(e,t):void 0}}function ve(e, 1166t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ge(e){var t=pe();return function n(){var i=Object(d.a)(e),r;if(t){var a=Object(d.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(l.a)(this,r)}}function pe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1167[],function(){})),!0}catch(e){return!1}}var ye="ww-layout-objects-customData",be="ww-layout-objects-visibility",me="WW_LAYOUT_OBJECTS_STORE",we="WW_OBJECTS_STORE",Se=(H=Object(F.injectable)(),G=Object(F.inject)(U.a.BackgroundParallaxService),Y=Object(F.inject)(U.a.ElementRotationService),q=Object(F.inject)(U.a.ModularObjectContentService),X=Object(F.inject)(z.a.StoreAnalyticsManager),K=Object(F.inject)(U.a.PageService),Z=Object(F.inject)(U.a.RwdService),J=Object(F.inject)(U.a.UserService),Q=Object(F.inject)(U.a.FeedService), 1168H((de=le=function(e){Object(c.a)(n,e);var t=ge(n);function n(){var e;return Object(o.a)(this,n),e=t.call(this),Object(a.a)(e,"backgroundParallaxService",ne,Object(u.a)(e)),Object(a.a)(e,"elementRotationService",ie,Object(u.a)(e)),Object(a.a)(e,"modularObjectContentService",re,Object(u.a)(e)),Object(a.a)(e,"storeAnalyticsManager",ae,Object(u.a)(e)),Object(a.a)(e,"pageService",oe,Object(u.a)(e)),Object(a.a)(e,"rwdService",se,Object(u.a)(e)),Object(a.a)(e,"userService",ue,Object(u.a)(e)),Object(a.a)(e, 1169"feedService",ce,Object(u.a)(e)),e.wIntersectionObserver=null,e.browserWebPSupportUtils=null,e.animator=null,e.init=function(){this._objects={}},e._objectsData={},e._objects={},e._sections=[],e.menutoolService=null,e.pageAreaService=null,e.interactionsService=null,e.orderPopupService=null,e.pageCanvas=null,e._layoutObjectsVisibility={},e.relationManagerService=null,e._rootWObject=null,e._pageWObject=null,e._defaultSection=null,e._wLayoutGroup=null,e}return Object(s.a)(n,[{key:"createAndAddWElementByDomObject", 1170value:function e(t){try{var n=t[0].id,i={id:n,domObject:t},r=this.getObjectData(n);null!==r&&Object.assign(i,r),i.pageCanvas=this.pageCanvas,i.backgroundParallaxService=this.backgroundParallaxService,i.elementRotationService=this.elementRotationService,i.objectService=this;var a=this._getWElement(t,i);return a.setPageAreaService(this.pageAreaService),webwave.isFunction(a.setInteractionsService)&&a.setInteractionsService(this.interactionsService),webwave.isFunction(a.setOrderPopupService)&&a.setOrderPopupService(this.orderPopupService), 1171a.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),a.setWIntersectionObserver(this.wIntersectionObserver),a.setRwdService(this.rwdService),this._objects[n]=a,a}catch(e){console.log(e)}}},{key:"_getWElement",value:function e(t,n){var i;switch(t[0].getAttribute("data-element-type")){case C.a.AIWIDGET:i=new A.a(n);break;case C.a.BUTTON:i=new com.webwave.publication.wobject.wbutton.WButton(n);break;case C.a.CAROUSEL:(i=new E.a(n)).setModularObjectContentService(this.modularObjectContentService); 1172break;case C.a.COUNTER:i=new I.a(n);break;case C.a.LIGHTBOX:(i=new com.webwave.publication.object.WLightbox(n)).setPhotoswipeService(this.getPhotoswipeService());break;case C.a.GALLERY:(i=new N.a(n)).setAnimator(this.getAnimator()),i.setPhotoswipeService(this.getPhotoswipeService());break;case C.a.SLIDER:(i=new B.a(n)).setAnimator(this.getAnimator());break;case C.a.TEXT:(i=new com.webwave.publication.object.WText(n)).setPhotoswipeService(this.getPhotoswipeService()),i.setPageService(this.pageService); 1173break;case C.a.IMG:(i=new D.a(n)).setBrowserWebPSupportUtils(this.browserWebPSupportUtils);break;case C.a.LOGIN:i=new com.webwave.publication.object.WLoginTool(n,this.userService.userLogged());break;case C.a.MEDIAPLAYER:i=com.webwave.publication.object.mediaPlayerService.createNewWMediaPlayerFromMap(n);break;
1173case C.a.GOOGLEMAPS:i=new com.webwave.publication.object.WGoogleMaps(n);break;case C.a.RECTANGLE:i=new com.webwave.publication.object.WRectangle(n);break;case C.a.MENU:i=new com.webwave.publication.object.WMenu(n); 1174break;case C.a.HTMLTOOL:i=new com.webwave.publication.object.WHtmlTool(n);break;case C.a.NEWSFEED:(i=new com.webwave.publication.object.WNewsfeed(n)).setPageService(this.pageService),i.setFeedService(this.feedService);break;case C.a.PRODUCTFEED:(i=new L.a(n)).setPageService(this.pageService),i.setFeedService(this.feedService);break;case C.a.STORE_PRODUCT:n.storeType===b.a.WEBWAVE?(n.storeAnalyticsManager=this.storeAnalyticsManager,i=new P.a(n)):i=new V.a(n);break;case C.a.STORE_CART:i=new k.a(n); 1175break;case C.a.FBCOMMENTS:i=new com.webwave.publication.object.WFbComments(n);break;case C.a.SOCIALMEDIA:i=new com.webwave.publication.object.WSocialMedia(n);break;case C.a.LANGUAGESELECTOR:i=new com.webwave.publication.object.WLanguageSelector(n);break;case C.a.FORM:i=new com.webwave.publication.object.WForm(n);break;case C.a.SIMPLETEXT:i=new com.webwave.publication.object.WSimpleText(n);break;case C.a.DATE:i=new com.webwave.publication.object.WDate(n);break;default:i=new com.webwave.publication.object.WElement(n); 1176break}return i}},{key:"createAndAddWGroupByDomObject",value:function e(t){try{var i,r=t.attr("id"),a={id:r,domObject:t},o=this.getObjectData(r);switch(null!==o&&Object.assign(a,o),a.pageCanvas=this.pageCanvas,a.backgroundParallaxService=this.backgroundParallaxService,a.elementRotationService=this.elementRotationService,a.objectService=this,t.attr("data-element-type")){case "footer":a.binds={pageWObject:{relatedWNodes:["pageWObject",r],typeOfRelation:"vertical"}},a.wNodeSettings={disableAlternateFixedChildren:!0}, 1177i=new T.a(a);break;case "WSection":a.wNodeSettings={enableFlowWithoutChildren:!0,enableVisibilityWithoutChildren:!0,enableBindsInheritanceInBothDirections:!0},i=new M.a(a),!0===a.defaultSection&&(this._defaultSection=i);break;case n.LAYOUT_GROUP_ATTRIBUTE_TYPE:i=new j.a(a);break;default:a.wNodeSettings={disableAlternateFixedChildren:!0,disableAlternateStickyChildren:!0},i=new com.webwave.publication.object.WGroup(a)}return this._objects[r]=i,i.setPageAreaService(this.pageAreaService),i.setBrowserWebPSupportUtils(this.browserWebPSupportUtils), 1178i.setWIntersectionObserver(this.wIntersectionObserver),i.setRwdService(this.rwdService),i}catch(e){console.log(e)}}},{key:"_findLayoutGroupIdFromCustomData",value:function e(){for(var t in this._objectsData)if(t.endsWith("layoutGroup"))return t}},{key:"collectWObjectsByIdArray",value:function e(t){for(var n=[],i=0;i<t.length;i++){var r=this.getObjectById(t[i]);webwave.isDef(r)&&n.push(r)}return n}},{key:"_createMainObjects",value:function e(){var t=new O.a({id:"rootWObject",domObject:$("<div></div>"), 1179objectService:this,pageCanvas:this.pageCanvas});this._rootWObject=t,t.setInFlow(!0);var i=$('#container > [data-element-type="footer"]').attr("id"),r={};webwave.isStringAndNotEmpty(i)&&(r[i]=new R.a({relatedWNodes:["pageWObject",i],typeOfRelation:"vertical"}));var a=new m.a({id:"pageWObject",domObject:$("<div></div>"),objectService:this,pageCanvas:this.pageCanvas});a.binds=r,this._pageWObject=a,a.setInFlow(!0),this._objects[t.getId()]=t,this._objects[a.getId()]=a;var o=this._findLayoutGroupIdFromCustomData(); 1180webwave.isStringAndNotEmpty(o)&&(this._wLayoutGroup=this.createAndAddWGroupByDomObject($("<div id=".concat(o,' data-element-type="').concat(n.LAYOUT_GROUP_ATTRIBUTE_TYPE,'"></div>'))),this._wLayoutGroup.setAttached(!0),this._wLayoutGroup._wNodeSettings.disableAnimation=!0)}},{key:"initObjects",value:function(){var e=Object(r.a)(g.a.mark(function e(){var t=this,n,a,o,s,u,c,l,d;return g.a.wrap(function e(h){for(;;)switch(h.prev=h.next){case 0:for((n=new x.a).addToQueue(function(){t.loadObjectsData()}), 1181n.addToQueue(function(){t._loadLayoutObjectVisibility()}),n.addToQueue(function(){t._createMainObjects()}),a=$(".ww_element"),o=function e(i){var r=$(a[i]);n.addToQueue(function(){t.createAndAddWElementByDomObject(r)})},s=0;s<a.length;s++)o(s);for(c=$(".group, .ww_footer, .WSection"),l=function e(i){n.addToQueue(function(){var e=t.createAndAddWGroupByDomObject($(c[i]));e.addElements(),e instanceof T.a&&(u=e)}
1181)},d=0;d<c.length;d++)l(d);return n.addToQueue(function(){var e=$(".ww_element, .group, .WSection"), 1182n=[],r=[],a=[],o=t;if(e.each(function(){var e=$(this),t=o.getWObjectById(e.attr("id"));webwave.isDef(t)&&(t.setAttached(!0),void 0===e.attr("groupid")&&(e.hasClass("WSection")?a.push(t):n.push(t)))}),t._sections=a.reverse(),webwave.isDefAndNotNull(t._wLayoutGroup)&&(r=t.collectWObjectsByIdArray(t.getObjectData(t._wLayoutGroup.getId()).children)),n.push.apply(n,Object(i.a)(r)),webwave.isDefAndNotNull(t._defaultSection)?(t._defaultSection.swapChildren(t._defaultSection.getChildren().concat(n)),t._pageWObject.swapChildren(t.getSections())): 1183t._pageWObject.swapChildren(n),webwave.isDefAndNotNull(t._wLayoutGroup)){for(var s=0;s<r.length;s++)r[s].setCustomVisibilityParent(t._wLayoutGroup);t._wLayoutGroup.setLayoutChildren(r)}}),n.addToQueue(Object(r.a)(g.a.mark(function e(){return g.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,t._initializeAllWObjects(n);case 2:case "end":return i.stop()}},e)}))),n.addToQueue(function(){var e,n,i=[t._pageWObject];webwave.isDef(u)&&(u.setAttached(!0),i.push(u)),null===(e=t._wLayoutGroup)|| 1184void 0===e||e.setBulkMode(!1),null===(n=t._wLayoutGroup)||void 0===n||n.setAttached(!0),t._pageWObject.setAttached(!0),t._rootWObject.setAttached(!0),t._rootWObject.swapChildren(i),t._rootWObject.setBulkMode(!1)}),n.addToQueue(function(){t._loadAllRelations()}),n.addToQueue(this.relationManagerService.shakeIt.bind(this.relationManagerService,{async:!0})),n.addToQueue(function(){t._enabledAndUpdateDomElementPositionForAllObjects()}),h.abrupt("return",new Promise(function(e){n.addToQueue(function(){e()}), 1185n.dequeue()}));case 17:case "end":return h.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"getObjectById",value:function e(t){return this._objects[t]}},{key:"getWObjectById",value:function e(t){return this._objects[t]}},{key:"onRwdModeChange",value:function e(t){for(var n in this._objects)if(this._objects.hasOwnProperty(n)){var i=this._objects[n];i!==this._rootWObject&&i!==this._pageWObject&&i.updateObjectForRwdChange(t)}}},{key:"findAllWObjectsByClass",value:function e(t){return this.findAllWObjectsByClasses([t])}}, 1186{key:"findAllWObjectsByClasses",value:function e(t){var n=[],i;for(var r in this._objects)if(this._objects.hasOwnProperty(r)){i=this._objects[r];var a=he(t),o;try{for(a.s();!(o=a.n()).done;){var s;if(i instanceof o.value){n.push(i);break}}}catch(e){a.e(e)}finally{a.f()}}return n}},{key:"getAllWGroups",value:function e(){var t=[],n;for(var i in this._objects)this._objects.hasOwnProperty(i)&&(n=this._objects[i])instanceof com.webwave.publication.object.WGroup&&t.push(n);return t}},{key:"countWObjectsByClass", 1187value:function e(t){return this.findAllWObjectsByClass(t).length}},{key:"getAllFixedObjects",value:function e(){var t=[],n={};for(var i in this._objects)this._objects.hasOwnProperty(i)&&(n=this._objects[i]).isFixed()&&t.push(n);return t}},{key:"getAllFullWidthObjects",value:function e(){var t=[],n={};for(var i in this._objects)this._objects.hasOwnProperty(i)&&(n=this._objects[i]).isFullWidth()&&t.push(n);return t}},{key:"findAllWObjects",value:function e(t){var n=[];for(var i in this._objects)this._objects.hasOwnProperty(i)&& 1188(webwave.isFunction(t)?!0===t(this._objects[i])&&n.push(this._objects[i]):n.push(this._objects[i]));return n}},{key:"findAllWObjectsByType",value:function e(t){return this.findAllWObjects(function(e){return e.getType()===t})}},{key:"updateObjectsAfterWindowResize",value:function e(){for(var t=this.findAllWObjects(function(e){return e.isFullWidth()||e.isFixed()||e.isSticked()||e.getPositionOrigin()===S.a.SCREEN_TOP_LEFT||e.getPositionOrigin()===S.a.SCREEN_TOP_RIGHT||e.isObjectSizeAndPositionShouldBeConvertedToPX()}), 1189n=0;n<t.length;n++)t[n].updateDomSizeAndPosition();webwave.isDefAndNotNull(this.menutoolService)&&this.menutoolService.updateMenusAfterWindowResize(),this.updateAllFontDependentWObjects()}},{key:"updateRotatedObjectsAfterFontsHasBeenLoaded",value:function e(){for(var t=this.findAllWObjects(function(e){return e.isRotated()}),n=0;n<t.length;n++)t[n].updateDomSize()}},{key:"isFontDependent",value:function e(t){for(var n=[com.webwave.publication.object.WSimpleText,com.webwave.publication.object.WText, 1190com.webwave.publication.object.WForm,com.webwave.publication.object.WMenu,com.webwave.publication.object.WLightbox,com.webwave.publication.object.WNewsfeed],i=0;i<n.length;i++)if(t instanceof n[i])return!0;return!1}},{key:"updateAllFontDependentWObjects",value:function e(){for(var t=this,n=this.findAllWObjects(function(e){return t.isFontDependent(e)}),i=0;i<n.length;i++)n[i].updateMinSize()}},{key:"_assignCustomLayoutData",value:function e(t){if(!webwave.isNotDefOrNull(t))for(var n in t)if(t.hasOwnProperty(n)&& 1191this._objectsData.hasOwnProperty(n))for(var i in t[n])t[n].hasOwnProperty(i)&&this._objectsData[n].rwdProperties.hasOwnProperty(i)&&(webwave.isDef(t[n][i].position)&&(this._objectsData[n].rwdProperties[i].position=t[n][i].position),webwave.isDef(t[n][i].size)&&(this._objectsData[n].rwdProperties[i].size=t[n][i].size))}},{key:"loadObjectsData",value:function e(){try{this._objectsData={}
1191,Object.assign(this._objectsData,window.WW_OBJECTS_STORE),webwave.isDefAndNotNull(window.WW_LAYOUT_OBJECTS_STORE)&& 1192Object.assign(this._objectsData,window.WW_LAYOUT_OBJECTS_STORE),this._assignCustomLayoutData(p.a.parseJsonFromNodeWithId(ye,!0))}catch(e){console.error("Error during object data loading",e),this._objectsData={}}}},{key:"_loadLayoutObjectVisibility",value:function e(){try{var t=$("#ww-layout-objects-visibility");1===t.length&&(this._layoutObjectsVisibility=JSON.parse(t.html()),t.remove())}catch(e){console.error("Error during loading layout objects visibility",e)}}},{key:"getObjectsData",value:function e(){return this._objectsData}}, 1193{key:"getLayoutObjectsVisibility",value:function e(){return this._layoutObjectsVisibility}},{key:"getLayoutObjectVisibility",value:function e(t){var n=this._layoutObjectsVisibility;return webwave.isDefAndNotNull(n)&&webwave.isDef(n[t])?n[t]:null}},{key:"getObjectData",value:function e(t){return webwave.isDefAndNotNull(this._objectsData)&&webwave.isDef(this._objectsData[t])?this._objectsData[t]:null}},{key:"setObjectData",value:function e(t,n){return webwave.isDefAndNotNull(this._objectsData)?this._objectsData[t]= 1194n:null}},{key:"setMenutoolService",value:function e(t){this.menutoolService=t}},{key:"collectWObjectsByIds",value:function e(t){for(var n=[],i=0;i<t.length;i++){var r=this.getWObjectById(t[i]);webwave.isDefAndNotNull(r)&&n.push(r)}return n}},{key:"setPageAreaService",value:function e(t){this.pageAreaService=t}},{key:"setInteractionsService",value:function e(t){this.interactionsService=t}},{key:"setRelationManagerService",value:function e(t){this.relationManagerService=t}},{key:"setOrderPopupService", 1195value:function e(t){this.orderPopupService=t}},{key:"getOrderPopupService",value:function e(){return this.orderPopupService}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils=t}},{key:"setAnimator",value:function e(t){this._animator=t}},{key:"getAnimator",value:function e(){return this._animator}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},{key:"loadWObjectRelations", 1196value:function e(t){var n=t.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=this.getWObjectById(n[i].getOtherWNodeId(t.getId()));webwave.isDefAndNotNull(r)&&t.isAttached()&&r.isAttached()&&this.relationManagerService.createAndAddRelation(n[i],!0)}}},{key:"removeAllRelationsByWObject",value:function e(t){var n=t.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=this.getWObjectById(i);webwave.isDefAndNotNull(r)&&this.relationManagerService.removeRelation(t,r)}}},{key:"loadWObjectsRelations", 1197value:function e(t){for(var n=0;n<t.length;n++){var i=t[n];this.loadWObjectRelations(i),this.loadWObjectsRelations(i.getChildren())}}},{key:"_loadAllRelations",value:function e(){this.loadWObjectsRelations(this.findAllWObjects())}},{key:"setPageCanvas",value:function e(t){this.pageCanvas=t}},{key:"normal2FixedCoords",value:function e(t){var n=this.getPageareaOffset();return new w.a({x:t.getX()+n.left,y:t.getY()+n.top})}},{key:"getPageareaOffset",value:function e(){return{left:this.pageAreaService.getContainerX(), 1198top:0}}},{key:"getRootWObject",value:function e(){return this._rootWObject}},{key:"updateRelationsByWObject",value:function e(){}},{key:"setWIntersectionObserver",value:function e(t){this.wIntersectionObserver=t}},{key:"initLazyLoadForObjects",value:function e(){var t,n=he(this.findAllWObjects()),i;try{for(n.s();!(i=n.n()).done;){var r;i.value.addImgLazyLoad()}}catch(e){n.e(e)}finally{n.f()}}},{key:"initObjectInViewportListeners",value:function e(){var t,n=he(this.findAllWObjects()),i;try{for(n.s();!(i= 1199n.n()).done;){var r;i.value.addObjectInViewPortListener()}}catch(e){n.e(e)}finally{n.f()}}},{key:"updatePercentDependentObjectParams",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.findAllWObjects().filter(function(e){var n=e.getPosition(),i=e.getSize();return!0===t.vertical&&(n.getYUnit()===y.a.PERCENT||i.getHeightUnit()===y.a.PERCENT)||!0===t.horizontal&&(n.getXUnit()===y.a.PERCENT||i.getWidthUnit()===y.a.PERCENT)}),i=0;i<n.length;i++)n[i].updateDomSizeAndPosition()}}, 1200{key:"restoreBindsFromJSON",value:function e(t,n){var i,r=null===(i=this.rwdService)||void 0===i?void 0:i.getCurrentMode();for(var a in n)if(n.hasOwnProperty(a)){var o,s=n[a],u=s.relatedWNodes[0]!==t.getId()?s.relatedWNodes[0]:s.relatedWNodes[1],c=this.getWObjectById(u),l=null===c||void 0===c?void 0:c._halfBinds[t.getId()];!1===webwave.isDefAndNotNull(l)||(null===(o=l)||void 0===o?void 0:o.getRwdModeId())!==r.getId()?(s.rwdModeId=r.getId(),l=new R.a(s),t._halfBinds[u]=l):(delete c._halfBinds[t.getId()], 1201c.getBinds()[t.getId()]=l,t.getBinds()[a]=l)}}},{key:"detachBinds",value:function e(t){var n=t.getBinds();for(var i in n)if(n.hasOwnProperty(i)){var r=n[i],a=this.getWObjectById(r.getOtherWNodeId(t.getId())),o=null===a||void 0===a?void 0:a.getBinds();webwave.isDef(a)&&o.hasOwnProperty(t.getId())&&(delete o[t.getId()],delete n[i],a._halfBinds[t.getId()]=r)}t._halfBinds={},t.setBinds({})}},{key:"findAllStickyWObjects",value:function e(){return this.findAllWObjects().filter(function(e){return e.isSticky()})}}, 1202{key:"findAllWObjectsWithAnimationOnScroll",value:function e(){return this.findAllWObjects().filter(function(e){return e.isScrollAnimationEnabled()})}},{key:"updateStickyWNodes",value:function e(){for(var t=this.findAllStickyWObjects(),n=0;n<t.length;n++)t[n].isVisibleForInFlow()&&t[n].updateDomPosition()}},{key:"updateAnimationOnScrollWObjects",value:function e(){for(var t,n=this.findAllWObjectsWithAnimationOnScroll(),i=0;i<n.length;i++)t=n[i],this.interactionsService.updateWObjectScrollVisibility(t)}}, 1203{key:"onPageAreaScrollChange",value:function e(t,n){n!=t&&(this.updateStickyWNodes(),this.updateAnimationOnScrollWObjects())}},{key:"findAllWCounters",value:function e(){return this.findAllWObjectsByClass(I.a)}},{key:"findAllWMenus",value:function e(){return this.findAllWObjectsByClass(com.webwave.publication.object.WMenu)}},{key:"findAllWElementsSupportedKenBurns",value:function e(){return this.findAllWObjectsByClasses(n.KEN_BURNS_CLASSES)}},{key:"createSelectorForObjectTypes",value:function e(t){var i= 1204"";if(t.length>0){var r=he(t),a;try{for(r.s();!(a=r.n()).done;){var o=a.value;i+="[".concat(n.OBJECT_TYPE_ATTR_NAME,"=").concat(o,"],")}}catch(e){r.e(e)}finally{r.f()}i=i.substring(0,i.length-1)}return i}},{key:"_enabledAndUpdateDomElementPositionForAllObjects",value:function e(){var t,n=he(this.findAllWObjects()),i;try{for(n.s();!(i=n.n()).done;){var r=i.value;r.setDomElementPositionUpdateEnabled(!0),r.updateDomElementPosition()}}catch(e){n.e(e)}finally{n.f()}}},{key:"getNextSection",value:function e(t){var n= 1205this.getSections().indexOf(t);return n>=this.getSections().length-1?null:this.getSections()[n+1]}},{key:"getPreviousSection",value:function e(t){var n=this.getSections().indexOf(t);return n<1?null:this.getSections()[n-1]}},{key:"getSections",value:function e(){return this._sections}},{key:"_initializeAllWObjects",value:function(){var e=Object(r.a)(g.a.mark(function e(){var t,n,i,r,a;return g.a.wrap(function e(o){for(;;)switch(o.prev=o.next){case 0:t=new x.a({continueOnError:!0}),n=this.findAllWObjects(), 1206i=he(n);try{for(a=function e(){var n=r.value;t.addToQueue(function(){n.init()})},i.s();!(r=i.n()).done;)a()}catch(e){i.e(e)}finally{i.f()}return o.abrupt("return",new Promise(function(e){t.addToQueue(function(){e()}),t.dequeue()}));case 5:case "end":return o.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()}],[{key:"getInstance",value:function e(){return n.__instance}}]),n}(_.a),le.KEN_BURNS_CLASSES=[N.a,D.a,B.a],le.LAYOUT_GROUP_ATTRIBUTE_TYPE="WLayoutGroup",le.OBJECT_TYPE_ATTR_NAME= 1207"data-element-type",te=de,ne=Object(h.a)(te.prototype,"backgroundParallaxService",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=Object(h.a)(te.prototype,"elementRotationService",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=Object(h.a)(te.prototype,"modularObjectContentService",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ae=Object(h.a)(te.prototype,"storeAnalyticsManager",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}), 1208oe=Object(h.a)(te.prototype,"pageService",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}
1208),se=Object(h.a)(te.prototype,"rwdService",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=Object(h.a)(te.prototype,"userService",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ce=Object(h.a)(te.prototype,"feedService",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=te))||ee)},2873:function(e,t,n){n.d(t,"a",function(){return a});var i= 1209n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"renderCounterText",value:function t(n){return n>e.MAX_COUNT?"+".concat(e.MAX_COUNT):"".concat(n)}}]),e}();a.MAX_COUNT=99},2874:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this.animationQueueItem=null,this.wObject=null,this.animationPlayed=!1,this.wObject=t,this.wObject.addWObjectEventListener(this)}return Object(r.a)(e,[{key:"updateAnimationStartPoint", 1210value:function e(){null!==this.animationQueueItem&&this.animationQueueItem.updateAnimationStartPoint()}},{key:"wObjectSizeChanged",value:function e(){this.updateAnimationStartPoint()}},{key:"wObjectPositionChanged",value:function e(){this.updateAnimationStartPoint()}},{key:"wObjectVisibilityChanged",value:function e(){}},{key:"setAnimationQueueItem",value:function e(t){this.animationQueueItem=t,null===t&&(this.animate(),this.setAnimationPlayed(!1))}},{key:"_tryToPlayCounterAnimation",value:function e(){var t= 1211this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._canPlayAnimation(n)&&(this.wObject.playCounterAnimation({onComplete:function e(){null!==t.animationQueueItem&&t.animationQueueItem.setCounterAnimationFinished(),t.setAnimationPlayed(!1)}}),this.setAnimationPlayed(!0))}},{key:"onShowAnimationStart",value:function e(){this._tryToPlayCounterAnimation({playInvisibleOrWithAnimationEnabled:!0})}},{key:"animate",value:function e(){this._tryToPlayCounterAnimation()}},{key:"setAnimationPlayed", 1212value:function e(t){this.animationPlayed=t}},{key:"onInteractionVisibilityChange",value:function e(){this._tryToPlayCounterAnimation()}},{key:"_canPlayAnimation",value:function e(){var t;return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).playInvisibleOrWithAnimationEnabled||this.wObject.isVisible()&&!1===this.wObject.isAnimationEnabled())&&!1===this.animationPlayed&&!1===this.wObject.getCounterAnimationData().getOnlyOnce()}}]),e}()},2875:function(e,t,n){var i=n(0),r=n(1),a=n(18),o= 1213n(3),s=n(4),u=n(2),c=n(2226),l=n(3002);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f= 1214function e(t){return function(e){Object(o.a)(n,e);var t=d(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"onVisibilityChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.getCounterAnimationManager().onInteractionVisibilityChange()}},{key:"beforeShowRealAnimationStart",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"beforeShowRealAnimationStart",this).call(this),this.getCounterAnimationManager().onShowAnimationStart()}}, 1215{key:"formatNumber",value:function e(t){var n=this.getCounterAnimationData(),i=n.getSeparators().getThousandsPlaceSeparator(),r;return n.getValues().getFinalValue().printFormattedValue(t,i)}},{key:"generateFinalNumber",value:function e(){return this.getCounterAnimationData().getValues().getFinalValue().printFormattedValue()}},{key:"stopCounterAnimation",value:function e(){null!==this.getCounterAnimation()&&(this.getCounterAnimation().stop(!0),this.setCounterAnimation(null))}},{key:"playCounterAnimation", 1216value:function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.stopCounterAnimation();var i=new c.a,r=this.getCounterAnimationData().getValues().getOwnAnimationStartNumberEnabled()?this.getCounterAnimationData().getValues().getInitialValue().getValue():0;this.setCounterAnimation(new l.a({easing:"easeOutQuint",element:this.getAnimationElement(),initialValue:r,finalValue:this.getCounterAnimationData().getValues().getFinalValue().getValue(),duration:this.getCounterAnimationData().getValues().getAnimationTime(), 1217formatFunction:this.formatNumber.bind(this),onComplete:function e(){t.setCounterAnimation(null),webwave.isFunction(n.onComplete)&&n.onComplete()},step:function e(){t.updateMinSize()}})),i.registerAnimation(this.getCounterAnimation())}},{key:"getCounterAnimation",value:function e(){throw"Not implemented";}},{key:"setCounterAnimation",value:function e(t){throw"Not implemented";}},{key:"getCounterAnimationManager",value:function e(){throw"Not implemented";}},{key:"getCounterAnimationData",value:function e(){throw"Not implemented"; 1218}},{key:"getAnimationElement",value:function e(){throw"Not implemented";}}]),n}(t)};t.a=f},2876:function(e,t,n){n.d(t,"a",function(){return k});var i=n(6),r=n(0),a=n(1),o=n(10),s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(1178),f=n(26),v=n(14),g=n.n(v),p=n(17),y,b,m,w,S;function O(e){var t=_();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function _(){if("undefined"==typeof Reflect|| 1219!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var k=(y=Object(v.injectable)(),b=Object(v.inject)(p.a.EnvironmentUtils),y((w=function(e){Object(s.a)(n,e);var t=O(n);function n(){var e;
1219return Object(r.a)(this,n),e=t.call(this),Object(i.a)(e,"environmentUtils",S,Object(o.a)(e)),e._orderPopup=null,e._selectProductVariantPopup=null,e._popupService= 1220null,e}return Object(a.a)(n,[{key:"getStoreSettings",value:function e(){throw new Error("not implemented");}},{key:"setOrderPopup",value:function e(t){this._orderPopup=t}},{key:"setPopupService",value:function e(t){this._popupService=t}},{key:"setSelectPopupVariantPopup",value:function e(t){this._selectProductVariantPopup=t}},{key:"showPopup",value:function e(t){var n=this;if(this._orderPopup)if(webwave.isDef(t)){var i=t.getProductId();this.getProductData(i).then(function(e){var t=new h.a(e.data); 1221t.isAvailable()?0===t.getNotEmptyVariant().length?n._orderPopup.show(t):n._selectProductVariantPopup.show(t,n._orderPopup.getLanguageId(),n._orderPopup.show.bind(n._orderPopup)):n._showNotAvailableProductPopup()}).catch(function(e){webwave.error(e),n._showNotAvailableProductPopup()})}else this._orderPopup.show()}},{key:"hide",value:function e(){this._orderPopup.hide()}},{key:"getProductData",value:function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(e, 1222r){webwave.utils.makeAjxaCall({url:"/v2/shop/getProductDetails/".concat(t),data:{website:n.environmentUtils.getWebsiteId()},noLoadingBox:!webwave.isBoolean(i.noLoadingBox)||i.noLoadingBox,noErrorPopup:!0},e,r)})}},{key:"_getTranslation",value:function e(){throw new Error("not implemented");}},{key:"_showNotAvailableProductPopup",value:function e(){var t=this._getTranslation();this._popupService.showUnexpectedErrorWarning({text:t.getTranslate("productNotAvailableException_text"),title:t.getTranslate("productNotAvailableException_title"), 1223yesLabel:t.getTranslate("productNotAvailableException_yesLabel")})}},{key:"getOrderClientData",value:function e(){return this._orderPopup.getOrderClientData()}},{key:"getOrderItems",value:function e(){return this._orderPopup.getOrderItems()}}]),n}(f.a),S=Object(l.a)(w.prototype,"environmentUtils",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function e(){return null}}),m=w))||m)},2877:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this, 1224e)}return Object(r.a)(e,null,[{key:"getElementsByClassName",value:function e(t){return document.getElementsByClassName(t)}},{key:"existElementWithClassName",value:function t(n){return e.getElementsByClassName(n).length>0}},{key:"getDOMElementStylePropertyValue",value:function e(t,n){var i;return webwave.isDefAndNotNull(t)&&(i=t.style[n]),i}},{key:"setDOMElementStylePropertyValue",value:function e(t,n,i){webwave.isDefAndNotNull(t)&&(t.style[n]=i)}}]),e}()},2878:function(e,t,n){n.d(t,"a",function(){return f}); 1225var i=n(0),r=n(1),a=n(14),o=n.n(a),s=n(1726),u,c;function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 1226}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function d(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null== 1227t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var f=(u=Object(a.injectable)())(c=function(){function e(){Object(i.a)(this,e),this._storeCarts=[]}return Object(r.a)(e,[{key:"onPropertyChange",value:function e(t){switch(t.propertyName){case s.a.PRODUCT_COUNTER_PROPERTY_NAME:this._onProductCountChange(t.newValue);break}}},{key:"updateStoreCartsList",value:function e(){throw new Error("Not implemented");}},{key:"_onProductCountChange",value:function e(t){var n=l(this._storeCarts), 1228i;try{for(n.s();!(i=n.n()).done;){var r;i.value.onProductCountChange(t)}
1228}catch(e){n.e(e)}finally{n.f()}}}]),e}())||c},2879:function(e,t,n){t.a={LOCAL_STORAGE_CLIENT_DATA_KEY:"clientData",LOCAL_STORAGE_ITEMS_KEY:"items"}},2880:function(e,t,n){n.d(t,"a",function(){return w});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2228),c=n(2050),l=n(1726),d=n(14),h=n.n(d),f,v;function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"== 1229typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s; 1230}}}}function p(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor; 1231r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var w=(f=Object(d.injectable)())(v=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r), 1232o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._orderItems=[],e}return Object(r.a)(n,[{key:"addItem",value:function e(t){this.getOrderItemsByCurrentLang().push(t),this._onStoreItemsChange()}},{key:"addItemFromProductData",value:function e(t){var n=this.findItemByProduct(t);n?n.setProductDataAndChangeCount(t):this.addItem(new c.a(t)),this._onStoreItemsChange()}},{key:"cleanOrderItemsInCurrentLang",value:function e(){var t=this.getLanguageId();this._orderItems=this._orderItems.filter(function(e){return e.language!== 1233t}),this._onStoreItemsChange()}},{key:"decreaseItemCount",value:function e(t){var n=this.findItemByProductId(t);n&&(n.decreaseCount(),0===n.getCount()&&this.removeItem(t)),this._onStoreItemsChange()}},{key:"findItemByProduct",value:function e(t){return this.getOrderItemsByCurrentLang().find(function(e){return e.equals(t)})}},{key:"findIndexItemByProductId",value:function e(t){return this.getOrderItemsByCurrentLang().findIndex(function(e){return e._productData.getIdForOrderItem()===t})}},{key:"findItemByProductId", 1234value:function e(t){return this.getOrderItemsByCurrentLang().find(function(e){return e._productData.getIdForOrderItem()===t})}},{key:"getLanguageId",value:function e(){throw new Error("Not implemented");}},{key:"getOrderItemsByCurrentLang",value:function e(){var t=this.getLanguageId(),n=this._orderItems.filter(function(e){return e.language===t})[0];return!1===webwave.isDef(n)&&(n={language:this.getLanguageId(),items:[]},this._orderItems.push(n)),n.items}},{key:"setItemCount",value:function e(t,n){var i= 1235this.findItemByProductId(t);i&&i.setCount(n),this._onStoreItemsChange()}},{key:"incrementItemCount",value:function e(t){var n=this.findItemByProductId(t);n&&n.incrementCount(),this._onStoreItemsChange()}},{key:"removeItem",value:function e(t){var n=this.findIndexItemByProductId(t);n>-1&&this.getOrderItemsByCurrentLang().splice(n,1),this._onStoreItemsChange()}},{key:"_dispatchItemCountForListeners",value:function e(t){this.triggerPropertyChange(l.a.PRODUCT_COUNTER_PROPERTY_NAME,t)}},{key:"_getItemsCount", 1236value:function e(){var t,n=0,i=g(this.getOrderItemsByCurrentLang()),r;try{for(i.s();!(r=i.n()).done;){var a;n+=r.value.getCount()}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"_onStoreItemsChange",value:function e(){this._dispatchItemCountForListeners(this._getItemsCount())}}]),n}(u.a))||v},297:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(2155),o=n(1297),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._clientTranslation= 1237t.clientTranslation,this._defaultTranslation=new o.a(a.a),this._storeTranslation=t.storeTranslation}return Object(r.a)(e,[{key:"setStoreTranslation",value:function e(t){this._storeTranslation=t}},{key:"getTranslate",value:function e(t){return webwave.isDefAndNotNull(this._clientTranslation)&&webwave.isStringAndNotEmpty(this._clientTranslation.getValueByKey(t))?this._clientTranslation.getValueByKey(t):i18n.t(this._defaultTranslation[t])}},{key:"getTranslationCustom",value:function e(t){return webwave.isDefAndNotNull(this._clientTranslation)&& 1238webwave.isStringAndNotEmpty(this._clientTranslation.getValueByKey(t))?this._clientTranslation.getValueByKey(t):this._getDefaultCustomValue(t)}},{key:"_getDefaultCustomValue",value:function e(t){if(webwave.isDefAndNotNull(this._storeTranslation)){switch(t){case "orderClientDataZipCode":return this._storeTranslation.getOrderClientDataTranslations().getZipCodeLabel();case "orderClientDataTaxId":return this._storeTranslation.getOrderClientDataTranslations().getTax
1238IdLabel();case "taxValue":return this._storeTranslation.getOrderSummaryTranslations().getTaxValueLabel()}return""}}}]), 1239e}()},2972:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"parseBoxShadow",function(){return Y}),n.d(t,"locationService",function(){return G}),n.d(t,"initialiseModules",function(){return H});var i=n(2695),r=n(2973),a=n.n(r),o=n(2865),s=n(11),u=n.n(s),c=n(1720),l=n(1660),d=n(1795),h=n(2075),f=n(2643),v=n(2644),g=n(2217),p=n(2645),y=n(2975),b=n(2646),m=n(2976),w=n(2647),S=n(2649),O=n(2650),_=n(2980),k=n(2651),P=n(2981),A=n(2982),E=n(2984),I=n(2985),C=n(2221),T=n(2986),N=n(2996), 1240D=n(2997),j=n(2998),R=n(2999),L=n(3E3),x=n(2222),M=n(2659),B=n(2223),V=n(2224),F=n(2661),W=n.n(F),U=n(931);function z(e){s.Environment.isNotTest()&&setTimeout(function(){e.main()},0)}function H(e){var t=window.WWNamespace;document.addEventListener("DOMContentLoaded",function(){var n=window[t.LOAD_MODULE_SERVICE],i=[n.addListener(window[t.MODULES].GALLERY_LIB),n.addListener(window[t.MODULES].I18N),n.addListener(window[t.MODULES].JQUERY),n.addListener(window[t.MODULES].OBJECTS_STORE),n.addListener(window[t.MODULES].PHOTOSWIPE)]; 1241webwave.isDefAndNotNull(document.querySelector('script[data-store-type="layout"]'))&&i.push(n.addListener(window[t.MODULES].LAYOUT_OBJECTS_STORE)),window[t.LOAD_MODULE_SERVICE].waitForAll(i,z.bind(null,e))})}n.d(t,"publicationStylesEntry",function(){return i.default}),n.d(t,"publication",function(){return a.a}),n.d(t,"RwdService",function(){return o.a}),n.o(s,"Environment")&&n.d(t,"Environment",function(){return s.Environment}),n.d(t,"WObject",function(){return c.a}),n.d(t,"WElement",function(){return l.a}), 1242n.d(t,"LinkWElement",function(){return d.a}),n.d(t,"WGroup",function(){return h.a}),n.d(t,"RootWObject",function(){return f.a}),n.d(t,"PageWObject",function(){return v.a}),n.d(t,"WButton",function(){return g.a}),n.d(t,"WSnipcartProduct",function(){return p.a}),n.d(t,"WSnipcartShopCart",function(){return y.a}),n.d(t,"WFooter",function(){return b.a}),n.d(t,"WLightbox",function(){return m.a}),n.d(t,"WGallery",function(){return w.a}),n.d(t,"WSlider",function(){return S.a}),n.d(t,"WSimpleText",function(){return O.a}), 1243n.d(t,"WText",function(){return _.a}),n.d(t,"WImg",function(){return k.a}),n.d(t,"WLoginTool",function(){return P.a}),n.d(t,"WGoogleMaps",function(){return A.a}),n.d(t,"WRectangle",function(){return E.a}),n.d(t,"WMenu",function(){return I.default}),n.d(t,"WHtmlTool",function(){return C.a}),n.d(t,"WNewsfeed",function(){return T.a}),n.d(t,"WFbComments",function(){return N.a}),n.d(t,"WSocialMedia",function(){return D.a}),n.d(t,"WLanguageSelector",function(){return j.a}),n.d(t,"WForm",function(){return R.a}), 1244n.d(t,"WDate",function(){return L.a}),n.d(t,"WMediaPlayer",function(){return x.a}),n.d(t,"Html5Video",function(){return M.a}),n.d(t,"VimeoVideo",function(){return B.a}),n.d(t,"YoutubeVideo",function(){return V.a});var G=com.webwave.utils.location.locationService,Y=com.webwave.util.cssUtils.parseBoxShadow},2973:function(e,t){},2974:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a= 1245Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this))._lockDate=Date.now(), 1246e}return Object(r.a)(n,[{key:"isLocked",value:function e(){var t;return Date.now()<this._lockDate+n.LOCK_DURATION_MS}}]),n}(n(2069).a);d.LOCK_DURATION_MS=500},2975:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1670),c;function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect|| 1247!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).linkData=new u.a,r}return Object(r.a)(n,[{key:"getLinkData",value:function e(){return this.linkData}}]),n}(n(1808).a)},2976:function(e,t,n){n.d(t,"a",function(){return O});var i=n(0), 1248r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2219),l=n(922),d=n(2191),h=n(40),f=n(11),v=n.n(f),g=n(1327),p=n(1777),y=n(31);function b(e){var t=m();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1249[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WLightbox");var w,S={horizontal:["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],vertical:["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"]},O=function(e){Object(o.a)(n,e);var t=b(n);function n(e){var r;if(Object(i.a)(this,n),(r=t.call(this,e)).layout=e.layout,r.imagesInRow=e.imagesInRow,r._imagesLinkData=[],webwave.isArrayLike(e.imagesLinkData))for(var a=e.imagesLinkData,o= 12500;o<a.length;o++)r._imagesLinkData.push(l.a.createLink(a[o]));return r._initLightboxImageClick(),r._imageGroups=[],r._renderedImages=[],r._imageSpacing=0,r._imageHeight=0,r._cropType=e.cropType,r._readImagesFromDom(),r}return Object(r.a)(n,[{key:"_initLightboxImageClick",value:function e(){for(var t=this,n,i=this.getDomObject().find(".lightbox_wrapper"),r=0;r<i.length;r++){var a=$(i[r]).find('a[data-link-type="interactionLinkData"]');a.length>0?a.on("click",function(e){e.preventDefault();var n=t.getImageIndex($(this)); 1251t._handleInteractionsLinkClick(t._imagesLinkData[n])}):$(i[r]).find("a[data-lightbox]").on("click",function(e){e.preventDefault(),t.openLightboxPlugin(t.getImageIndex($(this)))})}}},{key:"getImageIndex",value:function e(t){return t.closest(".lightbox_wrapper").index()}},{key:"_createPhotoSwipeImageMapByLightboxImage",value:function e(t){var n=t.find(".lightbox_image"),i=t.find("img"),r="",a=i.attr("title");webwave.isDef(a)&&""!=a&&(r+="<div><b>"+a+"</b></div>");var o=n.attr("data-description");
1251webwave.isDef(o)&& 1252""!=o&&(r+="<div>"+o+"</div>");var s=n.attr("url");return webwave.isDef(s)&&""!=s&&(r+='<div><a href="'+f.StringUtils.getValidHref(s)+'" class="ww_customStyle_custom_link" target="_blank">'+s+"</a></div>"),{src:n.attr("href"),w:n.attr("data-width"),h:n.attr("data-height"),msrc:i.attr("src"),title:r,el:i[0]}}},{key:"getImages",value:function e(){return this.getLightboxWrapper().find(".lightbox_wrapper")}},{key:"getImgDomElements",value:function e(){return this.getLightboxWrapper().find("img")}},{key:"openLightboxPlugin", 1253value:function e(t){for(var n=[],i=this.getImages(),r=0;r<i.length;r++)n.push(this._createPhotoSwipeImageMapByLightboxImage($(i[r])));this.getPhotoswipeService().openAsLightbox(n,t)}},{key:"_updateImageContainerSize",value:function e(){var t=this.getLightboxWrapperEl();if(webwave.isDefAndNotNull(t)){var n="auto";switch(this.getLayout()){case p.a.MASONRY_VERTICAL:for(var i=0,r=0;r<this._imageGroups.length;r++){for(var a=0,o=0;o<this._imageGroups[r].length;o++){var s=this._imageGroups[r][o],u=window.getComputedStyle? 1254getComputedStyle(s,null):s.currentStyle,c=parseFloat(u.marginTop)||0;a+=s.getBoundingClientRect().height+c}i=Math.max(i,a)}n=i+"px";break}t.style.height=n}}},{key:"getLightboxWrapper",value:function e(){return this.getContent().find(".ww_lightbox")}},{key:"getLightboxWrapperEl",value:function e(){return this.cachedDom.lightboxWrapper}},{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.lightboxWrapper=i.content.children[0],i}},{key:"calculateMinContentSize", 1255value:function e(){this._updateImageContainerSize();var t=this.getLightboxWrapperEl(),n=0===this.getRenderedImages().length?this.getImageHeight():0;return new h.a({width:0,height:webwave.isDefAndNotNull(t)?t.scrollHeight:n})}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.isVisible()&&this.updateMinSize()}},{key:"_cacheImageGroups",value:function e(){this._imageGroups= 1256[];for(var t=0;t<this.imagesInRow;t++)this._imageGroups.push([]);for(var n=this.getImages(),i=0;i<n.length;i++){var r=n[i],a=$(r).css("order");webwave.isDef(this._imageGroups[a])&&this._imageGroups[a].push(r)}}},{key:"_clearImageWrapperSizes",value:function e(){if(this.isInitialized())for(var t=this.getRenderedImages(),n=0;n<t.length;n++){var i,r=t[n].getDomObject();r[0].style.width="",r[0].style.height=""}}},{key:"onLayoutChange",value:function e(t,n){n===p.a.MASONRY_VERTICAL&&t!==p.a.MASONRY_VERTICAL&& 1257this._clearImageWrapperSizes(),this.updateAutoHeight()}},{key:"setLayout",value:function e(t){var n=this.layout;this.layout=t,n!==t&&this.onLayoutChange(t,n)}},{key:"getLayout",value:function e(){return this.layout}},{key:"setImagesInRow",value:function e(t){this.imagesInRow=t}},{key:"setImageSpacing",value:function e(t){this._imageSpacing=t}},{key:"setImageHeight",value:function e(t){this._imageHeight=t}},{key:"getImageHeight",value:function e(){return this._imageHeight}},{key:"loadAdditionalData", 1258value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"loadAdditionalData",this).call(this,t),this.setImagesInRow(t.imagesInRow),this.setLayout(t.layout),this.setImageSpacing(t.imageSpacing),this.setImageHeight(t.imageHeight),this._cacheImageGroups(),this._readImagesFromDom(),this.updateInnerSizes()}},{key:"getImagesInRow",value:function e(){return this.imagesInRow}},{key:"getImageSpacing",value:function e(){return this._imageSpacing}},{key:"_countDynamicImageWidth",value:function e(){var t=this.getImagesInRow(); 1259return parseInt((this.getInnerWidth()-(t-1)*this.getImageSpacing())/t)}},{key:"_readImagesFromDom",value:function e(){this._renderedImages=[];for(var t=this.getImages(),n=0;n<t.length;n++){var i,r=$(t[n]).find("img"),a=parseInt(r.attr("width")),o=parseInt(r.attr("height"));this._renderedImages.push(new d.a({domObject:$(t[n]),width:a,height:o}))}}},{key:"getRenderedImages",value:function e(){return this._renderedImages}},{key:"_updateMasonryVerticalInnerSizes",value:function e(){for(var t=this._countDynamicImageWidth(), 1260n=this._readImageBorderAndPadding(),i=this.getRenderedImages(),r=0;r<i.length;r++){var a=i[r],o=a.getDomObject(),s=a.getDomObject().find("img"),u=a.getDomObject().find(".lightbox_title"),c=a.getWidth(),l=a.getHeight(),d=t-n.horizontal,h=d/c,f=Math.round(l*h),v=u.length>0?u.outerHeight():0;o[0].style.width=t+"px",o[0].style.height=f+n.vertical+v+"px",s.attr("width",d),s.attr("height",f)}i.length>=this.getImagesInRow()&&this._distributeUnallocatedWrapperSpaceInMasonry()}},{key:"getImageCropType",value:function e(){return this._cropType}}, 1261{key:"hasCoverCropType",value:function e(){return this.getImageCropType()===c.a.CROP}},{key:"_readImageBorderAndPadding",value:function e(){var t=this.getDomObject().find(".image_lightbox_outer_wrapper"),n={vertical:0,horizontal:0};if(t.length>0)for(var i in S)if(S.hasOwnProperty(i))for(var r=0;r<S[i].length;r++){var a=parseInt(t.css(S[i][r]));!1===isNaN(a)&&(n[i]+=a)}return n}},{key:"_updateFluidWidthInnerSizes",value:function e(){for(var t=this._countDynamicImageWidth(),n=this._readImageBorderAndPadding(), 1262i=this.getRenderedImages(),r=this.getImagesInRow(),a=Math.floor(this._getSpaceDifferenceBetweenWrapperAndContent()),o=Math.trunc(a/r),s=Math.trunc(a%r),u=0!==s?Math.sign(s):0,c=Math.abs(s),l=i.length>=r,d=0;d<i.length;d++){var h=i[d],f=h.getDomObject(),v=h.getDomObject().find("img"),g=h.getWidth(),p=h.getHeight(),y=t,b,m,w=(t-n.horizontal)/g,S=f.find(".
1262image_lightbox_outer_wrapper").height()/p,O=void 0,_=g*(O=this.hasCoverCropType()?Math.max(w,S):Math.min(w,S)),k=p*O;v.attr("height",k),y+=o,_+=o, 1263l&&d%this.getImagesInRow()<c&&(y+=u,_+=u),f[0].style.width=y+"px",v.attr("width",_)}}},{key:"updateInnerSizes",value:function e(){if(!1!==this.isInitialized())switch(this.getLayout()){case p.a.MASONRY_VERTICAL:this._updateMasonryVerticalInnerSizes();break;case p.a.FLUID_WIDTH:this._updateFluidWidthInnerSizes();break}}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.updateInnerSizes(),this.updateMinSize()}},{key:"_isMasonryVertical", 1264value:function e(){return this.getLayout()===p.a.MASONRY_VERTICAL}},{key:"_isFluidWith",value:function e(){return this.getLayout()===p.a.FLUID_WIDTH}},{key:"computeAutoHeight",value:function e(){return this._isMasonryVertical()||this._isFluidWith()}},{key:"addImgLazyLoad",value:function e(){var t=this;Object(a.a)(Object(u.a)(n.prototype),"addImgLazyLoad",this).call(this),this.getImgDomElements().each(function(e,n){if(!0!==y.a.getValue("publicatedPageApp.disableLazyLoad")&&n.hasAttribute(g.a.LAZY_LOAD_ATTR_NAME)){var i= 1265new g.a(n);t.createDomWIntersectionObserved(i)}})}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},{key:"_distributeUnallocatedWrapperSpaceInMasonry",value:function e(){for(var t=this._getSpaceDifferenceBetweenWrapperAndContent(),n=this._countDynamicImageWidth(),i=0;i<this._imageGroups.length;i++)if(t>0){t--;for(var r=0;r<this._imageGroups[i].length;r++){var a=this._imageGroups[i][r],o;a.style.width= 1266"".concat(n+1,"px"),a.querySelector("img").setAttribute("width","".concat(n+1))}}}},{key:"_getImageWrapperWidth",value:function e(){var t=this.getLightboxWrapperEl();return webwave.isDefAndNotNull(t)?t.offsetWidth:0}},{key:"_getImageWrapperContentWidth",value:function e(){var t=this.getImageSpacing(),n=this.getImagesInRow();return this._countDynamicImageWidth()*n+t*(n-1)}},{key:"_getSpaceDifferenceBetweenWrapperAndContent",value:function e(){return this._getImageWrapperWidth()-this._getImageWrapperContentWidth()}}]), 1267n}(com.webwave.publication.object.LinkWElement);com.webwave.publication.object.WLightbox=O},2977:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1328),c=n(2648),l=n(40);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 1268if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._imageCropData=null,r._imageSrc=null,r._imageSize=null,r._croppedImageSrc=null,r._croppedImageSize=null,r._thumbnailSrc=null,r._thumbnailSize=null,r._useWebp=null,r}return Object(r.a)(n,[{key:"deserializeProperties",value:function e(t){return{imageCropData:webwave.isDefAndNotNull(t.imageCropData)? 1269new u.a(t.imageCropData):null,imageSize:webwave.isDefAndNotNull(t.imageSize)?new l.a(t.imageSize):null,imageSrc:t.imageSrc,croppedImageSrc:t.croppedImageSrc,croppedImageSize:webwave.isDefAndNotNull(t.croppedImageSize)?new l.a(t.croppedImageSize):null,thumbnailSrc:t.thumbnailSrc,thumbnailSize:webwave.isDefAndNotNull(t.thumbnailSize)?new l.a(t.thumbnailSize):null}}},{key:"applyProperties",value:function e(t){this._imageCropData=null===t||void 0===t?void 0:t.imageCropData,this._imageSrc=null===t||void 0=== 1270t?void 0:t.imageSrc,this._imageSize=null===t||void 0===t?void 0:t.imageSize,this._croppedImageSrc=null===t||void 0===t?void 0:t.croppedImageSrc,this._croppedImageSize=null===t||void 0===t?void 0:t.croppedImageSize,this._thumbnailSrc=null===t||void 0===t?void 0:t.thumbnailSrc,this._thumbnailSize=null===t||void 0===t?void 0:t.thumbnailSize}},{key:"getCropData",value:function e(){return this._imageCropData}},{key:"getImageSrc",value:function e(){return this._imageSrc}},{key:"getImageSize",value:function e(){return this._imageSize}}, 1271{key:"getThumbnailSrc",value:function e(){return this._thumbnailSrc}},{key:"getThumbnailSize",value:function e(){return this._thumbnailSize}},{key:"getUseWebp",value:function e(){return this._useWebp}},{key:"getCroppedImageSrc",value:function e(){return this._croppedImageSrc}},{key:"getCroppedImageSize",value:function e(){return this._croppedImageSize}}]),n}(c.a)},2978:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1754),c=n(1327);function l(e){var t=d(); 1272return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this, 1273n),(r=t.call(this))._galleryObject=e,r}return Object(r.a)(n,[{key:"getDomObject",value:function e(){return this.getGalleryObject().getDomObject()[0]}},{key:"getGalleryObject",value:function e(){return this._galleryObject}},{key:"enteredViewportHandler",value:function e(){var t=this.getGalleryObject();webwave.isDef(t)&&(this._handleLazyLoadImagesInHeader(t),t.initializeImages())}},{key:"_handleLazyLoadImagesInHeader",value:function e(t){for(var n,i=t._getGalleryImagesWrapper().querySelectorAll("img"), 1274r=0;r<i.length;r++){var a=i[r],o=a.getAttribute(c.a.LAZY_LOAD_ATTR_NAME);a.setAttribute("src",o)}}}]),n}(u.a)},2979:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 1275if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._href=e.href,r._target=e.target,r._samePage=e.samePage,r}return Object(r.a)(n,[{key:"getHref",value:function e(){return this._href}},{key:"getTarget",value:function e(){return this._target}},{key:"getSamePage",value:function e(){return this._samePage}}]), 1276n}(n(2220).a)},2980:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1756),l=n(40),d=n(11),h=n.n(d);function f(e){var t=v();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1277[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WText");var g,p=function(e){Object(o.a)(n,e);var t=f(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._rwdTextContent=new c.a($(e.domObject[0].childNodes[0].childNodes[0])),r._rwdTextContent.loadRwdTextProperties(),r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._addToImagesInsideEventListener(),this._addTolLinksEventListener(), 1278this._addPhotoSwipeEvent()}},{key:"calculateMinContentSize",value:function e(){var t,n=this.getTextFrameEl().offsetHeight;return new l.a({width:0,height:n})}},{key:"updateObjectForRwdChange",value:function e(t){this._rwdTextContent.loadRwdTextProperties(t),Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.updateMinSize()}},{key:"_addToImagesInsideEventListener", 1279value:function e(){var t=this,n;this.getDomObject().find("img").each(function(){$(this)[0].addEventListener("load",function(){t.updateMinSize()})})}},{key:"_addTolLinksEventListener",value:function e(){for(var t=this,n=this.getDomObject()[0].querySelectorAll("a.custom_link"),i=function e(i){var r=n[i];r.addEventListener("click",function(e){t.scrollIfLinkToAnchor(r)&&e.preventDefault()})},r=0;r<n.length;r++)i(r)}},{key:"_addPhotoSwipeEvent",value:function e(){var t;null===(t=this.getPhotoswipeService())|| 1280void 0===t||t.bindImgClickOnHtmlText(this.getDomObject())}},{key:"useAdvancedTextEditor",value:function e(){return!0}},{key:"setPhotoswipeService",value:function e(t){this.photoswipeService=t}},{key:"getPhotoswipeService",value:function e(){return this.photoswipeService}},{key:"setPageService",value:function e(t){this.pageService=t}},{key:"getPageService",value:function e(){return this.pageService}},{key:"scrollIfLinkToAnchor",value:function e(t){var n=this._tryToObtainAnchorIdFromLink(t);return!!webwave.isStringAndNotEmpty(n)&& 1281(this._scrollToAnchor($(n)),!0)}},{key:"_isLinkToAnchor",value:function e(t){return t.startsWith("#")}},{key:"_tryToObtainAnchorIdFromLink",value:function e(t){var n;if(t.hasAttribute("href")){var i=t.getAttribute("href");this._isLinkToAnchor(i)&&(n=d.StringUtils.escapeStringForRegexp(i))}return n}},{key:"_scrollToAnchor",value:function e(t){this.getPageService().scrollPageToElement(t,{forceTop:!0})}}]),n}(com.webwave.publication.object.WSimpleText);com.webwave.publication.object.WText=p},2981:function(e, 1282t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(918),c=n(1758),l=n(1740),d=n(1739);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1283[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WLoginTool");var v,g=function(e){Object(a.a)(n,e);var t=h(n);function n(e,r){var a,o;Object(i.a)(this,n),(o=t.call(this,e))._styles=l.a.deserializeObjectCombinedStyles(null===(a=e.contentData)||void 0===a?void 0:a.styles),o._currentState=r?c.a.LOGGED_IN:c.a.NOT_LOGGED_IN;var s=o.getStyleMapByVersion(o._currentState);return o.applyPartialObjectStyle(s),o.rewriteButtonImageIfRequire(),o}return Object(r.a)(n,[{key:"rewriteButtonImageIfRequire", 1284value:function e(){var t=this.objectStyle.background;this._isImageUrlToRewrite(t)?this.getContent()[0].setAttribute(d.a.LAZY_LOAD_ATTR_NAME,this._getBackgroun
1284dImageUrl()):this.getContent()[0].removeAttribute(d.a.LAZY_LOAD_ATTR_NAME)}},{key:"getCombinedStyleByVersion",value:function e(t){var n=this._styles[t];return webwave.isNotDef(n)&&(n=new l.a,this._styles[t]=n),n}},{key:"getStyleMapByVersion",value:function e(t){var n=this.getCombinedStyleByVersion(t);return webwave.isDef(n)?n.styleMap:void 0}}, 1285{key:"_isImageUrlToRewrite",value:function e(t){return t.backgroundType===u.a.BackgroundTypes.COLOR&&webwave.isDef(this.getContent()[0])&&"none"!==t.backgroundImage}},{key:"_getBackgroundImageUrl",value:function e(){return this.objectStyle.background.backgroundImage.slice(5,-2).replace(/"/g,"")}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WLoginTool=g},2982:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2653),l= 1286n(2654),d=n(2983);function h(e){var t=f();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WGoogleMaps"); 1287var v,g=function(e){Object(o.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._mapType=e.mapType,r._sQuery=e.sQuery,r._center=e.center,r._zoom=e.zoom,r._mapInitialized=!1,r}return Object(r.a)(n,[{key:"addObjectInViewPortListener",value:function e(){this.createDomWIntersectionObserved(new d.a(this))}},{key:"initializeGoogleMap",value:function e(){this._mapInitialized=!0,this._rerenderMapDom()}},{key:"_getGoogleMapsElement",value:function e(){return this.getDomObject()[0].getElementsByClassName("ww_googleMaps_element")[0]}}, 1288{key:"_rerenderMapDom",value:function e(){var t=this._getGoogleMapsElement();webwave.isDef(t)&&(webwave.isDefAndNotNull(t.firstChild)&&t.firstChild.remove(),t.innerHTML=l.a.renderGoogleMapHtml(this.getGoogleMapData()))}},{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),!0===this._mapInitialized&&this._rerenderMapDom()}},{key:"getGoogleMapData", 1289value:function e(){return new c.a({mapType:this._mapType,sQuery:this._sQuery,zoom:this._zoom,center:this._center,width:this.getInnerWidth(),height:this.getInnerHeight()})}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WGoogleMaps=g},2983:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r= 1290i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e.getDomObject()[0]))._wGoogleMaps=e,r}return Object(r.a)(n,[{key:"enteredViewportHandler", 1291value:function e(){this._wGoogleMaps.initializeGoogleMap()}}]),n}(n(1579).a)},2984:function(e,t,n){n.d(t,"a",function(){return l});var i=n(0),r=n(3),a=n(4),o=n(2);function s(e){var t=u();return function n(){var i=Object(o.a)(e),r;if(t){var s=Object(o.a)(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return Object(a.a)(this,r)}}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 1292try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WRectangle");var c,l=function(e){Object(r.a)(n,e);var t=s(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WRectangle=l},2985:function(e,t,n){var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1723),l=n(2150),d=n(1647),h=n(1724),f=n(40),v=n(2655);function g(e, 1293t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1293if(!n){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t= 1294n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function p(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]= 1295e[n];return i}function b(e){var t=m();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}!function(){var e=com.webwave.publication.object.WElement; 1296webwave.provide("com.webwave.publication.object.WMenu");var t="data-samePage",n="ww_menu_list",s="left",p="right",y="auto",m={TOP:"top",BOTTOM:"bottom",AUTO:"auto"},w=function(e){Object(o.a)(n,e);var t=b(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).dom={},r.$touchedFirstLevelMenuButton=$(),r._mobileMenuVisible=!1,r._mobileMenuSize=void 0,r._mobileMenuPosition=void 0,r._mobileMenuIconAlign=void 0,r._mobileMenuImageUrl=void 0,r._mobileMenuActiveImageUrl=void 0,r._mobileMenuImageAnimationType= 1297e.mobileMenuImageAnimationType,r}return Object(r.a)(n,[{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this.updateMobileMenuSizeAndPosition()}},{key:"getElementService",value:function e(){return window.elementService}},{key:"getMobileMenuVisible",value:function e(){return this._mobileMenuVisible}},{key:"getMenuItemsByPageId",value:function e(t){return this.getMenuFrame().querySelectorAll("a[pageId='".concat(t,"']"))}},{key:"markItemsLinkingToPageActive", 1298value:function e(t){var n=this,i,r=g(this.getMenuItemsByPageId(t)),a;try{for(r.s();!(a=r.n()).done;){var o=a.value,s,u="".concat(o.getAttribute("class"),"_active").split(" ");o.classList.add(u[u.length-1]);var c=o.getElementsByClassName("ww_menu_link_text")[0],l=o.parentNode,d=this.getHoverOutStyle(l);d&&c.classList.remove(d),o.classList.add("ww_active");var h=this.getHoverOutStyle(l);h&&c.classList.add(h)}}catch(e){r.e(e)}finally{r.f()}}},{key:"markItemsLinkingToCurrentPageActive",value:function e(){var t= 1299pageService.getPageId();this.markItemsLinkingToPageActive(t)}},{key:"prepareMenuFrameToShowMobileMenu",value:function e(t){t.finish().show()}},{key:"_addMenuItemCustomStyleHoverEventListener",value:function e(){var t=this;
1299this.dom.$wwMenuItems.hover(function(){var e=$(this);t.updateSubmenuPosition(e);var n=t.getHoverOutStyle(e[0]);n&&e.find("> .ww_menu_item_link > .ww_menu_link_text").removeClass(n);var i=e.attr("data-hover_style_id");i&&e.find("> .ww_menu_item_link > .ww_menu_link_text").addClass(i)}, 1300function(){var e=$(this),n;e.attr("data-hover_style_id")&&e.find("> .ww_menu_item_link > .ww_menu_link_text").removeClass(e.attr("data-hover_style_id"));var i=t.getHoverOutStyle(e[0]);i&&e.find("> .ww_menu_item_link > .ww_menu_link_text").addClass(i)})}},{key:"_addMenuExpandingEventListener",value:function e(){var t=this;this.dom.$firstLevelLis.on("mouseenter",function(e){t._slideDownFirstLevelMenu($(e.currentTarget))}),this.dom.$firstLevelLis.on("mouseleave",function(e){t._slideUpFirstLevelMenu($(e.currentTarget))}), 1301this.dom.$firstLevelLis.filter(function(e,t){return 1===$(t).children("a:not(href)").length}).on("click",function(e){var n=$(e.currentTarget);0!==n.children("ol").height()?t._slideUpFirstLevelMenu(n):t._slideDownFirstLevelMenu(n)}),this.dom.$wwMenuItems.on("mouseenter",function(e){$(this).addClass("hover")}),this.dom.$wwMenuItems.on("mouseleave",function(){$(this).removeClass("hover")})}},{key:"_slideUpFirstLevelMenu",value:function e(t){var i=this,r=t.children("ol"),a=this.getDomObject();window.setTimeout(function(){0!== 1302r.height()&&r.stop(!0,!1).animate({height:0},{duration:400,start:function e(){a.removeClass(n.SUB_MENU_OPENED)},always:function e(){r[0].style.overflow="",!1===a.hasClass(n.SUB_MENU_OPENED)&&i.getElementService().moveElementBack(i.getDomObject())}})},60)}},{key:"_slideDownFirstLevelMenu",value:function e(t){var i=this;window.setTimeout(function(){var e=t.children("ol");if(!1===e.hasClass(n.SLIDING_DOWN_ANIMATION_NAME)){var r=0;e.children().each(function(e,t){r+=t.clientHeight}),e.stop(!0,!0).animate({height:r}, 1303{start:function t(){e.addClass(n.SLIDING_DOWN_ANIMATION_NAME),i.getElementService().moveElementOnTop(i.getDomObject()),i.getDomObject().addClass(n.SUB_MENU_OPENED)},always:function t(){e.removeClass(n.SLIDING_DOWN_ANIMATION_NAME)},complete:function t(){e.first().height("auto")}})}},60)}},{key:"_initEventsForLinksInMenu",value:function e(){var t=this,n=!1,i=$(this.getContent()[0].querySelectorAll(".ww_menu_item > a[href]"));i.off("touchstart.doubleTapToGo"),i.on("touchstart.doubleTapToGo",function(){var e= 1304$(this);e.siblings("ol").length>0?t.$touchedFirstLevelMenuButton.length>0&&e.length>0&&t.$touchedFirstLevelMenuButton[0]===e[0]?(t.$touchedFirstLevelMenuButton=$(),n=!1):(t.$touchedFirstLevelMenuButton=e,n=!0):n=!1}),i.off("click.doubleTapToGo"),i.on("click.doubleTapToGo",function(e){var i=$(this);if(n&&(e.preventDefault(),e.stopPropagation()),i.is('a[href*="?anchorElement"]['.concat("data-samePage","]"))&&!1===n){e.preventDefault();var r=i.attr("href"),a=r.substr(r.indexOf("?"),r.length),o=utilService.extractGETParameter("anchorElement", 1305a),s=utilService.extractGETParameter("scrollMargin",a),u=$("#".concat(o));u.length>0&&pageService.scrollPageToElement(u,{margin:s,forceTop:!0}),t.dom.$firstLevelLis.trigger("mouseleave"),$(".ww_menu_item.hover").removeClass("hover"),t.getDomObject().find("a").removeClass("ww_active"),t.isMobileMenu()&&t._mobileMenuVisible&&t.hideMobileMenu()}});var r=$(document);r.off("click.doubleTapToGo".concat(this.getId())),r.on("click.doubleTapToGo".concat(this.getId()),function(e){t.$touchedFirstLevelMenuButton= 1306$()})}},{key:"cacheDomElements",value:function e(){this.dom.$wwMenuItems=$(this.getMenuFrame().getElementsByClassName("ww_menu_item")),this.dom.$firstLevelLis=$(this.getMenuFrame().getElementsByTagName("li"))}},{key:"getMenuFrameWrapper",value:function e(){return $(this.getContent()[0].getElementsByClassName("ww_menu_content_wrapper").item(0))}},{key:"getMenuFrame",value:function e(){return this.getContent()[0].getElementsByClassName("ww_menu_list")[0]}},{key:"getMobileMenuIcon",value:function e(){return this.getContent().find(".mobileMenuIcon")}}, 1307{key:"getMobileMenuIconAlign",value:function e(){return this._mobileMenuIconAlign}},{key:"isMobileMenu",value:function e(){return"mobile"===this.getOrientation()}},{key:"getMobileMenuPosition",value:function e(){return this._mobileMenuPosition}},{key:"setMobileMenuIconAlign",value:function e(t){this._mobileMenuIconAlign=t}},{key:"setMobileMenuPosition",value:function e(t){this._mobileMenuPosition=t,this.getMenuFrameWrapper().attr("data-mobile-menu-position",t)}},{key:"getMobileMenuActiveImageUrl", 1308value:function e(){return this._mobileMenuActiveImageUrl}},{key:"setMobileMenuActiveImageUrl",value:function e(t){this._mobileMenuActiveImageUrl=t}},{key:"getMobileMenuImageUrl",value:function e(){return this._mobileMenuImageUrl}},{key:"setMobileMenuImageUrl",value:function e(t){this._mobileMenuImageUrl=t}},{key:"getMobileMenuSize",value:function e(){return this._mobileMenuSize}},{key:"setMobileMenuSize",value:function e(t){this._mobileMenuSize=t,this.getMenuFrameWrapper().attr("data-mobile-menu-size", 1309t)}},{key:"getMobileMenuImageAnimationType",value:function e(){return this._mobileMenuImageAnimationType}},{key:"getMenuIconTransitionAnimator",value:function e(){return this.menuTransitionAnimator}},{key:"setMenuIconTransitionAnimator",value:function e(t){this.menuTransitionAnimator=t}},{key:"canAnimateMenuIcon",value:function e(){return this._mobileMenuImageAnimationType!==l.a._NO_ANIMATION&&webwave.isDefAndNotNull(this.getMenuIconTransitionAnimator())}},{key:"animateForwardMenuIcon",value:function e(){var t; 1310this.canAnimateMenuIcon()&&this.getMenuIconTransitionAnimator().animateForward()}},{key:"animateBackwardMenuIcon",value:function e(){var t;this.canAnimateMenuIcon()&&this.getMenuIconTransitionAnimator().animateBackward()}},{key:"setMobileMenuVisible",value:function e(t){var n=this._mobileMenuVisible!==t;this._mobileMenuVisible=t,n&&!1===this.canAnimateMenuIcon()&&this.updateIconInMobileMenu()}},{key:"getIconImageUrlString",value:function e(t){var n=this.getIconImageUrl(t);
1310return"url(".concat(n,")")}}, 1311{key:"getIconImageUrl",value:function e(t){var n=t;return webwave.isNotBoolean(n)&&(n=!0===this._mobileMenuVisible),n?this.getMobileMenuActiveImageUrl():this.getMobileMenuImageUrl()}},{key:"toggleMobileMenu",value:function e(){this.isMobileMenu()&&(this._mobileMenuVisible?this.hideMobileMenu():this.showMobileMenu())}},{key:"_enableMobileMenuEvents",value:function e(){var t=this;this._disableMobileMenuEvents(),this.getContent().on("click.mobileMenu",function(e){var n=t.getMenuFrameWrapper();n.is(e.target)|| 13120!==n.has(e.target).length||t.toggleMobileMenu()}),$(window).on("click.windowMobileMenu".concat(this.getId()),function(e){var n=t.getContent();n.is(e.target)||0!==n.has(e.target).length||t.hideMobileMenu()})}},{key:"_disableMobileMenuEvents",value:function e(){this.getContent().off("click.mobileMenu"),$(window).off("click.windowMobileMenu".concat(this.getId()))}},{key:"initEvents",value:function e(){this._addMenuItemCustomStyleHoverEventListener(),this._addMenuExpandingEventListener(),this._initEventsForLinksInMenu(), 1313this.isMobileMenu()&&this._enableMobileMenuEvents()}},{key:"getHoverOutStyle",value:function e(t){var n,i;return i=t.getElementsByClassName("ww_menu_item_link")[0].classList.contains("ww_active")?t.getAttribute("data-active_style_id"):t.getAttribute("data-normal_style_id"),webwave.isDef(i)&&(n=i),n}},{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this.cacheDomElements(),this.markItemsLinkingToCurrentPageActive(),this.initEvents(),this.updateMobileMenuSizeAndPosition()}}, 1314{key:"isMenuVertical",value:function e(){return"vertical"===this.getOrientation()}},{key:"getSubmenuVerticalPosition",value:function e(){var t=this.getMenuFrame();return t.classList.contains("ww_submenu_left")?s:t.classList.contains("ww_submenu_right")?p:y}},{key:"getSubmenuHorizontalPosition",value:function e(){var t=this.getMenuFrame();return t.classList.contains("ww_submenu_top")?m.LEFT:t.classList.contains("ww_submenu_bottom")?m.RIGHT:m.AUTO}},{key:"updateHorizontalSubmenuPosition",value:function e(t, 1315n){var i=$(window),r=i.scrollTop(),a=$("#container"),o=a.width(),s=a.offset(),u=i.width(),c=i.height(),l=t.offset();l.top-=r;var d=t.outerWidth(),h=t.outerHeight(),f=n.outerWidth(),v=n.outerHeight(),g,p,b;this.getSubmenuVerticalPosition()===y&&(l.left+d+f>s.left+o?(p="auto",b="100%"):(p="100%",b="auto"),n.css({left:p,right:b}))}},{key:"updateVerticalSubmenuPosition",value:function e(t,n){var i=$(window),r=i.scrollTop(),a=pageService.pageAreaService.getWindowWidth(),o=i.width(),s=i.height(),u=t.offset(); 1316u.top-=r;var c=t.outerWidth(),l=t.outerHeight(),d=n.outerWidth(),h=n.outerHeight(),f;if(this.getSubmenuHorizontalPosition()===m.AUTO){var v=u.top,g=s-(u.top+l),p=h>g&&g<v?"100%":"auto";n.css("bottom",p)}var y=u.left+d,b=Math.max(0,y-a),w=Math.min(0,c-d),S=Math.max(w,-parseInt(t.css("borderLeftWidth"))-b);n.css("left",S)}},{key:"updateSubmenuPosition",value:function e(t){var n=t.children("ol");1===n.length&&(this.isMenuVertical()?this.updateHorizontalSubmenuPosition(t,n):this.updateVerticalSubmenuPosition(t, 1317n))}},{key:"clearOrientationStyles",value:function e(){var t=this.getMenuFrameWrapper();t.finish();var n=t[0];n.style.left="",n.style.width="",n.style.display=""}},{key:"onOrientationChange",value:function e(){this.getNavigationTag().dataset.menuOrientation=this.orientation,"mobile"===this.orientation?(this._enableMobileMenuEvents(),this.getDomObject()[0].classList.add("mobileMenu")):(this._disableMobileMenuEvents(),this.getDomObject()[0].classList.remove("mobileMenu"))}},{key:"setOrientation",value:function e(t){this.orientation!== 1318t&&(this.orientation=t,this.onOrientationChange()),this.hideMobileMenu()}},{key:"getOrientation",value:function e(){return this.orientation}},{key:"loadAdditionalData",value:function e(t){this.setMobileMenuSize(t.mobileMenuSize),this.setMobileMenuPosition(t.mobileMenuPosition),this.setMobileMenuActiveImageUrl(t.mobileMenuActiveImageUrl),this.setMobileMenuIconAlign(t.mobileMenuIconAlign),this.setMobileMenuImageUrl(t.mobileMenuImageUrl),this.setOrientation(t.orientation),this.clearOrientationStyles(), 1319this.updateIconInMobileMenu()}},{key:"updateMobileMenuSizeAndPosition",value:function e(){if(this.isMobileMenu()&&this.getMobileMenuPosition()===d.a.BOTTOM&&this.getMobileMenuSize()===h.a.FULL_WIDTH)this.getMenuFrameWrapper().css({left:-this.objectService.getPageareaOffset().left-this.getComputedPosition().getX(),width:Math.max(this.getPageAreaService().getWindowWidth(),this.getPageAreaService().getContainerWidth())});else if(this.isMobileMenu()&&this.getMobileMenuPosition()===d.a.BOTTOM)if(this._isMobileMenuBeyoundPageArea()){var t= 1320this.getComputedPosition().getX()+this.getMenuFrameWrapper().width(),n=this.objectService.getPageareaOffset().left+this.getPageAreaService().getContainerWidth(),i=Math.max(0,t-n),r=-1*Math.abs(i);this.getMenuFrameWrapper().css("left",r)}else this.getMenuFrameWrapper().css("left","")}},{key:"_isMobileMenuBeyoundPageArea",value:function e(){var t=Math.max(this.getPageAreaService().getWindowWidth(),this.getPageAreaService().getContainerWidth());return this.getComputedPosition().getX()+this.getMenuFrameWrapper().width()+ 1321this.objectService.getPageareaOffset().left>t}},{key:"getMenuFrameSize",value:function e(){var t=this.getOrientation(),n=new f.a({width:0,height:0}),i=this.getMenuFrame(),r=window.getComputedStyle(i);return t===c.a.HORIZONTAL?(n.setWidth(parseInt(r.width,10)),n.setHeight(parseInt(r.height,10))):t===c.a.VERTICAL&&(i.style.width="auto",this.getNavigationTag().style.width="auto",n.setWidth(parseInt(r.width,10)),n.setHeight(parseInt(r.height,10)),i.style.width="",this.getNavigationTag().style.width=""), 1322n}
1322},{key:"calculateMinContentSize",value:function e(){return this.getMenuFrameSize()}},{key:"getNavigationTag",value:function e(){return this.getDomObject()[0].querySelector(".w-menu-navigation")}}]),n}(Object(v.a)(e));w.SLIDING_DOWN_ANIMATION_NAME="slidingDownAnimation",w.SUB_MENU_OPENED="menu-submenu-opened",com.webwave.publication.object.WMenu=w}()},2986:function(e,t,n){n.d(t,"a",function(){return S});var i=n(15),r=n(0),a=n(1),o=n(10),s=n(18),u=n(3),c=n(4),l=n(2),d=n(2987),h=n(2152),f=n(2656), 1323v=n(2988),g=n(2989),p=n(2657),y=n(900),b=n(2153);function m(e){var t=w();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}} 1324webwave.provide("com.webwave.publication.object.WNewsfeed");var S=function(e){Object(u.a)(n,e);var t=m(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this,e))._firstNewsToShowIndex=0,i.newsFeedService=null,i.feedDateInnerElement=new d.a(Object(o.a)(i)),i.feedReadMoreInnerElement=new v.a(Object(o.a)(i)),i.feedShortInnerElement=new g.a(Object(o.a)(i)),i.feedHeaderInnerElement=new p.a(Object(o.a)(i),{selectorClassName:h.a.FEED_NAME,feedItemDataProperty:f.a.TITLE},y.a.HEADER),i}return Object(a.a)(n, 1325[{key:"getNewsfeedWrapper",value:function e(){return this.getContent()[0].querySelector(".feed_content")}},{key:"getShortInnerElement",value:function e(){return this.feedShortInnerElement}},{key:"getReadMoreInnerElement",value:function e(){return this.feedReadMoreInnerElement}},{key:"getFeedDateInnerElement",value:function e(){return this.feedDateInnerElement}},{key:"getFeedHeaderInnerElement",value:function e(){return this.feedHeaderInnerElement}},{key:"setFirstNewsToShowIndex",value:function e(t){this._firstNewsToShowIndex= 1326t}},{key:"getFirstNewsToShowIndex",value:function e(){return this._firstNewsToShowIndex}},{key:"getInnerElementForIteration",value:function e(){return[this.getShortInnerElement(),this.getReadMoreInnerElement(),this.getFeedDateInnerElement(),this.getThumbnailInnerElement(),this.getSingleNewsInnerElement()]}},{key:"getInnerElementNames",value:function e(){return y.a}},{key:"getInnerElementNameForIteration",value:function e(){return[y.a.SHORT,y.a.THUMBNAIL,y.a.HEADER,y.a.DATE,y.a.NEWS,y.a.READ_MORE]}}, 1327{key:"getInnerElementByName",value:function e(t){var n;return(n={},Object(i.a)(n,y.a.THUMBNAIL,this.getThumbnailInnerElement()),Object(i.a)(n,y.a.READ_MORE,this.getReadMoreInnerElement()),Object(i.a)(n,y.a.DATE,this.getFeedDateInnerElement()),Object(i.a)(n,y.a.SHORT,this.getShortInnerElement()),Object(i.a)(n,y.a.NEWS,this.get
1327SingleNewsInnerElement()),Object(i.a)(n,y.a.HEADER,this.getFeedHeaderInnerElement()),n)[t]}},{key:"getItemElementName",value:function e(){return y.a.NEWS}},{key:"updateSingleFeedItemElData", 1328value:function e(t,i){Object(s.a)(Object(l.a)(n.prototype),"updateSingleFeedItemElData",this).call(this,t,i),this.getFeedHeaderInnerElement().updateSingleFeedItemElData(t),this.getShortInnerElement().updateSingleFeedItemElData(t),this.getFeedDateInnerElement().updateSingleFeedItemElData(t),this.getThumbnailInnerElement().updateSingleFeedItemElData(t)}}]),n}(b.a);com.webwave.publication.object.WNewsfeed=S},2987:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2), 1329u=n(1329),c=n(900);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n, 1330e);var t=l(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a)).showDate=void 0,r.type=c.a.DATE,r}return Object(r.a)(n,[{key:"getNewsDateElement",value:function e(t){return t.querySelector(".feed_date")}},{key:"isShowDate",value:function e(){return this._showDate}},{key:"setShowDate",value:function e(t){this._showDate=t}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowDate()}},{key:"updateSingleFeedItemElData", 1331value:function e(t){var n=this.getNewsDateElement(t.feedItemEl);webwave.isDefAndNotNull(n)&&(n.textContent=t.feedItemData.date)}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setShowDate(t.showDate)}}]),n}(u.a)},2988:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1329),c=n(900);function l(e){var t=d();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this, 1332arguments);return Object(o.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=function(e){Object(a.a)(n,e);var t=l(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._showReadMore=void 0,r.type=c.a.READ_MORE, 1333r}return Object(r.a)(n,[{key:"isShowReadMore",value:function e(){return this._showReadMore}},{key:"setShowReadMore",value:function e(t){this._showReadMore=t}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowReadMore()}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setShowReadMore(t.showReadMore)}}]),n}(u.a)},2989:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1329),c=n(900),l=n(11),d=n.n(l);function h(e){var t=f(); 1334return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(e){var r,a=arguments.length> 13351&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._showShortOfNews=void 0,r._showShortOfNewsDots=void 0,r._wordsInShort=void 0,r.type=c.a.SHORT,r}return Object(r.a)(n,[{key:"getNewsShortElement",value:function e(t){return t.querySelector(".feed_short")}},{key:"setShowShortOfNews",value:function e(t){this._showShortOfNews=t}},{key:"isShowShortOfNews",value:function e(){return this._showShortOfNews}},{key:"setShowShortOfNewsDots",value:function e(t){this._showShortOfNewsDots= 1336t}},{key:"getShowShortOfNewsDots",value:function e(){return this._showShortOfNewsDots}},{key:"getWordsInShort",value:function e(){return this._wordsInShort}},{key:"setWordsInShort",value:function e(t){this._wordsInShort=t;for(var n=this.getParentWObject().getFeedItemsDataArrayForDisplay(),i=0;i<n.length;i++){var r=n[i].feedItemEl,a=n[i].feedItemData;if(webwave.isDefAndNotNull(a)){var o=this.getNewsShortElement(r);webwave.isDefAndNotNull(o)&&(o.textContent=this.getShortForNews(a.short))}}}},{key:"getShortForNews", 1337value:function e(t){return l.StringUtils.cutStringAfterNWord({text:t,wordsNumber:this.getWordsInShort(),showDots:this.getShowShortOfNewsDots()})}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowShortOfNews()}},{key:"updateSingleFeedItemElData",value:function e(t){var n=this.getNewsShortElement(t.feedItemEl);webwave.isDefAndNotNull(n)&&(n.textContent=this.getShortForNews(t.feedItemData.short))}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setWordsInShort(t.wordsInShort), 1338this.setShowShortOfNewsDots(t.showShortOfNewsDots),this.setShowShortOfNews(t.showShortOfNews)}}]),n}(u.a)},2990:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1656),c=n(1809),l=n(1329),d=n(111),h=n(2991);function f(e){var t=v();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 1339if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(a.a)(n,e);var t=f(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._paginationIndex=0,r.initNewsfeedPagination(),r}return Object(r.a)(n,[{key:"initNewsfeedPagination",value:function e(){var t=this,n=this.getContent(); 1340this.updatePaginationListSize(),n.on("click",".feed_pagination_next_icon",function(){t.wFeed.setPaginationIndex(t.wFeed.getPaginationIndex()+1,{animate:!0,userInteraction:!0})}),n.on("click",".feed_pagination_prev_icon",function(){t.wFeed.setPaginationIndex(t.wFeed.getPaginationIndex()-1,{animate:!0,userInteraction:!0})}),n.on("click",".feed_pagination_elem_index",function(e){t.wFeed.setPaginationIndex(parseInt($(e.target).text()),{animate:!0,userInteraction:!0})})}},{key:"getDomObject",value:function e(){return this.wFeed.getDomObject()}}, 1341{key:"getContent",value:function e(){return this.wFeed.getContent()}},{key:"computeMaxIndex",value:function e(){return this.wFeed.computeMaxIndex()}},{key:"getPaginationWrapper",value:function e(){return this.wFeed.getContent().find(".feed_pagination_wrapper")}},{key:"getPaginationListItems",value:function e(){return Array.from(this.getDomObject()[0].querySelectorAll(".feed_pagination_wrapper .list > .feed_pagination_elem_index"))}},{key:"getPaginationIndex",value:function e(){return this.wFeed.getPaginationIndex()}}, 1342{key:"getNewsNumber",value:function e(){return this.wFeed.getNewsNumber()}},{key:"updatePaginationListSize",value:function e(){var t=this.getContent()[0],n=c.a.innerDimensions(t).width,i=t.querySelector(".list");if(webwave.isDefAndNotNull(i)){var r=t.querySelector(".feed_pagination_prev_icon"),a=t.querySelector(".feed_pagination_next_icon"),o=r.offsetWidth+a.offsetWidth,s=i.getBoundingClientRect().width,u=Math.min(n-o,s);i.parentNode.style.width="".concat(u,"px")}}},{key:"getTextStyleForPaginationSelectedIndex", 1343value:function e(){var t=this.getContent()[0].querySelector(".feed_pagination_wrapper");return null===t||void 0===t?void 0:t.getAttribute("textstyleidforselectedpaginationindex")}},{key:"getTextStyleForPaginationIndex",value:function e(){var t=this.getContent()[0].querySelector(".feed_pagination_wrapper");return null===t||void 0===t?void 0:t.getAttribute("textstyleidforpaginationindex")}},{key:"_recreatePaginationDom",value:function e(){var t=this.computeMaxIndex(),n=this.getPaginationWrapper()[0]; 1344if(webwave.isDefAndNotNull(n)){var i=n.querySelector(".list");if(i.innerHTML="",t>1){n.style.display=u.a.BLOCK;var r=this.getTextStyleForPaginationIndex(),a;!1===webwave.isStringAndNotEmpty(r)&&(r="");for(var o=0;o<t;o++)a=d.a.htmlToElements(Object(h.a)({index:o+1,textStyleClass:r}))[0],i.appendChild(a)}else n.style.display=u.a.NONE;this.updatePaginationListSize()}}},{key:"updatePaginationClasses",value:function e(){this._removeSelectedPaginationClasses(),this._addSelectedPaginationClasses(),this.updatePaginationListSize()}}, 1345{key:"_addSelectedPaginationClasses",value:function e(){var t=this.getTextStyleForPaginationSelectedIndex(),i=this.getTextStyleForPaginationIndex(),r=this.getPaginationListItems()[this.getPaginationIndex()-1];webwave.isDefAndNotNull(r)&&(r.classList.add(n.SELECTED_INDEX_CLASS_NAME),webwave.isDefAndNotNull(i)&&r.classList.remove(i),webwave.isDefAndNotNull(t)&&r.classList.add(t))}},{key:"_removeSelectedPaginationClasses",value:function e(){var t=this.getTextStyleForPaginationSelectedIndex(),i=this.getTextStyleForPaginationIndex(), 1346r=this.getContent()[0].querySelector(".".concat(n.SELECTED_INDEX_CLASS_NAME));webwave.isDefAndNotNull(r)&&(r.classList.remove(n.SELECTED_INDEX_CLASS_NAME),r.classList.add(n.INDEX_CLASS_NAME),webwave.isDefAndNotNull(t)&&r.classList.remove(t),webwave.isDefAndNotNull(i)&&r.classList.add(i))}},{key:"_updateListLeftPosition",value:function e(t){var n,i=this.getPaginationListItems()[this.getPaginationIndex()-1];if(!webwave.isNotDefOrNull(i)){var r=this.getContent()[0].querySelector(".list"),a=c.a.innerDimensions(r.parentNode).width, 1347o=c.a.innerDimensions(r).width,s=i.offsetWidth,u,l=a-o,d=0,h=a/2-i.offsetLeft-s/2;h=Math.min(Math.max(l,h),0),!0===t?$(r).animate({left:"".concat(h,"px")},150):r.style.left="".concat(h,"px")}}},{key:"_computeNewIndex",value:function e(t){var n=this.getNewsNumber(),i,r=t*(this.getPaginationIndex()-1);return Math.floor(r/n)+1}}]),n}(l.a);g.SELECTED_INDEX_CLASS_NAME="feed_pagination_elem_index_selected",g.INDEX_CLASS_NAME="feed_pagination_elem_index"},2991:function(e,t,n){n.d(t,"a",function(){return i}); 1348var i=function e(t){var n=t.index,i=t.textStyleClass;return'\n <div \n class="feed_pagination_elem_index '.concat(i,'"\n >\n ').concat(n,"\n </div>\n")}},2992:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1329),c=n(900),l=n(82),d=n(1725);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this, 1349r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a)).horizontalSpace=void 0,r.type=r.detectTypeByFeed(e),r}return Object(r.a)(n, 1350[{key:"detectTypeByFeed",value:function e(t){return t.getType()===l.a.NEWSFEED?c.a.NEWS:d.a.ITEM}},{key:"getHorizontalSpace",value:function e(){return this._horizontalSpace}},{key:"setHorizontalSpace",value:function e(t){this._horizontalSpace=t}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setHorizontalSpace(t.horizontalSpace)}}]),n}(u.a)},2993:function(e,t,n){n.d(t,"a",function(){return p});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(1656),c=n(1329),l=n(900),d=n(40),h=n(1797),f=n(2994); 1351function v(e){var t=g();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var p=function(e){Object(a.a)(n,e);var t=v(n); 1352function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._thumbnailPosition=void 0,r._thumbnailWidth=void 0,r._thumbnailHeight=void 0,r._showThumbnails=void 0,r.type=l.a.THUMBNAIL,r}return Object(r.a)(n,[{key:"getThumbnailPosition",value:function e(){return this._thumbnailPosition}},{key:"setThumbnailPosition",value:function e(t){this._thumbnailPosition=t,this.wFeed.getNewsfeedWrapper().setAttribute("data-thumbnail-position",t)}}, 1353{key:"getThumbnailWidth",value:function e(){return this._thumbnailWidth}},{key:"setThumbnailWidth",value:function e(t){this._thumbnailWidth=t}},{key:"getThumbnailHeight",value:function e(){return this._thumbnailHeight}},{key:"setThumbnailHeight",value:function e(t){this._thumbnailHeight=t}},{key:"isShowThumbnails",value:function e(){return this._showThumbnails}},{key:"setShowThumbnails",value:function e(t){this._showThumbnails=t}},{key:"_getThumbnailsImages",value:function e(){return this.getParentWObject().getContent().find(".feed_thumbnail_image")}}, 1354{key:"addImgLazyLoad",value:function e(){var t=this;this._getThumbnailsImages().each(function(e,n){if(n.hasAttribute(f.a.LAZY_LOAD_ATTR_NAME)){var i=new f.a(n);t.getParentWObject().createDomWIntersectionObserved(i)}})}},{key:"getWidthValueToAdd",value:function e(){return this.getThumbnailWidth()}},{key:"onLeftOrRight",value:function e(){return this.getThumbnailPosition()===h.a.LEFT||this.getThumbnailPosition()===h.a.RIGHT}},{key:"countMinSize",value:function e(){return new d.a({width:this.getThumbnailWidth(), 1355height:this.getThumbnailHeight()})}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowThumbnails()&&!1===this.onLeftOrRight()}},{key:"shouldAddWidth",value:function e(){return!0===this.isShowThumbnails()&&this.onLeftOrRight()}},{key:"updateSingleFeedItemElData",value:function e(t){var n=t.feedItemEl,i=t.feedItemData.thumbnail,r=n.querySelector(".feed_thumbnail");if(webwave.isDefAndNotNull(r)){var a=n.querySelector(".feed_thumbnail_image"),o="none";""!==i?(o='url("'.concat(i, 1356'")'),r.style.display=u.a.BLOCK):r.style.display=u.a.NONE,webwave.isDefAndNotNull(a.getAttribute("data-lazy-load-style"))?a.setAttribute("data-lazy-load-style","background-image: ".concat(o,";")):a.style.backgroundImage=o}}},{key:"loadAdditionalRwdProperties",value:function e(t){this.setThumbnailPosition(t.thumbnailPosition),this.setThumbnailWidth(t.thumbnailWidth),this.setThumbnailHeight(t.thumbnailHeight),this.setShowThumbnails(t.showThumbnails)}}]),n}(c.a)},2994:function(e,t,n){n.d(t,"a",function(){return d}); 1357var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d= 1358function(e){Object(a.a)(n,e);var t=c(n);function n(e){return Object(i.a)(this,n),t.call(this,e)}return Object(r.a)(n,[{key:"enteredViewportHandler",value:function e(){var t=$(this.getDomObject()),i=t.attr(n.LAZY_LOAD_ATTR_NAME);t.attr("style",this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(i,this.getDomObject())),t.removeAttr(n.LAZY_LOAD_ATTR_NAME)}}]),n}(n(1579).a);d.LAZY_LOAD_ATTR_NAME="data-lazy-load-style",webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedNewsfeedThumbnail"), 1359com.webwave.publication.intersectionObserver.object.WIntersectionObservedNewsfeedThumbnail=d},2995:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(
1359){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this._horizontalBorder=webwave.isNumberAndNotNaN(t.horizontalBorder)?t.horizontalBorder:0,this._horizontalPadding=0}return Object(r.a)(e,[{key:"getHorizontalBorder",value:function e(){return this._horizontalBorder}},{key:"setHorizontalBorder",value:function e(t){this._horizontalBorder= 1360t}},{key:"getHorizontalPadding",value:function e(){return this._horizontalPadding}},{key:"setHorizontalPadding",value:function e(t){this._horizontalPadding=t}},{key:"getHorizontalSpace",value:function e(){return this.getHorizontalPadding()+this.getHorizontalBorder()}},{key:"applyRwdProperties",value:function e(t){webwave.isNumberAndNotNaN(t.horizontalPadding)&&this.setHorizontalPadding(t.horizontalPadding)}}]),e}()},2996:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(18),o= 1361n(3),s=n(4),u=n(2),c=n(40);function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WFbComments"); 1362var h,f=function(e){Object(o.a)(n,e);var t=l(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._fbInitialized=!1,r}return Object(r.a)(n,[{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.fbCommentsFrame=i.content.children[0],i}},{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._reRenderCommentsDom()}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype), 1363"afterDomSizeChange",this).call(this),this._reRenderCommentsDom()}},{key:"_getCommentsFrame",value:function e(){return this.getDomObject().find(".fb-comments_frame")}},{key:"getFbCommentsFrameEl",value:function e(){return this.cachedDom.fbCommentsFrame}},{key:"_getFbContainer",value:function e(){return this._getCommentsFrame().find("> .fb-comments")}},{key:"_initFbFrameSizeChangeListener",value:function e(){var t=this._getFbContainer().find("> span")[0],n;webwave.isDefAndNotNull(t)&&(new MutationObserver(this._fbFrameSizeChangeHandler.bind(this))).observe(t, 1364{attributes:!0,attributeFilter:["style"]})}},{key:"_fbFrameSizeChangeHandler",value:function e(t){this.updateMinSize()}},{key:"_reRenderCommentsDom",value:function e(){var t=this,n=parseInt(this._getFbContainer().attr("width")),i=this.getInnerWidth();n!==i&&(this._setFbInitialized(!1),this._getFbContainer().attr("width",i),facebookService.executeAction(function(){FB.XFBML.parse(t.getFbCommentsFrameEl(),function(){t._setFbInitialized(!0),setTimeout(function(){t._initFbFrameSizeChangeListener(t._getCommentsFrame()), 1365t.updateMinSize()},100)})}))}},{key:"_setFbInitialized",value:function e(t){this._fbInitialized=t}},{key:"_isFbInitialized",value:function e(){return this._fbInitialized}},{key:"applyComputedSizeModifiers",value:function e(t){this._isFbInitialized()&&t.setHeight(0)}},{key:"calculateMinContentSize",value:function e(){return new c.a({width:0,height:this.getFbCommentsFrameEl().offsetHeight})}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WFbComments=f},2997:function(e, 1366t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2154),l=n(40);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1367[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WSocialMedia");var f,v=function(e){Object(o.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._facebookIncludeShareButton=e.facebookIncludeShareButton,r._facebookLayout=e.facebookLayout,r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._recreateFbLikeContent()}},{key:"getFacebookIncludeShareButton",value:function e(){return this._facebookIncludeShareButton}}, 1368{key:"getFacebookLayout",value:function e(){return this._facebookLayout}},{key:"calculateMinContentSize",value:function e(){var t=this.getFacebookLayout(),n,i=!0===this.getFacebookIncludeShareButton()?c.a.recommend[t]:c.a.standard[t];return!1===webwave.isDef(i)&&(i={width:0,height:0}),new l.a(i)}},{key:"_getFbLikeContainer",value:function e(){return this.getDomObject().find(".fb-like")}},{key:"_recreateFbLikeContent",value:function e(){var t=this;facebookService.executeAction(function(){FB.XFBML.parse(t._getFbLikeContainer()[0], 1369function(){})})}},{key:"canBeRotated",value:function e(){return!1}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WSocialMedia=v},2998:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(2114),l=n(40);function d(e){var t=h();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function h(){if("undefined"== 1370typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WLanguageSelector");var f,v=function(e){Object(o.a)(n,e);var t=d(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._orientation=c.a.HORIZONTAL,r._flags=r.getDomObject().find(".language_selector_flag").toArray(), 1371r}return Object(r.a)(n,[{key:"init",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"init",this).call(this),this._updateFlagSizes()}},{key:"getFlagsNumber",value:function e(){return this._flags.length}},{key:"getOrientation",value:function e(){return this._orientation}},{key:"setOrientation",value:function e(t){var n=this._orientation!==t;this._orientation=t,n&&(this.updateMinSize(),this._updateFlagSizes())}},{key:"isVertical",value:function e(){return this._orientation===c.a.VERTICAL}},{key:"loadAdditionalData", 1372value:function e(t){webwave.isDef(t)&&webwave.isDef(t.orientation)&&this.setOrientation(t.orientation)}},{key:"afterDomSizeChange",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"afterDomSizeChange",this).call(this),this._updateFlagSizes()}},{key:"calculateMinContentSize",value:function e(){var t=n.DEFAULT_FLAG_SIZE,i=this.getFlagsNumber(),r,a;return this.isVertical()?(r=t,a=i*t):(r=i*t,a=t),new l.a({width:r,height:a})}},{key:"_updateFlagSizes",value:function e(){var t;if(this.getFlagsNumber()> 13730)for(var n=this._getSingleLanguageFlagSize(),i=this._getFlagsDomObjects(),r,a=i.length-1;a>=0;a--)(r=i[a]).style.width=n.width+"px",r.style.height=n.height+"px"}},{key:"_getSingleLanguageFlagSize",value:function e(){var t=this.getFlagsNumber(),n=this.getInnerWidth(),i=this.getInnerHeight(),r,a;return t>0?this.isVertical()?(r=n,a=Math.floor(i/t)):(r=Math.floor(n/t),a=i):(r=n,a=i),{width:r,height:a}}},{key:"_getFlagsDomObjects",value:function e(){return this._flags}}]),n}(com.webwave.publication.object.WElement); 1374v.DEFAULT_FLAG_SIZE=25,com.webwave.publication.object.WLanguageSelector=v},2999:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1756),l=n(40),d=n(1660),h=n(2079);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1374if(!n){if(Array.isArray(e)||(n=v(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t; 1375},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function v(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&& 1376(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 1377if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WForm");var b=function(e){Object(o.a)(n,e);var t=p(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).setAutoHeight(!0),r.loadRwdTextProperties(),r}return Object(r.a)(n,[{key:"cacheDom",value:function e(t){var i,r=Object(a.a)(Object(u.a)(n.prototype),"cacheDom", 1378this).call(this,t);return r.formFrame=null===(i=r.content.children[0])||void 0===i?void 0:i.children[0],r}},{key:"loadRwdTextProperties",value:function e(t){var n,i=f(this._findAllRwdTextContentWrapper()),r;try{for(i.s();!(r=i.n()).done;){var a=r.value;this._rwdTextContent=new c.a($(a)),this._rwdTextContent.loadRwdTextProperties(t)}}catch(e){i.e(e)}finally{i.f()}}},{key:"_findAllRwdTextContentWrapper",value:function e(){return this.getDomObject()[0].querySelectorAll(".ww_form_label_wrapper , .ww_multiple_select_label")}}, 1379{key:"updateObjectForRwdChange",value:function e(t){this.loadRwdTextProperties(t),Object(a.a)(Object(u.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t)}},{key:"getFromFrameEl",value:function e(){return this.cachedDom.formFrame}},{key:"calculateMinContentSize",value:function e(){var t=this.getFromFrameEl()?this.getFromFrameEl().scrollHeight:0;return new l.a({width:0,height:t})}},{key:"onVisibilityChange",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}; 1380Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this.isVisible()?this.updateMinSize():this._resetForm(this.getDomObject())}},{key:"endAnimationTextForFormButton",value:function e(t){t.find(".ww_form_submit").finish(),t.find(".ww_form_frame_info_wrapper").finish()}},{key:"resetFormValues",value:function e(t){t.find(".ww_form_cell_2").each(function(){var e=h.a.getFormItemFromRow($(this));e.removeAttr("data-valid"),1==e.is(":checkbox")?e.prop("checked",!1):1==e.is("select")? 13811==e.is("[multiple]")?e.find("option").prop("selected",!1):e.find("option:eq(0)").prop("selected",!0):e.hasClass("ww_multiple_select_wrapper")?e.find("input:checkbox").prop("checked",!1):e.is('[type="file"]')?(e.val(""),e.removeData("file")):h.a.isMultiFieldItemValue(e)?h.a.resetMultiFieldItemValue(e):e.val("")})}},{key:"_resetForm",value:function e(t){this.resetFormValues(t),this.endAnimationTextForFormButton(t)}}]),n}(d.a);com.webwave.publication.object.WForm=b},3:function(e,t,n){t.a=r;var i=n(214); 1382function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(i.a)(e,t)}},3E3:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(40);function l(e){var t=d();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor; 1383r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}webwave.provide("com.webwave.publication.object.WDate");var h,f=function(e){Object(o.a)(n,e);var t=l(n);function n(){return Object(i.a)(this,n),t.apply(this, 1384arguments)}return Object(r.a)(n,[{key:"getTextFrameEl",value:function e(){return this.cachedDom.textFrame}},{key:"cacheDom",value:function e(t){var i=Object(a.a)(Object(u.a)(n.prototype),"cacheDom",this).call(this,t);return i.textFrame=i.content.children[0],i}},{key:"calculateMinContentSize",value:function e(){var t=this.getTextFrameEl(),n=Math.ceil(t.offsetHeight);return new c.a({width:0,height:n})}}]),n}(com.webwave.publication.object.WElement);com.webwave.publication.object.WDate=f},3001:function(e, 1385t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})), 1386!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}
1386return Object(r.a)(n,[{key:"getAdditionalResourcesObjectConfig",value:function e(){return wwConfig.additionalResoucresUrl}},{key:"loadPreLoadedCss",value:function e(t){var n;this.loadCss(t),null===(n=document.getElementById(t.getId()))||void 0===n||n.remove()}},{key:"loadPreLoadedJs",value:function e(t){var n;this.loadJs(t),null===(n=document.getElementById(t.getId()))|| 1387void 0===n||n.remove()}},{key:"loadCss",value:function e(t){return new Promise(function(e){var n=document.createElement("link");n.rel="stylesheet",n.href=t.getLink(),n.id=t.getId(),n.onload=e,document.head.appendChild(n)})}},{key:"loadJs",value:function e(t){var n=document.createElement("script");n.type="text/javascript",n.src=t.getLink(),n.id=t.getId(),document.head.appendChild(n)}},{key:"preLoadCss",value:function e(t){this._addPreloadLink({id:t.getId(),link:t.getLink(),as:"style"})}},{key:"preLoadJavascript", 1388value:function e(t){this._addPreloadLink({id:t.getId(),link:t.getLink(),as:"script"})}},{key:"_addPreloadLink",value:function e(t){var n=document.createElement("link");n.href=t.link,n.rel="preload",n.as=t.as,n.id=t.id,document.head.appendChild(n)}}]),n}(n(26).a)},3002:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r= 1389i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e))._easing=webwave.isDef(e.easing)?e.easing:n.DEFAULT_EASING_FUNCTION,webwave.isString(r._easing)&& 1390(r._easing=jQuery.easing[r._easing]),r._element=e.element,r._initalValue=e.initialValue,r._finalValue=e.finalValue,r._currentValue=r._initalValue,r._valueDelta=r._finalValue-r._initalValue,r._formatFunction=e.formatFunction,r}return Object(r.a)(n,[{key:"updateValues",value:function e(){var t=this._easing(this._progress);this._currentValue=this._initalValue+this._valueDelta*t}},{key:"render",value:function e(){webwave.isDefAndNotNull(this._element)&&(this._element.innerText=webwave.isFunction(this._formatFunction)? 1391this._formatFunction(this._currentValue):this._currentValue)}},{key:"finish",value:function e(){this._running=!1,this._finished=!0,this.setCurrentTime(this.getDuration()),this.updateValues(),this.render(),this.clean(),webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"tick",value:function e(){this.updateValues(),this.render(),webwave.isFunction(this._stepCallback)&&this._stepCallback()}}]),n}(n(1811).a);d.DEFAULT_EASING_FUNCTION="swing"},3003:function(e,t,n){n.d(t,"a",function(){return w}); 1392var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2652),c=n(112),l=n(106),d=n(51),h=n(1060),f=n(155),v=n(53),g=n.n(v),p=n(40),y=n(31);function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1393[],function(){})),!0}catch(e){return!1}}var w=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).pageAreaService=null,e.windowService=null,e}return Object(r.a)(n,[{key:"convertPointFromOrigin",value:function e(t,n){var i=t.clone();switch(n){case h.a.SCREEN_TOP_LEFT:i.setX(i.getX()-this.getPageAreaX());break;case h.a.PAGE_TOP_RIGHT:i.setX(this.getPageAreaWidth()- 1394i.getX());break;case h.a.SCREEN_TOP_RIGHT:i.setX(this.getViewPortWidth()-this.getPageAreaX()-i.getX());break;case h.a.PAGE_TOP_LEFT:break}return i}},{key:"convertPointToOrigin",value:function e(t,n){var i=t.clone();switch(n){case h.a.SCREEN_TOP_LEFT:i.setX(i.getX()-this.getPageAreaX());break;case h.a.PAGE_TOP_RIGHT:i.setX(this.getPageAreaWidth()-i.getX());break;case h.a.SCREEN_TOP_RIGHT:i.setX(this.getViewPortWidth()-this.getPageAreaX()-i.getX());break;case h.a.PAGE_TOP_LEFT:break}return i}}
1394,{key:"getFullWidthObjectParams", 1395value:function e(){return{width:this.getViewPortWidth(),x:-this.getPageAreaX()}}},{key:"getPageAreaWidth",value:function e(){return this.pageAreaService.getContainerWidth()}},{key:"getPageAreaHeight",value:function e(){return this.pageAreaService.getContainerHeight()}},{key:"getPageAreaX",value:function e(){return this.pageAreaService.getContainerX()}},{key:"getPageAreaY",value:function e(){return this.pageAreaService.getContainerY()}},{key:"getViewPortHeight",value:function e(){var t=this.pageAreaService.getWindowHeight(); 1396return!0===y.a.getValue("publicatedPageApp.fullViewportHeight")&&(t=parseInt(document.querySelector("body").style.height,10)),t}},{key:"getViewPortWidth",value:function e(){return Math.max(this.pageAreaService.getWindowWidth(),com.webwave.publication.rwd.rwdService.getCurrentRwdMode().getWidth())}},{key:"getPageareaRect",value:function e(){return this.pageAreaService.getContainerRect()}},{key:"convertVerticalLengthToRenderedValue",value:function e(t){switch(t.getUnit()){case l.a.PERCENT:return Math.round(t.getValue()* 1397this.getPageAreaHeight()/100);break;case l.a.VW:return Math.round(t.getValue()*this.getViewPortWidth()/100);break;case l.a.VH:return Math.round(t.getValue()*this.getViewPortHeight()/100);break;default:return t.getValue()}}},{key:"convertHorizontalLengthToRenderedValue",value:function e(t){switch(t.getUnit()){case l.a.PERCENT:return Math.round(t.getValue()*this.getPageAreaWidth()/100);break;case l.a.VW:return Math.round(t.getValue()*this.getViewPortWidth()/100);break;case l.a.VH:return Math.round(t.getValue()* 1398this.getViewPortHeight()/100);break;default:return t.getValue()}}},{key:"convertVerticalLengthToUnit",value:function e(t,n){var i=t instanceof c.a?t:new c.a({value:t,unit:l.a.PX});if(i.getUnit()===n)return i;switch(i.getUnit()!==l.a.PX&&(i=this.convertVerticalLengthFromUnit(i)),n){case l.a.PERCENT:return new c.a({value:i.getValue()/this.getPageAreaHeight()*100,unit:l.a.PERCENT});break;case l.a.VW:return new c.a({value:i.getValue()/this.getViewPortWidth()*100,unit:l.a.VW});break;case l.a.VH:return new c.a({value:i.getValue()/ 1399this.getViewPortHeight()*100,unit:l.a.VH});break;default:return i}}},{key:"convertHorizontalLengthFromUnit",value:function e(t){return new c.a({value:this.convertHorizontalLengthToRenderedValue(t),unit:l.a.PX})}},{key:"convertVerticalLengthFromUnit",value:function e(t){return new c.a({value:this.convertVerticalLengthToRenderedValue(t),unit:l.a.PX})}},{key:"convertHorizontalLengthToUnit",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.a.PX,i=t instanceof c.a?t:new c.a({value:t, 1400unit:l.a.PX});switch(i.getUnit()!==l.a.PX&&(i=this.convertHorizontalLengthFromUnit(i)),n){case l.a.PERCENT:return new c.a({value:i.getValue()/this.getPageAreaWidth()*100,unit:l.a.PERCENT});break;case l.a.VW:return new c.a({value:i.getValue()/this.getViewPortWidth()*100,unit:l.a.VW});break;case l.a.VH:return new c.a({value:i.getValue()/this.getViewPortHeight()*100,unit:l.a.VH});break;default:return i}}},{key:"setPageAreaService",value:function e(t){this.pageAreaService=t}},{key:"getCurrentPageAreaScrollY", 1401value:function e(){return pageService.getWindowScroll()}},{key:"getPositionRelativeToPageArea",value:function e(t){if(!1===webwave.isDomElement(t))throw new Error("Passed parameter is not a DOM object");var n=t.getBoundingClientRect(),i=document.querySelector("#container").getBoundingClientRect();return new d.a({x:n.x-i.x,y:n.y-i.y})}},{key:"getViewPort",value:function e(){return new f.a({size:new p.a({width:this.getViewPortWidth(),height:this.getViewPortHeight()}),position:new d.a({x:this.getPageAreaX(), 1402y:this.getPageAreaY()+this.getCurrentPageAreaScrollY()})})}},{key:"isObjectInPageAreaVerticalViewport",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fullyContain:!0};if(!1===webwave.isDomElement(t))throw new Error("Passed parameter is not a DOM object");var i=this.getPositionRelativeToPageArea(t),r=new f.a({size:new p.a({width:t.offsetWidth,height:t.offsetHeight}),position:i}),a=this.getViewPort();return n.fullyContain?a.contains(r):a.intersects(r)}},{key:"getRenderedHeight", 1403value:function e(){return this.getViewPortHeight()}},{key:"setWindowService",value:function e(t){this.windowService=t,t.addSizeChangeListener(this),t.addBrowserZoomLevelChangeListener(this)}},{key:"onWindowSizeChange",value:function e(t,n){this.triggerPropertyChange("renderedHeight",t,n)}},{key:"onBrowserZoomLevelChange",value:function e(t,n){this.triggerPropertyChange(u.a.BROWSER_ZOOM_LEVEL,t,n)}}]),n}(v.SimplePropertyChangeEmitter)},3004:function(e,t,n){n.d(t,"a",function(){return w});var i=n(0), 1404r=n(1),a=n(3),o=n(4),s=n(2),u=n(11),c=n.n(u),l=n(51),d=n(155),h=n(26),f=n(40),v=n(14),g=n.n(v),p,y;function b(e){var t=m();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1405[],function(){})),!0}catch(e){return!1}}var w=(p=Object(v.injectable)())(y=function(e){Object(a.a)(n,e);var t=b(n);function n(){var e;return Object(i.a)(this,n),(e=t.call(this))._vScrollVisible=!1,e._hScrollVisible=!1,e._bodyHeight=0,e}return Object(r.a)(n,[{key:"getContainerWidth",value:function e(){return this.getContainerNode().offsetWidth}},{key:"getContainerHeight",value:function e(){return this._bodyHeight}},{key:"getWindowWidth",value:function e(){return document.documentElement.clientWidth}}, 1406{key:"getWindowHeight",value:function e(){var t;return u.MobileUtils.isMobileDevice()?window.innerHeight:document.documentElement.clientHeight}},{key:"getContainerRect",value:function e(){return new d.a({size:new f.a({width:this.getContainerWidth(),height:this.getContainerHeight()}),position:new l.a({x:this.getContainerX(),y:this.getContainerY()})})}},{key:"setVScrollVisible",value:function e(t){var n=this._vScrollVisible!==t;this._vScrollVisible=t,n&&com.webwave.publication.object.ObjectService.getInstance().updateObjectsAfterWindowResize()}}, 1407{key:"setHScrollVisible",value:function e(t){var n=this._hScrollVisible!==t;this._hScrollVisible=t,n&&com.webwave.publication.object.ObjectService.getInstance().updateObjectsAfterWindowResize()}},{key:"updateScrollVisibility",value:function e(){document.body&&(this.setVScrollVisible(document.body.scrollHeight>window.innerHeight),this.setHScrollVisible(document.body.scrollWidth>window.innerWidth))}},{key:"getContainerX",value:function e(){var t,n=0;return this.getContainerNode()&&(n=this.getContainerNode().getBoundingClientRect().left), 1408n}},{key:"getContainerNode",value:function e(){return document.getElementById("container")}},{key:"getContainerY",value:function e(){return parseInt($("#container").css("top"),10)}},{key:"setBodyHeight",value:function e(t){var n=this._bodyHeight!==t;
1408this._bodyHeight=t,n&&(this.getDocumentBody().style.height="".concat(t,"px"),com.webwave.publication.object.ObjectService.getInstance().updatePercentDependentObjectParams({vertical:!0}),this.updateScrollVisibility())}},{key:"getDocumentBody",value:function e(){return document.body}}]), 1409n}(h.a))||y},3005:function(e,t,n){n.d(t,"a",function(){return u});var i=n(0),r=n(1),a=n(2229),o=n(3006),s=n(3007),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.id=t.id,this.wObject=t.wObject,this.tails=[],this.heads=[],this.sides=[],this._bottomEdge=-1/0,this.wObject.setRelationNode(this),this._pushingDisabled=!1}return Object(r.a)(e,[{key:"getId",value:function e(){return this.id}},{key:"getWObject",value:function e(){return this.wObject}}, 1410{key:"updateBottomEdge",value:function e(){this.setBottomEdge(this.computeBottomEdge())}},{key:"setBottomEdge",value:function e(t){var n=this._bottomEdge;this._bottomEdge=t,n!==t&&this.onBottomEdgeChange()}},{key:"getBottomEdge",value:function e(){return this._bottomEdge}},{key:"computeBottomEdge",value:function e(){if(!1===this.wObject.isAlwaysPushing()&&(!1===this.wObject.isVisibleForInFlow()||!1===this.wObject.isInFlow()))return-1/0;if(!0===this.wObject.isAlwaysPushing()&&(!1===this.wObject.isVisibleForInFlow()|| 1411!1===this.wObject.isInFlow()))return this.getBottomEdgeFromHeads();var t=webwave.isDefAndNotNull(this.wObject.getParentWNode())?this.wObject.getParentWNode().getOffset().getY():0;return this.wObject.getRenderedRectangle().getY2()-t}},{key:"_getHeadVerticalNodeConnectionByNode",value:function e(t){return this.heads.find(function(e){return e.getHead()===t})}},{key:"containsInHead",value:function e(t){return webwave.isDef(this._getHeadVerticalNodeConnectionByNode(t.getHead()))}},{key:"addToHeads",value:function e(t, 1412n){var i=new s.a(t,this,n);!1===this.containsInHead(i)?this.heads.push(i):i.dispose()}},{key:"removeFromHeads",value:function e(t){var n=this._getHeadVerticalNodeConnectionByNode(t);webwave.isDef(n)&&(this.heads.splice(this.heads.indexOf(n),1),n.dispose())}},{key:"containsInTails",value:function e(t){return-1!==this.tails.indexOf(t)}},{key:"addToTails",value:function e(t){!1===this.containsInTails(t)&&this.tails.push(t)}},{key:"removeFromTails",value:function e(t){var n=this.tails.indexOf(t);-1!== 1413n&&this.tails.splice(n,1)}},{key:"getSides",value:function e(){return this.sides}},{key:"addToSides",value:function e(t){t!==this&&-1===this.sides.indexOf(t)&&this.sides.push(t)}},{key:"removeFromSides",value:function e(t){-1!==this.sides.indexOf(t)&&this.sides.splice(this.sides.indexOf(t),1)}},{key:"dispose",value:function e(){if(!0!==this._beingDisposed){this._beingDisposed=!0,this.wObject.setRelationNode(null);for(var t=0;t<this.heads.length;t++)this.heads[t].dispose();for(var n=0;n<this.tails.length;n++)this.tails[n].dispose()}}}, 1414{key:"getBottomEdgeFromHeads",value:function e(){for(var t=-1/0,n=0;n<this.heads.length;n++){var i=this.heads[n];t=Math.max(t,i.getHead().getBottomEdge())}return t}},{key:"updatePushedDown",value:function e(){for(var t=-1/0,n=!1,i=0;i<this.heads.length;i++){var r=this.heads[i];t=Math.max(t,r.getHead().getBottomEdge()+r.getValue()),!1===n&&!0===r.relation.hasDisabledPulling()&&(n=!0)}this.wObject.setMostBottomFromOtherPushes(t);var a=this.wObject.countPushDownAttr(t,n);this.wObject.setPushedDownAttr(a)}}, 1415{key:"collectSides",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[this],n=[],i=0;i<this.sides.length;i++){var r=this.sides[i];-1===t.indexOf(r)&&n.push(r)}for(var a=n.slice(),o=0;o<a.length;o++)n=n.concat(n[o].collectSides(t.concat(n)));return n}},{key:"updateBoundHeightModifiers",value:function e(){for(var t=-1/0,n=this.collectSides(),i=0;i<n.length;i++)n[i]!==this&&(t=Math.max(t,n[i].computeBottomEdge()-n[i].wObject.getBoundHeightModifier()));var r=Math.max(t- 1416(this.wObject.getComputedPosition().getY()+this.wObject.getComputedSize().getHeight()-this.wObject.getBoundHeightModifier()),0);this.wObject.setBoundHeightModifier(r)}},{key:"onHeadBottomEdgeChange",value:function e(){this.isPushingDisabled()||this.updatePushedDown()}},{key:"onSideSizeChange",value:function e(){this.isPushingDisabled()||this.updateBoundHeightModifiers()}},{key:"onSidePositionChange",value:function e(){this.isPushingDisabled()||this.updateBoundHeightModifiers()}},{key:"onBottomEdgeChange", 1417value:function e(){if(!this.isPushingDisabled())for(var t=0;t<this.tails.length;t++)this.tails[t].onHeadBottomEdgeChange()}},{key:"_shouldSkipWObjectEventHandling",value:function e(){return this.isPushingDisabled()||this.wObject.isBulkMode()||this.wObject.isNoPushing()||this.wObject.isFixed()}},{key:"onWObjectSizeChange",value:function e(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown(),this.updateBottomEdge();for(var t=0;t<this.sides.length;t++)this.sides[t].onSideSizeChange()}}}, 1418{key:"onWObjectPositionChange",value:function e(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown(),this.updateBottomEdge();for(var t=0;t<this.sides.length;t++)this.sides[t].onSidePositionChange()}}},{key:"onWObjectVisibilityChange",value:function e(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown(),this.updateBottomEdge();for(var t=0;t<this.sides.length;t++)this.sides[t].onSidePositionChange()}}},{key:"hasHeads",value:function e(){return this.heads.length>0}}, 1419{key:"getHeads",value:function e(t){for(var n=[],i=0;i<this.heads.length;i++)n.push(this.heads[i].getHead()),t&&(n=n.concat(this.heads[i].getHead().getHeads(t)));return n}},{key:"hasTails",value:function e(){return this.tails.length>0}},{key:"getTails",value:function e(t){for(var n=[],i=0;i<this.tails.length;i++)n.push(this.tails[i]),t&&(n=n.concat(this.tails[i].getTails(t)));return n}},{key:"hasSides",value:function e(){return this.sides.length>0}},{key:"hasAnyRelation",value:function e(){return this.hasHeads()|| 1420this.hasTails()||this.hasSides()}},{key:"shakeIt",value:function e(){this.updatePushedDown(),this.updateBoundHeightModifiers(),this.updateBottomEdge()}},{key:"getInFlowHeads",value:function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],i=0;i<this.heads.length;i++){var r=this.heads[i].getHead();!1===this.heads[i].relation.hasDisabledPulling()&&(r.wObject.isAlwaysPushing()||r.wObject.isInFlow()&&r.wObject.isVisibleForInFlow())&&(n.push(r),!0===t.deep&&(n=n.concat(r.getInFlowHeads({deep:!0}))))}return n}}, 1421{key:"setPushingDisabled",value:function e(t){this._pushingDisabled=t}},{key:"isPushingDisabled",value:function e(){return this._pushingDisabled}},{key:"collectDownPath",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new a.a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=t.get(this.wObject.id);if(!(t.has(this.wObject.id)&&i.level>=n)){webwave.isNotDefOrNull(i)?(i=new o.a({node:this,level:n}),t.add(this.wObject.id,i)):i.level=n;for(var r=0;r<this.tails.length;r++)this.tails[r].collectDownPath(t, 1422n+1);this.wObject.forEachAncestor(function(e){null!==e.getRelationNode()&&e.getRelationNode().collectDownPath(t,n+1)})}}}]),e}()},3006:function(e,t,n){n.d(t,"a",function(){return r});var i=n(0),r=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.level=t.level,this.node=t.node}},3007:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(3008),o=n(106),s=function(){function e(t,n,r){Object(i.a)(this,e),this.head=null,this.tails=null, 1423this.head=t,this.tail=n,this.relation=r;var s={};s[o.a.VH]={object:t.wObject.getPageCanvas(),property:"renderedHeight"},this._lengthProxy=new a.a(r.getDistance(),{valueChangeHandler:this.onValueChange.bind(this),lengthParents:s}),this.relation.addPropertyChangeListener("distance",this),this.value=this._lengthProxy.getValue()}return Object(r.a)(e,[{key:"getHead",value:function e(){return this.head}},{key:"getTail",value:function e(){return this.tail}},{key:"getDistance",value:function e(){return this.relation.getDistance()}}, 1424{key:"onValueChange",value:function e(t){this.value=this._lengthProxy.getValue(),this.tail.updatePushedDown()}},{key:"onPropertyChange",value:function e(t){this._lengthProxy.setLength(t.getNewValue())}},{key:"dispose",value:function e(){this.relation.removePropertyChangeListener("distance",this),this._lengthProxy.dispose()}},{key:"getValue",value:function e(){return this.value}}]),e}()},3008:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=function(){function e(t){var n= 1425arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(i.a)(this,e),this.length=null,this.value=0,this.length=t,this.valueChangeHandler=n.valueChangeHandler,this._lengthParents=n.lengthParents,this._parentProxy=null,this._updateParentProxy(),this.value=this.computeValue()}return Object(r.a)(e,[{key:"setParentProxy",value:function e(t){null!==this._parentProxy&&this._parentProxy.object.removePropertyChangeListener(this._parentProxy.property,this),this._parentProxy=t,null!==this._parentProxy&& 1426this._parentProxy.object.addPropertyChangeListener(this._parentProxy.property,this)}},{key:"_updateParentProxy",value:function e(){var t,n=null,i=null===(t=this.length)||void 0===t?void 0:t.getUnit();webwave.isDefAndNotNull(this._lengthParents[i])&&(n=this._lengthParents[i]),this.setParentProxy(n)}},{key:"onValueChange",value:function e(t,n){webwave.isFunction(this.valueChangeHandler)&&this.valueChangeHandler(t,n,this)}},{key:"getValue",value:function e(){return this.value}},{key:"setValue",value:function e(t){var n= 1427this.value;this.value=t,t!==n&&this.onValueChange(t,n)}},{key:"computeValue",value:function e(){if(webwave.isNotDefOrNull(this.length))return 0;if(null!==this._parentProxy){var t="get".concat(a.StringUtils.capitalizeFirstLetter(this._parentProxy.property)),n;if(webwave.isFunction(this._parentProxy.object[t]))return this._parentProxy.object[t]()*this.length.getValue()/100}
1427return this.length.getValue()}},{key:"updateValue",value:function e(){this.setValue(this.computeValue())}},{key:"setLength",value:function e(t){this.length= 1428t,this._updateParentProxy(),this.updateValue()}},{key:"onPropertyChange",value:function e(t){this.updateValue()}},{key:"dispose",value:function e(){null!==this._parentProxy&&this._parentProxy.object.removePropertyChangeListener(this._parentProxy.property,this)}}]),e}()},306:function(e,t,n){var i=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n(function(t){t(e)})}return new (n||(n=Promise))(function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i.throw(e))}catch(e){a(e)}} 1429function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");for(;n;)try{if(i=1,r&&(a=2&o[0]?r.return:o[0]? 1430r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return n.label++,{value:o[1],done:!1};case 5:n.label++,r=o[1],o=[0];continue;case 7:o=n.ops.pop(),n.trys.pop();continue;default:if(!(a=(a=n.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){n=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(6===o[0]&&n.label<a[1]){n.label=a[1],a=o;break}if(a&&n.label<a[2]){n.label=a[2], 1431n.ops.push(o);break}a[2]&&n.ops.pop(),n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e],r=0}finally{i=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},a=this&&this.__spreadArray||function(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.Container=void 0;var o=n(307),s=n(33),u=n(46),c=n(22),l=n(169),d=n(308),h=n(315),f=n(317),v=n(60),g=n(73),p=n(320),y=n(321),b=function(){function e(e){this._appliedMiddleware= 1432[];var t=e||{};if("object"!=typeof t)throw new Error(""+s.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT);if(void 0===t.defaultScope)t.defaultScope=u.BindingScopeEnum.Transient;else if(t.defaultScope!==u.BindingScopeEnum.Singleton&&t.defaultScope!==u.BindingScopeEnum.Transient&&t.defaultScope!==u.BindingScopeEnum.Request)throw new Error(""+s.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE);if(void 0===t.autoBindInjectable)t.autoBindInjectable=!1;else if("boolean"!=typeof t.autoBindInjectable)throw new Error(""+s.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE); 1433if(void 0===t.skipBaseClassChecks)t.skipBaseClassChecks=!1;else if("boolean"!=typeof t.skipBaseClassChecks)throw new Error(""+s.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK);this.options={autoBindInjectable:t.autoBindInjectable,defaultScope:t.defaultScope,skipBaseClassChecks:t.skipBaseClassChecks},this.id=v.id(),this._bindingDictionary=new y.Lookup,this._snapshots=[],this._middleware=null,this.parent=null,this._metadataReader=new l.MetadataReader}return e.merge=function(t,n){for(var i=[],r=2;r<arguments.length;r++)i[r- 14342]=arguments[r];var o=new e,s=a([t,n],i).map(function(e){return d.getBindingDictionary(e)}),u=d.getBindingDictionary(o);
1434function c(e,t){e.traverse(function(e,n){n.forEach(function(e){t.add(e.serviceIdentifier,e.clone())})})}return s.forEach(function(e){c(e,u)}),o},e.prototype.load=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this._getContainerModuleHelpersFactory(),i=0,r=e;i<r.length;i++){var a=r[i],o=n(a.id);a.registry(o.bindFunction,o.unbindFunction,o.isboundFunction, 1435o.rebindFunction)}},e.prototype.loadAsync=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(this,void 0,void 0,function(){var t,n,i,a,o;return r(this,function(r){switch(r.label){case 0:t=this._getContainerModuleHelpersFactory(),n=0,i=e,r.label=1;case 1:return n<i.length?(a=i[n],o=t(a.id),[4,a.registry(o.bindFunction,o.unbindFunction,o.isboundFunction,o.rebindFunction)]):[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},e.prototype.unload=function(){for(var e= 1436this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=function(e){return function(t){return t.moduleId===e}};t.forEach(function(t){var n=i(t.id);e._bindingDictionary.removeByCondition(n)})},e.prototype.bind=function(e){var t=this.options.defaultScope||u.BindingScopeEnum.Transient,n=new o.Binding(e,t);return this._bindingDictionary.add(e,n),new f.BindingToSyntax(n)},e.prototype.rebind=function(e){return this.unbind(e),this.bind(e)},e.prototype.unbind=function(e){try{this._bindingDictionary.remove(e)}catch(t){throw new Error(s.CANNOT_UNBIND+ 1437" "+g.getServiceIdentifierAsString(e));}},e.prototype.unbindAll=function(){this._bindingDictionary=new y.Lookup},e.prototype.isBound=function(e){var t=this._bindingDictionary.hasKey(e);return!t&&this.parent&&(t=this.parent.isBound(e)),t},e.prototype.isBoundNamed=function(e,t){return this.isBoundTagged(e,c.NAMED_TAG,t)},e.prototype.isBoundTagged=function(e,t,n){var i=!1;if(this._bindingDictionary.hasKey(e)){var r=this._bindingDictionary.get(e),a=d.createMockRequest(this,e,t,n);i=r.some(function(e){return e.constraint(a)})}return!i&& 1438this.parent&&(i=this.parent.isBoundTagged(e,t,n)),i},e.prototype.snapshot=function(){this._snapshots.push(p.ContainerSnapshot.of(this._bindingDictionary.clone(),this._middleware))},e.prototype.restore=function(){var e=this._snapshots.pop();if(void 0===e)throw new Error(s.NO_MORE_SNAPSHOTS_AVAILABLE);this._bindingDictionary=e.bindings,this._middleware=e.middleware},e.prototype.createChild=function(t){var n=new e(t||this.options);return n.parent=this,n},e.prototype.applyMiddleware=function(){for(var e= 1439[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._appliedMiddleware=this._appliedMiddleware.concat(e);var n=this._middleware?this._middleware:this._planAndResolve();this._middleware=e.reduce(function(e,t){return t(e)},n)},e.prototype.applyCustomMetadataReader=function(e){this._metadataReader=e},e.prototype.get=function(e){return this._get(!1,!1,u.TargetTypeEnum.Variable,e)},e.prototype.getTagged=function(e,t,n){return this._get(!1,!1,u.TargetTypeEnum.Variable,e,t,n)},e.prototype.getNamed=function(e, 1440t){return this.getTagged(e,c.NAMED_TAG,t)},e.prototype.getAll=function(e){return this._get(!0,!0,u.TargetTypeEnum.Variable,e)},e.prototype.getAllTagged=function(e,t,n){return this._get(!1,!0,u.TargetTypeEnum.Variable,e,t,n)},e.prototype.getAllNamed=function(e,t){return this.getAllTagged(e,c.NAMED_TAG,t)},e.prototype.resolve=function(e){var t=this.createChild();return t.bind(e).toSelf(),this._appliedMiddleware.forEach(function(e){t.applyMiddleware(e)}),t.get(e)},e.prototype._getContainerModuleHelpersFactory= 1441function(){var e=this,t=function(e,t){e._binding.moduleId=t},n=function(n){return function(i){var r,a=e.bind.bind(e)(i);return t(a,n),a}},i=function(t){return function(t){var n;e.unbind.bind(e)(t)}},r=function(t){return function(t){var n;return e.isBound.bind(e)(t)}},a=function(n){return function(i){var r,a=e.rebind.bind(e)(i);return t(a,n),a}};return function(e){return{bindFunction:n(e),isboundFunction:r(e),rebindFunction:a(e),unbindFunction:i(e)}}},e.prototype._get=function(e,t,n,i,r,a){var o=null, 1442u={avoidConstraints:e,contextInterceptor:function(e){return e},isMultiInject:t,key:r,serviceIdentifier:i,targetType:n,value:a};if(this._middleware){if(void 0===(o=this._middleware(u))||null===o)throw new Error(s.INVALID_MIDDLEWARE_RETURN);}else o=this._planAndResolve()(u);return o},e.prototype._planAndResolve=function(){var e=this;return function(t){var n=d.plan(e._metadataReader,e,t.isMultiInject,t.targetType,t.serviceIdentifier,t.key,t.value,t.avoidConstraints),i;return n=t.contextInterceptor(n), 1443h.resolve(n)}},e}();t.Container=b}
1443,307:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Binding=void 0;var i=n(46),r=n(60),a=function(){function e(e,t){this.id=r.id(),this.activated=!1,this.serviceIdentifier=e,this.scope=t,this.type=i.BindingTypeEnum.Invalid,this.constraint=function(e){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.dynamicValue=null}return e.prototype.clone=function(){var t=new e(this.serviceIdentifier, 1444this.scope);return t.activated=t.scope===i.BindingScopeEnum.Singleton&&this.activated,t.implementationType=this.implementationType,t.dynamicValue=this.dynamicValue,t.scope=this.scope,t.type=this.type,t.factory=this.factory,t.provider=this.provider,t.constraint=this.constraint,t.onActivation=this.onActivation,t.cache=this.cache,t},e}();t.Binding=a},308:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getBindingDictionary=t.createMockRequest=t.plan=void 0;var i=n(309),r=n(33),a=n(46), 1445o=n(22),s=n(170),u=n(73),c=n(310),l=n(37),d=n(311),h=n(312),f=n(314),v=n(172);function g(e){return e._bindingDictionary}function p(e,t,n,i,r,a){var s=e?o.MULTI_INJECT_TAG:o.INJECT_TAG,u=new l.Metadata(s,n),c=new v.Target(t,i,n,u);if(void 0!==r){var d=new l.Metadata(r,a);c.metadata.push(d)}return c}function y(e,t,n,r,a){var o=w(n.container,a.serviceIdentifier),s=[];return o.length===i.BindingCount.NoBindingsAvailable&&n.container.options.autoBindInjectable&&"function"==typeof a.serviceIdentifier&& 1446e.getConstructorMetadata(a.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(a.serviceIdentifier).toSelf(),o=w(n.container,a.serviceIdentifier)),s=t?o:o.filter(function(e){var t=new f.Request(e.serviceIdentifier,n,r,e,a);return e.constraint(t)}),b(a.serviceIdentifier,s,a,n.container),s}function b(e,t,n,a){switch(t.length){case i.BindingCount.NoBindingsAvailable:if(n.isOptional())return t;var o=u.getServiceIdentifierAsString(e),s=r.NOT_REGISTERED;throw s+=u.listMetadataForTarget(o,n), 1447s+=u.listRegisteredBindingsForServiceIdentifier(a,o,w),new Error(s);case i.BindingCount.OnlyOneBindingAvailable:if(!n.isArray())return t;case i.BindingCount.MultipleBindingsAvailable:default:if(n.isArray())return t;var o=u.getServiceIdentifierAsString(e),s=r.AMBIGUOUS_MATCH+" "+o;throw s+=u.listRegisteredBindingsForServiceIdentifier(a,o,w),new Error(s);}}function m(e,t,n,i,o,s){var u,c;if(null===o){u=y(e,t,i,null,s),c=new f.Request(n,i,null,u,s);var l=new d.Plan(i,c);i.addPlan(l)}else u=y(e,t,i,o, 1448s),c=o.addChildRequest(s.serviceIdentifier,u,s);u.forEach(function(t){var n=null;if(s.isArray())n=c.addChildRequest(t.serviceIdentifier,t,s);else{if(t.cache)return;n=c}if(t.type===a.BindingTypeEnum.Instance&&null!==t.implementationType){var o=h.getDependencies(e,t.implementationType);if(!i.container.options.skipBaseClassChecks){var u=h.getBaseClassDependencyCount(e,t.implementationType);if(o.length<u){var l=r.ARGUMENTS_LENGTH_MISMATCH(h.getFunctionName(t.implementationType));throw new Error(l);}}o.forEach(function(t){m(e, 1449!1,t.serviceIdentifier,i,n,t)})}})}function w(e,t){var n=[],i=g(e);return i.hasKey(t)?n=i.get(t):null!==e.parent&&(n=w(e.parent,t)),n}function S(e,t,n,i,r,a,o,l){void 0===l&&(l=!1);var d=new c.Context(t),h=p(n,i,r,"",a,o);try{return m(e,l,r,d,null,h),d}catch(e){throw s.isStackOverflowExeption(e)&&d.plan&&u.circularDependencyToException(d.plan.rootRequest),e;}}function O(e,t,n,i){var r=new v.Target(a.TargetTypeEnum.Variable,"",t,new l.Metadata(n,i)),o=new c.Context(e),s;return new f.Request(t,o,null, 1450[],r)}t.getBindingDictionary=g,t.plan=S,t.createMockRequest=O},309:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingCount=void 0;var i={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1};t.BindingCount=i},31:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(111),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"setWindowConfigValue",value:function t(n,i){e.setValue(window.config,n,i)}},{key:"setValue", 1451value:function e(t,n,i){if(webwave.isString(n)){for(var r=n.split("."),a=webwave.isDef(t)?t:window.config,o=0;o<r.length-1;o++)webwave.isNotDef(a[r[o]])&&(a[r[o]]={}),a=a[r[o]];a[r[r.length-1]]=i}}},{key:"getValue",value:function e(t,n,i){if(webwave.isString(t)){var r=t.split("."),a=webwave.isDef(i)?i:window.config;
1451if(webwave.isNotDef(a))return n;for(var o=0;o<r.length;o++){if(!webwave.isDef(a[r[o]]))return n;a=a[r[o]]}return a}return null}},{key:"getDecodedJSON",value:function t(n){var i=a.a.decodeHtml(e.getValue(n)); 1452return webwave.isValidJSON(i)?JSON.parse(i):{}}},{key:"isValueExists",value:function t(n,i){return webwave.isDef(e.getValue(n,i))}}]),e}()},310:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Context=void 0;var i=n(60),r=function(){function e(e){this.id=i.id(),this.container=e}return e.prototype.addPlan=function(e){this.plan=e},e.prototype.setCurrentRequest=function(e){this.currentRequest=e},e}();t.Context=r},311:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}), 1453t.Plan=void 0;var i=function(){function e(e,t){this.parentContext=e,this.rootRequest=t}return e}();t.Plan=i},312:function(e,t,n){var i=this&&this.__spreadArray||function(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.getFunctionName=t.getBaseClassDependencyCount=t.getDependencies=void 0;var r=n(171),a=n(33),o=n(46),s=n(22),u=n(73);Object.defineProperty(t,"getFunctionName",{enumerable:!0,get:function(){return u.getFunctionName}}); 1454var c=n(172);function l(e,t){var n,i;return d(e,u.getFunctionName(t),t,!1)}function d(e,t,n,r){var o=e.getConstructorMetadata(n),s=o.compilerGeneratedMetadata;if(void 0===s){var u=a.MISSING_INJECTABLE_ANNOTATION+" "+t+".";throw new Error(u);}var c=o.userGeneratedMetadata,l=Object.keys(c),d=0===n.length&&l.length>0,h=l.length>n.length,g,p=f(r,t,s,c,d||h?l.length:n.length),y=v(e,n),b;return i(i([],p),y)}function h(e,t,n,i,s){var u=s[e.toString()]||[],l=p(u),d=!0!==l.unmanaged,h=i[e],f=l.inject||l.multiInject; 1455if((h=f||h)instanceof r.LazyServiceIdentifer&&(h=h.unwrap()),d){var v=h===Object,g=h===Function,y,b;if(!t&&(v||g||void 0===h)){var m=a.MISSING_INJECT_ANNOTATION+" argument "+e+" in class "+n+".";throw new Error(m);}var w=new c.Target(o.TargetTypeEnum.ConstructorArgument,l.targetName,h);return w.metadata=u,w}return null}function f(e,t,n,i,r){for(var a=[],o=0;o<r;o++){var s,u=h(o,e,t,n,i);null!==u&&a.push(u)}return a}function v(e,t){for(var n=e.getPropertiesMetadata(t),r=[],a,s=0,u=Object.keys(n);s< 1456u.length;s++){var l=u[s],d=n[l],h=p(n[l]),f=h.targetName||l,g=h.inject||h.multiInject,y=new c.Target(o.TargetTypeEnum.ClassProperty,f,g);y.metadata=d,r.push(y)}var b=Object.getPrototypeOf(t.prototype).constructor;if(b!==Object){var m=v(e,b);r=i(i([],r),m)}return r}function g(e,t){var n=Object.getPrototypeOf(t.prototype).constructor;if(n!==Object){var i,r=d(e,u.getFunctionName(n),n,!0),a=r.map(function(e){return e.metadata.filter(function(e){return e.key===s.UNMANAGED_TAG})}),o=[].concat.apply([], 1457a).length,c=r.length-o;return c>0?c:g(e,n)}return 0}function p(e){var t={};return e.forEach(function(e){t[e.key.toString()]=e.value}),{inject:t[s.INJECT_TAG],multiInject:t[s.MULTI_INJECT_TAG],targetName:t[s.NAME_TAG],unmanaged:t[s.UNMANAGED_TAG]}}t.getDependencies=l,t.getBaseClassDependencyCount=g},313:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.QueryableString=void 0;var i=function(){function e(e){this.str=e}return e.prototype.startsWith=function(e){return 0===this.str.indexOf(e)}, 1458e.prototype.endsWith=function(e){var t="",n=e.split("").reverse().join("");return t=this.str.split("").reverse().join(""),this.startsWith.call({str:t},n)},e.prototype.contains=function(e){return-1!==this.str.indexOf(e)},e.prototype.equals=function(e){return this.str===e},e.prototype.value=function(){return this.str},e}();t.QueryableString=i},314:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;var i=n(60),r=function(){function e(e,t,n,r,a){this.id=i.id(),this.serviceIdentifier= 1459e,this.parentContext=t,this.parentRequest=n,this.target=a,this.childRequests=[],this.bindings=Array.isArray(r)?r:[r],this.requestScope=null===n?new Map:null}return e.prototype.addChildRequest=function(t,n,i){var r=new e(t,this.parentContext,this,n,i);return this.childRequests.push(r),r},e}();t.Request=r}
1459,315:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resolve=void 0;var i=n(33),r=n(46),a=n(170),o=n(73),s=n(316),u=function(e,t,n){try{return n()}catch(n){throw a.isStackOverflowExeption(n)? 1460new Error(i.CIRCULAR_DEPENDENCY_IN_FACTORY(e,t.toString())):n;}},c=function(e){return function(t){t.parentContext.setCurrentRequest(t);var n=t.bindings,a=t.childRequests,l=t.target&&t.target.isArray(),d=!(t.parentRequest&&t.parentRequest.target&&t.target&&t.parentRequest.target.matchesArray(t.target.serviceIdentifier));if(l&&d)return a.map(function(t){var n;return c(e)(t)});var h=null;if(!t.target.isOptional()||0!==n.length){var f=n[0],v=f.scope===r.BindingScopeEnum.Singleton,g=f.scope===r.BindingScopeEnum.Request; 1461if(v&&f.activated)return f.cache;if(g&&null!==e&&e.has(f.id))return e.get(f.id);if(f.type===r.BindingTypeEnum.ConstantValue)h=f.cache,f.activated=!0;else if(f.type===r.BindingTypeEnum.Function)h=f.cache,f.activated=!0;else if(f.type===r.BindingTypeEnum.Constructor)h=f.implementationType;else if(f.type===r.BindingTypeEnum.DynamicValue&&null!==f.dynamicValue)h=u("toDynamicValue",f.serviceIdentifier,function(){return f.dynamicValue(t.parentContext)});else if(f.type===r.BindingTypeEnum.Factory&&null!== 1462f.factory)h=u("toFactory",f.serviceIdentifier,function(){return f.factory(t.parentContext)});else if(f.type===r.BindingTypeEnum.Provider&&null!==f.provider)h=u("toProvider",f.serviceIdentifier,function(){return f.provider(t.parentContext)});else{if(f.type!==r.BindingTypeEnum.Instance||null===f.implementationType){var p=o.getServiceIdentifierAsString(t.serviceIdentifier);throw new Error(i.INVALID_BINDING_TYPE+" "+p);}h=s.resolveInstance(f.implementationType,a,c(e))}return"function"==typeof f.onActivation&& 1463(h=f.onActivation(t.parentContext,h)),v&&(f.cache=h,f.activated=!0),g&&null!==e&&!e.has(f.id)&&e.set(f.id,h),h}}};function l(e){var t;return c(e.plan.rootRequest.requestScope)(e.plan.rootRequest)}t.resolve=l},316:function(e,t,n){var i=this&&this.__spreadArray||function(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.resolveInstance=void 0;var r=n(33),a=n(46),o=n(22);function s(e,t,n){var i=t.filter(function(e){return null!== 1464e.target&&e.target.type===a.TargetTypeEnum.ClassProperty}),r=i.map(n);return i.forEach(function(t,n){var i="";i=t.target.name.value();var a=r[n];e[i]=a}),e}function u(e,t){return new (e.bind.apply(e,i([void 0],t)))}function c(e,t){if(Reflect.hasMetadata(o.POST_CONSTRUCT,e)){var n=Reflect.getMetadata(o.POST_CONSTRUCT,e);try{t[n.value]()}catch(t){throw new Error(r.POST_CONSTRUCT_ERROR(e.name,t.message));}}}function l(e,t,n){var i=null,r,o;t.length>0?i=s(i=u(e,t.filter(function(e){return null!==e.target&& 1465e.target.type===a.TargetTypeEnum.ConstructorArgument}).map(n)),t,n):i=new e;return c(e,i),i}t.resolveInstance=l},317:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingToSyntax=void 0;var i=n(33),r=n(46),a=n(318),o=n(173),s=function(){function e(e){this._binding=e}return e.prototype.to=function(e){return this._binding.type=r.BindingTypeEnum.Instance,this._binding.implementationType=e,new a.BindingInWhenOnSyntax(this._binding)},e.prototype.toSelf=function(){if("function"!=typeof this._binding.serviceIdentifier)throw new Error(""+ 1466i.INVALID_TO_SELF_VALUE);var e=this._binding.serviceIdentifier;return this.to(e)},e.prototype.toConstantValue=function(e){return this._binding.type=r.BindingTypeEnum.ConstantValue,this._binding.cache=e,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},e.prototype.toDynamicValue=function(e){return this._binding.type=r.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue= 1467e,this._binding.implementationType=null,new a.BindingInWhenOnSyntax(this._binding)},e.prototype.toConstructor=function(e){return this._binding.type=r.BindingTypeEnum.Constructor,this._binding.implementationType=e,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},e.prototype.toFactory=function(e){return this._binding.type=r.BindingTypeEnum.Factory,this._binding.factory=e,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)}, 1468e.prototype.toFunction=function(e){if("function"!=typeof e)throw new Error(i.INVALID_FUNCTION_BINDING);var t=this.toConstantValue(e);return this._binding.type=r.BindingTypeEnum.Function,this._binding.scope=r.BindingScopeEnum.Singleton,t},e.prototype.toAutoFactory=function(e){return this._binding.type=r.BindingTypeEnum.Factory,this._binding.factory=function(t){var n;return function(){return t.container.get(e)}},this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)}, 1469e.prototype.toProvider=function(e){return this._binding.type=r.BindingTypeEnum.Provider,this._binding.provider=e,this._binding.scope=r.BindingScopeEnum.Singleton,new o.BindingWhenOnSyntax(this._binding)},e.prototype.toService=function(e){this.toDynamicValue(function(t){return t.container.get(e)})},e}();t.BindingToSyntax=s}
1469,318:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingInWhenOnSyntax=void 0;var i=n(319),r=n(116),a=n(117),o=function(){function e(e){this._binding=e,this._bindingWhenSyntax= 1470new a.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new r.BindingOnSyntax(this._binding),this._bindingInSyntax=new i.BindingInSyntax(e)}return e.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},e.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},e.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed= 1471function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e, 1472t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged= 1473function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e}();t.BindingInWhenOnSyntax=o},319:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BindingInSyntax=void 0;var i=n(46), 1474r=n(173),a=function(){function e(e){this._binding=e}return e.prototype.inRequestScope=function(){return this._binding.scope=i.BindingScopeEnum.Request,new r.BindingWhenOnSyntax(this._binding)},e.prototype.inSingletonScope=function(){return this._binding.scope=i.BindingScopeEnum.Singleton,new r.BindingWhenOnSyntax(this._binding)},e.prototype.inTransientScope=function(){return this._binding.scope=i.BindingScopeEnum.Transient,new r.BindingWhenOnSyntax(this._binding)},e}();t.BindingInSyntax=a},320:function(e, 1475t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ContainerSnapshot=void 0;var i=function(){function e(){}return e.of=function(t,n){var i=new e;return i.bindings=t,i.middleware=n,i},e}();t.ContainerSnapshot=i},321:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Lookup=void 0;var i=n(33),r=function(){function e(){this._map=new Map}return e.prototype.getMap=function(){return this._map},e.prototype.add=function(e,t){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(null=== 1476t||void 0===t)throw new Error(i.NULL_ARGUMENT);var n=this._map.get(e);void 0!==n?(n.push(t),this._map.set(e,n)):this._map.set(e,[t])},e.prototype.get=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);var t=this._map.get(e);if(void 0!==t)return t;throw new Error(i.KEY_NOT_FOUND);},e.prototype.remove=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);if(!this._map.delete(e))throw new Error(i.KEY_NOT_FOUND);},e.prototype.removeByCondition=function(e){var t=this;this._map.forEach(function(n, 1477i){var r=n.filter(function(t){return!e(t)});r.length>0?t._map.set(i,r):t._map.delete(i)})},e.prototype.hasKey=function(e){if(null===e||void 0===e)throw new Error(i.NULL_ARGUMENT);return this._map.has(e)},e.prototype.clone=function(){var t=new e;
1477return this._map.forEach(function(e,n){e.forEach(function(e){return t.add(n,e.clone())})}),t},e.prototype.traverse=function(e){this._map.forEach(function(t,n){e(n,t)})},e}();t.Lookup=r},322:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncContainerModule= 1478t.ContainerModule=void 0;var i=n(60),r=function(){function e(e){this.id=i.id(),this.registry=e}return e}();t.ContainerModule=r;var a=function(){function e(e){this.id=i.id(),this.registry=e}return e}();t.AsyncContainerModule=a},323:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.injectable=void 0;var i=n(33),r=n(22);function a(){return function(e){if(Reflect.hasOwnMetadata(r.PARAM_TYPES,e))throw new Error(i.DUPLICATED_INJECTABLE_DECORATOR);var t=Reflect.getMetadata(r.DESIGN_PARAM_TYPES, 1479e)||[];return Reflect.defineMetadata(r.PARAM_TYPES,t,e),e}}t.injectable=a},324:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.tagged=void 0;var i=n(37),r=n(54);function a(e,t){return function(n,a,o){var s=new i.Metadata(e,t);"number"==typeof o?r.tagParameter(n,a,o,s):r.tagProperty(n,a,s)}}t.tagged=a},325:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.named=void 0;var i=n(22),r=n(37),a=n(54);function o(e){return function(t,n,o){var s=new r.Metadata(i.NAMED_TAG, 1480e);"number"==typeof o?a.tagParameter(t,n,o,s):a.tagProperty(t,n,s)}}t.named=o},326:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.optional=void 0;var i=n(22),r=n(37),a=n(54);function o(){return function(e,t,n){var o=new r.Metadata(i.OPTIONAL_TAG,!0);"number"==typeof n?a.tagParameter(e,t,n,o):a.tagProperty(e,t,o)}}t.optional=o},327:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.unmanaged=void 0;var i=n(22),r=n(37),a=n(54);function o(){return function(e,t,n){var o= 1481new r.Metadata(i.UNMANAGED_TAG,!0);a.tagParameter(e,t,n,o)}}t.unmanaged=o},328:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;var i=n(22),r=n(37),a=n(54);function o(e){return function(t,n,o){var s=new r.Metadata(i.MULTI_INJECT_TAG,e);"number"==typeof o?a.tagParameter(t,n,o,s):a.tagProperty(t,n,s)}}t.multiInject=o},3283:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return oe});var i=n(28),r=n(0),a=n(1),o=n(27),s=n.n(o),
1482u=n(949),c=n(14),l=n.n(c),d=n(2705),h=n(3355),f=n(3356),v=n(2868),g=n(2869),p=n(3357),y=n(11),b=n.n(y),m=n(859),w=n(3358),S=n(3359),O=n(1778),_=n(3360),k=n(2706),P=n(227),A=n(860),E=n(3001),I=n(1779),C=n(2871),T=n(3362),N=n(3284),D=n(1810),j=n(2081),R=n(2872),L=n(2708),x=n(1663),M=n(3003),B=n(3373),V=n(3285),F=n(3374),W=n(3375),U=n(3286),z=n(3004),H=n(2716),G=n(53),Y=n.n(G),q=n(230),X=n(3376),K=n(1781),Z=n(1665),J=n(3377),Q=n(1745),ee=n(31),te=n(17),ne=n(950),ie=n(16),re=n(1815),ae=n(3378),oe=function(){function e(){Object(r.a)(this, 1483e),this.container=new c.Container,this.globalWebsiteData={},this._requireResize=!1,this.servicesToInit=[]}return Object(a.a)(e,[{key:"run",value:function(){var e=Object(i.a)(s.a.mark(function e(){var t=this,n;return s.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:this._initResizeHandler(),(n=new Q.a).addToQueue(function(){t.injectDependencies()}),n.addToQueue(function(){t.init()}),n.dequeue(),this._initPolyfill(),this._initFontsLoadedEventListener();case 7:case "end":return i.stop()}}, 1484e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"injectDependencies",value:function e(){var t=this.container;Reflect.hasMetadata("inversify:paramtypes",G.SimplePropertyChangeEmitter)||c.decorate(c.injectable(),G.SimplePropertyChangeEmitter),t.bind(te.a.Container).toConstantValue(t),t.bind(te.a.PhoneNumberUtils).to(x.a).inSingletonScope(),t.bind(te.a.StoreStorage).to(U.a).inSingletonScope(),t.bind(te.a.StoreCartsProductCounterService).to(W.a).inSingletonScope(),t.bind(te.a.EnvironmentUtils).to(m.a).inSingletonScope(), 1485t.get(te.a.EnvironmentUtils).setEnvironment(y.Environment),t.bind(te.a.WindowService).to(Z.a).inSingletonScope(),t.bind(ne.a.BackgroundParallaxService).to(h.a).inSingletonScope(),t.bind(ne.a.BrowserHistoryService).to(f.a).inSingletonScope(),t.bind(ne.a.ElementRotationService).to(g.a).inSingletonScope(),t.bind(ne.a.ElementAttributeService).toConstantValue(window.elementAttributeService),t.bind(ne.a.ElementService).to(p.a).inSingletonScope(),t.bind(ne.a.FacebookService).to(w.a).inSingletonScope(),t.bind(te.a.FrontendTranslation).to(O.a).inSingletonScope(), 1486t.bind(te.a.LocationService).toConstantValue(com.webwave.utils.location.locationService),t.bind(ne.a.GroupService).to(_.a).inSingletonScope(),t.bind(ne.a.LocalStorageService).to(I.a).inSingletonScope(),t.bind(ne.a.LoadResourceUtils).to(E.a).inSingletonScope(),t.bind(ne.a.MediaPlayerService).to(C.a).inSingletonScope(),t.bind(ne.a.MenutoolService).to(T.a).inSingletonScope(),t.bind(ne.a.FeedService).to(S.a).inSingletonScope(),t.bind(ne.a.ObjectService).to(R.a).inSingletonScope(),t.bind(ne.a.PageService).to(L.a).inSingletonScope(), 1487t.bind(ne.a.PublicatedScrollService).to(B.a).inSingletonScope(),t.bind(ne.a.PublishedPageAreaService).to(z.a).inSingletonScope(),t.bind(ne.a.RwdService).toConstantValue(window.rwdService),t.bind(ne.a.UserService).to(X.a).inSingletonScope(),t.bind(ne.a.UtilService).to(K.a).inSingletonScope(),t.bind(ne.a.ModularObjectContentService).to(N.a).inSingletonScope(),t.bind(ie.a.StoreAnalyticsManager).to(F.a).inSingletonScope(),t.bind(ie.a.OrderPopupService).to(V.a).inSingletonScope(),t.bind(ie.a.InteractionsService).to(k.a).inSingletonScope(), 1488t.bind(te.a.LoadingBoxService).to(A.a).inSingletonScope(),t.bind(ie.a.RelationManagerService).to(H.a).inSingletonScope(),webwave.utils.setEnvironmentUtils(this.container.get(te.a.EnvironmentUtils)),window.utilService=this.container.get(ne.a.UtilService),webwave.provide("com.webwave.publication.object.ObjectService");var n=this.container.get(ne.a.PageService);window.pageService=n,y.MobileUtils.reloadIfBackForwadCacheInAppleDevice();var i=this.container.get(ne.a.ObjectService);R.a.__instance=i,com.webwave.publication.object.ObjectService= 1489R.a;var r=this.container.get(ne.a.GroupService);window.groupService=r;var a=this.container.get(ne.a.ElementService);window.elementService=a;var o=this.container.get(ne.a.FacebookService);window.facebookService=o;var s=this.container.get(ne.a.MediaPlayerService);com.webwave.publication.object.mediaPlayerService=s;var u=this.container.get(ne.a.MenutoolService);window.menutoolService=u,window[window.WWNamespace.POPUP_MANAGER]=new q.a,this.preInitMethods()}},{key:"init",value:function(){var e=Object(i.a)(s.a.mark(function e(){var t,
1490n=this,i,r,a,o,u,c,l,d,h,f,g,p,b,m,w,S,O,_,k,A;return s.a.wrap(function e(s){for(;;)switch(s.prev=s.next){case 0:return this._setAppAsInitializing(),y.MobileUtils.reloadIfBackForwadCacheInAppleDevice(),i=this.container.get(ne.a.PageService),r=this.container.get(ne.a.ObjectService),a=this.container.get(ne.a.GroupService),o=this.container.get(ne.a.ElementService),u=this.container.get(ne.a.FeedService),this.servicesToInit.push(this.container.get(ne.a.BrowserHistoryService),u),i.addPageTypeClassToBody(), 1491c=P.a.parseJsonFromNodeWithId("ww-data"),webwave.isObject(c)&&(this.globalWebsiteData=c),o.setHighestZIndex(null===(t=this.getGlobalWebsiteData())||void 0===t?void 0:t.highestPageZIndex),l=this.container.get(ne.a.PublicatedScrollService),d=this.container.get(ie.a.RelationManagerService),a.setRelationManagerService(d),h=new v.a,f=new J.a,(g=window.rwdService).setElementAttributeService(this.container.get(ne.a.ElementAttributeService)),g.addRwdModeChangeListener(a),g.addRwdModeChangeListener(r),g.init(), 1492this.container.get(ne.a.ModularObjectContentService).init(),p=this.container.get(ne.a.MenutoolService),b=this.container.get(ne.a.PublishedPageAreaService),p.setObjectService(r),u.setObjectService(r),r.setMenutoolService(p),r.setPageAreaService(b),r.setRelationManagerService(d),r.setBrowserWebPSupportUtils(h),r.setAnimator(com.webwave.animator.animator),r.setPhotoswipeService(com.webwave.photoswipe.PhotoswipeService.getInstance()),r.setWIntersectionObserver(f),r.setOrderPopupService(this.container.get(ie.a.OrderPopupService)), 1493d.setObjectService(r),m=this.container.get(te.a.WindowService),(w=new M.a).setWindowService(m),w.setPageAreaService(b),r.setPageCanvas(w),i.setPageCanvas(w),(S=this.container.get(ie.a.InteractionsService)).setObjectService(r),r.setInteractionsService(S),g.addRwdModeChangeListener(S),O=this.container.get(ne.a.BackgroundParallaxService),i.setObjectService(r),i.setBrowserWebPSupportUtils(h),f.init(),i.setPageAreaService(b),s.next=53,r.initObjects();case 53:for(!0!==ee.a.getValue("publicatedPageApp.doNotSetAdditionalServices")&& 1494(o.initFbElements(),O.triggerScrollListeners(),i.updateBackgroun
1494dSize(),(_=[O,r]).forEach(function(e){l.addScrollListener(e)}),l.initScrollTickListener()),i.initDownloadProtection(),o.initAllLinksScroll(),i.initLinkScroll(),o.addButtonHoverEvent(),u.updateHeightForNewsInAllFeeds(),u.setBrowserWebPSupportUtils(h),h.init().then(function(e){r.initLazyLoadForObjects(),!0===e&&(u.changeFeedsContainerThumbnailToWebP(),o.changeButtonBackgroundImageToWebP())}),r.initObjectInViewportListeners(),"complete"=== 1495document.readyState?this.onLoadCallback():window.addEventListener("load",function(){n.onLoadCallback()}),this._windowSizeChangeHandler=function(){if(!0!==ee.a.getValue("publicatedPageApp.doNotSetAdditionalServices")){b.updateScrollVisibility();var e=com.webwave.publication.object.ObjectService.getInstance().getRootWObject();null!==e&&e.setBulkMode(!0),u.updateHeightForNewsInAllFeeds(),g.handleWindowResize(window.innerWidth),u.updatePaginationListSizeInFeeds(),r.updateObjectsAfterWindowResize(),null!== 1496e&&e.setBulkMode(!1)}},(k=new CustomEvent(re.a)).context=this,document.dispatchEvent(k),this.setAppStatus(re.b.INITIALIZED),this._addListenerToAfterInitializationServices(),A=0;A<this.servicesToInit.length;A++)this.servicesToInit[A].init();this._injectDependenciesToAsynchronousModules(),this._requireResize&&this._windowSizeChangeHandler();case 72:case "end":return s.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"onLoadCallback",value:function e(){this._onLoadInitialization()}}, 1497{key:"_onLoadInitialization",value:function e(){var t=this,n=new Q.a({continueOnError:!0});n.addToQueue(function(){com.webwave.publication.object.ObjectService.getInstance().updateRotatedObjectsAfterFontsHasBeenLoaded()}),n.addToQueue(function(){t.container.get(ne.a.FeedService).updateHeightForNewsInAllFeeds()}),n.addToQueue(function(){t._initAdverts()}),n.addToQueue(function(){t._handleFontLoad()}),n.addToQueue(function(){t.container.get(ne.a.PublicatedScrollService).enableCallingActionsOnListeners()}), 1498n.addToQueue(function(){t.container.get(ne.a.ObjectService).updateStickyWNodes()}),n.addToQueue(function(){elementService.initForms()}),n.dequeue()}},{key:"addGoogleFontLoadHandler",value:function e(){var t=this;webwave.isDef(document.fonts)?document.fonts.ready.then(function(){t.updateGoogleFontsElements()}):this.updateGoogleFontsElements()}},{key:"updateGoogleFontsElements",value:function e(){com.webwave.publication.object.ObjectService.getInstance().updateAllFontDependentWObjects()}},{key:"setAppStatus", 1499value:function e(t){var n,i;this.container.get(ne.a.PublishedPageAreaService).getDocumentBody().dataset.pageAppStatus=t}},{key:"isInitialized",value:function e(){var t;return this.container.get(ne.a.PublishedPageAreaService).getDocumentBody().dataset.pageAppStatus===re.b.INITIALIZED}},{key:"getServiceFromContainer",value:function e(t){return this.container.get(t)}},{key:"getGlobalWebsiteData",value:function e(){return this.globalWebsiteData}},{key:"preInitMethods",value:function e(){}},{key:"_injectAfterInitializationService", 1500value:function e(t){t.inject(this)}},{key:"_setAppAsInitializing",value:function e(){var t=this.container.get(ne.a.PublishedPageAreaService),n=t.getDocumentBody();t.setBodyHeight(n.scrollHeight),this.setAppStatus(re.b.INITIALIZING)}},{key:"_handleFontLoad",value:function e(){var t=this;!0===window.webwaveFontsLoadedFlag?this.addGoogleFontLoadHandler():window.addEventListener("webwave.fontsLoadedEvent",function(){t.addGoogleFontLoadHandler()})}},{key:"_initAdverts",value:function e(){"undefined"!= 1501typeof webwaveAdsService&&webwaveAdsService.initAdvertButton()}},{key:"_addListenerToAfterInitializationServices",value:function e(){var t=this;document.addEventListener(d.a,function(e){t._injectAfterInitializationService(e.service)})}},{key:"_injectDependenciesToAsynchronousModules",value:function e(){var t=this;j.a.waitForLoad(D.a.STORE_APP).then(function(e){e.injectDependenciesFromOtherApp({storeAnalyticsManager:t.container.get(ie.a.StoreAnalyticsManager),orderPopupService:t.container.get(ie.a.OrderPopupService), 1502storeStorage:t.container.get(te.a.StoreStorage)})})}},{key:"_initResizeHandler",value:function e(){var t=this;$(window).resize(function(e){e.target===window&&(webwave.isFunction(t._windowSizeChangeHandler)?t._windowSizeChangeHandler():t._requireResize=!0)})}},{key:"_initFontsLoadedEventListener",value:function e(){var t=this;document.fonts.addEventListener("loadingdone",function(){t.addGoogleFontLoadHandler()})}},{key:"_initPolyfill",value:function e(){y.MobileUtils.isAppleDeviceWithTouchScreen()&& 1503(new ae.a).init()}}]),e}()},3284:function(e,t,n){n.d(t,"a",function(){return k});var i=n(6),r=n(0),a=n(1),o=n(10),s=n(18),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(2116),v=n(26),g=n(2081),p=n(950),y=n(14),b=n.n(y),m,w,S;function O(e){var t=_();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 1504if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var k=(m=Object(y.inject)(p.a.LoadResourceUtils),w=function(e){Object(u.a)(n,e);var t=O(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"loadResourceUtils",S,Object(o.a)(e)),e._loadedModularContent={},e._modularContentResources=void 0, 1505e}return Object(a.a)(n,[{key:"init",value:function e(){Object(s.a)(Object(l.a)(n.prototype),"init",this).call(this),this._modularContentResources=wwConfig.additionalResoucresUrl.modularObjectContent}},{key:"createModularContent",value:function e(t){var n=this;return new Promise(function(e){!1===n._isModuleLoaded(t)?(g.a.waitForLoad(t).then(function(i){n._loadedModularContent[t]=i,e(n._createModularContentInstance(t))}
1505),n._loadModule(t)):e(n._createModularContentInstance(t))})}},{key:"_createModularContentInstance", 1506value:function e(t){return new this._loadedModularContent[t]}},{key:"_loadModule",value:function e(t){var n,i,r=null===(n=this._modularContentResources[t])||void 0===n?void 0:n.js,a=null===(i=this._modularContentResources[t])||void 0===i?void 0:i.css;webwave.isDef(r)&&this.loadResourceUtils.loadJs(new f.a({link:r})),webwave.isDef(a)&&this.loadResourceUtils.loadCss(new f.a({link:a}))}},{key:"_isModuleLoaded",value:function e(t){return!0===this._loadedModularContent.hasOwnProperty(t)}}]),n}(v.a),S= 1507Object(d.a)(w.prototype,"loadResourceUtils",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w)},3285:function(e,t,n){n.d(t,"a",function(){return L});var i=n(28),r=n(6),a=n(0),o=n(1),s=n(10),u=n(18),c=n(3),l=n(4),d=n(2),h=n(5),f=n(7),v=n(27),g=n.n(v),p=n(2876),y=n(2227),b=n(297),m=n(234),w=n(950),S=n(17),O=n(14),_=n.n(O),k,P,A,E,I,C,T,N,D;function j(e){var t=R();return function n(){var i=Object(d.a)(e),r;if(t){var a=Object(d.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r= 1508i.apply(this,arguments);return Object(l.a)(this,r)}}function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var L=(k=Object(O.injectable)(),P=Object(O.inject)(S.a.LoadingBoxService),A=Object(O.inject)(S.a.StoreStorage),E=Object(O.inject)(w.a.UtilService),k((C=function(e){Object(c.a)(n,e);var t=j(n);function n(){var e; 1509return Object(a.a)(this,n),e=t.call(this),Object(r.a)(e,"loadingBoxService",T,Object(s.a)(e)),Object(r.a)(e,"storeStorage",N,Object(s.a)(e)),Object(r.a)(e,"utilService",D,Object(s.a)(e)),e.loadStoreService=void 0,e.TIME_TO_CHECK_TRANSLATION_LOADED=50,e._storeSettings=null,e._translation=null,e}return Object(o.a)(n,[{key:"getStoreSettings",value:function(){var e=Object(i.a)(g.a.mark(function e(){return g.a.wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(!webwave.isNotDefOrNull(this._storeSettings)){t.next= 15104;break}return t.next=3,this._fetchWebwaveStoreSettings();case 3:this._storeSettings=t.sent;case 4:return t.abrupt("return",this._storeSettings);case 5:case "end":return t.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"showPopup",value:function(){var e=Object(i.a)(g.a.mark(function e(t){return g.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:if(!1!==this._isOrderPopupInitialized()){i.next=5;break}return i.next=3,this._loadResources();case 3:i.next=8;break; 1511case 5:if(!1!==this._isTranslationLoaded()){i.next=8;break}return i.next=8,this._waitForPopupInitialization();case 8:Object(u.a)(Object(d.a)(n.prototype),"showPopup",this).call(this,t);case 9:case "end":return i.stop()}},e,this)}));function t(t){return e.apply(this,arguments)}return t}()},{key:"initStore",value:function(){var e=Object(i.a)(g.a.mark(function e(){var t;return g.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:if(!0!==(null===(t=this._orderPopup)||void 0===t?void 0:t.shouldByShowImmediately())){n.next= 15124;break}return n.next=3,this._waitForPopupInitialization();case 3:this._orderPopup.showImmediatelyIfNecessary();case 4:case "end":return n.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"setStorageSettings",value:function e(t){this._storeSettings=t}},{key:"_getTranslation",value:function e(){return webwave.isNotDefOrNull(this._translation)&&(this._translation=new b.a({clientTranslation:this._storeSettings.translation.value})),this._translation}},{key:"_loadResources", 1513value:function(){var e=Object(i.a)(g.a.mark(function e(){return g.a.wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return this.loadingBoxService.showLoadingBox(),this.loadStoreService.loadResources(),t.next=4,this._waitForPopupInitialization();case 4:case "end":return t.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()},{key:"_isOrderPopupInitialized",value:function e(){return!0===webwave.isDefAndNotNull(this._orderPopup)}},{key:"_isTranslationLoaded",value:function e(){return!0=== 1514this.loadStoreService.isTranslationLoaded()}},{key:"_waitForPopupInitialization",value:function(){var e=Object(i.a)(g.a.mark(function e(){var t=this;return g.a.wrap(function e(n){for(;;)switch(n.prev=n.next){case 0:return this.loadingBoxService.showLoadingBox(),n.abrupt("return",new Promise(function(e){var n=setInterval(function(){!0===t._isOrderPopupInitialized()&&!0===t._isTranslationLoaded()&&(clearInterval(n),t.loadingBoxService.hideLoadingBox(),e(!0))},t.TIME_TO_CHECK_TRANSLATION_LOADED)})); 1515case 2:case "end":return n.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()}
1515,{key:"setLoadStoreService",value:function e(t){this.loadStoreService=t}},{key:"_fetchWebwaveStoreSettings",value:function e(){var t=this;return new Promise(function(e){var n=new m.a;webwave.utils.makeAjxaCall({url:"/v2/shopSettings/getStoreSettings",data:{serviceId:t.environmentUtils.getWebsiteId(),languageVersion:t.utilService.getLanguageCode()},noLoadingBox:!0},function(t){webwave.isDefAndNotNull(t.data)&& 1516n.init(t.data),e(n)})})}},{key:"getStoreStorage",value:function e(){return this.storeStorage}}]),n}(p.a),T=Object(h.a)(C.prototype,"loadingBoxService",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=Object(h.a)(C.prototype,"storeStorage",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=Object(h.a)(C.prototype,"utilService",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=C))||I)},3286:function(e,t,n){n.d(t,"a",function(){return I});var i=n(6), 1517r=n(0),a=n(1),o=n(10),s=n(18),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(1814),v=n(2879),g=n(2880),p=n(950),y=n(14),b=n.n(y),m,w,S,O,_,k,P;function A(e){var t=E();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1518[],function(){})),!0}catch(e){return!1}}var I=(m=Object(y.injectable)(),w=Object(y.inject)(p.a.LocalStorageService),S=Object(y.inject)(p.a.UtilService),m((_=function(e){Object(u.a)(n,e);var t=A(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"localStorageService",k,Object(o.a)(e)),Object(i.a)(e,"utilService",P,Object(o.a)(e)),e}return Object(a.a)(n,[{key:"addItemFromProductData", 1519value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"addItemFromProductData",this).call(this,t),this.saveDataInStorage()}},{key:"cleanOrderItemsInCurrentLang",value:function e(){Object(s.a)(Object(l.a)(n.prototype),"cleanOrderItemsInCurrentLang",this).call(this),this.localStorageService.removeLocalStorageItem(this._getLocalStorageOrderItemsKey())}},{key:"decreaseItemCount",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"decreaseItemCount",this).call(this,t),this.saveDataInStorage()}}, 1520{key:"getLanguageId",value:function e(){return this.utilService.getLanguageCode()}},{key:"getObjectFromLocalStorage",value:function e(){return this.localStorageService.getObjectFromLocalStorage(this._getLocalStorageOrderItemsKey())}},{key:"getProductIdsFromLocalStorage",value:function e(){var t=this.getObjectFromLocalStorage();return webwave.isDefAndNotNull(t)?t.map(function(e){var t;return null===e||void 0===e?void 0:null===(t=e.productData)||void 0===t?void 0:t.id}):[]}},{key:"incrementItemCount", 1521value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"incrementItemCount",this).call(this,t),this.saveDataInStorage()}},{key:"setItemCount",value:function e(t,i){Object(s.a)(Object(l.a)(n.prototype),"setItemCount",this).call(this,t,i),this.saveDataInStorage()}},{key:"informListenersAboutLocalStorageItemCount",value:function e(){this._dispatchItemCountForListeners(this._countObjectsFromLocalStorage())}},{key:"addItem",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"addItem",this).call(this, 1522t),this.saveDataInStorage()}},{key:"removeItem",value:function e(t){Object(s.a)(Object(l.a)(n.prototype),"removeItem",this).call(this,t),this.saveDataInStorage()}},{key:"saveDataInStorage",value:function e(){for(var t=[],n=this.getOrderItemsByCurrentLang(),i=0;i<n.length;i++)t.push(n[i].serialize());this.localStorageService.setLocalStorageObject(t,this._getLocalStorageOrderItemsKey())}},{key:"_countObjectsFromLocalStorage",value:function e(){var t=this.getObjectFromLocalStorage();return webwave.isDefAndNotNull(t)? 1523t.reduce(function(e,t){return e+t.count},0):0}},{key:"_getLocalStorageOrderItemsKey",value:function e(){return"".concat(f.a.SHOP_DATA,".").concat(this.getLanguageId(),".").concat(v.a.LOCAL_STORAGE_IT
1523EMS_KEY)}}]),n}(g.a),k=Object(d.a)(_.prototype,"localStorageService",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=Object(d.a)(_.prototype,"utilService",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=_))||O)},329:function(e,t,n){Object.defineProperty(t,"__esModule", 1524{value:!0}),t.targetName=void 0;var i=n(22),r=n(37),a=n(54);function o(e){return function(t,n,o){var s=new r.Metadata(i.NAME_TAG,e);a.tagParameter(t,n,o,s)}}t.targetName=o},33:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.STACK_OVERFLOW=t.CIRCULAR_DEPENDENCY_IN_FACTORY=t.POST_CONSTRUCT_ERROR=t.MULTIPLE_POST_CONSTRUCT_METHODS=t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK=t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE=t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE=t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT= 1525t.ARGUMENTS_LENGTH_MISMATCH=t.INVALID_DECORATOR_OPERATION=t.INVALID_TO_SELF_VALUE=t.INVALID_FUNCTION_BINDING=t.INVALID_MIDDLEWARE_RETURN=t.NO_MORE_SNAPSHOTS_AVAILABLE=t.INVALID_BINDING_TYPE=t.NOT_IMPLEMENTED=t.CIRCULAR_DEPENDENCY=t.UNDEFINED_INJECT_ANNOTATION=t.MISSING_INJECT_ANNOTATION=t.MISSING_INJECTABLE_ANNOTATION=t.NOT_REGISTERED=t.CANNOT_UNBIND=t.AMBIGUOUS_MATCH=t.KEY_NOT_FOUND=t.NULL_ARGUMENT=t.DUPLICATED_METADATA=t.DUPLICATED_INJECTABLE_DECORATOR=void 0,t.DUPLICATED_INJECTABLE_DECORATOR="Cannot apply @injectable decorator multiple times.", 1526t.DUPLICATED_METADATA="Metadata key was used more than once in a parameter:",t.NULL_ARGUMENT="NULL argument",t.KEY_NOT_FOUND="Key Not Found",t.AMBIGUOUS_MATCH="Ambiguous match found for serviceIdentifier:",t.CANNOT_UNBIND="Could not unbind serviceIdentifier:",t.NOT_REGISTERED="No matching bindings found for serviceIdentifier:",t.MISSING_INJECTABLE_ANNOTATION="Missing required @injectable annotation in:",t.MISSING_INJECT_ANNOTATION="Missing required @inject or @multiInject annotation in:";var i=function(e){return"@inject called with undefined this could mean that the class "+ 1527e+" has a circular dependency problem. You can use a LazyServiceIdentifer to overcome this limitation."};t.UNDEFINED_INJECT_ANNOTATION=i,t.CIRCULAR_DEPENDENCY="Circular dependency found:",t.NOT_IMPLEMENTED="Sorry, this feature is not fully implemented yet.",t.INVALID_BINDING_TYPE="Invalid binding type:",t.NO_MORE_SNAPSHOTS_AVAILABLE="No snapshot available to restore.",t.INVALID_MIDDLEWARE_RETURN="Invalid return type in middleware. Middleware must return!",t.INVALID_FUNCTION_BINDING="Value provided to function binding must be a function!", 1528t.INVALID_TO_SELF_VALUE="The toSelf function can only be applied when a constructor is used as service identifier",t.INVALID_DECORATOR_OPERATION="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.";var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"The number of constructor arguments in the derived class "+e[0]+" must be >= than the number of constructor arguments of its base class."}; 1529t.ARGUMENTS_LENGTH_MISMATCH=r,t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",t.MULTIPLE_POST_CONSTRUCT_METHODS= 1530"Cannot apply @postConstruct decorator multiple times in the same class";var a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"@postConstruct error in class "+e[0]+": "+e[1]};t.POST_CONSTRUCT_ERROR=a;var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"It looks like there is a circular dependency in one of the '"+e[0]+"' bindings. Please investigate bindings withservice identifier '"+e[1]+"'."};t.CIRCULAR_DEPENDENCY_IN_FACTORY=o,t.STACK_OVERFLOW= 1531"Maximum call stack size exceeded"}
1531,330:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.postConstruct=void 0;var i=n(33),r=n(22),a=n(37);function o(){return function(e,t,n){var o=new a.Metadata(r.POST_CONSTRUCT,t);if(Reflect.hasOwnMetadata(r.POST_CONSTRUCT,e.constructor))throw new Error(i.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(r.POST_CONSTRUCT,o,e.constructor)}}t.postConstruct=o},331:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.multiBindToService= 1532void 0;var i=function(e){return function(t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return n.forEach(function(n){return e.bind(n).toService(t)})}}};t.multiBindToService=i},3355:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(26),c=n(14),l=n.n(c),d,h;function f(e){var t=v();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments); 1533return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=(d=Object(c.injectable)())(h=function(e){Object(a.a)(n,e);var t=f(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._scrollListeners= 1534[],e}return Object(r.a)(n,[{key:"triggerScrollListeners",value:function e(t){for(var n=this._scrollListeners.length-1;n>=0;
1534n--)this._scrollListeners[n].updateBackgroundParallaxPosition(t)}},{key:"onPageAreaScrollChange",value:function e(t,n){n!=t&&this.triggerScrollListeners(t)}},{key:"addParallaxListener",value:function e(t){-1===this._scrollListeners.indexOf(t)&&this._scrollListeners.push(t)}},{key:"removeParallaxListener",value:function e(t){var n=this._scrollListeners.indexOf(t);-1!==n&&this._scrollListeners.splice(n, 15351)}},{key:"getScrollListeners",value:function e(){return this._scrollListeners}}]),n}(u.a))||h},3356:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=n(14),u=n.n(s),c,l,d=(c=Object(s.injectable)())(l=function(){function e(){Object(i.a)(this,e),this._changeStateHandlersList=[]}return Object(r.a)(e,[{key:"init",value:function e(){this._handleStateChange()}},{key:"pushHandler",value:function e(t){this._changeStateHandlersList.push(t)}},{key:"saveCurrentState",value:function e(t){window.history.pushState(a.StringUtils.generateRandomPasswordString(), 1536"Title",t)}},{key:"_handleStateChange",value:function e(){var t=this;window.onpopstate=function(){for(var e=0;e<t._changeStateHandlersList.length;e++)t._changeStateHandlersList[e]()}}}]),e}())||l},3357:function(e,t,n){n.d(t,"a",function(){return x});var i=n(6),r=n(0),a=n(1),o=n(10),s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(11),f=n.n(h),v=n(26),g=n(2079),p=n(2870),y=n(14),b=n.n(y),m=n(17),w=n(950),S=n(175),O,_,k,P,A,E,I,C,T,N,D;function j(e){var t=R();return function n(){var i=Object(c.a)(e),r;if(t){var a= 1537Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var L=com.webwave.publication.wobject.wbutton.WButton,x=(O=Object(y.injectable)(),_=Object(y.inject)(m.a.PhoneNumberUtils),k= 1538Object(y.inject)(w.a.ObjectService),P=Object(y.inject)(w.a.UtilService),O((D=N=function(e){Object(s.a)(n,e);var t=j(n);function n(){var e,a;return Object(r.a)(this,n),a=t.call(this),Object(i.a)(a,"phoneNumberUtils",I,Object(o.a)(a)),Object(i.a)(a,"objectService",C,Object(o.a)(a)),Object(i.a)(a,"utilService",T,Object(o.a)(a)),a._wFormValidator=void 0,a._highestZIndex=0,a.recaptchaSiteKey=null===(e=document.getElementById(n.RECAPTCHA_API_ID))||void 0===e?void 0:e.getAttribute("siteKey"),a}return Object(a.a)(n, 1539[{key:"initAllLinksScroll",value:function e(){var t=this;$("body").on("click",'a[href*="?anchorElement"]['+n.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME+"]:not(.ww_menu_item_link)",function(e){e.preventDefault(),t.executePageScrollLinkEvent($(this))})}},{key:"executePageScrollLinkEvent",value:function e(t){var n=t.attr("href"),i=n.substr(n.indexOf("?"),n.length),r=utilService.extractGETParameter("anchorElement",i),a=utilService.extractGETParameter("scrollMargin",i),o=$("#"+r);if(o.length)return pageService.scrollPageToElement(o, 1540{forceTop:!0,margin:a}),!1}},{key:"initFbElements",value:function e(){$(".fb-comments").length+$(".fb-like").length>0&&facebookService.init()}},{key:"initForms",value:function e(){this._wFormValidator=new p.a,this.initSendButton(),this._initPhonePrefixSelects()}},{key:"initSendButton",value:function e(){var t=this;$('#container .ww_form_frame input[type="file"]').length>0?utilService.getDynamicallyJSFile(wwConfig.additionalResoucresUrl.js.fileUploadPlugin,function(){t.initFormsAction(!0)}):this.initFormsAction(!1)}}, 1541{key:"initFormsAction",value:function e(t){var n=this;
1541$("#container .ww_form").each(function(){var e=$(this);t&&void 0!==e.fileupload&&e.fileupload({url:pageService.getPathForAjax()+"/publishedWebsite/sendMailsFromForm",autoUpload:!1,multiple:!1,replaceFileInput:!1,singleFileUploads:!1,multipart:!0,change:function e(t,i){n._wFormValidator.validateFileInput(i)},done:function t(i,r){n.sendFormSuccessCallback(e)}}),e[0].onkeypress=function(i){var r;13===(i.charCode||i.keyCode||0)&&"TEXTAREA"!==i.target.nodeName&& 1542(i.preventDefault(),n.submitClickHandler(e,t))};var i=e.find(".ww_submit_button_content");h.MobileUtils.isMobileAppleDevice()?h.MobileUtils.emulateClickEventForAppleDevice(i,function(){n.submitClickHandler(e,t)}):i.click(function(){n.submitClickHandler(e,t)})})}},{key:"submitClickHandler",value:function e(t,i){var r=t;if(1==this.checkIsAllRequiredFieldsAreValid(r)){var a=[];if(i){var o=[];t.find('input[type="file"]').each(function(e){var t=$(this).data("file");void 0!==t&&t.size>0&&(a.push(t),o.push("file_"+ 1543e))})}var s={};s.params=JSON.stringify(this.getFormMap(t)),s.websiteId=pageService.getWebsiteId(),s.mails=t.attr("receiveremails"),s.emailTitle=t.attr("emailTitle"),s.replyTo=t.attr("replyTo"),s.hashId=t.attr("hashid"),s.toolType=t.attr("tooltype"),s.pageId=pageService.getPageId(),s.apiVersion=n.CURRENT_FORM_API_VERSION,s.formId=t.attr("id"),this.sendFormMessage(s,t,a)}else this.animateTextForFormButton(t)}},{key:"sendFormMessage",value:function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]? 1544arguments[2]:null;this.recaptchaSiteKey?window.grecaptcha.ready(function(){window.grecaptcha.execute(i.recaptchaSiteKey,{action:"submit"}).then(function(e){t.recaptchaToken=e,i._sendFormAjax(t,n,r)})}):this._sendFormAjax(t,n,r)}},{key:"_sendFormAjax",value:function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a={url:pageService.getPathForAjax()+"/publishedWebsite/sendMailsFromForm",type:"post",data:t,success:function e(t){i.sendFormSuccessCallback(n)}};if(r&&r.length> 15450){a.processData=!1,a.contentType=!1;var o=new FormData;Object.keys(t).forEach(function(e){o.append(e,t[e])}),r.forEach(function(e,t){o.append("file_".concat(t),e)}),a.data=o}$.ajax(a)}},{key:"sendFormSuccessCallback",value:function e(t){var n,i=t.find(".ww_submit_button_wrapper").find("a"),r=i.attr("href"),a;this.animateTextForFormButton(t),this.objectService.getWObjectById(this._getElementId(t)).resetFormValues(t),webwave.isDef(r)&&i[0].click()}},{key:"getFormMap",value:function e(t){var n=this, 1546i=[];return t.find(".ww_form_cell_2").each(function(){var e=g.a.getFormItemFromRow($(this));e.length>0&&i.push({label:$(this).attr("label"),value:n._getFormFieldValue.call(n,e)})}),i}},{key:"_getFormFieldValue",value:function e(t){return 1==t.is(":checkbox")?t.is(":checked")?i18n.t("default.yesLabel"):i18n.t("default.noLabel"):1==t.is("select")&&1==t.is("[multiple]")?this.getMultipleSelectValues(t):t.hasClass("ww_multiple_select_wrapper")?this.getMultipleCheckboxValues(t):g.a.isMultiFieldItemValue(t)? 1547g.a.getMultiFieldItemValue(t):t.is('[type="file"]')?t[0].files.length>0?t[0].files[0].name:"":t.val()}},{key:"checkIsAllRequiredFieldsAreValid",value:function e(t){return this._wFormValidator.validate(t,".ww_form_cell_2")}},{key:"getMultipleSelectValues",value:function e(t){var n=[];return t.find(":selected").each(function(e,t){n.push($(t).text())}),n}},{key:"getMultipleCheckboxValues",value:function e(t){var n=[];
1547return t.find(":checkbox").each(function(){var e=$(this),t=e.next().find(".ww_inner_element_content"); 1548e.is(":checked")&&n.push(t.html())}),n}},{key:"_getElementId",value:function e(t){var n;return t.closest(".ww_element").attr("id")}},{key:"animateTextForFormButton",value:function e(t){var n=t.find(".ww_form_submit"),i,r="flex"!==t.find(".form_content_wrapper").css("display"),a=t.find(".ww_form_frame_info_wrapper"),o=400,s=this.objectService.getWObjectById(this._getElementId(t));n.animate({opacity:"0"},400,function(){r&&n.hide(),a.css("display","inline-block"),s.updateMinSize(),a.animate({opacity:"1"}).delay(3E3).animate({opacity:"0"}, 1549400,function(){r&&n.show(),a.hide(),n.animate({opacity:"1"},400,function(){s.updateMinSize()}),s.updateMinSize()})})}},{key:"addButtonHoverEvent",value:function e(){var t=this;$(".ww_button_content").hover(function(){var e=$(this),n=t.getBackgroundBoxForButtonNormalState(e),i=t.getTextBoxForButtonNormalState(e),r;n.addClass("ww_transparent"),e.find(".hover.ww_button_text_wrapper").length>0&&i.addClass("ww_transparent")},function(){var e=t.getBackgroundBoxForButtonNormalState($(this)),n=t.getTextBoxForButtonNormalState($(this)); 1550e.removeClass("ww_transparent"),n.removeClass("ww_transparent")})}},{key:"getBackgroundBoxForButtonNormalState",value:function e(t){return t.find(".ww_button_background_image_box.normal")}},{key:"getTextBoxForButtonNormalState",value:function e(t){return t.find(".ww_button_text_wrapper.normal")}},{key:"getBackgroundBoxForButtonHoverState",value:function e(t){return t.find(".ww_button_background_image_box.hover")}},{key:"getTextBoxForButtonHoverState",value:function e(t){return t.find(".ww_button_text_wrapper.hover")}}, 1551{key:"sameBackgroundProperties",value:function e(t,n){var i=!1;return t.css("background-image")==n.css("background-image")&&t.css("background-size")==n.css("background-size")&&t.css("background-position")==n.css("background-position")&&t.css("background-repeat")==n.css("background-repeat")&&(i=!0),i}},{key:"sameFont",value:function e(t,n){var i=!1,r=t.find(".ww_button_text"),a=n.find(".ww_button_text");return t.find("span").text()==n.find("span").text()&&r.css("font-size")==a.css("font-size")&&r.css("font-style")== 1552a.css("font-style")&&r.css("color")==a.css("color")&&r.css("font-weight")==a.css("font-weight")&&r.css("font-family")==a.css("font-family")&&r.css("text-align")==a.css("text-align")&&r.css("vertical-align")==a.css("vertical-align")&&(i=!0),i}},{key:"isTransparent",value:function e(t){var n=!1,i,r,a;return"transparent"===t?n=!0:t.startsWith("rgba")&&(i=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/,(r=t.match(i))&&5===r.length&&(a=parseFloat(r[4]),(a=Math.max(a,0))<1&&(n= 1553!0))),n}},{key:"findAllWButton",value:function e(){return com.webwave.publication.object.ObjectService.getInstance().findAllWObjectsByClass(L)}},{key:"changeButtonBackgroundImageToWebP",value:function e(){for(var t=this.findAllWButton(),n=0;n<t.length;n++)t[n].changeStylesBackgroundImageExtensionIfNecessary()}},{key:"moveElementOnTop",value:function e(t){t.css("zIndex",this.getHighestZIndex())}},{key:"moveElementBack",value:function e(t){t.css("zIndex","")}},{key:"setHighestZIndex",value:function e(t){this._highestZIndex= 1554t}},{key:"getHighestZIndex",value:function e(){return this._highestZIndex}},{key:"_initPhonePrefixSelects",value:function e(){var t=this,i=Object(S.b)(".".concat(n.MULTI_FIELD_ITEM_ROW_CLASS_NAME," select"));i.exists()&&this.utilService.getViewerCountryCode().then(function(e){var n=t.phoneNumberUtils.getPrefixByCountry(e);i.val(n)})}}]),n}(v.a),N.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME="data-samePage",N.CURRENT_FORM_API_VERSION="v2.0",N.MULTI_FIELD_ITEM_ROW_CLASS_NAME="multi-field-item-row-phone ", 1555N.RECAPTCHA_API_ID="google-recaptcha-api",E=D,I=Object(l.a)(E.prototype,"phoneNumberUtils",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=Object(l.a)(E.prototype,"objectService",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=Object(l.a)(E.prototype,"utilService",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=E))||A)},3358:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(26),c=n(14),l=n.n(c),d= 1556n(2049),h,f,v,g;function p(e){var t=y();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(h=Object(c.injectable)())((g= 1557v=function(e){Object(a.a)(n,e);var t=p(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).facebookAPIReady=!1,e.actionsQueue=[],e}return Object(r.a)(n,[{key:"init",value:function e(){var t=this,i=$("#ww_language_locale").val(),r,a="//connect.facebook.net/"+(void 0!==i?i:n.DEFAULT_LANGUAGE_LOCALE)+"/sdk.js#xfbml=1&version="+d.a.FACEBOOK_GRAPH_VERSION;$.ajaxSetup({cache:!0}),window.fbAsyncInit=
1558function(){FB.init({status:!1,cookie:!1,xfbml:!0,version:d.a.FACEBOOK_GRAPH_VERSION}),t.facebookAPIReady=!0,FB.Event.subscribe("comment.create",t.commentCallback.bind(t)),FB.Event.subscribe("comment.remove",t.commentCallback.bind(t)),FB.Event.subscribe("xfbml.render",t.commentCallback.bind(t)),t.executeActionsQueue()},$.getScript(a)}},{key:"commentCallback",value:function e(t){var n=webwave.isStringAndNotEmpty(t.href)?$('.fb-comments[data-href="'+t.href+'"]').parent():$(".fb-comments").parent();setTimeout(function(){var e= 1559com.webwave.publication.object.ObjectService.getInstance();n.each(function(){var t=e.getObjectById(utilService.getParentBaseElementId($(this)));webwave.isDef(t)&&t.updateMinSize()})},200)}},{key:"executeActionsQueue",value:function e(){for(var t=0;t<this.actionsQueue.length;t++)"function"==typeof this.actionsQueue[t].callback&&this.actionsQueue[t].callback()}},{key:"executeAction",value:function e(t){"function"==typeof t&&(this.facebookAPIReady?t():this.actionsQueue.push({callback:t}))}},{key:"setFacebookAPIReady", 1560value:function e(t){this.facebookAPIReady=!0===t}},{key:"getFacebookAPIReady",value:function e(){return this.facebookAPIReady}}]),n}(u.a),v.DEFAULT_LANGUAGE_LOCALE="en_US",f=g))||f},3359:function(e,t,n){n.d(t,"a",function(){return A});var i=n(6),r=n(0),a=n(1),o=n(10),s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(26),f=n(11),v=n.n(f),g=n(2153),p=n(950),y=n(14),b=n.n(y),m,w,S,O,_;function k(e){var t=P();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i, 1561arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var A=(m=Object(y.injectable)(),w=Object(y.inject)(p.a.BrowserHistoryService),m((O=function(e){Object(s.a)(n,e);var t=k(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length, 1562s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"browserHistoryService",_,Object(o.a)(e)),e.objectService=null,e.browserWebPSupportUtils=null,e}return Object(a.a)(n,[{key:"init",value:function e(){this.browserHistoryService.pushHandler(this.initPageIndexes.bind(this)),this.initPageIndexes()}},{key:"initPageIndexes",value:function e(){for(var t=this.objectService.findAllWObjectsByType(g.a),n=0;n<t.length;n++){var i=webwave.getParamFromLocation(t[n].getNameParamForLink()), 1563r=webwave.isStringAndNotEmpty(i)?i:g.a.DEFAULT_INDEX_VALUE;t[n].setPaginationIndex(r)}}},{key:"changeFeedsContainerThumbnailToWebP",value:function e(){for(var t=this.objectService.findAllWObjectsByClass(g.a),n=0;n<t.length;n++)for(var i=t[n].getFeedItemsData(),r=0;r<i.length;r++)!0===i[r][this.browserWebPSupportUtils.getWeBPImageAttrName()]&&(i[r].thumbnail=this.browserWebPSupportUtils.replaceImageSrcToWebP(i[r].thumbnail))}},{key:"updatePaginationListSizeInFeeds",value:function e(){for(var t=this.objectService.findAllWObjectsByClass(g.a), 1564n=0;n<t.length;n++)t[n].updatePaginationListSize()}},{key:"updateHeightForNewsInAllFeeds",value:function e(){for(var t=this.objectService.findAllWObjectsByClass(g.a),n=0;n<t.length;n++)t[n].updateFeedDomSizes()}},{key:"saveFeedIndexHistory",value:function e(t,n){var i=f.StringUtils.updateOrAddParameterToUrl(window.location.href,t,n);this.browserHistoryService.saveCurrentState(i)}},{key:"setObjectService",value:function e(t){this.objectService=t}},{key:"setBrowserWebPSupportUtils",value:function e(t){this.browserWebPSupportUtils= 1565t}}]),n}(h.a),_=Object(l.a)(O.prototype,"browserHistoryService",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=O))||S)},3360:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(26),c=n(14),l=n.n(c),d,h;function f(e){var t=v();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function v(){if("undefined"==typeof Reflect|| 1566!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=(d=Object(c.injectable)())(h=function(e){Object(a.a)(n,e);var t=f(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).objectAnimationService=null,e.relationManagerService=null,e}return Object(r.a)(n, 1567[{key:"getFixedElemPosition",value:function e(t){var n=t.offset();return n.top-=window.scrollY,n.left-=window.scrollX,n}},{key:"getElemPosition",value:function e(t){return{left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)}}},{key:"getGroupEdgePosition",value:function e(t,n){var i,r="fixed"===t.css("position")?this.getFixedElemPosition:this.getElemPosition,a=this.getGroupElements(t),o=null;switch(n){case "top":return(o=a.reduce(function(e,t){var n=parseInt(r(t).top,10);return n<e?n:e}, 15681/0))-this.getPadding(t,"top")-this.getBorderWidth(t,"top");case "bottom":return(o=a.reduce(function(e,t){var n=parseInt(r(t).top,10)+parseInt(t.css("height"),10);return n>e?n:e},-1/0))+this.getPadding(t,"bottom")+this.getBorderWidth(t,"bottom");case "right":return(o=a.reduce(function(e,t){var n=parseInt(r(t).left,10)+parseInt(t.css("width"),10);return n>e?n:e},-1/0))+this.getPadding(t,"right")+this.getBorderWidth(t,"right");
1568case "left":return(o=a.reduce(function(e,t){var n=parseInt(r(t).left,10); 1569return n<e?n:e},1/0))-this.getPadding(t,"left")-this.getBorderWidth(t,"left")}}},{key:"updateVerticalDimensionValues",value:function e(t){var n=this.getGroupElements(t).length>0,i=n?this.getGroupEdgePosition(t,"top"):0,r=n?this.getGroupEdgePosition(t,"bottom"):0;t.css("top",i),t.css("bottom",r),t.css("height",r-i),t.css("overflow",n?"visible":"hidden ")}},{key:"updateHorizontalDimensionValues",value:function e(t){var n="fixed"===t.css("position"),i=this.getGroupEdgePosition(t,"left"),r=this.getGroupEdgePosition(t, 1570"right");t.css("left",i),t.css("right",r),n&&t.css("margin-left","0"),t.css("width",r-i)}},{key:"getPadding",value:function e(t,n){var i,r=t.children(".content");switch(n){case "left":i=parseInt(r.css("padding-left"));break;case "right":i=parseInt(r.css("padding-right"));break;case "top":i=parseInt(r.css("padding-top"));break;case "bottom":i=parseInt(r.css("padding-bottom"));break}return isNaN(i)?0:i}},{key:"getBorderWidth",value:function e(t,n){var i=t.children(".content"),r;switch(n){case "left":r= 1571parseInt(i.css("borderLeftWidth"));break;case "top":r=parseInt(i.css("borderTopWidth"));break;case "right":r=parseInt(i.css("borderRightWidth"));break;case "bottom":r=parseInt(i.css("borderBottomWidth"));break}return isNaN(r)?0:r}},{key:"getGroupElements",value:function e(t){var n=[],i=com.webwave.publication.object.ObjectService.getInstance().getWObjectById(t.attr("id"));if(webwave.isDef(i))for(var r=i.getAllChildrenForSizeComputation(),a=0,o=r.length;a<o;a++)n.push(r[a].getDomObject());return n}}, 1572{key:"disablePointerEventsForTransparentGroup",value:function e(){var t=this;
1572$(".group").each(function(){var e=$(this);1==t.isTranpsarent(e.children(".content"))&&e.css("pointer-events","none")})}},{key:"isTranpsarent",value:function e(t){var n=!1;return 0==parseInt(100*parseFloat(t.css("opacity")))&&(n=!0),"none"!=t.css("backgroundImage")||"transparent"!=t.css("backgroundColor")&&"rgba(0, 0, 0, 0)"!=t.css("backgroundColor")||(n=!0),n}},{key:"isGroup",value:function e(t){return t.hasClass("group")}}, 1573{key:"filterEmptyGroups",value:function e(t){var n=this,i=t;return void 0!==i&&(i=t.filter(function(){var e=!0;return n.isGroup($(this))&&(e=n.getGroupElements($(this)).length>0),e})),i}},{key:"onRwdModeChange",value:function e(t){this.disablePointerEventsForTransparentGroup()}},{key:"setObjectAnimationService",value:function e(t){this.objectAnimationService=t}},{key:"setRelationManagerService",value:function e(t){this.relationManagerService=t}}]),n}(u.a))||h},3361:function(e,t,n){n.d(t,"a",function(){return d}); 1574var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d= 1575function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getHtml5Object",value:function e(){return this.getDomObject()[0].querySelector("audio")}}]),n}(n(2660).a)},3362:function(e,t,n){n.d(t,"a",function(){return b});var i=n(36),r=n(0),a=n(1),o=n(3),s=n(4),u=n(2),c=n(1647),l=n(1724),d=n(26),h=n(14),f=n.n(h),v,g;function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i, 1576arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(v=Object(h.injectable)())(g=function(e){Object(o.a)(n,e);var t=p(n);function n(){var e;return Object(r.a)(this,n),(e=t.call(this)).objectService=null,e}return Object(a.a)(n, 1577[{key:"setObjectService",value:function e(t){this.objectService=t}},{key:"findAllFullWidthMobileMenus",value:function e(){return this.objectService.findAllWObjects(function(e){if(e instanceof com.webwave.publication.object.WMenu){var t=e;return t.isMobileMenu()&&t.getMobileMenuPosition()===c.a.BOTTOM&&t.getMobileMenuSize()===l.a.FULL_WIDTH}return!1})}},{key:"findAllAutoWidthMobileMenus",value:function e(){return this.objectService.findAllWObjects(function(e){if(e instanceof com.webwave.publication.object.WMenu){var t= 1578e;return t.isMobileMenu()&&t.getMobileMenuPosition()===c.a.BOTTOM&&t.getMobileMenuSize()===l.a.AUTO}return!1})}},{key:"updateMenusAfterWindowResize",value:function e(){for(var t=this.findAllFullWidthMobileMenus(),n=this.findAllAutoWidthMobileMenus(),r=[].concat(Object(i.a)(t),Object(i.a)(n)),a=0;a<r.length;a++)r[a].updateMobileMenuSizeAndPosition()}}]),n}(d.a))||g},3363:function(e,t,n){n.d(t,"a",function(){return g});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1808),l=n(1670),d=n(2873),h=n(1726); 1579function f(e){var t=v();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var g=function(e){Object(o.a)(n,e);var t=f(n); 1580function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).linkData=new l.a,r._productC
1580ountEnabled=!1,r}return Object(r.a)(n,[{key:"getLinkData",value:function e(){return this.linkData}},{key:"getProductCounterEnabled",value:function e(){return webwave.isDefAndNotNull(this._getProductCounter())}},{key:"onVisibilityChange",value:function e(t){Object(a.a)(Object(u.a)(n.prototype),"onVisibilityChange",this).call(this,t),this._updateProductCounterVisibility()}},{key:"onProductCountChange",value:function e(t){this._computeProductCountEnabled(t), 1581this._productCountEnabled&&(this._getProductCounter().innerHTML=d.a.renderCounterText(t)),this._updateProductCounterVisibility()}},{key:"_computeProductCountEnabled",value:function e(t){this._productCountEnabled=t>0}},{key:"_getProductCounter",value:function e(){return this.getContentEl().querySelector(".".concat(h.a.PRODUCT_COUNTER_CLASS_NAME))}},{key:"_updateProductCounterVisibility",value:function e(){var t=this.getComputedVisibility();webwave.isDefAndNotNull(this._getProductCounter())&&(this._getProductCounter().style.visibility= 1582t&&this._productCountEnabled?"visible":"hidden")}}]),n}(c.a)},3364:function(e,t,n){n.d(t,"a",function(){return b});var i=n(0),r=n(1),a=n(18),o=n(3),s=n(4),u=n(2),c=n(1774),l=n(2868),d=n(1608),h=n(1808),f=n(1648),v=n(217),g=n(3365);function p(e){var t=y();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 1583if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=function(e){Object(o.a)(n,e);var t=p(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).linkData=new c.a(e.productId),r._storeAnalyticsManager=e.storeAnalyticsManager,r}return Object(r.a)(n,[{key:"addObjectInViewPortListener",value:function e(){this.createDomWIntersectionObserved(new g.a(this))}}, 1584{key:"changeStylesBackgroundImageExtensionIfNecessary",value:function e(){Object(a.a)(Object(u.a)(n.prototype),"changeStylesBackgroundImageExtensionIfNecessary",this).call(this),this.changePartialStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(v.a.DISABLED),l.a.USE_DISABLED_WEBP_IMAGE_ATTR,l.a.USE_DISABLED_WEBP_IMAGE_DATASET_ATTR)}},{key:"getProductId",value:function e(){return this.linkData.getProductId()}},{key:"setState",value:function e(t){!1===this.isInitialized()&&Object(a.a)(Object(u.a)(n.prototype), 1585"setState",this).call(this,t),this._currentState!==v.a.DISABLED&&(Object(a.a)(Object(u.a)(n.prototype),"setState",this).call(this,t),t===v.a.DISABLED&&(this.linkData=new d.a({})))}},{key:"sendViewPortEvent",value:function e(){this._storeAnalyticsManager.sendG4Event(f.a.ViewItemEvent,this.getProductId())}},{key:"_changeTextInStateIsAvailable",value:function e(t){return Object(a.a)(Object(u.a)(n.prototype),"_changeTextInStateIsAvailable",this).call(this,t)||t===v.a.DISABLED}}]),n}(h.a)},3365:function(e, 1586t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})), 1587!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._storeProduct=e,r}return Object(r.a)(n,[{key:"getDomObject",value:function e(){return this._storeProduct.getDomObject()[0]}},{key:"enteredViewportHandler",value:function e(){this._storeProduct.sendViewPortEvent()}},{key:"isSingleHandler",value:function e(){return!1}}]),n}(n(1579).a)},3366:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4), 1588s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t= 1589c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"isFullWidth",value:function e(){return!0}}]),n}(n(2221).a)},3367:function(e,t,n){n.d(t,"a",function(){return _});var i=n(15),r=n(0),a=n(1),o=n(18),s=n(3),u=n(4),c=n(2),l=n(922),d=n(1795),h=n(1810),f=n(2225),v=n(211
15897),g=n(3368);function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){}; 1590return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a=!0,o=!1,s;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){o=!0,s=t},f:function e(){try{a||null==n.return||n.return()}finally{if(o)throw s;}}}}function y(e,t){if(e){if("string"== 1591typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e, 1592t).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function S(e){var t=O();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor; 1593r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var _=function(e){Object(s.a)(n,e);var t=S(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this,e))._content=null,i._contentProperties=e.contentProperties, 1594i._imagesLinkData=i._deserializeSlidesLinkData(e.imagesLinkData),i}return Object(a.a)(n,[{key:"init",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"init",this).call(this),this._initLinkData()}},{key:"initContent",value:function e(){var t=this;this._content=this.modularObjectContentService.createModularContent(h.a.WCAROUSEL).then(function(e){t._content=e,t._content.init(t.getDomObject()[0].querySelector(".".concat(v.a.WRAPPER_CLASS)),t._contentProperties)})}},{key:"recreateContent",value:function e(){this._carouselRendered()&& 1595this._content.recreate(this._contentProperties)}},{key:"updateObjectForRwdChange",value:function e(t){Object(o.a)(Object(c.a)(n.prototype),"updateObjectForRwdChange",this).call(this,t),this.recreateContent(),this._updateImagesDimensions()}},{key:"addImgLazyLoad",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"addImgLazyLoad",this).call(this),this.addObjectToIntersectionObserver(new g.a(this))}},{key:"afterDomSizeChange",value:function e(){Object(o.a)(Object(c.a)(n.prototype),"afterDomSizeChange", 1596this).call(this),webwave.isDefAndNotNull(this._content)&&this._content.updateSwiperSize(),this._updateImagesDimensions()}},{key:"loadAdditionalData",value:function e(t){this._contentProperties=w(w({},this._contentProperties),t)}},{key:"setModularObjectContentService",value:function e(t){this.modularObjectContentService=t}},{key:"_carouselRendered",value:function e(){return webwave.isDefAndNotNull(this._content)}},{key:"_deserializeSlidesLinkData",value:function e(t){var n=[];if(webwave.isArrayLike(t))for(var i= 15970;i<t.length;i++)n.push(l.a.createLink(t[i]));return n}},{key:"_initLinkData",value:function e(){for(var t=this,n=this.getDomObject()[0].querySelectorAll("a"),i=0;i<n.length;i++)n[i].addEventListener("click",function(e){var n=e.target.closest(".".concat(v.a.SLIDE_CLASS));if(webwave.isDefAndNotNull(n)){var i=t._imagesLinkData[n.dataset.swiperSlideIndex];
1597t.linkClickHandler(i)}})}},{key:"_updateImagesDimensions",value:function e(){var t,n=p(this.getDomObject()[0].querySelectorAll(".".concat(v.a.SLIDE_CLASS))), 1598i;try{for(n.s();!(i=n.n()).done;){var r=i.value;f.a.updateImageDimensions(r)}}catch(e){n.e(e)}finally{n.f()}}}]),n}(d.a)},3368:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2225),c=n(2117),l=n(1754),d=n(31);function h(e){var t=f();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1; 1599if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var v=function(e){Object(a.a)(n,e);var t=h(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._wCarousel=e,r}return Object(r.a)(n,[{key:"getDomObject",value:function e(){return this.getWCarouselObject().getDomObject()[0]}},{key:"getWCarouselObject",value:function e(){return this._wCarousel}},{key:"enteredViewportHandler", 1600value:function e(){var t=this.getWCarouselObject();!0!==d.a.getValue("publicatedPageApp.disableLazyLoad")&&webwave.isDef(t)&&(this._handleLazyLoadImages(t),t.initContent())}},{key:"_handleLazyLoadImages",value:function e(){var t=this.getDomObject().querySelector(".".concat(c.a.WRAPPER_CLASS));u.a.lazyLoadImages(t)}}]),n}(l.a)},3369:function(e,t,n){n.d(t,"a",function(){return y});var i=n(0),r=n(1),a=n(10),o=n(3),s=n(4),u=n(2),c=n(40),l=n(2662),d=n(2874),h=n(2875),f=n(2650),v=n(31);function g(e){var t= 1601p();return function n(){var i=Object(u.a)(e),r;if(t){var a=Object(u.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(s.a)(this,r)}}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var y=function(e){Object(o.a)(n,e);var t=g(n);function n(e){var r; 1602return Object(i.a)(this,n),(r=t.call(this,e)).counterAnimationData=new l.a(e.counterAnimationData),r._counterAnimation=null,r._counterAnimationManager=new d.a(Object(a.a)(r)),r.setAutoHeight(!0),r}return Object(r.a)(n,[{key:"calculateMinContentSize",value:function e(){var t=this.getTextFrameEl();t.style.whiteSpace="nowrap",t.style.breakWord="keep-all",t.style.display="inline-block";var n=t.offsetWidth,i=t.offsetHeight;return t.style.whiteSpace="",t.style.breakWord="",t.style.display="",new c.a({width:n, 1603height:i})}},{key:"getCounterAnimationManager",value:function e(){return this._counterAnimationManager}},{key:"getCounterAnimationData",value:function e(){return this.counterAnimationData}},{key:"getCounterAnimation",value:function e(){return this._counterAnimation}},{key:"setCounterAnimation",value:function e(t){this._counterAnimation=t}},{key:"getAnimationElement",value:function e(){return this.getTextFrameEl()}}]),n}(Object(h.a)(f.a))},3370:function(e,t,n){n.d(t,"a",function(){return d});var i= 1604n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n, 1605e);var t=c(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a)))._layoutChildren=[],e}return Object(r.a)(n,[{key:"setLayoutChildren",value:function e(t){this._layoutChildren=t}},{key:"getChildren",value:function e(){return this._layoutChildren}}]),n}(n(2075).a)},3371:function(e,t,n){n.d(t,"a",function(){return m});var i=n(15),r=n(0),a=n(1),o=n(10),s=n(18),u=n(3),c=n(4),l=n(2),d=n(2152),h=n(2656), 1606f=n(3372),v=n(2657),g=n(2153),p=n(1725);function y(e){var t=b();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m= 1607function(e){Object(u.a)(n,e);var t=y(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this,e)).feedPriceInnerElement=new f.a(Object(o.a)(i),e.innerElementsData.price),i.feedNameInnerElement=new v.a(Object(o.a)(i),{selectorClassName:d.a.PRODUCTFEED_NAME,feedItemDataProperty:h.a.NAME},p.a.NAME),i}return Object(a.a)(n,[{key:"getPriceInnerElement",value:function e(){return this.feedPriceInnerElement}},{key:"getNameInnerElement",value:function e(){return this.feedNameInnerElement}},{key:"getNewsfeedWrapper", 1608value:function e(){return this.getContent()[0].querySelector(".newsfeedFrame")}},{key:"getInnerElementForIteration",value:function e(){return[this.getThumbnailInnerElement(),this.get
1608SingleNewsInnerElement(),this.getPriceInnerElement(),this.getNameInnerElement()]}},{key:"getInnerElementNames",value:function e(){return p.a}},{key:"getInnerElementNameForIteration",value:function e(){return[p.a.THUMBNAIL,p.a.ITEM,p.a.PRICE,p.a.NAME]}},{key:"getInnerElementByName",value:function e(t){var n;return(n={}, 1609Object(i.a)(n,p.a.THUMBNAIL,this.getThumbnailInnerElement()),Object(i.a)(n,p.a.ITEM,this.getSingleNewsInnerElement()),Object(i.a)(n,p.a.PRICE,this.getPriceInnerElement()),Object(i.a)(n,p.a.NAME,this.getNameInnerElement()),n)[t]}},{key:"getItemElementName",value:function e(){return p.a.ITEM}},{key:"updateSingleFeedItemElData",value:function e(t,i){Object(s.a)(Object(l.a)(n.prototype),"updateSingleFeedItemElData",this).call(this,t,i),this.getNameInnerElement().updateSingleFeedItemElData(t),this.getPriceInnerElement().updateSingleFeedItemElData(t), 1610this.getThumbnailInnerElement().updateSingleFeedItemElData(t)}}]),n}(g.a)},3372:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u=n(2152),c=n(1329),l=n(1725);function d(e){var t=h();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1; 1611if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f=function(e){Object(a.a)(n,e);var t=d(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(this,n),(r=t.call(this,e,a))._showPrice=a.showPrice,r.type=l.a.PRICE,r}return Object(r.a)(n,[{key:"getPriceElement",value:function e(t){return t.querySelector(".".concat(u.a.FEED_PRICE))}},{key:"isShowPrice",value:function e(){return this._showPrice}}, 1612{key:"setShowPrice",value:function e(t){this._showPrice=t}},{key:"shouldAddToCountMinSize",value:function e(){return!0===this.isShowPrice()}},{key:"updateSingleFeedItemElData",value:function e(t){var n=this.getPriceElement(t.feedItemEl);webwave.isDefAndNotNull(n)&&(n.textContent=t.feedItemData.priceText)}}]),n}(c.a)},3373:function(e,t,n){n.d(t,"a",function(){return c});var i=n(0),r=n(1),a=n(14),o=n.n(a),s,u,c=(s=Object(a.injectable)())(u=function(){function e(){Object(i.a)(this,e),this._scrollListeners= 1613[],this._enableCallActionsOnListenerFlag=!1}return Object(r.a)(e,[{key:"initScrollTickListener",value:function e(){var t=this,n=pageService.getWindowScroll(),i=webwave.requestAnimationFrame,r;(function e(){var r=n;n=pageService.getWindowScroll(),t.triggerScrollListeners(n,r),i(e)})()}},{key:"triggerScrollListeners",value:function e(t,n){var i=this;n!==t&&this._scrollListeners.forEach(function(e){!0===i._enableCallActionsOnListenerFlag&&e.onPageAreaScrollChange(t,n)})}},{key:"addScrollListener",value:function e(t){-1=== 1614this._scrollListeners.indexOf(t)&&this._scrollListeners.push(t)}},{key:"enableCallingActionsOnListeners",value:function e(){this._enableCallActionsOnListenerFlag=!0}}]),e}())||u},3374:function(e,t,n){n.d(t,"a",function(){return x});var i=n(28),r=n(6),a=n(0),o=n(1),s=n(10),u=n(3),c=n(4),l=n(2),d=n(5),h=n(7),f=n(27),v=n.n(f),g=n(2877),p=n(1810),y=n(2715),b=n(1648),m=n(14),w=n.n(m),S=n(950),O=n(16),_,k,P,A,E,I,C,T,N,D,j;function R(e){var t=L();return function n(){var i=Object(l.a)(e),r;if(t){var a=Object(l.a)(this).constructor; 1615r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(c.a)(this,r)}}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var x=(_=Object(m.injectable)(),k=Object(m.inject)(O.a.LocalStorageService),P=Object(m.inject)(S.a.ModularObjectContentService),A=Object(m.inject)(O.a.OrderPopupService), 1616_((j=D=function(e){Object(u.a)(n,e);var t=R(n);function n(){var e;Object(a.a)(this,n);for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return e=t.call.apply(t,[this].concat(o)),Object(r.a)(e,"localStorageService",C,Object(s.a)(e)),Object(r.a)(e,"modularObjectContentService",T,Object(s.a)(e)),Object(r.a)(e,"orderPopupService",N,Object(s.a)(e)),e._initLoad=!1,e._storeSendAnalyticsEventService=void 0,e}return Object(o.a)(n,[{key:"sendG4Event",value:function(){var e=Object(i.a)(v.a.mark(function e(t, 1617n){return v.a.wrap(function e(i){for(;;)switch(i.prev=i.next){case 0:this._isInitializedClientG4()&&(webwave.isDef(this._storeSendAnalyticsEventService)?this._storeSendAnalyticsEventService.sendG4Event(t,n):(this._loadAnalyticsModule(),this._addEvent(t,n)));case 1:case "end":return i.stop()}},e,this)}));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"_addEvent",value:function e(t,n){if(t===b.a.ViewItemEvent){var i=this._getItems();i.push({eventType:t,object:webwave.isFunction(null=== 1618n||void 0===n?void 0:n.serialize)?n.serialize():n}),this._setItems(i)}}},{key:"_clearEventQue",value:function e(){this._setItems([])}},{key:"_getItems",value:function e(){var t=this.localStorageService.getObjectFromLocalStorage(n.NAME_STORAGE_EVENTS);return!1===webwave.isArrayLike(t)&&(t=[]),t}},{key:"_isInitializedClientG4",value:function e(){return g.a.existElementWithClassName("client_analytics_id")}},{key:"_loadAnalyticsModule",value:function e(){var t=this;!1===this._initLoad&&(this._initLoad= 1619!0,this.modularObjectContentService.createModularContent(p.a.STORE_ANALYTICS).then(function(e){t._storeSendAnalyticsEventService=e,t._storeSendAnalyticsEventService.injectDependenciesFromOtherApp({orderPopupService:t.orderPopupService}),t._storeSendAnalyticsEventService.init(t._getItems()),t._clearEventQue()}))}},{key:"_setItems",value:function e(t){this.localStorageService.setLocalStorageObject(t,n.NAME_STORAGE_EVENTS)}}]),n}(y.a),D.NAME_STORAGE_EVENTS="storeAnalyticsEventQue",I=j,C=Object(d.a)(I.prototype, 1620"localStorageService",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=Object(d.a)(I.prototype,"modularObjectContentService",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=Object(d.a)(I.prototype,"orderPopupService",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=I))||E)},3375:function(e,t,n){n.d(t,"a",function(){return k});var i=n(6),r=n(0),a=n(1),o=n(10),s=n(3),u=n(4),c=n(2),l=n(5),d=n(7),h=n(2878),f=n(82),v=n(950),g=n(14),p=n.n(g),y,b, 1621m,w,S;function O(e){var t=_();return function n(){var i=Object(c.a)(e),r;if(t){var a=Object(c.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(u.a)(this,r)}}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var k=(y=Object(g.injectable)(),b=Object(g.inject)(v.a.ObjectService), 1622y((w=function(e){Object(s.a)(n,e);var t=O(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s)),Object(i.a)(e,"objectService",S,Object(o.a)(e)),e}return Object(a.a)(n,[{key:"updateStoreCartsList",value:function e(){this._storeCarts=this.objectService.findAllWObjectsByType(f.a.STORE_CART).filter(function(e){return!0===e.getProductCounterEnabled()})}}]),n}(h.a),S=Object(l.a)(w.prototype,"objectService", 1623[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=w))||m)},3376:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(3),o=n(4),s=n(2),u;function c(e){var t=l();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 1624try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var d=function(e){Object(a.a)(n,e);var t=c(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"userLogged",value:function e(){return"true"===$("#ww_user_logged_info").attr("userLogged")}}]),n}(n(26).a)},3377:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e),this._observer=void 0,this._observedObjects= 1625{}}return Object(r.a)(e,[{key:"init",value:function e(){this._observer=this._createIntersectionObserver()}},{key:"_createIntersectionObserver",value:function e(){var t=this,n;return"IntersectionObserver"in window&&(n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&t._handleObjectsEntryToViewport(e.target)})},{root:null,threshold:0,rootMargin:"0px 0px 200px 0px"})),n}},{key:"_handleObjectsEntryToViewport",value:function e(t){var n=this._getDomObjectIntersectionAttr(t); 1626if(this._observedObjects.hasOwnProperty(n)){var i=this._observedObjects[n];webwave.isDef(i)&&(i.enteredViewportHandler(),i.isSingleHandler()&&(this._observer.unobserve(i.getDomObject()),delete this._observedObjects[n]))}}},{key:"addObject",value:function e(t){if(webwave.isDef(this._observer)){var n=this._getNextAttr();this._observedObjects[n]=t,this._setDomObjectIntersectionAttr(t.getDomObject(),n),this._observer.observe(t.getDomObject())}else t.enteredViewportHandler()}},{key:"_getNextAttr",value:function t(){return e.INTERSECTION_ATTR_PREFIX+ 1627++e._intersectionAttrCounter}},{key:"_setDomObjectIntersectionAttr",value:function t(n,i){n.dataset[e.INTERSECTION_ATTR_NAME]=i}},{key:"_getDomObjectIntersectionAttr",value:function t(n){return n.dataset[e.INTERSECTION_ATTR_NAME]}}]),e}();
1627a._intersectionAttrCounter=0,a.INTERSECTION_ATTR_PREFIX="wIntersectionObserver",a.INTERSECTION_ATTR_NAME="wIntersectionObserverObjectId"},3378:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e, 1628[{key:"init",value:function t(){var n;window.addEventListener("touchstart",function(t){n=setTimeout(function(){var e=new CustomEvent("contextmenu",{detail:{target:t.target},target:t.target});window.dispatchEvent(e)},e.TRIGGER_CONTEXT_MENU_EVENT_TIMEOUT)}),window.addEventListener("touchmove",function(){n&&(clearTimeout(n),n=null)}),window.addEventListener("touchend",function(){n&&(clearTimeout(n),n=null)})}}]),e}();a.TRIGGER_CONTEXT_MENU_EVENT_TIMEOUT=500},36:function(e,t,n){t.a=s;var i=n(254),r=n(255), 1629a=n(156),o=n(256);function s(e){return Object(i.a)(e)||Object(r.a)(e)||Object(a.a)(e)||Object(o.a)()}},37:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var i=n(22),r=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.toString=function(){return this.key===i.NAMED_TAG?"named: "+this.value.toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+this.value+" }"},e}();t.Metadata=r},4:function(e,t,n){t.a=a;var i=n(45),r=n(10);function a(e, 1630t){if(t&&("object"===Object(i.a)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(r.a)(e)}},40:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(51),o=function(){function e(t){Object(i.a)(this,e),webwave.isNotDef(t)&&(t={}),this.width=webwave.isNumberAndNotNaN(t.width)?t.width:0,this.height=webwave.isNumberAndNotNaN(t.height)?t.height:0}return Object(r.a)(e,[{key:"getWidth",value:function e(){return this.width}}, 1631{key:"setWidth",value:function e(t){this.width=t}},{key:"getHeight",value:function e(){return this.height}},{key:"setHeight",value:function e(t){this.height=t}},{key:"clone",value:function t(){return new e({width:this.width,height:this.height})}},{key:"serialize",value:function e(){return{width:this.width,height:this.height}}},{key:"equals",value:function e(t){return this.width===t.width&&this.height===t.height}},{key:"add",value:function e(t){return this.width+=t.getWidth(),this.height+=t.getHeight(), 1632this}},{key:"subtract",value:function e(t){return this.width-=t.getWidth(),this.height-=t.getHeight(),this}},{key:"multiply",value:function e(t){return this.width*=t,this.height*=t,this}},{key:"applyLimits",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};webwave.isDef(t.width)&&(webwave.isNumber(t.width.min)&&(this.width=Math.max(this.width,t.width.min)),webwave.isNumber(t.width.max)&&(this.width=Math.min(this.width,t.width.max))),webwave.isDef(t.height)&&(webwave.isNumber(t.height.min)&& 1633(this.height=Math.max(this.height,t.height.min)),webwave.isNumber(t.height.max)&&(this.height=Math.min(this.height,t.height.max)))}},{key:"toString",value:function e(){return"{".concat(this.width,",").concat(this.height,"}}")}},{key:"toVector",value:function e(){return new a.a({x:this.getWidth(),y:this.getHeight()})}},{key:"addHeight",value:function e(t){this.height+=t}},{key:"subtractHeight",value:function e(t){this.height-=t}},{key:"addWidth",value:function e(t){this.width+=t}},{key:"subtractWidth", 1634value:function e(t){this.width-=t}},{key:"ceil",value:function e(){this.width=Math.ceil(this.width),this.height=Math.ceil(this.height)}}]),e}();o.deserialize=function(e){return webwave.isNotDef(e)?new o({width:0,height:0}):new o(e)}},41:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},43:function(e,t,n){!function i(r,a){if(1)e.exports=a(n(62),n(11));else if("function"==typeof define&&define.amd)define(["@webwave/type", 1635"@webwave/wutils"],a);else{var o="object"==typeof t?a(require("@webwave/type"),require("@webwave/wutils")):a(r["@webwave/type"],r["@webwave/wutils"]);for(var s in o)("object"==typeof t?t:r)[s]=o[s]}}("undefined"!=typeof self?self:this,function(e,t){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};
1635return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1, 1636enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t,n){const i={CA:{prefix:"+1",validLength:10},UM:{prefix:"+1",validLength:10},US:{prefix:"+1",validLength:10},KZ:{prefix:"+7",validLength:10},RU:{prefix:"+7",validLength:10},EG:{prefix:"+20",validLength:10},ZA:{prefix:"+27",validLength:9},GR:{prefix:"+30",validLength:10}, 1637NL:{prefix:"+31",validLength:9},BE:{prefix:"+32",validLength:9},FR:{prefix:"+33",validLength:9},ES:{prefix:"+34",validLength:9},HU:{prefix:"+36",validLength:9},IT:{prefix:"+39",validLength:10},RO:{prefix:"+40",validLength:9},CH:{prefix:"+41",validLength:9},AT:{prefix:"+43",validLength:10},GB:{prefix:"+44",validLength:10},DK:{prefix:"+45",validLength:8},SE:{prefix:"+46",validLength:9},NO:{prefix:"+47",validLength:8},SJ:{prefix:"+47",validLength:8},PL:{prefix:"+48",validLength:9},DE:{prefix:"+49",validLength:11}, 1638PE:{prefix:"+51",validLength:9},MX:{prefix:"+52",validLength:10},CU:{prefix:"+53",validLength:8},AR:{prefix:"+54",validLength:10},BR:{prefix:"+55",validLength:10},CL:{prefix:"+56",validLength:9},CO:{prefix:"+57",validLength:10},VE:{prefix:"+58",validLength:10},MY:{prefix:"+60",validLength:9},AU:{prefix:"+61",validLength:9},CC:{prefix:"+61",validLength:9},CX:{prefix:"+61",validLength:9},ID:{prefix:"+62",validLength:10},PH:{prefix:"+63",validLength:10},NZ:{prefix:"+64",validLength:9},SG:{prefix:"+65", 1639validLength:8},TH:{prefix:"+66",validLength:9},JP:{prefix:"+81",validLength:10},KR:{prefix:"+82",validLength:10},VN:{prefix:"+84",validLength:9},CN:{prefix:"+86",validLength:11},TR:{prefix:"+90",validLength:10},IN:{prefix:"+91",validLength:10},PK:{prefix:"+92",validLength:10},AF:{prefix:"+93",validLength:9},LK:{prefix:"+94",validLength:9},MM:{prefix:"+95",validLength:9},IR:{prefix:"+98",validLength:10},SS:{prefix:"+211",validLength:9},EH:{prefix:"+212",validLength:9},MA:{prefix:"+212",validLength:9}, 1640DZ:{prefix:"+213",validLength:9},TN:{prefix:"+216",validLength:8},LY:{prefix:"+218",validLength:9},GM:{prefix:"+220",validLength:7},SN:{prefix:"+221",validLength:9},MR:{prefix:"+222",validLength:8},ML:{prefix:"+223",validLength:8},GN:{prefix:"+224",validLength:8},CI:{prefix:"+225",validLength:8},BF:{prefix:"+226",validLength:8},NE:{prefix:"+227",validLength:8},TG:{prefix:"+228",validLength:8},BJ:{prefix:"+229",validLength:8},MU:{prefix:"+230",validLength:7},LR:{prefix:"+231",validLength:7},SL:{prefix:"+232", 1641validLength:8},GH:{prefix:"+233",validLength:9},NG:{prefix:"+234",validLength:8},TD:{prefix:"+235",validLength:8},CF:{prefix:"+236",validLength:8},CM:{prefix:"+237",validLength:9},CV:{prefix:"+238",validLength:7},ST:{prefix:"+239",validLength:7},GQ:{prefix:"+240",validLength:9},GA:{prefix:"+241",validLength:7},CG:{prefix:"+242",validLength:9},CD:{prefix:"+243",validLength:9},AO:{prefix:"+244",validLength:9},GW:{prefix:"+245",validLength:7},IO:{prefix:"+246",validLength:7},SC:{prefix:"+248",validLength:7}, 1642SD:{prefix:"+249",validLength:9},RW:{prefix:"+250",validLength:9},ET:{prefix:"+251",validLength:9},SO:{prefix:"+252",validLength:9},DJ:{prefix:"+253",validLength:9},KE:{prefix:"+254",validLength:9},TZ:{prefix:"+255",validLength:9},UG:{prefix:"+256",validLength:9},BI:{prefix:"+257",validLength:9},MZ:{prefix:"+258",validLength:9},ZM:{prefix:"+260",validLength:9},MG:{prefix:"+261",validLength:9},RE:{prefix:"+262",validLength:9},YT:{prefix:"+262",validLength:9},ZW:{prefix:"+263",validLength:9},NA:{prefix:"+264", 1643validLength:9},MW:{prefix:"+265",validLength:9},LS:{prefix:"+266",validLength:8},BW:{prefix:"+267",validLength:7},SZ:{prefix:"+268",validLength:8},KM:{prefix:"+269",validLength:7},SH:{prefix:"+290",validLength:4},ER:{prefix:"+291",validLength:7},AW:{prefix:"+297",validLength:7},FO:{prefix:"+298",validLength:6},GL:{prefix:"+299",validLength:5},GI:{prefix:"+350",validLength:8},PT:{prefix:"+351",validLength:9},LU:{prefix:"+352",validLength:9},IE:{prefix:"+353",validLength:9},IS:{prefix:"+354",validLength:7}, 1644AL:{prefix:"+355",validLength:9},MT:{prefix:"+356",validLength:8},CY:{prefix:"+357",validLength:8},FI:{prefix:"+358",validLength:9},BG:{prefix:"+359",validLength:9},LT:{prefix:"+370",validLength:8},LV:{prefix:"+371",validLength:8},EE:{prefix:"+372",validLength:7},MD:{prefix:"+373",validLength:8},AM:{prefix:"+374",validLength:8},BY:{prefix:"+375",validLength:9},AD:{prefix:"+376",validLength:6},MC:{prefix:"+377",validLength:8},SM:{prefix:"+378",validLength:8},VA:{prefix:"+379",validLength:6},UA:{prefix:"+380", 1645validLength:9},RS:{prefix:"+381",validLength:9},ME:{prefix:"+382",validLength:8},HR:{prefix:"+385",validLength:9},SI:{prefix:"+386",validLength:9},BA:{prefix:"+387",validLength:8},MK:{prefix:"+389",validLength:8},CZ:{prefix:"+420",validLength:9},SK:{prefix:"+421",validLength:9},LI:{prefix:"+423",validLength:7},FK:{prefix:"+500",validLength:5},BZ:{prefix:"+501",validLength:7},GT:{prefix:"+502",validLength:8},SV:{prefix:"+503",validLength:8},HN:{prefix:"+504",validLength:8}
1645,NI:{prefix:"+505",validLength:8}, 1646CR:{prefix:"+506",validLength:8},PA:{prefix:"+507",validLength:8},PM:{prefix:"+508",validLength:6},HT:{prefix:"+509",validLength:8},BL:{prefix:"+590",validLength:9},GP:{prefix:"+590",validLength:9},MF:{prefix:"+590",validLength:9},BO:{prefix:"+591",validLength:8},GY:{prefix:"+592",validLength:7},EC:{prefix:"+593",validLength:9},GF:{prefix:"+594",validLength:9},PY:{prefix:"+595",validLength:9},MQ:{prefix:"+596",validLength:9},SR:{prefix:"+597",validLength:7},UY:{prefix:"+598",validLength:8},BQ:{prefix:"+599", 1647validLength:7},CW:{prefix:"+599",validLength:7},SX:{prefix:"+599",validLength:7},TL:{prefix:"+670",validLength:8},NF:{prefix:"+672",validLength:6},BN:{prefix:"+673",validLength:7},NR:{prefix:"+674",validLength:7},PG:{prefix:"+675",validLength:8},TO:{prefix:"+676",validLength:5},SB:{prefix:"+677",validLength:7},VU:{prefix:"+678",validLength:7},FJ:{prefix:"+679",validLength:7},PW:{prefix:"+680",validLength:7},WF:{prefix:"+681",validLength:6},CK:{prefix:"+682",validLength:4},NU:{prefix:"+683",validLength:4}, 1648WS:{prefix:"+685",validLength:7},KI:{prefix:"+686",validLength:5},NC:{prefix:"+687",validLength:6},TV:{prefix:"+688",validLength:5},PF:{prefix:"+689",validLength:6},TK:{prefix:"+690",validLength:4},FM:{prefix:"+691",validLength:7},MH:{prefix:"+692",validLength:7},KP:{prefix:"+850",validLength:9},HK:{prefix:"+852",validLength:8},MO:{prefix:"+853",validLength:8},KH:{prefix:"+855",validLength:9},LA:{prefix:"+856",validLength:9},PN:{prefix:"+870",validLength:6},BD:{prefix:"+880",validLength:10},TW:{prefix:"+886", 1649validLength:9},MV:{prefix:"+960",validLength:7},LB:{prefix:"+961",validLength:8},JO:{prefix:"+962",validLength:9},SY:{prefix:"+963",validLength:9},IQ:{prefix:"+964",validLength:10},KW:{prefix:"+965",validLength:8},SA:{prefix:"+966",validLength:9},YE:{prefix:"+967",validLength:9},OM:{prefix:"+968",validLength:8},PS:{prefix:"+970",validLength:9},AE:{prefix:"+971",validLength:9},IL:{prefix:"+972",validLength:9},BH:{prefix:"+973",validLength:8},QA:{prefix:"+974",validLength:8},BT:{prefix:"+975",validLength:8}, 1650MN:{prefix:"+976",validLength:8},NP:{prefix:"+977",validLength:10},TJ:{prefix:"+992",validLength:9},TM:{prefix:"+993",validLength:8},AZ:{prefix:"+994",validLength:9},GE:{prefix:"+995",validLength:9},KG:{prefix:"+996",validLength:9},UZ:{prefix:"+998",validLength:9},BS:{prefix:"+1-242",validLength:10},BB:{prefix:"+1-246",validLength:10},AI:{prefix:"+1-264",validLength:10},AG:{prefix:"+1-268",validLength:10},VG:{prefix:"+1-284",validLength:10},VI:{prefix:"+1-340",validLength:10},KY:{prefix:"+1-345", 1651validLength:10},BM:{prefix:"+1-441",validLength:10},GD:{prefix:"+1-473",validLength:10},TC:{prefix:"+1-649",validLength:10},MS:{prefix:"+1-664",validLength:10},MP:{prefix:"+1-670",validLength:10},GU:{prefix:"+1-671",validLength:10},AS:{prefix:"+1-684",validLength:10},LC:{prefix:"+1-758",validLength:10},DM:{prefix:"+1-767",validLength:10},VC:{prefix:"+1-784",validLength:10},PR:{prefix:"+1-787",validLength:10},DO:{prefix:"+1-809",validLength:10},TT:{prefix:"+1-868",validLength:10},KN:{prefix:"+1-869", 1652validLength:10},JM:{prefix:"+1-876",validLength:10},AX:{prefix:"+358-18",validLength:7},GG:{prefix:"+44-1481",validLength:10},JE:{prefix:"+44-1534",validLength:10},IM:{prefix:"+44-1624",validLength:10}};t.a=i;const r=Object.keys(i).reduce((e,t)=>(e[t]=i[t].prefix,e),{});t.b=r},function(t,n){t.exports=e},function(e,t,n){t.a={CUSTOM:0,REQUIRE:1,EMAIL:2,ADDRESS_PL:3,PHONE_PL:4,NIP_PL:5,ZIP_CODE_PL:6,FULL_NAME:7,CARD_CVC_NUMBER:8,NIN_PESEL:9,NIN_CNP:10,PRICE:11,PAGE_NAME:12,PHONE:13,VAT_TAX:14,DISCOUNT_VALUE:15, 1653DATE:16,NATURAL_NUMBER:17,POSITIVE_NATURAL_NUMBER:18,AVAILABLE_PRODUCT_AMOUNT:19,URL_VALIDATOR:20,POSITIVE_NATURAL_NUMBER_WITH_ZERO:21,DISCOUNT_CODE:22,REFLINK:23,GOOGLE_ANALYTICS_4_CODE:24,DATE_FROM_GREATER_THAN_DATE_TO:25,PHONE_WITH_EXPECTED_PREFIX:26,MIN_LENGTH:27,PASSWORD_VALIDATOR:28,JSON_VALIDATOR:29}},function(e,t,n){var i=n(0),r=n(4),a=n(1),o=n.n(a),s=n(5),u=n(2);class c{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.type=e,this.errorMsg=t,this.validationErrorList= 1654n.validationErrorList,e===u.a.CUSTOM&&o.a.isFunction(n.customFunction)&&(this.customFunction=n.customFunction),this.canBeEmpty=n.canBeEmpty,this.minLength=n.minLength,this.i18nLabel=n.i18nLabel,this.phonePrefix=n.phonePrefix,this.passwordOptions=n.passwordOptions}getErrorMessage(){return o.a.isDefAndNotEmpty(this.errorMsg)?this.errorMsg:i18n.t(this.i18nLabel)}validate(e){if(this.canBeEmpty&&!1===s.a.requireProp(e))return!0;
1654if(!1===this.canBeEmpty&&!1===s.a.requireProp(e))return!1;let t;switch(this.type){case u.a.CUSTOM:t= 1655this.customFunction(e,this);break;case u.a.REQUIRE:t=s.a.requireProp(e);break;case u.a.VAT_TAX:t=s.a.isVatTax(e);break;case u.a.DATE:t=s.a.isDate(e);break;case u.a.NATURAL_NUMBER:t=s.a.isNaturalNumber(e);break;case u.a.POSITIVE_NATURAL_NUMBER:t=s.a.isPositiveNaturalNumber(e);break;case u.a.POSITIVE_NATURAL_NUMBER_WITH_ZERO:t=s.a.isPositiveNaturalNumberWithZero(e);break;case u.a.DISCOUNT_VALUE:t=s.a.isDiscountValue(e);break;case u.a.ZIP_CODE_PL:t=s.a.zipCodePL(e);break;case u.a.ADDRESS_PL:t=s.a.addressPL(e); 1656break;case u.a.PHONE_PL:t=r.a.validate(e,i.b.PL);break;case u.a.PHONE:t=r.a.validateFullNumber(e);break;case u.a.PHONE_WITH_EXPECTED_PREFIX:t=o.a.isDefAndNotNull(this.phonePrefix)?r.a.validateWithSpecificPrefix(e,this.phonePrefix):r.a.validateFullNumber(e);break;case u.a.MIN_LENGTH:t=s.a.isMinLength(e,this.minLength);break;case u.a.EMAIL:t=s.a.email(e);break;case u.a.NIP_PL:t=s.a.NIPPL(e);break;case u.a.FULL_NAME:t=s.a.fullName(e);break;case u.a.CARD_CVC_NUMBER:t=s.a.cardCVCNumber(e);break;case u.a.NIN_PESEL:t= 1657s.a.ninPesel(e);break;case u.a.NIN_CNP:t=s.a.ninCNP(e);break;case u.a.PRICE:t=s.a.price(e);break;case u.a.AVAILABLE_PRODUCT_AMOUNT:t=s.a.isValidProductAmount(e);break;case u.a.PAGE_NAME:t=s.a.requireProp(e),this.errorMsg=this.validationErrorList[u.a.REQUIRE],!0===t&&(t=s.a.pageNameLength(e),this.errorMsg=this.validationErrorList[u.a.PAGE_NAME]);break;case u.a.URL_VALIDATOR:t=s.a.isValidUrl(e);break;case u.a.DISCOUNT_CODE:t=s.a.hasNoWhitespaces(e);break;case u.a.REFLINK:t=s.a.isValidReflink(e);break; 1658case u.a.GOOGLE_ANALYTICS_4_CODE:t=s.a.isValidGoogleAnalytics4Code(e);break;case u.a.DATE_FROM_GREATER_THAN_DATE_TO:t=s.a.isDateFromGreaterThanDateTo(e);break;case u.a.PASSWORD_VALIDATOR:t=s.a.isValidPasswordMinLength(e,this.minLength,this.canBeEmpty);break;case u.a.JSON_VALIDATOR:t=s.a.isValidJSON(e);break;default:throw new Error(`Provided type ${this.type} is unsupported`);}return t}setErrorMsg(e){this.errorMsg=e}}t.a=c},function(e,t,n){var i=n(0),r=n(8),a=n(1),o=n.n(a);class s{static validate(e, 1659t){return!!o.a.isDefAndNotNull(e)&&(e=e.replace(/[\s-]/g,""),o.a.isDefAndNotNull(t)?s.validateByPrefix(e,t):s.validateFullNumber(e))}static validateSeparateFields(e,t){if(!1===o.a.isDefAndNotNull(t)||!1===o.a.isDefAndNotNull(e))return!1;let n=r.a.getCountryFromPrefix(t);if(!1===o.a.isDefAndNotNull(n))return!1;let i=r.a.getValidPhoneLength(n),a=e.replace(/[\s-]/g,"");return a.length===i&&/^\d+$/.test(a)}static validateByCountry(e,t){if(!1===o.a.isDefAndNotNull(e)||!1===o.a.isDefAndNotNull(t))return!1; 1660let n=r.a.getValidPhoneLength(e),i=t.replace(/[\s-]/g,"");return i.length===n&&/^\d+$/.test(i)}static validateFullNumber(e){if(!1===o.a.isDefAndNotNull(e))return!1;let t=e.replace(/[\s-]/g,""),n,i=r.a.getAllPrefixes().sort((e,t)=>t.length-e.length).find(e=>t.startsWith(e));if(!1===o.a.isDefAndNotNull(i))return!1;let a=t.substring(i.length);return s.validateSeparateFields(a,i)}static validateByPrefix(e,t){let n=r.a.getCountryFromPrefix(t);return!1===o.a.isDefAndNotNull(n)?null===e.match(/[0-9]{9}$/)== 1661!1:s.validateByCountry(n,e)}static validateWithSpecificPrefix(e,t){if(!1===o.a.isDefAndNotNull(e)||!1===o.a.isDefAndNotNull(t))return!1;let n=String(e).replace(/[\s-]/g,"");if(s.validateSeparateFields(n,t))return!0;if(n.startsWith(t)){let e=n.substring(t.length);return s.validateSeparateFields(e,t)}return!1}static parsePhoneWithPrefix(e){if(!1===o.a.isDefAndNotNull(e))return{prefix:null,number:"",country:null};let t=e.trim();if(t.startsWith("+")){let e=Object.entries(i.a).map(e=>{let [t,n]=e;return{country:t, 1662prefix:n.prefix}}).sort((e,t)=>t.prefix.length-e.prefix.length);for(let {country:n,prefix:i}of e)if(t.startsWith(i)){let e;return{prefix:i,number:t.substring(i.length).trim(),country:n}}}return{prefix:null,number:t,country:null}}}t.a=s},function(e,t,n){var i=n(9),r=n.n(i),a=n(1),o=n.n(a);t.a={requireProp:e=>""!==e&&o.a.isDefAndNotNull(e)&&e.toString().trim().length>0,pageNameLength:e=>(null==e?void 0:e.length)>=3,isValidProductAmount:e=>null!==(e=e.toString()).match(/^\d{0,4}$/),isVatTax:e=>o.a.isString(e)? 1663null!==e.match(/^(([0-9]{1,2})|([0-9]{1,2}[,.][0-9]{0,2}))%?$|^100%?$/):!!o.a.isNumber(e)&&(e>=0&&e<=100),email:e=>i.StringUtils.isValidEmail(e),zipCodePL:e=>null!==e.match(/^\d{2}(-?|\s?)\d{3}$/),addressPL:e=>i.StringUtils.isValidPolishStreetAddress(e),NIPPL(e){let t=[6,5,7,2,3,4,5,6,7];if(10===(e=e.replace(/[\s-]/g,"")).length&&parseInt(e)>0){let n=0;for(let i=0;i<9;i++)n+=e[i]*t[i];return n%11==e[9]}return!1},isMinLength:(e,t)=>e.length>=t,fullName:e=>null!==e.match(/^(.+)\s(.+)$/),cardCVCNumber:e=> 1664null!==e.match(/^[0-9]{3,4}$/),ninPesel(e){if(11===e.length){let t=[1,3,7,9,1,3,7,9,1,3],n=0;for(let i=0;i<10;i++)n+=t[i]*e[i];return(n=n%10==0?0:10-n%10)==e[10]}return!1},ninCNP(e){let t=/^([1-8])(0[0-9]|[1-9][0-9])(0[1-9]|1[0-2])(\d{2})(\d{2})(\d{3})(\d)$/.exec(e);if(t.length>0){let e=parseInt(t[3]),n=parseInt(t[4]);switch(e){case 2:if(n>29)return!1;case 3:case 4:case 6:case 9:case 11:if(n>30)return!1;default:if(n>31)return!1}let i=parseInt(t[5]),r;if(i<0||i>46&&i<51||i>52)return!1;if(parseInt(t[6])< 16650)return!1;let a="279146358279",o=0;for(let e=0;e<a.length;e++)o+=parseInt(t[0].charAt(e))*a.charAt(e);let s=o%11;return!!(s<10&&s==t[0].charAt(12)||10==s&&1==t[0].charAt(12))}return!1},price:e=>null!==(e=e.toString()).toString().match(/^[0-9]+(\s[0-9]{3})*[.,]?[0-9]{0,2}
1665$/),additionalPrice:e=>null!==(e=e.toString()).match(/^[+-]?[0-9]{1,9}(?:[.,][0-9]{1,2})?$/),isDiscountValue:e=>o.a.isString(e)?null!==e.match(/^[0-9]{1,2}%?$|^100?$/):!!o.a.isNumber(e)&&(e>=0&&e<=100),isPositiveNaturalNumber(){let e= 1666arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!==(e=e.toString()).match(/^[1-9][0-9]*$/)},isPositiveNaturalNumberWithZero(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!==(e=e.toString()).match(/^\d+$/)},isNaturalNumber:e=>null!==(e=e.toString()).match(/^[0-9]*$/),isDate:e=>e instanceof Date,isValidUrl(e){let t;return/^https?:\/\/?([a-zA-Z0-9\-.]+)\.([a-zA-Z]{2,16})(\/.*)?$/.test(e)},hasNoWhitespaces:e=>null===(e=e.toString()).match(/\s/),isValidReflink(e){let t; 1667return/^[A-Za-z0-9-_.~]+$/.test(e)},isValidGoogleAnalytics4Code(e){let t=/^g-[A-Z0-9]{10}$/i;return e.length>0&&t.test(e)},isDateFromGreaterThanDateTo(e){let t,n;return new Date(e.dateFrom)>new Date(e.dateTo)},isValidPasswordMinLength(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,n;return!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||!1!==o.a.isStringAndNotEmpty(e))||o.a.isStringAndNotEmpty(e)&&e.length>=t},isValidJSON(e){try{return JSON.parse(e),!0}catch(e){return!1}}}}, 1668function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),r=n(4),a=n(3),o=n(5),s=n(2),u=n(0);n.d(t,"FormConstrains",function(){return i.a}),n.d(t,"PhonePrefix",function(){return u.b}),n.d(t,"PhoneValidation",function(){return r.a}),n.d(t,"PHONE_CONSTRAINTS",function(){return u.a}),n.d(t,"Validator",function(){return a.a}),n.d(t,"ValidatorFunctions",function(){return o.a}),n.d(t,"ValidatorType",function(){return s.a})},function(e,t,n){var i=n(3),r=n(2);const a=(e,t,n)=>new i.a(e, 1669void 0,{i18nLabel:`com.webwave.formConstrains.validatorErrorText.${t}`,canBeEmpty:null==n?void 0:n.canBeEmpty,minLength:null==n?void 0:n.minLength,phonePrefix:null==n?void 0:n.phonePrefix}),o={ADDITIONAL_PRICE:a(r.a.PRICE,"price",{canBeEmpty:!1}),ADDITIONAL_PRICE_NON_REQUIRE:a(r.a.PRICE,"price",{canBeEmpty:!0}),AVAILABLE_PRODUCT_AMOUNT:a(r.a.AVAILABLE_PRODUCT_AMOUNT,"availableProductAmount",{canBeEmpty:!1}),COMMISSION:a(r.a.NATURAL_NUMBER,"commission",{canBeEmpty:!1}),DATE:a(r.a.DATE,"date",{canBeEmpty:!0}), 1670DATE_FROM_GREATER_THAN_DATE_TO_VALIDATOR:a(r.a.DATE_FROM_GREATER_THAN_DATE_TO,"",{canBeEmpty:!0}),DATE_NOT_REQUIRE:a(r.a.DATE,"date",{canBeEmpty:!0}),DISCOUNT_CODE:a(r.a.DISCOUNT_CODE,"discountCode"),DISCOUNT_VALUE:a(r.a.DISCOUNT_VALUE,"discountValue"),EMAIL:a(r.a.EMAIL,"email"),EMAIL_NOT_REQUIRE:a(r.a.EMAIL,"email",{canBeEmpty:!0}),ADDRESS_PL:a(r.a.ADDRESS_PL,"address",{canBeEmpty:!1}),FULL_NAME:a(r.a.FULL_NAME,"fullName",{canBeEmpty:!1}),ZIP_CODE_PL:a(r.a.ZIP_CODE_PL,"zipCode",{canBeEmpty:!1}), 1671GOOGLE_ANALYTICS_4_VALIDATOR:a(r.a.GOOGLE_ANALYTICS_4_CODE,"ga4Code",{canBeEmpty:!1}),NIN_CNP:a(r.a.NIN_CNP,"ninCnp",{canBeEmpty:!1}),NIN_PESEL:a(r.a.NIN_PESEL,"ninPesel",{canBeEmpty:!1}),NIP_PL:a(r.a.NIP_PL,"nipPl",{canBeEmpty:!1}),NIP_PL_VALIDATOR:a(r.a.NIP_PL,"nip",{canBeEmpty:!0}),NUMBER_USAGE_NOT_REQUIRE:a(r.a.POSITIVE_NATURAL_NUMBER,"naturalNumber",{canBeEmpty:!0}),PASSWORD:a(r.a.REQUIRE,"password",{canBeEmpty:!1}),PHONE_NUMBER:a(r.a.PHONE,"phone"),PHONE_NUMBER_WITHOUT_EXPECTED_PREFIX:a(r.a.PHONE_PL, 1672"phone"),PHONE_NUMBER_WITH_EXPECTED_PREFIX:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a(r.a.PHONE_WITH_EXPECTED_PREFIX,"phone",{canBeEmpty:t,phonePrefix:e})},POSITIVE_FLOAT_VALUE:a(r.a.PRICE,"positiveFloatValue.default",{canBeEmpty:!1}),POSITIVE_FLOAT_VALUE_SHORT_MESSAGE:a(r.a.PRICE,"positiveFloatValue.short",{canBeEmpty:!1}),POSITIVE_NUMBER:a(r.a.POSITIVE_NATURAL_NUMBER,"naturalNumber"),PRODUCT_WEIGHT:a(r.a.POSITIVE_NATURAL_NUMBER_WITH_ZERO,"productWeight"), 1673REFLINK_VALIDATOR:a(r.a.REFLINK,"reflink",{canBeEmpty:!1}),REQUIRE:a(r.a.REQUIRE,"require"),TAX:a(r.a.VAT_TAX,"tax",{canBeEmpty:!0}),URL_VALIDATOR:a(r.a.URL_VALIDATOR,"url",{canBeEmpty:!0}),MIN_LENGTH:e=>a(r.a.MIN_LENGTH,"minLength",{canBeEmpty:!1,minLength:e})};t.a=o},function(e,t,n){var i=n(0),r=n(1),a=n.n(r);class o{static getCountryFromPrefix(e){if(!1===a.a.isDefAndNotNull(e))return null;let t=e.startsWith("+")?e:`+${e}`;return Object.keys(i.a).find(e=>i.a[e].prefix===t)||null}static getValidPhoneLength(e){var t; 1674return(null==(t=i.a[e])?void 0:t.validLength)||9}static getAllPrefixes(){return[...(new Set(Object.values(i.a).map(e=>e.prefix)))]}}t.a=o},function(e,n){e.exports=t}])})},45:function(e,t,n){function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.a=i}
1674,46:function(e,t,n){Object.defineProperty(t,"__esModule", 1675{value:!0}),t.TargetTypeEnum=t.BindingTypeEnum=t.BindingScopeEnum=void 0;var i={Request:"Request",Singleton:"Singleton",Transient:"Transient"};t.BindingScopeEnum=i;var r={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};t.BindingTypeEnum=r;var a={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"};t.TargetTypeEnum=a},5:function(e, 1676t,n){function i(e,t,n,i,r){var a={};return Object.keys(i).forEach(function(e){a[e]=i[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,i){return i(e,t,n)||n},a),r&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(r):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}t.a=i},51:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1), 1677a=function(){function e(t,n){Object(i.a)(this,e),this.y=0,this.x=0,webwave.isNumberAndNotNaN(t)?(this.x=t,webwave.isNumberAndNotNaN(n)&&(this.y=n)):webwave.isDef(t)&&(webwave.isNumberAndNotNaN(t.x)&&(this.x=t.x),webwave.isNumberAndNotNaN(t.y)&&(this.y=t.y))}return Object(r.a)(e,[{key:"getX",value:function e(){return this.x}},{key:"setX",value:function e(t){this.x=t}},{key:"getY",value:function e(){return this.y}},{key:"setY",value:function e(t){this.y=t}},{key:"subtract",value:function e(t){return this.x-= 1678t.x,this.y-=t.y,this}},{key:"add",value:function e(t){return this.x+=t.x,this.y+=t.y,this}},{key:"multiply",value:function e(t){return this.x*=t,this.y*=t,this}},{key:"serialize",value:function e(){return{x:this.x,y:this.y}}},{key:"clone",value:function t(){return new e({x:this.x,y:this.y})}},{key:"equals",value:function e(t){return this.x===t.x&&this.y===t.y}},{key:"lt",value:function e(t){return this.x<t.x&&this.y<t.y}},{key:"lte",value:function e(t){return this.x<=t.x&&this.y<=t.y}},{key:"gt", 1679value:function e(t){return this.x>t.x&&this.y>t.y}},{key:"gte",value:function e(t){return this.x>=t.x&&this.y>=t.y}},{key:"toString",value:function e(){return"{".concat(this.x,",").concat(this.y,"}}")}}],[{key:"deserialize",value:function t(n){return webwave.isNotDef(n)?new e(0,0):new e(n.x,n.y)}},{key:"countDistance",value:function e(t,n){return Math.sqrt(Math.abs(t.getX()-n.getX())*Math.abs(t.getY()-n.getY()))}}]),e}()},53:function(e,t,n){!function i(r,a){if(1)e.exports=a(n(62));else if("function"== 1680typeof define&&define.amd)define(["@webwave/type"],a);else{var o=a("object"==typeof t?require("@webwave/type"):r["@webwave/type"]);for(var s in o)("object"==typeof t?t:r)[s]=o[s]}}("undefined"!=typeof self?self:this,function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})}, 1681n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){var i=n(4),r=n(1),a=n.n(r);class o{constructor(){this._propertyChangeListeners=[]}addPropertyChangeListener(e,t){let n=a.a.isStringOrSymbol(e)?new i.a(t,e):new i.a(e);for(let e=0;e<this._propertyChangeListeners.length;e++)if(this._propertyChangeListeners[e].equals(n))return;this._propertyChangeListeners.push(n)}removePropertyChangeListener(e, 1682t){let n=a.a.isStringOrSymbol(e)?new i.a(t,e):new i.a(t);for(let e=0;e<this._propertyChangeListeners.length;e++)if(this._propertyChangeListeners[e].equals(n)){this._propertyChangeListeners.splice(e,1);break}}dispatch(e){for(let t=0;t<this._propertyChangeListeners.length;t++){let n=this._propertyChangeListeners[t],i=n.getPropertyName();(a.a.isNotDef(i)||i===e.getPropertyName())&&n.dispatchEvent(e)}}dispose(){for(let e=0;e<this._propertyChangeListeners.length;e++)this.removePropertyChangeListener(this._propertyChangeListeners[e])}getPropertyListenersByPropertyName(e){return this._propertyChangeListeners.filter(t=> 1683t.getPropertyName()===e)}}t.a=o},function(t,n){t.exports=e},function(e,t,n){class i{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.source=e.source,this.propertyName=e.propertyName,this.previousValue=e.previousValue,this.newValue=e.newValue,this.extraData=e.extraData}getPropertyName(){return this.propertyName}getNewValue(){return this.newValue}getPreviousValue(){return this.previousValue}getSource(){return this.source}getExtraData(){return this.extraData}propertyChange(e){}} 1684t.a=i}
1684,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(2),a=n(5);n.d(t,"PropertyChangeDispatcher",function(){return i.a}),n.d(t,"PropertyChangeEvent",function(){return r.a}),n.d(t,"SimplePropertyChangeEmitter",function(){return a.a})},function(e,t,n){var i=n(1),r=n.n(i);class a{constructor(e,t){this.propertyChangeListener=e,this.propertyName=t}getPropertyChangeListener(){return this.propertyChangeListener}getPropertyName(){return this.propertyName}equals(e){return this.getPropertyName()=== 1685e.getPropertyName()&&this.getPropertyChangeListener()===e.getPropertyChangeListener()}dispatchEvent(e){var t;r.a.isFunction(this.propertyChangeListener)?this.propertyChangeListener(e):r.a.isFunction(null==(t=this.propertyChangeListener)?void 0:t.onPropertyChange)&&this.propertyChangeListener.onPropertyChange(e)}}t.a=a},function(e,t,n){var i=n(0),r=n(2);class a{constructor(){this._propertyChangeDispatcher=new i.a}addPropertyChangeListener(e,t){this._propertyChangeDispatcher.addPropertyChangeListener(e, 1686t)}removePropertyChangeListener(e,t){this._propertyChangeDispatcher.removePropertyChangeListener(e,t)}notifyPropertyChangeListeners(e){this._propertyChangeDispatcher.dispatch(e)}triggerPropertyChange(e,t,n,i){this.notifyPropertyChangeListeners(new r.a({source:this,propertyName:e,previousValue:n,newValue:t,extraData:i}))}}t.a=a}])})},54:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.tagProperty=t.tagParameter=t.decorate=void 0;var i=n(33),r=n(22);function a(e,t,n,i){var a;s(r.TAGGED, 1687e,t,i,n)}function o(e,t,n){var i;s(r.TAGGED_PROP,e.constructor,t,n)}function s(e,t,n,r,a){var o={},s="number"==typeof a,u=void 0!==a&&s?a.toString():n;if(s&&void 0!==n)throw new Error(i.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(e,t)&&(o=Reflect.getMetadata(e,t));var c=o[u];if(Array.isArray(c))for(var l=0,d=c;l<d.length;l++){var h=d[l];if(h.key===r.key)throw new Error(i.DUPLICATED_METADATA+" "+h.key.toString());}else c=[];c.push(r),o[u]=c,Reflect.defineMetadata(e,o,t)}function u(e,t){Reflect.decorate(e, 1688t)}function c(e,t){return function(n,i){t(n,i,e)}}function l(e,t,n){"number"==typeof n?u([c(n,e)],t):"string"==typeof n?Reflect.decorate([e],t,n):u([e],t)}t.tagParameter=a,t.tagProperty=o,t.decorate=l},59:function(e,t,n){var i={OK:1,CANCEL:0,CLOSE:-1};t.a=i},6:function(e,t,n){function i(e,t,n,i){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}t.a=i},60:function(e,t,n){Object.defineProperty(t,"__esModule", 1689{value:!0}),t.id=void 0;var i=0;function r(){return i++}t.id=r},6035:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(168),r=n.n(i),a=n(2972),o=n(6036);a.initialiseModules(o.a)},6036:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(3283),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"main",value:function e(t,n){var i;(new a.default).run()}}]),e}()},62:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t, 1690"arrayHasSameItems",function(){return $}),n.d(t,"arrayIncludeArray",function(){return q}),n.d(t,"default",function(){return X}),n.d(t,"isArrayLike",function(){return K}),n.d(t,"isArrayWithExactlyNElements",function(){return Z}),n.d(t,"isArrayWithExactlyOneElement",function(){return J}),n.d(t,"isArrayWithMinimumNElements",function(){return Q}),n.d(t,"isArraysEqual",function(){return ee}),n.d(t,"isBoolean",function(){return te}),n.d(t,"isDate",function(){return ne}),n.d(t,"isDef",function(){return ie}), 1691n.d(t,"isDefAndNotEmpty",function(){return re}),n.d(t,"isDefAndNotNull",function(){return ae}),n.d(t,"isDomElement",function(){return oe}),n.d(t,"isEmptyString",function(){return se}),n.d(t,"isFile",function(){return ue}),n.d(t,"isFunction",function(){return ce}),n.d(t,"isNestedObjectExist",function(){return le}),n.d(t,"isNonEmptyArray",function(){return de}),n.d(t,"isNotBoolean",function(){return he}),n.d(t,"isNotDef",function(){return fe}),n.d(t,"isNotDefOrNull",function(){return ve}),n.d(t,"isNotDefOrNullOrEmptyString", 1692function(){return ge}),n.d(t,"isNotNull",function(){return pe}),n.d(t,"isNotString",function(){return ye}),n.d(t,"isNumber",function(){return be}),n.d(t,"isNumberAndNotNaN",function(){return me}),n.d(t,"isObject",function(){return we}),n.d(t,"isObjectAndNotNull",function(){return Se}),n.d(t,"isString",function(){return Oe}),n.d(t,"isStringAndNotEmpty",function(){return _e}),n.d(t,"isStringOrSymbol",function(){return ke}),n.d(t,"isSymbol",function(){return Pe}),n.d(t,"isValidEnumValue",function(){return Ae}), 1693n.d(t,"isValidJSON",function(){return Ee});var i={d:(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};i.d(r,{$5:()=>w,$P:()=>C,Ay:()=>Y,Bm:()=>R,C8:()=>g,EI:()=>U,Et:()=>T,FP:()=>x,Gv:()=>D,H0:()=>O,I$:()=>f,Kg:()=>P,LL:()=>y,Lm:()=>N,N2:()=>F,Pe:()=>S,Rg:()=>z,SU:()=>p,Tl:()=>b,Tn:()=>_,Xj:()=>M,ZR:()=>k,fS:()=>v,fo:()=>B,fz:()=>W,gI:()=>V,jw:()=>E,kI:()=>L,nX:()=>j,w7:()=>m,x0:()=>h,z9:()=>G, 1694zC:()=>A,zG:()=>I,zM:()=>H});const a="undefined",o="function",s="string",u="number",c="boolean",l="object",d=typeof Symbol("test");function h(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function f(e,t){return!(!M(e)||!M(t)||t.length!==e.length)&&v(e,t)}function v(e,t){return t.every(t=>e.includes(t))}function g(e){if(0===arguments.length)return!1;for(var t=0;t<arguments.length;t++)if(typeof arguments[t]===a)return!1;return!0}function p(e,t,n="."){if(y(e))return!1;let i=t.split(n),r= 1695e;for(var a=0;a<i.length;a++)if(y(r=r[i[a]]))return!1;return!0}function y(e){return typeof e===a}function b(e){return typeof e===a||null===e}function m(e){return b(e)||E(e)}function w(e){return D(e)&&S(e)}function S(e){return null!==e}function O(e){return g(e)&&null!==e}function _(e){return typeof e===o}function k(e){return O(e)&&e.length>0}function P(e){return typeof e===s}function A(e){return P(e)&&""!==e}function E(e){return P(e)&&""===e}function I(e){return typeof e!==s}function C(e){return e instanceof 1696Date}function T(e){return typeof e===u}function N(e){return typeof e===c}function D(e){return typeof e===l}function j(e){return P(e)||R(e)}function R(e){return typeof e===d}function L(e){return typeof e!==c}function x(e){return typeof e===u&&!1===isNaN(e)}function M(e){return"object"==typeof e&&null!==e&&"number"==typeof e.length}function B(e){return e instanceof File}function V(e){return F(e,1)}function F(e,t){return M(e)&&e.length===t}function W(e,t){return M(e)&&e.length>=t}function U(e){return W(e, 16971)}function z(e,t){if(g(e)&&g(t))for(var n in t)if(t.hasOwnProperty(n)&&t[n]===e)return!0;return!1}function H(e){try{return JSON.parse(e),!0}catch(e){return!1}}function G(e){return e instanceof Element}const Y={arrayHasSameItems:f,arrayIncludeArray:v,isArrayLike:M,isArraysEqual:h,isArrayWithExactlyNElements:F,isArrayWithExactlyOneElement:V,isArrayWithMinimumNElements:W,isBoolean:N,isDate:C,isDef:g,
1697isDefAndNotEmpty:k,isDefAndNotNull:O,isDomElement:G,isEmptyString:E,isFile:B,isFunction:_,isNestedObjectExist:p, 1698isNonEmptyArray:U,isNotBoolean:L,isNotDef:y,isNotDefOrNull:b,isNotDefOrNullOrEmptyString:m,isNotNull:S,isNotString:I,isNumber:T,isNumberAndNotNaN:x,isObject:D,isObjectAndNotNull:w,isString:P,isStringAndNotEmpty:A,isStringOrSymbol:j,isSymbol:R,isValidEnumValue:z,isValidJSON:H};var $=r.I$,q=r.fS,X=r.Ay,K=r.Xj,Z=r.N2,J=r.gI,Q=r.fz,ee=r.x0,te=r.Lm,ne=r.$P,ie=r.C8,re=r.ZR,ae=r.H0,oe=r.z9,se=r.jw,ue=r.fo,ce=r.Tn,le=r.SU,de=r.EI,he=r.kI,fe=r.LL,ve=r.Tl,ge=r.w7,pe=r.Pe,ye=r.zG,be=r.Et,me=r.FP,we=r.Gv,Se= 1699r.$5,Oe=r.Kg,_e=r.zC,ke=r.nX,Pe=r.Bm,Ae=r.Rg,Ee=r.zM},69:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),webwave.isDefAndNotNull(t)?(this._id=t.id,this._enable=!!webwave.isDefAndNotNull(t.enable)&&t.enable,this.deserializeValue(t.value)):(this._enable=!1,this.deserializeValue())}return Object(r.a)(e,[{key:"deserializeValue",value:function e(t){webwave.isString(t)&&(this._value= 1700t)}},{key:"id",get:function e(){return this._id}},{key:"getSerializeValue",value:function e(){return this._value}},{key:"getValuesForSaveData",value:function e(){return this._value}},{key:"value",get:function e(){if(!0===this.enable)return this._value},set:function e(t){this._value=t}},{key:"enable",get:function e(){return this._enable},set:function e(t){this._enable=t}},{key:"toggleEnable",value:function e(){this.enable=!this._enable}},{key:"serialize",value:function e(){var t;return{id:!0===(arguments.length> 17010&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,enable:this.enable,value:this.getSerializeValue()}}}]),e}()},7:function(e,t,n){function i(e,t){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.");}},73:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}
1701),t.circularDependencyToException=t.listMetadataForTarget=t.listRegisteredBindingsForServiceIdentifier=t.getServiceIdentifierAsString= 1702t.getFunctionName=void 0;var i=n(33);function r(e){var t,t;return"function"==typeof e?(t=e).name:"symbol"==typeof e?e.toString():t=e}function a(e,t,n){var i="",r=n(e,t);return 0!==r.length&&(i="\nRegistered bindings:",r.forEach(function(e){var t="Object";null!==e.implementationType&&(t=l(e.implementationType)),i=i+"\n "+t,e.constraint.metaData&&(i=i+" - "+e.constraint.metaData)})),i}function o(e,t){return null!==e.parentRequest&&(e.parentRequest.serviceIdentifier===t||o(e.parentRequest,t))}function s(e){function t(e, 1703n){void 0===n&&(n=[]);var i=r(e.serviceIdentifier);return n.push(i),null!==e.parentRequest?t(e.parentRequest,n):n}var n;return t(e).reverse().join(" --\x3e ")}function u(e){e.childRequests.forEach(function(e){if(o(e,e.serviceIdentifier)){var t=s(e);throw new Error(i.CIRCULAR_DEPENDENCY+" "+t);}u(e)})}function c(e,t){if(t.isTagged()||t.isNamed()){var n="",i=t.getNamedTag(),r=t.getCustomTags();return null!==i&&(n+=i.toString()+"\n"),null!==r&&r.forEach(function(e){n+=e.toString()+"\n"})," "+e+"\n "+ 1704e+" - "+n}return" "+e}function l(e){if(e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+t}t.getServiceIdentifierAsString=r,t.listRegisteredBindingsForServiceIdentifier=a,t.circularDependencyToException=u,t.listMetadataForTarget=c,t.getFunctionName=l},74:function(e,t,n){var i=n(43),r=n.n(i),a=function e(t,n,r){return new i.Validator(t,void 0,{i18nLabel:"com.webwave.formConstrains.validatorErrorText.".concat(n),canBeEmpty:null===r||void 0=== 1705r?void 0:r.canBeEmpty,minLength:null===r||void 0===r?void 0:r.minLength,phonePrefix:null===r||void 0===r?void 0:r.phonePrefix})},o={ADDITIONAL_PRICE:a(i.ValidatorType.PRICE,"price",{canBeEmpty:!1}),ADDITIONAL_PRICE_NON_REQUIRE:a(i.ValidatorType.PRICE,"price",{canBeEmpty:!0}),AVAILABLE_PRODUCT_AMOUNT:a(i.ValidatorType.AVAILABLE_PRODUCT_AMOUNT,"availableProductAmount",{canBeEmpty:!1}),COMMISSION:a(i.ValidatorType.NATURAL_NUMBER,"commission",{canBeEmpty:!1}),DATE:a(i.ValidatorType.DATE,"date",{canBeEmpty:!0}), 1706DATE_FROM_GREATER_THAN_DATE_TO_VALIDATOR:a(i.ValidatorType.DATE_FROM_GREATER_THAN_DATE_TO,"",{canBeEmpty:!0}),DATE_NOT_REQUIRE:a(i.ValidatorType.DATE,"date",{canBeEmpty:!0}),DISCOUNT_CODE:a(i.ValidatorType.DISCOUNT_CODE,"discountCode"),DISCOUNT_VALUE:a(i.ValidatorType.DISCOUNT_VALUE,"discountValue"),EMAIL:a(i.ValidatorType.EMAIL,"email"),EMAIL_NOT_REQUIRE:a(i.ValidatorType.EMAIL,"email",{canBeEmpty:!0}),ADDRESS_PL:a(i.ValidatorType.ADDRESS_PL,"address",{canBeEmpty:!1}),FULL_NAME:a(i.ValidatorType.FULL_NAME, 1707"fullName",{canBeEmpty:!1}),ZIP_CODE_PL:a(i.ValidatorType.ZIP_CODE_PL,"zipCode",{canBeEmpty:!1}),GOOGLE_ANALYTICS_4_VALIDATOR:a(i.ValidatorType.GOOGLE_ANALYTICS_4_CODE,"ga4Code",{canBeEmpty:!1}),NIN_CNP:a(i.ValidatorType.NIN_CNP,"ninCnp",{canBeEmpty:!1}),NIN_PESEL:a(i.ValidatorType.NIN_PESEL,"ninPesel",{canBeEmpty:!1}),NIP_PL:a(i.ValidatorType.NIP_PL,"nipPl",{canBeEmpty:!1}),NIP_PL_VALIDATOR:a(i.ValidatorType.NIP_PL,"nip",{canBeEmpty:!0}),NUMBER_USAGE_NOT_REQUIRE:a(i.ValidatorType.POSITIVE_NATURAL_NUMBER, 1708"naturalNumber",{canBeEmpty:!0}),PASSWORD:a(i.ValidatorType.REQUIRE,"password",{canBeEmpty:!1}),PHONE_NUMBER:a(i.ValidatorType.PHONE,"phone"),PHONE_NUMBER_WITHOUT_EXPECTED_PREFIX:a(i.ValidatorType.PHONE_PL,"phone"),PHONE_NUMBER_WITH_EXPECTED_PREFIX:function e(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a(i.ValidatorType.PHONE_WITH_EXPECTED_PREFIX,"phone",{canBeEmpty:n,phonePrefix:t})},POSITIVE_FLOAT_VALUE:a(i.ValidatorType.PRICE,"positiveFloatValue.default",{canBeEmpty:!1}), 1709POSITIVE_FLOAT_VALUE_SHORT_MESSAGE:a(i.ValidatorType.PRICE,"positiveFloatValue.short",{canBeEmpty:!1}),POSITIVE_NUMBER:a(i.ValidatorType.POSITIVE_NATURAL_NUMBER,"naturalNumber"),PRODUCT_WEIGHT:a(i.ValidatorType.POSITIVE_NATURAL_NUMBER_WITH_ZERO,"productWeight"),REFLINK_VALIDATOR:a(i.ValidatorType.REFLINK,"reflink",{canBeEmpty:!1}),REQUIRE:a(i.ValidatorType.REQUIRE,"require"),TAX:a(i.ValidatorType.VAT_TAX,"tax",{canBeEmpty:!0}),URL_VALIDATOR:a(i.ValidatorType.URL_VALIDATOR,"url",{canBeEmpty:!0}),MIN_LENGTH:function e(t){return a(i.ValidatorType.MIN_LENGTH, 1710"minLength",{canBeEmpty:!1,minLength:t})}};t.a=o},81:function(e,t,n){var i=n(0),r=n(1),a=n(157),o=n.n(a),s=n(31),u=n(114),c,l=new (function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"isLoggedUserHasPlLanguage",value:function e(){return config.language===config.definedLanguagCodes.polish}},{key:"getPluralForm",value:function e(t,n,i){var r=t;return n>1&&(r+=n<=4?"_plural1":"_plural2"),i18n.t(r,i)}},{key:"getPluralSimpleForm",value:function e(t,n,i){var r=t;return n>1?r+="_plural2": 17111===n&&(r+="_plural1"),i18n.t(r,i)}},{key:"isGlobalLanguage",value:function e(){return["en","au"].includes(this.getCurrentLang())}},{key:"formatPriceToLocalString",value:function e(t){return t.toLocaleStr
1711ing(void 0,{maximumFractionDigits:2,minimumFractionDigits:Number.isInteger(t)?0:2})}},{key:"formatNumberToLocaleString",value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{maximumFractionDigits:2,minimumFractionDigits:2};return t.toLocaleString(n,i)}},{key:"formatPriceWithCurrency", 1712value:function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"code",r="string"==typeof t?parseFloat(t):t,a=webwave.isDefAndNotNull(n)?n:u.a.USD,o=this.formatNumberToLocaleString(r,void 0,{maximumFractionDigits:2,minimumFractionDigits:2}),s="com.webwave.currency.format.".concat(i,".").concat(a.toLowerCase());if(i18n.exists(s))return i18n.t(s,{price:o,rawPrice:r});var c="com.webwave.currency.format.".concat(i);if(i18n.exists(c)){var l=i18n.t("com.webwave.currency.symbol.".concat(a.toLowerCase()), 1713{defaultValue:a.toLowerCase()}),d=i18n.t("com.webwave.currency.name.".concat(a.toLowerCase()),{defaultValue:a.toLowerCase()}),h=i18n.t(c,{price:o,rawPrice:r,currency:a,currencySymbol:l,currencyName:d});if(h&&h!==c)return h}var f="";switch(i){case "symbol":f=i18n.t("com.webwave.currency.symbol.".concat(a.toLowerCase()),{defaultValue:a.toLowerCase()});break;case "name":f=i18n.t("com.webwave.currency.name.".concat(a.toLowerCase()),{defaultValue:a.toLowerCase()});break;default:f=a}return"".concat(o," ").concat(f)}}, 1714{key:"getCurrentLang",value:function e(){return s.a.getValue("language")}},{key:"getAvailableLanguagesList",value:function e(){return["pl","en","ro","au","uk","cs","sk"]}},{key:"isLanguageSupportedByWebwave",value:function e(t){return this.getAvailableLanguagesList().includes(t)}}]),e}());webwave.provide("com.webwave.common.utils.languageUtils"),com.webwave.common.utils.languageUtils=l,t.a=l},82:function(e,t,n){var i={RECTANGLE:"rectangle",GALLERY:"gallery",SLIDER:"slider",LIGHTBOX:"lightbox",IMG:"img", 1715SIMPLETEXT:"simpleText",TEXT:"text",BUTTON:"button",PAGETHUMBNAIL:"pageThumbnail",HTMLTOOL:"htmltool",LANGUAGESELECTOR:"languageSelector",FBCOMMENTS:"fbComments",NEWSFEED:"newsfeed",MENU:"menu",SOCIALMEDIA:"socialMedia",FORM:"form",GOOGLEMAPS:"googleMaps",LOGIN:"login",DATE:"date",MEDIAPLAYER:"WMediaPlayer",STORE_PRODUCT:"product",STORE_CART:"shopCart",SNIPCART_SHOP:"shop",COUNTER:"counter",CAROUSEL:"carousel",PRODUCTFEED:"productfeed",AIWIDGET:"aiwidget"};t.a=i},854:function(e,t,n){n.d(t,"a",function(){return s}); 1716var i=n(0),r=n(1),a=n(1661),o=n(1662),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),void 0===t.type&&(t.type=o.a.NO_LINK),void 0===t.target&&(t.target=a.a.SELF),this.type=t.type,this.target=t.target}return Object(r.a)(e,[{key:"getShortName",value:function e(){return this.type}},{key:"getType",value:function e(){return this.type}},{key:"setTarget",value:function e(t){this.target=t}},{key:"getTarget",value:function e(){return this.target}}, 1717{key:"getLinkDefaultName",value:function e(){return""}},{key:"isValid",value:function e(){return!0}},{key:"isEmptyLink",value:function e(){return!1}},{key:"toJSON",value:function e(){return{type:this.type,target:this.target}}}]),e}()},856:function(e,t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=function(){function e(t){Object(i.a)(this,e),this.value=0,this.separator=a.DecimalSeparators.NONE,this.fractalLength=0,this.decimalLength=0,this.invalid=!1,this.strValue="0.0",this.strValue= 1718webwave.isString(t)?t:"";var n=this.strValue.match(e.regex);if(null!==n){if(webwave.isStringAndNotEmpty(n[1])){var r=parseInt(n[1],10);this.value=r,this.fractalLength=n[1].length}else this.invalid=!0;if(webwave.isStringAndNotEmpty(n[2])&&(this.separator=n[2]),webwave.isStringAndNotEmpty(n[3])){var o=parseFloat(".".concat(n[3]));this.value+=o,this.decimalLength=n[3].length}}else this.invalid=!0}return Object(r.a)(e,[{key:"toString",value:function e(){return this.value.toFixed(this.decimalLength)}}, 1719{key:"toJSON",value:function e(){return this.printFormattedValue()}},{key:"isInvalid",value:function e(){return this.invalid}},{key:"clone",value:function t(){return new e(this.strValue)}},{key:"getValue",value:function e(){return this.value}},{key:"printFormattedValue",value:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=webwave.isNumberAndNotNaN(t)?t:this.value,r="";if(this.decimalLength>0){var a,o,s=(i-Math.floor(i)).toFixed(this.decimalLength).split("."),u;r="".concat(this.separator).concat(s[1]), 1720parseInt(s[0],10)>0&&(i+=1)}var c=(new Intl.NumberFormat("en-us")).format(parseInt(i,10)).replace(/,/g,n);return"".concat(c).concat(r)}},{key:"equals",value:function e(t){return this.strValue===t.strValue}}]),e}();s.regex=/([-]?[0-9]+)(?:([,.]?)([0-9]*))?/},857:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t){Object(i.a)(this,e),this._source=t}return Object(r.a)(e,[{key:"getSource",value:function e(){return this._source}}]),e}()},858:function(e,t,n){var i= 1721{filemanager_popup:"openPopupMediaLibrary",editMenuPopup:"openPopupEditMenu",form_editor_box:"openPopupEditForm"};t.a=i},859:function(e,t,n){n.d(t,"a",function(){return h});var i=n(0),r=n(1),a=n(864),o=n(252),s=n(31),u=n(14),c=n.n(u),l,d,h=(l=Object(u.injectable)())(d=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"setEnvironment",value:function e(t){this.environment=t}},{key:"getPathForAjax",value:function e(){return webwave.isDefAndNotNull(this.environment)&&this.environment.isDevelopment()? 1722"/webwaver_front":""}},{key:"getPanelType",value:function e(){var t;switch($("#panelType").val()){case o.a.CMS:return o.a.CMS;case o.a.GUI:return o.a.GUI;default:return o.a.WM}}},{key:"getEnvironmentPrefix",value:function e(){var t;switch(this.getPanelType()){case o.a.CMS:t="/cms/";break;case o.a.WM:t="/WM/";break;case o.a.GUI:t="/gui/";break}return t}},{key:"isGuiPanel",value:function e(){return this.getPanelType()===o.a.GUI}},{key:"isWMPanel",value:function e(){return this.getPanelType()===o.a.WM}}, 1723{key:"isCMSPanel",value:function e(){return this.getPanelType()===o.a.CMS}},{key:"isWebsitePublishedAndVisible",value:function e(){return"true"===$("#firstPublished").val()&&"true"===$("#websiteVisibility").val()}},{key:"getWebsiteId",value:function e(){return $("#websiteId").val()}},{key:"getWebsiteName",value:function e(){return $("#websiteName").val()}},{key:"isWhiteLabelActive",value:function e(){var t;return t=this.isWMPanel()?s.a.getValue("whiteLabel.active",!1):"true"===$("#webmasterProfessionalAccount").val()}}, 1724{key:"isWebmaster",value:function e(){return s.a.getValue("loggedUser.isWebmaster",!1)}}
1724,{key:"getLinkDependingOnEnvironment",value:function e(t){return this.getPathForAjax()+t}},{key:"getAiWebsiteObject",value:function e(){var t=s.a.getDecodedJSON("openAIWebsite");return new a.a(t)}},{key:"getAIWebsiteSubject",value:function e(){var t;return null===(t=this.getAiWebsiteObject())||void 0===t?void 0:t.websiteSubject}}]),e}())||d},860:function(e,t,n){n.d(t,"a",function(){return S});var i=n(0),r=n(1), 1725a=n(3),o=n(4),s=n(2),u=n(11),c=n.n(u),l=n(896),d=n(177),h=n(26),f=n(905),v=n(14),g=n.n(v),p=n(167),y,b;function m(e){var t=w();return function n(){var i=Object(s.a)(e),r;if(t){var a=Object(s.a)(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Object(o.a)(this,r)}}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1726[],function(){})),!0}catch(e){return!1}}var S=(y=Object(v.injectable)())(b=function(e){Object(a.a)(n,e);var t=m(n);function n(){var e;Object(i.a)(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).wasHidden=!1,e._progressProcesses=[],e.LOADING_IMAGE_ID="loading-image",e.LoadingImageClass=null,e.popupManager=void 0,e}return Object(r.a)(n,[{key:"showLoadingBox",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]? 1727arguments[0]:{};!1===this.isAnyLoadingProgressActive()&&(this.wasHidden=!1,"none"==$("#screen_popup_wrapper").css("display")&&(this.wasHidden=!0),$("#screen_popup_background").hide(),$("#loadingBoxWrapper").show(),!0===t.solidBackground?$("#loadingBoxBackground").addClass("loadingBoxBackground--solid"):$("#loadingBoxBackground").addClass("loadingBoxBackground--semi-transparent"),!0!==t.noScrollDisable&&p.a.setBodyScrollOff())}},{key:"hideLoadingBox",value:function e(){var t=arguments.length>0&&void 0!== 1728arguments[0]?arguments[0]:{};$("#screen_popup_background").show(),this._removeBackgroundModifiers(),$("#loadingBoxWrapper").hide(),!0===this.wasHidden&&!1!==t.unlockPagearea&&this.canHideScreenPopupWrapper()&&$("#screen_popup_wrapper").hide(),!0!==t.noBodyScrollRevert&&p.a.setBodyScrollOn()}},{key:"showProgressBox",value:function e(){$("#loadingSpinnerWrapper").show()}},{key:"showProgressBoxWithoutBar",value:function e(){$("#loadingSpinnerProgress").hide(),$("#loadingSpinnerWrapper").show()}},{key:"hideProgressBox", 1729value:function e(t){var n=$("#loadingSpinnerWrapper");u.Environment.isNotTest()&&webwave.isNumberAndNotNaN(t)?n.css("opacity",1).animate({opacity:"0"},{duration:t,always:function e(){n.css("opacity","").hide()}}):n.hide()}},{key:"setProgressLabel",value:function e(t){$("#loadingSpinnerProgress .text").text(t)}},{key:"setProgressValue",value:function e(t){var n=parseInt(t);(isNaN(n)||n<0)&&(n=0),n>100&&(n=100),$("#loadingSpinnerProgress .fill").css("width",n+"%")}},{key:"updatePageareaLoadingProgress", 1730value:function e(t){var n=t.get$Wrapper();!0===t.isNoProgressValue()?n.find(".progressWrapper .progress_value").hide():(n.find(".progressWrapper .progress_value").show(),n.find(".progressWrapper .progress_value").text("".concat(t.getValue(),"/").concat(t.getMaxValue()))),n.find(".progressWrapper .fill").css("width",100*t.getProgress()+"%")}},{key:"getCurrentLoadingProcess",value:function e(){return this._progressProcesses[0]}},{key:"hideCurrentProgress",value:function e(){var t=this.getCurrentLoadingProcess(), 1731n;t.get$Wrapper().hide(),t.getWrapper()===d.a.PAGEAREA&&$("#pagearea").css("opacity","")}},{key:"isAnyLoadingProgressActive",value:function e(){return this._progressProcesses.length>0}},{key:"loadingImageElementExists",value:function e(t){var n=document.getElementById(t);return webwave.isDefAndNotNull(n)}},{key:"updateProgressData",value:function e(){var t=this.getCurrentLoadingProcess(),n=t.get$Wrapper();webwave.isDefAndNotNull(t)&&(this.hideLoadingBox({unlockPagearea:!0,noBodyScrollRevert:!1}), 1732n.show(),this.updatePageareaLoadingProgress(t),n.find(".progress_label").text(t.getProgressText()),n.find(".progressWrapper").toggle(!0!==t.isNoProgressBar()),n.find(".footer_label").text(t.getFooterText()),!0===t.isNoProgressText()?(n.find(".progressWrapper .text").hide(),n.find(".footer_label").hide()):(n.find(".progressWrapper .text").show(),n.find(".footer_label").show()),t.isTransparentBackgroun
1732d()?n.css("backgroundColor","transparent"):n.css("backgroundColor",""))}},{key:"progressChanged",value:function e(t){this.updateProgressData()}}, 1733{key:"valueChanged",value:function e(t){this.updateProgressData()}},{key:"addLoadingProcess",value:function e(t){-1===this._progressProcesses.indexOf(t)&&this._progressProcesses.push(t),this.updateFirstLoadingProcess()}},{key:"removeLoadingProcess",value:function e(t){var n=this._progressProcesses.indexOf(t);-1!==n&&(this.hideCurrentProgress(),this._progressProcesses.splice(n,1),t.removeProgressListener(this),this.updateFirstLoadingProcess())}},{key:"updateFirstLoadingProcess",value:function e(){var t; 1734!0===this.isAnyLoadingProgressActive()&&(this.getCurrentLoadingProcess().addProgressListener(this),this.updateProgressData())}},{key:"startProgressLoadingBox",value:function e(t){var n=new l.a(t),i="".concat(n.getWrapper(),"__").concat(this.LOADING_IMAGE_ID);return!0===this.loadingImageElementExists(i)&&(this.progressLoadingImage=new this.LoadingImageClass({el:"#".concat(i),propsData:{loadingProcess:n,imageId:i}})),webwave.isDefAndNotNull(t.customImage)&&this.progressLoadingImage.setCustomImageSrc(t.customLoadingImage), 1735this.addLoadingProcess(n),n}},{key:"startSimulatedTimedProgress",value:function e(t){var n=this.startProgressLoadingBox({maxValue:100,noProgressBar:!1,progressText:t.progressText,customLoadingImage:t.loadingImage?t.loadingImage:i18n.t("gui.aiWebsite.loadingBox.websiteColors.image"),transparentBackground:!0,noProgressValue:!0,wrapper:d.a.WINDOW}),i=t.approxTime?t.approxTime:this.DEFAULT_CREATION_APPROX_TIME,r=new f.a(n,i);return r.start(),r}},{key:"stopPageAreaLoadingBox",value:function e(t){this.removeLoadingProcess(t)}}, 1736{key:"getPopupBackground",value:function e(){return $("#screen_popup_background")}}
1736,{key:"setLoadingImageClass",value:function e(t){this.LoadingImageClass=t}},{key:"_removeBackgroundModifiers",value:function e(){$("#loadingBoxBackground").removeClass("loadingBoxBackground--solid"),$("#loadingBoxBackground").removeClass("loadingBoxBackground--semi-transparent")}},{key:"setPopupManager",value:function e(t){Object.defineProperty(this,"popupManager",{value:t,configurable:!1,writable:!0})}},{key:"canHideScreenPopupWrapper", 1737value:function e(){return webwave.isNotDefOrNull(this.popupManager)||!1===this.popupManager.isAnyPopupVisible()}}]),n}(h.a))||b},862:function(e,t,n){t.a={OK:200,BAD_REQUEST:400,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,REQUEST_TIMEOUT:408,CONFLICT:409,INTERNAL_SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504}},864:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(227),a=function e(t){Object(i.a)(this,e),this.websiteId=t.websiteId,this.websiteSubject= 1738r.a.safeDecodeURIComponent(t.websiteSubject),this.fonts=r.a.safeOptJsonParse(t.fonts),this.style=t.style,this.palette=r.a.safeOptJsonParse(t.palette),this.imageColor=t.imageColor,this.imageKeys=r.a.safeDecodeURIComponent(t.imageKeys),this.functions=r.a.safeOptJsonParse(t.functions),this.storeName=r.a.safeDecodeURIComponent(t.storeName),this.gusSubject=r.a.safeOptJsonParse(t.gusSubject)}},896:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(177),o=function(){function e(){var t= 1739arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this._value=0,this._maxValue=100,this._progress=0,this._type=null,this.noProgressBar=!1,this.noProgressText=!1,this.noProgressValue=!1,this.withSpinner=!1,this.transparentBackground=!1,this.progressText=null,this.footerText=null,this._maxValue=webwave.isNumberAndNotNaN(t.maxValue)&&t.maxValue>0?t.maxValue:100,this._loadingProgressListeners=[],this.noProgressBar=!0===t.noProgressBar,this.noProgressText=!0===t.noProgressText, 1740this.noProgressValue=!0===t.noProgressValue,this.transparentBackground=!0===t.transparentBackground,this.withSpinner=!0===t.withSpinner,this.progressText=webwave.isString(t.progressText)?t.progressText:null,this.customLoadingImage=t.customLoadingImage?t.customLoadingImage:void 0,this.wrapper=t.wrapper?t.wrapper:a.a.PAGEAREA,this.footerText=t.footerText||null}return Object(r.a)(e,[{key:"setValue",value:function e(t){var n=Math.min(this._maxValue,Math.max(t,0)),i=this._value!==n;this._value=n,i&&(this._notifyValueListeners(), 1741this._updateProgress())}},{key:"setToEnd",value:function e(){this.setValue(this._maxValue)}},{key:"getValue",value:function e(){return this._value}},{key:"_setProgress",value:function e(t){var n=this._progress!==t;this._progress=t,n&&this._notifyProgressListeners()}},{key:"getProgress",value:function e(){return this._progress}},{key:"_updateProgress",value:function e(){this._setProgress(this._value/this._maxValue)}},{key:"_notifyProgressListeners",value:function e(){for(var t=0;t<this._loadingProgressListeners.length;t++)this._loadingProgressListeners[t].progressChanged(this)}}, 1742{key:"_notifyValueListeners",value:function e(){for(var t=0;t<this._loadingProgressListeners.length;t++)this._loadingProgressListeners[t].valueChanged(this)}},{key:"getMaxValue",value:function e(){return this._maxValue}},{key:"getWrapper",value:function e(){return this.wrapper}},{key:"get$Wrapper",value:function e(){return $("#".concat(this.wrapper))}},{key:"addProgressListener",value:function e(t){-1===this._loadingProgressListeners.indexOf(t)&&this._loadingProgressListeners.push(t)}},{key:"removeProgressListener", 1743value:function e(t){var n=this._loadingProgressListeners.indexOf(t);-1!==n&&this._loadingProgressListeners.splice(n,1)}},{key:"isNoProgressBar",value:function e(){return this.noProgressBar}},{key:"isNoProgressValue",value:function e(){return this.noProgressValue}},{key:"isNoProgressText",value:function e(){return this.noProgressText}},{key:"isTransparentBackground",value:function e(){return this.transparentBackground}},{key:"isWithSpinner",value:function e(){return this.withSpinner}},{key:"getProgressText", 1744value:function e(){return this.progressText}},{key:"setCustomLoadingImage",value:function e(t){this.customLoadingImage=t,this._notifyValueListeners()}},{key:"setProgressText",value:function e(t){this.progressText=t,this._notifyValueListeners()}},{key:"increaseProgress",value:function e(){this.setValue(this.getValue()+1)}},{key:"getFooterText",value:function e(){return webwave.isDefAndNotNull(this.footerText)&&webwave.isStringAndNotEmpty(this.footerText)?this.footerText:""}}]),e}()},898:function(e, 1745t,n){n.d(t,"a",function(){return s});var i=n(0),r=n(1),a=n(11),o=n.n(a),s=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"getShadowColorArrayFromString",value:function e(t){return null===t||void 0===t?void 0:t.match(/((rgba|rgb|var)?\(.+\))/g)}},{key:"getShadowSettingsArrayFromString",value:function e(t){return null===t||void 0===t?void 0:t.match(/(-?\d+px)/g)}},{key:"composeShadowValueByColorAndDirectionSettings",value:function e(t,n){var i;return[t].concat(n).join(" ")}}, 1746{key:"getShadowObjectFromString",value:function e(t,n){if(!webwave.isString(t))return n;var i=t.match(/((rgba|rgb|var)?\(.+\))/g),r=t.match(/(-?\d+px)/g);return null===i||null===r||1!==i.length||3!==r.length?n:{x:parseInt(r[0],10),y:parseInt(r[1],10),blur:parseInt(r[2],10),color:i[0],enabled:!0}}},{key:"getShadowStringFromShadowMap",value:function e(t){var n="none";if(webwave.isDef(t)&&"none"!==t&&t.enabled){var i="rgb(0,0,0,1)";
1746if(webwave.isString(t.color))if(a.ColorUtils.isColorStartWithAnyOfPhrase(t.color, 1747["rgba","var"]))i=t.color;else if(a.ColorUtils.isColorStartWithRgbPhrase(t.color)){var r=webwave.isDef(t.opacity)?t.opacity/100:1;i=a.ColorUtils.rgbAndOpacityToRgba(t.color,r)}n="".concat(t.x,"px ").concat(t.y,"px ").concat(t.blur,"px ").concat(i)}return n}}]),e}()},900:function(e,t,n){var i={NEWS:"news",SHORT:"short",HEADER:"header",THUMBNAIL:"thumbnail",READ_MORE:"readMore",DATE:"date",PAGINATION_INDEX:"paginationIndex",SELECTED_PAGINATION_INDEX:"selectedPaginationIndex"};t.a=i},905:function(e, 1748t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(t,n){Object(i.a)(this,e),this._loadingProcess=t,this._duration=n,this._intervalId=null,this._startTime=null}return Object(r.a)(e,[{key:"complete",value:function e(){this.stop(),this._loadingProcess.setToEnd()}},{key:"getLoadingProcess",value:function e(){return this._loadingProcess}},{key:"start",value:function e(){var t=this;this._startTime=Date.now(),this._intervalId=setInterval(function(){return t._updateProgress()}, 1749100)}},{key:"stop",value:function e(){this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null)}},{key:"_updateProgress",value:function e(){var t=(Date.now()-this._startTime)/1E3,n=this._calculateProgress(t);(n>=100||t>=this._duration)&&(this.stop(),n=100),this._loadingProcess.setValue(n)}},{key:"_calculateProgress",value:function e(t){var n=t/this._duration;if(n<.1)return 300*n;if(n<.8){var i=30+(n-.1)/.7*60;return Math.min(i,90)}var r=90+(n-.8)/.2*10;return Math.min(r,99)}}]),e}()}, 1750910:function(e,t,n){n.d(t,"a",function(){return o});var i=n(0),r=n(1),a=n(1105),o=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"constraints",get:function e(){throw"Not implement";}},{key:"translationPrefix",get:function e(){throw"Not implement";}},{key:"getTitle",value:function e(t){return"".concat(this.translationPrefix,t?".title.create":".title.edit")}},{key:"isExpired",value:function e(){return!1}},{key:"validate",value:function e(){throw"Not implement";}},{key:"getFields", 1751value:function e(){var t=this,n=[],i;return Object.keys(this).forEach(function(e){n.push(new a.a({name:e,placeholder:"".concat(t.translationPrefix,".").concat(e,".placeholder"),validator:t.constraints[e],label:"".concat(t.translationPrefix,".").concat(e,".label")}))}),n}}]),e}()},918:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(1607),o=n(218),s=n(1299),u=n(1805),c=n(11),l=n.n(c),d=n(1081),h=n(123),f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 1752{};Object(i.a)(this,e),this.backgroundType=t.backgroundType,t.backgroundType===e.BackgroundTypes.GRADIENT?this.backgroundType=e.BackgroundTypes.GRADIENT:this.backgroundType=e.BackgroundTypes.COLOR,this.backgroundImage=webwave.isDef(t.backgroundImage)?t.backgroundImage:"none",this.imageId=null!==t.imageId?t.imageId:void 0,"string"==typeof t.backgroundColor&&t.backgroundColor.length>0?this.backgroundColor=t.backgroundColor:this.backgroundColor="rgba(0, 0, 0, 0)",this.sessionBackgroundColor=this.backgroundColor, 1753this.gradient=new d.a(t.gradient),void 0===t.verticalPosition?this.verticalPosition="top":this.verticalPosition=t.verticalPosition,void 0===t.horizontalPosition?this.horizontalPosition="left":this.horizontalPosition=t.horizontalPosition,this.repeatY=!1!==t.repeatY,this.repeatX=!1!==t.repeatX,"string"==typeof t.backgroundSize&&t.backgroundSize.length>0?this.backgroundSize=t.backgroundSize:this.backgroundSize="cover","string"==typeof t.backgroundAttachment&&t.backgroundAttachment.length>0?this.backgroundAttachment= 1754t.backgroundAttachment:this.backgroundAttachment="scroll",webwave.isNumberAndNotNaN(t.parallax)?this.parallax=t.parallax:this.parallax=100,webwave.isDef(t.enabled)?this.enabled=t.enabled:this.enabled=this._computeEnabledValue(),webwave.isDef(t.backgroundImageEnabled)?this.backgroundImageEnabled=t.backgroundImageEnabled:this.backgroundImageEnabled=this._computeBackgroundImageEnabledValue()}return Object(r.a)(e,[{key:"serialize",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 1755{},n,i;(this.gradient instanceof d.a&&(n=this.gradient.serialize()),web
1755wave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(t.imageIdCorrector))&&(this.imageId=null===(i=t.imageIdCorrector)||void 0===i?void 0:i.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:n,verticalPosition:this.verticalPosition,horizontalPosition:this.horizontalPosition,repeatX:this.repeatX,repeatY:this.repeatY,backgroundSize:this.backgroundSize, 1756backgroundAttachment:this.backgroundAttachment,parallax:this.parallax,enabled:this.enabled,backgroundImageEnabled:this.backgroundImageEnabled}}},{key:"_computeEnabledValue",value:function t(){var n=webwave.isDef(this.backgroundColor)&&""!==this.backgroundColor&&"transparent"!==this.backgroundColor&&(new c.Color(this.backgroundColor)).a>0,i=this.backgroundType===e.BackgroundTypes.GRADIENT,r=webwave.isDef(this.gradient);return!!(n||r&&i)}},{key:"_computeBackgroundImageEnabledValue",value:function e(){var t; 1757return!!webwave.isDef(this.imageId)}},{key:"toCss2Map",value:function t(){var n={};return!1===this.enabled&&!1===this.backgroundImageEnabled?{background:"none"}:(this.enabled?n=this.backgroundType===e.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:n.backgroundColor="transparent",this.backgroundImageEnabled&&(webwave.isDef(window.fileManagerService)? 1758n.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===o.a.FULL_WIDTH):n.backgroundImage=webwave.isDef(this.backgroundImage)?this.backgroundImage:"none",Object.assign(n,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(n.backgroundImage)&&(n.backgroundImage="none"),n)}},{key:"applyPartialBackgroundMap",value:function e(t){webwave.isDef(t)&& 1759(webwave.isDef(t.backgroundAttachment)&&(this.backgroundAttachment=t.backgroundAttachment),webwave.isDef(t.backgroundColor)&&(this.backgroundColor=t.backgroundColor),webwave.isDef(t.backgroundSize)&&(this.backgroundSize=t.backgroundSize),webwave.isDef(t.backgroundType)&&(this.backgroundType=t.backgroundType),webwave.isDef(t.gradient)&&(this.gradient=new d.a(t.gradient)),webwave.isDef(t.horizontalPosition)&&(this.horizontalPosition=t.horizontalPosition),webwave.isDef(t.verticalPosition)&&(this.verticalPosition= 1760t.verticalPosition),webwave.isDef(t.backgroundImage)&&(this.backgroundImage=t.backgroundImage),webwave.isDef(t.imageId)&&(this.imageId=null!==t.imageId?t.imageId:void 0),webwave.isDef(t.repeatX)&&(this.repeatX=t.repeatX),webwave.isDef(t.repeatY)&&(this.repeatY=t.repeatY),webwave.isDef(t.parallax)&&(this.parallax=t.parallax),webwave.isDef(t.enabled)&&(this.enabled=t.enabled),webwave.isDef(t.backgroundImageEnabled)&&(this.backgroundImageEnabled=t.backgroundImageEnabled))}},{key:"setBackgroundColor", 1761value:function e(t){this.backgroundColor=t}},{key:"generateBackgroundRepeatString",value:function e(){return u.a.generateBackgroundRepeatString(this.repeatX,this.repeatY)}},{key:"clone",value:function t(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection",value:function e(t){var n,i=h.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,t),r=null===(n=this.gradient)||void 0===n?void 0:n.changeWebsiteColorConnection(t);return i||r}},{key:"isBackgroundImageEnabledAndDefined", 1762value:function e(){return!0===this.backgroundImageEnabled&&webwave.isDefAndNotNull(this.imageId)}},{key:"isParallaxActive",value:function e(){return webwave.isDefAndNotNull(this.parallax)&&100!==this.parallax&&this.isBackgroundImageEnabledAndDefined()}},{key:"isBackgroundColorEnabledAndWithoutTransparency",value:function e(){return!0===this.enabled&&!1===c.ColorUtils.isTransparentOrSomeLevelOfTransparency(this.backgroundColor)}},{key:"isNonTransparentBackgroundAvailable",value:function e(){return this.isBackgroundColorEnabledAndWithoutTransparency()|| 1763this.isBackgroundImageEnabledAndDefined()}}]),e}();
1763f.BackgroundTypes=s.a,f.AttachmentTypes=a.a,f.BackgroundSizes=o.a,f.toBackgroundString=function(){return"background: none"}},922:function(e,t,n){n.d(t,"a",function(){return v});var i=n(0),r=n(1),a=n(2074),o=n(1554),s=n(1608),u=n(1776),c=n(1580),l=n(1662),d=n(1669),h=n(1300),f=n(1670),v=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"createLink",value:function e(t){if(webwave.isDefAndNotNull(t))switch(t.type){case "webwave.link.PageLinkData":return new h.a(t); 1764break;case "webwave.link.ObjectLinkData":return new d.a(t);break;case "webwave.link.FileLinkData":return new u.a(t);break;case "webwave.link.CustomLinkData":return new o.a(t);break;case "webwave.link.EmptyLinkData":return new s.a(t);break;case "webwave.link.InteractionsLinkData":case "com.webwaver.website.render.link.InteractionsLinkData":return new c.a(t);break;case "webwave.link.AnchorLinkData":return new a.a(t);break;case "webwave.link.ShowShopCardLinkData":return new f.a(t);break}}},{key:"cloneLink", 1765value:function t(n){if(webwave.isDefAndNotNull(n))return e.createLink(JSON.parse(JSON.stringify(n)))}},{key:"getLinkTypeByLinkData",value:function e(t){if(webwave.isDefAndNotNull(t))switch(!0){case t instanceof h.a:return webwave.isString(t.pageId)&&t.pageId.startsWith("webpage")?l.a.WEBPAGE:webwave.isString(t.pageId)&&t.pageId.startsWith("newspage")?l.a.NEWSPAGE:l.a.PRODUCTPAGE;break;case t instanceof d.a:return l.a.OBJECT;break;case t instanceof o.a:return l.a.CUSTOM;break;case t instanceof s.a:return l.a.NO_LINK; 1766break;case t instanceof c.a:return l.a.INTERACTION;break;case t instanceof a.a:return l.a.ANCHOR;break}return l.a.NO_LINK}}]),e}()},931:function(e,t,n){var i=n(0),r=n(1);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function e(){};return{s:r,n:function t(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function e(t){throw t;},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 1767}var a=!0,s=!1,u;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return a=t.done,t},e:function e(t){s=!0,u=t},f:function e(){try{a||null==n.return||n.return()}finally{if(s)throw u;}}}}function o(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null== 1768t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}!function(){webwave.provide("com.webwave.utils.location.locationService");var e={},t=function(){function t(){Object(i.a)(this,t)}return Object(r.a)(t,[{key:"addForceCountryParamIfSetInPath",value:function e(t){var n=t,i="forceCountry",r=this.getParameterByName("forceCountry");return webwave.isDefAndNotEmpty(r)&&(n+="?".concat("forceCountry","=").concat(r)),n}},{key:"closeTab",value:function t(n){var i=e[n];webwave.isDefAndNotNull(i)&& 1769i.close()}},{key:"getParameterByName",value:function e(t,n){void 0===n&&(n=location.search),t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i,r=(new RegExp("[\\?&]"+t+"=([^&#]*)")).exec(n);return null==r?"":decodeURIComponent(r[1].replace(/\+/g," "))}},{key:"setEnvironmentUtils",value:function e(t){this._environmentUtils=t}},{key:"openUrl",value:function t(n,i){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==i)if("_blank"===i)window.open(n,i);else{var a=e[i];void 0!== 1770a&&!0===r&&a.close(),(a=window.open(n,i)).focus(),e[i]=a}else window.location=n}},{key:"openUrlForApp",value:function e(t,n,i){this.openUrl(this._environmentUtils.getPathForAjax()+t,n,i)}},{key:"openUrlWithTimeout",value:function e(t,n){var i=this;setTimeout(function(){i.openUrl(t)},n)}},{key:"openEditor",value:function e(t,n){com.webwave.utils.location.locationService.openUrl(this._environmentUtils.getPathForAjax()+"/gui/gui/"+t,n)}},{key:"openWebsite",value:function e(t,n){com.webwave.utils.location.locationService.openUrl(this._environmentUtils.getPathForAjax()+ 1771"/"+t,n)}},{key:"openWebmasterPanel",value:function e(t){com.webwave.utils.location.locationService.openUrl(com.webwave.utils.location.locationService.getWebmasterPanelLink(),t)}},{key:"getWebmasterPanelLink",value:function e(){return this._environmentUtils.getPathForAjax()+"/webmasterPanel/userWebsites"}},{key:"replaceQueryParam",value:function e(t,n,i){var r=new RegExp("([?;&])"+t+"[^&;]*[;&]?"),a=i.replace(r,"$1").replace(/&$/,"");return(a.length>2?a+"&":"?")+(n?t+"="+n:"")}},{key:"getHash",value:function e(){return window.location.hash.replace("#", 1772"")}},{key:"removeHash",value:function e(){history.pushState("",document.title,window.location.pathname+window.location.search)}},{key:"removeHashAndParams",value:function e(){history.pushState("",document.title,window.location.pathname)}},{key:"reloadPage",value:function e(){window.location.reload()}},{key:"reloadPageWithForceParam",value:function e(t){window.location+="?force=".concat(t)}},{key:"getCurrentPath",value:function e(){return window.location.pathname}},{key:"getCurrentUrlHostWithProtocol", 1773value:function e(){return"".concat(window.location.origin)}},{key:"getCurrentUrl",value:function e(){return"".concat(this.getCurrentUrlHostWithProtocol()).concat(this.getCurrentPath())}},{key:"createLinkWithParams",value:function e(t,n){var i="".concat(t,"?"),r=a(n),o;try{for(r.s();!(o=r.n()).done;){var s=o.value;i+="".concat(s.getName(),"=").concat(s.getValue(),"&")}}catch(e){r.e(e)}finally{r.f()}return i}},{key:"getHostWithProtocolFromUrl",value:function e(t){return(new URL(t)).origin}},{key:"getHashParamForPanel", 1774value:function e(){var t=com.webwave.utils.location.locationService.getHash();return""===t&&(t=webwave.utils.getGETparam("hash")),t}},{key:"getAllGetParams",value:function e(){var t=new URLSearchParams(window.location.search);return Object.fromEntries(t.entries())}}]),t}();com.webwave.utils.location.locationService=new t}()},932:function(e,t,n){n.d(t,"a",function(){return f});var i=n(0),r=n(1),a=n(965),o=n(1174),s=n(1335),u=n(1336),c=n(1337),l=n(1338),d=n(247),h=n(1306),f=function(){function e(){var t= 1775arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.update(t)}return Object(r.a)(e,[{key:"clean",value:function e(){this._name=void 0,this.description=void 0,this.key1=void 0,this.key2=void 0,this.key3=void 0,this._val
1775id=!1,this.thumbnailId=void 0,this.thumbnailUrl=void 0}},{key:"equals",value:function t(n){return n instanceof e!=!1&&(this.uniqueId===n.uniqueId&&this.name===n.name&&this.isTestMode()===n.isTestMode())}},{key:"name",get:function e(){return webwave.isStringAndNotEmpty(this._name)? 1776this._name:webwave.isDef(this._paymentProvider)?i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):void 0}},{key:"paymentMethodName",get:function e(){return webwave.isStringAndNotEmpty(this._name)?this._name:webwave.isDef(this._paymentProvider)?i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):void 0}},{key:"isPaymentMethodIntegration", 1777get:function e(){return!(!webwave.isDef(this._paymentProvider)||this._paymentProvider===d.a.ON_DELIVERY||this._paymentProvider===d.a.TRADITIONAL_TRANSFER)}},{key:"paymentOnDeliveryEnable",get:function e(){return this._paymentProvider===d.a.ON_DELIVERY||void 0===this._paymentProvider}},{key:"paymentProvider",get:function e(){return this._paymentProvider}},{key:"isP24",value:function e(){return this._paymentProvider===d.a.PRZELEWY24}},{key:"paymentConfigurationReferralLink",value:function e(){return[d.a.AUTOPAY, 1778d.a.PRZELEWY24].includes(this._paymentProvider)}},{key:"isTestMode",value:function e(){return webwave.isDef(this._testMode)?this._testMode:!1===(webwave.isStringAndNotEmpty(this.key2)&&webwave.isStringAndNotEmpty(this.key1))}},{key:"paymentIntegrationExists",value:function e(t){return this.paymentProvider===t&&!0===this.isPaymentMethodIntegration}},{key:"setPaymentProvider",value:function e(t){this._providerChanged(t)&&(this.clean(),this._paymentProvider=t,this._valid=this._getIsValid())}},{key:"serialize", 1779value:function e(){var t;return{id:!0===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,name:this._name,key1:this.key1,key2:this.key2,key3:this.key3,valid:this._valid,paymentProvider:this._paymentProvider,paymentOnDeliveryEnable:this.paymentOnDeliveryEnable,uniqueId:this.uniqueId,description:this.description,thumbnailId:this.thumbnailId,thumbnailUrl:this.thumbnailUrl}}},{key:"getDataToOrder",value:function e(){return{paymentMethodId:this.uniqueId}}}, 1780{key:"paymentMethodAvailableForCurrency",value:function e(t){var n=c.a.AVAILABLE_CURRENCIES;switch(this.paymentProvider){case d.a.TRADITIONAL_TRANSFER:case d.a.ON_DELIVERY:return!0;case d.a.PRZELEWY24:n=c.a.AVAILABLE_CURRENCIES;break;case d.a.PAYPAL:n=l.a.AVAILABLE_CURRENCIES;break;case d.a.STRIPE:n=h.a.AVAILABLE_CURRENCIES;break;case d.a.AUTOPAY:n=s.a.AVAILABLE_CURRENCIES;break;case d.a.NETOPIA:n=u.a.AVAILABLE_CURRENCIES;break}return!0===n.includes(t)}},{key:"setValid",value:function e(t){this._valid= 1781t}},{key:"isNotValid",value:function e(){return!0!==this._valid}},{key:"setDeleted",value:function e(){this.deleted=!0}},{key:"update",value:function e(t){this.id=t.id,this.key1=t?t.key1:void 0,this.key2=t?t.key2:void 0,this.key3=t?t.key3:void 0,this._paymentProvider=t?t.paymentProvider:void 0,this._valid=t?this._getIsValid(t.valid):void 0,this._testMode=t.testMode,this._name=t?this._getOrLoadDefaultName(t.name):void 0,this.uniqueId=this._isUniqueIdSet(t)?t.uniqueId:Object(a.a)(),this.description= 1782t?this._getOrLoadDefaultDescription(t.description):void 0,this.deleted=!1,this.thumbnailId=t.thumbnailId,this.thumbnailUrl=t.thumbnailUrl}},{key:"_getOrLoadDefaultDescription",value:function e(t){if(webwave.isStringAndNotEmpty(t))return t;if(!1===this.isPaymentMethodIntegration){var n="shop.com.webwave.gui.onlineStore.orderPopup.paymentOption.notDefinedInfo.beforeOrder";return i18n.t(n)}}},{key:"_getIsValid",value:function e(t){switch(this._paymentProvider){case d.a.DOT_PAY:return!(!this.key2||!this.key1); 1783default:return!!t||!(!this.key2||!this.key1)}}},{key:"_getOrLoadDefaultName",value:function e(t){return webwave.isStringAndNotEmpty(t)?t:webwave.isDef(this._paymentProvider)?i18n.t("shop.com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):void 0}},{key:"_isUniqueIdSet",value:function e(t){return webwave.isDef(t)&&webwave.isDefAndNotNull(t.uniqueId)}},{key:"_providerChanged",value:function e(t){return this._paymentProvider!== 1784t}},{key:"getSelectOptions",value:function e(t){return[(new o.a(this,t.getTranslate("online"))).getMap()]}},{key:"checkUniqueId",value:function e(t){return this.uniqueId===t}},{key:"getIdForPaymentOptionSelector",value:function e(){return this.uniqueId}},{key:"getUniqueIdForVariant",value:function e(t){return this.getIdForPaymentOptionSelector()}}]),e}()},943:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"update", 1785value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._id=t.id,this._deleted=t.deleted}},{key:"serialize",value:function e(){return{id:this._id,deleted:this._deleted}}},{key:"isExpired",value:function e(){return!1}},{key:"setDeleted",value:function e(t){this._deleted=t}},{key:"deleted",get:function e(){return this._deleted},set:function e(t){this._deleted=t}},{key:"id",get:function e(){return this._id},set:function e(t){this._id=t}}]),e}()},949:function(e,t,n){var i= 1786n(45),r=n(15),a=n(862),o=n(954);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1786t%2?s(Object(n),!0).forEach(function(t){Object(r.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)): 1787s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}webwave.provide("webwave.utils"),webwave.utils=function(){var e=function e(t){return t.returnValue=i18n.t("confirmToQuitText"),t},t={URL_NAME:"url",DATA_PARAMS:"data",ERROR_CODE:"600",SUCCESS_CODE:"200"},n=[a.a.REQUEST_TIMEOUT,a.a.INTERNAL_SERVER_ERROR,a.a.BAD_GATEWAY,a.a.SERVICE_UNAVAILABLE,a.a.GATEWAY_TIMEOUT],r=1024,s=1048576,c=null;function l(e){c=e}function d(e,t){for(var n=e.length-1;n>= 17880;n--)e[n]==t&&e.splice(n,1)}function h(e,t){for(var n=e.length-1;n>=0;n--)-1==t.indexOf(e[n])&&e.splice(n,1)}function f(e){}function v(e,i,r){var a=!0!==e.urlIsAbsolute?"".concat(c.getPathForAjax()).concat(e.url):e.url;return!0!==e.noLoadingBox&&loadingBoxService.showLoadingBox({noScrollDisable:e.noScrollDisable,solidBackground:e.solidBackground}),new Promise(function(s,l){var d;(new o.a(u(u({},e),{},{url:a,success:function n(a,o,u){if(!0!==e.noLoadingBox&&loadingBoxService.hideLoadingBox({unlockPagearea:!1, 1789noBodyScrollRevert:e.noScrollDisable}),a==t.ERROR_CODE)popupService.showUnexpectedErrorWarning(),l(a);else if(1==a.failure)if(!0!==e.noErrorPopup){var c="string"==typeof a.title?a.title:i18n.t("popupService.unexpectedErrorTitle");if("string"==typeof a.html)popupService.showHtmlPopup({html:a.html,title:c,position:e.position},function(){webwave.isFunction(r)&&r(a),l(a)});else{var d="string"==typeof a.msg?a.msg:i18n.t("popupService.unexpectedErrorText");popupService.showDialogInformation({html:d,title:c, 1790position:e.position},function(){webwave.isFunction(r)&&r(a),l(a)})}}else webwave.isFunction(r)&&r(a,o,u),l(a);else webwave.isFunction(i)&&i(a,o,u),s(a)},error:function t(i,a,o){if(!0!==e.noLoadingBox&&loadingBoxService.hideLoadingBox({unlockPagearea:!1,noBodyScrollRevert:e.noScrollDisable}),401===i.status){var s={text:i18n.t("userLoggedOut.desc"),title:i18n.t("userLoggedOut.title")};popupService.showDialogInformation(s,function(){loadingBoxService.showLoadingBox({noScrollDisable:e.noScrollDisable}), 1791window.location.href=c.getPathForAjax()+"/?login=true"})}else 403===i.status?popupService.showDialogInformationError({title:i18n.t("forbiddenAction.title"),text:i18n.t("forbiddenAction.desc")}):n.indexOf(i.status)>-1?popupService.showDialogInformationWarning({title:i18n.t("connectionError.title",{statusCode:i.status}),text:i18n.t("connectionError.text"),yesLabel:i18n.t("connectionError.yesLabel"),onYes:function e(){window.location.reload()}}):!0!==e.noErrorPopup&&popupService.showUnexpectedErrorWarning(); 1792401===i.status&&!0!==e.resolveFailOnUnathorizedError||(webwave.isFunction(r)&&r(i,a,o),l(i))}}))).send()})}function g(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function p(e,t){var n=function e(){this.contentWindow.location.reload(!0),this.removeEventListener("load",e,!1),this.parentElement.removeChild(this),"function"==typeof t&&t()},i=document.createElement("iframe");i.style.position="fixed",i.style.left="-10000px",i.style.top="-10000px",i.addEventListener("load",n,!1),i.addEventListener("error", 1793t,!1),i.src=e,document.body.appendChild(i)}function y(){var e,t;return(new Error("stackTrace")).stack}function b(e){return"object"===Object(i.a)(e)&&null!==e&&"number"==typeof e.length}function m(e){return"number"==typeof e?e/s:0}function w(e){var t=!1,n=e.val().toString().trim().toLowerCase();if(stringUtils.isValidEmail(n))e.removeClass("error"),t=!0;else{e.addClass("error");var i=webwave.utils.getInputErrorField(e);""===n?i.text(i18n.t("stringUtils.email.errors.cantBeEmpty")):i.text(i18n.t("stringUtils.email.errors.invalidSyntax"))}return t} 1794function S(e){var t=!0,n=e.val();if(stringUtils.isValidPassword(n,stringUtils.passwordTypes.SIMPLE))e.removeClass("error");else{var i=webwave.utils.getInputErrorField(e);e.addClass("error"),t=!1,i.text(i18n.t("stringUtils.password.errors.requirementsNotMet")),stringUtils.isValidPassword(n,stringUtils.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS)&&i.text(i18
1794n.t("stringUtils.password.errors.invalidCharacters"))}return t}function O(e){return e.siblings(".errorField").first()}function _(){return $("#webmasterFAId").val()} 1795function k(e){var t="string"==typeof e.stack?e.stack:void 0;return{name:e.name,message:e.message,stack:t}}function P(e,t,n,i){for(var r=performance.now(),a=0;a<e;a++)t.apply(n,i);var o;return performance.now()-r}function A(){var e=window.location.toString();e.indexOf("?")>0&&(e=e.substring(0,e.indexOf("?")),window.history.replaceState({},document.title,e))}function E(e){for(var t,n=window.location.search.substr(1).split("&"),i={},r=0;r<n.length;r++){var a=n[r].split("=");i[a[0]]=a[1]}return i[e]} 1796function I(e){var t=document.createElement("textarea");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)}function C(){return screen.width+"x"+screen.height}function T(){window.addEventListener("beforeunload",e)}function N(){window.removeEventListener("beforeunload",e)}function D(e){var t=document.getElementById(e);if(webwave.isDefAndNotNull(t))return t.getAttribute("value")}return{ajaxCallParams:t,bytesToMegabytes:m,filterArrayByArray:h,getCurrentStackTrace:y, 1797getObjectKeys:g,isArrayLike:b,makeAjxaCall:v,refreshUri:p,removeFromArray:d,validateEmail:w,validatePassword:S,getInputErrorField:O,getLoggedWebmasterId:_,serializeError:k,getExecutionSpeed:P,removeGetParamsFromUrl:A,getGETparam:E,setEnvironmentUtils:l,getScreenResolution:C,copyToClipboard:I,addBeforeUnloadFunction:T,removeBeforeUnloadFunction:N,getValueFromInput:D}}()},950:function(e,t,n){n.d(t,"a",function(){return i});var i={BackgroundParallaxService:Symbol.for("BackgroundParallaxService"),BrowserHistoryService:Symbol.for("BrowserHistoryService"), 1798ElementAttributeService:Symbol.for("ElementAttributeService"),ElementRotationService:Symbol.for("ElementRotationService"),ElementService:Symbol.for("ElementService"),FacebookService:Symbol.for("FacebookService"),FeedService:Symbol.for("FeedService"),GroupService:Symbol.for("GroupService"),LocalStorageService:Symbol.for("LocalStorageService"),LockService:Symbol.for("LockService"),LoadResourceUtils:Symbol.for("LoadResourceUtils"),MarketingPartnershipService:Symbol.for("MarketingPartnershipService"), 1799MediaPlayerService:Symbol.for("MediaPlayerService"),MenutoolService:Symbol.for("MenutoolService"),ModularObjectContentService:Symbol.for("ModularObjectContentService"),ObjectService:Symbol.for("ObjectService"),PageService:Symbol.for("PageService"),ProductCounterService:Symbol.for("ProductCounterService"),PublicatedScrollService:Symbol.for("PublicatedScrollService"),PublishedPageAreaService:Symbol.for("PublishedPageAreaService"),RwdService:Symbol.for("RwdService"),SimplyPopupManager:Symbol.for("SimplyPopupManager"), 1800UserService:Symbol.for("UserService"),UtilService:Symbol.for("UtilService")}},953:function(e,t,n){n.d(t,"a",function(){return a});var i=n(0),r=n(1),a=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,null,[{key:"ignoreCaseTextComparator",value:function t(n,i){var r=null===n||void 0===n?void 0:n.toLowerCase(),a=null===i||void 0===i?void 0:i.toLowerCase();return e.defaultComparator(r,a)}},{key:"defaultComparator",value:function e(t,n){return webwave.isString(t)&&webwave.isString(n)?t.localeCompare(n, 1801void 0,{numeric:!0,sensitivity:"base"}):t<n?-1:t>n?1:0}}]),e}()},954:function(e,t,n){n.d(t,"a",function(){return u});var i=n(15),r=n(0),a=n(1);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){Object(i.a)(e, 1802t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(r.a)(this,e),this.autoRetryCodes=[0,401,403],this.jQAjaxOptions={url:t.url,data:t.data,type:webwave.isDef(t.type)?t.type:e.DefaultJqAjaxSettings.type,async:webwave.isDef(t.async)?t.async: 1803e.DefaultJqAjaxSettings.async,processData:webwave.isDef(t.processData)?t.processData:e.DefaultJqAjaxSettings.processData,cache:webwave.isDef(t.cache)?t.cache:e.DefaultJqAjaxSettings.cache,contentType:webwave.isDef(t.contentType)?t.contentType:e.DefaultJqAjaxSettings.contentType},this.callbacks={error:t.error,success:t.success},this.retryState=e._generateRetryState(t)}return Object(a.a)(e,[{key:"_handleRealSuccess",value:function e(t,n,i){this.callbacks.success.call(this.callbacks.success,t,n,i)}}, 1804{key:"_handleRealError",value:function e(t,n,i){this.callbacks.error.call(this.callbacks.error,t,n,i)}},{key:"_handleError",value:function e(t,n,i){var r=this,a=null===t||void 0===t?void 0:t.status;(!0===this.retryState.retryOnError||this.autoRetryCodes.includes(a))&&this.retryState.count<this.retryState.retryLimit?(this.retryState.count+=1,!0===this.jQAjaxOptions.async?setTimeout(function(){r.send()},this.retryState.retryDelay):this.send()):this._handleRealError(t,n,i)}},{key:"send",value:function e(){var t= 1805this;$.ajax(s(s({},this.jQAjaxOptions),{},{success:function e(n,i,r){!0===n.ajaxAutoLoginRequest?t._handleError({status:403,text:"session expired but redirect login is successfull"},"session expired but redirect login is successfull"):t._handleRealSuccess(n,i,r)},error:function e(n,i,r){t._handleError(n,i,r)}}))}}],[{key:"_generateRetryState",value:function e(t){return{retryOnError:!0===t.retryOnError,count:0,retryLimit:webwave.isNumberAndNotNaN(t.retryLimit)?t.retryLimit:2,retryDelay:webwave.isNumberAndNotNaN(t.retryDelay)? 1806t.retryDelay:2E3,lastErrorData:{}}}}]),e}();u.DefaultJqAjaxSettings={type:"post",async:!0,data:{},processData:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",cache:!0}},956:function(e,t,n){var i={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right",BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"};t.a=i},965:function(e,t,n){t.a=function(){return"$".concat(Math.random().toString(36).slice(2,10))}},966:function(e,t,n){var i= 1807n(11),r=n.n(i),a={CUSTOM:"custom",INPOST_EASYPACK:"inpostEasypack",ELECTRONIC:"electronic",SELF_PICKUP:"selfPickup",FURGONETKA:"Furgonetka"};i.TranslationPrefix.addTranslationPrefix(a,"com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.postageOption.postageType"),t.a=a},99:function(e,t,n){n.d(t,"a",function(){return d});var i=n(0),r=n(1),a=n(135),o=n(59),s=n(14),u=n.n(s),c,l,d=(c=Object(s.injectable)())(l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]: 1808{};Object(i.a)(this,e),this._element=null,this._$element=null,this._visibility=!1,this._popupEventListeners=[],this._locked=!1,this._initialized=!1,this.deactivateSendPageView=t.deactivateSendPageView,this._showPopupData=null,this.analyticsPageView=t.analyticsPageView,this._alwaysOnTop=t.alwaysOnTop}return Object(r.a)(e,[{key:"_uninitEvents",value:function e(){}},{key:"readAnalyticsData",value:function e(){webwave.isStringAndNotEmpty(this.analyticsPageView)||webwave.isDefAndNotNull(this._element)&& 1809(webwave.isDefAndNotNull(this._element.dataset)&&webwave.isStringAndNotEmpty(this._element.dataset.analyticsPageView)?this.analyticsPageView=this._element.dataset.analyticsPageView:null!==this._element.getAttribute("id")&&(this.analyticsPageView=this._element.getAttribute("id")))}},{key:"setAnalyticsPageView",value:function e(t){this.analyticsPageView=t}},{key:"dispose",value:function e(){this._uninitEvents(),this.get$Element().remove();for(var t=0;t<this._popupEventListeners.length;t++)this._popupEventListeners[t].popupDisposed(new a.a(this))}}, 1810{key:"_closeButtonHandler",value:function e(){this.hide()}},{key:"initEvents",value:function e(){var t=this._$element.find('.close_button, [data-role="popupCloseButton"]');t.off("click.popup"),t.on("click.popup",this._closeButtonHandler.bind(this))}},{key:"_createElement",value:function e(){}},{key:"isInitialized",value:function e(){return this._initialized}},{key:"init",value:function e(){!0!==this._initialized?this.setElement(this._createElement()):webwave.error("Popup is already initialized!", 1811this)}},{key:"getElement",value:function e(){return this._element}},{key:"get$Element",value:function e(){return null!==this._$element?this._$element:$()}},{key:"show",value:function e(t){!1===this.isInitialized()&&this.init(),this._visibility=!0,this.get$Element().css("display","block"),this._showPopupData=t;for(var n=0;n<this._popupEventListeners.length;n++)this._popupEventListeners[n].popupOpened(new a.a(this));this.onShow()}},{key:"onShow",value:function e(){}},{key:"onToggle",value:function e(t){}}, 1812{key:"onHide",value:function e(t,n){}},{key:"hide",value:function e(t,n){!1===this.isInitialized()&&this.init(),this._visibility=!1,this.get$Element().hide();for(var i=0;i<this._popupEventListeners.length;i++)this._popupEventListeners[i].popupClosed(new a.a(this));
1812this.onHide(t,n),webwave.isDefAndNotNull(this._showPopupData)&&(webwave.isFunction(this._showPopupData.onClose)&&this._showPopupData.onClose.call(this._showPopupData.onClose,n,t),webwave.isFunction(this._showPopupData.onSuccess)&&t===o.a.OK&& 1813this._showPopupData.onSuccess.call(this._showPopupData.onSuccess,n),webwave.isFunction(this._showPopupData.onDecline)&&t===o.a.CANCEL&&this._showPopupData.onDecline.call(this._showPopupData.onDecline,n),webwave.isFunction(this._showPopupData.onCheckboxTick)&&webwave.isDef(n)&&!0===n.checkboxTick&&this._showPopupData.onCheckboxTick.call(this._showPopupData.onCheckboxTick,n))}},{key:"setLocked",value:function e(t){this._locked=t,this.get$Element().toggle(!1===t),this.onToggle(!1===t)}},{key:"isVisible", 1814value:function e(){return this._visibility}},{key:"addPopupEventListener",value:function e(t){this._popupEventListeners.push(t)}},{key:"removePopupEventListener",value:function e(t){var n=this._popupEventListeners.indexOf(t);-1!==n&&this._popupEventListeners.splice(n,1)}},{key:"attach",value:function e(t){t.append(this.get$Element())}},{key:"detach",value:function e(){this.get$Element().detach()}},{key:"isAlwaysOnTop",value:function e(){return!0===this._alwaysOnTop}},{key:"setElement",value:function e(t){this.get$Element().remove(), 1815this._element=t,this._$element=$(t),this.initEvents(),this.readAnalyticsData(),this._initialized=!0}}]),e}())||l;webwave.provide("com.webwave.ui.popup.Popup"),com.webwave.ui.popup.Popup=d}});var process=process||{env:{NODE_ENV:"development"}};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.