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AEO,SAASC,EAA4B5D,EAAcuD,GACtD,OAAO,QAAwB,uLAIbvD,8CAEJuD,iDAIlB,CAEO,SAASM,EAAuBC,GACnC,OAAO,QAAwB,oGAE0BA,8BAG7D,CAEO,SAASC,EAAsBD,EAAcE,EAAYC,GAC5D,OAAO,QAAwB,4DAEdD,6DAA8DC,MAAcH,8BAGjG,CAEO,SAASI,EAAyBC,GACrC,MAAMC,GAAa,QAAY,8BACzBC,EAAajD,OAAOkD,QAAQH,GAAgBrD,KAAI,EAAEyD,EAAUC,KA8BtE,SAA0BD,EAAkBC,GACxC,OAAO,QAAwB,mGAC6DD,mBAClFA,4DAC0CC,gCAGxD,CApCeC,CAAiBF,EAAoBC,MAGhD,QAAqBJ,EAAYC,GAEjC,MAAMjC,GAAY,QAAwB,sjCAqB1C,OAFAA,EAAUsC,QAAQN,GAEXhC,CACX,C","sources":["webpack:///./libs/svgIcons.ts","webpack:///./libs/markUpCreator.ts"],"sourcesContent":["export const burgerSVG = '<svg class=\"nx-svg\" data-name=\"icons 32x32 outline\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><g class=\"nx-icon-burger--en\"><path class=\"cls-1\" d=\"M2.02 12.05l2.23 4.45 2.13-4.45.81 4.17h1.27L6.88 8.58 4.25 14 1.61 8.58.02 16.22h1.2l.8-4.17zM15.08 15.07h-3.06v-2.15h2.58v-1.13h-2.58V9.98h3.01V8.84h-4.29v7.38h4.34v-1.15zM18.89 11.57l4.87 4.93V8.84h-1.28v4.66l-4.87-4.92v7.64h1.28v-4.65zM30.67 8.84v4.24c0 1.46-.6 2.19-1.82 2.19S27 14.54 27 13.11V8.84h-1.23v4.25c0 2.11 1.1 3.3 3.08 3.3S32 15.2 32 13.07V8.84z\"/></g></svg>';\r\nexport const searchSVG = '<svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><path class=\"nx-icon-search\" d=\"M24.12 10.56A12 12 0 0 0 2.66 5a12 12 0 0 0 9.55 19.23 12.05 12.05 0 0 0 1.68-.12 12 12 0 0 0 10.23-13.55zm-3.58 7.92A10.4 10.4 0 0 1 3.94 5.95a10.33 10.33 0 0 1 6.86-4 10.63 10.63 0 0 1 1.46-.1 10.4 10.4 0 0 1 8.27 16.66zM31.52 30.41l-8.85-8.61a.8.8 0 1 0-1.12 1.15l8.85 8.61a.8.8 0 1 0 1.12-1.15z\"/></svg>';\r\nexport const contactSVG = '<svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><path class=\"nx-icon-contact\" d=\"M17.51 25.32a2.51 2.51 0 0 0-.84 3 5.07 5.07 0 0 0 .51.93 6.35 6.35 0 0 1-3-1.43 2.55 2.55 0 0 0-2.12-.71h-.7a9.19 9.19 0 0 1-4.89-16.46 9 9 0 0 1 4.37-1.83 9.32 9.32 0 0 1 2.34 0c.33-.54.67-1.08.44-1.55a11 11 0 0 0-3 0 10.67 10.67 0 0 0-5.13 2.11 10.79 10.79 0 0 0 5.78 19.3h.84c.28 0 .74 0 .88.15 1.34 1.56 4.75 2.3 7.07 2.47H21a.7.7 0 0 0 .61-.61.72.72 0 0 0-.53-.79 4 4 0 0 1-2.91-2.27.92.92 0 0 1 .31-1.09 10.77 10.77 0 0 0 4.35-7.81l-1.66.27a9.17 9.17 0 0 1-3.66 6.32z\"/><path class=\"cls-1\" d=\"M21.83 2.41a7.63 7.63 0 0 1 5.16 2 7.76 7.76 0 0 1-5.18 13.55h-1.12a2.06 2.06 0 0 0-1.52.57 4.56 4.56 0 0 1-2 .88c.08-.12.15-.25.21-.36a2.39 2.39 0 0 0-.58-2.9 7.76 7.76 0 0 1 4.16-13.6 8.3 8.3 0 0 1 .9 0m0-1.6a9.86 9.86 0 0 0-1.08.06 9.36 9.36 0 0 0-5 16.41.8.8 0 0 1 .2 1A3.47 3.47 0 0 1 13.25 20a.62.62 0 0 0-.51.65.61.61 0 0 0 .58.58h.72c2 0 5-.42 6.28-1.68a.56.56 0 0 1 .38-.1h1.12A9.36 9.36 0 0 0 28.06 3.2 9.25 9.25 0 0 0 21.83.81z\"/><circle class=\"cls-1\" cx=\"16.69\" cy=\"9.75\" r=\"1.25\"/><circle class=\"cls-1\" cx=\"21.78\" cy=\"9.75\" r=\"1.25\"/><circle class=\"cls-1\" cx=\"26.9\" cy=\"9.75\" r=\"1.25\"/></svg>';\r\nexport const homeSVG = '<svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><path class=\"nx-icon-home\" d=\"M27.17 16.87a.8.8 0 0 0-.8.8v12.25a.45.45 0 0 1-.48.39h-4.41v-9.8a2.09 2.09 0 0 0-2-2.16h-6.77a2.09 2.09 0 0 0-2 2.16v9.8H6.08a.45.45 0 0 1-.48-.39V17.66a.8.8 0 1 0-1.6 0v12.26a2 2 0 0 0 2.08 2h4.62a1.61 1.61 0 0 0 1.56-1.63v-9.77c0-.3.19-.56.41-.56h6.79c.22 0 .41.26.41.56v9.88a1.55 1.55 0 0 0 .44 1.1 1.4 1.4 0 0 0 1 .42h4.57a2 2 0 0 0 2.08-2V17.67a.8.8 0 0 0-.79-.8zM31.76 14.87L17.32.57a1.72 1.72 0 0 0-2.4 0L.24 14.94a.8.8 0 1 0 1.12 1.14L16 1.73a.12.12 0 0 1 .17 0L30.64 16a.8.8 0 1 0 1.13-1.14z\"/></svg>';\r\nexport const settingsSVG = '<svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><g class=\"nx-icon-settings\"><path class=\"cls-1\" d=\"M29.22 12.35a2.28 2.28 0 0 1-1.29-3.12 3.87 3.87 0 0 0-5.16-5.16 2.27 2.27 0 0 1-3.12-1.29 3.87 3.87 0 0 0-7.3 0 2.27 2.27 0 0 1-3.12 1.29 3.87 3.87 0 0 0-5.16 5.16 2.27 2.27 0 0 1-1.29 3.12 3.87 3.87 0 0 0 0 7.3 2.28 2.28 0 0 1 1.29 3.12 3.87 3.87 0 0 0 5.16 5.16 2.27 2.27 0 0 1 3.12 1.29 3.87 3.87 0 0 0 7.3 0 2.27 2.27 0 0 1 3.12-1.29 3.87 3.87 0 0 0 5.16-5.16 2.27 2.27 0 0 1 1.29-3.12 3.87 3.87 0 0 0 0-7.3zm-.54 5.79a3.87 3.87 0 0 0-2.2 5.31 2.27 2.27 0 0 1-3 3 3.88 3.88 0 0 0-5.31 2.2 2.27 2.27 0 0 1-4.29 0 3.88 3.88 0 0 0-5.31-2.2 2.27 2.27 0 0 1-3-3 3.87 3.87 0 0 0-2.2-5.31 2.27 2.27 0 0 1 0-4.29 3.87 3.87 0 0 0 2.2-5.31 2.27 2.27 0 0 1 3-3 3.88 3.88 0 0 0 5.31-2.2 2.27 2.27 0 0 1 4.29 0 3.88 3.88 0 0 0 5.31 2.2 2.27 2.27 0 0 1 3 3 3.87 3.87 0 0 0 2.2 5.31 2.27 2.27 0 0 1 0 4.29z\"/><path class=\"cls-1\" d=\"M16.09 8.75a7.16 7.16 0 1 0 7.16 7.16 7.16 7.16 0 0 0-7.16-7.16zm0 12.71a5.56 5.56 0 1 1 5.56-5.56 5.56 5.56 0 0 1-5.56 5.56z\"/></g></svg>';\r\nexport const arrowLeft = '<svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><g class=\"nx-icon-arrow-left\"><path d=\"M20.08 24.85a.8.8 0 0 1-.56-.23l-8.16-8.05a.8.8 0 0 1 0-1.14l8.16-8.05a.8.8 0 1 1 1.13 1.14L13.06 16l7.58 7.48a.8.8 0 0 1-.56 1.37z\"/></g></svg>';\r\nexport const closeSVG = '<svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\"><path class=\"nx-icon-close\"d=\"M17.13 16L31.64 1.49A.8.8 0 0 0 30.51.36L16 14.87 1.49.36A.8.8 0 0 0 .36 1.49L14.87 16 .36 30.51a.8.8 0 1 0 1.13 1.13L16 17.13l14.51 14.51a.8.8 0 0 0 1.13-1.13z\"></path></svg>';\r\nexport const teaserSVG = '<svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\"�㗖eight=\"32\" width=\"32\" viewBox=\"0 0 32 32\"><path class=\"b9973a71-6da9-404b-bcf6-0ed73dc63fe9\" d=\"M18.0107,5.749A.8209.8209,0,0,0,18.293,5.8a.801.801,0,0,0,.749-.5176l1.1289-3a.8.8,0,0,0-1.498-.5644l-1.129,3A.8015.8015,0,0,0,18.0107,5.749Z\"/><path class=\"b9973a71-6da9-404b-bcf6-0ed73dc63fe9\" d=\"M23.751,8.8115a.7987.7987,0,0,0,.5244-.1953l4.3291-3.7539a.8.8,0,1,0-1.0488-1.209L23.2266,7.4072a.8.8,0,0,0,.5244,1.4043Z\"/><path class=\"b9973a71-6da9-404b-bcf6-0ed73dc63fe9\" d=\"M30.2773,12.0371l-4.2353.8359a.8.8,0,0,0,.1543,1.585.8594.8594,0,0,0,.1562-.0146l4.2354-.836a.8.8,0,1,0-.3106-1.57Z\"/><path class=\"b9973a71-6da9-404b-bcf6-0ed73dc63fe9\" d=\"M21.6591,14.1963a.5468.5468,0,0,0,.1385-.0645c.57-.4792-.0052-2.1032-1.2857-3.6272s-2.7808-2.3711-3.3512-1.8919a.5452.5452,0,0,0-.0829.119L14.1064,5.1875a.7992.7992,0,0,0-1.3212.1416L6.4736,17.333,1.2305,21.1123a.8015.8015,0,0,0-.1524,1.1553l3.89,4.7685a.8009.8009,0,0,0,1.1045.1309l1.4684-1.119,1.8255,4.4256a.8.8,0,1,0,1.4785-.6093L8.8569,25.0451l.9246-.7045L13.85,28.957a.8005.8005,0,1,0,1.2012-1.0586l-3.9926-4.5307.18-.1372,12.9238-4.35a.799.799,0,0,0,.3584-1.2715Zm-11.0556,7.56a.7868.7868,0,0,0-.2295.1211L5.7188,25.4248,2.8545,21.9141l3.93-2.8326,1.026,1.2456A.8.8,0,0,0,9.0449,19.31L7.9442,17.9733,13.6465,7.1289,22.541,17.7383Z\"/></svg>';\r\nexport const languageSVG = '<svg viewBox=\"0 0 32 32\" height=\"35\" width=\"65\"><path class=\"cls-1\" d=\"M31.54,23.72,29,14.82l2.54-9a1.26,1.26,0,0,0-.15-1,1.2,1.2,0,0,0-1-.48H0V31.2a.8.8,0,1,0,1.6,0V25.32H30.37a1.23,1.23,0,0,0,1-.48A1.21,1.21,0,0,0,31.54,23.72Zm-29.94,0V5.92H29.88l-2.42,8.46-.12.44.12.44,2.42,8.46Z\" /></svg>';\r\nexport const defaultUserSVG = '<svg id = \"icons_32x32_outline\" xmlns = \"http://www.w3.org/2000/svg\" viewBox = \"0 0 32 32\" ><path class=\"cls-1\" d=\"M23,22c-1.11,0-1.56,1-2,2-.69,1.5-1.48,3.19-4.48,3.35h-.9c-3.06-.16-4-1.94-4.74-3.37C10.37,23,9.86,22,8.76,22,4.36,22,.32,27.53.11,31a.8.8,0,0,0,.75.85h0a.8.8,0,0,0,.8-.75c.16-2.75,3.71-7.5,7-7.5a3.68,3.68,0,0,1,.68,1.07,6.69,6.69,0,0,0,6.11,4.23h1c4-.21,5.19-2.75,5.89-4.27a4.2,4.2,0,0,1,.57-1h0c3.39,0,7.1,4.8,7.26,7.5a.79.79,0,0,0,.85.75.8.8,0,0,0,.75-.85C31.69,27.58,27.45,22,23,22Z\"/> <path class=\"cls-1\" d = \"M16.1,23.75c4.48,0,7.83-4.25,7.83-8h0V8a8.36,8.36,0,0,0-8-7.88A8.13,8.13,0,0,0,8.1,7.95v7.67C8.11,19.38,11.6,23.75,16.1,23.75Zm-.17-22c3.84,0,6.39,3.78,6.39,6.28V15.7c0,2.63-2.43,6.45-6.23,6.45s-6.39-3.93-6.39-6.54V7.95C9.7,5.42,12.13,1.75,15.93,1.75Z\" /> </svg>';\r\nexport const userAccountCheckSVG = '<svg id=\"ICONS\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 32 32\"><defs><style>.cls-1,.cls-2{fill:none;}.cls-1{clip-rule:evenodd;}.cls-3{clip-path:url(#clip-path);}.cls-4{clip-path:url(#clip-path-2);}.cls-5{isolation:isolate;}.cls-6{clip-path:url(#clip-path-3);}.cls-7{fill:#fff;}.cls-8{fill:#00136f;}</style><clipPath id=\"clip-path\"><path class=\"cls-1\" d=\"M19.65,12.43c-.07,0-.11,0-.15,0l-.42.48L15.3,17.3s-.08.07-.12.12l-2.3-2.09-.12.1-.88.81c-.11.09-.11.15,0,.24l3.34,3,.12.09,5.46-6.3,0-.05ZM16,7a9,9,0,1,1-9,9A9,9,0,0,1,16,7Z\"/></clipPath><clipPath id=\"clip-path-2\"><rect class=\"cls-2\" x=\"7\" y=\"7\" width=\"18\" height=\"18\"/></clipPath><clipPath id=\"clip-path-3\"><rect class=\"cls-2\" x=\"2\" y=\"2\" width=\"28\" height=\"28\"/></clipPath></defs><title>user-account_check</title><g class=\"cls-3\"><g class=\"cls-4\"><g class=\"cls-5\"><g class=\"cls-6\"><g class=\"cls-4\"><rect class=\"cls-7\" x=\"2\" y=\"2\" width=\"28\" height=\"28\"/></g><g class=\"cls-4\"><g class=\"cls-4\"><rect class=\"cls-8\" x=\"2\" y=\"2\" width=\"28\" height=\"28\"/></g></g></g></g></g></g></svg>';\r\nexport const accountStateLoggedInSVG = '<svg id=\"ICONS\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 52 52\"><defs><style>.cls-1,.cls-2{fill:none;}.cls-1{clip-rule:evenodd;}.cls-3{fill:#00136f;}.cls-4{clip-path:url(#clip-path);}.cls-5{clip-path:url(#clip-path-2);}.cls-6{isolation:isolate;}.cls-7{clip-path:url(#clip-path-3);}.cls-8{fill:#fff;}</style><clipPath id=\"clip-path\"><path class=\"cls-1\" d=\"M46.59,39.28c-.07-.05-.11,0-.16,0l-.42.48-3.78,4.36a.68.68,0,0,1-.12.12l-2.3-2.08-.12.09c-.29.27-.58.55-.88.81-.1.09-.1.15,0,.24l3.34,3,.13.09,5.45-6.3s0,0,0,0Zm-3.66-5.43a9,9,0,1,1-9,9A9,9,0,0,1,42.93,33.85Z\"/></clipPath><clipPath id=\"clip-path-2\"><rect class=\"cls-2\" x=\"33.93\" y=\"33.85\" width=\"18\" height=\"18\"/></clipPath><clipPath id=\"clip-path-3\"><rect class=\"cls-2\" x=\"28.93\" y=\"28.85\" width=\"28\" height=\"28\"/></clipPath></defs><title>Account_state_logged-in</title><path class=\"cls-3\" d=\"M33,32c-1.1,0-1.56,1-2,2-.69,1.49-1.48,3.19-4.49,3.35H25.6c-3.07-.16-4-1.94-4.74-3.38-.49-.94-1-1.92-2.1-1.92-4.4,0-8.44,5.53-8.65,9a.81.81,0,0,0,.76.85h0a.8.8,0,0,0,.8-.75c.16-2.76,3.71-7.5,7.05-7.5.16.06.47.67.68,1.06.79,1.51,2.1,4,6.11,4.24h1c4-.21,5.19-2.76,5.89-4.28a4,4,0,0,1,.57-1h0c3.39,0,7.1,4.8,7.26,7.5a.78.78,0,0,0,.84.75.81.81,0,0,0,.76-.85C41.69,37.58,37.45,32,33,32Z\"/><path class=\"cls-3\" d=\"M26.1,33.75c4.48,0,7.83-4.25,7.83-8h0V18a8.36,8.36,0,0,0-8-7.88A8.13,8.13,0,0,0,18.1,18v7.66C18.11,29.38,21.6,33.75,26.1,33.75Zm-.17-22c3.84,0,6.39,3.78,6.39,6.28V25.7c0,2.63-2.43,6.45-6.23,6.45s-6.39-3.94-6.39-6.54V18C19.7,15.42,22.13,11.75,25.93,11.75Z\"/><g class=\"cls-4\"><g class=\"cls-5\"><g class=\"cls-6\"><g class=\"cls-7\"><g class=\"cls-5\"><rect class=\"cls-8\" x=\"28.93\" y=\"28.85\" width=\"28\" height=\"28\"/></g><g class=\"cls-5\"><g class=\"cls-5\"><rect class=\"cls-3\" x=\"28.93\" y=\"28.85\" width=\"28\" height=\"28\"/></g></g></g></g></g></g></svg>';\r\nexport const accountLogouSVG = '<svg id = \"ICONS\" xmlns = \"http://www.w3.org/2000/svg\" viewBox = \"0 0 32 32\" > <defs><style>.cls - 1{ fill: #00136f;}</style></defs > <title>Account_logout < /title><path class=\"cls-1\" d=\"M22.47,23.59a.79.79,0,0,1-.58-.25l-6.5-7,6.5-7a.79.79,0,0,1,1.13,0,.8.8,0,0,1,0,1.13l-5.5,5.95,5.5,6a.8.8,0,0,1,0,1.13A.82.82,0,0,1,22.47,23.59Z\"/ > <path class=\"cls-1\" d = \"M17.47,32H9.62a4,4,0,0,1-3.94-4V4A4,4,0,0,1,9.62,0h7.85a.8.8,0,0,1,.8.8.8.8,0,0,1-.8.8H9.62A2.38,2.38,0,0,0,7.27,4V28a2.38,2.38,0,0,0,2.35,2.4h7.85a.8.8,0,0,1,0,1.6Z\" /> </svg>';\r\nexport const accountLoginSVG = '<svg id=\"ICONS\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><defs><style>.cls-1{fill:#00136f;}</style></defs><title>Account_login</title><path class=\"cls-1\" d=\"M8,23.59a.8.8,0,0,1-.59-1.34l5.5-6-5.5-5.95a.79.79,0,0,1,0-1.13.8.8,0,0,1,1.13,0l6.5,7-6.5,7.05A.79.79,0,0,1,8,23.59Z\"/><path class=\"cls-1\" d=\"M20.86,32H13a.8.8,0,0,1,0-1.6h7.86A2.37,2.37,0,0,0,23.2,28V4a2.38,2.38,0,0,0-2.34-2.4H13A.8.8,0,0,1,13,0h7.86A4,4,0,0,1,24.8,4V28A4,4,0,0,1,20.86,32Z\"/></svg>';\r\nexport const registrationPlusSVG = '<svg id = \"ICONS\" xmlns = \"http://www.w3.org/2000/svg\" xmlns: xlink = \"http://www.w3.org/1999/xlink\" viewBox = \"0 0 32 32\" ><clipPath id=\"clip-path\"><path class=\"cls-1\" d=\"M-21.95-37l-12.28-7.49a1.25,1.25,0,0,0-1.35,0,1.51,1.51,0,0,0-.67,1.29v15a1.54,1.54,0,0,0,.67,1.3,1.27,1.27,0,0,0,.69.21,1.32,1.32,0,0,0,.66-.19l12.28-7.5a1.5,1.5,0,0,0,.7-1.31,1.52,1.52,0,0,0-.7-1.32\"/ > </clipPath></defs > <title>plus_btn_small < /title><path class=\"cls-4\" d=\"M21,15.2H16.8V11a.8.8,0,0,0-1.6,0v4.2H11a.8.8,0,0,0,0,1.6h4.2V21a.8.8,0,0,0,1.6,0V16.8H21a.8.8,0,0,0,0-1.6Z\"/></svg>';\r\nexport const userAccountLoggedinMobileSVG = '<svg id=\"ICONS\" class=\"nx-svg nx-account-check-icon\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 32 32\"><defs><clipPath id=\"nx-check-icon-clip-path\"><path class=\"cls-1\" d=\"M19.65,12.43c-.07,0-.11,0-.15,0l-.42.48L15.3,17.3s-.08.07-.12.12l-2.3-2.09-.12.1-.88.81c-.11.09-.11.15,0,.24l3.34,3,.12.09,5.46-6.3,0-.05ZM16,7a9,9,0,1,1-9,9A9,9,0,0,1,16,7Z\"/></clipPath><clipPath id=\"nx-check-icon-clip-path-2\"><rect class=\"cls-2\" x=\"7\" y=\"7\" width=\"18\" height=\"18\"/></clipPath><clipPath id=\"nx-check-icon-clip-path-3\"><rect class=\"cls-2\" x=\"2\" y=\"2\" width=\"28\" height=\"28\"/></clipPath></defs><title>user-account_check</title><g class=\"cls-3\"><g class=\"cls-4\"><g class=\"cls-5\"><g class=\"cls-6\"><g class=\"cls-4\"><rect class=\"cls-7\" x=\"2\" y=\"2\" width=\"28\" height=\"28\"/></g><g class=\"cls-4\"><g class=\"cls-4\"><rect class=\"cls-8\" x=\"2\" y=\"2\" width=\"28\" height=\"28\"/></g></g></g></g></g></g></svg>';\r\n\r\n","import {\r\n createElement,\r\n createSpan,\r\n createNav,\r\n createUList,\r\n createListItem,\r\n createAnchor,\r\n addClass,\r\n addClassName,\r\n addToElement,\r\n addElementsFromArray,\r\n addInnerHTML,\r\n createElementFromString,\r\n} from '../helpers/DOMHelpers';\r\nimport { getCartOverviewLayerUrl } from '../helpers/helperFunctions';\r\n\r\nimport {\r\n teaserSVG, // to remove: temporare icon for teaser\r\n} from './svgIcons';\r\n\r\ninterface ICircleNavTeaserData {\r\n Title: string;\r\n Link: string;\r\n Icon: string;\r\n}\r\n\r\nfunction hasChildren(navSrtuctItem: NavStructureItem): boolean {\r\n return !!navSrtuctItem.Children && !!navSrtuctItem.Children.length;\r\n}\r\n\r\nfunction getChildren(element: NavStructureItem): NavStructureItem[] {\r\n return element.Children;\r\n}\r\n\r\nfunction createScrollBar(): HTMLElement {\r\n return addClassName(createElement('nav'), 'nx-mob-nav__scrollbar');\r\n}\r\n\r\n// creates mark-up for mobile navigation recursively from parsed JSON object\r\nfunction createMobileNavMarkUp(navSource: INavStructure, level: number = 1) {\r\n const arr = [],\r\n overviewTitle = navSource.OverviewTitle,\r\n structure = navSource.NavigationItems;\r\n\r\n function createHtmlPart(structure, level: number, overviewItem?: HTMLElement, marketingTeaser?: HTMLElement) {\r\n const nav = createNav(`nx-mob-nav__level nx-mob-nav__level--${level}`),\r\n ul = createUList('nx-mob-nav__list'),\r\n scrollBar = createScrollBar();\r\n\r\n if (level === 1) {\r\n structure = injectFirstLevelHomeItem(navSource);\r\n }\r\n\r\n addToElement(ul, marketingTeaser, overviewItem);\r\n addToElement(nav, ul, scrollBar);\r\n\r\n arr.push(nav);\r\n\r\n structure.forEach(part => {\r\n\r\n const li = createLevelItem(part.Url, part.Title);\r\n addToElement(ul, li);\r\n\r\n if (hasChildren(part)) {\r\n const children = getChildren(part);\r\n\r\n (<any>li).childrenList = createHtmlPart(\r\n children, level + 1,\r\n createLevelItem(part.Url, overviewTitle, 'nx-mob-nav__item--small'),\r\n createTeaser(part.MarketingTeaser)\r\n );\r\n } else {\r\n addClass(li, 'nx-mob-nav__item--small')\r\n }\r\n })\r\n\r\n return nav;\r\n }\r\n\r\n function createLevelItem(url: string, title: string, specialClass: string = ''): HTMLElement {\r\n const a = createAnchor(url, title, 'nx-mob-nav__item-link nx-mob-nav__item-link' + specialClass),\r\n li = createListItem('nx-mob-nav__item');\r\n\r\n addToElement(li, a);\r\n\r\n return li;\r\n }\r\n\r\n function createTeaser(teaserData: ICircleNavTeaserData): HTMLElement | undefined {\r\n if (teaserData) {\r\n const teaser = createListItem('nx-mob-nav-teaser nx-mob-nav__item'),\r\n anchor = createAnchor(teaserData.Link || '', '', 'nx-mob-nav-teaser__link nx-mob-nav__item--small'),\r\n anchorTitle = addInnerHTML(createSpan('nx-mob-nav-teaser__title'), teaserData.Title || ''),\r\n icon = addInnerHTML(createSpan('nx-mob-nav-teaser__icon'), teaserData.Icon || teaserSVG);\r\n\r\n addToElement(anchor, icon, anchorTitle);\r\n addToElement(teaser, anchor);\r\n\r\n return teaser;\r\n }\r\n }\r\n\r\n function injectFirstLevelHomeItem(navSource: INavStructure): NavStructureItem[] {\r\n navSource.NavigationItems.unshift({ \"Children\": [], \"Title\": navSource.HomeItemText, \"Url\": navSource.HomeItemUrl, \"MarketingTeaser\": {} })\r\n return structure;\r\n }\r\n\r\n createHtmlPart(structure, level);\r\n\r\n return arr;\r\n}\r\n\r\nexport function getSubmenuItem(item: NavSubmenuItem): string {\r\n let testSelector = 'SubmenuItem';\r\n if (item.Title) testSelector = encodeURIComponent(item.Title).toLowerCase();\r\n return `\r\n <li class=\"nx-submenu-item\" data-test=\"${testSelector}\">\r\n <a href=\"${item.Link}\" class=\"nx-submenu-item__link nx-login__link\" title=\"${item.Title}\">\r\n ${item.SvgIcon ? `<span class=\"nx-submenu-item-icon\">${item.SvgIcon}</span>` : ''}\r\n ${item.Title ? `<b>${item.Title}</b>` : ''}\r\n ${item.Description ? `<p>${item.Description}</p>` : ''}\r\n </a>\r\n </li>`;\r\n}\r\n\r\nexport function getSubmenu(items: NavSubmenuItem[], overlayTitle: string): string {\r\n\r\n return `\r\n <div class=\"nx-content__wrapper\">\r\n <div class=\"nx-overlay__header\">\r\n <h2 class=\"nx-overlay__title nx-font-heading-3 nx-font--extrabold nx-u-pt-base-5-desktop nx-u-pb-base-3-desktop nx-txt-uppercase\">${overlayTitle}</h2>\r\n </div>\r\n <div class=\"nx-overlay__content\">\r\n <ul class=\"nx-nav-submenu__list\">\r\n ${items.map(getSubmenuItem).join('')}\r\n </ul>\r\n </div>\r\n </div>`;\r\n}\r\n\r\nfunction getActionMenuItem(item: NavActionMenuItem, modifier: string | number): HTMLElement {\r\n let overlayTitle = '';\r\n item.Title ? overlayTitle = item.Title : null;\r\n\r\n let dataAttributes = '';\r\n if (item.DataAttributes) {\r\n Object.keys(item.DataAttributes).forEach(key => {\r\n dataAttributes += `data-${key}=\"${item.DataAttributes[key]}\" `;\r\n });\r\n }\r\n\r\n const submenu = item.Submenu ? createElementFromString(getSubmenu(item.Submenu, overlayTitle)) : null,\r\n actionMenuItem = createElementFromString(`\r\n <li class=\"nx-nav-action-menu__item nx-nav-action-menu__item--${modifier}\" ${item.Module ? `data-module=\"${item.Module}\"` : ''} ${dataAttributes} ${item.Id ? `data-id=\"${item.Id}\"` : ''}>\r\n <a ${item.Link ? `href=\"${item.Link}\"` : ''} title=\"${item.Title}\" class=\"nx-nav-action-menu__item-link\">\r\n ${item.SvgIcon}\r\n </a>\r\n </li>`);\r\n\r\n if (submenu) actionMenuItem.addEventListener('click', (e) => {\r\n e.preventDefault();\r\n window.NiveaX.layer.open(submenu);\r\n });\r\n\r\n return actionMenuItem;\r\n};\r\n\r\nexport function getActionMenu(items: NavActionMenuItem[]): HTMLElement {\r\n const container = createUList(`nx-mob-nav__meta nx-meta nx-meta--count-${items.length}`);\r\n const itemNodes = items.map(getActionMenuItem);\r\n\r\n addElementsFromArray(container, itemNodes);\r\n\r\n return container;\r\n}\r\n\r\n// gets the completed Mobile Navigation mark-up\r\nexport function getMobileNavigationElements(structure: INavStructure, navInner?, element?) {\r\n addElementsFromArray(navInner, createMobileNavMarkUp(structure, element));\r\n}\r\n\r\nexport function getNextBestActions(items: NavNextBestActionsMenuItem[]): HTMLElement {\r\n const container = createUList('nx-mob-nav__nba-list');\r\n const itemNodes = items.map(getNextBestActionMenuItemMarkUp);\r\n\r\n addElementsFromArray(container, itemNodes);\r\n\r\n return container;\r\n}\r\n\r\nfunction getNextBestActionMenuItemMarkUp(item: NavNextBestActionsMenuItem): HTMLElement {\r\n return createElementFromString(createNbaMarkUp(item));\r\n}\r\n\r\nfunction createNbaMarkUp(item: NavNextBestActionsMenuItem): string {\r\n const specificClasses = getNextBestActionClasses(item);\r\n\r\n return `\r\n <div class=\"nx-mob-nav__nba nx-font--bold ${specificClasses}\">\r\n ${getNbaBody(item)} \r\n </div>\r\n `\r\n}\r\n\r\nfunction getNbaBody(item: NavNextBestActionsMenuItem): string {\r\n switch (item.Id.toLowerCase()) {\r\n case 'addtocart':\r\n return `\r\n <span class=\"nx-svg-container\">\r\n ${item.Icon}\r\n </span>\r\n `;\r\n case 'cart':\r\n return `\r\n <a data-action-id=\"cart\" href=\"${getCartOverviewLayerUrl()}\">\r\n <span class=\"nx-svg-container\">\r\n ${item.Icon}\r\n </span>\r\n </a>`\r\n default:\r\n return `\r\n <span class=\"nx-svg-container\">\r\n ${item.Icon}\r\n </span>\r\n `;\r\n }\r\n}\r\n\r\nfunction getNextBestActionClasses(item: NavNextBestActionsMenuItem): string {\r\n const normedId = item.Id.toLowerCase();\r\n\r\n const type = \"nx-mob-nav__nba-\" + normedId;\r\n const shape = \"nx-mob-nav__nba-\" + item.IconShape.toLocaleLowerCase();\r\n const style = normedId == 'cart' || normedId == 'addtocart' ? \"nx-mob-nav__nba--primary-circle\" : \"nx-mob-nav__nba--secondary-circle\";\r\n const isEnabled = normedId == 'chat' || normedId == 'addtocart' || normedId == \"\" ? \"\" : \"nx-mob-nav__nba--enabled\";\r\n\r\n let classes = [type, shape, style, isEnabled].join(\" \");\r\n return classes;\r\n}\r\n\r\nexport function createCountdownTimeUnitElement(timeUnit: string, time: string, label: string): HTMLElement {\r\n return createElementFromString(`\r\n <div class=\"nx-countdown__time\">\r\n <div class=\"nx-countdown__time-units nx-font-heading-2 nx-font--bold nx-u-txt--center\">\r\n <div class=\"nx-countdown__time-unit nx-countdown__time-unit-a nx-countdown__time-unit-${timeUnit}\">\r\n ${time}\r\n </div>\r\n <div class=\"nx-countdown__time-unit nx-countdown__time-unit-b nx-countdown__time-unit-${timeUnit}\">\r\n ${time}\r\n </div>\r\n </div>\r\n ${label ? `<div class=\"nx-countdown__time-label\">${label}</div>` : ''}\r\n </div>\r\n `);\r\n}\r\n\r\nexport function createCountdownColonElement(name: string) {\r\n return createElementFromString(`\r\n <div class=\"nx-countdown__colon\">\r\n <div class=\"nx-countdown__colon-container\">\r\n <div class=\"nx-countdown__colon-${name}\">\r\n :\r\n </div>\r\n </div>\r\n <div class=\"nx-countdown__time-label\"></div>\r\n </div>\r\n `);\r\n}\r\n\r\nexport function createPDPBottomBarEshop() {\r\n return createElementFromString(`\r\n <div class=\"nx-product-bottom-bar__content-wrapper\">\r\n <div class=\"nx-product-bottom-bar__image-wrapper\"></div>\r\n <div class=\"nx-product-bottom-bar__product-wrapper\"></div>\r\n <div class=\"nx-product-bottom-bar__price-wrapper\">\r\n <div class=\"nx-product-bottom-bar__price-wrapper-pricing\"></div>\r\n <div class=\"nx-product-bottom-bar__price-wrapper-unit-price\"></div>\r\n </div>\r\n <div class=\"nx-product-bottom-bar__break\"></div>\r\n </div>\r\n `);\r\n}\r\n\r\nexport function createPDPBottomBarWtb() {\r\n return createElementFromString(`\r\n <div class=\"nx-product-bottom-bar__content-wrapper nx-product-bottom-bar__content-wrapper--wtb\">\r\n <div class=\"nx-product-bottom-bar__image-wrapper\"></div>\r\n <div class=\"nx-product-bottom-bar__product-wrapper\"></div>\r\n </div>\r\n `);\r\n}\r\n\r\nexport function createPDPBottomBarWtbButton(icon: string, label: string) {\r\n return createElementFromString(`\r\n <div class=\"nx-product-bottom-bar__wtb-button swn-tag-wtb-btn\">\r\n <button class=\"nx-btn\">\r\n <div class=\"nx-svg-container\">\r\n ${icon}\r\n </div>\r\n ${label}\r\n </button>\r\n </div>\r\n `);\r\n}\r\n\r\nexport function createSkipLandmarkLink(text: string) {\r\n return createElementFromString(`\r\n <div class=\"nx-skip-link\">\r\n <a class=\"nx-skip-link__landmark\" tabindex=\"0\">${text}</a>\r\n </div>\r\n `);\r\n}\r\n\r\nexport function createSkipSectionLink(text: string, id: string, ariaLabel) {\r\n return createElementFromString(`\r\n <div class=\"nx-skip-link\">\r\n <a id=\"${id}\" class=\"nx-skip-link__section\" tabindex=\"0\" aria-label=\"${ariaLabel}\">${text}</a>\r\n </div>\r\n `)\r\n}\r\n\r\nexport function createTeaserTagfilterbar(tagsWithCounts) {\r\n const listOfTags = createUList(\"nx-teasers-tagfilter__list\");\r\n const tagButtons = Object.entries(tagsWithCounts).map(([tagValue, count]) => {\r\n return getTagfilterItem(tagValue as string, count as number);\r\n })\r\n\r\n addElementsFromArray(listOfTags, tagButtons);\r\n\r\n const container = createElementFromString(`\r\n <div class=\"nx-teasers-tagfilter-bar__scroll\">\r\n <span class=\"nx-teasers-tagfilter-bar__arrow nx-teasers-tagfilter-bar__arrow--left nx-arrow--hidden\">\r\n <svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" wid>\r\n <g class=\"nx-icon-arrow-left\">\r\n <path d=\"M20.08 24.85a.8.8 0 0 1-.56-.23l-8.16-8.05a.8.8 0 0 1 0-1.14l8.16-8.05a.8.8 0 1 1 1.13 1.14L13.06 16l7.58 7.48a.8.8 0 0 1-.56 1.37z\"></path>\r\n </g>\r\n </svg>\r\n </span>\r\n <span class=\"nx-teasers-tagfilter-bar__arrow nx-teasers-tagfilter-bar__arrow--right\">\r\n <svg class=\"nx-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\r\n <g class=\"nx-icon-arrow-left\">\r\n <path d=\"M20.08 24.85a.8.8 0 0 1-.56-.23l-8.16-8.05a.8.8 0 0 1 0-1.14l8.16-8.05a.8.8 0 1 1 1.13 1.14L13.06 16l7.58 7.48a.8.8 0 0 1-.56 1.37z\"></path>\r\n </g>\r\n </svg>\r\n </span>\r\n </div>\r\n`)\r\n\r\n container.prepend(listOfTags);\r\n\r\n return container;\r\n}\r\n\r\nfunction getTagfilterItem(tagValue: string, count: number) {\r\n return createElementFromString(`\r\n <li class=\"nx-teasers-tagfilter__item nx-font-button-text-medium nx-font--bold\" title=${tagValue}>\r\n ${tagValue}\r\n <span class=\"nx-teasers-tagfilter__count\">${count}</span>\r\n </li>\r\n `)\r\n}"],"names":["teaserSVG","createMobileNavMarkUp","navSource","level","arr","overviewTitle","OverviewTitle","structure","NavigationItems","createLevelItem","url","title","specialClass","a","li","injectFirstLevelHomeItem","unshift","HomeItemText","HomeItemUrl","createHtmlPart","overviewItem","marketingTeaser","nav","ul","scrollBar","push","forEach","part","Url","Title","navSrtuctItem","Children","length","children","childrenList","teaserData","teaser","anchor","Link","anchorTitle","icon","Icon","createTeaser","MarketingTeaser","getSubmenuItem","item","testSelector","encodeURIComponent","toLowerCase","SvgIcon","Description","getSubmenu","items","overlayTitle","map","join","getActionMenuItem","modifier","dataAttributes","DataAttributes","Object","keys","key","submenu","Submenu","actionMenuItem","Module","Id","addEventListener","e","preventDefault","window","NiveaX","layer","open","getActionMenu","container","itemNodes","getMobileNavigationElements","navInner","element","getNextBestActions","getNextBestActionMenuItemMarkUp","specificClasses","normedId","type","shape","IconShape","toLocaleLowerCase","getNextBestActionClasses","getNbaBody","createNbaMarkUp","createCountdownTimeUnitElement","timeUnit","time","label","createCountdownColonElement","name","createPDPBottomBarEshop","createPDPBottomBarWtb","createPDPBottomBarWtbButton","createSkipLandmarkLink","text","createSkipSectionLink","id","ariaLabel","createTeaserTagfilterbar","tagsWithCounts","listOfTags","tagButtons","entries","tagValue","count","getTagfilterItem","prepend"],"sourceRoot":""}