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(r){function k(t){if(a[t])return a[t].exports;var q=a[t]={i:t,l:!1,exports:{}};return r[t].call(q.exports,q,q.exports,k),q.l=!0,q.exports}var a={};k.m=r;k.c=a;k.d=function(t,q,n){k.o(t,q)||Object.defineProperty(t,q,{configurable:!1,enumerable:!0,get:n})};k.n=function(t){var q=t&&t.__esModule?function(){return t.default}:function(){return t};return k.d(q,"a",q),q};k.o=function(t,q){return Object.prototype.hasOwnProperty.call(t,q)};k.p="";k(k.s=6017)}({0:function(r,k,a){k.a=function(t,q){if(!(t instanceof 21q))throw new TypeError("Cannot call a class as a function");}},1:function(r,k,a){function t(q,n){for(var m=0;m<n.length;m++){var d=n[m];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(q,d.key,d)}}k.a=function(q,n,m){n&&t(q.prototype,n);m&&t(q,m);return Object.defineProperty(q,"prototype",{writable:!1}),q}},10:function(r,k,a){var t=a(103),q=a(104),n=a(56),m=a(106),d=a(107),b=a(108),f=a(8710),g=a(57),c=a(109),e=a(58),h=a(8685),l=a(110),v=a(111),p=a(112), 22w=a(113),u=a(114),z=a(115),y=(a(116),a(60)),A=a(117),E=a(118),C=a(119),D=a(59),F=a(120),B=a(123),H=a(124);a.d(k,"a",function(){return n.a});a.d(k,"b",function(){return m.a});a.d(k,"c",function(){return d.a});a.d(k,"d",function(){return b.a});a.d(k,"e",function(){return f.a});a.d(k,"f",function(){return g.a});a.d(k,"g",function(){return t});a.d(k,"h",function(){return c.a});a.d(k,"i",function(){return e.a});a.d(k,"j",function(){return h.a});a.d(k,"k",function(){return l.a});a.d(k,"l",function(){return v.a}); 23a.d(k,"m",function(){return p.a});a.d(k,"n",function(){return w.a});a.d(k,"o",function(){return u.a});a.d(k,"p",function(){return z.a});a.d(k,"q",function(){return y.a});a.d(k,"r",function(){return A.a});a.d(k,"s",function(){return E.a});a.d(k,"t",function(){return C.a});a.d(k,"u",function(){return D.a});a.d(k,"v",function(){return F.a});a.d(k,"w",function(){return q});a.d(k,"x",function(){return B.a});a.d(k,"y",function(){return H.a})},100:function(r,k,a){k.a=function(d,b){return Object(t.a)(d)|| 24Object(q.a)(d,b)||Object(n.a)(d,b)||Object(m.a)()};var t=a(218),q=a(219),n=a(93),m=a(220)},1005:function(r,k,a){k.a={NOT_LOGGED_IN:"notLoggedIn",LOGGED_IN:"loggedIn"}},1008:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"getValidTaxValue",value:function(d){d=m.parseTaxValue(d);return webwave.isDefAndNotNull(d)?d:i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.default.taxValue")}},{key:"parseTaxValue", 25value:function(d){if(webwave.isDef(d)&&(webwave.isNumber(d)||webwave.isStringAndNotEmpty(d)&&(d.includes(",")&&(d=d.replace(",",".")),d=parseFloat(d),webwave.isNumberAndNotNaN(d))))return d}}]),m}()},102:function(r,k,a){var t=a(121),q=a(122);r.exports=function(n,m,d){d=m&&d||0;"string"==typeof n&&(m="binary"===n?Array(16):null,n=null);var b=(n=n||{}).random||(n.rng||t)();if(b[6]=15&b[6]|64,b[8]=63&b[8]|128,m)for(n=0;16>n;++n)m[d+n]=b[n];return m||q(b)}},1026:function(r,k,a){function t(h){var l=function(){if("undefined"== 26typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(f.a)(h);if(l){var p=Object(f.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(b.a)(this,v)}}a.d(k,"a",function(){return e});
26var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(190);r=a(1429);var c=a(54), 27e=function(h){function l(p){var w;return Object(q.a)(this,l),(w=v.call(this,p))._cropType=webwave.isValidEnumValue(p.cropType,g.a)?p.cropType:null,w}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"serialize",value:function(){return Object.assign(Object(m.a)(Object(f.a)(l.prototype),"serialize",this).call(this),{cropType:this.getCropType()})}},{key:"loadValueFromObject",value:function(p){Object(m.a)(Object(f.a)(l.prototype),"loadValueFromObject",this).call(this,p);this.setCropType(p.getCropType())}}, 28{key:"getCropType",value:function(){return this._cropType}},{key:"setCropType",value:function(p){this._cropType=p}},{key:"isCropTypeValidToCropping",value:function(){return l.isCropTypeValidToCropping(this.getCropType())}}],[{key:"deserialize",value:function(p){return new l(p)}},{key:"createDefaultWithCropType",value:function(p){return new l({cropType:p,x:{value:50,unit:c.a.PERCENT},y:{value:50,unit:c.a.PERCENT}})}},{key:"isCropTypeValidToCropping",value:function(p){return p!==g.a.FULL_WIDTH}}]), 29l}(r.a)},103:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});a.d(k,"AUTO_SORTING",function(){return t});a.d(k,"addTranslationSorting",function(){return q});var t="autoSorting",q=function(n){Object.defineProperty(n,t,{value:!0,enumerable:!1})}},1033:function(r,k,a){k.a={ALL:"all",ONLY_ONLINE:"only_online",ONLY_ON_DELIVERY:"only_on_delivery"}},1039:function(r,k,a){k.a={GUI:"gui_panel",CMS:"cms_panel",WM:"wm_panel"}},104:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0}); 30a.d(k,"TRANSLATION_PREFIX_KEY",function(){return t});a.d(k,"TRANSLATION_SUFFIX_KEY",function(){return q});a.d(k,"addTranslationPrefix",function(){return n});a.d(k,"translateEnumValue",function(){return m});var t="_translationPrefix",q="_translationSuffix",n=function(d,b,f){Object.defineProperty(d,t,{value:b,enumerable:!1});webwave.isDefAndNotNull(f)&&Object.defineProperty(d,q,{value:f,enumerable:!1})},m=function(d,b,f){return webwave.isDefAndNotNull(f)&&i18n.exists("".concat(d[t],".").concat(b,".").concat(f))? 31i18n.t("".concat(d[t],".").concat(b,".").concat(f)):i18n.t("".concat(d[t],".").concat(b))}},105:function(r,k){!function(){function a(b){return 0>(b=Math.round(b))?0:255<b?255:b}function t(b){return 0>b?0:1<b?1:b}function q(b){return"%"===b[b.length-1]?a(parseFloat(b)/100*255):a(parseInt(b))}function n(b){return"%"===b[b.length-1]?t(parseFloat(b)/100):t(parseFloat(b))}function m(b,f,g){return 0>g?g+=1:1<g&&--g,1>6*g?b+(f-b)*g*6:1>2*g?f:2>3*g?b+(f-b)*(2/3-g)*6:b}var d={transparent:[0,0,0,0],aliceblue:[240, 32248,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],darkblue:[0,0,139,1], 33darkcyan:[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,20,147,1],deepskyblue:[0, 34191,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,240,1],khaki:[240,230,140, 351],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,1],lightsteelblue:[176,196, 36222,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,228,225,1],moccasin:[255, 37228,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,51,153,1],red:[255, 380,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],turquoise:[64,224,208, 391],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]};parseCSSColor=function(b){var f;b=b.replace(/ /g,"").toLowerCase();if(b in d)return d[b].slice();if("#"===b[0])return 4===b.length?0<=(f=parseInt(b.substr(1),16))&&4095>=f?[(3840&f)>>4|(3840&f)>>8,240&f|(240&f)>>4,15&f|(15&f)<<4,1]:null:7===b.length&&0<=(f=parseInt(b.substr(1),16))&&16777215>=f?[(16711680&f)>>16,(65280&f)>>8,255&f,1]:null;var g=b.indexOf("("), 40c=b.indexOf(")");if(-1!==g&&c+1===b.length)switch(f=b.substr(0,g),g=b.substr(g+1,c-(g+1)).split(","),b=1,f){case "rgba":if(4!==g.length)break;b=n(g.pop());case "rgb":return 3!==g.length?null:[q(g[0]),q(g[1]),q(g[2]),b];case "hsla":if(4!==g.length)break;b=n(g.pop());case "hsl":if(3===g.length)return f=(parseFloat(g[0])%360+360)%360/360,c=n(g[1]),g=n(g[2]),c=.5>=g?g*(c+1):g+c-g*c,g=2*g-c,[a(255*m(g,c,f+1/3)),a(255*m(g,c,f)),a(255*m(g,c,f-1/3)),b]}return null};try{k.parseCSSColor=parseCSSColor}catch(b){}}()}, 41106:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(56),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"rgbaOrRgb2hexAndOpacity",value:function(b){var f,g,c,e={hex:"#000000",opacity:1},h=function(l){l=parseInt(l);return isNaN(l)?"00":(l=Math.max(l,0),1===(l=(l=Math.min(l,255)).toString(16)).length?"0"+l:l)};return webwave.isString(b)&&("transparent"===b&&(e.opacity=0),b.startsWith("rgba")?(f=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/, 42(g=b.match(f))&&5===g.length&&(e.hex="#"+h(g[1])+h(g[2])+h(g[3]),c=parseFloat(g[4]),c=Math.max(c,0),c=Math.min(c,1),e.opacity=c)):b.startsWith("rgb")&&(f=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(g=b.match(f))&&4===g.length&&(e.hex="#"+h(g[1])+h(g[2])+h(g[3]),e.opacity=1))),e}},{key:"isTransparent",value:function(b){return"transparent"===b||0===d.rgbaOrRgb2hexAndOpacity(b).opacity}},{key:"isTransparentOrSomeLevelOfTransparency",value:function(b){return"transparent"===b||1>d.rgbaOrRgb2hexAndOpacity(b).opacity}}, 43{key:"rgbObjectAndOpacityToRgbaString",value:function(b,f){return"rgba("+b.r+","+b.g+","+b.b+","+f+")"}},{key:"rgbAndOpacityToRgba",value:function(b,f){var g,c,e;return webwave.isNotString(b)&&(b="rgb(0,0,0)"),webwave.isNumberAndNotNaN(f)||(f=1),g=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,(c=b.match(g))&&4===c.length?(e={r:parseInt(c[1],10),g:parseInt(c[2],10),b:parseInt(c[3],10)},d.rgbObjectAndOpacityToRgbaString(e,f)):"rgba(0,0,0,1)"}},{key:"isColorStartWithRgbPhrase",value:function(b){return d.isColorStartWithAnyOfPhrase(b, 44["rgb"])}},{key:"isColorStartWithVarPhrase",value:function(b){return d.isColorStartWithAnyOfPhrase(b,["var"])}},{key:"isColorStartWithAnyOfPhrase",value:function(b,f){return f.some(function(g){return b.startsWith(g)})}},{key:"isValueContainGradientOrIconPhrase",value:function(b){return-1<b.indexOf("gradient")||d.isValueContainsIconPhrase(b)}},{key:"isValueContainsIconPhrase",value:function(b){return-1<b.indexOf("ww_icon")}},{key:"checkIfColorSame",value:function(b,f){var g=!1;if(webwave.isDefAndNotNull(b)&& 45webwave.isDefAndNotNull(f)){var c,e;n.a.isRgba(b)||(b=b.replace(/[^\d,]/g,"").split(","),b="rgba(".concat(b[0],", ").concat(b[1],", ").concat(b[2],", 1)"));n.a.isRgba(f)||(f=f.replace(/[^\d,]/g,"").split(","),f="rgba(".concat(f[0],", ").concat(f[1],", ").concat(f[2],", 1)"));g=(null===(c=b)||void 0===c?void 0:c.replace(/\s/g,""))===(null===(e=f)||void 0===e?void 0:e.replace(/\s/g,""))}return g}},{key:"generateRgbRandomColor",value:function(){var b="".concat(d.generateRandomColor(0,255)),f="".concat(d.generateRandomColor(0, 46255)),g="".concat(d.generateRandomColor(0,255));return"rgb(".concat(b,", ").concat(f,", ").concat(g,")")}},{key:"generateRandomColor",value:function(b,f){return Math.round(Math.random()*(f-b)+b)}}]),d}()},107:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=function(d,b){return"".concat(1E15+d).slice(-b)},m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"getMonthNameByLanguage",value:function(b,f){void 0===f&&(f=i18n.lng);b="months.".concat(b);return i18n.exists(b, 47{lng:f})?i18n.t(b,{lng:f}):i18n.t(b,{lng:"en"})}},{key:"dateToString",value:function(b,f,g){var c=b.getDate(),e=b.getMonth()+1,h=b.getFullYear(),l=n(b.getFullYear(),2),v=b.getHours(),p=b.getMinutes(),w=b.getSeconds();b=b.getMilliseconds();switch(f){case "dd/mm/yyyy":f="".concat(n(c,2),"/").concat(n(e,2),"/").concat(h);break;case "dd.mm.yyyy":f="".concat(n(c,2),".").concat(n(e,2),".").concat(h);break;case "dd/mm/yy":f="".concat(n(c,2),"/").concat(n(e,2),"/").concat(l);break;case "yyyy/mm/dd":f="".concat(h, 48"/").concat(n(e,2),"/").concat(n(c,2));break;case "yy/mm/dd":f="".concat(l,"/").concat(n(e,2),"/").concat(n(c,2));break;case "d mmmm yyyy":f="".concat(c," ").concat(d.getMonthNameByLanguage(e,g)," ").concat(h);break;case "dd mmmm yyyy":f="".concat(n(c,2)," ").concat(d.getMonthNameByLanguage(e,g)," ").concat(h);break;case "dd.mm.yyyy hh:mm":f="".concat(n(c,2),".").concat(n(e,2),".").concat(h," ").concat(n(v,2),":").concat(n(p,2));break;case "dd-mm-yyyy":f="".concat(n(c,2),"-").concat(n(e,2),"-").concat(h); 49break;case d.availableFormats.DATA_RANGE_FILTER_DATE_FORMAT:f="".concat(h,"-").concat(n(e,2),"-").concat(n(c,2));break;case d.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:f="".concat(n(c,2),"-").concat(n(e,2),"-").concat(h," ").concat(n(v,2),":").concat(n(p,2));break;case d.availableFormats.INPUT_DATE_TIME_FORMAT:f="".concat(h,"-").concat(n(e,2),"-").concat(n(c,2),"T").concat(n(v,2),":").concat(n(p,2));break;case d.availableFormats.ISO_8601_FORMAT:f="".concat(h,"-").concat(n(e,2),"-").concat(n(c, 502),"T").concat(n(v,2),":").concat(n(p,2),":").concat(n(w,2),"Z");break;case d.availableFormats.yyyymmdd:f=h+n(e,2)+n(c,2);break;case d.availableFormats.WERBWAVE_BACKEND_BINDING:f="".concat(h,"-").concat(n(e,2),"-").concat(n(c,2)," ").concat(n(v,2),":").concat(n(p,2),":").concat(n(w,2),".").concat(n(b,2));break;case d.availableFormats.FULL_TIME:f="".concat(n(v,2),":").concat(n(p,2),":").concat(n(w,2));break;case d.availableFormats.STORE_ORDER_DATE:f="".concat(h,"-").concat(n(e,2),"-").concat(n(c,2), 51" ").concat(n(v,2),":").concat(n(p,2));break;default:console.error("Nieznany format daty! ('".concat(f,"')")),f="".concat(c,"/").concat(e,"/").concat(h)}return f}},{key:"isValidDate",value:function(b){return"[object Date]"===Object.prototype.toString.call(b)&&!isNaN(b.getTime())}},{key:"convertTwoDigitYearToFull",value:function(b){var f=d.getNowDateYear();b=100*Math.floor(f/100)+b;return b<f&&(b+=100),b}}
51,{key:"convertYearToClosestCentury",value:function(b){var f=d.getNowDateYear();if(100>b){var g= 52100*Math.floor(f/100),c=g+b,e=g+b-100;b=g+b+100;b=Math.abs(f-b)<Math.abs(f-c)?b:Math.abs(f-c)<Math.abs(f-e)?c:e}else 1E3>b&&(c=10*b,b=1E3*Math.floor(f/1E3)+b-1E3,b=Math.abs(f-c)<Math.abs(f-b)?c:b);return b}},{key:"getNowDateYear",value:function(){return(new Date).getFullYear()}},{key:"daysBetween",value:function(b,f){return Math.round(Math.abs(b-f)/864E5)}},{key:"dateIsGreaterThenNow",value:function(b){return b>new Date}},{key:"getBeginOfTheDay",value:function(b){return b.setHours(0),b.setMinutes(0), 53b.setSeconds(0),b}},{key:"getEndOfTheDay",value:function(b){return b.setHours(23),b.setMinutes(59),b.setSeconds(59),b}},{key:"stringToDate",value:function(b,f,g){var c,e,h,l,v,p;switch(f){case "dd-mm-yyyy":var w=(h=b.split("-"))[0];var u=h[1];h=d.convertYearToClosestCentury(parseInt(h[2]));break;case d.availableFormats.DATE_PICKER_DATE_TIME_FORMAT:w=(h=null===(c=(b=b.split(" "))[0])||void 0===c?void 0:c.split("-"))[0],u=h[1],h=d.convertYearToClosestCentury(parseInt(h[2])),(p=null===(e=b[1])||void 0=== 54e?void 0:e.split(":"))&&(l=p[0],v=p[1])}return l&&v?new Date(h,u-1,w,l,v):new Date(h,u-1,w)}}]),d}();m.availableFormats={"dd/mm/yyyy":"dd/mm/yyyy","dd/mm/yy":"dd/mm/yy","yyyy/mm/dd":"yyyy/mm/dd","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", 55INPUT_DATE_TIME_FORMAT:"yyyy-mm-ddTHH:mm",ISO_8601_FORMAT:"yyyy-mm-ddTHH:mm:ss",DATA_RANGE_FILTER_DATE_FORMAT:"yyyy-mm-dd"}}
55,1074:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(1291),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,[{key:"constraints",get:function(){throw"Not implement";}},{key:"translationPrefix",get:function(){throw"Not implement";}},{key:"getTitle",value:function(b){return"".concat(this.translationPrefix,b?".title.create":".title.edit")}}, 56{key:"isExpired",value:function(){return!1}},{key:"validate",value:function(){throw"Not implement";}},{key:"getFields",value:function(){var b=this,f=[];return Object.keys(this).forEach(function(g){f.push(new n.a({name:g,placeholder:"".concat(b.translationPrefix,".").concat(g,".placeholder"),validator:b.constraints[g],label:"".concat(b.translationPrefix,".").concat(g,".label")}))}),f}}]),d}()},108:function(r,k,a){k.a=Object.freeze({DEFAULT:"",DOT:".",COMMA:",",EMPTY:""})},1082:function(r,k,a){a.d(k, 57"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this.headerTitle=d.headerTitle?d.headerTitle:"";this.orderConfirmedError=d.orderConfirmedError?d.orderConfirmedError:"";this.orderConfirmed=d.orderConfirmed?d.orderConfirmed:"";this.backFromPaymentProviderError=d.backFromPaymentProviderError?d.backFromPaymentProviderError:"";this.backFromPaymentProviderSuccess=d.backFromPaymentProviderSuccess?d.backFromPaymentProviderSuccess: 58"";this.testEnvironment=d.testEnvironment?d.testEnvironment:"";this.headersItems=d.headersItems?d.headersItems:"";this.headersInvoiceData=d.headersInvoiceData?d.headersInvoiceData:"";this.headersSummary=d.headersSummary?d.headersSummary:"";this.orderItemsPriceSum=d.orderItemsPriceSum?d.orderItemsPriceSum:"";this.keepShopping=d.keepShopping?d.keepShopping:"";this.back=d.back?d.back:"";this.close=d.close?d.close:"";this.ok=d.ok?d.ok:"";this.next=d.next?d.next:"";this.tryAgain=d.tryAgain?d.tryAgain: 59"";this.pay=d.pay?d.pay:"";this.confirmOrder=d.confirmOrder?d.confirmOrder:"";this.testPaymentEnvironmentInfo1=d.testPaymentEnvironmentInfo1?d.testPaymentEnvironmentInfo1:"";this.testPaymentEnvironmentInfo2=d.testPaymentEnvironmentInfo2?d.testPaymentEnvironmentInfo2:"";this.item=d.item?d.item:"";this.count=d.count?d.count:"";this.pricePerItem=d.pricePerItem?d.pricePerItem:"";this.price=d.price?d.price:"";this.emptyShoppingCart=d.emptyShoppingCart?d.emptyShoppingCart:"";this.invoiceDataHeader=d.invoiceDataHeader? 60d.invoiceDataHeader:"";this.invoiceDataActive=d.invoiceDataActive?d.invoiceDataActive:"";this.requiredValidatorText=d.requiredValidatorText?d.requiredValidatorText:"";this.order_clientType_individual=d.order_clientType_individual?d.order_clientType_individual:"";this.order_clientType_company=d.order_clientType_company?d.order_clientType_company:"";this.orderClientDataName=d.orderClientDataName?d.orderClientDataName:"";this.orderClientDataCompanyName=d.orderClientDataCompanyName?d.orderClientDataCompanyName: 61"";this.orderClientDataAddress1=d.orderClientDataAddress1?d.orderClientDataAddress1:"";this.orderClientDataAddress2=d.orderClientDataAddress2?d.orderClientDataAddress2:"";this.orderClientDataZipCode=d.orderClientDataZipCode?d.orderClientDataZipCode:"";this.orderClientDataCity=d.orderClientDataCity?d.orderClientDataCity:"";this.orderClientDataCountry=d.orderClientDataCountry?d.orderClientDataCountry:"";this.orderClientDataNoResult=d.orderClientDataNoResult?d.orderClientDataNoResult:"";this.orderClientDataCountryNotFound= 62d.orderClientDataCountryNotFound?d.orderClientDataCountryNotFound:"";this.orderClientDataTaxId=d.orderClientDataTaxId?d.orderClientDataTaxId:"";this.orderClientData_invoiceCheckboxLabel=d.orderClientData_invoiceCheckboxLabel?d.orderClientData_invoiceCheckboxLabel:"";this.postageDataHeader=d.postageDataHeader?d.postageDataHeader:"";this.notValidPostageOption=d.notValidPostageOption?d.notValidPostageOption:"";this.sendDataHeader=d.sendDataHeader?d.sendDataHeader:"";this.postageDataParcelNotSelected= 63d.postageDataParcelNotSelected?d.postageDataParcelNotSelected:"";this.anyPostageAvailable=d.anyPostageAvailable?d.anyPostageAvailable:"";this.paymentMethodHeader=d.paymentMethodHeader?d.paymentMethodHeader:"";this.online=d.online?d.online:"";this.delivery_not_defined_after_order=d.delivery_not_defined_after_order?d.delivery_not_defined_after_order:"";this.delivery_not_available_before_order=d.delivery_not_available_before_order?d.delivery_not_available_before_order:"";this.delivery_not_defined_before_order= 64d.delivery_not_defined_before_order?d.delivery_not_defined_before_order:"";this.paymentMethod_not_after_order=d.paymentMethod_not_after_order?d.paymentMethod_not_after_order:"";this.paymentMethod_not_before_order=d.paymentMethod_not_before_order?d.paymentMethod_not_before_order:"";this.freeShippingInfo=d.freeShippingInfo?d.freeShippingInfo:"";this.parcelLocker=d.parcelLocker?d.parcelLocker:"";this.changeParcelButton=d.changeParcelButton?d.changeParcelButton:"";this.contactDataHeader=d.contactDataHeader? 65d.contactDataHeader:"";this.phone=d.phone?d.phone:"";this.email=d.email?d.email:"";this.emailValidatorText=d.emailValidatorText?d.emailValidatorText:"";this.additionalOrderFieldsHeader=d.additionalOrderFieldsHeader?d.additionalOrderFieldsHeader:"";this.checkBoxValidationMessage=d.checkBoxValidationMessage?d.checkBoxValidationMessage:"";this.termsAndConditionsHeader=d.termsAndConditionsHeader?d.termsAndConditionsHeader:"";this.termsAndConditionsRequire=d.termsAndConditionsRequire?d.termsAndConditionsRequire: 66"";this.orderSummaryPostage=d.orderSummaryPostage?d.orderSummaryPostage:"";this.orderSummaryTax=d.orderSummaryTax?d.orderSummaryTax:"";this.taxValue=d.taxValue?d.taxValue:"";this.taxSummary=d.taxSummary?d.taxSummary:"";this.toPay=d.toPay?d.toPay:"";this.tel=d.tel?d.tel:"";this.e_mail=d.e_mail?d.e_mail:"";this.discountCodeLabel=d.discountCodeLabel?d.discountCodeLabel:"";this.discountCodeError404=d.discountCodeError404?d.discountCodeError404:"";this.discountCodeError405=d.discountCodeError405?d.discountCodeError405: 67"";this.verificationMessage=d.verificationMessage?d.verificationMessage:"";this.notVerifiedYetMessage=d.notVerifiedYetMessage?d.notVerifiedYetMessage:"";this.errorMessage=d.errorMessage?d.errorMessage:"";this.incorrectAuthentication=d.incorrectAuthentication?d.incorrectAuthentication:"";this.selectProductVariantPopupTitle=d.selectProductVariantPopupTitle?d.selectProductVariantPopupTitle:"";this.selectProductVariantPopupHint=d.selectProductVariantPopupHint?d.selectProductVariantPopupHint:"";this.selectProductVariantPopupAddToCart= 68d.selectProductVariantPopupAddToCart?d.selectProductVariantPopupAddToCart:"";
68this.productPrice=d.productPrice?d.productPrice:"";this.totalPrice=d.totalPrice?d.totalPrice:"";this.additionalPriceForVariant=d.additionalPriceForVariant?d.additionalPriceForVariant:"";this.notAvailableVariantSuffix=d.notAvailableVariantSuffix?d.notAvailableVariantSuffix:"";this.shop=d.shop?d.shop:"";this.testingOrderNumberWithPayment=d.testingOrderNumberWithPayment?d.testingOrderNumberWithPayment:"";this.orderNumber=d.orderNumber? 69d.orderNumber:"";this.paymentStatusHeader=d.paymentStatusHeader?d.paymentStatusHeader:"";this.providerStatus_overpaid=d.providerStatus_overpaid?d.providerStatus_overpaid:"";this.providerStatus_paid=d.providerStatus_paid?d.providerStatus_paid:"";this.providerStatus_underpaid=d.providerStatus_underpaid?d.providerStatus_underpaid:"";this.providerStatus_unpaid=d.providerStatus_unpaid?d.providerStatus_unpaid:"";this.summaryOrder=d.summaryOrder?d.summaryOrder:"";this.paymentOption=d.paymentOption?d.paymentOption: 70"";this.nip=d.nip?d.nip:"";this.postageData=d.postageData?d.postageData:"";this.sendData=d.sendData?d.sendData:"";this.contactData=d.contactData?d.contactData:"";this.additionalData=d.additionalData?d.additionalData:"";this.sellerInfo=d.sellerInfo?d.sellerInfo:"";this.invoiceData=d.invoiceData?d.invoiceData:"";this.discountCode=d.discountCode?d.discountCode:"";this.additionalText=d.additionalText?d.additionalText:"";this.postage=d.postage?d.postage:"";this.toPayMail=d.toPayMail?d.toPayMail:"";this.vatTax= 71d.vatTax?d.vatTax:"";this.vatTaxSummary=d.vatTaxSummary?d.vatTaxSummary:"";this.itemsHeader=d.itemsHeader?d.itemsHeader:"";this.itemsName=d.itemsName?d.itemsName:"";this.itemsCount=d.itemsCount?d.itemsCount:"";this.pricePerItemMail=d.pricePerItemMail?d.pricePerItemMail:"";this.totalPriceSum=d.totalPriceSum?d.totalPriceSum:"";this.description=d.description?d.description:"";this.payed=d.payed?d.payed:"";this.termsAndConditions=d.termsAndConditions?d.termsAndConditions:"";this.termsAndConditionsRequired= 72d.termsAndConditionsRequired?d.termsAndConditionsRequired:"";this.termsAndConditionsValue_true=d.termsAndConditionsValue_true?d.termsAndConditionsValue_true:"";this.termsAndConditionsValue_false=d.termsAndConditionsValue_false?d.termsAndConditionsValue_false:"";this.productStateException_text=d.productStateException_text?d.productStateException_text:"";this.productStateException_title=d.productStateException_title?d.productStateException_title:"";this.productNotAvailableException_text=d.productNotAvailableException_text? 73d.productNotAvailableException_text:"";this.productNotAvailableException_title=d.productNotAvailableException_title?d.productNotAvailableException_title:"";this.productNotAvailableException_yesLabel=d.productNotAvailableException_yesLabel?d.productNotAvailableException_yesLabel:"";this.productChangeState_information=d.productChangeState_information?d.productChangeState_information:"";this.notification_minimumAmountNotExceeded_part1=d.notification_minimumAmountNotExceeded_part1?d.notification_minimumAmountNotExceeded_part1: 74"";this.notification_minimumAmountNotExceeded_part2=d.notification_minimumAmountNotExceeded_part2?d.notification_minimumAmountNotExceeded_part2:""}return Object(q.a)(m,[{key:"changeValueByKey",value:function(d,b){this[d]=b}},{key:"getValueByKey",value:function(d){return this[d]}},{key:"serialize",value:function(){return{headerTitle:this.headerTitle,orderConfirmedError:this.orderConfirmedError,orderConfirmed:this.orderConfirmed,backFromPaymentProviderError:this.backFromPaymentProviderError,backFromPaymentProviderSuccess:this.backFromPaymentProviderSuccess, 75testEnvironment:this.testEnvironment,headersItems:this.headersItems,headersInvoiceData:this.headersInvoiceData,headersSummary:this.headersSummary,orderItemsPriceSum:this.orderItemsPriceSum,keepShopping: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, 76price:this.price,emptyShoppingCart:this.emptyShoppingCart,invoiceDataHeader:this.invoiceDataHeader,invoiceDataActive:this.invoiceDataActive,requiredValidatorText:this.requiredValidatorText,order_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, 77orderClientDataCity:this.orderClientDataCity,orderClientDataZipCode:this.orderClientDataZipCode,orderClientDataCountry:this.orderClientDataCountry,orderClientDataNoResult:this.orderClientDataNoResult,orderClientDataCountryNotFound:this.orderClientDataCountryNotFound,orderClientDataTaxId:this.orderClientDataTaxId,orderClientData_invoiceCheckboxLabel:this.orderClientData_invoiceCheckboxLabel,postageDataHeader:this.postageDataHeader,notValidPostageOption:this.notValidPostageOption,sendDataHeader:this.sendDataHeader, 78postageDataParcelNotSelected:this.postageDataParcelNotSelected,anyPostageAvailable:this.anyPostageAvailable,paymentMethodHeader:this.paymentMethodHeader,online:this.online,delivery_not_available_before_order:this.delivery_not_available_before_order,delivery_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, 79freeShippingInfo:this.freeShippingInfo,parcelLocker:this.parcelLocker,changeParcelButton:this.changeParcelButton,contactDataHeader:this.contactDataHeader,phone:this.phone,email:this.email,emailValidatorText:this.emailValidatorText,additionalOrderFieldsHeader:this.additionalOrderFieldsHeader,checkBoxValidationMessage:this.checkBoxValidationMessage,termsAndConditionsHeader:this.termsAndConditionsHeader,termsAndConditionsRequire:this.termsAndConditionsRequire,orderSummaryPostage:this.orderSummaryPostage, 80orderSummaryTax: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,verificationMessage:this.verificationMessage,notVerifiedYetMessage:this.notVerifiedYetMessage,errorMessage:this.errorMessage,incorrectAuthentication:this.incorrectAuthentication,selectProductVariantPopupTitle:this.selectProductVariantPopupTitle, 81selectProductVariantPopupHint:this.selectProductVariantPopupHint,selectProductVariantPopupAddToCart:this.selectProductVariantPopupAddToCart,productPrice:this.productPrice,totalPrice:this.totalPrice,additionalPriceForVariant:this.additionalPriceForVariant,notAvailableVariantSuffix:this.notAvailableVariantSuffix,shop:this.shop,testingOrderNumberWithPayment:this.testingOrderNumberWithPayment,orderNumber:this.orderNumber,paymentStatusHeader:this.paymentStatusHeader,providerStatus_overpaid:this.providerStatus_overpaid, 82providerStatus_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,additionalData:this.additionalData,sellerInfo:this.sellerInfo,invoiceData:this.invoiceData,discountCode:this.discountCode,additionalText:this.additionalText,postage:this.postage,toPayMail:this.toPayMail, 83vatTax: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,termsAndConditionsValue_true:this.termsAndConditionsValue_true,termsAndConditionsValue_false:this.termsAndConditionsValue_false,productStateException_title:this.productStateException_title, 84productStateException_text:this.productStateException_text,productNotAvailableException_text:this.productNotAvailableException_text,productNotAvailableException_title:this.productNotAvailableException_title,productNotAvailableException_yesLabel:this.productNotAvailableException_yesLabel,productChangeState_information:this.productChangeState_information,notification_minimumAmountNotExceeded_part1:this.notification_minimumAmountNotExceeded_part1,notification_minimumAmountNotExceeded_part2:this.notification_minimumAmountNotExceeded_part2}}}]), 85m}()},109:function(r,k,a){a.d(k,"a",function(){return d});var t,q=a(0),n=a(1),m=a(58),d=function(){function b(){Object(q.a)(this,b)}return Object(n.a)(b,null,[{key:"readEnv",value:function(){if(webwave.isDef(window.config)&&webwave.isDef(window.config.environment))for(var f in m.a)if(m.a.hasOwnProperty(f)&&m.a[f]===window.config.environment)return void(t=m.a[f]);t=m.a.PRODUCTION}},{key:"getCurrent",value:function(){return t}},{key:"isDevelopment",value:function(){return t===m.a.DEVELOPMENT}},{key:"isNotDevelopment", 86value:function(){return t!==m.a.DEVELOPMENT}},{key:"isProduction",value:function(){return t===m.a.PRODUCTION}},{key:"isNotProduction",value:function(){return t!==m.a.PRODUCTION}},{key:"isTest",value:function(){return t===m.a.TEST}},{key:"isNotTest",value:function(){return t!==m.a.TEST}},{key:"isQA",value:function(){return t===m.a.PRE_PRODUCTION}},{key:"setEnvironment",value:function(f){webwave.isValidEnumValue(f,m.a)&&(t=f)}}]),b}();d.readEnv()},11:function(r,k,a){k.a=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 87return t}},110:function(r,k,a){k.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",aiText:"ai-icon",alignBottom:"align-vertical-bottom-icon",alignCenter:"align-horizontal-center-icon",alignHorizontal:"horizontal-distribute-icon",alignLeft:"align-horizontal-left-icon",alignMiddle:"align-vertical-center-icon",alignRight:"align-horizontal-right",alignTop:"align-vertical-top-icon", 88alignVertical:"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",counter:"counter-tool-icon",cut:"content-cut-icon",date:"date-tool-icon",defaultText:"text-menu-tool-icon",delete:"deleteIcon",deltaIndicatorNegativeRange:"arrow-downward-icon", 89deltaIndicatorPositiveRange:"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",h3:"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", 90imgMenu:"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",moveToLowerSectionIcon:"expand-more-icon-2",moveToUpperSectionIcon:"expand-less-icon-2",moveontop:"moveOnTopIcon",movetobottom:"moveToBottomIcon",newsfeed:"newsfeed-tool-icon", 91objectHelp:"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",paymentStepClientData:"lock-outline-icon",paymentStepItem:"cms-icon3",paymentStepSummary:"wallet",price:"tag-outline-icon",product:"shop-add-product-icon", 92productfeed:"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",stopCropping:"cancel-icon2",text:"paragraph-tool-icon",timeLineError:"cancel-icon2",timeLineInProgress:"hourglass_empty",timelineSuccess:"check-mark-icon", 93toolsmenuwrappericonsymbol:"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"}},111:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(59),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"isReturnTypeNumeric",value:function(b){return b===n.a.INT||b===n.a.FLOAT}}, 94{key:"normalizeInputValue",value:function(b,f){b=b.trim();return 0===b.length&&this.isReturnTypeNumeric(f)?"0":b}},{key:"parseValueToReturnType",value:function(b,f){switch(f){case n.a.FLOAT:return parseFloat(b);case n.a.INT:return parseInt(parseFloat(b),10);default:return NaN}}}]),d}()},112:function(r,k,a){a.d(k,"a",function(){return q});var t=a(0),q=function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this.enabled=!!webwave.isDef(d.enabled)&&d.enabled; 95this.max=webwave.isNumberAndNotNaN(d.max)?d.max:null;this.min=webwave.isNumberAndNotNaN(d.min)?d.min:null;this.step=webwave.isNumberAndNotNaN(d.step)?d.step:null}},1128:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor; 96e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){var h,l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,c),(h=e.call(this,l)).update(l),h}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"update",value:function(){var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._type=h.type;this._require=h.require; 97this._label=h.label}},{key:"type",get:function(){return this._type},set:function(h){this._type=h}},{key:"label",get:function(){return this._label},set:function(h){this._label=h}},{key:"name",get:function(){return this.label}},{key:"require",get:function(){return this._require},set:function(h){this._require=h}},{key:"serialize",value:function(){return{type:this._type,require:this._require,label:this._label}}},{key:"equals",value:function(h){return this._label===h._label&&this._require===h._require&& 98this._type===h._type}}]),c}(a(887).a)},1129:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k, 99"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(1355),g=function(c){function e(){var l,v=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,e),(l=h.call(this,v)).update(v),l}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"
99update",value:function(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._name=l.name;this._description=l.description;this._require=l.require;this._link=new f.a(l.linkSettings)}},{key:"name",get:function(){return this._name}, 100set:function(l){this._name=l}},{key:"require",get:function(){return this._require},set:function(l){this._require=l}},{key:"description",get:function(){return this._description},set:function(l){this._description=l}},{key:"link",get:function(){return this._link},set:function(l){this._link=l}},{key:"url",get:function(){return this._link.url}},{key:"serialize",value:function(){return{name:this._name,description:this._description,require:this._require,linkSettings:this._link.serialize()}}},{key:"printLabel", 101value:function(){return this.description?this.description:this.name}}]),e}(a(887).a)},113:function(r,k,a){k.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}},114:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0), 102q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"emulateClickEventForAppleDevice",value:function(d,b){d.on("touchstart.iphoneDoubleTap",function(f){var g=!1;d.one("touchend.iphoneDoubleTap",function(){!1===g&&b();d.off("touchmove.iphoneDoubleTap")});d.one("touchmove.iphoneDoubleTap",function(){g=!0})})}},{key:"isMobileDevice",value:function(){return this.isMobileAppleDevice()||navigator.userAgent.match(/(Android|BlackBerry|Windows Phone)/i)}},{key:"isTouchScreenDevice", 103value:function(){return 0<navigator.maxTouchPoints}},{key:"isMobileAppleDevice",value:function(){return null!==navigator.userAgent.match(/(iPhone|iPod|iPad)/i)}},{key:"isAppleDevice",value:function(){return null!==navigator.userAgent.match(/(iPhone|iPod|iPad|Macintosh)/i)}},{key:"isAppleDeviceWithTouchScreen",value:function(){return m.isMobileAppleDevice()||null!==navigator.userAgent.match(/(Macintosh)/i)&&m.isTouchScreenDevice()}},{key:"isMobileSafari",value:function(){return m.isAppleDeviceWithTouchScreen()&& 104!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)}},{key:"reloadIfBackForwadCacheInAppleDevice",value:function(){this.isMobileAppleDevice()&&$(window).on("pageshow",function(d){d.originalEvent.persisted&&(d=elementService.findAllWButton(),webwave.isArrayLike(d)&&0<d.length&&location.reload())})}}]),m}()},115:function(r,k,a){k.a={HORIZONTAL:"horizontal",VERTICAL:"vertical"}},116:function(r,k,a){a(0);a(1)},1166:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct|| 105Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(g.a)(l);if(v){var w=Object(g.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(f.a)(this,p)}}a.d(k,"a",function(){return h});var q,n,m=a(0),d=a(1),b=a(3),f=a(4),g=a(2);r=a(781);k=a(805);var c=a(1332),e=a(20);a.n(e);var h=Object(e.injectable)()((n= 106q=function(l){function v(){return Object(m.a)(this,v),p.apply(this,arguments)}Object(b.a)(v,l);var p=t(v);return Object(d.a)(v,[{key:"handlePayProcedure",value:function(w){try{return window.Stripe(w.storeKey).redirectToCheckout({sessionId:w.sessionId})}catch(u){if(-1!==u.message.toLowerCase().indexOf("must use https"))throw new c.a;}}}]),v}(k.a),q.AVAILABLE_CURRENCIES=[r.a.AED,r.a.AFN,r.a.ALL,r.a.AMD,r.a.ANG,r.a.AOA,r.a.ARS,r.a.AUD,r.a.AWG,r.a.AZN,r.a.BAM,r.a.BBD,r.a.BDT,r.a.BGN,r.a.BIF,r.a.BMD,r.a.BND, 107r.a.BOB,r.a.BRL,r.a.BSD,r.a.BWP,r.a.BYN,r.a.BZD,r.a.CAD,r.a.CDF,r.a.CHF,r.a.CLP,r.a.CNY,r.a.COP,r.a.CRC,r.a.CVE,r.a.CZK,r.a.DJF,r.a.DKK,r.a.DOP,r.a.DZD,r.a.EGP,r.a.ETB,r.a.EURO,r.a.FJD,r.a.FKP,r.a.GBP,r.a.GEL,r.a.GIP,r.a.GMD,r.a.GNF,r.a.GTQ,r.a.GYD,r.a.HKD,r.a.HNL,r.a.HRK,r.a.HTG,r.a.HUF,r.a.IDR,r.a.ILS,r.a.INR,r.a.ISK,r.a.JMD,r.a.JPY,r.a.KES,r.a.KGS,r.a.KHR,r.a.KMF,r.a.KRW,r.a.KYD,r.a.KZT,r.a.LAK,r.a.LBP,r.a.LKR,r.a.LRD,r.a.LSL,r.a.MAD,r.a.MDL,r.a.MGA,r.a.MKD,r.a.MMK,r.a.MNT,r.a.MOP,r.a.MRO,r.a.MUR, 108r.a.MVR,r.a.MWK,r.a.MXN,r.a.MYR,r.a.MZN,r.a.NAD,r.a.NGN,r.a.NIO,r.a.NOK,r.a.NPR,r.a.NZD,r.a.PAB,r.a.PEN,r.a.PGK,r.a.PHP,r.a.PKR,r.a.PLN,r.a.PYG,r.a.QAR,r.a.RON,r.a.RSD,r.a.RUB,r.a.RWF,r.a.SAR,r.a.SBD,r.a.SCR,r.a.SEK,r.a.SGD,r.a.SHP,r.a.SLE,r.a.SLL,r.a.SOS,r.a.SRD,r.a.STD,r.a.SZL,r.a.THB,r.a.TJS,r.a.TOP,r.a.TRY,r.a.TTD,r.a.TWD,r.a.TZS,r.a.UAH,r.a.UGX,r.a.USD,r.a.UYU,r.a.UZS,r.a.VND,r.a.VUV,r.a.WST,r.a.XAF,r.a.XCD,r.a.XOF,r.a.XPF,r.a.YER,r.a.ZAR,r.a.ZMW],n))||n},117:function(r,k,a){a.d(k,"a",function(){return m}); 109var t=a(0),q=a(1),n=a(57),m=function(){function d(){Object(t.a)(this,d);this.direction=n.a.BOTTOM_RIGHT;this.resizing=!1;this._onMouseLeaveHandler=this._stopResizeHandler=this._handleResizeHandler=this.handlerNode=this.targetNode=void 0}return Object(q.a)(d,[{key:"init",value:function(b){this.direction=b.direction?b.direction:n.a.BOTTOM_RIGHT;this.targetNode=b.targetNode;this.handlerNode=b.handlerNode}},{key:"startResize",value:function(){this.resizing=!0;this._handleResizeHandler=this._handleResize.bind(this); 110this._stopResizeHandler=this._stopResize.bind(this);this._setCursor();document.addEventListener("mousemove",this._handleResizeHandler);document.addEventListener("mouseup",this._stopResizeHandler)}},{key:"_handleResize",value:function(b){if(b.preventDefault(),this.resizing&&web
110wave.isDefAndNotNull(this.targetNode))switch(this.direction){case n.a.BOTTOM_RIGHT:this._resizeSouthEast(b.clientX,b.clientY);break;case n.a.BOTTOM:this._resizeSouth(b.clientY);break;case n.a.RIGHT:this._resizeEast(b.clientX)}}}, 111{key:"_setCursor",value:function(){switch(this.direction){case n.a.BOTTOM_RIGHT:document.body.style.cursor="nwse-resize";break;case n.a.BOTTOM:document.body.style.cursor="ns-resize";break;case n.a.RIGHT:document.body.style.cursor="ew-resize"}}},{key:"_resetCursor",value:function(){document.body.style.cursor=""}},{key:"_stopResize",value:function(){this.resizing=!1;this._resetCursor();document.removeEventListener("mousemove",this._handleResizeHandler);document.removeEventListener("mouseup",this._stopResizeHandler)}}, 112{key:"_resizeEast",value:function(b){b-=this.targetNode.getBoundingClientRect().left;this.targetNode.style.width="".concat(b,"px")}},{key:"_resizeSouth",value:function(b){b-=this.targetNode.getBoundingClientRect().top;this.targetNode.style.height="".concat(b,"px")}},{key:"_resizeSouthEast",value:function(b,f){this._resizeSouth(f);this._resizeEast(b)}}]),d}()},1177:function(r,k,a){k.a={SNIPCART:"snipcart",WEBWAVE:"webwave",ECWID:"ecwid"}},1178:function(r,k,a){function t(g){var c=function(){if("undefined"== 113typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this, 114c),(l=e.call(this,h))._unit=h.unit,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"inputType",get:function(){return"text"}},{key:"short",get:function(){return!0}},{key:"translationPrefix",get:function(){return"com.webwave.common.ui.inputRange"}},{key:"unit",get:function(){return this._unit}},{key:"isFilled",value:function(){return webwave.isDefAndNotNull(this.from)&&webwave.isDefAndNotNull(this.to)}},{key:"rangeIsNotOk",value:function(){return Number.parseInt(this.from)>Number.parseInt(this.to)}}, 115{key:"serialize",value:function(){return{to:this.to,from:this.from}}},{key:"valueInRange",value:function(h){return Number.parseFloat(this.to)>=h&&Number.parseFloat(this.from)<=h}}]),c}(a(817).a)},118:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this.timeoutDelay=webwave.isNumberAndNotNaN(d.timeoutDelay)?d.timeoutDelay:1E3;this.timerId=null;this.jobHandler=webwave.isFunction(d.jobHandler)? 116d.jobHandler:null}return Object(q.a)(m,[{key:"run",value:function(d){var b=this;this.clean();this.timerId=setTimeout(function(){webwave.isFunction(b.jobHandler)&&b.jobHandler(d)},this.timeoutDelay)}},{key:"clean",value:function(){clearTimeout(this.timerId)}}]),m}()},119:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(30),m=function(){function d(b){Object(t.a)(this,d);webwave.isNotDef(b)&&(b={});this.width=webwave.isNumberAndNotNaN(b.width)?b.width:0;this.height=webwave.isNumberAndNotNaN(b.height)? 117b.height:0}return Object(q.a)(d,[{key:"getWidth",value:function(){return this.width}},{key:"setWidth",value:function(b){this.width=b}},{key:"getHeight",value:function(){return this.height}},{key:"setHeight",value:function(b){this.height=b}},{key:"clone",value:function(){return new d({width:this.width,height:this.height})}},{key:"serialize",value:function(){return{width:this.width,height:this.height}}},{key:"equals",value:function(b){return this.width===b.width&&this.height===b.height}},{key:"add", 118value:function(b){return this.width+=b.getWidth(),this.height+=b.getHeight(),this}},{key:"subtract",value:function(b){return this.width-=b.getWidth(),this.height-=b.getHeight(),this}},{key:"multiply",value:function(b){return this.width*=b,this.height*=b,this}},{key:"applyLimits",value:function(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};webwave.isDef(b.width)&&(webwave.isNumber(b.width.min)&&(this.width=Math.max(this.width,b.width.min)),webwave.isNumber(b.width.max)&&(this.width= 119Math.min(this.width,b.width.max)));webwave.isDef(b.height)&&(webwave.isNumber(b.height.min)&&(this.height=Math.max(this.height,b.height.min)),webwave.isNumber(b.height.max)&&(this.height=Math.min(this.height,b.height.max)))}},{key:"toString",value:function(){return"{".concat(this.width,",").concat(this.height,"}}")}},{key:"toVector",value:function(){return new n.a({x:this.getWidth(),y:this.getHeight()})}},{key:"addHeight",value:function(b){this.height+=b}},{key:"subtractHeight",value:function(b){this.height-= 120b}},{key:"addWidth",value:function(b){this.width+=b}},{key:"subtractWidth",value:function(b){this.width-=b}},{key:"ceil",value:function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height)}}]),d}();m.deserialize=function(d){return webwave.isNotDef(d)?new m({width:0,height:0}):new m(d)}},1192:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 121[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(g.a)(h);if(l){var p=Object(g.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(f.a)(this,v)}}a.d(k,"a",function(){return e});var q,n,m=a(0),d=a(1),b=a(3),f=a(4),g=a(2);r=a(781);k=a(805);var c=a(20);a.n(c);var e=Object(c.injectable)()((n=q=function(h){function l(){var p;return Object(m.a)(this,l),(p=v.call(this)).errorCodes=[400,401,404,409,500],p}Object(b.a)(l,h);
121var v=t(l); 122return Object(d.a)(l,[{key:"handlePayProcedure",value:function(p){this.locationService.openUrl(p.url)}},{key:"isKnownError",value:function(p){var w;return!!this.errorCodes.includes(null===p||void 0===p?void 0:null===(w=p.data)||void 0===w?void 0:w.code)}},{key:"getErrorTranslate",value:function(p){var w;switch(null===p||void 0===p?void 0:null===(w=p.data)||void 0===w?void 0:w.code){case 401:return"incorrectAuthentication";default:return"errorMessage"}}}]),l}(k.a),q.AVAILABLE_CURRENCIES=[r.a.PLN], 123n))||n},1193:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(g.a)(h);if(l){var p=Object(g.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(f.a)(this,v)}}a.d(k,"a",function(){return e});var q, 124n,m=a(0),d=a(1),b=a(3),f=a(4),g=a(2);r=a(781);k=a(805);var c=a(20);a.n(c);var e=Object(c.injectable)()((n=q=function(h){function l(){return Object(m.a)(this,l),v.apply(this,arguments)}Object(b.a)(l,h);var v=t(l);return Object(d.a)(l,[{key:"handlePayProcedure",value:function(p){this.locationService.openUrl(p.url)}}]),l}(k.a),q.AVAILABLE_CURRENCIES=[r.a.AUD,r.a.BRL,r.a.CAD,r.a.CHF,r.a.CNY,r.a.CZK,r.a.DKK,r.a.EURO,r.a.GBP,r.a.HKD,r.a.HUF,r.a.ILS,r.a.JPY,r.a.MXN,r.a.MYR,r.a.NOK,r.a.NZD,r.a.PHP,r.a.PLN, 125r.a.RUB,r.a.SEK,r.a.SGD,r.a.THB,r.a.TWD,r.a.USD],n))||n},1194:function(r,k,a){k.a={NEWS:"news",SHORT:"short",HEADER:"header",THUMBNAIL:"thumbnail",READ_MORE:"readMore",DATE:"date",PAGINATION_INDEX:"paginationIndex",SELECTED_PAGINATION_INDEX:"selectedPaginationIndex"}},1199:function(r,k,a){k.a={CHILDREN:0,PUSHED_DOWN:1}},12:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.NAMED_TAG="named";k.NAME_TAG="name";k.UNMANAGED_TAG="unmanaged";k.OPTIONAL_TAG="optional";k.INJECT_TAG="inject"; 126k.MULTI_INJECT_TAG="multi_inject";k.TAGGED="inversify:tagged";k.TAGGED_PROP="inversify:tagged_props";k.PARAM_TYPES="inversify:paramtypes";k.DESIGN_PARAM_TYPES="design:paramtypes";k.POST_CONSTRUCT="post_construct";k.NON_CUSTOM_TAG_KEYS=[k.INJECT_TAG,k.MULTI_INJECT_TAG,k.NAME_TAG,k.UNMANAGED_TAG,k.NAMED_TAG,k.OPTIONAL_TAG]},120:function(r,k,a){a.d(k,"a",function(){return u});var t=a(0),q=a(1);r=a(102);var n=a.n(r),m=a(60),d=/^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*$/i,b=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i, 127f=/^((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+((?!-)[a-z0-9-]{1,62}[A-Za-z0-9]\.)+[A-Za-z]{2,10}$/i,g=/^[0-9]{8,13}$/,c=/^[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,}))$/,e=/^(?=.*\d)(?=.*[a-zA-Z `\-=[\];'\\,.\/~!@#$%^&*()_+{}:"|<>?])([a-zA-Z0-9 `\-=[\];'\\,.\/~!@#$%^&*()_+{}:"|<>?]{8,})$/,h=/^(?=.*?\d)(?=.*?\D).{8,}/,l=/^.*$/i,v=/[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, 128p={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},w=/[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\\ \|]/g,u=function(){function z(){Object(t.a)(this,z)}return Object(q.a)(z,null,[{key:"generateRandomPasswordString",value:function(){var y=Math.random().toString(36).slice(-10);return!1===z.isValidPassword(y,z.passwordTypes.SIMPLE)?z.generateRandomPasswordString():y}},{key:"isValidEmail",value:function(y){return"string"==typeof y&&0<y.length&&null!=y.match(c)}},{key:"isValidEmailName",value:function(y){return"string"== 129typeof y&&0<y.length&&null!==y.match(d)}},{key:"checkIsValidUrl",value:function(y){try{return!!new URL(y)}catch(A){return!1}}},{key:"checkIsValidName",value:function(y){return!!y.includes(" ")}},{key:"deleteWhiteSpace",value:function(y){return y.replace(/\s/g,"")}},{key:"checkIsValidDomain",value:function(y){var A=!1;return null!=y.match(b)&&-1==y.indexOf(config.hostSettings.domain)&&(A=!0),A}},{key:"checkIsValidSubdomain",value:function(y){var A=!1;return null!=y.match(f)&&(A=!0),A}},{key:"checkIsValidPhone", 130value:function(y){var A=!1;return null!=y.match(g)&&(A=!0),A}},{key:"countWords",value:function(y){if(!0===webwave.isNotDefOrNull(y)||0===y.length)return 0;y=y.split(/(\s+)/).filter(function(A){return!/\s+$/.test(A)});return(y=y.filter(function(A){return""!=A})).length}},{key:"textStartsWithTagOpening",value:function(y){return"<"===y[0]}},{key:"isValidPassword",value:function(y,A){if("string"==typeof y&&4<y.length)switch(A){case z.passwordTypes.SIMPLE:return null!==y.match(e);case z.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS:return null!== 131y.match(h);default:return null!==y.match(l)}return!1}},{key:"escapeStringForRegexp",value:function(y){return y.replace(w,"\\$&")}},{key:"isValidPolishStreetAddress",value:function(y){return"string"==typeof y&&v.test(y)}},{key:"isValidLength",value:function(y,A,E){return webwave.isDef(E)||(E=z.fieldMinLength.EMPTY),y.length<=A&&y.length>E}},{key:"isValidMaxLength",value:function(y,A){return y.length<=A}},{key:"isValidMinLength",value:function(y,A){return y.length>A}},{key:"isEqualLength",value:function(y, 132A){return y.length===A}},{key:"escapeHtml",value:function(y){return String(y).replace(/[&<>
132"'\/]/g,function(A){return p[A]})}},{key:"removeHtml",value:function(y){return String(y).replace(/<\/?[^>]+(>|$)/g,"")}},{key:"normalizeTextForUrl",value:function(y){return webwave.isString(y)&&(y=y.toLowerCase(),y=z.removeUnsafeCharactersFromTextForUrl(y),y=(y=z.removeUnwantedCharactersFromTextForUrl(y)).replace(/[ \u00A0]/g,"-")),y}},{key:"normalizeTextForRefUrl",value:function(y){return webwave.isString(y)&& 133(y=(y=y.replace(/\s/g,"")).substring(0,254),!1===/([a-zA-Z-])+/g.test(y)&&(y=y.replace(/\d/g,"")),y=z.normalizeTextForUrl(y)),y}},{key:"removeUnwantedCharactersFromTextForUrl",value:function(y){return webwave.isString(y)&&(y=y.replace(/[.,\r\n]/g,"")),y}},{key:"removeUnsafeCharactersFromTextForUrl",value:function(y){return webwave.isString(y)&&(y=y.replace(/[\[\]`~&\^%@"<>\\\/#|?:;={}$+]/g,"")),y}},{key:"valueNonNumericChars",value:function(y){return m.a.ONLY_LETTERS.test(y)}},{key:"replaceExtensionInSrc", 134value:function(y,A){return webwave.isString(y)&&webwave.isString(A)&&(y=y.replace(/\.[^.]+$/,"."+A)),y}},{key:"joinArrayUsingCut",value:function(y){for(var A=y[0],E=1;E<y.length;E++)A+=", ".concat(y[E]);return A}},{key:"joinArrayUsingChar",value:function(y,A){for(var E=y[0],C=1;C<y.length;C++)E+="".concat(A," ").concat(y[C]);return E}},{key:"capitalizeFirstLetter",value:function(y){return y.charAt(0).toUpperCase()+y.slice(1)}},{key:"getValidHref",value:function(y){if(!1===z.checkIsValidUrl(y)){var A= 135"https://".concat(y);if(z.checkIsValidUrl(A))return A}return y}},{key:"updateOrAddParameterToUrl",value:function(y,A,E){var C=new RegExp("([?&])"+A+"=.*?(&|$)","i"),D=-1!==y.indexOf("?")?"&":"?";return y.match(C)?y.replace(C,"$1"+A+"="+E+"$2"):y+D+A+"="+E}},{key:"trimFirstAndLastQuote",value:function(y){return webwave.isStringAndNotEmpty(y)?y.replace(/^"|"$/g,""):y}},{key:"isHeaderOnly",value:function(y){return/^\*\*(.*)\*\*$/.test(y.trim())}},{key:"removeBoldFromHeader",value:function(y){return y.replace(/^\*\*(.*)\*\*$/, 136"$1").trim()}},{key:"removeHeader",value:function(y){return y.replace(/^\*\*.*\*\*\s*/,"").trim()}},{key:"trimHeaderAndRemoveBold",value:function(y){return z.isHeaderOnly(y)?z.removeBoldFromHeader(y):z.removeHeader(y)}},{key:"trimMarkdown",value:function(y){return(y=y.match(/```(\w+)\s*([\s\S]*?)\s*```/))?y[2].trim():""}},{key:"trimMarkdownIfExists",value:function(y){return y.includes("```")?z.trimMarkdown(y):y}},{key:"convertNaturalTextToCamelCase",value:function(y){y=y.split(" ");var A=y.shift(); 137return(y=y.map(function(E){return z.capitalizeFirstLetter(E)})).unshift(A),y.join("")}},{key:"convertToVerticalText",value:function(y){return y.toString().split("").join("<br>")}},{key:"generateUUID",value:function(){return n()()}},{key:"stringToHash",value:function(y){var A=0,E=y.length,C=0;if(0<E)for(;C<E;)A=(A<<5)-A+y.charCodeAt(C++)|0;return A}},{key:"isStringEndWithAnyOfPhrases",value:function(y,A){var E=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return A.some(function(C){return z.isStringEndWithPhrase(y, 138C,E)})}},{key:"isStringEndWithPhrase",value:function(y,A){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).skipCaseSensitive&&(y=y.toLowerCase(),A=A.toLowerCase()),!0===y.endsWith(A)}},{key:"extendsStringWithSymbolToReachMinLength",value:function(y,A,E){var C=y;if(webwave.isString(y)&&0==C.length>=A&&webwave.isDef(E))for(;0==C.length>=A;)C+=E;return C}},{key:"truncateLink",value:function(y){return y.substring(0,Math.min(y.length,200-(1<arguments.length&&void 0!==arguments[1]?arguments[1]: 1390)))}},{key:"trimToLength",value:function(y,A){return webwave.isStringAndNotEmpty(y)?y.substring(0,Math.min(y.length,A)):y}},{key:"simplifyNewAddress",value:function(y){y=(y=(y=z.truncateLink(y)).trim()).split("/");for(var A=0;A<y.length;A++)y[A]=z.removeUnsafeCharactersFromTextForUrl(y[A]);return y.join("/").replace(/^\/+/g,"")}},{key:"truncateText",value:function(y,A){return y.length>A?y.slice(0,A-3).trim()+"...":y}},{key:"camelCaseToSeparateWords",value:function(y){return y.replace(/([a-z])([A-Z])/g, 140"$1 $2").toLowerCase()}},{key:"cutStringAfterNWord",value:function(){var y=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(webwave.isString(y.text)&&webwave.isNumberAndNotNaN(y.wordsNumber)){for(var A,E=0,C=y.text,D=0;D<y.wordsNumber&&null!=(A=/\s*\S+/.exec(C));D++)C=C.substring(A[0].length),E+=A[0].length;return y.showDots?y.text.substr(0,E)+"...":y.text.substr(0,E)}return y.text}},{key:"trimAndReplaceSpaces",value:function(y){return y.trim().replace(/\s+/g," ")}},{key:"convertPriceToDotFormat", 141value:function(y){return y.replace(/,/g,".").replace(/\s/g,"").replace(/[^\d.]/g,"").replace(/\.(?=.*\.)/g,"")}}]),z}();"function"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(z){return this.slice(0,z.length)==z});"function"!=typeof String.prototype.endsWith&&(String.prototype.endsWith=function(z){return this.slice(-z.length)==z});u.passwordTypes={SIMPLE:"simple",SIMPLE_WITHOUT_RESTRICTIONS:"SIMPLE_WITHOUT_RESTRICTIONS",NORMAL:"normal"};u.fieldMaxLength={NORMAL:255}; 142u.fieldMinLength={NORMAL:0,EMPTY:-1};window.stringUtils=u},121:function(r,k){var a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(a){var t=new Uint8Array(16);r.exports=function(){return a(t),t}}else{var q=Array(16);r.exports=function(){for(var n,m=0;16>m;m++)0==(3&m)&&(n=4294967296*Math.random()),q[m]=n>>>((3&m)<<3)&255;return q}}}, 143122:function(r,k){var a=[];for(k=0;256>k;++k)a[k]=(k+256).toString(16).substr(1);r.exports=function(t,q){q=q||0;return[a[t[q++]],a[t[q++]],a[t[q++]],a[t[q++]],"-",a[t[q++]],a[t[q++]],"-",a[t[q++]],a[t[q++]],"-",a[t[q++]],a[t[q++]],"-",a[t[q++]],a[t[q++]],a[t[q++]],a[t[q++]],a[t[q++]],a[t[q++]]].join("")}},123:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"createVariableById",value:function(d){return"var(--".concat(d, 144")")}},{key:"findVariablesValuesInString",value:function(d){return webwave.isDefAndNotNull(d)?d.match(/--[a-zA-Z_0-9]*/g):null}},{key:"isVariableExistInString",value:function(d){d=m.findVariablesValuesInString(d);return webwave.isArrayLike(d)&&0<d.length}}]),m}()},124:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"generateSelectOptionsFromEnum",value:function(d,b,f){var g=3<arguments.length&&void 0!== 145arguments[3]?arguments[3]:{},c={};webwave.isString(b)?c.prefix=b:Object.assign(c,b);webwave.isString(f)&&(c.suffix=f);for(var e=[],h=webwave.isStringAndNotEmpty(c.prefix)?"".concat(c.prefix,"."):"",l=webwave.isStringAndNotEmpty(c.tooltipPrefix)?"".concat(c.tooltipPrefix,"."):h,v=webwave.isStringAndNotEmpty(c.suffix
145)?".".concat(c.suffix):"",p=webwave.isStringAndNotEmpty(c.tooltipSuffix)?".".concat(c.tooltipSuffix):".tooltip",w=webwave.isArrayLike(d)?d:Object.values(d),u=0;u<w.length;u++){var z=w[u], 146y=!0===c.withTooltip?i18n.t("".concat(l).concat(z).concat(p)):void 0,A=!0===c.withId?z:void 0;e.push({value:z,label:i18n.t("".concat(h).concat(z).concat(v)),id:A,tooltip:y})}return!0!==g.enableSort&&!0!==d.autoSorting||e.sort(function(E,C){return E.label.localeCompare(C.label)}),e}},{key:"removeRactivity",value:function(d){return Object.assign({},d)}},{key:"addNonReactiveProperty",value:function(d,b,f){Object.defineProperty(d,b,{value:f,configurable:!1})}}]),m}()},1256:function(r,k,a){function t(g){var c= 147function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this, 148c),e.call(this)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getMessage",value:function(){return i18n.t("shop.com.webwave.gui.onlineStore.orderPopup.errorMessage")}}]),c}(function(g){function c(){var e=Reflect.construct(g,Array.from(arguments));return Object.setPrototypeOf(e,Object.getPrototypeOf(this)),e}return c.prototype=Object.create(g.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(c,g):c.__proto__=g,c}(Error))}, 1491265:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(g.a)(l);if(v){var w=Object(g.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(f.a)(this,p)}}a.d(k,"a",function(){return h});var q,n,m= 150a(0),d=a(1),b=a(3),f=a(4),g=a(2),c=a(38);r=a(781);k=a(805);var e=a(20);a.n(e);var h=Object(e.injectable)()((n=q=function(l){function v(){return Object(m.a)(this,v),p.apply(this,arguments)}Object(b.a)(v,l);var p=t(v);return Object(d.a)(v,[{key:"handlePayProcedure",value:function(w){this.locationService.openUrl(w.url)}},{key:"hasExternalConfigurationLinks",value:function(){return!0}},{key:"getExternalConfigurationLinksList",value:function(){return[v.ITN,v.BACK_URL]}},{key:"getExternalConfigurationLink", 151value:function(w){var u=c.a.getValue("linkToWebsite");switch(w){case v.ITN:return"".concat(u).concat(v.ITN_PATH);case v.BACK_URL:return"".concat(u).concat(v.BACK_URL_PATH)}}}]),v}(k.a),q.AVAILABLE_CURRENCIES=[r.a.PLN],q.ITN="ITN",q.BACK_URL="backUrl",q.ITN_PATH="/_app/shop/notificationAutopay",q.BACK_URL_PATH="/?backFromPaymentProvider=true&status=TO_VERIFY",n))||n},1271:function(r,k,a){a.d(k,"a",function(){return f});var t,q=a(0),n=a(1),m=a(1296),d=a(1039),b=a(38);r=a(20);var f=(a.n(r),Object(r.injectable)()(t= 152function(){function g(){Object(q.a)(this,g)}return Object(n.a)(g,[{key:"setEnvironment",value:function(c){this.environment=c}},{key:"getPathForAjax",value:function(){return webwave.isDefAndNotNull(this.environment)&&this.environment.isDevelopment()?"/webwaver_front":""}},{key:"getPanelType",value:function(){switch($("#panelType").val()){case d.a.CMS:return d.a.CMS;case d.a.GUI:return d.a.GUI;default:return d.a.WM}}},{key:"getEnvironmentPrefix",value:function(){switch(this.getPanelType()){case d.a.CMS:var c= 153"/cms/";break;case d.a.WM:c="/WM/";break;case d.a.GUI:c="/gui/"}return c}},{key:"isGuiPanel",value:function(){return this.getPanelType()===d.a.GUI}},{key:"isWMPanel",value:function(){return this.getPanelType()===d.a.WM}},{key:"isCMSPanel",value:function(){return this.getPanelType()===d.a.CMS}},{key:"isWebsitePublishedAndVisible",value:function(){return"true"===$("#firstPublished").val()&&"true"===$("#websiteVisibility").val()}},{key:"getWebsiteId",value:function(){return $("#websiteId").val()}},{key:"getWebsiteName", 154value:function(){return $("#websiteName").val()}},{key:"isWhiteLabelActive",value:function(){return this.isWMPanel()?b.a.getValue("whiteLabel.active",!1):"true"===$("#webmasterProfessionalAccount").val()}},{key:"isWebmaster",value:function(){return b.a.getValue("loggedUser.isWebmaster",!1)}}
154,{key:"getLinkDependingOnEnvironment",value:function(c){return this.getPathForAjax()+c}},{key:"getAiWebsiteObject",value:function(){var c=b.a.getDecodedJSON("openAIWebsite");if(webwave.isDefAndNotNull(null===c|| 155void 0===c?void 0:c.websiteSubject))return new m.a(c)}},{key:"getAIWebsiteSubject",value:function(){var c;return null===(c=this.getAiWebsiteObject())||void 0===c?void 0:c.websiteSubject}}]),g}())||t)},1290:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h= 156Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(38),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"countryIsValid",value:function(l){return!1===this.enable||this.value.includes(l)}},{key:"deserializeValue",value:function(){var l= 1570<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._value=webwave.isArrayLike(l)?l:[f.a.getValue("loggedUser.registerCountry")]}},{key:"getSerializeValue",value:function(){return this._value}},{key:"getValueForBackend",value:function(){return this._value.join(",")}},{key:"serialize",value:function(){var l;return{id:this.id,enable:0<(null===(l=this._value)||void 0===l?void 0:l.length)&&this.enable,value:this.getSerializeValue()}}}]),e}(r.a)},1291:function(r,k,a){a.d(k,"a",function(){return q}); 158var t=a(0),q=function d(m){Object(t.a)(this,d);this.name=m.name;this.placeholder=m.placeholder;this.label=m.label;this.validator=m.validator}},1293:function(r,k,a){k.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}},1296:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(954),n=function b(d){Object(t.a)(this,b);this.websiteId=d.websiteId;this.websiteSubject= 159decodeURIComponent(d.websiteSubject);this.fonts=q.a.optJsonParse(d.fonts);this.style=d.style;this.palette=q.a.optJsonParse(d.palette);this.imageColor=d.imageColor;this.imageKeys=decodeURIComponent(d.imageKeys);this.functions=q.a.optJsonParse(d.functions);this.storeName=decodeURIComponent(d.storeName);this.gusSubject=q.a.optJsonParse(d.gusSubject)}},1332:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"== 160typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.call(this)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getMessage", 161value:function(){return i18n.t("shop.com.webwave.gui.onlineStore.orderPopup.stripe.requiredHttpsConnection")}}]),c}(a(1256).a)},1333:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(10),m=function(){function d(b){Object(t.a)(this,d);this.value=0;this.separator=n.d.NONE;this.decimalLength=this.fractalLength=0;this.invalid=!1;this.strValue="0.0";this.strValue=webwave.isString(b)?b:"";b=this.strValue.match(d.regex);if(null!==b){if(webwave.isStringAndNotEmpty(b[1])?(this.value=parseInt(b[1], 16210),this.fractalLength=b[1].length):this.invalid=!0,webwave.isStringAndNotEmpty(b[2])&&(this.separator=b[2]),webwave.isStringAndNotEmpty(b[3])){var f=parseFloat(".".concat(b[3]));this.value+=f;this.decimalLength=b[3].length}}else this.invalid=!0}return Object(q.a)(d,[{key:"toString",value:function(){return this.value.toFixed(this.decimalLength)}},{key:"toJSON",value:function(){return this.printFormattedValue()}},{key:"isInvalid",value:function(){return this.invalid}},{key:"clone",value:function(){return new d(this.strValue)}}, 163{key:"getValue",value:function(){return this.value}},{key:"printFormattedValue",value:function(b){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",g=webwave.isNumberAndNotNaN(b)?b:this.value,c="";if(0<this.decimalLength){var e=(g-Math.floor(g)).toFixed(this.decimalLength).split(".");c="".concat(this.separator).concat(e[1]);0<parseInt(e[0],10)&&(g+=1)}f=(new Intl.NumberFormat("en-us")).format(parseInt(g,10)).replace(/,/g,f);return"".concat(f).concat(c)}},{key:"equals",value:function(b){return this.strValue=== 164b.strValue}}]),d}();m.regex=/([-]?[0-9]+)(?:([,.]?)([0-9]*))?/},1337:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this, 165e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;Object(q.a)(this,c);return(l=e.call(this,{type:"webwave.link.AddItemToShopCardLinkData"}))._productId=h,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getProductId",value:function(){return this._productId}}]),c}(a(78).a)},1339:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 166try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(b.a)(h);if(l){var p=Object(b.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(d.a)(this,v)}}a.d(k,"a",function(){return e});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(1178),g=a(188),c=a(81),e=function(h){function l(){return Object(q.a)(this,l),v.a
166pply(this,arguments)}Object(m.a)(l,h);var v=t(l); 167return Object(n.a)(l,[{key:"deserializeValue",value:function(){var p=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._value=new f.a({to:webwave.isDefAndNotNull(p.to)?p.to/100:void 0,from:webwave.isDefAndNotNull(p.from)?p.from/100:void 0,unit:l.WEIGHT_UNIT,validator:g.a.POSITIVE_FLOAT_VALUE_SHORT_MESSAGE,placeholder:{from:"0",to:"30"}})}},{key:"getSerializeValue",value:function(){var p=this._value.serialize(),w=c.a.setFloatPriceToLong(p.from);p=c.a.setFloatPriceToLong(p.to);return{from:webwave.isNumberAndNotNaN(w)? 168w:null,to:webwave.isNumberAndNotNaN(p)?p:null}}},{key:"weightInRange",value:function(p){return this.value.valueInRange(p)}}]),l}(r.a);e.WEIGHT_UNIT="kg"},1341:function(r,k,a){function t(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(f.a)(v);if(p){var u=Object(f.a)(this).constructor; 169w=Reflect.construct(w,arguments,u)}else w=w.apply(this,arguments);return Object(b.a)(this,w)}}a.d(k,"a",function(){return l});var q,n=a(0),m=a(1),d=a(3),b=a(4),f=a(2),g=a(10),c=a(1365),e=a(772);r=a(55);k=a(20);var h=(a.n(k),a(841)),l=Object(k.injectable)()(q=function(v){function p(){var u;Object(n.a)(this,p);for(var z=arguments.length,y=Array(z),A=0;A<z;A++)y[A]=arguments[A];return(u=w.call.apply(w,[this].concat(y))).wasHidden=!1,u._progressProcesses=[],u.LOADING_IMAGE_ID="loading-image",u.LoadingImageClass= 170null,u.popupManager=void 0,u}Object(d.a)(p,v);var w=t(p);return Object(m.a)(p,[{key:"showLoadingBox",value:function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!1===this.isAnyLoadingProgressActive()&&(this.wasHidden=!1,"none"==$("#screen_popup_wrapper").css("display")&&(this.wasHidden=!0),$("#screen_popup_background").hide(),$("#loadingBoxWrapper").show(),!0===u.solidBackground?$("#loadingBoxBackground").addClass("loadingBoxBackground--solid"):$("#loadingBoxBackground").addClass("loadingBoxBackground--semi-transparent"), 171!0!==u.noScrollDisable&&h.a.setBodyScrollOff())}},{key:"hideLoadingBox",value:function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};$("#screen_popup_background").show();this._removeBackgroundModifiers();$("#loadingBoxWrapper").hide();!0===this.wasHidden&&!1!==u.unlockPagearea&&this.canHideScreenPopupWrapper()&&$("#screen_popup_wrapper").hide();!0!==u.noBodyScrollRevert&&h.a.setBodyScrollOn()}},{key:"showProgressBox",value:function(){$("#loadingSpinnerWrapper").show()}},{key:"showProgressBoxWithoutBar", 172value:function(){$("#loadingSpinnerProgress").hide();$("#loadingSpinnerWrapper").show()}},{key:"hideProgressBox",value:function(u){var z=$("#loadingSpinnerWrapper");g.h.isNotTest()&&webwave.isNumberAndNotNaN(u)?z.css("opacity",1).animate({opacity:"0"},{duration:u,always:function(){z.css("opacity","").hide()}}):z.hide()}},{key:"setProgressLabel",value:function(u){$("#loadingSpinnerProgress .text").text(u)}},{key:"setProgressValue",value:function(u){u=parseInt(u);(isNaN(u)||0>u)&&(u=0);100<u&&(u=100); 173$("#loadingSpinnerProgress .fill").css("width",u+"%")}},{key:"updatePageareaLoadingProgress",value:function(u){var z=u.get$Wrapper();!0===u.isNoProgressValue()?z.find(".progressWrapper .progress_value").hide():(z.find(".progressWrapper .progress_value").show(),z.find(".progressWrapper .progress_value").text("".concat(u.getValue(),"/").concat(u.getMaxValue())));z.find(".progressWrapper .fill").css("width",100*u.getProgress()+"%")}},{key:"getCurrentLoadingProcess",value:function(){return this._progressProcesses[0]}}, 174{key:"hideCurrentProgress",value:function(){var u=this.getCurrentLoadingProcess();u.get$Wrapper().hide();u.getWrapper()===e.a.PAGEAREA&&$("#pagearea").css("opacity","")}},{key:"isAnyLoadingProgressActive",value:function(){return 0<this._progressProcesses.length}},{key:"loadingImageElementExists",value:function(u){u=document.getElementById(u);return webwave.isDefAndNotNull(u)}},{key:"updateProgressData",value:function(){var u=this.getCurrentLoadingProcess(),z=u.get$Wrapper();webwave.isDefAndNotNull(u)&& 175(this.hideLoadingBox({unlockPagearea:!0,noBodyScrollRevert:!1}),z.show(),this.updatePageareaLoadingProgress(u),z.find(".progress_label").text(u.getProgressText()),z.find(".progressWrapper").toggle(!0!==u.isNoProgressBar()),z.find(".footer_label").text(u.getFooterText()),!0===u.isNoProgressText()?(z.find(".progressWrapper .text").hide(),z.find(".footer_label").hide()):(z.find(".progressWrapper .text").show(),z.find(".footer_label").show()),u.isTransparentBackgroun
175d()?z.css("backgroundColor","transparent"): 176z.css("backgroundColor",""))}},{key:"progressChanged",value:function(u){this.updateProgressData()}},{key:"valueChanged",value:function(u){this.updateProgressData()}},{key:"addLoadingProcess",value:function(u){-1===this._progressProcesses.indexOf(u)&&this._progressProcesses.push(u);this.updateFirstLoadingProcess()}},{key:"removeLoadingProcess",value:function(u){var z=this._progressProcesses.indexOf(u);-1!==z&&(this.hideCurrentProgress(),this._progressProcesses.splice(z,1),u.removeProgressListener(this), 177this.updateFirstLoadingProcess())}},{key:"updateFirstLoadingProcess",value:function(){!0===this.isAnyLoadingProgressActive()&&(this.getCurrentLoadingProcess().addProgressListener(this),this.updateProgressData())}},{key:"startProgressLoadingBox",value:function(u){var z=new c.a(u),y="".concat(z.getWrapper(),"__").concat(this.LOADING_IMAGE_ID);return!0===this.loadingImageElementExists(y)&&(this.progressLoadingImage=new this.LoadingImageClass({el:"#".concat(y),propsData:{loadingProcess:z,imageId:y}})), 178webwave.isDefAndNotNull(u.customImage)&&this.progressLoadingImage.setCustomImageSrc(u.customLoadingImage),this.addLoadingProcess(z),z}},{key:"stopPageAreaLoadingBox",value:function(u){this.removeLoadingProcess(u)}},{key:"getPopupBackground",value:function(){return $("#screen_popup_background")}}
178,{key:"setLoadingImageClass",value:function(u){this.LoadingImageClass=u}},{key:"_removeBackgroundModifiers",value:function(){$("#loadingBoxBackground").removeClass("loadingBoxBackground--solid");$("#loadingBoxBackground").removeClass("loadingBoxBackground--semi-transparent")}}, 179{key:"setPopupManager",value:function(u){Object.defineProperty(this,"popupManager",{value:u,configurable:!1,writable:!0})}},{key:"canHideScreenPopupWrapper",value:function(){return webwave.isNotDefOrNull(this.popupManager)||!1===this.popupManager.isAnyPopupVisible()}}]),p}(r.a))||q},1342:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 180[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(f.a)(h);if(l){var p=Object(f.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(b.a)(this,v)}}a.d(k,"a",function(){return e});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2);r=a(222);var g=a(985),c=a(865),e=function(h){function l(p){return Object(q.a)(this,l),v.call(this,p)}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"createObject",value:function(p){if(webwave.isValidEnumValue(p.paymentProvider, 181c.a))return new g.a(p)}},{key:"serialize",value:function(){return{enable:this.enable,value:this.getSerializeValue(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}}},{key:"removeOption",value:function(p){p.setDeleted()}},{key:"paymentOnDeliveryEnable",value:function(){return webwave.isDef(this.value.find(function(p){return!0===p.paymentOnDeliveryEnable}))}},{key:"isPaymentIntegrationDefined",value:function(p){return webwave.isDef(this.value.find(function(w){return w.paymentIntegrationExists(p)}))}}, 182{key:"isAnyPaymentMethodIntegration",value:function(){return webwave.isDef(this.value.find(function(p){return!0===p.isAnyPaymentMethodIntegration}))}},{key:"getPaymentProviderByUniqueId",value:function(p){return this.value.find(function(w){return w.uniqueId===p})}},{key:"value",get:function(){return Object(m.a)(Object(f.a)(l.prototype),"value",this).filter(function(p){return!0!==p.deleted})}},{key:"checkPaymentMethodExist",value:function(p){return this.value.find(function(w){return w.equals(p)})}}]), 183l}(r.a)},1348:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q= 184a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){return Object(q.a)(this,c),e.call(this,h)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"enteredViewportHandler",value:function(){var h=$(this.getDomObject()),l=h.attr(c.LAZY_LOAD_ATTR_NAME);h.attr("src",this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(l,this.getDomObject()))}}]),c}(a(1388).a);f.LAZY_LOAD_ATTR_NAME="data-lazy-load-src";webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg"); 185com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg=f},1352:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(b.a)(e);if(h){var v=Object(b.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments); 186return Object(d.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(10);r=a(1074);var g=a(188),c=function(e){function h(){var v,p=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,h),(v=l.call(this)).update(p),v}Object(m.a)(h,e);
186var l=t(h);return Object(n.a)(h,[{key:"update",value:function(){var v=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.code=v.code;this.discount=this._readDiscountValue(v.discount);this.expireDate= 187v.expireDate?new Date(v.expireDate):void 0;this.maxUsage=v.maxUsage}},{key:"_readDiscountValue",value:function(v){return webwave.isStringAndNotEmpty(v)?v.replace("%",""):""}},{key:"constraints",get:function(){return{code:g.a.DISCOUNT_CODE,discount:g.a.DISCOUNT_VALUE,expireDate:g.a.DATE_NOT_REQUIRE,maxUsage:g.a.NUMBER_USAGE_NOT_REQUIRE}}},{key:"translationPrefix",get:function(){return"storeSettings.discountCode"}},{key:"serializeForCreateGroup",value:function(){return{code:this.code,discount:this.discount, 188expireDate:this.expireDate,maxUsage:this.maxUsage}}},{key:"serialize",value:function(){return this.serializeForCreateGroup()}},{key:"name",get:function(){var v=this.code;return webwave.isStringAndNotEmpty(this.expireDate)&&(v+="(".concat(this.formattedDate,")")),v+" - ".concat(this.discount,"%")}},{key:"formattedDate",get:function(){return webwave.isDefAndNotNull(this.expireDate)&&this.expireDate instanceof Date?f.c.dateToString(this.expireDate,"dd-mm-yyyy"):""}},{key:"validate",value:function(){return g.a.REQUIRE.validate(this.code)&& 189g.a.DISCOUNT_VALUE.validate(this.discount)&&g.a.DATE_NOT_REQUIRE.validate(this.expireDate)&&g.a.NUMBER_USAGE_NOT_REQUIRE.validate(this.maxUsage)}},{key:"clone",value:function(){return new h(this.serialize())}},{key:"isExpired",value:function(){if(webwave.isDefAndNotNull(this.expireDate)){var v=f.c.getEndOfTheDay(this.expireDate);return!1===f.c.dateIsGreaterThenNow(v)}return!1}}]),h}(r.a)},1353:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1; 190if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(1128),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(m.a)(e,c);var h= 191t(e);return Object(n.a)(e,[{key:"createObject",value:function(l){return new f.a(l)}}]),e}(a(222).a)},1354:function(r,k,a){k.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", 192TEXT_DESCRIPTION_ITEM_COLOR:"#9B9B9B"}},1355:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k, 193"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(755),g=function(c){function e(l){return Object(q.a)(this,e),h.call(this,l)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"deserializeValue",value:function(l){webwave.isDef(l)&&(webwave.isDef(l.value)&&(this._value=new f.a(l.value)),webwave.isStringAndNotEmpty(l.url)&&(this._url=l.url))}},{key:"url",get:function(){if(this.enable)return this._url}},{key:"getSerializeValue",value:function(){var l={};return webwave.isDef(this._value)&& 194this._value.isValid()?(l.value=this._value.toJSON(),l.url="".concat(coreService.getWebsiteHost(),"/").concat(this._value.getWPage().getAdditionalMainAddress().getAddress())):webwave.isStringAndNotEmpty(this._url)&&(l.url=this._url),l}}]),e}(a(61).a)},1359:function(r,k,a){k.a={DISABLED:"disabled",BASIC_KEN_BURNS:"basicKenBurns"}},1365:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(772),m=function(){function d(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}; 195Object(t.a)(this,d);this._value=0;this._maxValue=100;this._progress=0;this._type=null;
195this.transparentBackground=this.withSpinner=this.noProgressValue=this.noProgressText=this.noProgressBar=!1;this.footerText=this.progressText=null;this._maxValue=webwave.isNumberAndNotNaN(b.maxValue)&&0<b.maxValue?b.maxValue:100;this._loadingProgressListeners=[];this.noProgressBar=!0===b.noProgressBar;this.noProgressText=!0===b.noProgressText;this.noProgressValue=!0===b.noProgressValue;this.transparentBackground= 196!0===b.transparentBackground;this.withSpinner=!0===b.withSpinner;this.progressText=webwave.isString(b.progressText)?b.progressText:null;this.customLoadingImage=b.customLoadingImage?b.customLoadingImage:void 0;this.wrapper=b.wrapper?b.wrapper:n.a.PAGEAREA;this.footerText=b.footerText||null}return Object(q.a)(d,[{key:"setValue",value:function(b){b=Math.min(this._maxValue,Math.max(b,0));var f=this._value!==b;this._value=b;f&&(this._notifyValueListeners(),this._updateProgress())}},{key:"setToEnd",value:function(){this.setValue(this._maxValue)}}, 197{key:"getValue",value:function(){return this._value}},{key:"_setProgress",value:function(b){var f=this._progress!==b;this._progress=b;f&&this._notifyProgressListeners()}},{key:"getProgress",value:function(){return this._progress}},{key:"_updateProgress",value:function(){this._setProgress(this._value/this._maxValue)}},{key:"_notifyProgressListeners",value:function(){for(var b=0;b<this._loadingProgressListeners.length;b++)this._loadingProgressListeners[b].progressChanged(this)}},{key:"_notifyValueListeners", 198value:function(){for(var b=0;b<this._loadingProgressListeners.length;b++)this._loadingProgressListeners[b].valueChanged(this)}},{key:"getMaxValue",value:function(){return this._maxValue}},{key:"getWrapper",value:function(){return this.wrapper}},{key:"get$Wrapper",value:function(){return $("#".concat(this.wrapper))}},{key:"addProgressListener",value:function(b){-1===this._loadingProgressListeners.indexOf(b)&&this._loadingProgressListeners.push(b)}},{key:"removeProgressListener",value:function(b){b= 199this._loadingProgressListeners.indexOf(b);-1!==b&&this._loadingProgressListeners.splice(b,1)}},{key:"isNoProgressBar",value:function(){return this.noProgressBar}},{key:"isNoProgressValue",value:function(){return this.noProgressValue}},{key:"isNoProgressText",value:function(){return this.noProgressText}},{key:"isTransparentBackground",value:function(){return this.transparentBackground}},{key:"isWithSpinner",value:function(){return this.withSpinner}},{key:"getProgressText",value:function(){return this.progressText}}, 200{key:"setCustomLoadingImage",value:function(b){this.customLoadingImage=b;this._notifyValueListeners()}},{key:"setProgressText",value:function(b){this.progressText=b;this._notifyValueListeners()}},{key:"increaseProgress",value:function(){this.setValue(this.getValue()+1)}},{key:"getFooterText",value:function(){return webwave.isDefAndNotNull(this.footerText)&&webwave.isStringAndNotEmpty(this.footerText)?this.footerText:""}}]),d}()},1366:function(r,k,a){function t(h){var l=function(){if("undefined"== 201typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(f.a)(h);if(l){var p=Object(f.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(b.a)(this,v)}}a.d(k,"a",function(){return e});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(965);r=a(222);var c=a(1445), 202e=function(h){function l(){var p,w=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,l),(p=v.call(this,w))._freeShippingSettings=new c.a(w.freeShippingSettings),p}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"createObject",value:function(p){return new g.a(p)}},{key:"postageOptionsExist",value:function(){var p;return 0<(null===(p=this.value)||void 0===p?void 0:p.length)}},{key:"serialize",value:function(){return{enable:this.enable,value:this.getSerializeValue(0< 203arguments.length&&void 0!==arguments[0]?arguments[0]:{}),freeShippingSettings:this._freeShippingSettings.serialize()}}},{key:"freeShippingSettings",get:function(){return this._freeShippingSettings}},{key:"getFreeShippingValue",value:function(){if(webwave.isDef(this.value)&&0<this.value.length)return this.freeShippingSettings.value}},{key:"value",get:function(){return Object(m.a)(Object(f.a)(l.prototype),"value",this).filter(function(p){return!0!==p.deleted})}},{key:"removeOption",value:function(p){p.setDeleted(!0)}}]), 204l}(r.a)},1367:function(r,k,a){a.d(k,"a",function(){return b});var t=a(0),q=a(1),n=a(10),m=a(1354),d=a(51),b=function(){function f(){var g=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,f);this._buttonsColor=webwave.isStringAndNotEmpty(g.buttonsColor)?g.buttonsColor:m.a.BUTTON_COLOR;this._headerColor=webwave.isStringAndNotEmpty(g.headerColor)?g.headerColor:m.a.HEADER_COLOR;this._headerTextColor=webwave.isStringAndNotEmpty(g.headerTextColor)?g.headerTextColor:m.a.HEADER_TEXT_COLOR; 205this._backgroundColor=m.a.BACKGROUND_COLOR;this._buttonsText=m.a.BUTTON_TEXT_COLOR;this._closeButtonColor=m.a.CLOSE_BUTTON_COLOR;this._errorHeaderColor=m.a.ERROR_HEADER_COLOR;this._headerNotSelectedOptionTextColor=this.calculateHeaderNotSelected();this._inputFocusShadow=m.a.INPUT_FOCUS_SHADOW;this._otherButtonsColor=m.a.OTHER_BUTTONS_COLOR;this._tableHeaderTextColor=m.a.TABLE_HEADER_TEXT_COLOR;this._textColor=m.a.TEXT_COLOR;this._textDescriptionItemColor=m.a.TEXT_DESCRIPTION_ITEM_COLOR}return Object(q.a)(f, 206[{key:"calculateHeaderNotSelected",value:function(){return 76>n.a.rgb2hsl(this._headerColor).L?m.a.HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_LIGHT:m.a.HEADER_NOT_SELECTED_OPTION_TEXT_COLOR_DARK}},{key:"setHeaderColor",value:function(g){this._headerColor=g;this._headerNotSelectedOptionTextColor=this.calculateHeaderNotSelected()}},{key:"headerColor",get:function(){return this._headerColor}},{key:"setHeaderTextColor",value:function(g){this._headerTextColor=g}},{key:"headerTextColor",get:function(){return this._headerTextColor}}, 207{key:"setButtonsColor",value:function(g){this._buttonsColor=g}},{key:"buttonsColor",get:function(){return this._buttonsColor}},{key:"changeWebsiteColorConnection",value:function(g){var c,e=d.a.getValueAfterWebsiteConnectionChange(this.buttonsColor,g),h=d.a.getValueAfterWebsiteConnectionChange(this.headerTextColor,g);g=d.a.getValueAfterWebsiteConnectionChange(this.headerColor,g);return e!==this.buttonsColor&&(this.setButtonsColor(e),c=!0),h!==this.headerTextColor&&(this.setHeaderTextColor(h),c=!0), 208g!==this.headerColor&&(this.setHeaderColor(g),c=!0),c}},{key:"getLayoutColors",value:function(){return{"--backgroundColor":this._backgroundColor,"--buttonsColor":this._buttonsColor,"--buttonsTextColor":this._buttonsText,"--headerColor":this._headerColor,"--headerNotSelectedOptionTextColor":this._headerNotSelectedOptionTextColor,"--headerTextColor":this._headerTextColor,"--inputFocusShadowColor":this._inputFocusShadow,"--otherButtonsColor":this._otherButtonsColor,"--tableHeaderTextColor":this._tableHeaderTextColor, 209"--textColor":this._textColor,"--textDescriptionItemColor":this._textDescriptionItemColor,"--textHeaderErrorColor":this._errorHeaderColor,"--popup__close-icon_color":this._headerTextColor,"--popup__close-icon--hover_color":this._headerTextColor}}},{key:"serialize",value:function(){return{backgroundColor:this._backgroundColor,buttonsColor:this._buttonsColor,buttonsTextColor:this._buttonsText,closeButtonColor:this._closeButtonColor,errorHeaderColor:this._errorHeaderColor,headerColor:this._headerColor, 210headerNotSelectedOptionTextColor:this._headerNotSelectedOptionTextColor,headerTextColor:this._headerTextColor,inputFocusShadowColor:this._inputFocusShadow,otherButtonsColor:this._otherButtonsColor,tableHeaderTextColor:this._tableHeaderTextColor,textColor:this._textColor,textDescriptionItemColor:this._textDescriptionItemColor}}}]),f}()},1368:function(r,k,a){a.d(k,"a",function(){return t});
210var t={BackgroundParallaxService:Symbol.for("BackgroundParallaxService"),BrowserHistoryService:Symbol.for("BrowserHistoryService"), 211ElementAttributeService: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"), 212MediaPlayerService: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"), 213UserService:Symbol.for("UserService"),UtilService:Symbol.for("UtilService")}},1388:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments); 214return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this,c),(l=e.call(this))._domObject=h,l.browserWebPSupportUtils=null,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getDomObject",value:function(){return this._domObject}},{key:"setBrowserWebPSupportUtils",value:function(h){this.browserWebPSupportUtils=h}}]),c}(a(1672).a)},1389:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0), 215q=a(1),n=a(43),m=function(){function d(b){1<arguments.length&&void 0!==arguments[1]&&arguments[1];Object(t.a)(this,d);this.wFeed=b;this.type=void 0}return Object(q.a)(d,[{key:"getParentWObject",value:function(){return this.wFeed}},{key:"loadAdditionalRwdProperties",value:function(){}},{key:"shouldAddToCountMinSize",value:function(){return!1}},{key:"shouldAddWidth",value:function(){return!1}},{key:"countMinSize",value:function(){var b=this.wFeed.getInnerElementStyles(this.type);return new n.a({width:webwave.isDefAndNotNull(b)? 216b.getHorizontalSpace():0,height:0})}},{key:"updateSingleFeedItemElData",value:function(){}}]),d}()},14:function(r,k,a){k.a=function(t,q,n){q in t?Object.defineProperty(t,q,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[q]=n;return t}},1421:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})), 217!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(10),g=function(c){function e(l){return Object(q.a)(this,e),h.call(this,l)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"deserializeValue",value:function(l){this._value=f.v.isValidEmail(l)?l:null}},{key:"getSerializeValue", 218value:function(){return this._value}}]),e}(r.a)},1422:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(b.a)(e);if(h){var v=Object(b.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(d.a)(this, 219l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(81),g=a(2169),c=function(e){function h(){return Object(q.a)(this,h),l.apply(this,arguments)}Object(m.a)(h,e);
219var l=t(h);return Object(n.a)(h,[{key:"calculateMissingAmount",value:function(v){return this.enable&&!1===this.minimumValueReached(v)?this.getValueForBackend()-v:0}},{key:"deserializeValue",value:function(v){webwave.isNumberAndNotNaN(Number.parseInt(v))?this._value=v/100:this._value=void 0}},{key:"equals", 220value:function(v){return 0!=v instanceof h&&this.enable===v.enable&&this.value===v.value&&this.id===v.id}},{key:"getSerializeValue",value:function(){return this.getValueForBackend()}},{key:"getValueForBackend",value:function(){return webwave.isDefAndNotNull(this._value)?f.a.setFloatPriceToLong(g.a.normalizeStringForNumberParsing(this._value.toString())):""}},{key:"minimumValueReached",value:function(v){return!this.enable||v>=this.getValueForBackend()}}]),h}(r.a)},1423:function(r,k,a){a.d(k,"a",function(){return m}); 221var t=a(0),q=a(1),n=a(1353),m=function(){function d(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this._additionalFormFields=new n.a(b.additionalFormFields)}return Object(q.a)(d,[{key:"additionalFormFields",get:function(){return this._additionalFormFields}},{key:"serialize",value:function(){return{additionalFormFields:this._additionalFormFields.serialize()}}}]),d}()},1424:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct|| 222Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(1367),g=function(c){function e(l){return Object(q.a)(this,e), 223h.call(this,l)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getSerializeValue",value:function(){return this._value.serialize()}},{key:"deserializeValue",value:function(l){this._value=new f.a(l)}},{key:"setHeaderColor",value:function(l){this._value.setHeaderColor(l)}},{key:"value",get:function(){return!0===this.enable?this._value:this.getDefaultValue()}},{key:"getDefaultValue",value:function(){return new f.a}},{key:"changeWebsiteColorConnection",value:function(l){var v,p=!1;webwave.isDefAndNotNull(this._value)&& 224webwave.isFunction(this._value.changeWebsiteColorConnection)&&(p=null===(v=this._value)||void 0===v?void 0:v.changeWebsiteColorConnection(l));return p}}]),e}(r.a)},1429:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(53),m=function(){function d(b){Object(t.a)(this,d);this._x=new n.a(b.x);this._y=new n.a(b.y)}return Object(q.a)(d,[{key:"serialize",value:function(){return{x:this.getX().serialize(),y:this.getY().serialize()}}},{key:"loadValueFromObject",value:function(b){webwave.isNotDefOrNull(b)|| 225(this.getX().loadValuesFromObject(b.getX()),this.getY().loadValuesFromObject(b.getY()))}},{key:"getX",value:function(){return this._x}},{key:"getY",value:function(){return this._y}},{key:"getCssMapForPosition",value:function(){return"".concat(this.getX().getValue()).concat(this.getX().getUnit()," ").concat(this.getY().getValue()).concat(this.getY().getUnit())}}],[{key:"deserialize",value:function(b){return new d(b)}}]),d}()},1437:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect|| 226!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(222);var f=a(1352),g=function(c){function e(){return Object(q.a)(this, 227e),h.apply(this,arguments)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"createObject",value:function(l){return new f.a(l)}},{key:"findDiscountCodeByCode",value:function(l){if(this.enable)return this.value.find(function(v){return v.code===l})}},{key:"hasActiveDiscountCodes",value:function(){return!!this.enable&&0<this.value.filter(function(l){return!1===l.isExpired()}).length}}]),e}(r.a)},1438:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct|| 228Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(1449),g=function(c){function e(){return Object(q.a)(this,e), 229h.apply(this,arguments)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"deserializeValue",value:function(l){this._value=new f.a(l)}},{key:"getSerializeValue",value:function(){return this._value.serialize()}},{key:"linkData",get:function(){return this._value.linkData},set:function(l){this._value.linkData=l}},{key:"linkType",get:function(){return this._value.linkType},set:function(l){this._value.linkType=l}},{key:"url",get:function(){return webwave.isDef(this.value)?this.value.url:void 0}}]), 230e}(r.a)},1445:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q= 231a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(188),g=function(c){function e(l){return Object(q.a)(this,e),h.call(this,l)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"deserializeValue",value:function(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";
231this._value=f.a.POSITIVE_NUMBER.validate(l)?l:void 0}},{key:"getSerializeValue",value:function(){return this._value}}]),e}(r.a)},1446:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(1008),m=function(){function d(){var b= 2320<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this.currency=webwave.isStringAndNotEmpty(b.currency)?b.currency:i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.default.currency");this.taxValue="".concat(n.a.getValidTaxValue(b.taxValue),"%");this.availableTaxInvoices=!!b.availableTaxInvoices&&b.availableTaxInvoices}return Object(q.a)(d,[{key:"decorateByServerData",value:function(b){webwave.isDefAndNotNull(b.currency)&&(this.currency=b.currency);webwave.isDefAndNotNull(b.availableTaxInvoices)&& 233(this.availableTaxInvoices=b.availableTaxInvoices);webwave.isDefAndNotNull(b.taxValue)&&(this.taxValue="".concat(n.a.getValidTaxValue(b.taxValue),"%"))}},{key:"getTaxValue",value:function(){return n.a.getValidTaxValue(this.taxValue)}},{key:"serialize",value:function(){return{currency:this.currency,taxValue:this.getTaxValue(),availableTaxInvoices:this.availableTaxInvoices}}}]),d}()},1447:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1; 234if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(1448),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(m.a)(e, 235c);var h=t(e);return Object(n.a)(e,[{key:"deserializeValue",value:function(l){webwave.isString(l)?this._value=new f.a({body:l}):this._value=new f.a(l)}},{key:"getSerializeValue",value:function(){return this._value.serialize()}},{key:"title",get:function(){if(this.enable)return this._value.title}},{key:"body",get:function(){if(this.enable)return this._value.body}},{key:"serializeValue",get:function(){return this.value?this.value.serialize():{}}}]),e}(r.a)},1448:function(r,k,a){a.d(k,"a",function(){return n}); 236var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this._title=d.title;this._body=d.body}return Object(q.a)(m,[{key:"body",get:function(){return this._body},set:function(d){this._body=d}},{key:"title",get:function(){return this._title},set:function(d){this._title=d}},{key:"serialize",value:function(){return{title:this._title,body:this._body}}}]),m}()},1449:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1), 237n=a(743),m=a(223),d=function(){function b(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{linkType:m.a.WEBPAGE};Object(t.a)(this,b);this._linkData=n.a.createLink(f.linkData);this._linkType=f.linkType;this._url=f.url}return Object(q.a)(b,[{key:"serialize",value:function(){return{linkType:this._linkType,linkData:this._linkData,url:this._url}}},{key:"linkData",get:function(){return this._linkData},set:function(f){this._linkData=f}},{key:"linkType",get:function(){return this._linkType}, 238set:function(f){this._linkType=f}},{key:"url",get:function(){return this._url}}]),b}()},1450:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this, 239arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(222);var f=a(1129),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"createObject",value:function(l){return new f.a(l)}}]),e}(r.a)},1451:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 240try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(1082),g=function(c){function e(l){return Object(q.a)(this,e),h.call(this,l)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"deserializeValue", 241value:function(l){this._value=new f.a(l)}},{key:"getDataToOrder",value:function(){if(this.enable)return JSON.stringify(this.getSerializeValue())}},{key:"getSerializeValue",value:function(){return this._value.serialize()}}]),e}(r.a)},1452:function(r,k,a){k.a={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}},1460:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 242[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(b.a)(e);if(h){var v=Object(b.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(d.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(53),g=0,c=function(e){function h(v){var p;return Object(q.a)(this,h),(p=l.call(this,v)).relatedWNodes=[],p.typeOfRelation=null,p.distance=null,p.relatedWNodes=webwave.isArrayLike(v.relatedWNodes)?v.relatedWNodes: 243[],p.typeOfRelation=v.typeOfRelation,p.distance=new f.a(v.distance),p._pullBack=!0===v.pullBack,p._rwdModeId=v.rwdModeId,p.instanceId=g++,p}Object(m.a)(h,e);
243var l=t(h);return Object(n.a)(h,[{key:"setDistance",value:function(v){var p=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},w=new f.a({value:Math.max(0,v.getValue()),unit:v.getUnit()}),u=!1===this.distance.equals(v),z=this.distance;if(this.distance=w,u){if(this._pullBack=!0,this.triggerPropertyChange("distance",w,z),webwave.isDefAndNotNull(window.objectService)&& 244!0===p.userInteraction)p=objectService.getWObjectById(this.relatedWNodes[0]),webwave.isDef(p)&&(p.updateRwdBinds(),p.saveCurrentRwdProperties()),p=objectService.getWObjectById(this.relatedWNodes[1]),webwave.isDef(p)&&(p.updateRwdBinds(),p.saveCurrentRwdProperties());p=objectService.getWObjectById(this.relatedWNodes[0]);webwave.isDef(p)&&p.onRelationDistanceChange(this,w,z);p=objectService.getWObjectById(this.relatedWNodes[1]);webwave.isDef(p)&&p.onRelationDistanceChange(this,w,z)}}},{key:"getDistance", 245value:function(){return this.distance}},{key:"toJSON",value:function(){return{relatedWNodes:this.relatedWNodes,typeOfRelation:this.typeOfRelation,distance:this.distance,pullBack:this._pullBack}}},{key:"getTopGroup",value:function(){return this.relatedWNodes[0]}},{key:"getBottomGroup",value:function(){return this.relatedWNodes[1]}},{key:"getOtherWNodeId",value:function(v){return this.relatedWNodes[0]!==v?this.relatedWNodes[0]:this.relatedWNodes[1]}},{key:"clone",value:function(){return new h(JSON.parse(JSON.stringify(this.toJSON())))}}, 246{key:"hasDisabledPulling",value:function(){return!1===this._pullBack}},{key:"getRelatedWNodes",value:function(){return this.relatedWNodes}},{key:"getTypeOfRelation",value:function(){return this.typeOfRelation}},{key:"getRwdModeId",value:function(){return this._rwdModeId}}]),h}(a(40).c)},1468:function(r,k,a){function t(d,b){var f="undefined"!=typeof Symbol&&d[Symbol.iterator]||d["@@iterator"];if(!f){if(Array.isArray(d)||(f=function(l,v){if(l){if("string"==typeof l)return q(l,v);var p=Object.prototype.toString.call(l).slice(8, 247-1);"Object"===p&&l.constructor&&(p=l.constructor.name);if("Map"===p||"Set"===p)return Array.from(l);if("Arguments"===p||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return q(l,v)}}(d))||b&&d&&"number"==typeof d.length){f&&(d=f);var g=0;b=function(){};return{s:b,n:function(){return g>=d.length?{done:!0}:{done:!1,value:d[g++]}},e:function(l){throw l;},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 248}var c,e=!0,h=!1;return{s:function(){f=f.call(d)},n:function(){var l=f.next();return e=l.done,l},e:function(l){h=!0;c=l},f:function(){try{e||null==f.return||f.return()}finally{if(h)throw c;}}}}function q(d,b){(null==b||b>d.length)&&(b=d.length);for(var f=0,g=Array(b);f<b;f++)g[f]=d[f];return g}var n=a(0),m=a(1);!function(){webwave.provide("com.webwave.utils.location.locationService");var d={},b=function(){function f(){Object(n.a)(this,f)}return Object(m.a)(f,[{key:"addForceCountryParamIfSetInPath", 249value:function(g){var c=this.getParameterByName("forceCountry");return webwave.isDefAndNotEmpty(c)&&(g+="?".concat("forceCountry","=").concat(c)),g}},{key:"closeTab",value:function(g){g=d[g];webwave.isDefAndNotNull(g)&&g.close()}},{key:"getParameterByName",value:function(g,c){void 0===c&&(c=location.search);g=g.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");g=(new RegExp("[\\?&]"+g+"=([^&#]*)")).exec(c);return null==g?"":decodeURIComponent(g[1].replace(/\+/g," "))}},{key:"setEnvironmentUtils",value:function(g){this._environmentUtils= 250g}},{key:"openUrl",value:function(g,c){var e=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];if(void 0!==c)if("_blank"===c)window.open(g,c);else{var h=d[c];void 0!==h&&!0===e&&h.close();(h=window.open(g,c)).focus();d[c]=h}else window.location=g}},{key:"openUrlForApp",value:function(g,c,e){this.openUrl(this._environmentUtils.getPathForAjax()+g,c,e)}},{key:"openUrlWithTimeout",value:function(g,c){var e=this;setTimeout(function(){e.openUrl(g)},c)}},{key:"openEditor",value:function(g,c){com.webwave.utils.location.locationService.openUrl(this._environmentUtils.getPathForAjax()+ 251"/gui/gui/"+g,c)}},{key:"openWebsite",value:function(g,c){com.webwave.utils.location.locationService.openUrl(this._environmentUtils.getPathForAjax()+"/"+g,c)}},{key:"openWebmasterPanel",value:function(g){com.webwave.utils.location.locationService.openUrl(com.webwave.utils.location.locationService.getWebmasterPanelLink(),g)}},{key:"getWebmasterPanelLink",value:function(){return this._environmentUtils.getPathForAjax()+"/webmasterPanel/userWebsites"}},{key:"replaceQueryParam",value:function(g,c,e){e= 252e.replace(new RegExp("([?;&])"+g+"[^&;]*[;&]?"),"$1").replace(/&$/,"");return(2<e.length?e+"&":"?")+(c?g+"="+c:"")}},{key:"getHash",value:function(){return window.location.hash.replace("#","")}},{key:"removeHash",value:function(){history.pushState("",document.title,window.location.pathname+window.location.search)}},{key:"removeHashAndParams",value:function(){history.pushState("",document.title,window.location.pathname)}},{key:"reloadPage",value:function(){window.location.reload()}},{key:"reloadPageWithForceParam", 253value:function(g){window.location+="?force=".concat(g)}},{key:"getCurrentPath",value:function(){return window.location.pathname}},{key:"getCurrentUrlHostWithProtocol",value:function(){return"".concat(window.location.origin)}},{key:"getCurrentUrl",value:function(){return"".concat(this.getCurrentUrlHostWithProtocol()).concat(this.getCurrentPath())}},{key:"createLinkWithParams",value:function(g,c){var e;g="".concat(g,"?");c=t(c);try{for(c.s();!(e=c.n()).done;){var h=e.value;g+="".concat(h.getName(), 254"=").concat(h.getValue(),"&")}}catch(l){c.e(l)}finally{c.f()}return g}},{key:"getHostWithProtocolFromUrl",value:function(g){return(new URL(g)).origin}},{key:"getHashParamForPanel",value:function(){var g=com.webwave.utils.location.locationService.getHash();return""===g&&(g=webwave.utils.getGETparam("hash")),g}},{key:"getAllGetParams",value:function(){var g=new URLSearchParams(window.location.search);return Object.fromEntries(g.entries())}}]),f}();com.webwave.utils.location.locationService=new b}()}, 2551471:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(1333),m=function(){function d(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this.finalValue=new n.a(b.finalValue);this.initialValue=new n.a(b.initialValue);this.animationTime=webwave.isDef(b.animationTime)?b.animationTime:d.DEFAULT_VALUES.ANIMATION_TIME;this.decimals=b.decimals;this.ownAnimationTimeEnabled=!!webwave.isDef(b.ownAnimationTimeEnabled)&&b.ownAnimationTimeEnabled;this.ownAnimationStartNumberEnabled= 256!!webwave.isDef(b.ownAnimationStartNumberEnabled)&&b.ownAnimationStartNumberEnabled}return Object(q.a)(d,[{key:"getNumber",value:function(){return this.number}},{key:"setNumber",value:function(b){this.number=b}},{key:"setFinalValue",value:function(b){this.finalValue=b}},{key:"getFinalValue",value:function(){return this.finalValue}},{key:"setInitialValue",value:function(b){this.initialValue=b}},{key:"getInitialValue",value:function(){return this.initialValue}},{key:"getAnimationTime",value:function(){return this.ownAnimationTimeEnabled? 257this.animationTime:d.DEFAULT_VALUES.ANIMATION_TIME}},{key:"setAnimationTime",value:function(b){this.animationTime=b}},{key:"getDecimals",value:function(){return this.decimals}},{key:"setDecimals",value:function(b){this.decimals=b}},{key:"setOwnAnimationTimeEnabled",value:function(b){this.ownAnimationTimeEnabled=b}},{key:"getOwnAnimationTimeEnabled",value:function(){return this.ownAnimationTimeEnabled}},{key:"setOwnAnimationStartNumberEnabled",value:function(b){this.ownAnimationStartNumberEnabled= 258b}},{key:"getOwnAnimationStartNumberEnabled",value:function(){return this.ownAnimationStartNumberEnabled}}]),d}();
258m.DEFAULT_VALUES={ANIMATION_START_NUMBER:0,ANIMATION_TIME:1500,FINAL_VALUE:"12597,54",INITIAL_VALUE:"0"}},1488:function(r,k,a){function t(f,g){var c=Object.keys(f);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(f);g&&(e=e.filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable}));c.push.apply(c,e)}return c}function q(f){for(var g=1;g<arguments.length;g++){var c= 259null!=arguments[g]?arguments[g]:{};g%2?t(Object(c),!0).forEach(function(e){Object(m.a)(f,e,c[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(c)):t(Object(c)).forEach(function(e){Object.defineProperty(f,e,Object.getOwnPropertyDescriptor(c,e))})}return f}var n=a(33),m=a(14),d=a(1293),b=a(1501);webwave.provide("webwave.utils");webwave.utils=function(){var f=function(h){return h.returnValue=i18n.t("confirmToQuitText"),h},g={URL_NAME:"url",DATA_PARAMS:"data", 260ERROR_CODE:"600",SUCCESS_CODE:"200"},c=[d.a.REQUEST_TIMEOUT,d.a.INTERNAL_SERVER_ERROR,d.a.BAD_GATEWAY,d.a.SERVICE_UNAVAILABLE,d.a.GATEWAY_TIMEOUT],e=null;return{ajaxCallParams:g,bytesToMegabytes:function(h){return"number"==typeof h?h/1048576:0},filterArrayByArray:function(h,l){for(var v=h.length-1;0<=v;v--)-1==l.indexOf(h[v])&&h.splice(v,1)},getCurrentStackTrace:function(){return Error("stackTrace").stack},getObjectKeys:function(h){var l=[],v;for(v in h)h.hasOwnProperty(v)&&l.push(v);return l},isArrayLike:function(h){return"object"=== 261Object(n.a)(h)&&null!==h&&"number"==typeof h.length},makeAjxaCall:function(h,l,v){var p=!0!==h.urlIsAbsolute?"".concat(e.getPathForAjax()).concat(h.url):h.url;return!0!==h.noLoadingBox&&loadingBoxService.showLoadingBox({noScrollDisable:h.noScrollDisable,solidBackground:h.solidBackground}),new Promise(function(w,u){(new b.a(q(q({},h),{},{url:p,success:function(z,y,A){(!0!==h.noLoadingBox&&loadingBoxService.hideLoadingBox({unlockPagearea:!1,noBodyScrollRevert:h.noScrollDisable}),z==g.ERROR_CODE)?(popupService.showUnexpectedErrorWarning(), 262u(z)):1==z.failure?!0!==h.noErrorPopup?(y="string"==typeof z.title?z.title:i18n.t("popupService.unexpectedErrorTitle"),"string"==typeof z.html?popupService.showHtmlPopup({html:z.html,title:y,position:h.position},function(){webwave.isFunction(v)&&v(z);u(z)}):(A="string"==typeof z.msg?z.msg:i18n.t("popupService.unexpectedErrorText"),popupService.showDialogInformation({html:A,title:y,position:h.position},function(){webwave.isFunction(v)&&v(z);u(z)}))):(webwave.isFunction(v)&&v(z,y,A),u(z)):(webwave.isFunction(l)&& 263l(z,y,A),w(z))},error:function(z,y,A){if(!0!==h.noLoadingBox&&loadingBoxService.hideLoadingBox({unlockPagearea:!1,noBodyScrollRevert:h.noScrollDisable}),401===z.status){var E={text:i18n.t("userLoggedOut.desc"),title:i18n.t("userLoggedOut.title")};popupService.showDialogInformation(E,function(){loadingBoxService.showLoadingBox({noScrollDisable:h.noScrollDisable});window.location.href=e.getPathForAjax()+"/?login=true"})}else-1<c.indexOf(z.status)?popupService.showDialogInformationWarning({title:i18n.t("connectionError.title", 264{statusCode:z.status}),text:i18n.t("connectionError.text"),yesLabel:i18n.t("connectionError.yesLabel"),onYes:function(){window.location.reload()}}):!0!==h.noErrorPopup&&popupService.showUnexpectedErrorWarning();401===z.status&&!0!==h.resolveFailOnUnathorizedError||(webwave.isFunction(v)&&v(z,y,A),u(z))}}))).send()})},refreshUri:function(h,l){var v=document.createElement("iframe");v.style.position="fixed";v.style.left="-10000px";v.style.top="-10000px";v.addEventListener("load",function w(){this.contentWindow.location.reload(!0); 265this.removeEventListener("load",w,!1);this.parentElement.removeChild(this);"function"==typeof l&&l()},!1);v.addEventListener("error",l,!1);v.src=h;document.body.appendChild(v)},removeFromArray:function(h,l){for(var v=h.length-1;0<=v;v--)h[v]==l&&h.splice(v,1)},validateEmail:function(h){var l=!1,v=h.val().toString().trim().toLowerCase();stringUtils.isValidEmail(v)?(h.removeClass("error"),l=!0):(h.addClass("error"),h=webwave.utils.getInputErrorField(h),""===v?h.text(i18n.t("stringUtils.email.errors.cantBeEmpty")):
266h.text(i18n.t("stringUtils.email.errors.invalidSyntax")));return l},validatePassword:function(h){var l=!0,v=h.val();if(stringUtils.isValidPassword(v,stringUtils.passwordTypes.SIMPLE))h.removeClass("error");else{var p=webwave.utils.getInputErrorField(h);h.addClass("error");l=!1;p.text(i18n.t("stringUtils.password.errors.requirementsNotMet"));stringUtils.isValidPassword(v,stringUtils.passwordTypes.SIMPLE_WITHOUT_RESTRICTIONS)&&p.text(i18n.t("stringUtils.password.errors.invalidCharacters"))}return l}, 267getInputErrorField:function(h){return h.siblings(".errorField").first()},getLoggedWebmasterId:function(){return $("#webmasterFAId").val()},serializeError:function(h){return{name:h.name,message:h.message,stack:"string"==typeof h.stack?h.stack:void 0}},getExecutionSpeed:function(h,l,v,p){for(var w=performance.now(),u=0;u<h;u++)l.apply(v,p);return performance.now()-w},removeGetParamsFromUrl:function(){var h=window.location.toString();0<h.indexOf("?")&&(h=h.substring(0,h.indexOf("?")),window.history.replaceState({}, 268document.title,h))},getGETparam:function(h){for(var l=window.location.search.substr(1).split("&"),v={},p=0;p<l.length;p++){var w=l[p].split("=");v[w[0]]=w[1]}return v[h]},setEnvironmentUtils:function(h){e=h},getScreenResolution:function(){return screen.width+"x"+screen.height},copyToClipboard:function(h){var l=document.createElement("textarea");document.body.appendChild(l);l.value=h;l.select();document.execCommand("copy");document.body.removeChild(l)},addBeforeUnloadFunction:function(){window.addEventListener("beforeunload", 269f)},removeBeforeUnloadFunction:function(){window.removeEventListener("beforeunload",f)},getValueFromInput:function(h){h=document.getElementById(h);if(webwave.isDefAndNotNull(h))return h.getAttribute("value")}}}()},15:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.STACK_OVERFLOW=k.CIRCULAR_DEPENDENCY_IN_FACTORY=k.POST_CONSTRUCT_ERROR=k.MULTIPLE_POST_CONSTRUCT_METHODS=k.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK=k.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE=k.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE= 270k.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT=k.ARGUMENTS_LENGTH_MISMATCH=k.INVALID_DECORATOR_OPERATION=k.INVALID_TO_SELF_VALUE=k.INVALID_FUNCTION_BINDING=k.INVALID_MIDDLEWARE_RETURN=k.NO_MORE_SNAPSHOTS_AVAILABLE=k.INVALID_BINDING_TYPE=k.NOT_IMPLEMENTED=k.CIRCULAR_DEPENDENCY=k.UNDEFINED_INJECT_ANNOTATION=k.MISSING_INJECT_ANNOTATION=k.MISSING_INJECTABLE_ANNOTATION=k.NOT_REGISTERED=k.CANNOT_UNBIND=k.AMBIGUOUS_MATCH=k.KEY_NOT_FOUND=k.NULL_ARGUMENT=k.DUPLICATED_METADATA=k.DUPLICATED_INJECTABLE_DECORATOR=void 0; 271k.DUPLICATED_INJECTABLE_DECORATOR="Cannot apply @injectable decorator multiple times.";k.DUPLICATED_METADATA="Metadata key was used more than once in a parameter:";k.NULL_ARGUMENT="NULL argument";k.KEY_NOT_FOUND="Key Not Found";k.AMBIGUOUS_MATCH="Ambiguous match found for serviceIdentifier:";k.CANNOT_UNBIND="Could not unbind serviceIdentifier:";k.NOT_REGISTERED="No matching bindings found for serviceIdentifier:";k.MISSING_INJECTABLE_ANNOTATION="Missing required @injectable annotation in:";k.MISSING_INJECT_ANNOTATION= 272"Missing required @inject or @multiInject annotation in:";k.UNDEFINED_INJECT_ANNOTATION=function(t){return"@inject called with undefined this could mean that the class "+t+" has a circular dependency problem. You can use a LazyServiceIdentifer to overcome this limitation."};k.CIRCULAR_DEPENDENCY="Circular dependency found:";k.NOT_IMPLEMENTED="Sorry, this feature is not fully implemented yet.";k.INVALID_BINDING_TYPE="Invalid binding type:";k.NO_MORE_SNAPSHOTS_AVAILABLE="No snapshot available to restore."; 273k.INVALID_MIDDLEWARE_RETURN="Invalid return type in middleware. Middleware must return!";k.INVALID_FUNCTION_BINDING="Value provided to function binding must be a function!";k.INVALID_TO_SELF_VALUE="The toSelf function can only be applied when a constructor is used as service identifier";k.INVALID_DECORATOR_OPERATION="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.";k.ARGUMENTS_LENGTH_MISMATCH=function(){for(var t= 274[],q=0;q<arguments.length;q++)t[q]=arguments[q];return"The number of constructor arguments in the derived class "+t[0]+" must be >= than the number of constructor arguments of its base class."};k.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.";k.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').";k.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean"; 275k.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean";k.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class";k.POST_CONSTRUCT_ERROR=function(){for(var t=[],q=0;q<arguments.length;q++)t[q]=arguments[q];return"@postConstruct error in class "+t[0]+": "+t[1]};
275k.CIRCULAR_DEPENDENCY_IN_FACTORY=function(){for(var t=[],q=0;q<arguments.length;q++)t[q]=arguments[q];return"It looks like there is a circular dependency in one of the '"+ 276t[0]+"' bindings. Please investigate bindings withservice identifier '"+t[1]+"'."};k.STACK_OVERFLOW="Maximum call stack size exceeded"},1501:function(r,k,a){function t(f,g){var c=Object.keys(f);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(f);g&&(e=e.filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable}));c.push.apply(c,e)}return c}function q(f){for(var g=1;g<arguments.length;g++){var c=null!=arguments[g]?arguments[g]:{};g%2?t(Object(c),!0).forEach(function(e){Object(n.a)(f, 277e,c[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(c)):t(Object(c)).forEach(function(e){Object.defineProperty(f,e,Object.getOwnPropertyDescriptor(c,e))})}return f}a.d(k,"a",function(){return b});var n=a(14),m=a(0),d=a(1),b=function(){function f(){var g=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(m.a)(this,f);this.autoRetryCodes=[0,401,403];this.jQAjaxOptions={url:g.url,data:g.data,type:webwave.isDef(g.type)?g.type:f.DefaultJqAjaxSettings.type, 278async:webwave.isDef(g.async)?g.async:f.DefaultJqAjaxSettings.async,processData:webwave.isDef(g.processData)?g.processData:f.DefaultJqAjaxSettings.processData,cache:webwave.isDef(g.cache)?g.cache:f.DefaultJqAjaxSettings.cache,contentType:webwave.isDef(g.contentType)?g.contentType:f.DefaultJqAjaxSettings.contentType};this.callbacks={error:g.error,success:g.success};this.retryState=f._generateRetryState(g)}return Object(d.a)(f,[{key:"_handleRealSuccess",value:function(g,c,e){this.callbacks.success.call(this.callbacks.success, 279g,c,e)}},{key:"_handleRealError",value:function(g,c,e){this.callbacks.error.call(this.callbacks.error,g,c,e)}},{key:"_handleError",value:function(g,c,e){var h=this,l=null===g||void 0===g?void 0:g.status;(!0===this.retryState.retryOnError||this.autoRetryCodes.includes(l))&&this.retryState.count<this.retryState.retryLimit?(this.retryState.count+=1,!0===this.jQAjaxOptions.async?setTimeout(function(){h.send()},this.retryState.retryDelay):this.send()):this._handleRealError(g,c,e)}},{key:"send",value:function(){var g= 280this;$.ajax(q(q({},this.jQAjaxOptions),{},{success:function(c,e,h){!0===c.ajaxAutoLoginRequest?g._handleError({status:403,text:"session expired but redirect login is successfull"},"session expired but redirect login is successfull"):g._handleRealSuccess(c,e,h)},error:function(c,e,h){g._handleError(c,e,h)}}))}}],[{key:"_generateRetryState",value:function(g){return{retryOnError:!0===g.retryOnError,count:0,retryLimit:webwave.isNumberAndNotNaN(g.retryLimit)?g.retryLimit:2,retryDelay:webwave.isNumberAndNotNaN(g.retryDelay)? 281g.retryDelay:2E3,lastErrorData:{}}}}]),f}();b.DefaultJqAjaxSettings={type:"post",async:!0,data:{},processData:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",cache:!0}},153:function(r,k){function a(){throw Error("setTimeout has not been defined");}function t(){throw Error("clearTimeout has not been defined");}function q(v){if(f===setTimeout)return setTimeout(v,0);if((f===a||!f)&&setTimeout)return f=setTimeout,setTimeout(v,0);try{return f(v,0)}catch(p){try{return f.call(null,v,0)}catch(w){return f.call(this, 282v,0)}}}function n(){h&&c&&(h=!1,c.length?e=c.concat(e):l=-1,e.length&&m())}function m(){if(!h){var v=q(n);h=!0;for(var p=e.length;p;){c=e;for(e=[];++l<p;)c&&c[l].run();l=-1;p=e.length}c=null;h=!1;(function(w){if(g===clearTimeout)return clearTimeout(w);if((g===t||!g)&&clearTimeout)return g=clearTimeout,clearTimeout(w);try{g(w)}catch(u){try{return g.call(null,w)}catch(z){return g.call(this,w)}}})(v)}}function d(v,p){this.fun=v;this.array=p}function b(){}r=r.exports={};try{var f="function"==typeof setTimeout? 283setTimeout:a}catch(v){f=a}try{var g="function"==typeof clearTimeout?clearTimeout:t}catch(v){g=t}!0;var c,e=[],h=!1,l=-1;r.nextTick=function(v){var p=Array(arguments.length-1);if(1<arguments.length)for(var w=1;w<arguments.length;w++)p[w-1]=arguments[w];e.push(new d(v,p));1!==e.length||h||q(m)};d.prototype.run=function(){this.fun.apply(null,this.array)};r.title="browser";r.browser=!0;r.env={};r.argv=[];r.version="";r.versions={};r.on=b;r.addListener=b;r.once=b;r.off=b;r.removeListener=b;r.removeAllListeners= 284b;r.emit=b;r.prependListener=b;r.prependOnceListener=b;r.listeners=function(v){return[]};r.binding=function(v){throw Error("process.binding is not supported");};r.cwd=function(){return"/"};r.chdir=function(v){throw Error("process.chdir is not supported");};r.umask=function(){return 0}},154:function(r,k,a){k.a={HORIZONTAL:"horizontal",VERTICAL:"vertical"}},155:function(r,k,a){var t=this&&this.__awaiter||function(u,z,y,A){return new (y||(y=Promise))(function(E,C){function D(H){try{B(A.next(H))}catch(x){C(x)}} 285function F(H){try{B(A.throw(H))}catch(x){C(x)}}function B(H){H.done?E(H.value):function(x){return x instanceof y?x:new y(function(G){G(x)})}(H.value).then(D,F)}B((A=A.apply(u,z||[])).next())})},q=this&&this.__generator||function(u,z){function y(B){return function(H){return function(x){if(A)throw new TypeError("Generator is already executing.");for(;F;)try{if(A=1,E&&(C=2&x[0]?E.return:x[0]?E.throw||((C=E.return)&&C.call(E),0):E.next)&&!(C=C.call(E,x[1])).done)return C;switch(E=0,C&&(x=[2&x[0],C.value]), 286x[0]){case 0:case 1:C=x;break;case 4:return F.label++,{value:x[1],done:!1};case 5:F.label++;E=x[1];x=[0];continue;case 7:x=F.ops.pop();F.trys.pop();continue;default:if(!(C=0<(C=F.trys).length&&C[C.length-1])&&(6===x[0]||2===x[0])){F=0;continue}if(3===x[0]&&(!C||x[1]>C[0]&&x[1]<C[3]))F.label=x[1];else if(6===x[0]&&F.label<C[1])F.label=C[1],C=x;else if(C&&F.label<C[2])F.label=C[2],F.ops.push(x);else{C[2]&&F.ops.pop();F.trys.pop();continue}}x=z.call(u,F)}catch(G){x=[6,G],E=0}finally{A=C=0}if(5&x[0])throw x[1]; 287return{value:x[0]?x[1]:void 0,done:!0}}([B,H])}}var A,E,C,D,F={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return D={next:y(0),throw:y(1),return:y(2)},"function"==typeof Symbol&&(D[Symbol.iterator]=function(){return this}),D},n=this&&this.__spreadArray||function(u,z){for(var y=0,A=z.length,E=u.length;y<A;y++,E++)u[E]=z[y];return u};Object.defineProperty(k,"__esModule",{value:!0});k.Container=void 0;var m=a(156),d=a(15),b=a(19),f=a(12),g=a(64),c=a(157),e=a(164),h=a(166), 288l=a(24),v=a(31),p=a(169),w=a(170);r=function(){function u(z){this._appliedMiddleware=[];z=z||{};if("object"!=typeof z)throw Error(""+d.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT);if(void 0===z.defaultScope)z.defaultScope=b.BindingScopeEnum.Transient;else if(z.defaultScope!==b.BindingScopeEnum.Singleton&&z.defaultScope!==b.BindingScopeEnum.Transient&&z.defaultScope!==b.BindingScopeEnum.Request)throw Error(""+d.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE);if(void 0===z.autoBindInjectable)z.autoBindInjectable= 289!1;else if("boolean"!=typeof z.autoBindInjectable)throw Error(""+d.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE);if(void 0===z.skipBaseClassChecks)z.skipBaseClassChecks=!1;
289else if("boolean"!=typeof z.skipBaseClassChecks)throw Error(""+d.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK);this.options={autoBindInjectable:z.autoBindInjectable,defaultScope:z.defaultScope,skipBaseClassChecks:z.skipBaseClassChecks};this.id=l.id();this._bindingDictionary=new w.Lookup;this._snapshots=[];this.parent=this._middleware= 290null;this._metadataReader=new g.MetadataReader}return u.merge=function(z,y){for(var A=[],E=2;E<arguments.length;E++)A[E-2]=arguments[E];E=new u;A=n([z,y],A).map(function(D){return c.getBindingDictionary(D)});var C=c.getBindingDictionary(E);return A.forEach(function(D){!function(F,B){F.traverse(function(H,x){x.forEach(function(G){B.add(G.serviceIdentifier,G.clone())})})}(D,C)}),E},u.prototype.load=function(){for(var z=[],y=0;y<arguments.length;y++)z[y]=arguments[y];y=this._getContainerModuleHelpersFactory(); 291for(var A=0;A<z.length;A++){var E=z[A],C=y(E.id);E.registry(C.bindFunction,C.unbindFunction,C.isboundFunction,C.rebindFunction)}},u.prototype.loadAsync=function(){for(var z=[],y=0;y<arguments.length;y++)z[y]=arguments[y];return t(this,void 0,void 0,function(){var A,E,C,D,F;return q(this,function(B){switch(B.label){case 0:A=this._getContainerModuleHelpersFactory(),E=0,C=z,B.label=1;case 1:return E<C.length?(D=C[E],F=A(D.id),[4,D.registry(F.bindFunction,F.unbindFunction,F.isboundFunction,F.rebindFunction)]): 292[3,4];case 2:B.sent(),B.label=3;case 3:return E++,[3,1];case 4:return[2]}})})},u.prototype.unload=function(){for(var z=this,y=[],A=0;A<arguments.length;A++)y[A]=arguments[A];y.forEach(function(E){E=function(C){return function(D){return D.moduleId===C}}(E.id);z._bindingDictionary.removeByCondition(E)})},u.prototype.bind=function(z){var y=new m.Binding(z,this.options.defaultScope||b.BindingScopeEnum.Transient);return this._bindingDictionary.add(z,y),new h.BindingToSyntax(y)},u.prototype.rebind=function(z){return this.unbind(z), 293this.bind(z)},u.prototype.unbind=function(z){try{this._bindingDictionary.remove(z)}catch(y){throw Error(d.CANNOT_UNBIND+" "+v.getServiceIdentifierAsString(z));}},u.prototype.unbindAll=function(){this._bindingDictionary=new w.Lookup},u.prototype.isBound=function(z){var y=this._bindingDictionary.hasKey(z);return!y&&this.parent&&(y=this.parent.isBound(z)),y},u.prototype.isBoundNamed=function(z,y){return this.isBoundTagged(z,f.NAMED_TAG,y)},u.prototype.isBoundTagged=function(z,y,A){var E=!1;if(this._bindingDictionary.hasKey(z)){E= 294this._bindingDictionary.get(z);var C=c.createMockRequest(this,z,y,A);E=E.some(function(D){return D.constraint(C)})}return!E&&this.parent&&(E=this.parent.isBoundTagged(z,y,A)),E},u.prototype.snapshot=function(){this._snapshots.push(p.ContainerSnapshot.of(this._bindingDictionary.clone(),this._middleware))},u.prototype.restore=function(){var z=this._snapshots.pop();if(void 0===z)throw Error(d.NO_MORE_SNAPSHOTS_AVAILABLE);this._bindingDictionary=z.bindings;this._middleware=z.middleware},u.prototype.createChild= 295function(z){z=new u(z||this.options);return z.parent=this,z},u.prototype.applyMiddleware=function(){for(var z=[],y=0;y<arguments.length;y++)z[y]=arguments[y];this._appliedMiddleware=this._appliedMiddleware.concat(z);y=this._middleware?this._middleware:this._planAndResolve();this._middleware=z.reduce(function(A,E){return E(A)},y)},u.prototype.applyCustomMetadataReader=function(z){this._metadataReader=z},u.prototype.get=function(z){return this._get(!1,!1,b.TargetTypeEnum.Variable,z)},u.prototype.getTagged= 296function(z,y,A){return this._get(!1,!1,b.TargetTypeEnum.Variable,z,y,A)},u.prototype.getNamed=function(z,y){return this.getTagged(z,f.NAMED_TAG,y)},u.prototype.getAll=function(z){return this._get(!0,!0,b.TargetTypeEnum.Variable,z)},u.prototype.getAllTagged=function(z,y,A){return this._get(!1,!0,b.TargetTypeEnum.Variable,z,y,A)},u.prototype.getAllNamed=function(z,y){return this.getAllTagged(z,f.NAMED_TAG,y)},u.prototype.resolve=function(z){var y=this.createChild();return y.bind(z).toSelf(),this._appliedMiddleware.forEach(function(A){y.applyMiddleware(A)}), 297y.get(z)},u.prototype._getContainerModuleHelpersFactory=function(){var z=this;return function(y){return{bindFunction:function(A){return function(E){E=z.bind.bind(z)(E);E._binding.moduleId=A;return E}}(y),isboundFunction:function(A){return z.isBound.bind(z)(A)},rebindFunction:function(A){return function(E){E=z.rebind.bind(z)(E);E._binding.moduleId=A;return E}}(y),unbindFunction:function(A){z.unbind.bind(z)(A)}}}},u.prototype._get=function(z,y,A,E,C,D){var F=null;z={avoidConstraints:z,contextInterceptor:function(B){return B}, 298isMultiInject:y,key:C,serviceIdentifier:E,targetType:A,value:D};if(this._middleware){if(void 0===(F=this._middleware(z))||null===F)throw Error(d.INVALID_MIDDLEWARE_RETURN);}else F=this._planAndResolve()(z);return F},u.prototype._planAndResolve=function(){var z=this;return function(y){var A=c.plan(z._metadataReader,z,y.isMultiInject,y.targetType,y.serviceIdentifier,y.key,y.value,y.avoidConstraints);return A=y.contextInterceptor(A),e.resolve(A)}},u}();k.Container=r},156:function(r,k,a){Object.defineProperty(k, 299"__esModule",{value:!0});k.Binding=void 0;var t=a(19),q=a(24);r=function(){function n(m,d){this.id=q.id();this.activated=!1;this.serviceIdentifier=m;this.scope=d;this.type=t.BindingTypeEnum.Invalid;this.constraint=function(b){return!0};this.dynamicValue=this.onActivation=this.provider=this.factory=this.cache=this.implementationType=null}return n.prototype.clone=function(){var m=new n(this.serviceIdentifier,this.scope);return m.activated=m.scope===t.BindingScopeEnum.Singleton&&this.activated,m.implementationType= 300this.implementationType,m.dynamicValue=this.dynamicValue,m.scope=this.scope,m.type=this.t
300ype,m.factory=this.factory,m.provider=this.provider,m.constraint=this.constraint,m.onActivation=this.onActivation,m.cache=this.cache,m},n}();k.Binding=r},157:function(r,k,a){function t(w,u,z,y,A){var E=q(z.container,A.serviceIdentifier),C=[];return E.length===n.BindingCount.NoBindingsAvailable&&z.container.options.autoBindInjectable&&"function"==typeof A.serviceIdentifier&&w.getConstructorMetadata(A.serviceIdentifier).compilerGeneratedMetadata&& 301(z.container.bind(A.serviceIdentifier).toSelf(),E=q(z.container,A.serviceIdentifier)),C=u?E:E.filter(function(D){var F=new v.Request(D.serviceIdentifier,z,y,D,A);return D.constraint(F)}),function(D,F,B,H){switch(F.length){case n.BindingCount.NoBindingsAvailable:if(B.isOptional())return F;D=g.getServiceIdentifierAsString(D);F=m.NOT_REGISTERED;throw F+=g.listMetadataForTarget(D,B),F+=g.listRegisteredBindingsForServiceIdentifier(H,D,q),Error(F);case n.BindingCount.OnlyOneBindingAvailable:if(!B.isArray())return F; 302default:if(B.isArray())return F;D=g.getServiceIdentifierAsString(D);F=m.AMBIGUOUS_MATCH+" "+D;throw F+=g.listRegisteredBindingsForServiceIdentifier(H,D,q),Error(F);}}(A.serviceIdentifier,C,A,z.container),C}function q(w,u){var z=[],y=w._bindingDictionary;return y.hasKey(u)?z=y.get(u):null!==w.parent&&(z=q(w.parent,u)),z}Object.defineProperty(k,"__esModule",{value:!0});k.getBindingDictionary=k.createMockRequest=k.plan=void 0;var n=a(158),m=a(15),d=a(19),b=a(12),f=a(65),g=a(31),c=a(159),e=a(18),h=a(160), 303l=a(161),v=a(163),p=a(67);k.getBindingDictionary=function(w){return w._bindingDictionary};k.plan=function(w,u,z,y,A,E,C,D){void 0===D&&(D=!1);u=new c.Context(u);z=function(F,B,H,x,G,I){F=new e.Metadata(F?b.MULTI_INJECT_TAG:b.INJECT_TAG,H);B=new p.Target(B,x,H,F);void 0!==G&&(G=new e.Metadata(G,I),B.metadata.push(G));return B}(z,y,A,"",E,C);try{return function M(B,H,x,G,I,L){if(null===I){H=t(B,H,G,null,L);var P=new v.Request(x,G,null,H,L);x=new h.Plan(G,P);G.addPlan(x)}else H=t(B,H,G,I,L),P=I.addChildRequest(L.serviceIdentifier, 304H,L);H.forEach(function(R){var Y=null;if(L.isArray())Y=P.addChildRequest(R.serviceIdentifier,R,L);else{if(R.cache)return;Y=P}if(R.type===d.BindingTypeEnum.Instance&&null!==R.implementationType){var K=l.getDependencies(B,R.implementationType);if(!G.container.options.skipBaseClassChecks){var Q=l.getBaseClassDependencyCount(B,R.implementationType);if(K.length<Q)throw R=m.ARGUMENTS_LENGTH_MISMATCH(l.getFunctionName(R.implementationType)),Error(R);}K.forEach(function(S){M(B,!1,S.serviceIdentifier,G,Y, 305S)})}})}(w,D,A,u,null,z),u}catch(F){throw f.isStackOverflowExeption(F)&&u.plan&&g.circularDependencyToException(u.plan.rootRequest),F;}};k.createMockRequest=function(w,u,z,y){z=new p.Target(d.TargetTypeEnum.Variable,"",u,new e.Metadata(z,y));w=new c.Context(w);return new v.Request(u,w,null,[],z)}},158:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.BindingCount={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1}},1582:function(r,k,a){k.a={CROSSFADE:"crossfade", 306FADE_IN_OVER:"fadeInOver",EXPLOSION:"explosion",FADE:"fade",RANDOM:"random",SLIDE:"slide",SQUARE_FALL:"squareFall",
306SQUARE_SHUTTER:"squareShutter",SQUARE_VORTEX:"squareVortex"}},159:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.Context=void 0;var t=a(24);r=function(){function q(n){this.id=t.id();this.container=n}return q.prototype.addPlan=function(n){this.plan=n},q.prototype.setCurrentRequest=function(n){this.currentRequest=n},q}();k.Context=r},1598:function(r,k,a){k.a={TOP:"top", 307RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}},160:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.Plan=void 0;r=function(){return function(t,q){this.parentContext=t;this.rootRequest=q}}();k.Plan=r},161:function(r,k,a){function t(e,h,l,v){var p=e.getConstructorMetadata(l),w=p.compilerGeneratedMetadata;if(void 0===w)throw Error(d.MISSING_INJECTABLE_ANNOTATION+" "+h+".");p=p.userGeneratedMetadata;var u=Object.keys(p),z=u.length>l.length;h=function(y,A,E,C,D){for(var F=[],B=0;B<D;B++){var H= 308B,x=y,G=A,I=E;var L=C[H.toString()]||[];var M=q(L),P=!0!==M.unmanaged;I=I[H];if((I=M.inject||M.multiInject||I)instanceof m.LazyServiceIdentifer&&(I=I.unwrap()),P){P=I===Object;var R=I===Function;if(!x&&(P||R||void 0===I))throw Error(d.MISSING_INJECT_ANNOTATION+" argument "+H+" in class "+G+".");H=new c.Target(b.TargetTypeEnum.ConstructorArgument,M.targetName,I);L=(H.metadata=L,H)}else L=null;null!==L&&F.push(L)}return F}(v,h,w,p,0===l.length&&0<u.length||z?u.length:l.length);e=function C(A,E){for(var D= 309A.getPropertiesMetadata(E),F=[],B=0,H=Object.keys(D);B<H.length;B++){var x=H[B],G=D[x],I=q(D[x]);x=new c.Target(b.TargetTypeEnum.ClassProperty,I.targetName||x,I.inject||I.multiInject);x.metadata=G;F.push(x)}E=Object.getPrototypeOf(E.prototype).constructor;E!==Object&&(A=C(A,E),F=n(n([],F),A));return F}(e,l);return n(n([],h),e)}function q(e){var h={};return e.forEach(function(l){h[l.key.toString()]=l.value}),{inject:h[f.INJECT_TAG],multiInject:h[f.MULTI_INJECT_TAG],targetName:h[f.NAME_TAG],unmanaged:h[f.UNMANAGED_TAG]}} 310var n=this&&this.__spreadArray||function(e,h){for(var l=0,v=h.length,p=e.length;l<v;l++,p++)e[p]=h[l];return e};Object.defineProperty(k,"__esModule",{value:!0});k.getFunctionName=k.getBaseClassDependencyCount=k.getDependencies=void 0;var m=a(66),d=a(15),b=a(19),f=a(12),g=a(31);Object.defineProperty(k,"getFunctionName",{enumerable:!0,get:function(){return g.getFunctionName}});var c=a(67);k.getDependencies=function(e,h){return t(e,g.getFunctionName(h),h,!1)};k.getBaseClassDependencyCount=function v(h, 311l){l=Object.getPrototypeOf(l.prototype).constructor;if(l!==Object){var p=t(h,g.getFunctionName(l),l,!0),w=p.map(function(u){return u.metadata.filter(function(z){return z.key===f.UNMANAGED_TAG})});w=[].concat.apply([],w).length;p=p.length-w;return 0<p?p:v(h,l)}return 0}},162:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.QueryableString=void 0;r=function(){function t(q){this.str=q}return t.prototype.startsWith=function(q){return 0===this.str.indexOf(q)},t.prototype.endsWith=function(q){var n; 312q=q.split("").reverse().join("");return n=this.str.split("").reverse().join(""),this.startsWith.call({str:n},q)},t.prototype.contains=function(q){return-1!==this.str.indexOf(q)},t.prototype.equals=function(q){return this.str===q},t.prototype.value=function(){return this.str},t}();k.QueryableString=r},163:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.Request=void 0;var t=a(24);r=function(){function q(n,m,d,b,f){this.id=t.id();this.serviceIdentifier=n;this.parentContext=m;this.parentRequest= 313d;this.target=f;this.childRequests=[];this.bindings=Array.isArray(b)?b:[b];this.requestScope=null===d?new Map:null}return q.prototype.addChildRequest=function(n,m,d){n=new q(n,this.parentContext,this,m,d);return this.childRequests.push(n),n},q}();k.Request=r},164:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.resolve=void 0;var t=a(15),q=a(19),n=a(65),m=a(31),d=a(165),b=function(g,c,e){try{return e()}catch(h){throw n.isStackOverflowExeption(h)?Error(t.CIRCULAR_DEPENDENCY_IN_FACTORY(g, 314c.toString())):h;}},f=function(g){return function(c){c.parentContext.setCurrentRequest(c);var e=c.bindings,h=c.childRequests,l=c.target&&c.target.isArray(),v=!(c.parentRequest&&c.parentRequest.target&&c.target&&c.parentRequest.target.matchesArray(c.target.serviceIdentifier));if(l&&v)return h.map(function(w){return f(g)(w)});l=null;if(!c.target.isOptional()||0!==e.length){var p=e[0];e=p.scope===q.BindingScopeEnum.Singleton;v=p.scope===q.BindingScopeEnum.Request;if(e&&p.activated)return p.cache;if(v&& 315null!==g&&g.has(p.id))return g.get(p.id);if(p.type===q.BindingTypeEnum.ConstantValue)l=p.cache,p.activated=!0;else if(p.type===q.BindingTypeEnum.Function)l=p.cache,p.activated=!0;else if(p.type===q.BindingTypeEnum.Constructor)l=p.implementationType;else if(p.type===q.BindingTypeEnum.DynamicValue&&null!==p.dynamicValue)l=b("toDynamicValue",p.serviceIdentifier,function(){return p.dynamicValue(c.parentContext)});else if(p.type===q.BindingTypeEnum.Factory&&null!==p.factory)l=b("toFactory",p.serviceIdentifier, 316function(){return p.factory(c.parentContext)});else if(p.type===q.BindingTypeEnum.Provider&&null!==p.provider)l=b("toProvider",p.serviceIdentifier,function(){return p.provider(c.parentContext)});else{if(p.type!==q.BindingTypeEnum.Instance||null===p.implementationType)throw h=m.getServiceIdentifierAsString(c.serviceIdentifier),Error(t.INVALID_BINDING_TYPE+" "+h);l=d.resolveInstance(p.implementationType,h,f(g))}return"function"==typeof p.onActivation&&(l=p.onActivation(c.parentContext,l)),e&&(p.cache= 317l,p.activated=!0),v&&null!==g&&!g.has(p.id)&&g.set(p.id,l),l}}};k.resolve=function(g){return f(g.plan.rootRequest.requestScope)(g.plan.rootRequest)}},1642:function(r,k,a){k.a={BLOCK:"block",NONE:"none"}},1643:function(r,k,a){k.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"}},165:function(r, 318k,a){var t=this&&this.__spreadArray||function(d,b){for(var f=0,g=b.length,c=d.length;f<g;f++,c++)d[c]=b[f];return d};Object.defineProperty(k,"__esModule",{value:!0});k.resolveInstance=void 0;var q=a(15),n=a(19),m=a(12);k.resolveInstance=function(d,b,f){var g=null;return g=0<b.length?function(c,e,h){e=e.filter(function(v){return null!==v.target&&v.target.type===n.TargetTypeEnum.ClassProperty});var l=e.map(h);return e.forEach(function(v,p){v=v.target.name.value();c[v]=l[p]}),c}(g=function(c,e){return new (c.bind.apply(c, 319t([void 0],e)))}(d,b.filter(function(c){return null!==c.target&&c.target.type===n.TargetTypeEnum.ConstructorArgument}).map(f)),b,f):new d,function(c,e){if(Reflect.hasMetadata(m.POST_CONSTRUCT,c)){var h=Reflect.getMetadata(m.POST_CONSTRUCT,c);try{e[h.value]()}catch(l){throw Error(q.POST_CONSTRUCT_ERROR(c.name,l.message));}}}(d,g),g}},1653:function(r,k,a){function t(C){var D=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 320try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}();return function(){var F=Object(f.a)(C);if(D){var B=Object(f.a)(this).constructor;F=Reflect.construct(F,arguments,B)}else F=F.apply(this,arguments);return Object(b.a)(this,F)}}a.d(k,"a",function(){return E});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2);r=a(981);var g=a(54),c=a(868),e=a(30),h=a(739),l=a(40),v=a(2263),p=a(43);k=(a(82),a(2264),a(92));
320var w=a(1711),u=a(1348),z=a(959),y=a(806), 321A=[k.a.BUTTON,k.a.IMG,k.a.STORE_CART,k.a.STORE_PRODUCT];webwave.provide("com.webwave.publication.object.WObject");var E=function(C){function D(B){var H;return Object(q.a)(this,D),(H=F.call(this,B)).backgroundParallaxService=B.backgroundParallaxService,H.objectService=B.objectService,H._rwdService=B.rwdService,H._pageaAreaService=null,H.$domObject=B.domObject,!1===H.hasBackgroundOverlayDom()&&H._renderBackgroundOverlayDom(),H.cachedDom=H.cacheDom(H.$domObject[0]),H.$content=void 0,H._type=H.$domObject[0].getAttribute("data-element-type"), 322H.objectStyle={},H.fixed=null,H.objectStyle=webwave.isDefAndNotNull(B.objectStyle)?c.a.deserialize(B.objectStyle):new c.a,H._positionOrigin=h.a.PAGE_TOP_LEFT,H._rwdProperties=H._deserializeRwdPropertiesMap(B.rwdProperties),H.rotationDegree=D.DEFAULT_ROTATION_DEGREE,H._hooverAnimatorData=B.hoverAnimator,H._hoverAnimator=void 0,H._propertyChangeDispatcher=new l.a,H._domElementPositionUpdateEnabled=!1,H._visibilityRequiresAnimation=!1,H._animationsInitialized=!1,H}Object(d.a)(D,C);var F=t(D);return Object(n.a)(D, 323[{key:"cacheDom",value:function(B){return{content:B.children[0],backgroundOverlay:B.children[1]}}},{key:"isHoverAnimatorEnabled",value:function(){return-1!==A.indexOf(this.getType())&&webwave.isDef(this.getHoverAnimator())}},{key:"_updateHoverAnimationDisabled",value:function(){this.getHoverAnimator().setDisabled(!1===this.isHoverEventsEnabled())}},{key:"setHoverAnimator",value:function(B){this._hoverAnimator=B}},{key:"getHoverAnimatorData",value:function(){return this._hooverAnimatorData}},{key:"enableHoverEvents", 324value:function(){this.hoverEventsEnabled=!0;this._updateHoverAnimationDisabled();this.getState().setLocked(!1)}},{key:"disableHoverEvents",value:function(){this.hoverEventsEnabled=!1;this._updateHoverAnimationDisabled();this.getState().setLocked(!0)}},{key:"init",value:function(){var B;this.isParallaxActive()&&this.backgroundParallaxService.addParallaxListener(this);this.setRwdMode(null===(B=this._rwdService)||void 0===B?void 0:B.getCurrentRwdMode());this.isFullWidth()&&this.updateDomSizeAndPosition(); 325this.initHoverEvents()}},{key:"createStatesStyles",value:function(B){return y.a.deserialize(B)}},{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(D.prototype),"afterDomSizeChange",this).call(this);this.canBeRotated()&&this.updateDomSizeForRotatedObject();this.triggerPropertyChange(z.a.DOM_SIZE,this.getComputedSize())}},{key:"isFixed",value:function(){return!0===this.fixed}},{key:"setFixed",value:function(B){var H=this.fixed!==B;this.fixed=B;H&&this.setFixedAttribute(B)}},{key:"setFixedAttribute", 326value:function(B){this.$domObject[0].setAttribute("fixed",B)}},{key:"getContent",value:function(){return webwave.isNotDef(this.$content)&&(this.$content=$(this.cachedDom.content)),this.$content}},{key:"getContentEl",value:function(){return this.cachedDom.content}},{key:"getDomObject",value:function(){return webwave.isDef(this.$domObject)?this.$domObject:$()}},{key:"getY",value:function(){return this.getComputedPosition().getY()}},{key:"getHeight",value:function(){return this.getComputedSize().getHeight()}}, 327{key:"getWidth",value:function(){return this.getComputedSize().getWidth()}},{key:"getBackgroundParallax",value:function(){return this.objectStyle.background.parallax}},{key:"getShadowSizeCorrection",value:function(){var B={top:0,right:0,bottom:0,left:0};if(!0===this.objectStyle.shadow.enabled){var H=this.objectStyle.shadow,x=Math.ceil(H.blur);B.left=0>H.x?-H.x+x:x;B.right=0<H.x?H.x+x:x;B.top=0>H.y?-H.y+x:x;B.bottom=0<H.y?H.y+x:x}return B}},{key:"isRotated",value:function(){var B=!1;return this.canBeRotated()&& 328this.isRotationEnabled()&&this.rotationDegree!==D.DEFAULT_ROTATION_DEGREE&&(B=!0),B}},{key:"getRotationTransformCss",value:function(){return this.isRotated()?"rotate(".concat(this.rotationDegree,"deg)"):""}}
328,{key:"updateBackgroundParallaxPosition",value:function(B){webwave.isNotDef(B)&&(B=pageService.getWindowScroll());var H=this.objectStyle.background.parallax;webwave.isNumberAndNotNaN(B)&&100!==H&&(B-=this.getY(),H=parseInt(B-H/100*B),H=0>H?" - ".concat(Math.abs(H),"px"):" + ".concat(H,"px"),this.setVerticalBackgroundPositionForParallax(H))}}, 329{key:"setVerticalBackgroundPositionForParallax",value:function(B){B="calc(".concat(this.objectStyle.background.verticalPosition).concat(B,")");this.getContentEl().style.backgroundPosition="".concat(this.objectStyle.background.horizontalPosition," ").concat(B)}},{key:"isParallaxActive",value:function(){return this.objectStyle.isParallaxActive()}},{key:"setVisibilityRequiresAnimation",value:function(B){this._visibilityRequiresAnimation=B}},{key:"setAnimationsInitliazed",value:function(B){var H=this._animationsInitialized!== 330B;this._animationsInitialized=B;H&&this.updateBaseVisibility()}},{key:"isVisiblilityRequiresAnimation",value:function(){return this._visibilityRequiresAnimation}},{key:"isAnimationInitialized",value:function(){return this._animationsInitialized}},{key:"_loadRwdProperties",value:function(B){this.setVisibilityRequiresAnimation(B.animationOnScrollEnabled||B.animationEnabled);this.updateBaseVisibility();this.setAllPadding(B.style.padding);this.setRotationEnabled(B.rotationEnabled);this.setRotation(B.rotation); 331this.setSize(B.size,{noDomElementUpdate:!0});this.setFullWidth(B.fullWidth,{noDomUpdate:!0});this.setPositionOrigin(B.positionOrigin,{noDomUpdate:!0});this.setPosition(B.position,{noDomElementUpdate:!0});this.applyBindsRwd(B.binds);this.setFixed(!0===B.fixed);this.setSticky(!0===B.sticky);this.setStickyStartDistance(B.stickyStartDistance);this.setStickyEndDistance(B.stickyEndDistance);this.setStickyEndDistanceEnabled(B.stickyEndDistanceEnabled);this.loadAdditionalData(B.additionalProperties);this.updateDomSizeAndPosition(); 332this.updateMinSize();this.updateContentDomStyle()}},{key:"loadAdditionalData",value:function(B){}},{key:"setRwdMode",value:function(B){webwave.isDefAndNotNull(this._rwdService)&&(this._rwdService.changeElementsAttributes(this.getDomObject()[0],B),(B=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,B))&&this._loadRwdProperties(B))}},{key:"updateObjectForRwdChange",value:function(B){this.setRwdMode(B)}},{key:"getRotation",value:function(){return this.rotationDegree}},{key:"getOpacity", 333value:function(){return this.objectStyle.opacity}},{key:"getComputedOpacity",value:function(){return this.objectStyle.getComputedOpacity()}},{key:"isFullWidth",value:function(){return"true"===this.getDomObject()[0].getAttribute("fullWidth")}},{key:"triggerAnimationChanged",value:function(){}},{key:"canChangeAnimationEnabled",value:function(){}},{key:"_deserializeRwdPropertiesMap",value:function(B){var H={};try{if(webwave.isDefAndNotNull(B))for(var x in B)B.hasOwnProperty(x)&&(H[x]=new v.a(B[x]))}catch(G){console.log(G), 334H={}}return H}},{key:"setAllPadding",value:function(B){this.objectStyle.padding=B}},{key:"canBeRotated",value:function(){return!1}},{key:"isRotationEnabled",value:function(){return this.rotationEnabled}},{key:"setRotationEnabled",value:function(B){this.rotationEnabled=!0===B}},{key:"setRotation",value:function(B){this.rotationDegree=webwave.isNumberAndNotNaN(B)?B:0}},{key:"setFullWidth",value:function(B,H){this.fullWidth=B;this.$domObject[0].setAttribute("fullWidth",!0===B);(webwave.isNotDef(H)|| 335!0!==H.noDomUpdate)&&this.updateDomSizeAndPosition()}},{key:"setPositionOrigin",value:function(B,H){this._positionOrigin=B;this.$domObject[0].setAttribute("data-positionOrigin",B);(webwave.isNotDef(H)||!0!==H.noDomUpdate)&&this.updateDomPosition()}},{key:"getInnerWidth",value:function(){return this.computeSize({noRotation:!0}).getWidth()-this.getPaddingAndBorderSizes().horizontal}},{key:"getInnerHeight",value:function(){return this.computeSize({noRotation:!0}).getHeight()-this.getPaddingAndBorderSizes().vertical}}, 336{key:"calculateMinContentSize",value:function(){return new p.a({width:0,height:0})}},{key:"calculateMinSize",value:function(){var B=this.calculateMinContentSize(),H=this.getPaddingAndBorderSizes();return new p.a({width:B.getWidth()+H.horizontal,height:B.getHeight()+H.vertical})}},{key:"getPadding",value:function(B){var H=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!0===this.getObjectStyle().padding.enabled||H)switch(B){case "left"
336:var x=parseInt(this.objectStyle.padding.left);break; 337case "right":x=parseInt(this.objectStyle.padding.right);break;case "top":x=parseInt(this.objectStyle.padding.top);break;case "bottom":x=parseInt(this.objectStyle.padding.bottom)}return isNaN(x)?0:x}},{key:"getBorderWidth",value:function(B,H){switch(B){case "left":var x=!0===H?this.objectStyle.border.getComputedLeftWidth():this.objectStyle.border.left.width;break;case "top":x=!0===H?this.objectStyle.border.getComputedTopWidth():this.objectStyle.border.top.width;break;case "right":x=!0===H?this.objectStyle.border.getComputedRightWidth(): 338this.objectStyle.border.right.width;break;case "bottom":x=!0===H?this.objectStyle.border.getComputedBottomWidth():this.objectStyle.border.bottom.width}return x=parseInt(x),isNaN(x)?0:x}},{key:"getBorderEnabled",value:function(){return this.getObjectStyle().border.enabled}},{key:"getPaddingAndBorderSizes",value:function(){var B=(this.objectStyle.border.enabled?this.objectStyle.border.top.width:0)+(this.objectStyle.padding.enabled?this.objectStyle.padding.top:0),H=(this.objectStyle.border.enabled?this.objectStyle.border.right.width: 3390)+(this.objectStyle.padding.enabled?this.objectStyle.padding.right:0),x=(this.objectStyle.border.enabled?this.objectStyle.border.bottom.width:0)+(this.objectStyle.padding.enabled?this.objectStyle.padding.bottom:0),G=(this.objectStyle.border.enabled?this.objectStyle.border.left.width:0)+(this.objectStyle.padding.enabled?this.objectStyle.padding.left:0);return{top:B=webwave.isNumberAndNotNaN(B)?B:0,right:H=webwave.isNumberAndNotNaN(H)?H:0,bottom:x=webwave.isNumberAndNotNaN(x)?x:0,left:G=webwave.isNumberAndNotNaN(G)? 340G:0,horizontal:G+H,vertical:B+x}}},{key:"transformSizesToRotation",value:function(B,H,x){var G=Math.PI/180*x;x=Math.abs(Math.sin(G));G=Math.abs(Math.cos(G));return new p.a({width:Math.round(G*B+x*H),height:Math.round(x*B+G*H)})}},{key:"setPageAreaService",value:function(B){this._pageaAreaService=B}},{key:"getPageAreaService",value:function(){return this._pageaAreaService}},{key:"isObjectSizeAndPositionShouldBeConvertedToPX",value:function(){return this.isUnitShouldBeConvertedToPX(this.getPosition().getXUnit())|| 341this.isUnitShouldBeConvertedToPX(this.getPosition().getYUnit())||this.isUnitShouldBeConvertedToPX(this.getSize().getWidthUnit())||this.isUnitShouldBeConvertedToPX(this.getSize().getHeightUnit())}},{key:"isUnitShouldBeConvertedToPX",value:function(B){return B!==g.a.PX}},{key:"hasAnyAncestorObjectAnimationQueueItem",value:function(){var B=!1;return this.forEachAncestor(function(H){B=B||H.hasObjectAnimationQueueItem()}),B}},{key:"computeBaseVisibility",value:function(){var B;return(!this.isVisiblilityRequiresAnimation()|| 342!1!==this.isAnimationInitialized()&&(!1!==this.hasObjectAnimationQueueItem()||!1!==this.hasAnyAncestorObjectAnimationQueueItem()))&&this.getRwdModeVisibility(null===(B=this.getRwdService())||void 0===B?void 0:B.getCurrentRwdMode())}},{key:"getRwdModeVisibility",value:function(B){var H=!0;if(webwave.isDefAndNotNull(B)){var x=this.getLayoutVisibility();webwave.isDefAndNotNull(x)?H=x:(B=this._rwdService.searchForClosestObjectByRwdMode(this._rwdProperties,B),webwave.isDef(B)&&(H=B.visibility))}return H}}, 343{key:"getLayoutVisibility",value:function(){var B=null,H=this.objectService.getLayoutObjectVisibility(this.id);webwave.isDefAndNotNull(H)&&(H=H[this._rwdService.getCurrentRwdMode().getId()],webwave.isDef(H)&&(B=H));return B}},{key:"onVisibilityChange",value:function(){var B=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(m.a)(Object(f.a)(D.prototype),"onVisibilityChange",this).call(this,B);this.isHoverAnimatorEnabled()&&(this.isVisible()?this.getHoverAnimator().setDisabled(!1):this.getHoverAnimator().setDisabled(!0))}}, 344{key:"getContentSize",value:function(){return new p.a({width:this.getContentEl().offsetWidth,height:this.getContentEl().offsetHeight})}},{key:"setMinSize",value:function(B,H){H=!1===this._minSize.equals(B);this._minSize=B.clone();H&&this.updateDomSizeAndPosition()}},{key:"updateMinSize",value:function(){this.setMinSize(this.calculateMinSize())}},{key:"updateDomSizeForRotatedObject",value:function(){if(this.getRotation()!==D.DEFAULT_ROTATION_DEGREE){var B=this.computeSize({noRotation:!0}),H=this.getContentEl(), 345x=B.getWidth();H.style.width="".concat(B.getWidth(),"px");B=B.getHeight();H.style.height="".concat(B,"px");x=this.calcRotatedContentPosition(x,B,this.getRotation());H.style.left="".concat(x.x,"px");H.style.top="".concat(x.y,"px")}else this._resetSizeAndPositionForContent()}},{key:"calcRotatedContentPosition",value:function(B,H,x){var G=Math.PI/180*x;x=Math.cos(G);G=Math.sin(G);var I=0,L=0;return 0>x&&(I+=-x*B,L+=-x*H),0<G?I+=G*H:0>G&&(L+=-G*B),new e.a({x:I,y:L})}},{key:"useAdvancedTextEditor",value:function(){return!1}},
346{key:"addImgLazyLoad",value:function(){this._addBackgroundImageLazyLoad();this.useAdvancedTextEditor()&&this._addAdvancedTextImagesLazyLoad()}},{key:"addObjectInViewPortListener",value:function(){}},{key:"_addBackgroundImageLazyLoad",value:function(){if(webwave.isDef(this.getContentEl())&&this.getContentEl().hasAttribute(w.a.LAZY_LOAD_ATTR_NAME)){var B=new w.a(this.getContentEl());this.createDomWIntersectionObserved(B)}}},{key:"_addAdvancedTextImagesLazyLoad",value:function(){var B=this;this.getContentEl().querySelectorAll("img[".concat(u.a.LAZY_LOAD_ATTR_NAME, 347"]")).forEach(function(H){H=new u.a(H);B.createDomWIntersectionObserved(H)})}},{key:"createDomWIntersectionObserved",value:function(B){webwave.isDef(B)&&(B.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),this.addObjectToIntersectionObserver(B))}},{key:"addObjectToIntersectionObserver",value:function(B){this.wIntersectionObserver.addObject(B)}},{key:"setBrowserWebPSupportUtils",value:function(B){this.browserWebPSupportUtils=B}},{key:"setWIntersectionObserver",value:function(B){this.wIntersectionObserver= 348B}},{key:"setRwdService",value:function(B){this._rwdService=B}},{key:"getRwdService",value:function(){return this._rwdService}},{key:"canChangeStateStyle",value:function(){return-1!==A.indexOf(this.getType())}}
348,{key:"updateBackgroundOverlayDomStyle",value:function(){var B=this.getBackgroundOverlayEl();webwave.isDefAndNotNull(B)&&(B.style.cssText=this.objectStyle.backgroundOverlay.toCssString(),B.style.borderRadius="".concat(this.objectStyle.border.getComputedRadius(),"px"))}},{key:"applyPartialObjectStyle", 349value:function(B){this.objectStyle.applyPartialObjectStyle(B);(this.isInitialized()||this.isBeingInitialized())&&(this.updateContentDomStyle(),this.updateBackgroundOverlayDomStyle(),this.isParallaxActive()&&this.updateBackgroundParallaxPosition())}},{key:"applyStateStyle",value:function(B){this.applyPartialObjectStyle(this.getStateStyle(B))}},{key:"updateStateStyle",value:function(){this.applyStateStyle(this.getState().getName())}},{key:"getObjectStyle",value:function(){return this.objectStyle}}, 350{key:"updateContentDomStyle",value:function(){this.getContent().css(this.getObjectStyle().toCss2Map())}},{key:"getType",value:function(){return this._type}},{key:"getHoverAnimator",value:function(){return this._hoverAnimator}},{key:"setStyleVersion",value:function(B){this.applyStateStyle(B)}},{key:"onOwnMouseOverChange",value:function(){Object(m.a)(Object(f.a)(D.prototype),"onOwnMouseOverChange",this).call(this);this.isHoverAnimatorEnabled()&&this.getHoverAnimator().getAnimationData().isEnabled()&& 351(this.getOwnMouseOver()?this.getHoverAnimator().onMouseEnter():this.getHoverAnimator().onMouseLeave())}},{key:"getBackgroundOverlayDom",value:function(){return $(this.cachedDom.backgroundOverlay)}},{key:"getBackgroundOverlayEl",value:function(){return this.cachedDom.backgroundOverlay}},{key:"hasBackgroundOverlayDom",value:function(){return 2<=this.$domObject[0].children.length}},{key:"_renderBackgroundOverlayDom",value:function(){var B=document.createElement("DIV");B.classList.add("backgroundOverlay"); 352this.$domObject[0].appendChild(B)}},{key:"applyBindsRwd",value:function(B){this.objectService.removeAllRelationsByWObject(this);this.objectService.detachBinds(this);this.objectService.restoreBindsFromJSON(this,B);this.objectService.loadWObjectRelations(this)}},{key:"isInGroup",value:function(){return this.getParentWNode()instanceof com.webwave.publication.object.WGroup&&this.getParentWNode().isUserGroup()}},{key:"getPageCanvas",value:function(){return this.pageCanvas}},{key:"isToAnimate",value:function(){return webwave.isDef(this.getAnimation())&& 353!1===this.isScrollAnimationEnabled()}},{key:"addPropertyChangeListener",value:function(B,H){this._propertyChangeDispatcher.addPropertyChangeListener(B,H)}},{key:"removePropertyChangeListener",value:function(B,H){this._propertyChangeDispatcher.removePropertyChangeListener(B,H)}},{key:"notifyPropertyChangeListeners",value:function(B){this._propertyChangeDispatcher.dispatch(B)}},{key:"triggerPropertyChange",value:function(B,H,x){this.notifyPropertyChangeListeners(new l.b({propertyName:B,previousValue:x, 354newValue:H}))}},{key:"afterDomPositionChange",value:function(){Object(m.a)(Object(f.a)(D.prototype),"afterDomPositionChange",this).call(this);this.triggerPropertyChange(z.a.DOM_POSITION,this.getComputedPosition())}},{key:"_resetSizeAndPositionForContent",value:function(){var B=this.getContentEl();B.style.width="";B.style.height="";B.style.left="";B.style.top=""}},{key:"canBeTargetScroll",value:function(){return!1===this.isSticked()&&!1===this.isFixed()}},{key:"getInnerElements",value:function(){return[]}}, 355{key:"getRwdProperties",value:function(){return this._rwdProperties}},{key:"getAnimatableElements",value:function(){return[this.getContent()[0],this.getBackgroundOverlayEl()]}},{key:"cloneComputedStyleToInlineInContent",value:function(){for(var B=this.getContentEl(),H=0;H<D.PROPERTIES_TO_COPY.length;H++)B.style[D.PROPERTIES_TO_COPY[H]]="";H=window.getComputedStyle(B);for(var x=0;x<D.PROPERTIES_TO_COPY.length;x++)B.style[D.PROPERTIES_TO_COPY[x]]=H[D.PROPERTIES_TO_COPY[x]]}},{key:"getContentComputedProperty", 356value:function(B){return window.getComputedStyle(this.getContentEl()).getPropertyValue(B)}}]),D}(r.a);E.DEFAULT_ROTATION_DEGREE=0;E.DEFAULT_PARALLAX_VALUE=100;E.PROPERTIES_TO_COPY=["filter","transform","transformOrigin"];com.webwave.publication.object.WObject=E},1654:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 357[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(1653);!function(g){webwave.provide("com.webwave.publication.object.WElement");g=function(c){function e(l){return Object(q.a)(this,e),h.call(this,l)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"recreateContent",value:function(){}}, 358{key:"recreate",value:function(){this.recreateContent()}},{key:"getGroup",value:function(){return com.webwave.publication.object.ObjectService.getInstance().getWObjectById(this.getDomObject().attr("groupid"))}},{key:"getAnimatingContent",value:function(){return this.getContent()}},{key:"canBeRotated",value:function(){return!0}}]),e}(f.a);com.webwave.publication.object.WElement=g}(window);k.a=com.webwave.publication.object.WElement},166:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0}); 359k.BindingToSyntax=void 0;var t=a(15),q=a(19),n=a(167),m=a(68);r=function(){function d(b){this._binding=b}return d.prototype.to=function(b){return this._binding.type=q.BindingTypeEnum.Instance,this._binding.implementationType=b,new n.BindingInWhenOnSyntax(this._binding)},d.prototype.toSelf=function(){if("function"!=typeof this._binding.serviceIdentifier)throw Error(""+t.INVALID_TO_SELF_VALUE);return this.to(this._binding.serviceIdentifier)},d.prototype.toConstantValue=function(b){return this._binding.type= 360q.BindingTypeEnum.ConstantValue,this._binding.cache=b,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=q.BindingScopeEnum.Singleton,new m.BindingWhenOnSyntax(this._binding)},d.prototype.toDynamicValue=function(b){return this._binding.type=q.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=b,this._binding.implementationType=null,new n.BindingInWhenOnSyntax(this._binding)},d.prototype.toConstructor=function(b){return this._binding.type= 361q.BindingTypeEnum.Constructor,this._binding.implementationType=b,this._binding.scope=q.BindingScopeEnum.Singleton,new m.BindingWhenOnSyntax(this._binding)},d.prototype.toFactory=function(b){return this._binding.type=q.BindingTypeEnum.Factory,this._binding.factory=b,this._binding.scope=q.BindingScopeEnum.Singleton,new m.BindingWhenOnSyntax(this._binding)},d.prototype.toFunction=function(b){if("function"!=typeof b)throw Error(t.INVALID_FUNCTION_BINDING);b=this.toConstantValue(b);return this._binding.type= 362q.BindingTypeEnum.Function,this._binding.scope=q.BindingScopeEnum.Singleton,b},d.prototype.toAutoFactory=function(b){return this._binding.type=q.BindingTypeEnum.Factory,this._binding.factory=function(f){return function(){return f.container.get(b)}},this._binding.scope=q.BindingScopeEnum.Singleton,new m.BindingWhenOnSyntax(this._binding)},d.prototype.toProvider=function(b){return this._binding.type=q.BindingTypeEnum.Provider,this._binding.provider=b,this._binding.scope=q.BindingScopeEnum.Singleton, 363new m.BindingWhenOnSyntax(this._binding)},d.prototype.toService=function(b){this.toDynamicValue(function(f){return f.container.get(b)})},d}();k.BindingToSyntax=r},167:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.BindingInWhenOnSyntax=void 0;var t=a(168),q=a(45),n=a(46);r=function(){function m(d){this._binding=d;this._bindingWhenSyntax=new n.BindingWhenSyntax(this._binding);this._bindingOnSyntax=new q.BindingOnSyntax(this._binding);this._bindingInSyntax=new t.BindingInSyntax(d)} 364return m.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},m.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},m.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},m.prototype.when=function(d){return this._bindingWhenSyntax.when(d)},m.prototype.whenTargetNamed=function(d){return this._bindingWhenSyntax.whenTargetNamed(d)},m.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()}, 365m.prototype.whenTargetTagged=function(d,b){return this._bindingWhenSyntax.whenTargetTagged(d,b)},m.prototype.whenInjectedInto=function(d){return this._bindingWhenSyntax.whenInjectedInto(d)},m.prototype.whenParentNamed=function(d){return this._bindingWhenSyntax.whenParentNamed(d)},m.prototype.whenParentTagged=function(d,b){return this._bindingWhenSyntax.whenParentTagged(d,b)},m.prototype.whenAnyAncestorIs=function(d){return this._bindingWhenSyntax.whenAnyAncestorIs(d)}
365,m.prototype.whenNoAncestorIs= 366function(d){return this._bindingWhenSyntax.whenNoAncestorIs(d)},m.prototype.whenAnyAncestorNamed=function(d){return this._bindingWhenSyntax.whenAnyAncestorNamed(d)},m.prototype.whenAnyAncestorTagged=function(d,b){return this._bindingWhenSyntax.whenAnyAncestorTagged(d,b)},m.prototype.whenNoAncestorNamed=function(d){return this._bindingWhenSyntax.whenNoAncestorNamed(d)},m.prototype.whenNoAncestorTagged=function(d,b){return this._bindingWhenSyntax.whenNoAncestorTagged(d,b)},m.prototype.whenAnyAncestorMatches= 367function(d){return this._bindingWhenSyntax.whenAnyAncestorMatches(d)},m.prototype.whenNoAncestorMatches=function(d){return this._bindingWhenSyntax.whenNoAncestorMatches(d)},m.prototype.onActivation=function(d){return this._bindingOnSyntax.onActivation(d)},m}();k.BindingInWhenOnSyntax=r},1672:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,[{key:"enteredViewportHandler",value:function(){throw Error("Not supported for abstract class"); 368}},{key:"getDomObject",value:function(){throw Error("Not supported for abstract class");}},{key:"isSingleHandler",value:function(){return!0}}]),m}()},168:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.BindingInSyntax=void 0;var t=a(19),q=a(68);r=function(){function n(m){this._binding=m}return n.prototype.inRequestScope=function(){return this._binding.scope=t.BindingScopeEnum.Request,new q.BindingWhenOnSyntax(this._binding)},n.prototype.inSingletonScope=function(){return this._binding.scope= 369t.BindingScopeEnum.Singleton,new q.BindingWhenOnSyntax(this._binding)},n.prototype.inTransientScope=function(){return this._binding.scope=t.BindingScopeEnum.Transient,new q.BindingWhenOnSyntax(this._binding)},n}();k.BindingInSyntax=r},169:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.ContainerSnapshot=void 0;r=function(){function t(){}return t.of=function(q,n){var m=new t;return m.bindings=q,m.middleware=n,m},t}();k.ContainerSnapshot=r},1690:function(r,k,a){a.d(k,"a",function(){return n}); 370var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m);this._browserZoom=this._getCurrentZoom()}return Object(q.a)(m,[{key:"getBrowserZoom",value:function(){return this._browserZoom}},{key:"zoomValueChanged",value:function(){return this._browserZoom!==this._getCurrentZoom()&&(this._browserZoom=this._getCurrentZoom(),!0)}},{key:"_getCurrentZoom",value:function(){return Math.round(100*window.devicePixelRatio)}}]),m}()},17:function(r,k,a){function t(){return(t="undefined"!=typeof Reflect&&Reflect.get? 371Reflect.get:function(n,m,d){var b=Object(q.a)(n,m);if(b)return b=Object.getOwnPropertyDescriptor(b,m),b.get?b.get.call(3>arguments.length?n:d):b.value}).apply(this,arguments)}k.a=t;var q=a(734)},170:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.Lookup=void 0;var t=a(15);r=function(){function q(){this._map=new Map}return q.prototype.getMap=function(){return this._map},q.prototype.add=function(n,m){if(null===n||void 0===n)throw Error(t.NULL_ARGUMENT);if(null===m||void 0===m)throw Error(t.NULL_ARGUMENT); 372var d=this._map.get(n);void 0!==d?(d.push(m),this._map.set(n,d)):this._map.set(n,[m])},q.prototype.get=function(n){if(null===n||void 0===n)throw Error(t.NULL_ARGUMENT);n=this._map.get(n);if(void 0!==n)return n;throw Error(t.KEY_NOT_FOUND);},q.prototype.remove=function(n){if(null===n||void 0===n)throw Error(t.NULL_ARGUMENT);if(!this._map.delete(n))throw Error(t.KEY_NOT_FOUND);},q.prototype.removeByCondition=function(n){var m=this;this._map.forEach(function(d,b){d=d.filter(function(f){return!n(f)}); 3730<d.length?m._map.set(b,d):m._map.delete(b)})},q.prototype.hasKey=function(n){if(null===n||void 0===n)throw Error(t.NULL_ARGUMENT);return this._map.has(n)},q.prototype.clone=function(){var n=new q;return this._map.forEach(function(m,d){m.forEach(function(b){return n.add(d,b.clone())})}),n},q.prototype.traverse=function(n){this._map.forEach(function(m,d){n(d,m)})},q}();k.Lookup=r},1700:function(r,k,a){k.a={headerTitle:"shop.com.webwave.gui.onlineStore.orderPopup.header.title",orderConfirmedError:"shop.c
373om.webwave.gui.onlineStore.orderPopup.header.orderConfirmedError", 374orderConfirmed:"shop.com.webwave.gui.onlineStore.orderPopup.header.orderConfirmed",backFromPaymentProviderError:"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", 375headersSummary:"shop.com.webwave.gui.onlineStore.orderPopup.tabWraper.headers.summary",orderItemsPriceSum:"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", 376tryAgain:"shop.com.webwave.gui.onlineStore.orderPopup.button.tryAgain",pay:"shop.com.webwave.gui.onlineStore.orderPopup.button.pay",confirmOrder:"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", 377price:"shop.table.headers.price",emptyShoppingCart:"shop.com.webwave.gui.onlineStore.orderPopup.content.step1.emptyShoppingCart",invoiceDataHeader:"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", 378orderClientDataName:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.sendData.name",orderClientDataCompanyName:"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", 379orderClientDataZipCode:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.zipCode",orderClientDataCountry:"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", 380orderClientData_invoiceCheckboxLabel:"shop.com.webwave.gui.onlineStore.orderPopup.orderClientData.invoiceData.invoiceRequestLabel",postageDataHeader:"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", 381postageDataParcelNotSelected:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.parcelNotSelected",anyPostageAvailable:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.error.anyPostageAvailable",paymentMethodHeader:"shop.com.webwave.gui.onlineStore.orderPopup.paymentMethod.header",online:"shop.c
381om.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", 382delivery_not_available_before_order:"shop.com.webwave.gui.onlineStore.orderPopup.delivery.notAvailableInfo.beforeOrder",delivery_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", 383changeParcelButton:"shop.com.webwave.gui.onlineStore.orderPopup.postagetData.changeParcelButton",contactDataHeader:"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", 384checkBoxValidationMessage:"shop.ui.checkbox.validationMessage.default",termsAndConditionsHeader:"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", 385taxSummary:"shop.com.webwave.gui.onlineStore.orderPopup.orderSummary.taxSummary",toPay:"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", 386verificationMessage:"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", 387selectProductVariantPopupAddToCart:"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",
388testingOrderNumberWithPayment:"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", 389providerStatus_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", 390contactData:"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", 391vatTax:"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", 392description:"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", 393productStateException_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", 394productChangeState_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"}},171:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.AsyncContainerModule=k.ContainerModule= 395void 0;var t=a(24);r=function(){return function(q){this.id=t.id();this.registry=q}}();k.ContainerModule=r;r=function(){return function(q){this.id=t.id();this.registry=q}}();k.AsyncContainerModule=r},1711:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e= 396Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(1388);a(1348);var f=function(g){function c(h){return Object(q.a)(this,c),e.call(this,h)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"enteredViewportHandler",value:function(){var h=$(this.getDomObject()).attr(c.LAZY_LOAD_ATTR_NAME);h=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(h, 397this.getDomObject());this.getDomObject().style.backgroundImage='url("'.concat(h,'")')}}]),c}(r.a);f.LAZY_LOAD_ATTR_NAME="data-lazy-background-image";webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroun
397dImgObject");com.webwave.publication.intersectionObserver.object.WIntersectionObservedBackgroundImgObject=f},1712:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(81),m=function(){function d(b){Object(t.a)(this,d);this._productData= 398b;this._selectedStorage=b.getSelectedStorage();this._itemChanged=!1;this.setCount(1)}return Object(q.a)(d,[{key:"getId",value:function(){return this._productData.getIdForOrderItem()}},{key:"incrementCount",value:function(){!1!==this._canIncrement()&&this._count++}},{key:"decreaseCount",value:function(){this._count--}},{key:"equals",value:function(b){return webwave.isDef(this._productData.getSelectedStorage())&&webwave.isDef(b.getSelectedStorage())?this._productData.getSelectedStorage().getId()=== 399b.getSelectedStorage().getId():webwave.isDef(this._productData.getSelectedStorage())===webwave.isDef(b.getSelectedStorage())&&this._productData.getId()===b.getId()&&webwave.arrayHasSameItems(this._productData.getSelectedVariantsIds(),b.getSelectedVariantsIds())}},{key:"getCount",value:function(){return this._count}},{key:"getPriceOrderItem",value:function(){return this.getPrice()*this._count}},{key:"setCount",value:function(b){webwave.isDef(this._selectedStorage)?this._selectedStorage.isValidateQuantity(b)? 400this._count=b:(this._count=this._selectedStorage.printAvailableQuantity(),this._itemChanged=!0):this._count=b}},{key:"serialize",value:function(){return{productData:this._productData.serialize(),count:this._count,idItem:this._productData.getIdForOrderItem()}}},{key:"getItemWeight",value:function(){return this._count*this._productData.getProductWeight()}},{key:"getName",value:function(){return this._productData.getNameForOrderItem()}},{key:"getPrice",value:function(){return this._productData.getPriceForOrderItem()}}, 401{key:"getRow",value:function(){var b,f=webwave.isNumberAndNotNaN(this.getTaxValue())?Number.parseInt(100*this.getTaxValue()):null;return{id:this._productData.getId(),idForOrder:this._productData.getIdForOrderItem(),name:this.getName(),description:this._productData.description,pricePerItem:this.getPrice(),price:this.getPriceOrderItem(),count:this._count,url:this._productData.getThumbnailUrl(),taxValue:f,variantInformations:this._productData.getVariantsWithSelectedOption(),storageItem:null===(b=this._selectedStorage)|| 402void 0===b?void 0:b.getId(),canIncrement:this._canIncrement(),itemWeight:n.a.setFloatPriceToLong(this._productData.getProductWeight())}}},{key:"getTaxValue",value:function(){return this._productData.taxValue}},{key:"cleanChanged",value:function(){this._itemChanged=!1}},{key:"isChanged",value:function(){return this._itemChanged}},{key:"setProductDataAndChangeCount",value:function(b){if(this._productData.getPriceForOrderItem()!==b.getPriceForOrderItem()&&(this._itemChanged=!0),this._productData.canBeUpdatedByProductData(b)){var f= 403this._productData.getVariantsWithSelectedOption();this._productData=b;this._productData.selectVariants(f);this._selectedStorage=this._productData.getSelectedStorage();this.setCount(this.getCount());this.incrementCount()}else this.setCount(0)}},{key:"_canIncrement",value:function(){return!webwave.isDef(this._selectedStorage)||!1!==this._selectedStorage.canIncrement(this._count)}},{key:"postageMethodIsSupported",value:function(b){return this._productData.postageMethodIsSupported(b)}},{key:"getAnalyticsData", 404value:function(){return{item_id:this._productData.getId(),item_name:this._productData.name,item_variant:this._productData.getNameForOrderItem(),price:this.getPrice(),quantity:this._count}}}]),d}()},172:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.injectable=void 0;var t=a(15),q=a(12);k.injectable=function(){return function(n){if(Reflect.hasOwnMetadata(q.PARAM_TYPES,n))throw Error(t.DUPLICATED_INJECTABLE_DECORATOR);var m=Reflect.getMetadata(q.DESIGN_PARAM_TYPES,n)||[];return Reflect.defineMetadata(q.PARAM_TYPES, 405m,n),n}}},173:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.tagged=void 0;var t=a(18),q=a(21);k.tagged=function(n,m){return function(d,b,f){var g=new t.Metadata(n,m);"number"==typeof f?q.tagParameter(d,b,f,g):q.tagProperty(d,b,g)}}},1734:function(r,k,a){k.a={ITEM:"item",NAME:"name",PRICE:"price",THUMBNAIL:"thumbnail",PAGINATION_INDEX:"paginationIndex",SELECTED_PAGINATION_INDEX:"selectedPaginationIndex"}},174:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.named= 406void 0;var t=a(12),q=a(18),n=a(21);k.named=function(m){return function(d,b,f){var g=new q.Metadata(t.NAMED_TAG,m);"number"==typeof f?n.tagParameter(d,b,f,g):n.tagProperty(d,b,g)}}},175:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.optional=void 0;var t=a(12),q=a(18),n=a(21);k.optional=function(){return function(m,d,b){var f=new q.Metadata(t.OPTIONAL_TAG,!0);"number"==typeof b?n.tagParameter(m,d,b,f):n.tagProperty(m,d,f)}}},176:function(r,k,a){Object.defineProperty(k,"__esModule", 407{value:!0});k.unmanaged=void 0;var t=a(12),q=a(18),n=a(21);k.unmanaged=function(){return function(m,d,b){var f=new q.Metadata(t.UNMANAGED_TAG,!0);n.tagParameter(m,d,b,f)}}},177:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.multiInject=void 0;var t=a(12),q=a(18),n=a(21);k.multiInject=function(m){return function(d,b,f){var g=new q.Metadata(t.MULTI_INJECT_TAG,m);"number"==typeof f?n.tagParameter(d,b,f,g):n.tagProperty(d,b,g)}}},178:function(r,k,a){Object.defineProperty(k,"__esModule", 408{value:!0});k.targetName=void 0;var t=a(12),q=a(18),n=a(21);k.targetName=function(m){return function(d,b,f){var g=new q.Metadata(t.NAME_TAG,m);n.tagParameter(d,b,f,g)}}},179:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.postConstruct=void 0;var t=a(15),q=a(12),n=a(18);k.postConstruct=function(){return function(m,d,b){d=new n.Metadata(q.POST_CONSTRUCT,d);if(Reflect.hasOwnMetadata(q.POST_CONSTRUCT,m.constructor))throw Error(t.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(q.POST_CONSTRUCT, 409d,m.constructor)}}},18:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.Metadata=void 0;var t=a(12);r=function(){function q(n,m){this.key=n;this.value=m}return q.prototype.toString=function(){return this.key===t.NAMED_TAG?"named: "+this.value.toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+this.value+" }"},q}();k.Metadata=r},180:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.multiBindToService=void 0;k.multiBindToService=function(t){return function(q){return function(){for(var n= 410[],m=0;m<arguments.length;m++)n[m]=arguments[m];
410return n.forEach(function(d){return t.bind(d).toService(q)})}}}},181:function(r,k,a){k.a={INNER_TEXT:"innerText"}},185:function(r,k,a){a.d(k,"a",function(){return b});var t,q=a(0),n=a(1),m=a(8753),d=a(8752);r=a(20);var b=(a.n(r),Object(r.injectable)()(t=function(){function f(){Object(q.a)(this,f);Object.defineProperty(this,"_propertyChangeDispatcher",{value:new m.a,configurable:!1})}return Object(n.a)(f,[{key:"addPropertyChangeListener",value:function(g, 411c){this._propertyChangeDispatcher.addPropertyChangeListener(g,c)}},{key:"removePropertyChangeListener",value:function(g,c){this._propertyChangeDispatcher.removePropertyChangeListener(g,c)}},{key:"notifyPropertyChangeListeners",value:function(g){this._propertyChangeDispatcher.dispatch(g)}},{key:"triggerPropertyChange",value:function(g,c,e,h){this.notifyPropertyChangeListeners(new d.a({source:this,propertyName:g,previousValue:e,newValue:c,extraData:h}))}}]),f}())||t)},188:function(r,k,a){var t=a(36), 412q=function(n,m,d){return new t.d(n,void 0,{i18nLabel:"com.webwave.formConstrains.validatorErrorText.".concat(m),canBeEmpty:null===d||void 0===d?void 0:d.canBeEmpty,minLength:null===d||void 0===d?void 0:d.minLength,phonePrefix:null===d||void 0===d?void 0:d.phonePrefix})};r={ADDITIONAL_PRICE:q(t.f.PRICE,"price",{canBeEmpty:!1}),ADDITIONAL_PRICE_NON_REQUIRE:q(t.f.PRICE,"price",{canBeEmpty:!0}),AVAILABLE_PRODUCT_AMOUNT:q(t.f.AVAILABLE_PRODUCT_AMOUNT,"availableProductAmount",{canBeEmpty:!1}),COMMISSION:q(t.f.NATURAL_NUMBER, 413"commission",{canBeEmpty:!1}),DATE:q(t.f.DATE,"date",{canBeEmpty:!0}),DATE_FROM_GREATER_THAN_DATE_TO_VALIDATOR:q(t.f.DATE_FROM_GREATER_THAN_DATE_TO,"",{canBeEmpty:!0}),DATE_NOT_REQUIRE:q(t.f.DATE,"date",{canBeEmpty:!0}),DISCOUNT_CODE:q(t.f.DISCOUNT_CODE,"discountCode"),DISCOUNT_VALUE:q(t.f.DISCOUNT_VALUE,"discountValue"),EMAIL:q(t.f.EMAIL,"email"),EMAIL_NOT_REQUIRE:q(t.f.EMAIL,"email",{canBeEmpty:!0}),ADDRESS_PL:q(t.f.ADDRESS_PL,"address",{canBeEmpty:!1}),FULL_NAME:q(t.f.FULL_NAME,"fullName",{canBeEmpty:!1}), 414ZIP_CODE_PL:q(t.f.ZIP_CODE_PL,"zipCode",{canBeEmpty:!1}),GOOGLE_ANALYTICS_4_VALIDATOR:q(t.f.GOOGLE_ANALYTICS_4_CODE,"ga4Code",{canBeEmpty:!1}),NIN_CNP:q(t.f.NIN_CNP,"ninCnp",{canBeEmpty:!1}),NIP_PL:q(t.f.NIP_PL,"nipPl",{canBeEmpty:!1}),NIP_PL_VALIDATOR:q(t.f.NIP_PL,"nip",{canBeEmpty:!0}),NUMBER_USAGE_NOT_REQUIRE:q(t.f.POSITIVE_NATURAL_NUMBER,"naturalNumber",{canBeEmpty:!0}),PASSWORD:q(t.f.REQUIRE,"password",{canBeEmpty:!1}),PHONE_NUMBER:q(t.f.PHONE,"phone"),PHONE_NUMBER_WITHOUT_EXPECTED_PREFIX:q(t.f.PHONE_PL, 415"phone"),PHONE_NUMBER_WITH_EXPECTED_PREFIX:function(n){return q(t.f.PHONE_WITH_EXPECTED_PREFIX,"phone",{canBeEmpty:!0,phonePrefix:n})},POSITIVE_FLOAT_VALUE:q(t.f.PRICE,"positiveFloatValue.default",{canBeEmpty:!1}),POSITIVE_FLOAT_VALUE_SHORT_MESSAGE:q(t.f.PRICE,"positiveFloatValue.short",{canBeEmpty:!1}),POSITIVE_NUMBER:q(t.f.POSITIVE_NATURAL_NUMBER,"naturalNumber"),PRODUCT_WEIGHT:q(t.f.POSITIVE_NATURAL_NUMBER_WITH_ZERO,"productWeight"),REFLINK_VALIDATOR:q(t.f.REFLINK,"reflink",{canBeEmpty:!1}),REQUIRE:q(t.f.REQUIRE, 416"require"),TAX:q(t.f.VAT_TAX,"tax",{canBeEmpty:!0}),URL_VALIDATOR:q(t.f.URL_VALIDATOR,"url",{canBeEmpty:!0}),MIN_LENGTH:function(n){return q(t.f.MIN_LENGTH,"minLength",{canBeEmpty:!1,minLength:n})}};k.a=r},189:function(r,k,a){k.a={CONNECT:"connect",DISCONNECT:"disconnect",SWAP:"swap",CHANGE:"change"}},1898:function(r,k,a){r={NONE:"none",EMAIL:"email",PHONE:"phone"};a(10).w.addTranslationPrefix(r,"formEditorService.types.textField");k.a=r},19:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0}); 417k.TargetTypeEnum=k.BindingTypeEnum=k.BindingScopeEnum=void 0;k.BindingScopeEnum={Request:"Request",Singleton:"Singleton",Transient:"Transient"};k.BindingTypeEnum={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};k.TargetTypeEnum={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"}},190:function(r,k,a){k.a={COVER:"cover",CONTAIN:"contain", 418FULL_WIDTH:"100% 100%",AUTO:"auto"}},1901:function(r,k,a){function t(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(f.a)(v);if(p){var u=Object(f.a)(this).constructor;w=Reflect.construct(w,arguments,u)}else w=w.apply(this,arguments);return Object(b.a)(this,w)}}a.d(k, 419"a",function(){return l});
419var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(826);r=a(2241);var c=a(1199),e=a(1460),h=a(1902),l=function(v){function p(u){var z;return Object(q.a)(this,p),u.positioningMode=c.a.PUSHED_DOWN,(z=w.call(this,u)).minimalDistance=0,z._alwaysPushing=!0,z.defaultSection=u.defaultSection,z._wNodeSettings.countPushDownAttrOnUpdate=!0,z}Object(d.a)(p,v);var w=t(p);return Object(n.a)(p,[{key:"countEdgePosition",value:function(u){if(this.isPushedDownPositioningMode()){if("top"=== 420u)return this.getPushedDownAttr();if("bottom"===u&&0===this.getAllChildrenForSizeComputation().length)return this.getPushedDownAttr()+this.getMinHeightWithoutChildrenForSizeComputation()}return Object(m.a)(Object(f.a)(p.prototype),"countEdgePosition",this).call(this,u)}},{key:"isFullWidth",value:function(){return!0}},{key:"setMinimalDistance",value:function(u){var z=u!==this.minimalDistance;this.minimalDistance=u;z&&(this.updatePushedDownAttr(),this.updateDomSizeAndPosition())}},{key:"loadAdditionalData", 421value:function(u){Object(m.a)(Object(f.a)(p.prototype),"loadAdditionalData",this).call(this,u);webwave.isNumberAndNotNaN(null===u||void 0===u?void 0:u.minimalTopDistance)&&this.setMinimalDistance(u.minimalTopDistance)}},{key:"getMinimalDistance",value:function(){return this.minimalDistance}},{key:"computeBindsForRwd",value:function(){var u={};return this._generateAndAddBindBySection(u,this.objectService.getPreviousSection(this)),this._generateAndAddBindBySection(u,this.objectService.getNextSection(this), 422!0),u}},{key:"countPushDownAttr",value:function(u,z){z=Object(m.a)(Object(f.a)(p.prototype),"countPushDownAttr",this).call(this,u,!0);var y=this.getPadding("top")+this.getBorderWidth("top",!0);return!1===isFinite(u)&&(z=y),Math.max(this.getMinimalDistance()+y,z)}},{key:"_generateAndAddBindBySection",value:function(u,z){var y=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(null!==z){var A=[z.getId(),this.getId()];y&&A.reverse();u[z.getId()]=new e.a({relatedWNodes:A,typeOfRelation:g.a.VERTICAL, 423pullBack:!0})}}},{key:"isDefaultWSection",value:function(){return this.defaultSection}},{key:"getMinHeightWithoutChildrenForSizeComputation",value:function(){return this.isDefaultWSection()?h.a.HEADER_HEIGHT:h.a.SECTION_HEIGHT}}]),p}(r.a)},1902:function(r,k,a){r=a(780);k.a={HEADER_HEIGHT:50,SECTION_HEIGHT:250,objectStyle:{padding:new r.a({top:10,right:10,bottom:10,left:10,enabled:!0})}}},1903:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this, 424m);this._$domObject=d;this._$domObject[0].classList.add("wwTextContent")}return Object(q.a)(m,[{key:"initLinkBlockEvent",value:function(){this._$domObject.off("click.rwdTextContentLinkBlock");this._$domObject.on("click.rwdTextContentLinkBlock","a",function(d){d.stopPropagation()})}},{key:"loadRwdTextProperties",value:function(d){d=webwave.isDef(d)?d:com.webwave.publication.rwd.rwdService.getCurrentRwdMode();if(webwave.isDef(d))for(var b=this._$domObject[0].querySelectorAll("[".concat(m.TEXT_RWD_PROPERTIES_ATTR_NAME, 425"]")),f=0;f<b.length;f++){var g=b[f],c=g.getAttribute(m.TEXT_RWD_PROPERTIES_ATTR_NAME);try{var e=webwave.isString(c)?JSON.parse(c):{}}catch(h){e={}}c=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(e,d);"IMG"===g.nodeName?this._applyRwdMapToImgDomElement(g,c):this._applyRwdMapToOtherDomElement(g,c)}}},{key:"_applyRwdMapToImgDomElement",value:function(d,b){webwave.isDef(b)?(d.style.width=webwave.isDef(b.width)?b.width:"",d.style.height=webwave.isDef(b.height)?b.height:""):(d.style.width= 426"",d.style.height="")}},{key:"_applyRwdMapToOtherDomElement",value:function(d,b){webwave.isDef(b)?(d.style.fontSize=webwave.isDef(b.fontSize)?b.fontSize:"",d.style.lineHeight=webwave.isDef(b.lineHeight)?b.lineHeight:"",d.style.textAlign=webwave.isDef(b.textAlign)?b.textAlign:"",d.style.letterSpacing=webwave.isDef(b.letterSpacing)?b.letterSpacing:""):(d.style.fontSize="",d.style.lineHeight="",d.style.textAlign="",d.style.letterSpacing="")}},{key:"dispose",value:function(){this._$domObject.off(m.RWD_TEXT_PROPERTY_CHANGE_EVENT_NAME)}}]), 427m}();
427n.TEXT_RWD_PROPERTIES_ATTR_NAME="textRwdProperties"},1904:function(r,k,a){a.d(k,"a",function(){return q});var t=a(0),q=function m(){Object(t.a)(this,m)};q.PRODUCT_COUNTER_CLASS_NAME="shop-cart__product-counter";q.PRODUCT_COUNTER_MOCK_AMOUNT=1;q.PRODUCT_COUNTER_PROPERTY_NAME="product-count"},192:function(r,k,a){a.d(k,"a",function(){return f});var t=a(0),q=a(1),n=a(52),m=a(86),d=a(87),b=a(88),f=function(){function g(c,e){var h=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Object(t.a)(this, 428g);this.type=c;this.errorMsg=e;this.validationErrorList=h.validationErrorList;c===b.a.CUSTOM&&webwave.isFunction(h.customFunction)&&(this.customFunction=h.customFunction);this.canBeEmpty=h.canBeEmpty;this.minLength=h.minLength;this.i18nLabel=h.i18nLabel;this.phonePrefix=h.phonePrefix}return Object(q.a)(g,[{key:"getErrorMessage",value:function(){return webwave.isDefAndNotEmpty(this.errorMsg)?this.errorMsg:i18n.t(this.i18nLabel,{minLength:this.minLength})}},{key:"validate",value:function(c){if(this.canBeEmpty&& 429!1===d.a.requireProp(c))return!0;if(!1===this.canBeEmpty&&!1===d.a.requireProp(c))return!1;switch(this.type){case b.a.CUSTOM:var e=this.customFunction(c,this);break;case b.a.REQUIRE:e=d.a.requireProp(c);break;case b.a.VAT_TAX:e=d.a.isVatTax(c);break;case b.a.DATE:e=d.a.isDate(c);break;case b.a.NATURAL_NUMBER:e=d.a.isNaturalNumber(c);break;case b.a.POSITIVE_NATURAL_NUMBER:e=d.a.isPositiveNaturalNumber(c);break;case b.a.POSITIVE_NATURAL_NUMBER_WITH_ZERO:e=d.a.isPositiveNaturalNumberWithZero(c);break; 430case b.a.DISCOUNT_VALUE:e=d.a.isDiscountValue(c);break;case b.a.ZIP_CODE_PL:e=d.a.zipCodePL(c);break;case b.a.ADDRESS_PL:e=d.a.addressPL(c);break;case b.a.PHONE_PL:e=m.a.validate(c,n.b.PL);break;case b.a.PHONE:e=m.a.validateFullNumber(c);break;case b.a.PHONE_WITH_EXPECTED_PREFIX:e=webwave.isDefAndNotNull(this.phonePrefix)?m.a.validateWithSpecificPrefix(c,this.phonePrefix):m.a.validateFullNumber(c);break;case b.a.MIN_LENGTH:e=d.a.isMinLength(c,this.minLength);break;case b.a.EMAIL:e=d.a.email(c);break; 431case b.a.NIP_PL:e=d.a.NIPPL(c);break;case b.a.FULL_NAME:e=d.a.fullName(c);break;case b.a.CARD_CVC_NUMBER:e=d.a.cardCVCNumber(c);break;case b.a.NIN_PESEL:e=d.a.ninPesel(c);break;case b.a.NIN_CNP:e=d.a.ninCNP(c);break;case b.a.PRICE:e=d.a.price(c);break;case b.a.AVAILABLE_PRODUCT_AMOUNT:e=d.a.isValidProductAmount(c);break;case b.a.PAGE_NAME:e=d.a.requireProp(c);this.errorMsg=this.validationErrorList[b.a.REQUIRE];!0===e&&(e=d.a.pageNameLength(c),this.errorMsg=this.validationErrorList[b.a.PAGE_NAME]); 432break;case b.a.URL_VALIDATOR:e=d.a.isValidUrl(c);break;case b.a.DISCOUNT_CODE:e=d.a.hasNoWhitespaces(c);break;case b.a.REFLINK:e=d.a.isValidReflink(c);break;case b.a.GOOGLE_ANALYTICS_4_CODE:e=d.a.isValidGoogleAnalytics4Code(c);break;case b.a.DATE_FROM_GREATER_THAN_DATE_TO:e=d.a.isDateFromGreaterThanDateTo(c);break;default:throw Error("Provided type ".concat(this.type," is unsupported"));}return e}},{key:"setErrorMsg",value:function(c){this.errorMsg=c}}]),g}()},1920:function(r,k,a){function t(l){var v= 433function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(b.a)(l);if(v){var w=Object(b.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(d.a)(this,p)}}var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(1337),g=a(769),c=(a(78),a(743)),e=a(848), 434h=a(1654);!function(){webwave.provide("com.webwave.publication.object.LinkWElement");var l=function(v){function p(u){var z;return Object(q.a)(this,p),z=w.call(this,u),webwave.isDefAndNotNull(u.linkData)&&(z.linkData=c.a.createLink(u.linkData)),z._addLinkClickEvent(),z.interactionsService=null,z.orderPopupService=null,z}Object(m.a)(p,v);var w=t(p);return Object(n.a)(p,[{key:"getLinkData",value:function(){return this.linkData}},{key:"_addLinkClickEvent",value:function(){var u=this;this.getDomObject().on("click.buttonLinkEvent", 435function(){u.linkClickHandler(u.getLinkData())})}},{key:"linkClickHandler",value:function(u){u instanceof g.a?this._handleInteractionsLinkClick(u):u instanceof e.a?this._handleShowShopLinkClick():u instanceof f.a&&this._handleShowShopOrderPopupLinkClick(u)}},{key:"_handleShowShopLinkClick",value:function(){this.orderPopupService.showPopup()}},{key:"_handleShowShopOrderPopupLinkClick",value:function(u){this.orderPopupService.showPopup(u)}},{key:"_handleInteractionsLinkClick",value:function(u){u=u.getInteractions().getInteractionsList(); 436for(var z=0;z<u.length;z++)this.interactionsService.handleInteraction(u[z])}},{key:"setInteractionsService",value:function(u){this.interactionsService=u}},{key:"setOrderPopupService",value:function(u){this.orderPopupService=u}}]),p}(h.a);com.webwave.publication.object.LinkWElement=l}();k.a=com.webwave.publication.object.LinkWElement},1927:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 437try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){return Object(q.a)(this,c),e.call(this,h)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"_getElementForAppleDeviceMouseEnterEvent", 438value:function(){return this.getDomObject()}}]),c}(a(2338).a)},1928:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"innerDimensions",value:function(d){var b=getComputedStyle(d),f=d.clientWidth;return{height:d.clientHeight-(parseFloat(b.paddingTop)+parseFloat(b.paddingBottom)),width:f-(parseFloat(b.paddingLeft)+parseFloat(b.paddingRight))}}}]),m}()},194:function(r,k,a){k.a=function(q){if(Array.isArray(q))return Object(t.a)(q)}; 439var t=a(85)},195:function(r,k,a){k.a=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}},196:function(r,k,a){k.a=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}},199:function(r,k,a){r=a(90);k.a={DEFAULT_ANIMATION_TIME:300,DEFAULT_DIRECTION:r.a.TOP}},2:function(r,k,a){function t(q){return(t=Object.setPrototypeOf?Object.getPrototypeOf: 440function(n){return n.__proto__||Object.getPrototypeOf(n)})(q)}k.a=t},20:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});
440k.multiBindToService=k.getServiceIdentifierAsString=k.typeConstraint=k.namedConstraint=k.taggedConstraint=k.traverseAncerstors=k.decorate=k.id=k.MetadataReader=k.postConstruct=k.targetName=k.multiInject=k.unmanaged=k.optional=k.LazyServiceIdentifer=k.inject=k.named=k.tagged=k.injectable=k.ContainerModule=k.AsyncContainerModule=k.TargetTypeEnum=k.BindingTypeEnum= 441k.BindingScopeEnum=k.Container=k.METADATA_KEY=void 0;r=a(12);k.METADATA_KEY=r;var t=a(155);Object.defineProperty(k,"Container",{enumerable:!0,get:function(){return t.Container}});var q=a(19);Object.defineProperty(k,"BindingScopeEnum",{enumerable:!0,get:function(){return q.BindingScopeEnum}});Object.defineProperty(k,"BindingTypeEnum",{enumerable:!0,get:function(){return q.BindingTypeEnum}});Object.defineProperty(k,"TargetTypeEnum",{enumerable:!0,get:function(){return q.TargetTypeEnum}});var n=a(171); 442Object.defineProperty(k,"AsyncContainerModule",{enumerable:!0,get:function(){return n.AsyncContainerModule}});Object.defineProperty(k,"ContainerModule",{enumerable:!0,get:function(){return n.ContainerModule}});var m=a(172);Object.defineProperty(k,"injectable",{enumerable:!0,get:function(){return m.injectable}});var d=a(173);Object.defineProperty(k,"tagged",{enumerable:!0,get:function(){return d.tagged}});var b=a(174);Object.defineProperty(k,"named",{enumerable:!0,get:function(){return b.named}}); 443var f=a(66);Object.defineProperty(k,"inject",{enumerable:!0,get:function(){return f.inject}});Object.defineProperty(k,"LazyServiceIdentifer",{enumerable:!0,get:function(){return f.LazyServiceIdentifer}});var g=a(175);Object.defineProperty(k,"optional",{enumerable:!0,get:function(){return g.optional}});var c=a(176);Object.defineProperty(k,"unmanaged",{enumerable:!0,get:function(){return c.unmanaged}});var e=a(177);Object.defineProperty(k,"multiInject",{enumerable:!0,get:function(){return e.multiInject}}); 444var h=a(178);Object.defineProperty(k,"targetName",{enumerable:!0,get:function(){return h.targetName}});var l=a(179);Object.defineProperty(k,"postConstruct",{enumerable:!0,get:function(){return l.postConstruct}});var v=a(64);Object.defineProperty(k,"MetadataReader",{enumerable:!0,get:function(){return v.MetadataReader}});var p=a(24);Object.defineProperty(k,"id",{enumerable:!0,get:function(){return p.id}});var w=a(21);Object.defineProperty(k,"decorate",{enumerable:!0,get:function(){return w.decorate}}); 445var u=a(69);Object.defineProperty(k,"traverseAncerstors",{enumerable:!0,get:function(){return u.traverseAncerstors}});Object.defineProperty(k,"taggedConstraint",{enumerable:!0,get:function(){return u.taggedConstraint}});Object.defineProperty(k,"namedConstraint",{enumerable:!0,get:function(){return u.namedConstraint}});Object.defineProperty(k,"typeConstraint",{enumerable:!0,get:function(){return u.typeConstraint}});var z=a(31);Object.defineProperty(k,"getServiceIdentifierAsString",{enumerable:!0,get:function(){return z.getServiceIdentifierAsString}}); 446var y=a(180);Object.defineProperty(k,"multiBindToService",{enumerable:!0,get:function(){return y.multiBindToService}})},200:function(r,k,a){a.d(k,"a",function(){return b});var t=a(0),q=a(1),n=a(154),m=a(30),d=a(43),b=function(){function f(g){Object(t.a)(this,f);webwave.isNotDef(g)&&(g={});this._position=new m.a(g.position);this._size=new d.a(g.size)}return Object(q.a)(f,[{key:"getSize",value:function(){return this._size}},{key:"setSize",value:function(g){this._size=g}},{key:"getPosition",value:function(){return this._position}}, 447{key:"setPosition",value:function(g){this._position=g}},{key:"equals",value:function(g){return this.getPosition().equals(g.getPosition())&&this.getSize().equals(g.getSize())}},{key:"clone",value:function(){return new f({size:this.getSize().clone(),position:this.getPosition().clone()})}},{key:"moveBy",value:function(g){this.getPosition().add(g)}},{key:"getX1",value:function(){return this.getPosition().getX()}},{key:"setX1",value:function(g){var c=g-this.getPosition().getX();this.getSize().setWidth(this.getSize().getWidth()- 448c);this.getPosition().setX(g)}},{key:"getX2",value:function(){return this.getPosition().getX()+this.getSize().getWidth()}}
448,{key:"setX2",value:function(g){this.getSize().setWidth(g-this.getPosition().getX())}},{key:"getY1",value:function(){return this.getPosition().getY()}},{key:"setY1",value:function(g){var c=g-this.getPosition().getY();this.getSize().setHeight(this.getSize().getHeight()-c);this.getPosition().setY(g)}},{key:"getY2",value:function(){return this.getPosition().getY()+this.getSize().getHeight()}}, 449{key:"setY2",value:function(g){this.getSize().setHeight(g-this.getPosition().getY())}},{key:"getWidth",value:function(){return this.getSize().getWidth()}},{key:"setWidth",value:function(g){this.getSize().setWidth(g)}},{key:"getHeight",value:function(){return this.getSize().getHeight()}},{key:"setHeight",value:function(g){this.getSize().setHeight(g)}},{key:"intersects",value:function(g){return this.getX1()<=g.getX2()&&this.getX2()>=g.getX1()&&this.getY1()<=g.getY2()&&this.getY2()>=g.getY1()}},{key:"getCenterX", 450value:function(){return this.getPosition().getX()+this.getSize().getWidth()/2}},{key:"getCenterY",value:function(){return this.getPosition().getY()+this.getSize().getHeight()/2}},{key:"getCenter",value:function(){return new m.a({x:this.getCenterX(),y:this.getCenterY()})}},{key:"containsMoreThanHalf",value:function(g){var c=g.getCenterX();g=g.getCenterY();return g>=this.getPosition().getY()&&g<=this.getY2()&&c>=this.getPosition().getX()&&c<=this.getX2()}},{key:"join",value:function(g){return this.setX1(Math.min(this.getX1(), 451g.getX1())),this.setY1(Math.min(this.getY1(),g.getY1())),this.setX2(Math.max(this.getX2(),g.getX2())),this.setY2(Math.max(this.getY2(),g.getY2())),this}},{key:"collidesXByHalf",value:function(g){var c=this.getCenterX(),e=g.getCenterX();return c>=g.getX1()&&c<=g.getX2()||e>=this.getX1()&&e<=this.getX2()}},{key:"collidesYByHalf",value:function(g){var c=this.getCenterY(),e=g.getCenterY();return c>=g.getY1()&&c<=g.getY2()||e>=this.getY1()&&e<=this.getY2()}},{key:"crossCollidesByHalf",value:function(g){return this.collidesXByHalf(g)|| 452this.collidesYByHalf(g)}},{key:"crossCollidesY",value:function(g){return this.getY1()<=g.getY2()&&this.getY2()>=g.getY1()}},{key:"crossCollidesX",value:function(g){return this.getX1()<=g.getX2()&&this.getX2()>=g.getX1()}},{key:"contains",value:function(g){return this.getX1()<=g.getX1()&&this.getX2()>=g.getX2()&&this.getY1()<=g.getY1()&&this.getY2()>=g.getY2()}},{key:"getDistance2D",value:function(g){g=this.getDistance2DWithAvailableNegativeValue(g);return new m.a({x:Math.max(g.x,0),y:Math.max(g.y, 4530)})}},{key:"getDistance2DWithAvailableNegativeValue",value:function(g){var c=this.getX1()<g.getX1()?g.getX1()-this.getX2():this.getX1()-g.getX2();g=this.getY1()<g.getY1()?g.getY1()-this.getY2():this.getY1()-g.getY2();return new m.a({x:c,y:g})}},{key:"getRectBetweenY",value:function(g){var c={x:Math.min(this.getX1(),g.getX1()),y:Math.min(this.getY2(),g.getY2())};return new f({position:c,size:{height:Math.max(0,Math.max(this.getY1(),g.getY1())-c.y),width:Math.max(this.getX2(),g.getX2())-c.x}})}},{key:"getRectBetweenX", 454value:function(g){var c={x:Math.min(this.getX2(),g.getX2()),y:Math.min(this.getY1(),g.getY1())};return new f({position:c,size:{height:Math.max(this.getY2(),g.getY2())-c.y,width:Math.max(0,Math.max(this.getX1(),g.getX1())-c.x)}})}},{key:"moveTo",value:function(g){g=g.clone();g.subtract(this.getPosition());this.moveBy(g)}},{key:"isPointAbove",value:function(g){return g.getY()<this.getY1()}},{key:"isPointBelow",value:function(g){return g.getY()>this.getY2()}},{key:"isPointOnTheLeft",value:function(g){return g.getX()< 455this.getX1()}},{key:"isPointOnTheRight",value:function(g){return g.getX()>this.getX2()}},{key:"isRectangleAbove",value:function(g){return this.getY1()>g.getY2()}},{key:"isRectangleBelow",value:function(g){return this.getY2()<g.getY1()}},{key:"containsPoint",value:function(g){var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return(this.isPointBetweenX(g)||!0===c.checkIsBetweenY)&&(this.isPointBetweenY(g)||!0===c.checkIsBetweenX)}},{key:"isPointBetweenX",value:function(g){return this.getX1()<= 456g.getX()&&this.getX2()>=g.getX()}},{key:"isPointBetweenY",value:function(g){return this.getY1()<=g.getY()&&this.getY2()>=g.getY()}},{key:"countYDistanceToPoint",value:function(g){return Math.min(Math.abs(this.getY1()-g.getY()),Math.abs(this.getY2()-g.getY()))}},{key:"addSize",value:function(g){this._size.add(g)}},{key:"addSizeValueByOrientation",value:function(g,c){switch(c){case n.a.HORIZONTAL:this._size.addWidth(g);break;case n.a.VERTICAL:this._size.addHeight(g)}}},{key:"getTopCenterPoint",value:function(){return new m.a({x:this.getCenterX(), 457y:this.getY1()})}},{key:"getTopRightPoint",value:function(){return new m.a({x:this.getX2(),y:this.getY1()})}}]),f}()},207:function(r,k,a){a.d(k,"a",function(){return g});var t=a(0),q=a(1);r=a(788);var n=a(190);k=a(797);
457var m=a(802),d=a(10),b=a(749),f=a(51),g=function(){function c(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,c);this.backgroundType=e.backgroundType;e.backgroundType===c.BackgroundTypes.GRADIENT?this.backgroundType=c.BackgroundTypes.GRADIENT:this.backgroundType= 458c.BackgroundTypes.COLOR;this.backgroundImage=webwave.isDef(e.backgroundImage)?e.backgroundImage:"none";this.imageId=null!==e.imageId?e.imageId:void 0;"string"==typeof e.backgroundColor&&0<e.backgroundColor.length?this.backgroundColor=e.backgroundColor:this.backgroundColor="rgba(0, 0, 0, 0)";this.sessionBackgroundColor=this.backgroundColor;this.gradient=new b.a(e.gradient);void 0===e.verticalPosition?this.verticalPosition="top":this.verticalPosition=e.verticalPosition;void 0===e.horizontalPosition? 459this.horizontalPosition="left":this.horizontalPosition=e.horizontalPosition;this.repeatY=!1!==e.repeatY;this.repeatX=!1!==e.repeatX;"string"==typeof e.backgroundSize&&0<e.backgroundSize.length?this.backgroundSize=e.backgroundSize:this.backgroundSize="cover";"string"==typeof e.backgroundAttachment&&0<e.backgroundAttachment.length?this.backgroundAttachment=e.backgroundAttachment:this.backgroundAttachment="scroll";webwave.isNumberAndNotNaN(e.parallax)?this.parallax=e.parallax:this.parallax=100;webwave.isDef(e.enabled)? 460this.enabled=e.enabled:this.enabled=this._computeEnabledValue();webwave.isDef(e.backgroundImageEnabled)?this.backgroundImageEnabled=e.backgroundImageEnabled:this.backgroundImageEnabled=this._computeBackgroundImageEnabledValue()}return Object(q.a)(c,[{key:"serialize",value:function(){var e,h,l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};(this.gradient instanceof b.a&&(e=this.gradient.serialize()),webwave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(l.imageIdCorrector))&&(this.imageId= 461null===(h=l.imageIdCorrector)||void 0===h?void 0:h.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:e,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:"_computeEnabledValue", 462value:function(){var e=webwave.isDef(this.backgroundColor)&&""!==this.backgroundColor&&"transparent"!==this.backgroundColor&&0<(new d.a(this.backgroundColor)).a,h=this.backgroundType===c.BackgroundTypes.GRADIENT,l=webwave.isDef(this.gradient);return!!(e||l&&h)}},{key:"_computeBackgroundImageEnabledValue",value:function(){return!!webwave.isDef(this.imageId)}},{key:"toCss2Map",value:function(){var e={};return!1===this.enabled&&!1===this.backgroundImageEnabled?{background:"none"}:(this.enabled?e=this.backgroundType=== 463c.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:e.backgroundColor="transparent",this.backgroundImageEnabled&&(webwave.isDef(window.fileManagerService)?e.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===n.a.FULL_WIDTH):e.backgroundImage=webwave.isDef(this.backgroundImage)?this.backgroundImage:"none", 464Object.assign(e,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(e.backgroundImage)&&(e.backgroundImage="none"),e)}},{key:"applyPartialBackgroundMap",value:function(e){webwave.isDef(e)&&(webwave.isDef(e.backgroundAttachment)&&(this.backgroundAttachment=e.backgroundAttachment),webwave.isDef(e.backgroundColor)&&(this.backgroundColor=e.backgroundColor),webwave.isDef(e.backgroundSize)&& 465(this.backgroundSize=e.backgroundSize),webwave.isDef(e.backgroundType)&&(this.backgroundType=e.backgroundType),webwave.isDef(e.gradient)&&(this.gradient=new b.a(e.gradient)),webwave.isDef(e.horizontalPosition)&&(this.horizontalPosition=e.horizontalPosition),webwave.isDef(e.verticalPosition)&&(this.verticalPosition=e.verticalPosition),webwave.isDef(e.backgroundImage)&&(this.backgroundImage=e.backgroundImage),webwave.isDef(e.imageId)&&(this.imageId=null!==e.imageId?e.imageId:void 0),webwave.isDef(e.repeatX)&& 466(this.repeatX=e.repeatX),webwave.isDef(e.repeatY)&&(this.repeatY=e.repeatY),webwave.isDef(e.parallax)&&(this.parallax=e.parallax),webwave.isDef(e.enabled)&&(this.enabled=e.enabled),webwave.isDef(e.backgroundImageEnabled)&&(this.backgroundImageEnabled=e.backgroundImageEnabled))}}
466,{key:"setBackgroundColor",value:function(e){this.backgroundColor=e}},{key:"generateBackgroundRepeatString",value:function(){return m.a.generateBackgroundRepeatString(this.repeatX,this.repeatY)}},{key:"clone",value:function(){return new c(this.serialize())}}, 467{key:"changeWebsiteColorConnection",value:function(e){var h,l=f.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,e);e=null===(h=this.gradient)||void 0===h?void 0:h.changeWebsiteColorConnection(e);return l||e}},{key:"isBackgroundImageEnabledAndDefined",value:function(){return!0===this.backgroundImageEnabled&&webwave.isDefAndNotNull(this.imageId)}},{key:"isParallaxActive",value:function(){return webwave.isDefAndNotNull(this.parallax)&&100!==this.parallax&&this.isBackgroundImageEnabledAndDefined()}}, 468{key:"isBackgroundColorEnabledAndWithoutTransparency",value:function(){return!0===this.enabled&&!1===d.b.isTransparentOrSomeLevelOfTransparency(this.backgroundColor)}},{key:"isNonTransparentBackgroundAvailable",value:function(){return this.isBackgroundColorEnabledAndWithoutTransparency()||this.isBackgroundImageEnabledAndDefined()}}]),c}();g.BackgroundTypes=k.a;g.AttachmentTypes=r.a;g.BackgroundSizes=n.a;g.toBackgroundString=function(){return"background: none"}},21:function(r,k,a){function t(d,b,f, 469g,c){var e={},h="number"==typeof c;c=void 0!==c&&h?c.toString():f;if(h&&void 0!==f)throw Error(n.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(d,b)&&(e=Reflect.getMetadata(d,b));f=e[c];if(Array.isArray(f)){h=0;for(var l=f;h<l.length;h++){var v=l[h];if(v.key===g.key)throw Error(n.DUPLICATED_METADATA+" "+v.key.toString());}}else f=[];f.push(g);e[c]=f;Reflect.defineMetadata(d,e,b)}function q(d,b){Reflect.decorate(d,b)}Object.defineProperty(k,"__esModule",{value:!0});k.tagProperty=k.tagParameter= 470k.decorate=void 0;var n=a(15),m=a(12);k.tagParameter=function(d,b,f,g){t(m.TAGGED,d,b,g,f)};k.tagProperty=function(d,b,f){t(m.TAGGED_PROP,d.constructor,b,f)};k.decorate=function(d,b,f){"number"==typeof f?q([function(g,c){return function(e,h){c(e,h,g)}}(f,d)],b):"string"==typeof f?Reflect.decorate([d],b,f):q([d],b)}},213:function(r,k,a){r=function(t){function q(M,P,R){return Object.defineProperty(M,P,{value:R,enumerable:!0,configurable:!0,writable:!0}),M[P]}function n(M,P,R,Y){P=Object.create((P&& 471P.prototype instanceof d?P:d).prototype);Y=new v(Y||[]);return P._invoke=function(K,Q,S){var X=F;return function(T,Z){if(X===H)throw Error("Generator is already running");if(X===x){if("throw"===T)throw Z;return w()}S.method=T;for(S.arg=Z;;){if(T=S.delegate)if(T=e(T,S)){if(T===G)continue;return T}if("next"===S.method)S.sent=S._sent=S.arg;else if("throw"===S.method){if(X===F)throw X=x,S.arg;S.dispatchException(S.arg)}else"return"===S.method&&S.abrupt("return",S.arg);X=H;T=m(K,Q,S);if("normal"===T.type){if(X= 472S.done?x:B,T.arg===G)continue;return{value:T.arg,done:S.done}}"throw"===T.type&&(X=x,S.method="throw",S.arg=T.arg)}}}(M,R,Y),P}function m(M,P,R){try{return{type:"normal",arg:M.call(P,R)}}catch(Y){return{type:"throw",arg:Y}}}function d(){}function b(){}function f(){}function g(M){["next","throw","return"].forEach(function(P){q(M,P,function(R){return this._invoke(P,R)})})}function c(M,P){var R;this._invoke=function(Y,K){function Q(){return new P(function(S,X){!function ja(Z,U,W,ea){Z=m(M[Z],M,U);if("throw"!== 473Z.type){var va=Z.arg;return(Z=va.value)&&"object"==typeof Z&&y.call(Z,"__await")?P.resolve(Z.__await).then(function(na){ja("next",na,W,ea)},function(na){ja("throw",na,W,ea)}):P.resolve(Z).then(function(na){va.value=na;W(va)},function(na){return ja("throw",na,W,ea)})}ea(Z.arg)}(Y,K,S,X)})}return R=R?R.then(Q,Q):Q()}}function e(M,P){var R=M.iterator[P.method];if(R===u){if(P.delegate=null,"throw"===P.method){if(M.iterator.return&&(P.method="return",P.arg=u,e(M,P),"throw"===P.method))return G;P.method= 474"throw";P.arg=new TypeError("The iterator does not provide a 'throw' method")}return G}R=m(R,M.iterator,P.arg);return"throw"===R.type?(P.method="throw",P.arg=R.arg,P.delegate=null,G):(R=R.arg)?R.done?(P[M.resultName]=R.value,P.next=M.nextLoc,"return"!==P.method&&(P.method="next",P.arg=u),P.delegate=null,G):R:(P.method="throw",P.arg=new TypeError("iterator result is not an object"),P.delegate=null,G)}function h(M){var P={tryLoc:M[0]};1 in M&&(P.catchLoc=M[1]);2 in M&&(P.finallyLoc=M[2],P.afterLoc= 475M[3]);this.tryEntries.push(P)}function l(M){var P=M.completion||{};P.type="normal";delete P.arg;M.completion=P}function v(M){this.tryEntries=[{tryLoc:"root"}];M.forEach(h,this);this.reset(!0)}function p(M){if(M){var P=M[E];if(P)return P.call(M);if("function"==typeof M.next)return M;if(!isNaN(M.length)){var R=-1;P=function K(){for(;++R<M.length;)if(y.call(M,R))return K.value=M[R],K.done=!1,K;return K.value=u,K.done=!0,K};return P.next=P}}return{next:w}}function w(){return{value:u,done:!0}}var u,z= 476Object.prototype,y=z.hasOwnProperty,A="function"==typeof Symbol?Symbol:{},E=A.iterator||"@@iterator",C=A.asyncIterator||"@@asyncIterator",D=A.toStringTag||"@@toStringTag";try{q({},"")}catch(M){q=function(P,R,Y){return P[R]=Y}}t.wrap=n;var F="suspendedStart",B="suspendedYield",H="executing",x="completed",G={};A={};A[E]=function(){return this};var I=Object.getPrototypeOf;(I=I&&I(I(p([]))))&&I!==z&&y.call(I,E)&&(A=I);var L=f.prototype=d.prototype=Object.create(A);return b.prototype=L.constructor=f,f.constructor= 477b,b.displayName=q(f,D,"GeneratorFunction"),t.isGeneratorFunction=function(M){M="function"==typeof M&&M.constructor;return!!M&&(M===b||"GeneratorFunction"===(M.displayName||M.name))},t.mark=function(M){return Object.setPrototypeOf?Object.setPrototypeOf(M,f):(M.__proto__=f,q(M,D,"GeneratorFunction")),M.prototype=Object.create(L),M}
477,t.awrap=function(M){return{__await:M}},g(c.prototype),c.prototype[C]=function(){return this},t.AsyncIterator=c,t.async=function(M,P,R,Y,K){void 0===K&&(K=Promise);var Q= 478new c(n(M,P,R,Y),K);return t.isGeneratorFunction(P)?Q:Q.next().then(function(S){return S.done?S.value:Q.next()})},g(L),q(L,D,"Generator"),L[E]=function(){return this},L.toString=function(){return"[object Generator]"},t.keys=function(M){var P=[],R;for(R in M)P.push(R);return P.reverse(),function K(){for(;P.length;){var Q=P.pop();if(Q in M)return K.value=Q,K.done=!1,K}return K.done=!0,K}},t.values=p,v.prototype={constructor:v,reset:function(M){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done= 479!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(l),!M)for(var P in this)"t"===P.charAt(0)&&y.call(this,P)&&!isNaN(+P.slice(1))&&(this[P]=u)},stop:function(){this.done=!0;var M=this.tryEntries[0].completion;if("throw"===M.type)throw M.arg;return this.rval},dispatchException:function(M){function P(T,Z){return Q.type="throw",Q.arg=M,R.next=T,Z&&(R.method="next",R.arg=u),!!Z}if(this.done)throw M;for(var R=this,Y=this.tryEntries.length-1;0<=Y;--Y){var K=this.tryEntries[Y],Q= 480K.completion;if("root"===K.tryLoc)return P("end");if(K.tryLoc<=this.prev){var S=y.call(K,"catchLoc"),X=y.call(K,"finallyLoc");if(S&&X){if(this.prev<K.catchLoc)return P(K.catchLoc,!0);if(this.prev<K.finallyLoc)return P(K.finallyLoc)}else if(S){if(this.prev<K.catchLoc)return P(K.catchLoc,!0)}else{if(!X)throw Error("try statement without catch or finally");if(this.prev<K.finallyLoc)return P(K.finallyLoc)}}}},abrupt:function(M,P){for(var R=this.tryEntries.length-1;0<=R;--R){var Y=this.tryEntries[R];if(Y.tryLoc<= 481this.prev&&y.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var K=Y;break}}K&&("break"===M||"continue"===M)&&K.tryLoc<=P&&P<=K.finallyLoc&&(K=null);R=K?K.completion:{};return R.type=M,R.arg=P,K?(this.method="next",this.next=K.finallyLoc,G):this.complete(R)},complete:function(M,P){if("throw"===M.type)throw M.arg;return"break"===M.type||"continue"===M.type?this.next=M.arg:"return"===M.type?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):"normal"===M.type&&P&&(this.next=P),G},finish:function(M){for(var P= 482this.tryEntries.length-1;0<=P;--P){var R=this.tryEntries[P];if(R.finallyLoc===M)return this.complete(R.completion,R.afterLoc),l(R),G}},catch:function(M){for(var P=this.tryEntries.length-1;0<=P;--P){var R=this.tryEntries[P];if(R.tryLoc===M){M=R.completion;if("throw"===M.type){var Y=M.arg;l(R)}return Y}}throw Error("illegal catch attempt");},delegateYield:function(M,P,R){return this.delegate={iterator:p(M),resultName:P,nextLoc:R},"next"===this.method&&(this.arg=u),G}},t}(r.exports);try{regeneratorRuntime= 483r}catch(t){Function("r","regeneratorRuntime = r")(r)}},2161:function(r,k,a){function t(v,p){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(v);p&&(u=u.filter(function(z){return Object.getOwnPropertyDescriptor(v,z).enumerable}));w.push.apply(w,u)}return w}function q(v){for(var p=1;p<arguments.length;p++){var w=null!=arguments[p]?arguments[p]:{};p%2?t(Object(w),!0).forEach(function(u){Object(m.a)(v,u,w[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v, 484Object.getOwnPropertyDescriptors(w)):t(Object(w)).forEach(function(u){Object.defineProperty(v,u,Object.getOwnPropertyDescriptor(w,u))})}return v}function n(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(e.a)(v);if(p){var u=Object(e.a)(this).constructor;w=Reflect.construct(w, 485arguments,u)}else w=w.apply(this,arguments);return Object(c.a)(this,w)}}a.d(k,"a",function(){return l});var m=a(14),d=a(0),b=a(1),f=a(17),g=a(3),c=a(4),e=a(2),h=a(10),l=function(v){function p(){var u,z=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(d.a)(this,p),u=w.call(this,z),webwave.isNotDef(u.id)&&(u.id=u.generateId()),u.price=z.price,u._url=z.url,u._thumbnailId=z.thumbnailId,u.thumbnailUrl=z.image,u}Object(g.a)(p,v);var w=n(p);return Object(b.a)(p,[{key:"getThumbnailId", 486value:function(){return this._thumbnailId}},{key:"substituteId",value:function(){this._id=this.generateId()}},{key:"generateId",value:function(){return $("#websiteId").val()+"-"+Math.random().toString(36).substring(2,8)+"-"+Math.random().toString(36).substring(2,8)}},{key:"getUrl",value:function(){return this._url}},{key:"setUrl",value:function(u){this._url=u}},{key:"serialize",value:function(){return q(q({},Object(f.a)(Object(e.a)(p.prototype),"serialize",this).call(this)),{},{url:this.getUrl(), 487image:this.getThumbnailUrl()})}},{key:"deserialize",value:function(u){return new p(u)}},{key:"getThumbnailUrl",value:function(){if(webwave.isNotDefOrNull(window.fileManagerService)&&webwave.isString(this.thumbnailUrl))return this.thumbnailUrl;if(webwave.isDef(window.fileManagerService)){var u=fileManagerService.getUserFileById(this.getThumbnailId()),z="";return webwave.isDef(u)&&(z=u.getThumbnailUrl()),h.h.isDevelopment()&&(z=z.replace("webwaver_front/webwaver_front","
487webwaver_front")),z}}},{key:"clone", 488value:function(){return new p(this.serialize())}},{key:"getAttributes",value:function(){return{id:this.getId(),name:this.name,url:"http://myapp.com/products/bacon",price:this.getPrice(),description:this.description,image:this.getThumbnailUrl()}}}]),p}(a(847).a)},2162:function(r,k,a){function t(){}a.d(k,"a",function(){return m});var q=a(1),n=a(0);!function(){var d=[];window.addEventListener("message",function(b){b.source==window&&"zero-timeout-message"==b.data&&(b.stopPropagation(),0<d.length&&d.shift()())}, 489!0);window.setZeroTimeout=function(b){d.push(b);window.postMessage("zero-timeout-message","*")}}();var m=function(){function d(b){Object(n.a)(this,d);void 0===b&&(b={});this.queue=[];this._errorHandler=b.onError||t;this._continueOnError=b.continueOnError}return Object(q.a)(d,[{key:"addToQueue",value:function(b,f){this.queue.push(new function h(c,e){Object(n.a)(this,h);this.func=c;this.args=e}(b,Array.prototype.slice.call(arguments,1)))}},{key:"dequeue",value:function(){var b=this;0<b.queue.length&& 490setZeroTimeout(function(){var f=b.queue.shift();try{var g=f.func.apply(this,f.args);webwave.isObject(g)&&webwave.isFunction(g.then)?g.then(function(){b.dequeue()}):b.dequeue()}catch(c){"function"==typeof b._errorHandler?b._errorHandler.call(b,c):webwave.error(c),b.getContinueOnError()&&b.dequeue()}},0)}},{key:"dequeueSync",value:function(){for(var b;b=this.queue.shift();)try{b.func.apply(this,b.args)}catch(f){webwave.log("error occured during Worker.dequeueSync",this,f),this._errorHandler.call(this, 491f)}}},{key:"getContinueOnError",value:function(){return!0===this._continueOnError}}]),d}();webwave.provide("com.webwave.worker.Worker");com.webwave.worker.Worker=m},2169:function(r,k,a){k.a={getDecimalSeparator:function(t){return Intl.NumberFormat(t).formatToParts(1.1).find(function(q){return"decimal"===q.type}).value},normalizeStringForNumberParsing:function(t){return t.replace(/[+\-\s]/g,"").replace(",",".")},convertStringToNumber:function(t){return parseFloat(this.normalizeStringForNumberParsing(t))}, 492calculatePriceWithDiscount:function(t,q){return webwave.isNumberAndNotNaN(q)?t-q/100*t:t},calculateTaxValue:function(t,q){return parseFloat(q/100*t)}}},218:function(r,k,a){k.a=function(t){if(Array.isArray(t))return t}},219:function(r,k,a){k.a=function(t,q){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var m,d=[],b=!0,f=!1;try{for(n=n.call(t);!(b=(m=n.next()).done)&&(d.push(m.value),!q||d.length!==q);b=!0);}catch(c){f=!0;var g=c}finally{try{b||null== 493n.return||n.return()}finally{if(f)throw g;}}return d}}},220:function(r,k,a){k.a=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}},2206:function(r,k,a){r=a(1582);var t=a(190),q=a(1598);a=a(1452);k.a={autoplay:!0,enable_overlays:!1,enable_slideshow:!0,filmstrip_position:a.a.BOTTOM,frame_gap:5,frame_height:40,frame_width:80,gallery_thumbnails_crop_type:t.a.COVER,gallery_thumbnails_height:115, 494gallery_thumbnails_width:115,next_prev_buttons_distance:10,overlay_position:q.a.TOP,panel_animation:r.a.SLIDE,panel_height:300,panel_scale:t.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}},2207:function(r,k,a){k.a={LEFT:"left",BOTTOM:"bottom",RIGHT:"right"}},222:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"== 495typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c, 496[{key:"createObject",value:function(){throw"Not implement";}},{key:"deserializeValue",value:function(h){if(this._value=[],webwave.isDef(h))for(var l=0;l<h.length;l++){var v=this.createObject(h[l]);webwave.isDef(v)&&this._value.push(v)}}},{key:"getSerializeValue",value:function(){for(var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},l=[],v=0;v<this._value.length;v++)l.push(this._value[v].serialize(h));return l}},{key:"addOption",value:function(h){this._value.push(h)}},{key:"removeOption", 497value:function(h){var l=this._value.findIndex(function(v){return v===h});0<=l&&this._value.splice(l,1)}},{key:"value",get:function(){return!0===this.enable?this._value:[]}},{key:"isEmpty",value:function(){return 0===this._value.length}},{key:"updateEnable",value:function(){!1===this.isEmpty()?this._enable=!0:this._enable=!1}}]),c}(a(61).a)},2222:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);this._rwdProperties=this.deserialize(d)} 498return Object(q.a)(m,[{key:"deserialize",value:function(d){var b={},f;for(f in d)d.hasOwnProperty(f)&&(b[f]=this.deserializeProperties(d[f]));return b}},{key:"deserializeProperties",value:function(){throw Error("Not supported for abstract class");}},{key:"applyProperties",value:function(d){throw Error("Not supported for abstract class and property ".concat(d));}},{key:"loadRwdProperties",value:function(d){this.applyProperties(this.getRwdService().searchForClosestObjectByRwdMode(this.getRwdPropertiesMaps(), 499d))}},{key:"getRwdPropertiesMaps",value:function(){return this._rwdProperties}},{key:"setRwdService",value:function(d){this._rwdService=d}},{key:"getRwdService",value:function(){return this._rwdService}}]),m}()}
499,2223:function(r,k,a){k.a={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"}},2224:function(r,k,a){k.a={CLOSING_ELEMENT:"swiper-closing-flag-element",IMAGE_WRAPPER_CLASS:"ww_inner_element_content",SLIDE_CLASS:"swiper-slide",WRAPPER_CLASS:"swiper"}},223:function(r,k,a){k.a= 500{ANCHOR:"anchor",CUSTOM:"customLink",INTERACTION:"interaction",NEWSPAGE:"newspage",NO_LINK:"noLink",OBJECT:"object",PRODUCTPAGE:"productpage",WEBPAGE:"webpage"}},2231:function(r,k,a){a.d(k,"b",function(){return t});a.d(k,"a",function(){return q});var t={UNINITIALIZED:"uninitialized",INITIALIZING:"initializing",INITIALIZED:"initialized",UPDATED:"updated"},q="webwaveAppInitialized"},224:function(r,k,a){var t=a(0),q=a(1);r=a(746);var n=(a.n(r),a(38)),m=a(781);a=new (function(){function d(){Object(t.a)(this, 501d)}return Object(q.a)(d,[{key:"isLoggedUserHasPlLanguage",value:function(){return config.language===config.definedLanguagCodes.polish}},{key:"getPluralForm",value:function(b,f,g){return 1<f&&(b+=4>=f?"_plural1":"_plural2"),i18n.t(b,g)}},{key:"getPluralSimpleForm",value:function(b,f,g){return 1<f?b+="_plural2":1===f&&(b+="_plural1"),i18n.t(b,g)}},{key:"isGlobalLanguage",value:function(){return["en","au"].includes(this.getCurrentLang())}},{key:"formatPriceToLocalString",value:function(b){return b.toLocaleString(void 0, 502{maximumFractionDigits:2,minimumFractionDigits:Number.isInteger(b)?0:2})}},{key:"formatNumberToLocaleString",value:function(b,f){return b.toLocaleString(f,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{maximumFractionDigits:2,minimumFractionDigits:2})}},{key:"formatPriceWithCurrency",value:function(b,f){var g=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"code",c="string"==typeof b?parseFloat(b):b,e=webwave.isDefAndNotNull(f)?f:m.a.USD,h=this.formatNumberToLocaleString(c,void 0, 503{maximumFractionDigits:2,minimumFractionDigits:2}),l="com.webwave.currency.format.".concat(g,".").concat(e.toLowerCase());if(i18n.exists(l))return i18n.t(l,{price:h,rawPrice:c});l="com.webwave.currency.format.".concat(g);if(i18n.exists(l)){var v=i18n.t("com.webwave.currency.symbol.".concat(e.toLowerCase()),{defaultValue:e.toLowerCase()}),p=i18n.t("com.webwave.currency.name.".concat(e.toLowerCase()),{defaultValue:e.toLowerCase()});if((c=i18n.t(l,{price:h,rawPrice:c,currency:e,currencySymbol:v,currencyName:p}))&& 504c!==l)return c}switch(g){case "symbol":g=i18n.t("com.webwave.currency.symbol.".concat(e.toLowerCase()),{defaultValue:e.toLowerCase()});break;case "name":g=i18n.t("com.webwave.currency.name.".concat(e.toLowerCase()),{defaultValue:e.toLowerCase()});break;default:g=e}return"".concat(h," ").concat(g)}},{key:"getCurrentLang",value:function(){return n.a.getValue("language")}},{key:"getAvailableLanguagesList",value:function(){return["pl","en","ro","au"]}},{key:"isLanguageSupportedByWebwave",value:function(b){return this.getAvailableLanguagesList().includes(b)}}]), 505d}());webwave.provide("com.webwave.common.utils.languageUtils");com.webwave.common.utils.languageUtils=a;k.a=a},2240:function(r,k,a){a.d(k,"a",function(){return f});var t,q=a(0),n=a(1),m=a(1690),d=a(30),b=a(43);r=a(20);var f=(a.n(r),Object(r.injectable)()(t=function(){function g(){Object(q.a)(this,g);this._currentSize=this._getCurrentWindowSize();this._sizeChangeListeners=[];this._browserZoomLevelChangeListeners=[];this._browserZoomLevel=new m.a;this._initEvents()}return Object(n.a)(g,[{key:"_getCurrentWindowSize", 506value:function(){var c=parseInt(window.innerWidth,10),e=parseInt(window.innerHeight,10);return isNaN(c)&&(c=0),isNaN(e)&&(e=0),new b.a({width:c,height:e})}},{key:"_notifySizeChangeListeners",value:function(c,e){for(var h=0;h<this._sizeChangeListeners.length;h++)this._sizeChangeListeners[h].onWindowSizeChange(c,e)}},{key:"_notifyBrowserZoomLevelListeners",value:function(c,e){for(var h=0;h<this._browserZoomLevelChangeListeners.length;h++)this._browserZoomLevelChangeListeners[h].onBrowserZoomLevelChange(c, 507e)}},{key:"getCurrentSize",value:function(){return this._currentSize}},{key:"setCurrentSize",value:function(c){if(!1===this._currentSize.equals(c)){var e=this._currentSize.clone();this._currentSize=c;this._notifySizeChangeListeners(c,e)}}},{key:"_updateCurrentSize",value:function(){this.setCurrentSize(this._getCurrentWindowSize())}},{key:"_updateCurrentZoomLevel",value:function(){var c=this._browserZoomLevel.getBrowserZoom();this._browserZoomLevel.zoomValueChanged()&&this._notifyBrowserZoomLevelListeners(this._browserZoomLevel.getBrowserZoom(), 508c)}},{key:"_initEvents",value:function(){var c=this;window.onresize=function(){c._updateCurrentSize.call(c);c._updateCurrentZoomLevel.call(c)}}},{key:"addSizeChangeListener",value:function(c){-1===this._sizeChangeListeners.indexOf(c)&&this._sizeChangeListeners.push(c)}},{key:"addBrowserZoomLevelChangeListener",value:function(c){-1===this._browserZoomLevelChangeListeners.indexOf(c)&&this._browserZoomLevelChangeListeners.push(c)}},{key:"convertPointToRightOrigin",value:function(c){return new d.a({x:this._currentSize.getWidth()- 509c.getX(),y:c.getY()})}}]),g}())||t)},2241:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(f.a)(l);if(v){var w=Object(f.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(b.a)(this,p)}}a.d(k, 510"a",function(){return h});
510var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(779),c=a(200),e=a(1199);r=a(1653);webwave.provide("com.webwave.publication.object.WGroup");var h=function(l){function v(w){var u;return Object(q.a)(this,v),w.domSizeMode=g.a.CHILDREN_SIZE,(u=p.call(this,w))._childrenRect=new c.a,u._childrenOuterRect=new c.a,u._positioningMode=webwave.isValidEnumValue(w.positioningMode,e.a)?w.positioningMode:e.a.CHILDREN,u}Object(d.a)(v,l);var p=t(v);return Object(n.a)(v,[{key:"init",value:function(){Object(m.a)(Object(f.a)(v.prototype), 511"init",this).call(this);this.updatePointerEventOnDomObject()}},{key:"addElements",value:function(){try{var w=this.$domObject.attr("groupelements");if(!webwave.isNotDef(w)){var u=this.objectService.collectWObjectsByIdArray(JSON.parse(w));for(w=0;w<u.length;w++)this.addChild(u[w])}}catch(z){webwave.log(z)}}},{key:"hasElement",value:function(w){return-1!==this.getChildren().indexOf(w)}},{key:"getAdditionalVerticalCorrection",value:function(){return 0}},{key:"_loadRwdProperties",value:function(w){this.setVisibilityRequiresAnimation(!0=== 512w.animationOnScrollEnabled||webwave.isDefAndNotNull(w.animation));this.updateBaseVisibility();this.setAllPadding(w.style.padding);this.setFullWidth(w.fullWidth,{noDomUpdate:!0});this.applyBindsRwd(this.computeBindsForRwd(w));this.setFixed(!0===w.fixed);this.setSticky(!0===w.sticky);this.setStickyStartDistance(w.stickyStartDistance);this.setStickyEndDistance(w.stickyEndDistance);this.setStickyEndDistanceEnabled(w.stickyEndDistanceEnabled);this.loadAdditionalData(w.additionalProperties);this.updateSizeAndPosition(); 513this.updateInFlow()}},{key:"canPlayShowOrHideAnimation",value:function(){return Object(m.a)(Object(f.a)(v.prototype),"canPlayShowOrHideAnimation",this).call(this)||this.hasChildren()&&this.getChildren().every(function(w){return w.canPlayShowOrHideAnimation()})}},{key:"computeBindsForRwd",value:function(w){return w.binds}},{key:"isUserGroup",value:function(){return!0}},{key:"getWObjects",value:function(w){for(var u=[],z=this.getChildren(),y=0;y<z.length;y++){var A=z[y];!0===w&&A instanceof v&&(u=u.concat(A.getWObjects(w))); 514u.push(A)}return u}},{key:"getWGroups",value:function(w){return this.getWObjects(w).filter(function(u){return u instanceof v})}},{key:"getPositioningMode",value:function(){return this._positioningMode}},{key:"isPushedDownPositioningMode",value:function(){return this.getPositioningMode()===e.a.PUSHED_DOWN}},{key:"updatePointerEventOnDomObject",value:function(){this.setPointerEventOnDomObject(this.getObjectStyle().isFullyVisible()?"":"none")}}]),v}(r.a);com.webwave.publication.object.WGroup=h},2242:function(r, 515k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);this._title=d.title;this._description=d.description;this._titleHtml=webwave.isString(d.titleHtml)?d.titleHtml:""}return Object(q.a)(m,[{key:"getRwdProperties",value:function(){throw"Not implemented";}},{key:"loadRwdProperties",value:function(d){this.getRwdProperties().loadRwdProperties(d)}},{key:"getCropData",value:function(){return this.getRwdProperties().getCropData()}},{key:"getTitle",value:function(){return this._title}}, 516{key:"getDescription",value:function(){return this._description}},{key:"getTitleHtml",value:function(){return this._titleHtml}}]),m}()},2243:function(r,k,a){k.a={FEED_PRICE:"feed_price",FEED_NAME:"feed_name",PRODUCTFEED_NAME:"productfeed_name"}},225:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(53),m=(a(54),function(){function d(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this._x=new n.a(b.x);this._y=new n.a(b.y)}return Object(q.a)(d, 517[{key:"subtract",value:function(b){this._x.subtract(b.getX());this._y.subtract(b.getY())}},{key:"add",value:function(b){this._x.add(b.getX());this._y.add(b.getY())}},{key:"serialize",value:function(){return{x:this._x.serialize(),y:this._y.serialize()}}},{key:"clone",value:function(){return new d(this.serialize())}},{key:"equals",value:function(b){return this._x.equals(b._x)&&this._y.equals(b._y)}},{key:"setX",value:function(b){this._x=b}},{key:"setXUnit",value:function(b){this._x.setUnit(b)}},{key:"getXUnit", 518value:function(){return this._x.getUnit()}},{key:"setYUnit",value:function(b){this._y.setUnit(b)}},{key:"getYUnit",value:function(){return this._y.getUnit()}},{key:"getX",value:function(){return this._x}},{key:"setY",value:function(b){this._y=b}},{key:"getY",value:function(){return this._y}},{key:"getYValue",value:function(){return this.getY().getValue()}},{key:"getXValue",value:function(){return this.getX().getValue()}},{key:"setYValue",value:function(b){this.getY().setValue(b)}},{key:"setXValue", 519value:function(b){this.getX().setValue(b)}},{key:"toJSON",value:function(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function(){return this.isXUnitDynamic()||this.isYUnitDynamic()}},{key:"isXUnitDynamic",value:function(){return n.a.isUnitDynamic(this.getXUnit())}},{key:"isYUnitDynamic",value:function(){return n.a.isUnitDynamic(this.getYUnit())}}]),d}())},2263:function(r,k,a){a.d(k,"a",function(){return b});var t=a(0),q=a(53),n=a(982),m=a(225),d=a(738),b=function c(g){Object(t.a)(this, 520c);this.positionOrigin=g.positionOrigin;this.position=new m.a(g.position);this.size=new d.a(g.size);this.fullWidth=g.fullWidth;this.additionalProperties=g.additionalProperties;this.animation=g.animation;this.hideAnimation=g.hideAnimation;this.visibility=g.visibility;this.style=n.a.deserialize(g.style);this.binds=g.binds;this.rotationEnabled=g.rotationEnabled;this.rotation=g.rotation;this.animationOnScrollEnabled=g.animationOnScrollEnabled;this.animationOnScroll=g.animationOnScroll;this.fixed=g.fixed; 521this.sticky=g.sticky;this.stickyStartDistance=new q.a(g.stickyStartDistance);this.stickyEndDistance=new q.a(g.stickyEndDistance);this.stickyEndDistanceEnabled=g.stickyEndDistanceEnabled}},2264:function(r,k,a){}
521,2265:function(r,k,a){k.a={WCAROUSEL:"wcarousel",STORE_ANALYTICS:"storeAnalytics",STORE_APP:"storeApp"}},2312:function(r,k,a){k.a={VERTICAL:"vertical",HORIZONTAL:"horizontal",MOBILE:"mobile"}},2313:function(r,k,a){k.a={ELEMENT:"element",AUTO:"auto",FULL_WIDTH:"fullWidth"}},2314:function(r,k, 522a){function t(y){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var E=Object(g.a)(y);if(A){var C=Object(g.a)(this).constructor;E=Reflect.construct(E,arguments,C)}else E=E.apply(this,arguments);return Object(f.a)(this,E)}}a.d(k,"a",function(){return z});var q=a(0),n=a(1),m=a(11),d= 523a(17),b=a(3),f=a(4),g=a(2),c=a(1642),e=a(1928),h=a(2374),l=a(2530),v=a(2532),p=a(2533),w=a(2535),u=a(43),z=function(y){function A(C){var D;return Object(q.a)(this,A),(D=E.call(this,C))._innerElementsStyles=D._deserializeInnerElementsStyles(C.innerElementsStyles),D._feedItemDataStore=void 0,D._paginationIndex=0,D._newsInRow=void 0,D._newsNumber=0,D.feedPaginationInnerElement=new l.a(Object(m.a)(D)),D.feedSingleNewsInnerElement=new v.a(Object(m.a)(D)),D.feedThumbnailInnerElement=new p.a(Object(m.a)(D)), 524D.feedService=null,D.pageService=null,D}Object(b.a)(A,y);var E=t(A);return Object(n.a)(A,[{key:"init",value:function(){Object(d.a)(Object(g.a)(A.prototype),"init",this).call(this)}},{key:"cacheDom",value:function(C){C=Object(d.a)(Object(g.a)(A.prototype),"cacheDom",this).call(this,C);return C.newsfeedWrapper=C.content.children[0],C}},{key:"getNewsfeedWrapperEl",value:function(){return this.cachedDom.newsfeedWrapper}},{key:"getNewsInRow",value:function(){return this._newsInRow}},{key:"setNewsInRow", 525value:function(C){this._newsInRow=C}},{key:"getInnerElementStyles",value:function(C){return this._innerElementsStyles[C]}},{key:"getNewsNumber",value:function(){return this._newsNumber}},{key:"setNewsNumber",value:function(C){var D=this._newsNumber,F=this._newsNumber!==C;if(this._newsNumber=C,F){F=this.getFeedItems();for(var B=0;B<F.length;B++){var H=B<C;F[B].classList.toggle("hidden_for_rwd",!1===H);F[B].style.display=H?"":c.a.NONE}this.feedPaginationInnerElement._recreatePaginationDom();this.setPaginationIndex(this.feedPaginationInnerElement._computeNewIndex(D))}}}, 526{key:"setPaginationIndex",value:function(C){var D=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},F=this.computeMaxIndex();if(!(1>C||C>F)){F=this.getPaginationIndex();var B=C!==this._paginationIndex;this._paginationIndex=C;this.feedPaginationInnerElement.updatePaginationClasses();!0===B&&(D.userInteraction&&this.feedService.saveFeedIndexHistory(this.getNameParamForLink(),C),this.feedPaginationInnerElement._updateListLeftPosition(D.userInteraction),!0===D.animate?this._changeNewsToCurrentIndexWithAnimation({isPriorPage:C< 527F,isSubsequentPage:C>F}):this._changeNewsToCurrentIndexWithoutAnimation())}}},{key:"_changeNewsToCurrentIndexWithoutAnimation",value:function(){for(var C=this.getFeedItemsDataArrayForDisplay(),D=0;D<C.length;D++){var F=C[D],B=C[D].feedItemEl;webwave.isDefAndNotNull(F.feedItemData)?(B.style.display=c.a.BLOCK,this.updateSingleFeedItemElData(F,B)):B.style.display=c.a.NONE}this.updateFeedDomSizes();this.updateMinSize()}},{key:"_changeNewsToCurrentIndexWithAnimation",value:function(){var C=this,D=0<arguments.length&& 528void 0!==arguments[0]?arguments[0]:{},F=this.getFeedItems({rwdVisibleOnly:!0}),B=this.getAllFeedItemsCount(),H=this.getNewsNumber(),x=Math.min(H,B-(this.getPaginationIndex()-1)*H);this.setAnimationBlock(!0);var G=$(F);G.fadeOut(A.FEED_CHANGE_ANIMATION_TIME).promise().done(function(){if(C._changeNewsToCurrentIndexWithoutAnimation(),G.slice(0,x).show(),(D.isSubsequentPage||D.isPriorPage)&&0<G.length){var I=D.isSubsequentPage?G.eq(0):C.getPaginationInnerElement().getPaginationWrapper();C.pageService.scrollPageToElement(I)}G.slice(0, 529x).fadeIn(A.FEED_CHANGE_ANIMATION_TIME).promise().done(function(){C.setAnimationBlock(!1)})})}},{key:"updateSingleFeedItemElData",value:function(C,D){this.getFeedLinkElements(D).forEac
529h(function(F){F.setAttribute("href",C.feedItemData.link)})}},{key:"getFeedItemsDataArrayForDisplay",value:function(){for(var C=this.getFeedItems({rwdVisibleOnly:!0}),D=this.getFeedItemsData(),F=this.getNewsNumber(),B=(this.getPaginationIndex()-1)*F,H=[],x=0;x<F;x++)H.push({feedItemEl:C[x],feedItemData:D[B+x]});return H}}, 530{key:"getPaginationIndex",value:function(){return this._paginationIndex}},{key:"getSingleNewsInnerElement",value:function(){return this.feedSingleNewsInnerElement}},{key:"getThumbnailInnerElement",value:function(){return this.feedThumbnailInnerElement}},{key:"getPaginationInnerElement",value:function(){return this.feedPaginationInnerElement}},{key:"getInnerElementNameForIteration",value:function(){return[]}},{key:"getInnerElementForIteration",value:function(){return[]}},{key:"calculateMinContentSize", 531value:function(){var C=(new h.a(this)).countMinSize(),D=Math.max(0,this.getNewsInRow()-1);return new u.a({width:this.getNewsInRow()*C.getWidth()+D*this.getSingleNewsInnerElement().getHorizontalSpace(),height:e.a.innerDimensions(this.getNewsfeedWrapperEl()).height})}},{key:"getFeedItems",value:function(){var C=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},D=Array.from(this.getDomObject()[0].querySelectorAll(".feed_item"));return!0===C.rwdVisibleOnly?D.slice(0,this.getNewsNumber()):D}}, 532{key:"addImgLazyLoad",value:function(){Object(d.a)(Object(g.a)(A.prototype),"addImgLazyLoad",this).call(this);this.getThumbnailInnerElement().addImgLazyLoad()}},{key:"afterDomSizeChange",value:function(){Object(d.a)(Object(g.a)(A.prototype),"afterDomSizeChange",this).call(this);this.updateFeedDomSizes()}},{key:"updateFeedDomSizes",value:function(){var C=this.getInnerWidth();this.getNewsfeedWrapper().style.width="".concat(C,"px");var D=this.getNewsInRow();C-=(D-1)*this.getSingleNewsInnerElement().getHorizontalSpace(); 533var F=parseInt(C/D);
533this.getFeedItems().forEach(function(B){B.style.width="".concat(F,"px");B.style.height=""});this._unifyRowsHeight()}},{key:"_unifyFeedItemHeights",value:function(C){var D=0,F=0;C.forEach(function(B){(F=B.offsetHeight)>D&&(D=F)});C.forEach(function(B){B.style.height="".concat(D,"px")})}},{key:"_unifyRowsHeight",value:function(){for(var C=this.getNewsInRow(),D=this.getFeedItems(),F=Math.ceil(D.length/C),B=0;B<F;B++)this._unifyFeedItemHeights(D.slice(B*C,(B+1)*C))}},{key:"onVisibilityChange", 534value:function(){var C=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(d.a)(Object(g.a)(A.prototype),"onVisibilityChange",this).call(this,C);this.isVisible()&&(this.updateFeedDomSizes(),this.updateMinSize(),this.updatePaginationListSize())}},{key:"getAllFeedItemsCount",value:function(){var C=this.getFeedItemsData();return webwave.isArrayLike(C)?C.length:0}},{key:"computeMaxIndex",value:function(){var C=this.getNewsNumber();return 0===C||0===this.getAllFeedItemsCount()?1:Math.ceil(this.getAllFeedItemsCount()/ 535C)}},{key:"getFeedItemsData",value:function(){return webwave.isDefAndNotNull(this._feedItemDataStore)?this._feedItemDataStore:JSON.parse(this.getDomObject()[0].querySelector(".feed_data_container script").innerHTML)}},{key:"setFeedItemDataStore",value:function(C){this._feedItemDataStore=C}},{key:"updatePaginationListSize",value:function(){this.feedPaginationInnerElement.updatePaginationListSize()}},{key:"_loadInnerElementsRwdStyles",value:function(C){var D,F,B,H=this.getInnerElementNames(),x;for(x in H)H.hasOwnProperty(x)&& 536(F=C[D=H[x]],B=this._innerElementsStyles[D],webwave.isDef(B)&&webwave.isDef(F)&&B.applyRwdProperties(F))}},{key:"getInnerElementNames",value:function(){}},{key:"_deserializeInnerElementsStyles",value:function(C){var D={};if(webwave.isDef(C)){var F,B,H=this.getInnerElementNames(),x;for(x in H)H.hasOwnProperty(x)&&(B=H[x],F=C.hasOwnProperty(B)?C[B]:{},D[B]=new w.a(F))}return D}},{key:"_finishAllFeedItemsAnimations",value:function(){$(this.getFeedItems()).stop(!0,!0)}},{key:"setAnimationBlock",value:function(C){this._animationBlock= 537C}},{key:"isAnimationBlocked",value:function(){return!0===this._animationBlock}},{key:"getNameParamForLink",value:function(){return"newsfeed_".concat(this.id.split("_")[1],"_page")}},{key:"getFeedLinkElements",value:function(C){return Array.from(C.querySelectorAll(".feed_name_link"))}},{key:"loadAdditionalData",value:function(){var C=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._finishAllFeedItemsAnimations();this.getInnerElementForIteration().forEach(function(D){D.loadAdditionalRwdProperties(C)}); 538this.setNewsNumber(C.newsNumber);this.setNewsInRow(C.newsInRow);webwave.isDef(C.innerElementsStyles)&&this._loadInnerElementsRwdStyles(C.innerElementsStyles);this.updateFeedDomSizes();this.updateMinSize();this.feedPaginationInnerElement._updateListLeftPosition(!1)}},{key:"setFeedService",value:function(C){this.feedService=C}},{key:"setPageService",value:function(C){this.pageService=C}},{key:"getItemElementName",value:function(){}}]),A}(a(1654).a);z.DEFAULT_INDEX_VALUE=1;z.FEED_CHANGE_ANIMATION_TIME= 539500},2321:function(r,k,a){a.d(k,"a",function(){return m});var t,q=a(0),n=a(1);r=a(20);var m=(a.n(r),a(28),Object(r.injectable)()(t=function(){function d(){Object(q.a)(this,d)}return Object(n.a)(d,[{key:"loadTranslations",value:function(b){this._loadTranslation(b)}},{key:"_loadTranslation",value:function(b){var f=b.getLang(),g=b.getTranslationType();webwave.utils.makeAjxaCall({url:b.getSourceUrl(),data:{type:g,language:f},noLoadingBox:!0},function(c){var e={};b.isPrefixTypeShouldBeAddedToMessages()? 540e[g]=c:e=c;i18n.loadLanguages(f,function(){window.i18n.addResourceBundle(f,"translation",e)});webwave.isFunction(b.getCallback())&&b.getCallback()()}).catch(function(c){Environment.isNotTest()&&webwave.error(c)})}},{key:"changeLanguage",value:function(b){i18n.changeLanguage(b,function(f,g){if(f)return console.error("something went wrong loading",f);g("key")})}},{key:"loadCountryList",value:function(b,f){return webwave.utils.makeAjxaCall({url:b,data:{language:f},noLoadingBox:!0}).then(function(g){return g.data})}}]), 541d}())||t)},2322:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f}); 542var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"setLocalStorageObject",value:function(h,l){localStorage[l]=JSON.stringify(h)}},{key:"setPropertyValueInLocalStorageObject",value:function(h,l,v){var p=this.getObjectFromLocalStorage(h);p[l]=v;this.setLocalStorageObject(p,h)}},{key:"getLocalStorageKey",value:function(h,l){return JSON.parse(localStorage[l])[h]}},{key:"getObjectFromLocalStorage", 543value:function(h){if(this.isDefined(h))return JSON.parse(localStorage[h])}},{key:"getValueFromLocalStorage",value:function(h){if(this.isDefined(h))return localStorage[h]}},{key:"isDefined",value:function(h){return!!localStorage[h]&&"undefined"!=localStorage[h]}},{key:"removeLocalStorageItem",value:function(h){localStorage.removeItem(h)}}]),c}(a(55).a)},2323:function(r,k,a){function t(F){var B=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"== 544typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(H){return!1}}();
544return function(){var H=Object(z.a)(F);if(B){var x=Object(z.a)(this).constructor;H=Reflect.construct(H,arguments,x)}else H=H.apply(this,arguments);return Object(u.a)(this,H)}}a.d(k,"a",function(){return D});var q,n,m,d,b,f,g,c,e=a(41),h=a(8),l=a(0),v=a(1),p=a(11),w=a(3),u=a(4),z=a(2);r=a(7);var y=(a(9),a(33));k=a(39);var A=a.n(k);k=a(55);var E=a(28),C=a(20);a.n(C);var D= 545(q=Object(C.injectable)(),n=Object(C.inject)(E.a.EnvironmentUtils),m=Object(C.inject)(E.a.FrontendTranslation),d=Object(C.inject)(E.a.LocationService),q((b=function(F){function B(){var x;Object(l.a)(this,B);for(var G=arguments.length,I=Array(G),L=0;L<G;L++)I[L]=arguments[L];return x=H.call.apply(H,[this].concat(I)),Object(h.a)(x,"environmentUtils",f,Object(p.a)(x)),Object(h.a)(x,"frontendTranslation",g,Object(p.a)(x)),Object(h.a)(x,"locationService",c,Object(p.a)(x)),x.parseUriOptions={strictMode:!1, 546key:"source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}}, 547x}Object(w.a)(B,F);var H=t(B);return Object(v.a)(B,[{key:"getWebsiteId",value:function(){return $("#websiteId").val()}},{key:"getLanguageCode",value:function(){return $("#ww_language_code").val()}},{key:"getParentBaseElementId",value:function(x){return this.getParentBaseElement(x).attr("id")}},{key:"getParentBaseElement",value:function(x){return x.parents(".ww_element")}},{key:"changeLink",value:function(x,G){var I=G;!1===this.isLinkAbsolute(G)&&(!0===this.startsWith(G,"/")?(x=utilService.parseUri(x), 548I=x.protocol+"://"+x.authority+G):I=x+"/"+G);return I}},{key:"reloadPage",value:function(){window.location.reload()}},{key:"isLinkAbsolute",value:function(x){var G=!1;return void 0===x||0!==x.indexOf("http://")&&0!==x.indexOf("https://")||(G=!0),G}},{key:"getDynamicallyJSFile",value:function(x,G){jQuery.ajax({type:"GET",url:x,success:G,dataType:"script",cache:!0})}},{key:"getDynamicallyCSSFile",value:function(x){$("head").append('<link rel="stylesheet" href="'+x+'" type="text/css" />')}},{key:"insertCss", 549value:function(x){var G=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",I=document.createElement("style");I.type="text/css";webwave.isStringAndNotEmpty(G)&&(I.id=G);I.styleSheet?I.styleSheet.cssText=x:I.innerHTML=x;document.getElementsByTagName("head")[0].appendChild(I)}},{key:"startsWith",value:function(x,G){return x.slice(0,G.length)==G}},{key:"parseUri",value:function(x){var G=this.parseUriOptions;x=G.parser[G.strictMode?"strict":"loose"].exec(x);for(var I={},L=14;L--;)I[G.key[L]]=x[L]|| 550"";return I[G.q.name]={},I[G.key[12]].replace(G.q.parser,function(M,P,R){P&&(I[G.q.name][P]=R)}),I}},{key:"extractGETParameter",value:function(x,G){return this.locationService.getParameterByName(x,G)}},{key:"makeAjaxCall",value:function(x,G,I){return $.ajax({url:this.environmentUtils.getPathForAjax()+x.url,type:"post",data:x.data}).fail(function(L){"function"==typeof I&&I(L)}).done(function(L){1==L.failure?"function"==typeof I&&I(L):"function"==typeof G&&G(L)})}},{key:"loadTranslations",value:function(x){this.frontendTranslation.loadTranslations(x)}}, 551{key:"_initDefaultLanguage",value:function(x){window.i18n.init({fallbackLng:[x]})}},{key:"isDef",value:function(x){return"undefined"!==Object(y.a)(x)}},{key:"isNotDef",value:function(x){return"undefined"===Object(y.a)(x)}},{key:"removeGetParamsFromUrl",value:function(){var x=window.location.toString();0<x.indexOf("?")&&(x=x.substring(0,x.indexOf("?")),window.history.replaceState({},document.title,x))}},{key:"getViewerCountryCode",value:function(){var x=Object(e.a)(A.a.mark(function I(){var L=this; 552return A.a.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.abrupt("return",new Promise(function(P){var R=L.locationService.addForceCountryParamIfSetInPath("/publishedWebsite/getViewerCountryCode");L.makeAjaxCall({url:R},function(Y){P(Y.data.countryCode)}
552)}));case 1:case "end":return M.stop()}},I)}));return function(){return x.apply(this,arguments)}}()}],[{key:"generateRandomID",value:function(){return Math.floor(4294967296*(1+Math.random())).toString(16).substring(1)}}]),B}(k.a),f=Object(r.a)(b.prototype, 553"environmentUtils",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=Object(r.a)(b.prototype,"frontendTranslation",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=Object(r.a)(b.prototype,"locationService",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b))||b)},2338:function(r,k,a){function t(w){var u=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 554[],function(){})),!0}catch(z){return!1}}();return function(){var z=Object(f.a)(w);if(u){var y=Object(f.a)(this).constructor;z=Reflect.construct(z,arguments,y)}else z=z.apply(this,arguments);return Object(b.a)(this,z)}}a.d(k,"a",function(){return p});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(2527);r=a(1920);var c=a(10),e=a(957),h=a(1903),l=a(82),v=a(953);webwave.provide("com.webwave.publication.wobject.wbutton.WButton");var p=function(w){function u(y){var A;
554Object(q.a)(this,u);(A=z.call(this, 555y))._currentState=l.a.NORMAL;var E=A.getDomObject()[0].getElementsByClassName("ww_button_data")[0];return A._buttonData=JSON.parse(E.text),E.remove(),A._textHtml=A._buttonData.textHtml,A._variableBackgroundImageInHoverState=y.variableBackgroundImageInHoverState,A.initRwdTextContent(),A.cloneComputedStyleToInlineInContent(),A._initTouchEvent(),!0!==A._variableBackgroundImageInHoverState&&A._clearHoverBackgroundImageStyle(),A}Object(d.a)(u,w);var z=t(u);return Object(n.a)(u,[{key:"createStatesStyles", 556value:function(y){return new v.a(v.a.deserialize(y))}},{key:"isHoverAnimatorEnabled",value:function(){return Object(m.a)(Object(f.a)(u.prototype),"isHoverAnimatorEnabled",this).call(this)&&this._changeTextInStateIsAvailable(l.a.HOVER)}},{key:"setVerticalBackgroundPositionForParallax",value:function(y){var A,E=this._getStyleMapByState(this.getCurrentVersion(),{full:!0}),C="calc("+E.background.verticalPosition+y+")";if(this.getContent()[0].style.backgroundPosition=E.background.horizontalPosition+" "+ 557C,null===(A=this._hoverAnimator)||void 0===A?void 0:A.getAnimation()){A=this.getDomObject().find(".hoverAnimationScene");E=A.find('[wwButtonState="'+l.a.NORMAL+'"]');if(0<E.length){var D=this._getStyleMapByState(l.a.NORMAL,{full:!0});C="calc("+D.background.verticalPosition+y+")";E.each(function(){this.style.backgroundPosition=D.background.horizontalPosition+" "+C})}A=A.find('[wwButtonState="'+l.a.HOVER+'"]');if(0<A.length){var F=this._getStyleMapByState(l.a.HOVER,{full:!0});C="calc("+F.background.verticalPosition+ 558y+")";A.each(function(){this.style.backgroundPosition=F.background.horizontalPosition+" "+C})}}}},{key:"getNormalStateWrapper",value:function(){return this.getContent().find(".ww_button_background_image_box.normal")}},{key:"getHoverStateWrapper",value:function(){return this.getContent().find(".ww_button_background_image_box.hover")}},{key:"getButtonLink",value:function(){return this.getContent().find(".ww_button_link")}},{key:"initRwdTextContent",value:function(){var y=$(this.getContent()[0].querySelectorAll(".normal.ww_button_text_wrapper .ww_button_text")), 559A=$(this.getContent()[0].querySelectorAll(".hover.ww_button_text_wrapper .ww_button_text"));0<y.length&&(this._rwdTextContentNormal=new h.a(y));0<A.length&&(this._rwdTextContentHover=new h.a(A));this.reloadTextRwdProperties()}},{key:"reloadTextRwdProperties",value:function(y){webwave.isDefAndNotNull(this._rwdTextContentNormal)&&this._rwdTextContentNormal.loadRwdTextProperties(y);webwave.isDefAndNotNull(this._rwdTextContentHover)&&this._rwdTextContentHover.loadRwdTextProperties(y)}},{key:"updateObjectForRwdChange", 560value:function(y){Object(m.a)(Object(f.a)(u.prototype),"updateObjectForRwdChange",this).call(this,y);this.cloneComputedStyleToInlineInContent();this.reloadTextRwdProperties()}},{key:"getButtonTextWrapper",value:function(){return this.getContent().find(".ww_button_text")}},{key:"_loadButtonStyle",value:function(y){Object(m.a)(Object(f.a)(u.prototype),"applyPartialObjectStyle",this).call(this,y);this.getButtonTextWrapper().css({verticalAlign:y.verticalAlign,textAlign:y.horizontalAlign})}},{key:"setButtonTextHtml", 561value:function(y){this.getButtonTextWrapper().html(y)}},{key:"_getStyleMapByState",value:function(y){return this.getStateStyle(y)}},{key:"_getHtmlByState",value:function(y){var A="";if(webwave.isValidEnumValue(y,l.a))return webwave.isNotDef(this._textHtml[y])?(y!==l.a.HOVER&&y!==l.a.DISABLED||(A=this._getHtmlByState(l.a.NORMAL)),y===l.a.NORMAL&&(A="")):A=this._textHtml[y],A}},{key:"setContentStyle",value:function(y){this.getContent().css(y.toCss2Map())}},{key:"setState",value:function(y){if(Object(m.a)(Object(f.a)(u.prototype), 562"setState",this).call(this,y),this._changeTextInStateIsAvailable(y)){this._currentState=y;var A=this._getStyleMapByState(y);y=this._getHtmlByState(y);this.setButtonTextHtml(y);this._loadButtonStyle(A);this.getContent().attr("wwButtonState",this._currentState);this.reloadTextRwdProperties()}}},{key:"getCurrentVersion",value:function(){return this._currentState}}
562,{key:"getStateStyle",value:function(y){return this.getStatesStyles().getStyle(y)}},{key:"getButtonVersionStyle",value:function(y){return this.getStateStyle(y)}}, 563{key:"setStyleVersion",value:function(y){this.setState(y)}},{key:"domMouseEnterHandler",value:function(){Object(m.a)(Object(f.a)(u.prototype),"domMouseEnterHandler",this).call(this);this.customMouseEnterHandler()}},{key:"customMouseEnterHandler",value:function(){!c.o.isMobileAppleDevice()||this.getDomObject().find("a[href^=mailto]").length||this.getDomObject().find("a[href^=tel]").length||!0===this._hasHrefAttr()&&this._getElementForAppleDeviceMouseEnterEvent()[0].click()}},{key:"domTouchEnterHandler", 564value:function(){Object(m.a)(Object(f.a)(u.prototype),"domMouseEnterHandler",this).call(this)}},{key:"domTouchLeaveHandler",value:function(){this.domMouseLeaveHandler()}},{key:"_getElementForAppleDeviceMouseEnterEvent",value:function(){return this.getButtonLink()}},{key:"_initTouchEvent",value:function(){this._initAppleDeviceClickHandler();this._enableTouchEventListeners()}},{key:"changeStylesBackgroundImageExtensionIfNecessary",value:function(){this.changeStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(l.a.NORMAL)); 565this.changePartialStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(l.a.HOVER),this.browserWebPSupportUtils.getHoverWeBPImageAttrName(),this.browserWebPSupportUtils.getHoverWeBPImageDatasetAttrName())}},{key:"changeStyleBackgroundExtensionIfNecessary",value:function(y){y.styleMap.background.backgroundImage=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(y.styleMap.background.backgroundImage,this.getContent()[0])}},{key:"changePartialStyleBackgroundExtensionIfNecessary", 566value:function(y,A,E){if(webwave.isDef(y.styleMap)){var C=y.styleMap.background.backgroundImage;A=this.getContent().find("[".concat(A,"]"))[0];y.styleMap.background.backgroundImage=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrParameterCheck(C,A,E)}}},{key:"_clearHoverBackgroundImageStyle",value:function(){var y=this.getButtonVersionStyle(l.a.HOVER);webwave.isDef(y)&&(y=y.getBackground(),webwave.isDef(y)&&y.clearBackgroundImageProperties())}},{key:"useAdvancedTextEditor",value:function(){return!0}}, 567{key:"_enableTouchEventListeners",value:function(){var y=this;this.getDomObject().on("touchstart",function(A){y._uiEventsLock=new g.a;var E=A.target;A=function D(){y._uiEventsLock=new g.a;E.removeEventListener("touchend",D);E.removeEventListener("touchcancel",D);y.domTouchLeaveHandler()};E.addEventListener("touchend",A);E.addEventListener("touchcancel",A);y.domTouchEnterHandler()})}},{key:"_hasHrefAttr",value:function(){return webwave.isDefAndNotNull(this.getButtonLink().attr("href"))}},{key:"_initAppleDeviceClickHandler", 568value:function(){if(c.o.isMobileSafari()){var y=this.getButtonLink(),A=y.attr("href"),E=y.attr("target");webwave.isDef(A)&&""!==A&&webwave.isDef(E)&&(y.on("click",function(){return!1}),c.o.emulateClickEventForAppleDevice(this.getDomObject(),function(){window.open(y.attr("href"),E)}))}}},{key:"_changeTextInStateIsAvailable",value:function(y){return!1===c.o.isAppleDeviceWithTouchScreen()||webwave.isNotDef(this.getButtonLink())}}]),u}(r.a);com.webwave.publication.wobject.wbutton.WButton=p;p.deserializeStyles= 569function(w){var u={},z;for(z in w)w.hasOwnProperty(z)&&(u[z]=e.a.deserialize(w[z]));return u}},2339:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h= 570h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(2242);var f=a(2695),g=function(c){function e(l){var v;return Object(q.a)(this,e),(v=h.call(this,l))._rwdProperties=new f.a(l.rwdProperties),v}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getRwdProperties",value:function(){return this._rwdProperties}},{key:"initialize",value:function(l){this._rwdProperties.setRwdService(l)}},{key:"getImageSrc",value:function(){return this.getRwdProperties().getImageSrc()}}, 571{key:"getImageSize",value:function(){return this.getRwdProperties().getImageSize()}},{key:"getCroppedImageSrc",value:function(){return this.getRwdProperties().getCroppedImageSrc()}},{key:"getCroppedImageSize",value:function(){return this.getRwdProperties().getCroppedImageSize()}},{key:"getThumbnailSrc",value:function(){return this.getRwdProperties().getThumbnailSrc()}},{key:"getThumbnailSize",value:function(){return this.getRwdProperties().getThumbnailSize()}},{key:"getUseWebp",value:function(){return this.getRwdProperties().getUseWebp()}}]), 572e}(r.a)},2340:function(r,k,a){function t(g,c){var e="undefined"!=typeof Symbol&&g[Symbol.iterator]||g["@@iterator"];if(!e){if(Array.isArray(g)||(e=function(w,u){if(w){if("string"==typeof w)return q(w,u);var z=Object.prototype.toString.call(w).slice(8,-1);"Object"===z&&w.constructor&&(z=w.constructor.name);if("Map"===z||"Set"===z)return Array.from(w);if("Arguments"===z||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return q(w,u)}}(g))||c&&g&&"number"==typeof g.length){e&&(g=e);var h=0;c=function(){}; 573return{s:c,n:function(){return h>=g.length?{done:!0}:{done:!1,value:g[h++]}},e:function(w){throw w;},f:c}}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 l,v=!0,p=!1;return{s:function(){e=e.call(g)},n:function(){var w=e.next();return v=w.done,w},e:function(w){p=!0;l=w},f:function(){try{v||null==e.return||e.return()}finally{if(p)throw l;}}}}function q(g,c){(null==c||c>g.length)&&(c=g.length); 574for(var e=0,h=Array(c);e<c;e++)h[e]=g[e];return h}a.d(k,"a",function(){return f});var n=a(0),m=a(1),d=a(1928),b=a(2224),f=function(){function g(){Object(n.a)(this,g)}return Object(m.a)(g,null,[{key:"lazyLoadImages",value:function(c){if(webwave.isDefAndNotNull(c)){var e,h=elementAttributeService.getAttributeFromRwdMapForCurrentMode(c,"slidesPerView");c=t(c.querySelectorAll(".".concat(b.a.SLIDE_CLASS,":nth-of-type(-n+").concat(h,")")));try{for(c.s();!(e=c.n()).done;){var l,v=e.value,p=t(v.querySelectorAll("source")); 575try{for(p.s();!(l=p.n()).done;){var w=l.value;w.setAttribute("srcset",w.dataset.srcset)}}catch(u){p.e(u)}finally{p.f()}g.updateImageDimensions(v)}}catch(u){c.e(u)}finally{c.f()}}}},{key:"updateImageDimensions",value:function(c){var e=c.querySelector("img");c=c.querySelector(".".concat(b.a.IMAGE_WRAPPER_CLASS));webwave.isDefAndNotNull(e)&&(c=d.a.innerDimensions(c),domElementService.resizeImgDomElement({contentWidth:c.width,contentHeight:c.height,element:e,imageWidth:elementAttributeService.getAttributeFromRwdMapForCurrentMode(e, 576"width"),imageHeight:elementAttributeService.getAttributeFromRwdMapForCurrentMode(e,"height")}))}}]),g}()},2341:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,[{key:"getYPositionToScroll",value:function(){return 0}},{key:"getAnimationTime",value:function(){return Math.min(this._calculateAnimationTimeBaseOnTargetPosition(),m.MAX_ANIMATION_TIME)}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function(){return Math.floor(this.getYPositionToScroll()/ 5772)}}]),m}();n.MAX_ANIMATION_TIME=1500},2351:function(r,k,a){k.a={FLUID_WIDTH:"fluid_width",MASONRY_VERTICAL:"masonry_vertical",CLASSIC:"classic"}},2352:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(10),m=function(){function d(){Object(t.a)(this,d);this._webPSupported=null}return Object(q.a)(d,[{key:"init",value:function(){var b=this;return new Promise(function(f){b._checkWebPSupport(function(g){b.setWebPSupport(g);f(g)})})}},{key:"changeSrcIfWebPSupported",value:function(b){return this.isWebPSupported()? 578this.replaceImageSrcToWebP(b):b}},{key:"changeSrcIfWebPSupportedWithAttrCheck",value:function(b,f){return webwave.isDefAndNotNull(f)&&(b="true"===f.dataset[d.USE_WEBP_IMAGE_ATTR]?this.changeSrcIfWebPSupported(b):b),b}},{key:"changeSrcIfWebPSupportedWithAttrParameterCheck",value:function(b,f,g){return webwave.isDefAndNotNull(f)&&"true"===f.dataset[g]?this.changeSrcIfWebPSupported(b):b}},{key:"isWebPSupported",value:function(){return this._webPSupported}},{key:"replaceImageSrcToWebP",value:function(b){return n.v.replaceExtensionInSrc(b, 579"webp")}},{key:"setWebPSupport",value:function(b){this._webPSupported=b}},{key:"_checkWebPSupport",value:function(b){var f=new Image;f.onload=function(){b(0<f.width&&0<f.height)};f.onerror=function(){b(!1)};f.src="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA=="}}
579,{key:"getWeBPImageAttrName",value:function(){return d.USE_WEBP_IMAGE_ATTR}},{key:"getHoverWeBPImageDatasetAttrName",value:function(){return d.USE_HOVER_WEBP_IMAGE_DATASET_ATTR}}, 580{key:"getHoverWeBPImageAttrName",value:function(){return d.USE_HOVER_WEBP_IMAGE_ATTR}}]),d}();m.USE_WEBP_IMAGE_ATTR="usedWebpImage";m.USE_HOVER_WEBP_IMAGE_DATASET_ATTR="hoverUsedWebpImage";m.USE_DISABLED_WEBP_IMAGE_DATASET_ATTR="disabledUsedWebpImage";m.USE_HOVER_WEBP_IMAGE_ATTR="data-hover-used-webp-image";m.USE_DISABLED_WEBP_IMAGE_ATTR="data-disabled-used-webp-image"},2353:function(r,k,a){k.a={GO_TO_PAYMENT_PROVIDER:"goToPaymentProvider",POSITION_BOX:"positionContextMenuBox",SHOP_DATA:"shopData", 581ANIMATION_BOX:"animationContextMenuBox"}},2370:function(r,k,a){r=a(1582);var t=a(190),q=a(1598);a=a(1452);k.a={autoplay:!0,enable_overlays:!0,enable_slideshow:!0,filmstrip_on_image:!0,filmstrip_position:a.a.BOTTOM,filmstrip_style:"showall",frame_gap:8,frame_height:10,frame_width:10,overlay_position:q.a.TOP,panel_animation:r.a.SLIDE,panel_height:300,panel_scale:t.a.COVER,panel_width:400,showFilmstripOnHover:!0,show_filmstrip:!0,show_filmstrip_nav:!1,show_infobar:!1,show_panel_nav:!0,transition_interval:5E3, 582transition_speed:1E3}},2371:function(r,k,a){a.d(k,"a",function(){return d});r=a(1582);var t=a(190),q=a(731),n=a(730),m=a(1598);a=a(1452);var d={animation_autoplay:!0,animation_delay:5E3,animation_duration:1E3,animation_type:r.a.SLIDE,gallery_infobox_enabled:!0,gallery_infobox_position:m.a.TOP,gallery_thumbnails_enabled:!1,gallery_thumbnails_position:a.a.BOTTOM,image_crop_type:t.a.COVER,next_prev_buttons_distance:24,next_previous_buttons_enabled:!0,thumbnailsHeight:10,thumbnailsWidth:10,useOriginalImageSizeInArrows:!0, 583styles:{header:{textStyleId:n.a.H2,styleMap:{opacity:1,backgroundColor:"rgba(34, 34, 34, 0)",paddingLeft:"80px",paddingTop:"24px",paddingRight:"80px",paddingBottom:"24px"},textStyleMap:{color:q.a.gallery.header.color}},descrition:{textStyleId:n.a.DEFAULT,textStyleMap:{color:q.a.gallery.header.color}}}};k.b={contentData:d,panel_height:450,panel_width:1200}},2372:function(r,k,a){k.a={TITLE:"title",NAME:"nameText"}},2373:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect|| 584!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l,v=1<arguments.length&& 585void 0!==arguments[1]?arguments[1]:{},p=2<arguments.length?arguments[2]:void 0;return Object(q.a)(this,c),(l=e.call(this,h,v)).type=p,l.feedItemDataProperty=v.feedItemDataProperty,l.selectorClassName=v.selectorClassName,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getTextElement",value:function(h){return h.querySelector(".".concat(this.selectorClassName))}},{key:"shouldAddToCountMinSize",value:function(){return!0}},{key:"updateSingleFeedItemElData",value:function(h){var l=this.getTextElement(h.feedItemEl); 586webwave.isDefAndNotNull(l)&&webwave.isDefAndNotNull(this.feedItemDataProperty)&&(l.textContent=h.feedItemData[this.feedItemDataProperty])}}]),c}(a(1389).a)},2374:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(43),m=function(){function d(b){Object(t.a)(this,d);this.feed=b;this.minSize=new n.a({});this.biggestSize=new n.a({})}return Object(q.a)(d,[{key:"addMinSizeWidth",value:function(b){this.minSize.addWidth(b)}},{key:"countMinSize",value:function(){this.addMinSizeWidth(this.countMinSizeByInnerElementType(this.feed.getItemElementName()).getWidth()); 587for(var b,f=this.feed.getInnerElementNameForIteration(),g=new n.a({}),c=0;c<f.length;c++){var e=this.feed.getInnerElementByName(f[c]);e.shouldAddToCountMinSize()?(b=this.countMinSizeByInnerElementType(e.type),g.setWidth(Math.max(g.getWidth(),b.getWidth()))):e.shouldAddWidth()&&this.addMinSizeWidth(e.getWidthValueToAdd())}return this.addMinSizeWidth(g.getWidth()),this.minSize}},{key:"countMinSizeByInnerElementType",value:function(b){return this.feed.getInnerElementByName(b).countMinSize()}}]),d}()}, 5882394:function(r,k,a){function t(f){var g=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(c){return!1}}();return function(){var c=Object(d.a)(f);if(g){var e=Object(d.a)(this).constructor;c=Reflect.construct(c,arguments,e)}else c=c.apply(this,arguments);return Object(m.a)(this,c)}}a.d(k,"a",function(){return b});var q=a(0), 589n=a(3),m=a(4),d=a(2);r=(a(1337),a(1927));a(2161);var b=function(f){function g(e){return Object(q.a)(this,g),c.call(this,e)}Object(n.a)(g,f);var c=t(g);return g}(r.a)},2395:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1);a(800);webwave.provide("com.webwave.animator.Animator");var n=function(){function m(){Object(t.a)(this,m);this._animationQueue=[];this._running=!1;this._rafPtr}return Object(q.a)(m,[{key:"registerAnimation",value:function(d){-1===this._animationQueue.indexOf(d)&& 590(this._animationQueue.push(d),!1===this._running&&this._start())}},{key:"unregisterAnimation",value:function(d){d=this._animationQueue.indexOf(d);-1!==d&&this._animationQueue.splice(d,1);0===this._animationQueue.length&&this._stop()}},{key:"_handleTick",value:function(d){var b=this._animationQueue.slice(0);this._rafPtr=m.requestAnimationFrame(this._handleTick.bind(this));for(var f=0;f<b.length;f++){var g=b[f];try{!1===g.isStarted()&&g.start(d),!0===g.isRunning()&&(g.setCurrentTime(d-g.getStartTime()), 591g.tick()),g.getCurrentTime()>=g.getDuration()&&g.stop(!0),!0===g.isFinished()&&this.unregisterAnimation(g)}catch(c){webwave.debug(c),this.unregisterAnimation(g)}}}},{key:"_stop",value:function(){!0===this._running&&(this._running=!1,webwave.isDef(this._rafPtr)&&m.cancelAnimationFrame(this._rafPtr))}},{key:"_start",value:function(){!1===this._running&&(this._running=!0,this._rafPtr=m.requestAnimationFrame(this._handleTick.bind(this)))}}]),m}();n.cancelAnimationFrame=function(m){window.cancelAnimationFrame(m)}; 592n.requestAnimationFrame=function(m){return window.requestAnimationFrame(m)};com.webwave.animator.Animator=n;com.webwave.animator.animator=new n},2396:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor; 593e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q,n=a(0),m=a(3),d=a(4),b=a(2);r=a(40);k=a(20);a.n(k);var f=Object(k.injectable)()(q=function(g){function c(){return Object(n.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return c}(r.c))||q},2397:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m);this._arr=[];this._map=new Map}return Object(q.a)(m, 594[{key:"add",value:function(d,b){this._map.has(d)||(this._map.set(d,b),this._arr.push(b))}},{key:"remove",value:function(d){!1!==this._map.has(d)&&(this._map.delete(
594d),this._arr.splice(this._arr.indexOf(d),1))}},{key:"get",value:function(d){return this._map.get(d)}},{key:"has",value:function(d){return this._map.has(d)}},{key:"toArray",value:function(){return this._arr}}]),m}()},24:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.id=void 0;var t=0;k.id=function(){return t++}},2495:function(r, 595k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c);if(e){var l=Object(f.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(17), 596d=a(3),b=a(4),f=a(2),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(d.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"onOuterChildRectChange",value:function(l,v){Object(m.a)(Object(f.a)(e.prototype),"onOuterChildRectChange",this).call(this,l,v);this.isDomElementPositionUpdateEnabled()&&pageService.updateBackgroun
596dSize()}},{key:"isUserGroup",value:function(){return!1}}]),e}(a(1901).a);webwave.provide("com.webwave.publication.object.RootWObject");com.webwave.publication.object.RootWObject= 597g},2496:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0), 598n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"isUserGroup",value:function(){return!1}}]),c}(a(1901).a);webwave.provide("com.webwave.publication.object.PageWObject");com.webwave.publication.object.PageWObject=f},2497:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 599[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c);if(e){var l=Object(f.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=function(c){function e(l){var v;return Object(q.a)(this,e),(v=h.call(this,l)).footerMargin=parseInt(v.getDomObject().attr("footerMargin")),v.rwdMinimalDistances=l.rwdMinimalDistances,v.rwdFooterMargins= 600webwave.isDef(l.rwdFooterMargins)?l.rwdFooterMargins:{},v}Object(d.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"setFooterMargin",value:function(l){var v=this.footerMargin!==l;this.footerMargin=l;v&&this.updatePushedDownAttr()}},{key:"getFooterMargin",value:function(){return this.footerMargin}},{key:"setRwdMode",value:function(l){Object(m.a)(Object(f.a)(e.prototype),"setRwdMode",this).call(this,l);var v=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(this.rwdMinimalDistances, 601l);webwave.isNumber(v)&&this.setMinimalDistance(v);l=com.webwave.publication.rwd.rwdService.searchForClosestObjectByRwdMode(this.rwdFooterMargins,l);webwave.isNumber(l)&&this.setFooterMargin(l)}},{key:"countPushDownAttr",value:function(l,v){v=Object(m.a)(Object(f.a)(e.prototype),"countPushDownAttr",this).call(this,l,!0);var p=this.getPadding("top")+this.getBorderWidth("top");return!1===isFinite(l)&&(v=p),Math.max(this.getMinimalDistance()+p,v+this.getFooterMargin())}}]),e}(a(1901).a)},2498:function(r, 602k,a){function t(C,D){var F="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!F){if(Array.isArray(C)||(F=function(I,L){if(I){if("string"==typeof I)return q(I,L);var M=Object.prototype.toString.call(I).slice(8,-1);"Object"===M&&I.constructor&&(M=I.constructor.name);if("Map"===M||"Set"===M)return Array.from(I);if("Arguments"===M||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return q(I,L)}}(C))||D&&C&&"number"==typeof C.length){F&&(C=F);var B=0;D=function(){};return{s:D,n:function(){return B>= 603C.length?{done:!0}:{done:!1,value:C[B++]}},e:function(I){throw I;},f:D}}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 H,x=!0,G=!1;return{s:function(){F=F.call(C)},n:function(){var I=F.next();return x=I.done,I},e:function(I){G=!0;H=I},f:function(){try{x||null==F.return||F.return()}finally{if(G)throw H;}}}}function q(C,D){(null==D||D>C.length)&&(D=C.length);for(var F=0,B=Array(D);F<D;F++)B[F]= 604C[F];return B}function n(C){var D=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}();return function(){var F=Object(c.a)(C);if(D){var B=Object(c.a)(this).constructor;F=Reflect.construct(F,arguments,B)}else F=F.apply(this,arguments);return Object(g.a)(this,F)}}a.d(k,"a",function(){return E});var m=a(0),d=a(1), 605b=a(17),f=a(3),g=a(4),c=a(2),e=a(190),h=a(2339),l=a(2206),v=a(91),p=a(1026),w=a(1359);r=a(1920);var u=a(2658),z=a(43),y=a(1452),A=a(2696);webwave.provide("com.webwave.publication.object.WGallery");var E=function(C){function D(B){var H,x;Object(m.a)(this,D);
605var G=(H=F.call(this,B))._getGalleryImagesWrapper().querySelector(".ww_element_animation.header_animation");return webwave.isDefAndNotNull(G)&&(x=JSON.parse(G.innerHTML),G.remove()),H._headerInnerElement=new u.a({rwdAnimationMaps:x}),H._thumbnailsWidth= 606webwave.isNumberAndNotNaN(B.thumbnailsWidth)?B.thumbnailsWidth:D.DEFAULT_THUMBNAIL_SIZE.width,H._thumbnailsHeight=webwave.isNumberAndNotNaN(B.thumbnailsHeight)?B.thumbnailsHeight:D.DEFAULT_THUMBNAIL_SIZE.height,H._thumbnailsCropType=webwave.isValidEnumValue(B.thumbnailsCropType,e.a)?B.thumbnailsCropType:e.a.COVER,H._panelSize=null,H._galleryView=null,H._initGalleryImageClick(),H.kenBurnsService=null,H.browserWebPSupportUtils=null,H._animator=null,H._images=[],H}Object(f.a)(D,C);var F=n(D);return Object(d.a)(D, 607[{key:"init",value:function(){Object(b.a)(Object(c.a)(D.prototype),"init",this).call(this);this.setPanelSize(this.calcGalleryWrapSize())}},{key:"getDefaultGalleryViewSettings",value:function(){var B={};return B.show_filmstrip_nav=l.a.show_filmstrip_nav,B.show_infobar=l.a.show_infobar,B.frame_gap=this.getFrameGap(),B.onOverlayChange=this.overlayChangeHandler.bind(this),B.panel_scale=l.a.panel_scale,B}},{key:"getFrameGap",value:function(){return l.a.frame_gap}},{key:"createGvImageMapByGalleryImage", 608value:function(B){var H,x,G=B.getImageSrc();var I=B.getCroppedImageSize();if(webwave.isDefAndNotNull(I)){var L=B.getCroppedImageSrc();L=this.browserWebPSupportUtils.changeSrcIfWebPSupported(L);var M=I.getWidth();I=I.getHeight()}else L=B.getUseWebp()?this.browserWebPSupportUtils.changeSrcIfWebPSupported(G):G,M=B.getImageSize().getWidth(),I=B.getImageSize().getHeight();return{imageUrl:L,title:B.getTitleHtml(),width:parseInt(M,10),height:parseInt(I,10),link:{href:G,target:"_blank",title:B.getTitle()}, 609imageCropData:this._getImageCropDataFromGalleryImage(B),thumbnailUrl:B.getThumbnailSrc(),thumbnailWidth:null===(H=B.getThumbnailSize())||void 0===H?void 0:H.getWidth(),thumbnailHeight:null===(x=B.getThumbnailSize())||void 0===x?void 0:x.getHeight()}}},{key:"_getImageCropDataFromGalleryImage",value:function(B){return webwave.isDefAndNotNull(null===B||void 0===B?void 0:B.getCropData())?B.getCropData():p.a.createDefaultWithCropType(l.a.panel_scale)}},{key:"createGalleryViewImagesList",value:function(){for(var B= 610[],H=this.getImages(),x=0;x<H.length;x++)B.push(this.createGvImageMapByGalleryImage(H[x]));return B}},{key:"createGalleryViewSettings",value:function(){var B=this.getDefaultGalleryViewSettings(),H=this.getPanelSize();B.panel_width=H.getWidth();B.panel_height=H.getHeight();H=this._getGalleryImagesWrapper();B.show_filmstrip=this.isThumbnailsEnabled();B.filmstrip_position=this.getGalleryThumbnailsPosition();B.enable_overlays="true"===H.getAttribute("infobox_enabled");B.overlay_position=H.getAttribute("infobox_position"); 611B.show_panel_nav="false"!==H.getAttribute("show_panel_nav");B.autoplay="false"!==H.getAttribute("animation_autoplay");B.panel_animation=H.getAttribute("animation_type");B.transition_speed=parseInt(H.getAttribute("animation_duration"));B.transition_interval=parseInt(H.getAttribute("animation_delay"));B.frame_scale=this.getThumbnailsCropType();B.frame_width=this.getThumbnailsWidth();B.frame_height=this.getThumbnailsHeight();var x=parseInt(H.getAttribute("nextPrevButtonsDistance"));B.prevButtonDistance= 612x;B.nextButtonDistance=x;B.onImageChanged=this.imageChangedHandler.bind(this);x=H.getAttribute("paragraphtextstyleid");webwave.isDef(x)&&(B.paragraph_text_style_id=x);H=H.getAttribute("headertextstyleid");return webwave.isDef(H)&&(B.header_text_style_id=H),B.images=this.createGalleryViewImagesList(),B}},{key:"_getGalleryImagesWrapper",value:function(){return this.getDomObject()[0].querySelector(".galleryList")}},{key:"_updateHeaderInnerElement",value:function(){var B=this.getHeaderInnerElement(), 613H=this.getDomObject().find(".gv_overlayHeaderWrapper");0<H.length&&webwave.isDef(B)&&(B.setDomObject(H),B.reloadTextRwdProperties(),H.data("wInnerElement",B))}},{key:"recreateContent",value:function(){var B=this,H=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(0<this.getImages().length){if(!0===H.force)webwave.isDefAndNotNull(this._galleryView)&&this._galleryView.dispose();else if(webwave.isDefAndNotNull(this._galleryView))return void this._galleryView.resize(this.createGalleryViewSettings(), 614this.getContent()[0]);H=document.createElement("div");
614this.getContent()[0].appendChild(H);var x=this.createGalleryViewSettings();this._galleryView=new com.webwave.webgal.GalleryView(x,H);this._galleryView.setAnimator(this.getAnimator());this._galleryView.addImageLoadedListener(function(G){0===G&&B.removePreloadWrapper()});this.updateHeaderVisibility();this._updateHeaderInnerElement()}}},{key:"initKenBurnsType",value:function(B){this.setKenBurnsService(B);B=this._getGalleryImagesWrapper().getAttribute("data-ken-burns-type"); 615this.kenBurnsType=webwave.isValidEnumValue(B,w.a)?B:w.a.DISABLED}},{key:"isKenBurnsEnabled",value:function(){return this.kenBurnsType!==w.a.DISABLED}},{key:"initKenBurns",value:function(){if(this.isKenBurnsEnabled()){var B=$(".gv_panel.currentPanel img");this.kenBurns=this.kenBurnsService.initKenBurnsEffectOnElement(B,this.kenBurnsType)}}},{key:"imageChangedHandler",value:function(B){this.isKenBurnsEnabled()&&webwave.isDefAndNotNull(this.kenBurnsService)&&(B=B.find("img"),webwave.isNotDef(this.kenBurns)? 616this.kenBurns=this.kenBurnsService.initKenBurnsEffectOnElement(B,this.kenBurnsType):(this.kenBurns.stop(),this.kenBurns.$targetElement=B,this.kenBurns.update()))}},{key:"_initGalleryImageClick",value:function(){var B=this;this.getDomObject().on("click",".gv_panelWrap a",function(H){H.preventDefault();B.openLightboxPlugin()});this.getDomObject().on("mousedown",".gv_panelWrap a",function(H){H.preventDefault()})}},{key:"getCurrentImageIndex",value:function(){return webwave.isDefAndNotNull(this._galleryView)? 617this._galleryView.iterator:-1}},{key:"_createPhotoSwipeImageMapByGalleryImage",value:function(B){var H=B.getImageSrc(),x=B.getImageSize().getWidth(),G=B.getImageSize().getHeight(),I=B.getThumbnailSrc();!1===webwave.isStringAndNotEmpty(I)&&(I=H);var L="";B=B.getDescription();return webwave.isDef(B)&&""!=B&&(L+="<div>".concat(B,"</div>")),{src:H,w:x,h:G,msrc:I,title:L}}},{key:"getImages",value:function(){return this._images}},{key:"openLightboxPlugin",value:function(){for(var B=[],H=this.getImages(), 618x=0;x<H.length;x++)B.push(this._createPhotoSwipeImageMapByGalleryImage(H[x]));this.getPhotoswipeService().openAsLightbox(B,this.getCurrentImageIndex())}},{key:"setPanelSize",value:function(B){this._panelSize=B}},{key:"getPanelSize",value:function(){return this._panelSize}},{key:"afterDomSizeChange",value:function(){Object(b.a)(Object(c.a)(D.prototype),"afterDomSizeChange",this).call(this);var B=this.calcGalleryWrapSize(),H=this.getPanelSize();webwave.isDefAndNotNull(H)&&!1===H.equals(B)&&(this.setPanelSize(B), 619webwave.isDefAndNotNull(this._galleryView)&&this.recreate())}},{key:"getHeaderInnerElement",value:function(){return this._headerInnerElement}},{key:"getThumbnailsHeight",value:function(){return this._thumbnailsHeight}},{key:"setThumbnailsHeight",value:function(B){this._thumbnailsHeight=B}},{key:"getThumbnailsWidth",value:function(){return this._thumbnailsWidth}},{key:"setThumbnailsWidth",value:function(B){this._thumbnailsWidth=B}},{key:"isThumbnailsEnabled",value:function(){return this._thumbnailsEnabled}}, 620{key:"setThumbnailsEnabled",value:function(B){this._thumbnailsEnabled=B}},{key:"getThumbnailsCropType",value:function(){return this._thumbnailsCropType}},{key:"setThumbnailsCropType",value:function(B){this._thumbnailsCropType=B}},{key:"getGalleryThumbnailsPosition",value:function(){return this._thumbnailsPosition}},{key:"setGalleryThumbnailsPosition",value:function(B){this._thumbnailsPosition=B}},{key:"overlayChangeHandler",value:function(){this.updateHeaderVisibility();var B=this.getHeaderInnerElement(); 621webwave.isDef(B)&&0<B.getDomObject().length&&(B.reloadTextRwdProperties(),B.playCurrentAnimation())}},{key:"updateHeaderVisibility",value:function(){var B=this.getDomObject().find(".gv_overlayHeaderWrapper");if(0<B.length){var H=B.html(),x=0<v.a.html2Text(H).length;H=-1<H.indexOf("<img");B.toggle(x||H)}}},{key:"updateObjectForRwdChange",value:function(B){Object(b.a)(Object(c.a)(D.prototype),"updateObjectForRwdChange",this).call(this,B);this._headerInnerElement.loadRwdProperties(B);this._isImagesInitialized()&& 622(this._loadImagesRwdProperties(B),this.setPanelSize(this.calcGalleryWrapSize()),this.recreateContent({force:!0}))}},{key:"setKenBurnsService",value:function(B){this.kenBurnsService=B}},{key:"calcGalleryWrapSize",value:function(){var B=this.getInnerWidth(),H=this.getInnerHeight();if(this.isThumbnailsEnabled()){var x=this.getGalleryThumbnailsPosition();"left"==x||"right"==x?B=B-this.getThumbnailsWidth()-this.getFrameGap():H=H-this.getThumbnailsHeight()-this.getFrameGap()}return new z.a({width:B,height:H})}}, 623{key:"addImgLazyLoad",value:function(){Object(b.a)(Object(c.a)(D.prototype),"addImgLazyLoad",this).call(this);this.addObjectToIntersectionObserver(new A.a(this))}},{key:"useAdvancedTextEditor",value:function(){return!0}},{key:"getImagePropertiesFromDom",value:function(B){var H,x,G,I,L=null===(H=B.querySelector('[itemprop="name"]'))||void 0===H?void 0:H.getAttribute("content");H=null===(x=B.querySelector('[itemprop="description"]'))||void 0===x?void 0:x.getAttribute("content");x=null===(G=B.querySelector('[itemprop="caption description"]'))|| 624void 0===G?void 0:G.innerHTML;B=null===B||void 0===B?void 0:B.querySelector("script");return webwave.isDefAndNotNull(B)&&(I=JSON.parse(B.textContent).rwdProperties),{title:L,description:H,titleHtml:x,rwdProperties:I}}},{key:"createImageFromDom",value:function(B){return new h.a(this.getImagePropertiesFromDom(B))}},{key:"initializeImages",value:function(){this._images=this._deserializeImages();var B,H=this.getRwdService(),x=t(this._images);try{for(x.s();!(B=x.n()).done;)B.value.initialize(H)}catch(G){x.e(G)}finally{x.f()}this._loadImagesRwdProperties(H.getCurrentRwdMode()); 625this.recreate()}},{key:"setAnimator",value:function(B){this._animator=B}},{key:"getAnimator",value:function(){return this._animator}},{key:"setPhotoswipeService",value:function(B){this.photoswipeService=B}},{key:"getPhotoswipeService",value:function(){return this.photoswipeService}},{key:"getInnerElements",value:function(){var B=Object(b.a)(Object(c.a)(D.prototype),"getInnerElements",this).call(this);return B.push(this.getHeaderInnerElement()),B}},{key:"loadAdditionalData",value:function(B){Object(b.a)(Object(c.a)(D.prototype), 626"loadAdditionalData",this).call(this,B);this._thumbnailsEnabled=B.thumbnailsEnabled;this._thumbnailsPosition=webwave.isValidEnumValue(B.thumbnailsPosition,y.a)?B.thumbnailsPosition:y.a.BOTTOM}},{key:"_deserializeImages",value:function(){for(var B=this._getGalleryImagesWrapper().children,H=[],x=0;x<B.length;x++)H.push(this.createImageFromDom(B[x]));return H}},{key:"_loadImagesRwdProperties",value:function(B){for(var H=0;H<this._images.length;H++)this._images[H].loadRwdProperties(B)}},{key:"_isImagesInitialized", 627value:function(){return 0<this.getImages().length}},{key:"removePreloadWrapper",value:function(){}}]),D}(r.a);E.DEFAULT_THUMBNAIL_SIZE=new z.a({width:l.a.gallery_thumbnails_width,height:l.a.gallery_thumbnails_height});com.webwave.publication.object.WGallery=E},2499:function(r,k,a){function t(y,A){var E=Object.keys(y);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(y);A&&(C=C.filter(function(D){return Object.getOwnPropertyDescriptor(y,D).enumerable}));E.push.apply(E,C)}return E} 628function q(y){for(var A=1;A<arguments.length;A++){var E=null!=arguments[A]?arguments[A]:{};
628A%2?t(Object(E),!0).forEach(function(C){Object(m.a)(y,C,E[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(E)):t(Object(E)).forEach(function(C){Object.defineProperty(y,C,Object.getOwnPropertyDescriptor(E,C))})}return y}function n(y){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 629try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}();return function(){var E=Object(e.a)(y);if(A){var C=Object(e.a)(this).constructor;E=Reflect.construct(E,arguments,C)}else E=E.apply(this,arguments);return Object(c.a)(this,E)}}a.d(k,"a",function(){return z});var m=a(14),d=a(0),b=a(1),f=a(17),g=a(3),c=a(4),e=a(2),h=(a(78),a(743)),l=a(43),v=a(2697),p=a(2370),w=a(2371),u=a(2528);webwave.provide("com.webwave.publication.object.WSlider");var z= 630function(y){function A(C){var D;if(Object(d.a)(this,A),(D=E.call(this,C))._thumbnailsWidth=webwave.isNumberAndNotNaN(C.thumbnailsWidth)?C.thumbnailsWidth:w.b.contentData.thumbnailsWidth,D._thumbnailsHeight=webwave.isNumberAndNotNaN(C.thumbnailsHeight)?C.thumbnailsHeight:w.b.contentData.thumbnailsHeight,D._imagesLinkData=[],webwave.isArrayLike(C.imagesLinkData)){C=C.imagesLinkData;for(var F=0;F<C.length;F++)D._imagesLinkData.push(h.a.createLink(C[F]))}return D}Object(g.a)(A,y);var E=n(A);return Object(b.a)(A, 631[{key:"createGvImageMapByGalleryImage",value:function(C){var D=Object(f.a)(Object(e.a)(A.prototype),"createGvImageMapByGalleryImage",this).call(this,C);D.thumbnailUrl=wwConfig.additionalResoucresUrl.images.sliderDotImage;D.thumbnailWidth=this.getThumbnailsWidth();D.thumbnailHeight=this.getThumbnailsHeight();var F=C.getHref();return webwave.isStringAndNotEmpty(F)?D.link={href:F,target:C.getTarget(),samepage:C.getSamePage()}:D.link=void 0,D}},{key:"_initGalleryImageClick",value:function(){}},{key:"getLinkData", 632value:function(){return this._imagesLinkData[this.getCurrentImageIndex()]}},{key:"getDefaultGalleryViewSettings",value:function(){var C=Object(f.a)(Object(e.a)(A.prototype),"getDefaultGalleryViewSettings",this).call(this);return C.enable_overlays=!0,C.filmstrip_style=p.a.filmstrip_style,C.filmstrip_on_image=p.a.filmstrip_on_image,C.showFilmstripOnHover=p.a.showFilmstripOnHover,C}},{key:"getFrameGap",value:function(){return p.a.frame_gap}},{key:"calcGalleryWrapSize",value:function(){return new l.a({width:this.getInnerWidth(), 633height:this.getInnerHeight()})}},{key:"afterDomSizeChange",value:function(){if(Object(f.a)(Object(e.a)(A.prototype),"afterDomSizeChange",this).call(this),this.isInitialized()&&this.getPanelSize()){var C=this.calcGalleryWrapSize();!1===this.getPanelSize().equals(C)&&this.setPanelSize(C)}}},{key:"getImagePropertiesFromDom",value:function(C){var D,F,B,H=C.querySelector('[itemprop="url"]');return webwave.isDefAndNotNull(H)&&(D="interactionLinkData"===H.dataset.linkType?"javascript:void(0);":H.getAttribute("href"), 634F=H.getAttribute("target"),B="true"===H.getAttribute("data-samepage")),q(q({},Object(f.a)(Object(e.a)(A.prototype),"getImagePropertiesFromDom",this).call(this,C)),{href:D,target:F,samePage:B})}},{key:"createImageFromDom",value:function(C){return new v.a(this.getImagePropertiesFromDom(C))}},{key:"removePreloadWrapper",value:function(){var C;null===(C=this.getContent()[0].querySelector(".".concat(u.a.PRELOAD_WRAPPER)))||void 0===C||C.remove()}}]),A}(com.webwave.publication.object.WGallery);com.webwave.publication.object.WSlider= 635z},2500:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(f.a)(e);if(h){var v=Object(f.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(b.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0), 636n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(43);r=a(1654);webwave.provide("com.webwave.publication.object.WSimpleText");var c=function(e){function h(){return Object(q.a)(this,h),l.apply(this,arguments)}Object(d.a)(h,e);
636var l=t(h);return Object(n.a)(h,[{key:"getTextFrameEl",value:function(){return this.cachedDom.textFrame}},{key:"cacheDom",value:function(v){v=Object(m.a)(Object(f.a)(h.prototype),"cacheDom",this).call(this,v);return v.textFrame=v.content.children[0],v}},{key:"calculateMinContentSize",value:function(){var v= 637this.getTextFrameEl();return new g.a({width:0,height:v.offsetHeight})}},{key:"onVisibilityChange",value:function(){Object(m.a)(Object(f.a)(h.prototype),"onVisibilityChange",this).call(this);this.isVisible()&&this.updateMinSize()}}]),h}(r.a);com.webwave.publication.object.WSimpleText=c},2501:function(r,k,a){function t(u){var z=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 638[],function(){})),!0}catch(y){return!1}}();return function(){var y=Object(f.a)(u);if(z){var A=Object(f.a)(this).constructor;y=Reflect.construct(y,arguments,A)}else y=y.apply(this,arguments);return Object(b.a)(this,y)}}a.d(k,"a",function(){return w});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(2502),c=a(1359),e=a(90),h=a(1711),l=a(1348),v=a(1653),p=a(38);webwave.provide("com.webwave.publication.object.WImg");var w=function(u){function z(A){var E,C;return Object(q.a)(this,z),(C=y.call(this,A)).imageMap= 639{},C.svgImage=null===(E=C._getImgDomNode())||void 0===E?void 0:E.classList.contains("svgImage"),C.kenBurnsService=null,C.browserWebPSupportUtils=null,C.isEnabledImageParallax=!1,C}Object(d.a)(z,u);var y=t(z);return Object(n.a)(z,[{key:"onPropertyChange",value:function(A){Object(m.a)(Object(f.a)(z.prototype),"onPropertyChange",this).call(this,A);A.propertyName===g.a.BROWSER_ZOOM_LEVEL&&this.tryToCorrectBorderValues()}},{key:"tryToCorrectBorderValues",value:function(){var A=this,E=this.getContentEl(); 640Object.values(e.a).forEach(function(C){var D="border-".concat(C,"-width"),F=parseInt(A.getContentComputedProperty(D));C=A.getBorderWidth(C,!0);C>F&&(E.style[D]="".concat(C+(C-F),"px"))})}},{key:"init",value:function(){Object(m.a)(Object(f.a)(z.prototype),"init",this).call(this);var A=this._getImgDomNode();webwave.isDef(A)&&(this.updateImageParallaxPosition(),A.onload=this.onDomImageLoad.bind(this));this.cloneComputedStyleToInlineInContent();this.tryToCorrectBorderValues();this.pageCanvas.addPropertyChangeListener(g.a.BROWSER_ZOOM_LEVEL, 641this)}},{key:"updateStateStyle",value:function(){Object(m.a)(Object(f.a)(z.prototype),"updateStateStyle",this).call(this);this.tryToCorrectBorderValues()}},{key:"updateImageParallaxPosition",value:function(){var A=this._getImgDomNode();
641webwave.isDefAndNotNull(A)&&(this.updateBackgroundParallaxPosition(),this.isParallaxActive()?this.backgroundParallaxService.addParallaxListener(this):this.backgroundParallaxService.removeParallaxListener(this))}},{key:"setIsEnabledParallax",value:function(A){this.isEnabledImageParallax= 642A}},{key:"getIsEnabledParallax",value:function(){return this.isEnabledImageParallax}},{key:"getImageParallax",value:function(){var A=this.imageMap.imageParallax;return webwave.isNotDef(A)&&(A=v.a.DEFAULT_PARALLAX_VALUE),A}},{key:"initKenBurnsType",value:function(A){var E;this.setKenBurnsService(A);A=null===(E=this._getImgDomNode())||void 0===E?void 0:E.getAttribute("data-ken-burns-type");this.kenBurnsType=webwave.isValidEnumValue(A,c.a)?A:c.a.DISABLED}},{key:"isKenBurnsEnabled",value:function(){return this.kenBurnsType!== 643c.a.DISABLED}},{key:"initKenBurns",value:function(){if(this.isKenBurnsEnabled()){var A=this.getImageWrapper();this.kenBurnsService.initKenBurnsEffectOnElement(A,this.kenBurnsType)}}},{key:"updateBackgroundParallaxPosition",value:function(A){if(!0!==p.a.getValue("publicatedPageApp.disableParallaxOnElements")){Object(m.a)(Object(f.a)(z.prototype),"updateBackgroun
643dParallaxPosition",this).call(this,A);webwave.isNotDef(A)&&(A=pageService.getWindowScroll());var E=this.imageMap.imageParallax;if(webwave.isNumberAndNotNaN(A)&& 644100!==E){var C=this._getImgDomNode();if(webwave.isDefAndNotNull(C)){var D=this.getY(),F=A-D;F=parseInt(F-E/100*F);this.isBackgroundSizeCover()&&100<E&&webwave.isDefAndNotNull(this.getPageAreaService())&&(F=this.getPageAreaService().getWindowHeight(),F=(E-100)/100*(-A+Math.max(D-F,0)));this.isSvgImage()?C.style.backgroundPositionY="calc(50%"+(0>F?" - "+Math.abs(F)+"px":" + "+F+"px")+")":C.style.transform="translate3D(0,"+F+"px, 0)"}}}}},{key:"isBackgroundSizeCover",value:function(){var A=this._getImgDomNode(); 645if(webwave.isDef(A))return"imageCrop"===A.getAttribute("backgroundsize")}},{key:"computeImageHeight",value:function(){var A=this.getImageParallax(),E=Object(m.a)(Object(f.a)(z.prototype),"getInnerHeight",this).call(this);if(!this.isParallaxActive()||!this.isBackgroundSizeCover())return E;var C=this.getPageAreaService().getWindowHeight();if(100>A)return E+(100-A)/100*Math.abs(C-E);if(100<A){var D=this.getComputedPosition().getY();return E+Math.abs((A-100)/100*(-(D+E)+Math.max(D-C,0)))}}},{key:"onDomImageLoad", 646value:function(){var A=this._getImgDomNode();webwave.isDef(A)&&webwave.isFunction(A.externalImageLoad)?A.externalImageLoad({imgDomNode:A,width:this.getWidth(),height:this.getHeight()}):this.resizeImgDomElement();webwave.isDef(A)&&!0===p.a.getValue("publicatedPageApp.disableParallaxOnElements")&&(this.imageMap.imageParallax=void 0)}},{key:"cacheDom",value:function(A){A=Object(m.a)(Object(f.a)(z.prototype),"cacheDom",this).call(this,A);return A.imageWrapper=A.content.children[0],A.imageWrapper&&(A.imgDomNode= 647A.imageWrapper.getElementsByTagName("img")[0]),A}},{key:"getImageWrapper",value:function(){return webwave.isNotDef(this._imgWrapper)&&(this._imgWrapper=$(this.cachedDom.imageWrapper)),this._imgWrapper}},{key:"_getImgDomNode",value:function(){return this.cachedDom.imgDomNode}},{key:"isParallaxActive",value:function(){return!0!==p.a.getValue("publicatedPageApp.disableParallaxOnElements")&&(100!==this.getBackgroundParallax()||100!==this.getImageParallax())}},{key:"updateObjectForRwdChange",value:function(A){var E= 648this._getImgDomNode();webwave.isDefAndNotNull(E)&&(E.removeAttribute("style"),Object(m.a)(Object(f.a)(z.prototype),"updateObjectForRwdChange",this).call(this,A),this.cloneComputedStyleToInlineInContent(),this.updateImageParallaxPosition(),this._changeLazyLoadedScr(),this.resizeImgDomElement())}},{key:"_changeLazyLoadedScr",value:function(){var A=com.webwave.publication.intersectionObserver.object.WIntersectionObservedImg,E=this.getDomObject().find("img"),C=E.attr("src");A=E.attr(A.LAZY_LOAD_ATTR_NAME); 649A=this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(A,E[0]);webwave.isDef(C)&&-1===C.indexOf("data:image/gif;base64")&&E.attr("src",A)}},{key:"isSvgImage",value:function(){return this.svgImage}},{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(z.prototype),"afterDomSizeChange",this).call(this);this.resizeImgDomElement()}},{key:"computeContentHeight",value:function(){return!1===(this.isParallaxActive()&&this.isBackgroundSizeCover())?Object(m.a)(Object(f.a)(z.prototype), 650"getInnerHeight",this).call(this):this.computeImageHeight()}},{key:"resizeImgDomElement",value:function(){var A=this._getImgDomNode();if(webwave.isDefAndNotNull(A)){var E={contentWidth:this.getInnerWidth(),contentHeight:this.computeContentHeight(),element:A,imageWidth:A.getAttribute("imageWidth"),imageHeight:A.getAttribute("imageHeight")};this.isSvgImage()?A.style.height="".concat(this.computeImageHeight(),"px"):domElementService.resizeImgDomElement(E)}}},{key:"setKenBurnsService",value:function(A){this.kenBurnsService= 651A}},{key:"setBrowserWebPSupportUtils",value:function(A){this.browserWebPSupportUtils=A}},{key:"addImgLazyLoad",value:function(){Object(m.a)(Object(f.a)(z.prototype),"addImgLazyLoad",this).call(this);var A=this._getImgDomNode();webwave.isDefAndNotNull(A)&&!0!==p.a.getValue("publicatedPageApp.disableLazyLoad")&&(A.hasAttribute(l.a.LAZY_LOAD_ATTR_NAME)?this.createDomWIntersectionObserved(new l.a(A)):A.hasAttribute(h.a.LAZY_LOAD_ATTR_NAME)&&this.createDomWIntersectionObserved(new h.a(A)))}},{key:"getAnimatingContent", 652value:function(){return this.getImageWrapper()}},{key:"loadAdditionalData",value:function(A){var E=A.imageParallax;A=A.isEnabledImageParallax;!1!==webwave.isNumberAndNotNaN(E)&&!1!==A||(E=z.DEFAULT_PARALLAX_VALUE);this.imageMap.imageParallax=E}}]),z}(com.webwave.publication.object.LinkWElement);com.webwave.publication.object.WImg=w},2502:function(r,k,a){k.a={BROWSER_ZOOM_LEVEL:"browserZoomLevel"}},2503:function(r,k,a){a.d(k,"a",function(){return b});var t=a(0),q=a(1),n=a(2538),m=a(1471),d=a(863), 653b=function(){function f(){var g=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,f);this.values=new m.a(g.values);this.separators=new n.a(g.separators);this.startCondition=d.a.TOP_VISIBLE;this.onlyOnce=!1}return Object(q.a)(f,[{key:"getValues",value:function(){return this.values}},{key:"setValues",value:function(g){this.values=g}},{key:"getSeparators",value:function(){return this.separators}},{key:"setSeparators",value:function(g){this.separators=g}},{key:"getStartCondition", 654value:function(){return this.startCondition}},{key:"getOnlyOnce",value:function(){return this.onlyOnce}}]),f}()},2504:function(r,k,a){k.a=Object.freeze({DEFAULT:" ",DOT:".",SPACE:" ",COMMA:",",EMPTY:""})},2527:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e= 655Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){var h;return Object(q.a)(this,c),(h=e.call(this))._lockDate=Date.now(),h}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"isLocked",value:function(){return Date.now()<this._lockDate+c.LOCK_DURATION_MS}}]),c}(a(905).a);f.LOCK_DURATION_MS=500},2528:function(r, 656k,a){k.a={PRELOAD_WRAPPER:"preload-slider-wrapper"}},2529:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"srcIsSvgFile",value:function(d){var b;return!0===((null===d||void 0===d?void 0:null===(b=d.toLowerCase())||void 0===b?void 0:b.endsWith(".svg"))||(null===d||void 0===d?void 0:d.startsWith("data:image/svg+xml")))}},{key:"changeMobileMenuImageSrc",value:function(d,b){d.attr("src",b);d.css("height",m.srcIsSvgFile(b)? 657"100%":"")}}]),m}()},2530:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(b.a)(l);if(v){var w=Object(b.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(d.a)(this,p)}}a.d(k,"a",function(){return h}); 658var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(1642),g=a(1928);r=a(1389);var c=a(91),e=a(2531),h=function(l){function v(w){var u,z=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(q.a)(this,v),(u=p.call(this,w,z))._paginationIndex=0,u.initNewsfeedPagination(),u}Object(m.a)(v,l);var p=t(v);return Object(n.a)(v,[{key:"initNewsfeedPagination",value:function(){var w=this,u=this.getContent();this.updatePaginationListSize();u.on("click",".feed_pagination_next_icon",function(){w.wFeed.setPaginationIndex(w.wFeed.getPaginationIndex()+ 6591,{animate:!0,userInteraction:!0})});u.on("click",".feed_pagination_prev_icon",function(){w.wFeed.setPaginationIndex(w.wFeed.getPaginationIndex()-1,{animate:!0,userInteraction:!0})});u.on("click",".feed_pagination_elem_index",function(z){w.wFeed.setPaginationIndex(parseInt($(z.target).text()),{animate:!0,userInteraction:!0})})}},{key:"getDomObject",value:function(){return this.wFeed.getDomObject()}},{key:"getContent",value:function(){return this.wFeed.getContent()}},{key:"computeMaxIndex",value:function(){return this.wFeed.computeMaxIndex()}}, 660{key:"getPaginationWrapper",value:function(){return this.wFeed.getContent().find(".feed_pagination_wrapper")}},{key:"getPaginationListItems",value:function(){return Array.from(this.getDomObject()[0].querySelectorAll(".feed_pagination_wrapper .list > .feed_pagination_elem_index"))}},{key:"getPaginationIndex",value:function(){return this.wFeed.getPaginationIndex()}},{key:"getNewsNumber",value:function(){return this.wFeed.getNewsNumber()}},{key:"updatePaginationListSize",value:function(){var w=this.getContent()[0], 661u=g.a.innerDimensions(w).width,z=w.querySelector(".list");if(webwave.isDefAndNotNull(z)){var y=w.querySelector(".feed_pagination_prev_icon");w=w.querySelector(".feed_pagination_next_icon");y=y.offsetWidth+w.offsetWidth;w=z.getBoundingClientRect().width;z.parentNode.style.width="".concat(Math.min(u-y,w),"px")}}},{key:"getTextStyleForPaginationSelectedIndex",value:function(){var w=this.getContent()[0].querySelector(".feed_pagination_wrapper");return null===w||void 0===w?void 0:w.getAttribute("textstyleidforselectedpaginationindex")}}, 662{key:"getTextStyleForPaginationIndex",value:function(){var w=this.getContent()[0].querySelector(".feed_pagination_wrapper");return null===w||void 0===w?void 0:w.getAttribute("textstyleidforpaginationindex")}},{key:"_recreatePaginationDom",value:function(){var w=this.computeMaxIndex(),u=this.getPaginationWrapper()[0];if(webwave.isDefAndNotNull(u)){var z=u.querySelector(".list");if(z.innerHTML="",1<w){u.style.display=f.a.BLOCK;var y=this.getTextStyleForPaginationIndex();!1===webwave.isStringAndNotEmpty(y)&& 663(y="");for(var A=0;A<w;A++)u=c.a.htmlToElements(Object(e.a)({index:A+1,textStyleClass:y}))[0],z.appendChild(u)}else u.style.display=f.a.NONE;this.updatePaginationListSize()}}},{key:"updatePaginationClasses",value:function(){this._removeSelectedPaginationClasses();this._addSelectedPaginationClasses()}},{key:"_addSelectedPaginationClasses",value:function(){var w=this.getTextStyleForPaginationSelectedIndex(),u=this.getTextStyleForPaginationIndex(),z=this.getPaginationListItems()[this.getPaginationIndex()- 6641];webwave.isDefAndNotNull(z)&&(z.classList.add(v.SELECTED_INDEX_CLASS_NAME),webwave.isDefAndNotNull(u)&&z.classList.remove(u),webwave.isDefAndNotNull(w)&&z.classList.add(w))}},{key:"_removeSelectedPaginationClasses",value:function(){var w=this.getTextStyleForPaginationSelectedIndex(),u=this.getTextStyleForPaginationIndex(),z=this.getContent()[0].querySelector(".".concat(v.SELECTED_INDEX_CLASS_NAME));webwave.isDefAndNotNull(z)&&(z.classList.remove(v.SELECTED_INDEX_CLASS_NAME),z.classList.add(v.INDEX_CLASS_NAME), 665webwave.isDefAndNotNull(w)&&z.classList.remove(w),webwave.isDefAndNotNull(u)&&z.classList.add(u))}},{key:"_updateListLeftPosition",value:function(w){var u=this.getPaginationListItems()[this.getPaginationIndex()-1];if(!webwave.isNotDefOrNull(u)){var z=this.getContent()[0].querySelector(".list"),y=g.a.innerDimensions(z.parentNode).width,A=g.a.innerDimensions(z).width;u=y/2-u.offsetLeft-u.offsetWidth/2;u=Math.min(Math.max(y-A,u),0);!0===w?$(z).animate({left:"".concat(u,"px")},150):z.style.left="".concat(u, 666"px")}}},{key:"_computeNewIndex",value:function(w){var u=this.getNewsNumber();w*=this.getPaginationIndex()-1;return Math.floor(w/u)+1}}]),v}(r.a);h.SELECTED_INDEX_CLASS_NAME="feed_pagination_elem_index_selected";h.INDEX_CLASS_NAME="feed_pagination_elem_index"},2531:function(r,k,a){a.d(k,"a",function(){return t});var t=function(q){var n=q.index;return'\n <div \n class="feed_pagination_elem_index '.concat(q.textStyleClass,'"\n >\n ').concat(n,"\n </div>\n")}},2532:function(r, 667k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(b.a)(h);if(l){var p=Object(b.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(d.a)(this,v)}}a.d(k,"a",function(){return e});var q=a(0),n=a(1),m=a(3),d= 668a(4),b=a(2);r=a(1389);var f=a(1194),g=a(92),c=a(1734),e=function(h){function l(p){var w,u=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(q.a)(this,l),(w=v.call(this,p,u)).horizontalSpace=void 0,w.type=w.detectTypeByFeed(p),w}Object(m.a)(l,h);
668var v=t(l);return Object(n.a)(l,[{key:"detectTypeByFeed",value:function(p){return p.getType()===g.a.NEWSFEED?f.a.NEWS:c.a.ITEM}},{key:"getHorizontalSpace",value:function(){return this._horizontalSpace}},{key:"setHorizontalSpace",value:function(p){this._horizontalSpace= 669p}},{key:"loadAdditionalRwdProperties",value:function(p){this.setHorizontalSpace(p.horizontalSpace)}}]),l}(r.a)},2533:function(r,k,a){function t(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(b.a)(v);if(p){var u=Object(b.a)(this).constructor;w=Reflect.construct(w,arguments, 670u)}else w=w.apply(this,arguments);return Object(d.a)(this,w)}}a.d(k,"a",function(){return l});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(1642);r=a(1389);var g=a(1194),c=a(43),e=a(2223),h=a(2534),l=function(v){function p(u){var z,y=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(q.a)(this,p),(z=w.call(this,u,y))._thumbnailPosition=void 0,z._thumbnailWidth=void 0,z._thumbnailHeight=void 0,z._showThumbnails=void 0,z.type=g.a.THUMBNAIL,z}Object(m.a)(p,v);var w=t(p);return Object(n.a)(p, 671[{key:"getThumbnailPosition",value:function(){return this._thumbnailPosition}},{key:"setThumbnailPosition",value:function(u){this._thumbnailPosition=u;this.wFeed.getNewsfeedWrapper().setAttribute("data-thumbnail-position",u)}},{key:"getThumbnailWidth",value:function(){return this._thumbnailWidth}},{key:"setThumbnailWidth",value:function(u){this._thumbnailWidth=u}},{key:"getThumbnailHeight",value:function(){return this._thumbnailHeight}},{key:"setThumbnailHeight",value:function(u){this._thumbnailHeight= 672u}},{key:"isShowThumbnails",value:function(){return this._showThumbnails}},{key:"setShowThumbnails",value:function(u){this._showThumbnails=u}},{key:"_getThumbnailsImages",value:function(){return this.getParentWObject().getContent().find(".feed_thumbnail_image")}},{key:"addImgLazyLoad",value:function(){var u=this;this._getThumbnailsImages().each(function(z,y){y.hasAttribute(h.a.LAZY_LOAD_ATTR_NAME)&&(z=new h.a(y),u.getParentWObject().createDomWIntersectionObserved(z))})}},{key:"getWidthValueToAdd", 673value:function(){return this.getThumbnailWidth()}},{key:"onLeftOrRight",value:function(){return this.getThumbnailPosition()===e.a.LEFT||this.getThumbnailPosition()===e.a.RIGHT}},{key:"countMinSize",value:function(){return new c.a({width:this.getThumbnailWidth(),height:this.getThumbnailHeight()})}},{key:"shouldAddToCountMinSize",value:function(){return!0===this.isShowThumbnails()&&!1===this.onLeftOrRight()}},{key:"shouldAddWidth",value:function(){return!0===this.isShowThumbnails()&&this.onLeftOrRight()}}, 674{key:"updateSingleFeedItemElData",value:function(u){var z=u.feedItemEl;u=u.feedItemData.thumbnail;var y=z.querySelector(".feed_thumbnail");if(webwave.isDefAndNotNull(y)){z=z.querySelector(".feed_thumbnail_image");var A="none";""!==u?(A='url("'.concat(u,'")'),y.style.display=f.a.BLOCK):y.style.display=f.a.NONE;webwave.isDefAndNotNull(z.getAttribute("data-lazy-load-style"))?z.setAttribute("data-lazy-load-style","background-image: ".concat(A,";")):z.style.backgroundImage=A}}},{key:"loadAdditionalRwdProperties", 675value:function(u){this.setThumbnailPosition(u.thumbnailPosition);this.setThumbnailWidth(u.thumbnailWidth);this.setThumbnailHeight(u.thumbnailHeight);this.setShowThumbnails(u.showThumbnails)}}]),p}(r.a)},2534:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e= 676Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){return Object(q.a)(this,c),e.call(this,h)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"enteredViewportHandler",value:function(){var h=$(this.getDomObject()),l=h.attr(c.LAZY_LOAD_ATTR_NAME);h.attr("style",this.browserWebPSupportUtils.changeSrcIfWebPSupportedWithAttrCheck(l, 677this.getDomObject()));h.removeAttr(c.LAZY_LOAD_ATTR_NAME)}}]),c}(a(1388).a);f.LAZY_LOAD_ATTR_NAME="data-lazy-load-style";webwave.provide("com.webwave.publication.intersectionObserver.object.WIntersectionObservedNewsfeedThumbnail");com.webwave.publication.intersectionObserver.object.WIntersectionObservedNewsfeedThumbnail=f},2535:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);webwave.isNotDef(d)&&(d={});this._horizontalBorder=webwave.isNumberAndNotNaN(d.horizontalBorder)? 678d.horizontalBorder:0;this._horizontalPadding=0}return Object(q.a)(m,[{key:"getHorizontalBorder",value:function(){return this._horizontalBorder}},{key:"setHorizontalBorder",value:function(d){this._horizontalBorder=d}},{key:"getHorizontalPadding",value:function(){return this._horizontalPadding}},{key:"setHorizontalPadding",value:function(d){this._horizontalPadding=d}},{key:"getHorizontalSpace",value:function(){return this.getHorizontalPadding()+this.getHorizontalBorder()}},{key:"applyRwdProperties", 679value:function(d){webwave.isNumberAndNotNaN(d.horizontalPadding)&&this.setHorizontalPadding(d.horizontalPadding)}}]),m}()},2536:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"dispatchLoadedEvent",value:function(d,b){d=new CustomEvent(this.createEventName(d));d.module=b;document.dispatchEvent(d)}},{key:"waitForLoad",value:function(d){var b=this;return new Promise(function(f){document.addEventListener(b.createEventName(d), 680function(g){f(g.module)})})}},{key:"createEventName",value:function(d){return"WModularObjectContentLoad-".concat(d)}}]),m}()},2537:function(r,k,a){function t(w){var u=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(z){return!1}}();return function(){var z=Object(f.a)(w);if(u){var y=Object(f.a)(this).constructor;z=Reflect.construct(z, 681arguments,y)}else z=z.apply(this,arguments);return Object(b.a)(this,z)}}a.d(k,"a",function(){return p});
681var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(1337),c=a(2352),e=a(767);r=a(1927);var h=a(1643),l=a(82),v=a(2700),p=function(w){function u(y){var A;return Object(q.a)(this,u),(A=z.call(this,y)).linkData=new g.a(y.productId),A._storeAnalyticsManager=y.storeAnalyticsManager,A}Object(d.a)(u,w);var z=t(u);return Object(n.a)(u,[{key:"addObjectInViewPortListener",value:function(){this.createDomWIntersectionObserved(new v.a(this))}}, 682{key:"changeStylesBackgroundImageExtensionIfNecessary",value:function(){Object(m.a)(Object(f.a)(u.prototype),"changeStylesBackgroundImageExtensionIfNecessary",this).call(this);this.changePartialStyleBackgroundExtensionIfNecessary(this.getStatesStyles().getState(l.a.DISABLED),c.a.USE_DISABLED_WEBP_IMAGE_ATTR,c.a.USE_DISABLED_WEBP_IMAGE_DATASET_ATTR)}},{key:"getProductId",value:function(){return this.linkData.getProductId()}},{key:"setState",value:function(y){!1===this.isInitialized()&&Object(m.a)(Object(f.a)(u.prototype), 683"setState",this).call(this,y);this._currentState!==l.a.DISABLED&&(Object(m.a)(Object(f.a)(u.prototype),"setState",this).call(this,y),y===l.a.DISABLED&&(this.linkData=new e.a({})))}},{key:"sendViewPortEvent",value:function(){this._storeAnalyticsManager.sendG4Event(h.a.ViewItemEvent,this.getProductId())}},{key:"_changeTextInStateIsAvailable",value:function(y){return Object(m.a)(Object(f.a)(u.prototype),"_changeTextInStateIsAvailable",this).call(this,y)||y===l.a.DISABLED}}]),u}(r.a)},2538:function(r, 684k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(10),m=a(2504),d=function(){function b(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,b);this.decimalSeparator=webwave.isDef(f.decimalSeparator)?f.decimalSeparator:n.d.DEFAULT;this.thousandsPlaceSeparator=webwave.isDef(f.thousandsPlaceSeparator)?f.thousandsPlaceSeparator:m.a.DEFAULT;this.ownSeparatorsEnabled=!!webwave.isDef(f.ownSeparatorsEnabled)&&f.ownSeparatorsEnabled}return Object(q.a)(b,[{key:"getDecimalSeparator", 685value:function(){return this.decimalSeparator}},{key:"getThousandsPlaceSeparator",value:function(){return this.ownSeparatorsEnabled?this.thousandsPlaceSeparator:m.a.DEFAULT}},{key:"setDecimalSeparator",value:function(f){this.decimalSeparator=f}},{key:"setThousandsPlaceSeparators",value:function(f){this.thousandsPlaceSeparator=f}},{key:"setOwnSeparatorsEnabled",value:function(f){this.ownSeparatorsEnabled=f}},{key:"getOwnSeparatorsEnabled",value:function(){return this.ownSeparatorsEnabled}}]),b}()}, 6862539:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(10),m=function(){function d(b){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};Object(t.a)(this,d);this.length=null;this.value=0;this.length=b;this.valueChangeHandler=f.valueChangeHandler;this._lengthParents=f.lengthParents;this._parentProxy=null;this._updateParentProxy();this.value=this.computeValue()}return Object(q.a)(d,[{key:"setParentProxy",value:function(b){null!==this._parentProxy&&this._parentProxy.object.removePropertyChangeListener(this._parentProxy.property, 687this);this._parentProxy=b;null!==this._parentProxy&&this._parentProxy.object.addPropertyChangeListener(this._parentProxy.property,this)}},{key:"_updateParentProxy",value:function(){var b,f=null,g=null===(b=this.length)||void 0===b?void 0:b.getUnit();webwave.isDefAndNotNull(this._lengthParents[g])&&(f=this._lengthParents[g]);this.setParentProxy(f)}},{key:"onValueChange",value:function(b,f){webwave.isFunction(this.valueChangeHandler)&&this.valueChangeHandler(b,f,this)}},{key:"getValue",value:function(){return this.value}}, 688{key:"setValue",value:function(b){var f=this.value;this.value=b;b!==f&&this.onValueChange(b,f)}},{key:"computeValue",value:function(){if(webwave.isNotDefOrNull(this.length))return 0;if(null!==this._parentProxy){var b="get".concat(n.v.capitalizeFirstLetter(this._parentProxy.property));if(webwave.isFunction(this._parentProxy.object[b]))return this._parentProxy.object[b]()*this.length.getValue()/100}
688return this.length.getValue()}},{key:"updateValue",value:function(){this.setValue(this.computeValue())}}, 689{key:"setLength",value:function(b){this.length=b;this._updateParentProxy();this.updateValue()}},{key:"onPropertyChange",value:function(b){this.updateValue()}},{key:"dispose",value:function(){null!==this._parentProxy&&this._parentProxy.object.removePropertyChangeListener(this._parentProxy.property,this)}}]),d}()},26:function(r,k,a){a.d(k,"a",function(){return t});var t={AdditionalEventService:Symbol.for("AdditionalEventService"),AddStoreProductService:Symbol.for("AddStoreProductService"),AILanguageService:Symbol.for("AILanguageService"), 690AINewsGenerationService: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"),AIWebsiteTranslationService:Symbol.for("AIWebsiteTranslationService"), 691AIWebsiteService:Symbol.for("AIWebsiteService"),AIWebsiteWObjectManager:Symbol.for("AIWebsiteWObjectManager"),AIWebsiteWPagesService:Symbol.for("AIWebsiteWPagesService"),AIWrapperFactory:Symbol.for("AIWrapperFactory"),AlignElementsService:Symbol.for("AlignElementsService"),AnimationOnScrollService:Symbol.for("AnimationOnScrollService"),Animator:Symbol.for("Animator"),WebsiteDataStoreService:Symbol.for("WebsiteDataStoreService"),AutoSaveService:Symbol.for("AutoSaveService"),AutomaticImportService:Symbol.for("AutomaticImportService"), 692BackgroundMapCreatorService: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"),ClipboardService:Symbol.for("ClipboardService"),CommandService:Symbol.for("CommandService"), 693ContextMenuService:Symbol.for("ContextMenuService"),CookieBarService:Symbol.for("CookieBarService"),CookiePopupSettingsService:Symbol.for("CookiePopupSettingsService"),CookiePopupIconService:Symbol.for("CookiePopupIconService"),CookieShowSettingsService:Symbol.for("CookieShowSettingsService"),CoreService:Symbol.for("CoreService"),DatePickerService:Symbol.for("DatePickerService"),DispatchActionIcon:Symbol.for("DispatchActionIcon"),DownloadProtectionService:Symbol.for("DownloadProtectionService"),DropImageUpload:Symbol.for("DropImageUpload"), 694DuplicateService:Symbol.for("DuplicateService"),DynamicMenuService:Symbol.for("DynamicMenuService"),DropdownMenuItemFactory:Symbol.for("DropdownMenuItemFactory"),EditorControlsOverlayService:Symbol.for("EditorControlsOverlayService"),EditorMouseoverManager:Symbol.for("EditorMouseoverManager"),EditorRoleService:Symbol.for("EditorRoleService"),EditorSelectionManager:Symbol.for("EditorSelectionManager"),EditorSettingsService:Symbol.for("EditorSettingsService"),ElementRotationService:Symbol.for("ElementRotationService"), 695EmbeddedElementService:Symbol.for("EmbeddedElementService"),EnvironmentUtils:Symbol.for("EnvironmentUtils"),ElementService:Symbol.for("ElementService"),FeedService:Symbol.for("FeedService"),FeedCategoryService:Symbol.for("FeedCategoryService"),FeedInnerElementFactory:Symbol.for("FeedInnerElementFactory"),FeedHtmlBuilder:Symbol.for("FeedHtmlBuilder"),FileManagerService:Symbol.for("FileManagerService"),FontManagerService:Symbol.for("FontManagerService"),FontService:Symbol.for("FontService"),FooterService:Symbol.for("FooterService"), 696FormService:Symbol.for("FormService"),FurgonetkaIntegrationService:Symbol.for("FurgonetkaIntegrationService"),FurgonetkaPostageService:Symbol.for("FurgonetkaPostageService"),GalleryService:Symbol.for("GalleryService"),GeneralSettingsService:Symbol.for("GeneralSettingsService"),GoogleFontService:Symbol.for("GoogleFontService"),GoogleMapsService:Symbol.for("GoogleMapsService"),GradientService:Symbol.for("GradientService"),GroupService:Symbol.for("GroupService"),GuiEditorBaseShortcuts:Symbol.for("GuiEditorBaseShortcuts"), 697GuiModeService:Symbol.for("GuiModeService"),GuideService:Symbol.for("GuideService"),GuideStoreService:Symbol.for("GuideStoreService"),HeadCodeService:Symbol.for("HeadCodeService"),HeaderBoxService:Symbol.for("HeaderBoxService"),HtmlEditorService:Symbol.for("HtmlEditorService"),IdGeneratorService:Symbol.for("IdGeneratorService"),ImageBankService:Symbol.for("ImageBankService"),ImageEditorService:Symbol.for("ImageEditorService"),ImgService:Symbol.for("ImgService"),InfoboxService:Symbol.for("InfoboxService"), 698InitGUIService:Symbol.for("InitGUIService"),InnerElementControlsVisualiser:Symbol.for("InnerElementControlsVisualiser"),InnerElementService:Symbol.for("InnerElementService"),InpostEasyPackService:Symbol.for("InpostEasyPackService"),InteractionsService:Symbol.for("InteractionsService"),JsonUpgradeService:Symbol.for("JsonUpgradeService"),KenBurnsService:Symbol.for("KenBurnsService"),KeyboardService:Symbol.for("Ke
698yboardService"),LanguageService:Symbol.for("LanguageService"),LayerFooterButtonService:Symbol.for("LayerFooterButtonService"), 699LayerManager:Symbol.for("LayerManager"),LayerNodeFactory:Symbol.for("LayerNodeFactory"),LayerNodeService:Symbol.for("LayerNodeService"),LayerNodeStore:Symbol.for("LayerNodeStore"),LayerService:Symbol.for("LayerService"),LayerStackFactory:Symbol.for("LayerStackFactory"),LayoutService:Symbol.for("LayoutService"),LinkElementService:Symbol.for("LinkElementService"),LocalStorageService:Symbol.for("LocalStorageService"),LocationService:Symbol.for("LocationService"),MarketingService:Symbol.for("MarketingService"), 700MediaPlayerService:Symbol.for("MediaPlayerService"),MediaService:Symbol.for("MediaService"),MenuItemService:Symbol.for("MenuItemService"),MenuManagerService:Symbol.for("MenuManagerService"),MenuToolService:Symbol.for("MenuToolService"),MouseDragSelectionService:Symbol.for("MouseDragSelectionService"),MultiSectionElementsLockService:Symbol.for("MultiSectionElementsLockService"),NavigationService:Symbol.for("NavigationService"),NavigationFooterService:Symbol.for("NavigationFooterService"),NavigationTopService:Symbol.for("NavigationTopService"), 701NavigationTopView:Symbol.for("NavigationTopView"),NewLanguageService:Symbol.for("NewLanguageService"),NewsCategoryManagerService: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"), 702ObjectAnimationService:Symbol.for("ObjectAnimationService"),ObjectDistanceService:Symbol.for("ObjectDistanceService"),ObjectEdgeService: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"), 703OnboardingService:Symbol.for("OnboardingService"),OrderHistoryService:Symbol.for("OrderHistoryService"),OrderPopupService: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"), 704PopupService:Symbol.for("PopupService"),PopupPageManagerService:Symbol.for("PopupPageMangerService"),NewsManagementService: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"), 705ProductListPopupService:Symbol.for("ProductListPopupService"),ProductMapGenerator:Symbol.for("ProductMapGenerator"),ProductPageService:Symbol.for("ProductPageService"),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"), 706RwdSizeTransformerFactory:Symbol.for("RwdSizeTransformerFactory"),SalesmanagoEventService:Symbol.for("SalesmanagoEventService"),ScreenshotService:Symbol.for("ScreenshotService"),ScrollService:Symbol.for("ScrollService"),SectionIcons:Symbol.for("SectionIcons"),SectionModeService:Symbol.for("SectionModeService"),SeoAutomatonManagerService:Symbol.for("SeoAutomatonManagerService"),SeoAutomatonService:Symbol.for("SeoAutomatonService"),SeoCriterion
706Factory:Symbol.for("SeoCriterionFactory"),SeoElementFinder:Symbol.for("SeoElementFinder"), 707SeoSettingsPopupService: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"),StoreDotPayPaymentProvider:Symbol.for("StoreDotPayPaymentProvider"),StoreP24PaymentProvider:Symbol.for("StoreP24PaymentProvider"), 708StorePayPalPaymentProvider:Symbol.for("StorePayPalPaymentProvider"),StoreAutoPayPaymentProvider:Symbol.for("StoreAutoPayPaymentProvider"),StorePaymentProvider:Symbol.for("StorePaymentProvider"),StorePaymentProviderFactory:Symbol.for("StorePaymentProviderFactory"),StoreService:Symbol.for("StoreService"),StoreSettingsMapGenerator:Symbol.for("StoreSettingsMapGenerator"),StoreSettingsService:Symbol.for("StoreSettingsService"),StoreStripePaymentProvider:Symbol.for("StoreStripePaymentProvider"),StyleableComponentSelectorFactory:Symbol.for("StyleableComponentSelectorFactory"), 709StyleService:Symbol.for("StyleService"),TextEditorService:Symbol.for("TextEditorService"),TextElementService:Symbol.for("TextElementService"),TextStyleService:Symbol.for("TextStyleService"),ToolWindowService:Symbol.for("ToolWindowService"),TutorialService:Symbol.for("TutorialService"),UndoButtonService:Symbol.for("UndoButtonService"),UndoService:Symbol.for("UndoService"),UpgradeService:Symbol.for("UpgradeService"),UploadFileService:Symbol.for("UploadFileService"),UserChatService:Symbol.for("UserChatService"), 710UserFlowService:Symbol.for("UserFlowService"),UserFontService:Symbol.for("UserFontService"),UsersPopupService:Symbol.for("UsersPopupService"),VisibilityKnowledgeService:Symbol.for("VisibilityKnowledgeService"),WElementFactory:Symbol.for("WElementFactory"),WElementImageCropperFactory:Symbol.for("WElementImageCropperFactory"),WFooterFactory:Symbol.for("WFooterFactory"),WGroupFactory:Symbol.for("WGroupFactory"),WLayoutGroupFactory:Symbol.for("WLayoutGroupFactory"),WObjectComponentSelectorService:Symbol.for("WObjectComponentSelectorService"), 711WObjectControlsVisualiser:Symbol.for("WObjectControlsVisualiser"),WObjectEditIcons:Symbol.for("WObjectEditIcons"),WObjectFactory:Symbol.for("WObjectFactory"),WObjectLockService:Symbol.for("WObjectLockService"),WObjectMoveLimitService:Symbol.for("WObjectMoveLimitService"),WObjectMoveService:Symbol.for("WObjectMoveService"),WObjectRwdMathService:Symbol.for("WObjectRwdMathService"),WObjectSnapService:Symbol.for("WObjectSnapService"),WPageDuplicateService:Symbol.for("WPageDuplicateService"),WPageFactory:Symbol.for("WPageFactory"), 712WPageStore:Symbol.for("WPageStore"),WSectionFactory:Symbol.for("WSectionFactory"),WSectionService:Symbol.for("WSectionService"),WebmasterObjectLibraryService:Symbol.for("WebmasterObjectLibraryService"),WebmasterObjectService:Symbol.for("WebmasterObjectService"),WebpageBackgroun
712dService:Symbol.for("WebpageBackgroundService"),WebpageService:Symbol.for("WebpageService"),WebpageWithSectionsService:Symbol.for("WebpageWithSectionsService"),WebsiteColorPropertyFactory:Symbol.for("WebsiteColorPropertyFactory"), 713WebsiteColorService:Symbol.for("WebsiteColorService"),WebsiteColorStyleManager:Symbol.for("WebsiteColorStyleManager"),WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePropertiesService:Symbol.for("WebsitePropertiesService"),WebwaveStorePopupService:Symbol.for("WebwaveStorePopupService"),WebwaveTemplateJsonUpgradeService:Symbol.for("WebwaveTemplateJsonUpgradeService"),ZoomService:Symbol.for("ZoomService"),PagePanService:Symbol.for("PagePanService")}},2657:function(r,k){},2658:function(r, 714k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(f.a)(e);if(h){var v=Object(f.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(b.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(17), 715d=a(3),b=a(4),f=a(2);r=a(2659);var g=a(1903),c=function(e){function h(v){var p;return Object(q.a)(this,h),(p=l.call(this,v))._rwdTextContent=null,p}Object(d.a)(h,e);var l=t(h);return Object(n.a)(h,[{key:"setDomObject",value:function(v){Object(m.a)(Object(f.a)(h.prototype),"setDomObject",this).call(this,v);null!==this._rwdTextContent&&this._rwdTextContent.dispose();this._rwdTextContent=new g.a(v.find(".innerElementContent"));this._rwdTextContent.initLinkBlockEvent()}},{key:"loadRwdProperties",value:function(v){Object(m.a)(Object(f.a)(h.prototype), 716"loadRwdProperties",this).call(this,v);this.reloadTextRwdProperties(v)}},{key:"reloadTextRwdProperties",value:function(v){webwave.isDefAndNotNull(this._rwdTextContent)&&this._rwdTextContent.loadRwdTextProperties(v)}}]),h}(r.a)},2659:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(43),m=a(903),d=function(){function b(f){Object(t.a)(this,b);webwave.isNotDef(f)&&(f={});this._$domObject=void 0;this._rwdAnimationMaps=webwave.isDef(f.rwdAnimationMaps)?f.rwdAnimationMaps:{};this._animationPlayer= 717this._animation=void 0;this.loadRwdProperties(com.webwave.publication.rwd.rwdService.getCurrentRwdMode());this._opacity=100;this.visibilities=new m.a}return Object(q.a)(b,[{key:"setAnimationPlayer",value:function(f){this._animationPlayer=f}},{key:"getDomObject",value:function(){return webwave.isDef(this._$domObject)?this._$domObject:$()}},{key:"setDomObject",value:function(f){this._$domObject=f;f.data("wInnerElement",this);f=parseFloat(this.getContent().css("opacity"));isNaN(f)&&(f=1);this._opacity= 718100*f}},{key:"loadRwdProperties",value:function(f){}},{key:"setAnimationEnabled",value:function(f,g){}},{key:"triggerAnimationChanged",value:function(f){}},{key:"isAnimationEnabled",value:function(){return webwave.isDef(this._animation)}},{key:"canChangeAnimationEnabled",value:function(){}},{key:"setAnimation",value:function(f){this._animation=f}},{key:"getAnimation",value:function(){return this._animation}},{key:"playCurrentAnimation",value:function(f){this._animationPlayer.playCurrentAnimation(f)}}, 719{key:"finishCurrentAnimation",value:function(){this._animationPlayer.finishCurrentAnimation()}},{key:"getContent",value:function(){return this.getDomObject().children(".innerElementContent")}},{key:"getOpacity",value:function(){return this._opacity}},{key:"getComputedOpacity",value:function(){return this.getOpacity()}},{key:"isRotated",value:function(){return!1}},{key:"getRotation",value:function(){return 0}},{key:"getRotationTransformCss",value:function(){return this.canBeRotated()&&this.isRotated()? 720"rotate("+this.getRotation()+"deg)":""}},{key:"canBeRotated",value:function(){return!1}},{key:"getShadowSizeCorrection",value:function(){return{top:0,right:0,bottom:0,left:0}}},{key:"getContentSize",value:function(){return new n.a({width:this.getContent().outerWidth(),height:this.getContent().outerHeight()})}},{key:"beforeShowRealAnimationStart",value:function(){}},{key:"beforeHideRealAnimationStart",value:function(){}},{key:"getRwdAnimationMaps",value:function(){return this._rwdAnimationMaps}}
720,{key:"getBackgroundOverlayDom", 721value:function(){return $()}},{key:"getElementsForAnimation",value:function(){for(var f=[this.getContent()[0],this.getBackgroundOverlayDom()[0]],g=f.length-1;0<=g;g--)webwave.isNotDefOrNull(f[g])&&f.splice(g,1);return f}}]),b}()},2660:function(r,k,a){k.a={HORIZONTAL:"h",VERTICAL:"v"}},2661:function(r,k,a){k.a={FACEBOOK_GRAPH_VERSION:"v18.0"}},2662:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);this._link=d.link;this._id=d.id}return Object(q.a)(m, 722[{key:"getId",value:function(){return this._id}},{key:"getLink",value:function(){return this._link}}]),m}()},2663:function(r,k,a){function t(da,ka){var ia="undefined"!=typeof Symbol&&da[Symbol.iterator]||da["@@iterator"];if(!ia){if(Array.isArray(da)||(ia=function(aa,ha){if(aa){if("string"==typeof aa)return q(aa,ha);var la=Object.prototype.toString.call(aa).slice(8,-1);"Object"===la&&aa.constructor&&(la=aa.constructor.name);if("Map"===la||"Set"===la)return Array.from(aa);if("Arguments"===la||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(la))return q(aa, 723ha)}}(da))||ka&&da&&"number"==typeof da.length){ia&&(da=ia);var J=0;ka=function(){};return{s:ka,n:function(){return J>=da.length?{done:!0}:{done:!1,value:da[J++]}},e:function(aa){throw aa;},f:ka}}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 N,O=!0,ba=!1;return{s:function(){ia=ia.call(da)},n:function(){var aa=ia.next();return O=aa.done,aa},e:function(aa){ba=!0;N=aa},f:function(){try{O|| 724null==ia.return||ia.return()}finally{if(ba)throw N;}}}}function q(da,ka){(null==ka||ka>da.length)&&(ka=da.length);for(var ia=0,J=Array(ka);ia<ka;ia++)J[ia]=da[ia];return J}function n(da){var ka=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ia){return!1}}();return function(){var ia=Object(P.a)(da);if(ka){var J=Object(P.a)(this).constructor; 725ia=Reflect.construct(ia,arguments,J)}else ia=ia.apply(this,arguments);return Object(M.a)(this,ia)}}a.d(k,"a",function(){return sa});var m,d,b,f,g,c,e,h,l,v,p,w,u,z,y,A,E,C,D,F=a(27),B=a(41),H=a(8),x=a(0),G=a(1),I=a(11),L=a(3),M=a(4),P=a(2);r=a(7);k=(a(9),a(39));var R=a.n(k),Y=a(954),K=a(54),Q=a(1177),S=a(2496),X=a(30),T=a(739),Z=a(2495);k=a(55);var U=a(2799),W=a(2537),ea=a(2800),ja=a(2802),va=a(2497),na=a(2498),ca=a(2501),ya=a(2803),Da=a(1460),Ha=a(2804),Fa=a(2162),Ea=a(1901),V=a(2499),pa=a(2394), 726ta=a(20),ra=(a.n(ta),a(1368));a=a(26);var sa=(m=Object(ta.injectable)(),d=Object(ta.inject)(ra.a.BackgroundParallaxService),b=Object(ta.inject)(ra.a.ElementRotationService),f=Object(ta.inject)(ra.a.ModularObjectContentService),g=Object(ta.inject)(a.a.StoreAnalyticsManager),c=Object(ta.inject)(ra.a.PageService),e=Object(ta.inject)(ra.a.RwdService),h=Object(ta.inject)(ra.a.UserService),l=Object(ta.inject)(ra.a.FeedService),m((D=C=function(da){function ka(){var J;return Object(x.a)(this,ka),J=ia.call(this), 727Object(H.a)(J,"backgroundParallaxService",v,Object(I.a)(J)),Object(H.a)(J,"elementRotationService",p,Object(I.a)(J)),Object(H.a)(J,"modularObjectContentService",w,Object(I.a)(J)),Object(H.a)(J,"storeAnalyticsManager",u,Object(I.a)(J)),Object(H.a)(J,"pageService",z,Object(I.a)(J)),Object(H.a)(J,"rwdService",y,Object(I.a)(J)),Object(H.a)(J,"userService",A,Object(I.a)(J)),Object(H.a)(J,"feedService",E,Object(I.a)(J)),J.wIntersectionObserver=null,J.browserWebPSupportUtils=null,J.animator=null,J.init= 728function(){this._objects={}},J._objectsData={},J._objects={},J._sections=[],J.menutoolService=null,J.pageAreaService=null,J.interactionsService=null,J.orderPopupService=null,J.pageCanvas=null,J._layoutObjectsVisibility={},J.relationManagerService=null,J._rootWObject=null,J._pageWObject=null,J._defaultSection=null,J._wLayoutGroup=null,J}Object(L.a)(ka,da);var ia=n(ka);return Object(G.a)(ka,[{key:"createAndAddWElementByDomObject",value:function(J){try{var N=J[0].id,O={id:N,domObject:J},ba=this.getObjectData(N); 729null!==ba&&Object.assign(O,ba);
729O.pageCanvas=this.pageCanvas;O.backgroundParallaxService=this.backgroundParallaxService;O.elementRotationService=this.elementRotationService;O.objectService=this;var aa=this._getWElement(J,O);return aa.setPageAreaService(this.pageAreaService),webwave.isFunction(aa.setInteractionsService)&&aa.setInteractionsService(this.interactionsService),webwave.isFunction(aa.setOrderPopupService)&&aa.setOrderPopupService(this.orderPopupService),aa.setBrowserWebPSupportUtils(this.browserWebPSupportUtils), 730aa.setWIntersectionObserver(this.wIntersectionObserver),aa.setRwdService(this.rwdService),this._objects[N]=aa,aa}catch(ha){console.log(ha)}}},{key:"_getWElement",value:function(J,N){switch(J[0].getAttribute("data-element-type")){case "button":var O=new com.webwave.publication.wobject.wbutton.WButton(N);break;case "carousel":(O=new ea.a(N)).setModularObjectContentService(this.modularObjectContentService);break;case "counter":O=new ja.a(N);break;case "lightbox":(O=new com.webwave.publication.object.WLightbox(N)).setPhotoswipeService(this.getPhotoswipeService()); 731break;case "gallery":(O=new na.a(N)).setAnimator(this.getAnimator());O.setPhotoswipeService(this.getPhotoswipeService());break;case "slider":(O=new V.a(N)).setAnimator(this.getAnimator());break;case "text":(O=new com.webwave.publication.object.WText(N)).setPhotoswipeService(this.getPhotoswipeService());O.setPageService(this.pageService);break;case "img":(O=new ca.a(N)).setBrowserWebPSupportUtils(this.browserWebPSupportUtils);break;case "login":O=new com.webwave.publication.object.WLoginTool(N,this.userService.userLogged()); 732break;case "WMediaPlayer":O=com.webwave.publication.object.mediaPlayerService.createNewWMediaPlayerFromMap(N);break;case "googleMaps":O=new com.webwave.publication.object.WGoogleMaps(N);break;case "rectangle":O=new com.webwave.publication.object.WRectangle(N);break;case "menu":O=new com.webwave.publication.object.WMenu(N);break;case "htmltool":O=new com.webwave.publication.object.WHtmlTool(N);break;case "newsfeed":(O=new com.webwave.publication.object.WNewsfeed(N)).setPageService(this.pageService); 733O.setFeedService(this.feedService);break;case "productfeed":(O=new Ha.a(N)).setPageService(this.pageService);O.setFeedService(this.feedService);break;case "product":N.storeType===Q.a.WEBWAVE?(N.storeAnalyticsManager=this.storeAnalyticsManager,O=new W.a(N)):O=new pa.a(N);break;case "shopCart":O=new U.a(N);break;case "fbComments":O=new com.webwave.publication.object.WFbComments(N);break;case "socialMedia":O=new com.webwave.publication.object.WSocialMedia(N);break;case "languageSelector":O=new com.webwave.publication.object.WLanguageSelector(N); 734break;case "form":O=new com.webwave.publication.object.WForm(N);break;case "simpleText":O=new com.webwave.publication.object.WSimpleText(N);break;case "date":O=new com.webwave.publication.object.WDate(N);break;default:O=new com.webwave.publication.object.WElement(N)}return O}},{key:"createAndAddWGroupByDomObject",value:function(J){try{var N=J.attr("id"),O={id:N,domObject:J},ba=this.getObjectData(N);switch(null!==ba&&Object.assign(O,ba),O.pageCanvas=this.pageCanvas,O.backgroundParallaxService=this.backgroundParallaxService, 735O.elementRotationService=this.elementRotationService,O.objectService=this,J.attr("data-element-type")){case "footer":O.binds={pageWObject:{relatedWNodes:["pageWObject",N],typeOfRelation:"vertical"}};O.wNodeSettings={disableAlternateFixedChildren:!0};var aa=new va.a(O);break;case "WSection":O.wNodeSettings={enableFlowWithoutChildren:!0,enableVisibilityWithoutChildren:!0,enableBindsInheritanceInBothDirections:!0};aa=new Ea.a(O);!0===O.defaultSection&&(this._defaultSection=aa);break;case ka.LAYOUT_GROUP_ATTRIBUTE_TYPE:aa= 736new ya.a(O);break;default:O.wNodeSettings={disableAlternateFixedChildren:!0,disableAlternateStickyChildren:!0},aa=new com.webwave.publication.object.WGroup(O)}return this._objects[N]=aa,aa.setPageAreaService(this.pageAreaService),aa.setBrowserWebPSupportUtils(this.browserWebPSupportUtils),aa.setWIntersectionObserver(this.wIntersectionObserver),aa.setRwdService(this.rwdService),aa}catch(ha){console.log(ha)}}},{key:"_findLayoutGroupIdFromCustomData",value:function(){for(var J in this._objectsData)if(J.endsWith("layoutGroup"))return J}}, 737{key:"collectWObjectsByIdArray",value:function(J){for(var N=[],O=0;O<J.length;O++){var ba=this.getObjectById(J[O]);webwave.isDef(ba)&&N.push(ba)}return N}},{key:"_createMainObjects",value:function(){var J=new Z.a({id:"rootWObject",domObject:$("<div></div>"),objectService:this,pageCanvas:this.pageCanvas});this._rootWObject=J;J.setInFlow(!0);var N=$('#container > [data-element-type="footer"]').attr("id"),O={};webwave.isStringAndNotEmpty(N)&&(O[N]=new Da.a({relatedWNodes:["pageWObject",N],typeOfRelation:"vertical"})); 738N=new S.a({id:"pageWObject",domObject:$("<div></div>"),objectService:this,pageCanvas:this.pageCanvas});N.binds=O;this._pageWObject=N;N.setInFlow(!0);this._objects[J.getId()]=J;this._objects[N.getId()]=N;J=this._findLayoutGroupIdFromCustomData();webwave.isStringAndNotEmpty(J)&&(this._wLayoutGroup=this.createAndAddWGroupByDomObject($("<div id=".concat(J,' data-element-type="').concat(ka.LAYOUT_GROUP_ATTRIBUTE_TYPE,'"></div>'))),this._wLayoutGroup.setAttached(!0),this._wLayoutGroup._wNodeSettings.disableAnimation= 739!0)}},{key:"initObjects",value:function(){var J=Object(B.a)(R.a.mark(function O(){var ba,aa,ha,la,qa,oa,za,Ba,fa=this;return R.a.wrap(function(Ca){for(;;)switch(Ca.prev=Ca.next){case 0:(ba=new Fa.a).addToQueue(function(){fa.loadObjectsData()});ba.addToQueue(function(){fa._loadLayoutObjectVisibility()});ba.addToQueue(function(){fa._createMainObjects()});aa=$(".ww_element");ha=function(wa){var ma=$(aa[wa]);ba.addToQueue(function(){fa.createAndAddWElementByDomObject(ma)})};for(la=0;la<aa.length;la++)ha(la); 740oa=$(".group, .ww_footer, .WSection");za=function(wa){ba.addToQueue(function(){var ma=fa.createAndAddWGroupByDomObject($(oa[wa]));ma.addElements();ma instanceof va.a&&(qa=ma)})};for(Ba=0;Ba<oa.length;Ba++)za(Ba);return ba.addToQueue(function(){var wa=[],ma=[],ua=[];if($(".ww_element, .group, .WSection").each(function(){var xa=$(this),Ga=fa.getWObjectById(xa.attr("id"));webwave.isDef(Ga)&&(Ga.setAttached(!0),void 0===xa.attr("groupid")&&(x
740a.hasClass("WSection")?ua.push(Ga):wa.push(Ga)))}),fa._sections= 741ua.reverse(),webwave.isDefAndNotNull(fa._wLayoutGroup)&&(ma=fa.collectWObjectsByIdArray(fa.getObjectData(fa._wLayoutGroup.getId()).children)),wa.push.apply(wa,Object(F.a)(ma)),webwave.isDefAndNotNull(fa._defaultSection)?(fa._defaultSection.swapChildren(fa._defaultSection.getChildren().concat(wa)),fa._pageWObject.swapChildren(fa.getSections())):fa._pageWObject.swapChildren(wa),webwave.isDefAndNotNull(fa._wLayoutGroup)){for(var Aa=0;Aa<ma.length;Aa++)ma[Aa].setCustomVisibilityParent(fa._wLayoutGroup); 742fa._wLayoutGroup.setLayoutChildren(ma)}}),ba.addToQueue(Object(B.a)(R.a.mark(function ma(){return R.a.wrap(function(ua){for(;;)switch(ua.prev=ua.next){case 0:return ua.next=2,fa._initializeAllWObjects(ba);case 2:case "end":return ua.stop()}},ma)}))),ba.addToQueue(function(){var ma,ua,Aa=[fa._pageWObject];webwave.isDef(qa)&&(qa.setAttached(!0),Aa.push(qa));null===(ma=fa._wLayoutGroup)||void 0===ma||ma.setBulkMode(!1);null===(ua=fa._wLayoutGroup)||void 0===ua||ua.setAttached(!0);fa._pageWObject.setAttached(!0); 743fa._rootWObject.setAttached(!0);fa._rootWObject.swapChildren(Aa);fa._rootWObject.setBulkMode(!1)}),ba.addToQueue(function(){fa._loadAllRelations()}),ba.addToQueue(this.relationManagerService.shakeIt.bind(this.relationManagerService,{async:!0})),ba.addToQueue(function(){fa._enabledAndUpdateDomElementPositionForAllObjects()}),Ca.abrupt("return",new Promise(function(ma){ba.addToQueue(function(){ma()});ba.dequeue()}));case 17:case "end":return Ca.stop()}},O,this)}));return function(){return J.apply(this, 744arguments)}}()},{key:"getObjectById",value:function(J){return this._objects[J]}},{key:"getWObjectById",value:function(J){return this._objects[J]}},{key:"onRwdModeChange",value:function(J){for(var N in this._objects)if(this._objects.hasOwnProperty(N)){var O=this._objects[N];O!==this._rootWObject&&O!==this._pageWObject&&O.updateObjectForRwdChange(J)}}},{key:"findAllWObjectsByClass",value:function(J){return this.findAllWObjectsByClasses([J])}},{key:"findAllWObjectsByClasses",value:function(J){var N= 745[],O;for(O in this._objects)if(this._objects.hasOwnProperty(O)){var ba=this._objects[O];var aa,ha=t(J);try{for(ha.s();!(aa=ha.n()).done;)if(ba instanceof aa.value){N.push(ba);break}}catch(la){ha.e(la)}finally{ha.f()}}return N}},{key:"getAllWGroups",value:function(){var J,N=[],O;for(O in this._objects)this._objects.hasOwnProperty(O)&&(J=this._objects[O])instanceof com.webwave.publication.object.WGroup&&N.push(J);return N}},{key:"countWObjectsByClass",value:function(J){return this.findAllWObjectsByClass(J).length}}, 746{key:"getAllFixedObjects",value:function(){var J=[],N={},O;for(O in this._objects)this._objects.hasOwnProperty(O)&&(N=this._objects[O]).isFixed()&&J.push(N);return J}},{key:"getAllFullWidthObjects",value:function(){var J=[],N={},O;for(O in this._objects)this._objects.hasOwnProperty(O)&&(N=this._objects[O]).isFullWidth()&&J.push(N);return J}},{key:"findAllWObjects",value:function(J){var N=[],O;for(O in this._objects)this._objects.hasOwnProperty(O)&&(webwave.isFunction(J)?!0===J(this._objects[O])&& 747N.push(this._objects[O]):N.push(this._objects[O]));return N}},{key:"findAllWObjectsByType",value:function(J){return this.findAllWObjects(function(N){return N.getType()===J})}},{key:"updateObjectsAfterWindowResize",value:function(){for(var J=this.findAllWObjects(function(O){return O.isFullWidth()||O.isFixed()||O.isSticked()||O.getPositionOrigin()===T.a.SCREEN_TOP_LEFT||O.getPositionOrigin()===T.a.SCREEN_TOP_RIGHT||O.isObjectSizeAndPositionShouldBeConvertedToPX()}),N=0;N<J.length;N++)J[N].updateDomSizeAndPosition(); 748webwave.isDefAndNotNull(this.menutoolService)&&this.menutoolService.updateMenusAfterWindowResize();this.updateAllFontDependentWObjects()}},{key:"updateRotatedObjectsAfterFontsHasBeenLoaded",value:function(){for(var J=this.findAllWObjects(function(O){return O.isRotated()}),N=0;N<J.length;N++)J[N].updateDomSize()}},{key:"isFontDependent",value:function(J){for(var N=[com.webwave.publication.object.WSimpleText,com.webwave.publication.object.WText,com.webwave.publication.object.WForm,com.webwave.publication.object.WMenu, 749com.webwave.publication.object.WLightbox,com.webwave.publication.object.WNewsfeed],O=0;O<N.length;O++)if(J instanceof N[O])return!0;return!1}},{key:"updateAllFontDependentWObjects",value:function(){for(var J=this,N=this.findAllWObjects(function(ba){return J.isFontDependent(ba)}),O=0;O<N.length;O++)N[O].updateMinSize()}},{key:"_assignCustomLayoutData",value:function(J){if(!webwave.isNotDefOrNull(J))for(var N in J)if(J.hasOwnProperty(N)&&this._objectsData.hasOwnProperty(N))for(var O in J[N])J[N].hasOwnProperty(O)&& 750this._objectsData[N].rwdProperties.hasOwnProperty(O)&&(webwave.isDef(J[N][O].position)&&(this._objectsData[N].rwdProperties[O].position=J[N][O].position),webwave.isDef(J[N][O].size)&&(this._objectsData[N].rwdProperties[O].size=J[N][O].size))}},{key:"loadObjectsData",value:function(){try{this._objectsData={}
750,Object.assign(this._objectsData,window.WW_OBJECTS_STORE),webwave.isDefAndNotNull(window.WW_LAYOUT_OBJECTS_STORE)&&Object.assign(this._objectsData,window.WW_LAYOUT_OBJECTS_STORE),this._assignCustomLayoutData(Y.a.parseJsonFromNodeWithId("ww-layout-objects-customData", 751!0))}catch(J){console.error("Error during object data loading",J),this._objectsData={}}}},{key:"_loadLayoutObjectVisibility",value:function(){try{var J=$("#ww-layout-objects-visibility");1===J.length&&(this._layoutObjectsVisibility=JSON.parse(J.html()),J.remove())}catch(N){console.error("Error during loading layout objects visibility",N)}}},{key:"getObjectsData",value:function(){return this._objectsData}},{key:"getLayoutObjectsVisibility",value:function(){return this._layoutObjectsVisibility}},{key:"getLayoutObjectVisibility", 752value:function(J){var N=this._layoutObjectsVisibility;return webwave.isDefAndNotNull(N)&&webwave.isDef(N[J])?N[J]:null}},{key:"getObjectData",value:function(J){return webwave.isDefAndNotNull(this._objectsData)&&webwave.isDef(this._objectsData[J])?this._objectsData[J]:null}},{key:"setObjectData",value:function(J,N){return webwave.isDefAndNotNull(this._objectsData)?this._objectsData[J]=N:null}},{key:"setMenutoolService",value:function(J){this.menutoolService=J}},{key:"collectWObjectsByIds",value:function(J){for(var N= 753[],O=0;O<J.length;O++){var ba=this.getWObjectById(J[O]);webwave.isDefAndNotNull(ba)&&N.push(ba)}return N}},{key:"setPageAreaService",value:function(J){this.pageAreaService=J}},{key:"setInteractionsService",value:function(J){this.interactionsService=J}},{key:"setRelationManagerService",value:function(J){this.relationManagerService=J}},{key:"setOrderPopupService",value:function(J){this.orderPopupService=J}},{key:"getOrderPopupService",value:function(){return this.orderPopupService}},{key:"setBrowserWebPSupportUtils", 754value:function(J){this.browserWebPSupportUtils=J}},{key:"setAnimator",value:function(J){this._animator=J}},{key:"getAnimator",value:function(){return this._animator}},{key:"setPhotoswipeService",value:function(J){this.photoswipeService=J}},{key:"getPhotoswipeService",value:function(){return this.photoswipeService}},{key:"loadWObjectRelations",value:function(J){var N=J.getBinds(),O;for(O in N)if(N.hasOwnProperty(O)){var ba=this.getWObjectById(N[O].getOtherWNodeId(J.getId()));webwave.isDefAndNotNull(ba)&& 755J.isAttached()&&ba.isAttached()&&this.relationManagerService.createAndAddRelation(N[O],!0)}}},{key:"removeAllRelationsByWObject",value:function(J){var N=J.getBinds(),O;for(O in N)if(N.hasOwnProperty(O)){var ba=this.getWObjectById(O);webwave.isDefAndNotNull(ba)&&this.relationManagerService.removeRelation(J,ba)}}},{key:"loadWObjectsRelations",value:function(J){for(var N=0;N<J.length;N++){var O=J[N];this.loadWObjectRelations(O);this.loadWObjectsRelations(O.getChildren())}}},{key:"_loadAllRelations", 756value:function(){this.loadWObjectsRelations(this.findAllWObjects())}},{key:"setPageCanvas",value:function(J){this.pageCanvas=J}},{key:"normal2FixedCoords",value:function(J){var N=this.getPageareaOffset();return new X.a({x:J.getX()+N.left,y:J.getY()+N.top})}},{key:"getPageareaOffset",value:function(){return{left:this.pageAreaService.getContainerX(),top:0}}},{key:"getRootWObject",value:function(){return this._rootWObject}},{key:"updateRelationsByWObject",value:function(){}},{key:"setWIntersectionObserver", 757value:function(J){this.wIntersectionObserver=J}},{key:"initLazyLoadForObjects",value:function(){var J,N=t(this.findAllWObjects());try{for(N.s();!(J=N.n()).done;)J.value.addImgLazyLoad()}catch(O){N.e(O)}finally{N.f()}}},{key:"initObjectInViewportListeners",value:function(){var J,N=t(this.findAllWObjects());try{for(N.s();!(J=N.n()).done;)J.value.addObjectInViewPortListener()}catch(O){N.e(O)}finally{N.f()}}},{key:"updatePercentDependentObjectParams",value:function(){for(var J=0<arguments.length&&void 0!== 758arguments[0]?arguments[0]:{},N=this.findAllWObjects().filter(function(ba){var aa=ba.getPosition();ba=ba.getSize();return!0===J.vertical&&(aa.getYUnit()===K.a.PERCENT||ba.getHeightUnit()===K.a.PERCENT)||!0===J.horizontal&&(aa.getXUnit()===K.a.PERCENT||ba.getWidthUnit()===K.a.PERCENT)}),O=0;O<N.length;O++)N[O].updateDomSizeAndPosition()}},{key:"restoreBindsFromJSON",value:function(J,N){var O,ba=null===(O=this.rwdService)||void 0===O?void 0:O.getCurrentMode(),aa;for(aa in N)if(N.hasOwnProperty(aa)){var ha; 759O=N[aa];var la=O.relatedWNodes[0]!==J.getId()?O.relatedWNodes[0]:O.relatedWNodes[1],qa=this.getWObjectById(la),oa=null===qa||void 0===qa?void 0:qa._halfBinds[J.getId()];!1===webwave.isDefAndNotNull(oa)||(null===(ha=oa)||void 0===ha?void 0:ha.getRwdModeId())!==ba.getId()?(O.rwdModeId=ba.getId(),oa=new Da.a(O),J._halfBinds[la]=oa):(delete qa._halfBinds[J.getId()],qa.getBinds()[J.getId()]=oa,J.getBinds()[aa]=oa)}}},{key:"detachBinds",value:function(J){var N=J.getBinds(),O;for(O in N)if(N.hasOwnProperty(O)){var ba= 760N[O],aa=this.getWObjectById(ba.getOtherWNodeId(J.getId())),ha=null===aa||void 0===aa?void 0:aa.getBinds();webwave.isDef(aa)&&ha.hasOwnProperty(J.getId())&&(delete ha[J.getId()],delete N[O],aa._halfBinds[J.getId()]=ba)}J._halfBinds={};J.setBinds({})}},{key:"findAllStickyWObjects",value:function(){return this.findAllWObjects().filter(function(J){return J.isSticky()})}},{key:"findAllWObjectsWithAnimationOnScroll",value:function(){return this.findAllWObjects().filter(function(J){return J.isScrollAnimationEnabled()})}}, 761{key:"updateStickyWNodes",value:function(){for(var J=this.findAllStickyWObjects(),N=0;N<J.length;N++)J[N].isVisibleForInFlow()&&J[N].updateDomPosition()}},{key:"updateAnimationOnScrollWObjects",value:function(){for(var J,N=this.findAllWObjectsWithAnimationOnScroll(),O=0;O<N.length;O++)J=N[O],this.interactionsService.updateWObjectScrollVisibility(J)}},{key:"onPageAreaScrollChange",value:function(J,N){N!=J&&(this.updateStickyWNodes(),this.updateAnimationOnScrollWObjects())}},{key:"findAllWCounters", 762value:function(){return this.findAllWObjectsByClass(ja.a)}},{key:"findAllWMenus",value:function(){return this.findAllWObjectsByClass(com.webwave.publication.object.WMenu)}},{key:"findAllWElementsSupportedKenBurns",value:function(){return this.findAllWObjectsByClasses(ka.KEN_BURNS_CLASSES)}},{key:"createSelectorForObjectTypes",value:function(J){var N="";if(0<J.length){var O;J=t(J);try{for(J.s();!(O=J.n()).done;){var ba=O.value;N+="[".concat(ka.OBJECT_TYPE_ATTR_NAME,"=").concat(ba,"],")}}catch(aa){J.e(aa)}finally{J.f()}N= 763N.substring(0,N.length-1)}return N}},{key:"_enabledAndUpdateDomElementPositionForAllObjects",value:function(){var J,N=t(this.findAllWObjects());try{for(N.s();!(J=N.n()).done;){var O=J.value;O.setDomElementPositionUpdateEnabled(!0);O.updateDomElementPosition()}}catch(ba){N.e(ba)}finally{N.f()}}},{key:"getNextSection",value:function(J){J=this.getSections().indexOf(J);return J>=this.getSections().length-1?null:this.getSections()[J+1]}},{key:"getPreviousSection",value:function(J){J=this.getSections().indexOf(J); 764return 1>J?null:this.getSections()[J-1]}},{key:"getSections",value:function(){return this._sections}},{key:"_initializeAllWObjects",value:function(){var J=Object(B.a)(R.a.mark(function O(){var ba,aa,ha,la,qa;return R.a.wrap(function(oa){for(;;)switch(oa.prev=oa.next){case 0:ba=new Fa.a({continueOnError:!0});aa=this.findAllWObjects();ha=t(aa);try{for(qa=function(){var za=la.value;ba.addToQueue(function(){za.init()})},ha.s();!(la=ha.n()).done;)qa()}catch(za){ha.e(za)}finally{ha.f()}return oa.abrupt("return", 765new Promise(function(za){ba.addToQueue(function(){za()});ba.dequeue()}));case 5:case "end":return oa.stop()}},O,this)}));return function(){return J.apply(this,arguments)}}()}],[{key:"getInstance",value:function(){return ka.__instance}}]),ka}(k.a),C.KEN_BURNS_CLASSES=[na.a,ca.a,V.a],C.LAYOUT_GROUP_ATTRIBUTE_TYPE="WLayoutGroup",C.OBJECT_TYPE_ATTR_NAME="data-element-type",v=Object(r.a)(D.prototype,"backgroundParallaxService",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=Object(r.a)(D.prototype, 766"elementRotationService",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=Object(r.a)(D.prototype,"modularObjectContentService",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=Object(r.a)(D.prototype,"storeAnalyticsManager",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=Object(r.a)(D.prototype,"pageService",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=Object(r.a)(D.prototype,"rwdService",[e],{configurable:!0,enumerable:!0, 767writable:!0,initializer:null}
767),A=Object(r.a)(D.prototype,"userService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=Object(r.a)(D.prototype,"feedService",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D))||D)},2664:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"renderCounterText",value:function(d){return d>m.MAX_COUNT?"+".concat(m.MAX_COUNT):"".concat(d)}}]), 768m}();n.MAX_COUNT=99},2665:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);this.animationQueueItem=null;this.animationPlayed=!1;this.wObject=d;this.wObject.addWObjectEventListener(this)}return Object(q.a)(m,[{key:"updateAnimationStartPoint",value:function(){null!==this.animationQueueItem&&this.animationQueueItem.updateAnimationStartPoint()}},{key:"wObjectSizeChanged",value:function(){this.updateAnimationStartPoint()}},{key:"wObjectPositionChanged", 769value:function(){this.updateAnimationStartPoint()}},{key:"wObjectVisibilityChanged",value:function(){}},{key:"setAnimationQueueItem",value:function(d){this.animationQueueItem=d;null===d&&(this.animate(),this.setAnimationPlayed(!1))}},{key:"_tryToPlayCounterAnimation",value:function(){var d=this;this._canPlayAnimation(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})&&(this.wObject.playCounterAnimation({onComplete:function(){null!==d.animationQueueItem&&d.animationQueueItem.setCounterAnimationFinished(); 770d.setAnimationPlayed(!1)}}),this.setAnimationPlayed(!0))}},{key:"onShowAnimationStart",value:function(){this._tryToPlayCounterAnimation({playInvisibleOrWithAnimationEnabled:!0})}},{key:"animate",value:function(){this._tryToPlayCounterAnimation()}},{key:"setAnimationPlayed",value:function(d){this.animationPlayed=d}},{key:"onInteractionVisibilityChange",value:function(){this._tryToPlayCounterAnimation()}},{key:"_canPlayAnimation",value:function(){return((0<arguments.length&&void 0!==arguments[0]?arguments[0]: 771{}).playInvisibleOrWithAnimationEnabled||this.wObject.isVisible()&&!1===this.wObject.isAnimationEnabled())&&!1===this.animationPlayed&&!1===this.wObject.getCounterAnimationData().getOnlyOnce()}}]),m}()},2666:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l= 772Object(f.a)(e);if(h){var v=Object(f.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(b.a)(this,l)}}var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(2395),c=a(2701);k.a=function(e){return function(h){function l(){return Object(q.a)(this,l),v.apply(this,arguments)}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"onVisibilityChange",value:function(p){Object(m.a)(Object(f.a)(l.prototype),"onVisibilityChange",this).call(this,p);this.getCounterAnimationManager().onInteractionVisibilityChange()}}, 773{key:"beforeShowRealAnimationStart",value:function(){Object(m.a)(Object(f.a)(l.prototype),"beforeShowRealAnimationStart",this).call(this);this.getCounterAnimationManager().onShowAnimationStart()}},{key:"formatNumber",value:function(p){var w=this.getCounterAnimationData(),u=w.getSeparators().getThousandsPlaceSeparator();return w.getValues().getFinalValue().printFormattedValue(p,u)}},{key:"generateFinalNumber",value:function(){return this.getCounterAnimationData().getValues().getFinalValue().printFormattedValue()}}, 774{key:"stopCounterAnimation",value:function(){null!==this.getCounterAnimation()&&(this.getCounterAnimation().stop(!0),this.setCounterAnimation(null))}},{key:"playCounterAnimation",value:function(){var p=this,w=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.stopCounterAnimation();var u=new g.a,z=this.getCounterAnimationData().getValues().getOwnAnimationStartNumberEnabled()?this.getCounterAnimationData().getValues().getInitialValue().getValue():0;this.setCounterAnimation(new c.a({easing:"easeOutQuint", 775element:this.getAnimationElement(),initialValue:z,finalValue:this.getCounterAnimationData().getValues().getFinalValue().getValue(),duration:this.getCounterAnimationData().getValues().getAnimationTime(),formatFunction:this.formatNumber.bind(this),onComplete:function(){p.setCounterAnimation(null);webwave.isFunction(w.onComplete)&&w.onComplete()},step:function(){p.updateMinSize()}}));u.registerAnimation(this.getCounterAnimation())}},{key:"getCounterAnimation",value:function(){throw"Not implemented"; 776}},{key:"setCounterAnimation",value:function(p){throw"Not implemented";}},{key:"getCounterAnimationManager",value:function(){throw"Not implemented";}},{key:"getCounterAnimationData",value:function(){throw"Not implemented";}},{key:"getAnimationElement",value:function(){throw"Not implemented";}}]),l}(e)}},2667:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"requestAnimationFrame",value:function(d){window.requestAnimationFrame(d)}}]), 777m}()},2668:function(r,k,a){function t(v,p){var w="undefined"!=typeof Symbol&&v[Symbol.iterator]||v["@@iterator"];if(!w){if(Array.isArray(v)||(w=function(E,C){if(E){if("string"==typeof E)return q(E,C);var D=Object.prototype.toString.call(E).slice(8,-1);"Object"===D&&E.constructor&&(D=E.constructor.name);if("Map"===D||"Set"===D)return Array.from(E);if("Arguments"===D||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return q(E,C)}}(v))||p&&v&&"number"==typeof v.length){w&&(v=w);var u=0;p=function(){}; 778return{s:p,n:function(){return u>=v.length?{done:!0}:{done:!1,value:v[u++]}},e:function(E){throw E;},f:p}}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 z,y=!0,A=!1;return{s:function(){w=w.call(v)},n:function(){var E=w.next();return y=E.done,E},e:function(E){A=!0;z=E},f:function(){try{y||null==w.return||w.return()}finally{if(A)throw z;}}}}function q(v,p){(null==p||p>v.length)&&(p=v.length); 779for(var w=0,u=Array(p);w<p;w++)u[w]=v[w];return u}function n(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(c.a)(v);if(p){var u=Object(c.a)(this).constructor;w=Reflect.construct(w,arguments,u)}else w=w.apply(this,arguments);return Object(g.a)(this,w)}}a.d(k,"a",function(){return l}); 780var m,d=a(0),b=a(1),f=a(3),g=a(4),c=a(2);r=a(2396);var e=a(1712),h=a(1904);k=a(20);a.n(k);var l=Object(k.injectable)()(m=function(v){function p(){var u;
780Object(d.a)(this,p);for(var z=arguments.length,y=Array(z),A=0;A<z;A++)y[A]=arguments[A];return(u=w.call.apply(w,[this].concat(y)))._orderItems=[],u}Object(f.a)(p,v);var w=n(p);return Object(b.a)(p,[{key:"addItem",value:function(u){this.getOrderItemsByCurrentLang().push(u);this._onStoreItemsChange()}},{key:"addItemFromProductData",value:function(u){var z= 781this.findItemByProduct(u);z?z.setProductDataAndChangeCount(u):this.addItem(new e.a(u));this._onStoreItemsChange()}},{key:"cleanOrderItemsInCurrentLang",value:function(){var u=this.getLanguageId();this._orderItems=this._orderItems.filter(function(z){return z.language!==u});this._onStoreItemsChange()}},{key:"decreaseItemCount",value:function(u){var z=this.findItemByProductId(u);z&&(z.decreaseCount(),0===z.getCount()&&this.removeItem(u));this._onStoreItemsChange()}},{key:"findItemByProduct",value:function(u){return this.getOrderItemsByCurrentLang().find(function(z){return z.equals(u)})}}, 782{key:"findIndexItemByProductId",value:function(u){return this.getOrderItemsByCurrentLang().findIndex(function(z){return z._productData.getIdForOrderItem()===u})}},{key:"findItemByProductId",value:function(u){return this.getOrderItemsByCurrentLang().find(function(z){return z._productData.getIdForOrderItem()===u})}},{key:"getLanguageId",value:function(){throw Error("Not implemented");}},{key:"getOrderItemsByCurrentLang",value:function(){var u=this.getLanguageId(),z=this._orderItems.filter(function(y){return y.language=== 783u})[0];return!1===webwave.isDef(z)&&(z={language:this.getLanguageId(),items:[]},this._orderItems.push(z)),z.items}},{key:"incrementItemCount",value:function(u){(u=this.findItemByProductId(u))&&u.incrementCount();this._onStoreItemsChange()}},{key:"removeItem",value:function(u){u=this.findIndexItemByProductId(u);-1<u&&this.getOrderItemsByCurrentLang().splice(u,1);this._onStoreItemsChange()}},{key:"_dispatchItemCountForListeners",value:function(u){this.triggerPropertyChange(h.a.PRODUCT_COUNTER_PROPERTY_NAME, 784u)}},{key:"_getItemsCount",value:function(){var u,z=0,y=t(this.getOrderItemsByCurrentLang());try{for(y.s();!(u=y.n()).done;)z+=u.value.getCount()}catch(A){y.e(A)}finally{y.f()}return z}},{key:"_onStoreItemsChange",value:function(){this._dispatchItemCountForListeners(this._getItemsCount())}}]),p}(r.a))||m},2695:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 785[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(b.a)(e);if(h){var v=Object(b.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(d.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(1026);r=a(2222);var g=a(43),c=function(e){function h(v){var p;return Object(q.a)(this,h),(p=l.call(this,v))._imageCropData=null,p._imageSrc=null,p._imageSize=null,p._croppedImageSrc=null,p._croppedImageSize=null, 786p._thumbnailSrc=null,p._thumbnailSize=null,p._useWebp=null,p}Object(m.a)(h,e);var l=t(h);return Object(n.a)(h,[{key:"deserializeProperties",value:function(v){return{imageCropData:webwave.isDefAndNotNull(v.imageCropData)?new f.a(v.imageCropData):null,imageSize:webwave.isDefAndNotNull(v.imageSize)?new g.a(v.imageSize):null,imageSrc:v.imageSrc,croppedImageSrc:v.croppedImageSrc,croppedImageSize:webwave.isDefAndNotNull(v.croppedImageSize)?new g.a(v.croppedImageSize):null,thumbnailSrc:v.thumbnailSrc,thumbnailSize:webwave.isDefAndNotNull(v.thumbnailSize)? 787new g.a(v.thumbnailSize):null}}},{key:"applyProperties",value:function(v){this._imageCropData=null===v||void 0===v?void 0:v.imageCropData;this._imageSrc=null===v||void 0===v?void 0:v.imageSrc;this._imageSize=null===v||void 0===v?void 0:v.imageSize;this._croppedImageSrc=null===v||void 0===v?void 0:v.croppedImageSrc;this._croppedImageSize=null===v||void 0===v?void 0:v.croppedImageSize;this._thumbnailSrc=null===v||void 0===v?void 0:v.thumbnailSrc;this._thumbnailSize=null===v||void 0===v?void 0:v.thumbnailSize}}, 788{key:"getCropData",value:function(){return this._imageCropData}},{key:"getImageSrc",value:function(){return this._imageSrc}},{key:"getImageSize",value:function(){return this._imageSize}},{key:"getThumbnailSrc",value:function(){return this._thumbnailSrc}},{key:"getThumbnailSize",value:function(){return this._thumbnailSize}},{key:"getUseWebp",value:function(){return this._useWebp}},{key:"getCroppedImageSrc",value:function(){return this._croppedImageSrc}},{key:"getCroppedImageSize",value:function(){return this._croppedImageSize}}]), 789h}(r.a)},2696:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q= 790a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(1672);var f=a(1348),g=function(c){function e(l){var v;return Object(q.a)(this,e),(v=h.call(this))._galleryObject=l,v}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getDomObject",value:function(){return this.getGalleryObject().getDomObject()[0]}},{key:"getGalleryObject",value:function(){return this._galleryObject}},{key:"enteredViewportHandler",value:function(){var l=this.getGalleryObject();webwave.isDef(l)&&(this._handleLazyLoadImagesInHeader(l),l.initializeImages())}}, 791{key:"_handleLazyLoadImagesInHeader",value:function(l){l=l._getGalleryImagesWrapper().querySelectorAll("img");for(var v=0;v<l.length;v++){var p=l[v],w=p.getAttribute(f.a.LAZY_LOAD_ATTR_NAME);
791p.setAttribute("src",w)}}}]),e}(r.a)},2697:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}(); 792return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this,c),(l=e.call(this,h))._href=h.href,l._target=h.target,l._samePage=h.samePage,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getHref",value:function(){return this._href}},{key:"getTarget", 793value:function(){return this._target}},{key:"getSamePage",value:function(){return this._samePage}}]),c}(a(2339).a)},2698:function(r,k,a){k.a={_NO_ANIMATION:"noAnimation",CROSSFADE:"crossfade",SPINFADE:"spinfade"}},2699:function(r,k,a){k.a={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, 794height:80}}}},27:function(r,k,a){k.a=function(d){return Object(t.a)(d)||Object(q.a)(d)||Object(n.a)(d)||Object(m.a)()};var t=a(194),q=a(195),n=a(93),m=a(196)},2700:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor; 795e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this,c),(l=e.call(this))._storeProduct=h,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getDomObject",value:function(){return this._storeProduct.getDomObject()[0]}},{key:"enteredViewportHandler",value:function(){this._storeProduct.sendViewPortEvent()}},{key:"isSingleHandler", 796value:function(){return!1}}]),c}(a(1388).a)},2701:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}} 797a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this,c),(l=e.call(this,h))._easing=webwave.isDef(h.easing)?h.easing:c.DEFAULT_EASING_FUNCTION,webwave.isString(l._easing)&&(l._easing=jQuery.easing[l._easing]),l._element=h.element,l._initalValue=h.initialValue,l._finalValue=h.finalValue,l._currentValue=l._initalValue,l._valueDelta=l._finalValue-l._initalValue,l._formatFunction=h.formatFunction,l}Object(m.a)(c,g);var e=t(c); 798return Object(n.a)(c,[{key:"updateValues",value:function(){var h=this._easing(this._progress);this._currentValue=this._initalValue+this._valueDelta*h}},{key:"render",value:function(){webwave.isDefAndNotNull(this._element)&&(this._element.innerText=webwave.isFunction(this._formatFunction)?this._formatFunction(this._currentValue):this._currentValue)}},{key:"finish",value:function(){this._running=!1;this._finished=!0;this.setCurrentTime(this.getDuration());this.updateValues();this.render();this.clean(); 799webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"tick",value:function(){this.updateValues();this.render();webwave.isFunction(this._stepCallback)&&this._stepCallback()}}]),c}(a(906).a);f.DEFAULT_EASING_FUNCTION="swing"},2702:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}(); 800return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(2341),g=function(c){function e(l){var v;return Object(q.a)(this,e),(v=h.call(this))._element=l.element,v._margin=l.margin,v}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getYPositionToScroll",value:function(){return this.pageCanvas.getPositionRelativeToPageArea(this._element).getY()- 801this._margin}},{key:"setPageCanvas",value:function(l){this.pageCanvas=l}},{key:"_calculateAnimationTimeBaseOnTargetPosition",value:function(){var l=this.pageCanvas.getViewPort();l=Math.abs(this.getYPositionToScroll()-l.getY1());return Math.min(Math.floor(l/2),f.a.MAX_ANIMATION_TIME)}}]),e}(f.a)},2703:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(81),m=a(2667),d=function(){function b(f){Object(t.a)(this,b);this._interactionWasCalled=!1;this._scrollTarget=f.scrollTarget;this._scrollArea= 802f.scrollArea;this._interactionHandler=this._turnOnInteractionCalledFlag.bind(this)}return Object(q.a)(b,[{key:"scroll",value:function(){this._enableTurnOffScrollingOnInteraction();this._startScrolling()}},{key:"_enableTurnOffScrollingOnInteraction",value:function(){var f=this;b.INTERACTIONS.forEach(function(g){f._getElementToInteractionListener().addEventListener(g,f._interactionHandler)})}},{key:"_getCurrentScrollPosition",value:function(){return this._scrollArea.getCurrentScrollPosition()}},{key:"_getElementToInteractionListener", 803value:function(){return document.querySelector("body")}},{key:"_normalizeScrollProgress",value:function(f){return n.a.limitValue(f,0,1)}},{key:"_removeInteractionListeners",value:function(){var f=this;b.INTERACTIONS.forEach(function(g){f._getElementToInteractionListener().removeEventListener(g,f._interactionHandler)})}},{key:"_startScrolling",value:function(){var f=this,g=this._scrollTarget.getAnimationTime(),c=this._getCurrentScrollPosition(),e=null;m.a.requestAnimationFrame(function v(l){var p= 804f._scrollTarget.getYPositionToScroll();l-=e=webwave.isNotDefOrNull(e)?l:e;var w=f._normalizeScrollProgress(l/g);w=c+(p-c)*w;if(f._scrollToPosition(w),!0===f._interactionWasCalled)return f._stopScrolling(),void f._removeInteractionListeners();l<g?m.a.requestAnimationFrame(v):(w!==p&&f._scrollToPosition(p),f._removeInteractionListeners())})}},{key:"_scrollToPosition",value:function(f){this._scrollArea.scrollTo(f)}},{key:"_stopScrolling",value:function(){this._scrollToPosition(this._getCurrentScrollPosition())}}, 805{key:"_turnOnInteractionCalledFlag",value:function(){this._interactionWasCalled=!0}}]),b}();d.INTERACTIONS="scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove".split(" ")},2704:function(r,k,a){k.a={PAGE_DATA_NODE_ID:"pageData"}},2705:function(r,k,a){a.d(k,"a",function(){return b});var t=a(0),q=a(1),n=a(2397),m=a(2706),d=a(2707),b=function(){function f(){var g=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,f);this.id=g.id;this.wObject=g.wObject;this.tails= 806[];this.heads=[];this.sides=[];this._bottomEdge=-1/0;this.wObject.setRelationNode(this);this._pushingDisabled=!1}return Object(q.a)(f,[{key:"getId",value:function(){return this.id}},{key:"getWObject",value:function(){return this.wObject}},{key:"updateBottomEdge",value:function(){this.setBottomEdge(this.computeBottomEdge())}},{key:"setBottomEdge",value:function(g){var c=this._bottomEdge;this._bottomEdge=g;c!==g&&this.onBottomEdgeChange()}},{key:"getBottomEdge",value:function(){return this._bottomEdge}}, 807{key:"computeBottomEdge",value:function(){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()||!1===this.wObject.isInFlow()))return this.getBottomEdgeFromHeads();
807var g=webwave.isDefAndNotNull(this.wObject.getParentWNode())?this.wObject.getParentWNode().getOffset().getY():0;return this.wObject.getRenderedRectangle().getY2()-g}},{key:"_getHeadVerticalNodeConnectionByNode", 808value:function(g){return this.heads.find(function(c){return c.getHead()===g})}},{key:"containsInHead",value:function(g){return webwave.isDef(this._getHeadVerticalNodeConnectionByNode(g.getHead()))}},{key:"addToHeads",value:function(g,c){g=new d.a(g,this,c);!1===this.containsInHead(g)?this.heads.push(g):g.dispose()}},{key:"removeFromHeads",value:function(g){g=this._getHeadVerticalNodeConnectionByNode(g);webwave.isDef(g)&&(this.heads.splice(this.heads.indexOf(g),1),g.dispose())}},{key:"containsInTails", 809value:function(g){return-1!==this.tails.indexOf(g)}},{key:"addToTails",value:function(g){!1===this.containsInTails(g)&&this.tails.push(g)}},{key:"removeFromTails",value:function(g){g=this.tails.indexOf(g);-1!==g&&this.tails.splice(g,1)}},{key:"getSides",value:function(){return this.sides}},{key:"addToSides",value:function(g){g!==this&&-1===this.sides.indexOf(g)&&this.sides.push(g)}},{key:"removeFromSides",value:function(g){-1!==this.sides.indexOf(g)&&this.sides.splice(this.sides.indexOf(g),1)}},{key:"dispose", 810value:function(){if(!0!==this._beingDisposed){this._beingDisposed=!0;this.wObject.setRelationNode(null);for(var g=0;g<this.heads.length;g++)this.heads[g].dispose();for(g=0;g<this.tails.length;g++)this.tails[g].dispose()}}},{key:"getBottomEdgeFromHeads",value:function(){for(var g=-1/0,c=0;c<this.heads.length;c++)g=Math.max(g,this.heads[c].getHead().getBottomEdge());return g}},{key:"updatePushedDown",value:function(){for(var g=-1/0,c=!1,e=0;e<this.heads.length;e++){var h=this.heads[e];g=Math.max(g, 811h.getHead().getBottomEdge()+h.getValue());!1===c&&!0===h.relation.hasDisabledPulling()&&(c=!0)}this.wObject.setMostBottomFromOtherPushes(g);g=this.wObject.countPushDownAttr(g,c);this.wObject.setPushedDownAttr(g)}},{key:"collectSides",value:function(){for(var g=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[this],c=[],e=0;e<this.sides.length;e++){var h=this.sides[e];-1===g.indexOf(h)&&c.push(h)}e=c.slice();for(h=0;h<e.length;h++)c=c.concat(c[h].collectSides(g.concat(c)));return c}},{key:"updateBoundHeightModifiers", 812value:function(){for(var g=-1/0,c=this.collectSides(),e=0;e<c.length;e++)c[e]!==this&&(g=Math.max(g,c[e].computeBottomEdge()-c[e].wObject.getBoundHeightModifier()));g=Math.max(g-(this.wObject.getComputedPosition().getY()+this.wObject.getComputedSize().getHeight()-this.wObject.getBoundHeightModifier()),0);this.wObject.setBoundHeightModifier(g)}},{key:"onHeadBottomEdgeChange",value:function(){this.isPushingDisabled()||this.updatePushedDown()}},{key:"onSideSizeChange",value:function(){this.isPushingDisabled()|| 813this.updateBoundHeightModifiers()}},{key:"onSidePositionChange",value:function(){this.isPushingDisabled()||this.updateBoundHeightModifiers()}},{key:"onBottomEdgeChange",value:function(){if(!this.isPushingDisabled())for(var g=0;g<this.tails.length;g++)this.tails[g].onHeadBottomEdgeChange()}},{key:"_shouldSkipWObjectEventHandling",value:function(){return this.isPushingDisabled()||this.wObject.isBulkMode()||this.wObject.isNoPushing()||this.wObject.isFixed()}},{key:"onWObjectSizeChange",value:function(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown(); 814this.updateBottomEdge();for(var g=0;g<this.sides.length;g++)this.sides[g].onSideSizeChange()}}},{key:"onWObjectPositionChange",value:function(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown();this.updateBottomEdge();for(var g=0;g<this.sides.length;g++)this.sides[g].onSidePositionChange()}}},{key:"onWObjectVisibilityChange",value:function(){if(!this._shouldSkipWObjectEventHandling()){this.updatePushedDown();this.updateBottomEdge();for(var g=0;g<this.sides.length;g++)this.sides[g].onSidePositionChange()}}}, 815{key:"hasHeads",value:function(){return 0<this.heads.length}},{key:"getHeads",value:function(g){for(var c=[],e=0;e<this.heads.length;e++)c.push(this.heads[e].getHead()),g&&(c=c.concat(this.heads[e].getHead().getHeads(g)));return c}},{key:"hasTails",value:function(){return 0<this.tails.length}},{key:"getTails",value:function(g){for(var c=[],e=0;e<this.tails.length;e++)c.push(this.tails[e]),g&&(c=c.concat(this.tails[e].getTails(g)));return c}},{key:"hasSides",value:function(){return 0<this.sides.length}}, 816{key:"hasAnyRelation",value:function(){return this.hasHeads()||this.hasTails()||this.hasSides()}},{key:"shakeIt",value:function(){this.updatePushedDown();this.updateBoundHeightModifiers();this.updateBottomEdge()}},{key:"getInFlowHeads",value:function(){for(var g=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},c=[],e=0;e<this.heads.length;e++){var h=this.heads[e].getHead();!1===this.heads[e].relation.hasDisabledPulling()&&(h.wObject.isAlwaysPushing()||h.wObject.isInFlow()&&h.wObject.isVisibleForInFlow())&& 817(c.push(h),!0===g.deep&&(c=c.concat(h.getInFlowHeads({deep:!0}))))}return c}},{key:"setPushingDisabled",value:function(g){this._pushingDisabled=g}},{key:"isPushingDisabled",value:function(){return this._pushingDisabled}},{key:"collectDownPath",value:function(){var g=0<arguments.length&&void 0!==arguments[0]?arguments[0]:new n.a,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,e=g.get(this.wObject.id);if(!(g.has(this.wObject.id)&&e.level>=c)){webwave.isNotDefOrNull(e)?(e=new m.a({node:this, 818level:c}),g.add(this.wObject.id,e)):e.level=c;for(e=0;e<this.tails.length;e++)this.tails[e].collectDownPath(g,c+1);this.wObject.forEachAncestor(function(h){null!==h.getRelationNode()&&h.getRelationNode().collectDownPath(g,c+1)})}}}]),f}()},2706:function(r,k,a){a.d(k,"a",function(){return q});var t=a(0),q=function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this.level=d.level;this.node=d.node}},2707:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0), 819q=a(1),n=a(2539),m=a(54),d=function(){function b(f,g,c){Object(t.a)(this,b);this.tails=this.head=null;this.head=f;this.tail=g;this.relation=c;g={};g[m.a.VH]={object:f.wObject.getPageCanvas(),property:"renderedHeight"};this._lengthProxy=new n.a(c.getDistance(),{valueChangeHandler:this.onValueChange.bind(this),lengthParents:g});this.relation.addPropertyChangeListener("distance",this);this.value=this._lengthProxy.getValue()}return Object(q.a)(b,[{key:"getHead",value:function(){return this.head}},{key:"getTail", 820value:function(){return this.tail}},{key:"getDistance",value:function(){return this.relation.getDistance()}},{key:"onValueChange",value:function(f){this.value=this._lengthProxy.getValue();this.tail.updatePushedDown()}},{key:"onPropertyChange",value:function(f){this._lengthProxy.setLength(f.getNewValue())}},{key:"dispose",value:function(){this.relation.removePropertyChangeListener("distance",this);this._lengthProxy.dispose()}},{key:"getValue",value:function(){return this.value}}]),b}()},2773:function(r, 821k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(43),m=function(){function d(b){Object(t.a)(this,d);this.domObject=void 0;this.height=this.width=0;this.imageFile=null;this.html=b.html;
821this.width=b.width;this.height=b.height;this.imageFile=b.imageFile;this.domObject=b.domObject;this.thumbnailMode=!1;this.backgroundSize=b.backgroundSize}return Object(q.a)(d,[{key:"getHtml",value:function(){return this.html}},{key:"getDomObject",value:function(){return this.domObject}},{key:"getHeight",value:function(){return this.height}}, 822{key:"getWidth",value:function(){return this.width}},{key:"isThumbnailMode",value:function(){return this.thumbnailMode}},{key:"setThumbnailMode",value:function(b){this.thumbnailMode=b;this._updateImageUrl()}},{key:"getImageSize",value:function(){return new n.a({width:this.imageFile.width,height:this.imageFile.height})}},{key:"_updateImageUrl",value:function(){var b=this.getDomObject().find(".image");if(webwave.isDef(this.imageFile)){var f=this.isThumbnailMode()?this.imageFile.getThumbnailUrlStringForCss(): 823this.imageFile.getUrlStringForCss();b[0].style.background="".concat(f," center center / ").concat(this.backgroundSize," no-repeat")}}}]),d}()},2774:function(r,k,a){function t(u){var z=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}();return function(){var y=Object(l.a)(u);if(z){var A=Object(l.a)(this).constructor; 824y=Reflect.construct(y,arguments,A)}else y=y.apply(this,arguments);return Object(h.a)(this,y)}}a.d(k,"a",function(){return w});var q,n,m,d,b=a(8),f=a(0),g=a(1),c=a(11),e=a(3),h=a(4),l=a(2);r=a(7);var v=(a(9),a(847));k=a(55);var p=a(20);a=(a.n(p),a(28));var w=(q=Object(p.injectable)(),n=Object(p.inject)(a.a.EnvironmentUtils),q((m=function(u){function z(){var A;return Object(f.a)(this,z),A=y.call(this),Object(b.a)(A,"environmentUtils",d,Object(c.a)(A)),A._orderPopup=null,A._selectProductVariantPopup= 825null,A._popupService=null,A}Object(e.a)(z,u);var y=t(z);return Object(g.a)(z,[{key:"getStoreSettings",value:function(){throw Error("not implemented");}},{key:"setOrderPopup",value:function(A){this._orderPopup=A}},{key:"setPopupService",value:function(A){this._popupService=A}},{key:"setSelectPopupVariantPopup",value:function(A){this._selectProductVariantPopup=A}},{key:"showPopup",value:function(A){var E=this;this._orderPopup&&(webwave.isDef(A)?(A=A.getProductId(),this.getProductData(A).then(function(C){C= 826new v.a(C.data);C.isAvailable()?0===C.getNotEmptyVariant().length?E._orderPopup.show(C):E._selectProductVariantPopup.show(C,E._orderPopup.getLanguageId(),E._orderPopup.show.bind(E._orderPopup)):E._showNotAvailableProductPopup()}).catch(function(C){webwave.error(C);E._showNotAvailableProductPopup()})):this._orderPopup.show())}},{key:"hide",value:function(){this._orderPopup.hide()}},{key:"getProductData",value:function(A){var E=this,C=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(D, 827F){webwave.utils.makeAjxaCall({url:"/v2/shop/getProductDetails/".concat(A),data:{website:E.environmentUtils.getWebsiteId()},noLoadingBox:!webwave.isBoolean(C.noLoadingBox)||C.noLoadingBox,noErrorPopup:!0},D,F)})}},{key:"_getTranslation",value:function(){throw Error("not implemented");}},{key:"_showNotAvailableProductPopup",value:function(){var A=this._getTranslation();this._popupService.showUnexpectedErrorWarning({text:A.getTranslate("productNotAvailableException_text"),title:A.getTranslate("productNotAvailableException_title"), 828yesLabel:A.getTranslate("productNotAvailableException_yesLabel")})}},{key:"getOrderClientData",value:function(){return this._orderPopup.getOrderClientData()}},{key:"getOrderItems",value:function(){return this._orderPopup.getOrderItems()}}]),z}(k.a),d=Object(r.a)(m.prototype,"environmentUtils",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m))||m)},2775:function(r,k,a){k.a={LOCAL_STORAGE_CLIENT_DATA_KEY:"clientData",LOCAL_STORAGE_ITEMS_KEY:"items"}},2795:function(r, 829k,a){k.a={FIT:"fit",CROP:"crop"}},2796:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(f.a)(h);if(l){var p=Object(f.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(b.a)(this,v)}}a.d(k,"a", 830function(){return e});
830var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(1348),c=a(1711);webwave.provide("com.webwave.publication.object.WMediaPlayer");var e=function(h){function l(p){var w;return Object(q.a)(this,l),(w=v.call(this,p)).videoProperties={},w.playerReady=!1,w.wasAutoPlayed=!1,w.customThumbnailEnabled=p.customThumbnailEnabled,w.mediaPlayerService=p.mediaPlayerService,w.fetchVideoPropertiesFromDomObject(),w.initElementPlayer(),w}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"isAutoPlayEnabled", 831value:function(){return this.videoProperties.autoPlay}},{key:"isLoopEnabled",value:function(){return this.videoProperties.loop}},{key:"isMuted",value:function(){return this.videoProperties.muted}},{key:"areControlsHiden",value:function(){return!this.videoProperties.controls}},{key:"isCustomThumbnailEnabled",value:function(){return this.customThumbnailEnabled}},{key:"getMediaPlayerService",value:function(){return this.mediaPlayerService}},{key:"shouldVideoBeAutoPlayed",value:function(){return!0}}, 832{key:"isCustomThumbnailWithoutAutoPlay",value:function(){return!0===this.isCustomThumbnailEnabled()&&!1===this.isAutoPlayEnabled()}},{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(l.prototype),"afterDomSizeChange",this).call(this);this.resizeThumbnail()}},{key:"resizeThumbnail",value:function(){var p=this.getCustomThumbnailImgDomElement();webwave.isDefAndNotNull(p)&&(p={contentWidth:this.getInnerWidth(),contentHeight:this.getInnerHeight(),element:p,imageWidth:p.getAttribute("imageWidth"), 833imageHeight:p.getAttribute("imageHeight")},domElementService.resizeImgDomElement(p))}},{key:"tryToAutoPlayVideo",value:function(){var p=pageService.getWindowScroll()+window.innerHeight;!1===this.wasAutoPlayed&&this.getDomObject().is(":visible")&&this.shouldVideoBeAutoPlayed()&&this.getY()<p&&this.isAutoPlayEnabled()&&(this.removeThumbnail(),this.wasAutoPlayed=!0,this.playVideo())}},{key:"initPlayer",value:function(){this.preparePlayerForShow()}},{key:"initElementPlayer",value:function(){this.isCustomThumbnailWithoutAutoPlay()? 834this.initCustomThumbnail():this.initPlayer()}},{key:"removeThumbnail",value:function(){if(!0===this.isCustomThumbnailEnabled()){var p;null===(p=this.getCustomThumbnailImgDomElement())||void 0===p||p.remove();p=this.getCustomThumbnailDomElement();null===p||void 0===p||p.querySelectorAll(".icon").forEach(function(w){w.remove()})}}},{key:"initCustomThumbnail",value:function(){this.initThumbnail(this.getCustomThumbnailDomElement())}},{key:"getCustomThumbnailDomElement",value:function(){return this.getContent()[0].querySelector(".video-custom-thumbnail")}}, 835{key:"getCustomThumbnailImgDomElement",value:function(){var p;return null===(p=this.getCustomThumbnailDomElement())||void 0===p?void 0:p.querySelector("img")}},{key:"initThumbnail",value:function(p){var w=this;null===p||void 0===p||p.addEventListener("click",function(){w.initPlayer();w.removeThumbnail()})}},{key:"playCurrentHideAnimation",value:function(){this.pauseVideo();Object(m.a)(Object(f.a)(l.prototype),"playCurrentHideAnimation",this).call(this)}},{key:"pauseVideo",value:function(){}},{key:"playVideo", 836value:function(){}},{key:"fetchVideoPropertiesFromDomObject",value:function(){}},{key:"addImgLazyLoad",value:function(){if(Object(m.a)(Object(f.a)(l.prototype),"addImgLazyLoad",this).call(this),this.isCustomThumbnailEnabled()){var p=this.getCustomThumbnailImgDomElement();webwave.isDefAndNotNull(p)&&(p.hasAttribute(g.a.LAZY_LOAD_ATTR_NAME)?this.createDomWIntersectionObserved(new g.a(p)):p.hasAttribute(c.a.LAZY_LOAD_ATTR_NAME)&&this.createDomWIntersectionObserved(new c.a(p)))}}},{key:"preparePlayerForShow", 837value:function(){}}]),l}(com.webwave.publication.object.WElement);com.webwave.publication.object.WMediaPlayer=e;e.VIDEO_TYPES={youtube:0,html5Video:1,vimeo:2}},2797:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c);if(e){var l=Object(f.a)(this).constructor; 838h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2);webwave.provide("com.webwave.publication.object.WMediaPlayer.VimeoVideo");var g=function(c){function e(l){return Object(q.a)(this,e),h.call(this,l)}Object(d.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"fetchVideoPropertiesFromDomObject",value:function(){this.vimeoDiv=this.getDomObject().find(".vimeoVideo");0<this.vimeoDiv.length&& 839(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"),targetId:this.vimeoDiv.prop("id")})}},{key:"initPlayer",value:function(){(Object(m.a)(Object(f.a)(e.prototype),"initPlayer",this).call(this),webwave.isDef(window.Vimeo)&&webwave.isFunction(window.Vimeo.Player))?(this.player=new Vimeo.Player(this.videoProperties.targetId, 840{id:this.videoProperties.videoId,loop:this.videoProperties.loop,autopause:!1}),this.player.ready().then(this.playerReadyEventListener.bind(this))):(this.getMediaPlayerService().addVimeoPlayerToInitList(this),this.getMediaPlayerService().initVimeoApi())}},{key:"playVideo",value:function(){var l=this;webwave.isDef(this.player)&&this.player.play().then(function(){l.wasAutoPlayed=!0})}},{key:"playerReadyEventListener",value:function(){this.playerReady=!0;this.isMuted()&&this.player.setVolume(0);
840this.isCustomThumbnailWithoutAutoPlay()? 841this.playVideo():this.tryToAutoPlayVideo()}},{key:"pauseVideo",value:function(){webwave.isDef(this.player)&&this.player.pause()}}]),e}(com.webwave.publication.object.WMediaPlayer)},2798:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c); 842if(e){var l=Object(f.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2);webwave.provide("com.webwave.publication.object.WMediaPlayer.YoutubeVideo");var g=function(c){function e(l){return Object(q.a)(this,e),h.call(this,l)}Object(d.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"fetchVideoPropertiesFromDomObject",value:function(){this.youtubeDiv=this.getDomObject().find(".youtubeVideo"); 843var l=this.youtubeDiv.attr("data-playlist");0<this.youtubeDiv.length&&(this.videoProperties={videoId:this.youtubeDiv.attr("data-videoid"),controls:"true"===this.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(l)?l:null,events:{onStateChange:this.onStateChange.bind(this),onReady:this.onReady.bind(this)}})}},{key:"initElementPlayer",value:function(){!1=== 844this.isAutoPlayEnabled()?!0===this.isCustomThumbnailEnabled()?this.initCustomThumbnail():this._initMockThumbnail():this.initPlayer()}},{key:"onReady",value:function(){this.playerReady=!0;this.videoProperties.muted&&this.player.mute();!1===this.isAutoPlayEnabled()?this.playVideo():this.tryToAutoPlayVideo()}},{key:"initPlayer",value:function(){if(Object(m.a)(Object(f.a)(e.prototype),"initPlayer",this).call(this),webwave.isDef(window.YT)){var l={videoId:this.videoProperties.videoId,playerVars:{modestbranding:1, 845controls:this.videoProperties.controls?1:0,rel:0,showinfo:this.videoProperties.loop?0:1},events:{onStateChange:this.videoProperties.events.onStateChange.bind(this),onReady:this.videoProperties.events.onReady.bind(this)}};this.player=new YT.Player(this.youtubeDiv.prop("id"),l)}else this.getMediaPlayerService().addYoutubePlayerToInitList(this),this.getMediaPlayerService().initYoutubeApi()}},{key:"shouldVideoBeAutoPlayed",value:function(){return webwave.isDef(this.player)&&webwave.isFunction(this.player.getPlayerState)&& 8465===this.player.getPlayerState()&&this.playerReady}},{key:"playVideo",value:function(){this.isPlaylist()&&this.player.cuePlaylist({listType:"playlist",list:this.videoProperties.playlist});webwave.isDef(this.player)&&(this.player.playVideo(),this.wasAutoPlayed=!0)}},{key:"isPlaylist",value:function(){return webwave.isDefAndNotNull(this.videoProperties.playlist)}},{key:"onStateChange",value:function(l){if(this.isPlaylist()){if(5===l.data&&this.isPlaylist()&&!0!==this.playlistCued){var v=this.player.getPlaylist().indexOf(this.videoProperties.videoId); 847-1<v&&(this.firstVideoInPlaylistPlayed=!1,this.player.playVideoAt(v));this.playlistCued=!0}5===l.data&&this.isPlaylist()&&!1===this.firstVideoInPlaylistPlayed&&(this.firstVideoInPlaylistPlayed=!0)}0===l.data&&this.isLoopEnabled()&&this.player.playVideo()}},{key:"pauseVideo",value:function(){webwave.isDef(this.player)&&this.player.pauseVideo()}},{key:"_initMockThumbnail",value:function(){this.initThumbnail(this._getYoutubeMockThumbnail())}},{key:"removeThumbnail",value:function(){if(this.isCustomThumbnailEnabled())Object(m.a)(Object(f.a)(e.prototype), 848"removeThumbnail",this).call(this);else{var l=this._getYoutubeMockThumbnail();webwave.isDefAndNotNull(l)&&l.remove()}}},{key:"_getYoutubeMockThumbnail",value:function(){return this.getContent()[0].querySelector(".youtubeVideoMock")}},{key:"preparePlayerForShow",value:function(){this.getContent()[0].classList.add("youtube-player-loading")}}]),e}(com.webwave.publication.object.WMediaPlayer)},2799:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1; 849if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(f.a)(l);if(v){var w=Object(f.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(b.a)(this,p)}}a.d(k,"a",function(){return h});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2);r=a(1927);var g=a(848),c=a(2664),e=a(1904),h=function(l){function v(w){var u;return Object(q.a)(this,
850v),(u=p.call(this,w)).linkData=new g.a,u._productCountEnabled=!1,u}Object(d.a)(v,l);var p=t(v);return Object(n.a)(v,[{key:"getLinkData",value:function(){return this.linkData}},{key:"getProductCounterEnabled",value:function(){return webwave.isDefAndNotNull(this._getProductCounter())}},{key:"onVisibilityChange",value:function(w){Object(m.a)(Object(f.a)(v.prototype),"onVisibilityChange",this).call(this,w);this._updateProductCounterVisibility()}},{key:"onProductCountChange",value:function(w){this._computeProductCountEnabled(w); 851this._productCountEnabled&&(this._getProductCounter().innerHTML=c.a.renderCounterText(w));this._updateProductCounterVisibility()}},{key:"_computeProductCountEnabled",value:function(w){this._productCountEnabled=0<w}},{key:"_getProductCounter",value:function(){return this.getContentEl().querySelector(".".concat(e.a.PRODUCT_COUNTER_CLASS_NAME))}},{key:"_updateProductCounterVisibility",value:function(){var w=this.getComputedVisibility();webwave.isDefAndNotNull(this._getProductCounter())&&(this._getProductCounter().style.visibility= 852w&&this._productCountEnabled?"visible":"hidden")}}]),v}(r.a)},28:function(r,k,a){a.d(k,"a",function(){return t});var t={ActivationAccountService:Symbol.for("ActivationAccountService"),AddNewAIWebsiteService:Symbol.for("AddNewAIWebsiteService"),AddNewWebsiteService:Symbol.for("AddNewWebsiteService"),AIWebsiteDeductionService:Symbol.for("AIWebsiteDeductionService"),AIWebsiteTemplatePreviewService:Symbol.for("AIWebsiteTemplatePreviewService"),AmplitudeEventsService:Symbol.for("AmplitudeEventsService"), 853AmplitudeService: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"), 854ColorPickerService: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"),EnvironmentUtils:Symbol.for("EnvironmentUtils"), 855FbPixelService: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"),LegalApprovalDetailsPopupService:Symbol.for("LegalApprovalDetailsPopupService"), 856LegalApprovalService: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"),Panda2TrackingService:Symbol.for("Panda2TrackingService"), 857PaymentOrderDataFactory: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"),SalesmanagoEventService:Symbol.for("SalesmanagoEventService"), 858ServiceModeLanguageService: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"),TranslationUtils:Symbol.for("TranslationUtils"),UserChatService:Symbol.for("UserChatService"), 859UserService: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"),WebsiteAccessPopupService:Symbol.for("WebsiteAccessPopupService"),WebsiteEmailService:Symbol.for("WebsiteEmailService"), 860WebsiteExportService:Symbol.for("WebsiteExportService"),WebsiteItemListService:Symbol.for("WebsiteItemListService"),WebsitePlanOfferBoxService:Symbol.for("WebsitePlanOfferBoxService"),WebsitePlanService:Symbol.for("WebsitePlanService"),WebsiteStatisticsManagerService:Symbol.for("WebsiteStatisticsManagerService"),WebsiteSubscriptionManagementService:Symbol.for("WebsiteSubscriptionManagementService"),WebwaveApp:Symbol.for("WebwaveApp"),WindowService:Symbol.for("WindowService")}},2800:function(r,k,a){function t(A, 861E){var C="undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(!C){if(Array.isArray(A)||(C=function(x,G){if(x){if("string"==typeof x)return q(x,G);var I=Object.prototype.toString.call(x).slice(8,-1);"Object"===I&&x.constructor&&(I=x.constructor.name);if("Map"===I||"Set"===I)return Array.from(x);if("Arguments"===I||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return q(x,G)}}(A))||E&&A&&"number"==typeof A.length){C&&(A=C);var D=0;E=function(){};return{s:E,n:function(){return D>=A.length? 862{done:!0}:{done:!1,value:A[D++]}},e:function(x){throw x;},f:E}}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 F,B=!0,H=!1;return{s:function(){C=C.call(A)},n:function(){var x=C.next();return B=x.done,x},e:function(x){H=!0;F=x},f:function(){try{B||null==C.return||C.return()}finally{if(H)throw F;}}}}function q(A,E){(null==E||E>A.length)&&(E=A.length);for(var C=0,D=Array(E);C<E;C++)D[C]= 863A[C];return D}function n(A,E){var C=Object.keys(A);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(A);
863E&&(D=D.filter(function(F){return Object.getOwnPropertyDescriptor(A,F).enumerable}));C.push.apply(C,D)}return C}function m(A){for(var E=1;E<arguments.length;E++){var C=null!=arguments[E]?arguments[E]:{};E%2?n(Object(C),!0).forEach(function(D){Object(b.a)(A,D,C[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(C)):n(Object(C)).forEach(function(D){Object.defineProperty(A, 864D,Object.getOwnPropertyDescriptor(C,D))})}return A}function d(A){var E=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(C){return!1}}();return function(){var C=Object(l.a)(A);if(E){var D=Object(l.a)(this).constructor;C=Reflect.construct(C,arguments,D)}else C=C.apply(this,arguments);return Object(h.a)(this,C)}}a.d(k,"a",function(){return y}); 865var b=a(14),f=a(0),g=a(1),c=a(17),e=a(3),h=a(4),l=a(2),v=a(743);r=a(1920);var p=a(2265),w=a(2340),u=a(2224),z=a(2801),y=function(A){function E(D){var F;return Object(f.a)(this,E),(F=C.call(this,D))._content=null,F._contentProperties=D.contentProperties,F._imagesLinkData=F._deserializeSlidesLinkData(D.imagesLinkData),F}Object(e.a)(E,A);var C=d(E);return Object(g.a)(E,[{key:"init",value:function(){Object(c.a)(Object(l.a)(E.prototype),"init",this).call(this);this._initLinkData()}},{key:"initContent", 866value:function(){var D=this;this._content=this.modularObjectContentService.createModularContent(p.a.WCAROUSEL).then(function(F){D._content=F;D._content.init(D.getDomObject()[0].querySelector(".".concat(u.a.WRAPPER_CLASS)),D._contentProperties)})}},{key:"recreateContent",value:function(){this._carouselRendered()&&this._content.recreate(this._contentProperties)}},{key:"updateObjectForRwdChange",value:function(D){Object(c.a)(Object(l.a)(E.prototype),"updateObjectForRwdChange",this).call(this,D);this.recreateContent(); 867this._updateImagesDimensions()}},{key:"addImgLazyLoad",value:function(){Object(c.a)(Object(l.a)(E.prototype),"addImgLazyLoad",this).call(this);this.addObjectToIntersectionObserver(new z.a(this))}},{key:"afterDomSizeChange",value:function(){Object(c.a)(Object(l.a)(E.prototype),"afterDomSizeChange",this).call(this);webwave.isDefAndNotNull(this._content)&&this._content.updateSwiperSize();this._updateImagesDimensions()}},{key:"loadAdditionalData",value:function(D){this._contentProperties=m(m({},this._contentProperties), 868D)}},{key:"setModularObjectContentService",value:function(D){this.modularObjectContentService=D}},{key:"_carouselRendered",value:function(){return webwave.isDefAndNotNull(this._content)}},{key:"_deserializeSlidesLinkData",value:function(D){var F=[];if(webwave.isArrayLike(D))for(var B=0;B<D.length;B++)F.push(v.a.createLink(D[B]));return F}},{key:"_initLinkData",value:function(){for(var D=this,F=this.getDomObject()[0].querySelectorAll("a"),B=0;B<F.length;B++)F[B].addEventListener("click",function(H){H= 869H.target.closest(".".concat(u.a.SLIDE_CLASS));webwave.isDefAndNotNull(H)&&D.linkClickHandler(D._imagesLinkData[H.dataset.swiperSlideIndex])})}},{key:"_updateImagesDimensions",value:function(){var D,F=t(this.getDomObject()[0].querySelectorAll(".".concat(u.a.SLIDE_CLASS)));try{for(F.s();!(D=F.n()).done;)w.a.updateImageDimensions(D.value)}catch(B){F.e(B)}finally{F.f()}}}]),E}(r.a)},2801:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1; 870if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(b.a)(h);if(l){var p=Object(b.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(d.a)(this,v)}}a.d(k,"a",function(){return e});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(2340),g=a(2224);r=a(1672);var c=a(38),e=function(h){function l(p){var w;return Object(q.a)(this,l),(w=v.call(this))._wCarousel= 871p,w}Object(m.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"getDomObject",value:function(){return this.getWCarouselObject().getDomObject()[0]}},{key:"getWCarouselObject",value:function(){return this._wCarousel}},{key:"enteredViewportHandler",value:function(){var p=this.getWCarouselObject();!0!==c.a.getValue("publicatedPageApp.disableLazyLoad")&&webwave.isDef(p)&&(this._handleLazyLoadImages(p),p.initContent())}},{key:"_handleLazyLoadImages",value:function(){var p=this.getDomObject().querySelector(".".concat(g.a.WRAPPER_CLASS)); 872f.a.lazyLoadImages(p)}}]),l}(r.a)},2802:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(f.a)(l);if(v){var w=Object(f.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(b.a)(this,p)}}a.d(k,"a", 873function(){return h});
873var q=a(0),n=a(1),m=a(11),d=a(3),b=a(4),f=a(2),g=a(43),c=a(2503),e=a(2665);r=a(2666);k=a(2500);a(38);var h=function(l){function v(w){var u;return Object(q.a)(this,v),(u=p.call(this,w)).counterAnimationData=new c.a(w.counterAnimationData),u._counterAnimation=null,u._counterAnimationManager=new e.a(Object(m.a)(u)),u.setAutoHeight(!0),u}Object(d.a)(v,l);var p=t(v);return Object(n.a)(v,[{key:"calculateMinContentSize",value:function(){var w=this.getTextFrameEl();w.style.whiteSpace= 874"nowrap";w.style.breakWord="keep-all";w.style.display="inline-block";var u=w.offsetWidth,z=w.offsetHeight;return w.style.whiteSpace="",w.style.breakWord="",w.style.display="",new g.a({width:u,height:z})}},{key:"getCounterAnimationManager",value:function(){return this._counterAnimationManager}},{key:"getCounterAnimationData",value:function(){return this.counterAnimationData}},{key:"getCounterAnimation",value:function(){return this._counterAnimation}},{key:"setCounterAnimation",value:function(w){this._counterAnimation= 875w}},{key:"getAnimationElement",value:function(){return this.getTextFrameEl()}}]),v}(Object(r.a)(k.a))},2803:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e= 876e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){var h;Object(q.a)(this,c);for(var l=arguments.length,v=Array(l),p=0;p<l;p++)v[p]=arguments[p];return(h=e.call.apply(e,[this].concat(v)))._layoutChildren=[],h}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"setLayoutChildren",value:function(h){this._layoutChildren=h}},{key:"getChildren",value:function(){return this._layoutChildren}}]),c}(a(2241).a)}, 8772804:function(r,k,a){function t(u){var z=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}();return function(){var y=Object(c.a)(u);if(z){var A=Object(c.a)(this).constructor;y=Reflect.construct(y,arguments,A)}else y=y.apply(this,arguments);return Object(g.a)(this,y)}}a.d(k,"a",function(){return w});var q=a(14), 878n=a(0),m=a(1),d=a(11),b=a(17),f=a(3),g=a(4),c=a(2),e=a(2243),h=a(2372),l=a(2805),v=a(2373);r=a(2314);var p=a(1734),w=function(u){function z(A){var E;return Object(n.a)(this,z),(E=y.call(this,A)).feedPriceInnerElement=new l.a(Object(d.a)(E),A.innerElementsData.price),E.feedNameInnerElement=new v.a(Object(d.a)(E),{selectorClassName:e.a.PRODUCTFEED_NAME,feedItemDataProperty:h.a.NAME},p.a.NAME),E}Object(f.a)(z,u);var y=t(z);return Object(m.a)(z,[{key:"getPriceInnerElement",value:function(){return this.feedPriceInnerElement}}, 879{key:"getNameInnerElement",value:function(){return this.feedNameInnerElement}},{key:"getNewsfeedWrapper",value:function(){return this.getContent()[0].querySelector(".newsfeedFrame")}},{key:"getInnerElementForIteration",value:function(){return[this.getThumbnailInnerElement(),this.getSingleNewsInnerElement(),this.getPriceInnerElement(),this.getNameInnerElement()]}},{key:"getInnerElementNames",value:function(){return p.a}},{key:"getInnerElementNameForIteration",value:function(){return[p.a.THUMBNAIL, 880p.a.ITEM,p.a.PRICE,p.a.NAME]}},{key:"getInnerElementByName",value:function(A){var E;return(E={},Object(q.a)(E,p.a.THUMBNAIL,this.getThumbnailInnerElement()),Object(q.a)(E,p.a.ITEM,this.getSingleNewsInnerElement()),Object(q.a)(E,p.a.PRICE,this.getPriceInnerElement()),Object(q.a)(E,p.a.NAME,this.getNameInnerElement()),E)[A]}},{key:"getItemElementName",value:function(){return p.a.ITEM}},{key:"updateSingleFeedItemElData",value:function(A,E){Object(b.a)(Object(c.a)(z.prototype),"updateSingleFeedItemElData", 881this).call(this,A,E);this.getNameInnerElement().updateSingleFeedItemElData(A);this.getPriceInnerElement().updateSingleFeedItemElData(A);this.getThumbnailInnerElement().updateSingleFeedItemElData(A)}}]),z}(r.a)},2805:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l= 882Object(b.a)(e);if(h){var v=Object(b.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(d.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(2243);r=a(1389);var g=a(1734),c=function(e){function h(v){var p,w=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(q.a)(this,h),(p=l.call(this,v,w))._showPrice=w.showPrice,p.type=g.a.PRICE,p}Object(m.a)(h,e);
882var l=t(h);return Object(n.a)(h,[{key:"getPriceElement", 883value:function(v){return v.querySelector(".".concat(f.a.FEED_PRICE))}},{key:"isShowPrice",value:function(){return this._showPrice}},{key:"setShowPrice",value:function(v){this._showPrice=v}},{key:"shouldAddToCountMinSize",value:function(){return!0===this.isShowPrice()}},{key:"updateSingleFeedItemElData",value:function(v){var p=this.getPriceElement(v.feedItemEl);webwave.isDefAndNotNull(p)&&(p.textContent=v.feedItemData.priceText)}}]),h}(r.a)},2806:function(r,k,a){function t(w){var u=function(){if("undefined"== 884typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(z){return!1}}();return function(){var z=Object(f.a)(w);if(u){var y=Object(f.a)(this).constructor;z=Reflect.construct(z,arguments,y)}else z=z.apply(this,arguments);return Object(b.a)(this,z)}}a.d(k,"a",function(){return p});var q,n=a(0),m=a(1),d=a(3),b=a(4),f=a(2),g=a(200),c=a(2807),e=a(2702);r=a(55); 885var h=a(43),l=a(2703),v=a(2808);k=a(20);a.n(k);var p=Object(k.injectable)()(q=function(w){function u(){var y;Object(n.a)(this,u);for(var A=arguments.length,E=Array(A),C=0;C<A;C++)E[C]=arguments[C];return(y=z.call.apply(z,[this].concat(E))).pageAreaService=null,y.objectService=null,y.browserWebPSupportUtils=null,y.pageCanvas=null,y}Object(d.a)(u,w);var z=t(u);
885return Object(m.a)(u,[{key:"updateBackgroundSize",value:function(){var y=this.objectService.getRootWObject();y=y.getComputedPosition().getY()+ 886y.getComputedSize().getHeight();var A=this.pageAreaService.getWindowHeight();this.pageAreaService.setBodyHeight(Math.max(y+this.getAdvertisementHeight()+this.getCommentsHeaderHeight(),A));this.pageAreaService.updateScrollVisibility()}},{key:"getAdvertisementHeight",value:function(){var y=$("#ww_advertisement_bottom_container_wrapper");return 1==y.length?y[0].offsetHeight:0}},{key:"getCommentsHeaderHeight",value:function(){var y=$("#headerBoxPublication");return 1===y.length&&y.is(":visible")?y.outerHeight(): 8870}},{key:"disableScrollPreventEvents",value:function(){$("html,body").off("scroll.pageScroll mousedown.pageScroll wheel.pageScroll DOMMouseScroll.pageScroll mousewheel.pageScroll keyup.pageScroll touchmove.pageScroll")}},{key:"scrollPageToElement",value:function(y){var A=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(y.length&&!this._scrollIsNotAvailableForTargetElement(y)){var E=webwave.isNumberAndNotNaN(parseInt(A.margin))?parseInt(A.margin):0;if(!0===A.forceTop)(E=new e.a({element:y[0], 888margin:E})).setPageCanvas(this.getPageCanvas());else{A=this.objectService.pageCanvas.getPositionRelativeToPageArea(y[0]);A=new g.a({size:new h.a({width:y[0].offsetWidth,height:y[0].offsetHeight}),position:A});var C=this.objectService.pageCanvas.getViewPort(),D=C.getY1();A.getY1()<C.getY1()?D=A.getY1()-E:A.getY2()+E+this.getAdvertisementHeight()>C.getY2()&&(D=A.getY2()+E+this.getAdvertisementHeight()-C.getHeight());E=new c.a({yPosition:D})}(new l.a({scrollArea:new v.a,scrollTarget:E})).scroll()}}}, 889{key:"initLinkScroll",value:function(){var y=this,A=utilService.extractGETParameter("anchorElement"),E=utilService.extractGETParameter("scrollMargin");A&&setTimeout(function(){y.scrollPageToElement($("#".concat(A)),{margin:E,forceTop:!0})},0)}},{key:"getPathForAjax",value:function(){var y="";return-1!==document.URL.indexOf("localhost")&&(y="/webwaver_front"),y}},{key:"getWebsiteId",value:function(){return $("#websiteId").val()}},{key:"getWindowScroll",value:function(){return webwave.isDef(window.pageYOffset)? 890window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}},{key:"getWindowWidth",value:function(){return window.innerWidth}},{key:"initDownloadProtection",value:function(){var y=$("#ww_download_protection");0<y.length&&"true"===y.val()&&$(window).on("contextmenu.downloadProtection",function(A){0<$((null===A||void 0===A?void 0:A.originalEvent)instanceof CustomEvent?A.detail.target:A.target).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&& 891(A.preventDefault(),alert($("#ww_download_protection_text").val()))})}},{key:"getPageId",value:function(){return document.getElementById("pageId").getAttribute("value")}},{key:"isCurrentPageNewspage",value:function(){var y=this.getPageId();return!!webwave.isString(y)&&y.startsWith("newspage")}},{key:"addPageTypeClassToBody",value:function(){this.isCurrentPageNewspage()&&$(document.body).addClass("newspage")}},{key:"setPageAreaService",value:function(y){this.pageAreaService=y}},{key:"setObjectService", 892value:function(y){this.objectService=y}},{key:"setBrowserWebPSupportUtils",value:function(y){this.browserWebPSupportUtils=y}},{key:"setPageCanvas",value:function(y){this.pageCanvas=y}},{key:"getPageCanvas",value:function(){return this.pageCanvas}},{key:"_scrollIsNotAvailableForTargetElement",value:function(y){y=this.objectService.getWObjectById(y.attr("id"));return webwave.isDef(y)&&!1===y.canBeTargetScroll()}}]),u}(r.a))||q},2807:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect|| 893!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this, 894c),(l=e.call(this))._yPosition=h.yPosition,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getYPositionToScroll",value:function(){return this._yPosition}}]),c}(a(2341).a)},2808:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g); 895if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getCurrentScrollPosition",value:function(){return window.pageYOffset}},{key:"scrollTo",value:function(h){window.scrollTo(0,h)}}]),c}(a(2809).a)},2809:function(r, 896k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,[{key:"getCurrentScrollPosition",value:function(){return 0}},{key:"scrollTo",value:function(d){}}]),m}()},29:function(r,k){k=function(){return this}();try{k=k||Function("return this")()||(0,eval)("this")}catch(a){"object"==typeof window&&(k=window)}r.exports=k},3:function(r,k,a){k.a=function(q,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function"); 897q.prototype=Object.create(n&&n.prototype,{constructor:{value:q,writable:!0,configurable:!0}});Object.defineProperty(q,"prototype",{writable:!1});n&&Object(t.a)(q,n)};var t=a(83)},30:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d,b){Object(t.a)(this,m);this.x=this.y=0;webwave.isNumberAndNotNaN(d)?(this.x=d,webwave.isNumberAndNotNaN(b)&&(this.y=b)):webwave.isDef(d)&&(webwave.isNumberAndNotNaN(d.x)&&(this.x=d.x),webwave.isNumberAndNotNaN(d.y)&&(this.y=d.y))} 898return Object(q.a)(m,[{key:"getX",value:function(){return this.x}},{key:"setX",value:function(d){this.x=d}},{key:"getY",value:function(){return this.y}},{key:"setY",value:function(d){this.y=d}},{key:"subtract",value:function(d){return this.x-=d.x,this.y-=d.y,this}},{key:"add",value:function(d){return this.x+=d.x,this.y+=d.y,this}},{key:"multiply",value:function(d){return this.x*=d,this.y*=d,this}},{key:"serialize",value:function(){return{x:this.x,y:this.y}}},{key:"clone",value:function(){return new m({x:this.x, 899y:this.y})}},{key:"equals",value:function(d){return this.x===d.x&&this.y===d.y}},{key:"lt",value:function(d){return this.x<d.x&&this.y<d.y}},{key:"lte",value:function(d){return this.x<=d.x&&this.y<=d.y}},{key:"gt",value:function(d){return this.x>d.x&&this.y>d.y}},{key:"gte",value:function(d){return this.x>=d.x&&this.y>=d.y}},{key:"toString",value:function(){return"{".concat(this.x,",").concat(this.y,"}}")}}],[{key:"deserialize",value:function(d){return webwave.isNotDef(d)?new m(0,0):new m(d.x,d.y)}}, 900{key:"countDistance",value:function(d,b){return Math.sqrt(Math.abs(d.getX()-b.getX())*Math.abs(d.getY()-b.getY()))}}]),m}()},31:function(r,k,a){function t(m){return"function"==typeof m?m.name:"symbol"==typeof m?m.toString():m}function q(m){if(m.name)return m.name;m=m.toString();var d=m.match(/^function\s*([^\s(]+)/);return d?d[1]:"Anonymous function: "+m}Object.defineProperty(k,"__esModule",{value:!0});k.circularDependencyToException=k.listMetadataForTarget=k.listRegisteredBindingsForServiceIdentifier= 901k.getServiceIdentifierAsString=k.getFunctionName=void 0;var n=a(15);k.getServiceIdentifierAsString=t;k.listRegisteredBindingsForServiceIdentifier=function(m,d,b){var f="";m=b(m,d);return 0!==m.length&&(f="\nRegistered bindings:",m.forEach(function(g){var c="Object";null!==g.implementationType&&(c=q(g.implementationType));f=f+"\n "+c;g.constraint.metaData&&(f=f+" - "+g.constraint.metaData)})),f};k.circularDependencyToException=function b(d){d.childRequests.forEac
901h(function(f){if(function h(c,e){return null!== 902c.parentRequest&&(c.parentRequest.serviceIdentifier===e||h(c.parentRequest,e))}(f,f.serviceIdentifier))throw f=function(c){return function v(h,l){void 0===l&&(l=[]);var p=t(h.serviceIdentifier);return l.push(p),null!==h.parentRequest?v(h.parentRequest,l):l}(c).reverse().join(" --\x3e ")}(f),Error(n.CIRCULAR_DEPENDENCY+" "+f);b(f)})};k.listMetadataForTarget=function(d,b){if(b.isTagged()||b.isNamed()){var f="",g=b.getNamedTag();b=b.getCustomTags();return null!==g&&(f+=g.toString()+"\n"),null!==b&&b.forEach(function(c){f+= 903c.toString()+"\n"})," "+d+"\n "+d+" - "+f}return" "+d};k.getFunctionName=q},33:function(r,k,a){function t(q){"@babel/helpers - typeof";return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(q)}k.a=t},3335:function(r,k,a){a.d(k,"a",function(){return q});var t=a(0),q=function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this, 904m);this.zoom=d.zoom;this.center=d.center;this.sQuery=d.sQuery;this.mapType=d.mapType;this.width=d.width;this.height=d.height}},3336:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"renderGoogleMapHtml",value:function(d){var b="key=".concat("AIzaSyCJMzPr06tNkQ6l8-Gwv9VxQ3uk_hqAZcY","&zoom=").concat(d.zoom),f="view";return webwave.isStringAndNotEmpty(d.sQuery)?(b+="&q=".concat(encodeURIComponent(d.sQuery)), 905f="place"):webwave.isNotDefOrNull(d.center)&&(b+="¢er=52.2396615932874,21.042228700000037"),webwave.isDefAndNotNull(d.center)&&(b+="¢er=".concat(d.center.latitude,",").concat(d.center.longitude)),b+="&maptype=".concat(d.mapType),'<iframe\n id="mapIframe"\n width="'.concat(d.width,'"\n height="').concat(d.height,'"\n frameborder="0"\n style="border:0;"\n src="https://www.google.com/maps/embed/v1/').concat(f,"?").concat(b,'">\n <iframe>')}}]), 906m}()},3337:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(f.a)(e);if(h){var v=Object(f.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(b.a)(this,l)}}var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4), 907f=a(2),g=a(2529),c=a(2207);k.a=function(e){return function(h){function l(){return Object(q.a)(this,l),v.apply(this,arguments)}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"animateBackwardMenuIcon",value:function(){throw"Not implemented";}},{key:"animateForwardMenuIcon",value:function(){throw"Not implemented";}},{key:"getDomObject",value:function(){return Object(m.a)(Object(f.a)(l.prototype),"getDomObject",this).call(this)}},{key:"getElementService",value:function(){throw"Not implemented"; 908}},{key:"getMenuFrameWrapper",value:function(){throw"Not implemented";}},{key:"getMobileMenuPosition",value:function(){throw"Not implemented";}},{key:"getMobileMenuVisible",value:function(){throw"Not implemented";}},{key:"hideMobileMenu",value:function(){var p=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{doNotHideWrapper:!1};if(this.isMobileMenu()&&this.getMobileMenuVisible()){this.animateBackwardMenuIcon();var w=this.getMenuFrameWrapper(),u=this.getDomObject(),z=this.getElementService(); 909!1===p.doNotHideWrapper?this.getMobileMenuPosition()===c.a.LEFT||this.getMobileMenuPosition()===c.a.RIGHT?w.finish().animate({width:0},{always:function(){w.get(0).style.width=""},done:function(){w.hide();z.moveElementBack(u)}}):this.getMobileMenuPosition()===c.a.BOTTOM&&w.finish().animate({height:0},{always:function(){w.get(0).style.height=""},done:function(){w.hide();z.moveElementBack(u)}}):z.moveElementBack(u);this.setMobileMenuVisible(!1)}}},{key:"isMobileMenu",value:function(){throw"Not implemented"; 910}},{key:"isTargetMenuWrapper",value:function(p){return this.getMenuFrameWrapper().is(p)}},{key:"prepareMenuFrameToShowMobileMenu",value:function(p){throw"Not implemented";}},{key:"setMobileMenuVisible",value:function(p){throw"Not implemented";}},{key:"showMobileMenu",value:function(){var p=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(this.isMobileMenu()&&!1===this.getMobileMenuVisible()){this.animateForwardMenuIcon();var w=this.getMenuFrameWrapper();if(this.prepareMenuFrameToShowMobileMenu(w), 911!0!==p.noAnimation)this.getMobileMenuPosition()===c.a.LEFT||this.getMobileMenuPosition()===c.a.RIGHT?(p=this.getMenuFrameWrapper().width(),w.width(0),this.getElementService().moveElementOnTop(this.getDomObject()),w.animate({width:p},{done:function(){w.get(0).style.width=""}})):this.getMobileMenuPosition()===c.a.BOTTOM&&(p=this.getMenuFrameWrapper().height(),w.height(0),this.getElementService().moveElementOnTop(this.getDomObject()),w.animate({height:p},{done:function(){w.get(0).style.height=""}})); 912this.setMobileMenuVisible(!0)}}},{key:"getIconImageUrl",value:function(p){throw"Not implemented";}},{key:"getMobileMenuIcon",value:function(){throw"Not implemented";}},{key:"updateIconInMobileMenu",value:function(){var p=this.getIconImageUrl(),w=this.getMobileMenuIcon();g.a.changeMobileMenuImageSrc(w,p)}}]),l}(e)}},3338:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 913[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getHtml5Object",value:function(){return this.getDomObject()[0].querySelector("video")}}]), 914c}(a(3339).a)},3339:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c);if(e){var l=Object(f.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this,h)}}a.d(k,"a",function(){return g}); 915var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(d.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"fetchVideoPropertiesFromDomObject",value:function(){var l=this.getHtml5Object();webwave.isDefAndNotNull(l)&&(this.videoProperties={autoPlay:"true"===l.dataset.autoplay})}},{key:"initPlayer",value:function(){Object(m.a)(Object(f.a)(e.prototype),"initPlayer",this).call(this);this.player=this.getHtml5Object();webwave.isDefAndNotNull(this.player)&& 916(this.player.style.display="block",this.playerReady=!0,this.isCu
916stomThumbnailWithoutAutoPlay()?this.playVideo():this.tryToAutoPlayVideo())}},{key:"getHtml5Object",value:function(){}},{key:"playVideo",value:function(){var l;null===(l=this.player)||void 0===l||l.play();this.wasAutoPlayed=!0}},{key:"pauseVideo",value:function(){var l;null===(l=this.player)||void 0===l||l.pause()}}]),e}(a(2796).a)},3340:function(r,k){!function(){webwave.provide("com.webwave.util.cssUtils.parseBoxShadow");var a=/,(?![^\(]*\))/, 917t=/\s(?![^(]*\))/,q=/^[0-9]+[a-zA-Z%]+?$/,n=function(d){var b=d.split(t);d=b.includes("inset");var f=b.slice(-1)[0],g=b[0],c="0"===f||q.test(f)?void 0:f;c||(c="0"===g||q.test(g)?void 0:g);b=b.filter(function(e){return"inset"!==e}).filter(function(e){return e!==c}).map(m);return{inset:d,offsetX:b[0],offsetY:b[1],blurRadius:b[2],spreadRadius:b[3],color:c}},m=function(d){if(!/px$/.test(d)&&"0"!==d)return d;var b=parseFloat(d);return isNaN(b)?d:b};com.webwave.util.cssUtils.parseBoxShadow=function(d){return d.split(a).map(function(b){return b.trim()}).map(n)}}()}, 9183341:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(188),m=a(1898),d=function(){function b(){Object(t.a)(this,b)}return Object(q.a)(b,[{key:"validate",value:function(f,g){var c=!0,e=this;return f.find(g).each(function(){var h=$(this),l=h.find("input, textarea, select, .ww_multiple_select_wrapper").eq(0);if(0!==l.length){var v=h.data("required"),p=!1;v&&(p=e._requiredFieldIsInvalid(l));!1===p&&(p=e._customValidatorIsInvalid(l,v));p?(h.attr(b.DATA_VALID_PROP,!1),c=!1):h.removeAttr(b.DATA_VALID_PROP)}}), 919!1===c?f.attr(b.DATA_VALID_PROP,!1):f.removeAttr(b.DATA_VALID_PROP),c}},{key:"validateFileInput",value:function(f){var g=f.form.find("input"),c=f.fileInput.closest(".ww_form_cell_2");g=this._getAllFilesAddedToForm(g);this._calculateAddedFilesSize(g)>b.CONTACT_FORM_MAX_FILESIZE_15_MB?(f.fileInput.val(""),c.attr(b.DATA_VALID_PROP,!1),f.fileInput.attr("title",i18n.t("form.maximalFileSizeReached"))):(c.removeAttr(b.DATA_VALID_PROP),f.fileInput.removeAttr("title"),f.fileInput.data("file",f.files[0]))}}, 920{key:"_calculateAddedFilesSize",value:function(f){var g=0;return f.forEach(function(c){for(var e=0;e<c.length;e++)g+=c[e].size}),g}},{key:"_customValidatorIsInvalid",value:function(f,g){var c=!1,e=f.val();if(!1===g&&!1===webwave.isStringAndNotEmpty(e))return!1;switch(f.data("validator")){case m.a.PHONE:c=!1===n.a.PHONE_NUMBER_WITHOUT_EXPECTED_PREFIX.validate(f.val());break;case m.a.EMAIL:c=!1===n.a.EMAIL.validate(f.val())}return c}},{key:"_getAllFilesAddedToForm",value:function(f){for(var g,c=[], 921e=0;e<f.length;e++)g=f[e].files,webwave.isDefAndNotNull(g)&&c.push(g);return c}},{key:"_requiredFieldIsInvalid",value:function(f){var g=!1;return!0===f.is(":checkbox")&&!1===f.prop("checked")?g=!0:f.hasClass("ww_multiple_select_wrapper")?0===f.find("input:checked").length&&(g=!0):!1===webwave.isDefAndNotEmpty(f.val())&&(g=!0),g}}]),b}();d.DATA_VALID_PROP="data-valid";d.CONTACT_FORM_MAX_FILESIZE_15_MB=15E6},3366:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});r=a(3367);r=(a.n(r),a(2657)); 922r=(a.n(r),a(3368));r=(a.n(r),a(3369));r=(a.n(r),a(3370));r=(a.n(r),a(3371));r=(a.n(r),a(3372));a.n(r)},3367:function(r,k){},3368:function(r,k){},3369:function(r,k){},3370:function(r,k){},3371:function(r,k){},3372:function(r,k){},3373:function(r,k,a){function t(y){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}(); 923return function(){var E=Object(c.a)(y);if(A){var C=Object(c.a)(this).constructor;E=Reflect.construct(E,arguments,C)}else E=E.apply(this,arguments);return Object(g.a)(this,E)}}a.d(k,"a",function(){return z});var q=a(14),n=a(0),m=a(1),d=a(11),b=a(17),f=a(3),g=a(4),c=a(2),e=a(3374),h=a(2243),l=a(2372),v=a(3375),p=a(3376),w=a(2373),u=a(1194);r=a(2314);webwave.provide("com.webwave.publication.object.WNewsfeed");var z=function(y){function A(C){var D;return Object(n.a)(this,A),(D=E.call(this,C))._firstNewsToShowIndex= 9240,D.newsFeedService=null,D.feedDateInnerElement=new e.a(Object(d.a)(D)),D.feedReadMoreInnerElement=new v.a(Object(d.a)(D)),D.feedShortInnerElement=new p.a(Object(d.a)(D)),D.feedHeaderInnerElement=new w.a(Object(d.a)(D),{selectorClassName:h.a.FEED_NAME,feedItemDataProperty:l.a.TITLE},u.a.HEADER),D}Object(f.a)(A,y);var E=t(A);return Object(m.a)(A,[{key:"getNewsfeedWrapper",value:function(){return this.getContent()[0].querySelector(".feed_content")}},{key:"getShortInnerElement",value:function(){return this.feedShortInnerElement}}, 925{key:"getReadMoreInnerElement",value:function(){return this.feedReadMoreInnerElement}},{key:"getFeedDateInnerElement",value:function(){return this.feedDateInnerElement}},{key:"getFeedHeaderInnerElement",value:function(){return this.feedHeaderInnerElement}},{key:"setFirstNewsToShowIndex",value:function(C){this._firstNewsToShowIndex=C}},{key:"getFirstNewsToShowIndex",value:function(){return this._firstNewsToShowIndex}},{key:"getInnerElementForIteration",value:function(){return[this.get
925ShortInnerElement(), 926this.getReadMoreInnerElement(),this.getFeedDateInnerElement(),this.getThumbnailInnerElement(),this.getSingleNewsInnerElement()]}},{key:"getInnerElementNames",value:function(){return u.a}},{key:"getInnerElementNameForIteration",value:function(){return[u.a.SHORT,u.a.THUMBNAIL,u.a.HEADER,u.a.DATE,u.a.NEWS,u.a.READ_MORE]}},{key:"getInnerElementByName",value:function(C){var D;return(D={},Object(q.a)(D,u.a.THUMBNAIL,this.getThumbnailInnerElement()),Object(q.a)(D,u.a.READ_MORE,this.getReadMoreInnerElement()), 927Object(q.a)(D,u.a.DATE,this.getFeedDateInnerElement()),Object(q.a)(D,u.a.SHORT,this.getShortInnerElement()),Object(q.a)(D,u.a.NEWS,this.getSingleNewsInnerElement()),Object(q.a)(D,u.a.HEADER,this.getFeedHeaderInnerElement()),D)[C]}},{key:"getItemElementName",value:function(){return u.a.NEWS}},{key:"updateSingleFeedItemElData",value:function(C,D){Object(b.a)(Object(c.a)(A.prototype),"updateSingleFeedItemElData",this).call(this,C,D);this.getFeedHeaderInnerElement().updateSingleFeedItemElData(C);this.getShortInnerElement().updateSingleFeedItemElData(C); 928this.getFeedDateInnerElement().updateSingleFeedItemElData(C);this.getThumbnailInnerElement().updateSingleFeedItemElData(C)}}]),A}(r.a);com.webwave.publication.object.WNewsfeed=z},3374:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c); 929if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(1389);var f=a(1194),g=function(c){function e(l){var v,p=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(q.a)(this,e),(v=h.call(this,l,p)).showDate=void 0,v.type=f.a.DATE,v}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getNewsDateElement",value:function(l){return l.querySelector(".feed_date")}}, 930{key:"isShowDate",value:function(){return this._showDate}},{key:"setShowDate",value:function(l){this._showDate=l}},{key:"shouldAddToCountMinSize",value:function(){return!0===this.isShowDate()}},{key:"updateSingleFeedItemElData",value:function(l){var v=this.getNewsDateElement(l.feedItemEl);webwave.isDefAndNotNull(v)&&(v.textContent=l.feedItemData.date)}},{key:"loadAdditionalRwdProperties",value:function(l){this.setShowDate(l.showDate)}}]),e}(r.a)},3375:function(r,k,a){function t(c){var e=function(){if("undefined"== 931typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(1389);var f=a(1194),g=function(c){function e(l){var v, 932p=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(q.a)(this,e),(v=h.call(this,l,p))._showReadMore=void 0,v.type=f.a.READ_MORE,v}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"isShowReadMore",value:function(){return this._showReadMore}},{key:"setShowReadMore",value:function(l){this._showReadMore=l}},{key:"shouldAddToCountMinSize",value:function(){return!0===this.isShowReadMore()}},{key:"loadAdditionalRwdProperties",value:function(l){this.setShowReadMore(l.showReadMore)}}]), 933e}(r.a)},3376:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(b.a)(e);if(h){var v=Object(b.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(d.a)(this,l)}}a.d(k,"a",function(){return c});var q= 934a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(1389);var f=a(1194),g=a(10),c=function(e){function h(v){var p,w=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(q.a)(this,h),(p=l.call(this,v,w))._showShortOfNews=void 0,p._showShortOfNewsDots=void 0,p._wordsInShort=void 0,p.t
934ype=f.a.SHORT,p}Object(m.a)(h,e);var l=t(h);return Object(n.a)(h,[{key:"getNewsShortElement",value:function(v){return v.querySelector(".feed_short")}},{key:"setShowShortOfNews",value:function(v){this._showShortOfNews= 935v}},{key:"isShowShortOfNews",value:function(){return this._showShortOfNews}},{key:"setShowShortOfNewsDots",value:function(v){this._showShortOfNewsDots=v}},{key:"getShowShortOfNewsDots",value:function(){return this._showShortOfNewsDots}},{key:"getWordsInShort",value:function(){return this._wordsInShort}},{key:"setWordsInShort",value:function(v){this._wordsInShort=v;v=this.getParentWObject().getFeedItemsDataArrayForDisplay();for(var p=0;p<v.length;p++){var w=v[p].feedItemEl,u=v[p].feedItemData;webwave.isDefAndNotNull(u)&& 936(w=this.getNewsShortElement(w),webwave.isDefAndNotNull(w)&&(w.textContent=this.getShortForNews(u.short)))}}},{key:"getShortForNews",value:function(v){return g.v.cutStringAfterNWord({text:v,wordsNumber:this.getWordsInShort(),showDots:this.getShowShortOfNewsDots()})}},{key:"shouldAddToCountMinSize",value:function(){return!0===this.isShowShortOfNews()}},{key:"updateSingleFeedItemElData",value:function(v){var p=this.getNewsShortElement(v.feedItemEl);webwave.isDefAndNotNull(p)&&(p.textContent=this.getShortForNews(v.feedItemData.short))}}, 937{key:"loadAdditionalRwdProperties",value:function(v){this.setWordsInShort(v.wordsInShort);this.setShowShortOfNewsDots(v.showShortOfNewsDots);this.setShowShortOfNews(v.showShortOfNews)}}]),h}(r.a)},3377:function(r,k,a){function t(v,p){var w="undefined"!=typeof Symbol&&v[Symbol.iterator]||v["@@iterator"];if(!w){if(Array.isArray(v)||(w=function(E,C){if(E){if("string"==typeof E)return q(E,C);var D=Object.prototype.toString.call(E).slice(8,-1);"Object"===D&&E.constructor&&(D=E.constructor.name);if("Map"=== 938D||"Set"===D)return Array.from(E);if("Arguments"===D||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return q(E,C)}}(v))||p&&v&&"number"==typeof v.length){w&&(v=w);var u=0;p=function(){};return{s:p,n:function(){return u>=v.length?{done:!0}:{done:!1,value:v[u++]}},e:function(E){throw E;},f:p}}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 z,y=!0,A=!1;return{s:function(){w=w.call(v)}, 939n:function(){var E=w.next();return y=E.done,E},e:function(E){A=!0;z=E},f:function(){try{y||null==w.return||w.return()}finally{if(A)throw z;}}}}function q(v,p){(null==p||p>v.length)&&(p=v.length);for(var w=0,u=Array(p);w<p;w++)u[w]=v[w];return u}function n(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}(); 940return function(){var w=Object(c.a)(v);if(p){var u=Object(c.a)(this).constructor;w=Reflect.construct(w,arguments,u)}else w=w.apply(this,arguments);return Object(g.a)(this,w)}}a.d(k,"a",function(){return l});var m=a(0),d=a(1),b=a(17),f=a(3),g=a(4),c=a(2),e=a(1903),h=a(43);r=a(1654);webwave.provide("com.webwave.publication.object.WForm");var l=function(v){function p(u){var z;return Object(m.a)(this,p),(z=w.call(this,u)).setAutoHeight(!0),z.loadRwdTextProperties(),z}Object(f.a)(p,v);var w=n(p);return Object(d.a)(p, 941[{key:"cacheDom",value:function(u){var z;u=Object(b.a)(Object(c.a)(p.prototype),"cacheDom",this).call(this,u);return u.formFrame=null===(z=u.content.children[0])||void 0===z?void 0:z.children[0],u}},{key:"loadRwdTextProperties",value:function(u){var z,y=t(this._findAllRwdTextContentWrapper());try{for(y.s();!(z=y.n()).done;)this._rwdTextContent=new e.a($(z.value)),this._rwdTextContent.loadRwdTextProperties(u)}catch(A){y.e(A)}finally{y.f()}}},{key:"_findAllRwdTextContentWrapper",value:function(){return this.getDomObject()[0].querySelectorAll(".ww_form_label_wrapper , .ww_multiple_select_label")}}, 942{key:"updateObjectForRwdChange",value:function(u){this.loadRwdTextProperties(u);Object(b.a)(Object(c.a)(p.prototype),"updateObjectForRwdChange",this).call(this,u)}},{key:"getFromFrameEl",value:function(){return this.cachedDom.formFrame}},{key:"calculateMinContentSize",value:function(){var u=this.getFromFrameEl()?this.getFromFrameEl().scrollHeight:0;return new h.a({width:0,height:u})}},{key:"onVisibilityChange",value:function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(b.a)(Object(c.a)(p.prototype), 943"onVisibilityChange",this).call(this,u);this.isVisible()?this.updateMinSize():this._resetForm(this.getDomObject())}},{key:"endAnimationTextForFormButton",value:function(u){u.find(".ww_form_submit").finish();u.find(".ww_form_frame_info_wrapper").finish()}},{key:"resetFormValues",value:function(u){u.find(".ww_form_cell_2").each(function(){var z=$(this).find("input, textarea, select, .ww_multiple_select_wrapper").eq(0);$(this).removeAttr("data-valid");1==z.is(":checkbox")?z.prop("checked",!1):1==z.is("select")? 9441==z.is("[multiple]")?z.find("option").prop("selected",!1):z.find("option:eq(0)").prop("selected",!0):z.hasClass("ww_multiple_select_wrapper")?z.find("input:checkbox").prop("checked",!1):z.is('[type="file"]')?(z.val(""),z.removeData("file")):z.val("")}
944)}},{key:"_resetForm",value:function(u){this.resetFormValues(u);this.endAnimationTextForFormButton(u)}}]),p}(r.a);com.webwave.publication.object.WForm=l},3378:function(r,k,a){k.a="afterInitializationServiceInitEvent"},3379:function(r,k,a){function t(h){var l= 945function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(g.a)(h);if(l){var p=Object(g.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(f.a)(this,v)}}a.d(k,"a",function(){return e});var q,n=a(14),m=a(0),d=a(1),b=a(3),f=a(4),g=a(2),c= 946a(770);r=a(55);k=a(20);a.n(k);a(26);var e=Object(k.injectable)()(q=function(h){function l(){var p;Object(m.a)(this,l);for(var w=arguments.length,u=Array(w),z=0;z<w;z++)u[z]=arguments[z];return(p=v.call.apply(v,[this].concat(u))).objectService=null,p}Object(b.a)(l,h);var v=t(l);return Object(d.a)(l,[{key:"removeAllInteractionVisibilities",value:function(){for(var p=this.objectService.findAllWObjects().filter(function(u){return webwave.isDef(u.visibilities.getInteractionVisibility())}),w=0;w<p.length;w++)p[w].removeInteractionVisibility()}}, 947{key:"_collectStuffedSizeAndPositions",value:function(p){var w=new Map;if(webwave.isFunction(p.getWGroups)){p=[p].concat(p.getWGroups(!0));for(var u=0;u<p.length;u++){var z=p[u];z.isHideAnimationEnabled()&&w.set(z,{position:z.getComputedPosition().clone(),size:z.getComputedSize().clone()})}}return w}},{key:"_applyStuffedSizesAndPositions",value:function(p){p.forEach(function(w,u){u.setStuffedSizeAndPosition(w)})}},{key:"_performVisibilityChange",value:function(p,w){var u=p.isVisible(),z=this._collectStuffedSizeAndPositions(p), 948y=Object(n.a)({},p.getId(),u);p.getChildren(!0).forEach(function(E){y[E.getId()]=E.isVisible()});w.visibilityChangeAction();var A=p.isVisible();u!==A?!0===A?p.playCurrentAnimation({onComplete:w.onComplete}):(this._applyStuffedSizesAndPositions(z),p.playCurrentHideAnimation({afterEachAnimationStop:function(E){z.has(E)&&E.setStuffedSizeAndPosition({})},onComplete:w.onComplete})):webwave.isFunction(w.onComplete)&&w.onComplete()}},{key:"changeWObjectInteractionVisibility",value:function(p,w){this._performVisibilityChange(p, 949{visibilityChangeAction:function(){p.visibilities.setInteractionVisibility(w)}})}},{key:"updateWObjectScrollVisibility",value:function(p){var w=!1;this._performVisibilityChange(p,{visibilityChangeAction:function(){var u=p.visibilities.getScrollAnimationVisibility();p.updateScrollAnimationVisibility();(w=u!==p.visibilities.getScrollAnimationVisibility())&&p.finishCurrentAnimation()},onComplete:function(){w&&p.removeInteractionVisibility()}})}},{key:"setWObjectShowAnimationVisibility",value:function(p, 950w){this._performVisibilityChange(p,{visibilityChangeAction:function(){p.visibilities.setShowAnimationVisibility(w)},onComplete:(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).onComplete})}},{key:"handleInteraction",value:function(p){var w=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).preview,u=this.objectService.collectWObjectsByIds(p.getWObjects());switch(p.getType()){case c.a.SHOW:for(var z=0;z<u.length;z++)w?u[z].setInteractionPreview(!0,!0):this.changeWObjectInteractionVisibility(u[z], 951!0);break;case c.a.HIDE:for(z=0;z<u.length;z++)w?u[z].setInteractionPreview(!0,!1):this.changeWObjectInteractionVisibility(u[z],!1);break;case c.a.TOGGLE:z=[];for(var y=0;y<u.length;y++)u[y].finishCurrentAnimation(),z.push({wObject:u[y],visibility:!u[y].isVisible()});for(u=0;u<z.length;u++)w?z[u].wObject.setInteractionPreview(!0,z[u].visibility):this.changeWObjectInteractionVisibility(z[u].wObject,z[u].visibility)}}},{key:"setObjectService",value:function(p){this.objectService=p}},{key:"onRwdModeChange", 952value:function(p){this.removeAllInteractionVisibilities()}}]),l}(r.a))||q},3380:function(r,k,a){a.d(k,"a",function(){return b});var t,q=a(41),n=a(0),m=a(1);r=a(39);var d=a.n(r);r=a(20);var b=(a.n(r),Object(r.injectable)()(t=function(){function f(){Object(n.a)(this,f)}return Object(m.a)(f,[{key:"sendG4Event",value:function(){var g=Object(q.a)(d.a.mark(function l(e,h){return d.a.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:case "end":return v.stop()}},l)}));return function(e,h){return g.apply(this, 953arguments)}}()}]),f}())||t)},3381:function(r,k,a){function t(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(f.a)(v);if(p){var u=Object(f.a)(this).constructor;w=Reflect.construct(w,arguments,u)}else w=w.apply(this,arguments);return Object(b.a)(this,w)}}a.d(k,"a",function(){return l});
954var q,n=a(0),m=a(1),d=a(3),b=a(4),f=a(2),g=a(2397),c=a(2705);r=a(55);var e=a(826),h=a(2162);k=a(20);a.n(k);a(26);var l=Object(k.injectable)()(q=function(v){function p(){var u;Object(n.a)(this,p);for(var z=arguments.length,y=Array(z),A=0;A<z;A++)y[A]=arguments[A];return(u=w.call.apply(w,[this].concat(y))).objectService=null,u.relationMatrixes=[],u.nodes={},u.rootNodes={},u._updatesEnabled=!0,u}Object(d.a)(p,v);var w=t(p);return Object(m.a)(p,[{key:"_addToRootNodes",value:function(u){this.rootNodes[u.getId()]= 955u}},{key:"removeFromRootNodes",value:function(u){delete this.rootNodes[u.getId()]}},{key:"addNode",value:function(u){this.nodes[u.getId()]=u;this._addToRootNodes(u)}},{key:"_removeNode",value:function(u){this.removeFromRootNodes(u);delete this.nodes[u.getId()];u.dispose()}},{key:"hasNodeWithId",value:function(u){return webwave.isDef(this.nodes[u])}},{key:"getNodeById",value:function(u){return this.nodes[u]}},{key:"_checkCircuralDependency",value:function(u,z){return(!0===u.getHeads(!0).includes(z)|| 956!0===z.getTails(!0).includes(u))&&(webwave.log("circural dependency found in ".concat(u.wObject.id," and ").concat(z.wObject.id)),!0)}},{key:"createAndAddRelation",value:function(u,z){var y=this.objectService.getWObjectById(u.relatedWNodes[0]),A=this.objectService.getWObjectById(u.relatedWNodes[1]);if(!webwave.isNotDefOrNull(y)&&!webwave.isNotDefOrNull(A)&&(null===y||void 0===y?void 0:y.getParentWNode())===(null===A||void 0===A?void 0:A.getParentWNode())){if(!1===this.hasNodeWithId(y.getId())){var E= 957new c.a({id:y.getId(),wObject:y});this.addNode(E)}!1===this.hasNodeWithId(A.getId())&&(E=new c.a({id:A.getId(),wObject:A}),this.addNode(E));switch(u.typeOfRelation){case e.a.VERTICAL:y=this.getNodeById(y.getId());A=this.getNodeById(A.getId());webwave.isDefAndNotNull(y)&&webwave.isDefAndNotNull(A)&&!1===this._checkCircuralDependency(y,A)&&(y.addToTails(A),A.addToHeads(y,u),this.removeFromRootNodes(A),!0!==z&&(y.shakeIt(),A.shakeIt()));break;case e.a.HORIZONTAL:u=this.getNodeById(y.getId()),A=this.getNodeById(A.getId()), 958webwave.isDefAndNotNull(u)&&webwave.isDefAndNotNull(A)&&(u.addToSides(A),A.addToSides(u),!0!==z&&(u.shakeIt(),A.shakeIt()))}}}},{key:"_updateRelationNodeState",value:function(u){!1===u.hasAnyRelation()?this._removeNode(u):!1===u.hasHeads()&&this._addToRootNodes(u)}},{key:"removeRelation",value:function(u,z,y){u=this.getNodeById(u.getId());z=this.getNodeById(z.getId());webwave.isDefAndNotNull(u)&&webwave.isDefAndNotNull(z)&&(u.removeFromHeads(z),u.removeFromTails(z),u.removeFromSides(z),z.removeFromHeads(u), 959z.removeFromTails(u),z.removeFromSides(u),!0!==y&&(u.shakeIt(),z.shakeIt()),this._updateRelationNodeState(u),this._updateRelationNodeState(z))}},{key:"clearRelations",value:function(){for(var u in this.nodes)this.nodes.hasOwnProperty(u)&&this.nodes[u].dispose();this.nodes={};this.rootNodes={}}},{key:"_scheduleAllNodesPushingDisabledChangeInWorker",value:function(u,z){var y=this;u.addToQueue(function(){for(var A in y.nodes)y.nodes.hasOwnProperty(A)&&y.nodes[A].setPushingDisabled(z)})}},{key:"_collectRelationNodesInUpdateOrder", 960value:function(){var u=new g.a,z;for(z in this.rootNodes)this.rootNodes.hasOwnProperty(z)&&this.rootNodes[z].collectDownPath(u);return u.toArray().sort(function(y,A){return y.level-A.level}).map(function(y){return y.node})}},{key:"shakeIt",value:function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},z=new h.a;this._scheduleAllNodesPushingDisabledChangeInWorker(z,!0);for(var y=this._collectRelationNodesInUpdateOrder(),A=function(C){var D=y[C];z.addToQueue(function(){D.shakeIt()})}, 961E=0;E<y.length;E++)A(E);if(this._scheduleAllNodesPushingDisabledChangeInWorker(z,!1),u.async)return new Promise(function(C){z.addToQueue(function(){C()});z.dequeue()});z.dequeueSync()}},{key:"setObjectService",value:function(u){this.objectService=u}}]),p}(r.a))||q},3534:function(r,k,a){a.d(k,"a",function(){return d});var t,q=a(0),n=a(1),m=function(){function b(f,g,c){Object(q.a)(this,b);this.id=f;this.width=g;this.disabled=c}return Object(n.a)(b,[{key:"getId",value:function(){return this.id}},{key:"getWidth", 962value:function(){return this.width}}]),b}(),d=function(){function b(){Object(q.a)(this,b);this.rwdModeChangeListeners=[]}return Object(n.a)(b,[{key:"init",value:function(){rwdModeService.init();t=rwdModeService.getCurrentRwdMode()}},{key:"deserializeRwdModes",value:function(f){for(var g=[],c=0;c<f.length;c++){var e=new m(f[c].id,f[c].width,f[c].disabled);g.push(e)}return g}},{key:"deserializeRwdMode",value:function(f){if(webwave.isDef(f))return new m(f.id,f.width,f.disabled)}},{key:"getActiveRwdModes", 963value:function(){return this.deserializeRwdModes(rwdModeService.getActiveRwdModes())}},{key:"getAllRwdModes",value:function(){return this.deserializeRwdModes(rwdModeService.getAllRwdModes())}},{key:"getCurrentMode",value:function(){return this.getCurrentRwdMode()}},{key:"getCurrentRwdMode",value:function(){return this.deserializeRwdMode(rwdModeService.getCurrentRwdMode())}},{key:"_notifyRwdModeChangeListeners",value:function(f){for(var g=0;g<this.rwdModeChangeListeners.length;g++)this.rwdModeChangeListeners[g].onRwdModeChange(f)}}, 964{key:"handleWindowResize",value:function(){var f=this.deserializeRwdMode(rwdModeService.handleWindowResize());void 0!==this.getActiveRwdMode()&&f.id==this.getActiveRwdMode().id||(t=f,this._notifyRwdModeChangeListeners(f))}},{key:"getActiveRwdMode",value:function(){return t}},{key:"changeElementsAttributes",value:function(f,g){if(!webwave.isNotDefOrNull(f)&&!webwave.isNotDefOrNull(this.elementAttributeService)){f=this.elementAttributeService.getElementsWithRwdAttribute(f);for(var c=0;c<f.length;c++){var e= 965f[c],h=this.elementAttributeService.getElementRwdProperties(e),l;for(l in h)if(h.hasOwnProperty(l)){var v=this.searchForClosestObjectByRwdMode(h[l],g);e.setAttribute(l,v)}}}}},{key:"searchForClosestObjectByRwdMode",value:function(f,g){if(webwave.isDef(f)&&webwave.isDef(g)){var c=g.getId(),e=f[c];if(webwave.isNotDef(e))for(;webwave.isDef(g=this.getPreviousRwdMode(g));)if(c=g.getId(),webwave.isDef(f[c])){e=f[c];break}return e}}},{key:"getRwdModeIndex",value:function(f,g){for(var c=0;c<f.length;c++)if(f[c].getId()=== 966g.getId())return c}},{key:"getPreviousRwdMode",value:function(f){if(webwave.isDef(f)){var g=this.deserializeRwdModes(rwdModeService.getAllRwdModes());f=this.getRwdModeIndex(g,f);return 0<f?g[f-1]:void 0}}},{key:"isFirstRwdMode",value:function(f){webwave.isNotDef(f)&&(f=this.getCurrentMode());var g=this.deserializeRwdModes(rwdModeService.getAllRwdModes());return 0===this.getRwdModeIndex(g,f)}},{key:"addRwdModeChangeListener",value:function(f){-1===this.rwdModeChangeListeners.indexOf(f)&&this.rwdModeChangeListeners.push(f)}}, 967{key:"setElementAttributeService",value:function(f){this.elementAttributeService=f}}]),b}();webwave.provide("com.webwave.publication.rwd.RwdMode");com.webwave.publication.rwd.RwdMode=m;webwave.provide("com.webwave.publication.rwd.rwdService");com.webwave.publication.rwd.rwdService=new d;window.rwdService=com.webwave.publication.rwd.rwdService;window.RwdMode=com.webwave.publication.rwd.RwdMode},3535:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct|| 968Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(f.a)(h);if(l){var p=Object(f.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(b.a)(this,v)}}a.d(k,"a",function(){return e});
968var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(43),c=a(54);a(53);webwave.provide("com.webwave.publication.object.WHtmlTool"); 969var e=function(h){function l(p){var w;return Object(q.a)(this,l),(w=v.call(this,p)).dynamicHeight=!1,w}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"cacheDom",value:function(p){p=Object(m.a)(Object(f.a)(l.prototype),"cacheDom",this).call(this,p);return webwave.isDefAndNotNull(p.content.children[0])&&(p.embeddedHtmlContentNode=p.content.children[0]),p}},{key:"getEmbeddedHtmlContentNode",value:function(){return this.cachedDom.embeddedHtmlContentNode}},{key:"initMutationObserver",value:function(){var p= 970this,w=webwave.requestAnimationFrame,u=null;!1!==webwave.isDef(this.getEmbeddedHtmlContentNode())&&w(function y(){var A=p.computeNewHeight();A!==u&&(u=A,p.updateMinSize());p.dynamicHeight&&w(y)})}},{key:"computeNewHeight",value:function(){if(this.dynamicHeight)return this.getEmbeddedHtmlContentNode().scrollHeight;var p=c.a.PX;return this.pageCanvas.convertHorizontalLengthToUnit(this._size.getHeight(),p).value-this.getPaddingAndBorderSizes().vertical}},{key:"calculateMinContentSize",value:function(){var p= 9710;return webwave.isDef(this.getEmbeddedHtmlContentNode())&&(p=this.computeNewHeight()),new g.a({width:0,height:p})}},{key:"loadAdditionalData",value:function(p){webwave.isDef(p)&&webwave.isDef(p.dynamicHeight)&&this.setDynamicHeight(p.dynamicHeight)}},{key:"setDynamicHeight",value:function(p){this.getDomObject().attr("data-dynamic-height",p);p!==this.dynamicHeight&&(!0===p&&this.initMutationObserver(),this.dynamicHeight=p)}}]),l}(com.webwave.publication.object.WElement);com.webwave.publication.object.WHtmlTool= 972e},3536:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(f.a)(e);if(h){var v=Object(f.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(b.a)(this,l)}}a.d(k,"a",function(){return c});var q,n= 973a(0),m=a(1),d=a(3),b=a(4),f=a(2);r=a(55);var g=a(43);k=a(20);a.n(k);a(26);var c=Object(k.injectable)()(q=function(e){function h(){return Object(n.a)(this,h),l.apply(this,arguments)}Object(d.a)(h,e);var l=t(h);return Object(m.a)(h,[{key:"rotateSelectedWElements",value:function(v,p){v=isNaN(v)?0:v;this.rotateWElements(this.getSelectedWElementsForRotation(),v)}},{key:"getSelectedWElementsForRotation",value:function(){return elementService.getSelectedWElements({includeLayoutObjects:!0,unlockedLayoutObjectsOnly:!0, 974includeFooterObjects:!0})}},{key:"rotateWElements",value:function(v,p){for(var w=0;w<v.length;w++)v[w].setRotation(p,{userInteraction:!0,isActionUndoable:!0})}},{key:"setRotationEnabledSelectedWElements",value:function(v){(this.getSelectedWElementsForRotation()||[]).forEach(function(p){p.setRotationEnabled(v)})}},{key:"transformSizesToRotation",value:function(v,p,w){!1===webwave.isNumberAndNotNaN(w)&&(w=0);var u=Math.PI/180*w;w=Math.abs(Math.sin(u));u=Math.abs(Math.cos(u));return new g.a({width:Math.round(u* 975v+w*p),height:Math.round(w*v+u*p)})}}]),h}(r.a))||q},3537:function(r,k,a){function t(w){var u=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(z){return!1}}();return function(){var z=Object(g.a)(w);if(u){var y=Object(g.a)(this).constructor;z=Reflect.construct(z,arguments,y)}else z=z.apply(this,arguments);return Object(f.a)(this, 976z)}}a.d(k,"a",function(){return p});var q,n=a(0),m=a(1),d=a(11),b=a(3),f=a(4),g=a(2),c=a(10),e=a(4142),h=a(3338);r=a(55);var l=a(2797),v=a(2798);k=a(20);a.n(k);var p=Object(k.injectable)()(q=function(w){function u(){var y;return Object(n.a)(this,u),y=z.call(this),window.onYouTubeIframeAPIReady=y.initAllYoutubePlayers.bind(Object(d.a)(y)),y.youtubeApiInitialized=!1,y.vimeoApiInitialized=!1,y.youtubeVideosToInit=[],y.vimeoVideosToInit=[],y.scrollListeners=[],y.initScrollListener(),y}Object(b.a)(u,w); 977var z=t(u);return Object(m.a)(u,[{key:"createNewWMediaPlayerFromMap",value:function(y){var A,E=y.domObject;return y.mediaPlayerService=this,0<E.find(".youtubeVideo").length?A=new v.a(y):0<E.find(".vimeoVideo").length?A=new l.a(y):0<E.find("video").length?A=new h.a(y):0<E.find("audio").length&&(A=new e.a(y)),A.isAutoPlayEnabled()&&this.scrollListeners.push(A),A}},{key:"initYoutubeApi",value:function(){this.isYoutubeApiInitialized()||(this.youtubeApiInitialized=!0,this.loadYoutubeApiScript())}},{key:"loadYoutubeApiScript", 978value:function(){var y=document.createElement("script");y.src="https://www.youtube.com/iframe_api";var A=document.getElementsByTagName("script")[0];A.parentNode.insertBefore(y,A)}},{key:"initAllVimeoPlayers",value:function(){if(!c.h.isTest())for(var y=0;y<this.vimeoVideosToInit.length;y++)this.vimeoVideosToInit[y].initPlayer()}},{key:"initVimeoApi",value:function(){this.isVimeoApiInitialized()||(this.vimeoApiInitialized=!0,this.loadVimeoApiScript())}},{key:"loadVimeoApiScript",value:function(){var y= 979document.createElement("script");y.onload=this.vimeoApiOnLoad.bind(this);y.src="//player.vimeo.com/api/player.js";var A=document.getElementsByTagName("script")[0];A.parentNode.insertBefore(y,A)}},{key:"vimeoApiOnLoad",value:function(){this.initAllVimeoPlayers()}},{key:"isVimeoApiInitialized",value:function(){return this.vimeoApiInitialized}},{key:"isYoutubeApiInitialized",value:function(){return this.youtubeApiInitialized}},{key:"addYoutubePlayerToInitList",value:function(y){this.youtubeVideosToInit.push(y)}}, 980{key:"addVimeoPlayerToInitList",value:function(y){this.vimeoVideosToInit.push(y)}},{key:"initAllYoutubePlayers",value:function(){if(!c.h.isTest())for(var y=0;y<this.youtubeVideosToInit.length;y++)this.youtubeVideosToInit[y].initPlayer()}},{key:"triggerScrollListeners",value:function(){for(var y=0;y<this.scrollListeners.length;y++)this.scrollListeners[y].tryToAutoPlayVideo()}},{key:"initScrollListener",value:function(){var y=this;$(window).on("scroll",function(A){y.triggerScrollListeners()})}}]),u}(r.a))|| 981q},3538:function(r,k,a){function t(G){var I=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(L){return!1}}();return function(){var L=Object(y.a)(G);if(I){var M=Object(y.a)(this).constructor;L=Reflect.construct(L,arguments,M)}else L=L.apply(this,arguments);return Object(z.a)(this,L)}}a.d(k,"a",function(){return x});var q,n, 982m,d,b,f,g,c,e=a(41),h=a(8),l=a(0),v=a(1),p=a(11),w=a(17),u=a(3),z=a(4),y=a(2);r=a(7);k=(a(9),a(39));var A=a.n(k);k=a(2774);var E=a(2704),C=a(849),D=a(832),F=a(1368),B=a(28),H=a(20);a.n(H);var x=(q=Object(H.injectable)(),n=Object(H.inject)(B.a.LoadingBoxService),m=Object(H.inject)(B.a.StoreStorage),d=Object(H.inject)(F.a.UtilService),q((b=function(G){function I(){var M;
982return Object(l.a)(this,I),M=L.call(this),Object(h.a)(M,"loadingBoxService",f,Object(p.a)(M)),Object(h.a)(M,"storeStorage",g,Object(p.a)(M)), 983Object(h.a)(M,"utilService",c,Object(p.a)(M)),M.loadStoreService=void 0,M.TIME_TO_CHECK_TRANSLATION_LOADED=50,M._storeSettings=null,M._translation=null,M}Object(u.a)(I,G);var L=t(I);return Object(v.a)(I,[{key:"getStoreSettings",value:function(){var M=Object(e.a)(A.a.mark(function R(){return A.a.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(!webwave.isNotDefOrNull(this._storeSettings)){Y.next=4;break}return Y.next=3,this._fetchWebwaveStoreSettings();case 3:this._storeSettings=Y.sent;case 4:return Y.abrupt("return", 984this._storeSettings);case 5:case "end":return Y.stop()}},R,this)}));return function(){return M.apply(this,arguments)}}()},{key:"showPopup",value:function(){var M=Object(e.a)(A.a.mark(function Y(R){return A.a.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(!1!==this._isOrderPopupInitialized()){K.next=5;break}return K.next=3,this._loadResources();case 3:K.next=8;break;case 5:if(!1!==this._isTranslationLoaded()){K.next=8;break}return K.next=8,this._waitForPopupInitialization();case 8:Object(w.a)(Object(y.a)(I.prototype), 985"showPopup",this).call(this,R);case 9:case "end":return K.stop()}},Y,this)}));return function(R){return M.apply(this,arguments)}}()},{key:"initStore",value:function(){var M=Object(e.a)(A.a.mark(function R(){var Y;return A.a.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(!0!==(null===(Y=this._orderPopup)||void 0===Y?void 0:Y.shouldByShowImmediately())){K.next=4;break}return K.next=3,this._waitForPopupInitialization();case 3:this._orderPopup.showImmediatelyIfNecessary();case 4:case "end":return K.stop()}}, 986R,this)}));return function(){return M.apply(this,arguments)}}()},{key:"setStorageSettings",value:function(M){this._storeSettings=M}},{key:"_getTranslation",value:function(){return webwave.isNotDefOrNull(this._translation)&&(this._translation=new C.a({clientTranslation:this._storeSettings.translation.value})),this._translation}},{key:"_loadResources",value:function(){var M=Object(e.a)(A.a.mark(function R(){return A.a.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return this.loadingBoxService.showLoadingBox(), 987this.loadStoreService.loadResources(),Y.next=4,this._waitForPopupInitialization();case 4:case "end":return Y.stop()}},R,this)}));return function(){return M.apply(this,arguments)}}()},{key:"_isOrderPopupInitialized",value:function(){return!0===webwave.isDefAndNotNull(this._orderPopup)}},{key:"_isTranslationLoaded",value:function(){return!0===this.loadStoreService.isTranslationLoaded()}},{key:"_waitForPopupInitialization",value:function(){var M=Object(e.a)(A.a.mark(function R(){var Y=this;return A.a.wrap(function(K){for(;;)switch(K.prev= 988K.next){case 0:return this.loadingBoxService.showLoadingBox(),K.abrupt("return",new Promise(function(Q){var S=setInterval(function(){!0===Y._isOrderPopupInitialized()&&!0===Y._isTranslationLoaded()&&(clearInterval(S),Y.loadingBoxService.hideLoadingBox(),Q(!0))},Y.TIME_TO_CHECK_TRANSLATION_LOADED)}));case 2:case "end":return K.stop()}},R,this)}));return function(){return M.apply(this,arguments)}}()}
988,{key:"setLoadStoreService",value:function(M){this.loadStoreService=M}},{key:"_fetchWebwaveStoreSettings", 989value:function(){var M=this;return new Promise(function(P){var R,Y=$("#".concat(E.a.PAGE_DATA_NODE_ID));Y=JSON.parse(Y.text());webwave.isDef(Y.webwaveStoreSettings)?(R=new D.a(JSON.parse(Y.webwaveStoreSettings)),webwave.utils.makeAjxaCall({url:"/v2/shopSettings/getStoreSettings",data:{serviceId:M.environmentUtils.getWebsiteId(),languageVersion:M.utilService.getLanguageCode()},noLoadingBox:!0},function(K){webwave.isDefAndNotNull(K.data)&&R.decorateByServerData(K.data);P(R)})):(R=new D.a,P(new D.a))})}}, 990{key:"getStoreStorage",value:function(){return this.storeStorage}}]),I}(k.a),f=Object(r.a)(b.prototype,"loadingBoxService",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=Object(r.a)(b.prototype,"storeStorage",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=Object(r.a)(b.prototype,"utilService",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b))||b)},3539:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this, 991m)}return Object(q.a)(m,null,[{key:"getElementsByClassName",value:function(d){return document.getElementsByClassName(d)}},{key:"existElementWithClassName",value:function(d){return 0<m.getElementsByClassName(d).length}},{key:"getDOMElementStylePropertyValue",value:function(d,b){var f;return webwave.isDefAndNotNull(d)&&(f=d.style[b]),f}},{key:"setDOMElementStylePropertyValue",value:function(d,b,f){webwave.isDefAndNotNull(d)&&(d.style[b]=f)}}]),m}()},3540:function(r,k,a){function t(g,c){var e="undefined"!= 992typeof Symbol&&g[Symbol.iterator]||g["@@iterator"];if(!e){if(Array.isArray(g)||(e=function(w,u){if(w){if("string"==typeof w)return q(w,u);var z=Object.prototype.toString.call(w).slice(8,-1);"Object"===z&&w.constructor&&(z=w.constructor.name);if("Map"===z||"Set"===z)return Array.from(w);if("Arguments"===z||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return q(w,u)}}(g))||c&&g&&"number"==typeof g.length){e&&(g=e);var h=0;c=function(){};return{s:c,n:function(){return h>=g.length?{done:!0}:{done:!1, 993value:g[h++]}},e:function(w){throw w;},f:c}}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 l,v=!0,p=!1;return{s:function(){e=e.call(g)},n:function(){var w=e.next();return v=w.done,w},e:function(w){p=!0;l=w},f:function(){try{v||null==e.return||e.return()}finally{if(p)throw l;}}}}function q(g,c){(null==c||c>g.length)&&(c=g.length);for(var e=0,h=Array(c);e<c;e++)h[e]=g[e];return h}a.d(k, 994"a",function(){return f});var n,m=a(0),d=a(1);r=a(20);var b=(a.n(r),a(1904)),f=Object(r.injectable)()(n=function(){function g(){Object(m.a)(this,g);this._storeCarts=[]}return Object(d.a)(g,[{key:"onPropertyChange",value:function(c){switch(c.propertyName){case b.a.PRODUCT_COUNTER_PROPERTY_NAME:this._onProductCountChange(c.newValue)}}},{key:"updateStoreCartsList",value:function(){throw Error("Not implemented");}},{key:"_onProductCountChange",value:function(c){var e,h=t(this._storeCarts);try{for(h.s();!(e= 995h.n()).done;)e.value.onProductCountChange(c)}catch(l){h.e(l)}finally{h.f()}}}]),g}())||n},3541:function(r,k,a){function t(C){var D=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}();return function(){var F=Object(w.a)(C);if(D){var B=Object(w.a)(this).constructor;F=Reflect.construct(F,arguments,B)}else F=F.apply(this, 996arguments);return Object(p.a)(this,F)}}a.d(k,"a",function(){return E});var q,n,m,d,b,f,g=a(8),c=a(0),e=a(1),h=a(11),l=a(17),v=a(3),p=a(4),w=a(2);r=a(7);var u=(a(9),a(2353)),z=a(2775);k=a(2668);var y=a(1368),A=a(20);a.n(A);var E=(q=Object(A.injectable)(),n=Object(A.inject)(y.a.LocalStorageService),m=Object(A.inject)(y.a.UtilService),q((d=function(C){function D(){var B;Object(c.a)(this,D);for(var H=arguments.length,x=Array(H),G=0;G<H;G++)x[G]=arguments[G];return B=F.call.apply(F,[this].concat(x)),Object(g.a)(B, 997"localStorageService",b,Object(h.a)(B)),Object(g.a)(B,"utilService",f,Object(h.a)(B)),B}Object(v.a)(D,C);
997var F=t(D);return Object(e.a)(D,[{key:"addItemFromProductData",value:function(B){Object(l.a)(Object(w.a)(D.prototype),"addItemFromProductData",this).call(this,B);this.saveDataInStorage()}},{key:"cleanOrderItemsInCurrentLang",value:function(){Object(l.a)(Object(w.a)(D.prototype),"cleanOrderItemsInCurrentLang",this).call(this);this.localStorageService.removeLocalStorageItem(this._getLocalStorageOrderItemsKey())}}, 998{key:"decreaseItemCount",value:function(B){Object(l.a)(Object(w.a)(D.prototype),"decreaseItemCount",this).call(this,B);this.saveDataInStorage()}},{key:"getLanguageId",value:function(){return this.utilService.getLanguageCode()}},{key:"getObjectFromLocalStorage",value:function(){return this.localStorageService.getObjectFromLocalStorage(this._getLocalStorageOrderItemsKey())}},{key:"getProductIdsFromLocalStorage",value:function(){return this.getObjectFromLocalStorage().map(function(B){var H;return null=== 999B||void 0===B?void 0:null===(H=B.productData)||void 0===H?void 0:H.id})}},{key:"incrementItemCount",value:function(B){Object(l.a)(Object(w.a)(D.prototype),"incrementItemCount",this).call(this,B);this.saveDataInStorage()}},{key:"informListenersAboutLocalStorageItemCount",value:function(){this._dispatchItemCountForListeners(this._countObjectsFromLocalStorage())}},{key:"removeItem",value:function(B){Object(l.a)(Object(w.a)(D.prototype),"removeItem",this).call(this,B);this.saveDataInStorage()}},{key:"saveDataInStorage", 1000value:function(){for(var B=[],H=this.getOrderItemsByCurrentLang(),x=0;x<H.length;x++)B.push(H[x].serialize());this.localStorageService.setLocalStorageObject(B,this._getLocalStorageOrderItemsKey())}},{key:"_countObjectsFromLocalStorage",value:function(){return this.getObjectFromLocalStorage().reduce(function(B,H){return B+H.count},0)}},{key:"_getLocalStorageOrderItemsKey",value:function(){return"".concat(u.a.SHOP_DATA,".").concat(this.getLanguageId(),".").concat(z.a.LOCAL_STORAGE_ITEMS_KEY)}}]),D}(k.a), 1001b=Object(r.a)(d.prototype,"localStorageService",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=Object(r.a)(d.prototype,"utilService",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d))||d)},36:function(r,k,a){var t=a(52),q=a(86),n=a(192),m=a(87),d=a(88);a.d(k,"b",function(){return t.b});a.d(k,"c",function(){return q.a});a.d(k,"a",function(){return t.a});a.d(k,"d",function(){return n.a});a.d(k,"e",function(){return m.a});a.d(k,"f",function(){return d.a})},3613:function(r, 1002k,a){function t(Z){var U=window.WWNamespace;document.addEventListener("DOMContentLoaded",function(){var W=window[U.LOAD_MODULE_SERVICE],ea=[W.addListener(window[U.MODULES].GALLERY_LIB),W.addListener(window[U.MODULES].I18N),W.addListener(window[U.MODULES].JQUERY),W.addListener(window[U.MODULES].OBJECTS_STORE),W.addListener(window[U.MODULES].PHOTOSWIPE)];webwave.isDefAndNotNull(document.querySelector('script[data-store-type="layout"]'))&&ea.push(W.addListener(window[U.MODULES].LAYOUT_OBJECTS_STORE)); 1003window[U.LOAD_MODULE_SERVICE].waitForAll(ea,function(ja){d.h.isNotTest()&&setTimeout(function(){ja.main()},0)}.bind(null,Z))})}Object.defineProperty(k,"__esModule",{value:!0});a.d(k,"parseBoxShadow",function(){return T});a.d(k,"locationService",function(){return X});a.d(k,"initialiseModules",function(){return t});var q=a(3366);r=a(3614);var n=a.n(r),m=a(3534),d=a(10),b=a(1653),f=a(1654),g=a(1920),c=a(2241),e=a(2495),h=a(2496),l=a(2338),v=a(2394),p=a(3615),w=a(2497),u=a(3616),z=a(2498),y=a(2499),A= 1004a(2500),E=a(3617),C=a(2501),D=a(3618),F=a(3619),B=a(3621),H=a(3622),x=a(3535),G=a(3373),I=a(3623),L=a(3624),M=a(3625),P=a(3377),R=a(3626),Y=a(2796),K=a(3338),Q=a(2797),S=a(2798);r=a(3340);a.n(r);a(1468);a.d(k,"publicationStylesEntry",function(){return q.default});a.d(k,"publication",function(){return n.a});a.d(k,"RwdService",function(){return m.a});a.d(k,"Environment",function(){return d.h});a.d(k,"WObject",function(){return b.a});a.d(k,"WElement",function(){return f.a});a.d(k,"LinkWElement",function(){return g.a}); 1005a.d(k,"WGroup",function(){return c.a});a.d(k,"RootWObject",function(){return e.a});a.d(k,"PageWObject",function(){return h.a});a.d(k,"WButton",function(){return l.a});a.d(k,"WSnipcartProduct",function(){return v.a});a.d(k,"WSnipcartShopCart",function(){return p.a});a.d(k,"WFooter",function(){return w.a});a.d(k,"WLightbox",function(){return u.a});a.d(k,"WGallery",function(){return z.a});a.d(k,"WSlider",function(){return y.a});a.d(k,"WSimpleText",function(){return A.a});a.d(k,"WText",function(){return E.a}); 1006a.d(k,"WImg",function(){return C.a});a.d(k,"WLoginTool",function(){return D.a});a.d(k,"WGoogleMaps",function(){return F.a});a.d(k,"WRectangle",function(){return B.a});a.d(k,"WMenu",function(){return H.default});a.d(k,"WHtmlTool",function(){return x.a});a.d(k,"WNewsfeed",function(){return G.a});a.d(k,"WFbComments",function(){return I.a});a.d(k,"WSocialMedia",function(){return L.a});a.d(k,"WLanguageSelector",function(){return M.a}
1006);a.d(k,"WForm",function(){return P.a});a.d(k,"WDate",function(){return R.a}); 1007a.d(k,"WMediaPlayer",function(){return Y.a});a.d(k,"Html5Video",function(){return K.a});a.d(k,"VimeoVideo",function(){return Q.a});a.d(k,"YoutubeVideo",function(){return S.a});var X=com.webwave.utils.location.locationService,T=com.webwave.util.cssUtils.parseBoxShadow},3614:function(r,k){},3615:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1008[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(848),g=function(c){function e(l){var v;return Object(q.a)(this,e),(v=h.call(this,l)).linkData=new f.a,v}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getLinkData",value:function(){return this.linkData}}]), 1009e}(a(1927).a)},3616:function(r,k,a){function t(y){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var E=Object(f.a)(y);if(A){var C=Object(f.a)(this).constructor;E=Reflect.construct(E,arguments,C)}else E=E.apply(this,arguments);return Object(b.a)(this,E)}}a.d(k,"a",function(){return z}); 1010var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(2795),c=a(743),e=a(2773),h=a(43),l=a(10),v=a(1348),p=a(2351),w=a(38);webwave.provide("com.webwave.publication.object.WLightbox");var u={horizontal:["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],vertical:["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"]},z=function(y){function A(C){var D;if(Object(q.a)(this,A),(D=E.call(this,C)).layout=C.layout,D.imagesInRow=C.imagesInRow,D._imagesLinkData=[],webwave.isArrayLike(C.imagesLinkData))for(var F= 1011C.imagesLinkData,B=0;B<F.length;B++)D._imagesLinkData.push(c.a.createLink(F[B]));return D._initLightboxImageClick(),D._imageGroups=[],D._renderedImages=[],D._imageSpacing=0,D._imageHeight=0,D._cropType=C.cropType,D._readImagesFromDom(),D}Object(d.a)(A,y);var E=t(A);return Object(n.a)(A,[{key:"_initLightboxImageClick",value:function(){for(var C=this,D=this.getDomObject().find(".lightbox_wrapper"),F=0;F<D.length;F++){var B=$(D[F]).find('a[data-link-type="interactionLinkData"]');0<B.length?B.on("click", 1012function(H){H.preventDefault();H=C.getImageIndex($(this));C._handleInteractionsLinkClick(C._imagesLinkData[H])}):$(D[F]).find("a[data-lightbox]").on("click",function(H){H.preventDefault();C.openLightboxPlugin(C.getImageIndex($(this)))})}}},{key:"getImageIndex",value:function(C){return C.closest(".lightbox_wrapper").index()}},{key:"_createPhotoSwipeImageMapByLightboxImage",value:function(C){var D=C.find(".lightbox_image");C=C.find("img");var F="",B=C.attr("title");webwave.isDef(B)&&""!=B&&(F+="<div><b>"+ 1013B+"</b></div>");B=D.attr("data-description");
1013webwave.isDef(B)&&""!=B&&(F+="<div>"+B+"</div>");B=D.attr("url");return webwave.isDef(B)&&""!=B&&(F+='<div><a href="'+l.v.getValidHref(B)+'" class="ww_customStyle_custom_link" target="_blank">'+B+"</a></div>"),{src:D.attr("href"),w:D.attr("data-width"),h:D.attr("data-height"),msrc:C.attr("src"),title:F,el:C[0]}}},{key:"getImages",value:function(){return this.getLightboxWrapper().find(".lightbox_wrapper")}},{key:"getImgDomElements",value:function(){return this.getLightboxWrapper().find("img")}}, 1014{key:"openLightboxPlugin",value:function(C){for(var D=[],F=this.getImages(),B=0;B<F.length;B++)D.push(this._createPhotoSwipeImageMapByLightboxImage($(F[B])));this.getPhotoswipeService().openAsLightbox(D,C)}},{key:"_updateImageContainerSize",value:function(){var C=this.getLightboxWrapperEl();if(webwave.isDefAndNotNull(C)){var D="auto";switch(this.getLayout()){case p.a.MASONRY_VERTICAL:for(var F=D=0;F<this._imageGroups.length;F++){for(var B=0,H=0;H<this._imageGroups[F].length;H++){var x=this._imageGroups[F][H], 1015G=window.getComputedStyle?getComputedStyle(x,null):x.currentStyle;G=parseFloat(G.marginTop)||0;B+=x.getBoundingClientRect().height+G}D=Math.max(D,B)}D+="px"}C.style.height=D}}},{key:"getLightboxWrapper",value:function(){return this.getContent().find(".ww_lightbox")}},{key:"getLightboxWrapperEl",value:function(){return this.cachedDom.lightboxWrapper}},{key:"cacheDom",value:function(C){C=Object(m.a)(Object(f.a)(A.prototype),"cacheDom",this).call(this,C);return C.lightboxWrapper=C.content.children[0], 1016C}},{key:"calculateMinContentSize",value:function(){this._updateImageContainerSize();var C=this.getLightboxWrapperEl(),D=0===this.getRenderedImages().length?this.getImageHeight():0;return new h.a({width:0,height:webwave.isDefAndNotNull(C)?C.scrollHeight:D})}},{key:"onVisibilityChange",value:function(){var C=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(m.a)(Object(f.a)(A.prototype),"onVisibilityChange",this).call(this,C);this.isVisible()&&this.updateMinSize()}},{key:"_cacheImageGroups", 1017value:function(){this._imageGroups=[];for(var C=0;C<this.imagesInRow;C++)this._imageGroups.push([]);C=this.getImages();for(var D=0;D<C.length;D++){var F=C[D],B=$(F).css("order");webwave.isDef(this._imageGroups[B])&&this._imageGroups[B].push(F)}}},{key:"_clearImageWrapperSizes",value:function(){if(this.isInitialized())for(var C=this.getRenderedImages(),D=0;D<C.length;D++){var F=C[D].getDomObject();F[0].style.width="";F[0].style.height=""}}},{key:"onLayoutChange",value:function(C,D){D===p.a.MASONRY_VERTICAL&& 1018C!==p.a.MASONRY_VERTICAL&&this._clearImageWrapperSizes();this.updateAutoHeight()}},{key:"setLayout",value:function(C){var D=this.layout;this.layout=C;D!==C&&this.onLayoutChange(C,D)}},{key:"getLayout",value:function(){return this.layout}},{key:"setImagesInRow",value:function(C){this.imagesInRow=C}},{key:"setImageSpacing",value:function(C){this._imageSpacing=C}},{key:"setImageHeight",value:function(C){this._imageHeight=C}},{key:"getImageHeight",value:function(){return this._imageHeight}},{key:"loadAdditionalData", 1019value:function(C){Object(m.a)(Object(f.a)(A.prototype),"loadAdditionalData",this).call(this,C);this.setImagesInRow(C.imagesInRow);this.setLayout(C.layout);this.setImageSpacing(C.imageSpacing);this.setImageHeight(C.imageHeight);this._cacheImageGroups();this._readImagesFromDom();this.updateInnerSizes()}},{key:"getImagesInRow",value:function(){return this.imagesInRow}},{key:"getImageSpacing",value:function(){return this._imageSpacing}},{key:"_countDynamicImageWidth",value:function(){var C=this.getImagesInRow(); 1020return parseInt((this.getInnerWidth()-(C-1)*this.getImageSpacing())/C)}},{key:"_readImagesFromDom",value:function(){this._renderedImages=[];for(var C=this.getImages(),D=0;D<C.length;D++){var F=$(C[D]).find("img"),B=parseInt(F.attr("width"));F=parseInt(F.attr("height"));this._renderedImages.push(new e.a({domObject:$(C[D]),width:B,height:F}))}}},{key:"getRenderedImages",value:function(){return this._renderedImages}},{key:"_updateMasonryVerticalInnerSizes",value:function(){for(var C=this._countDynamicImageWidth(), 1021D=this._readImageBorderAndPadding(),F=this.getRenderedImages(),B=0;B<F.length;B++){var H=F[B],x=H.getDomObject(),G=H.getDomObject().find("img"),I=H.getDomObject().find(".lightbox_title"),L=H.getWidth(),M=H.getHeight();H=C-D.horizontal;L=Math.round(H/L*M);I=0<I.length?I.outerHeight():0;x[0].style.width=C+"px";x[0].style.height=L+D.vertical+I+"px";G.attr("width",H);G.attr("height",L)}F.length>=this.getImagesInRow()&&this._distributeUnallocatedWrapperSpaceInMasonry()}},{key:"getImageCropType",value:function(){return this._cropType}}, 1022{key:"hasCoverCropType",value:function(){return this.getImageCropType()===g.a.CROP}},{key:"_readImageBorderAndPadding",value:function(){var C=this.getDomObject().find(".image_lightbox_outer_wrapper"),D={vertical:0,horizontal:0};if(0<C.length)for(var F in u)if(u.hasOwnProperty(F))for(var B=0;B<u[F].length;B++){var H=parseInt(C.css(u[F][B]));!1===isNaN(H)&&(D[F]+=H)}return D}},{key:"_updateFluidWidthInnerSizes",value:function(){var C=this._countDynamicImageWidth(),D=this._readImageBorderAndPadding(), 1023F=this.getRenderedImages(),B=this.getImagesInRow(),H=Math.floor(this._getSpaceDifferenceBetweenWrapperAndContent()),x=Math.trunc(H/B),G=Math.trunc(H%B);H=0!==G?Math.sign(G):0;G=Math.abs(G);B=F.length>=B;for(var I=0;I<F.length;I++){var L=F[I],M=L.getDomObject(),P=L.getDomObject().find("img"),R=L.getWidth();L=L.getHeight();var Y=C,K=(C-D.horizontal)/R,Q=M.find(".image_lightbox_outer_wrapper").height()/L;K=R*(R=this.hasCoverCropType()?Math.max(K,Q):Math.min(K,Q));P.attr("height",L*R);Y+=x;K+=x;B&&I% 1024this.getImagesInRow()<G&&(Y+=H,K+=H);M[0].style.width=Y+"px";P.attr("width",K)}}},{key:"updateInnerSizes",value:function(){if(!1!==this.isInitialized())switch(this.getLayout()){case p.a.MASONRY_VERTICAL:this._updateMasonryVerticalInnerSizes();break;case p.a.FLUID_WIDTH:this._updateFluidWidthInnerSizes()}}},{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(A.prototype),"afterDomSizeChange",this).call(this);this.updateInnerSizes();this.updateMinSize()}},{key:"_isMasonryVertical",value:function(){return this.getLayout()=== 1025p.a.MASONRY_VERTICAL}},{key:"_isFluidWith",value:function(){return this.getLayout()===p.a.FLUID_WIDTH}},{key:"computeAutoHeight",value:function(){return this._isMasonryVertical()||this._isFluidWith()}},{key:"addImgLazyLoad",value:function(){var C=this;Object(m.a)(Object(f.a)(A.prototype),"addImgLazyLoad",this).call(this);this.getImgDomElements().each(function(D,F){!0!==w.a.getValue("publicatedPageApp.disableLazyLoad")&&F.hasAttribute(v.a.LAZY_LOAD_ATTR_NAME)&&(D=new v.a(F),
1025C.createDomWIntersectionObserved(D))})}}, 1026{key:"setPhotoswipeService",value:function(C){this.photoswipeService=C}},{key:"getPhotoswipeService",value:function(){return this.photoswipeService}},{key:"_distributeUnallocatedWrapperSpaceInMasonry",value:function(){for(var C=this._getSpaceDifferenceBetweenWrapperAndContent(),D=this._countDynamicImageWidth(),F=0;F<this._imageGroups.length;F++)if(0<C){C--;for(var B=0;B<this._imageGroups[F].length;B++){var H=this._imageGroups[F][B];H.style.width="".concat(D+1,"px");H.querySelector("img").setAttribute("width", 1027"".concat(D+1))}}}},{key:"_getImageWrapperWidth",value:function(){var C=this.getLightboxWrapperEl();return webwave.isDefAndNotNull(C)?C.offsetWidth:0}},{key:"_getImageWrapperContentWidth",value:function(){var C=this.getImageSpacing(),D=this.getImagesInRow();return this._countDynamicImageWidth()*D+C*(D-1)}},{key:"_getSpaceDifferenceBetweenWrapperAndContent",value:function(){return this._getImageWrapperWidth()-this._getImageWrapperContentWidth()}}]),A}(com.webwave.publication.object.LinkWElement);com.webwave.publication.object.WLightbox= 1028z}
1028,3617:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(f.a)(l);if(v){var w=Object(f.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(b.a)(this,p)}}a.d(k,"a",function(){return h});var q=a(0), 1029n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(1903),c=a(43),e=a(10);webwave.provide("com.webwave.publication.object.WText");var h=function(l){function v(w){var u;return Object(q.a)(this,v),(u=p.call(this,w))._rwdTextContent=new g.a($(w.domObject[0].childNodes[0].childNodes[0])),u._rwdTextContent.loadRwdTextProperties(),u}Object(d.a)(v,l);var p=t(v);return Object(n.a)(v,[{key:"init",value:function(){Object(m.a)(Object(f.a)(v.prototype),"init",this).call(this);this._addToImagesInsideEventListener();this._addTolLinksEventListener(); 1030this._addPhotoSwipeEvent()}},{key:"calculateMinContentSize",value:function(){var w=this.getTextFrameEl().offsetHeight;return new c.a({width:0,height:w})}},{key:"updateObjectForRwdChange",value:function(w){this._rwdTextContent.loadRwdTextProperties(w);Object(m.a)(Object(f.a)(v.prototype),"updateObjectForRwdChange",this).call(this,w)}},{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(v.prototype),"afterDomSizeChange",this).call(this);this.updateMinSize()}},{key:"_addToImagesInsideEventListener", 1031value:function(){var w=this;this.getDomObject().find("img").each(function(){$(this)[0].addEventListener("load",function(){w.updateMinSize()})})}},{key:"_addTolLinksEventListener",value:function(){for(var w=this,u=this.getDomObject()[0].querySelectorAll("a.custom_link"),z=function(A){var E=u[A];E.addEventListener("click",function(C){w.scrollIfLinkToAnchor(E)&&C.preventDefault()})},y=0;y<u.length;y++)z(y)}},{key:"_addPhotoSwipeEvent",value:function(){var w;null===(w=this.getPhotoswipeService())||void 0=== 1032w||w.bindImgClickOnHtmlText(this.getDomObject())}},{key:"useAdvancedTextEditor",value:function(){return!0}},{key:"setPhotoswipeService",value:function(w){this.photoswipeService=w}},{key:"getPhotoswipeService",value:function(){return this.photoswipeService}},{key:"setPageService",value:function(w){this.pageService=w}},{key:"getPageService",value:function(){return this.pageService}},{key:"scrollIfLinkToAnchor",value:function(w){w=this._tryToObtainAnchorIdFromLink(w);return!!webwave.isStringAndNotEmpty(w)&& 1033(this._scrollToAnchor($(w)),!0)}},{key:"_isLinkToAnchor",value:function(w){return w.startsWith("#")}},{key:"_tryToObtainAnchorIdFromLink",value:function(w){var u;w.hasAttribute("href")&&(w=w.getAttribute("href"),this._isLinkToAnchor(w)&&(u=e.v.escapeStringForRegexp(w)));return u}},{key:"_scrollToAnchor",value:function(w){this.getPageService().scrollPageToElement(w,{forceTop:!0})}}]),v}(com.webwave.publication.object.WSimpleText);com.webwave.publication.object.WText=h},3618:function(r,k,a){function t(l){var v= 1034function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(b.a)(l);if(v){var w=Object(b.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(d.a)(this,p)}}a.d(k,"a",function(){return h});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(207),g=a(1005), 1035c=a(957),e=a(1711);webwave.provide("com.webwave.publication.object.WLoginTool");var h=function(l){function v(w,u){var z,y;Object(q.a)(this,v);(y=p.call(this,w))._styles=c.a.deserializeObjectCombinedStyles(null===(z=w.contentData)||void 0===z?void 0:z.styles);y._currentState=u?g.a.LOGGED_IN:g.a.NOT_LOGGED_IN;w=y.getStyleMapByVersion(y._currentState);return y.applyPartialObjectStyle(w),y.rewriteButtonImageIfRequire(),y}Object(m.a)(v,l);var p=t(v);return Object(n.a)(v,[{key:"rewriteButtonImageIfRequire", 1036value:function(){this._isImageUrlToRewrite(this.objectStyle.background)?this.getContent()[0].setAttribute(e.a.LAZY_LOAD_ATTR_NAME,this._getBackgroun
1036dImageUrl()):this.getContent()[0].removeAttribute(e.a.LAZY_LOAD_ATTR_NAME)}},{key:"getCombinedStyleByVersion",value:function(w){var u=this._styles[w];return webwave.isNotDef(u)&&(u=new c.a,this._styles[w]=u),u}},{key:"getStyleMapByVersion",value:function(w){w=this.getCombinedStyleByVersion(w);return webwave.isDef(w)?w.styleMap:void 0}},{key:"_isImageUrlToRewrite", 1037value:function(w){return w.backgroundType===f.a.BackgroundTypes.COLOR&&webwave.isDef(this.getContent()[0])&&"none"!==w.backgroundImage}},{key:"_getBackgroundImageUrl",value:function(){return this.objectStyle.background.backgroundImage.slice(5,-2).replace(/"/g,"")}}]),v}(com.webwave.publication.object.WElement);com.webwave.publication.object.WLoginTool=h},3619:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"== 1038typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(f.a)(l);if(v){var w=Object(f.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(b.a)(this,p)}}a.d(k,"a",function(){return h});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(3335),c=a(3336),e=a(3620);webwave.provide("com.webwave.publication.object.WGoogleMaps");var h=function(l){function v(w){var u; 1039return Object(q.a)(this,v),(u=p.call(this,w))._mapType=w.mapType,u._sQuery=w.sQuery,u._center=w.center,u._zoom=w.zoom,u._mapInitialized=!1,u}Object(d.a)(v,l);var p=t(v);return Object(n.a)(v,[{key:"addObjectInViewPortListener",value:function(){this.createDomWIntersectionObserved(new e.a(this))}},{key:"initializeGoogleMap",value:function(){this._mapInitialized=!0;this._rerenderMapDom()}},{key:"_getGoogleMapsElement",value:function(){return this.getDomObject()[0].getElementsByClassName("ww_googleMaps_element")[0]}}, 1040{key:"_rerenderMapDom",value:function(){var w=this._getGoogleMapsElement();webwave.isDef(w)&&(webwave.isDefAndNotNull(w.firstChild)&&w.firstChild.remove(),w.innerHTML=c.a.renderGoogleMapHtml(this.getGoogleMapData()))}},{key:"init",value:function(){Object(m.a)(Object(f.a)(v.prototype),"init",this).call(this)}},{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(v.prototype),"afterDomSizeChange",this).call(this);!0===this._mapInitialized&&this._rerenderMapDom()}},{key:"getGoogleMapData", 1041value:function(){return new g.a({mapType:this._mapType,sQuery:this._sQuery,zoom:this._zoom,center:this._center,width:this.getInnerWidth(),height:this.getInnerHeight()})}}]),v}(com.webwave.publication.object.WElement);com.webwave.publication.object.WGoogleMaps=h},3620:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1042[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this,c),(l=e.call(this,h.getDomObject()[0]))._wGoogleMaps=h,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"enteredViewportHandler",value:function(){this._wGoogleMaps.initializeGoogleMap()}}]), 1043c}(a(1388).a)}
1043,3621:function(r,k,a){function t(f){var g=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(c){return!1}}();return function(){var c=Object(d.a)(f);if(g){var e=Object(d.a)(this).constructor;c=Reflect.construct(c,arguments,e)}else c=c.apply(this,arguments);return Object(m.a)(this,c)}}a.d(k,"a",function(){return b}); 1044var q=a(0),n=a(3),m=a(4),d=a(2);webwave.provide("com.webwave.publication.object.WRectangle");var b=function(f){function g(e){return Object(q.a)(this,g),c.call(this,e)}Object(n.a)(g,f);var c=t(g);return g}(com.webwave.publication.object.WElement);com.webwave.publication.object.WRectangle=b},3622:function(r,k,a){function t(u,z){var y="undefined"!=typeof Symbol&&u[Symbol.iterator]||u["@@iterator"];if(!y){if(Array.isArray(u)||(y=function(F,B){if(F){if("string"==typeof F)return q(F,B);var H=Object.prototype.toString.call(F).slice(8, 1045-1);"Object"===H&&F.constructor&&(H=F.constructor.name);if("Map"===H||"Set"===H)return Array.from(F);if("Arguments"===H||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return q(F,B)}}(u))||z&&u&&"number"==typeof u.length){y&&(u=y);var A=0;z=function(){};return{s:z,n:function(){return A>=u.length?{done:!0}:{done:!1,value:u[A++]}},e:function(F){throw F;},f:z}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 1046}var E,C=!0,D=!1;return{s:function(){y=y.call(u)},n:function(){var F=y.next();return C=F.done,F},e:function(F){D=!0;E=F},f:function(){try{C||null==y.return||y.return()}finally{if(D)throw E;}}}}function q(u,z){(null==z||z>u.length)&&(z=u.length);for(var y=0,A=Array(z);y<z;y++)A[y]=u[y];return A}function n(u){var z=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1047[],function(){})),!0}catch(y){return!1}}();return function(){var y=Object(c.a)(u);if(z){var A=Object(c.a)(this).constructor;y=Reflect.construct(y,arguments,A)}else y=y.apply(this,arguments);return Object(g.a)(this,y)}}var m=a(0),d=a(1),b=a(17),f=a(3),g=a(4),c=a(2),e=a(2312),h=a(2698),l=a(2207),v=a(2313),p=a(43),w=a(3337);!function(){var u=com.webwave.publication.object.WElement;webwave.provide("com.webwave.publication.object.WMenu");var z={TOP:"top",BOTTOM:"bottom",AUTO:"auto"};u=function(y){function A(C){var D; 1048return Object(m.a)(this,A),(D=E.call(this,C)).dom={},D.$touchedFirstLevelMenuButton=$(),D._mobileMenuVisible=!1,D._mobileMenuSize=void 0,D._mobileMenuPosition=void 0,D._mobileMenuIconAlign=void 0,D._mobileMenuImageUrl=void 0,D._mobileMenuActiveImageUrl=void 0,D._mobileMenuImageAnimationType=C.mobileMenuImageAnimationType,D}Object(f.a)(A,y);var E=n(A);return Object(d.a)(A,[{key:"afterDomSizeChange",value:function(){Object(b.a)(Object(c.a)(A.prototype),"afterDomSizeChange",this).call(this);this.updateMobileMenuSizeAndPosition()}}, 1049{key:"getElementService",value:function(){return window.elementService}},{key:"getMobileMenuVisible",value:function(){return this._mobileMenuVisible}},{key:"getMenuItemsByPageId",value:function(C){return this.getMenuFrame().querySelectorAll("a[pageId='".concat(C,"']"))}},{key:"markItemsLinkingToPageActive",value:function(C){var D;C=t(this.getMenuItemsByPageId(C));try{for(C.s();!(D=C.n()).done;){var F=D.value,B="".concat(F.getAttribute("class"),"_active").split(" ");F.classList.add(B[B.length-1]); 1050var H=F.getElementsByClassName("ww_menu_link_text")[0],x=F.parentNode,G=this.getHoverOutStyle(x);G&&H.classList.remove(G);F.classList.add("ww_active");var I=this.getHoverOutStyle(x);I&&H.classList.add(I)}}catch(L){C.e(L)}finally{C.f()}}},{key:"markItemsLinkingToCurrentPageActive",value:function(){var C=pageService.getPageId();this.markItemsLinkingToPageActive(C)}},{key:"prepareMenuFrameToShowMobileMenu",value:function(C){C.finish().show()}},{key:"_addMenuItemCustomStyleHoverEventListener",value:function(){var C= 1051this;this.dom.$wwMenuItems.hover(function(){var D=$(this);C.updateSubmenuPosition(D);var F=C.getHoverOutStyle(D[0]);F&&D.find("> .ww_menu_item_link > .ww_menu_link_text").removeClass(F);(F=D.attr("data-hover_style_id"))&&D.find("> .ww_menu_item_link > .ww_menu_link_text").addClass(F)},function(){var D=$(this);D.attr("data-hover_style_id")&&D.find("> .ww_menu_item_link > .ww_menu_link_text").removeClass(D.attr("data-hover_style_id"));var F=C.getHoverOutStyle(D[0]);F&&D.find("> .ww_menu_item_link > .ww_menu_link_text").addClass(F)})}}, 1052{key:"_addMenuExpandingEventListener",value:function(){var C=this;this.dom.$firstLevelLis.on("mouseenter",function(D){C._slideDownFirstLevelMenu($(D.currentTarget))});this.dom.$firstLevelLis.on("mouseleave",function(D){C._slideUpFirstLevelMenu($(D.currentTarget))});this.dom.$firstLevelLis.filter(function(D,F){return 1===$(F).children("a:not(href)").length}).on("click",function(D){D=$(D.currentTarget);0!==D.children("ol").height()?C._slideUpFirstLevelMenu(D):C._slideDownFirstLevelMenu(D)});this.dom.$wwMenuItems.on("mouseenter", 1053function(D){$(this).addClass("hover")});this.dom.$wwMenuItems.on("mouseleave",function(){$(this).removeClass("hover")})}},{key:"_slideUpFirstLevelMenu",value:function(C){var D=this,F=C.children("ol"),B=this.getDomObject();window.setTimeout(function(){0!==F.height()&&F.stop(!0,!1).animate({height:0}
1053,{duration:400,start:function(){B.removeClass(A.SUB_MENU_OPENED)},always:function(){F[0].style.overflow="";!1===B.hasClass(A.SUB_MENU_OPENED)&&D.getElementService().moveElementBack(D.getDomObject())}})}, 105460)}},{key:"_slideDownFirstLevelMenu",value:function(C){var D=this;window.setTimeout(function(){var F=C.children("ol");if(!1===F.hasClass(A.SLIDING_DOWN_ANIMATION_NAME)){var B=0;F.children().each(function(H,x){B+=x.clientHeight});F.stop(!0,!0).animate({height:B},{start:function(){F.addClass(A.SLIDING_DOWN_ANIMATION_NAME);D.getElementService().moveElementOnTop(D.getDomObject());D.getDomObject().addClass(A.SUB_MENU_OPENED)},always:function(){F.removeClass(A.SLIDING_DOWN_ANIMATION_NAME)},complete:function(){F.first().height("auto")}})}}, 105560)}},{key:"_initEventsForLinksInMenu",value:function(){var C=this,D=!1,F=$(this.getContent()[0].querySelectorAll(".ww_menu_item > a[href]"));F.off("touchstart.doubleTapToGo");F.on("touchstart.doubleTapToGo",function(){var B=$(this);0<B.siblings("ol").length?0<C.$touchedFirstLevelMenuButton.length&&0<B.length&&C.$touchedFirstLevelMenuButton[0]===B[0]?(C.$touchedFirstLevelMenuButton=$(),D=!1):(C.$touchedFirstLevelMenuButton=B,D=!0):D=!1});F.off("click.doubleTapToGo");F.on("click.doubleTapToGo",function(B){var H= 1056$(this);if(D&&(B.preventDefault(),B.stopPropagation()),H.is('a[href*="?anchorElement"]['.concat("data-samePage","]"))&&!1===D)B.preventDefault(),B=H.attr("href"),H=B.substr(B.indexOf("?"),B.length),B=utilService.extractGETParameter("anchorElement",H),H=utilService.extractGETParameter("scrollMargin",H),B=$("#".concat(B)),0<B.length&&pageService.scrollPageToElement(B,{margin:H,forceTop:!0}),C.dom.$firstLevelLis.trigger("mouseleave"),$(".ww_menu_item.hover").removeClass("hover"),C.getDomObject().find("a").removeClass("ww_active"), 1057C.isMobileMenu()&&C._mobileMenuVisible&&C.hideMobileMenu()});F=$(document);
1057F.off("click.doubleTapToGo".concat(this.getId()));F.on("click.doubleTapToGo".concat(this.getId()),function(B){C.$touchedFirstLevelMenuButton=$()})}},{key:"cacheDomElements",value:function(){this.dom.$wwMenuItems=$(this.getMenuFrame().getElementsByClassName("ww_menu_item"));this.dom.$firstLevelLis=$(this.getMenuFrame().getElementsByTagName("li"))}},{key:"getMenuFrameWrapper",value:function(){return $(this.getContent()[0].getElementsByClassName("ww_menu_content_wrapper").item(0))}}, 1058{key:"getMenuFrame",value:function(){return this.getContent()[0].getElementsByClassName("ww_menu_list")[0]}},{key:"getMobileMenuIcon",value:function(){return this.getContent().find(".mobileMenuIcon")}},{key:"getMobileMenuIconAlign",value:function(){return this._mobileMenuIconAlign}},{key:"isMobileMenu",value:function(){return"mobile"===this.getOrientation()}},{key:"getMobileMenuPosition",value:function(){return this._mobileMenuPosition}},{key:"setMobileMenuIconAlign",value:function(C){this._mobileMenuIconAlign= 1059C}},{key:"setMobileMenuPosition",value:function(C){this._mobileMenuPosition=C;this.getMenuFrameWrapper().attr("data-mobile-menu-position",C)}},{key:"getMobileMenuActiveImageUrl",value:function(){return this._mobileMenuActiveImageUrl}},{key:"setMobileMenuActiveImageUrl",value:function(C){this._mobileMenuActiveImageUrl=C}},{key:"getMobileMenuImageUrl",value:function(){return this._mobileMenuImageUrl}},{key:"setMobileMenuImageUrl",value:function(C){this._mobileMenuImageUrl=C}},{key:"getMobileMenuSize", 1060value:function(){return this._mobileMenuSize}},{key:"setMobileMenuSize",value:function(C){this._mobileMenuSize=C;this.getMenuFrameWrapper().attr("data-mobile-menu-size",C)}},{key:"getMobileMenuImageAnimationType",value:function(){return this._mobileMenuImageAnimationType}},{key:"getMenuIconTransitionAnimator",value:function(){return this.menuTransitionAnimator}},{key:"setMenuIconTransitionAnimator",value:function(C){this.menuTransitionAnimator=C}},{key:"canAnimateMenuIcon",value:function(){return this._mobileMenuImageAnimationType!== 1061h.a._NO_ANIMATION&&webwave.isDefAndNotNull(this.getMenuIconTransitionAnimator())}},{key:"animateForwardMenuIcon",value:function(){this.canAnimateMenuIcon()&&this.getMenuIconTransitionAnimator().animateForward()}},{key:"animateBackwardMenuIcon",value:function(){this.canAnimateMenuIcon()&&this.getMenuIconTransitionAnimator().animateBackward()}},{key:"setMobileMenuVisible",value:function(C){var D=this._mobileMenuVisible!==C;this._mobileMenuVisible=C;D&&!1===this.canAnimateMenuIcon()&&this.updateIconInMobileMenu()}}, 1062{key:"getIconImageUrlString",value:function(C){C=this.getIconImageUrl(C);return"url(".concat(C,")")}},{key:"getIconImageUrl",value:function(C){return webwave.isNotBoolean(C)&&(C=!0===this._mobileMenuVisible),C?this.getMobileMenuActiveImageUrl():this.getMobileMenuImageUrl()}},{key:"toggleMobileMenu",value:function(){this.isMobileMenu()&&(this._mobileMenuVisible?this.hideMobileMenu():this.showMobileMenu())}},{key:"_enableMobileMenuEvents",value:function(){var C=this;this._disableMobileMenuEvents(); 1063this.getContent().on("click.mobileMenu",function(D){var F=C.getMenuFrameWrapper();F.is(D.target)||0!==F.has(D.target).length||C.toggleMobileMenu()});$(window).on("click.windowMobileMenu".concat(this.getId()),function(D){var F=C.getContent();F.is(D.target)||0!==F.has(D.target).length||C.hideMobileMenu()})}},{key:"_disableMobileMenuEvents",value:function(){this.getContent().off("click.mobileMenu");$(window).off("click.windowMobileMenu".concat(this.getId()))}},{key:"initEvents",value:function(){this._addMenuItemCustomStyleHoverEventListener(); 1064this._addMenuExpandingEventListener();this._initEventsForLinksInMenu();this.isMobileMenu()&&this._enableMobileMenuEvents()}},{key:"getHoverOutStyle",value:function(C){var D,F;return F=C.getElementsByClassName("ww_menu_item_link")[0].classList.contains("ww_active")?C.getAttribute("data-active_style_id"):C.getAttribute("data-normal_style_id"),webwave.isDef(F)&&(D=F),D}},{key:"init",value:function(){Object(b.a)(Object(c.a)(A.prototype),"init",this).call(this);this.cacheDomElements();this.markItemsLinkingToCurrentPageActive(); 1065this.initEvents();this.updateMobileMenuSizeAndPosition()}},{key:"isMenuVertical",value:function(){return"vertical"===this.getOrientation()}},{key:"getSubmenuVerticalPosition",value:function(){var C=this.getMenuFrame();return C.classList.contains("ww_submenu_left")?"left":C.classList.contains("ww_submenu_right")?"right":"auto"}},{key:"getSubmenuHorizontalPosition",value:function(){var C=this.getMenuFrame();return C.classList.contains("ww_submenu_top")?z.LEFT:C.classList.contains("ww_submenu_bottom")? 1066z.RIGHT:z.AUTO}},{key:"updateHorizontalSubmenuPosition",value:function(C,D){var F=$(window),B=F.scrollTop(),H=$("#container"),x=H.width();H=H.offset();F=(F.width(),F.height(),C.offset());F.top-=B;var G,I;B=C.outerWidth();C=(C.outerHeight(),D.outerWidth());D.outerHeight();"auto"===this.getSubmenuVerticalPosition()&&(F.left+B+C>H.left+x?(G="auto",I="100%"):(G="100%",I="auto"),D.css({left:G,right:I}))}},{key:"updateVerticalSubmenuPosition",value:function(C,D){var F=$(window),B=F.scrollTop(),H=pageService.pageAreaService.getWindowWidth(), 1067x=(F.width(),F.height());F=C.offset();F.top-=B;B=C.outerWidth();var G=C.outerHeight(),I=D.outerWidth(),L=D.outerHeight();if(this.getSubmenuHorizontalPosition()===z.AUTO){var M=F.top;x-=F.top+G;D.css("bottom",L>x&&x<M?"100%":"auto")}H=Math.max(0,F.left+I-H);C=Math.max(Math.min(0,B-I),-parseInt(C.css("borderLeftWidth"))-H);D.css("left",C)}},{key:"updateSubmenuPosition",value:function(C){var D=C.children("ol");1===D.length&&(this.isMenuVertical()?this.updateHorizontalSubmenuPosition(C,D):this.updateVerticalSubmenuPosition(C, 1068D))}},{key:"clearOrientationStyles",value:function(){var C=this.getMenuFrameWrapper();C.finish();C=C[0];C.style.left="";C.style.width="";C.style.display=""}},{key:"onOrientationChange",value:function(){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(C){this.orientation!== 1069C&&(this.orientation=C,this.onOrientationChange());this.hideMobileMenu()}},{key:"getOrientation",value:function(){return this.orientation}},{key:"loadAdditionalData",value:function(C){this.setMobileMenuSize(C.mobileMenuSize);this.setMobileMenuPosition(C.mobileMenuPosition);this.setMobileMenuActiveImageUrl(C.mobileMenuActiveImageUrl);this.setMobileMenuIconAlign(C.mobileMenuIconAlign);this.setMobileMenuImageUrl(C.mobileMenuImageUrl);this.setOrientation(C.orientation);this.clearOrientationStyles();this.updateIconInMobileMenu()}}, 1070{key:"updateMobileMenuSizeAndPosition",value:function(){if(this.isMobileMenu()&&this.getMobileMenuPosition()===l.a.BOTTOM&&this.getMobileMenuSize()===v.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()===l.a.BOTTOM)if(this._isMobileMenuBeyoundPageArea()){var C= 1071this.getComputedPosition().getX()+this.getMenuFrameWrapper().width(),D=this.objectService.getPageareaOffset().left+this.getPageAreaService().getContainerWidth();C=-1*Math.abs(Math.max(0,C-D));this.getMenuFrameWrapper().css("left",C)}else this.getMenuFrameWrapper().css("left","")}},{key:"_isMobileMenuBeyoundPageArea",value:function(){var C=Math.max(this.getPageAreaService().getWindowWidth(),this.getPageAreaService().getContainerWidth());return this.getComputedPosition().getX()+this.getMenuFrameWrapper().width()+ 1072this.objectService.getPageareaOffset().left>C}},{key:"getMenuFrameSize",value:function(){var C=this.getOrientation(),D=new p.a({width:0,height:0}),F=this.getMenuFrame(),B=window.getComputedStyle(F);return C===e.a.HORIZONTAL?(D.setWidth(parseInt(B.width,10)),D.setHeight(parseInt(B.height,10))):C===e.a.VERTICAL&&(F.style.width="auto",this.getNavigationTag().style.width="auto",D.setWidth(parseInt(B.width,10)),D.setHeight(parseInt(B.height,10)),F.style.width="",this.getNavigationTag().style.width=""), 1073D}},{key:"calculateMinContentSize",value:function(){return this.getMenuFrameSize()}},{key:"getNavigationTag",value:function(){return this.getDomObject()[0].querySelector(".w-menu-navigation")}}]),A}(Object(w.a)(u));u.SLIDING_DOWN_ANIMATION_NAME="slidingDownAnimation";u.SUB_MENU_OPENED="menu-submenu-opened";com.webwave.publication.object.WMenu=u}()},3623:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"== 1074typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(f.a)(e);if(h){var v=Object(f.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(b.a)(this,l)}}a.d(k,"a",function(){return c});
1074var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(43);webwave.provide("com.webwave.publication.object.WFbComments");var c=function(e){function h(v){var p;return Object(q.a)(this, 1075h),(p=l.call(this,v))._fbInitialized=!1,p}Object(d.a)(h,e);var l=t(h);return Object(n.a)(h,[{key:"cacheDom",value:function(v){v=Object(m.a)(Object(f.a)(h.prototype),"cacheDom",this).call(this,v);return v.fbCommentsFrame=v.content.children[0],v}},{key:"init",value:function(){Object(m.a)(Object(f.a)(h.prototype),"init",this).call(this);this._reRenderCommentsDom()}},{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(h.prototype),"afterDomSizeChange",this).call(this);this._reRenderCommentsDom()}}, 1076{key:"_getCommentsFrame",value:function(){return this.getDomObject().find(".fb-comments_frame")}},{key:"getFbCommentsFrameEl",value:function(){return this.cachedDom.fbCommentsFrame}},{key:"_getFbContainer",value:function(){return this._getCommentsFrame().find("> .fb-comments")}},{key:"_initFbFrameSizeChangeListener",value:function(){var v=this._getFbContainer().find("> span")[0];webwave.isDefAndNotNull(v)&&(new MutationObserver(this._fbFrameSizeChangeHandler.bind(this))).observe(v,{attributes:!0, 1077attributeFilter:["style"]})}},{key:"_fbFrameSizeChangeHandler",value:function(v){this.updateMinSize()}},{key:"_reRenderCommentsDom",value:function(){var v=this,p=parseInt(this._getFbContainer().attr("width")),w=this.getInnerWidth();p!==w&&(this._setFbInitialized(!1),this._getFbContainer().attr("width",w),facebookService.executeAction(function(){FB.XFBML.parse(v.getFbCommentsFrameEl(),function(){v._setFbInitialized(!0);setTimeout(function(){v._initFbFrameSizeChangeListener(v._getCommentsFrame());v.updateMinSize()}, 1078100)})}))}},{key:"_setFbInitialized",value:function(v){this._fbInitialized=v}},{key:"_isFbInitialized",value:function(){return this._fbInitialized}},{key:"applyComputedSizeModifiers",value:function(v){this._isFbInitialized()&&v.setHeight(0)}},{key:"calculateMinContentSize",value:function(){return new g.a({width:0,height:this.getFbCommentsFrameEl().offsetHeight})}}]),h}(com.webwave.publication.object.WElement);com.webwave.publication.object.WFbComments=c},3624:function(r,k,a){function t(h){var l=function(){if("undefined"== 1079typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(f.a)(h);if(l){var p=Object(f.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(b.a)(this,v)}}a.d(k,"a",function(){return e});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(2699),c=a(43);webwave.provide("com.webwave.publication.object.WSocialMedia"); 1080var e=function(h){function l(p){var w;return Object(q.a)(this,l),(w=v.call(this,p))._facebookIncludeShareButton=p.facebookIncludeShareButton,w._facebookLayout=p.facebookLayout,w}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"init",value:function(){Object(m.a)(Object(f.a)(l.prototype),"init",this).call(this);this._recreateFbLikeContent()}},{key:"getFacebookIncludeShareButton",value:function(){return this._facebookIncludeShareButton}},{key:"getFacebookLayout",value:function(){return this._facebookLayout}}, 1081{key:"calculateMinContentSize",value:function(){var p=this.getFacebookLayout();p=!0===this.getFacebookIncludeShareButton()?g.a.recommend[p]:g.a.standard[p];return!1===webwave.isDef(p)&&(p={width:0,height:0}),new c.a(p)}},{key:"_getFbLikeContainer",value:function(){return this.getDomObject().find(".fb-like")}},{key:"_recreateFbLikeContent",value:function(){var p=this;facebookService.executeAction(function(){FB.XFBML.parse(p._getFbLikeContainer()[0],function(){})})}},{key:"canBeRotated",value:function(){return!1}}]), 1082l}(com.webwave.publication.object.WElement);com.webwave.publication.object.WSocialMedia=e},3625:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(f.a)(h);if(l){var p=Object(f.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this, 1083arguments);return Object(b.a)(this,v)}}a.d(k,"a",function(){return e});
1083var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(2660),c=a(43);webwave.provide("com.webwave.publication.object.WLanguageSelector");var e=function(h){function l(p){var w;return Object(q.a)(this,l),(w=v.call(this,p))._orientation=g.a.HORIZONTAL,w._flags=w.getDomObject().find(".language_selector_flag").toArray(),w}Object(d.a)(l,h);var v=t(l);return Object(n.a)(l,[{key:"init",value:function(){Object(m.a)(Object(f.a)(l.prototype), 1084"init",this).call(this);this._updateFlagSizes()}},{key:"getFlagsNumber",value:function(){return this._flags.length}},{key:"getOrientation",value:function(){return this._orientation}},{key:"setOrientation",value:function(p){var w=this._orientation!==p;this._orientation=p;w&&(this.updateMinSize(),this._updateFlagSizes())}},{key:"isVertical",value:function(){return this._orientation===g.a.VERTICAL}},{key:"loadAdditionalData",value:function(p){webwave.isDef(p)&&webwave.isDef(p.orientation)&&this.setOrientation(p.orientation)}}, 1085{key:"afterDomSizeChange",value:function(){Object(m.a)(Object(f.a)(l.prototype),"afterDomSizeChange",this).call(this);this._updateFlagSizes()}},{key:"calculateMinContentSize",value:function(){var p,w,u=l.DEFAULT_FLAG_SIZE,z=this.getFlagsNumber();return this.isVertical()?(p=u,w=z*u):(p=z*u,w=u),new c.a({width:p,height:w})}},{key:"_updateFlagSizes",value:function(){if(0<this.getFlagsNumber())for(var p,w=this._getSingleLanguageFlagSize(),u=this._getFlagsDomObjects(),z=u.length-1;0<=z;z--)(p=u[z]).style.width= 1086w.width+"px",p.style.height=w.height+"px"}},{key:"_getSingleLanguageFlagSize",value:function(){var p,w,u=this.getFlagsNumber(),z=this.getInnerWidth(),y=this.getInnerHeight();return 0<u?this.isVertical()?(p=z,w=Math.floor(y/u)):(p=Math.floor(z/u),w=y):(p=z,w=y),{width:p,height:w}}},{key:"_getFlagsDomObjects",value:function(){return this._flags}}]),l}(com.webwave.publication.object.WElement);e.DEFAULT_FLAG_SIZE=25;com.webwave.publication.object.WLanguageSelector=e},3626:function(r,k,a){function t(e){var h= 1087function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(f.a)(e);if(h){var v=Object(f.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(b.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(17),d=a(3),b=a(4),f=a(2),g=a(43); 1088webwave.provide("com.webwave.publication.object.WDate");var c=function(e){function h(){return Object(q.a)(this,h),l.apply(this,arguments)}Object(d.a)(h,e);var l=t(h);return Object(n.a)(h,[{key:"getTextFrameEl",value:function(){return this.cachedDom.textFrame}},{key:"cacheDom",value:function(v){v=Object(m.a)(Object(f.a)(h.prototype),"cacheDom",this).call(this,v);return v.textFrame=v.content.children[0],v}},{key:"calculateMinContentSize",value:function(){var v=this.getTextFrameEl();return new g.a({width:0, 1089height:Math.ceil(v.offsetHeight)})}}]),h}(com.webwave.publication.object.WElement);com.webwave.publication.object.WDate=c},3627:function(r,k,a){a.d(k,"a",function(){return d});var t,q=a(0),n=a(1),m=a(10);r=a(20);var d=(a.n(r),Object(r.injectable)()(t=function(){function b(){Object(q.a)(this,b);this._changeStateHandlersList=[]}return Object(n.a)(b,[{key:"init",value:function(){this._handleStateChange()}},{key:"pushHandler",value:function(f){this._changeStateHandlersList.push(f)}},{key:"saveCurrentState", 1090value:function(f){window.history.pushState(m.v.generateRandomPasswordString(),"Title",f)}},{key:"_handleStateChange",value:function(){var f=this;window.onpopstate=function(){for(var g=0;g<f._changeStateHandlersList.length;g++)f._changeStateHandlersList[g]()}}}]),b}())||t)},3628:function(r,k,a){function t(y){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1091[],function(){})),!0}catch(E){return!1}}();return function(){var E=Object(l.a)(y);if(A){var C=Object(l.a)(this).constructor;E=Reflect.construct(E,arguments,C)}else E=E.apply(this,arguments);return Object(h.a)(this,E)}}a.d(k,"a",function(){return z});var q,n,m,d,b=a(8),f=a(0),g=a(1),c=a(11),e=a(3),h=a(4),l=a(2);r=a(7);k=(a(9),a(55));var v=a(10),p=a(2314),w=a(1368),u=a(20);a.n(u);var z=(q=Object(u.injectable)(),n=Object(u.inject)(w.a.BrowserHistoryService),q((m=function(y){function A(){var C;Object(f.a)(this, 1092A);for(var D=arguments.length,F=Array(D),B=0;B<D;B++)F[B]=arguments[B];return C=E.call.apply(E,[this].concat(F)),Object(b.a)(C,"browserHistoryService",d,Object(c.a)(C)),C.objectService=null,C.browserWebPSupportUtils=null,C}Object(e.a)(A,y);var E=t(A);return Object(g.a)(A,[{key:"init",value:function(){this.browserHistoryService.pushHandler(this.initPageIndexes.bind(this));this.initPageIndexes()}},{key:"initPageIndexes",value:function(){for(var C=this.objectService.findAllWObjectsByType(p.a),D=0;D< 1093C.length;D++){var F=webwave.getParamFromLocation(C[D].getNameParamForLink());F=webwave.isStringAndNotEmpty(F)?F:p.a.DEFAULT_INDEX_VALUE;C[D].setPaginationIndex(F)}}},{key:"changeFeedsContainerThumbnailToWebP",value:function(){for(var C=this.objectService.findAllWObjectsByClass(p.a),D=0;D<C.length;D++)for(var F=C[D].getFeedItemsData(),B=0;B<F.length;
1093B++)!0===F[B][this.browserWebPSupportUtils.getWeBPImageAttrName()]&&(F[B].thumbnail=this.browserWebPSupportUtils.replaceImageSrcToWebP(F[B].thumbnail))}}, 1094{key:"updatePaginationListSizeInFeeds",value:function(){for(var C=this.objectService.findAllWObjectsByClass(p.a),D=0;D<C.length;D++)C[D].updatePaginationListSize()}},{key:"updateHeightForNewsInAllFeeds",value:function(){for(var C=this.objectService.findAllWObjectsByClass(p.a),D=0;D<C.length;D++)C[D].updateFeedDomSizes()}},{key:"saveFeedIndexHistory",value:function(C,D){C=v.v.updateOrAddParameterToUrl(window.location.href,C,D);this.browserHistoryService.saveCurrentState(C)}},{key:"setObjectService", 1095value:function(C){this.objectService=C}},{key:"setBrowserWebPSupportUtils",value:function(C){this.browserWebPSupportUtils=C}}]),A}(k.a),d=Object(r.a)(m.prototype,"browserHistoryService",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m))||m)},3629:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1096[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getAdditionalResourcesObjectConfig",value:function(){return wwConfig.additionalResoucresUrl}}, 1097{key:"loadPreLoadedCss",value:function(h){var l;this.loadCss(h);null===(l=document.getElementById(h.getId()))||void 0===l||l.remove()}},{key:"loadPreLoadedJs",value:function(h){var l;this.loadJs(h);null===(l=document.getElementById(h.getId()))||void 0===l||l.remove()}},{key:"loadCss",value:function(h){return new Promise(function(l){var v=document.createElement("link");v.rel="stylesheet";v.href=h.getLink();v.id=h.getId();v.onload=l;document.head.appendChild(v)})}},{key:"loadJs",value:function(h){var l= 1098document.createElement("script");l.type="text/javascript";l.src=h.getLink();l.id=h.getId();document.head.appendChild(l)}},{key:"preLoadCss",value:function(h){this._addPreloadLink({id:h.getId(),link:h.getLink(),as:"style"})}},{key:"preLoadJavascript",value:function(h){this._addPreloadLink({id:h.getId(),link:h.getLink(),as:"script"})}},{key:"_addPreloadLink",value:function(h){var l=document.createElement("link");l.href=h.link;l.rel="preload";l.as=h.as;l.id=h.id;document.head.appendChild(l)}}]),c}(a(55).a)}, 10993630:function(r,k,a){function t(u){var z=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(y){return!1}}();return function(){var y=Object(b.a)(u);if(z){var A=Object(b.a)(this).constructor;y=Reflect.construct(y,arguments,A)}else y=y.apply(this,arguments);return Object(d.a)(this,y)}}a.d(k,"a",function(){return w});var q=a(0), 1100n=a(1),m=a(3),d=a(4),b=a(2),f=a(2502),g=a(53),c=a(54),e=a(30),h=a(739),l=a(200);r=a(40);var v=a(43),p=a(38),w=function(u){function z(){var A;Object(q.a)(this,z);for(var E=arguments.length,C=Array(E),D=0;D<E;D++)C[D]=arguments[D];return(A=y.call.apply(y,[this].concat(C))).pageAreaService=null,A.windowService=null,A}Object(m.a)(z,u);var y=t(z);
1100return Object(n.a)(z,[{key:"convertPointFromOrigin",value:function(A,E){A=A.clone();switch(E){case h.a.SCREEN_TOP_LEFT:A.setX(A.getX()-this.getPageAreaX());break; 1101case h.a.PAGE_TOP_RIGHT:A.setX(this.getPageAreaWidth()-A.getX());break;case h.a.SCREEN_TOP_RIGHT:A.setX(this.getViewPortWidth()-this.getPageAreaX()-A.getX())}return A}},{key:"convertPointToOrigin",value:function(A,E){A=A.clone();switch(E){case h.a.SCREEN_TOP_LEFT:A.setX(A.getX()-this.getPageAreaX());break;case h.a.PAGE_TOP_RIGHT:A.setX(this.getPageAreaWidth()-A.getX());break;case h.a.SCREEN_TOP_RIGHT:A.setX(this.getViewPortWidth()-this.getPageAreaX()-A.getX())}return A}},{key:"getFullWidthObjectParams", 1102value:function(){return{width:this.getViewPortWidth(),x:-this.getPageAreaX()}}},{key:"getPageAreaWidth",value:function(){return this.pageAreaService.getContainerWidth()}},{key:"getPageAreaHeight",value:function(){return this.pageAreaService.getContainerHeight()}},{key:"getPageAreaX",value:function(){return this.pageAreaService.getContainerX()}},{key:"getPageAreaY",value:function(){return this.pageAreaService.getContainerY()}},{key:"getViewPortHeight",value:function(){var A=this.pageAreaService.getWindowHeight(); 1103return!0===p.a.getValue("publicatedPageApp.fullViewportHeight")&&(A=parseInt(document.querySelector("body").style.height,10)),A}},{key:"getViewPortWidth",value:function(){return Math.max(this.pageAreaService.getWindowWidth(),com.webwave.publication.rwd.rwdService.getCurrentRwdMode().getWidth())}},{key:"getPageareaRect",value:function(){return this.pageAreaService.getContainerRect()}},{key:"convertVerticalLengthToRenderedValue",value:function(A){switch(A.getUnit()){case c.a.PERCENT:return Math.round(A.getValue()* 1104this.getPageAreaHeight()/100);case c.a.VW:return Math.round(A.getValue()*this.getViewPortWidth()/100);case c.a.VH:return Math.round(A.getValue()*this.getViewPortHeight()/100);default:return A.getValue()}}},{key:"convertHorizontalLengthToRenderedValue",value:function(A){switch(A.getUnit()){case c.a.PERCENT:return Math.round(A.getValue()*this.getPageAreaWidth()/100);case c.a.VW:return Math.round(A.getValue()*this.getViewPortWidth()/100);case c.a.VH:return Math.round(A.getValue()*this.getViewPortHeight()/ 1105100);default:return A.getValue()}}},{key:"convertVerticalLengthToUnit",value:function(A,E){A=A instanceof g.a?A:new g.a({value:A,unit:c.a.PX});if(A.getUnit()===E)return A;switch(A.getUnit()!==c.a.PX&&(A=this.convertVerticalLengthFromUnit(A)),E){case c.a.PERCENT:return new g.a({value:A.getValue()/this.getPageAreaHeight()*100,unit:c.a.PERCENT});case c.a.VW:return new g.a({value:A.getValue()/this.getViewPortWidth()*100,unit:c.a.VW});case c.a.VH:return new g.a({value:A.getValue()/this.getViewPortHeight()* 1106100,unit:c.a.VH});default:return A}}},{key:"convertHorizontalLengthFromUnit",value:function(A){return new g.a({value:this.convertHorizontalLengthToRenderedValue(A),unit:c.a.PX})}},{key:"convertVerticalLengthFromUnit",value:function(A){return new g.a({value:this.convertVerticalLengthToRenderedValue(A),unit:c.a.PX})}},{key:"convertHorizontalLengthToUnit",value:function(A){var E=1<arguments.length&&void 0!==arguments[1]?arguments[1]:c.a.PX,C=A instanceof g.a?A:new g.a({value:A,unit:c.a.PX});switch(C.getUnit()!== 1107c.a.PX&&(C=this.convertHorizontalLengthFromUnit(C)),E){case c.a.PERCENT:return new g.a({value:C.getValue()/this.getPageAreaWidth()*100,unit:c.a.PERCENT});case c.a.VW:return new g.a({value:C.getValue()/this.getViewPortWidth()*100,unit:c.a.VW});case c.a.VH:return new g.a({value:C.getValue()/this.getViewPortHeight()*100,unit:c.a.VH});default:return C}}},{key:"setPageAreaService",value:function(A){this.pageAreaService=A}},{key:"getCurrentPageAreaScrollY",value:function(){return pageService.getWindowScroll()}}, 1108{key:"getPositionRelativeToPageArea",value:function(A){if(!1===webwave.isDomElement(A))throw Error("Passed parameter is not a DOM object");A=A.getBoundingClientRect();var E=document.querySelector("#container").getBoundingClientRect();return new e.a({x:A.x-E.x,y:A.y-E.y})}},{key:"getViewPort",value:function(){return new l.a({size:new v.a({width:this.getViewPortWidth(),height:this.getViewPortHeight()}),position:new e.a({x:this.getPageAreaX(),y:this.getPageAreaY()+this.getCurrentPageAreaScrollY()})})}}, 1109{key:"isObjectInPageAreaVerticalViewport",value:function(A){var E=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{fullyContain:!0};if(!1===webwave.isDomElement(A))throw Error("Passed parameter is not a DOM object");var C=this.getPositionRelativeToPageArea(A);C=new l.a({size:new v.a({width:A.offsetWidth,height:A.offsetHeight}),position:C});var D=this.getViewPort();return E.fullyContain?D.contains(C):D.intersects(C)}},{key:"getRenderedHeight",value:function(){return this.getViewPortHeight()}}, 1110{key:"setWindowService",value:function(A){this.windowService=A;A.addSizeChangeListener(this);A.addBrowserZoomLevelChangeListener(this)}},{key:"onWindowSizeChange",value:function(A,E){this.triggerPropertyChange("renderedHeight",A,E)}},{key:"onBrowserZoomLevelChange",value:function(A,E){this.triggerPropertyChange(f.a.BROWSER_ZOOM_LEVEL,A,E)}}]),z}(r.c)},3631:function(r,k,a){function t(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"== 1111typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(f.a)(v);if(p){var u=Object(f.a)(this).constructor;w=Reflect.construct(w,arguments,u)}else w=w.apply(this,arguments);return Object(b.a)(this,w)}}a.d(k,"a",function(){return l});
1111var q,n=a(0),m=a(1),d=a(3),b=a(4),f=a(2),g=a(10),c=a(30),e=a(200);r=a(55);var h=a(43);k=a(20);a.n(k);var l=Object(k.injectable)()(q=function(v){function p(){var u; 1112return Object(n.a)(this,p),(u=w.call(this))._vScrollVisible=!1,u._hScrollVisible=!1,u._bodyHeight=0,u}Object(d.a)(p,v);var w=t(p);return Object(m.a)(p,[{key:"getContainerWidth",value:function(){return this.getContainerNode().offsetWidth}},{key:"getContainerHeight",value:function(){return this._bodyHeight}},{key:"getWindowWidth",value:function(){return document.documentElement.clientWidth}},{key:"getWindowHeight",value:function(){return g.o.isMobileDevice()?window.innerHeight:document.documentElement.clientHeight}}, 1113{key:"getContainerRect",value:function(){return new e.a({size:new h.a({width:this.getContainerWidth(),height:this.getContainerHeight()}),position:new c.a({x:this.getContainerX(),y:this.getContainerY()})})}},{key:"setVScrollVisible",value:function(u){var z=this._vScrollVisible!==u;this._vScrollVisible=u;z&&com.webwave.publication.object.ObjectService.getInstance().updateObjectsAfterWindowResize()}},{key:"setHScrollVisible",value:function(u){var z=this._hScrollVisible!==u;this._hScrollVisible=u;z&& 1114com.webwave.publication.object.ObjectService.getInstance().updateObjectsAfterWindowResize()}},{key:"updateScrollVisibility",value:function(){document.body&&(this.setVScrollVisible(document.body.scrollHeight>window.innerHeight),this.setHScrollVisible(document.body.scrollWidth>window.innerWidth))}},{key:"getContainerX",value:function(){var u=0;return this.getContainerNode()&&(u=this.getContainerNode().getBoundingClientRect().left),u}},{key:"getContainerNode",value:function(){return document.getElementById("container")}}, 1115{key:"getContainerY",value:function(){return parseInt($("#container").css("top"),10)}},{key:"setBodyHeight",value:function(u){var z=this._bodyHeight!==u;this._bodyHeight=u;z&&(this.getDocumentBody().style.height="".concat(u,"px"),com.webwave.publication.object.ObjectService.getInstance().updatePercentDependentObjectParams({vertical:!0}),this.updateScrollVisibility())}},{key:"getDocumentBody",value:function(){return document.body}}]),p}(r.a))||q},38:function(r,k,a){a.d(k,"a",function(){return m}); 1116var t=a(0),q=a(1),n=a(91),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"setWindowConfigValue",value:function(b,f){d.setValue(window.config,b,f)}},{key:"setValue",value:function(b,f,g){if(webwave.isString(f)){f=f.split(".");b=webwave.isDef(b)?b:window.config;for(var c=0;c<f.length-1;c++)webwave.isNotDef(b[f[c]])&&(b[f[c]]={}),b=b[f[c]];b[f[f.length-1]]=g}}},{key:"getValue",value:function(b,f,g){if(webwave.isString(b)){b=b.split(".");g=webwave.isDef(g)?g:window.config; 1117if(webwave.isNotDef(g))return f;for(var c=0;c<b.length;c++){if(!webwave.isDef(g[b[c]]))return f;g=g[b[c]]}return g}return null}},{key:"getDecodedJSON",value:function(b){b=n.a.decodeHtml(d.getValue(b));return webwave.isValidJSON(b)?JSON.parse(b):{}}},{key:"isValueExists",value:function(b,f){return webwave.isDef(d.getValue(b,f))}}]),d}()},39:function(r,k,a){r.exports=a(213)},4:function(r,k,a){k.a=function(n,m){if(m&&("object"===Object(t.a)(m)||"function"==typeof m))return m;if(void 0!==m)throw new TypeError("Derived constructors may only return object or undefined"); 1118return Object(q.a)(n)};var t=a(33),q=a(11)},40:function(r,k,a){var t=a(8752),q=a(8753),n=a(185);a.d(k,"b",function(){return t.a});a.d(k,"a",function(){return q.a});a.d(k,"c",function(){return n.a})},4079:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});a.d(k,"default",function(){return Fa});var t=a(41),q=a(0),n=a(1);r=a(39);var m=a.n(r),d=(a(1488),a(20)),b=(a.n(d),a(3378)),f=a(4138),g=a(3627),c=a(2352),e=a(3536),h=a(4139),l=a(10),v=a(1271),p=a(4140),w=a(3628),u=a(2321),z=a(4141),y= 1119a(3379),A=a(954),E=a(1341),C=a(3629),D=a(2322),F=a(3537),B=a(4143),H=a(4080),x=a(2265),G=a(2536),I=a(2663),L=a(2806),M=a(3630),P=a(4144),R=a(3538),Y=a(4145),K=a(4146),Q=a(3541),S=a(3631),X=a(3381),T=a(820),Z=a(4147),U=a(2323),W=a(2240),ea=a(4148),ja=a(2162),va=a(38),na=a(28),ca=a(1368),ya=a(26),Da=a(2231),Ha=a(4149),Fa=function(){function Ea(){Object(q.a)(this,Ea);this.container=new d.Container;this.globalWebsiteData={};this._requireResize=!1;this.servicesToInit=[]}return Object(n.a)(Ea,[{key:"run", 1120value:function(){var V=Object(t.a)(m.a.mark(function ta(){var ra,sa=this;return m.a.wrap(function(da){for(;;)switch(da.prev=da.next){case 0:this._initResizeHandler(),(ra=new ja.a).addToQueue(function(){sa.injectDependencies()}),ra.addToQueue(function(){sa.init()}),ra.dequeue(),this._initPolyfill(),this._initFontsLoadedEventListener();case 7:case "end":return da.stop()}},ta,this)}));return function(){return V.apply(this,arguments)}}()},{key:"injectDependencies",value:function(){var V=this.container; 1121V.bind(na.a.Container).toConstantValue(V);V.bind(na.a.StoreStorage).to(Q.a).inSingletonScope();V.bind(na.a.StoreCartsProductCounterService).to(K.a).inSingletonScope();V.bind(na.a.EnvironmentUtils).to(v.a).inSingletonScope();V.get(na.a.EnvironmentUtils).setEnvironment(l.h);V.bind(na.a.WindowService).to(W.a).inSingletonScope();
1121V.bind(ca.a.BackgroundParallaxService).to(f.a).inSingletonScope();V.bind(ca.a.BrowserHistoryService).to(g.a).inSingletonScope();V.bind(ca.a.ElementRotationService).to(e.a).inSingletonScope(); 1122V.bind(ca.a.ElementAttributeService).toConstantValue(window.elementAttributeService);V.bind(ca.a.ElementService).to(h.a).inSingletonScope();V.bind(ca.a.FacebookService).to(p.a).inSingletonScope();V.bind(na.a.FrontendTranslation).to(u.a).inSingletonScope();V.bind(na.a.LocationService).toConstantValue(com.webwave.utils.location.locationService);V.bind(ca.a.GroupService).to(z.a).inSingletonScope();V.bind(ca.a.LocalStorageService).to(D.a).inSingletonScope();V.bind(ca.a.LoadResourceUtils).to(C.a).inSingletonScope(); 1123V.bind(ca.a.MediaPlayerService).to(F.a).inSingletonScope();V.bind(ca.a.MenutoolService).to(B.a).inSingletonScope();V.bind(ca.a.FeedService).to(w.a).inSingletonScope();V.bind(ca.a.ObjectService).to(I.a).inSingletonScope();V.bind(ca.a.PageService).to(L.a).inSingletonScope();V.bind(ca.a.PublicatedScrollService).to(P.a).inSingletonScope();V.bind(ca.a.PublishedPageAreaService).to(S.a).inSingletonScope();V.bind(ca.a.RwdService).toConstantValue(window.rwdService);V.bind(ca.a.UserService).to(Z.a).inSingletonScope(); 1124V.bind(ca.a.UtilService).to(U.a).inSingletonScope();V.bind(ca.a.ModularObjectContentService).to(H.a).inSingletonScope();V.bind(ya.a.StoreAnalyticsManager).to(Y.a).inSingletonScope();V.bind(ya.a.OrderPopupService).to(R.a).inSingletonScope();V.bind(ya.a.InteractionsService).to(y.a).inSingletonScope();V.bind(na.a.LoadingBoxService).to(E.a).inSingletonScope();V.bind(ya.a.RelationManagerService).to(X.a).inSingletonScope();webwave.utils.setEnvironmentUtils(this.container.get(na.a.EnvironmentUtils));window.utilService= 1125this.container.get(ca.a.UtilService);webwave.provide("com.webwave.publication.object.ObjectService");V=this.container.get(ca.a.PageService);window.pageService=V;l.o.reloadIfBackForwadCacheInAppleDevice();V=this.container.get(ca.a.ObjectService);I.a.__instance=V;com.webwave.publication.object.ObjectService=I.a;V=this.container.get(ca.a.GroupService);window.groupService=V;V=this.container.get(ca.a.ElementService);window.elementService=V;V=this.container.get(ca.a.FacebookService);window.facebookService= 1126V;V=this.container.get(ca.a.MediaPlayerService);com.webwave.publication.object.mediaPlayerService=V;V=this.container.get(ca.a.MenutoolService);window.menutoolService=V;window[window.WWNamespace.POPUP_MANAGER]=new T.a;this.preInitMethods()}},{key:"init",value:function(){var V=Object(t.a)(m.a.mark(function ta(){var ra,sa,da,ka,ia,J,N,O,ba,aa,ha,la,qa,oa,za,Ba,fa,Ca,wa,ma,ua=this;return m.a.wrap(function(Aa){for(;;)switch(Aa.prev=Aa.next){case 0:return this._setAppAsInitializing(),l.o.reloadIfBackForwadCacheInAppleDevice(), 1127sa=this.container.get(ca.a.PageService),da=this.container.get(ca.a.ObjectService),ka=this.container.get(ca.a.GroupService),ia=this.container.get(ca.a.ElementService),J=this.container.get(ca.a.FeedService),this.servicesToInit.push(this.container.get(ca.a.BrowserHistoryService),J),sa.addPageTypeClassToBody(),N=A.a.parseJsonFromNodeWithId("ww-data"),webwave.isObject(N)&&(this.globalWebsiteData=N),ia.setHighestZIndex(null===(ra=this.getGlobalWebsiteData())||void 0===ra?void 0:ra.highestPageZIndex),O= 1128this.container.get(ca.a.PublicatedScrollService),ba=this.container.get(ya.a.RelationManagerService),ka.setRelationManagerService(ba),aa=new c.a,ha=new ea.a,(la=window.rwdService).setElementAttributeService(this.container.get(ca.a.ElementAttributeService)),la.addRwdModeChangeListener(ka),la.addRwdModeChangeListener(da),la.init(),this.container.get(ca.a.ModularObjectContentService).init(),qa=this.container.get(ca.a.MenutoolService),oa=this.container.get(ca.a.PublishedPageAreaService),qa.setObjectService(da), 1129J.setObjectService(da),da.setMenutoolService(qa),da.setPageAreaService(oa),da.setRelationManagerService(ba),da.setBrowserWebPSupportUtils(aa),da.setAnimator(com.webwave.animator.animator),da.setPhotoswipeService(com.webwave.photoswipe.PhotoswipeService.getInstance()),da.setWIntersectionObserver(ha),da.setOrderPopupService(this.container.get(ya.a.OrderPopupService)),ba.setObjectService(da),za=this.container.get(na.a.WindowService),(Ba=new M.a).setWindowService(za),Ba.setPageAreaService(oa),da.setPageCanvas(Ba
1129), 1130sa.setPageCanvas(Ba),(fa=this.container.get(ya.a.InteractionsService)).setObjectService(da),da.setInteractionsService(fa),la.addRwdModeChangeListener(fa),Ca=this.container.get(ca.a.BackgroundParallaxService),sa.setObjectService(da),sa.setBrowserWebPSupportUtils(aa),ha.init(),sa.setPageAreaService(oa),Aa.next=53,da.initObjects();case 53:!0!==va.a.getValue("publicatedPageApp.doNotSetAdditionalServices")&&(ia.initFbElements(),Ca.triggerScrollListeners(),sa.updateBackgroundSize(),[Ca,da].forEach(function(xa){O.addScrollListener(xa)}), 1131O.initScrollTickListener());sa.initDownloadProtection();ia.initAllLinksScroll();sa.initLinkScroll();ia.addButtonHoverEvent();J.updateHeightForNewsInAllFeeds();J.setBrowserWebPSupportUtils(aa);aa.init().then(function(xa){da.initLazyLoadForObjects();!0===xa&&(J.changeFeedsContainerThumbnailToWebP(),ia.changeButtonBackgroundImageToWebP())});da.initObjectInViewportListeners();"complete"===document.readyState?this.onLoadCallback():window.addEventListener("load",function(){ua.onLoadCallback()});this._windowSizeChangeHandler= 1132function(){if(!0!==va.a.getValue("publicatedPageApp.doNotSetAdditionalServices")){oa.updateScrollVisibility();var xa=com.webwave.publication.object.ObjectService.getInstance().getRootWObject();null!==xa&&xa.setBulkMode(!0);J.updateHeightForNewsInAllFeeds();la.handleWindowResize(window.innerWidth);J.updatePaginationListSizeInFeeds();da.updateObjectsAfterWindowResize();null!==xa&&xa.setBulkMode(!1)}};(wa=new CustomEvent(Da.a)).context=this;document.dispatchEvent(wa);this.setAppStatus(Da.b.INITIALIZED); 1133this._addListenerToAfterInitializationServices();for(ma=0;ma<this.servicesToInit.length;ma++)this.servicesToInit[ma].init();this._injectDependenciesToAsynchronousModules();this._requireResize&&this._windowSizeChangeHandler();case 72:case "end":return Aa.stop()}},ta,this)}));return function(){return V.apply(this,arguments)}}()},{key:"onLoadCallback",value:function(){this._onLoadInitialization()}},{key:"_onLoadInitialization",value:function(){var V=this,pa=new ja.a({continueOnError:!0});pa.addToQueue(function(){com.webwave.publication.object.ObjectService.getInstance().updateRotatedObjectsAfterFontsHasBeenLoaded()}); 1134pa.addToQueue(function(){V.container.get(ca.a.FeedService).updateHeightForNewsInAllFeeds()});pa.addToQueue(function(){V._initAdverts()});pa.addToQueue(function(){V._handleFontLoad()});pa.addToQueue(function(){V.container.get(ca.a.PublicatedScrollService).enableCallingActionsOnListeners()});pa.addToQueue(function(){V.container.get(ca.a.ObjectService).updateStickyWNodes()});pa.addToQueue(function(){elementService.initForms()});pa.dequeue()}},{key:"addGoogleFontLoadHandler",value:function(){var V=this; 1135webwave.isDef(document.fonts)?document.fonts.ready.then(function(){V.updateGoogleFontsElements()}):this.updateGoogleFontsElements()}},{key:"updateGoogleFontsElements",value:function(){com.webwave.publication.object.ObjectService.getInstance().updateAllFontDependentWObjects()}},{key:"setAppStatus",value:function(V){this.container.get(ca.a.PublishedPageAreaService).getDocumentBody().dataset.pageAppStatus=V}},{key:"isInitialized",value:function(){return this.container.get(ca.a.PublishedPageAreaService).getDocumentBody().dataset.pageAppStatus=== 1136Da.b.INITIALIZED}},{key:"getServiceFromContainer",value:function(V){return this.container.get(V)}},{key:"getGlobalWebsiteData",value:function(){return this.globalWebsiteData}},{key:"preInitMethods",value:function(){}},{key:"_injectAfterInitializationService",value:function(V){V.inject(this)}},{key:"_setAppAsInitializing",value:function(){var V=this.container.get(ca.a.PublishedPageAreaService),pa=V.getDocumentBody();V.setBodyHeight(pa.scrollHeight);this.setAppStatus(Da.b.INITIALIZING)}},{key:"_handleFontLoad", 1137value:function(){var V=this;!0===window.webwaveFontsLoadedFlag?this.addGoogleFontLoadHandler():window.addEventListener("webwave.fontsLoadedEvent",function(){V.addGoogleFontLoadHandler()})}},{key:"_initAdverts",value:function(){"undefined"!=typeof webwaveAdsService&&webwaveAdsService.initAdvertButton()}},{key:"_addListenerToAfterInitializationServices",value:function(){var V=this;document.addEventListener(b.a,function(pa){V._injectAfterInitializationService(pa.service)})}},{key:"_injectDependenciesToAsynchronousModules", 1138value:function(){var V=this;G.a.waitForLoad(x.a.STORE_APP).then(function(pa){pa.injectDependenciesFromOtherApp({storeAnalyticsManager:V.container.get(ya.a.StoreAnalyticsManager),orderPopupService:V.container.get(ya.a.OrderPopupService)})})}},{key:"_initResizeHandler",value:function(){var V=this;$(window).resize(function(pa){pa.target===window&&(webwave.isFunction(V._windowSizeChangeHandler)?V._windowSizeChangeHandler():V._requireResize=!0)})}},{key:"_initFontsLoadedEventListener",value:function(){var V= 1139this;document.fonts.addEventListener("loadingdone",function(){V.addGoogleFontLoadHandler()})}},{key:"_initPolyfill",value:function(){l.o.isAppleDeviceWithTouchScreen()&&(new Ha.a).init()}}]),Ea}()},4080:function(r,k,a){function t(y){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var E= 1140Object(l.a)(y);if(A){var C=Object(l.a)(this).constructor;E=Reflect.construct(E,arguments,C)}else E=E.apply(this,arguments);return Object(h.a)(this,E)}}a.d(k,"a",function(){return z});var q,n,m,d=a(8),b=a(0),f=a(1),g=a(11),c=a(17),e=a(3),h=a(4),l=a(2);r=a(7);var v=(a(9),a(2662));k=a(55);var p=a(2536),w=a(1368),u=a(20);a.n(u);var z=(q=Object(u.inject)(w.a.LoadResourceUtils),n=function(y){function A(){var C;Object(b.a)(this,A);for(var D=arguments.length,F=Array(D),B=0;B<D;B++)F[B]=arguments[B];return C= 1141E.call.apply(E,[this].concat(F)),Object(d.a)(C,"loadResourceUtils",m,Object(g.a)(C)),C._loadedModularContent={},C._modularContentResources=void 0,C}Object(e.a)(A,y);var E=t(A);return Object(f.a)(A,[{key:"init",value:function(){Object(c.a)(Object(l.a)(A.prototype),"init",this).call(this);this._modularContentResources=wwConfig.additionalResoucresUrl.modularObjectContent}},{key:"createModularContent",value:function(C){var D=this;return new Promise(function(F){!1===D._isModuleLoaded(C)?(p.a.waitForLoad(C).then(function(B){D._loadedModularContent[C]= 1142B;F(D._createModularContentInstance(C))}),D._loadModule(C)):F(D._createModularContentInstance(C))})}},{key:"_createModularContentInstance",value:function(C){return new this._loadedModularContent[C]}}
1142,{key:"_loadModule",value:function(C){var D,F,B=null===(D=this._modularContentResources[C])||void 0===D?void 0:D.js;C=null===(F=this._modularContentResources[C])||void 0===F?void 0:F.css;webwave.isDef(B)&&this.loadResourceUtils.loadJs(new v.a({link:B}));webwave.isDef(C)&&this.loadResourceUtils.loadCss(new v.a({link:C}))}}, 1143{key:"_isModuleLoaded",value:function(C){return!0===this._loadedModularContent.hasOwnProperty(C)}}]),A}(k.a),m=Object(r.a)(n.prototype,"loadResourceUtils",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},41:function(r,k,a){function t(q,n,m,d,b,f,g){try{var c=q[f](g),e=c.value}catch(h){return void m(h)}c.done?n(e):Promise.resolve(e).then(d,b)}k.a=function(q){return function(){var n=this,m=arguments;return new Promise(function(d,b){function f(e){t(c,d,b,f,g,"next",e)}function g(e){t(c, 1144d,b,f,g,"throw",e)}var c=q.apply(n,m);f(void 0)})}}},4138:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c);if(e){var l=Object(f.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this, 1145h)}}a.d(k,"a",function(){return g});var q,n=a(0),m=a(1),d=a(3),b=a(4),f=a(2);r=a(55);k=a(20);a.n(k);var g=Object(k.injectable)()(q=function(c){function e(){var l;Object(n.a)(this,e);for(var v=arguments.length,p=Array(v),w=0;w<v;w++)p[w]=arguments[w];return(l=h.call.apply(h,[this].concat(p)))._scrollListeners=[],l}Object(d.a)(e,c);var h=t(e);return Object(m.a)(e,[{key:"triggerScrollListeners",value:function(l){for(var v=this._scrollListeners.length-1;0<=v;
1145v--)this._scrollListeners[v].updateBackgroundParallaxPosition(l)}}, 1146{key:"onPageAreaScrollChange",value:function(l,v){v!=l&&this.triggerScrollListeners(l)}},{key:"addParallaxListener",value:function(l){-1===this._scrollListeners.indexOf(l)&&this._scrollListeners.push(l)}},{key:"removeParallaxListener",value:function(l){l=this._scrollListeners.indexOf(l);-1!==l&&this._scrollListeners.splice(l,1)}},{key:"getScrollListeners",value:function(){return this._scrollListeners}}]),e}(r.a))||q},4139:function(r,k,a){function t(A){var E=function(){if("undefined"==typeof Reflect|| 1147!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(C){return!1}}();return function(){var C=Object(v.a)(A);if(E){var D=Object(v.a)(this).constructor;C=Reflect.construct(C,arguments,D)}else C=C.apply(this,arguments);return Object(l.a)(this,C)}}a.d(k,"a",function(){return y});var q,n,m,d,b,f=a(8),g=a(0),c=a(1),e=a(11),h=a(3),l=a(4),v=a(2);r=a(7);var p=(a(9),a(10));k=a(55); 1148var w=a(3341),u=a(20);a=(a.n(u),a(1368));var z=com.webwave.publication.wobject.wbutton.WButton,y=(q=Object(u.injectable)(),n=Object(u.inject)(a.a.ObjectService),q((b=d=function(A){function E(){var D,F;return Object(g.a)(this,E),F=C.call(this),Object(f.a)(F,"objectService",m,Object(e.a)(F)),F._wFormValidator=void 0,F._highestZIndex=0,F.recaptchaSiteKey=null===(D=document.getElementById(E.RECAPTCHA_API_ID))||void 0===D?void 0:D.getAttribute("siteKey"),F}Object(h.a)(E,A);var C=t(E);return Object(c.a)(E, 1149[{key:"initAllLinksScroll",value:function(){var D=this;$("body").on("click",'a[href*="?anchorElement"]['+E.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME+"]:not(.ww_menu_item_link)",function(F){F.preventDefault();D.executePageScrollLinkEvent($(this))})}},{key:"executePageScrollLinkEvent",value:function(D){D=D.attr("href");var F=D.substr(D.indexOf("?"),D.length);D=utilService.extractGETParameter("anchorElement",F);F=utilService.extractGETParameter("scrollMargin",F);D=$("#"+D);if(D.length)return pageService.scrollPageToElement(D, 1150{forceTop:!0,margin:F}),!1}},{key:"initFbElements",value:function(){0<$(".fb-comments").length+$(".fb-like").length&&facebookService.init()}},{key:"initForms",value:function(){this._wFormValidator=new w.a;this.initSendButton()}},{key:"initSendButton",value:function(){var D=this;0<$('#container .ww_form_frame input[type="file"]').length?utilService.getDynamicallyJSFile(wwConfig.additionalResoucresUrl.js.fileUploadPlugin,function(){D.initFormsAction(!0)}):this.initFormsAction(!1)}},{key:"initFormsAction", 1151value:function(D){var F=this;$("#container .ww_form").each(function(){var B=$(this);D&&void 0!==B.fileupload&&B.fileupload({url:pageService.getPathForAjax()+"/publishedWebsite/sendMailsFromForm",autoUpload:!1,multiple:!1,replaceFileInput:!1,singleFileUploads:!1,multipart:!0,change:function(x,G){F._wFormValidator.validateFileInput(G)},done:function(x,G){F.sendFormSuccessCallback(B)}});B[0].onkeypress=function(x){13===(x.charCode||x.keyCode||0)&&"TEXTAREA"!==x.target.nodeName&&(x.preventDefault(),F.submitClickHandler(B, 1152D))};var H=B.find(".ww_submit_button_content");p.o.isMobileAppleDevice()?p.o.emulateClickEventForAppleDevice(H,function(){F.submitClickHandler(B,D)}):H.click(function(){F.submitClickHandler(B,D)})})}},{key:"submitClickHandler",value:function(D,F){if(1==this.checkIsAllRequiredFieldsAreValid(D)){var B=[];if(F){var H=[];D.find('input[type="file"]').each(function(x){var G=$(this).data("file");void 0!==G&&0<G.size&&(B.push(G),H.push("file_"+x))})}F={};F.params=JSON.stringify(this.getFormMap(D));F.websiteId= 1153pageService.getWebsiteId();F.mails=D.attr("receiveremails");F.emailTitle=D.attr("emailTitle");F.replyTo=D.attr("replyTo");F.hashId=D.attr("hashid");F.toolType=D.attr("tooltype");F.pageId=pageService.getPageId();F.apiVersion=E.CURRENT_FORM_API_VERSION;F.formId=D.attr("id");this.sendFormMessage(F,D,B)}else this.animateTextForFormButton(D)}},{key:"sendFormMessage",value:function(D,F){var B=this,H=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;this.recaptchaSiteKey?window.grecaptcha.ready(function(){window.grecaptcha.execute(B.recaptchaSiteKey, 1154{action:"submit"}).then(function(x){D.recaptchaToken=x;B._sendFormAjax(D,F,H)})}):this._sendFormAjax(D,F,H)}},{key:"_sendFormAjax",value:function(D,F){var B=this,H=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,x={url:pageService.getPathForAjax()+"/publishedWebsite/sendMailsFromForm",type:"post",data:D,success:function(I){B.sendFormSuccessCallback(F)}};if(H&&0<H.length){x.processData=!1;x.contentType=!1;var G=new FormData;
1154Object.keys(D).forEach(function(I){G.append(I,D[I])});H.forEach(function(I, 1155L){G.append("file_".concat(L),I)});x.data=G}$.ajax(x)}},{key:"sendFormSuccessCallback",value:function(D){var F=D.find(".ww_submit_button_wrapper").find("a"),B=F.attr("href");this.animateTextForFormButton(D);this.objectService.getWObjectById(this._getElementId(D)).resetFormValues(D);webwave.isDef(B)&&F[0].click()}},{key:"getFormMap",value:function(D){var F=this,B=[];return D.find(".ww_form_cell_2").each(function(){var H=$(this).find("input, textarea, select, .ww_multiple_select_wrapper").eq(0);0<H.length&& 1156B.push({label:$(this).attr("label"),value:F._getFormFieldValue.call(F,H)})}),B}},{key:"_getFormFieldValue",value:function(D){return 1==D.is(":checkbox")?D.is(":checked")?i18n.t("default.yesLabel"):i18n.t("default.noLabel"):1==D.is("select")&&1==D.is("[multiple]")?this.getMultipleSelectValues(D):D.hasClass("ww_multiple_select_wrapper")?this.getMultipleCheckboxValues(D):D.is('[type="file"]')?0<D[0].files.length?D[0].files[0].name:"":D.val()}},{key:"checkIsAllRequiredFieldsAreValid",value:function(D){return this._wFormValidator.validate(D, 1157".ww_form_cell_2")}},{key:"getMultipleSelectValues",value:function(D){var F=[];return D.find(":selected").each(function(B,H){F.push($(H).text())}),F}},{key:"getMultipleCheckboxValues",value:function(D){var F=[];return D.find(":checkbox").each(function(){var B=$(this),H=B.next().find(".ww_inner_element_content");B.is(":checked")&&F.push(H.html())}),F}},{key:"_getElementId",value:function(D){return D.closest(".ww_element").attr("id")}},{key:"animateTextForFormButton",value:function(D){var F=D.find(".ww_form_submit"), 1158B="flex"!==D.find(".form_content_wrapper").css("display"),H=D.find(".ww_form_frame_info_wrapper"),x=this.objectService.getWObjectById(this._getElementId(D));F.animate({opacity:"0"},400,function(){B&&F.hide();H.css("display","inline-block");x.updateMinSize();H.animate({opacity:"1"}).delay(3E3).animate({opacity:"0"},400,function(){B&&F.show();H.hide();F.animate({opacity:"1"},400,function(){x.updateMinSize()});x.updateMinSize()})})}},{key:"addButtonHoverEvent",value:function(){var D=this;$(".ww_button_content").hover(function(){var F= 1159$(this),B=D.getBackgroundBoxForButtonNormalState(F),H=D.getTextBoxForButtonNormalState(F);B.addClass("ww_transparent");0<F.find(".hover.ww_button_text_wrapper").length&&H.addClass("ww_transparent")},function(){var F=D.getBackgroundBoxForButtonNormalState($(this)),B=D.getTextBoxForButtonNormalState($(this));F.removeClass("ww_transparent");B.removeClass("ww_transparent")})}},{key:"getBackgroundBoxForButtonNormalState",value:function(D){return D.find(".ww_button_background_image_box.normal")}},{key:"getTextBoxForButtonNormalState", 1160value:function(D){return D.find(".ww_button_text_wrapper.normal")}},{key:"getBackgroundBoxForButtonHoverState",value:function(D){return D.find(".ww_button_background_image_box.hover")}},{key:"getTextBoxForButtonHoverState",value:function(D){return D.find(".ww_button_text_wrapper.hover")}},{key:"sameBackgroundProperties",value:function(D,F){var B=!1;return D.css("background-image")==F.css("background-image")&&D.css("background-size")==F.css("background-size")&&D.css("background-position")==F.css("background-position")&& 1161D.css("background-repeat")==F.css("background-repeat")&&(B=!0),B}},{key:"sameFont",value:function(D,F){var B=!1,H=D.find(".ww_button_text"),x=F.find(".ww_button_text");return D.find("span").text()==F.find("span").text()&&H.css("font-size")==x.css("font-size")&&H.css("font-style")==x.css("font-style")&&H.css("color")==x.css("color")&&H.css("font-weight")==x.css("font-weight")&&H.css("font-family")==x.css("font-family")&&H.css("text-align")==x.css("text-align")&&H.css("vertical-align")==x.css("vertical-align")&& 1162(B=!0),B}},{key:"isTransparent",value:function(D){var F,B,H,x=!1;return"transparent"===D?x=!0:D.startsWith("rgba")&&(F=/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d|\d\.\d*)\)/,(B=D.match(F))&&5===B.length&&(H=parseFloat(B[4]),1>Math.max(H,0)&&(x=!0))),x}},{key:"findAllWButton",value:function(){return com.webwave.publication.object.ObjectService.getInstance().findAllWObjectsByClass(z)}}
1162,{key:"changeButtonBackgroundImageToWebP",value:function(){for(var D=this.findAllWButton(),F=0;F< 1163D.length;F++)D[F].changeStylesBackgroundImageExtensionIfNecessary()}},{key:"moveElementOnTop",value:function(D){D.css("zIndex",this.getHighestZIndex())}},{key:"moveElementBack",value:function(D){D.css("zIndex","")}},{key:"setHighestZIndex",value:function(D){this._highestZIndex=D}},{key:"getHighestZIndex",value:function(){return this._highestZIndex}}]),E}(k.a),d.SAME_PAGE_ELEMENT_LINK_ATTRIBUTE_NAME="data-samePage",d.CURRENT_FORM_API_VERSION="v2.0",d.RECAPTCHA_API_ID="google-recaptcha-api",m=Object(r.a)(b.prototype, 1164"objectService",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b))||b)},4140:function(r,k,a){function t(h){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(g.a)(h);if(l){var p=Object(g.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this, 1165arguments);return Object(f.a)(this,v)}}a.d(k,"a",function(){return e});var q,n,m=a(0),d=a(1),b=a(3),f=a(4),g=a(2);r=a(55);k=a(20);var c=(a.n(k),a(2661)),e=Object(k.injectable)()((n=q=function(h){function l(){var p;Object(m.a)(this,l);for(var w=arguments.length,u=Array(w),z=0;z<w;z++)u[z]=arguments[z];return(p=v.call.apply(v,[this].concat(u))).facebookAPIReady=!1,p.actionsQueue=[],p}Object(b.a)(l,h);var v=t(l);return Object(d.a)(l,[{key:"init",value:function(){var p=this,w=$("#ww_language_locale").val(); 1166w="//connect.facebook.net/"+(void 0!==w?w:l.DEFAULT_LANGUAGE_LOCALE)+"/sdk.js#xfbml=1&version="+c.a.FACEBOOK_GRAPH_VERSION;$.ajaxSetup({cache:!0});window.fbAsyncInit=function(){FB.init({status:!1,cookie:!1,xfbml:!0,version:c.a.FACEBOOK_GRAPH_VERSION});p.facebookAPIReady=!0;FB.Event.subscribe("comment.create",p.commentCallback.bind(p));FB.Event.subscribe("comment.remove",p.commentCallback.bind(p));FB.Event.subscribe("xfbml.render",p.commentCallback.bind(p));p.executeActionsQueue()};$.getScript(w)}}, 1167{key:"commentCallback",value:function(p){var w=webwave.isStringAndNotEmpty(p.href)?$('.fb-comments[data-href="'+p.href+'"]').parent():$(".fb-comments").parent();setTimeout(function(){var u=com.webwave.publication.object.ObjectService.getInstance();w.each(function(){var z=u.getObjectById(utilService.getParentBaseElementId($(this)));webwave.isDef(z)&&z.updateMinSize()})},200)}},{key:"executeActionsQueue",value:function(){for(var p=0;p<this.actionsQueue.length;p++)"function"==typeof this.actionsQueue[p].callback&& 1168this.actionsQueue[p].callback()}},{key:"executeAction",value:function(p){"function"==typeof p&&(this.facebookAPIReady?p():this.actionsQueue.push({callback:p}))}},{key:"setFacebookAPIReady",value:function(p){this.facebookAPIReady=!0===p}},{key:"getFacebookAPIReady",value:function(){return this.facebookAPIReady}}]),l}(r.a),q.DEFAULT_LANGUAGE_LOCALE="en_US",n))||n},4141:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1; 1169if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c);if(e){var l=Object(f.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this,h)}}a.d(k,"a",function(){return g});var q,n=a(0),m=a(1),d=a(3),b=a(4),f=a(2);r=a(55);k=a(20);a.n(k);var g=Object(k.injectable)()(q=function(c){function e(){var l;Object(n.a)(this,e); 1170for(var v=arguments.length,p=Array(v),w=0;w<v;w++)p[w]=arguments[w];return(l=h.call.apply(h,[this].concat(p))).objectAnimationService=null,l.relationManagerService=null,l}Object(d.a)(e,c);var h=t(e);return Object(m.a)(e,[{key:"getFixedElemPosition",value:function(l){l=l.offset();return l.top-=window.scrollY,l.left-=window.scrollX,l}},{key:"getElemPosition",value:function(l){return{left:parseInt(l.css("left"),10),top:parseInt(l.css("top"),10)}}},{key:"getGroupEdgePosition",value:function(l,v){var p= 1171"fixed"===l.css("position")?this.getFixedElemPosition:this.getElemPosition,w=this.getGroupElements(l);switch(v){case "top":return w.reduce(function(u,z){z=parseInt(p(z).top,10);return z<u?z:u}
1171,1/0)-this.getPadding(l,"top")-this.getBorderWidth(l,"top");case "bottom":return w.reduce(function(u,z){z=parseInt(p(z).top,10)+parseInt(z.css("height"),10);return z>u?z:u},-1/0)+this.getPadding(l,"bottom")+this.getBorderWidth(l,"bottom");case "right":return w.reduce(function(u,z){z=parseInt(p(z).left,10)+parseInt(z.css("width"), 117210);return z>u?z:u},-1/0)+this.getPadding(l,"right")+this.getBorderWidth(l,"right");case "left":return w.reduce(function(u,z){z=parseInt(p(z).left,10);return z<u?z:u},1/0)-this.getPadding(l,"left")-this.getBorderWidth(l,"left")}}},{key:"updateVerticalDimensionValues",value:function(l){var v=0<this.getGroupElements(l).length,p=v?this.getGroupEdgePosition(l,"top"):0,w=v?this.getGroupEdgePosition(l,"bottom"):0;l.css("top",p);l.css("bottom",w);l.css("height",w-p);l.css("overflow",v?"visible":"hidden ")}}, 1173{key:"updateHorizontalDimensionValues",value:function(l){var v="fixed"===l.css("position"),p=this.getGroupEdgePosition(l,"left"),w=this.getGroupEdgePosition(l,"right");l.css("left",p);l.css("right",w);v&&l.css("margin-left","0");l.css("width",w-p)}},{key:"getPadding",value:function(l,v){l=l.children(".content");switch(v){case "left":var p=parseInt(l.css("padding-left"));break;case "right":p=parseInt(l.css("padding-right"));break;case "top":p=parseInt(l.css("padding-top"));break;case "bottom":p=parseInt(l.css("padding-bottom"))}return isNaN(p)? 11740:p}},{key:"getBorderWidth",value:function(l,v){l=l.children(".content");switch(v){case "left":var p=parseInt(l.css("borderLeftWidth"));break;case "top":p=parseInt(l.css("borderTopWidth"));break;case "right":p=parseInt(l.css("borderRightWidth"));break;case "bottom":p=parseInt(l.css("borderBottomWidth"))}return isNaN(p)?0:p}},{key:"getGroupElements",value:function(l){var v=[];l=com.webwave.publication.object.ObjectService.getInstance().getWObjectById(l.attr("id"));if(webwave.isDef(l)){l=l.getAllChildrenForSizeComputation(); 1175for(var p=0,w=l.length;p<w;p++)v.push(l[p].getDomObject())}return v}},{key:"disablePointerEventsForTransparentGroup",value:function(){var l=this;$(".group").each(function(){var v=$(this);1==l.isTranpsarent(v.children(".content"))&&v.css("pointer-events","none")})}},{key:"isTranpsarent",value:function(l){var v=!1;return 0==parseInt(100*parseFloat(l.css("opacity")))&&(v=!0),"none"!=l.css("backgroundImage")||"transparent"!=l.css("backgroundColor")&&"rgba(0, 0, 0, 0)"!=l.css("backgroundColor")||(v=!0), 1176v}},{key:"isGroup",value:function(l){return l.hasClass("group")}},{key:"filterEmptyGroups",value:function(l){var v=this,p=l;return void 0!==p&&(p=l.filter(function(){var w=!0;return v.isGroup($(this))&&(w=0<v.getGroupElements($(this)).length),w})),p}},{key:"onRwdModeChange",value:function(l){this.disablePointerEventsForTransparentGroup()}},{key:"setObjectAnimationService",value:function(l){this.objectAnimationService=l}},{key:"setRelationManagerService",value:function(l){this.relationManagerService= 1177l}}]),e}(r.a))||q},4142:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f}); 1178var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getHtml5Object",value:function(){return this.getDomObject()[0].querySelector("audio")}}]),c}(a(3339).a)},4143:function(r,k,a){function t(l){var v=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, 1179[],function(){})),!0}catch(p){return!1}}();return function(){var p=Object(g.a)(l);if(v){var w=Object(g.a)(this).constructor;p=Reflect.construct(p,arguments,w)}else p=p.apply(this,arguments);return Object(f.a)(this,p)}}a.d(k,"a",function(){return h});var q,n=a(27),m=a(0),d=a(1),b=a(3),f=a(4),g=a(2),c=a(2207),e=a(2313);r=a(55);k=a(20);a.n(k);var h=Object(k.injectable)()(q=function(l){function v(){var w;return Object(m.a)(this,v),(w=p.call(this)).objectService=null,w}Object(b.a)(v,l);var p=t(v);return Object(d.a)(v, 1180[{key:"setObjectService",value:function(w){this.objectService=w}},{key:"findAllFullWidthMobileMenus",value:function(){return this.objectService.findAllWObjects(function(w){return w instanceof com.webwave.publication.object.WMenu?w.isMobileMenu()&&w.getMobileMenuPosition()===c.a.BOTTOM&&w.getMobileMenuSize()===e.a.FULL_WIDTH:!1})}},{key:"findAllAutoWidthMobileMenus",value:function(){return this.objectService.findAllWObjects(function(w){return w instanceof com.webwave.publication.object.WMenu?w.isMobileMenu()&& 1181w.getMobileMenuPosition()===c.a.BOTTOM&&w.getMobileMenuSize()===e.a.AUTO:!1})}},{key:"updateMenusAfterWindowResize",value:function(){var w=this.findAllFullWidthMobileMenus(),u=this.findAllAutoWidthMobileMenus();
1181w=[].concat(Object(n.a)(w),Object(n.a)(u));for(u=0;u<w.length;u++)w[u].updateMobileMenuSizeAndPosition()}}]),v}(r.a))||q},4144:function(r,k,a){a.d(k,"a",function(){return m});var t,q=a(0),n=a(1);r=a(20);var m=(a.n(r),Object(r.injectable)()(t=function(){function d(){Object(q.a)(this,d);this._scrollListeners= 1182[];this._enableCallActionsOnListenerFlag=!1}return Object(n.a)(d,[{key:"initScrollTickListener",value:function(){var b=this,f=pageService.getWindowScroll(),g=webwave.requestAnimationFrame;!function e(){var h=f;f=pageService.getWindowScroll();b.triggerScrollListeners(f,h);g(e)}()}},{key:"triggerScrollListeners",value:function(b,f){var g=this;f!==b&&this._scrollListeners.forEach(function(c){!0===g._enableCallActionsOnListenerFlag&&c.onPageAreaScrollChange(b,f)})}},{key:"addScrollListener",value:function(b){-1=== 1183this._scrollListeners.indexOf(b)&&this._scrollListeners.push(b)}},{key:"enableCallingActionsOnListeners",value:function(){this._enableCallActionsOnListenerFlag=!0}}]),d}())||t)},4145:function(r,k,a){function t(x){var G=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(I){return!1}}();return function(){var I=Object(y.a)(x); 1184if(G){var L=Object(y.a)(this).constructor;I=Reflect.construct(I,arguments,L)}else I=I.apply(this,arguments);return Object(z.a)(this,I)}}a.d(k,"a",function(){return H});var q,n,m,d,b,f,g,c,e,h=a(41),l=a(8),v=a(0),p=a(1),w=a(11),u=a(3),z=a(4),y=a(2);r=a(7);k=(a(9),a(39));var A=a.n(k),E=a(3539),C=a(2265);k=a(3380);var D=a(1643),F=a(20),B=(a.n(F),a(1368));a=a(26);var H=(q=Object(F.injectable)(),n=Object(F.inject)(a.a.LocalStorageService),m=Object(F.inject)(B.a.ModularObjectContentService),d=Object(F.inject)(a.a.OrderPopupService), 1185q((e=c=function(x){function G(){var L;Object(v.a)(this,G);for(var M=arguments.length,P=Array(M),R=0;R<M;R++)P[R]=arguments[R];return L=I.call.apply(I,[this].concat(P)),Object(l.a)(L,"localStorageService",b,Object(w.a)(L)),Object(l.a)(L,"modularObjectContentService",f,Object(w.a)(L)),Object(l.a)(L,"orderPopupService",g,Object(w.a)(L)),L._initLoad=!1,L._storeSendAnalyticsEventService=void 0,L}Object(u.a)(G,x);var I=t(G);return Object(p.a)(G,[{key:"sendG4Event",value:function(){var L=Object(h.a)(A.a.mark(function Y(P, 1186R){return A.a.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:this._isInitializedClientG4()&&(webwave.isDef(this._storeSendAnalyticsEventService)?this._storeSendAnalyticsEventService.sendG4Event(P,R):(this._loadAnalyticsModule(),this._addEvent(P,R)));case 1:case "end":return K.stop()}},Y,this)}));return function(P,R){return L.apply(this,arguments)}}()},{key:"_addEvent",value:function(L,M){if(L===D.a.ViewItemEvent){var P=this._getItems();P.push({eventType:L,object:webwave.isFunction(null===M|| 1187void 0===M?void 0:M.serialize)?M.serialize():M});this._setItems(P)}}},{key:"_clearEventQue",value:function(){this._setItems([])}},{key:"_getItems",value:function(){var L=this.localStorageService.getObjectFromLocalStorage(G.NAME_STORAGE_EVENTS);return!1===webwave.isArrayLike(L)&&(L=[]),L}},{key:"_isInitializedClientG4",value:function(){return E.a.existElementWithClassName("client_analytics_id")}},{key:"_loadAnalyticsModule",value:function(){var L=this;!1===this._initLoad&&(this._initLoad=!0,this.modularObjectContentService.createModularContent(C.a.STORE_ANALYTICS).then(function(M){L._storeSendAnalyticsEventService= 1188M;L._storeSendAnalyticsEventService.injectDependenciesFromOtherApp({orderPopupService:L.orderPopupService});L._storeSendAnalyticsEventService.init(L._getItems());L._clearEventQue()}))}},{key:"_setItems",value:function(L){this.localStorageService.setLocalStorageObject(L,G.NAME_STORAGE_EVENTS)}}]),G}(k.a),c.NAME_STORAGE_EVENTS="storeAnalyticsEventQue",b=Object(r.a)(e.prototype,"localStorageService",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=Object(r.a)(e.prototype,"modularObjectContentService", 1189[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=Object(r.a)(e.prototype,"orderPopupService",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),e))||e)},4146:function(r,k,a){function t(z){var y=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(A){return!1}}();return function(){var A=Object(l.a)(z); 1190if(y){var E=Object(l.a)(this).constructor;A=Reflect.construct(A,arguments,E)}else A=A.apply(this,arguments);return Object(h.a)(this,A)}}a.d(k,"a",function(){return u});var q,n,m,d,b=a(8),f=a(0),g=a(1),c=a(11),e=a(3),h=a(4),l=a(2);r=a(7);k=(a(9),a(3540));var v=a(92),p=a(1368),w=a(20);a.n(w);var u=(q=Object(w.injectable)(),n=Object(w.inject)(p.a.ObjectService),q((m=function(z){function y(){var E;Object(f.a)(this,y);for(var C=arguments.length,D=Array(C),F=0;F<C;F++)D[F]=arguments[F];return E=A.call.apply(A, 1191[this].concat(D)),Object(b.a)(E,"objectService",d,Object(c.a)(E)),E}Object(e.a)(y,z);var A=t(y);return Object(g.a)(y,[{key:"updateStoreCartsList",value:function(){this._storeCarts=this.objectService.findAllWObjectsByType(v.a.STORE_CART).filter(function(E){return!0===E.getProductCounterEnabled()})}}]),y}(k.a),d=Object(r.a)(m.prototype,"objectService",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m))||m)},4147:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect|| 1192!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this, 1193arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"userLogged",value:function(){return"true"===$("#ww_user_logged_info").attr("userLogged")}}]),c}(a(55).a)},4148:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m);this._observer=void 0;this._observedObjects={}}
1193return Object(q.a)(m,[{key:"init",value:function(){this._observer=this._createIntersectionObserver()}},{key:"_createIntersectionObserver",value:function(){var d,b=this; 1194return"IntersectionObserver"in window&&(d=new IntersectionObserver(function(f){f.forEach(function(g){g.isIntersecting&&b._handleObjectsEntryToViewport(g.target)})},{root:null,threshold:0,rootMargin:"0px 0px 200px 0px"})),d}},{key:"_handleObjectsEntryToViewport",value:function(d){d=this._getDomObjectIntersectionAttr(d);if(this._observedObjects.hasOwnProperty(d)){var b=this._observedObjects[d];webwave.isDef(b)&&(b.enteredViewportHandler(),b.isSingleHandler()&&(this._observer.unobserve(b.getDomObject()), 1195delete this._observedObjects[d]))}}},{key:"addObject",value:function(d){if(webwave.isDef(this._observer)){var b=this._getNextAttr();this._observedObjects[b]=d;this._setDomObjectIntersectionAttr(d.getDomObject(),b);this._observer.observe(d.getDomObject())}else d.enteredViewportHandler()}},{key:"_getNextAttr",value:function(){return m.INTERSECTION_ATTR_PREFIX+ ++m._intersectionAttrCounter}},{key:"_setDomObjectIntersectionAttr",value:function(d,b){d.dataset[m.INTERSECTION_ATTR_NAME]=b}},{key:"_getDomObjectIntersectionAttr", 1196value:function(d){return d.dataset[m.INTERSECTION_ATTR_NAME]}}]),m}();n._intersectionAttrCounter=0;n.INTERSECTION_ATTR_PREFIX="wIntersectionObserver";n.INTERSECTION_ATTR_NAME="wIntersectionObserverObjectId"},4149:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,[{key:"init",value:function(){var d;window.addEventListener("touchstart",function(b){d=setTimeout(function(){var f=new CustomEvent("contextmenu",{detail:{target:b.target}, 1197target:b.target});window.dispatchEvent(f)},m.TRIGGER_CONTEXT_MENU_EVENT_TIMEOUT)});window.addEventListener("touchmove",function(){d&&(clearTimeout(d),d=null)});window.addEventListener("touchend",function(){d&&(clearTimeout(d),d=null)})}}]),m}();n.TRIGGER_CONTEXT_MENU_EVENT_TIMEOUT=500},43:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(30),m=function(){function d(b){Object(t.a)(this,d);webwave.isNotDef(b)&&(b={});this.width=webwave.isNumberAndNotNaN(b.width)?b.width:0;this.height= 1198webwave.isNumberAndNotNaN(b.height)?b.height:0}return Object(q.a)(d,[{key:"getWidth",value:function(){return this.width}},{key:"setWidth",value:function(b){this.width=b}},{key:"getHeight",value:function(){return this.height}},{key:"setHeight",value:function(b){this.height=b}},{key:"clone",value:function(){return new d({width:this.width,height:this.height})}},{key:"serialize",value:function(){return{width:this.width,height:this.height}}},{key:"equals",value:function(b){return this.width===b.width&& 1199this.height===b.height}},{key:"add",value:function(b){return this.width+=b.getWidth(),this.height+=b.getHeight(),this}},{key:"subtract",value:function(b){return this.width-=b.getWidth(),this.height-=b.getHeight(),this}},{key:"multiply",value:function(b){return this.width*=b,this.height*=b,this}},{key:"applyLimits",value:function(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};webwave.isDef(b.width)&&(webwave.isNumber(b.width.min)&&(this.width=Math.max(this.width,b.width.min)),webwave.isNumber(b.width.max)&& 1200(this.width=Math.min(this.width,b.width.max)));webwave.isDef(b.height)&&(webwave.isNumber(b.height.min)&&(this.height=Math.max(this.height,b.height.min)),webwave.isNumber(b.height.max)&&(this.height=Math.min(this.height,b.height.max)))}},{key:"toString",value:function(){return"{".concat(this.width,",").concat(this.height,"}}")}},{key:"toVector",value:function(){return new n.a({x:this.getWidth(),y:this.getHeight()})}},{key:"addHeight",value:function(b){this.height+=b}},{key:"subtractHeight",value:function(b){this.height-= 1201b}},{key:"addWidth",value:function(b){this.width+=b}},{key:"subtractWidth",value:function(b){this.width-=b}},{key:"ceil",value:function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height)}}]),d}();m.deserialize=function(d){return webwave.isNotDef(d)?new m({width:0,height:0}):new m(d)}},45:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.BindingOnSyntax=void 0;var t=a(46);r=function(){function q(n){this._binding=n}return q.prototype.onActivation=function(n){return this._binding.onActivation= 1202n,new t.BindingWhenSyntax(this._binding)},q}();k.BindingOnSyntax=r},46:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.BindingWhenSyntax=void 0;var t=a(45),q=a(69);r=function(){function n(m){this._binding=m}return n.prototype.when=function(m){return this._binding.constraint=m,new t.BindingOnSyntax(this._binding)},n.prototype.whenTargetNamed=function(m){return this._binding.constraint=q.namedConstraint(m),new t.BindingOnSyntax(this._binding)},n.prototype.whenTargetIsDefault=function(){return this._binding.constraint=
1203function(m){return null!==m.target&&!m.target.isNamed()&&!m.target.isTagged()},new t.BindingOnSyntax(this._binding)},n.prototype.whenTargetTagged=function(m,d){return this._binding.constraint=q.taggedConstraint(m)(d),new t.BindingOnSyntax(this._binding)},n.prototype.whenInjectedInto=function(m){return this._binding.constraint=function(d){return q.typeConstraint(m)(d.parentRequest)},new t.BindingOnSyntax(this._binding)},n.prototype.whenParentNamed=function(m){return this._binding.constraint=function(d){return q.namedConstraint(m)(d.parentRequest)}, 1204new t.BindingOnSyntax(this._binding)},n.prototype.whenParentTagged=function(m,d){return this._binding.constraint=function(b){return q.taggedConstraint(m)(d)(b.parentRequest)},new t.BindingOnSyntax(this._binding)},n.prototype.whenAnyAncestorIs=function(m){return this._binding.constraint=function(d){return q.traverseAncerstors(d,q.typeConstraint(m))},new t.BindingOnSyntax(this._binding)},n.prototype.whenNoAncestorIs=function(m){return this._binding.constraint=function(d){return!q.traverseAncerstors(d, 1205q.typeConstraint(m))},new t.BindingOnSyntax(this._binding)},n.prototype.whenAnyAncestorNamed=function(m){return this._binding.constraint=function(d){return q.traverseAncerstors(d,q.namedConstraint(m))},new t.BindingOnSyntax(this._binding)},n.prototype.whenNoAncestorNamed=function(m){return this._binding.constraint=function(d){return!q.traverseAncerstors(d,q.namedConstraint(m))},new t.BindingOnSyntax(this._binding)},n.prototype.whenAnyAncestorTagged=function(m,d){return this._binding.constraint=function(b){return q.traverseAncerstors(b, 1206q.taggedConstraint(m)(d))},new t.BindingOnSyntax(this._binding)},n.prototype.whenNoAncestorTagged=function(m,d){return this._binding.constraint=function(b){return!q.traverseAncerstors(b,q.taggedConstraint(m)(d))},new t.BindingOnSyntax(this._binding)},n.prototype.whenAnyAncestorMatches=function(m){return this._binding.constraint=function(d){return q.traverseAncerstors(d,m)},new t.BindingOnSyntax(this._binding)},n.prototype.whenNoAncestorMatches=function(m){return this._binding.constraint=function(d){return!q.traverseAncerstors(d, 1207m)},new t.BindingOnSyntax(this._binding)},n}();k.BindingWhenSyntax=r},51:function(r,k,a){a.d(k,"a",function(){return f});var t=a(0),q=a(1),n=a(10),m=a(730),d=a(741),b=a(189),f=function(){function g(){Object(t.a)(this,g)}return Object(q.a)(g,null,[{key:"findWebsiteColorVariableIfValueSameAsWebsiteColor",value:function(c,e){var h=c;webwave.isDefAndNotNull(c)&&(n.b.isValueContainGradientOrIconPhrase(c)?(c=g.findWebsiteColorVariableOrReturnOriginalValue.bind(this,e),h=h.replaceAll(/(#[a-z|A-Z|0-9]*|((rgb|rgba)\(\d+,\s?\d+,\s?\d+(,\s?[0-1]{1}\.?\d*)?\)))/g, 1208c)):h=g.findWebsiteColorVariableOrReturnOriginalValue(e,c));return h}},{key:"findWebsiteColorValueIfValueIndicateToWebsiteColor",value:function(c,e){var h=c;webwave.isDefAndNotNull(c)&&(n.b.isValueContainGradientOrIconPhrase(c)?(c=g.findWebsiteColorValueOrReturnOriginalValue.bind(this,e),h=h.replaceAll(/var\(([a-z-A-Z-0-9-_,\s]+)\)/g,c)):h=g.findWebsiteColorValueOrReturnOriginalValue(e,c));return h}},{key:"changeWebsiteColorValueIfIndicateToWebsiteColor",value:function(c,e){var h=c;return webwave.isDefAndNotNull(c)&& 1209(h=g.getWebsiteColorValueToApply(e,e.newWebsiteColor,c)),h}},{key:"mapStyleIdToWebsiteColorVariable",value:function(c){switch(c){case m.a.H1:case m.a.H2:case m.a.H3:case m.a.H4:return"var(--brand)";case m.a.DEFAULT:case m.a.LINK:case m.a.LINK_HOVER:return"var(--neutral1)";default:return""}}},{key:"changeObjectPropertyWithWebsiteColor",value:function(c,e){var h=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},l=!1,v=h.property,p=webwave.isDefAndNotNull(v)?c[v]:void 0;webwave.isDefAndNotNull(p)&& 1210(h=g.getValueAfterWebsiteConnectionChange(p,e,h),p!==h&&(c[v]=h,l=!0));return l}},{key:"getValueAfterWebsiteConnectionChange",value:function(c,e){2<arguments.length&&void 0!==arguments[2]&&arguments[2];switch(e.getConnection()){case b.a.DISCONNECT:var h=g.findWebsiteColorValueIfValueIndicateToWebsiteColor(c,e);break;case b.a.CONNECT:h=g.findWebsiteColorVariableIfValueSameAsWebsiteColor(c,e);break;case b.a.CHANGE:h=g.changeWebsiteColorValueIfIndicateToWebsiteColor(c,e);break;
1210case b.a.SWAP:h=g.swapWebsiteColorIfValueIndicateToWebsiteColor(e, 1211c)}return h}},{key:"changeObjectColorPropertyWithWebsiteColor",value:function(c,e){var h=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return h.property="color",g.changeObjectPropertyWithWebsiteColor(c,e,h)}},{key:"changeObjectBackgroundColorPropertyWithWebsiteColor",value:function(c,e){var h=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return h.property="backgroundColor",g.changeObjectPropertyWithWebsiteColor(c,e,h)}},{key:"getShadowStringAfterChangingWebsiteColorConnection", 1212value:function(c,e,h){var l,v=d.a.getShadowColorArrayFromString(c);c=d.a.getShadowSettingsArrayFromString(c);webwave.isArrayWithExactlyOneElement(v)&&webwave.isArrayLike(c)&&(e=h===b.a.CONNECT?g.findWebsiteColorVariableOrReturnOriginalValue(e,v[0]):g.findWebsiteColorValueOrReturnOriginalValue(e,v[0]),e!==v[0]&&(l=d.a.composeShadowValueByColorAndDirectionSettings(e,c)));return l}},{key:"findWebsiteColorVariableToApply",value:function(c,e){c=n.a.isHex(c)?n.a.hex2rgb(c):c;return n.b.checkIfColorSame(e.getColor(), 1213c)?e.getWebsiteColorVariable():void 0}},{key:"findWebsiteColorVariableOrReturnOriginalValue",value:function(c,e){c=c.getWebsiteColor();c=g.findWebsiteColorVariableToApply(e,c);return webwave.isDefAndNotNull(c)?c:e}},{key:"findWebsiteColorValueOrReturnOriginalValue",value:function(c,e){c=c.getWebsiteColor();return e===c.getWebsiteColorVariable()?c.getColor():e}},{key:"getWebsiteColorValueToApply",value:function(c,e,h){return h===c.getWebsiteColorVariable()?e.getWebsiteColorVariable():h}},{key:"updateColorInElementAfterWebsiteColorConnectionChange", 1214value:function(c,e){var h,l=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(webwave.isDefAndNotEmpty(c.style.color)?h=c.style.color:"FONT"===c.nodeName&&webwave.isDefAndNotEmpty(c.color)&&(h=c.color),webwave.isDef(h)){var v=g.chooseConnectionFunction(l.connection)(e,h);h!==v&&(c.style.color=v)}for(h=0;h<c.children.length;h++)g.updateColorInElementAfterWebsiteColorConnectionChange(c.children[h],e,l)}},{key:"swapWebsiteColorIfValueIndicateToWebsiteColor",value:function(c,e){return c.swapColors(e)}}, 1215{key:"chooseConnectionFunction",value:function(c){switch(c){case b.a.CONNECT:return g.findWebsiteColorVariableOrReturnOriginalValue;case b.a.DISCONNECT:return g.findWebsiteColorValueOrReturnOriginalValue;case b.a.SWAP:return g.swapWebsiteColorIfValueIndicateToWebsiteColor}return function(){}}}]),g}()},52:function(r,k,a){a.d(k,"a",function(){return t});var t={CA:{prefix:"+1",validLength:10},UM:{prefix:"+1",validLength:10},US:{prefix:"+1",validLength:10},KZ:{prefix:"+7",validLength:10},RU:{prefix:"+7", 1216validLength:10},EG:{prefix:"+20",validLength:10},ZA:{prefix:"+27",validLength:9},GR:{prefix:"+30",validLength:10},NL:{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}, 1217NO:{prefix:"+47",validLength:8},SJ:{prefix:"+47",validLength:8},PL:{prefix:"+48",validLength:9},DE:{prefix:"+49",validLength:11},PE:{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", 1218validLength:9},ID:{prefix:"+62",validLength:10},PH:{prefix:"+63",validLength:10},NZ:{prefix:"+64",validLength:9},SG:{prefix:"+65",validLength: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}, 1219IR:{prefix:"+98",validLength:10},SS:{prefix:"+211",validLength:9},EH:{prefix:"+212",validLength:9},MA:{prefix:"+212",validLength:9},DZ:{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", 1220validLength:8},BJ:{prefix:"+229",validLength:8},MU:{prefix:"+230",validLength:7},LR:{prefix:"+231",validLength:7},SL:{prefix:"+232",validLength: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}, 1221AO:{prefix:"+244",validLength:9},GW:{prefix:"+245",validLength:7},IO:{prefix:"+246",validLength:7},SC:{prefix:"+248",validLength:7},SD:{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", 1222validLength:9},RE:{prefix:"+262",validLength:9},YT:{prefix:"+262",validLength:9},ZW:{prefix:"+263",validLength:9},NA:{prefix:"+264",validLength: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}, 1223PT:{prefix:"+351",validLength:9},LU:{prefix:"+352",validLength:9},IE:{prefix:"+353",validLength:9},IS:{prefix:"+354",validLength:7},AL:{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", 1224validLength:6},MC:{prefix:"+377",validLength:8},SM:{prefix:"+378",validLength:8},VA:{prefix:"+379",validLength:6},UA:{prefix:"+380",validLength: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}, 1225GT:{prefix:"+502",validLength:8},SV:{prefix:"+503",validLength:8},HN:{prefix:"+504",validLength:8}
1225,NI:{prefix:"+505",validLength:8},CR:{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", 1226validLength:9},MQ:{prefix:"+596",validLength:9},SR:{prefix:"+597",validLength:7},UY:{prefix:"+598",validLength:8},BQ:{prefix:"+599",validLength: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}, 1227PW:{prefix:"+680",validLength:7},WF:{prefix:"+681",validLength:6},CK:{prefix:"+682",validLength:4},NU:{prefix:"+683",validLength:4},WS:{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", 1228validLength:9},LA:{prefix:"+856",validLength:9},PN:{prefix:"+870",validLength:6},BD:{prefix:"+880",validLength:10},TW:{prefix:"+886",validLength: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}, 1229IL:{prefix:"+972",validLength:9},BH:{prefix:"+973",validLength:8},QA:{prefix:"+974",validLength:8},BT:{prefix:"+975",validLength:8},MN:{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}, 1230AG:{prefix:"+1-268",validLength:10},VG:{prefix:"+1-284",validLength:10},VI:{prefix:"+1-340",validLength:10},KY:{prefix:"+1-345",validLength: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}, 1231PR:{prefix:"+1-787",validLength:10},DO:{prefix:"+1-809",validLength:10},TT:{prefix:"+1-868",validLength:10},KN:{prefix:"+1-869",validLength: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}};r=Object.keys(t).reduce(function(q,n){return q[n]=t[n].prefix,q},{});k.b=r},53:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(54),m=function(){function d(){var b= 12320<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this.value=webwave.isNumberAndNotNaN(b.value)?b.value:0;this.unit=webwave.isValidEnumValue(b.unit,n.a)?b.unit:n.a.PX}return Object(q.a)(d,[{key:"getUnit",value:function(){return this.unit}},{key:"setUnit",value:function(b){webwave.isValidEnumValue(b,n.a)&&(this.unit=b)}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(b){webwave.isNumberAndNotNaN(b)&&(this.value=b)}},{key:"serialize", 1233value:function(){return{value:this.value,unit:this.unit}}},{key:"add",value:function(b){b instanceof d&&this.unit===b.getUnit()&&(this.value+=b.getValue())}},{key:"subtract",value:function(b){return this.unit===b.getUnit()&&(this.value-=b.getValue()),this}},{key:"multiply",value:function(b){return this.value*=b,this}},{key:"equals",value:function(b){return this.getUnit()===b.getUnit()&&this.getValue()===b.getValue()}},{key:"toString",value:function(){return this.value+this.unit}},{key:"clone",value:function(){return new d({value:this.value, 1234unit:this.unit})}},{key:"loadValuesFromObject",value:function(b){this.setUnit(b.getUnit());this.setValue(b.getValue())}}],[{key:"parseLengthString",value:function(b){var f=String(b);b=parseFloat(f);f=f.match(/%|em/);return isNaN(b)?"":f?b+f:"".concat(Math.round(b),"px")}},{key:"parseLengthUnitString",value:function(b){return(b=String(b).match(/%|em|vh|vw/))?b.toString():n.a.PX}},{key:"isUnitVWorVH",value:function(b){return b===n.a.VH||b===n.a.VW}},{key:"isUnitPX",value:function(b){return b===n.a.PX}}, 1235{key:"isUnitVH",value:function(b){return b===n.a.VH}},{key:"isUnitVW",value:function(b){return b===n.a.VW}},{key:"isUnitDynamic",value:function(b){return d.isUnitVH(b)||d.isUnitVW(b)}},{key:"createLengthWithPxUnitFromValue",value:function(b){return new d({value:!1===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).withoutRounding?Math.round(b):b,unit:n.a.PX})}}]),d}()},54:function(r,k,a){r={PX:"px",PERCENT:"%",VW:"vw",VH:"vh"};Object.freeze(r);k.a=r},55:function(r,k,a){function t(c){var e= 1236function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(f.a)(c);if(e){var l=Object(f.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(b.a)(this,h)}}a.d(k,"a",function(){return g});var q,n=a(0),m=a(1),d=a(3),b=a(4),f=a(2);r=a(40);k= 1237a(20);a.n(k);a(26);var g=Object(k.injectable)()(q=function(c){function e(){var l;return Object(n.a)(this,e),l=h.call(this),webwave.isFunction(l.__wCommandRegister)&&l.__wCommandRegister(),l}Object(d.a)(e,c);var h=t(e);return Object(m.a)(e,[{key:"init",value:function(){}}]),e}(r.c))||q},56:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(105),m=(a.n(n),function(){function d(b){(Object(t.a)(this,d),this.r=0,this.g=0,this.b=0,this.a=0,webwave.isString(b))?(b=Object(n.parseCSSColor)(b), 1238null!==b&&(this.r=b[0],this.g=b[1],this.b=b[2],this.a=b[3])):webwave.isDef(b)&&(webwave.isNumberAndNotNaN(b.r)&&(this.r=b.r),webwave.isNumberAndNotNaN(b.g)&&(this.g=b.g),webwave.isNumberAndNotNaN(b.b)&&(this.b=b.b),webwave.isNumberAndNotNaN(b.a)&&(this.a=b.a))}return Object(q.a)(d,[{key:"toRgbaString",value:function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.a+")"}},{key:"toRgbString",value:function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"}},{key:"subtract",value:function(b){return this.r-=
1239b.r,this.g-=b.g,this.b-=b.b,this.a-=b.a,this}},{key:"add",value:function(b){return this.r+=b.r,this.g+=b.g,this.b+=b.b,this.a+=b.a,this}},{key:"multiply",value:function(b){return this.r=Math.round(this.r*b),this.g=Math.round(this.g*b),this.b=Math.round(this.b*b),this.multiplyAlpha(b),this}},{key:"multiplyAlpha",value:function(b){this.a*=b}},{key:"clone",value:function(){return new d(this)}},{key:"invert",value:function(){this.r=255-this.r;this.g=255-this.g;this.b=255-this.b}},{key:"randomizeColor", 1240value:function(){this.r=Math.floor(255*Math.random());this.g=Math.floor(255*Math.random());this.b=Math.floor(255*Math.random());this.a=1}}],[{key:"rgb2hex",value:function(b){return webwave.isNotString(b)?"#000000":-1!=b.indexOf("#")?b:null!=(b=b.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+d._hex(b[1])+d._hex(b[2])+d._hex(b[3]):""}},{key:"hex2rgb",value:function(b){if(webwave.isNotString(b))return"rgb(0, 0, 0)";var f=0,g=0,c=0;return 4==b.length?(f="0x"+b[1]+b[1],g="0x"+b[2]+b[2],c="0x"+b[3]+b[3]): 12417==b.length&&(f="0x"+b[1]+b[2],g="0x"+b[3]+b[4],c="0x"+b[5]+b[6]),"rgb("+ +f+", "+ +g+", "+ +c+")"}},{key:"hex2Rgba",value:function(b,f){var g=(b=b.slice(-6)).slice(0,2),c=b.slice(2,4);b=b.slice(4);return"rgba("+parseInt(g,16)+","+parseInt(c,16)+","+parseInt(b,16)+","+f+")"}},{key:"hex2RgbObject",value:function(b){return b=b.slice(-6),{r:parseInt(b.slice(0,2),16),g:parseInt(b.slice(2,4),16),b:parseInt(b.slice(4),16)}}},{key:"isHex",value:function(b){return/^#[0-9A-F]{3,6}$/i.test(b)}},{key:"isRgba", 1242value:function(b){return/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/.test(b)}},{key:"isRgb",value:function(b){return/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/.test(b)}},{key:"rgb2hsl",value:function(b){if(webwave.isNotString(b))return{H:0,S:0,L:0};"#"===b[0]&&(b=this.hex2rgb(b));var f=0,g=0;var c=0;f=(c=b.slice(4,-1).split(",").map(function(h){return+h}))[0];g=c[1];c=c[2];f/=255;g/=255;c/=255;b=Math.max(f,g,c);var e=b-Math.min(f,g,c);f=e?b===f?(g-c)/e:b===g?2+(c-f)/e: 12434+(f-g)/e:0;return{H:0>60*f?60*f+360:60*f,S:100*(e?.5>=b?e/(2*b-e):e/(2-(2*b-e)):0),L:100*(2*b-e)/2}}},{key:"_hex",value:function(b){return null!==b?("0"+parseInt(b).toString(16)).slice(-2):"00"}},{key:"rgba2Rgb",value:function(b){b=b.replace(/[^\d,]/g,"").split(",");return"rgb(".concat(b[0],", ").concat(b[1],", ").concat(b[2],")")}},{key:"obtainRgbValue",value:function(b){return d.isHex(b)?d.hex2rgb(b):d.isRgba(b)?d.rgba2Rgb(b):b}},{key:"obtainHexValue",value:function(b){d.isRgb(b)?b=d.rgb2hex(b): 1244d.isRgba(b)&&(b=d.rgba2Rgb(b),b=d.rgb2hex(b));return b}}]),d}())},57:function(r,k,a){k.a={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right",BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"}},58:function(r,k,a){k.a={TEST:"test",DEVELOPMENT:"development",PRE_PRODUCTION:"pre_production",QUALITY_ASSURANCE:"quality_assurance",PRODUCTION:"production"}},59:function(r,k,a){k.a={FLOAT:"float",INT:"int"}},60:function(r,k,a){k.a={NO_BREAK_SPACE:/\u00a0/g, 1245ONLY_LETTERS:/[a-zA-Z]/g}},6017:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});r=a(968);r=(a.n(r),a(3613));a=a(6018);r.initialiseModules(a.a)},6018:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(4079),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"main",value:function(b,f){(new n.default).run()}}]),d}()},61:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!== 1246arguments[0]?arguments[0]:{};Object(t.a)(this,m);webwave.isDefAndNotNull(d)?(this._id=d.id,this._enable=!!webwave.isDefAndNotNull(d.enable)&&d.enable,this.deserializeValue(d.value)):(this._enable=!1,this.deserializeValue())}return Object(q.a)(m,[{key:"deserializeValue",value:function(d){webwave.isString(d)&&(this._value=d)}},{key:"id",get:function(){return this._id}},{key:"getSerializeValue",value:function(){return this._value}},{key:"getValuesForSaveData",value:function(){return this._value}},{key:"value", 1247get:function(){if(!0===this.enable)return this._value},set:function(d){this._value=d}},{key:"enable",get:function(){return this._enable},set:function(d){this._enable=d}},{key:"toggleEnable",value:function(){this.enable=!this._enable}},{key:"serialize",value:function(){return{id:!0===(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,enable:this.enable,value:this.getSerializeValue()}}}]),m}()},63:function(r,k,a){k.a={OK:1,CANCEL:0,CLOSE:-1}},64:function(r, 1248k,a){Object.defineProperty(k,"__esModule",{value:!0});k.MetadataReader=void 0;var t=a(12);r=function(){function q(){}return q.prototype.getConstructorMetadata=function(n){return{compilerGeneratedMetadata:Reflect.getMetadata(t.PARAM_TYPES,n),userGeneratedMetadata:Reflect.getMetadata(t.TAGGED,n)||{}}},q.prototype.getPropertiesMetadata=function(n){return Reflect.getMetadata(t.TAGGED_PROP,n)||[]},q}();k.MetadataReader=r},65:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.isStackOverflowExeption= 1249void 0;var t=a(15);k.isStackOverflowExeption=function(q){return q instanceof RangeError||q.message===t.STACK_OVERFLOW}},66:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.inject=k.LazyServiceIdentifer=void 0;var t=a(15),q=a(12),n=a(18),m=a(21);r=function(){function d(b){this._cb=b}return d.prototype.unwrap=function(){return this._cb()},d}();k.LazyServiceIdentifer=r;k.inject=function(d){return function(b,f,g){if(void 0===d)throw Error(t.UNDEFINED_INJECT_ANNOTATION(b.name));var c= 1250new n.Metadata(q.INJECT_TAG,d);"number"==typeof g?m.tagParameter(b,f,g,c):m.tagProperty(b,f,c)}}},67:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.Target=void 0;var t=a(12),q=a(24),n=a(18),m=a(162);r=function(){function d(b,f,g,c){this.id=q.id();this.type=b;this.serviceIdentifier=g;this.name=new m.QueryableString(f||"");this.metadata=[];b=null;"string"==typeof c?b=new n.Metadata(t.NAMED_TAG,c):c instanceof n.Metadata&&(b=c);null!==b&&this.metadata.push(b)}return d.prototype.hasTag= 1251function(b){for(var f=0,g=this.metadata;f<g.length;f++)if(g[f].key===b)return!0;return!1},d.prototype.isArray=function(){return this.hasTag(t.MULTI_INJECT_TAG)},d.prototype.matchesArray=function(b){return this.matchesTag(t.MULTI_INJECT_TAG)(b)},d.prototype.isNamed=function(){return this.hasTag(t.NAMED_TAG)},d.prototype.isTagged=function(){return this.metadata.some(function(b){return t.NON_CUSTOM_TAG_KEYS.every(function(f){return b.key!==f})})},d.prototype.isOptional=function(){return this.matchesTag(t.OPTIONAL_TAG)(!0)}, 1252d.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter(function(b){return b.key===t.NAMED_TAG})[0]:null},d.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter(function(b){return t.NON_CUSTOM_TAG_KEYS.every(function(f){return b.key!==f})}):null},d.prototype.matchesNamedTag=function(b){return this.matchesTag(t.NAMED_TAG)(b)},d.prototype.matchesTag=function(b){var f=this;return function(g){for(var c=0,e=f.metadata;c<e.length;c++){var h=e[c];if(h.key=== 1253b&&h.value===g)return!0}return!1}},d}();k.Target=r},68:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.BindingWhenOnSyntax=void 0;var t=a(45),q=a(46);r=function(){function n(m){this._binding=m;this._bindingWhenSyntax=new q.BindingWhenSyntax(this._binding);this._bindingOnSyntax=new t.BindingOnSyntax(this._binding)}return n.prototype.when=function(m){return this._bindingWhenSyntax.when(m)},n.prototype.whenTargetNamed=function(m){return this._bindingWhenSyntax.whenTargetNamed(m)}, 1254n.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},n.prototype.whenTargetTagged=function(m,d){return this._bindingWhenSyntax.whenTargetTagged(m,d)},n.prototype.whenInjectedInto=function(m){return this._bindingWhenSyntax.whenInjectedInto(m)},n.prototype.whenParentNamed=function(m){return this._bindingWhenSyntax.whenParentNamed(m)},n.prototype.whenParentTagged=function(m,d){return this._bindingWhenSyntax.whenParentTagged(m,d)},n.prototype.whenAnyAncestorIs= 1255function(m){return this._bindingWhenSyntax.whenAnyAncestorIs(m)}
1255,n.prototype.whenNoAncestorIs=function(m){return this._bindingWhenSyntax.whenNoAncestorIs(m)},n.prototype.whenAnyAncestorNamed=function(m){return this._bindingWhenSyntax.whenAnyAncestorNamed(m)},n.prototype.whenAnyAncestorTagged=function(m,d){return this._bindingWhenSyntax.whenAnyAncestorTagged(m,d)},n.prototype.whenNoAncestorNamed=function(m){return this._bindingWhenSyntax.whenNoAncestorNamed(m)},n.prototype.whenNoAncestorTagged=function(m, 1256d){return this._bindingWhenSyntax.whenNoAncestorTagged(m,d)},n.prototype.whenAnyAncestorMatches=function(m){return this._bindingWhenSyntax.whenAnyAncestorMatches(m)},n.prototype.whenNoAncestorMatches=function(m){return this._bindingWhenSyntax.whenNoAncestorMatches(m)},n.prototype.onActivation=function(m){return this._bindingOnSyntax.onActivation(m)},n}();k.BindingWhenOnSyntax=r},69:function(r,k,a){Object.defineProperty(k,"__esModule",{value:!0});k.typeConstraint=k.namedConstraint=k.taggedConstraint= 1257k.traverseAncerstors=void 0;r=a(12);var t=a(18),q=function(n,m){n=n.parentRequest;return null!==n&&(!!m(n)||q(n,m))};k.traverseAncerstors=q;a=function(n){return function(m){var d=function(b){return null!==b&&null!==b.target&&b.target.matchesTag(n)(m)};return d.metaData=new t.Metadata(n,m),d}};k.taggedConstraint=a;a=a(r.NAMED_TAG);k.namedConstraint=a;k.typeConstraint=function(n){return function(m){var d;return null!==m?(d=m.bindings[0],"string"==typeof n)?d.serviceIdentifier===n:n===m.bindings[0].implementationType: 1258!1}}},7:function(r,k,a){k.a=function(t,q,n,m,d){var b={};Object.keys(m).forEach(function(f){b[f]=m[f]});b.enumerable=!!b.enumerable;b.configurable=!!b.configurable;("value"in b||b.initializer)&&(b.writable=!0);b=n.slice().reverse().reduce(function(f,g){return g(t,q,f)||f},b);d&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(d):void 0,b.initializer=void 0);void 0===b.initializer&&(Object.defineProperty(t,q,b),b=null);return b}},730:function(r,k,a){k.a={DEFAULT:"p_default_block", 1259H1:"h1_default_block",H2:"h2_default_block",H3:"h3_default_block",H4:"h4_default_block",LINK:"custom_link",LINK_HOVER:"custom_link_hover"}},731:function(r,k,a){r=a(764);k.a={submitButton:{normal:{backgroundColor:r.a.BRAND,color:r.a.SECOND_NEUTRAL},hover:{backgroundColor:r.a.SECONDARY}},input:{normal:{backgroundColor:r.a.COMPLEMENTARY,border:r.a.FIRST_NEUTRAL}},button:{normal:{backgroundColor:r.a.BRAND},hover:{backgroundColor:r.a.SECONDARY}},product:{normal:{backgroundColor:r.a.BRAND},hover:{backgroundColor:r.a.SECONDARY}}, 1260shopCart:{normal:{backgroundColor:r.a.BRAND},hover:{backgroundColor:r.a.SECONDARY}},login:{loggedIn:{backgroundColor:r.a.BRAND},notLoggedIn:{backgroundColor:r.a.BRAND}},menuItem:{activeStyle:{color:r.a.BRAND,borderColor:r.a.BRAND},hoverStyle:{color:r.a.SECONDARY,borderColor:r.a.SECONDARY},normalStyle:{color:r.a.FIRST_NEUTRAL,borderColor:"transparent"}},date:{normal:{color:r.a.FIRST_NEUTRAL}},selectedPaginationIndex:{normal:{color:r.a.SECOND_NEUTRAL,backgroundColor:r.a.BRAND}},paginationIndex:{normal:{color:r.a.SECONDARY}}, 1261news:{normal:{}},header:{normal:{color:r.a.BRAND}},counter:{color:r.a.BRAND},gallery:{header:{color:r.a.SECOND_NEUTRAL}},slider:{header:{color:r.a.SECOND_NEUTRAL},description:{color:r.a.SECOND_NEUTRAL}}}},734:function(r,k,a){k.a=function(q,n){for(;!Object.prototype.hasOwnProperty.call(q,n)&&null!==(q=Object(t.a)(q)););return q};var t=a(2)},735:function(r,k,a){a.d(k,"a",function(){return b});var t,q=a(0),n=a(1),m=a(761),d=a(63);r=a(20);var b=(a.n(r),Object(r.injectable)()(t=function(){function f(){var g= 12620<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(q.a)(this,f);this._$element=this._element=null;this._visibility=!1;this._popupEventListeners=[];this._initialized=this._locked=!1;this.deactivateSendPageView=g.deactivateSendPageView;this._showPopupData=null;this.analyticsPageView=g.analyticsPageView;this._alwaysOnTop=g.alwaysOnTop}return Object(n.a)(f,[{key:"_uninitEvents",value:function(){}},{key:"readAnalyticsData",value:function(){webwave.isStringAndNotEmpty(this.analyticsPageView)|| 1263webwave.isDefAndNotNull(this._element)&&(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(g){this.analyticsPageView=g}},{key:"dispose",value:function(){this._uninitEvents();this.get$Element().remove();for(var g=0;g<this._popupEventListeners.length;g++)this._popupEventListeners[g].popupDisposed(new m.a(this))}}, 1264{key:"_closeButtonHandler",value:function(){this.hide()}},{key:"initEvents",value:function(){var g=this._$element.find('.close_button, [data-role="popupCloseButton"]');g.off("click.popup");g.on("click.popup",this._closeButtonHandler.bind(this))}},{key:"_createElement",value:function(){}},{key:"isInitialized",value:function(){return this._initialized}},{key:"init",value:function(){!0!==this._initialized?this.setElement(this._createElement()):webwave.error("Popup is already initialized!",this)}},{key:"getElement", 1265value:function(){return this._element}},{key:"get$Element",value:function(){return null!==this._$element?this._$element:$()}},{key:"show",value:function(g){!1===this.isInitialized()&&this.init();this._visibility=!0;this.get$Element().css("display","block");this._showPopupData=g;
1265for(g=0;g<this._popupEventListeners.length;g++)this._popupEventListeners[g].popupOpened(new m.a(this));this.onShow()}},{key:"onShow",value:function(){}},{key:"onToggle",value:function(g){}},{key:"onHide",value:function(g,c){}}, 1266{key:"hide",value:function(g,c){!1===this.isInitialized()&&this.init();this._visibility=!1;this.get$Element().hide();for(var e=0;e<this._popupEventListeners.length;e++)this._popupEventListeners[e].popupClosed(new m.a(this));this.onHide(g,c);webwave.isDefAndNotNull(this._showPopupData)&&(webwave.isFunction(this._showPopupData.onClose)&&this._showPopupData.onClose.call(this._showPopupData.onClose,c,g),webwave.isFunction(this._showPopupData.onSuccess)&&g===d.a.OK&&this._showPopupData.onSuccess.call(this._showPopupData.onSuccess, 1267c),webwave.isFunction(this._showPopupData.onDecline)&&g===d.a.CANCEL&&this._showPopupData.onDecline.call(this._showPopupData.onDecline,c),webwave.isFunction(this._showPopupData.onCheckboxTick)&&webwave.isDef(c)&&!0===c.checkboxTick&&this._showPopupData.onCheckboxTick.call(this._showPopupData.onCheckboxTick,c))}},{key:"setLocked",value:function(g){this._locked=g;this.get$Element().toggle(!1===g);this.onToggle(!1===g)}},{key:"isVisible",value:function(){return this._visibility}},{key:"addPopupEventListener", 1268value:function(g){this._popupEventListeners.push(g)}},{key:"removePopupEventListener",value:function(g){g=this._popupEventListeners.indexOf(g);-1!==g&&this._popupEventListeners.splice(g,1)}},{key:"attach",value:function(g){g.append(this.get$Element())}},{key:"detach",value:function(){this.get$Element().detach()}},{key:"isAlwaysOnTop",value:function(){return!0===this._alwaysOnTop}},{key:"setElement",value:function(g){this.get$Element().remove();this._element=g;this._$element=$(g);this.initEvents(); 1269this.readAnalyticsData();this._initialized=!0}}]),f}())||t);webwave.provide("com.webwave.ui.popup.Popup");com.webwave.ui.popup.Popup=b},736:function(r,k,a){k.a={COMPACT:"compact"}},738:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=(a(54),a(53)),m=function(){function d(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this._width=new n.a(b.width);this._height=new n.a(b.height)}return Object(q.a)(d,[{key:"subtract",value:function(b){this._width.subtract(point.getWidth()); 1270this._height.subtract(point.getHeight())}},{key:"add",value:function(b){this._width.add(b.getWidth());this._height.add(b.getHeight())}},{key:"serialize",value:function(){return{width:this._width.serialize(),height:this._height.serialize()}}},{key:"clone",value:function(){return new d(this.serialize())}},{key:"equals",value:function(b){return this._width.equals(b._width)&&this._height.equals(b._height)}},{key:"setWidth",value:function(b){this._width=b}},{key:"setWidthValue",value:function(b){this._width.setValue(b)}}, 1271{key:"setWidthUnit",value:function(b){this._width.setUnit(b)}},{key:"getWidthUnit",value:function(){return this._width.getUnit()}},{key:"getWidthValue",value:function(){return this._width.getValue()}},{key:"setHeightUnit",value:function(b){this._height.setUnit(b)}},{key:"getHeightUnit",value:function(){return this._height.getUnit()}},{key:"getWidth",value:function(){return this._width}},{key:"setHeight",value:function(b){this._height=b}},{key:"setHeightValue",value:function(b){this._height.setValue(b)}}, 1272{key:"getHeight",value:function(){return this._height}},{key:"getHeightValue",value:function(){return this._height.getValue()}},{key:"toJSON",value:function(){return this.serialize()}},{key:"isAnyUnitDynamic",value:function(){return this.isWidthUnitDynamic()||this.isHeightUnitDynamic()}},{key:"isHeightUnitDynamic",value:function(){return n.a.isUnitDynamic(this.getHeightUnit())}},{key:"isWidthUnitDynamic",value:function(){return n.a.isUnitDynamic(this.getWidthUnit())}}]),d}()},739:function(r,k,a){k.a= 1273{PAGE_TOP_LEFT:"pageTopLeft",PAGE_TOP_RIGHT:"pageTopRight",SCREEN_TOP_LEFT:"screenTopLeft",SCREEN_TOP_RIGHT:"screenTopRight"}},740:function(r,k,a){k.a={ABSOLUTE_URL:"absoluteURL",PHONE:"phone",EMAIL:"email",USER_FILE:"userFile"}},741:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(10),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"getShadowColorArrayFromString",value:function(b){return null===b||void 0===b?void 0:b.match(/((rgba|rgb|var)?\(.+\))/g)}}, 1274{key:"getShadowSettingsArrayFromString",value:function(b){return null===b||void 0===b?void 0:b.match(/(-?\d+px)/g)}},{key:"composeShadowValueByColorAndDirectionSettings",value:function(b,f){return[b].concat(f).join(" ")}},{key:"getShadowObjectFromString",value:function(b,f){if(!webwave.isString(b))return f;var g=b.match(/((rgba|rgb|var)?\(.+\))/g);b=b.match(/(-?\d+px)/g);return null===g||null===b||1!==g.length||3!==b.length?f:{x:parseInt(b[0],10),y:parseInt(b[1],10),blur:parseInt(b[2],10),color:g[0], 1275enabled:!0}}},{key:"getShadowStringFromShadowMap",value:function(b){var f="none";webwave.isDef(b)&&"none"!==b&&b.enabled&&(f="rgb(0,0,0,1)",webwave.isString(b.color)&&(n.b.isColorStartWithAnyOfPhrase(b.color,["rgba","var"])?f=b.color:n.b.isColorStartWithRgbPhrase(b.color)&&(f=webwave.isDef(b.opacity)?b.opacity/100:1,f=n.b.rgbAndOpacityToRgba(b.color,f))),f="".concat(b.x,"px ").concat(b.y,"px ").concat(b.blur,"px ").concat(f));return f}}]),d}()},742:function(r,k,a){function t(c){var e=function(){if("undefined"== 1276typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(740),g=function(c){function e(l){var v; 1277return Object(q.a)(this,e),void 0===l.customLinkType&&(l.customLinkType=f.a.ABSOLUTE_URL),l.type="webwave.link.CustomLinkData",(v=h.call(this,l)).customLinkType=l.customLinkType,v.href=l.href,v.urlType=l.urlType,v}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getShortName",value:function(){return this.href}},{key:"setHref",value:function(l){this.href=l}},{key:"getHref",value:function(){return this.href}},{key:"getCustomLinkType",value:function(){return this.customLinkType}},{key:"setCustomLinkType", 1278value:function(l){this.customLinkType=l}},{key:"getUrlType",value:function(){return this.urlType}},{key:"setUrlType",value:function(l){this.urlType=l}}
1278,{key:"toJSON",value:function(){return{type:this.type,target:this.target,customLinkType:this.customLinkType,href:this.href,urlType:this.urlType}}},{key:"getDefaultLinkName",value:function(){switch(this.customLinkType){case f.a.ABSOLUTE_URL:return i18n.t("com.webwave.link.CustomLinkTypes.enum.absoluteURL");case f.a.PHONE:return i18n.t("menuPopup.defaultInput.phone"); 1279case f.a.EMAIL:return i18n.t("com.webwave.link.CustomLinkTypes.enum.email");case f.a.USER_FILE:return i18n.t("menuPopup.defaultInput.userFile")}}}]),e}(a(78).a)},743:function(r,k,a){a.d(k,"a",function(){return l});var t=a(0),q=a(1),n=a(784),m=a(742),d=a(767),b=a(799),f=a(769),g=a(223),c=a(796),e=a(755),h=a(848),l=function(){function v(){Object(t.a)(this,v)}return Object(q.a)(v,null,[{key:"createLink",value:function(p){if(webwave.isDefAndNotNull(p))switch(p.type){case "webwave.link.PageLinkData":return new e.a(p); 1280case "webwave.link.ObjectLinkData":return new c.a(p);case "webwave.link.FileLinkData":return new b.a(p);case "webwave.link.CustomLinkData":return new m.a(p);case "webwave.link.EmptyLinkData":return new d.a(p);case "webwave.link.InteractionsLinkData":case "com.webwaver.website.render.link.InteractionsLinkData":return new f.a(p);case "webwave.link.AnchorLinkData":return new n.a(p);case "webwave.link.ShowShopCardLinkData":return new h.a(p)}}},{key:"cloneLink",value:function(p){if(webwave.isDefAndNotNull(p))return v.createLink(JSON.parse(JSON.stringify(p)))}}, 1281{key:"getLinkTypeByLinkData",value:function(p){if(webwave.isDefAndNotNull(p))switch(!0){case p instanceof e.a:return webwave.isString(p.pageId)&&p.pageId.startsWith("webpage")?g.a.WEBPAGE:webwave.isString(p.pageId)&&p.pageId.startsWith("newspage")?g.a.NEWSPAGE:g.a.PRODUCTPAGE;case p instanceof c.a:return g.a.OBJECT;case p instanceof m.a:return g.a.CUSTOM;case p instanceof f.a:return g.a.INTERACTION;case p instanceof n.a:return g.a.ANCHOR}return g.a.NO_LINK}}]),v}()},746:function(r,k,a){var t,q;k= 1282Object.prototype;var n=k.hasOwnProperty,m=k.toString;"function"==typeof Symbol&&(t=Symbol.prototype.valueOf);"function"==typeof BigInt&&(q=BigInt.prototype.valueOf);var d={boolean:1,number:1,string:1,undefined:1},b=/^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$/,f=/^[A-Fa-f0-9]+$/,g={};g.a=g.type=function(c,e){return typeof c===e};g.defined=function(c){return void 0!==c};g.empty=function(c){var e,h=m.call(c);if("[object Array]"===h||"[object Arguments]"===h||"[object String]"=== 1283h)return 0===c.length;if("[object Object]"===h){for(e in c)if(n.call(c,e))return!1;return!0}return!c};g.equal=function(c,e){if(c===e)return!0;var h,l=m.call(c);if(l!==m.call(e))return!1;if("[object Object]"===l){for(h in c)if(!(g.equal(c[h],e[h])&&h in e))return!1;for(h in e)if(!(g.equal(c[h],e[h])&&h in c))return!1;return!0}if("[object Array]"===l){if((h=c.length)!==e.length)return!1;for(;h--;)if(!g.equal(c[h],e[h]))return!1;return!0}return"[object Function]"===l?c.prototype===e.prototype:"[object Date]"=== 1284l&&c.getTime()===e.getTime()};g.hosted=function(c,e){var h=typeof e[c];return"object"===h?!!e[c]:!d[h]};g.instance=g.instanceof=function(c,e){return c instanceof e};g.nil=g.null=function(c){return null===c};g.undef=g.undefined=function(c){return void 0===c};g.args=g.arguments=function(c){var e="[object Arguments]"===m.call(c);c=!g.array(c)&&g.arraylike(c)&&g.object(c)&&g.fn(c.callee);return e||c};g.array=Array.isArray||function(c){return"[object Array]"===m.call(c)};g.args.empty=function(c){return g.args(c)&& 12850===c.length};g.array.empty=function(c){return g.array(c)&&0===c.length};g.arraylike=function(c){return!!c&&!g.bool(c)&&n.call(c,"length")&&isFinite(c.length)&&g.number(c.length)&&0<=c.length};g.bool=g.boolean=function(c){return"[object Boolean]"===m.call(c)};g.false=function(c){return g.bool(c)&&!1===!!Number(c)};g.true=function(c){return g.bool(c)&&!0===!!Number(c)};g.date=function(c){return"[object Date]"===m.call(c)};g.date.valid=function(c){return g.date(c)&&!isNaN(Number(c))};g.element=function(c){return void 0!== 1286c&&"undefined"!=typeof HTMLElement&&c instanceof HTMLElement&&1===c.nodeType};g.error=function(c){return"[object Error]"===m.call(c)};g.fn=g.function=function(c){if("undefined"!=typeof window&&c===window.alert)return!0;c=m.call(c);return"[object Function]"===c||"[object GeneratorFunction]"===c||"[object AsyncFunction]"===c};g.number=function(c){return"[object Number]"===m.call(c)};g.infinite=function(c){return c===1/0||c===-1/0};g.decimal=function(c){return g.number(c)&&c==c&&!g.infinite(c)&&0!=c% 12871};g.divisibleBy=function(c,e){var h=g.infinite(c),l=g.infinite(e),v=g.number(c)&&c==c&&g.number(e)&&e==e&&0!==e;return h||l||v&&0==c%e};g.integer=g.int=function(c){return g.number(c)&&c==c&&0==c%1};g.maximum=function(c,e){if(c!=c)throw new TypeError("NaN is not a valid value");if(!g.arraylike(e))throw new TypeError("second argument must be array-like");for(var h=e.length;0<=--h;)if(c<e[h])return!1;return!0};g.minimum=function(c,e){if(c!=c)throw new TypeError("NaN is not a valid value");if(!g.arraylike(e))throw new TypeError("second argument must be array-like"); 1288for(var h=e.length;0<=--h;)if(c>
1288e[h])return!1;return!0};g.nan=function(c){return!g.number(c)||c!=c};g.even=function(c){return g.infinite(c)||g.number(c)&&c==c&&0==c%2};g.odd=function(c){return g.infinite(c)||g.number(c)&&c==c&&0!=c%2};g.ge=function(c,e){if(c!=c||e!=e)throw new TypeError("NaN is not a valid value");return!g.infinite(c)&&!g.infinite(e)&&c>=e};g.gt=function(c,e){if(c!=c||e!=e)throw new TypeError("NaN is not a valid value");return!g.infinite(c)&&!g.infinite(e)&&c>e};g.le=function(c,e){if(c!= 1289c||e!=e)throw new TypeError("NaN is not a valid value");return!g.infinite(c)&&!g.infinite(e)&&c<=e};g.lt=function(c,e){if(c!=c||e!=e)throw new TypeError("NaN is not a valid value");return!g.infinite(c)&&!g.infinite(e)&&c<e};g.within=function(c,e,h){if(c!=c||e!=e||h!=h)throw new TypeError("NaN is not a valid value");if(!g.number(c)||!g.number(e)||!g.number(h))throw new TypeError("all arguments must be numbers");return g.infinite(c)||g.infinite(e)||g.infinite(h)||c>=e&&c<=h};g.object=function(c){return"[object Object]"=== 1290m.call(c)};g.primitive=function(c){return!c||!("object"==typeof c||g.object(c)||g.fn(c)||g.array(c))};g.hash=function(c){return g.object(c)&&c.constructor===Object&&!c.nodeType&&!c.setInterval};g.regexp=function(c){return"[object RegExp]"===m.call(c)};g.string=function(c){return"[object String]"===m.call(c)};g.base64=function(c){return g.string(c)&&(!c.length||b.test(c))};g.hex=function(c){return g.string(c)&&(!c.length||f.test(c))};g.symbol=function(c){return"function"==typeof Symbol&&"[object Symbol]"=== 1291m.call(c)&&"symbol"==typeof t.call(c)};g.bigint=function(c){return"function"==typeof BigInt&&"[object BigInt]"===m.call(c)&&"bigint"==typeof q.call(c)};r.exports=g},747:function(r,k,a){k.a={TOP:"top",TOP_RIGHT:"topRight",RIGHT:"right",BOTTOM_RIGHT:"bottomRight",BOTTOM:"bottom",BOTTOM_LEFT:"bottomLeft",LEFT:"left",TOP_LEFT:"topLeft",CENTER:"center"}},749:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(51),m=function(){function d(){var b=0<arguments.length&&void 0!==arguments[0]? 1292arguments[0]:{};Object(t.a)(this,d);this.gradientType=webwave.isString(b.gradientType)?b.gradientType:"linear-gradient";this.angle=webwave.isString(b.angle)?b.angle:"0deg";this.rgb1=webwave.isString(b.rgb1)?b.rgb1:"#000";this.rgb2=webwave.isString(b.rgb2)?b.rgb2:"#666";this.start1=webwave.isString(b.start1)?b.start1:"0%";this.start2=webwave.isString(b.start2)?b.start2:"100%"}return Object(q.a)(d,[{key:"toBackgroundImageString",value:function(){return"linear-gradient"===this.gradientType?this.gradientType+ 1293"("+this.angle+", "+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+")":"radial-gradient("+this.rgb1+" "+this.start1+", "+this.rgb2+" "+this.start2+")"}},{key:"serialize",value:function(){return{gradientType:this.gradientType,angle:this.angle,rgb1:this.rgb1,start1:this.start1,rgb2:this.rgb2,start2:this.start2}}},{key:"equals",value:function(b){return this.gradientType===b.gradientType&&this.angle===b.angle&&this.rgb1===b.rgb1&&this.rgb2===b.rgb2&&this.start1===b.start1&&this.start2===b.start2}}, 1294{key:"clone",value:function(){return new d(this.serialize())}},{key:"changeWebsiteColorConnection",value:function(b){var f=n.a.changeObjectPropertyWithWebsiteColor(this,b,{property:"rgb1"});b=n.a.changeObjectPropertyWithWebsiteColor(this,b,{property:"rgb2"});return!0===f||!0===b}}]),d}()},752:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=[{name:"blur",defaultValue:0,regex:/blur\(([+-]?([0-9]*[.])?[0-9]+)px\)/},{name:"brightness",defaultValue:1,regex:/brightness\(([+-]?([0-9]*[.])?[0-9]+)\)/}, 1295{name:"contrast",defaultValue:1,regex:/contrast\(([+-]?([0-9]*[.])?[0-9]+)\)/},{name:"greyscale",defaultValue:0,regex:/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]+)\)/}],m=function(){function d(){var b= 12960<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this.invert=this.sepia=this.saturate=this.hueRotate=this.greyscale=this.contrast=this.brightness=this.blur=void 0;this.enabled=!0===b.enabled;this.blur=webwave.isNumberAndNotNaN(b.blur)?b.blur:void 0;this.brightness=webwave.isNumberAndNotNaN(b.brightness)?b.brightness:void 0;this.contrast=webwave.isNumberAndNotNaN(b.contrast)?b.contrast:void 0;this.greyscale=webwave.isNumberAndNotNaN(b.greyscale)?b.greyscale:void 0;this.hueRotate= 1297webwave.isNumberAndNotNaN(b.hueRotate)?b.hueRotate:void 0;this.saturate=webwave.isNumberAndNotNaN(b.saturate)?b.saturate:void 0;this.sepia=webwave.isNumberAndNotNaN(b.sepia)?b.sepia:void 0;this.invert=webwave.isNumberAndNotNaN(b.invert)?b.invert:void 0}return Object(q.a)(d,[{key:"setBlur",value:function(b){this.blur=b}},{key:"setBrightness",value:function(b){this.brightness=b}},{key:"setContrast",value:function(b){this.contrast=b}},{key:"setGreyscale",value:function(b){this.greyscale=b}},{key:"setHueRotate", 1298value:function(b){this.hueRotate=b}},{key:"setSaturate",value:function(b){this.saturate=b}},{key:"setSepia",value:function(b){this.sepia=b}},{key:"setInvert",value:function(b){this.invert=b}},{key:"isEnabled",value:function(){return this.enabled}},{key:"setEnabled",value:function(b){return this.enabled=b}},{key:"toCssString",value:function(){var b="";return this.isEnabled()?(webwave.isDef(this.blur)&&(b+="blur(".concat(Math.abs(this.blur),"px)")),webwave.isDef(this.brightness)&&(b+=" brightness(".concat(Math.abs(this.brightness), 1299")")),webwave.isDef(this.contrast)&&(b+=" contrast(".concat(Math.abs(this.contrast),")")),webwave.isDef(this.greyscale)&&(b+=" grayscale(".concat(Math.abs(this.greyscale),")")),webwave.isDef(this.hueRotate)&&(b+=" hue-rotate(".concat(Math.abs(this.hueRotate),"deg)")),webwave.isDef(this.saturate)&&(b+=" saturate(".concat(Math.abs(this.saturate),")")),webwave.isDef(this.sepia)&&(b+=" sepia(".concat(Math.abs(this.sepia),")")),webwave.isDef(this.invert)&&(b+=" invert(".concat(Math.abs(this.invert),")"))): 1300b="none",b}},{key:"toCss2Map",value:function(){return{filter:this.toCssString()}}},{key:"serialize",value:function(){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(){return new d(this.serialize())}},{key:"multiply",value:function(b){for(var f=0;f<n.length;f++){var g=n[f].name;
1300webwave.isDef(this[g])&&(this[g]*=b)}}}, 1301{key:"add",value:function(b){for(var f=0;f<n.length;f++){var g=n[f].name;webwave.isDef(this[g])&&webwave.isDef(b[g])&&(this[g]+=b[g])}}},{key:"subtract",value:function(b){for(var f=0;f<n.length;f++){var g=n[f].name;webwave.isDef(this[g])&&webwave.isDef(b[g])&&(this[g]-=b[g])}}},{key:"fillDefaultMissingValues",value:function(b){for(var f=0;f<n.length;f++){var g=n[f],c=n[f].name;webwave.isDef(b[c])&&webwave.isNotDef(this[c])&&(this[c]=g.defaultValue)}}},{key:"mergeStyle",value:function(b){if(webwave.isDef(b.enabled)&& 1302(this.enabled=b.enabled),!0===b.enabled)for(var f=0;f<n.length;f++){var g=n[f].name;webwave.isDef(b[g])&&(this[g]=b[g])}}}],[{key:"deserialize",value:function(b){return new d(b)}},{key:"readFromString",value:function(b){for(var f=new d({enabled:webwave.isStringAndNotEmpty(b)}),g=0;g<n.length;g++){var c=n[g],e=b.match(c.regex);null!==e&&(e=parseFloat(e[1]),!1===isNaN(e)&&(f[c.name]=e))}return f}},{key:"createDefaultFilterData",value:function(){return new d({blur:this.DEFAULT_BLUR_VALUE})}}]),d}(); 1303m.DEFAULT_BLUR_VALUE=4.8},755:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f}); 1304var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;if(Object(q.a)(this,c),void 0===h||void 0===h.pageId)throw webwave.debug("No page provided!"),Error("No page provided!");return h.type="webwave.link.PageLinkData",(l=e.call(this,h)).pageId=h.pageId,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"toJSON",value:function(){var h={type:this.type,target:this.target,pageId:this.pageId},l=this.getWPage();return h.pageName=void 0!==l?l.getName():this.pageId,h}},{key:"getShortName", 1305value:function(){var h=this.getWPage();return webwave.isDef(h)?h.getName():this.pageId}},{key:"setPageId",value:function(h){this.pageId=h}},{key:"getPageLanguageId",value:function(){return this.getWPage().getWLanguage().getId()}},{key:"getPageId",value:function(){return this.pageId}},{key:"getLinkDefaultName",value:function(){return this.getWPage().getName()}},{key:"isValid",value:function(){return!!this.getWPage()}},{key:"getWPage",value:function(){return pageService.getWPageById(this.pageId)}}]), 1306c}(a(78).a)},758:function(r,k,a){r={SELF:"self",NEW_TAB:"blank"};a(10).w.addTranslationPrefix(r,"com.webwave.link.LinkTargets");k.a=r},761:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e= 1307Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);a(735);var f=function(g){function c(h){return Object(q.a)(this,c),e.call(this,h)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getSource",value:function(){return this._source}}]),c}(a(940).a)},762:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(207),m=a(916),d=function(){function b(){var f=0<arguments.length&& 1308void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,b);this.enabled=!0===f.enabled;this.background=webwave.isDef(f.background)?new n.a(f.background):new n.a({backgroundColor:b.DEFAULT_BACKGROUND_COLOR});this.mixBlendMode=webwave.isDef(f.mixBlendMode)?f.mixBlendMode:m.a.NORMAL}return Object(q.a)(b,[{key:"isEnabled",value:function(){return this.enabled}},{key:"setEnabled",value:function(f){this.enabled=f}},{key:"toCss2Map",value:function(){var f=this.isEnabled()?this.mixBlendMode:m.a.NORMAL,g=this.isEnabled()? 1309this.background.toCss2Map():(new n.a({enabled:!1})).toCss2Map();f={mixBlendMode:f};return Object.assign(f,g),f}},{key:"toCssString",value:function(){if(this.enabled){var f=$("<div />");return f.css(this.toCss2Map()),f.attr("style")}return"background:none"}},{key:"serialize",value:function(){return{enabled:this.enabled,background:this.background.serialize(),mixBlendMode:this.mixBlendMode}}},{key:"mergeStyle",value:function(f){webwave.isDef(f)&&(webwave.isDef(f.enabled)&&(this.enabled=f.enabled),!0=== 1310f.enabled&&(webwave.isDef(f.background)&&this.background.applyPartialBackgroun
1310dMap(f.background),webwave.isDef(f.mixBlendMode)&&(this.mixBlendMode=f.mixBlendMode)))}},{key:"clone",value:function(){return new b(this.serialize())}},{key:"changeWebsiteColorConnection",value:function(f){var g;return null===(g=this.background)||void 0===g?void 0:g.changeWebsiteColorConnection(f)}}],[{key:"deserialize",value:function(f){return new b(f)}}]),b}();d.DEFAULT_BACKGROUND_COLOR="rgba(200, 99, 99, 0.5)"},763:function(r, 1311k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(824),m=a(51),d=function(){function b(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,b);this.styleMap=f.styleMap;this.styleString=f.styleString;this.textStyleMap=webwave.isDef(f.textStyleMap)?new n.a(f.textStyleMap):void 0;this.textStyleString=this.textStyleMap instanceof n.a?this.textStyleMap.toStyleString():void 0;this.textStyleId=f.textStyleId;this.text=f.text}return Object(q.a)(b,[{key:"removeTextStyleMap", 1312value:function(){this.textStyleString=this.textStyleMap=void 0}},{key:"setTextStyleMap",value:function(f){f instanceof n.a&&(this.textStyleMap=f,this.textStyleString=f.toStyleString())}},{key:"removeTextStyleId",value:function(){this.textStyleId=void 0}},{key:"setTextStyleId",value:function(f){this.textStyleId=f}},{key:"getTextStyleId",value:function(){return this.textStyleId}},{key:"setText",value:function(f){this.text=f}},{key:"getText",value:function(){return this.text}},{key:"setStyleMap",value:function(f){this.styleMap= 1313f}},{key:"getStyleMap",value:function(){return this.styleMap}},{key:"getTextStyleMap",value:function(){return this.textStyleMap}},{key:"serialize",value:function(){return{styleMap:this.styleMap,styleString:this.styleString,textStyleMap:this.textStyleMap,textStyleString:this.textStyleString,textStyleId:this.textStyleId,text:this.text}}},{key:"toJSON",value:function(){return this.serialize()}},{key:"toStyleString",value:function(){return webwave.isDef(this.textStyleId)?"":webwave.isDef(this.textStyleMap)? 1314this.textStyleMap.toStyleString():""}},{key:"toCssMap",value:function(f){webwave.isNotDef(f)&&(f={});var g={};return webwave.isDef(this.styleMap)&&$.extend(g,this.styleMap),!0!==f.noTextStyle&&webwave.isDef(this.textStyleMap)&&$.extend(g,this.textStyleMap.toCssMap()),g}},{key:"applyStyleMap",value:function(f){if(webwave.isDef(f))for(var g in webwave.isNotDef(this.styleMap)&&(this.styleMap={}),f)f.hasOwnProperty(g)&&(this.styleMap[g]=f[g])}},{key:"applyTextStyleMap",value:function(f){webwave.isDef(f)&& 1315(webwave.isNotDef(this.textStyleMap)?this.textStyleMap=new n.a(f):this.textStyleMap.applyPartialTextStyleMap(f),webwave.isDef(this.textStyleMap)&&(this.textStyleString=this.textStyleMap.toStyleString()))}},{key:"applyPartialStyle",value:function(f){webwave.isDef(f)&&(this.applyStyleMap(f.styleMap),this.applyTextStyleMap(f.textStyleMap),webwave.isDef(f.textStyleId)&&(this.textStyleId=f.textStyleId))}},{key:"merge",value:function(f){webwave.isDef(f)&&(this.applyStyleMap(f.styleMap),this.applyTextStyleMap(f.textStyleMap), 1316webwave.isDef(f.textStyleId)&&(this.textStyleId=f.textStyleId))}},{key:"applyStyleRwdProperties",value:function(f){webwave.isNotDef(f)&&(f={});webwave.isNotDef(this.styleMap)&&(this.styleMap={});this.styleMap.paddingTop=f.paddingTop;this.styleMap.paddingRight=f.paddingRight;this.styleMap.paddingBottom=f.paddingBottom;this.styleMap.paddingLeft=f.paddingLeft}},{key:"applyTextStyleRwdProperties",value:function(f){webwave.isNotDef(this.textStyleMap)?this.textStyleMap=new n.a(f):this.textStyleMap.applyRwdTextStyleProperties(f); 1317webwave.isDef(this.textStyleMap)&&(this.textStyleString=this.textStyleMap.toStyleString())}},{key:"applyRwdProperties",value:function(f){webwave.isNotDef(f)&&(f={});this.applyStyleRwdProperties(f.styleMap);this.applyTextStyleRwdProperties(f.textStyleMap)}},{key:"clone",value:function(){return new b($.extend(!0,{},this.serialize()))}},{key:"isEmptyTextStyleMap",value:function(){var f;return webwave.isNotDef(this.textStyleMap)||(null===(f=this.textStyleMap)||void 0===f?void 0:f.isEmpty())}},{key:"removeStyleMap", 1318value:function(){this.styleMap=void 0}},{key:"changeWebsiteColorConnection",value:function(f){var g=this.changeWebsiteColorConnectionInStyleMap(f,{property:"backgroundColor"}),c=this.changeWebsiteColorConnectionInStyleMap(f,{property:"borderBottomColor"}),e=this.changeWebsiteColorConnectionInStyleMap(f,{property:"borderLeftColor"}),h=this.changeWebsiteColorConnectionInStyleMap(f,{property:"borderRightColor"}),l=this.changeWebsiteColorConnectionInStyleMap(f,{property:"borderTopColor"}),v=this.changeWebsiteColorConnectionInStyleMap(f, 1319{property:"backgroundImage"});f=this.changeWebsiteColorConnectionInTextStyleMap(f,{property:"color"});return g||c||e||h||l||v||f}},{key:"changeWebsiteColorConnectionInStyleMap",value:function(f){var g=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c=this.getStyleMap();
1319return!!webwave.isDefAndNotNull(c)&&!0===m.a.changeObjectPropertyWithWebsiteColor(c,f,g)}},{key:"changeWebsiteColorConnectionInTextStyleMap",value:function(f){var g=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}, 1320c=this.getTextStyleMap();return!!webwave.isDefAndNotNull(c)&&!0===m.a.changeObjectPropertyWithWebsiteColor(c,f,g)}}],[{key:"deserialize",value:function(f){return new b(f)}},{key:"deserializeCombinedStyles",value:function(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},g=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c={},e;for(e in f)f.hasOwnProperty(e)&&(c[e]=b.deserialize(f[e]));if(!0===g.createMissingData&&webwave.isDef(g.keys))for(var h in g.keys)g.keys.hasOwnProperty(h)&& 1321(f=g.keys[h],webwave.isNotDef(c[f])&&(c[f]=new b));return c}}]),b}()},764:function(r,k,a){r=a(10);a=a(774);k.a={BRAND:r.x.createVariableById(a.a.BRAND),SECONDARY:r.x.createVariableById(a.a.SECONDARY),COMPLEMENTARY:r.x.createVariableById(a.a.COMPLEMENTARY),FIRST_NEUTRAL:r.x.createVariableById(a.a.FIRST_NEUTRAL),SECOND_NEUTRAL:r.x.createVariableById(a.a.SECOND_NEUTRAL)}},765:function(r,k,a){a.d(k,"a",function(){return c});var t=a(0),q=a(1),n=a(762),m=a(917),d=a(937),b=a(833),f=a(918),g=a(752),c=function(){function e(){var h= 13220<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,e);this.background=webwave.isDef(h.background)?new m.a(h.background):void 0;this.padding=webwave.isDef(h.padding)?new b.a(h.padding):void 0;this.border=webwave.isDef(h.border)?new d.a(h.border):void 0;this.shadow=webwave.isDef(h.shadow)?new f.a(h.shadow):void 0;this.filter=webwave.isDef(h.filter)?new g.a(h.filter):void 0;this.opacity=webwave.isNumberAndNotNaN(h.opacity)?h.opacity:void 0;this.opacityEnabled=webwave.isBoolean(h.opacityEnabled)? 1323h.opacityEnabled:void 0;this.backgroundOverlay=webwave.isDef(h.backgroundOverlay)?new n.a(h.backgroundOverlay):void 0;this.verticalAlign=webwave.isString(h.verticalAlign)?h.verticalAlign:void 0;this.horizontalAlign=webwave.isString(h.horizontalAlign)?h.horizontalAlign:void 0}return Object(q.a)(e,[{key:"serialize",value:function(){var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return{background:webwave.isDef(this.background)?this.background.serialize(h):void 0,padding:webwave.isDef(this.padding)? 1324this.padding.serialize():void 0,border:webwave.isDef(this.border)?this.border.serialize():void 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(){return this.getComputedOpacity()/ 1325100}},{key:"getComputedOpacity",value:function(){return this.opacityEnabled?this.opacity:100}},{key:"toCss2Map",value:function(){var h={};return webwave.isDef(this.opacity)&&(h.opacity=this.getCssOpacity()),webwave.isDef(this.padding)&&$.extend(h,this.padding.toCss2Map()),webwave.isDef(this.border)&&$.extend(h,this.border.toCss2Map()),webwave.isDef(this.shadow)&&$.extend(h,this.shadow.toCss2Map()),webwave.isDef(this.background)&&$.extend(h,this.background.toCss2Map()),webwave.isDef(this.filter)&& 1326$.extend(h,this.filter.toCss2Map()),webwave.isDef(this.backgroundOverlay)&&$.extend(h,this.backgroundOverlay.toCss2Map()),h}},{key:"applyPartialObjectStyle",value:function(h){webwave.isDef(h)&&(webwave.isDef(h.background)&&(webwave.isDef(this.background)?this.background.applyPartialBackgroundMap(h.background):this.background=new m.a(h.background)),webwave.isDef(h.border)&&(webwave.isDef(this.border)?this.border.applyPartialBorderMap(h.border):this.border=new d.a(h.border)),webwave.isDef(h.padding)&& 1327(webwave.isDef(this.padding)?this.padding.applyPartialPaddingMap(h.padding):this.padding=new b.a(h.padding)),webwave.isDef(h.shadow)&&(webwave.isDef(this.shadow)?this.shadow.applyPartialShadowMap(h.shadow):this.shadow=new f.a(h.shadow)),webwave.isDef(h.filter)&&(this.filter=new g.a(h.filter)),webwave.isDef(h.backgroundOverlay)&&(webwave.isDef(this.backgroundOverlay)?this.backgroundOverlay.mergeStyle(h.backgroundOverlay):this.backgroundOverlay=new n.a(h.backgroundOverlay)),webwave.isDef(h.opacityEnabled)&& 1328(this.opacityEnabled=!0===h.opacityEnabled),webwave.isNumberAndNotNaN(h.opacity)&&!0===this.opacityEnabled&&(this.opacity=h.opacity),webwave.isString(h.verticalAlign)&&(this.verticalAlign=h.verticalAlign),webwave.isString(h.horizontalAlign)&&(this.horizontalAlign=h.horizontalAlign))}},{key:"removePadding",value:function(){this.padding=void 0}},{key:"removeFilter",value:function(){this.filter=void 0}},{key:"setFilter",value:function(h){this.filter=h}},{key:"getFilter",value:function(){return this.filter}},
1329{key:"setBackgroundOverlay",value:function(h){this.backgroundOverlay=h}},{key:"getBackgroundOverlay",value:function(){return this.backgroundOverlay}},{key:"getBackground",value:function(){return this.background}},{key:"createDefaultFilterData",value:function(){this.setFilter(g.a.createDefaultFilterData())}},{key:"createDefaultBackgroundOverlay",value:function(){this.setBackgroundOverlay(new n.a({}))}},{key:"clone",value:function(){return new e(this.serialize())}},{key:"changeWebsiteColorConnection", 1330value:function(h){var l,v,p,w,u=null===(l=this.background)||void 0===l?void 0:l.changeWebsiteColorConnection(h);l=null===(v=this.backgroundOverlay)||void 0===v?void 0:v.changeWebsiteColorConnection(h);v=null===(p=this.border)||void 0===p?void 0:p.changeWebsiteColorConnection(h);h=null===(w=this.shadow)||void 0===w?void 0:w.changeWebsiteColorConnection(h);return!0===u||!0===l||!0===v||!0===h}}]),e}()},766:function(r,k,a){var t=a(0),q=a(1),n=a(793);r=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m, 1331null,[{key:"stringAsc",value:function(d,b){return d.sort(function(f,g){return n.a.ignoreCaseTextComparator(f[b],g[b])})}},{key:"stringDesc",value:function(d,b){return d.sort(function(f,g){return-1*n.a.ignoreCaseTextComparator(f[b],g[b])})}},{key:"dateAsc",value:function(d,b){return d.sort(function(f,g){return n.a.defaultComparator(f[b],g[b])})}},{key:"dateDesc",value:function(d,b){return d.sort(function(f,g){return-1*n.a.defaultComparator(f[b],g[b])})}},{key:"numberAsc",value:function(d,b){return d.sort(function(f, 1332g){return n.a.defaultComparator(f[b],g[b])})}},{key:"numberDesc",value:function(d,b){return d.sort(function(f,g){return-1*n.a.defaultComparator(f[b],g[b])})}}]),m}();k.a=r},767:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h= 1333Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;return Object(q.a)(this,c),(l=e.call(this,h)).type="webwave.link.EmptyLinkData",l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getShortName",value:function(){return""}},{key:"isEmptyLink",value:function(){return!0}}]),c}(a(78).a)},769:function(r,k,a){function t(c){var e= 1334function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(884),g=function(c){function e(){var l, 1335v=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,e),(l=h.call(this,v)).type="webwave.link.InteractionsLinkData",l._interactions=new f.a(v.interactions),l}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getInteractions",value:function(){return this._interactions}},{key:"toJSON",value:function(){return{type:this.type,target:this.target,interactions:this._interactions.serialize()}}}]),e}(a(78).a)},770:function(r,k,a){k.a={SHOW:"show",HIDE:"hide",TOGGLE:"toggle"}}, 1336772:function(r,k,a){k.a={PAGEAREA:"pageareaLoadingBoxWrapper",WINDOW:"windowLoadingBoxWrapper"}},774:function(r,k,a){k.a={BRAND:"brand",SECONDARY:"secondary",COMPLEMENTARY:"complementary",FIRST_NEUTRAL:"neutral1",SECOND_NEUTRAL:"neutral2"}},779:function(r,k,a){k.a={OWN_SIZE:0,CHILDREN_SIZE:1}},78:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(758),m=a(223),d=function(){function b(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,b);void 0=== 1337f.type&&(f.type=m.a.NO_LINK);void 0===f.target&&(f.target=n.a.SELF);this.type=f.type;this.target=f.target}return Object(q.a)(b,[{key:"getShortName",value:function(){return this.type}},{key:"setTarget",value:function(f){this.target=f}},{key:"getTarget",value:function(){return this.target}},{key:"getLinkDefaultName",value:function(){return""}},{key:"isValid",value:function(){return!0}},{key:"isEmptyLink",value:function(){return!1}}
1337,{key:"toJSON",value:function(){return{type:this.type,target:this.target}}}]), 1338b}()},780:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(90),m=function(){function d(b){Object(t.a)(this,d);void 0===b&&(b={});this.top=webwave.parseNumber(b.top);this.right=webwave.parseNumber(b.right);this.bottom=webwave.parseNumber(b.bottom);this.left=webwave.parseNumber(b.left);webwave.isDef(b.enabled)?this.enabled=b.enabled:this.enabled=this._computeEnabledValue()}return Object(q.a)(d,[{key:"serialize",value:function(){return{top:this.top,right:this.right,bottom:this.bottom, 1339left:this.left,enabled:this.enabled}}},{key:"_computeEnabledValue",value:function(){for(var b=!1,f=Object.values(n.a),g=0;g<f.length;g++)if(0<this[f[g]]){b=!0;break}return b}},{key:"toCss2Map",value:function(){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")}}},{key:"clone",value:function(){return new d({left:this.left,top:this.top, 1340right:this.right,bottom:this.bottom,enabled:this.enabled})}},{key:"applyPartialPaddingMap",value:function(b){webwave.isDef(b)&&(webwave.isNumberAndNotNaN(b.top)&&(this.top=b.top),webwave.isNumberAndNotNaN(b.right)&&(this.right=b.right),webwave.isNumberAndNotNaN(b.bottom)&&(this.bottom=b.bottom),webwave.isNumberAndNotNaN(b.left)&&(this.left=b.left),webwave.isDef(b.enabled)&&(this.enabled=b.enabled))}},{key:"getComputedTop",value:function(){return this.enabled?this.top:0}},{key:"getComputedRight",value:function(){return this.enabled? 1341this.right:0}},{key:"getComputedLeft",value:function(){return this.enabled?this.left:0}},{key:"getComputedBottom",value:function(){return this.enabled?this.bottom:0}}],[{key:"deserialize",value:function(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new d({top:b.top,right:b.right,bottom:b.bottom,left:b.left,enabled:b.enabled})}}]),d}()},781:function(r,k,a){k.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", 1342BDT:"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",GMD:"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", 1343KMF:"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",PKR:"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", 1344STD:"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"}},784:function(r,k,a){function t(f){var g=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(c){return!1}}(); 1345return function(){var c=Object(d.a)(f);if(g){var e=Object(d.a)(this).constructor;c=Reflect.construct(c,arguments,e)}else c=c.apply(this,arguments);return Object(m.a)(this,c)}}a.d(k,"a",function(){return b});var q=a(0),n=a(3),m=a(4),d=a(2),b=function(f){function g(){var e,h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,g),h.type="webwave.link.AnchorLinkData",(e=c.call(this,h)).anchor=h.anchor,e}Object(n.a)(g,f);var c=t(g);return g}(a(78).a)},785:function(r,k,a){a.d(k, 1346"a",function(){return n});var t=a(0),q=a(1);r=a(830);a=a(804);var n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:m.DEFAULT_POSITION;Object(t.a)(this,m);this.positionOrigin=d instanceof m?d.serialize():d}return Object(q.a)(m,[{key:"setPositionOrigin",value:function(d){this.positionOrigin=d}},{key:"getPositionOrigin",value:function(){return this.positionOrigin}},{key:"getHorizontalPosition",value:function(){return this.positionOrigin[0]}},{key:"getVerticalPosition", 1347value:function(){return this.positionOrigin[1]}},{key:"serialize",value:function(){return this.positionOrigin}}]),m}();n.DEFAULT_POSITION=[a.a.LEFT,r.a.TOP]},788:function(r,k,a){k.a={FIXED:"fixed",SCROLL:"scroll"}},793:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,null,[{key:"ignoreCaseTextComparator",value:function(d,b){d=null===d||void 0===d?void 0:d.toLowerCase();b=null===b||void 0===b?void 0:b.toLowerCase(); 1348return m.defaultComparator(d,b)}},{key:"defaultComparator",value:function(d,b){return webwave.isString(d)&&webwave.isString(b)?d.localeCompare(b,void 0,{numeric:!0,sensitivity:"base"}):d<b?-1:d>b?1:0}}]),m}()},794:function(r,k,a){k.a={FROM:Symbol.for("from"),TO:Symbol.for("to")}},795:function(r,k,a){a.d(k,"a",function(){return B});var t=a(0),q=a(1),n=a(747),m=a(779),d=a(53),b=a(894),f=a(54),g=a(81),c=a(154),e=a(30),h=a(785),l=a(739),v=a(200),p=a(43),w=a(82),u=a(905),z=a(942),y=a(944),A=a(903),E=a(225), 1349C=a(738),D=a(844),F=a(806),B=function(){function H(){var x=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,H);this._customVisibilityParent=null;this.elementRotationService=x.elementRotationService;this.id=x.id;this.$domObject=x.domObject;this._wNodeSettings=new y.a(x.wNodeSettings);this._position=new E.a(x.position);this._offset=new e.a;this._size=new C.a(x.size);Object.defineProperty(this,"pageCanvas",{value:x.pageCanvas,configurable:!1,writable:!0});this.objectService= 1350null;this._renderedRect=new v.a({position:this.recalcToRenderedPosition(this._position),size:this.recalcToRenderedSize(this._size)});this.computedSize=new p.a;this.computedPosition=new e.a;this.fullWidth=!0===x.fullWidth;this.computedFullWidth=!1;this._computedFixed=this.fixed=!0===x.fixed;this._fixParent=null;this._positionOrigin=webwave.isValidEnumValue(x.positionOrigin,l.a)?x.positionOrigin:l.a.PAGE_TOP_LEFT;this.visible=!1!==x.visible;this.visibilities=new A.a;this.visibilities.setBaseVisibility(this.visible); 1351this.visibilities.addPropertyChangeListener("computedVisibility",this);this.visibilities.addPropertyChangeListener("computedVisibilityForChildren",this);this.visibilities.addPropertyChangeListener("computedVisibilityForInFlow",this);this._minSize=new p.a({width:0,height:0});this._boundHeightModifier=this._pushedDown=0;this._parentWNode=this._relationNode=null;this._bulkMode=!0;this.children=[];
1351this._childrenRect=new v.a;this._childrenOuterRect=new v.a;this._visibilityNeedsRecalc=this._domNeedsRecalc= 1352this._attached=this._inFlow=!1;this._wObjectEventListeners=[];this.binds={};this._halfBinds={};this._domSizeMode=webwave.isValidEnumValue(x.domSizeMode,m.a)?x.domSizeMode:m.a.OWN_SIZE;this._ownMouseOver=this._mouseOver=this._autoHeight=this._noUpdateOnChildPositionChange=this._noPushing=!1;this._externalMouseOvers=new Set;this._state=new D.a;this._statesStyles=this.createStatesStyles(x.statesStyles);this.sticky=!0===x.sticky;this._stickyEnded=this._sticked=!1;this._stickyStartDistance=new d.a;this._stickyEndDistance= 1353new d.a;this._stickyEndDistanceEnabled=!1;this._settedRwdModeId=this.stuffedPosition=this.stuffedSize=void 0;this._domElementPositionUpdateEnabled=!0;this._alwaysPushing=!1;this._mostBottomFromOtherPushes=-1/0;this._uiEventsLock=new u.a;this._computedSticky=this._uncopyable=!1;this._stickyParent=null}return Object(q.a)(H,[{key:"createStatesStyles",value:function(x){return F.a.deserialize(x)}},{key:"getId",value:function(){return this.id}},{key:"_groupPushCondition",value:function(){return!0}},{key:"getComputedPosition", 1354value:function(){var x=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},G=!0===x.convertOrigin?this.convertPointToOrigin(this._renderedRect.getPosition(),this.getPositionOrigin()):this._renderedRect.getPosition().clone();return!0===x.includeScrollIfFixed&&this.isFixed()&&(G.y+=this.pageCanvas.getCurrentPageAreaScrollY()),G}},{key:"getComputedSize",value:function(){return this._renderedRect.getSize()}},{key:"getOffset",value:function(){return this._offset}},{key:"computeOffset",value:function(){var x= 1355new e.a;x.setY(x.getY()+this.getPushedDownAttr());var G=this.getParentWNode();return webwave.isDefAndNotNull(G)&&!1===this.isFixed()&&x.add(G.getOffset()),x}},{key:"isNoPushing",value:function(){return this._noPushing}},{key:"setNoPushing",value:function(x){this._noPushing=x}},{key:"onParentOffsetChange",value:function(){this.setNoPushing(!0);this.updateOffset();this.setNoPushing(!1)}},{key:"isNoUpdateOnChildPositionChange",value:function(){return this._noUpdateOnChildPositionChange}},{key:"setNoUpdateOnChildPositionChange", 1356value:function(x){this._noUpdateOnChildPositionChange=x}},{key:"onOffsetChange",value:function(){var x=this.getChildren();this.setNoUpdateOnChildPositionChange(!0);for(var G=0;G<x.length;G++)x[G].onParentOffsetChange();this.setNoUpdateOnChildPositionChange(!1);this.updateDomPosition()}},{key:"setOffset",value:function(x){var G=!1===this._offset.equals(x);this._offset=x;G&&this.onOffsetChange()}},{key:"updateOffset",value:function(){this.setOffset(this.computeOffset())}},{key:"onPushedDownAttrChange", 1357value:function(){this.updateOffset()}},{key:"setPushedDownAttr",value:function(x){var G=x!==this._pushedDown;this._pushedDown=x;G&&this.onPushedDownAttrChange()}},{key:"countPushDownAttr",value:function(x,G){if(!1===isFinite(x))return 0;var I=null!==this.getParentWNode()?this.getParentWNode().getOffset().getY():0;x-=this.getComputedPosition().getY()-I-this.getPushedDownAttr();return!0===G?Math.max(x,0):x}},{key:"updateBoundHeightModifiers",value:function(){this.isVisibleForInFlow()&&null!==this.getRelationNode()&& 1358this.getRelationNode().updateBoundHeightModifiers()}},{key:"setBoundHeightModifier",value:function(x){var G=this._boundHeightModifier!==x;this._boundHeightModifier=x;G&&this.updateDomSize()}},{key:"getBoundHeightModifier",value:function(){return this._boundHeightModifier}},{key:"setBinds",value:function(x){this.binds=x}},{key:"getBinds",value:function(){return this.binds}},{key:"getTopBinds",value:function(){var x={},G=this.getBinds(),I;for(I in G)if(G.hasOwnProperty(I)){var L=G[I];L.getTopGroup()!== 1359this.getId()&&(x[I]=L)}return x}},{key:"getChildren",value:function(x){var G=[],I=this.children;if(!0===x){for(x=0;x<I.length;x++){var L=I[x];(G=G.concat(L.getChildren(!0))).push(L)}I=G}return I}},{key:"updateAllChildrenParentVisibility",value:function(){for(var x=this.getChildren(),G=0;G<x.length;G++)x[G].updateVisibilityFromParent()}},{key:"onVisibilityChange",value:function(){0<arguments.length&&void 0!==arguments[0]&&arguments[0];var x=this.getChildren();if(this.updateAllChildrenParentVisibility(), 1360(0<x.length||!0===this.hasEnableVisibilityWithoutChildren())&&(this.updateChildRect(),this.isSticky()&&this.isVisibleForInFlow()))for(var G=0;G<x.length;G++)x[G].updateDomPosition({noUpdates:!0});this.getDomSizeMode()===m.a.CHILDREN_SIZE&&this.updateInFlow();this.isVisibleForInFlow()&&this.updateDomPosition();this.nofityParentOfVisibilityChange();null!==this._relationNode&&this._relationNode.onWObjectVisibilityChange();this._triggerVisibilityChangeEvent()}},{key:"invalidateVisibility",value:function(){this._visibilityNeedsRecalc= 1361!0}},{key:"_setVisibility",value:function(x){1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!1!==webwave.isBoolean(x)){var G=this.visible!==x;this.visible=x;var I=!0===this.visible?"visible":"hidden";return!0===this.hasDomRepresentation()&&(this.getDomObject()[0].style.visibility=I),G&&this.onVisibilityChange(),G}}
1361},{key:"updateWNodeVisibility",value:function(){if(!1===this.isInitialized()||this.isBulkMode())this.invalidateVisibility();else{var x=this.visibilities.getComputedVisibility(); 1362this._setVisibility(x)}}},{key:"onParentWNodeChange",value:function(x,G){webwave.isDefAndNotNull(this.objectService)&&this.objectService.updateRelationsByWObject(this);webwave.isDefAndNotNull(G)&&G.onChildrenChange();webwave.isDefAndNotNull(x)&&x.onChildrenChange();this.updateOffset();null!==x&&this.updateVisibilityFromParent()}},{key:"computeBaseVisibility",value:function(){return!0}},{key:"updateBaseVisibility",value:function(){this.visibilities.setBaseVisibility(this.computeBaseVisibility())}}, 1363{key:"updateVisibilityFromParent",value:function(){this.visibilities.setParentVisibility(this.computeParentVisibility())}},{key:"computeParentVisibility",value:function(){var x=webwave.isDefAndNotNull(this.getCustomVisibilityParent())?this.getCustomVisibilityParent():this.getParentWNode();return!webwave.isDefAndNotNull(x)||x.visibilities.getComputedVisibilityForChildren()}},{key:"getComputedVisibility",value:function(){return this.visibilities.getComputedVisibility()}},{key:"setParentWNode",value:function(x){var G= 13641<arguments.length&&void 0!==arguments[1]?arguments[1]:{},I=this._parentWNode!==x,L=this._parentWNode;this._parentWNode=x;I&&(this.onParentWNodeChange(this._parentWNode,L),!0!==G.doNotTriggerAscendantTreeChangeOnChildren&&(this.onAncestorTreeChange(),this.getChildren(!0).forEach(function(M){M.onAncestorTreeChange()})))}},{key:"getParentWNode",value:function(){return this._parentWNode}},{key:"getPushedDownAttr",value:function(){var x=parseInt(this._pushedDown);return isNaN(x)?0:x}},{key:"isAttached", 1365value:function(){return this._attached}},{key:"setAttached",value:function(x){var G=this._attached!==x;this._attached=x;G&&this.onAttachedChange(this._attached,!this._attached)}},{key:"updatePushedDownAttr",value:function(){this.isVisibleForInFlow()&&(null!==this.getRelationNode()?this.getRelationNode().updatePushedDown():this._wNodeSettings.hasCountPushDownAttrOnUpdate()?this.setPushedDownAttr(this.countPushDownAttr(0,!0)):this.setPushedDownAttr(0))}},{key:"addBind",value:function(x){}},{key:"removeBind", 1366value:function(x){}},{key:"setBulkOperationsMode",value:function(x){this._bulkOpertionsMode;this._bulkOpertionsMode=x}},{key:"performDomRevalidation",value:function(){this.updateChildRect();this.updateOuterChildRect();this.updatePushedDownAttr();this.updateBoundHeightModifiers()}},{key:"invalidateDom",value:function(){this._domNeedsRecalc=!0}},{key:"performVisibilityRevalidation",value:function(){this.updateVisibilityFromParent();this.updateInFlow();this.updateAnyChildVisibility();this.updateWNodeVisibility()}}, 1367{key:"revalidateDom",value:function(){!0===this._domNeedsRecalc&&this.performDomRevalidation();this._domNeedsRecalc=!1}},{key:"revalidateVisibility",value:function(){!0===this._visibilityNeedsRecalc&&this.performVisibilityRevalidation();this._visibilityNeedsRecalc=!1}},{key:"isBulkMode",value:function(){return this._bulkMode}},{key:"setBulkMode",value:function(x){var G=x!==this._bulkMode;this._bulkMode=!0===x;var I=this.getChildren();this.setNoUpdateOnChildPositionChange(!0);for(var L=0;L<I.length;L++)I[L].setBulkMode(x); 1368this.setNoUpdateOnChildPositionChange(!1);G&&!1===this._bulkMode&&(this.revalidateDom(),this.revalidateVisibility(),null!==this._relationNode&&this._relationNode.onWObjectPositionChange())}},{key:"onChildSizeChange",value:function(x,G,I){this.updateSizeAndPosition()}},{key:"updateSizeAndPosition",value:function(){this.isBulkMode()?this.invalidateDom():this.performDomRevalidation()}},{key:"onChildPositionChange",value:function(x,G,I){this.isNoUpdateOnChildPositionChange()?this.invalidateDom():this.updateSizeAndPosition()}}, 1369{key:"notifyParentOfSizeChange",value:function(x,G){if(!0!==this._noNotifyParentOfSizeChange){var I=this.getParentWNode();webwave.isDefAndNotNull(I)&&I.onChildSizeChange(this,x,G)}}},{key:"notifyParentOfPositionChange",value:function(x,G){if(!0!==this._noNotifyParentOfPositionChange){var I=this.getParentWNo
1369de();webwave.isDefAndNotNull(I)&&I.onChildPositionChange(this,x,G)}}},{key:"onChildVisibilityChange",value:function(x,G,I){x=this.isInFlow();this._noNotifyParentOfInflowChange=!0;this.updateInFlow(); 1370this._noNotifyParentOfInflowChange=!1;x=this.isInFlow()!==x;G=this.visibilities.computeVisibility();this._noNotifyParentOfVisibilityChange=!0;this.updateAnyChildVisibility();this._noNotifyParentOfVisibilityChange=!1;G=this.visibilities.computeVisibility()!==G;I=this.getOuterChildRect().clone();this._noNotifyParentOfPositionChange=this._noNotifyParentOfSizeChange=!0;this.updateChildRect();this._noNotifyParentOfPositionChange=this._noNotifyParentOfSizeChange=!1;I=!1===this.getOuterChildRect().clone().equals(I); 1371x&&this.notifyParentOfInFlowChange();G&&this.nofityParentOfVisibilityChange();I&&(this.notifyParentOfSizeChange(),this.notifyParentOfPositionChange())}},{key:"nofityParentOfVisibilityChange",value:function(){if(!0!==this._noNotifyParentOfVisibilityChange){var x=this.getParentWNode();webwave.isDefAndNotNull(x)&&x.onChildVisibilityChange(this,this.isVisible(),!this.isVisible())}}},{key:"onChildInFlowChange",value:function(x,G,I){this.updateInFlow();this.updateChildRect()}},{key:"notifyParentOfInFlowChange", 1372value:function(){if(!0!==this._noNotifyParentOfInflowChange){var x=this.getParentWNode();webwave.isDefAndNotNull(x)&&x.onChildInFlowChange(this,this.isInFlow(),!this.isInFlow())}}},{key:"onInFlowChange",value:function(){this.notifyParentOfInFlowChange()}},{key:"setInFlow",value:function(x){var G=x!==this._inFlow;this._inFlow=x;G&&this.onInFlowChange()}},{key:"isInFlow",value:function(){return this._inFlow}},{key:"onChildrenChange",value:function(){this.updateInFlow();this.updateAnyChildVisibility(); 1373this.updateSizeAndPosition()}},{key:"onChildFixedChange",value:function(){this.updateSizeAndPosition()}},{key:"notifyParentOfFixedChange",value:function(){var x=this.getParentWNode();webwave.isDefAndNotNull(x)&&x.onChildFixedChange()}},{key:"onFixedChange",value:function(x,G){this.notifyParentOfFixedChange();this.getDomSizeMode()===m.a.CHILDREN_SIZE&&this.updateChildRect()}},{key:"onChildAttachedChange",value:function(){this.updateInFlow()}},{key:"notifyParentOfAttachedChange",value:function(){var x= 1374this.getParentWNode();webwave.isDefAndNotNull(x)&&x.onChildAttachedChange()}},{key:"onAttachedChange",value:function(x,G){this.isFixed()&&this.isAttached()&&this.updateDomPosition();this.notifyParentOfAttachedChange();this.updateAnyChildVisibility()}},{key:"setRelationNode",value:function(x){this._relationNode=x}},{key:"getRelationNode",value:function(){return this._relationNode}},{key:"updateAnyChildVisibility",value:function(){this.getDomSizeMode()===m.a.CHILDREN_SIZE&&(this.isBulkMode()?this.invalidateVisibility(): 1375!1===this.hasEnableVisibilityWithoutChildren()&&0===this.getAllChildrenForSizeComputation().length?this.visibilities.setAnyChildVisibility(!1):this.visibilities.setAnyChildVisibility(void 0))}},{key:"onChildAdded",value:function(x){this.updateInFlow();this.updateAnyChildVisibility();this.updateSizeAndPosition()}},{key:"onChildRemoved",value:function(){this.updateInFlow();this.updateAnyChildVisibility();this.updateSizeAndPosition()}},{key:"forEachAncestor",value:function(x){if(!1!==webwave.isFunction(x))for(var G= 1376this.getParentWNode();null!==G;)x(G),G=G.getParentWNode()}},{key:"onDescendantTreeChange",value:function(){}},{key:"_updateComputedFixed",value:function(){var x=this._computeFixed();this._computedFixed!==x&&this._setComputedFixed(x)}},{key:"_computeFixParent",value:function(){var x,G;return null!==(x=this.getParentWNode())&&void 0!==x&&x.canBeFixedParent()?this.getParentWNode():null===(G=this.getParentWNode())||void 0===G?void 0:G._computeFixParent()}},{key:"canBeFixedParent",value:function(){return!1=== 1377this.allowAlternateFixedChildren()&&(null===this.getParentWNode()||this.getParentWNode().allowAlternateFixedChildren())}},{key:"_setFixParent",value:function(x){var G=this._fixParent!==x;this._fixParent=x;G&&this._updateComputedFixed()}},{key:"getFixParent",value:function(){return this._fixParent}},{key:"_updateFixParent",value:function(){this._setFixParent(this._computeFixParent())}},{key:"onAncestorTreeChange",value:function(){this._updateStickyParent();this._updateFixParent()}},{key:"addChild", 1378value:function(x,G){webwave.isDefAndNotNull(x._parentWNode)&&x._parentWNode.removeChild(x,{doNotTriggerAscendantTreeChangeOnChildren:!0});var I=this.children.indexOf(x);-1!==I&&this.children.splice(I,1);webwave.isNumberAndNotNaN(G)?this.children.splice(g.a.limitValue(G,0,this.children.length),0,x):this.children.push(x);
1378x.setParentWNode(this);this.onChildAdded(x);this.onDescendantTreeChange();this.forEachAncestor(function(L){L.onDescendantTreeChange()})}},{key:"removeChild",value:function(x){var G= 13791<arguments.length&&void 0!==arguments[1]?arguments[1]:{},I=this.children.indexOf(x);-1!==I&&(this.children.splice(I,1),x.getParentWNode()===this&&x.setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:G.doNotTriggerAscendantTreeChangeOnChildren}),this.onChildRemoved(),this.onDescendantTreeChange(),this.forEachAncestor(function(L){L.onDescendantTreeChange()}))}},{key:"getChildWNodeIndex",value:function(x){return this.children.indexOf(x)}},{key:"swapChildren",value:function(x){for(var G= 1380this.getChildren().slice(),I=0;I<G.length;I++)G[I].setParentWNode(null,{doNotTriggerAscendantTreeChangeOnChildren:!0});this.children=x;for(G=0;G<x.length;G++)x[G].setParentWNode(this);this.onChildrenChange()}},{key:"bulkAddChildren",value:function(x){var G=this;x=x.filter(function(I){return-1===G.children.indexOf(I)});this.swapChildren(this.children.concat(x))}},{key:"bulkRemoveChildren",value:function(x){var G=this.children.filter(function(I){return-1===x.indexOf(I)});this.swapChildren(G)}},{key:"hasChildren", 1381value:function(){return 0<this.children.length}},{key:"onOuterChildRectChange",value:function(x,G){this.getDomSizeMode()===m.a.CHILDREN_SIZE&&(this.updateDomSizeAndPosition(),x.getPosition().getY()!==G.getPosition().getY()&&this.updatePushedDownAttr(),x.getPosition().getY()+x.getSize().getHeight()!==G.getPosition().getY()+G.getSize().getHeight()&&this.updateBoundHeightModifiers())}},{key:"getOuterChildRect",value:function(){return this._childrenOuterRect}},{key:"setOuterChildRect",value:function(x){var G= 1382this.getOuterChildRect(),I=!1===G.equals(x);this._childrenOuterRect=x;I&&this.onOuterChildRectChange(x,G)}},{key:"getPadding",value:function(){return 0}},{key:"getBorderWidth",value:function(){return 0}},{key:"updateOuterChildRect",value:function(){if(this.getDomSizeMode()!==m.a.OWN_SIZE)if(this.isBulkMode())this.invalidateDom();else{var x=this.getPaddingAndBorderSizes(),G=this.getChildRect().clone();G.getPosition().setX(G.getPosition().getX()-x.left);G.getPosition().setY(G.getPosition().getY()-x.top); 1383G.getSize().setWidth(G.getSize().getWidth()+x.horizontal);G.getSize().setHeight(G.getSize().getHeight()+x.vertical);this.setOuterChildRect(G)}}},{key:"getChildRect",value:function(){return this._childrenRect}},{key:"onChildRectChange",value:function(x,G){this.updateOuterChildRect()}},{key:"setChildrenRect",value:function(x){var G=this._childrenRect,I=!1===this._childrenRect.equals(x);this._childrenRect=x;I&&this.onChildRectChange(this._childrenRect,G)}},{key:"getAllChildrenForSizeComputation",value:function(){var x= 1384this;return this.getDomSizeMode()===m.a.OWN_SIZE?this.getChildren().filter(function(G){return!0===G._shouldBeConsiderInParentSizeComputation()}):this.getChildren().filter(function(G){return!0===G._shouldBeConsiderInParentSizeComputation()&&(!0===x.isFixed()||!1===G.isFixed())})}},{key:"countEdgePosition",value:function(x){var G=this.getAllChildrenForSizeComputation();if(0===G.length)return x!==n.a.TOP&&x!==n.a.BOTTOM||!Number.isFinite(this.getMostBottomFromOtherPushes())?0:this.getMostBottomFromOtherPushes()+ 1385this.getPaddingAndBorderSizes().top;switch(x){case n.a.LEFT:return G.reduce(function(I,L){return Math.min(I,L.getRenderedRectangle().getX1())},1/0);case n.a.TOP:return G.reduce(function(I,L){return Math.min(I,L.getRenderedRectangle().getY1())},1/0);case n.a.BOTTOM:return G.reduce(function(I,L){return Math.max(I,L.getRenderedRectangle().getY2())},-1/0);case n.a.RIGHT:return G.reduce(function(I,L){return Math.max(I,L.getRenderedRectangle().getX2())},-1/0)}return null}},{key:"calcChildrenRect",value:function(){var x= 1386this.countEdgePosition("top")-this.getOffset().getY(),G=this.countEdgePosition("left"),I=this.countEdgePosition("bottom")-this.getOffset().getY(),L=this.countEdgePosition("right");return new v.a({position:{x:G,y:x},size:{width:L-G,height:I-x}})}},{key:"updateChildRect",value:function(){this.getDomSizeMode()===m.a.CHILDREN_SIZE&&this.setChildrenRect(this.calcChildrenRect())}},{key:"convertHorizontalLengthToUnit",value:function(x,G){return webwave.isDef(this.pageCanvas)?this.pageCanvas.convertHorizontalLengthToUnit(x, 1387G):(0==x instanceof d.a&&(x=d.a.createLengthWithPxUnitFromValue(x)),x)}},{key:"convertVerticalLengthToUnit",value:function(x,G){return webwave.isDef(this.pageCanvas)?this.pageCanvas.convertVerticalLengthToUnit(x,G):(0==x instanceof d.a&&(x=d.a.createLengthWithPxUnitFromValue(x)),x)}},{key:"convertVerticalLengthFromUnit",value:function(x){if(webwave.isDef(this.pageCanvas)){var G=this.pageCanvas.createPageDimensionObject();return b.a.convertVerticalLengthToPx(x,G)}return 0==x instanceof d.a&&(x=d.a.createLengthWithPxUnitFromValue(x)), 1388x}},{key:"recalcToRenderedPosition",value:function(x){var G=x.getX();x=x.getY();var I=new e.a({x:G.getValue(),y:x.getValue()});return webwave.isNotDefOrNull(this.pageCanvas)?I:(I.setX(this.convertHorizontalLengthToUnit(G,f.a.PX).getValue()),I.setY(this.convertVerticalLengthToUnit(x,f.a.PX).getValue()),I)}},{key:"initialize",value:function(){this._initialized=!0}},{key:"isInitialized",value:function(){return!0}},{key:"isBeingInitialized",value:function(){return!1}},{key:"isNodeAtBottomInRelation", 1389value:function(x){var G;return(null===(G=this.getBinds()[x.getId()])||void 0===G?void 0:G.getBottomGroup())===x.getId()}},{key:"applySizeModifiers",value:function(x){x.height+=this.getBoundHeightModifier()}},{key:"addWObjectEventListener",value:function(x){this._wObjectEventListeners.push(x)}},{key:"removeWObjectEventListener",value:function(x){x=this._wObjectEventListeners.indexOf(x);
1389-1!==x&&this._wObjectEventListeners.splice(x,1)}},{key:"_triggerSizeChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var x= 1390new z.a(this),G=0;G<this._wObjectEventListeners.length;G++)this._wObjectEventListeners[G].wObjectSizeChanged(x)}},{key:"_triggerPositionChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var x=new z.a(this),G=0;G<this._wObjectEventListeners.length;G++)this._wObjectEventListeners[G].wObjectPositionChanged(x)}},{key:"_triggerVisibilityChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var x=new z.a(this),G=0;G<this._wObjectEventListeners.length;G++)this._wObjectEventListeners[G].wObjectVisibilityChanged(x)}}, 1391{key:"_triggerStickyChangeEvent",value:function(){if(0<this._wObjectEventListeners.length)for(var x=new z.a(this),G=0;G<this._wObjectEventListeners.length;G++)webwave.isFunction(this._wObjectEventListeners[G].wObjectStickyChanged)&&this._wObjectEventListeners[G].wObjectStickyChanged(x)}},{key:"_convertPositionOriginEnumToClass",value:function(x){switch(x){case l.a.PAGE_TOP_RIGHT:case l.a.SCREEN_TOP_RIGHT:x=n.a.RIGHT;break;default:x=n.a.LEFT}return new h.a([x,n.a.TOP])}},{key:"getPositionOrigin",value:function(){return!0=== 1392(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).asClass?this._convertPositionOriginEnumToClass(this._positionOrigin):this._positionOrigin}},{key:"_convertPositionOriginClassToEnum",value:function(x){x=new h.a(x);l.a.PAGE_TOP_LEFT;return this.isDynamicPositioning()?"left"===x.getHorizontalPosition()?l.a.SCREEN_TOP_LEFT:l.a.SCREEN_TOP_RIGHT:"left"===x.getHorizontalPosition()?l.a.PAGE_TOP_LEFT:l.a.PAGE_TOP_RIGHT}},{key:"convertPointFromOrigin",value:function(x,G){x=x.clone();return G!==l.a.SCREEN_TOP_RIGHT&& 1393G!==l.a.PAGE_TOP_RIGHT||x.setX(x.getX()+this.getComputedSize().getWidth()),webwave.isDefAndNotNull(this.pageCanvas)?this.pageCanvas.convertPointFromOrigin(x,G):x}},{key:"applyPositionModifiers",value:function(x){x.add(this.getOffset())}},{key:"_applyFixedModifications",value:function(x){return webwave.isDef(this.objectService)&&(this.getDomObject()[0].style.position="fixed",x=this.objectService.normal2FixedCoords(x)),x}},{key:"computeStickyStartDistanceValue",value:function(){return this.convertVerticalLengthToUnit(this.getStickyStartDistance()).getValue()}}, 1394{key:"_applyStickyModifications",value:function(x){if(webwave.isDef(this.pageCanvas)){var G=this.computeStickyEndDistanceValue(),I=this.computeStickyStartDistanceValue(),L=this.pageCanvas.getViewPort().getY1(),M=L>x.y-I&&L<G;L=L>=G;this.getDomObject()[0].style.position=M?"fixed":"absolute";M&&(x=this.objectService.normal2FixedCoords(new e.a({x:x.x,y:I})));L?(x.y=G+I,this.setStickyEnded(!0)):this.setStickyEnded(!1);this.getDomObject().toggleClass("sticked",M);this.setSticked(M)}return x}},{key:"computeStickyEndDistanceValue", 1395value:function(){var x=1/0,G=this.getParentWNode();return webwave.isDefAndNotNull(G)&&!1===G.allowAlternateFixedChildren()?x=this.getParentWNode().computeStickyEndDistanceValue():this.isStickyEndDistanceEnabled()&&(x=this.convertVerticalLengthToUnit(this.getStickyEndDistance()).getValue()),x}},{key:"_triggerPostPositionChangeEvents",value:function(x,G){this.onDomPositionChange();this.isAttached()&&this.isVisibleForInFlow()&&this.notifyParentOfPositionChange(x,G);null!==this._relationNode&&this._relationNode.onWObjectPositionChange(x, 1396G);this.afterDomPositionChange();this._triggerPositionChangeEvent()}},{key:"updateDomPosition",value:function(x){if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){webwave.isNotDef(x)&&(x={});var G=this.getComputedPosition().clone();if(this.getDomSizeMode()===m.a.OWN_SIZE){var I=this.recalcToRenderedPosition(this._position);I=this.convertPointFromOrigin(I,this.getPositionOrigin())}else I=this.getOuterChildRect().getPosition().clone();this.isFullWidth()&& 1397(I.x=this.computeFullWidthParams().x);this.applyPositionModifiers(I);webwave.isDef(this.stuffedPosition)&&(I=this.stuffedPosition);var L=!1===G.equals(I);return this._renderedRect.setPosition(I.clone()),this.isDomElementPositionUpdateEnabled()&&this.updateDomElementPosition(),L&&!0!==x.noUpdates&&this._triggerPostPositionChangeEvents(I,G),L}}},{key:"afterDomSizeChange",value:function(){}},{key:"onDomPositionChange",value:function(){}},{key:"afterDomPositionChange",value:function(){}},{key:"updateSizesAfterRotate", 1398value:function(){}},{key:"recalcToRenderedSize",value:function(x){var G=x.getWidth();x=x.getHeight();var I=new p.a({width:G.getValue(),height:x.getValue()});
1398return webwave.isNotDefOrNull(this.pageCanvas)?I:(I.setWidth(this.convertHorizontalLengthToUnit(G,f.a.PX).getValue()),I.setHeight(this.convertVerticalLengthToUnit(x,f.a.PX).getValue()),I)}},{key:"getSize",value:function(){return this._size}},{key:"getPosition",value:function(){return this._position}},{key:"isFullWidth",value:function(){return this.fullWidth}}, 1399{key:"isFixed",value:function(){return!0===(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).ownValue?this.fixed:this._computedFixed}},{key:"setFixed",value:function(x){var G=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},I=this.fixed!==x;this.fixed=!0===x;this._updateComputedFixed();!0===G.userInteraction&&this.saveCurrentRwdProperties();I&&this.notifyDescendantsOfFixedParentChange()}},{key:"_computeFixed",value:function(){var x=this.getFixParent();return webwave.isDefAndNotNull(x)? 1400x.isFixed({ownValue:!0}):this.isFixed({ownValue:!0})}},{key:"_setComputedFixed",value:function(x){var G=x!==this._computedFixed;this._computedFixed=!0===x;G&&(this.updateOffset(),this.updateDomPosition(),this.onFixedChange())}},{key:"notifyDescendantsOfFixedParentChange",value:function(){for(var x=this.getChildren(!0),G=0;G<x.length;G++)x[G].onParentFixedChange()}},{key:"onParentFixedChange",value:function(){this._updateComputedFixed()}},{key:"getOriginSize",value:function(){return this.recalcToRenderedSize(this.getSize())}}, 1401{key:"getMinSize",value:function(){return this._minSize}},{key:"getRotation",value:function(){return 0}},{key:"applyComputedSizeModifiers",value:function(x){this.isAutoHeight()&&x.setHeight(0)}},{key:"getDomSizeMode",value:function(){return this._domSizeMode}},{key:"computeFullWidthParams",value:function(){var x,G=null===(x=this.rwdService)||void 0===x?void 0:x.getCurrentMode();if(webwave.isDef(this.pageCanvas)&&this._settedRwdModeId===(null===G||void 0===G?void 0:G.getId()))return this.pageCanvas.getFullWidthObjectParams(); 1402var I,L,M,P;x=null===(I=com)||void 0===I?void 0:null===(L=I.webwave)||void 0===L?void 0:null===(M=L.gui)||void 0===M?void 0:null===(P=M.rwd)||void 0===P?void 0:P.rwdService.getRwdModeById(this._settedRwdModeId);return{x:0,width:(null===x||void 0===x?void 0:x.width)||0}}},{key:"computeSize",value:function(){var x=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(webwave.isDef(this.stuffedSize))return this.stuffedSize;var G=this.getMinSize(),I=this.getDomSizeMode()===m.a.OWN_SIZE?this.recalcToRenderedSize(this.getSize()): 1403this._childrenOuterRect.getSize().clone();this.applyComputedSizeModifiers(I);var L=Math.max(I.getHeight(),G.getHeight());G=Math.max(I.getWidth(),G.getWidth());!0!==x.noRotation&&this.isRotated()&&(x=this.elementRotationService.transformSizesToRotation(G,L,this.getRotation()),G=x.getWidth(),L=x.getHeight());return this.isFullWidth()&&(G=this.computeFullWidthParams().width),new p.a({width:G,height:L})}},{key:"isVisible",value:function(){return this.visible}},{key:"isVisibleForInFlow",value:function(){return this.visibilities.getComputedVisibilityForInFlow()}}, 1404{key:"isVisibleForChildren",value:function(){return this.visibilities.getComputedVisibilityForChildren()}},{key:"isRotated",value:function(){return!1}},{key:"_setWObjectPosition",value:function(x){var G=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!1===this._position.equals(x)&&(this._position=x,this.updateInFlow(),!0!==G.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition())}},{key:"getDomObject",value:function(){return webwave.isDef(this.$domObject)?this.$domObject:$()}}, 1405{key:"hasDomRepresentation",value:function(){return 0!==this.getDomObject().length}},{key:"_setPositionOld",value:function(x,G,I){void 0===I&&(I={});var L=!1;null!==x&&(this.getPosition().setXValue(x),!1===this.noHorizontalDrag&&(L=!0));null!==G&&(this.isFooterElement()&&0>G&&(G=Math.max(0,G)),this.getPosition().setYValue(G),L=!0);L&&!0!==I.noDomElementUpdate&&this.isInitialized()&&this.updateDomPosition()}},{key:"setPosition",value:function(x,G){var I=2<arguments.length&&void 0!==arguments[2]?arguments[2]: 1406{};x instanceof E.a?(this._setWObjectPosition(x,G),webwave.isDef(G)&&(I=G)):this._setPositionOld(x,G,I);!0===I.userInteraction&&this.saveCurrentRwdProperties()}},{key:"_computeInFlow",value:function(x){return this.getDomSizeMode()===m.a.CHILDREN_SIZE&&!1===this.hasEnableFlowWithoutChildren()?0<this.getAllChildrenForSizeComputation().length:this.getSize().getWidth().getUnit()!==f.a.PERCENT&&this.get
1406Size().getHeight().getUnit()!==f.a.PERCENT&&this.getPosition().getX().getUnit()!==f.a.PERCENT&&this.getPosition().getY().getUnit()!== 1407f.a.PERCENT}},{key:"updateInFlow",value:function(){this.setInFlow(this._computeInFlow())}},{key:"_oldSetSize",value:function(x,G){2<arguments.length&&void 0!==arguments[2]&&arguments[2];var I=!1;return null!==x&&(x=Math.min(x,H.maxSize.WIDTH),this._size.getWidth().getValue()!==x&&(I=!0),this._size.getWidth().setValue(x)),null!==G&&(G=Math.min(G,H.maxSize.HEIGHT),this._size.getHeight().getValue()!==G&&(I=!0),this._size.getHeight().setValue(G)),this.updateDomSize(),I}},{key:"_newSetSize",value:function(x){var G= 14081<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return!1===this._size.equals(x)&&(this._size=x,this.updateInFlow(),!0!==G.noDomElementUpdate&&this.isInitialized()&&this.updateDomSizeAndPosition(),!0)}},{key:"setSize",value:function(x,G,I){var L=!1;return x instanceof C.a?(L=this._newSetSize(x,G),webwave.isDef(G)&&(I=G)):L=this._oldSetSize(x,G,I),webwave.isNotDef(I),L}},{key:"_triggerPostSizeChangeEvents",value:function(x,G){webwave.isFunction(this.updateSizesAfterRotate)&&this.updateSizesAfterRotate(); 1409this.isAttached()&&this.isVisibleForInFlow()&&this.notifyParentOfSizeChange(x,G);null!==this._relationNode&&this._relationNode.onWObjectSizeChange(x,G);this.afterDomSizeChange();this._triggerSizeChangeEvent()}},{key:"updateDomSize",value:function(){var x=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if((!1!==this.isInitialized()||!1!==this.isBeingInitialized())&&!1!==this.hasDomRepresentation()){var G=this.getComputedSize().clone(),I=this.computeSize();this.applySizeModifiers(I);var L= 1410!1===this._renderedRect.getSize().equals(I);return this._renderedRect.setSize(I),!0===this.hasDomRepresentation()&&(this.$domObject[0].style.width=I.getWidth()+"px",this.$domObject[0].style.height=I.getHeight()+"px"),!0===L&&!0!==x.noUpdates&&this._triggerPostSizeChangeEvents(I,G),L}}},{key:"updateDomSizeAndPosition",value:function(){var x=this.updateDomSize({noUpdates:!0}),G=this.updateDomPosition({noUpdates:!0});!0===x&&this._triggerPostSizeChangeEvents();!0===G&&this._triggerPostPositionChangeEvents()}}, 1411{key:"setObjectService",value:function(x){Object.defineProperty(this,"objectService",{value:x,configurable:!1})}},{key:"getSiblings",value:function(){var x=this;return null!==this.getParentWNode()?this.getParentWNode().getChildren().filter(function(G){return G!==x}):[]}},{key:"isAutoHeight",value:function(){return this._autoHeight}},{key:"isEveryChildrenHasAutoHeight",value:function(){var x=this.getChildren(!0);return 0<x.length&&x.every(function(G){return!0===G.isAutoHeight()})}},{key:"onAutoHeightChange", 1412value:function(){}},{key:"setAutoHeight",value:function(x){var G=this.autoHeight!==x;this._autoHeight=x;G&&this.onAutoHeightChange()}},{key:"computeAutoHeight",value:function(){return!1}},{key:"updateAutoHeight",value:function(){this.setAutoHeight(this.computeAutoHeight())}},{key:"isMouseOver",value:function(){return this._mouseOver}},{key:"onChildMouseOverChange",value:function(){this.updateMouseOver()}},{key:"onMouseOverChange",value:function(){var x=this.getParentWNode();webwave.isDefAndNotNull(x)&& 1413x.onChildMouseOverChange()}},{key:"setMouseOver",value:function(x){var G=this._mouseOver!==x;this._mouseOver=x;G&&this.onMouseOverChange()}},{key:"computeMouseOver",value:function(){return this.getOwnMouseOver()||0<this._externalMouseOvers.size||this.getChildren().some(function(x){return x.isMouseOver()})}},{key:"updateMouseOver",value:function(){this.setMouseOver(this.computeMouseOver())}},{key:"getOwnMouseOver",value:function(){return this._ownMouseOver}},{key:"onOwnMouseOverChange",value:function(){this.updateMouseOver(); 1414this.updateState()}},{key:"setOwnMouseOver",value:function(x){var G=this._ownMouseOver!==x;this._ownMouseOver=x;G&&this.onOwnMouseOverChange()}},{key:"domMouseEnterHandler",value:function(){this.setOwnMouseOver(!0)}},{key:"domMouseLeaveHandler",value:function(){this.setOwnMouseOver(!1)}},{key:"initHoverEvents",value:function(){var x=this,G=this.getDomObject();G.on("mouseenter",function(){!1===x._uiEventsLock.isLocked()?x.domMouseEnterHandler():x.customMouseEnterHandler()});G.on("mouseleave",function(){!1=== 1415x._uiEventsLock.isLocked()&&x.domMouseLeaveHandler()})}},{key:"customMouseEnterHandler",value:function(){}},{key:"hasTopBinds",value:function(){var x=this.getBinds(),G;for(G in x)if(x.hasOwnProperty(G)&&x[G].getTopGroup()!==this.getId())return!0;return!1}},{key:"hasBinds",value:function(){return 0<Object.keys(this.getBinds()).length}},{key:"setStatesStyles",value:function(x){this._statesStyles=x}},{key:"getStatesStyles",value:function(){return this._statesStyles}},{key:"applyStateStyle",value:function(x){if((1< 1416arguments.length&&void 0!==arguments[1]?arguments[1]:{}).mergeStyles){var G=this.getStateStyle(w.a.NORMAL).clone();var I=this.getStateStyle(w.a.HOVER).clone();G.applyPartialObjectStyle(I)}
1416else G=this.getStateStyle(x);this.applyPartialObjectStyle(G)}},{key:"applyPartialObjectStyle",value:function(x){}},{key:"updateStateStyle",value:function(){if(this.canChangeStateStyle()){var x=this.getState().getName();this.applyStateStyle(x,{mergeStyles:this.shouldMergeStateStyles(x)})}else webwave.error("object not support changeStates")}}, 1417{key:"shouldMergeStateStyles",value:function(x){return x===w.a.HOVER}},{key:"onSStateChange",value:function(){this.canChangeStateStyle()&&this.updateStateStyle()}},{key:"setState",value:function(x){var G=this.getState().getName()!==x;this.getState().setStateByName(x);G&&this.onSStateChange()}},{key:"getState",value:function(){return this._state}},{key:"updateState",value:function(){this.canChangeState()&&this.setState(this.computeState())}},{key:"temporaryChangeState",value:function(x){this.setState(x)}}, 1418{key:"setStyleVersion",value:function(x){this.applyStateStyle(x)}},{key:"computeState",value:function(){return this.computeMouseOver()?w.a.HOVER:w.a.NORMAL}},{key:"canChangeState",value:function(){return!1===this.getState().isLocked()}},{key:"canChangeStateStyle",value:function(){return!1}},{key:"canChangeStateByStyleableComponent",value:function(){return!1}},{key:"getStateStyle",value:function(x){return this.getStatesStyles().getState(x)}},{key:"canChangePositionOrigin",value:function(){return!0}}, 1419{key:"setDynamicPositioning",value:function(x){var G=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!0===x?this.setPositionOrigin(l.a.SCREEN_TOP_LEFT,{userInteraction:G.userInteraction,isActionUndoable:G.isActionUndoable,recalcPosition:!0,deep:G.deep}):this.setPositionOrigin(l.a.PAGE_TOP_LEFT,{userInteraction:G.userInteraction,isActionUndoable:G.isActionUndoable,recalcPosition:!0,deep:G.deep})}},{key:"setPreviousPosition",value:function(){}},{key:"isDynamicPositioning",value:function(){return this.getPositionOrigin()=== 1420l.a.SCREEN_TOP_LEFT||this.getPositionOrigin()===l.a.SCREEN_TOP_RIGHT}},{key:"canChangeDynamicPositioning",value:function(){return!0}},{key:"setSticky",value:function(x){var G=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},I=this.sticky!==x;return this.sticky=x,I&&this.notifyDescendantsOfStickyParentChange(),this._updateComputedSticky(G)}},{key:"notifyDescendantsOfStickyParentChange",value:function(){for(var x=this.getChildren(!0),G=0;G<x.length;G++)x[G].onParentStickyChange()}},{key:"onParentStickyChange", 1421value:function(){this._updateComputedSticky()}},{key:"_updateComputedSticky",value:function(x){var G=this._computeSticky();return this._computedSticky!==G&&this._setComputedSticky(G,x)}},{key:"_computeSticky",value:function(){var x=this._stickyParent;return webwave.isDefAndNotNull(x)?x.isOwnedSticky():this.isOwnedSticky()}},{key:"isOwnedSticky",value:function(){return this.sticky}},{key:"_setComputedSticky",value:function(x){1<arguments.length&&void 0!==arguments[1]&&arguments[1];var G=this._computedSticky!== 1422x;if(this._computedSticky=x,G){if(this.isInitialized()){this.updateDomPosition();for(var I=this.getChildren({deep:!0}),L=0;L<I.length;L++)I[L].isInitialized()&&I[L].updateDomPosition()}!1===this._computedSticky&&(this.setSticked(!1),this.setStickyEnded(!1))}return G}},{key:"_computeStickyParent",value:function(){var x,G;return null!==(x=this.getParentWNode())&&void 0!==x&&x.canBeStickyParent()?this.getParentWNode():null===(G=this.getParentWNode())||void 0===G?void 0:G._computeStickyParent()}},{key:"canBeStickyParent", 1423value:function(){return!1===this.allowAlternateStickyChildren()&&(null===this.getParentWNode()||this.getParentWNode().allowAlternateStickyChildren())}},{key:"_setStickyParent",value:function(x){var G=this._stickyParent!==x;this._stickyParent=x;G&&this._updateComputedSticky()}},{key:"getStickyParent",value:function(){return this._stickyParent}},{key:"_updateStickyParent",value:function(){this._setStickyParent(this._computeStickyParent())}},{key:"setSticked",value:function(x){var G=this._sticked!== 1424x;this._sticked=!0===x;G&&this._triggerStickyChangeEvent()}},{key:"setStickyEnded",value:function(x){var G=this._stickyEnded!==x;this._stickyEnded=x;G&&this._triggerStickyChangeEvent()}},{key:"isStickyEnded",value:function(){return this._stickyEnded}},{key:"isSticked",value:function(){return this._sticked}},{key:"isSticky",value:function(){var x=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._stickyParent)&&this._stickyParent.isSticky()?!0!==x.falseIfAncestorIsSticky: 1425!0===this._computedSticky}},{key:"setStickyStartDistance",value:function(x){1<arguments.length&&void 0!==arguments[1]&&arguments[1];var G=webwave.isNotDefOrNull(x)?webwave.isDefAndNotNull(this._stickyStartDistance):webwave.isNotDefOrNull(this._stickyStartDistance)||!1===this._stickyStartDistance.equals(x);this._stickyStartDistance=x;this.updateDomPosition();for(var I=this.getChildren(),L=0;L<I.length;L++)I[L].updateDomPosition();return G}},{key:"setStickyEndDistanceEnabled",value:function(x){var G= 1426x!==this._stickyEndDistanceEnabled;return this._stickyEndDistanceEnabled=x,G}},{key:"isStickyEndDistanceEnabled",value:function(){return!0===this._stickyEndDistanceEnabled}},{key:"isNewStickyEndDistanceValid",value:function(x){x=this.convertVerticalLengthToUnit(x,f.a.PX);return this.convertVerticalLengthToUnit(this.getStickyStartDistance(),f.a.PX).getValue()+this.getComputedPosition().getY()<x.getValue()}},{key:"setStickyEndDistance",value:function(x){var G=webwave.isNotDefOrNull(this._stickyEndDistance)|| 1427!1===this._stickyEndDistance.equals(x);return this._stickyEndDistance=x,G}},{key:"getStickyEndDistance",value:function(){return this._stickyEndDistance}},{key:"getStickyStartDistance",value:function(){var x=webwave.isDefAndNotNull(this._stickyStartDistance)?this._stickyStartDistance.clone():d.a.createLengthWithPxUnitFromValue(0),G=this.getParentWNo
1427de();null!==G&&G.isSticky()&&(x=G.getStickyStartDistance().clone(),G=this.getComputedPosition().getY()-G.getComputedPosition().getY(),x.add(this.convertVerticalLengthToUnit(G, 1428x.getUnit())));return x}},{key:"equalsParentWNode",value:function(x){return 0!=x instanceof H&&this.getParentWNode()===x.getParentWNode()}},{key:"setStuffedSizeAndPosition",value:function(){var x=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.stuffedSize=x.size;this.stuffedPosition=x.position;this.updateDomSizeAndPosition()}},{key:"getRenderedRectangle",value:function(){return this._renderedRect}},{key:"getRenderedRectangleDimensionValueByOrientation",value:function(x){switch(x){case c.a.HORIZONTAL:var G= 1429this.getRenderedRectangle().getWidth();break;case c.a.VERTICAL:G=this.getRenderedRectangle().getHeight()}return G}},{key:"isDomElementPositionUpdateEnabled",value:function(){return this._domElementPositionUpdateEnabled}},{key:"setDomElementPositionUpdateEnabled",value:function(x){this._domElementPositionUpdateEnabled=x}},{key:"updateDomElementPosition",value:function(){var x=this._renderedRect.getPosition().clone();this.isFixed()?x=this._applyFixedModifications(x):this.isSticky()?x=this._applyStickyModifications(x): 1430this.getDomObject()[0].style.position="absolute";this.$domObject[0].style.left="".concat(x.x,"px");this.$domObject[0].style.top="".concat(x.y,"px")}},{key:"isAlwaysPushing",value:function(){return this._alwaysPushing}},{key:"getMinimalTopDistance",value:function(){return 0}},{key:"dumpTree",value:function(){var x=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";var G=""+(x+this.toString());var I=this.getChildren();if(0<this.getChildren().length){G+="".concat(x,"{\n");for(var L=0;L<I.length;L++)G+= 1431I[L].dumpTree("".concat(x," "));G+="".concat(x,"}")}return G+"".concat(x,"\n")}},{key:"hasEnableFlowWithoutChildren",value:function(){return!0===this._wNodeSettings.enableFlowWithoutChildren}},{key:"hasEnableVisibilityWithoutChildren",value:function(){return!0===this._wNodeSettings.enableVisibilityWithoutChildren}},{key:"setCustomVisibilityParent",value:function(x){var G=this._customVisibilityParent!==x;this._customVisibilityParent=x;G&&this.updateVisibilityFromParent()}},{key:"getCustomVisibilityParent", 1432value:function(){return this._customVisibilityParent}},{key:"getBorderEnabled",value:function(){return!1}},{key:"allowAlternateFixedChildren",value:function(){return!0!==this._wNodeSettings.disableAlternateFixedChildren}},{key:"allowAlternateStickyChildren",value:function(){return!0!==this._wNodeSettings.disableAlternateStickyChildren}},{key:"getChildrenSize",value:function(){return this.getChildren(!1).length}},{key:"getElementsForAnimation",value:function(){for(var x=this.getAnimatableElements(), 1433G=x.length-1;0<=G;G--)webwave.isNotDefOrNull(x[G])&&x.splice(G,1);return x}},{key:"getAnimatableElements",value:function(){return[]}},{key:"canDisplayBindLineEdge",value:function(){return this.isVisible()}},{key:"setMostBottomFromOtherPushes",value:function(x){this._mostBottomFromOtherPushes=x}},{key:"getMostBottomFromOtherPushes",value:function(){return this._mostBottomFromOtherPushes}},{key:"getPaddingAndBorderSizes",value:function(){return{top:0,right:0,bottom:0,left:0,horizontal:0,vertical:0}}}, 1434{key:"canRenderRandomBackgroundColor",value:function(){return!0}},{key:"isSupportingColorVariables",value:function(){return!1}},{key:"onPropertyChange",value:function(x){switch(x.propertyName){case "computedVisibility":this.updateWNodeVisibility();break;case "computedVisibilityForInFlow":this.nofityParentOfVisibilityChange();break;case "computedVisibilityForChildren":this.updateAllChildrenParentVisibility()}}},{key:"isExcludedFromSizeComputation",value:function(){return this._wNodeSettings.isExcludedFromSizeComputation()}}, 1435{key:"isShadowStyleDisabled",value:function(){return!0===this._wNodeSettings.isShadowStyleDisabled()}},{key:"isEnableInvokeAutoRwdPopup",value:function(){return this._wNodeSettings.isEnableInvokeAutoRwdPopup()}},{key:"isUncopyable",value:function(){return this._uncopyable}},{key:"_shouldBeConsiderInParentSizeComputation",value:function(){return this.isVisibleForInFlow()&&this.isInFlow()&&!0!==this.isExcludedFromSizeComputation()}},{key:"setPointerEventOnDomObject",value:function(x){var G=this.getDomObject(); 1436webwave.isDefAndNotNull(G[0])&&(G[0].style.pointerEvents=x)}},{key:"setUncopyable",value:function(x){this._uncopyable=x}},{key:"triggerBorderRadiusObjectChange",value:function(){this.getDomObject().trigger("borderRadiusChange.cssSettings");this.getDomObject().trigger("cssPropertyChange",{propertiesList:["borderRadius"]})}},{key:"triggerShadowObjectChange",value:function(){this.getDomObject().trigger("shadowChange.cssSettings");this.getDomObject().trigger("cssPropertyChange",{propertiesList:["boxShadow"]})}}, 1437{key:"triggerOpacityObjectChange",value:function(){this.getDomObject().trigger("opacityChange.cssSettings");this.getDomObject().trigger("cssPropertyChange",{propertiesList:["opacity"]})}},{key:"setExternalMouseOver",value:function(x,G){!0===G?this._externalMouseOvers.add(x):this._externalMouseOvers.delete(x);this.updateMouseOver()}}]),H}();B.maxSize={WIDTH:99999,HEIGHT:99999}},796:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1; 1438if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(h){var l;if(Object(q.a)(this,c),void 0===h||void 0===h.objectId)throw webwave.debug("No object provided!"),
1439Error("No object provided!");h.type="webwave.link.ObjectLinkData";(l=e.call(this,h)).objectId=h.objectId;l.pageId=h.pageId;h=parseInt(h.scrollDistance);return l.scrollDistance=isNaN(h)||0>h?0:h,l}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getShortName",value:function(){return this.objectId}},{key:"getObjectName",value:function(){var h=objectService.getWObjectById(this.objectId);return webwave.isDef(h)?h.getName():this.objectId}},{key:"getScrollDistance",value:function(){return this.scrollDistance}}, 1440{key:"setScrollDistance",value:function(h){h=parseInt(h);!1===isNaN(h)&&0<h?this.scrollDistance=h:this.scrollDistance=0}},{key:"setPageId",value:function(h){this.pageId=h}},{key:"getPageId",value:function(){return this.pageId}},{key:"setObjectId",value:function(h){this.objectId=h}},{key:"getObjectId",value:function(){return this.objectId}},{key:"toJSON",value:function(){return{type:this.type,objectId:this.objectId,pageId:this.pageId,scrollDistance:this.scrollDistance}}}]),c}(a(78).a)},797:function(r, 1441k,a){k.a={COLOR:"color",GRADIENT:"gradient"}},799:function(r,k,a){function t(v,p){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(v);p&&(u=u.filter(function(z){return Object.getOwnPropertyDescriptor(v,z).enumerable}));w.push.apply(w,u)}return w}function q(v){for(var p=1;p<arguments.length;p++){var w=null!=arguments[p]?arguments[p]:{};p%2?t(Object(w),!0).forEach(function(u){Object(m.a)(v,u,w[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)): 1442t(Object(w)).forEach(function(u){Object.defineProperty(v,u,Object.getOwnPropertyDescriptor(w,u))})}return v}function n(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(e.a)(v);if(p){var u=Object(e.a)(this).constructor;w=Reflect.construct(w,arguments,u)}else w=w.apply(this, 1443arguments);return Object(c.a)(this,w)}}a.d(k,"a",function(){return l});var m=a(14),d=a(0),b=a(1),f=a(17),g=a(3),c=a(4),e=a(2);r=a(742);var h=a(740),l=function(v){function p(u){var z;if(Object(d.a)(this,p),void 0===u||void 0===u.fileId)throw webwave.debug("No file provided!"),Error("No file provided!");return u.customLinkType=h.a.USER_FILE,(z=w.call(this,u)).type="webwave.link.FileLinkData",z.fileId=u.fileId,z}Object(g.a)(p,v);var w=n(p);return Object(b.a)(p,[{key:"setFileId",value:function(u){this.fileId= 1444u}},{key:"getHref",value:function(){var u=fileManagerService.getUserFileById(this.fileId);if(webwave.isDef(u))return u.getUrl(!0)}},{key:"toJSON",value:function(){return q(q({},Object(f.a)(Object(e.a)(p.prototype),"toJSON",this).call(this)),{fileId:this.fileId})}}]),p}(r.a)},8:function(r,k,a){k.a=function(t,q,n,m){n&&Object.defineProperty(t,q,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(m):void 0})}},800:function(r,k,a){a.d(k,"a", 1445function(){return d});var t=a(0),q=a(1),n=a(199),m=0,d=function(){function b(f){Object(t.a)(this,b);webwave.isNotDef(f)&&(f={});this._id=m++;this._duration=webwave.isDef(f.duration)&&webwave.isNumber(f.duration)?f.duration:n.a.DEFAULT_ANIMATION_TIME;this._progress=this._currentTime=this._startTime=0;this._finished=this._running=this._started=!1}return Object(q.a)(b,[{key:"setStartTime",value:function(f){this._startTime=f}},{key:"setCurrentTime",value:function(f){this._currentTime=Math.min(f,this._duration); 1446this._progress=Math.min(this._currentTime/this._duration,1)}},{key:"getProgress",value:function(){return this._progress}},{key:"getCurrentTime",value:function(){return this._currentTime}},{key:"getCurrentProgress",value:function(){return this._progress}},{key:"getStartTime",value:function(){return this._startTime}},{key:"getDuration",value:function(){return this._duration}},{key:"start",value:function(f){!1===this._started&&(this.setStartTime(f),this._started=!0,this._running=!0)}},{key:"isStarted", 1447value:function(){return this._started}},{key:"isRunning",value:function(){return this._running}},{key:"isFinished",value:function(){return this._finished}},{key:"stop",value:function(f){!1===this._finished&&(this._running=!1,this._finished=!0,!0===f&&this.finish())}},{key:"finish",value:function(){}},{key:"tick",value:function(f){}}]),b}()},802:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(904),m=function(){function d(){Object(t.a)(this,d)}
1447return Object(q.a)(d,null,[{key:"generateBackgroundRepeatString", 1448value:function(b,f){if(!webwave.isNotDef(b)||!webwave.isNotDef(f))return!0===b&&!0===f?n.a.REPEAT:!0===b?n.a.REPEAT_X:!0===f?n.a.REPEAT_Y:n.a.NO_REPEAT}}]),d}()},804:function(r,k,a){k.a={LEFT:"left",CENTER:"center",RIGHT:"right"}},805:function(r,k,a){a.d(k,"a",function(){return g});var t,q,n,m,d=a(8),b=a(0),f=a(1);r=a(7);k=(a(9),a(20));a=(a.n(k),a(28));var g=(t=Object(k.injectable)(),q=Object(k.inject)(a.a.LocationService),t((n=function(){function c(){Object(b.a)(this,c);Object(d.a)(this,"locationService", 1449m,this)}return Object(f.a)(c,[{key:"handleValidationError",value:function(){}},{key:"handleValidationSuccess",value:function(){}},{key:"handlePayProcedure",value:function(e){}},{key:"isKnownError",value:function(e){return!1}},{key:"getErrorTranslate",value:function(e){return"errorMessage"}},{key:"hasExternalConfigurationLinks",value:function(){return!1}},{key:"getExternalConfigurationLinksList",value:function(){return[]}},{key:"getExternalConfigurationLink",value:function(){return""}}]),c}(),m=Object(r.a)(n.prototype, 1450"locationService",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n))||n)},806:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(82),m=a(765),d=function(){function b(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,b);this._states={};this._states[n.a.NORMAL]=f[n.a.NORMAL];this._states[n.a.HOVER]=f[n.a.HOVER];this._states[n.a.DISABLED]=f[n.a.DISABLED]}return Object(q.a)(b,[{key:"getStates",value:function(){return this._states}}, 1451{key:"getState",value:function(f){return this.getStates()[f]}},{key:"setStyle",value:function(f,g){this.getStates()[f]=g}},{key:"getStyle",value:function(f){return this.getState(f)}},{key:"serialize",value:function(){return{normal:this.getState(n.a.NORMAL).serialize(),hover:this.getState(n.a.HOVER).serialize(),disabled:this.getState(n.a.DISABLED).serialize()}}},{key:"clone",value:function(){return b.deserialize(this.serialize())}}],[{key:"deserialize",value:function(){var f=0<arguments.length&&void 0!== 1452arguments[0]?arguments[0]:{};return new b({normal:new m.a(f[n.a.NORMAL]),hover:new m.a(f[n.a.HOVER]),disabled:new m.a(f[n.a.DISABLED])})}}]),b}()},81:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1);r=a(14);a=a(736);var n=Object(r.a)({},a.a.COMPACT,function(d){return m.formatToCompactNumber(d)}),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"formatOutput",value:function(b,f){return webwave.isDefAndNotNull(n[b])?n[b](f):f}},{key:"sumArrayValues",value:function(b){return b.reduce(function(f, 1453g){return f+g},0)}},{key:"weightedMean",value:function(b,f){return d.sumArrayValues(b.map(function(g,c){return g*f[c]}))/d.sumArrayValues(f)}},{key:"isValueInRange",value:function(b){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return b>=f.min&&b<=f.max}},{key:"limitValue",value:function(b,f,g){return webwave.isNumberAndNotNaN(g)&&(b=Math.min(g,b)),webwave.isNumberAndNotNaN(f)&&(b=Math.max(f,b)),b}},{key:"cartesianProduct",value:function(){for(var b=arguments.length,f=Array(b), 1454g=0;g<b;g++)f[g]=arguments[g];return!0===webwave.isArrayLike(f)&&0===f.length?[]:f.reduce(function(c,e){return c.flatMap(function(h){return e.map(function(l){return[h,l].flat()})})}).map(function(c){return webwave.isArrayLike(c)?c:[c]})}},{key:"cartesianProductNumber",value:function(b){return!0===webwave.isArrayLike(b)&&0===b.length?0:b.map(function(f){return f.length}).reduce(function(f,g){return f*g})}},{key:"setFloatPriceToLong",value:function(b){var f=b;return webwave.isString(b)&&(f=b.replace(",", 1455".")),Math.round(100*parseFloat(f))}},{key:"roundValueToTwoDecimals",value:function(b){return Math.round(100*b)/100}},{key:"returnIfNumberOrParseInt",value:function(b){return webwave.isNumber(b)?b:parseInt(b,10)}},{key:"returnUndefinedIfNaN",value:function(b){return isNaN(b)?void 0:b}},{key:"formatToCompactNumber",value:function(b){return(new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:1})).format(Number(b))}}]),d}()},817:function(r,k,a){function t(c){var e= 1456function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(794),g=function(c){function e(){var l, 1457v=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,e),(l=h.call(this,v))._from=v.from,l._to=v.to,l.validator=v.validator,l.placeholder=webwave.isDef(v.placeholder)?v.placeholder:{},l}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"inputType",get:function(){}},{key:"pattern",get:function(){}},{key:"rightIcon",get:function(){}},{key:"short",get:function(){return!1}},{key:"translationPrefix",get:function(){}},{key:"unit",get:function(){}},{key:"rangeIsNotOk", 1458value:function(){return!0}},{key:"valueInRange",value:function(l){throw Error("not implemented");}},{key:"from",get:function(){return this._from},set:function(l){var v=this._from!==l;this._from=l;v&&this.triggerPropertyChange(f.a.FROM,this._from)}},{key:"to",get:function(){return this._to}
1458,set:function(l){var v=this._to!==l;this._to=l;v&&this.triggerPropertyChange(f.a.TO,this._to)}}]),e}(a(40).c)},818:function(r,k,a){a(0);a(1);a(761)},82:function(r,k,a){k.a={NORMAL:"normal",HOVER:"hover",DISABLED:"disabled"}}, 1459820:function(r,k,a){function t(g,c){var e="undefined"!=typeof Symbol&&g[Symbol.iterator]||g["@@iterator"];if(!e){if(Array.isArray(g)||(e=function(w,u){if(w){if("string"==typeof w)return q(w,u);var z=Object.prototype.toString.call(w).slice(8,-1);"Object"===z&&w.constructor&&(z=w.constructor.name);if("Map"===z||"Set"===z)return Array.from(w);if("Arguments"===z||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return q(w,u)}}(g))||c&&g&&"number"==typeof g.length){e&&(g=e);var h=0;c=function(){};return{s:c, 1460n:function(){return h>=g.length?{done:!0}:{done:!1,value:g[h++]}},e:function(w){throw w;},f:c}}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 l,v=!0,p=!1;return{s:function(){e=e.call(g)},n:function(){var w=e.next();return v=w.done,w},e:function(w){p=!0;l=w},f:function(){try{v||null==e.return||e.return()}finally{if(p)throw l;}}}}function q(g,c){(null==c||c>g.length)&&(c=g.length);for(var e= 14610,h=Array(c);e<c;e++)h[e]=g[e];return h}a.d(k,"a",function(){return f});var n,m,d=a(0),b=a(1);r=a(20);a.n(r);a(735);a(818);var f=Object(r.injectable)()((m=n=function(){function g(){Object(d.a)(this,g);this._visiblePopups=[];this._registeredPopups=[];this.lockService=null}return Object(b.a)(g,[{key:"setLockService",value:function(c){this.lockService=c}},{key:"_addPopup",value:function(c){-1===this._visiblePopups.indexOf(c)?(0!==this._visiblePopups.length&&this._handleIdlePopups(),this._visiblePopups.push(c), 1462g._attachPopupToDom(c),c.setLocked(!1)):this.movePopupToFront(c);this._moveFirstPopupToFrontIfAlwaysOnTop();this.updateLock()}},{key:"_removePopup",value:function(c){var e=this._visiblePopups.indexOf(c);-1!==e&&(this._visiblePopups.splice(e,1),c.detach(),0<this._visiblePopups.length&&this._visiblePopups[this._visiblePopups.length-1].setLocked(!1));this.updateLock()}},{key:"_handleIdlePopups",value:function(){for(var c=this._visiblePopups.length-1;0<=c;c--)this._visiblePopups[c].setLocked(!0)}},{key:"movePopupToFront", 1463value:function(c){var e=this._visiblePopups.indexOf(c);-1!==e&&(this._visiblePopups.splice(e,1),this._visiblePopups.push(c),g._attachPopupToDom(c),this._handleIdlePopups(),c.setLocked(!1))}},{key:"dispose",value:function(){for(var c=this._registeredPopups.length-1;0<=c;c--)this.unregisterPopup(this._registeredPopups[c])}},{key:"updateLock",value:function(){webwave.isDefAndNotNull(this.lockService)&&(0===this.getVisiblePopupsNumber()?this.lockService.unlockAll():this.lockService.lockAll())}},{key:"getVisiblePopupsNumber", 1464value:function(){for(var c=0,e=0;e<this._visiblePopups.length;e++)!0===this._visiblePopups[e].isVisible()&&c++;return c}},{key:"isAnyPopupVisible",value:function(){return 0<this.getVisiblePopupsNumber()}},{key:"popupClosed",value:function(c){c=c.getSource();return this._removePopup(c),c}},{key:"popupOpened",value:function(c){c=c.getSource();return this._addPopup(c),c}},{key:"popupDisposed",value:function(c){this.unregisterPopup(c.getSource())}},{key:"registerPopup",value:function(c){this._registeredPopups.push(c); 1465c.addPopupEventListener(this)}},{key:"unregisterPopup",value:function(c){var e=this._registeredPopups.indexOf(c);c.removePopupEventListener(this);this._removePopup(c);-1!==e&&(this._registeredPopups.splice(e,1),c.dispose())}},{key:"getVisiblePopups",value:function(){return this._visiblePopups}},{key:"getRegisteredPopups",value:function(){return this._registeredPopups}},{key:"_moveFirstPopupToFrontIfAlwaysOnTop",value:function(){var c,e=t
1465(this._visiblePopups);try{for(e.s();!(c=e.n()).done;){var h= 1466c.value;if(!0===h.isAlwaysOnTop()){this.movePopupToFront(h);break}}}catch(l){e.e(l)}finally{e.f()}}}],[{key:"_attachPopupToDom",value:function(c){c.attach($("#screen_popup"))}}]),g}(),n.SCREEN_POPUP_ID="screen_popup",m))||m;webwave.provide("com.webwave.ui.popup.SimplyPopupManager");com.webwave.ui.popup.SimplyPopupManager=f},824:function(r,k,a){a.d(k,"a",function(){return f});var t=a(0),q=a(1),n=a(51),m=a(189),d="fontFamily fontSize fontWeight fontStyle lineHeight textTransform textShadow textDecoration textAlign color marginBottom".split(" "), 1467b={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"},f=function(){function g(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,g);webwave.isString(c)&&(c=g.str
1467ingToTextStyleProperties(c));this.loadFromPropertiesMap(c)}return Object(q.a)(g,[{key:"loadFromPropertiesMap", 1468value:function(c){var e=this;d.forEach(function(h){e[h]=c[h]})}},{key:"removeFontFamily",value:function(){this.fontFamily=void 0}},{key:"toStyleString",value:function(){var c=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},h="";return d.forEach(function(l){e.onlyMargin&&!1===l.startsWith("margin")||!0!==e.onlyMargin&&l.startsWith("margin")||webwave.isString(c[l])&&0<c[l].length&&(h+="".concat(b[l],": ").concat(c[l],";"))}),-1===h.indexOf("line-height")&&-1<h.indexOf("font-size")&& 1469(h+="line-height: ".concat(g.getLineHeightByFontSize(this.fontSize),"px;")),h}},{key:"toCssMap",value:function(){return this.serialize()}},{key:"applyPartialTextStyleMap",value:function(c){if(webwave.isDef(c))for(var e,h=0;h<d.length;h++)e=d[h],webwave.isDef(c[e])&&(this[e]=c[e])}},{key:"applyRwdTextStyleProperties",value:function(c){webwave.isNotDef(c)&&(c={});this.fontSize=c.fontSize;this.lineHeight=c.lineHeight;this.textAlign=c.textAlign}},{key:"serialize",value:function(){var c=this,e={};return d.forEach(function(h){e[h]= 1470c[h]}),webwave.isNotDef(e.lineHeight)&&webwave.isDef(e.fontSize)&&(e.lineHeight=g.getLineHeightByFontSize(this.fontSize)+"px"),e}},{key:"clone",value:function(){return new g(this.serialize())}},{key:"isEmpty",value:function(){var c=this,e=!0;return Object.keys(this).forEach(function(h){webwave.isDef(c[h])&&(e=!1)}),e}},{key:"connectWebsiteColor",value:function(c){return n.a.changeObjectColorPropertyWithWebsiteColor(this,c,{connection:m.a.CONNECT})}},{key:"disconnectWebsiteColor",value:function(c){return n.a.changeObjectColorPropertyWithWebsiteColor(this, 1471c,{connection:m.a.DISCONNECT})}},{key:"swapWebsiteColor",value:function(c){return n.a.changeObjectColorPropertyWithWebsiteColor(this,c,{connection:m.a.SWAP})}}],[{key:"stringToTextStyleProperties",value:function(c){return textStyleService.textStyleStringToCssMap(c,!0)}},{key:"getClearTextStyleMap",value:function(){var c={};return d.forEach(function(e){c[e]=""}),new g(c)}},{key:"getLineHeightByFontSize",value:function(c){c=parseInt(c);if(webwave.isNumberAndNotNaN(c))return parseInt(Math.floor(1.2* 1472c))}}]),g}();f.ValidTextStyleProperties=d;webwave.provide("com.webwave.gui.style.text.TextStyleMap");com.webwave.gui.style.text.TextStyleMap=f},826:function(r,k,a){k.a={HORIZONTAL:"horizontal",VERTICAL:"vertical"}},827:function(r,k,a){k.a={SWING:"swing",LINEAR:"linear",EASE_IN:"ease-in",EASE_OUT:"ease-out",EASE_IN_OUT:"ease-in-out",BOUNCE_IN:"bounce-in",BOUNCE_OUT:"bounce-out",BOUNCE_IN_OUT:"bounce-in-out"}},83:function(r,k,a){function t(q,n){return(t=Object.setPrototypeOf||function(m,d){return m.__proto__= 1473d,m})(q,n)}k.a=t},830:function(r,k,a){k.a={TOP:"top",CENTER:"center",BOTTOM:"bottom"}},832:function(r,k,a){a.d(k,"a",function(){return y});var t=a(0),q=a(1),n=a(1421),m=a(1342),d=a(1366),b=a(61),f=a(1437),g=a(1446),c=a(1422),e=a(843),h=a(1423),l=a(1424),v=a(1447),p=a(1438),w=a(1450),u=a(1451),z=a(81),y=function(){function A(){var E=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,A);this.id=E.id;this.description1=new b.a(E.description1);this.discountCodes=new f.a(E.discountCodes); 1474this.dotPayEnabled=!!E.dotPayEnabled&&E.dotPayEnabled;this.formSettings=new h.a(E.formSettings);this.orderEmailAddress=new n.a(E.orderEmailAddress);this.orderSuccessInformation=this._parseOrderSuccessInformation(E);this.paymentProviderOptions=new m.a(E.paymentProviderOptions);this.postage=new d.a(E.postage);this.storeColorSettings=new l.a(E.storeColorSettings);this.successPaymentAction=new p.a(E.successPaymentAction);this.termsAndConditions=new w.a(E.termsAndConditions);this.translation=new u.a(E.translation); 1475this.minimumOrderAmountSettings=new c.a(E.minimumOrderAmount);this.generalSettings=new g.a(E.generalSettings)}return Object(q.a)(A,[{key:"decorateByServerData",value:function(E){webwave.isNotDef(E)||(this.id=null===E||void 0===E?void 0:E.id,webwave.isDef(E.orderEmailAddress)&&(this.orderEmailAddress=new n.a(E.orderEmailAddress)),webwave.isDef(E.postage)&&(E.postage.freeShippingSettings=this.postage.freeShippingSettings.serialize(),this.postage=new d.a(E.postage)),webwave.isDef(E.minimumOrderAmount)&& 1476(this.minimumOrderAmountSettings=new c.a(E.minimumOrderAmount)),webwave.isDef(E.paymentProviderOptions)&&(this.paymentProviderOptions=new m.a(E.paymentProviderOptions)),webwave.isDef(E.generalSettings)&&this.generalSettings.decorateByServerData(E.generalSettings))}},{key:"getCurrency",value:function(){return this.generalSettings.currency}},{key:"setCurrency",value:function(E){this.generalSettings.currency=E}},{key:"getDataToOrder",value:function(){var E=this.storeColorSettings.value.serialize();return Object.assign(E, 1477{taxValue:this.getTaxValue(e.a.CONVERTED_TO_LONG),currency:this.getCurrency(),description1:this.description1.value,sellerInfo:this.orderSuccessInformation.seri
1477alizeValue,orderEmailAddress:this.orderEmailAddress.value,dotPayEnabled:this.dotPayEnabled,successUrl:this.successPaymentAction.url,freeShippingValue:this.postage.getFreeShippingValue(),translation:this.translation.getDataToOrder()})}},{key:"getPaymentsAvailableForCurency",value:function(){var E=this,C=[];return!0===this.paymentProviderOptions.enable&& 1478this.paymentProviderOptions.value.forEach(function(D){D.paymentMethodAvailableForCurrency(E.getCurrency())&&C.push(D)}),0===C.length&&(this.paymentProviderOptions.enable=!1),C}},{key:"getTaxValue",value:function(){var E=0<arguments.length&&void 0!==arguments[0]?arguments[0]:e.a.DOUBLE,C=this.generalSettings.getTaxValue();return E===e.a.CONVERTED_TO_LONG?z.a.setFloatPriceToLong(C):C}},{key:"getStoreLayoutSettings",value:function(){return this.storeColorSettings.value.getLayoutColors()}},{key:"isAnyPaymentMethodIntegration", 1479value:function(){return this.paymentProviderOptions.isAnyPaymentMethodIntegration()}},{key:"paymentOnDeliveryEnable",value:function(){return this.paymentProviderOptions.paymentOnDeliveryEnable()}},{key:"paymentProviderEnabled",value:function(){return!0===this.paymentProviderOptions.enable}},{key:"serialize",value:function(){var E=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return{description1:this.description1.serialize(E),discountCodes:this.discountCodes.serialize(E),dotPayEnabled:this.dotPayEnabled, 1480formSettings:this.formSettings.serialize(),generalSettings:this.generalSettings.serialize(),minimumOrderAmount:this.minimumOrderAmountSettings.serialize(E),orderEmailAddress:this.orderEmailAddress.serialize(E),orderSuccessInformation:this.orderSuccessInformation.serialize(E),paymentProviderOptions:this.paymentProviderOptions.serialize(),postage:this.postage.serialize(E),storeColorSettings:this.storeColorSettings.serialize(E),successPaymentAction:this.successPaymentAction.serialize(E),termsAndConditions:this.termsAndConditions.serialize(E), 1481translation:this.translation.serialize(E)}}},{key:"_parseOrderSuccessInformation",value:function(E){return webwave.isDef(E.description2)?new v.a(E.description2):new v.a(E.orderSuccessInformation)}},{key:"getStoreColorSettings",value:function(){return this.storeColorSettings}},{key:"hasAvailableTaxInvoices",value:function(){return this.generalSettings.availableTaxInvoices}},{key:"setAvailableTaxInvoices",value:function(E){this.generalSettings.availableTaxInvoices=E}}]),A}()},833:function(r,k,a){a.d(k, 1482"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);void 0===d&&(d={});this.top="number"==typeof d.top?d.top:void 0;this.right="number"==typeof d.right?d.right:void 0;this.bottom="number"==typeof d.bottom?d.bottom:void 0;this.left="number"==typeof d.left?d.left:void 0;this.enabled=webwave.isBoolean(d.enabled)?d.enabled:void 0}return Object(q.a)(m,[{key:"serialize",value:function(){return{top:this.top,right:this.right,bottom:this.bottom,left:this.left,enabled:this.enabled}}}, 1483{key:"toCss2Map",value:function(){var d={};return webwave.isDef(this.top)&&(d.paddingTop=(this.enabled?this.top:0)+"px"),webwave.isDef(this.right)&&(d.paddingRight=(this.enabled?this.right:0)+"px"),webwave.isDef(this.bottom)&&(d.paddingBottom=(this.enabled?this.bottom:0)+"px"),webwave.isDef(this.left)&&(d.paddingLeft=(this.enabled?this.left:0)+"px"),d}},{key:"clone",value:function(){return new m({left:this.left,top:this.top,right:this.right,bottom:this.bottom,enabled:this.enabled})}},{key:"applyPartialPaddingMap", 1484value:function(d){webwave.isDef(d)&&(webwave.isNumberAndNotNaN(d.top)&&(this.top=d.top),webwave.isNumberAndNotNaN(d.right)&&(this.right=d.right),webwave.isNumberAndNotNaN(d.bottom)&&(this.bottom=d.bottom),webwave.isNumberAndNotNaN(d.left)&&(this.left=d.left),webwave.isDef(d.enabled)&&(this.enabled=d.enabled))}}],[{key:"deserialize",value:function(d){return void 0===d&&(d={}),new m({top:d.top,right:d.right,bottom:d.bottom,left:d.left,enabled:d.enabled})}}]),m}()},841:function(r,k,a){function t(h){var l= 1485function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v=Object(g.a)(h);if(l){var p=Object(g.a)(this).constructor;v=Reflect.construct(v,arguments,p)}else v=v.apply(this,arguments);return Object(f.a)(this,v)}}a.d(k,"a",function(){return e});var q,n=a(0),m=a(1),d=a(17),b=a(3),f=a(4),g=a(2);r= 1486a(20);var c=(a.n(r),a(735),a(818),a(941));a=a(820);var e=Object(r.injectable)()(q=function(h){function l(){var p;return Object(n.a)(this,l),(p=v.call(this))._visiblePopups=[],p._registeredPopups=[],p.lockService=null,p}Object(b.a)(l,h);
1486var v=t(l);return Object(m.a)(l,[{key:"popupClosed",value:function(p){p=Object(d.a)(Object(g.a)(l.prototype),"popupClosed",this).call(this,p);var w=this._visiblePopups[this._visiblePopups.length-1];webwave.isDef(w)?webwave.isStringAndNotEmpty(p.analyticsPageView)&& 1487webwave.isStringAndNotEmpty(w.analyticsPageView)&&webwave.analyticsUtils.sendPageview(w.analyticsPageView):webwave.isStringAndNotEmpty(p.analyticsPageView)&&webwave.analyticsUtils.sendPageview()}},{key:"popupOpened",value:function(p){p=Object(d.a)(Object(g.a)(l.prototype),"popupOpened",this).call(this,p);!0!==p.deactivateSendPageView&&webwave.isStringAndNotEmpty(p.analyticsPageView)&&webwave.analyticsUtils.sendPageview(p.analyticsPageView);webwave.isDefAndNotNull(p._element)&&this.sendEventToAmplitudeIfFirstOpened(p._element.id)}}, 1488{key:"sendEventToAmplitudeIfFirstOpened",value:function(p){c.a.hasOwnProperty(p)&&(c.a[p]===c.a.filemanager_popup?setTimeout(function(){coreService.triggerEditorEvent("openPopup",c.a.filemanager_popup)},100):coreService.triggerEditorEvent("openPopup",c.a[p]))}},{key:"findPopupByHolderId",value:function(p){return this._registeredPopups.find(function(w){return w.holderId===p})}}],[{key:"setBodyScrollOn",value:function(){document.body.style.overflow="";document.body.style.marginRight="";document.body.style.removeProperty("--body-right-margin")}}, 1489{key:"setBodyScrollOff",value:function(){var p=document.body.clientWidth;document.body.style.overflow="hidden";p=document.body.clientWidth-p;0<p&&(document.body.style.marginRight="".concat(p,"px"),document.body.style.setProperty("--body-right-margin","".concat(p,"px")))}}]),l}(a.a))||q;webwave.provide("com.webwave.ui.popup.PopupManager");com.webwave.ui.popup.PopupManager=e},842:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(770),m=function(){function d(){var b=0<arguments.length&& 1490void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this._type=webwave.isValidEnumValue(b.type,n.a)?b.type:n.a.SHOW;this._wObjects=webwave.isArrayLike(b.wObjects)?b.wObjects:[]}return Object(q.a)(d,[{key:"getType",value:function(){return this._type}},{key:"setType",value:function(b){this._type=b}},{key:"getWObjects",value:function(){return this._wObjects}},{key:"setWObjects",value:function(b){var f=this.getDifference(b);return this._wObjects=b,this.updateDifferenceLayerVisibility(f),0<f.length}}, 1491{key:"getDifference",value:function(b){var f=this;return this._wObjects.filter(function(g){return!b.includes(g)}).concat(b.filter(function(g){return!f._wObjects.includes(g)}))}},{key:"updateDifferenceLayerVisibility",value:function(b){if(!webwave.isNotDefOrNull(window.objectService))for(var f=0;f<b.length;f++){var g=window.objectService.getWObjectById(b[f]);webwave.isDef(g)&&g.getWLayer().updateVisibilityIcons()}}},{key:"serialize",value:function(){return{type:this.getType(),wObjects:this._wObjects.slice(0)}}}]), 1492d}()},843:function(r,k,a){k.a={CONVERTED_TO_LONG:"convertedToLong",DOUBLE:"double"}},844:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(82),m=function(){function d(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,d);this._name=webwave.isDef(b.value)?b.value:n.a.NORMAL;this._isLocked=!!webwave.isBoolean(b.isLocked)&&b.isLocked}return Object(q.a)(d,[{key:"setStateByName",value:function(b){this._name=b}},{key:"getName",value:function(){return this._name}}, 1493{key:"setLocked",value:function(b){this._isLocked=b}},{key:"isLocked",value:function(){return this._isLocked}},{key:"serialize",value:function(){return{value:this.getName(),isLocked:this.isLocked()}}}]),d}()},847:function(r,k,a){function t(E){var C=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(D){return!1}}();return function(){var D= 1494Object(f.a)(E);if(C){var F=Object(f.a)(this).constructor;D=Reflect.construct(D,arguments,F)}else D=D.apply(this,arguments);return Object(b.a)(this,D)}}a.d(k,"a",function(){return A});
1494var q=a(27),n=a(0),m=a(1),d=a(3),b=a(4),f=a(2),g=a(983),c=a(61),e=a(224),h=a(81),l=a(843);r=a(958);var v=a(910),p=a(895),w=a(984),u=a(766),z=a(966),y=a(10),A=function(E){function C(){var F,B=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(n.a)(this,C),(F=D.call(this,B)).status=webwave.isDef(B.status)? 1495B.status:v.a.AVAILABLE,F.taxValue=webwave.isNumberAndNotNaN(B.taxValue)?B.taxValue:void 0,F.additionalText=new c.a(B.additionalText),F.productVariants=new p.a(B.productVariants),F.customPostageOptions=new g.a(B.postageSettings),F.productWeightOptions=new w.a(B.productWeightOptions),F._buildStorage(B.storage),F}Object(d.a)(C,E);var D=t(C);return Object(m.a)(C,[{key:"addVariant",value:function(F){this.productVariants.addOption(F)}},{key:"calculateNumberOfStorageItems",value:function(){var F=this._getListProductVariantsOptions(); 1496return h.a.cartesianProductNumber(F)}},{key:"canBeUpdatedByProductData",value:function(F){if(this.id!==F.id)return!1;var B=this.productVariants.value;F=F.productVariants.value;if(B.length!==F.length||!1===webwave.arrayHasSameItems(B.map(function(G){return G.toString()}),F.map(function(G){return G.toString()})))return!1;var H;B=this.getVariantsWithSelectedOption();for(var x=0;x<B.length;x++)if(H=B[x],webwave.isNotDefOrNull(F.find(function(G){return G.getId()===H.variant&&G.findVariantById(H.option)})))return!1; 1497return!0}},{key:"generateStorage",value:function(){var F=this._getListProductVariantsOptions();F=h.a.cartesianProduct.apply(h.a,Object(q.a)(F));this.storage.updateStorage(F)}},{key:"getFormattedPrice",value:function(){return webwave.isNumberAndNotNaN(this.price)?e.a.formatNumberToLocaleString(this.price):""}},{key:"getIdForOrderItem",value:function(){for(var F=this.getSelectedVariants(),B=this.getId(),H=0;H<F.length;H++)B+=F[H].getId();return B}},{key:"getNameForOrderItem",value:function(){var F= 1498this.name,B=this.getSelectedVariants();0<B.length&&(B=B.map(function(H){return H.getName()}),F+=" (".concat(y.v.joinArrayUsingChar(B," /"),")"));return F}},{key:"getNotEmptyVariant",value:function(){return this.getVariants().filter(function(F){return F.variantsExist()})}},{key:"getPrice",value:function(){return this.price}},{key:"getPriceForBackend",value:function(){return h.a.setFloatPriceToLong(this.getPrice())}},{key:"getTaxValue",value:function(){var F=0<arguments.length&&void 0!==arguments[0]? 1499arguments[0]:l.a.DOUBLE,B=this.taxValue;if(!1!==webwave.isDefAndNotEmpty(B))return F===l.a.CONVERTED_TO_LONG?h.a.setFloatPriceToLong(B):B}},{key:"getPriceForOrderItem",value:function(){var F=this.getSelectedVariants(),B=this.getPrice();B=parseFloat(B);for(var H=0;H<F.length;H++)B+=parseFloat(F[H].getAdditionalSum());return B}},{key:"getProductWeight",value:function(){var F=this.productWeightOptions.value;if(webwave.isNumberAndNotNaN(F))return F}},{key:"getSelectedStorage",value:function(){return this.storage.findItemByVariants(this.getSelectedVariants())}}, 1500{key:"getSelectedVariants",value:function(){for(var F,B=[],H=this.getVariants(),x=0;x<H.length;x++)(F=H[x].getSelectedOption())&&B.push(F);return B}},{key:"getSelectedVariantsIds",value:function(){return this.getSelectedVariants().map(function(F){return F.getId()})}},{key:"getThumbnailUrl",value:function(){return this.thumbnailUrl}},{key:"getVariants",value:function(){return webwave.isDef(this.productVariants.value)?u.a.dateAsc(this.productVariants.value.filter(function(F){return!1===F.isDeleted()}), 1501"_createDate"):[]}},{key:"getVariantsWithSelectedOption",value:function(){for(var F=[],B=this.getVariants(),H=0;H<B.length;H++)B[H].getSelectedOption()&&F.push({variant:B[H].getId(),option:B[H].getSelectedOption().getId()});return F}},{key:"isAvailable",value:function(){return this.status===v.a.AVAILABLE&&this.storage.isAvailable()}},{key:"isSelectedStorageNotAvailable",value:function(){return!0===this.storage.enable&&!1===this.getSelectedStorage().isAvailable()}},{key:"removeVariant",value:function(F){F.delete()}}, 1502{key:"selectFirstAvailableStorageForVariantOption",value:function(F){F=this.storage.getFirstAvailableItemByVariant(F);webwave.isDefAndNotNull(F)&&this.selectVariantsByStorageItem(F)}},{key:"selectVariants",value:function(F){var B=this;F.forEach(function(H){B.productVariants.value.find(function(x){return x.getId()===H.variant}).updateSelectedVariant(H.option)})}},{key:"selectVariantsByStorageItem",value:function(F){var B=this;this.storage.enable&&this.storage.itemExist(F)&&F.getVariants().forEac
1502h(function(H){B.productVariants.value.find(function(x){return x.getVariantOptions().includes(H)}).updateSelectedVariant(H.getId())})}}, 1503{key:"serialize",value:function(){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(),additionalText:this.additionalText.serialize(),storage:this.storage.serialize(),status:this.status}}},{key:"storageExceedTheMaximumNumberOfItems",value:function(){return this.calculateNumberOfStorageItems()>z.a.MAXIMUM_NUMBER_OF_STORAGE}},{key:"updateFromServerData", 1504value:function(F){webwave.isNotDef(this.id)&&(this.id=F.id);this.productVariants.updateFromServerData(F.productVariants)}},{key:"_buildStorage",value:function(F){var B=this;webwave.isDef(F)&&webwave.isArrayLike(F.value)&&F.value.forEach(function(H){webwave.isArrayLike(H.variants)&&(H.variants=B._getVariantsListFromIds(H.variants))});this.storage=new z.a(F)}},{key:"_getListProductVariantsOptions",value:function(){var F=[];return this.getNotEmptyVariant().forEach(function(B){F.push(B.getVariantOptions())}), 1505F}},{key:"_getVariantsListFromIds",value:function(F){var B=this,H=[];return F.forEach(function(x){H.push(B.productVariants.findOptionById(x))}),H}},{key:"_parseTaxValue",value:function(F){return 1==webwave.isString(F)&&F.includes(",")&&(F=F.replace(",",".")),Number.parseFloat(F)}},{key:"postageMethodIsSupported",value:function(F){return this.customPostageOptions.postageMethodIsSupported(F)}},{key:"setName",value:function(F){this.name=F}},{key:"setDescription",value:function(F){this.description=F}}, 1506{key:"setImage",value:function(F){webwave.isDef(F)&&(this.thumbnailId=F.getId(),this.thumbnailUrl=F.getThumbnailUrl())}}]),C}(r.a)},848:function(r,k,a){function t(f){var g=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(c){return!1}}();return function(){var c=Object(d.a)(f);if(g){var e=Object(d.a)(this).constructor;c=Reflect.construct(c, 1507arguments,e)}else c=c.apply(this,arguments);return Object(m.a)(this,c)}}a.d(k,"a",function(){return b});var q=a(0),n=a(3),m=a(4),d=a(2),b=function(f){function g(){Object(q.a)(this,g);return c.call(this,{type:"webwave.link.ShowShopCardLinkData"})}Object(n.a)(g,f);var c=t(g);return g}(a(78).a)},849:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(1700),m=a(1082),d=function(){function b(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,b);this._clientTranslation= 1508f.clientTranslation;this._defaultTranslation=new m.a(n.a);this._storeTranslation=f.storeTranslation}return Object(q.a)(b,[{key:"setStoreTranslation",value:function(f){this._storeTranslation=f}},{key:"getTranslate",value:function(f){return webwave.isDefAndNotNull(this._clientTranslation)&&webwave.isStringAndNotEmpty(this._clientTranslation.getValueByKey(f))?this._clientTranslation.getValueByKey(f):i18n.t(this._defaultTranslation[f])}},{key:"getTranslationCustom",value:function(f){return webwave.isDefAndNotNull(this._clientTranslation)&& 1509webwave.isStringAndNotEmpty(this._clientTranslation.getValueByKey(f))?this._clientTranslation.getValueByKey(f):this._getDefaultCustomValue(f)}},{key:"_getDefaultCustomValue",value:function(f){if(webwave.isDefAndNotNull(this._storeTranslation)){switch(f){case "orderClientDataZipCode":return this._storeTranslation.getOrderClientDataTranslations().getZipCodeLabel();case "orderClientDataTaxId":return this._storeTranslation.getOrderClientDataTranslations().getTaxIdLabel();case "taxValue":return this._storeTranslation.getOrderSummaryTranslations().getTaxValueLabel()}return""}}}]), 1510b}()},85:function(r,k,a){k.a=function(t,q){(null==q||q>t.length)&&(q=t.length);for(var n=0,m=Array(q);n<q;n++)m[n]=t[n];return m}},86:function(r,k,a){function t(c,e){var h="undefined"!=typeof Symbol&&c[Symbol.iterator]||c["@@iterator"];if(!h){if(Array.isArray(c)||(h=function(u,z){if(u){if("string"==typeof u)return q(u,z);var y=Object.prototype.toString.call(u).slice(8,-1);"Object"===y&&u.constructor&&(y=u.constructor.name);if("Map"===y||"Set"===y)return Array.from(u);
1510if("Arguments"===y||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return q(u, 1511z)}}(c))||e&&c&&"number"==typeof c.length){h&&(c=h);var l=0;e=function(){};return{s:e,n:function(){return l>=c.length?{done:!0}:{done:!1,value:c[l++]}},e:function(u){throw u;},f:e}}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 v,p=!0,w=!1;return{s:function(){h=h.call(c)},n:function(){var u=h.next();return p=u.done,u},e:function(u){w=!0;v=u},f:function(){try{p||null==h.return||h.return()}finally{if(w)throw v; 1512}}}}function q(c,e){(null==e||e>c.length)&&(e=c.length);for(var h=0,l=Array(e);h<e;h++)l[h]=c[h];return l}a.d(k,"a",function(){return g});var n=a(100),m=a(0),d=a(1),b=a(52),f=a(8686),g=function(){function c(){Object(m.a)(this,c)}return Object(d.a)(c,null,[{key:"validate",value:function(e,h){return!!webwave.isDefAndNotNull(e)&&(e=e.replace(/[\s-]/g,""),webwave.isDefAndNotNull(h)?c.validateByPrefix(e,h):c.validateFullNumber(e))}},{key:"validateSeparateFields",value:function(e,h){if(!1===webwave.isDefAndNotNull(h)|| 1513!1===webwave.isDefAndNotNull(e))return!1;h=f.a.getCountryFromPrefix(h);if(!1===webwave.isDefAndNotNull(h))return!1;h=f.a.getValidPhoneLength(h);e=e.replace(/[\s-]/g,"");return e.length===h&&/^\d+$/.test(e)}},{key:"validateByCountry",value:function(e,h){if(!1===webwave.isDefAndNotNull(e)||!1===webwave.isDefAndNotNull(h))return!1;e=f.a.getValidPhoneLength(e);h=h.replace(/[\s-]/g,"");return h.length===e&&/^\d+$/.test(h)}},{key:"validateFullNumber",value:function(e){if(!1===webwave.isDefAndNotNull(e))return!1; 1514var h=e.replace(/[\s-]/g,"");e=f.a.getAllPrefixes().sort(function(v,p){return p.length-v.length}).find(function(v){return h.startsWith(v)});if(!1===webwave.isDefAndNotNull(e))return!1;var l=h.substring(e.length);return c.validateSeparateFields(l,e)}},{key:"validateByPrefix",value:function(e,h){h=f.a.getCountryFromPrefix(h);return!1===webwave.isDefAndNotNull(h)?null===e.match(/[0-9]{9}$/)==0:c.validateByCountry(h,e)}},{key:"validateWithSpecificPrefix",value:function(e,h){if(!1===webwave.isDefAndNotNull(e)|| 1515!1===webwave.isDefAndNotNull(h))return!1;e=String(e).replace(/[\s-]/g,"");return c.validateSeparateFields(e,h)?!0:e.startsWith(h)?(e=e.substring(h.length),c.validateSeparateFields(e,h)):!1}},{key:"parsePhoneWithPrefix",value:function(e){if(!1===webwave.isDefAndNotNull(e))return{prefix:null,number:"",country:null};e=e.trim();if(e.startsWith("+")){var h,l=t(Object.entries(b.a).map(function(u){u=Object(n.a)(u,2);return{country:u[0],prefix:u[1].prefix}}).sort(function(u,z){return z.prefix.length-u.prefix.length})); 1516try{for(l.s();!(h=l.n()).done;){var v=h.value,p=v.country,w=v.prefix;if(e.startsWith(w))return{prefix:w,number:e.substring(w.length).trim(),country:p}}}catch(u){l.e(u)}finally{l.f()}}return{prefix:null,number:e,country:null}}}]),c}()},861:function(r,k,a){k.a={SHOW:"show",HIDE:"hide"}},862:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1);r=a(764);var n=a(51),m=function(){function d(b){Object(t.a)(this,d);void 0===b&&(b={});this.width="number"==typeof b.width?b.width:0;this.color="string"== 1517typeof b.color?b.color:d.DEFAULT_COLOR;this.style=void 0===b.style?d.Styles.SOLID:b.style;this.disabled=!0===b.disabled}return Object(q.a)(d,[{key:"serialize",value:function(){return{width:this.width,color:this.color,style:this.style,disabled:this.disabled}}},{key:"toSingleBorderString",value:function(){return this.width+"px "+this.style+" "+this.color}},{key:"applyPartialSingleBorderMap",value:function(b){webwave.isDef(b)&&(webwave.isNumberAndNotNaN(b.width)&&(this.width=b.width),webwave.isDef(b.style)&& 1518(this.style=b.style),webwave.isDef(b.color)&&(this.color=b.color))}},{key:"changeWebsiteColorConnection",value:function(b){return n.a.changeObjectColorPropertyWithWebsiteColor(this,b)}},{key:"clone",value:function(){return d.deserialize(this.serialize())}}],[{key:"deserialize",value:function(b){return void 0===b&&(b={}
1518),new d({width:b.width,color:b.color,style:b.style,disabled:b.disabled})}}]),d}();m.DEFAULT_COLOR=r.a.FIRST_NEUTRAL;m.Styles={SOLID:"solid",DASHED:"dashed",DOTTED:"dotted",DOUBLE:"double"}}, 1519863:function(r,k,a){k.a={TOP_VISIBLE:"topVisible",BOTTOM_VISIBLE:"bottomVisible",DISTANCE_FROM_TOP:"distanceFromTop"}},865:function(r,k,a){a.d(k,"b",function(){return q});r={AUTOPAY:"autopay",DOT_PAY:"dotPay",ON_DELIVERY:"onDelivery",PAYPAL:"payPal",PRZELEWY24:"przelewy24",STRIPE:"stripe",TRADITIONAL_TRANSFER:"traditionalTransfer"};var t=[r.AUTOPAY,r.PAYPAL,r.PRZELEWY24,r.STRIPE,r.TRADITIONAL_TRANSFER,r.ON_DELIVERY,r.DOT_PAY],q=function(n,m){n=t.indexOf(n);m=t.indexOf(m);return-1===n&&(n=t.length), 1520-1===m&&(m=t.length),n-m};k.a=r},868:function(r,k,a){function t(v,p){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(v);p&&(u=u.filter(function(z){return Object.getOwnPropertyDescriptor(v,z).enumerable}));w.push.apply(w,u)}return w}function q(v){for(var p=1;p<arguments.length;p++){var w=null!=arguments[p]?arguments[p]:{};p%2?t(Object(w),!0).forEach(function(u){Object(n.a)(v,u,w[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)): 1521t(Object(w)).forEach(function(u){Object.defineProperty(v,u,Object.getOwnPropertyDescriptor(w,u))})}return v}a.d(k,"a",function(){return l});var n=a(14),m=a(0),d=a(1),b=a(207),f=a(762),g=a(947),c=a(780),e=a(955),h=a(752),l=function(){function v(){var p=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(m.a)(this,v);this.background=p.background instanceof b.a?p.background:new b.a;this.padding=p.padding instanceof c.a?p.padding:new c.a;this.border=p.border instanceof g.a?p.border:new g.a; 1522this.shadow=p.shadow instanceof e.a?p.shadow:new e.a;this.opacity=webwave.isDef(p.opacity)?p.opacity:100;this.opacityEnabled=webwave.isDef(p.opacityEnabled)?p.opacityEnabled:100>this.opacity;this.filter=webwave.isDef(p.filter)?p.filter:new h.a;this.backgroundOverlay=webwave.isDef(p.backgroundOverlay)?p.backgroundOverlay:new f.a}return Object(d.a)(v,[{key:"serialize",value:function(){var p=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};p=webwave.isDefAndNotNull(this.background)?this.background.serialize(p): 1523void 0;var w=webwave.isDefAndNotNull(this.padding)?this.padding.serialize():void 0,u=webwave.isDefAndNotNull(this.border)?this.border.serialize():void 0,z=webwave.isDefAndNotNull(this.shadow)?this.shadow.serialize():void 0,y=webwave.isDefAndNotNull(this.filter)?this.filter.serialize():void 0,A=webwave.isDefAndNotNull(this.backgroundOverlay)?this.backgroundOverlay.serialize():void 0;return{background:p,padding:w,border:u,shadow:z,opacity:this.opacity,opacityEnabled:this.opacityEnabled,filter:y,backgroundOverlay:A}}}, 1524{key:"getCssOpacity",value:function(){return this.getComputedOpacity()/100}},{key:"getComputedOpacity",value:function(){return this.opacityEnabled?this.opacity:100}},{key:"isFullyVisible",value:function(){return 100===this.getComputedOpacity()&&this.background.isNonTransparentBackgroundAvailable()}},{key:"getOpacityEnabled",value:function(){return this.opacityEnabled}},{key:"toCss2Map",value:function(){return q(q(q(q(q({opacity:this.getCssOpacity()},this.padding.toCss2Map()),this.border.toCss2Map()), 1525this.shadow.toCss2Map()),this.background.toCss2Map()),this.filter.toCss2Map())}}
1525,{key:"toContentStyleString",value:function(){var p=$("<div />");return p.css(this.toCss2Map()),p.attr("style")}},{key:"toBackgroundOverlayStyleString",value:function(){return"border-radius: ".concat(this.border.getComputedRadius(),"px;").concat(this.backgroundOverlay.toCssString())}},{key:"applyPartialObjectStyle",value:function(p){webwave.isDef(p)&&(webwave.isDef(p.background)&&this.background.applyPartialBackgroundMap(p.background), 1526webwave.isDef(p.border)&&this.border.applyPartialBorderMap(p.border),webwave.isDef(p.padding)&&this.padding.applyPartialPaddingMap(p.padding),webwave.isDef(p.backgroundOverlay)&&this.getBackgroundOverlay().mergeStyle(p.backgroundOverlay),webwave.isDef(p.shadow)&&this.shadow.applyPartialShadowMap(p.shadow),webwave.isNumberAndNotNaN(p.opacity)&&(this.opacity=p.opacity),webwave.isBoolean(p.opacityEnabled)&&(this.opacityEnabled=p.opacityEnabled),webwave.isDef(p.filter)&&this.setFilter(p.filter.clone()))}}, 1527{key:"setFilter",value:function(p){this.filter=p}},{key:"getFilter",value:function(){return this.filter}},{key:"setBackgroundOverlay",value:function(p){this.backgroundOverlay=p}},{key:"getBackgroundOverlay",value:function(){return this.backgroundOverlay}},{key:"clone",value:function(){return v.deserialize(this.serialize())}},{key:"changeWebsiteColorConnection",value:function(p){var w,u,z,y,A=null===(w=this.background)||void 0===w?void 0:w.changeWebsiteColorConnection(p);w=null===(u=this.backgroundOverlay)|| 1528void 0===u?void 0:u.changeWebsiteColorConnection(p);u=null===(z=this.border)||void 0===z?void 0:z.changeWebsiteColorConnection(p);p=null===(y=this.shadow)||void 0===y?void 0:y.changeWebsiteColorConnection(p);return!0===A||!0===w||!0===u||!0===p}},{key:"isParallaxActive",value:function(){var p;return null===(p=this.background)||void 0===p?void 0:p.isParallaxActive()}}],[{key:"deserialize",value:function(p){return void 0===p&&(p={}),new v({background:new b.a(p.background),padding:c.a.deserialize(p.padding), 1529border:g.a.deserialize(p.border),shadow:e.a.deserialize(p.shadow),opacity:p.opacity,opacityEnabled:p.opacityEnabled,filter:h.a.deserialize(p.filter),backgroundOverlay:new f.a(p.backgroundOverlay)})}}]),v}()},8685:function(r,k,a){a.d(k,"a",function(){return d});var t=a(41),q=a(0),n=a(1);r=a(39);var m=a.n(r),d=function(){function b(){Object(q.a)(this,b)}return Object(n.a)(b,null,[{key:"urlToFile",value:function(){var f=Object(t.a)(m.a.mark(function l(c,e,h){var v,p;return m.a.wrap(function(w){for(;;)switch(w.prev= 1530w.next){case 0:if(w.prev=0,c&&""!==c.trim()){w.next=3;break}return w.abrupt("return",null);case 3:return w.next=5,fetch(c);case 5:if((v=w.sent).ok){w.next=8;break}return w.abrupt("return",null);case 8:return w.next=10,v.blob();case 10:if((p=w.sent)&&0!==p.size){w.next=13;break}return w.abrupt("return",null);case 13:return w.abrupt("return",new File([p],e,{type:h}));case 16:return w.prev=16,w.t0=w.catch(0),webwave.error("Error converting URL to file:",w.t0),w.abrupt("return",null);case 20:case "end":return w.stop()}}, 1531l,null,[[0,16]])}));return function(c,e,h){return f.apply(this,arguments)}}()}]),b}()},8686:function(r,k,a){a.d(k,"a",function(){return d});var t=a(27),q=a(0),n=a(1),m=a(52),d=function(){function b(){Object(q.a)(this,b)}return Object(n.a)(b,null,[{key:"getCountryFromPrefix",value:function(f){if(!1===webwave.isDefAndNotNull(f))return null;var g=f.startsWith("+")?f:"+".concat(f);return Object.keys(m.a).find(function(c){return m.a[c].prefix===g})||null}},{key:"getValidPhoneLength",value:function(f){var g; 1532return(null===(g=m.a[f])||void 0===g?void 0:g.validLength)||9}},{key:"getAllPrefixes",value:function(){return Object(t.a)(new Set(Object.values(m.a).map(function(f){return f.prefix})))}}]),b}()},87:function(r,k,a){var t=a(10);k.a={requireProp:function(q){return""!==q&&webwave.isDefAndNotNull(q)&&0<q.toString().trim().length},pageNameLength:function(q){return 3<=(null===q||void 0===q?void 0:q.length)},isValidProductAmount:function(q){return null!==q.toString().match(/^\d{0,4}$/)},isVatTax:function(q){return webwave.isString(q)? 1533null!==q.match(/^(([0-9]{1,2})|([0-9]{1,2}[,.][0-9]{0,2}))%?$|^100%?$/):webwave.isNumber(q)?0<=q&&100>=q:void 0},email:function(q){return t.v.isValidEmail(q)},zipCodePL:function(q){return null!==q.match(/^\d{2}(-?|\s?)\d{3}$/)},addressPL:function(q){return t.v.isValidPolishStreetAddress(q)},NIPPL:function(q){var n=[6,5,7,2,3,4,5,6,7];if(10==(q=q.replace(/[\s-]/g,"")).length&&0<parseInt(q,10)){for(var m=0,d=0;9>d;d++)m+=q[d]*n[d];return m%11==q[9]}return!1},isMinLength:function(q,n){return q.length>= 1534n},fullName:function(q){return null!==q.match(/^(.+)\s(.+)$/)},cardCVCNumber:function(q){return null!==q.match(/^[0-9]{3,4}$/)},ninPesel:function(q){if(11==q.length){for(var n=[1,3,7,9,1,3,7,9,1,3],m=0,d=0;10>
1534d;d++)m+=n[d]*q[d];return(0==m%10?0:10-m%10)==q[10]}return!1},ninCNP:function(q){if(q=/^([1-8])(0[0-9]|[1-9][0-9])(0[1-9]|1[0-2])(\d{2})(\d{2})(\d{3})(\d)$/.exec(q)){var n=parseInt(q[3]),m=parseInt(q[4]);switch(n){case 2:if(29<m)return!1;case 3:case 4:case 6:case 9:case 11:if(30<m)return!1;default:if(31< 1535m)return!1}n=parseInt(q[5]);if(0>n||46<n&&51>n||52<n||0>parseInt(q[6]))return!1;parseInt(q[7]);for(m=n=0;12>m;m++)n+=parseInt(q[0].charAt(m))*"279146358279".charAt(m);n%=11;return!!(10>n&&n==q[0].charAt(12)||10==n&&1==q[0].charAt(12))}return!1},price:function(q){return null!==q.toString().toString().match(/^[0-9]+(\s[0-9]{3})*[.,]?[0-9]{0,2}$/)},additionalPrice:function(q){return null!==q.toString().match(/^[+-]?[0-9]{1,9}(?:[.,][0-9]{1,2})?$/)},isDiscountValue:function(q){return webwave.isString(q)? 1536null!==q.match(/^[0-9]{1,2}%?$|^100?$/):!!webwave.isNumber(q)&&0<=q&&100>=q},isPositiveNaturalNumber:function(){return null!==(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").toString().match(/^[1-9][0-9]*$/)},isPositiveNaturalNumberWithZero:function(){return null!==(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").toString().match(/^\d+$/)},isNaturalNumber:function(q){return null!==q.toString().match(/^[0-9]*$/)},isDate:function(q){return q instanceof Date},isValidUrl:function(q){return/^https?:\/\/?([a-zA-Z0-9\-\.]+)\.([a-zA-Z]{2,16})(\/.*)?$/.test(q)}, 1537hasNoWhitespaces:function(q){return null===q.toString().match(/\s/)},isValidReflink:function(q){return/^[A-Za-z0-9-_.~]+$/.test(q)},isValidGoogleAnalytics4Code:function(q){return 0<q.length&&/^g-[A-Z0-9]{10}$/i.test(q)},isDateFromGreaterThanDateTo:function(q){return new Date(q.dateFrom)>new Date(q.dateTo)}}},8710:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this._delay= 1538webwave.isNumberAndNotNaN(d.delay)&&0<d.delay?d.delay:300;this._caller=this._handler=null;this._timeout=this._args=void 0}return Object(q.a)(m,[{key:"_runFunc",value:function(d,b,f){}},{key:"_onDelayFinish",value:function(){webwave.isFunction(this._handler)&&this._handler.apply(this._caller,this._args)}},{key:"throttleRun",value:function(d,b,f){window.clearTimeout(this._timeout);this._timeout=void 0;this._handler=d;this._caller=b;this._args=f;this._timeout=window.setTimeout(this._onDelayFinish.bind(this), 1539this._delay)}},{key:"isWaiting",value:function(){return webwave.isDefAndNotNull(this._timeout)}}]),m}()},8714:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments, 1540h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,c),e.call(this,h)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"deserializeValue",value:function(){var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";this._value=webwave.isDefAndNotNull(h)?h:""}},{key:"isEnable",value:function(){return!0=== 1541this._enable}},{key:"getValue",value:function(){return this._value}},{key:"serialize",value:function(){return{enable:!!webwave.isDefAndNotNull(this._value)&&this.enable,value:this._value}}}]),c}(a(61).a)},8752:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this.source=d.source;this.propertyName=d.propertyName;this.previousValue=d.previousValue;this.newValue=d.newValue;this.extraData= 1542d.extraData}return Object(q.a)(m,[{key:"getPropertyName",value:function(){return this.propertyName}},{key:"getNewValue",value:function(){return this.newValue}},{key:"getPreviousValue",value:function(){return this.previousValue}},{key:"getSource",value:function(){return this.source}},{key:"getExtraData",value:function(){return this.extraData}},{key:"propertyChange",value:function(d){}}]),m}()},8753:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(8754),m=function(){function d(){Object(t.a)(this, 1543d);this._propertyChangeListeners=[]}return Object(q.a)(d,[{key:"addPropertyChangeListener",value:function(b,f){b=webwave.isStringOrSymbol(b)?new n.a(f,b):new n.a(b);for(f=0;f<this._propertyChangeListeners.length;f++)if(this._propertyChangeListeners[f].equals(b))return;this._propertyChangeListeners.push(b)}},{key:"removePropertyChangeListener",value:function(b,f){b=webwave.isStringOrSymbol(b)?new n.a(f,b):new n.a(f);for(f=0;f<this._propertyChangeListeners.length;f++)if(this._propertyChangeListeners[f].equals(b)){this._propertyChangeListeners.splice(f, 15441);break}}},{key:"dispatch",value:function(b){for(var f=0;f<this._propertyChangeListeners.length;f++){var g=this._propertyChangeListeners[f],c=g.getPropertyName();(webwave.isNotDef(c)||c===b.getPropertyName())&&g.dispatchEvent(b)}}},{key:"dispose",value:function(){for(var b=0;b<this._propertyChangeListeners.length;b++)this.removePropertyChangeListener(this._propertyChangeListeners[b])}},{key:"getPropertyListenersByPropertyName",value:function(b){return this._propertyChangeListeners.filter(function(f){return f.getPropertyName()=== 1545b})}}]),d}()},8754:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d,b){Object(t.a)(this,m);this.propertyChangeListener=d;this.propertyName=b}return Object(q.a)(m,[{key:"getPropertyChangeListener",value:function(){return this.propertyChangeListener}},{key:"getPropertyName",value:function(){return this.propertyName}},{key:"equals",value:function(d){return this.getPropertyName()===d.getPropertyName()&&this.getPropertyChangeListener()===d.getPropertyChangeListener()}}, 1546{key:"dispatchEvent",value:function(d){var b;webwave.isFunction(this.propertyChangeListener)?this.propertyChangeListener(d):webwave.isFunction(null===(b=this.propertyChangeListener)||void 0===b?void 0:b.onPropertyChange)&&this.propertyChangeListener.onPropertyChange(d)}}]),m}()},88:function(r,k,a){k.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,DATE:16,NATURAL_NUMBER:17, 1547POSITIVE_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_
1547EXPECTED_PREFIX:26,MIN_LENGTH:27}},884:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(842),m=function(){function d(b){Object(t.a)(this,d);this._interactions=webwave.isArrayLike(b)?b.map(function(f){return new n.a(f)}):[new n.a]}return Object(q.a)(d,[{key:"addInteraction", 1548value:function(b){-1===this._interactions.indexOf(b)&&this._interactions.push(b)}},{key:"removeInteraction",value:function(b){b=webwave.isNumberAndNotNaN(b)?b:this._interactions.indexOf(b);-1!==b&&this._interactions.splice(b,1)}},{key:"getInteractions",value:function(){return this._interactions}},{key:"getInteractionsList",value:function(){return this._interactions}},{key:"serialize",value:function(){return this._interactions.map(function(b){return b.serialize()})}}]),d}()},887:function(r,k,a){a.d(k, 1549"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,[{key:"isExpired",value:function(){return!1}}]),m}()},892:function(r,k,a){r={CUSTOM:"custom",INPOST_EASYPACK:"inpostEasypack",ELECTRONIC:"electronic",SELF_PICKUP:"selfPickup",FURGONETKA:"Furgonetka"};a(10).w.addTranslationPrefix(r,"com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.postageOption.postageType");k.a=r},894:function(r,k,a){a.d(k,"a",function(){return b});var t=a(0), 1550q=a(1),n=a(54),m=a(53),d=a(154),b=function(){function f(){Object(t.a)(this,f)}return Object(q.a)(f,null,[{key:"convertLengthToUnit",value:function(g,c,e,h){if(c.getUnit()===g)return c;c.getUnit()!==n.a.PX&&(c=f.convertLengthToPxUnit(c,e,h));var l=c;switch(g){case n.a.PERCENT:l=f.convertToLengthWithPercentUnit(c,e,h);break;case n.a.VW:l=f.convertToLengthWithVWUnit(c,h);break;case n.a.VH:l=f.convertToLengthWithVHUnit(c,h)}return l}},{key:"convertToLengthWithPercentUnit",value:function(g,c,e){c=c=== 1551d.a.HORIZONTAL?e.pageAreaRenderedWidth:e.pageAreaRenderedHeight;return new m.a({value:g.getValue()/c*100,unit:n.a.PERCENT})}},{key:"convertToLengthWithVWUnit",value:function(g,c){return new m.a({value:g.getValue()/c.responsiveViewPortWidth*100,unit:n.a.VW})}},{key:"convertToLengthWithVHUnit",value:function(g,c){return new m.a({value:g.getValue()/c.fullHeight*100,unit:n.a.VH})}},{key:"convertLengthToPxUnit",value:function(g,c,e){var h=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},l=f.convertLengthToValueInPX(g, 1552c,e,h);return m.a.createLengthWithPxUnitFromValue(l,{withoutRounding:h.withoutRounding})}},{key:"convertHorizontalLengthToPx",value:function(g,c){return f.convertLengthToPxUnit(g,d.a.HORIZONTAL,c,{withoutRounding:2<arguments.length&&void 0!==arguments[2]&&arguments[2]})}},{key:"convertVerticalLengthToPx",value:function(g,c){return f.convertLengthToPxUnit(g,d.a.VERTICAL,c,{withoutRounding:2<arguments.length&&void 0!==arguments[2]&&arguments[2]})}},{key:"convertLengthToValueInPX",value:function(g,c, 1553e){var h=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};switch(g.getUnit()){case n.a.PERCENT:return f.convertPercentLengthToPxValue(g,c,e,h);case n.a.VW:return f.convertVWLengthToPxValue(g,e,h);case n.a.VH:return f.convertVHLengthToPxValue(g,e,h);default:return g.getValue()}}},{key:"convertVerticalLengthToValueInPX",value:function(g,c){return f.convertLengthToValueInPX(g,d.a.VERTICAL,c)}},{key:"convertHorizontalLengthToValueInPX",value:function(g,c){return f.convertLengthToValueInPX(g, 1554d.a.HORIZONTAL,c)}},{key:"convertPercentLengthToPxValue",value:function(g,c,e){var h=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},l=c===d.a.HORIZONTAL?e.pageAreaRenderedWidth:e.pageAreaRenderedHeight;l=g.getValue()*l/100;return!1===h.withoutRounding?l:Math.round(l)}},{key:"convertVHLengthToPxValue",value:function(g,c){var e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},h=g.getValue()*c.fullHeight/100;return!1===e.withoutRounding?h:Math.round(h)}},{key:"convertVWLengthToPxValue", 1555value:function(g,c){var e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},h=g.getValue()*c.responsiveViewPortWidth/100;return!1===e.withoutRounding?h:Math.round(h)}},{key:"getPxValuesForAvailableUnitsByOrientation",value:function(g,c){var e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return{"%":f.convertPercentLengthToPxValue(new m.a({value:1,unit:n.a.PERCENT}),c,g,e),vh:f.convertVHLengthToPxValue(new m.a({value:1,unit:n.a.VH}),g,e),vw:f.convertVWLengthToPxValue(new m.a({value:1, 1556unit:n.a.VW}),g,e),px:1}}},{key:"getPxValuesForAvailableUnitsInVerticalOrientation",value:function(g){return f.getPxValuesForAvailableUnitsByOrientation(g,d.a.VERTICAL,{withoutRoundingFlag:1<arguments.length&&void 0!==arguments[1]&&arguments[1]})}},{key:"getPxValuesForAvailableUnitsInHorizontalOrientation",value:function(g){return f.getPxValuesForAvailableUnitsByOrientation(g,d.a.HORIZONTAL,{withoutRoundingFlag:1<arguments.length&&void 0!==arguments[1]&&arguments[1]})}}]),f}()},895:function(r,k,a){function t(c){var e= 1557function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(222);var f= 1558a(948),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"createObject",value:function(l){return new f.a(l)}},{key:"findOptionById",value:function(l){for(var v,p=0;p<this._value.length&&(v=this._value[p].getVariantOptions().find(function(w){return w.getVariantId()===l}),!webwave.isDefAndNotNull(v));p++);return v}},{key:"findProductByName",value:function(l){return this.value.find(function(v){return v.getName()===l&& 1559!1===v.isDeleted()})}},{key:"update",value:function(l){for(var v,p,w=0;w<l.value.length;w++)v=l.value[w],p=this.findProductByName(v.name),webwave.isDef(p)&&p.update(v)}},{key:"updateFromServerData",value:function(l){for(var v,p,w=0;w<l.value.length;w++)v=l.value[w],p=this.findProductByName(v.name),webwave.isDef(p)&&p.updateFromServerData(v)}}],[{key:"getDefaultMap",value:function(){return{enable:!1,value:[{name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.name"),variantOption:[{createDate:new Date((new Date).getTime()- 1560e._ONE_MINUTE_IN_MS),name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.option1.name"),additionalPrice
1560:0,additionalPricePositive:!0},{createDate:new Date,name:i18n.t("com.webwave.webwaveStore.product.variants.default.variant1.option2.name"),additionalPrice:0,additionalPricePositive:!0}]}]}}}]),e}(r.a);g._ONE_MINUTE_IN_MS=6E3},9:function(r,k,a){},90:function(r,k,a){k.a={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}},903:function(r,k,a){function t(g){var c=function(){if("undefined"== 1561typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){var h;Object(q.a)(this, 1562c);for(var l=arguments.length,v=Array(l),p=0;p<l;p++)v[p]=arguments[p];return(h=e.call.apply(e,[this].concat(v)))._computedVisibility=!0,h._computedVisibilityForInFlow=!0,h._computedVisibilityForChildren=!0,h._baseVisibility=void 0,h._parentVisibility=void 0,h._anyChildrenVisibility=void 0,h._scrollVisibility=void 0,h._showAnimationVisibility=void 0,h._interactionVisibility=void 0,h._duringAnimationVisibility=void 0,h._contentGenerationVisibility=void 0,h}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c, 1563[{key:"setBaseVisibility",value:function(h){var l=this._baseVisibility;this._baseVisibility=h;this.updateComputedVisibilities();h!==l&&this.triggerPropertyChange("baseVisibility",h,l)}},{key:"getBaseVisibility",value:function(){return this._baseVisibility}},{key:"setParentVisibility",value:function(h){var l=this._parentVisibility;this._parentVisibility=h;this.updateComputedVisibilities();h!==l&&this.triggerPropertyChange("parentVisibility",h,l)}},{key:"getParentVisibility",value:function(){return this._parentVisibility}}, 1564{key:"setAnyChildVisibility",value:function(h){this._anyChildrenVisibility=h;this.updateComputedVisibilities()}},{key:"setScrollAnimationVisibility",value:function(h){this._scrollVisibility=h;this.updateComputedVisibilities()}},{key:"getScrollAnimationVisibility",value:function(){return this._scrollVisibility}},{key:"getVisibilityForShowAnimationQueue",value:function(){return this.computeVisibility({skipShowAnimationVisibilityCondition:!0})}},{key:"setShowAnimationVisibility",value:function(h){this._showAnimationVisibility= 1565h;this.updateComputedVisibilities()}},{key:"getShowAnimationVisibility",value:function(){return this._showAnimationVisibility}},{key:"setInteractionVisibility",value:function(h){this._interactionVisibility=h;this.updateComputedVisibilities()}},{key:"getInteractionVisibility",value:function(){return this._interactionVisibility}},{key:"setDuringAnimationVisibility",value:function(h){this._duringAnimationVisibility=h;this.updateComputedVisibilities()}},{key:"setContentGenerationVisibility",value:function(h){this._contentGenerationVisibility= 1566h;this.updateComputedVisibilities()}},{key:"computeVisibility",value:function(){var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return webwave.isDefAndNotNull(this._duringAnimationVisibility)?this._duringAnimationVisibility:webwave.isDefAndNotNull(this._contentGenerationVisibility)?this._contentGenerationVisibility:!0!==h.skipShowAnimationVisibilityCondition&&webwave.isDefAndNotNull(this._showAnimationVisibility)?this._showAnimationVisibility:webwave.isDefAndNotNull(this._interactionVisibility)? 1567webwave.isDef(this._parentVisibility)&&!0!==h.skipParentVisibilityCondition?this._parentVisibility&&this._interactionVisibility:this._interactionVisibility:webwave.isDefAndNotNull(this._scrollVisibility)?this._scrollVisibility:webwave.isDef(this._anyChildrenVisibility)&&!0!==h.skipAnyChildrenVisibilityCondition?this._anyChildrenVisibility:webwave.isDef(this._parentVisibility)&&!0!==h.skipParentVisibilityCondition?this._parentVisibility&&this._baseVisibility:this._baseVisibility}},{key:"computeLayerIconVisibility", 1568value:function(){return webwave.isDefAndNotNull(this._interactionVisibility)?webwave.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(h,l){this.triggerPropertyChange("computedVisibility",h,l)}},{key:"setComputedVisibility", 1569value:function(h){var l=this._computedVisibility;this._computedVisibility=h;h!==l&&this.onComputedVisibilityChange(h,l)}},{key:"getComputedVisibility",value:function(){return this._computedVisibility}},{key:"getComputedVisibilityForChildren",value:function(){return this._computedVisibilityForChildren}},{key:"setComputedVisibilityForChildren",value:function(h){var l=this._computedVisibilityForChildren;this._computedVisibilityForChildren=h;h!==l&&this.triggerPropertyChange("computedVisibilityForChildren", 1570h,l)}},{key:"getComputedVisibilityForInFlow",value:function(){return this._computedVisibilityForInFlow}},{key:"setComputedVisibilityForInFlow",value:function(h){var l=this._computedVisibilityForInFlow;this._computedVisibilityForInFlow=h;h!==l&&this.triggerPropertyChange("computedVisibilityForInFlow",h,l)}},{key:"computeVisibilityForInFlow",value:function(){return this.computeVisibility({skipParentVisibilityCondition:!0,skipShowAnimationVisibilityCondition:!0,skipAnyChildrenVisibilityCondition:(0< 1571arguments.length&&void 0!==arguments[0]?arguments[0]:{}).skipAnyChildrenVisibilityCondition})}},{key:"updateComputedVisibilities",value:function(){this.setComputedVisibilityForInFlow(this.computeVisibilityForInFlow());this.setComputedVisibilityForChildren(this.computeVisibility({skipAnyChildrenVisibilityCondition:!0}));this.setComputedVisibility(this.computeVisibility())}}]),c}(a(40).c)},904:function(r,k,a){k.a={REPEAT:"repeat",REPEAT_X:"repeat-x",REPEAT_Y:"repeat-y",NO_REPEAT:"no-repeat"}},905:function(r, 1572k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){Object(t.a)(this,m)}return Object(q.a)(m,[{key:"isLocked",value:function(){return!1}}]),m}()},906:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e=Object(b.a)(g);if(c){var h= 1573Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(800);a=a(827);var f=function(g){function c(h){var l;return Object(q.a)(this,c),(l=e.call(this,h))._easing=webwave.isDef(h.easing)?h.easing:c.DEFAULT_EASING_FUNCTION,webwave.isString(l._easing)&&(l._easing=jQuery.easing[l._easing]),l._onComplete=h.onComplete,l._stepCallback=h.step,l}Object(m.a)(c,g);var e= 1574t(c);return Object(n.a)(c,[{key:"finish",value:function(){this._running=!1;this._finished=!0;this.setCurrentTime(this.getDuration());this.render();this.clean();webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"reset",value:function(){this._running=!1;this._finished=!0;this.setCurrentTime(0);this.render();this.clean();webwave.isFunction(this._onComplete)&&this._onComplete()}},{key:"clean",value:function(){}},{key:"dispose",value:function(){}},{key:"render",value:function(){throw Error("renderer not implemented!"); 1575}}
1575,{key:"updateValues",value:function(){throw Error("update values not implemented!");}},{key:"tick",value:function(){this.updateValues();this.render();webwave.isFunction(this._stepCallback)&&this._stepCallback()}}]),c}(r.a);f.DEFAULT_EASING_FUNCTION=a.a.SWING},91:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(181),m=function(){function d(){Object(t.a)(this,d)}return Object(q.a)(d,null,[{key:"_normalizeTable",value:function(b){b.replaceWith("<div>".concat(b.text().replace(/\s+/g, 1576" ").trim(),"</div>"))}},{key:"htmlElementToText",value:function(b){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!0===f.preserveWhiteSpaces){var g=webwave.isDefAndNotNull(f.replaceValue)?f.replaceValue:"\n";f=f.property===n.a.INNER_TEXT?b[0].innerText.replace(d.multipleNewLineCharRegex,g):b[0].textContent.replace(d.multipleNewLineCharRegex,g)}else f=b.text();return f}},{key:"html2Text",value:function(b){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},g=$('<div style="white-space: pre;"/>').html(b); 1577!0===f.stripTables&&g.find("table").each(function(c,e){d._normalizeTable($(e))});g=d.htmlElementToText(g,f);return!1===webwave.isDefAndNotEmpty(g)&&webwave.isStringAndNotEmpty(f.optionalValueOnEmpty)&&(g=f.optionalValueOnEmpty),g}},{key:"changeCssPropertyForEachChildrenElementInTextElement",value:function(b,f){b=b.find('*[style*="'.concat(f.cssProperty,'"]'));for(var g=0;g<b.length;g++)b[g].style[f.cssProperty]=f.newCssValue;return b}},{key:"convertMarkdownBoldToHtmlStrong",value:function(b){return!1=== 1578webwave.isString(b)?"":b.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}},{key:"decodeHtml",value:function(b){var f=document.createElement("textarea");f.innerHTML=b;b=f.value;return f.remove(),b}},{key:"getEmptyParagraph",value:function(){return"<p> </p>"}},{key:"getTextContentWithoutRedundantNewLines",value:function(b){for(var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},g="",c=b[0].childNodes,e=0;e<c.length;e++)g+=c[e].textContent,e!==c.length-1&&(!0===f.withSpace?g+=" ":g+= 1579"\n");return g}},{key:"getTextContentWithoutRedundantNewLinesFromElementHtml",value:function(b){var f=document.createElement("div");return $(f).html(b.html()),d.getTextContentWithoutRedundantNewLines($(f))}},{key:"textToHTMLWithDivs",value:function(b){return webwave.isStringAndNotEmpty(b)?(b=b.split(/\n/g),(b=b.map(function(f){return""===f?"<div> </div>":"<div>".concat(f,"</div>")})).join("")):b}},{key:"isPlainText",value:function(b){return!1===webwave.isStringAndNotEmpty(b)?!1:!/<[^>]*>/.test(b)}}]), 1580d}();m.htmlToElements=function(d){var b=document.createElement("template");return b.innerHTML=d.trim(),b.content.childNodes};m.multipleNewLineCharRegex=/(\n)((\s)*(\n))+/g},910:function(r,k,a){r=a(10);a={AVAILABLE:"AVAILABLE",NOT_AVAILABLE:"NOT_AVAILABLE"};var t={};t[a.AVAILABLE]=0;t[a.NOT_AVAILABLE]=1;Object.defineProperty(a,"sortOrder",{value:t,enumerable:!1});r.w.addTranslationPrefix(a,"com.webwave.webwaveStore.product.status");k.a=a},916:function(r,k,a){k.a={NORMAL:"normal",MULTIPLY:"multiply", 1581SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"}},917:function(r,k,a){a.d(k,"a",function(){return g});var t=a(0),q=a(1),n=a(207),m=a(190),d=a(802),b=a(749),f=a(51),g=function(){function c(e){Object(t.a)(this,c);void 0===e&&(e={});this.backgroundType=e.backgroundType; 1582this.imageId=e.imageId;this.backgroundImage=e.backgroundImage;this.backgroundColor=e.backgroundColor;this.gradient=webwave.isDef(e.gradient)?new b.a(e.gradient):void 0;this.verticalPosition=e.verticalPosition;this.horizontalPosition=e.horizontalPosition;this.repeatY=webwave.isDef(e.repeatY)?!1!==e.repeatY:void 0;this.repeatX=webwave.isDef(e.repeatX)?!1!==e.repeatX:void 0;this.backgroundSize=e.backgroundSize;this.backgroundAttachment=e.backgroundAttachment;this.parallax=e.parallax;this.enabled=e.enabled; 1583this.backgroundImageEnabled=e.backgroundImageEnabled}return Object(q.a)(c,[{key:"toCss2Map",value:function(){var e={};return!1===this.enabled&&!1===this.backgroundImageEnabled?{background:"none"}
1583:(this.enabled?e=this.backgroundType===n.a.BackgroundTypes.COLOR?{backgroundColor:webwave.isDef(this.backgroundColor)?this.backgroundColor:"transparent"}:{backgroundImage:webwave.isDef(this.gradient)?this.gradient.toBackgroundImageString():void 0}:e.backgroundColor="transparent",this.backgroundImageEnabled&& 1584(window.fileManagerService?e.backgroundImage=window.fileManagerService.getUserFileCssUrl(this.imageId,this.backgroundSize===m.a.FULL_WIDTH):e.backgroundImage=this.backgroundImage?this.backgroundImage:"none",Object.assign(e,{backgroundSize:this.backgroundSize,backgroundRepeat:this.generateBackgroundRepeatString(),backgroundPosition:this.horizontalPosition+" "+this.verticalPosition})),webwave.isNotDef(e.backgroundImage)&&(e.backgroundImage="none"),e)}},{key:"serialize",value:function(e){var h,l;(this.gradient instanceof 1585b.a&&(h=this.gradient.serialize()),webwave.isDefAndNotNull(this.imageId)&&webwave.isDefAndNotNull(e.imageIdCorrector))&&(this.imageId=null===(l=e.imageIdCorrector)||void 0===l?void 0:l.tryCorrectImageId(this.imageId));return{backgroundType:this.backgroundType,imageId:this.imageId,backgroundColor:this.backgroundColor,gradient:h,verticalPosition:this.verticalPosition,horizontalPosition:this.horizontalPosition,repeatX:this.repeatX,repeatY:this.repeatY,backgroundSize:this.backgroundSize,backgroundAttachment:this.backgroundAttachment, 1586parallax:this.parallax,enabled:this.enabled,backgroundImageEnabled:this.backgroundImageEnabled}}},{key:"applyPartialBackgroundMap",value:function(e){webwave.isDef(e)&&(webwave.isDef(e.backgroundAttachment)&&(this.backgroundAttachment=e.backgroundAttachment),webwave.isDef(e.backgroundColor)&&(this.backgroundColor=e.backgroundColor),webwave.isDef(e.backgroundSize)&&(this.backgroundSize=e.backgroundSize),webwave.isDef(e.backgroundType)&&(this.backgroundType=e.backgroundType),webwave.isDef(e.gradient)&& 1587(this.gradient=new b.a(e.gradient)),webwave.isDef(e.horizontalPosition)&&(this.horizontalPosition=e.horizontalPosition),webwave.isDef(e.verticalPosition)&&(this.verticalPosition=e.verticalPosition),webwave.isDef(e.imageId)&&(this.imageId=e.imageId),webwave.isDef(e.backgroundImage)&&(this.backgroundImage=e.backgroundImage),webwave.isDef(e.repeatX)&&(this.repeatX=e.repeatX),webwave.isDef(e.repeatY)&&(this.repeatY=e.repeatY),webwave.isDef(e.parallax)&&(this.parallax=e.parallax),webwave.isDef(e.enabled)&& 1588(this.enabled=e.enabled),webwave.isDef(e.backgroundImageEnabled)&&(this.backgroundImageEnabled=e.backgroundImageEnabled))}},{key:"generateBackgroundRepeatString",value:function(){return d.a.generateBackgroundRepeatString(this.repeatX,this.repeatY)}},{key:"changeWebsiteColorConnection",value:function(e){var h,l=f.a.changeObjectBackgroundColorPropertyWithWebsiteColor(this,e);e=null===(h=this.gradient)||void 0===h?void 0:h.changeWebsiteColorConnection(e);return l||e}},{key:"clearBackgroundImageProperties", 1589value:function(){this.parallax=this.backgroundImage=this.repeatX=this.repeatY=this.imageId=this.verticalPosition=this.horizontalPosition=this.backgroundSize=void 0}},{key:"clearNonBackgroundImageProperties",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.enabled=this.gradient=this.backgroundColor=void 0;e.clearBackgroundImageEnabled&&(this.backgroundImageEnabled=void 0)}},{key:"isBackgroundImageEnabledAndDefined",value:function(){return!0===this.backgroundImageEnabled&& 1590webwave.isDefAndNotNull(this.imageId)}},{key:"applyImagePropertiesIfNotDefined",value:function(e){webwave.isDef(e)&&(webwave.isDef(e.backgroundAttachment)&&webwave.isNotDef(this.backgroundAttachment)&&(this.backgroundAttachment=e.backgroundAttachment),webwave.isDef(e.backgroundSize)&&webwave.isNotDef(this.backgroundSize)&&(this.backgroundSize=e.backgroundSize),webwave.isDef(e.backgroundType)&&webwave.isNotDef(this.backgroundType)&&(this.backgroundType=e.backgroundType),webwave.isDef(e.horizontalPosition)&& 1591webwave.isNotDef(this.horizontalPosition)&&(this.horizontalPosition=e.horizontalPosition),webwave.isDef(e.verticalPosition)&&webwave.isNotDef(this.verticalPosition)&&(this.verticalPosition=e.verticalPosition),webwave.isDef(e.imageId)&&webwave.isNotDef(this.imageId)&&(this.imageId=e.imageId),webwave.isDef(e.backgroundImage)&&webwave.isNotDef(this.backgroundImage)&&(this.backgroundImage=e.backgroundImage),webwave.isDef(e.repeatX)&&webwave.isNotDef(this.repeatX)&&(this.repeatX=e.repeatX),webwave.isDef(e.repeatY)&& 1592webwave.isNotDef(this.repeatY)&&(this.repeatY=e.repeatY))}}]),c}()},918:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(10),m=a(51),d=function(){function b(f){if(Object(t.a)(this,b),void 0===f&&(f={}),this.enabled=f.enabled,this.color,webwave.isString(f.color))if(n.b.isColorStartWithAnyOfPhrase(f.color,["rgba","var"]))this.color=f.color;else if(n.b.isColorStartWithRgbPhrase(f.color)){var g=webwave.isDef(f.opacity)?f.opacity/100:1;this.color=n.b.rgbAndOpacityToRgba(f.color,g)}this.x= 1593"number"==typeof f.x?f.x:void 0;this.y="number"==typeof f.y?f.y:void 0;this.blur="number"==typeof f.blur?f.blur:void 0}return Object(q.a)(b,[{key:"serialize",value:function(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function(){return!0===this.enabled&&webwave.isDef(this.color)&&webwave.isDef(this.x)&&webwave.isDef(this.y)&&webwave.isDef(this.blur)?this.x+"px "+this.y+"px "+this.blur+"px "+this.color:"none"}},{key:"toCss2Map",value:function(){return{boxShadow:this.toBoxShadowString()}}}, 1594{key:"applyPartialShadowMap",value:function(f){webwave.isDef(f)&&(webwave.isDef(f.enabled)&&(this.enabled=f.enabled),webwave.isDef(f.color)&&(this.color=f.color),webwave.isDef(f.x)&&(this.x=f.x),webwave.isDef(f.y)&&(this.y=f.y),webwave.isDef(f.blur)&&(this.blur=f.blur))}},{key:"changeWebsiteColorConnection",value:function(f){return m.a.changeOb
1594jectColorPropertyWithWebsiteColor(this,f)}}],[{key:"deserialize",value:function(f){return newPartialShadowMap(f)}}]),b}()},919:function(r,k,a){a.d(k,"a",function(){return f}); 1595var t=a(0),q=a(1),n=a(10),m=a(36),d=a(61),b=a(81),f=function(){function g(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,g);this.setData(c)}return Object(q.a)(g,[{key:"delete",value:function(){this._deleted=!0}},{key:"getPriceForBackend",value:function(){return this._additionalPrice}},{key:"getDateCreatedForBackend",value:function(){return n.c.dateToString(this._createDate,n.c.availableFormats.WERBWAVE_BACKEND_BINDING)}},{key:"isDeleted",value:function(){return this._deleted}}, 1596{key:"isToSave",value:function(){return!1===(webwave.isNotDef(this._id)&&!0===this._deleted)}},{key:"update",value:function(c){this.setData(c)}},{key:"setData",value:function(c){this._id=c.id;this._temporaryId=!0===webwave.isNotDef(this._id)&&!0===webwave.isNotDef(c.temporaryId)?webwave.uniqueId("option_"):void 0;this._name=c.name;this._additionalPricePositive=c.additionalPricePositive;this._createDate=webwave.isDef(c.createDate)?new Date(c.createDate):new Date;this._additionalPrice=webwave.isNumberAndNotNaN(c.additionalPrice)? 1597c.additionalPrice:void 0;this._additionalText=new d.a(c.additionalText);this._deleted=!!webwave.isDef(c.deleted)&&c.deleted}},{key:"serialize",value:function(){return{name:this._name,additionalPricePositive:this._additionalPricePositive,additionalPrice:this._additionalPrice,createDate:this._createDate,id:this._id,temporaryId:this._temporaryId,deleted:this._deleted,additionalText:this._additionalText.serialize()}}},{key:"additionalText",get:function(){return this._additionalText}},{key:"getId",value:function(){return this._id}}, 1598{key:"getName",value:function(){return this._name}},{key:"setPrice",value:function(c){this._additionalPricePositive=!c.includes("-");this._additionalPrice=b.a.setFloatPriceToLong(c.replace(",",".").replace("+","").replace("-",""))}},{key:"_getAdditionalPrice",value:function(){return webwave.isNumberAndNotNaN(this._additionalPrice)?this._additionalPrice/100:0}},{key:"getAdditionalSum",value:function(){return this._additionalPricePositive?this._getAdditionalPrice():-this._getAdditionalPrice()}},{key:"getPrice", 1599value:function(c){return this._additionalPrice?"".concat(this.getPriceForOptionCreation()," ").concat(c):"-"}},{key:"getPriceForOptionCreation",value:function(){return this._additionalPrice?(this._additionalPricePositive?"+":"-")+this._getAdditionalPrice():""}},{key:"validate",value:function(){return webwave.isStringAndNotEmpty(this.getPriceForOptionCreation())?m.e.additionalPrice(this.getPriceForOptionCreation())*m.e.requireProp(this._name):m.e.requireProp(this._name)}},{key:"getAdditionalPriceWithCurrency", 1600value:function(c){var e=this.getPriceForOptionCreation();return e?"".concat(e," ").concat(c):""}},{key:"getRow",value:function(){return{value:this.getId(),label:this.getName()}}},{key:"getVariantId",value:function(){return webwave.isDef(this._id)?this._id:this._temporaryId}},{key:"updateFromServerData",value:function(c){webwave.isNotDef(this._id)&&(this._id=c.id)}}]),g}()},92:function(r,k,a){k.a={RECTANGLE:"rectangle",GALLERY:"gallery",SLIDER:"slider",LIGHTBOX:"lightbox",IMG:"img",SIMPLETEXT:"simpleText", 1601TEXT:"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"}},93:function(r,k,a){k.a=function(q,n){if(q){if("string"==typeof q)return Object(t.a)(q, 1602n);var m=Object.prototype.toString.call(q).slice(8,-1);"Object"===m&&q.constructor&&(m=q.constructor.name);if("Map"===m||"Set"===m)return Array.from(q);if("Arguments"===m||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return Object(t.a)(q,n)}};var t=a(85)},936:function(r,k,a){k.a=function(){return"$".concat(Math.random().toString(36).slice(2,10))}},937:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(938),m=function(){function d(b){Object(t.a)(this,d);void 0===b&&(b={}); 1603this.top=webwave.isDef(b.top)?new n.a(b.top):void 0;this.right=webwave.isDef(b.right)?new n.a(b.right):void 0;this.bottom=webwave.isDef(b.bottom)?new n.a(b.bottom):void 0;this.left=webwave.isDef(b.left)?new n.a(b.left):void 0;
1603this.radius="number"==typeof b.radius?b.radius:void 0;this.enabled=webwave.isBoolean()?b.enabled:void 0;this.roundingEnabled=webwave.isBoolean(b.roundingEnabled)?b.roundingEnabled:void 0}return Object(q.a)(d,[{key:"serialize",value:function(){var b={radius:this.radius,enabled:this.enabled, 1604roundingEnabled:this.roundingEnabled};return webwave.isDef(this.top)&&(b.top=this.top.serialize()),webwave.isDef(this.right)&&(b.right=this.right.serialize()),webwave.isDef(this.bottom)&&(b.right=this.right.serialize()),webwave.isDef(this.left)&&(b.right=this.right.serialize()),b}},{key:"toCss2Map",value:function(){var b={};return webwave.isDef(this.radius)&&(css2Map.borderRadius=(this.roundingEnabled?this.radius:0)+"px"),webwave.isDef(this.top)&&(b.borderTopWidth=this.enabled?this.top.width:"0px", 1605b.borderTopStyle=this.top.style,b.borderTopColor=this.top.color),webwave.isDef(this.right)&&(b.borderRightWidth=this.enabled?this.right.width:"0px",b.borderRightStyle=this.right.style,b.borderRightColor=this.right.color),webwave.isDef(this.bottom)&&(b.borderBottomWidth=this.enabled?this.bottom.width:"0px",b.borderBottomStyle=this.bottom.style,b.borderBottomColor=this.bottom.color),webwave.isDef(this.left)&&(b.borderLeftWidth=this.enabled?this.left.width:"0px",b.borderLeftStyle=this.left.style,b.borderLeftColor= 1606this.left.color),b}},{key:"applyPartialBorderMap",value:function(b){webwave.isDef(b)&&(webwave.isDef(b.top)&&(webwave.isDef(this.top)?this.top.applyPartialSingleBorderMap(b.top):this.top=new n.a(b.top)),webwave.isDef(b.right)&&(webwave.isDef(this.right)?this.right.applyPartialSingleBorderMap(b.right):this.right=new n.a(b.right)),webwave.isDef(b.bottom)&&(webwave.isDef(this.bottom)?this.bottom.applyPartialSingleBorderMap(b.bottom):this.bottom=new n.a(b.bottom)),webwave.isDef(b.left)&&(webwave.isDef(this.left)? 1607this.left.applyPartialSingleBorderMap(b.left):this.left=new n.a(b.left)),webwave.isNumberAndNotNaN(b.radius)&&(this.radius=b.radius),webwave.isDef(b.enabled)&&(this.enabled=b.enabled),webwave.isBoolean(b.roundingEnabled)&&(this.roundingEnabled=b.roundingEnabled))}},{key:"removeAllBorderWidths",value:function(){webwave.isDef(this.top)&&this.top.removeWidth();webwave.isDef(this.right)&&this.right.removeWidth();webwave.isDef(this.bottom)&&this.bottom.removeWidth();webwave.isDef(this.left)&&this.left.removeWidth()}}, 1608{key:"changeWebsiteColorConnection",value:function(b){var f,g,c,e,h=!0===(null===(f=this.left)||void 0===f?void 0:f.changeWebsiteColorConnection(b));f=!0===(null===(g=this.right)||void 0===g?void 0:g.changeWebsiteColorConnection(b));g=!0===(null===(c=this.top)||void 0===c?void 0:c.changeWebsiteColorConnection(b));b=!0===(null===(e=this.bottom)||void 0===e?void 0:e.changeWebsiteColorConnection(b));return h||f||g||b}}],[{key:"deserialize",value:function(b){return void 0===b&&(b={}),new d({top:n.a.deserialize(b.top), 1609right:n.a.deserialize(b.right),bottom:n.a.deserialize(b.bottom),left:n.a.deserialize(b.left),radius:b.radius,enabled:b.enabled,roundingEnabled:b.roundingEnabled})}}]),d}()},938:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n=a(51),m=function(){function d(b){Object(t.a)(this,d);void 0===b&&(b={});this.width="number"==typeof b.width?b.width:void 0;this.color="string"==typeof b.color?b.color:void 0;this.style=void 0!==b.style?b.style:void 0}return Object(q.a)(d,[{key:"serialize", 1610value:function(){return{width:this.width,color:this.color,style:this.style}}},{key:"applyPartialSingleBorderMap",value:function(b){webwave.isDef(b)&&(webwave.isNumberAndNotNaN(b.width)&&(this.width=b.width),webwave.isDef(b.style)&&(this.style=b.style),webwave.isDef(b.color)&&(this.color=b.color))}},{key:"removeWidth",value:function(){this.width=void 0}},{key:"changeWebsiteColorConnection",value:function(b){return n.a.changeObjectColorPropertyWithWebsiteColor(this,b)}}]),d}()},940:function(r,k,a){a.d(k, 1611"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);this._source=d}return Object(q.a)(m,[{key:"getSource",value:function(){return this._source}}]),m}()},941:function(r,k,a){k.a={filemanager_popup:"openPopupMediaLibrary",editMenuPopup:"openPopupEditMenu",form_editor_box:"openPopupEditForm"}},942:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0; 1612try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e=Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"getSource", 1613value:function(){return this._source}}]),c}(a(943).a)},943:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(d){Object(t.a)(this,m);this._source=d}return Object(q.a)(m,[{key:"getSource",value:function(){return this._source}}]),m}()},944:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this.countPushDownAttrOnUpdate=this.enableInvokeAutoRwdPopup=
1614this.disableShadowStyle=this.supportVariableBackgroundManipulationInHoverState=this.excludedFromSizeComputation=this.disableCustomBindsPerRwdMode=this.enableBindsInheritanceInBothDirections=this.disableAnimations=this.enableVisibilityWithoutChildren=this.enableFlowWithoutChildren=this.disableAlternateStickyChildren=this.disableAlternateFixedChildren=!1;webwave.isDefAndNotNull(d.disableAlternateFixedChildren)&&(this.disableAlternateFixedChildren=d.disableAlternateFixedChildren);webwave.isDefAndNotNull(d.disableAlternateStickyChildren)&& 1615(this.disableAlternateStickyChildren=d.disableAlternateStickyChildren);webwave.isDefAndNotNull(d.enableFlowWithoutChildren)&&(this.enableFlowWithoutChildren=d.enableFlowWithoutChildren);webwave.isDefAndNotNull(d.enableVisibilityWithoutChildren)&&(this.enableVisibilityWithoutChildren=d.enableVisibilityWithoutChildren);webwave.isDefAndNotNull(d.disableAnimations)&&(this.disableAnimations=d.disableAnimations);webwave.isDefAndNotNull(d.enableBindsInheritanceInBothDirections)&&(this.enableBindsInheritanceInBothDirections= 1616d.enableBindsInheritanceInBothDirections);webwave.isDefAndNotNull(d.disableCustomBindsPerRwdMode)&&(this.disableCustomBindsPerRwdMode=d.disableCustomBindsPerRwdMode);webwave.isDefAndNotNull(d.excludedFromSizeComputation)&&(this.excludedFromSizeComputation=d.excludedFromSizeComputation);webwave.isDefAndNotNull(d.supportVariableBackgroundManipulationInHoverState)&&(this.supportVariableBackgroundManipulationInHoverState=d.supportVariableBackgroundManipulationInHoverState);webwave.isDefAndNotNull(d.disableShadowStyle)&& 1617(this.disableShadowStyle=d.disableShadowStyle);webwave.isDefAndNotNull(d.countPushDownAttrOnUpdate)&&(this.countPushDownAttrOnUpdate=d.countPushDownAttrOnUpdate)}return Object(q.a)(m,[{key:"hasEnabledBindsInheritanceInBothDirections",value:function(){return!0===this.enableBindsInheritanceInBothDirections}},{key:"hasDisabledCustomBindsPerRwdMode",value:function(){return this.disableCustomBindsPerRwdMode}},{key:"hasCountPushDownAttrOnUpdate",value:function(){return this.countPushDownAttrOnUpdate}}, 1618{key:"isExcludedFromSizeComputation",value:function(){return this.excludedFromSizeComputation}},{key:"isShadowStyleDisabled",value:function(){return!0===this.disableShadowStyle}},{key:"isSupportVariableBackgroundManipulationInHoverState",value:function(){return!0===this.supportVariableBackgroundManipulationInHoverState}},{key:"isEnableInvokeAutoRwdPopup",value:function(){return!0===this.enableInvokeAutoRwdPopup}}]),m}()},947:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(862), 1619m=a(90),d=function(){function b(f){Object(t.a)(this,b);void 0===f&&(f={});this.top=f.top instanceof n.a?f.top:new n.a;this.right=f.right instanceof n.a?f.right:new n.a;this.bottom=f.bottom instanceof n.a?f.bottom:new n.a;this.left=f.left instanceof n.a?f.left:new n.a;this.radius="number"==typeof f.radius?f.radius:0;webwave.isDef(f.enabled)?this.enabled=f.enabled:this.enabled=this._computeEnabledValue();this.roundingEnabled=webwave.isBoolean(f.roundingEnabled)?f.roundingEnabled:0<this.radius}return Object(q.a)(b, 1620[{key:"serialize",value:function(){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",value:function(){var f=this,g=!1;return Object.values(m.a).forEach(function(c){0<f[c].width&&(g=!0)}),g}},{key:"toCss2Map",value:function(){return{borderTopWidth:"".concat(this.getComputedTopWidth(),"px"),borderTopStyle:this.top.style,borderTopColor:this.top.color, 1621borderRightWidth:"".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,borderLeftWidth:"".concat(this.getComputedLeftWidth(),"px"),borderLeftStyle:this.left.style,borderLeftColor:this.left.color,borderRadius:"".concat(this.roundingEnabled?this.radius:0,"px")}}},{key:"getComputedRadius",value:function(){return this.roundingEnabled? 1622this.radius:0}},{key:"applyPartialBorderMap",value:function(f){webwave.isDef(f)&&(webwave.isDef(f.top)&&this.top.applyPartialSingleBorderMap(f.top),web
1622wave.isDef(f.right)&&this.right.applyPartialSingleBorderMap(f.right),webwave.isDef(f.bottom)&&this.bottom.applyPartialSingleBorderMap(f.bottom),webwave.isDef(f.left)&&this.left.applyPartialSingleBorderMap(f.left),webwave.isNumberAndNotNaN(f.radius)&&(this.radius=f.radius),webwave.isDef(f.enabled)&&(this.enabled=f.enabled),webwave.isDef(f.roundingEnabled)&& 1623(this.roundingEnabled=f.roundingEnabled))}},{key:"getComputedTopWidth",value:function(){return this.enabled?this.top.width:0}},{key:"getComputedRightWidth",value:function(){return this.enabled?this.right.width:0}},{key:"getComputedBottomWidth",value:function(){return this.enabled?this.bottom.width:0}},{key:"getComputedLeftWidth",value:function(){return this.enabled?this.left.width:0}},{key:"changeWebsiteColorConnection",value:function(f){var g,c,e,h,l=!0===(null===(g=this.left)||void 0===g?void 0: 1624g.changeWebsiteColorConnection(f));g=!0===(null===(c=this.right)||void 0===c?void 0:c.changeWebsiteColorConnection(f));c=!0===(null===(e=this.top)||void 0===e?void 0:e.changeWebsiteColorConnection(f));f=!0===(null===(h=this.bottom)||void 0===h?void 0:h.changeWebsiteColorConnection(f));return l||g||c||f}},{key:"clone",value:function(){return b.deserialize(this.serialize())}}],[{key:"deserialize",value:function(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new b({top:n.a.deserialize(f.top), 1625right:n.a.deserialize(f.right),bottom:n.a.deserialize(f.bottom),left:n.a.deserialize(f.left),radius:f.radius,enabled:f.enabled,roundingEnabled:f.roundingEnabled})}},{key:"isNonZeroBorderWidth",value:function(f){return webwave.isDefAndNotNull(f)&&"0px"!==f}}]),b}()},948:function(r,k,a){a.d(k,"a",function(){return f});var t=a(0),q=a(1),n=a(10),m=a(766),d=a(36),b=a(919),f=function(){function g(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,g);this.update(c)}return Object(q.a)(g, 1626[{key:"addOption",value:function(c){this._variantOption.push(c)}},{key:"getDateCreatedForBackend",value:function(){return n.c.dateToString(this._createDate,n.c.availableFormats.WERBWAVE_BACKEND_BINDING)}},{key:"getId",value:function(){return this._id}},{key:"getName",value:function(){return this._name}},{key:"getVariantOptions",value:function(){return m.a.dateAsc(this._variantOption.filter(function(c){return!1===c._deleted}),"_createDate")}},{key:"delete",value:function(){this._deleted=!0}},{key:"findVariantById", 1627value:function(c){return this.getVariantOptions().find(function(e){return e.getId()===c})}},{key:"findVariantByName",value:function(c){return this.getVariantOptions().find(function(e){return e.getName()===c})}},{key:"getOptionsRows",value:function(){for(var c=[],e=this.getVariantOptions(),h=0;h<e.length;h++)c.push(e[h].getRow());return c}},{key:"getSelectedOption",value:function(){return!1===webwave.isDefAndNotNull(this._selectedOption)&&(this._selectedOption=this.getVariantOptions()[0]),this._selectedOption}}, 1628{key:"isDeleted",value:function(){return!0===this._deleted}},{key:"isToSave",value:function(){return!1===(webwave.isNotDef(this._id)&&!0===this._deleted)}},{key:"removeOption",value:function(c){c.delete()}},{key:"serialize",value:function(){return{id:this._id,name:this._name,createDate:this._createDate,deleted:this._deleted,variantOption:this._serializeVariantOptions(),selectedOption:webwave.isDef(this._selectedOption)?this._selectedOption.serialize():void 0}}},{key:"toString",value:function(){return"".concat(this._id, 1629",").concat(this._name)}},{key:"update",value:function(c){this._id=c.id;this._name=c.name;this._deleted=!!webwave.isDef(c.deleted)&&c.deleted;this._createDate=webwave.isDef(c.createDate)?new Date(c.createDate):new Date;this._deserializeVariantOptions(c.variantOption);this._selectedOption=webwave.isDef(c.selectedOption)?this._variantOption.find(function(e){return e._id===c.selectedOption.id}):void 0}},{key:"updateFromServerData",value:function(c){webwave.isNotDef(this._id)&&(this._id=c.id);for(var e= 16300;e<c.variantOption.length;e++){var h=c.variantOption[e];var l=this.findVariantByName(h.name);webwave.isDef(l)&&l.updateFromServerData(h)}}},{key:"updateSelectedVariant",value:function(c){var e=this.getVariantOptions().find(function(h){return h.getId()===c});e&&(this._selectedOption=e)}},{key:"validate",value:function(){return d.e.requireProp(this._name)}},{key:"variantsExist",value:function(){return 0<this.getVariantOptions().length}},{key:"_deserializeVariantOptions",value:function(c){if(this._variantOption= 1631[],webwave.isDef(c))for(var e=0;e<c.length;e++)this._variantOption.push(new b.a(c[e]))}},{key:"_serializeVariantOptions",value:function(){for(var c=[],e=0;e<this._variantOption.length;e++)c.push(this._variantOption[e].serialize());return c}}]),g}()},953:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})), 1632!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}}a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(957),g=function(c){function e(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,e),h.call(this,l)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"getStyle",value:function(l){return this.get
1632State(l).getStyleMap()}}], 1633[{key:"deserialize",value:function(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return{normal:new f.a(l.normal),hover:new f.a(l.hover),disabled:new f.a(l.disabled)}}}]),e}(a(806).a)},954:function(r,k,a){k.a={optJsonParse:function(t){return webwave.isValidJSON(decodeURIComponent(t))?JSON.parse(decodeURIComponent(t)):{}},parseJsonFromNodeWithId:function(t){var q=1<arguments.length&&void 0!==arguments[1]&&arguments[1];try{var n=$("#".concat(t));if(0<n.length){var m=JSON.parse(n.html()); 1634return!0===q&&n.remove(),m}}catch(d){console.error("Error during node JSON data parsing",d)}},tryParseMultiStringifiedText:function(t,q){for(var n=0;n<q&&(t=JSON.parse(t),!webwave.isObject(t));n++);return n===q?null:t},findStringifiedJsonInString:function(t){return t?t.substring(t.indexOf("{"),t.lastIndexOf("}")+1):""},findStringifiedJsonArrayInString:function(t){return t?t.substring(t.indexOf("["),t.lastIndexOf("]")+1):""}}},955:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n= 1635a(10),m=a(51),d=function(){function b(f){if(Object(t.a)(this,b),void 0===f&&(f={}),this.enabled=!0===f.enabled,this.color="rgba(156,156,156,1)",webwave.isString(f.color))if(n.b.isColorStartWithAnyOfPhrase(f.color,["rgba","var"]))this.color=f.color;else if("transparent"===f.color)this.color="rgba(0,0,0,0)";else if(n.b.isColorStartWithRgbPhrase(f.color)){var g=webwave.isDef(f.opacity)?f.opacity/100:1;this.color=n.b.rgbAndOpacityToRgba(f.color,g)}this.x="number"==typeof f.x?f.x:3;this.y="number"==typeof f.y? 1636f.y:3;this.blur="number"==typeof f.blur?f.blur:10}return Object(q.a)(b,[{key:"serialize",value:function(){return{enabled:this.enabled,color:this.color,x:this.x,y:this.y,blur:this.blur}}},{key:"toBoxShadowString",value:function(){var f="none";return!0===this.enabled&&(f="".concat(this.x,"px ").concat(this.y,"px ").concat(this.blur,"px"),webwave.isString(this.color)&&(f=f+" "+this.color)),f}},{key:"toCss2Map",value:function(){return{boxShadow:this.toBoxShadowString()}}},{key:"applyPartialShadowMap", 1637value:function(f){webwave.isDef(f)&&(webwave.isDef(f.enabled)&&(this.enabled=f.enabled),webwave.isDef(f.color)&&(this.color=f.color),webwave.isDef(f.x)&&(this.x=f.x),webwave.isDef(f.y)&&(this.y=f.y),webwave.isDef(f.blur)&&(this.blur=f.blur))}},{key:"changeWebsiteColorConnection",value:function(f){return m.a.changeObjectColorPropertyWithWebsiteColor(this,f)}}],[{key:"deserialize",value:function(f){return new b(f)}}]),b}()},957:function(r,k,a){function t(e){var h=function(){if("undefined"==typeof Reflect|| 1638!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(l){return!1}}();return function(){var l=Object(b.a)(e);if(h){var v=Object(b.a)(this).constructor;l=Reflect.construct(l,arguments,v)}else l=l.apply(this,arguments);return Object(d.a)(this,l)}}a.d(k,"a",function(){return c});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(763);var f=a(765),g=a(833),c=function(e){function h(v){var p; 1639Object(q.a)(this,h);webwave.isNotDef(v)&&(v={});var w=v.styleMap;return(p=l.call(this,v)).styleMap=new f.a(w),p}Object(m.a)(h,e);var l=t(h);return Object(n.a)(h,[{key:"toCssMap",value:function(){var v={};return webwave.isDef(this.styleMap)&&$.extend(v,this.styleMap.toCss2Map()),webwave.isDef(this.textStyleMap)&&$.extend(v,this.textStyleMap.toCssMap()),v}},{key:"clone",value:function(){return new h($.extend(!0,{},this.serialize()))}},{key:"applyStyleRwdProperties",value:function(v){webwave.isNotDef(v)&& 1640(v={});webwave.isNotDef(this.styleMap)&&(this.styleMap=new f.a);webwave.isNotDef(v.padding)&&(v.padding=new g.a);webwave.isNotDef(this.styleMap.padding)&&(this.styleMap.padding=new g.a);this.styleMap.padding.top=v.padding.top;this.styleMap.padding.right=v.padding.right;this.styleMap.padding.bottom=v.padding.bottom;this.styleMap.padding.left=v.padding.left}},{key:"applyStyleMap",value:function(v){webwave.isDef(v)&&(webwave.isNotDef(this.styleMap)?this.styleMap=new f.a(v):this.styleMap.applyPartialObjectStyle(v))}}], 1641[{key:"deserialize",value:function(v){return new h(v)}},{key:"deserializeObjectCombinedStyles",value:function(v){webwave.isNotDef(v)&&(v={});var p={},w;for(w in v)v.hasOwnProperty(w)&&(p[w]=new h(v[w]));return p}}]),h}(r.a)},958:function(r,k,a){a.d(k,"a",function(){return n});var t=a(0),q=a(1),n=function(){function m(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,m);this.id=d.id;this.name=d.name;this.price=webwave.isNumberAndNotNaN(d.price)?d.price/100:void 0;this.productCategories= 1642d.productCategories;this.thumbnailUrl=d.thumbnailUrl;this.thumbnailId=d.thumbnailId;this.description=d.description;this.promptLanguage=d.promptLanguage}return Object(q.a)(m,[{key:"getId",value:function(){return this.id}}]),m}()},959:function(r,k,a){k.a={DOM_POSITION:"domPosition",DOM_SIZE:"domSize"}},960:function(r,k,a){a.d(k,"a",function(){return d});var t=a(0),q=a(1),n=a(188),m=a(766),d=function(){function b(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,b);this.id= 1643f.id;this.variants=webwave.isArrayLike(f.variants)?m.a.dateAsc(f.variants,b.SORT_PROPERTY_NAME):[];this.numberOfItem=webwave.isDef(f.numberOfItem)?f.numberOfItem:b.INITIAL_NUMBER_OF_ITEMS;this.numberBoughtItems=webwave.isDef(f.numberBoughtItems)?f.numberBoughtItems:0;this._deleted=!!webwave.isDef(f.deleted)&&f.deleted}return Object(q.a)(b,[{key:"canIncrement",value:function(f){return this.printAvailableQuantity()>f}},{key:"getId",value:function(){return this.id}},{key:"getVariants",value:function(){return this.variants}}, 1644{key:"isDeleted",value:function(){return this._deleted}},{key:"isAvailable",value:function(){return!0===this.isValidateQuantity(1)}},{key:"isToSave",value:function(){return!1===(webwave.isNotDef(this.id
1644)&&!0===this._deleted)}},{key:"isValidateQuantity",value:function(f){return this.printAvailableQuantity()>=f}},{key:"printAdditionalPrice",value:function(){return this.variants.map(function(f){return f.getAdditionalSum()}).reduce(function(f,g){return f+g},0)}},{key:"printAvailableQuantity",value:function(){return this.numberOfItem- 1645this.numberBoughtItems}},{key:"printName",value:function(){return this.variants.map(function(f){return f.getName()}).join(" | ")}},{key:"serialize",value:function(){return{id:this.id,deleted:this._deleted,numberOfItem:this.printAvailableQuantity()}}},{key:"setDeleted",value:function(f){this._deleted=f}},{key:"updateQuantity",value:function(f){n.a.AVAILABLE_PRODUCT_AMOUNT.validate(f)&&(this.numberOfItem=f+this.numberBoughtItems)}}]),b}();d.INITIAL_NUMBER_OF_ITEMS=1;d.SORT_PROPERTY_NAME="_createDate"}, 1646965:function(r,k,a){function t(z){var y=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(A){return!1}}();return function(){var A=Object(b.a)(z);if(y){var E=Object(b.a)(this).constructor;A=Reflect.construct(A,arguments,E)}else A=A.apply(this,arguments);return Object(d.a)(this,A)}}a.d(k,"a",function(){return u});var q=a(0), 1647n=a(1),m=a(3),d=a(4),b=a(2),f=a(61),g=a(1033),c=a(1290),e=a(892),h=a(1339),l=a(936),v=a(8714);r=a(887);var p=a(1008),w=a(36),u=function(z){function y(){var E,C=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,y),(E=A.call(this,C)).update(C),E}Object(m.a)(y,z);var A=t(y);return Object(n.a)(y,[{key:"compareTo",value:function(E){if(0==E instanceof y)return-1;if(this.type!==E.type){if(this.type===e.a.INPOST_EASYPACK)return 1;if(E.type===e.a.INPOST_EASYPACK)return-1}return this.name.localeCompare(E.name, 1648void 0,{sensitivity:"base"})}},{key:"checkAllowedWeight",value:function(E){return!0===this.postageWeightRangeOptions.enable&&this.postageWeightRangeOptions.weightInRange(E)}},{key:"equals",value:function(E){return 0!=E instanceof y&&this.price===E.price&&this.type===E.type&&this.name===E.name&&this.postageAvailability===E.postageAvailability&&this.taxValue===E.taxValue&&this.description.value===E.description.value&&this.getIdForSelect()===E.getIdForSelect()}},{key:"update",value:function(E){this.id= 1649E.id;this._description=new f.a(E.description);this._details=E.details;this._name=E.name;this._postageAvailability=webwave.isDef(E.postageAvailability)?E.postageAvailability:g.a.ALL;this._price=webwave.isNumberAndNotNaN(parseFloat(E.price))?"".concat(E.price):void 0;this._taxValue=E.taxValue;this._type=webwave.isDef(E.type)?E.type:e.a.CUSTOM;this._uniqueId=webwave.isDef(E.uniqueId)?E.uniqueId:Object(l.a)();this.deleted=!1;this._pickupPointCode=E.pickupPointCode;this._postageWeightRangeOptions=new h.a(E.postageWeightSettings); 1650this._postageAvailableCountriesOption=new c.a(E.postageAvailableCountriesOption);this._selectedFurgonetkaPostageProvidersOption=new v.a(E.selectedFurgonetkaPostageProvidersOption)}},{key:"getNameForOption",value:function(E){return"".concat(this.name," (").concat(this.price," ").concat(E,")")}},{key:"postageWeightRangeOptions",get:function(){return y.TYPES_WITH_DISABLED_POSTAGE_WEIGHT.includes(this.type)?new h.a:this._postageWeightRangeOptions}},{key:"postageAvailableCountriesOption",get:function(){return y.TYPES_WITH_DISABLED_COUNTY_AVAILABLE.includes(this.type)? 1651new c.a:this._postageAvailableCountriesOption}},{key:"type",get:function(){return this._type},set:function(E){this._type=E;y.TYPES_WITH_COUNTRY_LIST_NOT_EDITABLE.includes(this._type)?(this._postageAvailableCountriesOption.enable=!0,this._postageAvailableCountriesOption.value=this._getPostageAvailableCountriesForPostageType()):(this._postageAvailableCountriesOption.enable=!1,this._postageAvailableCountriesOption.value=[])}},{key:"details",get:function(){return this._type===e.a.INPOST_EASYPACK||this.isFurgonetkaPostage()? 1652this._details:void 0},set:function(E){this._details=E}},{key:"inpostInfo",get:function(){return webwave.isDefAndNotNull(this._details)?"".concat(i18n.t("shop.c
1652om.webwave.gui.onlineStore.orderPopup.orderClientData.contactData.inpostEasyPack.parcelLocker")," - ").concat(this._details.name,"<br />").concat(this._details.address.line1,"<br />").concat(this._details.address.line2):void 0}},{key:"furgonetkaInfo",get:function(){return webwave.isDefAndNotNull(this._details)?"".concat(this._details.name,"\n").concat(this._details.address.line1, 1653"\n").concat(this._details.address.line2):void 0}},{key:"uniqueId",get:function(){return this._uniqueId}},{key:"name",get:function(){return this._name},set:function(E){this._name=E}},{key:"postageAvailability",get:function(){return this._postageAvailability},set:function(E){this._postageAvailability=E}},{key:"price",get:function(){return this._price},set:function(E){this._price=E}},{key:"taxValue",get:function(){return this._taxValue},set:function(E){this._taxValue=E}},{key:"isFurgonetkaPostage", 1654value:function(){return this.isFurgonetkaEnabled()&&webwave.isDefAndNotNull(this.selectedFurgonetkaPostageProvidersOption.getValue())}},{key:"isFurgonetkaEnabled",value:function(){return this.type===e.a.FURGONETKA}},{key:"getTaxNumberValue",value:function(){return parseInt(this.taxValue)}},{key:"description",get:function(){return this._description}},{key:"selectedFurgonetkaPostageProvidersOption",get:function(){return this._selectedFurgonetkaPostageProvidersOption}},{key:"selectedFurgonetkaPostageProviders", 1655set:function(E){this._selectedFurgonetkaPostageProviders=E}},{key:"serialize",value:function(){return{id:!0===(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).disableDBIndexSerialize?void 0:this.id,description:this._description.serialize(),details:this.details,name:this._name,postageAvailability:this._postageAvailability,price:this._price,taxValue:this._taxValue,type:this._type,uniqueId:this._uniqueId,postageWeightSettings:this.postageWeightRangeOptions.serialize(),postageAvailableCountriesOption:this.postageAvailableCountriesOption.serialize(), 1656selectedFurgonetkaPostageProvidersOption:this.selectedFurgonetkaPostageProvidersOption.serialize()}}},{key:"getDataToOrder",value:function(){var E={};return this.validate()&&(E={details:this.detailsInfo,name:this._name,price:this._price,taxValue:this.getTaxValueForOrder(),description:this._description.value,postageType:this._type,settingsId:this.id},this.isFurgonetkaPostage()&&(E.pickupPointCode=this._pickupPointCode,E.postageService=this.selectedFurgonetkaPostageProvidersOption.getValue())),E}}, 1657{key:"getTaxValueForOrder",value:function(){var E=Number.parseInt(100*this.getTaxValue());return webwave.isNumberAndNotNaN(E)?E:void 0}},{key:"getTaxValueForSaveData",value:function(){var E=this.getTaxValueForOrder();return webwave.isDef(E)?E:null}},{key:"getTaxValue",value:function(){return p.a.parseTaxValue(this._taxValue)}},{key:"getNumberPrice",value:function(){return this.price?parseFloat(this._price.replace(",",".")):0}},{key:"detailsInfo",get:function(){return this.isFurgonetkaPostage()?this.furgonetkaInfo: 1658this.inpostInfo}},{key:"getIdForSelect",value:function(){var E;return webwave.isDefAndNotNull(this.id)?null===(E=this.id)||void 0===E?void 0:E.toString():this.uniqueId}},{key:"isEmpty",value:function(){return this.equals(new y)}},{key:"setDeleted",value:function(E){this.deleted=E}},{key:"validate",value:function(){return w.e.requireProp(this._name)&&w.e.price(this._price)}},{key:"hasDisableCountryRestrictions",value:function(){return!1===this.postageAvailableCountriesOption.enable}},{key:"countryIsValid", 1659value:function(E){return this.postageAvailableCountriesOption.countryIsValid(E)}},{key:"_getPostageAvailableCountriesForPostageType",value:function(){return[e.a.INPOST_EASYPACK,e.a.FURGONETKA].includes(this._type)?["PL"]:[]}}]),y}(r.a);u.TYPES_WITH_DISABLED_POSTAGE_WEIGHT=[e.a.ELECTRONIC];u.TYPES_WITH_DISABLED_COUNTY_AVAILABLE=[e.a.ELECTRONIC,e.a.SELF_PICKUP];u.TYPES_WITH_COUNTRY_LIST_NOT_EDITABLE=[e.a.INPOST_EASYPACK,e.a.FURGONETKA]},966:function(r,k,a){function t(v,p){var w=Object.keys(v);if(Object.getOwnPropertySymbols){var u= 1660Object.getOwnPropertySymbols(v);p&&(u=u.filter(function(z){return Object.getOwnPropertyDescriptor(v,z).enumerable}));w.push.apply(w,u)}return w}function q(v){for(var p=1;p<arguments.length;p++){var w=null!=arguments[p]?arguments[p]:{};
1660p%2?t(Object(w),!0).forEach(function(u){Object(m.a)(v,u,w[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(w)):t(Object(w)).forEach(function(u){Object.defineProperty(v,u,Object.getOwnPropertyDescriptor(w,u))})}return v} 1661function n(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(e.a)(v);if(p){var u=Object(e.a)(this).constructor;w=Reflect.construct(w,arguments,u)}else w=w.apply(this,arguments);return Object(c.a)(this,w)}}a.d(k,"a",function(){return l});var m=a(14),d=a(0),b=a(1),f=a(17), 1662g=a(3),c=a(4),e=a(2);r=a(222);var h=a(960),l=function(v){function p(){return Object(d.a)(this,p),w.apply(this,arguments)}Object(g.a)(p,v);var w=n(p);return Object(b.a)(p,[{key:"createObject",value:function(u){return new h.a(u)}},{key:"findItemByVariants",value:function(u){return this.value.find(function(z){return webwave.arrayHasSameItems(z.getVariants(),u)})}},{key:"getFirstAvailableItem",value:function(){return this.getStorageItems().find(function(u){return!0===u.isAvailable()})}},{key:"getFirstAvailableItemByVariant", 1663value:function(u){return this.getStorageItems().find(function(z){return z.getVariants().includes(u)&&!0===z.isAvailable()})}},{key:"getStorageItems",value:function(){return this._value.filter(function(u){return!1===u.isDeleted()}).sort(this._getComparatorForSortStorageItem())}},{key:"isAvailable",value:function(){return!1===this.enable||0===this.getStorageItems().length||0<this.getStorageItems().filter(function(u){return u.isValidateQuantity(1)}).length}},{key:"itemExist",value:function(u){return this.getStorageItems().find(function(z){return z=== 1664u})}},{key:"serialize",value:function(){return q(q({},Object(f.a)(Object(e.a)(p.prototype),"serialize",this).call(this)),{},{id:this._id})}},{key:"updateStorage",value:function(u){var z=this;this._setCurrentStorageItemToDeleted();0===u.length?this._processAddStorageItem([]):u.forEach(function(y){z._processAddStorageItem(y)});this._removeFromListDeletedStorageItemsWithoutIds()}},{key:"_getComparatorForSortStorageItem",value:function(){return function(u,z){var y,A;u=null===(y=u.printName())||void 0=== 1665y?void 0:y.toLowerCase();z=null===(A=z.printName())||void 0===A?void 0:A.toLowerCase();return u<z?-1:u>z?1:0}}},{key:"_processAddStorageItem",value:function(u){var z=this._value.find(function(y){return webwave.arrayHasSameItems(y.variants,u)});webwave.isNotDef(z)?this._value.push(new h.a({variants:u})):z.setDeleted(!1)}},{key:"_removeFromListDeletedStorageItemsWithoutIds",value:function(){this._value=this._value.filter(function(u){return u.isToSave()})}},{key:"_setCurrentStorageItemToDeleted",value:function(){this._value.forEach(function(u){u.setDeleted(!0)})}}]), 1666p}(r.a);l.MAXIMUM_NUMBER_OF_STORAGE=100},968:function(r,k,a){(function(t,q){var n;!function(m){!function(d){function b(g,c){return function(e,h){"function"!=typeof g[e]&&Object.defineProperty(g,e,{configurable:!0,writable:!0,value:h});c&&c(e,h)}}d="object"==typeof q?q:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")();var f=b(m);void 0===d.Reflect?d.Reflect=m:f=b(d.Reflect,f);(function(g){function c(K,Q,S){var X=Y.get(K);if(p(X)){if(!S)return;X=new P;Y.set(K,X)}K=X.get(Q); 1667if(p(K)){if(!S)return;K=new P;X.set(Q,K)}return K}function e(K,Q,S){Q=c(Q,S,!1);return!p(Q)&&!!Q.has(K)}function h(K,Q,S){Q=c(Q,S,!1);if(!p(Q))return Q.get(K)}function l(K,Q){var S=[];K=c(K,Q,!1);if(p(K))return S;K=K.keys();Q=E(K,x);if(!A(Q))throw new TypeError;K=Q.call(K);if(!w(K))throw new TypeError;for(Q=0;;){var X=K.next();X=!X.done&&X;if(!X)return S.length=Q,S;X=X.value;try{S[Q]=X}catch(Z){try{var T=K.return;T&&T.call(K)}finally{throw Z;}}Q++}}function v(K){if(null===K)return 1;switch(typeof K){case "undefined":return 0; 1668case "boolean":return 2;case "string":return 3;case "symbol":return 4;case "number":return 5;case "object":return null===K?1:6;default:return 6}}function p(K){return void 0===K}function w(K){return"object"==typeof K?null!==K:"function"==typeof K}function u(K,Q){switch(v(K)){case 0:case 1:case 2:case 3:case 4:case 5:return K}Q=3===Q?"string":5===Q?"number":"default";var S=E(K,H);if(void 0!==S){K=S.call(K,Q);if(w(K))throw new TypeError;return K}return function(X,T){if("string"===T){T=X.toString;if(A(T)&& 1669(T=T.call(X),!w(T)))return T;T=X.valueOf;if(A(T)&&(T=T.call(X),!w(T)))return T}else{T=X.valueOf;if(A(T)&&(T=T.call(X),!w(T)))return T;T=X.toString;if(A(T)&&(T=T.call(X),!w(T)))return T}throw new TypeError;}(K,"default"===Q?"number":Q)}function z(K){K=u(K,3);return"symbol"==typeof K?K:""+K}function y(K){return Array.isArray?Array.isArray(K):K instanceof Object?K instanceof Array:"[object Array]"===Object.prototype.toString.call(K)}function A(K){return"function"==typeof K}function E(K,Q){K=K[Q];if(void 0!== 1670K&&null!==K){if(!A(K))throw new TypeError;return K}}function C(K){var Q=Object.getPrototypeOf(K);if("function"!=typeof K||K===M||Q!==M)return Q;var S=K.prototype;S=S&&Object.getPrototypeOf(S);if(null==S||S===Object.prototype)return Q;S=S.constructor;return"function"!=typeof S?Q:S===K?Q:S}function D(K){return K.__=void 0,delete K.__,K}var F=Object.prototype.hasOwnProperty,B="function"==typeof Symbol,H=B&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",x=B&&void 0!==Symbol.iterator?Symbol.iterator: 1671"@@iterator";B="function"==typeof Object.create;var G={__proto__:[]}instanceof Array,I=!B&&!G,L={create:B?function(){return D(Object.create(null))}:G?function(){return D({__proto__:null})}:function(){return D({})},has:I?function(K,Q){return F.call(K,Q)}:function(K,Q){return Q in K},get:I?function(K,Q){return F.call(K,Q)?K[Q]:void 0}:function(K,Q){return K[Q]}},M=Object.getPrototypeOf(Function),P=(B="object"==typeof t&&Object({NODE_ENV:"production"})&&"true"===Object({NODE_ENV:"production"}).REFLECT_METADATA_USE_MAP_POLYFILL)|| 1672"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){function K(U,W){return U}function Q(U,W){return W}function S(U,W){return[U,W]}var X={},T=[],Z=function(){function U(W,ea,ja){this._index=0;this._keys=W;this._values=ea;this._selector=ja}return U.prototype["@@iterator"]=function(){return this},U.prototype[x]=function(){return this},U.prototype.next=function(){var W=this._index;if(0<=W&&W<this._keys.length){var ea=this._selector(this._keys[W],this._values[W]);return W+1>=this._keys.length? 1673(this._index=-1,this._keys=T,this._values=T):this._index++,{value:ea,done:!1}}return{value:void 0,done:!0}},U.prototype.throw=function(W){throw 0<=this._index&&(this._index=-1,this._keys=T,this._values=T),W;},U.prototype.return=function(W){return 0<=this._index&&(this._index=-1,this._keys=T,this._values=T),{value:W,done:!0}},U}();return function(){function U(){this._keys=[];this._values=[];this._cacheKey=X;this._cacheIndex=-2}return Object.defineProperty(U.prototype,"size",{get:function(){return this._keys.length}, 1674enumerable:!0,configurable:!0}),U.prototype.has=function(W){return 0<=this._find(W,!1)},U.prototype.get=function(W){W=this._find(W,!1);return 0<=W?this._values[W]:void 0},U.prototype.set=function(W,ea){W=this._find(W,!0);return this._values[W]=ea,this},U.prototype.delete=function(W){var ea=this._find(W,!1);if(0<=ea){var ja=this._keys.length;for(ea+=1;ea<ja;ea++)this._keys[ea-1]=this._keys[ea],this._values[ea-1]=this._values[ea];return this._keys.length--,this._values.length--,W===this._cacheKey&& 1675(this._cacheKey=X,this._cacheIndex=-2),!0}return!1},U.prototype.clear=function(){this._keys.length=0;this._values.length=0;this._cacheKey=X;this._cacheIndex=-2},U.prototype.keys=function(){return new Z(this._keys,this._values,K)},U.prototype.values=function(){return new Z(this._keys,this._values,Q)},U.prototype.entries=function(){return new Z(this._keys,this._values,S)},U.prototype["@@iterator"]=function(){return this.entries()},U.prototype[x]=function(){return this.entries()},U.prototype._find=function(W, 1676ea){return this._cacheKey!==W&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=W)),0>this._cacheIndex&&ea&&(this._cacheIndex=this._keys.length,this._keys.push(W),this._values.push(void 0)),this._cacheIndex},U}()}():Map,R=B||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function K(){this._map=new P}return Object.defineProperty(K.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),K.prototype.has=function(Q){return this._map.has(Q)}, 1677K.prototype.add=function(Q){return this._map.set(Q,Q),this},K.prototype.delete=function(Q){return this._map.delete(Q)},K.prototype.clear=function(){this._map.clear()},K.prototype.keys=function(){return this._map.keys()},K.prototype.values=function(){return this._map.values()},K.prototype.entries=function(){return this._map.entries()},K.prototype["@@iterator"]=function(){return this.keys()},K.prototype[x]=function(){return this.keys()},K}():Set,Y=new (B||"function"!=typeof WeakMap?function(){function K(){do{var Z= 1678"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(16)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(16)):S(new Uint8Array(16),16):S(Array(16),16);Z[6]=79&Z[6]|64;Z[8]=191&Z[8]|128;for(var U="",W=0;16>W;++W){var ea=Z[W];4!==W&&6!==W&&8!==W||(U+="-");16>ea&&(U+="0");U+=ea.toString(16).toLowerCase()}Z="@@WeakMap@@"+U}while(L.has(X,Z));return X[Z]=!0,Z}function Q(Z,U){if(!F.call(Z,T)){if(!U)return;Object.defineProperty(Z,T,{value:L.create()})}return Z[T]} 1679function S(Z,U){for(var W=0;W<U;++W)Z[W]=255*Math.random()|0;return Z}var X=L.create(),T=K();return function(){function Z(){this._key=K()}
1679return Z.prototype.has=function(U){U=Q(U,!1);return void 0!==U&&L.has(U,this._key)},Z.prototype.get=function(U){U=Q(U,!1);return void 0!==U?L.get(U,this._key):void 0},Z.prototype.set=function(U,W){return Q(U,!0)[this._key]=W,this},Z.prototype.delete=function(U){U=Q(U,!1);return void 0!==U&&delete U[this._key]},Z.prototype.clear=function(){this._key=K()},Z}()}(): 1680WeakMap);g("decorate",function(K,Q,S,X){if(p(S)){if(!y(K))throw new TypeError;if("function"!=typeof Q)throw new TypeError;return function(T,Z){for(var U=T.length-1;0<=U;--U){var W=(0,T[U])(Z);if(!p(W)&&null!==W){if("function"!=typeof W)throw new TypeError;Z=W}}return Z}(K,Q)}if(!y(K))throw new TypeError;if(!w(Q))throw new TypeError;if(!w(X)&&!p(X)&&null!==X)throw new TypeError;return null===X&&(X=void 0),S=z(S),function(T,Z,U,W){for(var ea=T.length-1;0<=ea;--ea){var ja=(0,T[ea])(Z,U,W);if(!p(ja)&& 1681null!==ja){if(!w(ja))throw new TypeError;W=ja}}return W}(K,Q,S,X)});g("metadata",function(K,Q){return function(S,X){if(!w(S))throw new TypeError;var T;if(T=!p(X)){a:switch(v(X)){case 3:case 4:T=!0;break a;default:T=!1}T=!T}if(T)throw new TypeError;c(S,X,!0).set(K,Q)}});g("defineMetadata",function(K,Q,S,X){if(!w(S))throw new TypeError;p(X)||(X=z(X));c(S,X,!0).set(K,Q)});g("hasMetadata",function(K,Q,S){if(!w(Q))throw new TypeError;p(S)||(S=z(S));return function W(T,Z,U){if(e(T,Z,U))return!0;Z=C(Z); 1682return null!==Z?W(T,Z,U):!1}(K,Q,S)});g("hasOwnMetadata",function(K,Q,S){if(!w(Q))throw new TypeError;p(S)||(S=z(S));return e(K,Q,S)});g("getMetadata",function(K,Q,S){if(!w(Q))throw new TypeError;p(S)||(S=z(S));return function W(T,Z,U){if(e(T,Z,U))return h(T,Z,U);Z=C(Z);if(null!==Z)return W(T,Z,U)}(K,Q,S)});g("getOwnMetadata",function(K,Q,S){if(!w(Q))throw new TypeError;p(S)||(S=z(S));return h(K,Q,S)});g("getMetadataKeys",function(K,Q){if(!w(K))throw new TypeError;p(Q)||(Q=z(Q));return function Z(X, 1683T){var U=l(X,T);X=C(X);if(null===X)return U;T=Z(X,T);if(0>=T.length)return U;if(0>=U.length)return T;X=new R;for(var W=[],ea=0;ea<U.length;ea++){var ja=U[ea],va=X.has(ja);va||(X.add(ja),W.push(ja))}for(U=0;U<T.length;U++)ja=T[U],(va=X.has(ja))||(X.add(ja),W.push(ja));return W}(K,Q)});g("getOwnMetadataKeys",function(K,Q){if(!w(K))throw new TypeError;p(Q)||(Q=z(Q));return l(K,Q)});g("deleteMetadata",function(K,Q,S){if(!w(Q))throw new TypeError;p(S)||(S=z(S));var X=c(Q,S,!1);if(p(X)||!X.delete(K))return!1; 1684if(0<X.size)return!0;K=Y.get(Q);return K.delete(S),0<K.size||(Y.delete(Q),!0)})})(f)}()}(n||(n={}))}).call(k,a(153),a(29))},981:function(r,k,a){function t(v){var p=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}();return function(){var w=Object(b.a)(v);if(p){var u=Object(b.a)(this).constructor;w=Reflect.construct(w, 1685arguments,u)}else w=w.apply(this,arguments);return Object(d.a)(this,w)}}a.d(k,"a",function(){return l});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=a(38),g=a(779),c=a(53),e=a(54);r=a(795);var h=a(861),l=function(v){function p(){var u,z=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(q.a)(this,p),(u=w.call(this,z))._animationEnabled=!1,u._animation=void 0,u._hideAnimationEnabled=!1,u._hideAnimation=void 0,u._animationPlayer=void 0,u._animationOnScrollEnabled=!1,u._animationOnScroll= 1686void 0,u.objectAnimationQueueItem=void 0,u}Object(m.a)(p,v);var w=t(p);return Object(n.a)(p,[{key:"setAnimationPlayer",value:function(u){this._animationPlayer=u}},{key:"getAnimation",value:function(){return this._animation}},{key:"getHideAnimation",value:function(){return this._hideAnimation}},{key:"finishCurrentAnimation",value:function(){var u;null===(u=this._animationPlayer)||void 0===u||u.finishCurrentAnimation();for(u=0;u<this.children.length;u++){var z;null===(z=this.children[u])||void 0=== 1687z||z.finishCurrentAnimation()}}},{key:"canPlayShowOrHideAnimation",value:function(){return this.isInitialized()&&!1===this.hasDisabledAnimations()&&(this.getDomSizeMode()!==g.a.CHILDREN_SIZE||0<this.getAllChildrenForSizeComputation().length||this.hasEnableVisibilityWithoutChildren())}},{key:"canPlayShowAnimation",value:function(){var u;return this.canPlayShowOrHideAnimation()&&(!0===this.isAnimationEnabled()&&webwave.isDef(this._animation)||!0===(null===(u=this.getParentWNo
1687de())||void 0===u?void 0: 1688u.canPlayShowAnimation()))}},{key:"getShowAnimationToPlay",value:function(){var u;return this.isAnimationEnabled()?this.getAnimation():null===(u=this.getParentWNode())||void 0===u?void 0:u.getShowAnimationToPlay()}},{key:"collectShowAnimationDelayFromParents",value:function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this,z=u.isAnimationEnabled()?u.getAnimation().getDelay():0;return u.isInGroup()&&(z+=this.collectShowAnimationDelayFromParents(u.getParentWNode())),z}},{key:"playCurrentAnimation", 1689value:function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(),!1!==this.canPlayShowAnimation()||!0===u.force){var z=this.getShowAnimationToPlay(),y=f.a.getValue("publicatedPageApp.noObjectShowAnimations",!1);if(!0!==y?this._animationPlayer.playAnimation(z,{delay:u.delay,skipDelay:u.skipDelay,onComplete:u.onComplete,beforeEachAnimationStart:u.beforeEachAnimationStart,afterEachAnimationStop:u.afterEachAnimationStop,animationType:h.a.SHOW}):u.onComplete(), 1690this.hasChildren()){z=this.getChildren();for(var A=0;A<z.length;A++)if(!0===z[A].isVisibleForInFlow()){var E=webwave.isDef(u.delay)?u.delay:1E3*z[A].collectShowAnimationDelayFromParents();!0!==y&&z[A].playCurrentAnimation({delay:E,skipDelay:u.skipDelay,beforeEachAnimationStart:u.beforeEachAnimationStart,afterEachAnimationStop:u.afterEachAnimationStop})}}}else webwave.isFunction(u.onComplete)&&u.onComplete()}},{key:"canPlayHideAnimation",value:function(){var u;return this.canPlayShowOrHideAnimation()&& 1691(!0===this.isHideAnimationEnabled()&&webwave.isDef(this._hideAnimation)||!0===(null===(u=this.getParentWNode())||void 0===u?void 0:u.canPlayHideAnimation()))}},{key:"getHideAnimationToPlay",value:function(){var u;return this.isHideAnimationEnabled()?this.getHideAnimation():null===(u=this.getParentWNode())||void 0===u?void 0:u.getHideAnimationToPlay()}},{key:"playCurrentHideAnimation",value:function(){var u=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(this.finishCurrentAnimation(), 1692!1!==this.canPlayHideAnimation()){var z=this.getHideAnimationToPlay();if(this._animationPlayer.playAnimation(z,{delay:u.delay,skipDelay:u.skipDelay,onComplete:u.onComplete,cleanObjectDelay:u.cleanObjectDelay,beforeEachAnimationStart:u.beforeEachAnimationStart,afterEachAnimationStop:u.afterEachAnimationStop,animationType:h.a.HIDE}),this.hasChildren()){z=this.getChildren();for(var y=0;y<z.length;y++)!0===z[y].isVisibleForInFlow()&&z[y].playCurrentHideAnimation({delay:u.delay,skipDelay:u.skipDelay,cleanObjectDelay:u.cleanObjectDelay, 1693beforeEachAnimationStart:u.beforeEachAnimationStart,afterEachAnimationStop:u.afterEachAnimationStop})}}else webwave.isFunction(u.onComplete)&&u.onComplete()}},{key:"isAnimationEnabled",value:function(){return this._animationEnabled}},{key:"isHideAnimationEnabled",value:function(){return this._hideAnimationEnabled}},{key:"setAnimation",value:function(u){this._animation=u}},{key:"setHideAnimation",value:function(u){this._hideAnimation=u}},{key:"setAnimationEnabled",value:function(u){this._animationEnabled= 1694u}},{key:"setHideAnimationEnabled",value:function(u){this._hideAnimationEnabled=u}},{key:"isScrollAnimationEnabled",value:function(){return this._animationOnScrollEnabled}},{key:"setScrollAnimationEnabled",value:function(u){var z=this._animationOnScrollEnabled!==u;this._animationOnScrollEnabled=u;z&&this.updateScrollAnimationVisibility()}},{key:"setAnimationOnScroll",value:function(u){var z=this._animationOnScroll!==u;this._animationOnScroll=u;z&&this.updateScrollAnimationVisibility()}},{key:"getAnimationOnScroll", 1695value:function(){return this._animationOnScroll}},{key:"computeAnimationOnScrollEndPoints",value:function(){var u=this.getAnimationOnScroll().getStartStageStartValue(),z=this.getAnimationOnScroll().getStartStageStartUnit();u=this.convertVerticalLengthToUnit(new c.a({value:u,unit:z}),e.a.PX).getValue();z=this.getAnimationOnScroll().computeFinishStageStartValue();var y=this.getAnimationOnScroll().getFinishStageStartUnit();return{START:u,FINISH:this.convertVerticalLengthToUnit(new c.a({value:z,unit:y}), 1696e.a.PX).getValue()}}},{key:"computeScrollAnimationVisibility",value:function(){var u,z=null===(u=this.pageCanvas)||void 0===u?void 0:u.getCurrentPageAreaScrollY();u=this.computeAnimationOnScrollEndPoints();var y=this.getAnimationOnScroll().computeStartStageVisibility(),A=this.getAnimationOnScroll().computeFinishStageVisibility();return z<u.START?!y:z>=u.START&&z<=u.FINISH?y:z>u.FINISH?A:void 0}},{key:"updateScrollAnimationVisibility",value:function(){this.isScrollAnimationEnabled()&&webwave.isDef(this.getAnimationOnScroll())? 1697this.visibilities.setScrollAnimationVisibility(this.computeScrollAnimationVisibility()):this.visibilities.setScrollAnimationVisibility(void 0)}},{key:"canChangeAnimationOnScroll",value:function(){return!0}},{key:"beforeShowRealAnimationStart",value:function(){}},{key:"beforeHideRealAnimationStart",value:function(){}},{key:"hasDisabledAnimations",value:function(){return!0===this._wNodeSettings.disableAnimations}},{key:"removeInteractionVisibility",value:function(u){this.visibilities.setInteractionVisibility(void 0);
1698!0===u&&this.getChildren().forEach(function(z){z.removeInteractionVisibility(u)})}},{key:"setObjectAnimationQueueItem",value:function(u){var z=this.objectAnimationQueueItem!==u;this.objectAnimationQueueItem=u;z&&(this.updateBaseVisibility(),this.getChildren(!0).forEach(function(y){y.updateBaseVisibility()}))}},{key:"hasObjectAnimationQueueItem",value:function(){return webwave.isDef(this.objectAnimationQueueItem)}}]),p}(r.a)},982:function(r,k,a){a.d(k,"a",function(){return m});var t=a(0),q=a(1),n= 1699a(780),m=function(){function d(b){Object(t.a)(this,d);webwave.isNotDef(b)&&(b={});this.padding=n.a.deserialize(b.padding)}return Object(q.a)(d,null,[{key:"deserialize",value:function(b){return new d(b)}}]),d}()},983:function(r,k,a){function t(g){var c=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}();return function(){var e= 1700Object(b.a)(g);if(c){var h=Object(b.a)(this).constructor;e=Reflect.construct(e,arguments,h)}else e=e.apply(this,arguments);return Object(d.a)(this,e)}}a.d(k,"a",function(){return f});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2),f=function(g){function c(){return Object(q.a)(this,c),e.apply(this,arguments)}Object(m.a)(c,g);var e=t(c);return Object(n.a)(c,[{key:"deserializeValue",value:function(h){this._value=webwave.isArrayLike(h)?h:[]}},{key:"postageMethodIsSupported",value:function(h){return!this.enable|| 1701this._value.includes(h.id)}}]),c}(a(61).a)},984:function(r,k,a){function t(c){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}();return function(){var h=Object(b.a)(c);if(e){var l=Object(b.a)(this).constructor;h=Reflect.construct(h,arguments,l)}else h=h.apply(this,arguments);return Object(d.a)(this,h)}} 1702a.d(k,"a",function(){return g});var q=a(0),n=a(1),m=a(3),d=a(4),b=a(2);r=a(61);var f=a(81),g=function(c){function e(){return Object(q.a)(this,e),h.apply(this,arguments)}Object(m.a)(e,c);var h=t(e);return Object(n.a)(e,[{key:"deserializeValue",value:function(l){this._value=webwave.isDefAndNotNull(l)?l/100:void 0}},{key:"getSerializeValue",value:function(){var l=f.a.setFloatPriceToLong(this.value);return webwave.isNumberAndNotNaN(l)?l:null}}]),e}(r.a)},985:function(r,k,a){a.d(k,"a",function(){return c}); 1703var t=a(0),q=a(1),n=a(936),m=a(1265),d=a(1192),b=a(1193),f=a(865),g=a(1166),c=function(){function e(){var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Object(t.a)(this,e);this.update(h)}return Object(q.a)(e,[{key:"clean",value:function(){this.key3=this.key2=this.key1=this.description=this._name=void 0;this._valid=!1}},{key:"equals",value:function(h){return 0!=h instanceof e&&this.uniqueId===h.uniqueId&&this.name===h.name&&this.isTestMode()===h.isTestMode()}},{key:"name",get:function(){return webwave.isStringAndNotEmpty(this._name)? 1704this._name:webwave.isDef(this._paymentProvider)?i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):void 0}},{key:"isPaymentMethodIntegration",get:function(){return!(!webwave.isDef(this._paymentProvider)||this._paymentProvider===f.a.ON_DELIVERY||this._paymentProvider===f.a.TRADITIONAL_TRANSFER)}},{key:"paymentOnDeliveryEnable",get:function(){return this._paymentProvider===f.a.ON_DELIVERY||void 0===this._paymentProvider}}, 1705{key:"paymentProvider",get:function(){return this._paymentProvider}},{key:"isP24",value:function(){return this._paymentProvider===f.a.PRZELEWY24}},{key:"paymentConfigurationReferralLink",value:function(){return[f.a.AUTOPAY,f.a.PRZELEWY24].includes(this._paymentProvider)}},{key:"isTestMode",value:function(){return webwave.isDef(this._testMode)?this._testMode:!1===(webwave.isStringAndNotEmpty(this.key2)&&webwave.isStringAndNotEmpty(this.key1))}},{key:"paymentIntegrationExists",value:function(h){return this.paymentProvider=== 1706h&&!0===this.isPaymentMethodIntegration}},{key:"setPaymentProvider",value:function(h){this._providerChanged(h)&&(this.clean(),this._paymentProvider=h,this._val
1706id=this._getIsValid())}},{key:"serialize",value:function(){return{id:!0===(0<arguments.length&&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, 1707uniqueId:this.uniqueId,description:this.description}}},{key:"getDataToOrder",value:function(){return this.uniqueId}},{key:"paymentMethodAvailableForCurrency",value:function(h){var l=d.a.AVAILABLE_CURRENCIES;switch(this.paymentProvider){case f.a.TRADITIONAL_TRANSFER:case f.a.ON_DELIVERY:return!0;case f.a.PRZELEWY24:l=d.a.AVAILABLE_CURRENCIES;break;case f.a.PAYPAL:l=b.a.AVAILABLE_CURRENCIES;break;case f.a.STRIPE:l=g.a.AVAILABLE_CURRENCIES;break;case f.a.AUTOPAY:l=m.a.AVAILABLE_CURRENCIES}return!0=== 1708l.includes(h)}},{key:"setValid",value:function(h){this._valid=h}},{key:"isNotValid",value:function(){return!0!==this._valid}},{key:"setDeleted",value:function(){this.deleted=!0}},{key:"update",value:function(h){this.id=h.id;this.key1=h?h.key1:void 0;this.key2=h?h.key2:void 0;this.key3=h?h.key3:void 0;this._paymentProvider=h?h.paymentProvider:void 0;this._valid=h?this._getIsValid(h.valid):void 0;this._testMode=h.testMode;this._name=h?this._getOrLoadDefaultName(h.name):void 0;this.uniqueId=this._isUniqueIdSet(h)? 1709h.uniqueId:Object(n.a)();this.description=h?this._getOrLoadDefaultDescription(h.description):void 0;this.deleted=!1}},{key:"_getOrLoadDefaultDescription",value:function(h){if(webwave.isStringAndNotEmpty(h))return h;if(!1===this.isPaymentMethodIntegration)return i18n.t("shop.com.webwave.gui.onlineStore.orderPopup.paymentOption.notDefinedInfo.beforeOrder")}},{key:"_getIsValid",value:function(h){switch(this._paymentProvider){case f.a.DOT_PAY:return!(!this.key2||!this.key1);case f.a.PRZELEWY24:case f.a.STRIPE:case f.a.PAYPAL:case f.a.AUTOPAY:return!!h|| 1710!(!this.key2||!this.key1)}}},{key:"_getOrLoadDefaultName",value:function(h){return webwave.isStringAndNotEmpty(h)?h:webwave.isDef(this._paymentProvider)?i18n.t("com.webwave.gui.onlineStore.WebWaveStore.webwaveStoreConfig.onlinePayments.paymentsProviders.".concat(this._paymentProvider)):void 0}},{key:"_isUniqueIdSet",value:function(h){return webwave.isDef(h)&&webwave.isDefAndNotNull(h.uniqueId)}},{key:"_providerChanged",value:function(h){return this._paymentProvider!==h}}]),e}()}}); 1711process=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.