Error compiling template "Designs/Hags2024/_parsed/default.parsed.cshtml"
Line 446: Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'
Line 601: The variable 'isCatalog' is assigned but its value is never used
Line 4064: Unreachable code detected
Line 1826: The variable 'verificationCode' is assigned but its value is never used
Line 5431: The variable 'isLoggedIn' is assigned but its value is never used
Line 62: Unnecessary using directive.
Line 32: Unnecessary using directive.
Line 56: Unnecessary using directive.
Line 1: Unexpected error writing debug information -- 'External component has thrown an exception.'

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 13 #line 517 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 19 #line 1118 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 20 using System.Collections.Generic; 21 22 #line default 23 #line hidden 24 25 #line 519 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 26 using System.Linq; 27 28 #line default 29 #line hidden 30 31 #line 4 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 32 using System.Web.Optimization; 33 34 #line default 35 #line hidden 36 37 #line 5 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 38 using HagsWeb.Library.Methods.Page; 39 40 #line default 41 #line hidden 42 43 #line 1287 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 44 using HagsWeb.Library.State; 45 46 #line default 47 #line hidden 48 49 #line 7 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 50 using HagsWeb.Library.Utilities; 51 52 #line default 53 #line hidden 54 55 #line 8 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 56 using Dynamicweb.Content; 57 58 #line default 59 #line hidden 60 61 #line 9 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 62 using Dynamicweb.Ecommerce.International; 63 64 #line default 65 #line hidden 66 67 #line 520 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 68 using Dynamicweb.Ecommerce.Variants; 69 70 #line default 71 #line hidden 72 73 #line 1288 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 74 using HagsWeb.Library.BusinessObjects.UsersLists; 75 76 #line default 77 #line hidden 78 79 #line 522 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 80 using HagsWeb.Library.Methods.AssetManager; 81 82 #line default 83 #line hidden 84 85 #line 523 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 86 using HagsWeb.Library.Methods.ProductProperties; 87 88 #line default 89 #line hidden 90 91 92 public class RazorEngine_88e9d1b548264f50a30ea804e5ee5e3a : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 93 94 #line hidden 95 96 #line 316 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 97 public RazorEngine.Templating.TemplateWriter renderSearch(Dynamicweb.Content.Area masterArea) 98 { 99 #line default 100 #line hidden 101 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 102 103 #line 316 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 104 105 106 #line default 107 #line hidden 108 109 #line 317 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 110 111 112 string searchPageUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetInteger("DwAreaSearchPageID")); 113 string langCode = @GetGlobalValue("Global:Area.LongLang"); 114 string searchId = @GetString("DwAreaSearchPageID"); 115 string searchTranslate = Translate("Search", "Search"); 116 string testHtmx = System.Web.HttpContext.Current.Request["htmx"]; 117 string weglotLang = System.Web.HttpContext.Current.Request.Headers["weglot-language"]; 118 string urlLang = weglotLang != "" ? "/" + weglotLang : ""; 119 //ignore the default en code 120 urlLang = weglotLang == "en" ? "" : urlLang; 121 122 123 124 #line default 125 #line hidden 126 WriteLiteralTo(__razor_helper_writer, "<form"); 127 128 WriteLiteralTo(__razor_helper_writer, " id=\"search-box\""); 129 130 WriteLiteralTo(__razor_helper_writer, " name=\"searchBox\""); 131 132 WriteLiteralTo(__razor_helper_writer, " action=\"Default.aspx\""); 133 134 WriteLiteralTo(__razor_helper_writer, " method=\"get\""); 135 136 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 137 138 WriteLiteralTo(__razor_helper_writer, " class=\"form-group flow-s\""); 139 140 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 141 142 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 143 144 WriteLiteralTo(__razor_helper_writer, " name=\"ID\""); 145 146 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 22330), Tuple.Create("\"", 22347) 147 148 #line 331 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 149 , Tuple.Create(Tuple.Create("", 22338), Tuple.Create<System.Object, System.Int32>(searchId 150 151 #line default 152 #line hidden 153 , 22338), false) 154 ); 155 156 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 157 158 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 159 160 WriteLiteralTo(__razor_helper_writer, " id=\"search-advanced-culture\""); 161 162 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 22412), Tuple.Create("\"", 22429) 163 164 #line 332 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 165 , Tuple.Create(Tuple.Create("", 22420), Tuple.Create<System.Object, System.Int32>(langCode 166 167 #line default 168 #line hidden 169 , 22420), false) 170 ); 171 172 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 173 174 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 175 176 WriteLiteralTo(__razor_helper_writer, " id=\"search-advanced-resultsurl\""); 177 178 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 22497), Tuple.Create("\"", 22519) 179 180 #line 333 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 181 , Tuple.Create(Tuple.Create("", 22505), Tuple.Create<System.Object, System.Int32>(searchPageUrl 182 183 #line default 184 #line hidden 185 , 22505), false) 186 ); 187 188 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 189 190 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 191 192 WriteLiteralTo(__razor_helper_writer, " id=\"Searchtype\""); 193 194 WriteLiteralTo(__razor_helper_writer, " value=\"\""); 195 196 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 197 198 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 199 200 WriteLiteralTo(__razor_helper_writer, " id=\"search-advanced-pageAreaId\""); 201 202 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 22647), Tuple.Create("\"", 22671) 203 204 #line 335 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 205 , Tuple.Create(Tuple.Create("", 22655), Tuple.Create<System.Object, System.Int32>(masterArea.ID 206 207 #line default 208 #line hidden 209 , 22655), false) 210 ); 211 212 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 213 214 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 215 216 WriteLiteralTo(__razor_helper_writer, " id=\"search-advanced-pagelanguage\""); 217 218 WriteLiteralTo(__razor_helper_writer, " name=\"areaLanguage\""); 219 220 WriteLiteralTo(__razor_helper_writer, " value=\"LANG1\""); 221 222 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n\r\n <label"); 223 224 WriteLiteralTo(__razor_helper_writer, " for=\"InputSearch\""); 225 226 WriteLiteralTo(__razor_helper_writer, "><h5>"); 227 228 229 #line 339 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 230 WriteTo(__razor_helper_writer, searchTranslate); 231 232 233 #line default 234 #line hidden 235 WriteLiteralTo(__razor_helper_writer, "</h5></label>\r\n\r\n <!--input type=\"search\" name=\"q\" class=\"form-control" + 236 "\" id=\"InputSearch\" maxlength=\"45\" placeholder=\""); 237 238 239 #line 341 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 240 WriteTo(__razor_helper_writer, searchTranslate); 241 242 243 #line default 244 #line hidden 245 WriteLiteralTo(__razor_helper_writer, " HAGS\" onkeyup=\"return forceLower(this);\" autocomplete=\"off\" /-->\r\n"); 246 247 248 #line 342 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 249 250 251 #line default 252 #line hidden 253 254 #line 342 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 255 if ( true ) { 256 257 258 #line default 259 #line hidden 260 WriteLiteralTo(__razor_helper_writer, " <p"); 261 262 WriteLiteralTo(__razor_helper_writer, " data-weglot=\""); 263 264 265 #line 343 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 266 WriteTo(__razor_helper_writer, weglotLang); 267 268 269 #line default 270 #line hidden 271 WriteLiteralTo(__razor_helper_writer, "\""); 272 273 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 274 275 WriteLiteralTo(__razor_helper_writer, " type=\"search\""); 276 277 WriteLiteralTo(__razor_helper_writer, " id=\"InputSearch\""); 278 279 WriteLiteralTo(__razor_helper_writer, " name=\"q\""); 280 281 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 23194), Tuple.Create("\"", 23231) 282 283 #line 344 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 284 , Tuple.Create(Tuple.Create("", 23208), Tuple.Create<System.Object, System.Int32>(searchTranslate 285 286 #line default 287 #line hidden 288 , 23208), false) 289 , Tuple.Create(Tuple.Create(" ", 23226), Tuple.Create("HAGS", 23227), true) 290 ); 291 292 WriteAttributeTo(__razor_helper_writer, "hx-get", Tuple.Create(" hx-get=\"", 23232), Tuple.Create("\"", 23291) 293 294 #line 344 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 295 , Tuple.Create(Tuple.Create("", 23241), Tuple.Create<System.Object, System.Int32>(urlLang 296 297 #line default 298 #line hidden 299 , 23241), false) 300 , Tuple.Create(Tuple.Create("", 23251), Tuple.Create("/snippets/suggestions?areaLanguage=LANG1", 23251), true) 301 ); 302 303 WriteLiteralTo(__razor_helper_writer, " hx-params=\"q\""); 304 305 WriteLiteralTo(__razor_helper_writer, " hx-trigger=\"input[this.value.length > 3] changed delay:300ms, input[this.value.l" + 306 "ength == 0] \""); 307 308 WriteLiteralTo(__razor_helper_writer, " hx-target=\"#search-suggest\""); 309 310 WriteLiteralTo(__razor_helper_writer, ">\r\n </p>\r\n"); 311 312 313 #line 346 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 314 } 315 316 317 #line default 318 #line hidden 319 WriteLiteralTo(__razor_helper_writer, "\r\n <button>"); 320 321 322 #line 348 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 323 WriteTo(__razor_helper_writer, Translate("Go", "Go")); 324 325 326 #line default 327 #line hidden 328 WriteLiteralTo(__razor_helper_writer, "</button>\r\n </div>\r\n </form>\r\n"); 329 330 331 #line 351 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 332 333 334 335 #line default 336 #line hidden 337 WriteLiteralTo(__razor_helper_writer, " <div"); 338 339 WriteLiteralTo(__razor_helper_writer, " class=\"header__action-area\""); 340 341 WriteLiteralTo(__razor_helper_writer, ">\r\n <ul"); 342 343 WriteLiteralTo(__razor_helper_writer, " class=\"flow-xs\""); 344 345 WriteLiteralTo(__razor_helper_writer, " role=\"list\""); 346 347 WriteLiteralTo(__razor_helper_writer, " id=\"search-suggest\""); 348 349 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n </div> \r\n"); 350 351 352 #line 355 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 353 354 355 #line default 356 #line hidden 357 }); 358 359 #line 355 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 360 } 361 #line default 362 #line hidden 363 364 365 #line 425 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 366 public RazorEngine.Templating.TemplateWriter renderCountryList(string outputElement = "list") 367 { 368 #line default 369 #line hidden 370 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 371 372 #line 425 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 373 374 375 #line default 376 #line hidden 377 378 #line 426 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 379 380 // create a list of 'anonymous' objects to hold the weglot sites - move to site config at some point 381 var allCountries = new List<object> 382 { 383 new { Url = "https://hagsdev.hags.com", Image = "globe.svg", Title = "Global", Active = true }, 384 new { Url = "be-nl", Image = "be.svg", Title = "Belgium (Flemish)", Active = true }, 385 new { Url = "be-fr", Image = "be.svg", Title = "Belgium (French)", Active = true }, 386 new { Url = "zh", Image = "cn.svg", Title = "China", Active = true }, 387 new { Url = "hr", Image = "hr.svg", Title = "Croatia", Active = true }, 388 new { Url = "https://hags.dk/", Image = "dk.svg", Title = "Denmark", Active = true }, 389 new { Url = "et", Image = "ee.svg", Title = "Estonia", Active = true }, 390 new { Url = "fi", Image = "fi.svg", Title = "Finland", Active = true }, 391 new { Url = "fr", Image = "fr.svg", Title = "France", Active = true }, 392 new { Url = "de", Image = "de.svg", Title = "Germany", Active = true }, 393 new { Url = "hu", Image = "hu.svg", Title = "Hungary", Active = true }, 394 new { Url = "it", Image = "it.svg", Title = "Italy", Active = true}, 395 new { Url = "ja", Image = "jp.svg", Title = "Japan", Active = true}, 396 new { Url = "lv", Image = "lv.svg", Title = "Latvia", Active = true}, 397 new { Url = "nl", Image = "nl.svg", Title = "Netherlands", Active = true }, 398 new { Url = "no", Image = "no.svg", Title = "Norway", Active = true }, 399 new { Url = "pl", Image = "pl.svg", Title = "Poland", Active = true }, 400 new { Url = "sa", Image = "rs.svg", Title = "Serbia", Active = true }, 401 new { Url = "ko", Image = "kr.svg", Title = "South Korea", Active = true }, 402 new { Url = "es", Image = "es.svg", Title = "Spain", Active = true }, 403 new { Url = "https://hags.se/", Image = "se.svg", Title = "Sweden", Active = true }, 404 new { Url = "ch-de", Image = "ch.svg", Title = "Switzerland (German)", Active = true }, 405 new { Url = "tr", Image = "tr.svg", Title = "Turkey", Active = true}, 406 new { Url = "https://hags.co.uk/", Image = "gb.svg", Title = "United Kingdom", Active = true } 407 }; 408 409 // sort the list - the getType etc.. is because it's anonymous 410 //var sortedList = allCountries.OrderBy(item => item.GetType().GetProperty("Title").GetValue(item)).ToList(); 411 var sortedList = allCountries; 412 413 if ( outputElement == "list" ) 414 { 415 416 417 418 #line default 419 #line hidden 420 WriteLiteralTo(__razor_helper_writer, " <ul"); 421 422 WriteLiteralTo(__razor_helper_writer, " class=\"icon-list\""); 423 424 WriteLiteralTo(__razor_helper_writer, " role=\"list\""); 425 426 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 427 428 429 #line 464 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 430 431 432 #line default 433 #line hidden 434 435 #line 464 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 436 foreach (var thisCountry in sortedList) 437 { 438 var thisActive = thisCountry.GetType().GetProperty("Active").GetValue(thisCountry); 439 var thisImage = thisCountry.GetType().GetProperty("Image").GetValue(thisCountry); 440 var thisTitle = thisCountry.GetType().GetProperty("Title").GetValue(thisCountry); 441 var thisUrl = thisCountry.GetType().GetProperty("Url").GetValue(thisCountry); 442 bool isActive = Convert.ToBoolean(thisActive); 443 444 if (isActive) 445 { 446 if ( thisTitle == "Global" ) { 447 448 449 #line default 450 #line hidden 451 WriteLiteralTo(__razor_helper_writer, " <li>\r\n <a"); 452 453 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 31302), Tuple.Create("\"", 31317) 454 455 #line 476 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 456 , Tuple.Create(Tuple.Create("", 31309), Tuple.Create<System.Object, System.Int32>(thisUrl 457 458 #line default 459 #line hidden 460 , 31309), false) 461 ); 462 463 WriteLiteralTo(__razor_helper_writer, " data-wg-notranslate=\"\""); 464 465 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 466 467 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 31372), Tuple.Create("\"", 31434) 468 , Tuple.Create(Tuple.Create("", 31378), Tuple.Create("/Files/Templates/Designs/Hags2024/icons/flags/", 31378), true) 469 470 #line 477 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 471 , Tuple.Create(Tuple.Create("", 31424), Tuple.Create<System.Object, System.Int32>(thisImage 472 473 #line default 474 #line hidden 475 , 31424), false) 476 ); 477 478 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 31435), Tuple.Create("\"", 31451) 479 480 #line 477 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 481 , Tuple.Create(Tuple.Create("", 31441), Tuple.Create<System.Object, System.Int32>(thisTitle 482 483 #line default 484 #line hidden 485 , 31441), false) 486 ); 487 488 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 489 490 WriteLiteralTo(__razor_helper_writer, " data-wg-translate=\"\""); 491 492 WriteLiteralTo(__razor_helper_writer, ">"); 493 494 495 #line 478 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 496 WriteTo(__razor_helper_writer, thisTitle); 497 498 499 #line default 500 #line hidden 501 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </a>\r\n </li>\r\n"); 502 503 504 #line 481 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 505 } 506 else 507 { 508 509 510 #line default 511 #line hidden 512 WriteLiteralTo(__razor_helper_writer, " <li>\r\n <a"); 513 514 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 31686), Tuple.Create("\"", 31701) 515 516 #line 485 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 517 , Tuple.Create(Tuple.Create("", 31693), Tuple.Create<System.Object, System.Int32>(thisUrl 518 519 #line default 520 #line hidden 521 , 31693), false) 522 ); 523 524 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 525 526 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 31733), Tuple.Create("\"", 31795) 527 , Tuple.Create(Tuple.Create("", 31739), Tuple.Create("/Files/Templates/Designs/Hags2024/icons/flags/", 31739), true) 528 529 #line 486 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 530 , Tuple.Create(Tuple.Create("", 31785), Tuple.Create<System.Object, System.Int32>(thisImage 531 532 #line default 533 #line hidden 534 , 31785), false) 535 ); 536 537 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 31796), Tuple.Create("\"", 31812) 538 539 #line 486 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 540 , Tuple.Create(Tuple.Create("", 31802), Tuple.Create<System.Object, System.Int32>(thisTitle 541 542 #line default 543 #line hidden 544 , 31802), false) 545 ); 546 547 WriteLiteralTo(__razor_helper_writer, ">\r\n <span>"); 548 549 550 #line 487 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 551 WriteTo(__razor_helper_writer, thisTitle); 552 553 554 #line default 555 #line hidden 556 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </a>\r\n </li>\r\n"); 557 558 559 #line 490 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 560 } 561 562 } 563 } 564 565 566 #line default 567 #line hidden 568 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 569 570 571 #line 495 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 572 } 573 574 575 #line default 576 #line hidden 577 }); 578 579 #line 496 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 580 } 581 #line default 582 #line hidden 583 584 585 #line 527 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 586 public RazorEngine.Templating.TemplateWriter renderMyCollectionPanel() 587 { 588 #line default 589 #line hidden 590 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 591 592 #line 528 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 593 594 595 Dynamicweb.Frontend.PageView collectionPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 596 Dynamicweb.Content.Area collectionArea = new Dynamicweb.Content.AreaService().GetArea(collectionPage.AreaID); 597 598 List<ProductCollectionItem> productCollectionItems = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection : new List<ProductCollectionItem>(); 599 600 bool isQuote = Convert.ToBoolean(collectionArea.Item["QuoteAndOrderChk"]); 601 bool isCatalog = true; // Always available; 602 string downloadingText = HagsWeb.Library.Utilities.DWUtilities.GetTranslation("Downloading...", "Downloading...", collectionArea.Culture); 603 int currentPage = collectionArea.ID; 604 string currentCollection = Dynamicweb.Context.Current.Request.QueryString.Get("collection"); 605 bool isLoggedIn = String.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) ? false : true; 606 string designBaseUrl = GetString("Template:DesignBaseUrl"); 607 608 List<ProductAsset> imageFileList = new List<ProductAsset>(); 609 List<ProductAsset> dwgFileList = new List<ProductAsset>(); 610 List<ProductAsset> instructionsFileList = new List<ProductAsset>(); 611 string contactUsLink = HagsWeb.Library.Utilities.DWUtilities.GetPageByNavigationTag("ContactUs", currentPage); // /kontakta-oss?mode=quote#contactForms // /kontakta-oss?success=True&mode=quote#contactForms // restful url 612 613 string printShout = Translate("SaveOrPrint", "Save or Print your Product PDF "); 614 string altCopy = @Translate("RemoveFromCollection", "Remove from my collection"); 615 string removeCopy = @Translate("RemoveFromCollection", "Remove from my collection"); 616 617 618 619 #line default 620 #line hidden 621 WriteLiteralTo(__razor_helper_writer, "<div"); 622 623 WriteLiteralTo(__razor_helper_writer, " class=\"collection flow\""); 624 625 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <input"); 626 627 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 628 629 WriteLiteralTo(__razor_helper_writer, " id=\"isQuote\""); 630 631 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 35833), Tuple.Create("\"", 35849) 632 633 #line 554 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 634 , Tuple.Create(Tuple.Create("", 35841), Tuple.Create<System.Object, System.Int32>(isQuote 635 636 #line default 637 #line hidden 638 , 35841), false) 639 ); 640 641 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 642 643 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 644 645 WriteLiteralTo(__razor_helper_writer, " id=\"downloadingText\""); 646 647 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 35930), Tuple.Create("\"", 35954) 648 649 #line 555 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 650 , Tuple.Create(Tuple.Create("", 35938), Tuple.Create<System.Object, System.Int32>(downloadingText 651 652 #line default 653 #line hidden 654 , 35938), false) 655 ); 656 657 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 658 659 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 660 661 WriteLiteralTo(__razor_helper_writer, " id=\"collectionCount\""); 662 663 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 36035), Tuple.Create("\"", 36072) 664 665 #line 556 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 666 , Tuple.Create(Tuple.Create("", 36043), Tuple.Create<System.Object, System.Int32>(productCollectionItems.Count 667 668 #line default 669 #line hidden 670 , 36043), false) 671 ); 672 673 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 674 675 WriteLiteralTo(__razor_helper_writer, " id=\"instns_MyProductCollection\""); 676 677 WriteLiteralTo(__razor_helper_writer, " class=\"flow-xs\""); 678 679 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 680 681 682 #line 559 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 683 684 685 #line default 686 #line hidden 687 688 #line 559 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 689 if (productCollectionItems.Any() || !string.IsNullOrEmpty(currentCollection)) 690 { 691 692 693 #line default 694 #line hidden 695 WriteLiteralTo(__razor_helper_writer, " <p>"); 696 697 698 #line 561 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 699 WriteTo(__razor_helper_writer, Translate("ProductCollectionButtonInstructionsNew", "Go to <strong>My Collection</strong> to download files, create quotes or print a product catalogue.")); 700 701 702 #line default 703 #line hidden 704 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 705 706 WriteLiteralTo(__razor_helper_writer, " <a"); 707 708 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--outline\""); 709 710 WriteLiteralTo(__razor_helper_writer, " href=\"/my-collection\""); 711 712 WriteLiteralTo(__razor_helper_writer, ">"); 713 714 715 #line 562 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 716 WriteTo(__razor_helper_writer, Translate("MyCollection", "My Collection")); 717 718 719 #line default 720 #line hidden 721 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 722 723 724 #line 563 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 725 } 726 else 727 { 728 729 730 #line default 731 #line hidden 732 WriteLiteralTo(__razor_helper_writer, " <p>"); 733 734 735 #line 566 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 736 WriteTo(__razor_helper_writer, Translate("product-collection-instructions-copy-new", "To add a product simply click on <strong>Add to my collection</strong> on any product page. Once you have added products to a collection you will be able to print a product catalogue, download installation guides, images and DWG files or request a quote.")); 737 738 739 #line default 740 #line hidden 741 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 742 743 744 #line 567 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 745 746 } 747 748 749 #line default 750 #line hidden 751 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n " + 752 " <div"); 753 754 WriteLiteralTo(__razor_helper_writer, " class=\"collection__ui\""); 755 756 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 757 758 WriteLiteralTo(__razor_helper_writer, " class=\"main-panel\""); 759 760 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 761 762 WriteLiteralTo(__razor_helper_writer, " class=\"panel-listing\""); 763 764 WriteLiteralTo(__razor_helper_writer, " id=\"prods_MyProductCollection\""); 765 766 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n"); 767 768 769 #line 577 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 770 771 772 #line default 773 #line hidden 774 775 #line 577 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 776 if (productCollectionItems.Any()) 777 { 778 foreach (ProductCollectionItem item in productCollectionItems) 779 { 780 781 782 #line default 783 #line hidden 784 WriteLiteralTo(__razor_helper_writer, " <div"); 785 786 WriteLiteralTo(__razor_helper_writer, " class=\"product-card collection__item\""); 787 788 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 789 790 WriteLiteralTo(__razor_helper_writer, " class=\"product-card__actions in-collection\""); 791 792 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <button"); 793 794 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 795 796 WriteLiteralTo(__razor_helper_writer, " class=\"action-btn\""); 797 798 WriteLiteralTo(__razor_helper_writer, " data-removeproductlist=\""); 799 800 801 #line 585 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 802 WriteTo(__razor_helper_writer, item.ProductNumber); 803 804 805 #line default 806 #line hidden 807 WriteLiteralTo(__razor_helper_writer, "\""); 808 809 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 810 811 WriteLiteralTo(__razor_helper_writer, " class=\"visually-hidden\""); 812 813 WriteLiteralTo(__razor_helper_writer, ">"); 814 815 816 #line 586 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 817 WriteTo(__razor_helper_writer, removeCopy); 818 819 820 #line default 821 #line hidden 822 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <svg" + 823 ""); 824 825 WriteLiteralTo(__razor_helper_writer, " xmlns=\"http://www.w3.org/2000/svg\""); 826 827 WriteLiteralTo(__razor_helper_writer, " viewbox=\"0 0 212 212\""); 828 829 WriteLiteralTo(__razor_helper_writer, " class=\"h24-icon h24-icon--minus\""); 830 831 WriteLiteralTo(__razor_helper_writer, "><path"); 832 833 WriteLiteralTo(__razor_helper_writer, " fill=\"currentColor\""); 834 835 WriteLiteralTo(__razor_helper_writer, " fill-rule=\"evenodd\""); 836 837 WriteLiteralTo(__razor_helper_writer, @" d=""M106 6c55.193 0 100 44.807 100 100s-44.807 100-100 100S6 161.193 6 106 50.807 6 106 6Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C21.936 56.207 11.333 79.875 11.333 106c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C155.793 21.936 132.125 11.333 106 11.333Zm28.772 87.504a6.5 6.5 0 0 1 6.5 6.5v1a6.5 6.5 0 0 1-6.5 6.5h-57a6.5 6.5 0 0 1-6.5-6.5v-1a6.5 6.5 0 0 1 6.5-6.5h57Z"""); 838 839 WriteLiteralTo(__razor_helper_writer, "></path></svg>\r\n <" + 840 "/button>\r\n\r\n </div>\r\n" + 841 "\r\n <div"); 842 843 WriteLiteralTo(__razor_helper_writer, " class=\"product-card__img-silo\""); 844 845 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n"); 846 847 848 #line 594 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 849 850 851 #line default 852 #line hidden 853 854 #line 594 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 855 if (item.ProductImageUrl != null && !String.IsNullOrEmpty(item.ProductUrlReference)) 856 { 857 858 859 #line default 860 #line hidden 861 WriteLiteralTo(__razor_helper_writer, " <a"); 862 863 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 39590), Tuple.Create("\"", 39622) 864 865 #line 596 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 866 , Tuple.Create(Tuple.Create("", 39597), Tuple.Create<System.Object, System.Int32>(item.ProductUrlReference 867 868 #line default 869 #line hidden 870 , 39597), false) 871 ); 872 873 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 874 875 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 39702), Tuple.Create("\"", 39729) 876 877 #line 597 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 878 , Tuple.Create(Tuple.Create("", 39708), Tuple.Create<System.Object, System.Int32>(item.ProductImageUrl 879 880 #line default 881 #line hidden 882 , 39708), false) 883 ); 884 885 WriteLiteralTo(__razor_helper_writer, ">\r\n </a>\r\n"); 886 887 888 #line 599 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 889 } 890 else 891 { 892 893 894 #line default 895 #line hidden 896 WriteLiteralTo(__razor_helper_writer, " <a"); 897 898 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 40081), Tuple.Create("\"", 40113) 899 900 #line 602 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 901 , Tuple.Create(Tuple.Create("", 40088), Tuple.Create<System.Object, System.Int32>(item.ProductUrlReference 902 903 #line default 904 #line hidden 905 , 40088), false) 906 ); 907 908 WriteLiteralTo(__razor_helper_writer, " class=\"product-card__missing\""); 909 910 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 911 912 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 40223), Tuple.Create("\"", 40271) 913 914 #line 603 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 915 , Tuple.Create(Tuple.Create("", 40229), Tuple.Create<System.Object, System.Int32>(designBaseUrl 916 917 #line default 918 #line hidden 919 , 40229), false) 920 , Tuple.Create(Tuple.Create("", 40245), Tuple.Create("assets/img/h24-see-saw.svg", 40245), true) 921 ); 922 923 WriteLiteralTo(__razor_helper_writer, ">\r\n <span>" + 924 "No Image Available</span>\r\n " + 925 " </a>\r\n"); 926 927 928 #line 606 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 929 } 930 931 932 #line default 933 #line hidden 934 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n " + 935 " <div"); 936 937 WriteLiteralTo(__razor_helper_writer, " class=\"product-card__copy\""); 938 939 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <p"); 940 941 WriteLiteralTo(__razor_helper_writer, " class=\"product-card__heading\""); 942 943 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 944 945 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 40858), Tuple.Create("\"", 40890) 946 947 #line 613 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 948 , Tuple.Create(Tuple.Create("", 40865), Tuple.Create<System.Object, System.Int32>(item.ProductUrlReference 949 950 #line default 951 #line hidden 952 , 40865), false) 953 ); 954 955 WriteLiteralTo(__razor_helper_writer, ">"); 956 957 958 #line 613 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 959 WriteTo(__razor_helper_writer, item.ProductName); 960 961 962 #line default 963 #line hidden 964 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </p>\r\n\r\n " + 965 " <p>"); 966 967 968 #line 616 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 969 WriteTo(__razor_helper_writer, item.ProductNumber); 970 971 972 #line default 973 #line hidden 974 WriteLiteralTo(__razor_helper_writer, "</p>\r\n\r\n"); 975 976 977 #line 618 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 978 979 980 #line default 981 #line hidden 982 983 #line 618 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 984 if (!string.IsNullOrEmpty(item.ProductVariantId)) 985 { 986 Tuple<string, string, string, string, string, string, List<VariantOption>> optionsTuple = ProductFieldValues.GetProductOptions(item.ProductVariantId, collectionArea.EcomLanguageId); 987 988 //optionsTuple.Item1; "Red" 989 //optionsTuple.Item2; "Above Ground" 990 //optionsTuple.Item3; "Wooden Post" 991 //optionsTuple.Item4; "Wooden Post / HPL Panels" 992 //optionsTuple.Item5; "A310.png" 993 //optionsTuple.Item6; "A310-diagram.png" 994 //optionsTuple.Item7; List<VariantOption> Not used here 995 996 } 997 998 999 #line default 1000 #line hidden 1001 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n " + 1002 " </div>\r\n"); 1003 1004 1005 #line 635 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1006 } 1007 } 1008 1009 1010 #line default 1011 #line hidden 1012 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n " + 1013 " </div>\r\n\r\n </div> <!-- collect" + 1014 "ion__iu end -->\r\n\r\n <div"); 1015 1016 WriteLiteralTo(__razor_helper_writer, " class=\"cluster\""); 1017 1018 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1019 1020 1021 #line 645 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1022 1023 1024 #line default 1025 #line hidden 1026 1027 #line 645 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1028 if (productCollectionItems.Any()) 1029 { 1030 foreach (var item in productCollectionItems) 1031 { 1032 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Images) && n.FileName == item.ProductNumber + ".jpg" || n.FileName == item.ProductNumber + "_Side.jpg" || n.FileName == item.ProductNumber + "_Top.jpg").ToList()) 1033 { 1034 imageFileList.Add(asset); 1035 } 1036 1037 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Drawings)).ToList()) 1038 { 1039 dwgFileList.Add(asset); 1040 } 1041 1042 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.AssemblyInstructions)).ToList()) 1043 { 1044 instructionsFileList.Add(asset); 1045 } 1046 } 1047 1048 1049 1050 #line default 1051 #line hidden 1052 WriteLiteralTo(__razor_helper_writer, " <button"); 1053 1054 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--warn\""); 1055 1056 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1057 1058 WriteLiteralTo(__razor_helper_writer, " data-removeproductlist=\"All\""); 1059 1060 WriteLiteralTo(__razor_helper_writer, ">"); 1061 1062 1063 #line 665 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1064 WriteTo(__razor_helper_writer, Translate("RemoveAll", "Remove All")); 1065 1066 1067 #line default 1068 #line hidden 1069 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 1070 1071 1072 #line 666 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1073 } 1074 1075 1076 #line default 1077 #line hidden 1078 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 1079 1080 1081 #line 670 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1082 1083 1084 #line default 1085 #line hidden 1086 1087 #line 670 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1088 if (isLoggedIn && productCollectionItems.Any()) 1089 { 1090 1091 1092 #line default 1093 #line hidden 1094 WriteLiteralTo(__razor_helper_writer, " <div"); 1095 1096 WriteLiteralTo(__razor_helper_writer, " id=\"panelcollectiondetails\""); 1097 1098 WriteLiteralTo(__razor_helper_writer, " class=\"flow-xs\""); 1099 1100 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5><strong>"); 1101 1102 1103 #line 673 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1104 WriteTo(__razor_helper_writer, Translate("Save collection?", "Save collection?")); 1105 1106 1107 #line default 1108 #line hidden 1109 WriteLiteralTo(__razor_helper_writer, "</strong></h5>\r\n <p>"); 1110 1111 1112 #line 674 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1113 WriteTo(__razor_helper_writer, Translate("You are logged in", "You are currently logged in to HAGS Connect so you can save this collection to your account.")); 1114 1115 1116 #line default 1117 #line hidden 1118 WriteLiteralTo(__razor_helper_writer, "</p>\r\n <button"); 1119 1120 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--outline\""); 1121 1122 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1123 1124 WriteLiteralTo(__razor_helper_writer, " data-open-modal=\"#saveCollection\""); 1125 1126 WriteLiteralTo(__razor_helper_writer, ">"); 1127 1128 1129 #line 675 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1130 WriteTo(__razor_helper_writer, Translate("Save collection", "Save this Collection")); 1131 1132 1133 #line default 1134 #line hidden 1135 WriteLiteralTo(__razor_helper_writer, "</button>\r\n </div>\r\n"); 1136 1137 1138 #line 677 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1139 } 1140 else 1141 { 1142 if (!isLoggedIn && productCollectionItems.Any()) 1143 { 1144 1145 1146 #line default 1147 #line hidden 1148 WriteLiteralTo(__razor_helper_writer, " <div"); 1149 1150 WriteLiteralTo(__razor_helper_writer, " id=\"panelcollectiondetails\""); 1151 1152 WriteLiteralTo(__razor_helper_writer, " class=\"flow-xs\""); 1153 1154 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5><strong>"); 1155 1156 1157 #line 683 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1158 WriteTo(__razor_helper_writer, Translate("Save collection?", "Save collection?")); 1159 1160 1161 #line default 1162 #line hidden 1163 WriteLiteralTo(__razor_helper_writer, "</strong></h5>\r\n <p>"); 1164 1165 1166 #line 684 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1167 WriteTo(__razor_helper_writer, Translate("To save login", "To save this collection into your HAGS Connect simply login using the button below.")); 1168 1169 1170 #line default 1171 #line hidden 1172 WriteLiteralTo(__razor_helper_writer, "</p>\r\n <a"); 1173 1174 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--outline\""); 1175 1176 WriteLiteralTo(__razor_helper_writer, " href=\"/Admin/Public/Social/ExternalLogin.aspx?action=login&amp;providerID=3\""); 1177 1178 WriteLiteralTo(__razor_helper_writer, ">HAGS Connect Login</a>\r\n </div>\r\n"); 1179 1180 1181 #line 687 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1182 } 1183 } 1184 1185 1186 #line default 1187 #line hidden 1188 WriteLiteralTo(__razor_helper_writer, "\r\n </div> "); 1189 1190 WriteLiteralTo(__razor_helper_writer, "<!-- collection end -->\r\n"); 1191 1192 1193 #line 691 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1194 1195 1196 #line default 1197 #line hidden 1198 }); 1199 1200 #line 691 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1201 } 1202 #line default 1203 #line hidden 1204 1205 1206 public RazorEngine_88e9d1b548264f50a30ea804e5ee5e3a() { 1207 } 1208 1209 public override void Execute() { 1210 WriteLiteral("\r\n"); 1211 1212 1213 #line 11 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1214 1215 bool inDev = false; 1216 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("http://hagsdw915solution."); 1217 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("https://hagsdev.hags."); 1218 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("https://hagslang.hags."); 1219 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("https://hagslive.hags."); 1220 1221 int masterAreaId = int.TryParse(GetGlobalValue("Global:Area.ID"), out masterAreaId) ? masterAreaId : 0; 1222 Dynamicweb.Content.Area masterArea = new Dynamicweb.Content.AreaService().GetArea(masterAreaId); 1223 1224 string themeTag = HagsPages.GetThemeByNavigationTag(GetGlobalValue("Global:Page.Top.ID")); // gets the page ID at the top of the tree this page sits on. 1225 string siteNavigation = HagsPages.GetActiveAreas(); 1226 string htmlLang = GetGlobalValue("Global:Area.LongLang"); 1227 string siteAreaName = @GetString("DwAreaName"); 1228 string designBaseUrl = @GetString("Template:DesignBaseUrl"); 1229 var unixTimestamp = ((DateTimeOffset)DateTime.UtcNow).ToUnixTimeSeconds(); 1230 var jsTimestamp = inDev ? unixTimestamp : 0; 1231 string currentUser = @GetString("DW_extranet_AccessUserName"); 1232 string userGroups = @GetString("DW_extranet_Groups"); 1233 1234 var siteFirstPageId = GetString("DwAreaFirstPageID"); // for the Hags Logo url. Go to the WEBSITE home page 1235 var thisSiteName = HagsWeb.Library.Methods.Page.HagsPages.GetSiteCountryName(@GetGlobalValue("Global:Area.LongLang"), @GetGlobalValue("Global:Area.Name")); 1236 var websites = GetLoop("WebsiteLanguages"); 1237 string worldwideContactsLink = DWUtilities.GetPageByNavigationTag("worldwide-contacts", masterAreaId); 1238 1239 1240 1241 1242 1243 #line default 1244 #line hidden 1245 WriteLiteral("\r\n<!DOCTYPE html>\r\n<html"); 1246 1247 WriteLiteral(" class=\"no-js\""); 1248 1249 WriteAttribute("lang", Tuple.Create(" lang=\"", 2132), Tuple.Create("\"", 2148) 1250 1251 #line 40 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1252 , Tuple.Create(Tuple.Create("", 2139), Tuple.Create<System.Object, System.Int32>(htmlLang 1253 1254 #line default 1255 #line hidden 1256 , 2139), false) 1257 ); 1258 1259 WriteLiteral(">\r\n<head>\r\n <meta"); 1260 1261 WriteLiteral(" charset=\"utf-8\""); 1262 1263 WriteLiteral(">\r\n <meta"); 1264 1265 WriteLiteral(" name=\"viewport\""); 1266 1267 WriteLiteral(" content=\"width=device-width, initial-scale=1.0\""); 1268 1269 WriteLiteral(">\r\n <title>"); 1270 1271 1272 #line 44 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1273 Write(GetValue("Title")); 1274 1275 1276 #line default 1277 #line hidden 1278 WriteLiteral("</title>\r\n"); 1279 1280 1281 #line 45 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1282 Write(GetValue("MetaTags")); 1283 1284 1285 #line default 1286 #line hidden 1287 WriteLiteral("\r\n"); 1288 1289 1290 #line 46 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1291 Write(GetValue("CopyRightNotice")); 1292 1293 1294 #line default 1295 #line hidden 1296 WriteLiteral("\r\n\r\n\r\n <meta"); 1297 1298 WriteLiteral(" name=\"author\""); 1299 1300 WriteAttribute("content", Tuple.Create(" content=\"", 2383), Tuple.Create("\"", 2413) 1301 , Tuple.Create(Tuple.Create("", 2393), Tuple.Create("HAGS", 2393), true) 1302 1303 #line 49 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1304 , Tuple.Create(Tuple.Create(" ", 2397), Tuple.Create<System.Object, System.Int32>(siteAreaName 1305 1306 #line default 1307 #line hidden 1308 , 2398), false) 1309 ); 1310 1311 WriteLiteral(">\r\n <link"); 1312 1313 WriteLiteral(" rel=\"icon\""); 1314 1315 WriteAttribute("href", Tuple.Create(" href=\"", 2437), Tuple.Create("\"", 2482) 1316 1317 #line 50 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1318 , Tuple.Create(Tuple.Create("", 2444), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1319 1320 #line default 1321 #line hidden 1322 , 2444), false) 1323 , Tuple.Create(Tuple.Create("", 2460), Tuple.Create("assets/img/favicon.ico", 2460), true) 1324 ); 1325 1326 WriteLiteral(" sizes=\"32x32\""); 1327 1328 WriteLiteral(">\r\n <link"); 1329 1330 WriteLiteral(" rel=\"icon\""); 1331 1332 WriteAttribute("href", Tuple.Create(" href=\"", 2520), Tuple.Create("\"", 2562) 1333 1334 #line 51 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1335 , Tuple.Create(Tuple.Create("", 2527), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1336 1337 #line default 1338 #line hidden 1339 , 2527), false) 1340 , Tuple.Create(Tuple.Create("", 2543), Tuple.Create("assets/img/icon.svg", 2543), true) 1341 ); 1342 1343 WriteLiteral(" type=\"image/svg+xml\""); 1344 1345 WriteLiteral(">\r\n <link"); 1346 1347 WriteLiteral(" rel=\"apple-touch-icon\""); 1348 1349 WriteAttribute("href", Tuple.Create(" href=\"", 2619), Tuple.Create("\"", 2673) 1350 1351 #line 52 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1352 , Tuple.Create(Tuple.Create("", 2626), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1353 1354 #line default 1355 #line hidden 1356 , 2626), false) 1357 , Tuple.Create(Tuple.Create("", 2642), Tuple.Create("assets/img/apple-touch-icon.png", 2642), true) 1358 ); 1359 1360 WriteLiteral(">\r\n\r\n <script>(function (H) { H.className = H.className.replace(/\\bno-js\\b/, \'" + 1361 "js\') })(document.documentElement)</script>\r\n\r\n <link"); 1362 1363 WriteLiteral(" rel=\"preconnect\""); 1364 1365 WriteLiteral(" href=\"https://cdn.fonts.net\""); 1366 1367 WriteLiteral(">\r\n <link"); 1368 1369 WriteLiteral(" rel=\"stylesheet\""); 1370 1371 WriteAttribute("href", Tuple.Create(" href=\"", 2885), Tuple.Create("\"", 2940) 1372 1373 #line 57 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1374 , Tuple.Create(Tuple.Create("", 2892), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1375 1376 #line default 1377 #line hidden 1378 , 2892), false) 1379 , Tuple.Create(Tuple.Create("", 2908), Tuple.Create("assets/styles/monotype-redux.css", 2908), true) 1380 ); 1381 1382 WriteLiteral(">\r\n\r\n <link"); 1383 1384 WriteLiteral(" rel=\"stylesheet\""); 1385 1386 WriteAttribute("href", Tuple.Create(" href=\"", 2972), Tuple.Create("\"", 3024) 1387 1388 #line 59 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1389 , Tuple.Create(Tuple.Create("", 2979), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1390 1391 #line default 1392 #line hidden 1393 , 2979), false) 1394 , Tuple.Create(Tuple.Create("", 2995), Tuple.Create("assets/styles/reset.css?v=1.1", 2995), true) 1395 ); 1396 1397 WriteLiteral(">\r\n <link"); 1398 1399 WriteLiteral(" rel=\"stylesheet\""); 1400 1401 WriteAttribute("href", Tuple.Create(" href=\"", 3054), Tuple.Create("\"", 3117) 1402 1403 #line 60 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1404 , Tuple.Create(Tuple.Create("", 3061), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1405 1406 #line default 1407 #line hidden 1408 , 3061), false) 1409 , Tuple.Create(Tuple.Create("", 3077), Tuple.Create("assets/styles/core.css?ts=", 3077), true) 1410 1411 #line 60 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1412 , Tuple.Create(Tuple.Create("", 3103), Tuple.Create<System.Object, System.Int32>(unixTimestamp 1413 1414 #line default 1415 #line hidden 1416 , 3103), false) 1417 ); 1418 1419 WriteLiteral(">\r\n <link"); 1420 1421 WriteLiteral(" rel=\"stylesheet\""); 1422 1423 WriteAttribute("href", Tuple.Create(" href=\"", 3147), Tuple.Create("\"", 3214) 1424 1425 #line 61 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1426 , Tuple.Create(Tuple.Create("", 3154), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1427 1428 #line default 1429 #line hidden 1430 , 3154), false) 1431 , Tuple.Create(Tuple.Create("", 3170), Tuple.Create("assets/styles/nav-mega.css?ts=", 3170), true) 1432 1433 #line 61 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1434 , Tuple.Create(Tuple.Create("", 3200), Tuple.Create<System.Object, System.Int32>(unixTimestamp 1435 1436 #line default 1437 #line hidden 1438 , 3200), false) 1439 ); 1440 1441 WriteLiteral(">\r\n <link"); 1442 1443 WriteLiteral(" rel=\"stylesheet\""); 1444 1445 WriteAttribute("href", Tuple.Create(" href=\"", 3244), Tuple.Create("\"", 3308) 1446 1447 #line 62 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1448 , Tuple.Create(Tuple.Create("", 3251), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1449 1450 #line default 1451 #line hidden 1452 , 3251), false) 1453 , Tuple.Create(Tuple.Create("", 3267), Tuple.Create("assets/styles/forms.css?ts=", 3267), true) 1454 1455 #line 62 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1456 , Tuple.Create(Tuple.Create("", 3294), Tuple.Create<System.Object, System.Int32>(unixTimestamp 1457 1458 #line default 1459 #line hidden 1460 , 3294), false) 1461 ); 1462 1463 WriteLiteral(">\r\n <link"); 1464 1465 WriteLiteral(" rel=\"stylesheet\""); 1466 1467 WriteAttribute("href", Tuple.Create(" href=\"", 3338), Tuple.Create("\"", 3410) 1468 1469 #line 63 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1470 , Tuple.Create(Tuple.Create("", 3345), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1471 1472 #line default 1473 #line hidden 1474 , 3345), false) 1475 , Tuple.Create(Tuple.Create("", 3361), Tuple.Create("assets/styles/country-rules.css?ts=", 3361), true) 1476 1477 #line 63 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1478 , Tuple.Create(Tuple.Create("", 3396), Tuple.Create<System.Object, System.Int32>(unixTimestamp 1479 1480 #line default 1481 #line hidden 1482 , 3396), false) 1483 ); 1484 1485 WriteLiteral(">\r\n\r\n"); 1486 1487 1488 #line 65 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1489 1490 1491 #line default 1492 #line hidden 1493 1494 #line 65 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1495 if (!inDev) 1496 { 1497 1498 1499 #line default 1500 #line hidden 1501 WriteLiteral(" <script"); 1502 1503 WriteLiteral(" id=\"Cookiebot\""); 1504 1505 WriteLiteral(" src=\"https://consent.cookiebot.com/uc.js\""); 1506 1507 WriteLiteral(" data-cbid=\"89c7e0fa-fa61-446d-9c96-866489bcea3c\""); 1508 1509 WriteLiteral(" data-blockingmode=\"auto\""); 1510 1511 WriteLiteral(" type=\"text/javascript\""); 1512 1513 WriteLiteral("></script>\r\n"); 1514 1515 1516 #line 68 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1517 } 1518 1519 1520 #line default 1521 #line hidden 1522 WriteLiteral("\r\n"); 1523 1524 1525 #line 70 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1526 1527 1528 #line default 1529 #line hidden 1530 1531 #line 70 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1532 foreach (var language in GetLoop("Languages")) 1533 { 1534 string pageid = language.GetString("PageID"); 1535 string url = string.Empty; 1536 string productId = System.Web.HttpContext.Current.Request.QueryString.Get("productid"); 1537 if (string.IsNullOrEmpty(productId)) 1538 { 1539 url = @GetGlobalValue("Global:Request.Scheme") + "://" + language.GetString("PrimaryDomain"); 1540 url = url + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("default.aspx?id=" + pageid); 1541 } 1542 else 1543 { 1544 string productSystemUrl = "default.aspx?id=" + pageid + "&ProductID=" + productId; 1545 string productUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(productSystemUrl); 1546 if (!string.IsNullOrEmpty(productUrl)) 1547 { 1548 url = @GetGlobalValue("Global:Request.Scheme") + "://" + language.GetString("PrimaryDomain") + productUrl; 1549 } 1550 } 1551 if (!string.IsNullOrEmpty(url)) 1552 { 1553 1554 1555 #line default 1556 #line hidden 1557 WriteLiteral(" <link"); 1558 1559 WriteLiteral(" rel=\"alternate\""); 1560 1561 WriteAttribute("href", Tuple.Create(" href=\'", 4620), Tuple.Create("\'", 4631) 1562 1563 #line 91 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1564 , Tuple.Create(Tuple.Create("", 4627), Tuple.Create<System.Object, System.Int32>(url 1565 1566 #line default 1567 #line hidden 1568 , 4627), false) 1569 ); 1570 1571 WriteAttribute("hreflang", Tuple.Create(" hreflang=\'", 4632), Tuple.Create("\'", 4673) 1572 1573 #line 91 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1574 , Tuple.Create(Tuple.Create("", 4643), Tuple.Create<System.Object, System.Int32>(language.GetString("Culture") 1575 1576 #line default 1577 #line hidden 1578 , 4643), false) 1579 ); 1580 1581 WriteLiteral(">\r\n"); 1582 1583 1584 #line 92 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1585 } 1586 } 1587 1588 1589 #line default 1590 #line hidden 1591 WriteLiteral("\r\n "); 1592 1593 WriteLiteral("\r\n\r\n "); 1594 1595 WriteLiteral("\r\n "); 1596 1597 WriteLiteral("\r\n\r\n\r\n\r\n "); 1598 1599 WriteLiteral("\r\n "); 1600 1601 WriteLiteral("\r\n\r\n <script"); 1602 1603 WriteLiteral(" type=\"text/javascript\""); 1604 1605 WriteAttribute("src", Tuple.Create(" src=\"", 5121), Tuple.Create("\"", 5176) 1606 1607 #line 105 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1608 , Tuple.Create(Tuple.Create("", 5127), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1609 1610 #line default 1611 #line hidden 1612 , 5127), false) 1613 , Tuple.Create(Tuple.Create("", 5143), Tuple.Create("assets/js/libraries/jquery.min.js", 5143), true) 1614 ); 1615 1616 WriteLiteral(" cookieconsent=\"ignore\""); 1617 1618 WriteLiteral("></script>\r\n <script"); 1619 1620 WriteLiteral(" type=\"text/javascript\""); 1621 1622 WriteAttribute("src", Tuple.Create(" src=\"", 5246), Tuple.Create("\"", 5321) 1623 1624 #line 106 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1625 , Tuple.Create(Tuple.Create("", 5252), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1626 1627 #line default 1628 #line hidden 1629 , 5252), false) 1630 , Tuple.Create(Tuple.Create("", 5268), Tuple.Create("assets/js/libraries/validation/jquery.validate.min.js", 5268), true) 1631 ); 1632 1633 WriteLiteral(" cookieconsent=\"ignore\""); 1634 1635 WriteLiteral("></script>\r\n <script"); 1636 1637 WriteLiteral(" type=\"text/javascript\""); 1638 1639 WriteAttribute("src", Tuple.Create(" src=\"", 5391), Tuple.Create("\"", 5469) 1640 1641 #line 107 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1642 , Tuple.Create(Tuple.Create("", 5397), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1643 1644 #line default 1645 #line hidden 1646 , 5397), false) 1647 , Tuple.Create(Tuple.Create("", 5413), Tuple.Create("assets/js/libraries/validation/additional-methods.min.js", 5413), true) 1648 ); 1649 1650 WriteLiteral(" cookieconsent=\"ignore\""); 1651 1652 WriteLiteral("></script>\r\n <script"); 1653 1654 WriteLiteral(" type=\"text/javascript\""); 1655 1656 WriteAttribute("src", Tuple.Create(" src=\"", 5539), Tuple.Create("\"", 5619) 1657 1658 #line 108 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1659 , Tuple.Create(Tuple.Create("", 5545), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1660 1661 #line default 1662 #line hidden 1663 , 5545), false) 1664 , Tuple.Create(Tuple.Create("", 5561), Tuple.Create("assets/js/functions/hags-global.js?v=1.4.5&ts=", 5561), true) 1665 1666 #line 108 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1667 , Tuple.Create(Tuple.Create("", 5607), Tuple.Create<System.Object, System.Int32>(jsTimestamp 1668 1669 #line default 1670 #line hidden 1671 , 5607), false) 1672 ); 1673 1674 WriteLiteral(" cookieconsent=\"ignore\""); 1675 1676 WriteLiteral("></script>\r\n "); 1677 1678 WriteLiteral("\r\n\r\n "); 1679 1680 WriteLiteral("\r\n <script"); 1681 1682 WriteAttribute("src", Tuple.Create(" src=\"", 5835), Tuple.Create("\"", 5893) 1683 1684 #line 112 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1685 , Tuple.Create(Tuple.Create("", 5841), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1686 1687 #line default 1688 #line hidden 1689 , 5841), false) 1690 , Tuple.Create(Tuple.Create("", 5857), Tuple.Create("assets/js/libraries/htmx/htmx.min.js", 5857), true) 1691 ); 1692 1693 WriteLiteral(" cookieconsent=\"ignore\""); 1694 1695 WriteLiteral("></script>\r\n\r\n <script"); 1696 1697 WriteLiteral(" type=\"text/javascript\""); 1698 1699 WriteAttribute("src", Tuple.Create(" src=\"", 5965), Tuple.Create("\"", 6039) 1700 1701 #line 114 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1702 , Tuple.Create(Tuple.Create("", 5971), Tuple.Create<System.Object, System.Int32>(designBaseUrl 1703 1704 #line default 1705 #line hidden 1706 , 5971), false) 1707 , Tuple.Create(Tuple.Create("", 5987), Tuple.Create("assets/js/functions/h24.js?v=1.4.5&ts=", 5987), true) 1708 1709 #line 114 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1710 , Tuple.Create(Tuple.Create("", 6025), Tuple.Create<System.Object, System.Int32>(unixTimestamp 1711 1712 #line default 1713 #line hidden 1714 , 6025), false) 1715 ); 1716 1717 WriteLiteral(" cookieconsent=\"ignore\""); 1718 1719 WriteLiteral("></script>\r\n\r\n\r\n "); 1720 1721 WriteLiteral("\r\n"); 1722 1723 WriteLiteral(" "); 1724 1725 1726 #line 118 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1727 Write(RenderSnippet("productScripts")); 1728 1729 1730 #line default 1731 #line hidden 1732 WriteLiteral("\r\n\r\n "); 1733 1734 WriteLiteral("\r\n"); 1735 1736 WriteLiteral(" "); 1737 1738 1739 #line 121 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1740 Write(RenderSnippet("caseStudyScripts")); 1741 1742 1743 #line default 1744 #line hidden 1745 WriteLiteral("\r\n\r\n\r\n "); 1746 1747 WriteLiteral("\r\n <!--IncludeFile(\"Includes/SharpSpringCode.cshtml\")-->\r\n <!--IncludeFile(" + 1748 "\"Includes/TrailHub_DenmarkCode.cshtml\")-->\r\n <!-- Start of Sleeknote signup a" + 1749 "nd lead generation tool - www.sleeknote.com -->\r\n"); 1750 1751 1752 #line 128 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1753 1754 1755 #line default 1756 #line hidden 1757 1758 #line 128 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1759 if (!inDev) 1760 { 1761 1762 1763 #line default 1764 #line hidden 1765 WriteLiteral(" <script"); 1766 1767 WriteLiteral(" id=\"sleeknoteScript\""); 1768 1769 WriteLiteral(" type=\"text/javascript\""); 1770 1771 WriteLiteral(@"> 1772 (function () { 1773 var sleeknoteScriptTag = document.createElement(""script""); 1774 sleeknoteScriptTag.type = ""text/javascript""; 1775 sleeknoteScriptTag.charset = ""utf-8""; 1776 sleeknoteScriptTag.src = (""//sleeknotecustomerscripts.sleeknote.com/60385.js""); 1777 var s = document.getElementById(""sleeknoteScript""); 1778 s.parentNode.insertBefore(sleeknoteScriptTag, s); 1779 })(); 1780 </script> 1781 "); 1782 1783 1784 #line 140 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1785 1786 } 1787 1788 1789 #line default 1790 #line hidden 1791 WriteLiteral("\r\n\r\n"); 1792 1793 1794 #line 144 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1795 1796 1797 #line default 1798 #line hidden 1799 1800 #line 146 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1801 if (!inDev) 1802 { 1803 1804 1805 #line default 1806 #line hidden 1807 WriteLiteral(" <meta"); 1808 1809 WriteLiteral(" name=\"facebook-domain-verification\""); 1810 1811 WriteLiteral(" content=\"8vnuupfwjjw7l4g2t44cuzv5c17fa2\""); 1812 1813 WriteLiteral(">\r\n"); 1814 1815 WriteLiteral(" <meta"); 1816 1817 WriteLiteral(" name=\"p:domain_verify\""); 1818 1819 WriteLiteral(" content=\"e984d55d650d51a77b5bd78fce401aee\""); 1820 1821 WriteLiteral(">\r\n"); 1822 1823 1824 #line 150 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1825 1826 string verificationCode = ""; 1827 switch (masterAreaId) 1828 { 1829 case 1: 1830 1831 1832 #line default 1833 #line hidden 1834 WriteLiteral(" <!-- Google Analytics Property for Global -->\r\n"); 1835 1836 WriteLiteral(" <meta"); 1837 1838 WriteLiteral(" name=\"google-site-verification\""); 1839 1840 WriteLiteral(" content=\"SU7OrN2pJAoaHy4QUbJqKRyiRK_pJK_mydVX9HnbAjE\""); 1841 1842 WriteLiteral(">\r\n"); 1843 1844 1845 #line 157 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1846 break; 1847 case 2: 1848 1849 1850 #line default 1851 #line hidden 1852 WriteLiteral(" <!-- Google Analytics Property for Sweden -->\r\n"); 1853 1854 WriteLiteral(" <meta"); 1855 1856 WriteLiteral(" name=\"google-site-verification\""); 1857 1858 WriteLiteral(" content=\"WMHOYHSUksAhokWvc_pl1xi2eUEIqlSAmqSuPqBuIhw\""); 1859 1860 WriteLiteral(">\r\n"); 1861 1862 1863 #line 161 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1864 break; 1865 case 3: 1866 1867 1868 #line default 1869 #line hidden 1870 WriteLiteral(" <!-- Google Analytics Property for Germany -->\r\n"); 1871 1872 WriteLiteral(" <meta"); 1873 1874 WriteLiteral(" name=\"google-site-verification\""); 1875 1876 WriteLiteral(" content=\"2FnagwVri1SLEk0f1-cNAMIsqoelzEf6qa64iTOo6A4\""); 1877 1878 WriteLiteral(">\r\n"); 1879 1880 1881 #line 165 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1882 break; 1883 case 4: 1884 1885 1886 #line default 1887 #line hidden 1888 WriteLiteral(" <!-- Google Analytics Property for Denmark -->\r\n"); 1889 1890 WriteLiteral(" <meta"); 1891 1892 WriteLiteral(" name=\"google-site-verification\""); 1893 1894 WriteLiteral(" content=\"iTdN9SsW-DWo1nPaqZ2_W6c1lKr1KdpIE-9PIa7efD8\""); 1895 1896 WriteLiteral(">\r\n"); 1897 1898 1899 #line 169 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1900 break; 1901 case 5: 1902 1903 1904 #line default 1905 #line hidden 1906 WriteLiteral(" <!-- Google Analytics Property for France -->\r\n"); 1907 1908 WriteLiteral(" <meta"); 1909 1910 WriteLiteral(" name=\"google-site-verification\""); 1911 1912 WriteLiteral(" content=\"q7sWMD42DhdNcVgQjRvpUnHq6UWvgFfxxN7SWLTjDBs\""); 1913 1914 WriteLiteral(">\r\n"); 1915 1916 1917 #line 173 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1918 break; 1919 case 6: 1920 1921 1922 #line default 1923 #line hidden 1924 WriteLiteral(" <!-- Google Analytics Property for Spain -->\r\n"); 1925 1926 WriteLiteral(" <meta"); 1927 1928 WriteLiteral(" name=\"google-site-verification\""); 1929 1930 WriteLiteral(" content=\"5l8EU56ZLDtGLgFsyPizPWpK1lt_DAqhcYsgiP_wZ2w\""); 1931 1932 WriteLiteral(">\r\n"); 1933 1934 1935 #line 177 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1936 break; 1937 case 7: 1938 1939 1940 #line default 1941 #line hidden 1942 WriteLiteral(" <!-- Google Analytics Property for UK -->\r\n"); 1943 1944 WriteLiteral(" <meta"); 1945 1946 WriteLiteral(" name=\"google-site-verification\""); 1947 1948 WriteLiteral(" content=\"VWJFZapvDhxv8eu8eMl66KkAAArEyIG3pa8ZffeAKrg\""); 1949 1950 WriteLiteral(">\r\n"); 1951 1952 1953 #line 181 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 1954 break; 1955 } 1956 1957 1958 1959 #line default 1960 #line hidden 1961 WriteLiteral(" <!-- Google Tag Manager -->\r\n"); 1962 1963 WriteLiteral(" <script>\r\n window.dataLayer = window.dataLayer || [];\r\n </script>\r\n" + 1964 ""); 1965 1966 WriteLiteral(" <script"); 1967 1968 WriteLiteral(" type=\"text/javascript\""); 1969 1970 WriteLiteral(@"> 1971 (function (w, d, s, l, i) { 1972 w[l] = w[l] || []; 1973 w[l].push({ 1974 'gtm.start': 1975 new Date().getTime(), 1976 event: 'gtm.js' 1977 }); 1978 var f = d.getElementsByTagName(s)[0], 1979 j = d.createElement(s), 1980 dl = l != 'dataLayer' ? '&l=' + l : ''; 1981 j.async = true; 1982 j.src = 1983 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; 1984 f.parentNode.insertBefore(j, f); 1985 })(window, document, 'script', 'dataLayer', 'GTM-MCRWZS'); 1986 </script> 1987 "); 1988 1989 WriteLiteral(" <!-- End Google Tag Manager -->\r\n"); 1990 1991 WriteLiteral(" <!-- Facebook Pixel Code -->\r\n"); 1992 1993 WriteLiteral(" <script"); 1994 1995 WriteLiteral(" type=\"text/javascript\""); 1996 1997 WriteLiteral(@"> 1998 !function (f, b, e, v, n, t, s) { 1999 if (f.fbq) return; 2000 n = f.fbq = function () { 2001 n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) 2002 }; 2003 if (!f._fbq) f._fbq = n; 2004 n.push = n; 2005 n.loaded = !0; 2006 n.version = '2.0'; 2007 n.queue = []; 2008 t = b.createElement(e); 2009 t.async = !0; 2010 t.src = v; 2011 s = b.getElementsByTagName(e)[0]; 2012 s.parentNode.insertBefore(t, s) 2013 }(window, 2014 document, 2015 'script', 2016 'https://connect.facebook.net/en_US/fbevents.js'); 2017 fbq('init', '271101660030700'); 2018 fbq('track', 'PageView'); 2019 </script> 2020 "); 2021 2022 WriteLiteral(" <!-- End Facebook Pixel Code -->\r\n"); 2023 2024 2025 #line 231 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2026 } 2027 2028 2029 #line default 2030 #line hidden 2031 WriteLiteral("\r\n <script"); 2032 2033 WriteLiteral(" type=\"text/javascript\""); 2034 2035 WriteLiteral(" src=\"https://cdn.weglot.com/weglot.min.js\""); 2036 2037 WriteLiteral("></script>\r\n <script>\r\n Weglot.initialize({\r\n api_key: \'wg_9" + 2038 "9b6e7269c4b828ebd027c6d488b55500\'\r\n });\r\n </script>\r\n\r\n"); 2039 2040 2041 #line 240 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2042 Write(GetValue("Stylesheets")); 2043 2044 2045 #line default 2046 #line hidden 2047 WriteLiteral("\r\n"); 2048 2049 2050 #line 241 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2051 Write(GetValue("Javascripts")); 2052 2053 2054 #line default 2055 #line hidden 2056 WriteLiteral("\r\n</head>\r\n\r\n<body>\r\n"); 2057 2058 2059 #line 245 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2060 2061 2062 #line default 2063 #line hidden 2064 2065 #line 245 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2066 if (!inDev) 2067 { 2068 2069 2070 #line default 2071 #line hidden 2072 WriteLiteral(" <noscript>\r\n <!-- Google Tag Manager (noscript) -->\r\n " + 2073 " <iframe"); 2074 2075 WriteLiteral(" src=\"https://www.googletagmanager.com/ns.html?id=GTM-MCRWZS\""); 2076 2077 WriteLiteral(" height=\"0\""); 2078 2079 WriteLiteral(" width=\"0\""); 2080 2081 WriteLiteral(" style=\"display:none;visibility:hidden\""); 2082 2083 WriteLiteral("></iframe>\r\n <!-- End Google Tag Manager (noscript) -->\r\n <" + 2084 "!-- Facebook Pixel Code -->\r\n <img"); 2085 2086 WriteLiteral(" height=\"1\""); 2087 2088 WriteLiteral(" width=\"1\""); 2089 2090 WriteLiteral(" style=\"display:none\""); 2091 2092 WriteLiteral(" src=\"https://www.facebook.com/tr?id=271101660030700&ev=PageView&noscript=1\""); 2093 2094 WriteLiteral(">\r\n </noscript>\r\n"); 2095 2096 2097 #line 254 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2098 } 2099 2100 2101 #line default 2102 #line hidden 2103 2104 #line 255 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2105 2106 2107 2108 #line default 2109 #line hidden 2110 2111 #line 257 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2112 2113 2114 2115 #line default 2116 #line hidden 2117 2118 #line 258 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2119 2120 2121 2122 #line default 2123 #line hidden 2124 WriteLiteral("\r\n"); 2125 2126 2127 #line 260 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2128 Write(SnippetStart("headerClass")); 2129 2130 2131 #line default 2132 #line hidden 2133 2134 #line 260 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2135 Write(""); 2136 2137 2138 #line default 2139 #line hidden 2140 2141 #line 260 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2142 Write(SnippetEnd("headerClass")); 2143 2144 2145 #line default 2146 #line hidden 2147 WriteLiteral("\r\n\r\n<header"); 2148 2149 WriteLiteral(" class=\"header\""); 2150 2151 WriteLiteral(" data-variant=\'"); 2152 2153 2154 #line 262 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2155 Write(RenderSnippet("headerClass")); 2156 2157 2158 #line default 2159 #line hidden 2160 WriteLiteral("\'"); 2161 2162 WriteLiteral(">\r\n\r\n <div"); 2163 2164 WriteLiteral(" class=\"header__wrapper\""); 2165 2166 WriteLiteral(">\r\n\r\n <div"); 2167 2168 WriteLiteral(" class=\"header__global-nav\""); 2169 2170 WriteLiteral(">\r\n\r\n <div"); 2171 2172 WriteLiteral(" class=\"header-logo\""); 2173 2174 WriteLiteral(" itemscope=\"\""); 2175 2176 WriteLiteral(" itemtype=\"http://schema.org/Organization\""); 2177 2178 WriteLiteral(">\r\n <a"); 2179 2180 WriteAttribute("href", Tuple.Create(" href=\"", 12177), Tuple.Create("\"", 12216) 2181 , Tuple.Create(Tuple.Create("", 12184), Tuple.Create("Default.aspx?ID=", 12184), true) 2182 2183 #line 269 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2184 , Tuple.Create(Tuple.Create("", 12200), Tuple.Create<System.Object, System.Int32>(siteFirstPageId 2185 2186 #line default 2187 #line hidden 2188 , 12200), false) 2189 ); 2190 2191 WriteLiteral(" itemprop=\"url\""); 2192 2193 WriteLiteral(">\r\n <svg"); 2194 2195 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2196 2197 WriteLiteral(" viewbox=\"0 0 362 81\""); 2198 2199 WriteLiteral(" class=\"hags-logo\""); 2200 2201 WriteLiteral("><path"); 2202 2203 WriteLiteral(" fill=\"currentColor\""); 2204 2205 WriteLiteral(" fill-rule=\"evenodd\""); 2206 2207 WriteLiteral(" d=\"M311.22.5c9.399 0 16.725 3.168 18.555 3.168.862 0 1.596-.243 2.697-1.338h2.55" + 2208 "8l2.318 19.692h-4.876c-2.697-9.846-10.513-16.292-19.911-16.292-6.837 0-11.97 3.6" + 2209 "5-11.97 8.39 0 11.187 20.279 13.258 33.958 26.873 5.004 4.986 6.951 10.214 6.951" + 2210 " 16.05 0 12.648-11.47 22.618-26.006 22.618-9.77 0-18.687-3.888-20.887-3.888-1.1 " + 2211 "0-1.952.611-2.562 1.947h-3.178L285.82 55.59v-.002h4.757c4.029 12.031 11.236 18.2" + 2212 "37 20.88 18.237 8.059 0 14.17-5.11 14.17-11.917 0-18.122-39.204-17.509-39.204-41" + 2213 ".586C286.423 8.645 296.681.5 311.22.5Zm-75.498 0c7.426 0 13.874 1.484 18.765 2.7" + 2214 "l.801.2c3.013.755 5.377 1.361 6.941 1.361 1.825 0 2.814-.492 3.66-1.586h3.055v22" + 2215 ".253h-4.89c-3.29-12.4-12.575-19.7-25.28-19.7-17.337 0-29.31 13.622-29.31 33.318 " + 2216 "0 19.946 12.584 34.778 29.56 34.778 4.638 0 9.77-1.215 13.068-3.157V53.883c0-6.0" + 2217 "78-2.561-7.419-15.022-7.662v-4.617h40.55v4.617h-.001c-6.474.124-8.675 2.068-8.67" + 2218 "5 7.662v18.12c-8.795 4.011-21.364 7.656-31.877 7.656-30.898 0-45.805-17.146-45.8" + 2219 "05-40.488C191.264 16.916 209.71.5 235.722.5ZM39.705 2.33v4.74h-1.712c-6.351 0-9." + 2220 "526 2.066-9.526 8.878v19.086h40.301V16.31c0-6.808-2.685-9.24-9.77-9.24h-1.1V2.33" + 2221 "h39.083v4.74h-2.203c-6.223 0-9.156 2.308-9.156 8.878v48.153c0 6.318 2.322 9.116 " + 2222 "9.403 9.116h1.956v4.74H57.899v-4.742h1.708c6.476 0 9.161-2.796 9.161-9.364V42.21" + 2223 "h-40.3V64.1c0 6.445 2.565 9.117 9.4 9.117h1.837v4.74H.5v-4.742h2.073c6.235 0 9.0" + 2224 "4-2.796 9.04-8.873V15.948c0-6.08-2.685-8.878-9.156-8.878H.5V2.33h39.205ZM154.04." + 2225 "5l24.433 61.772c3.175 8.026 5.857 10.452 12.208 10.943v4.741h-39.693v-4.741h4.27" + 2226 "1c7.451 0 8.551-3.282 6.11-9.238l-5.741-14.107h-26.752l.005.003-5.125 14.226c-2." + 2227 "2 6.2-2.07 9.116 9.65 9.116h1.586v4.741h-32.37v-4.741h1.837c5.858 0 8.912-2.67 1" + 2228 "1.966-11.182L137.313 4.03 135.967.5h18.073ZM141.59 14.733l-10.26 28.448h21.492L1" + 2229 "41.59 14.733ZM352.674 2.62c1.114 0 2.164.213 3.148.64a8.412 8.412 0 0 1 2.58 1.7" + 2230 "26 8.042 8.042 0 0 1 1.743 2.562c.427.984.64 2.034.64 3.148a7.702 7.702 0 0 1-.6" + 2231 "4 3.131 8.097 8.097 0 0 1-1.743 2.544 8.158 8.158 0 0 1-2.58 1.708 8.02 8.02 0 0" + 2232 " 1-3.148.623 8.02 8.02 0 0 1-3.15-.623 8.158 8.158 0 0 1-2.579-1.708 8.097 8.097" + 2233 " 0 0 1-1.743-2.544 7.702 7.702 0 0 1-.64-3.13c0-1.115.213-2.165.64-3.15a8.042 8." + 2234 "042 0 0 1 1.743-2.561 8.412 8.412 0 0 1 2.58-1.726 7.827 7.827 0 0 1 3.149-.64Zm" + 2235 "0 1.245c-.95 0-1.839.178-2.669.534a6.854 6.854 0 0 0-2.17 1.459 6.854 6.854 0 0 " + 2236 "0-1.459 2.17 6.702 6.702 0 0 0-.533 2.668c0 .925.177 1.803.533 2.633a7.07 7.07 0" + 2237 " 0 0 1.459 2.188 6.71 6.71 0 0 0 2.17 1.477c.83.356 1.72.534 2.669.534.948 0 1.8" + 2238 "38-.178 2.668-.534a6.71 6.71 0 0 0 2.17-1.477 7.07 7.07 0 0 0 1.46-2.188c.355-.8" + 2239 "3.533-1.708.533-2.633 0-.948-.178-1.838-.534-2.668a6.854 6.854 0 0 0-1.459-2.17 " + 2240 "6.854 6.854 0 0 0-2.17-1.46 6.702 6.702 0 0 0-2.668-.533Zm.035 2.242.318.009c.31" + 2241 "6.017.625.062.928.133a3.3 3.3 0 0 1 1.085.463c.32.213.575.486.765.818.19.332.284" + 2242 ".747.284 1.245 0 .664-.19 1.204-.569 1.619-.38.415-.89.694-1.53.836l2.455 3.985h" + 2243 "-1.992l-2.135-3.807h-1.174v3.807h-1.637V6.107h3.202Zm-.07 1.387h-1.495v2.598h1.3" + 2244 "16a3.48 3.48 0 0 0 1.352-.267c.427-.178.64-.54.64-1.085 0-.499-.195-.83-.586-.99" + 2245 "7-.392-.166-.801-.249-1.228-.249Z\""); 2246 2247 WriteLiteral("></path></svg>\r\n </a>\r\n </div>\r\n\r\n\r\n <div"); 2248 2249 WriteLiteral(" class=\"header__actions\""); 2250 2251 WriteLiteral(" data-username=\""); 2252 2253 2254 #line 275 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2255 Write(currentUser); 2256 2257 2258 #line default 2259 #line hidden 2260 WriteLiteral("\""); 2261 2262 WriteLiteral(">\r\n\r\n <ul"); 2263 2264 WriteLiteral(" role=\"list\""); 2265 2266 WriteLiteral(" class=\"actions-list\""); 2267 2268 WriteLiteral(">\r\n\r\n <li"); 2269 2270 WriteLiteral(" class=\"actions-list__item\""); 2271 2272 WriteLiteral(">\r\n <button"); 2273 2274 WriteLiteral(" class=\"header__action-btn js-action-btn\""); 2275 2276 WriteLiteral(" data-target=\"search-panel\""); 2277 2278 WriteLiteral(">\r\n <span"); 2279 2280 WriteLiteral(" class=\"visually-hidden\""); 2281 2282 WriteLiteral(">Search</span>\r\n <svg"); 2283 2284 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2285 2286 WriteLiteral(" viewbox=\"0 0 212 212\""); 2287 2288 WriteLiteral(" class=\"actions-list__icon\""); 2289 2290 WriteLiteral("><path"); 2291 2292 WriteLiteral(" fill=\"currentColor\""); 2293 2294 WriteLiteral(" fill-rule=\"nonzero\""); 2295 2296 WriteLiteral(@" d=""M57.43 124.386a69.002 69.002 0 0 0 41.078 19.062l1.126 65.068 16.64-.293-1.126-65.068c32.015-4.457 56.718-30.428 59.57-62.625 2.85-32.197-16.906-62.091-47.641-72.086-30.735-9.994-64.306 2.559-80.952 30.27-16.646 27.71-11.958 63.24 11.305 85.672Zm84.54-87.151c20.857 20.141 21.437 53.377 1.295 74.235-20.141 20.857-53.377 21.437-74.235 1.295-20.857-20.141-21.437-53.377-1.295-74.235 20.141-20.857 53.377-21.437 74.235-1.295Z"""); 2297 2298 WriteLiteral("></path></svg>\r\n </button>\r\n </li>\r\n\r\n " + 2299 " <li"); 2300 2301 WriteLiteral(" class=\"actions-list__item\""); 2302 2303 WriteLiteral(">\r\n <button"); 2304 2305 WriteLiteral(" class=\"header__action-btn js-action-btn\""); 2306 2307 WriteLiteral(" data-target=\"country-select-panel\""); 2308 2309 WriteLiteral(">\r\n <span"); 2310 2311 WriteLiteral(" class=\"visually-hidden\""); 2312 2313 WriteLiteral(">Choose Location</span>\r\n <svg"); 2314 2315 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2316 2317 WriteLiteral(" viewbox=\"0 0 212 212\""); 2318 2319 WriteLiteral(" class=\"actions-list__icon\""); 2320 2321 WriteLiteral("><g"); 2322 2323 WriteLiteral(" fill=\"currentColor\""); 2324 2325 WriteLiteral(" fill-rule=\"nonzero\""); 2326 2327 WriteLiteral("><path"); 2328 2329 WriteLiteral(@" d=""M106 3C64.446 3 32 34.472 32 74.528c0 8.87 3.415 26.608 9.108 39.483 18.5 42.63 58.915 90.983 60.623 92.986 1.138 1.43 2.561 2.003 4.269 2.003 1.708 0 3.13-.858 4.27-2.003 1.707-2.003 42.122-50.355 60.622-92.986C176.585 101.136 180 83.397 180 74.528 180 34.472 147.554 3 106 3Zm54.362 106.433C146.13 142.336 117.1 180.39 106 194.123c-11.1-13.734-40.13-51.787-54.362-84.69-5.123-11.158-8.253-27.18-8.253-34.905 0-33.761 27.607-60.084 62.615-60.084s62.615 26.323 62.615 60.084c0 7.725-3.13 23.747-8.253 34.905Z"""); 2330 2331 WriteLiteral("></path><path"); 2332 2333 WriteLiteral(@" d=""M106 37.333c-21.915 0-39.846 18.025-39.846 40.056 0 22.03 17.93 40.055 39.846 40.055 21.915 0 39.846-18.025 39.846-40.055S127.916 37.333 106 37.333ZM106 106c-15.654 0-28.462-12.875-28.462-28.611S90.346 48.778 106 48.778s28.462 12.875 28.462 28.61C134.462 93.126 121.654 106 106 106Z"""); 2334 2335 WriteLiteral("></path></g></svg>\r\n </button>\r\n </li>\r" + 2336 "\n \r\n <li"); 2337 2338 WriteLiteral(" class=\"actions-list__item\""); 2339 2340 WriteLiteral(">\r\n <button"); 2341 2342 WriteLiteral(" class=\"header__action-btn js-action-btn\""); 2343 2344 WriteLiteral(" data-target=\"collection-panel\""); 2345 2346 WriteLiteral(">\r\n <span"); 2347 2348 WriteLiteral(" class=\"visually-hidden\""); 2349 2350 WriteLiteral(">Product Collections</span>\r\n <svg"); 2351 2352 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2353 2354 WriteLiteral(" viewbox=\"0 0 212 212\""); 2355 2356 WriteLiteral(" class=\"actions-list__icon\""); 2357 2358 WriteLiteral("><path"); 2359 2360 WriteLiteral(" fill=\"currentColor\""); 2361 2362 WriteLiteral(" fill-rule=\"nonzero\""); 2363 2364 WriteLiteral(@" d=""M183.337 75.733c-.856-10.588-9.716-18.735-20.325-18.67h-20.475V39.663A36.668 36.668 0 0 0 124.24 7.914a36.552 36.552 0 0 0-36.611 0 36.667 36.667 0 0 0-18.297 31.748v17.402H48.857c-10.6-.047-19.45 8.09-20.307 18.669l-9.474 111.102a20.462 20.462 0 0 0 5.277 15.557A20.368 20.368 0 0 0 39.373 209h133.244a20.369 20.369 0 0 0 15.02-6.608 20.433 20.433 0 0 0 5.287-15.557l-9.587-111.102Zm-101.6-35.968c0-13.385 10.832-24.234 24.196-24.234 13.363 0 24.196 10.85 24.196 24.234v17.402H81.736V39.765Zm96.788 154.231a7.923 7.923 0 0 1-5.882 2.48H39.253a7.94 7.94 0 0 1-5.883-2.582 7.994 7.994 0 0 1-2.066-6.087l9.577-111.102h.009a7.948 7.948 0 0 1 7.966-7.215H69.36v15.78l-.01.01a6.209 6.209 0 0 0 6.208 6.208 6.209 6.209 0 0 0 6.208-6.208V69.49h48.393v15.79a6.2 6.2 0 0 0 6.198 6.208 6.203 6.203 0 0 0 6.208-6.208V69.49h20.446a7.958 7.958 0 0 1 7.948 7.308l9.576 111.103a7.935 7.935 0 0 1-2.038 6.095h.029Z"""); 2365 2366 WriteLiteral("></path></svg>\r\n </button>\r\n </li>\r\n\r\n " + 2367 " <li"); 2368 2369 WriteLiteral(" class=\"actions-list__item\""); 2370 2371 WriteLiteral(">\r\n <button"); 2372 2373 WriteLiteral(" class=\"header__action-btn js-action-btn\""); 2374 2375 WriteLiteral(" data-target=\"hags-connect-panel\""); 2376 2377 WriteLiteral(">\r\n <span"); 2378 2379 WriteLiteral(" class=\"visually-hidden\""); 2380 2381 WriteLiteral(">HAGS Connect</span>\r\n <svg"); 2382 2383 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2384 2385 WriteLiteral(" viewbox=\"0 0 212 212\""); 2386 2387 WriteLiteral(" class=\"actions-list__icon\""); 2388 2389 WriteLiteral("><path"); 2390 2391 WriteLiteral(" fill=\"currentColor\""); 2392 2393 WriteLiteral(" fill-rule=\"evenodd\""); 2394 2395 WriteLiteral(@" d=""M149.316 21.1C137.27 9.035 122.73 3 105.693 3 88.657 3 74.116 9.034 62.069 21.1 50.023 33.169 44 47.735 44 64.8c0 21.725 8.676 38.55 26.026 50.477l-12.248 85.885c-.267 1.877.167 3.574 1.302 5.091 1.136 1.517 2.641 2.41 4.515 2.678a7.13 7.13 0 0 0 .97.069h82.256c1.893 0 3.508-.67 4.847-2.011 1.339-1.341 2.008-2.96 2.008-4.856a6.78 6.78 0 0 0-.069-.97l-12.248-85.886c17.351-11.926 26.026-28.752 26.026-50.477 0-17.066-6.023-31.632-18.069-43.7Zm-10.398 174.167-11.753-82.409a6.73 6.73 0 0 1 .595-3.916 6.713 6.713 0 0 1 2.654-2.936c15.508-9.36 23.262-23.094 23.262-41.206 0-13.273-4.685-24.603-14.054-33.988-9.37-9.386-20.68-14.079-33.93-14.079s-24.56 4.693-33.928 14.079c-9.37 9.385-14.055 20.715-14.055 33.988 0 18.112 7.755 31.847 23.263 41.206a6.713 6.713 0 0 1 2.654 2.936 6.73 6.73 0 0 1 .594 3.916l-11.752 82.409h66.45Z"""); 2396 2397 WriteLiteral("></path></svg>\r\n </button>\r\n </li>\r\n\r\n " + 2398 " <li"); 2399 2400 WriteLiteral(" class=\"actions-list__item\""); 2401 2402 WriteLiteral(" id=\"menu-panel-icon\""); 2403 2404 WriteLiteral(">\r\n <button"); 2405 2406 WriteLiteral(" class=\"header__action-btn js-action-btn\""); 2407 2408 WriteLiteral(" data-target=\"nav-panel\""); 2409 2410 WriteLiteral(">\r\n <span"); 2411 2412 WriteLiteral(" class=\"visually-hidden\""); 2413 2414 WriteLiteral(">Menu</span>\r\n <svg"); 2415 2416 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2417 2418 WriteLiteral(" viewbox=\"0 0 212 212\""); 2419 2420 WriteLiteral(" class=\"actions-list__icon\""); 2421 2422 WriteLiteral("><path"); 2423 2424 WriteLiteral(@" d=""M166.435 62H45.558C41.386 62 38 57.294 38 51.495S41.386 41 45.558 41h120.884c4.18 0 7.558 4.706 7.558 10.505-.007 5.799-3.386 10.495-7.565 10.495ZM173 106.5c0-5.796-3.379-10.5-7.558-10.5H44.558C40.386 96 37 100.704 37 106.5s3.386 10.5 7.558 10.5h120.891c4.172 0 7.551-4.704 7.551-10.5Zm0 54c0-5.806-3.379-10.5-7.558-10.5H44.558C40.386 150 37 154.694 37 160.5s3.386 10.5 7.558 10.5h120.891c4.172 0 7.551-4.694 7.551-10.5Z"""); 2425 2426 WriteLiteral(" fill=\"currentColor\""); 2427 2428 WriteLiteral(" fill-rule=\"nonzero\""); 2429 2430 WriteLiteral("></path></svg>\r\n </button>\r\n </li>\r\n\r\n " + 2431 " </ul>\r\n\r\n"); 2432 2433 WriteLiteral("\r\n <div"); 2434 2435 WriteLiteral(" class=\"header__action-panel\""); 2436 2437 WriteLiteral(" id=\"search-panel\""); 2438 2439 WriteLiteral(">\r\n <button"); 2440 2441 WriteLiteral(" class=\"header__action-btn header__action-btn--close js-panel-close\""); 2442 2443 WriteLiteral(">\r\n <span"); 2444 2445 WriteLiteral(" class=\"visually-hidden\""); 2446 2447 WriteLiteral(">Close</span>\r\n <svg"); 2448 2449 WriteLiteral(" viewbox=\"0 0 212 212\""); 2450 2451 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2452 2453 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 2454 2455 WriteLiteral("><path"); 2456 2457 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 2458 2459 WriteLiteral(" fill=\"currentColor\""); 2460 2461 WriteLiteral(" fill-rule=\"evenodd\""); 2462 2463 WriteLiteral("></path></svg>\r\n </button>\r\n <div"); 2464 2465 WriteLiteral(" class=\"header__action-copy flow-s\""); 2466 2467 WriteLiteral(">\r\n"); 2468 2469 WriteLiteral(" "); 2470 2471 2472 #line 363 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2473 Write(renderSearch(masterArea)); 2474 2475 2476 #line default 2477 #line hidden 2478 WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n\r\n "); 2479 2480 WriteLiteral("\r\n"); 2481 2482 2483 #line 369 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2484 if ( true ) 2485 { 2486 2487 2488 #line default 2489 #line hidden 2490 WriteLiteral(" <div"); 2491 2492 WriteLiteral(" class=\"header__action-panel\""); 2493 2494 WriteLiteral(" id=\"hags-connect-panel\""); 2495 2496 WriteLiteral(">\r\n\r\n <button"); 2497 2498 WriteLiteral(" class=\"header__action-btn header__action-btn--close js-panel-close\""); 2499 2500 WriteLiteral(">\r\n <span"); 2501 2502 WriteLiteral(" class=\"visually-hidden\""); 2503 2504 WriteLiteral(">Close</span>\r\n <svg"); 2505 2506 WriteLiteral(" viewbox=\"0 0 212 212\""); 2507 2508 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2509 2510 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 2511 2512 WriteLiteral("><path"); 2513 2514 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 2515 2516 WriteLiteral(" fill=\"currentColor\""); 2517 2518 WriteLiteral(" fill-rule=\"evenodd\""); 2519 2520 WriteLiteral("></path></svg>\r\n </button>\r\n"); 2521 2522 2523 #line 377 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2524 2525 2526 #line default 2527 #line hidden 2528 2529 #line 377 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2530 2531 string thisPageID = @GetGlobalValue("Global:Page.ID"); 2532 string hagsConnectTitle = @Translate("HAGS Connect", "HAGS Connect"); 2533 2534 2535 #line default 2536 #line hidden 2537 WriteLiteral("\r\n \r\n <div"); 2538 2539 WriteLiteral(" class=\"header__action-copy flow-s\""); 2540 2541 WriteLiteral(">\r\n\r\n <h5>"); 2542 2543 2544 #line 384 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2545 Write(hagsConnectTitle); 2546 2547 2548 #line default 2549 #line hidden 2550 WriteLiteral("</h5>\r\n\r\n <p>"); 2551 2552 2553 #line 386 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2554 Write(Translate("HAGSConnectIntro", "A brief block of introductory copy about HAGS Connect.")); 2555 2556 2557 #line default 2558 #line hidden 2559 WriteLiteral("</p>\r\n \r\n"); 2560 2561 2562 #line 388 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2563 2564 2565 #line default 2566 #line hidden 2567 2568 #line 388 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2569 if (!String.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 2570 { 2571 2572 2573 2574 #line default 2575 #line hidden 2576 WriteLiteral(" <p>\r\n <strong>"); 2577 2578 2579 #line 392 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2580 Write(Translate("Welcome", "Welcome")); 2581 2582 2583 #line default 2584 #line hidden 2585 WriteLiteral(", "); 2586 2587 2588 #line 392 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2589 Write(GetGlobalValue("Global:Extranet.FirstName")); 2590 2591 2592 #line default 2593 #line hidden 2594 WriteLiteral("</strong>\r\n </p>\r\n"); 2595 2596 2597 #line 394 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2598 2599 2600 2601 #line default 2602 #line hidden 2603 2604 #line 395 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2605 Write(RenderNavigation(new{ 2606 ParentTag = "MyHags", 2607 Template = "simple-nav.xslt" 2608 })); 2609 2610 2611 #line default 2612 #line hidden 2613 2614 #line 398 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2615 2616 2617 2618 2619 #line default 2620 #line hidden 2621 WriteLiteral(" <ul"); 2622 2623 WriteLiteral(" role=\"list\""); 2624 2625 WriteLiteral(" class=\"icon-list\""); 2626 2627 WriteLiteral(">\r\n <li>\r\n <a"); 2628 2629 WriteAttribute("href", Tuple.Create(" href=\"", 27300), Tuple.Create("\"", 27355) 2630 , Tuple.Create(Tuple.Create("", 27307), Tuple.Create("/admin/Public/ExtranetLogOff.aspx?ID=", 27307), true) 2631 2632 #line 402 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2633 , Tuple.Create(Tuple.Create("", 27344), Tuple.Create<System.Object, System.Int32>(thisPageID 2634 2635 #line default 2636 #line hidden 2637 , 27344), false) 2638 ); 2639 2640 WriteLiteral(">\r\n <img"); 2641 2642 WriteAttribute("src", Tuple.Create(" src=\"", 27387), Tuple.Create("\"", 27451) 2643 2644 #line 403 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2645 , Tuple.Create(Tuple.Create("", 27393), Tuple.Create<System.Object, System.Int32>(designBaseUrl 2646 2647 #line default 2648 #line hidden 2649 , 27393), false) 2650 , Tuple.Create(Tuple.Create("", 27409), Tuple.Create("assets/svg-icons/connect/logout-icon-2.svg", 27409), true) 2651 ); 2652 2653 WriteLiteral(">\r\n <span>"); 2654 2655 2656 #line 404 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2657 Write(Translate("SignOut", "Sign Out")); 2658 2659 2660 #line default 2661 #line hidden 2662 WriteLiteral("</span>\r\n </a>\r\n </li>\r\n " + 2663 " </ul>\r\n"); 2664 2665 2666 #line 408 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2667 2668 2669 2670 } 2671 else 2672 { 2673 if (Dynamicweb.Configuration.SystemConfiguration.Instance.GetBoolean("/Globalsettings/System/MyHags/SSOLoginActive")) 2674 { 2675 2676 2677 #line default 2678 #line hidden 2679 WriteLiteral(" <a"); 2680 2681 WriteLiteral(" href=\"/Admin/Public/Social/ExternalLogin.aspx?action=login&amp;providerID=3\""); 2682 2683 WriteLiteral(">HAGS Connect Login</a> \r\n"); 2684 2685 2686 #line 417 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2687 } 2688 } 2689 2690 2691 #line default 2692 #line hidden 2693 WriteLiteral("\r\n </div>\r\n </div>\r\n"); 2694 2695 2696 #line 422 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2697 } 2698 2699 2700 #line default 2701 #line hidden 2702 WriteLiteral("\r\n\r\n"); 2703 2704 WriteLiteral("\r\n\r\n\r\n \r\n <div"); 2705 2706 WriteLiteral(" class=\"header__action-panel\""); 2707 2708 WriteLiteral(" id=\"country-select-panel\""); 2709 2710 WriteLiteral(">\r\n\r\n <button"); 2711 2712 WriteLiteral(" class=\"header__action-btn header__action-btn--close js-panel-close\""); 2713 2714 WriteLiteral(">\r\n <span"); 2715 2716 WriteLiteral(" class=\"visually-hidden\""); 2717 2718 WriteLiteral(">Close</span>\r\n <svg"); 2719 2720 WriteLiteral(" viewbox=\"0 0 212 212\""); 2721 2722 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2723 2724 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 2725 2726 WriteLiteral("><path"); 2727 2728 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 2729 2730 WriteLiteral(" fill=\"currentColor\""); 2731 2732 WriteLiteral(" fill-rule=\"evenodd\""); 2733 2734 WriteLiteral("></path></svg>\r\n </button>\r\n <div"); 2735 2736 WriteLiteral(" class=\"header__action-copy flow-s\""); 2737 2738 WriteLiteral(">\r\n <h5>"); 2739 2740 2741 #line 508 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2742 Write(Translate("SelectYourLocation", "Select your location")); 2743 2744 2745 #line default 2746 #line hidden 2747 WriteLiteral("</h5>\r\n <div"); 2748 2749 WriteLiteral(" class=\"header__action-area\""); 2750 2751 WriteLiteral(">\r\n"); 2752 2753 WriteLiteral(" "); 2754 2755 2756 #line 510 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2757 Write(renderCountryList("list")); 2758 2759 2760 #line default 2761 #line hidden 2762 WriteLiteral("\r\n </div>\r\n </div>\r\n </d" + 2763 "iv>\r\n\r\n \r\n\r\n"); 2764 2765 2766 #line 517 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2767 2768 2769 #line default 2770 #line hidden 2771 WriteLiteral("\r\n\r\n"); 2772 2773 WriteLiteral("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n <div"); 2774 2775 WriteLiteral(" class=\"header__action-panel\""); 2776 2777 WriteLiteral(" id=\"collection-panel\""); 2778 2779 WriteLiteral(">\r\n\r\n <button"); 2780 2781 WriteLiteral(" class=\"header__action-btn header__action-btn--close js-panel-close\""); 2782 2783 WriteLiteral(">\r\n <span"); 2784 2785 WriteLiteral(" class=\"visually-hidden\""); 2786 2787 WriteLiteral(">Close</span>\r\n <svg"); 2788 2789 WriteLiteral(" viewbox=\"0 0 212 212\""); 2790 2791 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2792 2793 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 2794 2795 WriteLiteral("><path"); 2796 2797 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 2798 2799 WriteLiteral(" fill=\"currentColor\""); 2800 2801 WriteLiteral(" fill-rule=\"evenodd\""); 2802 2803 WriteLiteral("></path></svg>\r\n </button>\r\n\r\n <div"); 2804 2805 WriteLiteral(" class=\"header__action-copy flow-s\""); 2806 2807 WriteLiteral(">\r\n\r\n <h5>"); 2808 2809 2810 #line 714 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2811 Write(Translate("MyProductCollection", "My Product Collection")); 2812 2813 2814 #line default 2815 #line hidden 2816 WriteLiteral("</h5>\r\n \r\n <div"); 2817 2818 WriteLiteral(" class=\"header__action-area\""); 2819 2820 WriteLiteral(" id=\"\""); 2821 2822 WriteLiteral(" hx-get=\"snippets/my-collection-panel\""); 2823 2824 WriteLiteral(" hx-trigger=\"collectionChange from:document\""); 2825 2826 WriteLiteral(">\r\n\r\n"); 2827 2828 WriteLiteral(" "); 2829 2830 2831 #line 718 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2832 Write(renderMyCollectionPanel()); 2833 2834 2835 #line default 2836 #line hidden 2837 WriteLiteral("\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n " + 2838 " </div>\r\n\r\n\r\n <div"); 2839 2840 WriteLiteral(" class=\"header__action-panel\""); 2841 2842 WriteLiteral(" id=\"search-panel\""); 2843 2844 WriteLiteral(">\r\n <button"); 2845 2846 WriteLiteral(" class=\"header__action-btn header__action-btn--close js-panel-close\""); 2847 2848 WriteLiteral(">\r\n <span"); 2849 2850 WriteLiteral(" class=\"visually-hidden\""); 2851 2852 WriteLiteral(">Close</span>\r\n <svg"); 2853 2854 WriteLiteral(" viewbox=\"0 0 212 212\""); 2855 2856 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2857 2858 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 2859 2860 WriteLiteral("><path"); 2861 2862 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 2863 2864 WriteLiteral(" fill=\"currentColor\""); 2865 2866 WriteLiteral(" fill-rule=\"evenodd\""); 2867 2868 WriteLiteral("></path></svg>\r\n </button>\r\n <div"); 2869 2870 WriteLiteral(" class=\"header__action-copy flow-s\""); 2871 2872 WriteLiteral(">\r\n"); 2873 2874 WriteLiteral(" "); 2875 2876 2877 #line 733 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2878 Write(renderSearch(masterArea)); 2879 2880 2881 #line default 2882 #line hidden 2883 WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n <div"); 2884 2885 WriteLiteral(" class=\"header__action-panel\""); 2886 2887 WriteLiteral(" id=\"nav-panel\""); 2888 2889 WriteLiteral(">\r\n <button"); 2890 2891 WriteLiteral(" class=\"header__action-btn header__action-btn--close js-panel-close\""); 2892 2893 WriteLiteral(">\r\n <span"); 2894 2895 WriteLiteral(" class=\"visually-hidden\""); 2896 2897 WriteLiteral(">Close</span>\r\n <svg"); 2898 2899 WriteLiteral(" viewbox=\"0 0 212 212\""); 2900 2901 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 2902 2903 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 2904 2905 WriteLiteral("><path"); 2906 2907 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 2908 2909 WriteLiteral(" fill=\"currentColor\""); 2910 2911 WriteLiteral(" fill-rule=\"evenodd\""); 2912 2913 WriteLiteral("></path></svg>\r\n </button>\r\n <div"); 2914 2915 WriteLiteral(" class=\"header__action-area\""); 2916 2917 WriteLiteral(">\r\n"); 2918 2919 WriteLiteral(" "); 2920 2921 2922 #line 743 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2923 Write(RenderSnippet("navigation")); 2924 2925 2926 #line default 2927 #line hidden 2928 WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n " + 2929 " </div>\r\n\r\n \r\n <div"); 2930 2931 WriteLiteral(" class=\"header__local-nav\""); 2932 2933 WriteLiteral(">\r\n\r\n"); 2934 2935 WriteLiteral(" "); 2936 2937 2938 #line 754 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2939 Write(SnippetStart("navigation")); 2940 2941 2942 #line default 2943 #line hidden 2944 WriteLiteral("\r\n <nav"); 2945 2946 WriteLiteral(" class=\"nav\""); 2947 2948 WriteLiteral(@"> 2949 <!--button id=""menu-toggle"" class=""menu-toggle menu-toggle--main"" aria-expanded=""false"" aria-controls=""main-nav""> 2950 <div class=""menu-toggle__box""> 2951 <div class=""menu-toggle__lines""></div> 2952 </div> 2953 <span class=""visually-hidden"">Menu</span> 2954 </button--> 2955 "); 2956 2957 WriteLiteral(" "); 2958 2959 2960 #line 762 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2961 Write(GetValue("DwNavigation(mainnav)")); 2962 2963 2964 #line default 2965 #line hidden 2966 WriteLiteral("\r\n </nav>\r\n"); 2967 2968 WriteLiteral(" "); 2969 2970 2971 #line 764 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2972 Write(SnippetEnd("navigation")); 2973 2974 2975 #line default 2976 #line hidden 2977 WriteLiteral("\r\n\r\n"); 2978 2979 WriteLiteral(" "); 2980 2981 2982 #line 766 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 2983 Write(RenderSnippet("navigation")); 2984 2985 2986 #line default 2987 #line hidden 2988 WriteLiteral("\r\n\r\n "); 2989 2990 WriteLiteral("\r\n "); 2991 2992 WriteLiteral("\r\n "); 2993 2994 WriteLiteral("\r\n\r\n"); 2995 2996 WriteLiteral(" "); 2997 2998 2999 #line 772 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3000 Write(SnippetStart("nextLevelNav")); 3001 3002 3003 #line default 3004 #line hidden 3005 WriteLiteral("\r\n <section>\r\n <div"); 3006 3007 WriteLiteral(" class=\"wrapper\""); 3008 3009 WriteLiteral(">\r\n"); 3010 3011 WriteLiteral(" "); 3012 3013 3014 #line 775 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3015 Write(GetValue("DwNavigation(productlistingnav)")); 3016 3017 3018 #line default 3019 #line hidden 3020 WriteLiteral("\r\n </div>\r\n </section>\r\n"); 3021 3022 WriteLiteral(" "); 3023 3024 3025 #line 778 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3026 Write(SnippetEnd("nextLevelNav")); 3027 3028 3029 #line default 3030 #line hidden 3031 WriteLiteral("\r\n\r\n </div></div></header>\r\n"); 3032 3033 3034 #line 781 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3035 3036 3037 #line default 3038 #line hidden 3039 WriteLiteral("\r\n\r\n<main"); 3040 3041 WriteLiteral(" class=\"flow-page\""); 3042 3043 WriteLiteral(" id=\"content\""); 3044 3045 WriteLiteral(">"); 3046 3047 3048 #line 785 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3049 Write(GetValue("DwContent(content)")); 3050 3051 3052 #line default 3053 #line hidden 3054 WriteLiteral("</main>\r\n"); 3055 3056 3057 #line 786 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3058 3059 3060 #line default 3061 #line hidden 3062 3063 #line 786 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3064 if (GetLoop("Item.Area.Accreditation_Images").Count() > 0) 3065 { 3066 3067 3068 #line default 3069 #line hidden 3070 WriteLiteral("<section"); 3071 3072 WriteLiteral(" class=\"creds\""); 3073 3074 WriteLiteral(">\r\n <div"); 3075 3076 WriteLiteral(" class=\"wrapper\""); 3077 3078 WriteLiteral(">\r\n <ul"); 3079 3080 WriteLiteral(" class=\"creds__list\""); 3081 3082 WriteLiteral(" role=\"list\""); 3083 3084 WriteLiteral(">\r\n <!-- Accreditation Carousel items -->\r\n"); 3085 3086 3087 #line 792 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3088 3089 3090 #line default 3091 #line hidden 3092 3093 #line 792 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3094 foreach (var item in @GetLoop("Item.Area.Accreditation_Images")) 3095 { 3096 var imageUrl = item.GetString("Item.Area.Accreditation_Images.Image"); 3097 var imageAlt = item.GetString("Item.Area.Accreditation_Images.Alternative_Text"); 3098 string imageLink = item.GetString("Item.Area.Accreditation_Images.Link"); 3099 var imageTitle = item.GetString("Item.Area.Accreditation_Images.Title"); 3100 3101 if (!string.IsNullOrWhiteSpace(imageLink)) 3102 { 3103 3104 3105 #line default 3106 #line hidden 3107 WriteLiteral(" <li"); 3108 3109 WriteLiteral(" class=\"creds__item\""); 3110 3111 WriteLiteral(">\r\n <a"); 3112 3113 WriteAttribute("href", Tuple.Create(" href=\"", 53391), Tuple.Create("\"", 53408) 3114 3115 #line 802 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3116 , Tuple.Create(Tuple.Create("", 53398), Tuple.Create<System.Object, System.Int32>(imageLink 3117 3118 #line default 3119 #line hidden 3120 , 53398), false) 3121 ); 3122 3123 WriteLiteral(">\r\n <img"); 3124 3125 WriteLiteral(" class=\"creds__img\""); 3126 3127 WriteAttribute("src", Tuple.Create(" src=\"", 53455), Tuple.Create("\"", 53470) 3128 3129 #line 803 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3130 , Tuple.Create(Tuple.Create("", 53461), Tuple.Create<System.Object, System.Int32>(imageUrl 3131 3132 #line default 3133 #line hidden 3134 , 53461), false) 3135 ); 3136 3137 WriteAttribute("alt", Tuple.Create(" alt=\"", 53471), Tuple.Create("\"", 53486) 3138 3139 #line 803 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3140 , Tuple.Create(Tuple.Create("", 53477), Tuple.Create<System.Object, System.Int32>(imageAlt 3141 3142 #line default 3143 #line hidden 3144 , 53477), false) 3145 ); 3146 3147 WriteLiteral(">\r\n </a>\r\n </li>\r\n"); 3148 3149 3150 #line 806 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3151 } 3152 else 3153 { 3154 3155 3156 #line default 3157 #line hidden 3158 WriteLiteral(" <li"); 3159 3160 WriteLiteral(" class=\"creds__item\""); 3161 3162 WriteLiteral(">\r\n <img"); 3163 3164 WriteLiteral(" class=\"creds__img\""); 3165 3166 WriteAttribute("src", Tuple.Create(" src=\"", 53644), Tuple.Create("\"", 53659) 3167 3168 #line 810 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3169 , Tuple.Create(Tuple.Create("", 53650), Tuple.Create<System.Object, System.Int32>(imageUrl 3170 3171 #line default 3172 #line hidden 3173 , 53650), false) 3174 ); 3175 3176 WriteAttribute("alt", Tuple.Create(" alt=\"", 53660), Tuple.Create("\"", 53675) 3177 3178 #line 810 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3179 , Tuple.Create(Tuple.Create("", 53666), Tuple.Create<System.Object, System.Int32>(imageAlt 3180 3181 #line default 3182 #line hidden 3183 , 53666), false) 3184 ); 3185 3186 WriteLiteral(" class=\"img-responsive\""); 3187 3188 WriteLiteral(">\r\n </li>\r\n"); 3189 3190 3191 #line 812 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3192 } 3193 3194 } 3195 3196 3197 #line default 3198 #line hidden 3199 WriteLiteral(" </ul>\r\n </div>\r\n</section>\r\n"); 3200 3201 3202 #line 818 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3203 } 3204 3205 3206 #line default 3207 #line hidden 3208 WriteLiteral("\r\n<footer"); 3209 3210 WriteLiteral(" class=\"footer\""); 3211 3212 WriteLiteral(">\r\n <div"); 3213 3214 WriteLiteral(" class=\"inner-wrapper\""); 3215 3216 WriteLiteral(">\r\n\r\n <div"); 3217 3218 WriteLiteral(" class=\"footer__logo\""); 3219 3220 WriteLiteral(" itemscope=\"\""); 3221 3222 WriteLiteral(" itemtype=\"http://schema.org/Organization\""); 3223 3224 WriteLiteral(">\r\n <a"); 3225 3226 WriteAttribute("href", Tuple.Create(" href=\"", 53938), Tuple.Create("\"", 53977) 3227 , Tuple.Create(Tuple.Create("", 53945), Tuple.Create("Default.aspx?ID=", 53945), true) 3228 3229 #line 824 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3230 , Tuple.Create(Tuple.Create("", 53961), Tuple.Create<System.Object, System.Int32>(siteFirstPageId 3231 3232 #line default 3233 #line hidden 3234 , 53961), false) 3235 ); 3236 3237 WriteLiteral(" itemprop=\"url\""); 3238 3239 WriteLiteral(">\r\n <svg"); 3240 3241 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 3242 3243 WriteLiteral(" viewbox=\"0 0 362 81\""); 3244 3245 WriteLiteral(" class=\"hags-logo\""); 3246 3247 WriteLiteral("><path"); 3248 3249 WriteLiteral(" fill=\"currentColor\""); 3250 3251 WriteLiteral(" fill-rule=\"evenodd\""); 3252 3253 WriteLiteral(" d=\"M311.22.5c9.399 0 16.725 3.168 18.555 3.168.862 0 1.596-.243 2.697-1.338h2.55" + 3254 "8l2.318 19.692h-4.876c-2.697-9.846-10.513-16.292-19.911-16.292-6.837 0-11.97 3.6" + 3255 "5-11.97 8.39 0 11.187 20.279 13.258 33.958 26.873 5.004 4.986 6.951 10.214 6.951" + 3256 " 16.05 0 12.648-11.47 22.618-26.006 22.618-9.77 0-18.687-3.888-20.887-3.888-1.1 " + 3257 "0-1.952.611-2.562 1.947h-3.178L285.82 55.59v-.002h4.757c4.029 12.031 11.236 18.2" + 3258 "37 20.88 18.237 8.059 0 14.17-5.11 14.17-11.917 0-18.122-39.204-17.509-39.204-41" + 3259 ".586C286.423 8.645 296.681.5 311.22.5Zm-75.498 0c7.426 0 13.874 1.484 18.765 2.7" + 3260 "l.801.2c3.013.755 5.377 1.361 6.941 1.361 1.825 0 2.814-.492 3.66-1.586h3.055v22" + 3261 ".253h-4.89c-3.29-12.4-12.575-19.7-25.28-19.7-17.337 0-29.31 13.622-29.31 33.318 " + 3262 "0 19.946 12.584 34.778 29.56 34.778 4.638 0 9.77-1.215 13.068-3.157V53.883c0-6.0" + 3263 "78-2.561-7.419-15.022-7.662v-4.617h40.55v4.617h-.001c-6.474.124-8.675 2.068-8.67" + 3264 "5 7.662v18.12c-8.795 4.011-21.364 7.656-31.877 7.656-30.898 0-45.805-17.146-45.8" + 3265 "05-40.488C191.264 16.916 209.71.5 235.722.5ZM39.705 2.33v4.74h-1.712c-6.351 0-9." + 3266 "526 2.066-9.526 8.878v19.086h40.301V16.31c0-6.808-2.685-9.24-9.77-9.24h-1.1V2.33" + 3267 "h39.083v4.74h-2.203c-6.223 0-9.156 2.308-9.156 8.878v48.153c0 6.318 2.322 9.116 " + 3268 "9.403 9.116h1.956v4.74H57.899v-4.742h1.708c6.476 0 9.161-2.796 9.161-9.364V42.21" + 3269 "h-40.3V64.1c0 6.445 2.565 9.117 9.4 9.117h1.837v4.74H.5v-4.742h2.073c6.235 0 9.0" + 3270 "4-2.796 9.04-8.873V15.948c0-6.08-2.685-8.878-9.156-8.878H.5V2.33h39.205ZM154.04." + 3271 "5l24.433 61.772c3.175 8.026 5.857 10.452 12.208 10.943v4.741h-39.693v-4.741h4.27" + 3272 "1c7.451 0 8.551-3.282 6.11-9.238l-5.741-14.107h-26.752l.005.003-5.125 14.226c-2." + 3273 "2 6.2-2.07 9.116 9.65 9.116h1.586v4.741h-32.37v-4.741h1.837c5.858 0 8.912-2.67 1" + 3274 "1.966-11.182L137.313 4.03 135.967.5h18.073ZM141.59 14.733l-10.26 28.448h21.492L1" + 3275 "41.59 14.733ZM352.674 2.62c1.114 0 2.164.213 3.148.64a8.412 8.412 0 0 1 2.58 1.7" + 3276 "26 8.042 8.042 0 0 1 1.743 2.562c.427.984.64 2.034.64 3.148a7.702 7.702 0 0 1-.6" + 3277 "4 3.131 8.097 8.097 0 0 1-1.743 2.544 8.158 8.158 0 0 1-2.58 1.708 8.02 8.02 0 0" + 3278 " 1-3.148.623 8.02 8.02 0 0 1-3.15-.623 8.158 8.158 0 0 1-2.579-1.708 8.097 8.097" + 3279 " 0 0 1-1.743-2.544 7.702 7.702 0 0 1-.64-3.13c0-1.115.213-2.165.64-3.15a8.042 8." + 3280 "042 0 0 1 1.743-2.561 8.412 8.412 0 0 1 2.58-1.726 7.827 7.827 0 0 1 3.149-.64Zm" + 3281 "0 1.245c-.95 0-1.839.178-2.669.534a6.854 6.854 0 0 0-2.17 1.459 6.854 6.854 0 0 " + 3282 "0-1.459 2.17 6.702 6.702 0 0 0-.533 2.668c0 .925.177 1.803.533 2.633a7.07 7.07 0" + 3283 " 0 0 1.459 2.188 6.71 6.71 0 0 0 2.17 1.477c.83.356 1.72.534 2.669.534.948 0 1.8" + 3284 "38-.178 2.668-.534a6.71 6.71 0 0 0 2.17-1.477 7.07 7.07 0 0 0 1.46-2.188c.355-.8" + 3285 "3.533-1.708.533-2.633 0-.948-.178-1.838-.534-2.668a6.854 6.854 0 0 0-1.459-2.17 " + 3286 "6.854 6.854 0 0 0-2.17-1.46 6.702 6.702 0 0 0-2.668-.533Zm.035 2.242.318.009c.31" + 3287 "6.017.625.062.928.133a3.3 3.3 0 0 1 1.085.463c.32.213.575.486.765.818.19.332.284" + 3288 ".747.284 1.245 0 .664-.19 1.204-.569 1.619-.38.415-.89.694-1.53.836l2.455 3.985h" + 3289 "-1.992l-2.135-3.807h-1.174v3.807h-1.637V6.107h3.202Zm-.07 1.387h-1.495v2.598h1.3" + 3290 "16a3.48 3.48 0 0 0 1.352-.267c.427-.178.64-.54.64-1.085 0-.499-.195-.83-.586-.99" + 3291 "7-.392-.166-.801-.249-1.228-.249Z\""); 3292 3293 WriteLiteral("></path></svg>\r\n </a>\r\n </div>\r\n\r\n <div"); 3294 3295 WriteLiteral(" class=\"footer__switcher\""); 3296 3297 WriteLiteral(">\r\n\r\n"); 3298 3299 3300 #line 831 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3301 3302 3303 #line default 3304 #line hidden 3305 3306 #line 831 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3307 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Company_Name.Value"))) 3308 { 3309 3310 3311 #line default 3312 #line hidden 3313 WriteLiteral(" <section"); 3314 3315 WriteLiteral(" class=\"footer-address\""); 3316 3317 WriteLiteral(" itemscope=\"\""); 3318 3319 WriteLiteral(" itemtype=\"http://schema.org/PostalAddress\""); 3320 3321 WriteLiteral(">\r\n <h4"); 3322 3323 WriteLiteral(" class=\"footer__heading\""); 3324 3325 WriteLiteral(">"); 3326 3327 3328 #line 834 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3329 Write(Translate("ContactUs", "Contact Us")); 3330 3331 3332 #line default 3333 #line hidden 3334 WriteLiteral("</h4>\r\n <p"); 3335 3336 WriteLiteral(" class=\"address\""); 3337 3338 WriteLiteral(">\r\n <span"); 3339 3340 WriteLiteral(" class=\"h-adr adr\""); 3341 3342 WriteLiteral(">\r\n <span"); 3343 3344 WriteLiteral(" class=\"fn p-org org\""); 3345 3346 WriteLiteral(">"); 3347 3348 3349 #line 837 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3350 Write(GetString("Item.Area.Company_Name.Value")); 3351 3352 3353 #line default 3354 #line hidden 3355 WriteLiteral("</span><br>\r\n"); 3356 3357 3358 #line 838 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3359 3360 3361 #line default 3362 #line hidden 3363 3364 #line 838 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3365 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Company_Address"))) 3366 { 3367 3368 3369 #line default 3370 #line hidden 3371 WriteLiteral(" <span"); 3372 3373 WriteLiteral(" class=\"p-street-address street-address\""); 3374 3375 WriteLiteral(" itemprop=\"streetAddress\""); 3376 3377 WriteLiteral(">"); 3378 3379 3380 #line 840 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3381 Write(GetString("Item.Area.Company_Address.Value")); 3382 3383 3384 #line default 3385 #line hidden 3386 WriteLiteral("</span>\r\n"); 3387 3388 3389 #line 841 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3390 } 3391 3392 3393 #line default 3394 #line hidden 3395 WriteLiteral(" "); 3396 3397 3398 #line 842 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3399 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Company_Address_2.Value"))) 3400 { 3401 3402 3403 #line default 3404 #line hidden 3405 WriteLiteral(" <br>"); 3406 3407 WriteLiteral("<span"); 3408 3409 WriteLiteral(" class=\"p-street-address street-address\""); 3410 3411 WriteLiteral(" itemprop=\"streetAddress\""); 3412 3413 WriteLiteral(">"); 3414 3415 3416 #line 844 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3417 Write(GetString("Item.Area.Company_Address_2.Value")); 3418 3419 3420 #line default 3421 #line hidden 3422 WriteLiteral("</span>\r\n"); 3423 3424 3425 #line 845 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3426 } 3427 3428 3429 #line default 3430 #line hidden 3431 WriteLiteral(" "); 3432 3433 3434 #line 846 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3435 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Town_City.Value"))) 3436 { 3437 3438 3439 #line default 3440 #line hidden 3441 WriteLiteral(" <br> "); 3442 3443 WriteLiteral("<span"); 3444 3445 WriteLiteral(" class=\"p-street-address street-address\""); 3446 3447 WriteLiteral(" itemprop=\"addressLocality\""); 3448 3449 WriteLiteral(">"); 3450 3451 3452 #line 848 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3453 Write(GetString("Item.Area.Town_City.Value")); 3454 3455 3456 #line default 3457 #line hidden 3458 WriteLiteral("</span>\r\n"); 3459 3460 3461 #line 849 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3462 } 3463 3464 3465 #line default 3466 #line hidden 3467 WriteLiteral(" "); 3468 3469 3470 #line 850 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3471 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.County.Value"))) 3472 { 3473 3474 3475 #line default 3476 #line hidden 3477 WriteLiteral(" <br>"); 3478 3479 WriteLiteral("<span"); 3480 3481 WriteLiteral(" class=\"p-street-address street-address\""); 3482 3483 WriteLiteral(" itemprop=\"addressRegion\""); 3484 3485 WriteLiteral(">"); 3486 3487 3488 #line 852 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3489 Write(GetString("Item.Area.County.Value")); 3490 3491 3492 #line default 3493 #line hidden 3494 WriteLiteral("</span>\r\n"); 3495 3496 3497 #line 853 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3498 } 3499 3500 3501 #line default 3502 #line hidden 3503 WriteLiteral(" "); 3504 3505 3506 #line 854 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3507 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Postcode.Value"))) 3508 { 3509 3510 3511 #line default 3512 #line hidden 3513 WriteLiteral(" <br>"); 3514 3515 WriteLiteral("<span"); 3516 3517 WriteLiteral(" class=\"p-street-address street-address\""); 3518 3519 WriteLiteral(" itemprop=\"postalCode\""); 3520 3521 WriteLiteral(">"); 3522 3523 3524 #line 856 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3525 Write(GetString("Item.Area.Postcode.Value")); 3526 3527 3528 #line default 3529 #line hidden 3530 WriteLiteral("</span>\r\n"); 3531 3532 3533 #line 857 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3534 } 3535 3536 3537 #line default 3538 #line hidden 3539 WriteLiteral(" </span>\r\n </p>\r\n <ul"); 3540 3541 WriteLiteral(" class=\"footer__list\""); 3542 3543 WriteLiteral(" role=\"list\""); 3544 3545 WriteLiteral(">\r\n"); 3546 3547 3548 #line 861 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3549 3550 3551 #line default 3552 #line hidden 3553 3554 #line 861 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3555 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Contact_Email_Link"))) 3556 { 3557 string mailTo = "mailto:" + GetString("Item.Area.Contact_Email_Link"); 3558 3559 3560 #line default 3561 #line hidden 3562 WriteLiteral(" <li>\r\n <a"); 3563 3564 WriteAttribute("href", Tuple.Create(" href=\"", 59399), Tuple.Create("\"", 59413) 3565 3566 #line 865 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3567 , Tuple.Create(Tuple.Create("", 59406), Tuple.Create<System.Object, System.Int32>(mailTo 3568 3569 #line default 3570 #line hidden 3571 , 59406), false) 3572 ); 3573 3574 WriteLiteral(">\r\n E: <span"); 3575 3576 WriteLiteral(" itemprop=\"email\""); 3577 3578 WriteLiteral(">"); 3579 3580 3581 #line 866 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3582 Write(GetString("Item.Area.Contact_Email")); 3583 3584 3585 #line default 3586 #line hidden 3587 WriteLiteral("</span>\r\n </a>\r\n </li>\r\n"); 3588 3589 3590 #line 869 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3591 } 3592 3593 3594 #line default 3595 #line hidden 3596 WriteLiteral(" "); 3597 3598 3599 #line 870 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3600 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Telephone"))) 3601 { 3602 string telTo = "tel:" + GetString("Item.Area.Telephone"); 3603 3604 3605 #line default 3606 #line hidden 3607 WriteLiteral(" <li>\r\n <a"); 3608 3609 WriteAttribute("href", Tuple.Create(" href=\"", 59791), Tuple.Create("\"", 59804) 3610 3611 #line 874 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3612 , Tuple.Create(Tuple.Create("", 59798), Tuple.Create<System.Object, System.Int32>(telTo 3613 3614 #line default 3615 #line hidden 3616 , 59798), false) 3617 ); 3618 3619 WriteLiteral(">\r\n T: <span"); 3620 3621 WriteLiteral(" itemprop=\"telephone\""); 3622 3623 WriteLiteral(">"); 3624 3625 3626 #line 875 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3627 Write(GetString("Item.Area.Telephone")); 3628 3629 3630 #line default 3631 #line hidden 3632 WriteLiteral("</span>\r\n </a>\r\n </li>\r\n"); 3633 3634 3635 #line 878 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3636 } 3637 3638 3639 #line default 3640 #line hidden 3641 WriteLiteral(" </ul>\r\n </section>\r\n"); 3642 3643 3644 #line 881 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3645 } 3646 3647 3648 #line default 3649 #line hidden 3650 WriteLiteral("\r\n <section>\r\n <h4"); 3651 3652 WriteLiteral(" class=\"footer__heading\""); 3653 3654 WriteLiteral(">"); 3655 3656 3657 #line 884 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3658 Write(Translate("CompanyInformation", "Company Information")); 3659 3660 3661 #line default 3662 #line hidden 3663 WriteLiteral("</h4>\r\n <nav>\r\n"); 3664 3665 WriteLiteral(" "); 3666 3667 3668 #line 886 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3669 Write(GetValue("DwNavigation(footerpages)")); 3670 3671 3672 #line default 3673 #line hidden 3674 WriteLiteral("\r\n </nav>\r\n\r\n"); 3675 3676 3677 #line 889 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3678 3679 3680 #line default 3681 #line hidden 3682 3683 #line 889 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3684 3685 int legalsLink = 0; 3686 var legalsPage = HagsWeb.Library.Methods.Page.HagsPages.GetPageByNavigationTag("Legals", masterArea.ID); 3687 if (legalsPage != null) 3688 { 3689 legalsLink = legalsPage.ID; 3690 } 3691 3692 if (legalsLink > 0) 3693 { 3694 3695 3696 3697 #line default 3698 #line hidden 3699 WriteLiteral(" <ul"); 3700 3701 WriteLiteral(" class=\"footer__list\""); 3702 3703 WriteLiteral(" role=\"list\""); 3704 3705 WriteLiteral(">\r\n <li><a"); 3706 3707 WriteAttribute("href", Tuple.Create(" href=\"", 60630), Tuple.Create("\"", 60665) 3708 , Tuple.Create(Tuple.Create("", 60637), Tuple.Create("/Default.aspx?ID=", 60637), true) 3709 3710 #line 901 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3711 , Tuple.Create(Tuple.Create("", 60654), Tuple.Create<System.Object, System.Int32>(legalsLink 3712 3713 #line default 3714 #line hidden 3715 , 60654), false) 3716 ); 3717 3718 WriteLiteral(">"); 3719 3720 3721 #line 901 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3722 Write(Translate("PrivacyPolicy", "Privacy Policy")); 3723 3724 3725 #line default 3726 #line hidden 3727 WriteLiteral("</a></li>\r\n <li><a"); 3728 3729 WriteAttribute("href", Tuple.Create(" href=\"", 60749), Tuple.Create("\"", 60784) 3730 , Tuple.Create(Tuple.Create("", 60756), Tuple.Create("/Default.aspx?ID=", 60756), true) 3731 3732 #line 902 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3733 , Tuple.Create(Tuple.Create("", 60773), Tuple.Create<System.Object, System.Int32>(legalsLink 3734 3735 #line default 3736 #line hidden 3737 , 60773), false) 3738 ); 3739 3740 WriteLiteral(">"); 3741 3742 3743 #line 902 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3744 Write(Translate("CookieNotice", "Cookie Notice")); 3745 3746 3747 #line default 3748 #line hidden 3749 WriteLiteral("</a></li>\r\n <li><a"); 3750 3751 WriteAttribute("href", Tuple.Create(" href=\"", 60866), Tuple.Create("\"", 60901) 3752 , Tuple.Create(Tuple.Create("", 60873), Tuple.Create("/Default.aspx?ID=", 60873), true) 3753 3754 #line 903 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3755 , Tuple.Create(Tuple.Create("", 60890), Tuple.Create<System.Object, System.Int32>(legalsLink 3756 3757 #line default 3758 #line hidden 3759 , 60890), false) 3760 ); 3761 3762 WriteLiteral(">"); 3763 3764 3765 #line 903 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3766 Write(Translate("TermsConditions", "Terms & Conditions")); 3767 3768 3769 #line default 3770 #line hidden 3771 WriteLiteral("</a></li>\r\n </ul>\r\n"); 3772 3773 3774 #line 905 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3775 } 3776 3777 3778 #line default 3779 #line hidden 3780 WriteLiteral("\r\n </section>\r\n\r\n\r\n \r\n"); 3781 3782 3783 #line 911 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3784 3785 3786 #line default 3787 #line hidden 3788 3789 #line 911 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3790 if (GetString("Item.Area.Form_Provider") == "sharpspring-provider") 3791 { 3792 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.Newsletter_Form_ID.Value"))) 3793 { 3794 3795 3796 #line default 3797 #line hidden 3798 WriteLiteral(" <!-- SharpSpring Form Provider -->\r\n"); 3799 3800 WriteLiteral(" <div"); 3801 3802 WriteLiteral(" class=\"sharpspring-provider\""); 3803 3804 WriteLiteral(">\r\n <h4"); 3805 3806 WriteLiteral(" class=\"footer__heading\""); 3807 3808 WriteLiteral(">"); 3809 3810 3811 #line 917 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3812 Write(Translate("JoinOurNewsletter", "Join our Newsletter")); 3813 3814 3815 #line default 3816 #line hidden 3817 WriteLiteral("</h4>\r\n"); 3818 3819 3820 #line 918 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3821 3822 3823 #line default 3824 #line hidden 3825 3826 #line 918 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3827 3828 string ss_src_newsletter = string.Format("https://{0}/client/form.js?ver=2.0.1", GetString("Item.Area.Contact_Form_Domain.Value")); 3829 3830 3831 #line default 3832 #line hidden 3833 WriteLiteral("\r\n <!-- SharpSpring Form for Newsletter Form: Revised Formatting " + 3834 "-->\r\n <script"); 3835 3836 WriteLiteral(" type=\"text/javascript\""); 3837 3838 WriteLiteral(">\r\n var ss_form = {\'account\': \'"); 3839 3840 3841 #line 923 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3842 Write(GetString("Item.Area.Contact_Form_Account_ID.Value")); 3843 3844 3845 #line default 3846 #line hidden 3847 WriteLiteral("\', \'formID\': \'"); 3848 3849 3850 #line 923 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3851 Write(GetString("Item.Area.Newsletter_Form_ID.Value")); 3852 3853 3854 #line default 3855 #line hidden 3856 WriteLiteral("\'};\r\n ss_form.width = \'100%\';\r\n ss_form.domain " + 3857 "= \'"); 3858 3859 3860 #line 925 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3861 Write(GetString("Item.Area.Contact_Form_Domain.Value")); 3862 3863 3864 #line default 3865 #line hidden 3866 WriteLiteral(@"'; 3867 // ss_form.hidden = {'field_id': 'value'}; // Modify this for sending hidden variables, or overriding values 3868 // ss_form.target_id = 'target'; // Optional parameter: forms will be placed inside the element with the specified id 3869 // ss_form.polling = true; // Optional parameter: set to true ONLY if your page loads dynamically and the id needs to be polled continually. 3870 </script> 3871 <script"); 3872 3873 WriteLiteral(" type=\"text/javascript\""); 3874 3875 WriteAttribute("src", Tuple.Create(" src=\"", 62543), Tuple.Create("\"", 62567) 3876 3877 #line 930 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3878 , Tuple.Create(Tuple.Create("", 62549), Tuple.Create<System.Object, System.Int32>(ss_src_newsletter 3879 3880 #line default 3881 #line hidden 3882 , 62549), false) 3883 ); 3884 3885 WriteLiteral("></script>\r\n </div>\r\n"); 3886 3887 WriteLiteral(" <!-- End of SharpSpring Form Provider -->\r\n"); 3888 3889 3890 #line 933 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3891 } 3892 } 3893 3894 3895 #line default 3896 #line hidden 3897 WriteLiteral("\r\n"); 3898 3899 3900 #line 936 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3901 3902 3903 #line default 3904 #line hidden 3905 3906 #line 936 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3907 if (GetString("Item.Area.Form_Provider") == "apsis-provider") 3908 { 3909 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.APSIS_Newsletter_Form_ID.Value"))) 3910 { 3911 3912 3913 #line default 3914 #line hidden 3915 WriteLiteral(" <!-- APSIS Form Provider -->\r\n"); 3916 3917 WriteLiteral(" <div"); 3918 3919 WriteLiteral(" class=\"apsis-provider\""); 3920 3921 WriteLiteral(">\r\n <h4"); 3922 3923 WriteLiteral(" class=\"footer__heading\""); 3924 3925 WriteLiteral(">"); 3926 3927 3928 #line 942 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3929 Write(Translate("JoinOurNewsletter", "Join our Newsletter")); 3930 3931 3932 #line default 3933 #line hidden 3934 WriteLiteral("</h4>\r\n"); 3935 3936 3937 #line 943 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3938 3939 3940 #line default 3941 #line hidden 3942 3943 #line 943 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3944 3945 string apsis_form = string.Format("afp-{0}", GetString("Item.Area.APSIS_Newsletter_Form_ID.Value")); 3946 3947 3948 #line default 3949 #line hidden 3950 WriteLiteral("\r\n <script"); 3951 3952 WriteLiteral(" src=\"https://forms.apsisforms.com/formbuilder.js\""); 3953 3954 WriteLiteral("></script>\r\n <script>\r\n (function() {\r\n " + 3955 " var form = new ApsisForms.FormbuilderInstance();\r\n " + 3956 " form.init({\r\n formId: \'"); 3957 3958 3959 #line 951 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3960 Write(GetString("Item.Area.APSIS_Newsletter_Form_ID.Value")); 3961 3962 3963 #line default 3964 #line hidden 3965 WriteLiteral("\'\r\n });\r\n })();\r\n </script>\r" + 3966 "\n <div"); 3967 3968 WriteAttribute("class", Tuple.Create(" class=\'", 63641), Tuple.Create("\'", 63660) 3969 3970 #line 955 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3971 , Tuple.Create(Tuple.Create("", 63649), Tuple.Create<System.Object, System.Int32>(apsis_form 3972 3973 #line default 3974 #line hidden 3975 , 63649), false) 3976 ); 3977 3978 WriteLiteral(">&nbsp;</div>\r\n </div>\r\n"); 3979 3980 WriteLiteral(" <!-- End of APSIS Form Provider -->\r\n"); 3981 3982 3983 #line 958 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3984 } 3985 } 3986 3987 3988 #line default 3989 #line hidden 3990 WriteLiteral(" <section>\r\n <h4"); 3991 3992 WriteLiteral(" class=\"footer__heading\""); 3993 3994 WriteLiteral(">"); 3995 3996 3997 #line 961 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 3998 Write(Translate("FindUs", "Find Us")); 3999 4000 4001 #line default 4002 #line hidden 4003 WriteLiteral("</h4>\r\n <ul"); 4004 4005 WriteLiteral(" class=\"footer__list\""); 4006 4007 WriteLiteral(">\r\n <!-- Social Media items -->\r\n"); 4008 4009 4010 #line 964 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4011 4012 4013 #line default 4014 #line hidden 4015 4016 #line 964 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4017 foreach (var item in @GetLoop("Item.Area.Social_Media")) 4018 { 4019 var linkUrl = item.GetValue("Item.Area.Social_Media.Social_Link"); 4020 string linkTitle = item.GetString("Item.Area.Social_Media.Social_Icon"); 4021 string linkIcon = "/Files/Templates/Designs/HagsCore/res/img/icons/social/" + linkTitle + ".png"; 4022 4023 4024 #line default 4025 #line hidden 4026 WriteLiteral(" <li><a"); 4027 4028 WriteAttribute("href", Tuple.Create(" href=\"", 64325), Tuple.Create("\"", 64340) 4029 4030 #line 969 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4031 , Tuple.Create(Tuple.Create("", 64332), Tuple.Create<System.Object, System.Int32>(linkUrl 4032 4033 #line default 4034 #line hidden 4035 , 64332), false) 4036 ); 4037 4038 WriteLiteral(" target=\"_blank\""); 4039 4040 WriteLiteral(">"); 4041 4042 4043 #line 969 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4044 Write(linkTitle); 4045 4046 4047 #line default 4048 #line hidden 4049 WriteLiteral("</a></li>\r\n"); 4050 4051 4052 #line 970 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4053 } 4054 4055 4056 #line default 4057 #line hidden 4058 WriteLiteral(" </ul>\r\n </section> \r\n\r\n </div>\r\n </div>\r\n\r\n\r\n</footer>\r\n\r\n"); 4059 4060 4061 #line 980 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4062 if ( false ) 4063 { 4064 if (GetString("Item.Area.Form_Provider") == "sharpspring-provider") 4065 { 4066 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.Contact_Form_ID.Value"))) 4067 { 4068 4069 4070 #line default 4071 #line hidden 4072 WriteLiteral(" <!-- SharpSpring Form Provider -->\r\n"); 4073 4074 WriteLiteral(" <div"); 4075 4076 WriteLiteral(" class=\"sharpspring-provider\""); 4077 4078 WriteLiteral(">\r\n\r\n <div"); 4079 4080 WriteLiteral(" id=\"sharpspring-form-message\""); 4081 4082 WriteLiteral(" class=\"sharpspring-form-message\""); 4083 4084 WriteLiteral(">\r\n <div"); 4085 4086 WriteLiteral(" id=\"sharpspring-form-message-container\""); 4087 4088 WriteLiteral(" class=\"sharpspring-form-message-container active hide-help hide-help-2\""); 4089 4090 WriteLiteral(">\r\n <p"); 4091 4092 WriteLiteral(" class=\"close-form\""); 4093 4094 WriteLiteral("><a"); 4095 4096 WriteLiteral(" id=\"hide-sharpspring\""); 4097 4098 WriteLiteral(" href=\"#\""); 4099 4100 WriteLiteral(">X</a></p>\r\n <a"); 4101 4102 WriteLiteral(" id=\"open-sharpspring\""); 4103 4104 WriteLiteral(" class=\"btn\""); 4105 4106 WriteLiteral(" href=\"/en-us/play\""); 4107 4108 WriteLiteral(" role=\"button\""); 4109 4110 WriteLiteral(">"); 4111 4112 4113 #line 992 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4114 Write(GetString("Item.Area.Contact_Button_CTA.Value")); 4115 4116 4117 #line default 4118 #line hidden 4119 WriteLiteral("</a>\r\n </div>\r\n </div>\r\n\r\n <div"); 4120 4121 WriteLiteral(" id=\"sharpspring-form-popup\""); 4122 4123 WriteLiteral(" class=\"overlay sharpspring-form-popup\""); 4124 4125 WriteLiteral(">\r\n <div"); 4126 4127 WriteLiteral(" class=\"sharpspring-form-popup-container\""); 4128 4129 WriteLiteral(">\r\n <p"); 4130 4131 WriteLiteral(" class=\"close-form\""); 4132 4133 WriteLiteral("><a"); 4134 4135 WriteLiteral(" href=\"#\""); 4136 4137 WriteLiteral(" id=\"close-sharpspring\""); 4138 4139 WriteLiteral(">X</a></p>\r\n <div"); 4140 4141 WriteLiteral(" class=\"col-xs-12 col-sm-12 col-md-6 col-lg-6 pop-up-information\""); 4142 4143 WriteLiteral(">\r\n"); 4144 4145 4146 #line 1000 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4147 4148 4149 #line default 4150 #line hidden 4151 4152 #line 1000 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4153 4154 string image = string.Format("{0}", GetString("Item.Area.Contact_Image.Value")); 4155 4156 4157 #line default 4158 #line hidden 4159 WriteLiteral("\r\n <h4>"); 4160 4161 4162 #line 1003 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4163 Write(GetString("Item.Area.Contact_Headline.Value")); 4164 4165 4166 #line default 4167 #line hidden 4168 WriteLiteral("</h4>\r\n"); 4169 4170 WriteLiteral(" "); 4171 4172 4173 #line 1004 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4174 Write(GetString("Item.Area.Contact_Copy.Value")); 4175 4176 4177 #line default 4178 #line hidden 4179 WriteLiteral("\r\n <img"); 4180 4181 WriteAttribute("src", Tuple.Create(" src=\"", 65921), Tuple.Create("\"", 65933) 4182 4183 #line 1005 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4184 , Tuple.Create(Tuple.Create("", 65927), Tuple.Create<System.Object, System.Int32>(image 4185 4186 #line default 4187 #line hidden 4188 , 65927), false) 4189 ); 4190 4191 WriteLiteral(" class=\"pop-up-image img-responsive\""); 4192 4193 WriteLiteral(">\r\n </div>\r\n\r\n <div"); 4194 4195 WriteLiteral(" class=\"col-xs-12 col-sm-12 col-md-6 col-lg-6\""); 4196 4197 WriteLiteral(">\r\n"); 4198 4199 4200 #line 1009 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4201 4202 4203 #line default 4204 #line hidden 4205 4206 #line 1009 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4207 4208 string ss_src = string.Format("https://{0}/client/form.js?ver=2.0.1", GetString("Item.Area.Contact_Form_Domain.Value")); 4209 4210 4211 #line default 4212 #line hidden 4213 WriteLiteral("\r\n <!-- SharpSpring Form for Contact Form: Revised Formatt" + 4214 "ing -->\r\n <script"); 4215 4216 WriteLiteral(" type=\"text/javascript\""); 4217 4218 WriteLiteral(">\r\n var ss_form = {\'account\': \'"); 4219 4220 4221 #line 1014 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4222 Write(GetString("Item.Area.Contact_Form_Account_ID.Value")); 4223 4224 4225 #line default 4226 #line hidden 4227 WriteLiteral("\', \'formID\': \'"); 4228 4229 4230 #line 1014 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4231 Write(GetString("Item.Area.Contact_Form_ID.Value")); 4232 4233 4234 #line default 4235 #line hidden 4236 WriteLiteral("\'};\r\n ss_form.width = \'100%\';\r\n " + 4237 " ss_form.domain = \'"); 4238 4239 4240 #line 1016 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4241 Write(GetString("Item.Area.Contact_Form_Domain.Value")); 4242 4243 4244 #line default 4245 #line hidden 4246 WriteLiteral(@"'; 4247 // ss_form.hidden = {'field_id': 'value'}; // Modify this for sending hidden variables, or overriding values 4248 // ss_form.target_id = 'target'; // Optional parameter: forms will be placed inside the element with the specified id 4249 // ss_form.polling = true; // Optional parameter: set to true ONLY if your page loads dynamically and the id needs to be polled continually. 4250 </script> 4251 <script"); 4252 4253 WriteLiteral(" type=\"text/javascript\""); 4254 4255 WriteAttribute("src", Tuple.Create(" src=\"", 67295), Tuple.Create("\"", 67310) 4256 4257 #line 1021 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4258 , Tuple.Create(Tuple.Create("", 67301), Tuple.Create<System.Object, System.Int32>(ss_src 4259 4260 #line default 4261 #line hidden 4262 , 67301), false) 4263 ); 4264 4265 WriteLiteral("></script>\r\n </div>\r\n </div>\r\n </div" + 4266 ">\r\n </div>\r\n"); 4267 4268 WriteLiteral(" <!-- End of SharpSpring Form Provider -->\r\n"); 4269 4270 4271 #line 1027 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4272 } 4273 } 4274 4275 if (GetString("Item.Area.Form_Provider") == "apsis-provider") 4276 { 4277 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.APSIS_Contact_Form_ID.Value"))) 4278 { 4279 4280 4281 #line default 4282 #line hidden 4283 WriteLiteral(" <!-- APSIS Form Provider -->\r\n"); 4284 4285 WriteLiteral(" <div"); 4286 4287 WriteLiteral(" class=\"sharpspring-provider\""); 4288 4289 WriteLiteral(">\r\n <div"); 4290 4291 WriteLiteral(" id=\"sharpspring-form-message\""); 4292 4293 WriteLiteral(" class=\"sharpspring-form-message\""); 4294 4295 WriteLiteral(">\r\n <div"); 4296 4297 WriteLiteral(" id=\"sharpspring-form-message-container\""); 4298 4299 WriteLiteral(" style=\"display: none;\""); 4300 4301 WriteLiteral(" class=\"sharpspring-form-message-container active hide-help hide-help-2\""); 4302 4303 WriteLiteral(">\r\n <p"); 4304 4305 WriteLiteral(" class=\"close-form\""); 4306 4307 WriteLiteral("><a"); 4308 4309 WriteLiteral(" id=\"\""); 4310 4311 WriteLiteral(" href=\"#\""); 4312 4313 WriteLiteral(">X</a></p>\r\n <a"); 4314 4315 WriteLiteral(" id=\"open-sharpspring\""); 4316 4317 WriteLiteral(" class=\"btn\""); 4318 4319 WriteLiteral(" href=\"/en-us/play\""); 4320 4321 WriteLiteral(" role=\"button\""); 4322 4323 WriteLiteral(">"); 4324 4325 4326 #line 1039 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4327 Write(GetString("Item.Area.APSIS_Contact_Button_CTA.Value")); 4328 4329 4330 #line default 4331 #line hidden 4332 WriteLiteral("</a>\r\n </div>\r\n </div>\r\n\r\n <div"); 4333 4334 WriteLiteral(" id=\"sharpspring-form-popup\""); 4335 4336 WriteLiteral(" class=\"overlay sharpspring-form-popup\""); 4337 4338 WriteLiteral(">\r\n <div"); 4339 4340 WriteLiteral(" class=\"sharpspring-form-popup-container\""); 4341 4342 WriteLiteral(">\r\n <p"); 4343 4344 WriteLiteral(" class=\"close-form\""); 4345 4346 WriteLiteral("><a"); 4347 4348 WriteLiteral(" href=\"#\""); 4349 4350 WriteLiteral(" id=\"close-sharpspring\""); 4351 4352 WriteLiteral(">X</a></p>\r\n <div"); 4353 4354 WriteLiteral(" class=\"col-xs-12 col-sm-12 col-md-6 col-lg-6 pop-up-information\""); 4355 4356 WriteLiteral(">\r\n"); 4357 4358 4359 #line 1047 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4360 4361 4362 #line default 4363 #line hidden 4364 4365 #line 1047 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4366 4367 string image = string.Format("{0}", GetString("Item.Area.Contact_Image.Value")); 4368 4369 4370 #line default 4371 #line hidden 4372 WriteLiteral("\r\n <h4>"); 4373 4374 4375 #line 1050 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4376 Write(GetString("Item.Area.APSIS_Contact_Headline.Value")); 4377 4378 4379 #line default 4380 #line hidden 4381 WriteLiteral("</h4>\r\n"); 4382 4383 WriteLiteral(" "); 4384 4385 4386 #line 1051 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4387 Write(GetString("Item.Area.APSIS_Contact_Copy.Value")); 4388 4389 4390 #line default 4391 #line hidden 4392 WriteLiteral("\r\n <img"); 4393 4394 WriteAttribute("src", Tuple.Create(" src=\"", 68933), Tuple.Create("\"", 68945) 4395 4396 #line 1052 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4397 , Tuple.Create(Tuple.Create("", 68939), Tuple.Create<System.Object, System.Int32>(image 4398 4399 #line default 4400 #line hidden 4401 , 68939), false) 4402 ); 4403 4404 WriteLiteral(" class=\"pop-up-image img-responsive\""); 4405 4406 WriteLiteral(">\r\n </div>\r\n\r\n <div"); 4407 4408 WriteLiteral(" class=\"col-xs-12 col-sm-12 col-md-6 col-lg-6\""); 4409 4410 WriteLiteral(">\r\n"); 4411 4412 4413 #line 1056 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4414 4415 4416 #line default 4417 #line hidden 4418 4419 #line 1056 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4420 4421 string apsis_form = string.Format("afp-{0}", GetString("Item.Area.APSIS_Contact_Form_ID.Value")); 4422 4423 4424 #line default 4425 #line hidden 4426 WriteLiteral("\r\n <script"); 4427 4428 WriteLiteral(" src=\"https://forms.apsisforms.com/formbuilder.js\""); 4429 4430 WriteLiteral("></script>\r\n <script>\r\n (function" + 4431 "() {\r\n var form = new ApsisForms.FormbuilderInstance();" + 4432 "\r\n form.init({\r\n formId: \'"); 4433 4434 4435 #line 1064 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4436 Write(GetString("Item.Area.APSIS_Contact_Form_ID.Value")); 4437 4438 4439 #line default 4440 #line hidden 4441 WriteLiteral("\'\r\n });\r\n })();\r\n " + 4442 " </script>\r\n <div"); 4443 4444 WriteAttribute("class", Tuple.Create(" class=\'", 69769), Tuple.Create("\'", 69788) 4445 4446 #line 1068 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4447 , Tuple.Create(Tuple.Create("", 69777), Tuple.Create<System.Object, System.Int32>(apsis_form 4448 4449 #line default 4450 #line hidden 4451 , 69777), false) 4452 ); 4453 4454 WriteLiteral(">&nbsp;</div>\r\n </div>\r\n </div>\r\n </" + 4455 "div>\r\n </div>\r\n"); 4456 4457 WriteLiteral(" <!-- End of APSIS Form Provider -->\r\n"); 4458 4459 4460 #line 1074 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4461 } 4462 } 4463 } 4464 4465 4466 4467 4468 #line default 4469 #line hidden 4470 4471 #line 1079 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4472 4473 4474 4475 #line default 4476 #line hidden 4477 WriteLiteral("\r\n <dialog"); 4478 4479 WriteLiteral(" class=\"modal\""); 4480 4481 WriteLiteral(" id=\"adviceModal\""); 4482 4483 WriteLiteral(">\r\n\r\n <div"); 4484 4485 WriteLiteral(" class=\"modal__body\""); 4486 4487 WriteLiteral(">\r\n\r\n <div"); 4488 4489 WriteLiteral(" class=\"modal__header\""); 4490 4491 WriteLiteral(">\r\n\r\n <div"); 4492 4493 WriteLiteral(" class=\"modal__close\""); 4494 4495 WriteLiteral(">\r\n <button"); 4496 4497 WriteLiteral(" type=\"button\""); 4498 4499 WriteLiteral(" class=\"action-btn js-modal-close-target\""); 4500 4501 WriteLiteral(" data-target-id=\"adviceModal\""); 4502 4503 WriteLiteral(">\r\n <span"); 4504 4505 WriteLiteral(" class=\"visually-hidden\""); 4506 4507 WriteLiteral(">Close</span>\r\n <svg"); 4508 4509 WriteLiteral(" viewbox=\"0 0 212 212\""); 4510 4511 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 4512 4513 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 4514 4515 WriteLiteral("><path"); 4516 4517 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 4518 4519 WriteLiteral(" fill=\"currentColor\""); 4520 4521 WriteLiteral(" fill-rule=\"evenodd\""); 4522 4523 WriteLiteral("></path></svg>\r\n </button>\r\n </div>\r\n\r\n <h3"); 4524 4525 WriteLiteral(" class=\"ts-2\""); 4526 4527 WriteLiteral(" id=\"advice-title\""); 4528 4529 WriteLiteral(">\r\n <span>Information</span>\r\n </h3>\r\n\r\n </div>\r" + 4530 "\n\r\n <div"); 4531 4532 WriteLiteral(" class=\"modal__main\""); 4533 4534 WriteLiteral(">\r\n\r\n <div"); 4535 4536 WriteLiteral(" id=\"result-advice\""); 4537 4538 WriteLiteral(" class=\"advice-message\""); 4539 4540 WriteLiteral("></div>\r\n\r\n </div>\r\n\r\n <div"); 4541 4542 WriteLiteral(" class=\"modal__footer\""); 4543 4544 WriteLiteral(">\r\n\r\n <button"); 4545 4546 WriteLiteral(" type=\"button\""); 4547 4548 WriteLiteral(" class=\"btn btn--outline js-modal-close-target\""); 4549 4550 WriteLiteral(" data-target-id=\"adviceModal\""); 4551 4552 WriteLiteral(">\r\n"); 4553 4554 WriteLiteral(" "); 4555 4556 4557 #line 1109 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4558 Write(Translate("Close", "Close")); 4559 4560 4561 #line default 4562 #line hidden 4563 WriteLiteral("\r\n </button> \r\n \r\n </div>\r\n\r\n </div>\r" + 4564 "\n\r\n</dialog>\r\n"); 4565 4566 4567 #line 1117 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4568 4569 4570 #line default 4571 #line hidden 4572 WriteLiteral("\r\n"); 4573 4574 4575 #line 1121 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4576 4577 int currentAreaID = int.TryParse(GetGlobalValue("Global:Area.ID"), out currentAreaID) ? currentAreaID : 0; 4578 var currentArea = new Dynamicweb.Content.AreaService().GetArea(currentAreaID); 4579 4580 //List<ProductCollectionItem> productCollectionItems = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection : new List<ProductCollectionItem>(); 4581 4582 4583 4584 #line default 4585 #line hidden 4586 WriteLiteral("\r\n\r\n<dialog"); 4587 4588 WriteLiteral(" id=\"CreateCatalog\""); 4589 4590 WriteLiteral(" class=\"modal modal--full\""); 4591 4592 WriteLiteral(">\r\n\r\n<div"); 4593 4594 WriteLiteral(" class=\"modal__body\""); 4595 4596 WriteLiteral(">\r\n\r\n <div"); 4597 4598 WriteLiteral(" class=\"modal__header\""); 4599 4600 WriteLiteral(">\r\n\r\n <div"); 4601 4602 WriteLiteral(" class=\"modal__close\""); 4603 4604 WriteLiteral(">\r\n <button"); 4605 4606 WriteLiteral(" type=\"button\""); 4607 4608 WriteLiteral(" class=\"action-btn js-modal-close-target\""); 4609 4610 WriteLiteral(" data-target-id=\"CreateCatalog\""); 4611 4612 WriteLiteral(">\r\n <span"); 4613 4614 WriteLiteral(" class=\"visually-hidden\""); 4615 4616 WriteLiteral(">Close</span>\r\n <svg"); 4617 4618 WriteLiteral(" viewbox=\"0 0 212 212\""); 4619 4620 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 4621 4622 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 4623 4624 WriteLiteral("><path"); 4625 4626 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 4627 4628 WriteLiteral(" fill=\"currentColor\""); 4629 4630 WriteLiteral(" fill-rule=\"evenodd\""); 4631 4632 WriteLiteral("></path></svg>\r\n </button>\r\n </div>\r\n\r\n <h4"); 4633 4634 WriteLiteral(" class=\"modal-title\""); 4635 4636 WriteLiteral(" id=\"CreateCatalogModalLabel\""); 4637 4638 WriteLiteral(">\r\n"); 4639 4640 WriteLiteral(" "); 4641 4642 4643 #line 1143 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4644 Write(Translate("CreateYourCatalog", "Create Your Catalogue")); 4645 4646 4647 #line default 4648 #line hidden 4649 WriteLiteral("\r\n </h4>\r\n\r\n </div> <!-- header -->\r\n\r\n <div"); 4650 4651 WriteLiteral(" class=\"modal__main\""); 4652 4653 WriteLiteral(">\r\n\r\n <div"); 4654 4655 WriteLiteral(" id=\"div_CreateCatalog\""); 4656 4657 WriteLiteral(" class=\"modal__pdf-grid\""); 4658 4659 WriteLiteral(">\r\n\r\n <div"); 4660 4661 WriteLiteral(" class=\"modal__forms\""); 4662 4663 WriteLiteral(">\r\n\r\n <form"); 4664 4665 WriteLiteral(" id=\"frm_CreateCatalog\""); 4666 4667 WriteLiteral(">\r\n <input"); 4668 4669 WriteLiteral(" type=\"hidden\""); 4670 4671 WriteLiteral(" name=\"areaId\""); 4672 4673 WriteAttribute("value", Tuple.Create(" value=\"", 74210), Tuple.Create("\"", 74235) 4674 4675 #line 1155 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4676 , Tuple.Create(Tuple.Create("", 74218), Tuple.Create<System.Object, System.Int32>(currentArea.ID 4677 4678 #line default 4679 #line hidden 4680 , 74218), false) 4681 ); 4682 4683 WriteLiteral(">\r\n <input"); 4684 4685 WriteLiteral(" type=\"hidden\""); 4686 4687 WriteLiteral(" name=\"languageId\""); 4688 4689 WriteAttribute("value", Tuple.Create(" value=\"", 74297), Tuple.Create("\"", 74332) 4690 4691 #line 1156 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4692 , Tuple.Create(Tuple.Create("", 74305), Tuple.Create<System.Object, System.Int32>(currentArea.EcomLanguageId 4693 4694 #line default 4695 #line hidden 4696 , 74305), false) 4697 ); 4698 4699 WriteLiteral(">\r\n <input"); 4700 4701 WriteLiteral(" type=\"hidden\""); 4702 4703 WriteLiteral(" value=\"#CreateCatalog\""); 4704 4705 WriteLiteral(" name=\"catType\""); 4706 4707 WriteLiteral(">\r\n <input"); 4708 4709 WriteLiteral(" type=\"hidden\""); 4710 4711 WriteLiteral(" name=\"weglotLang\""); 4712 4713 WriteLiteral(" value=\"\""); 4714 4715 WriteLiteral(">\r\n <fieldset>\r\n <div>\r\n " + 4716 " <label"); 4717 4718 WriteLiteral(" for=\"catHagsCatalogName\""); 4719 4720 WriteLiteral(">"); 4721 4722 4723 #line 1161 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4724 Write(Translate("HagsCatalogName", "Hags Catalog Name")); 4725 4726 4727 #line default 4728 #line hidden 4729 WriteLiteral(":</label>\r\n <input"); 4730 4731 WriteLiteral(" type=\"text\""); 4732 4733 WriteLiteral(" class=\"form-control search-group\""); 4734 4735 WriteLiteral(" value=\"\""); 4736 4737 WriteLiteral(" name=\"catHagsCatalogName\""); 4738 4739 WriteLiteral(">\r\n </div>\r\n \r\n " + 4740 " <label"); 4741 4742 WriteLiteral(" for=\"catHagsContactName\""); 4743 4744 WriteLiteral(">"); 4745 4746 4747 #line 1165 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4748 Write(Translate("HagsContactName", "Hags Contact Name")); 4749 4750 4751 #line default 4752 #line hidden 4753 WriteLiteral(":</label>\r\n <input"); 4754 4755 WriteLiteral(" type=\"text\""); 4756 4757 WriteLiteral(" class=\"form-control search-group\""); 4758 4759 WriteLiteral(" value=\"\""); 4760 4761 WriteLiteral(" name=\"catHagsContactName\""); 4762 4763 WriteLiteral(">\r\n\r\n <label"); 4764 4765 WriteLiteral(" for=\"catHagsContactPhone\""); 4766 4767 WriteLiteral(">"); 4768 4769 4770 #line 1168 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4771 Write(Translate("HagsPhoneNumber", "Hags Phone Number")); 4772 4773 4774 #line default 4775 #line hidden 4776 WriteLiteral(":</label>\r\n <input"); 4777 4778 WriteLiteral(" type=\"text\""); 4779 4780 WriteLiteral(" class=\"form-control search-group\""); 4781 4782 WriteLiteral(" value=\"\""); 4783 4784 WriteLiteral(" name=\"catHagsContactPhone\""); 4785 4786 WriteLiteral(">\r\n \r\n <label"); 4787 4788 WriteLiteral(" for=\"catHagsContactEmail\""); 4789 4790 WriteLiteral(">"); 4791 4792 4793 #line 1171 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4794 Write(Translate("HagsContactEmail", "Hags Contact Email")); 4795 4796 4797 #line default 4798 #line hidden 4799 WriteLiteral(":</label>\r\n <input"); 4800 4801 WriteLiteral(" type=\"email\""); 4802 4803 WriteLiteral(" class=\"form-control search-group\""); 4804 4805 WriteLiteral(" value=\"\""); 4806 4807 WriteLiteral(" name=\"catHagsContactEmail\""); 4808 4809 WriteLiteral(">\r\n \r\n <label"); 4810 4811 WriteLiteral(" for=\"catCompanyName\""); 4812 4813 WriteLiteral(">"); 4814 4815 4816 #line 1174 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4817 Write(Translate("CompanyName", "Company Name")); 4818 4819 4820 #line default 4821 #line hidden 4822 WriteLiteral(":</label>\r\n <input"); 4823 4824 WriteLiteral(" type=\"text\""); 4825 4826 WriteLiteral(" class=\"form-control search-group\""); 4827 4828 WriteLiteral(" value=\"\""); 4829 4830 WriteLiteral(" name=\"catCompanyName\""); 4831 4832 WriteLiteral(">\r\n \r\n <label"); 4833 4834 WriteLiteral(" for=\"catAddress\""); 4835 4836 WriteLiteral(">"); 4837 4838 4839 #line 1177 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4840 Write(Translate("CompanyAddress", "Company Address")); 4841 4842 4843 #line default 4844 #line hidden 4845 WriteLiteral(":</label>\r\n <input"); 4846 4847 WriteLiteral(" type=\"text\""); 4848 4849 WriteLiteral(" class=\"form-control search-group\""); 4850 4851 WriteLiteral(" value=\"\""); 4852 4853 WriteLiteral(" name=\"catAddress\""); 4854 4855 WriteLiteral(">\r\n \r\n <input"); 4856 4857 WriteLiteral(" type=\"text\""); 4858 4859 WriteLiteral(" class=\"form-control search-group\""); 4860 4861 WriteLiteral(" value=\"\""); 4862 4863 WriteLiteral(" name=\"catAddress2\""); 4864 4865 WriteLiteral(">\r\n \r\n <label"); 4866 4867 WriteLiteral(" for=\"catAddrTown\""); 4868 4869 WriteLiteral(">"); 4870 4871 4872 #line 1182 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4873 Write(Translate("CompanyTown", "Company Town")); 4874 4875 4876 #line default 4877 #line hidden 4878 WriteLiteral(":</label>\r\n <input"); 4879 4880 WriteLiteral(" type=\"text\""); 4881 4882 WriteLiteral(" class=\"form-control search-group\""); 4883 4884 WriteLiteral(" value=\"\""); 4885 4886 WriteLiteral(" name=\"catAddrTown\""); 4887 4888 WriteLiteral(">\r\n \r\n <label"); 4889 4890 WriteLiteral(" for=\"catAddrPostCode\""); 4891 4892 WriteLiteral(">"); 4893 4894 4895 #line 1185 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4896 Write(Translate("CompanyPostCode", "Company Postal Code")); 4897 4898 4899 #line default 4900 #line hidden 4901 WriteLiteral(":</label>\r\n <input"); 4902 4903 WriteLiteral(" type=\"text\""); 4904 4905 WriteLiteral(" class=\"form-control search-group\""); 4906 4907 WriteLiteral(" value=\"\""); 4908 4909 WriteLiteral(" name=\"catAddrPostCode\""); 4910 4911 WriteLiteral(">\r\n\r\n <label"); 4912 4913 WriteLiteral(" for=\"catAddrCountry\""); 4914 4915 WriteLiteral(">"); 4916 4917 4918 #line 1188 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4919 Write(Translate("CompanyCountry", "Company Country")); 4920 4921 4922 #line default 4923 #line hidden 4924 WriteLiteral(":</label>\r\n <input"); 4925 4926 WriteLiteral(" type=\"text\""); 4927 4928 WriteLiteral(" class=\"form-control search-group\""); 4929 4930 WriteLiteral(" value=\"\""); 4931 4932 WriteLiteral(" name=\"catAddrCountry\""); 4933 4934 WriteLiteral("> \r\n \r\n\r\n </fieldset>\r\n </form>\r\n\r\n\r\n " + 4935 " "); 4936 4937 WriteLiteral("\r\n\r\n <form"); 4938 4939 WriteLiteral(" id=\"frm_CatalogEmailSettings\""); 4940 4941 WriteLiteral(" style=\"display:none\""); 4942 4943 WriteLiteral(">\r\n <input"); 4944 4945 WriteLiteral(" type=\"hidden\""); 4946 4947 WriteLiteral(" name=\"pdfFileName\""); 4948 4949 WriteLiteral(" value=\"\""); 4950 4951 WriteLiteral(">\r\n <input"); 4952 4953 WriteLiteral(" type=\"hidden\""); 4954 4955 WriteLiteral(" name=\"areaId\""); 4956 4957 WriteAttribute("value", Tuple.Create(" value=\"", 77229), Tuple.Create("\"", 77251) 4958 4959 #line 1200 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4960 , Tuple.Create(Tuple.Create("", 77237), Tuple.Create<System.Object, System.Int32>(currentAreaID 4961 4962 #line default 4963 #line hidden 4964 , 77237), false) 4965 ); 4966 4967 WriteLiteral(">\r\n <input"); 4968 4969 WriteLiteral(" type=\"hidden\""); 4970 4971 WriteLiteral(" name=\"weglotLang\""); 4972 4973 WriteLiteral(" value=\"\""); 4974 4975 WriteLiteral(">\r\n\r\n <fieldset>\r\n\r\n <label"); 4976 4977 WriteLiteral(" for=\"emailFrom\""); 4978 4979 WriteLiteral(">"); 4980 4981 4982 #line 1205 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 4983 Write(Translate("EmailFrom", "Email from")); 4984 4985 4986 #line default 4987 #line hidden 4988 WriteLiteral(":</label>\r\n <input"); 4989 4990 WriteLiteral(" type=\"email\""); 4991 4992 WriteLiteral(" class=\"form-control search-group\""); 4993 4994 WriteLiteral(" name=\"emailFrom\""); 4995 4996 WriteLiteral(" required=\"\""); 4997 4998 WriteLiteral(" value=\"\""); 4999 5000 WriteLiteral(">\r\n\r\n <label"); 5001 5002 WriteLiteral(" for=\"emailTo\""); 5003 5004 WriteLiteral(">"); 5005 5006 5007 #line 1208 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5008 Write(Translate("EmailTo", "Email to")); 5009 5010 5011 #line default 5012 #line hidden 5013 WriteLiteral(":</label>\r\n <input"); 5014 5015 WriteLiteral(" type=\"email\""); 5016 5017 WriteLiteral(" class=\"form-control search-group\""); 5018 5019 WriteLiteral(" name=\"emailTo\""); 5020 5021 WriteLiteral(" required=\"\""); 5022 5023 WriteLiteral(" value=\"\""); 5024 5025 WriteLiteral(">\r\n\r\n <label"); 5026 5027 WriteLiteral(" for=\"emailSubject\""); 5028 5029 WriteLiteral(">"); 5030 5031 5032 #line 1211 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5033 Write(Translate("EmailSubject", "Subject")); 5034 5035 5036 #line default 5037 #line hidden 5038 WriteLiteral(":</label>\r\n <input"); 5039 5040 WriteLiteral(" type=\"text\""); 5041 5042 WriteLiteral(" class=\"form-control search-group\""); 5043 5044 WriteLiteral(" name=\"emailSubject\""); 5045 5046 WriteLiteral(" value=\"\""); 5047 5048 WriteLiteral(">\r\n\r\n <label"); 5049 5050 WriteLiteral(" for=\"emailMessage\""); 5051 5052 WriteLiteral(">"); 5053 5054 5055 #line 1214 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5056 Write(Translate("Message", "Message")); 5057 5058 5059 #line default 5060 #line hidden 5061 WriteLiteral(":</label>\r\n <textarea"); 5062 5063 WriteLiteral(" class=\"form-control\""); 5064 5065 WriteLiteral(" name=\"emailMessage\""); 5066 5067 WriteLiteral(" cols=\"45\""); 5068 5069 WriteLiteral(" rows=\"7\""); 5070 5071 WriteLiteral(" value=\"\""); 5072 5073 WriteLiteral("></textarea>\r\n\r\n </fieldset>\r\n\r\n <div"); 5074 5075 WriteLiteral(" name=\"emailProgressContent\""); 5076 5077 WriteLiteral(" style=\"display:none;\""); 5078 5079 WriteLiteral(">\r\n <span"); 5080 5081 WriteLiteral(" id=\"CreateCatalogueEmailLabel\""); 5082 5083 WriteLiteral(" style=\"display: block; text-align: center; margin: auto;\""); 5084 5085 WriteLiteral(">"); 5086 5087 5088 #line 1220 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5089 Write(Translate("SendingYourEmail", "Sending your Email")); 5090 5091 5092 #line default 5093 #line hidden 5094 WriteLiteral("</span>\r\n <img"); 5095 5096 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/loader/ajax-loader.gif\""); 5097 5098 WriteLiteral(" style=\"margin: auto; display: block;\""); 5099 5100 WriteLiteral(">\r\n </div>\r\n\r\n <div"); 5101 5102 WriteLiteral(" name=\"emailProgress\""); 5103 5104 WriteLiteral(" style=\"display: none;\""); 5105 5106 WriteLiteral("></div>\r\n\r\n <div"); 5107 5108 WriteLiteral(" class=\"m-search-advanced-buttons text-right\""); 5109 5110 WriteLiteral(" name=\"preSendEmail\""); 5111 5112 WriteLiteral(" style=\"display: block;\""); 5113 5114 WriteLiteral(">\r\n\r\n <button"); 5115 5116 WriteLiteral(" class=\"btn btn--outline\""); 5117 5118 WriteLiteral(" name=\"emailcatalogue\""); 5119 5120 WriteLiteral(" type=\"button\""); 5121 5122 WriteLiteral(" role=\"button\""); 5123 5124 WriteLiteral(">"); 5125 5126 5127 #line 1228 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5128 Write(Translate("SendEmail", "Send Email")); 5129 5130 5131 #line default 5132 #line hidden 5133 WriteLiteral("</button>\r\n <button"); 5134 5135 WriteLiteral(" class=\"btn btn--outline\""); 5136 5137 WriteLiteral(" style=\"display: none;\""); 5138 5139 WriteLiteral(" name=\"refreshemail\""); 5140 5141 WriteLiteral(" type=\"button\""); 5142 5143 WriteLiteral(" role=\"button\""); 5144 5145 WriteLiteral(">"); 5146 5147 5148 #line 1229 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5149 Write(Translate("Refresh", "Refresh")); 5150 5151 5152 #line default 5153 #line hidden 5154 WriteLiteral("</button>\r\n <button"); 5155 5156 WriteLiteral(" class=\"btn btn--outline\""); 5157 5158 WriteLiteral(" name=\"cancelemail\""); 5159 5160 WriteLiteral(" type=\"button\""); 5161 5162 WriteLiteral(" role=\"button\""); 5163 5164 WriteLiteral(" data-modal-name=\"catalogue\""); 5165 5166 WriteLiteral(">"); 5167 5168 5169 #line 1230 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5170 Write(Translate("Cancel", "Cancel")); 5171 5172 5173 #line default 5174 #line hidden 5175 WriteLiteral("</button>\r\n\r\n </div>\r\n\r\n\r\n <div"); 5176 5177 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 5178 5179 WriteLiteral(" name=\"downloadResend\""); 5180 5181 WriteLiteral(" style=\"display: none;\""); 5182 5183 WriteLiteral(">\r\n\r\n <button"); 5184 5185 WriteLiteral(" class=\"btn btn--outline\""); 5186 5187 WriteLiteral(" style=\"display: none;\""); 5188 5189 WriteLiteral(" name=\"resendcatalogue\""); 5190 5191 WriteLiteral(" type=\"button\""); 5192 5193 WriteLiteral(" role=\"button\""); 5194 5195 WriteLiteral(">"); 5196 5197 5198 #line 1237 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5199 Write(Translate("SendEmail", "Send Email")); 5200 5201 5202 #line default 5203 #line hidden 5204 WriteLiteral("</button>\r\n <button"); 5205 5206 WriteLiteral(" class=\"btn btn--outline\""); 5207 5208 WriteLiteral(" style=\"margin: 2px;\""); 5209 5210 WriteLiteral(" name=\"refreshemail\""); 5211 5212 WriteLiteral(" type=\"button\""); 5213 5214 WriteLiteral(" role=\"button\""); 5215 5216 WriteLiteral(">"); 5217 5218 5219 #line 1238 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5220 Write(Translate("ClearFormSendAgain", "Clear form and send again")); 5221 5222 5223 #line default 5224 #line hidden 5225 WriteLiteral("</button><br>\r\n <a"); 5226 5227 WriteLiteral(" href=\"\""); 5228 5229 WriteLiteral(" class=\"btn btn--outline\""); 5230 5231 WriteLiteral(" name=\"pdfDownloadLink\""); 5232 5233 WriteLiteral(" download=\"\""); 5234 5235 WriteLiteral(">"); 5236 5237 5238 #line 1239 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5239 Write(Translate("DownloadCatalogue", "Download Catalogue")); 5240 5241 5242 #line default 5243 #line hidden 5244 WriteLiteral("</a>\r\n <button"); 5245 5246 WriteLiteral(" class=\"btn btn--outline js-modal-close-target\""); 5247 5248 WriteLiteral(" data-target-id=\"CreateCatalog\""); 5249 5250 WriteLiteral(" type=\"button\""); 5251 5252 WriteLiteral(">"); 5253 5254 5255 #line 1240 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5256 Write(Translate("CloseWindow", "Close Window")); 5257 5258 5259 #line default 5260 #line hidden 5261 WriteLiteral("</button>\r\n\r\n </div>\r\n\r\n </form>\r\n\r\n <script" + 5262 ">\r\n $(\"#frm_CatalogEmailSettings\").validate();\r\n </scr" + 5263 "ipt>\r\n\r\n </div>\r\n\r\n <div"); 5264 5265 WriteLiteral(" id=\"loader\""); 5266 5267 WriteLiteral(" style=\"display:none;text-align:center\""); 5268 5269 WriteLiteral(">\r\n <span"); 5270 5271 WriteLiteral(" id=\"CreateCataloguePdfLabel\""); 5272 5273 WriteLiteral(" style=\"display: inline-block;margin: 10px 10px 0 0;padding: 5px 10px\""); 5274 5275 WriteLiteral("></span>\r\n <img"); 5276 5277 WriteLiteral(" src=\"/Files/Templates/Designs/Hags2024/assets/img/loader/ajax-loader.gif\""); 5278 5279 WriteLiteral(" style=\"margin:auto;display:block;\""); 5280 5281 WriteLiteral(">\r\n </div>\r\n\r\n <div"); 5282 5283 WriteLiteral(" id=\"pdfViewer\""); 5284 5285 WriteLiteral(" class=\"modal__embed-silo\""); 5286 5287 WriteLiteral("></div>\r\n\r\n </div>\r\n\r\n </div> <!-- main -->\r\n\r\n\r\n <div"); 5288 5289 WriteLiteral(" class=\"modal__footer\""); 5290 5291 WriteLiteral(">\r\n\r\n <div"); 5292 5293 WriteLiteral(" class=\"m-search-advanced-buttons cluster cluster--dialog\""); 5294 5295 WriteLiteral(">\r\n\r\n <button"); 5296 5297 WriteLiteral(" class=\"btn btn--outline\""); 5298 5299 WriteLiteral(" name=\"updatecatalogue\""); 5300 5301 WriteLiteral(" role=\"button\""); 5302 5303 WriteLiteral(" type=\"button\""); 5304 5305 WriteLiteral(">\r\n"); 5306 5307 WriteLiteral(" "); 5308 5309 5310 #line 1269 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5311 Write(Translate("UpdateCatalogue", "Update Catalog")); 5312 5313 5314 #line default 5315 #line hidden 5316 WriteLiteral("\r\n </button>\r\n \r\n \r\n\r\n <but" + 5317 "ton"); 5318 5319 WriteLiteral(" class=\"btn btn--outline\""); 5320 5321 WriteLiteral(" name=\"createemail\""); 5322 5323 WriteLiteral(" data-modal-name=\"catalogue\""); 5324 5325 WriteLiteral(" type=\"button\""); 5326 5327 WriteLiteral(" role=\"button\""); 5328 5329 WriteLiteral(">"); 5330 5331 5332 #line 1274 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5333 Write(Translate("EmailCatalogue", "Email Catalogue")); 5334 5335 5336 #line default 5337 #line hidden 5338 WriteLiteral("</button>\r\n <button"); 5339 5340 WriteLiteral(" class=\"btn btn--outline\""); 5341 5342 WriteLiteral(" id=\"pdfPrintCatalogue\""); 5343 5344 WriteLiteral(" target=\"_blank\""); 5345 5346 WriteLiteral(" type=\"button\""); 5347 5348 WriteLiteral(">"); 5349 5350 5351 #line 1275 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5352 Write(Translate("Print", "Print")); 5353 5354 5355 #line default 5356 #line hidden 5357 WriteLiteral("</button>\r\n <a"); 5358 5359 WriteLiteral(" class=\"btn btn--outline\""); 5360 5361 WriteLiteral(" href=\"#\""); 5362 5363 WriteLiteral(" id=\"pdfDownloadCatalogue\""); 5364 5365 WriteLiteral(" type=\"button\""); 5366 5367 WriteLiteral(" download=\"\""); 5368 5369 WriteLiteral(">"); 5370 5371 5372 #line 1276 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5373 Write(Translate("Download", "Download")); 5374 5375 5376 #line default 5377 #line hidden 5378 WriteLiteral("</a>\r\n <button"); 5379 5380 WriteLiteral(" class=\"btn btn--outline js-modal-close-target\""); 5381 5382 WriteLiteral(" data-target-id=\"CreateCatalog\""); 5383 5384 WriteLiteral(" type=\"button\""); 5385 5386 WriteLiteral(">"); 5387 5388 5389 #line 1277 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5390 Write(Translate("Close", "Close")); 5391 5392 5393 #line default 5394 #line hidden 5395 WriteLiteral("</button>\r\n\r\n </div>\r\n\r\n </div> <!-- footer -->\r\n\r\n</div>\r\n\r\n</dialog>\r" + 5396 "\n"); 5397 5398 5399 #line 1286 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5400 5401 5402 #line default 5403 #line hidden 5404 5405 #line 1289 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5406 5407 5408 int saveCollectionAreaID = HagsWeb.Library.Utilities.WebUtilities.CheckInteger(GetGlobalValue("Global:Area.ID")); 5409 Dynamicweb.Content.Page saveCollectionMyHagsRegistrationPage = HagsWeb.Library.Methods.Page.HagsPages.GetPageByNavigationTag("CreateAccountPage", saveCollectionAreaID); 5410 5411 bool savecollection = bool.Parse(string.IsNullOrEmpty(Dynamicweb.Context.Current.Request.QueryString.Get("savecollection")) ? "false" : Dynamicweb.Context.Current.Request.QueryString.Get("savecollection")); 5412 5413 string areaLanguage = GetGlobalValue("Global:Area.Lang"); 5414 5415 EditCollection editSession = new EditCollection(); 5416 if (SessionManager.IsSessionValueSet("EditCollectionSession_" + GetGlobalValue("Global:Extranet.UserID"))) 5417 { 5418 editSession = (EditCollection)SessionManager.GetSessionItem("EditCollectionSession_" + GetGlobalValue("Global:Extranet.UserID")); 5419 } 5420 5421 string currentCollectionName = string.Empty; // Dynamicweb.Context.Current.Request.QueryString.Get("collection"); 5422 string currentCollectionDescription = string.Empty; 5423 string currentCollectionOriginalFileName = string.Empty; 5424 if (editSession != null) 5425 { 5426 currentCollectionName = editSession.CollectionName; 5427 currentCollectionDescription = editSession.CollectionDescription; 5428 currentCollectionOriginalFileName = editSession.OriginalFileName; 5429 } 5430 5431 bool isLoggedIn = false; 5432 if (!String.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 5433 { 5434 isLoggedIn = true; 5435 } 5436 5437 string saveCollectionValidationMessages = string.Format("messages_{0}.min.js", GetGlobalValue("Global:Area.Lang")); 5438 string saveCollectionAreaLanguage = GetGlobalValue("Global:Area.Lang"); 5439 string saveCollectionLoginPageId = GetGlobalValue("Global:Page.ID"); 5440 string UserId = GetGlobalValue("Global:Extranet.UserID"); 5441 //string designBaseUrl = GetString("Template:DesignBaseUrl"); 5442 5443 // Notes: for the Forgotten Password we now are just advising the user to contact their local office for a reset 5444 // We do however maintain the original code as is for when they change their mind back again! 5445 5446 5447 #line default 5448 #line hidden 5449 WriteLiteral("\r\n\r\n\r\n "); 5450 5451 WriteLiteral("\r\n\r\n<dialog"); 5452 5453 WriteLiteral(" class=\"modal\""); 5454 5455 WriteLiteral(" id=\"saveCollection\""); 5456 5457 WriteLiteral(">\r\n\r\n"); 5458 5459 5460 #line 1335 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5461 5462 5463 #line default 5464 #line hidden 5465 5466 #line 1335 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5467 if (areaLanguage != "en") 5468 { 5469 5470 5471 #line default 5472 #line hidden 5473 WriteLiteral(" <script"); 5474 5475 WriteAttribute("src", Tuple.Create(" src=\"", 84321), Tuple.Create("\"", 84420) 5476 5477 #line 1337 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5478 , Tuple.Create(Tuple.Create("", 84327), Tuple.Create<System.Object, System.Int32>(designBaseUrl 5479 5480 #line default 5481 #line hidden 5482 , 84327), false) 5483 , Tuple.Create(Tuple.Create("", 84343), Tuple.Create("assets/js/libraries/validation/localization/", 84343), true) 5484 5485 #line 1337 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5486 , Tuple.Create(Tuple.Create("", 84387), Tuple.Create<System.Object, System.Int32>(saveCollectionValidationMessages 5487 5488 #line default 5489 #line hidden 5490 , 84387), false) 5491 ); 5492 5493 WriteLiteral("></script>\r\n"); 5494 5495 5496 #line 1338 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5497 } 5498 5499 5500 #line default 5501 #line hidden 5502 WriteLiteral(" \r\n <div"); 5503 5504 WriteLiteral(" class=\"modal__body\""); 5505 5506 WriteLiteral(">\r\n\r\n <div"); 5507 5508 WriteLiteral(" class=\"modal__header\""); 5509 5510 WriteLiteral(">\r\n\r\n <div"); 5511 5512 WriteLiteral(" class=\"modal__close\""); 5513 5514 WriteLiteral(">\r\n <button"); 5515 5516 WriteLiteral(" type=\"button\""); 5517 5518 WriteLiteral(" class=\"action-btn js-modal-close-target\""); 5519 5520 WriteLiteral(" data-target-id=\"saveCollection\""); 5521 5522 WriteLiteral(">\r\n <span"); 5523 5524 WriteLiteral(" class=\"visually-hidden\""); 5525 5526 WriteLiteral(">Close</span>\r\n <svg"); 5527 5528 WriteLiteral(" viewbox=\"0 0 212 212\""); 5529 5530 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\""); 5531 5532 WriteLiteral(" class=\"h24-icon h24-icon--close\""); 5533 5534 WriteLiteral("><path"); 5535 5536 WriteLiteral(@" d=""M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z"""); 5537 5538 WriteLiteral(" fill=\"currentColor\""); 5539 5540 WriteLiteral(" fill-rule=\"evenodd\""); 5541 5542 WriteLiteral("></path></svg>\r\n </button>\r\n </div>\r\n\r\n <h3"); 5543 5544 WriteLiteral(" class=\"ts-2\""); 5545 5546 WriteLiteral(">\r\n"); 5547 5548 WriteLiteral(" "); 5549 5550 5551 #line 1352 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5552 Write(Translate("SaveMyHagsCollection", "Save HAGS Connect Collection")); 5553 5554 5555 #line default 5556 #line hidden 5557 WriteLiteral("\r\n </h3>\r\n\r\n </div>\r\n\r\n <div"); 5558 5559 WriteLiteral(" class=\"modal__main\""); 5560 5561 WriteLiteral(">\r\n\r\n <input"); 5562 5563 WriteLiteral(" type=\"hidden\""); 5564 5565 WriteLiteral(" id=\"action\""); 5566 5567 WriteLiteral(" value=\"\""); 5568 5569 WriteLiteral(">\r\n\r\n <form"); 5570 5571 WriteLiteral(" role=\"form\""); 5572 5573 WriteLiteral(" method=\"post\""); 5574 5575 WriteLiteral(" id=\"saveCollectionForm\""); 5576 5577 WriteLiteral(" action=\"\""); 5578 5579 WriteLiteral(">\r\n\r\n <input"); 5580 5581 WriteLiteral(" type=\"hidden\""); 5582 5583 WriteLiteral(" name=\"UserId\""); 5584 5585 WriteAttribute("value", Tuple.Create(" value=\"", 86087), Tuple.Create("\"", 86102) 5586 5587 #line 1363 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5588 , Tuple.Create(Tuple.Create("", 86095), Tuple.Create<System.Object, System.Int32>(UserId 5589 5590 #line default 5591 #line hidden 5592 , 86095), false) 5593 ); 5594 5595 WriteLiteral(">\r\n <input"); 5596 5597 WriteLiteral(" type=\"hidden\""); 5598 5599 WriteLiteral(" name=\"OriginalFileName\""); 5600 5601 WriteAttribute("value", Tuple.Create(" value=\"", 86162), Tuple.Create("\"", 86204) 5602 5603 #line 1364 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5604 , Tuple.Create(Tuple.Create("", 86170), Tuple.Create<System.Object, System.Int32>(currentCollectionOriginalFileName 5605 5606 #line default 5607 #line hidden 5608 , 86170), false) 5609 ); 5610 5611 WriteLiteral(">\r\n \r\n <div"); 5612 5613 WriteLiteral(" class=\"form-group\""); 5614 5615 WriteLiteral(">\r\n <label"); 5616 5617 WriteLiteral(" for=\"collectionName\""); 5618 5619 WriteLiteral(">"); 5620 5621 5622 #line 1367 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5623 Write(Translate("CollectionName", "Name of Collection")); 5624 5625 5626 #line default 5627 #line hidden 5628 WriteLiteral(" <sup>*</sup></label>\r\n <input"); 5629 5630 WriteLiteral(" type=\"text\""); 5631 5632 WriteLiteral(" class=\"form-control\""); 5633 5634 WriteLiteral(" name=\"CollectionName\""); 5635 5636 WriteAttribute("value", Tuple.Create(" value=\"", 86454), Tuple.Create("\"", 86484) 5637 5638 #line 1368 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5639 , Tuple.Create(Tuple.Create("", 86462), Tuple.Create<System.Object, System.Int32>(currentCollectionName 5640 5641 #line default 5642 #line hidden 5643 , 86462), false) 5644 ); 5645 5646 WriteLiteral(" required=\"\""); 5647 5648 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 86497), Tuple.Create("\'", 86561) 5649 5650 #line 1368 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5651 , Tuple.Create(Tuple.Create("", 86511), Tuple.Create<System.Object, System.Int32>(Translate("CollectionName", "Name of Collection") 5652 5653 #line default 5654 #line hidden 5655 , 86511), false) 5656 ); 5657 5658 WriteLiteral(">\r\n </div>\r\n\r\n <div"); 5659 5660 WriteLiteral(" class=\"form-group\""); 5661 5662 WriteLiteral(">\r\n <label"); 5663 5664 WriteLiteral(" for=\"collectionDescription\""); 5665 5666 WriteLiteral(">"); 5667 5668 5669 #line 1372 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5670 Write(Translate("CollectionDescription", "Description")); 5671 5672 5673 #line default 5674 #line hidden 5675 WriteLiteral(" <sup>*</sup></label>\r\n <textarea"); 5676 5677 WriteLiteral(" type=\"text\""); 5678 5679 WriteLiteral(" class=\"form-control\""); 5680 5681 WriteLiteral(" rows=\"4\""); 5682 5683 WriteLiteral(" cols=\"50\""); 5684 5685 WriteLiteral(" name=\"CollectionDescription\""); 5686 5687 WriteLiteral(" required=\"\""); 5688 5689 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 86867), Tuple.Create("\'", 86931) 5690 5691 #line 1373 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5692 , Tuple.Create(Tuple.Create("", 86881), Tuple.Create<System.Object, System.Int32>(Translate("CollectionDescription", "Description") 5693 5694 #line default 5695 #line hidden 5696 , 86881), false) 5697 ); 5698 5699 WriteLiteral(">"); 5700 5701 5702 #line 1373 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5703 Write(currentCollectionDescription); 5704 5705 5706 #line default 5707 #line hidden 5708 WriteLiteral("</textarea>\r\n </div>\r\n\r\n <div"); 5709 5710 WriteLiteral(" id=\"resultAdvice\""); 5711 5712 WriteLiteral("></div>\r\n \r\n </form>\r\n \r\n\r\n <script>\r\n" + 5713 " //$(\"#saveCollectionloginForm\").validate();\r\n $(\"#saveCol" + 5714 "lectionForm\").validate();\r\n </script>\r\n\r\n </div>\r\n\r\n\r\n <div" + 5715 ""); 5716 5717 WriteLiteral(" class=\"modal__footer\""); 5718 5719 WriteLiteral(">\r\n\r\n <button"); 5720 5721 WriteLiteral(" type=\"submit\""); 5722 5723 WriteLiteral(" id=\"save\""); 5724 5725 WriteLiteral(" name=\"savecollection\""); 5726 5727 WriteLiteral(" class=\"btn btn--outline\""); 5728 5729 WriteLiteral(">"); 5730 5731 5732 #line 1391 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5733 Write(Translate("Save", "Save")); 5734 5735 5736 #line default 5737 #line hidden 5738 WriteLiteral("</button>\r\n <button"); 5739 5740 WriteLiteral(" type=\"button\""); 5741 5742 WriteLiteral(" id=\"continue\""); 5743 5744 WriteLiteral(" name=\"modalclose\""); 5745 5746 WriteLiteral(" class=\"btn btn--outline js-modal-close-target\""); 5747 5748 WriteLiteral(" data-target-id=\"saveCollection\""); 5749 5750 WriteLiteral(">"); 5751 5752 5753 #line 1392 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5754 Write(Translate("Close", "Close")); 5755 5756 5757 #line default 5758 #line hidden 5759 WriteLiteral("</button>\r\n <!--button type=\"button\" id=\"new\" name=\"removecollection\" " + 5760 "class=\"btn btn--outline\" data-removeproductlist=\"All\" data-dismiss=\"modal\">"); 5761 5762 5763 #line 1393 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5764 Write(Translate("StartNewCollection", "Start a new collection")); 5765 5766 5767 #line default 5768 #line hidden 5769 WriteLiteral("</button--> \r\n \r\n </div>\r\n\r\n </div>\r\n\r\n " + 5770 "</dialog>\r\n\r\n}\r\n\r\n\r\n "); 5771 5772 WriteLiteral("\r\n"); 5773 5774 WriteLiteral(" "); 5775 5776 5777 #line 1405 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5778 Write(RenderSnippet("bodyScripts")); 5779 5780 5781 #line default 5782 #line hidden 5783 WriteLiteral("\r\n\r\n\r\n"); 5784 5785 WriteLiteral(" "); 5786 5787 5788 #line 1408 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5789 Write(SnippetStart("bodyScripts")); 5790 5791 5792 #line default 5793 #line hidden 5794 WriteLiteral("\r\n\r\n "); 5795 5796 WriteLiteral("\r\n\r\n <script"); 5797 5798 WriteLiteral(" type=\"text/javascript\""); 5799 5800 WriteAttribute("src", Tuple.Create(" src=\"", 88121), Tuple.Create("\"", 88189) 5801 5802 #line 1412 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5803 , Tuple.Create(Tuple.Create("", 88127), Tuple.Create<System.Object, System.Int32>(designBaseUrl 5804 5805 #line default 5806 #line hidden 5807 , 88127), false) 5808 , Tuple.Create(Tuple.Create("", 88143), Tuple.Create("assets/js/libraries/filesaver/filesaver.min.js", 88143), true) 5809 ); 5810 5811 WriteLiteral("></script>\r\n <script"); 5812 5813 WriteLiteral(" type=\"text/javascript\""); 5814 5815 WriteAttribute("src", Tuple.Create(" src=\"", 88236), Tuple.Create("\"", 88299) 5816 5817 #line 1413 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5818 , Tuple.Create(Tuple.Create("", 88242), Tuple.Create<System.Object, System.Int32>(designBaseUrl 5819 5820 #line default 5821 #line hidden 5822 , 88242), false) 5823 , Tuple.Create(Tuple.Create("", 88258), Tuple.Create("assets/js/functions/product-collection.js", 88258), true) 5824 ); 5825 5826 WriteLiteral("></script>\r\n "); 5827 5828 WriteLiteral("\r\n\r\n "); 5829 5830 WriteLiteral("\r\n <script"); 5831 5832 WriteLiteral(" type=\"text/javascript\""); 5833 5834 WriteAttribute("src", Tuple.Create(" src=\"", 88519), Tuple.Create("\"", 88580) 5835 5836 #line 1417 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5837 , Tuple.Create(Tuple.Create("", 88525), Tuple.Create<System.Object, System.Int32>(designBaseUrl 5838 5839 #line default 5840 #line hidden 5841 , 88525), false) 5842 , Tuple.Create(Tuple.Create("", 88541), Tuple.Create("assets/js/functions/contact-us-forms.js", 88541), true) 5843 ); 5844 5845 WriteLiteral("></script>\r\n\r\n\r\n "); 5846 5847 WriteLiteral("\r\n <script"); 5848 5849 WriteLiteral(" data-cookieconsent=\"ignore\""); 5850 5851 WriteLiteral(" type=\"text/javascript\""); 5852 5853 WriteAttribute("src", Tuple.Create(" src=\"", 88701), Tuple.Create("\"", 88770) 5854 5855 #line 1421 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5856 , Tuple.Create(Tuple.Create("", 88707), Tuple.Create<System.Object, System.Int32>(designBaseUrl 5857 5858 #line default 5859 #line hidden 5860 , 88707), false) 5861 , Tuple.Create(Tuple.Create("", 88723), Tuple.Create("assets/js/libraries/embla/embla-carousel.umd.js", 88723), true) 5862 ); 5863 5864 WriteLiteral("></script>\r\n <script"); 5865 5866 WriteLiteral(" data-cookieconsent=\"ignore\""); 5867 5868 WriteLiteral(" type=\"text/javascript\""); 5869 5870 WriteAttribute("src", Tuple.Create(" src=\"", 88845), Tuple.Create("\"", 88919) 5871 5872 #line 1422 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5873 , Tuple.Create(Tuple.Create("", 88851), Tuple.Create<System.Object, System.Int32>(designBaseUrl 5874 5875 #line default 5876 #line hidden 5877 , 88851), false) 5878 , Tuple.Create(Tuple.Create("", 88867), Tuple.Create("assets/js/libraries/embla/embla-carousel-fade.umd.js", 88867), true) 5879 ); 5880 5881 WriteLiteral(@"></script> 5882 5883 <!--script src='https://online3.superoffice.com/Cust29133/CS/javascript/chat.js' data-topicId='2' data-title='Chatta med oss!' data-theme='modern' data-color='#0080FF' data-badgeColor='#4f6128' data-badgeTextColor='#ffffff' data-custMsgColor='#dbe5f1' data-custMsgTextColor='#000000' data-agentMsgColor='#c3d69b' data-agentMsgTextColor='#000000' data-buttonColor='#d4d4d4' data-buttonTextColor='' data-font='""Verdana"", ""Gill Sans"", Arial, sans-serif' data-fontSize='12px' data-size='normal' data-delay='1' defer></script--> 5884 "); 5885 5886 WriteLiteral(" "); 5887 5888 5889 #line 1425 "B:\Projects\Hags_Dw915\Files\Templates\Designs\Hags2024\_parsed\default.parsed.cshtml" 5890 Write(SnippetEnd("bodyScripts")); 5891 5892 5893 #line default 5894 #line hidden 5895 WriteLiteral("\r\n\r\n</body>\r\n</html>\r\n\r\n\r\n"); 5896 5897 } 5898 } 5899 } 5900

1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 @using System; 3 @using System.Linq; 4 @using System.Web.Optimization; 5 @using HagsWeb.Library.Methods.Page; 6 @using HagsWeb.Library.State; 7 @using HagsWeb.Library.Utilities; 8 @using Dynamicweb.Content; 9 @using Dynamicweb.Ecommerce.International; 10 11 @{ 12 bool inDev = false; 13 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("http://hagsdw915solution."); 14 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("https://hagsdev.hags."); 15 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("https://hagslang.hags."); 16 inDev = inDev || GetGlobalValue("Global:Request.Url").Contains("https://hagslive.hags."); 17 18 int masterAreaId = int.TryParse(GetGlobalValue("Global:Area.ID"), out masterAreaId) ? masterAreaId : 0; 19 Dynamicweb.Content.Area masterArea = new Dynamicweb.Content.AreaService().GetArea(masterAreaId); 20 21 string themeTag = HagsPages.GetThemeByNavigationTag(GetGlobalValue("Global:Page.Top.ID")); // gets the page ID at the top of the tree this page sits on. 22 string siteNavigation = HagsPages.GetActiveAreas(); 23 string htmlLang = GetGlobalValue("Global:Area.LongLang"); 24 string siteAreaName = @GetString("DwAreaName"); 25 string designBaseUrl = @GetString("Template:DesignBaseUrl"); 26 var unixTimestamp = ((DateTimeOffset)DateTime.UtcNow).ToUnixTimeSeconds(); 27 var jsTimestamp = inDev ? unixTimestamp : 0; 28 string currentUser = @GetString("DW_extranet_AccessUserName"); 29 string userGroups = @GetString("DW_extranet_Groups"); 30 31 var siteFirstPageId = GetString("DwAreaFirstPageID"); // for the Hags Logo url. Go to the WEBSITE home page 32 var thisSiteName = HagsWeb.Library.Methods.Page.HagsPages.GetSiteCountryName(@GetGlobalValue("Global:Area.LongLang"), @GetGlobalValue("Global:Area.Name")); 33 var websites = GetLoop("WebsiteLanguages"); 34 string worldwideContactsLink = DWUtilities.GetPageByNavigationTag("worldwide-contacts", masterAreaId); 35 36 37 38 } 39 <!DOCTYPE html> 40 <html class="no-js" lang="@htmlLang"> 41 <head> 42 <meta charset="utf-8"> 43 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 44 <title>@GetValue("Title")</title> 45 @GetValue("MetaTags") 46 @GetValue("CopyRightNotice") 47 48 49 <meta name="author" content="HAGS @(siteAreaName)"> 50 <link rel="icon" href="@(designBaseUrl)assets/img/favicon.ico" sizes="32x32"> 51 <link rel="icon" href="@(designBaseUrl)assets/img/icon.svg" type="image/svg+xml"> 52 <link rel="apple-touch-icon" href="@(designBaseUrl)assets/img/apple-touch-icon.png"> 53 54 <script>(function (H) { H.className = H.className.replace(/\bno-js\b/, 'js') })(document.documentElement)</script> 55 56 <link rel="preconnect" href="https://cdn.fonts.net"> 57 <link rel="stylesheet" href="@(designBaseUrl)assets/styles/monotype-redux.css"> 58 59 <link rel="stylesheet" href="@(designBaseUrl)assets/styles/reset.css?v=1.1"> 60 <link rel="stylesheet" href="@(designBaseUrl)assets/styles/core.css?ts=@unixTimestamp"> 61 <link rel="stylesheet" href="@(designBaseUrl)assets/styles/nav-mega.css?ts=@unixTimestamp"> 62 <link rel="stylesheet" href="@(designBaseUrl)assets/styles/forms.css?ts=@unixTimestamp"> 63 <link rel="stylesheet" href="@(designBaseUrl)assets/styles/country-rules.css?ts=@unixTimestamp"> 64 65 @if (!inDev) 66 { 67 <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="89c7e0fa-fa61-446d-9c96-866489bcea3c" data-blockingmode="auto" type="text/javascript"></script> 68 } 69 70 @foreach (var language in GetLoop("Languages")) 71 { 72 string pageid = language.GetString("PageID"); 73 string url = string.Empty; 74 string productId = System.Web.HttpContext.Current.Request.QueryString.Get("productid"); 75 if (string.IsNullOrEmpty(productId)) 76 { 77 url = @GetGlobalValue("Global:Request.Scheme") + "://" + language.GetString("PrimaryDomain"); 78 url = url + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("default.aspx?id=" + pageid); 79 } 80 else 81 { 82 string productSystemUrl = "default.aspx?id=" + pageid + "&ProductID=" + productId; 83 string productUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(productSystemUrl); 84 if (!string.IsNullOrEmpty(productUrl)) 85 { 86 url = @GetGlobalValue("Global:Request.Scheme") + "://" + language.GetString("PrimaryDomain") + productUrl; 87 } 88 } 89 if (!string.IsNullOrEmpty(url)) 90 { 91 <link rel="alternate" href='@url' hreflang='@language.GetString("Culture")'> 92 } 93 } 94 95 @* expand these bundles for re-design debugging *@ 96 97 @* Scripts.Render("~/bundle/jquery") *@ 98 @* @Scripts.Render("~/bundle/Validation") *@ 99 100 101 102 @* no need for this? we are not using bootstrap anymore!! /HagsCore/style/libraries/bootstrap-sass/assets/javascripts/bootstrap.min.js *@ 103 @* /HagsCore/style/scss/libraries/bootstrap-sass/assets/javascripts/bootstrap.min.js *@ 104 105 <script type="text/javascript" src="@(designBaseUrl)assets/js/libraries/jquery.min.js" cookieconsent="ignore"></script> 106 <script type="text/javascript" src="@(designBaseUrl)assets/js/libraries/validation/jquery.validate.min.js" cookieconsent="ignore"></script> 107 <script type="text/javascript" src="@(designBaseUrl)assets/js/libraries/validation/additional-methods.min.js" cookieconsent="ignore"></script> 108 <script type="text/javascript" src="@(designBaseUrl)assets/js/functions/hags-global.js?v=1.4.5&ts=@jsTimestamp" cookieconsent="ignore"></script> 109 @*<script type="text/javascript" src="@(designBaseUrl)assets/js/functions/hags-global.js" cookieconsent="ignore"></script>*@ 110 111 @* the future!! HTMX is here *@ 112 <script src="@(designBaseUrl)assets/js/libraries/htmx/htmx.min.js" cookieconsent="ignore"></script> 113 114 <script type="text/javascript" src="@(designBaseUrl)assets/js/functions/h24.js?v=1.4.5&ts=@unixTimestamp" cookieconsent="ignore"></script> 115 116 117 @* this snippet is from the product page template *@ 118 @RenderSnippet("productScripts") 119 120 @* this snippet is from the case studies item listing *@ 121 @RenderSnippet("caseStudyScripts") 122 123 124 @* do not use these for now *@ 125 <!--IncludeFile("Includes/SharpSpringCode.cshtml")--> 126 <!--IncludeFile("Includes/TrailHub_DenmarkCode.cshtml")--> 127 <!-- Start of Sleeknote signup and lead generation tool - www.sleeknote.com --> 128 @if (!inDev) 129 { 130 <script id="sleeknoteScript" type="text/javascript"> 131 (function () { 132 var sleeknoteScriptTag = document.createElement("script"); 133 sleeknoteScriptTag.type = "text/javascript"; 134 sleeknoteScriptTag.charset = "utf-8"; 135 sleeknoteScriptTag.src = ("//sleeknotecustomerscripts.sleeknote.com/60385.js"); 136 var s = document.getElementById("sleeknoteScript"); 137 s.parentNode.insertBefore(sleeknoteScriptTag, s); 138 })(); 139 </script> 140 141 } 142 143 144 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 145 146 @if (!inDev) 147 { 148 <meta name="facebook-domain-verification" content="8vnuupfwjjw7l4g2t44cuzv5c17fa2"> 149 <meta name="p:domain_verify" content="e984d55d650d51a77b5bd78fce401aee"> 150 151 string verificationCode = ""; 152 switch (masterAreaId) 153 { 154 case 1: 155 <!-- Google Analytics Property for Global --> 156 <meta name="google-site-verification" content="SU7OrN2pJAoaHy4QUbJqKRyiRK_pJK_mydVX9HnbAjE"> 157 break; 158 case 2: 159 <!-- Google Analytics Property for Sweden --> 160 <meta name="google-site-verification" content="WMHOYHSUksAhokWvc_pl1xi2eUEIqlSAmqSuPqBuIhw"> 161 break; 162 case 3: 163 <!-- Google Analytics Property for Germany --> 164 <meta name="google-site-verification" content="2FnagwVri1SLEk0f1-cNAMIsqoelzEf6qa64iTOo6A4"> 165 break; 166 case 4: 167 <!-- Google Analytics Property for Denmark --> 168 <meta name="google-site-verification" content="iTdN9SsW-DWo1nPaqZ2_W6c1lKr1KdpIE-9PIa7efD8"> 169 break; 170 case 5: 171 <!-- Google Analytics Property for France --> 172 <meta name="google-site-verification" content="q7sWMD42DhdNcVgQjRvpUnHq6UWvgFfxxN7SWLTjDBs"> 173 break; 174 case 6: 175 <!-- Google Analytics Property for Spain --> 176 <meta name="google-site-verification" content="5l8EU56ZLDtGLgFsyPizPWpK1lt_DAqhcYsgiP_wZ2w"> 177 break; 178 case 7: 179 <!-- Google Analytics Property for UK --> 180 <meta name="google-site-verification" content="VWJFZapvDhxv8eu8eMl66KkAAArEyIG3pa8ZffeAKrg"> 181 break; 182 } 183 184 <!-- Google Tag Manager --> 185 <script> 186 window.dataLayer = window.dataLayer || []; 187 </script> 188 <script type="text/javascript"> 189 (function (w, d, s, l, i) { 190 w[l] = w[l] || []; 191 w[l].push({ 192 'gtm.start': 193 new Date().getTime(), 194 event: 'gtm.js' 195 }); 196 var f = d.getElementsByTagName(s)[0], 197 j = d.createElement(s), 198 dl = l != 'dataLayer' ? '&l=' + l : ''; 199 j.async = true; 200 j.src = 201 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; 202 f.parentNode.insertBefore(j, f); 203 })(window, document, 'script', 'dataLayer', 'GTM-MCRWZS'); 204 </script> 205 <!-- End Google Tag Manager --> 206 <!-- Facebook Pixel Code --> 207 <script type="text/javascript"> 208 !function (f, b, e, v, n, t, s) { 209 if (f.fbq) return; 210 n = f.fbq = function () { 211 n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) 212 }; 213 if (!f._fbq) f._fbq = n; 214 n.push = n; 215 n.loaded = !0; 216 n.version = '2.0'; 217 n.queue = []; 218 t = b.createElement(e); 219 t.async = !0; 220 t.src = v; 221 s = b.getElementsByTagName(e)[0]; 222 s.parentNode.insertBefore(t, s) 223 }(window, 224 document, 225 'script', 226 'https://connect.facebook.net/en_US/fbevents.js'); 227 fbq('init', '271101660030700'); 228 fbq('track', 'PageView'); 229 </script> 230 <!-- End Facebook Pixel Code --> 231 } 232 233 <script type="text/javascript" src="https://cdn.weglot.com/weglot.min.js"></script> 234 <script> 235 Weglot.initialize({ 236 api_key: 'wg_99b6e7269c4b828ebd027c6d488b55500' 237 }); 238 </script> 239 240 @GetValue("Stylesheets") 241 @GetValue("Javascripts") 242 </head> 243 244 <body> 245 @if (!inDev) 246 { 247 <noscript> 248 <!-- Google Tag Manager (noscript) --> 249 <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MCRWZS" height="0" width="0" style="display:none;visibility:hidden"></iframe> 250 <!-- End Google Tag Manager (noscript) --> 251 <!-- Facebook Pixel Code --> 252 <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=271101660030700&ev=PageView&noscript=1"> 253 </noscript> 254 } 255 @* Snippets are rendered last and can be defined in any template *@ 256 @* We are using a snippet (headerClass) here to let a page template define if the header sits on top or is part of the 257 @* document flow. Setting the snippet to an empty string below makes sure it gets rendered as empty and not as a DW comment string *@ 258 @* if a snippetStart/End command is used in another template it is appended to the snippet *@ 259 260 @SnippetStart("headerClass")@("")@SnippetEnd("headerClass") 261 262 <header class="header" data-variant='@RenderSnippet("headerClass")'> 263 264 <div class="header__wrapper"> 265 266 <div class="header__global-nav"> 267 268 <div class="header-logo" itemscope="" itemtype="http://schema.org/Organization"> 269 <a href="Default.aspx?ID=@siteFirstPageId" itemprop="url"> 270 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 362 81" class="hags-logo"><path fill="currentColor" fill-rule="evenodd" d="M311.22.5c9.399 0 16.725 3.168 18.555 3.168.862 0 1.596-.243 2.697-1.338h2.558l2.318 19.692h-4.876c-2.697-9.846-10.513-16.292-19.911-16.292-6.837 0-11.97 3.65-11.97 8.39 0 11.187 20.279 13.258 33.958 26.873 5.004 4.986 6.951 10.214 6.951 16.05 0 12.648-11.47 22.618-26.006 22.618-9.77 0-18.687-3.888-20.887-3.888-1.1 0-1.952.611-2.562 1.947h-3.178L285.82 55.59v-.002h4.757c4.029 12.031 11.236 18.237 20.88 18.237 8.059 0 14.17-5.11 14.17-11.917 0-18.122-39.204-17.509-39.204-41.586C286.423 8.645 296.681.5 311.22.5Zm-75.498 0c7.426 0 13.874 1.484 18.765 2.7l.801.2c3.013.755 5.377 1.361 6.941 1.361 1.825 0 2.814-.492 3.66-1.586h3.055v22.253h-4.89c-3.29-12.4-12.575-19.7-25.28-19.7-17.337 0-29.31 13.622-29.31 33.318 0 19.946 12.584 34.778 29.56 34.778 4.638 0 9.77-1.215 13.068-3.157V53.883c0-6.078-2.561-7.419-15.022-7.662v-4.617h40.55v4.617h-.001c-6.474.124-8.675 2.068-8.675 7.662v18.12c-8.795 4.011-21.364 7.656-31.877 7.656-30.898 0-45.805-17.146-45.805-40.488C191.264 16.916 209.71.5 235.722.5ZM39.705 2.33v4.74h-1.712c-6.351 0-9.526 2.066-9.526 8.878v19.086h40.301V16.31c0-6.808-2.685-9.24-9.77-9.24h-1.1V2.33h39.083v4.74h-2.203c-6.223 0-9.156 2.308-9.156 8.878v48.153c0 6.318 2.322 9.116 9.403 9.116h1.956v4.74H57.899v-4.742h1.708c6.476 0 9.161-2.796 9.161-9.364V42.21h-40.3V64.1c0 6.445 2.565 9.117 9.4 9.117h1.837v4.74H.5v-4.742h2.073c6.235 0 9.04-2.796 9.04-8.873V15.948c0-6.08-2.685-8.878-9.156-8.878H.5V2.33h39.205ZM154.04.5l24.433 61.772c3.175 8.026 5.857 10.452 12.208 10.943v4.741h-39.693v-4.741h4.271c7.451 0 8.551-3.282 6.11-9.238l-5.741-14.107h-26.752l.005.003-5.125 14.226c-2.2 6.2-2.07 9.116 9.65 9.116h1.586v4.741h-32.37v-4.741h1.837c5.858 0 8.912-2.67 11.966-11.182L137.313 4.03 135.967.5h18.073ZM141.59 14.733l-10.26 28.448h21.492L141.59 14.733ZM352.674 2.62c1.114 0 2.164.213 3.148.64a8.412 8.412 0 0 1 2.58 1.726 8.042 8.042 0 0 1 1.743 2.562c.427.984.64 2.034.64 3.148a7.702 7.702 0 0 1-.64 3.131 8.097 8.097 0 0 1-1.743 2.544 8.158 8.158 0 0 1-2.58 1.708 8.02 8.02 0 0 1-3.148.623 8.02 8.02 0 0 1-3.15-.623 8.158 8.158 0 0 1-2.579-1.708 8.097 8.097 0 0 1-1.743-2.544 7.702 7.702 0 0 1-.64-3.13c0-1.115.213-2.165.64-3.15a8.042 8.042 0 0 1 1.743-2.561 8.412 8.412 0 0 1 2.58-1.726 7.827 7.827 0 0 1 3.149-.64Zm0 1.245c-.95 0-1.839.178-2.669.534a6.854 6.854 0 0 0-2.17 1.459 6.854 6.854 0 0 0-1.459 2.17 6.702 6.702 0 0 0-.533 2.668c0 .925.177 1.803.533 2.633a7.07 7.07 0 0 0 1.459 2.188 6.71 6.71 0 0 0 2.17 1.477c.83.356 1.72.534 2.669.534.948 0 1.838-.178 2.668-.534a6.71 6.71 0 0 0 2.17-1.477 7.07 7.07 0 0 0 1.46-2.188c.355-.83.533-1.708.533-2.633 0-.948-.178-1.838-.534-2.668a6.854 6.854 0 0 0-1.459-2.17 6.854 6.854 0 0 0-2.17-1.46 6.702 6.702 0 0 0-2.668-.533Zm.035 2.242.318.009c.316.017.625.062.928.133a3.3 3.3 0 0 1 1.085.463c.32.213.575.486.765.818.19.332.284.747.284 1.245 0 .664-.19 1.204-.569 1.619-.38.415-.89.694-1.53.836l2.455 3.985h-1.992l-2.135-3.807h-1.174v3.807h-1.637V6.107h3.202Zm-.07 1.387h-1.495v2.598h1.316a3.48 3.48 0 0 0 1.352-.267c.427-.178.64-.54.64-1.085 0-.499-.195-.83-.586-.997-.392-.166-.801-.249-1.228-.249Z"></path></svg> 271 </a> 272 </div> 273 274 275 <div class="header__actions" data-username="@currentUser"> 276 277 <ul role="list" class="actions-list"> 278 279 <li class="actions-list__item"> 280 <button class="header__action-btn js-action-btn" data-target="search-panel"> 281 <span class="visually-hidden">Search</span> 282 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 212 212" class="actions-list__icon"><path fill="currentColor" fill-rule="nonzero" d="M57.43 124.386a69.002 69.002 0 0 0 41.078 19.062l1.126 65.068 16.64-.293-1.126-65.068c32.015-4.457 56.718-30.428 59.57-62.625 2.85-32.197-16.906-62.091-47.641-72.086-30.735-9.994-64.306 2.559-80.952 30.27-16.646 27.71-11.958 63.24 11.305 85.672Zm84.54-87.151c20.857 20.141 21.437 53.377 1.295 74.235-20.141 20.857-53.377 21.437-74.235 1.295-20.857-20.141-21.437-53.377-1.295-74.235 20.141-20.857 53.377-21.437 74.235-1.295Z"></path></svg> 283 </button> 284 </li> 285 286 <li class="actions-list__item"> 287 <button class="header__action-btn js-action-btn" data-target="country-select-panel"> 288 <span class="visually-hidden">Choose Location</span> 289 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 212 212" class="actions-list__icon"><g fill="currentColor" fill-rule="nonzero"><path d="M106 3C64.446 3 32 34.472 32 74.528c0 8.87 3.415 26.608 9.108 39.483 18.5 42.63 58.915 90.983 60.623 92.986 1.138 1.43 2.561 2.003 4.269 2.003 1.708 0 3.13-.858 4.27-2.003 1.707-2.003 42.122-50.355 60.622-92.986C176.585 101.136 180 83.397 180 74.528 180 34.472 147.554 3 106 3Zm54.362 106.433C146.13 142.336 117.1 180.39 106 194.123c-11.1-13.734-40.13-51.787-54.362-84.69-5.123-11.158-8.253-27.18-8.253-34.905 0-33.761 27.607-60.084 62.615-60.084s62.615 26.323 62.615 60.084c0 7.725-3.13 23.747-8.253 34.905Z"></path><path d="M106 37.333c-21.915 0-39.846 18.025-39.846 40.056 0 22.03 17.93 40.055 39.846 40.055 21.915 0 39.846-18.025 39.846-40.055S127.916 37.333 106 37.333ZM106 106c-15.654 0-28.462-12.875-28.462-28.611S90.346 48.778 106 48.778s28.462 12.875 28.462 28.61C134.462 93.126 121.654 106 106 106Z"></path></g></svg> 290 </button> 291 </li> 292 293 <li class="actions-list__item"> 294 <button class="header__action-btn js-action-btn" data-target="collection-panel"> 295 <span class="visually-hidden">Product Collections</span> 296 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 212 212" class="actions-list__icon"><path fill="currentColor" fill-rule="nonzero" d="M183.337 75.733c-.856-10.588-9.716-18.735-20.325-18.67h-20.475V39.663A36.668 36.668 0 0 0 124.24 7.914a36.552 36.552 0 0 0-36.611 0 36.667 36.667 0 0 0-18.297 31.748v17.402H48.857c-10.6-.047-19.45 8.09-20.307 18.669l-9.474 111.102a20.462 20.462 0 0 0 5.277 15.557A20.368 20.368 0 0 0 39.373 209h133.244a20.369 20.369 0 0 0 15.02-6.608 20.433 20.433 0 0 0 5.287-15.557l-9.587-111.102Zm-101.6-35.968c0-13.385 10.832-24.234 24.196-24.234 13.363 0 24.196 10.85 24.196 24.234v17.402H81.736V39.765Zm96.788 154.231a7.923 7.923 0 0 1-5.882 2.48H39.253a7.94 7.94 0 0 1-5.883-2.582 7.994 7.994 0 0 1-2.066-6.087l9.577-111.102h.009a7.948 7.948 0 0 1 7.966-7.215H69.36v15.78l-.01.01a6.209 6.209 0 0 0 6.208 6.208 6.209 6.209 0 0 0 6.208-6.208V69.49h48.393v15.79a6.2 6.2 0 0 0 6.198 6.208 6.203 6.203 0 0 0 6.208-6.208V69.49h20.446a7.958 7.958 0 0 1 7.948 7.308l9.576 111.103a7.935 7.935 0 0 1-2.038 6.095h.029Z"></path></svg> 297 </button> 298 </li> 299 300 <li class="actions-list__item"> 301 <button class="header__action-btn js-action-btn" data-target="hags-connect-panel"> 302 <span class="visually-hidden">HAGS Connect</span> 303 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 212 212" class="actions-list__icon"><path fill="currentColor" fill-rule="evenodd" d="M149.316 21.1C137.27 9.035 122.73 3 105.693 3 88.657 3 74.116 9.034 62.069 21.1 50.023 33.169 44 47.735 44 64.8c0 21.725 8.676 38.55 26.026 50.477l-12.248 85.885c-.267 1.877.167 3.574 1.302 5.091 1.136 1.517 2.641 2.41 4.515 2.678a7.13 7.13 0 0 0 .97.069h82.256c1.893 0 3.508-.67 4.847-2.011 1.339-1.341 2.008-2.96 2.008-4.856a6.78 6.78 0 0 0-.069-.97l-12.248-85.886c17.351-11.926 26.026-28.752 26.026-50.477 0-17.066-6.023-31.632-18.069-43.7Zm-10.398 174.167-11.753-82.409a6.73 6.73 0 0 1 .595-3.916 6.713 6.713 0 0 1 2.654-2.936c15.508-9.36 23.262-23.094 23.262-41.206 0-13.273-4.685-24.603-14.054-33.988-9.37-9.386-20.68-14.079-33.93-14.079s-24.56 4.693-33.928 14.079c-9.37 9.385-14.055 20.715-14.055 33.988 0 18.112 7.755 31.847 23.263 41.206a6.713 6.713 0 0 1 2.654 2.936 6.73 6.73 0 0 1 .594 3.916l-11.752 82.409h66.45Z"></path></svg> 304 </button> 305 </li> 306 307 <li class="actions-list__item" id="menu-panel-icon"> 308 <button class="header__action-btn js-action-btn" data-target="nav-panel"> 309 <span class="visually-hidden">Menu</span> 310 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 212 212" class="actions-list__icon"><path d="M166.435 62H45.558C41.386 62 38 57.294 38 51.495S41.386 41 45.558 41h120.884c4.18 0 7.558 4.706 7.558 10.505-.007 5.799-3.386 10.495-7.565 10.495ZM173 106.5c0-5.796-3.379-10.5-7.558-10.5H44.558C40.386 96 37 100.704 37 106.5s3.386 10.5 7.558 10.5h120.891c4.172 0 7.551-4.704 7.551-10.5Zm0 54c0-5.806-3.379-10.5-7.558-10.5H44.558C40.386 150 37 154.694 37 160.5s3.386 10.5 7.558 10.5h120.891c4.172 0 7.551-4.694 7.551-10.5Z" fill="currentColor" fill-rule="nonzero"></path></svg> 311 </button> 312 </li> 313 314 </ul> 315 316 @helper renderSearch(Dynamicweb.Content.Area masterArea) 317 { 318 319 string searchPageUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetInteger("DwAreaSearchPageID")); 320 string langCode = @GetGlobalValue("Global:Area.LongLang"); 321 string searchId = @GetString("DwAreaSearchPageID"); 322 string searchTranslate = Translate("Search", "Search"); 323 string testHtmx = System.Web.HttpContext.Current.Request["htmx"]; 324 string weglotLang = System.Web.HttpContext.Current.Request.Headers["weglot-language"]; 325 string urlLang = weglotLang != "" ? "/" + weglotLang : ""; 326 //ignore the default en code 327 urlLang = weglotLang == "en" ? "" : urlLang; 328 329 <form id="search-box" name="searchBox" action="Default.aspx" method="get"> 330 <div class="form-group flow-s"> 331 <input type="hidden" name="ID" value="@searchId"> 332 <input type="hidden" id="search-advanced-culture" value="@langCode"> 333 <input type="hidden" id="search-advanced-resultsurl" value="@searchPageUrl"> 334 <input type="hidden" id="Searchtype" value=""> 335 <input type="hidden" id="search-advanced-pageAreaId" value="@(masterArea.ID)"> 336 <input type="hidden" id="search-advanced-pagelanguage" name="areaLanguage" value="LANG1"> 337 338 339 <label for="InputSearch"><h5>@(searchTranslate)</h5></label> 340 341 <!--input type="search" name="q" class="form-control" id="InputSearch" maxlength="45" placeholder="@(searchTranslate) HAGS" onkeyup="return forceLower(this);" autocomplete="off" /--> 342 @if ( true ) { 343 <p data-weglot="@weglotLang"> 344 <input type="search" id="InputSearch" name="q" placeholder="@(searchTranslate) HAGS" hx-get="@(urlLang)/snippets/suggestions?areaLanguage=LANG1" hx-params="q" hx-trigger="input[this.value.length > 3] changed delay:300ms, input[this.value.length == 0] " hx-target="#search-suggest"> 345 </p> 346 } 347 348 <button>@Translate("Go", "Go")</button> 349 </div> 350 </form> 351 352 <div class="header__action-area"> 353 <ul class="flow-xs" role="list" id="search-suggest"></ul> 354 </div> 355 } 356 357 <div class="header__action-panel" id="search-panel"> 358 <button class="header__action-btn header__action-btn--close js-panel-close"> 359 <span class="visually-hidden">Close</span> 360 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 361 </button> 362 <div class="header__action-copy flow-s"> 363 @renderSearch(masterArea) 364 </div> 365 </div> 366 367 368 @*if ( currentUser == "Kevin Lees" || currentUser == "Ian Mckay" )*@ 369 @if ( true ) 370 { 371 <div class="header__action-panel" id="hags-connect-panel"> 372 373 <button class="header__action-btn header__action-btn--close js-panel-close"> 374 <span class="visually-hidden">Close</span> 375 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 376 </button> 377 @{ 378 string thisPageID = @GetGlobalValue("Global:Page.ID"); 379 string hagsConnectTitle = @Translate("HAGS Connect", "HAGS Connect"); 380 } 381 382 <div class="header__action-copy flow-s"> 383 384 <h5>@hagsConnectTitle</h5> 385 386 <p>@Translate("HAGSConnectIntro", "A brief block of introductory copy about HAGS Connect.")</p> 387 388 @if (!String.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 389 { 390 391 <p> 392 <strong>@Translate("Welcome", "Welcome"), @GetGlobalValue("Global:Extranet.FirstName")</strong> 393 </p> 394 395 @RenderNavigation(new{ 396 ParentTag = "MyHags", 397 Template = "simple-nav.xslt" 398 }) 399 400 <ul role="list" class="icon-list"> 401 <li> 402 <a href="/admin/Public/ExtranetLogOff.aspx?ID=@thisPageID"> 403 <img src="@(designBaseUrl)assets/svg-icons/connect/logout-icon-2.svg"> 404 <span>@Translate("SignOut", "Sign Out")</span> 405 </a> 406 </li> 407 </ul> 408 409 410 411 } 412 else 413 { 414 if (Dynamicweb.Configuration.SystemConfiguration.Instance.GetBoolean("/Globalsettings/System/MyHags/SSOLoginActive")) 415 { 416 <a href="/Admin/Public/Social/ExternalLogin.aspx?action=login&amp;providerID=3">HAGS Connect Login</a> 417 } 418 } 419 420 </div> 421 </div> 422 } 423 424 425 @helper renderCountryList(string outputElement = "list") 426 { 427 // create a list of 'anonymous' objects to hold the weglot sites - move to site config at some point 428 var allCountries = new List<object> 429 { 430 new { Url = "https://hagsdev.hags.com", Image = "globe.svg", Title = "Global", Active = true }, 431 new { Url = "be-nl", Image = "be.svg", Title = "Belgium (Flemish)", Active = true }, 432 new { Url = "be-fr", Image = "be.svg", Title = "Belgium (French)", Active = true }, 433 new { Url = "zh", Image = "cn.svg", Title = "China", Active = true }, 434 new { Url = "hr", Image = "hr.svg", Title = "Croatia", Active = true }, 435 new { Url = "https://hags.dk/", Image = "dk.svg", Title = "Denmark", Active = true }, 436 new { Url = "et", Image = "ee.svg", Title = "Estonia", Active = true }, 437 new { Url = "fi", Image = "fi.svg", Title = "Finland", Active = true }, 438 new { Url = "fr", Image = "fr.svg", Title = "France", Active = true }, 439 new { Url = "de", Image = "de.svg", Title = "Germany", Active = true }, 440 new { Url = "hu", Image = "hu.svg", Title = "Hungary", Active = true }, 441 new { Url = "it", Image = "it.svg", Title = "Italy", Active = true}, 442 new { Url = "ja", Image = "jp.svg", Title = "Japan", Active = true}, 443 new { Url = "lv", Image = "lv.svg", Title = "Latvia", Active = true}, 444 new { Url = "nl", Image = "nl.svg", Title = "Netherlands", Active = true }, 445 new { Url = "no", Image = "no.svg", Title = "Norway", Active = true }, 446 new { Url = "pl", Image = "pl.svg", Title = "Poland", Active = true }, 447 new { Url = "sa", Image = "rs.svg", Title = "Serbia", Active = true }, 448 new { Url = "ko", Image = "kr.svg", Title = "South Korea", Active = true }, 449 new { Url = "es", Image = "es.svg", Title = "Spain", Active = true }, 450 new { Url = "https://hags.se/", Image = "se.svg", Title = "Sweden", Active = true }, 451 new { Url = "ch-de", Image = "ch.svg", Title = "Switzerland (German)", Active = true }, 452 new { Url = "tr", Image = "tr.svg", Title = "Turkey", Active = true}, 453 new { Url = "https://hags.co.uk/", Image = "gb.svg", Title = "United Kingdom", Active = true } 454 }; 455 456 // sort the list - the getType etc.. is because it's anonymous 457 //var sortedList = allCountries.OrderBy(item => item.GetType().GetProperty("Title").GetValue(item)).ToList(); 458 var sortedList = allCountries; 459 460 if ( outputElement == "list" ) 461 { 462 463 <ul class="icon-list" role="list"> 464 @foreach (var thisCountry in sortedList) 465 { 466 var thisActive = thisCountry.GetType().GetProperty("Active").GetValue(thisCountry); 467 var thisImage = thisCountry.GetType().GetProperty("Image").GetValue(thisCountry); 468 var thisTitle = thisCountry.GetType().GetProperty("Title").GetValue(thisCountry); 469 var thisUrl = thisCountry.GetType().GetProperty("Url").GetValue(thisCountry); 470 bool isActive = Convert.ToBoolean(thisActive); 471 472 if (isActive) 473 { 474 if ( thisTitle == "Global" ) { 475 <li> 476 <a href="@thisUrl" data-wg-notranslate=""> 477 <img src="/Files/Templates/Designs/Hags2024/icons/flags/@thisImage" alt="@thisTitle"> 478 <span data-wg-translate="">@thisTitle</span> 479 </a> 480 </li> 481 } 482 else 483 { 484 <li> 485 <a href="@thisUrl"> 486 <img src="/Files/Templates/Designs/Hags2024/icons/flags/@thisImage" alt="@thisTitle"> 487 <span>@thisTitle</span> 488 </a> 489 </li> 490 } 491 492 } 493 } 494 </ul> 495 } 496 } 497 498 499 500 501 <div class="header__action-panel" id="country-select-panel"> 502 503 <button class="header__action-btn header__action-btn--close js-panel-close"> 504 <span class="visually-hidden">Close</span> 505 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 506 </button> 507 <div class="header__action-copy flow-s"> 508 <h5>@Translate("SelectYourLocation", "Select your location")</h5> 509 <div class="header__action-area"> 510 @renderCountryList("list") 511 </div> 512 </div> 513 </div> 514 515 516 517 @using System; 518 @using System.Collections.Generic; 519 @using System.Linq; 520 @using Dynamicweb.Ecommerce.Variants; 521 @using HagsWeb.Library.BusinessObjects.UsersLists; 522 @using HagsWeb.Library.Methods.AssetManager; 523 @using HagsWeb.Library.Methods.ProductProperties; 524 @using HagsWeb.Library.State; 525 526 527 @helper renderMyCollectionPanel() 528 { 529 530 Dynamicweb.Frontend.PageView collectionPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 531 Dynamicweb.Content.Area collectionArea = new Dynamicweb.Content.AreaService().GetArea(collectionPage.AreaID); 532 533 List<ProductCollectionItem> productCollectionItems = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection : new List<ProductCollectionItem>(); 534 535 bool isQuote = Convert.ToBoolean(collectionArea.Item["QuoteAndOrderChk"]); 536 bool isCatalog = true; // Always available; 537 string downloadingText = HagsWeb.Library.Utilities.DWUtilities.GetTranslation("Downloading...", "Downloading...", collectionArea.Culture); 538 int currentPage = collectionArea.ID; 539 string currentCollection = Dynamicweb.Context.Current.Request.QueryString.Get("collection"); 540 bool isLoggedIn = String.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) ? false : true; 541 string designBaseUrl = GetString("Template:DesignBaseUrl"); 542 543 List<ProductAsset> imageFileList = new List<ProductAsset>(); 544 List<ProductAsset> dwgFileList = new List<ProductAsset>(); 545 List<ProductAsset> instructionsFileList = new List<ProductAsset>(); 546 string contactUsLink = HagsWeb.Library.Utilities.DWUtilities.GetPageByNavigationTag("ContactUs", currentPage); // /kontakta-oss?mode=quote#contactForms // /kontakta-oss?success=True&mode=quote#contactForms // restful url 547 548 string printShout = Translate("SaveOrPrint", "Save or Print your Product PDF "); 549 string altCopy = @Translate("RemoveFromCollection", "Remove from my collection"); 550 string removeCopy = @Translate("RemoveFromCollection", "Remove from my collection"); 551 552 <div class="collection flow"> 553 554 <input type="hidden" id="isQuote" value="@isQuote"> 555 <input type="hidden" id="downloadingText" value="@downloadingText"> 556 <input type="hidden" id="collectionCount" value="@productCollectionItems.Count"> 557 558 <div id="instns_MyProductCollection" class="flow-xs"> 559 @if (productCollectionItems.Any() || !string.IsNullOrEmpty(currentCollection)) 560 { 561 <p>@Translate("ProductCollectionButtonInstructionsNew", "Go to <strong>My Collection</strong> to download files, create quotes or print a product catalogue.")</p> 562 <a class="btn btn--outline" href="/my-collection">@Translate("MyCollection", "My Collection")</a> 563 } 564 else 565 { 566 <p>@Translate("product-collection-instructions-copy-new", "To add a product simply click on <strong>Add to my collection</strong> on any product page. Once you have added products to a collection you will be able to print a product catalogue, download installation guides, images and DWG files or request a quote.")</p> 567 568 } 569 </div> 570 571 <div class="collection__ui"> 572 573 <div class="main-panel"> 574 575 <div class="panel-listing" id="prods_MyProductCollection"> 576 577 @if (productCollectionItems.Any()) 578 { 579 foreach (ProductCollectionItem item in productCollectionItems) 580 { 581 <div class="product-card collection__item"> 582 583 <div class="product-card__actions in-collection"> 584 585 <button type="button" class="action-btn" data-removeproductlist="@(item.ProductNumber)"> 586 <span class="visually-hidden">@removeCopy</span> 587 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 212 212" class="h24-icon h24-icon--minus"><path fill="currentColor" fill-rule="evenodd" d="M106 6c55.193 0 100 44.807 100 100s-44.807 100-100 100S6 161.193 6 106 50.807 6 106 6Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C21.936 56.207 11.333 79.875 11.333 106c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C155.793 21.936 132.125 11.333 106 11.333Zm28.772 87.504a6.5 6.5 0 0 1 6.5 6.5v1a6.5 6.5 0 0 1-6.5 6.5h-57a6.5 6.5 0 0 1-6.5-6.5v-1a6.5 6.5 0 0 1 6.5-6.5h57Z"></path></svg> 588 </button> 589 590 </div> 591 592 <div class="product-card__img-silo"> 593 594 @if (item.ProductImageUrl != null && !String.IsNullOrEmpty(item.ProductUrlReference)) 595 { 596 <a href="@item.ProductUrlReference"> 597 <img src="@item.ProductImageUrl"> 598 </a> 599 } 600 else 601 { 602 <a href="@item.ProductUrlReference" class="product-card__missing"> 603 <img src="@(designBaseUrl)assets/img/h24-see-saw.svg"> 604 <span>No Image Available</span> 605 </a> 606 } 607 608 </div> 609 610 <div class="product-card__copy"> 611 612 <p class="product-card__heading"> 613 <a href="@item.ProductUrlReference">@(item.ProductName)</a> 614 </p> 615 616 <p>@item.ProductNumber</p> 617 618 @if (!string.IsNullOrEmpty(item.ProductVariantId)) 619 { 620 Tuple<string, string, string, string, string, string, List<VariantOption>> optionsTuple = ProductFieldValues.GetProductOptions(item.ProductVariantId, collectionArea.EcomLanguageId); 621 622 //optionsTuple.Item1; "Red" 623 //optionsTuple.Item2; "Above Ground" 624 //optionsTuple.Item3; "Wooden Post" 625 //optionsTuple.Item4; "Wooden Post / HPL Panels" 626 //optionsTuple.Item5; "A310.png" 627 //optionsTuple.Item6; "A310-diagram.png" 628 //optionsTuple.Item7; List<VariantOption> Not used here 629 630 } 631 632 </div> 633 634 </div> 635 } 636 } 637 638 </div> 639 640 </div> 641 642 </div> <!-- collection__iu end --> 643 644 <div class="cluster"> 645 @if (productCollectionItems.Any()) 646 { 647 foreach (var item in productCollectionItems) 648 { 649 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Images) && n.FileName == item.ProductNumber + ".jpg" || n.FileName == item.ProductNumber + "_Side.jpg" || n.FileName == item.ProductNumber + "_Top.jpg").ToList()) 650 { 651 imageFileList.Add(asset); 652 } 653 654 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Drawings)).ToList()) 655 { 656 dwgFileList.Add(asset); 657 } 658 659 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.AssemblyInstructions)).ToList()) 660 { 661 instructionsFileList.Add(asset); 662 } 663 } 664 665 <button class="btn btn--warn" type="button" data-removeproductlist="All">@Translate("RemoveAll", "Remove All")</button> 666 } 667 668 </div> 669 670 @if (isLoggedIn && productCollectionItems.Any()) 671 { 672 <div id="panelcollectiondetails" class="flow-xs"> 673 <h5><strong>@Translate("Save collection?", "Save collection?")</strong></h5> 674 <p>@Translate("You are logged in", "You are currently logged in to HAGS Connect so you can save this collection to your account.")</p> 675 <button class="btn btn--outline" role="button" data-open-modal="#saveCollection">@Translate("Save collection", "Save this Collection")</button> 676 </div> 677 } 678 else 679 { 680 if (!isLoggedIn && productCollectionItems.Any()) 681 { 682 <div id="panelcollectiondetails" class="flow-xs"> 683 <h5><strong>@Translate("Save collection?", "Save collection?")</strong></h5> 684 <p>@Translate("To save login", "To save this collection into your HAGS Connect simply login using the button below.")</p> 685 <a class="btn btn--outline" href="/Admin/Public/Social/ExternalLogin.aspx?action=login&amp;providerID=3">HAGS Connect Login</a> 686 </div> 687 } 688 } 689 690 </div> <!-- collection end --> 691 } 692 693 694 695 696 697 698 699 700 701 702 703 704 705 <div class="header__action-panel" id="collection-panel"> 706 707 <button class="header__action-btn header__action-btn--close js-panel-close"> 708 <span class="visually-hidden">Close</span> 709 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 710 </button> 711 712 <div class="header__action-copy flow-s"> 713 714 <h5>@Translate("MyProductCollection", "My Product Collection")</h5> 715 716 <div class="header__action-area" id="" hx-get="snippets/my-collection-panel" hx-trigger="collectionChange from:document"> 717 718 @renderMyCollectionPanel() 719 720 </div> 721 722 </div> 723 724 </div> 725 726 727 <div class="header__action-panel" id="search-panel"> 728 <button class="header__action-btn header__action-btn--close js-panel-close"> 729 <span class="visually-hidden">Close</span> 730 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 731 </button> 732 <div class="header__action-copy flow-s"> 733 @renderSearch(masterArea) 734 </div> 735 </div> 736 737 <div class="header__action-panel" id="nav-panel"> 738 <button class="header__action-btn header__action-btn--close js-panel-close"> 739 <span class="visually-hidden">Close</span> 740 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 741 </button> 742 <div class="header__action-area"> 743 @RenderSnippet("navigation") 744 </div> 745 </div> 746 747 </div> 748 749 </div> 750 751 752 <div class="header__local-nav"> 753 754 @SnippetStart("navigation") 755 <nav class="nav"> 756 <!--button id="menu-toggle" class="menu-toggle menu-toggle--main" aria-expanded="false" aria-controls="main-nav"> 757 <div class="menu-toggle__box"> 758 <div class="menu-toggle__lines"></div> 759 </div> 760 <span class="visually-hidden">Menu</span> 761 </button--> 762 @GetValue("DwNavigation(mainnav)") 763 </nav> 764 @SnippetEnd("navigation") 765 766 @RenderSnippet("navigation") 767 768 @* This snippet generates the product listing links on levels 4 and 5 of the site *@ 769 @* In a snippet because these xslt built fuckers are only processed on PAGE templates not paragraph templates *@ 770 @* The snippet is then included in the relevant PARAGRAPH template *@ 771 772 @SnippetStart("nextLevelNav") 773 <section> 774 <div class="wrapper"> 775 @GetValue("DwNavigation(productlistingnav)") 776 </div> 777 </section> 778 @SnippetEnd("nextLevelNav") 779 780 </div></div></header> 781 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 782 783 784 785 <main class="flow-page" id="content">@GetValue("DwContent(content)")</main> 786 @if (GetLoop("Item.Area.Accreditation_Images").Count() > 0) 787 { 788 <section class="creds"> 789 <div class="wrapper"> 790 <ul class="creds__list" role="list"> 791 <!-- Accreditation Carousel items --> 792 @foreach (var item in @GetLoop("Item.Area.Accreditation_Images")) 793 { 794 var imageUrl = item.GetString("Item.Area.Accreditation_Images.Image"); 795 var imageAlt = item.GetString("Item.Area.Accreditation_Images.Alternative_Text"); 796 string imageLink = item.GetString("Item.Area.Accreditation_Images.Link"); 797 var imageTitle = item.GetString("Item.Area.Accreditation_Images.Title"); 798 799 if (!string.IsNullOrWhiteSpace(imageLink)) 800 { 801 <li class="creds__item"> 802 <a href="@imageLink"> 803 <img class="creds__img" src="@imageUrl" alt="@imageAlt"> 804 </a> 805 </li> 806 } 807 else 808 { 809 <li class="creds__item"> 810 <img class="creds__img" src="@imageUrl" alt="@imageAlt" class="img-responsive"> 811 </li> 812 } 813 814 } 815 </ul> 816 </div> 817 </section> 818 } 819 820 <footer class="footer"> 821 <div class="inner-wrapper"> 822 823 <div class="footer__logo" itemscope="" itemtype="http://schema.org/Organization"> 824 <a href="Default.aspx?ID=@siteFirstPageId" itemprop="url"> 825 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 362 81" class="hags-logo"><path fill="currentColor" fill-rule="evenodd" d="M311.22.5c9.399 0 16.725 3.168 18.555 3.168.862 0 1.596-.243 2.697-1.338h2.558l2.318 19.692h-4.876c-2.697-9.846-10.513-16.292-19.911-16.292-6.837 0-11.97 3.65-11.97 8.39 0 11.187 20.279 13.258 33.958 26.873 5.004 4.986 6.951 10.214 6.951 16.05 0 12.648-11.47 22.618-26.006 22.618-9.77 0-18.687-3.888-20.887-3.888-1.1 0-1.952.611-2.562 1.947h-3.178L285.82 55.59v-.002h4.757c4.029 12.031 11.236 18.237 20.88 18.237 8.059 0 14.17-5.11 14.17-11.917 0-18.122-39.204-17.509-39.204-41.586C286.423 8.645 296.681.5 311.22.5Zm-75.498 0c7.426 0 13.874 1.484 18.765 2.7l.801.2c3.013.755 5.377 1.361 6.941 1.361 1.825 0 2.814-.492 3.66-1.586h3.055v22.253h-4.89c-3.29-12.4-12.575-19.7-25.28-19.7-17.337 0-29.31 13.622-29.31 33.318 0 19.946 12.584 34.778 29.56 34.778 4.638 0 9.77-1.215 13.068-3.157V53.883c0-6.078-2.561-7.419-15.022-7.662v-4.617h40.55v4.617h-.001c-6.474.124-8.675 2.068-8.675 7.662v18.12c-8.795 4.011-21.364 7.656-31.877 7.656-30.898 0-45.805-17.146-45.805-40.488C191.264 16.916 209.71.5 235.722.5ZM39.705 2.33v4.74h-1.712c-6.351 0-9.526 2.066-9.526 8.878v19.086h40.301V16.31c0-6.808-2.685-9.24-9.77-9.24h-1.1V2.33h39.083v4.74h-2.203c-6.223 0-9.156 2.308-9.156 8.878v48.153c0 6.318 2.322 9.116 9.403 9.116h1.956v4.74H57.899v-4.742h1.708c6.476 0 9.161-2.796 9.161-9.364V42.21h-40.3V64.1c0 6.445 2.565 9.117 9.4 9.117h1.837v4.74H.5v-4.742h2.073c6.235 0 9.04-2.796 9.04-8.873V15.948c0-6.08-2.685-8.878-9.156-8.878H.5V2.33h39.205ZM154.04.5l24.433 61.772c3.175 8.026 5.857 10.452 12.208 10.943v4.741h-39.693v-4.741h4.271c7.451 0 8.551-3.282 6.11-9.238l-5.741-14.107h-26.752l.005.003-5.125 14.226c-2.2 6.2-2.07 9.116 9.65 9.116h1.586v4.741h-32.37v-4.741h1.837c5.858 0 8.912-2.67 11.966-11.182L137.313 4.03 135.967.5h18.073ZM141.59 14.733l-10.26 28.448h21.492L141.59 14.733ZM352.674 2.62c1.114 0 2.164.213 3.148.64a8.412 8.412 0 0 1 2.58 1.726 8.042 8.042 0 0 1 1.743 2.562c.427.984.64 2.034.64 3.148a7.702 7.702 0 0 1-.64 3.131 8.097 8.097 0 0 1-1.743 2.544 8.158 8.158 0 0 1-2.58 1.708 8.02 8.02 0 0 1-3.148.623 8.02 8.02 0 0 1-3.15-.623 8.158 8.158 0 0 1-2.579-1.708 8.097 8.097 0 0 1-1.743-2.544 7.702 7.702 0 0 1-.64-3.13c0-1.115.213-2.165.64-3.15a8.042 8.042 0 0 1 1.743-2.561 8.412 8.412 0 0 1 2.58-1.726 7.827 7.827 0 0 1 3.149-.64Zm0 1.245c-.95 0-1.839.178-2.669.534a6.854 6.854 0 0 0-2.17 1.459 6.854 6.854 0 0 0-1.459 2.17 6.702 6.702 0 0 0-.533 2.668c0 .925.177 1.803.533 2.633a7.07 7.07 0 0 0 1.459 2.188 6.71 6.71 0 0 0 2.17 1.477c.83.356 1.72.534 2.669.534.948 0 1.838-.178 2.668-.534a6.71 6.71 0 0 0 2.17-1.477 7.07 7.07 0 0 0 1.46-2.188c.355-.83.533-1.708.533-2.633 0-.948-.178-1.838-.534-2.668a6.854 6.854 0 0 0-1.459-2.17 6.854 6.854 0 0 0-2.17-1.46 6.702 6.702 0 0 0-2.668-.533Zm.035 2.242.318.009c.316.017.625.062.928.133a3.3 3.3 0 0 1 1.085.463c.32.213.575.486.765.818.19.332.284.747.284 1.245 0 .664-.19 1.204-.569 1.619-.38.415-.89.694-1.53.836l2.455 3.985h-1.992l-2.135-3.807h-1.174v3.807h-1.637V6.107h3.202Zm-.07 1.387h-1.495v2.598h1.316a3.48 3.48 0 0 0 1.352-.267c.427-.178.64-.54.64-1.085 0-.499-.195-.83-.586-.997-.392-.166-.801-.249-1.228-.249Z"></path></svg> 826 </a> 827 </div> 828 829 <div class="footer__switcher"> 830 831 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Company_Name.Value"))) 832 { 833 <section class="footer-address" itemscope="" itemtype="http://schema.org/PostalAddress"> 834 <h4 class="footer__heading">@Translate("ContactUs", "Contact Us")</h4> 835 <p class="address"> 836 <span class="h-adr adr"> 837 <span class="fn p-org org">@GetString("Item.Area.Company_Name.Value")</span><br> 838 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Company_Address"))) 839 { 840 <span class="p-street-address street-address" itemprop="streetAddress">@GetString("Item.Area.Company_Address.Value")</span> 841 } 842 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Company_Address_2.Value"))) 843 { 844 <br><span class="p-street-address street-address" itemprop="streetAddress">@GetString("Item.Area.Company_Address_2.Value")</span> 845 } 846 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Town_City.Value"))) 847 { 848 <br> <span class="p-street-address street-address" itemprop="addressLocality">@GetString("Item.Area.Town_City.Value")</span> 849 } 850 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.County.Value"))) 851 { 852 <br><span class="p-street-address street-address" itemprop="addressRegion">@GetString("Item.Area.County.Value")</span> 853 } 854 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Postcode.Value"))) 855 { 856 <br><span class="p-street-address street-address" itemprop="postalCode">@GetString("Item.Area.Postcode.Value")</span> 857 } 858 </span> 859 </p> 860 <ul class="footer__list" role="list"> 861 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Contact_Email_Link"))) 862 { 863 string mailTo = "mailto:" + GetString("Item.Area.Contact_Email_Link"); 864 <li> 865 <a href="@mailTo"> 866 E: <span itemprop="email">@GetString("Item.Area.Contact_Email")</span> 867 </a> 868 </li> 869 } 870 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Telephone"))) 871 { 872 string telTo = "tel:" + GetString("Item.Area.Telephone"); 873 <li> 874 <a href="@telTo"> 875 T: <span itemprop="telephone">@GetString("Item.Area.Telephone")</span> 876 </a> 877 </li> 878 } 879 </ul> 880 </section> 881 } 882 883 <section> 884 <h4 class="footer__heading">@Translate("CompanyInformation", "Company Information")</h4> 885 <nav> 886 @GetValue("DwNavigation(footerpages)") 887 </nav> 888 889 @{ 890 int legalsLink = 0; 891 var legalsPage = HagsWeb.Library.Methods.Page.HagsPages.GetPageByNavigationTag("Legals", masterArea.ID); 892 if (legalsPage != null) 893 { 894 legalsLink = legalsPage.ID; 895 } 896 897 if (legalsLink > 0) 898 { 899 900 <ul class="footer__list" role="list"> 901 <li><a href="/Default.aspx?ID=@legalsLink">@Translate("PrivacyPolicy", "Privacy Policy")</a></li> 902 <li><a href="/Default.aspx?ID=@legalsLink">@Translate("CookieNotice", "Cookie Notice")</a></li> 903 <li><a href="/Default.aspx?ID=@legalsLink">@Translate("TermsConditions", "Terms & Conditions")</a></li> 904 </ul> 905 } 906 } 907 </section> 908 909 910 911 @if (GetString("Item.Area.Form_Provider") == "sharpspring-provider") 912 { 913 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.Newsletter_Form_ID.Value"))) 914 { 915 <!-- SharpSpring Form Provider --> 916 <div class="sharpspring-provider"> 917 <h4 class="footer__heading">@Translate("JoinOurNewsletter", "Join our Newsletter")</h4> 918 @{ 919 string ss_src_newsletter = string.Format("https://{0}/client/form.js?ver=2.0.1", GetString("Item.Area.Contact_Form_Domain.Value")); 920 } 921 <!-- SharpSpring Form for Newsletter Form: Revised Formatting --> 922 <script type="text/javascript"> 923 var ss_form = {'account': '@GetString("Item.Area.Contact_Form_Account_ID.Value")', 'formID': '@GetString("Item.Area.Newsletter_Form_ID.Value")'}; 924 ss_form.width = '100%'; 925 ss_form.domain = '@GetString("Item.Area.Contact_Form_Domain.Value")'; 926 // ss_form.hidden = {'field_id': 'value'}; // Modify this for sending hidden variables, or overriding values 927 // ss_form.target_id = 'target'; // Optional parameter: forms will be placed inside the element with the specified id 928 // ss_form.polling = true; // Optional parameter: set to true ONLY if your page loads dynamically and the id needs to be polled continually. 929 </script> 930 <script type="text/javascript" src="@ss_src_newsletter"></script> 931 </div> 932 <!-- End of SharpSpring Form Provider --> 933 } 934 } 935 936 @if (GetString("Item.Area.Form_Provider") == "apsis-provider") 937 { 938 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.APSIS_Newsletter_Form_ID.Value"))) 939 { 940 <!-- APSIS Form Provider --> 941 <div class="apsis-provider"> 942 <h4 class="footer__heading">@Translate("JoinOurNewsletter", "Join our Newsletter")</h4> 943 @{ 944 string apsis_form = string.Format("afp-{0}", GetString("Item.Area.APSIS_Newsletter_Form_ID.Value")); 945 } 946 <script src="https://forms.apsisforms.com/formbuilder.js"></script> 947 <script> 948 (function() { 949 var form = new ApsisForms.FormbuilderInstance(); 950 form.init({ 951 formId: '@GetString("Item.Area.APSIS_Newsletter_Form_ID.Value")' 952 }); 953 })(); 954 </script> 955 <div class='@apsis_form'>&nbsp;</div> 956 </div> 957 <!-- End of APSIS Form Provider --> 958 } 959 } 960 <section> 961 <h4 class="footer__heading">@Translate("FindUs", "Find Us")</h4> 962 <ul class="footer__list"> 963 <!-- Social Media items --> 964 @foreach (var item in @GetLoop("Item.Area.Social_Media")) 965 { 966 var linkUrl = item.GetValue("Item.Area.Social_Media.Social_Link"); 967 string linkTitle = item.GetString("Item.Area.Social_Media.Social_Icon"); 968 string linkIcon = "/Files/Templates/Designs/HagsCore/res/img/icons/social/" + linkTitle + ".png"; 969 <li><a href="@linkUrl" target="_blank">@linkTitle</a></li> 970 } 971 </ul> 972 </section> 973 974 </div> 975 </div> 976 977 978 </footer> 979 980 @if ( false ) 981 { 982 if (GetString("Item.Area.Form_Provider") == "sharpspring-provider") 983 { 984 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.Contact_Form_ID.Value"))) 985 { 986 <!-- SharpSpring Form Provider --> 987 <div class="sharpspring-provider"> 988 989 <div id="sharpspring-form-message" class="sharpspring-form-message"> 990 <div id="sharpspring-form-message-container" class="sharpspring-form-message-container active hide-help hide-help-2"> 991 <p class="close-form"><a id="hide-sharpspring" href="#">X</a></p> 992 <a id="open-sharpspring" class="btn" href="/en-us/play" role="button">@GetString("Item.Area.Contact_Button_CTA.Value")</a> 993 </div> 994 </div> 995 996 <div id="sharpspring-form-popup" class="overlay sharpspring-form-popup"> 997 <div class="sharpspring-form-popup-container"> 998 <p class="close-form"><a href="#" id="close-sharpspring">X</a></p> 999 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 pop-up-information"> 1000 @{ 1001 string image = string.Format("{0}", GetString("Item.Area.Contact_Image.Value")); 1002 } 1003 <h4>@GetString("Item.Area.Contact_Headline.Value")</h4> 1004 @GetString("Item.Area.Contact_Copy.Value") 1005 <img src="@image" class="pop-up-image img-responsive"> 1006 </div> 1007 1008 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> 1009 @{ 1010 string ss_src = string.Format("https://{0}/client/form.js?ver=2.0.1", GetString("Item.Area.Contact_Form_Domain.Value")); 1011 } 1012 <!-- SharpSpring Form for Contact Form: Revised Formatting --> 1013 <script type="text/javascript"> 1014 var ss_form = {'account': '@GetString("Item.Area.Contact_Form_Account_ID.Value")', 'formID': '@GetString("Item.Area.Contact_Form_ID.Value")'}; 1015 ss_form.width = '100%'; 1016 ss_form.domain = '@GetString("Item.Area.Contact_Form_Domain.Value")'; 1017 // ss_form.hidden = {'field_id': 'value'}; // Modify this for sending hidden variables, or overriding values 1018 // ss_form.target_id = 'target'; // Optional parameter: forms will be placed inside the element with the specified id 1019 // ss_form.polling = true; // Optional parameter: set to true ONLY if your page loads dynamically and the id needs to be polled continually. 1020 </script> 1021 <script type="text/javascript" src="@(ss_src)"></script> 1022 </div> 1023 </div> 1024 </div> 1025 </div> 1026 <!-- End of SharpSpring Form Provider --> 1027 } 1028 } 1029 1030 if (GetString("Item.Area.Form_Provider") == "apsis-provider") 1031 { 1032 if (!String.IsNullOrWhiteSpace(GetString("Item.Area.APSIS_Contact_Form_ID.Value"))) 1033 { 1034 <!-- APSIS Form Provider --> 1035 <div class="sharpspring-provider"> 1036 <div id="sharpspring-form-message" class="sharpspring-form-message"> 1037 <div id="sharpspring-form-message-container" style="display: none;" class="sharpspring-form-message-container active hide-help hide-help-2"> 1038 <p class="close-form"><a id="" href="#">X</a></p> 1039 <a id="open-sharpspring" class="btn" href="/en-us/play" role="button">@GetString("Item.Area.APSIS_Contact_Button_CTA.Value")</a> 1040 </div> 1041 </div> 1042 1043 <div id="sharpspring-form-popup" class="overlay sharpspring-form-popup"> 1044 <div class="sharpspring-form-popup-container"> 1045 <p class="close-form"><a href="#" id="close-sharpspring">X</a></p> 1046 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 pop-up-information"> 1047 @{ 1048 string image = string.Format("{0}", GetString("Item.Area.Contact_Image.Value")); 1049 } 1050 <h4>@GetString("Item.Area.APSIS_Contact_Headline.Value")</h4> 1051 @GetString("Item.Area.APSIS_Contact_Copy.Value") 1052 <img src="@image" class="pop-up-image img-responsive"> 1053 </div> 1054 1055 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> 1056 @{ 1057 string apsis_form = string.Format("afp-{0}", GetString("Item.Area.APSIS_Contact_Form_ID.Value")); 1058 } 1059 <script src="https://forms.apsisforms.com/formbuilder.js"></script> 1060 <script> 1061 (function() { 1062 var form = new ApsisForms.FormbuilderInstance(); 1063 form.init({ 1064 formId: '@GetString("Item.Area.APSIS_Contact_Form_ID.Value")' 1065 }); 1066 })(); 1067 </script> 1068 <div class='@apsis_form'>&nbsp;</div> 1069 </div> 1070 </div> 1071 </div> 1072 </div> 1073 <!-- End of APSIS Form Provider --> 1074 } 1075 } 1076 } 1077 1078 1079 @*IncludeFile("partials/footer-scripts.cshtml")*@ 1080 1081 <dialog class="modal" id="adviceModal"> 1082 1083 <div class="modal__body"> 1084 1085 <div class="modal__header"> 1086 1087 <div class="modal__close"> 1088 <button type="button" class="action-btn js-modal-close-target" data-target-id="adviceModal"> 1089 <span class="visually-hidden">Close</span> 1090 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 1091 </button> 1092 </div> 1093 1094 <h3 class="ts-2" id="advice-title"> 1095 <span>Information</span> 1096 </h3> 1097 1098 </div> 1099 1100 <div class="modal__main"> 1101 1102 <div id="result-advice" class="advice-message"></div> 1103 1104 </div> 1105 1106 <div class="modal__footer"> 1107 1108 <button type="button" class="btn btn--outline js-modal-close-target" data-target-id="adviceModal"> 1109 @Translate("Close", "Close") 1110 </button> 1111 1112 </div> 1113 1114 </div> 1115 1116 </dialog> 1117 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 1118 @using System.Collections.Generic 1119 @using HagsWeb.Library.BusinessObjects.UsersLists 1120 1121 @{ 1122 int currentAreaID = int.TryParse(GetGlobalValue("Global:Area.ID"), out currentAreaID) ? currentAreaID : 0; 1123 var currentArea = new Dynamicweb.Content.AreaService().GetArea(currentAreaID); 1124 1125 //List<ProductCollectionItem> productCollectionItems = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection : new List<ProductCollectionItem>(); 1126 1127 } 1128 1129 <dialog id="CreateCatalog" class="modal modal--full"> 1130 1131 <div class="modal__body"> 1132 1133 <div class="modal__header"> 1134 1135 <div class="modal__close"> 1136 <button type="button" class="action-btn js-modal-close-target" data-target-id="CreateCatalog"> 1137 <span class="visually-hidden">Close</span> 1138 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 1139 </button> 1140 </div> 1141 1142 <h4 class="modal-title" id="CreateCatalogModalLabel"> 1143 @Translate("CreateYourCatalog", "Create Your Catalogue") 1144 </h4> 1145 1146 </div> <!-- header --> 1147 1148 <div class="modal__main"> 1149 1150 <div id="div_CreateCatalog" class="modal__pdf-grid"> 1151 1152 <div class="modal__forms"> 1153 1154 <form id="frm_CreateCatalog"> 1155 <input type="hidden" name="areaId" value="@(currentArea.ID)"> 1156 <input type="hidden" name="languageId" value="@currentArea.EcomLanguageId"> 1157 <input type="hidden" value="#CreateCatalog" name="catType"> 1158 <input type="hidden" name="weglotLang" value=""> 1159 <fieldset> 1160 <div> 1161 <label for="catHagsCatalogName">@Translate("HagsCatalogName", "Hags Catalog Name"):</label> 1162 <input type="text" class="form-control search-group" value="" name="catHagsCatalogName"> 1163 </div> 1164 1165 <label for="catHagsContactName">@Translate("HagsContactName", "Hags Contact Name"):</label> 1166 <input type="text" class="form-control search-group" value="" name="catHagsContactName"> 1167 1168 <label for="catHagsContactPhone">@Translate("HagsPhoneNumber", "Hags Phone Number"):</label> 1169 <input type="text" class="form-control search-group" value="" name="catHagsContactPhone"> 1170 1171 <label for="catHagsContactEmail">@Translate("HagsContactEmail", "Hags Contact Email"):</label> 1172 <input type="email" class="form-control search-group" value="" name="catHagsContactEmail"> 1173 1174 <label for="catCompanyName">@Translate("CompanyName", "Company Name"):</label> 1175 <input type="text" class="form-control search-group" value="" name="catCompanyName"> 1176 1177 <label for="catAddress">@Translate("CompanyAddress", "Company Address"):</label> 1178 <input type="text" class="form-control search-group" value="" name="catAddress"> 1179 1180 <input type="text" class="form-control search-group" value="" name="catAddress2"> 1181 1182 <label for="catAddrTown">@Translate("CompanyTown", "Company Town"):</label> 1183 <input type="text" class="form-control search-group" value="" name="catAddrTown"> 1184 1185 <label for="catAddrPostCode">@Translate("CompanyPostCode", "Company Postal Code"):</label> 1186 <input type="text" class="form-control search-group" value="" name="catAddrPostCode"> 1187 1188 <label for="catAddrCountry">@Translate("CompanyCountry", "Company Country"):</label> 1189 <input type="text" class="form-control search-group" value="" name="catAddrCountry"> 1190 1191 1192 </fieldset> 1193 </form> 1194 1195 1196 @*Switch Form here*@ 1197 1198 <form id="frm_CatalogEmailSettings" style="display:none"> 1199 <input type="hidden" name="pdfFileName" value=""> 1200 <input type="hidden" name="areaId" value="@currentAreaID"> 1201 <input type="hidden" name="weglotLang" value=""> 1202 1203 <fieldset> 1204 1205 <label for="emailFrom">@Translate("EmailFrom", "Email from"):</label> 1206 <input type="email" class="form-control search-group" name="emailFrom" required="" value=""> 1207 1208 <label for="emailTo">@Translate("EmailTo", "Email to"):</label> 1209 <input type="email" class="form-control search-group" name="emailTo" required="" value=""> 1210 1211 <label for="emailSubject">@Translate("EmailSubject", "Subject"):</label> 1212 <input type="text" class="form-control search-group" name="emailSubject" value=""> 1213 1214 <label for="emailMessage">@Translate("Message", "Message"):</label> 1215 <textarea class="form-control" name="emailMessage" cols="45" rows="7" value=""></textarea> 1216 1217 </fieldset> 1218 1219 <div name="emailProgressContent" style="display:none;"> 1220 <span id="CreateCatalogueEmailLabel" style="display: block; text-align: center; margin: auto;">@Translate("SendingYourEmail", "Sending your Email")</span> 1221 <img src="/Files/Templates/Designs/HagsCore/res/img/loader/ajax-loader.gif" style="margin: auto; display: block;"> 1222 </div> 1223 1224 <div name="emailProgress" style="display: none;"></div> 1225 1226 <div class="m-search-advanced-buttons text-right" name="preSendEmail" style="display: block;"> 1227 1228 <button class="btn btn--outline" name="emailcatalogue" type="button" role="button">@Translate("SendEmail", "Send Email")</button> 1229 <button class="btn btn--outline" style="display: none;" name="refreshemail" type="button" role="button">@Translate("Refresh", "Refresh")</button> 1230 <button class="btn btn--outline" name="cancelemail" type="button" role="button" data-modal-name="catalogue">@Translate("Cancel", "Cancel")</button> 1231 1232 </div> 1233 1234 1235 <div class="m-search-advanced-buttons text-center" name="downloadResend" style="display: none;"> 1236 1237 <button class="btn btn--outline" style="display: none;" name="resendcatalogue" type="button" role="button">@Translate("SendEmail", "Send Email")</button> 1238 <button class="btn btn--outline" style="margin: 2px;" name="refreshemail" type="button" role="button">@Translate("ClearFormSendAgain", "Clear form and send again")</button><br> 1239 <a href="" class="btn btn--outline" name="pdfDownloadLink" download="">@Translate("DownloadCatalogue", "Download Catalogue")</a> 1240 <button class="btn btn--outline js-modal-close-target" data-target-id="CreateCatalog" type="button">@Translate("CloseWindow", "Close Window")</button> 1241 1242 </div> 1243 1244 </form> 1245 1246 <script> 1247 $("#frm_CatalogEmailSettings").validate(); 1248 </script> 1249 1250 </div> 1251 1252 <div id="loader" style="display:none;text-align:center"> 1253 <span id="CreateCataloguePdfLabel" style="display: inline-block;margin: 10px 10px 0 0;padding: 5px 10px"></span> 1254 <img src="/Files/Templates/Designs/Hags2024/assets/img/loader/ajax-loader.gif" style="margin:auto;display:block;"> 1255 </div> 1256 1257 <div id="pdfViewer" class="modal__embed-silo"></div> 1258 1259 </div> 1260 1261 </div> <!-- main --> 1262 1263 1264 <div class="modal__footer"> 1265 1266 <div class="m-search-advanced-buttons cluster cluster--dialog"> 1267 1268 <button class="btn btn--outline" name="updatecatalogue" role="button" type="button"> 1269 @Translate("UpdateCatalogue", "Update Catalog") 1270 </button> 1271 1272 1273 1274 <button class="btn btn--outline" name="createemail" data-modal-name="catalogue" type="button" role="button">@Translate("EmailCatalogue", "Email Catalogue")</button> 1275 <button class="btn btn--outline" id="pdfPrintCatalogue" target="_blank" type="button">@Translate("Print", "Print")</button> 1276 <a class="btn btn--outline" href="#" id="pdfDownloadCatalogue" type="button" download="">@Translate("Download", "Download")</a> 1277 <button class="btn btn--outline js-modal-close-target" data-target-id="CreateCatalog" type="button">@Translate("Close", "Close")</button> 1278 1279 </div> 1280 1281 </div> <!-- footer --> 1282 1283 </div> 1284 1285 </dialog> 1286 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 1287 @using HagsWeb.Library.State; 1288 @using HagsWeb.Library.BusinessObjects.UsersLists; 1289 @{ 1290 1291 int saveCollectionAreaID = HagsWeb.Library.Utilities.WebUtilities.CheckInteger(GetGlobalValue("Global:Area.ID")); 1292 Dynamicweb.Content.Page saveCollectionMyHagsRegistrationPage = HagsWeb.Library.Methods.Page.HagsPages.GetPageByNavigationTag("CreateAccountPage", saveCollectionAreaID); 1293 1294 bool savecollection = bool.Parse(string.IsNullOrEmpty(Dynamicweb.Context.Current.Request.QueryString.Get("savecollection")) ? "false" : Dynamicweb.Context.Current.Request.QueryString.Get("savecollection")); 1295 1296 string areaLanguage = GetGlobalValue("Global:Area.Lang"); 1297 1298 EditCollection editSession = new EditCollection(); 1299 if (SessionManager.IsSessionValueSet("EditCollectionSession_" + GetGlobalValue("Global:Extranet.UserID"))) 1300 { 1301 editSession = (EditCollection)SessionManager.GetSessionItem("EditCollectionSession_" + GetGlobalValue("Global:Extranet.UserID")); 1302 } 1303 1304 string currentCollectionName = string.Empty; // Dynamicweb.Context.Current.Request.QueryString.Get("collection"); 1305 string currentCollectionDescription = string.Empty; 1306 string currentCollectionOriginalFileName = string.Empty; 1307 if (editSession != null) 1308 { 1309 currentCollectionName = editSession.CollectionName; 1310 currentCollectionDescription = editSession.CollectionDescription; 1311 currentCollectionOriginalFileName = editSession.OriginalFileName; 1312 } 1313 1314 bool isLoggedIn = false; 1315 if (!String.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 1316 { 1317 isLoggedIn = true; 1318 } 1319 1320 string saveCollectionValidationMessages = string.Format("messages_{0}.min.js", GetGlobalValue("Global:Area.Lang")); 1321 string saveCollectionAreaLanguage = GetGlobalValue("Global:Area.Lang"); 1322 string saveCollectionLoginPageId = GetGlobalValue("Global:Page.ID"); 1323 string UserId = GetGlobalValue("Global:Extranet.UserID"); 1324 //string designBaseUrl = GetString("Template:DesignBaseUrl"); 1325 1326 // Notes: for the Forgotten Password we now are just advising the user to contact their local office for a reset 1327 // We do however maintain the original code as is for when they change their mind back again! 1328 } 1329 1330 1331 @*@Scripts.Render("~/bundle/Validation")*@ 1332 1333 <dialog class="modal" id="saveCollection"> 1334 1335 @if (areaLanguage != "en") 1336 { 1337 <script src="@(designBaseUrl)assets/js/libraries/validation/localization/@saveCollectionValidationMessages"></script> 1338 } 1339 1340 <div class="modal__body"> 1341 1342 <div class="modal__header"> 1343 1344 <div class="modal__close"> 1345 <button type="button" class="action-btn js-modal-close-target" data-target-id="saveCollection"> 1346 <span class="visually-hidden">Close</span> 1347 <svg viewbox="0 0 212 212" xmlns="http://www.w3.org/2000/svg" class="h24-icon h24-icon--close"><path d="M100 0c55.193 0 100 44.807 100 100s-44.807 100-100 100S0 155.193 0 100 44.807 0 100 0Zm0 5.333c-26.124 0-49.792 10.603-66.928 27.74C15.936 50.207 5.333 73.875 5.333 100c0 26.124 10.603 49.792 27.74 66.928 17.135 17.136 40.803 27.739 66.927 27.739 26.124 0 49.792-10.603 66.928-27.74 17.136-17.135 27.739-40.803 27.739-66.927 0-26.124-10.603-49.792-27.74-66.928C149.793 15.936 126.125 5.333 100 5.333Zm25.105 78.865L110.17 99.664l15.466 14.935a6.5 6.5 0 0 1 .16 9.191l-.694.72a6.5 6.5 0 0 1-9.191.16l-15.466-14.935-14.935 15.466a6.5 6.5 0 0 1-9.191.16l-.72-.694a6.5 6.5 0 0 1-.16-9.191l14.935-15.466-15.466-14.935a6.5 6.5 0 0 1-.16-9.191l.694-.72a6.5 6.5 0 0 1 9.191-.16L100.1 89.939l14.935-15.466a6.5 6.5 0 0 1 9.191-.16l.72.694a6.5 6.5 0 0 1 .16 9.191Z" fill="currentColor" fill-rule="evenodd"></path></svg> 1348 </button> 1349 </div> 1350 1351 <h3 class="ts-2"> 1352 @Translate("SaveMyHagsCollection", "Save HAGS Connect Collection") 1353 </h3> 1354 1355 </div> 1356 1357 <div class="modal__main"> 1358 1359 <input type="hidden" id="action" value=""> 1360 1361 <form role="form" method="post" id="saveCollectionForm" action=""> 1362 1363 <input type="hidden" name="UserId" value="@UserId"> 1364 <input type="hidden" name="OriginalFileName" value="@currentCollectionOriginalFileName"> 1365 1366 <div class="form-group"> 1367 <label for="collectionName">@Translate("CollectionName", "Name of Collection") <sup>*</sup></label> 1368 <input type="text" class="form-control" name="CollectionName" value="@currentCollectionName" required="" placeholder='@Translate("CollectionName", "Name of Collection")'> 1369 </div> 1370 1371 <div class="form-group"> 1372 <label for="collectionDescription">@Translate("CollectionDescription", "Description") <sup>*</sup></label> 1373 <textarea type="text" class="form-control" rows="4" cols="50" name="CollectionDescription" required="" placeholder='@Translate("CollectionDescription", "Description")'>@currentCollectionDescription</textarea> 1374 </div> 1375 1376 <div id="resultAdvice"></div> 1377 1378 </form> 1379 1380 1381 <script> 1382 //$("#saveCollectionloginForm").validate(); 1383 $("#saveCollectionForm").validate(); 1384 </script> 1385 1386 </div> 1387 1388 1389 <div class="modal__footer"> 1390 1391 <button type="submit" id="save" name="savecollection" class="btn btn--outline">@Translate("Save", "Save")</button> 1392 <button type="button" id="continue" name="modalclose" class="btn btn--outline js-modal-close-target" data-target-id="saveCollection">@Translate("Close", "Close")</button> 1393 <!--button type="button" id="new" name="removecollection" class="btn btn--outline" data-removeproductlist="All" data-dismiss="modal">@Translate("StartNewCollection", "Start a new collection")</button--> 1394 1395 </div> 1396 1397 </div> 1398 1399 </dialog> 1400 1401 } 1402 1403 1404 @* this snippet is from the case studies item listing *@ 1405 @RenderSnippet("bodyScripts") 1406 1407 1408 @SnippetStart("bodyScripts") 1409 1410 @* my collection scripts *@ 1411 1412 <script type="text/javascript" src="@(designBaseUrl)assets/js/libraries/filesaver/filesaver.min.js"></script> 1413 <script type="text/javascript" src="@(designBaseUrl)assets/js/functions/product-collection.js"></script> 1414 @* <script type="text/javascript" src="@(designBaseUrl)assets/js/functions/product-collection.js?v=1.2&ts=@jsTimestamp"></script>*@ 1415 1416 @* contact form scripts *@ 1417 <script type="text/javascript" src="@(designBaseUrl)assets/js/functions/contact-us-forms.js"></script> 1418 1419 1420 @* load the embla carousel script *@ 1421 <script data-cookieconsent="ignore" type="text/javascript" src="@(designBaseUrl)assets/js/libraries/embla/embla-carousel.umd.js"></script> 1422 <script data-cookieconsent="ignore" type="text/javascript" src="@(designBaseUrl)assets/js/libraries/embla/embla-carousel-fade.umd.js"></script> 1423 1424 <!--script src='https://online3.superoffice.com/Cust29133/CS/javascript/chat.js' data-topicId='2' data-title='Chatta med oss!' data-theme='modern' data-color='#0080FF' data-badgeColor='#4f6128' data-badgeTextColor='#ffffff' data-custMsgColor='#dbe5f1' data-custMsgTextColor='#000000' data-agentMsgColor='#c3d69b' data-agentMsgTextColor='#000000' data-buttonColor='#d4d4d4' data-buttonTextColor='' data-font='"Verdana", "Gill Sans", Arial, sans-serif' data-fontSize='12px' data-size='normal' data-delay='1' defer></script--> 1425 @SnippetEnd("bodyScripts") 1426 1427 </body> 1428 </html> 1429 1430 1431