Error compiling template "Designs/Wizaris/DynamicArticle/Paragraph/CMMRGNT_Content_Slider.cshtml"
Line 27: The type or namespace name 'Activities' does not exist in the namespace 'System' (are you missing an assembly reference?)
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 3 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
14 using System;
15
16 #line default
17 #line hidden
18
19 #line 11 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
20 using System.Collections.Generic;
21
22 #line default
23 #line hidden
24 using System.Linq;
25
26 #line 4 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
27 using System.Activities.Statements;
28
29 #line default
30 #line hidden
31
32 #line 10 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
33 using System.Text.RegularExpressions;
34
35 #line default
36 #line hidden
37
38 #line 6 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
39 using Dynamicweb.Core;
40
41 #line default
42 #line hidden
43
44 #line 7 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
45 using Dynamicweb.Frontend;
46
47 #line default
48 #line hidden
49
50 #line 8 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
51 using Df.Dw.Rapido;
52
53 #line default
54 #line hidden
55
56 #line 12 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
57 using System.Reflection;
58
59 #line default
60 #line hidden
61
62 #line 13 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
63 using System.Web.UI.HtmlControls;
64
65 #line default
66 #line hidden
67
68 #line 14 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
69 using Dynamicweb.News;
70
71 #line default
72 #line hidden
73
74 #line 15 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
75 using Dynamicweb.Rapido.Blocks.Components;
76
77 #line default
78 #line hidden
79
80 #line 16 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
81 using Dynamicweb.Rapido.Blocks.Components.Articles;
82
83 #line default
84 #line hidden
85
86 #line 17 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
87 using Dynamicweb.Rapido.Blocks.Components.Documentation;
88
89 #line default
90 #line hidden
91
92 #line 18 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
93 using Dynamicweb.Rapido.Blocks;
94
95 #line default
96 #line hidden
97
98
99 public class RazorEngine_11b6acc402aa4336a41ed139e8053249 : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> {
100
101 #line hidden
102
103 #line 20 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
104
105 public class Translations
106 {
107 public class General
108 {
109 public static string
110 Logo = "General_Logo",
111 GenerateAWB = "General_GenerateAWB",
112 DeliveryAgent = "General_DeliveryAgent",
113 SelectCountry = "General_SelectCountry",
114 DateInterval = "General_DateInterval",
115 CloseModal = "General_CloseModal",
116 ClosePanel = "General_ClosePanel",
117 SearchPage = "General_SearchPage",
118 Search = "General_Search",
119 CloseSearch = "General_CloseSearch",
120 All = "General_All",
121 View = "General_View",
122 ViewAll = "General_ViewAll",
123 ReadMore = "General_ReadMore",
124 More = "General_More",
125 Load = "General_Load",
126 Add = "General_Add",
127 Remove = "General_Remove",
128 Save = "General_Save",
129 Close = "General_Close",
130 Go = "General_Go",
131 Back = "General_Back",
132 Hi = "General_Hi",
133 Edit = "General_Edit",
134 Delete = "General_Delete",
135 DownloadExcel = "General_DownloadExcel",
136 Cancel = "General_Cancel",
137 SetDefault = "General_SetDefault",
138 Submit = "General_Submit",
139 SocialLinks = "General_SocialLinks",
140 MailingList = "General_MailingList",
141 YourEmailAddress = "General_YourEmailAddress",
142 SignUpMessage = "General_SignUpMessage",
143 SignUpForm = "General_SignUpForm",
144 YourSearchGave0Results = "General_YourSearchGave0Results",
145 Contact = "General_Contact",
146 Pages = "General_Pages",
147 NotAvailable = "General_NotAvailable",
148 Default = "General_Default",
149 Yes = "General_Yes",
150 No = "General_No",
151 Page = "General_Page",
152 Of = "General_Of",
153 FirstPage = "General_FirstPage",
154 LastPage = "General_LastPage",
155 ReturnToTop = "General_ReturnToTop",
156 Details = "General_Details",
157 Information = "General_Information",
158 Downloads = "General_Downloads",
159 Download = "General_Download",
160 GeneratePdf = "General_GeneratePdf",
161 DownloadPdf = "General_DownloadPdf",
162 Select = "General_Select",
163 SelectType = "General_SelectType",
164 Type = "General_Type",
165 RequestType = "General_RequestType",
166 Language = "General_Language",
167 Images = "General_Images",
168 Documents = "General_Documents",
169 Export = "General_Export",
170 ImagePurpose = "General_ImagePurpose",
171 Office = "General_Office",
172 Original = "General_Original",
173 Print = "General_Print",
174 Web = "General_Web",
175 ExportFormat = "General_ExportFormat",
176 Videos = "General_Videos",
177 AskForInfo = "General_AskForInfo",
178 DataSheet = "General_DataSheet",
179 LinkToPage = "General_LinkToPage",
180 Again = "General_Again",
181 Notice = "General_Notice",
182 Form = "General_Form",
183 TechnicalContact = "General_TechnicalContact",
184 Error = "General_Error",
185 Warning = "General_Warning",
186 Status = "General_Status",
187 State = "General_State",
188 NoDocumentsFound = "General_NoDocumentsFound",
189 CreditMemo = "General_CreditMemo",
190 History = "General_History",
191 Comment = "General_Comment",
192 AddComment = "General_AddComment",
193 EnterComment = "General_EnterComment",
194 NothingSelected = "General_NothingSelected",
195 Never = "General_Never",
196 Days = "General_Days",
197 Weeks = "General_Weeks",
198 Months = "General_Months",
199 IAcceptTheTermsAndConditions = "General_IAcceptTheTermsAndConditions",
200 TheTermsAndConditionsOfThisWebsite = "General_TheTermsAndConditionsOfThisWebsite",
201 ReadGeneralConditions = "General_ReadGeneralConditions",
202 SubscribeToNewsletter = "General_SubscribeToNewsletter",
203 Use = "General_Use",
204 Choose = "General_Choose",
205 Free = "General_Free",
206 Next = "General_Next",
207 GoTo = "General_GoTo",
208 NotFound = "General_NotFound",
209 AlreadyUsed = "General_AlreadyUsed",
210 IsNotActive = "General_IsNotActive",
211 Apply = "General_Apply",
212 NoItemsFound = "General_NoItemsFound",
213 GoToFrontPage = "General_GoToFrontPage",
214 LoginModalHeading = "General_LoginModalHeading",
215 LoginModalSubHeading = "General_LoginModalSubHeading",
216 ViewInBrowser = "General_ViewInBrowser",
217 CantSeeMessage = "General_CantSeeMessage",
218 Welcome = "General_Welcome",
219 Continue = "General_Continue",
220 UserIsActivated = "General_UserIsActivated",
221 Create = "General_Create",
222 ViewOffer = "General_ViewOffer",
223 CookiesHeader = "General_CookiesHeader",
224 CookiesText1 = "General_CookiesText1",
225 CookiesText2 = "General_CookiesText2",
226 CookiesDoNotAcceptCookies = "General_CookiesDoNotAcceptCookies",
227 CookiesOnlyAcceptFunctionalCookies = "General_OnlyAcceptFunctionalCookies",
228 CookiesAcceptAllCookies = "General_AcceptAllCookies",
229 RMADetailsEmail = "General_RMADetailsEmail",
230 RMAClientName = "General_RMAClientName",
231 RMADataCererii = "General_RMADataCererii",
232 RMATipCerere = "General_RMATipCerere",
233 RMAOrderInitial = "General_RMAOrderInitial",
234 RMAEmailText = "General_RMAEmailText",
235 Written = "General_Written",
236 By = "General_By",
237 On = "General_On",
238 Category = "General_Category",
239 Hello = "General_Hello";
240 }
241 public class Account
242 {
243 public static string
244 LogIn = "Account_LogIn",
245 Promotions = "Account_Promotions",
246 Resupply = "Account_Resupply",
247 WorkInProgressOrders = "Account_WorkInProgressOrders",
248 ExchangePartsRequests = "Account_ExchangePartsRequests",
249 DeliverYourselfOrders = "Account_DeliverYourselfOrders",
250 PickedUpFromStoreOrders = "Account_PickedUpFromStoreOrders",
251 OrdersDeliveredByYou = "Account_OrdersDeliveredByYou",
252 SignIn = "Account_SignIn",
253 SignOut = "Account_SignOut",
254 CreateAccount = "Account_CreateAccount",
255 ForgotYourPassword = "Account_ForgotYourPassword",
256 ResetYourPassword = "Account_ResetYourPassword",
257 RememberMe = "Account_RememberMe",
258 Password = "Account_Password",
259 Name = "Account_Name",
260 FirstName = "Account_FirstName",
261 LastName = "Account_LastName",
262 Description = "Address_Description",
263 Email = "Account_Email",
264 Username = "Account_Username",
265 Phone = "Account_Phone",
266 ZipCode = "Account_ZipCode",
267 City = "Account_City",
268 Country = "Account_Country",
269 CompanyName = "Account_CompanyName",
270 CompanyAddress = "Account_CompanyAddress",
271 CompanyCity = "Account_CompanyCity ",
272 CompanyZip = "Account_CompanyZip",
273 CompanyCountry = "Account_CompanyCountry",
274 CompanyID = "Account_CompanyID",
275 CompanyTIN = "Account_CompanyTIN",
276 CompanyVAT = "Account_CompanyVAT",
277 CompanyTermsOfPayment = "Account_CompanyTermsOfPayment",
278 Company = "Account_Company",
279 StateRegion = "Account_StateRegion",
280 NewPassword = "Account_NewPassword",
281 OldPassword = "Account_OldPassword",
282 ConfirmPassword = "Account_ConfirmPassword",
283 BusinessNumber = "Account_BusinessNumber",
284 AlreadyACustomer = "Account_AlreadyACustomer",
285 MyProfile = "Account_MyProfile",
286 EditProfile = "Account_EditProfile",
287 MyOrders = "Account_MyOrders",
288 MyFavorites = "Account_MyFavorites",
289 MySavedCards = "Account_MySavedCards",
290 StopImpersonation = "Account_StopImpersonation",
291 Impersonate = "Account_Impersonate",
292 IsImpersonating = "Account_IsImpersonating",
293 StopImpresonationPageText ="Account_StopImpresonationPageText",
294 SelectUserToImpersonate = "Account_SelectUserToImpersonate",
295 SearchUser = "Account_SearchUser",
296 ViewListOfUsers = "Account_ViewListOfUsers",
297 PasswordLengthIsInvalid = "Account_PasswordLengthIsInvalid",
298 InvalidEmailOrPassword = "Account_InvalidEmailOrPassword",
299 LimitOfAllowedLoginAttempts = "Account_LimitOfAllowedLoginAttempts",
300 TheUserAccountIsTemporarilyLocked = "Account_TheUserAccountIsTemporarilyLocked",
301 ThePasswordHasExpired = "Account_ThePasswordHasExpired",
302 AnUnknownErrorOccured = "Account_AnUnknownErrorOccured",
303 CreateAccountIncentive = "Account_CreateAccountIncentive",
304 CreateAccountIncentiveWithoutStock = "Account_CreateAccountIncentiveWithoutStock",
305 SignUpToSeeTheStock = "Account_SignUpToSeeTheStock",
306 InsertYourEmailMsg = "Account_InsertYourEmailMsg",
307 UserNotFound = "Account_UserNotFound",
308 UsersFound = "Account_UsersFound",
309 SendPasswordRecovery = "Account_SendPasswordRecovery",
310 PasswordRecovery = "Account_PasswordRecovery",
311 SomethingWentWrong = "Account_SomethingWentWrong",
312 TryRecoverPassword = "Account_TryRecoverPassword",
313 TheRecoveryPasswordLinkOutOfDate = "Account_TheRecoveryPasswordLinkOutOfDate",
314 ChooseANewPassword = "Account_ChooseANewPassword",
315 PasswordChanged = "Account_PasswordChanged",
316 SentEmailWithALinks = "Account_SentEmailWithALinks",
317 SentEmailWithThePassword = "Account_SentEmailWithThePassword",
318 AStrongPassword = "Account_AStrongPassword",
319 WeHaveReceivedARequest = "Account_WeHaveReceivedARequest",
320 ClickToSetANewPassword = "Account_ClickToSetANewPassword",
321 IgnoreThisEmail = "Account_IgnoreThisEmail",
322 CompleteOrdersCount = "Account_CompleteOrdersCount",
323 CompanyCreditLimit = "Account_CompanyCreditLimit",
324 InvoiceValue = "Account_InvoiceValue",
325 CompanySold = "Account_CompanySold",
326 CompanyOverdue = "Account_CompanyOverdue",
327 OpenOrders = "Account_OpenOrders",
328 PlacedOrders = "Account_PlacedOrders",
329 ProductsOnSale = "Account_ProductsOnSale",
330 LoyaltyPoints = "Account_LoyaltyPoints",
331 RequestAccountStatements = "Account_RequestAccountStatements",
332 RequestComplaintForm = "Account_RequestComplaintForm",
333 CompanyCreditLimitInfo = "Account_CompanyCreditLimitInfo",
334 YourConsents = "Account_YourConsents",
335 YourPointBalance = "Account_YourPointBalance",
336 Address = "Account_Address",
337 Address2 = "Account_Address2",
338 Addresses = "Account_Addresses",
339 MyAddresses = "Account_MyAddresses",
340 ManageAddresses = "Account_ManageAddresses",
341 NoAddressFound = "Account_NoAddressFound",
342 DefaultLocation = "Account_DefaultLocation",
343 DefaultPayment = "Account_DefaultPayment",
344 PaymentTerm = "Account_PaymentTerm",
345 MainAddressCanNotBeDeleted = "Account_MainAddressCanNotBeDeleted",
346 YouCanNotDeleteADefaultAddress = "Account_YouCanNotDeleteADefaultAddress",
347 AddNewAddress = "Account_AddNewAddress",
348 DeliveryAddresses = "Account_DeliveryAddresses",
349 BillingAddresses = "Account_BillingAddresses",
350 NoAddressesFound = "Account_NoAddressesFound",
351 EditAddress = "Account_EditAddress",
352 AddAddress = "Account_AddAddress",
353 SaveAddress = "Account_SaveAnAddress",
354 StreetNumber = "Account_StreetNumber",
355 DeleteThisAddress = "Account_DeleteThisAddress",
356 NoRMAsListFound = "Account_NoRMAsListFound",
357 RMASelectTypeFirst = "Account_SelectRMATypeFirst",
358 CancelTheRequest = "Account_CancelTheRequest",
359 EmittedWarranties = "Account_EmittedWarranties",
360 ViewRma = "Account_ViewRma",
361 CancelRma = "Account_CancelRma",
362 CreateNewRequest = "Account_CreateNewRequest",
363 CreateRequest = "Account_CreateRequest",
364 CancelRequest = "Account_CancelRequest",
365 ViewRequest = "Account_ViewRequest",
366 RmaId = "Account_RmaId",
367 AdditionalInfo = "Account_AdditionalInfo",
368 CustomerComment = "Account_CustomerComment",
369 CustomerDetails = "Account_CustomerDetails",
370 NoFavoritesListsFound = "Account_NoFavoritesListsFound",
371 CreateNewList = "Account_CreateNewList",
372 AddNewList = "Account_AddNewList",
373 EditList = "Account_EditList",
374 SetAsDefault = "Account_SetAsDefault",
375 DeleteThisFavoriteList = "Account_DeleteThisFavoriteList",
376 PublishedTo = "Account_PublishedTo",
377 ReturnToList = "Account_ReturnToList",
378 ShouldTheListBePublic = "Account_ShouldTheListBePublic",
379 IsThisTheDefaultList = "Account_IsThisTheDefaultList",
380 CreateList = "Account_CreateList",
381 BackToProfile = "Account_BackToProfile",
382 YouAreAlmostThere = "Account_YouAreAlmostThere",
383 CheckYourEmailToConfirmYourUserProfile = "Account_CheckYourEmailToConfirmYourUserProfile",
384 ProfileComplete = "Account_ProfileComplete",
385 ProfileCompletePageText = "Account_ProfileCompletePageText",
386 CreateUserAccount = "Account_CreateUserAccount",
387 CreateYourNewAccount = "Account_CreateYourNewAccount",
388 YouAlreadyExistInOurSystemClickBelowToResetYourPassword = "Account_YouAlreadyExistInOurSystemClickBelowToResetYourPassword",
389 ResetPassword = "Account_ResetPassword",
390 PrivatePerson = "Account_PrivatePerson",
391 EmptyFields = "Account_CompleteAllFields",
392 PasswordsNoMatch = "Account_PasswordsDoNotMatch",
393 FillOldPasswordFirst = "Account_FillOldPasswordFirst",
394 PasswordFieldCannotBeEmpty = "Account_PasswordShouldNotBeEmpty",
395 PasswordCannotBeEmpty = "Account_PasswordCannotBeEmpty",
396 NewPasswordConfimShouldNotBeEmpty = "Account_NewPasswordConfimShouldNotBeEmpty",
397 NameCannotBeEmpty = "Account_NameCannotBeEmpty",
398 FirstNameCannotBeEmpty = "Account_FirstNameCannotBeEmpty",
399 LastNameCannotBeEmpty = "Account_LastNameCannotBeEmpty",
400 ConfirmAccount = "Account_ConfirmAccount",
401 ConfirmAccountEmailSubheader = "Account_ConfirmAccountEmailSubheader",
402 ConfirmAccountEmailHi = "Account_ConfirmAccountEmailHi",
403 ConfirmAccountEmailTextOne = "Account_ConfirmAccountEmailTextOne",
404 ConfirmAccountEmailTextTwo = "Account_ConfirmAccountEmailTextTwo",
405 ConfirmAccountEmailTextEnd = "Account_ConfirmAccountEmailTextEnd",
406 ActivatedEmailAccountTextOne = "Account_ActivatedEmailAccountTextOne",
407 ActivatedEmailClickButton = "Account_ActivatedEmailClickButton",
408 ActivatedEmailTextFooter = "Account_ActivatedEmailTextFooter",
409 ConfirmEmail = "Account_ConfirmEmail",
410 AddNewWarranty = "Account_AddNewWarranty",
411 CreateNewWarranty = "Account_CreateWarranty",
412 CreateNewService = "Account_CreateService",
413 CreateNewPartsExchange = "Account_CreatePartsExchange",
414 EmailCannotBeEmpty = "Account_EmailCannotBeEmpty",
415 LoginToViewFavorites = "Account_LoginToViewFavorites";
416 }
417 public class Products
418 {
419 public static string
420 SelectRating = "Products_SelectRating",
421 RatingHeadline = "Products_RatingHeadline",
422 LoginToReview = "Products_LoginToReview",
423 NoReviewsFound = "Products_NoReviewsFound",
424 ProductsGeneral = "Products_ProductsGeneral",
425 NotifyWhenBackOnStock = "Products_NotifyWhenBackOnStock",
426 NotifyWhenBackOnStockSent = "Products_NotifyWhenBackOnStockSent",
427 NotifyWhenBackOnStockRegistered = "Products_NotifyWhenBackOnStockRegistered",
428 NotifyWhenBackOnStockAlreadySent = "Products_NotifyWhenBackOnStockAlreadySent",
429 ExchangePartsFor = "Products_ExchangePartsFor",
430 Product = "Products_Product",
431 AnyProduct = "Product_AnyProduct",
432 ProductNo = "Products_ProductNo",
433 ProductCode = "Products_ProductCode",
434 Prod = "Products_Prod",
435 Price = "Products_Price",
436 Vat = "Products_Vat",
437 SearchProductsOrPages = "Products_SearchProductsOrPages",
438 SearchProducts = "Products_SearchProducts",
439 SearchResultFor = "Products_SearchResultFor",
440 Newest = "Products_Newest",
441 PriceHighLow = "Products_PriceHighLow",
442 PriceLowHigh = "Products_PriceLowHigh",
443 Stock = "Products_Stock",
444 TotalStock = "Products_TotalStock",
445 InStock = "Products_InStock",
446 OutOfStock = "Products_OutOfStock",
447 Delivery = "Products_Delivery",
448 SearchFavoriteProducts = "Products_SearchFavoriteProducts",
449 Filters = "Products_Filters",
450 SelectFilters = "Products_SelectFilters",
451 CloseFilters = "Products_CloseFilters",
452 RemoveFilters = "Products_RemoveFilters",
453 ResetAllFilters = "Products_ResetAllFilters",
454 ProductCategories = "Products_ProductCategories",
455 Categories = "Products_Categories",
456 ExclVAT = "Products_ExclVAT",
457 InclVAT = "Products_InclVAT",
458 BuyWithPoints = "Products_BuyWithPoints",
459 MoreOptionsAvailable = "Products_MoreOptionsAvailable",
460 ProductNumber = "Products_ProductNumber",
461 Brand = "Products_Brand",
462 Buc = "Products_Buc",
463 PleaseSelectVariant = "Products_PleaseSelectVariant",
464 Sort = "Products_Sort",
465 SortBy = "Products_SortBy",
466 Summary = "Products_Summary",
467 Description = "Products_Description",
468 Specifications = "Products_Specifications",
469 Reviews = "Products_Reviews",
470 GeneralReviews = "Products_GeneralReviews",
471 AddAReview = "Products_AddAReview",
472 ProductAssets = "Products_ProductAssets",
473 Variants = "Products_Variants",
474 VariantsList = "Products_VariantsList",
475 IncludingProducts = "Products_IncludingProducts",
476 MinimumQuantity = "Products_MinimumQuantity",
477 StepQuantity = "Products_StepQuantity",
478 PriceWithVat = "Products_PriceWithVat",
479 Quantity = "Products_Quantity",
480 TotalPrice = "Products_TotalPrice",
481 TotalWithVat = "Products_TotalWithVat",
482 RecentSearches = "Products_RecentSearches",
483 ItemNumber = "Products_ItemNumber",
484 UnitPrice = "Products_UnitPrice",
485 ViewFavorites = "Products_ViewFavorites",
486 ChooseList = "Products_ChooseList",
487 WasAddedToFavoriteList = "Product_WasAddedToFavoriteList",
488 WasRemovedFromFavoriteList = "Product_WasRemovedFromFavoriteList",
489 RemoveFromCurrentFavoriteList = "Product_RemoveFromCurrentFavoriteList",
490 NotEligibleForWarranty = "Product_NotEligibleForWarranty",
491 AddToFavoritesLabel = "Products_AddToFavoritesLabel",
492 AddToFavorites = "Products_AddToFavorites",
493 RemoveFromFavorites = "Products_RemoveFromFavorites",
494 OrCreateOne = "Products_OrCreateOne",
495 OrCreateOneAndAddTheProductToIt = "Products_OrCreateOneAndAddTheProductToIt",
496 NoListsCreateOneAbove = "Products_NoListsCreateOneAbove",
497 EnterAListName = "Products_EnterAListName",
498 ListWithSameNameAlreadyExists = "Products_ListWithSameNameExists",
499 SeeFavoriteList = "Products_SeeFavoriteList",
500 Compare = "Products_Compare",
501 AddToCompare = "Products_AddToCompare",
502 RemoveFromCompare = "Products_RemoveFromCompare",
503 ViewMore = "Products_ViewMore",
504 RecommendedPrice = "Products_RecommendedPrice",
505 YouSave = "Products_YouSave",
506 SalesUOM = "Products_SalesUOM",
507 AvailablilityDateMessage = "Product_AvailableIn";
508 }
509 public class Cart
510 {
511 public static string
512 CartGeneral = "Cart_CartGeneral",
513 UpdateQuantitiesInCart ="Cart_UpdateQuantitiesInCart",
514 SignInCart = "Cart_SignInCart",
515 InvalidQuantitiesInCart = "Cart_InvalidQuantitiesInCart",
516 PlacedOrderDate = "Cart_PlacedOrderDate",
517 MaxFinalizeDate = "Cart_MaxFinalizeDate",
518 WaitingMarketplaceOrders = "Cart_WaitingMarketplaceOrders",
519 ApprovedOrRejectedMarketplaceOrders = "Cart_ApprovedOrRejectedMarketplaceOrders",
520 MarketplaceNoOrdersWaitingFound = "Cart_NoMarketplaceOrdersWaitingFound",
521 MarketplaceNoOrdersAcceptedOrRejectedFound = "Cart_NoMarketplaceOrdersAcceptedOrRejectedFound",
522 DeliverOrder = "Cart_DeliverOrder",
523 OrderDetails = "Cart_OrderDetails",
524 ApproveOrder = "Cart_ApproveOrder",
525 ApprovedOrder = "Cart_ApprovedOrder",
526 RejectOrder = "Cart_RejectOrder",
527 RejectedOrder = "Cart_RejectedOrder",
528 DeliveredOrder = "Cart_DeliveredOrder",
529 SearchMarketplaceOrders = "Cart_SearchMarketplaceOrders",
530 SelectOneOrMoreExchangeParts = "Cart_ChooseOneOrMoreExchangeParts",
531 ShoppingCart = "Cart_ShoppingCart",
532 ProductIsAddedToTheCart = "Cart_ProductIsAddedToTheCart",
533 ProductWasAddedToTheCart = "Cart_ProductWasAddedToTheCart",
534 ProductsAreAddedToTheCart = "Cart_ProductsAreAddedToTheCart",
535 ContinueShopping = "Cart_ContinueShopping",
536 ProceedToCheckout = "Cart_ProceedToCheckout",
537 Earnings = "Cart_Earnings",
538 Points = "Cart_Points",
539 NoPointsFound = "Cart_NoPointsFound",
540 YourPointBalance = "Cart_YourPointBalance",
541 UsedPoints = "Cart_UsedPoints",
542 AddPoints = "Cart_AddPoints",
543 Variant = "Cart_Variant",
544 Unit = "Cart_Unit",
545 Qty = "Cart_Qty",
546 Subtotal = "Cart_Subtotal",
547 Total = "Cart_Total",
548 CannotOrder = "Cart_CannotOrder",
549 RemoveOrderline = "Cart_RemoveOrderline",
550 UpdateOrderline = "Cart_UpdateOrderline",
551 OrderlineUpdating = "Cart_OrderlineUpdating",
552 OrderlineUpdated = "Cart_OrderlineUpdated",
553 OrderlineRemoving = "Cart_OrderlineRemoving",
554 OrderlineRemoved = "Cart_OrderlineRemoved",
555 EmptyCartStart = "Cart_EmptyCartStart",
556 EmptyCartFinished = "Cart_EmptyCartFinished",
557 EmptyCarCheck = "Cart_EmptyCartCheck",
558 SelectShippingOption = "Cart_SelectShippingOption",
559 SelectBillingOption = "Cart_SelectBillingOption",
560 NotEnoughPointsToBuyThis = "Cart_NotEnoughPointsToBuyThis",
561 MaximumPointsText = "Cart_MaximumPointsText",
562 EmptyCart = "Cart_EmptyCart",
563 Shipping = "Cart_Shipping",
564 AddToCart = "Cart_AddToCart",
565 BuyAll = "Cart_BuyAll",
566 BuyFor = "Cart_BuyFor",
567 Order = "Cart_Order",
568 OrderID = "Cart_OrderID",
569 Date = "Cart_Date",
570 OrderNumber = "Cart_OrderNumber",
571 OrderNumberNav = "Cart_OrderNumberNav",
572 OrderDate = "Cart_OrderDate",
573 OrderValue = "Cart_OrderValue",
574 ViewOrder = "Cart_ViewOrder",
575 PONumber = "Cart_PONumber",
576 Reorder = "Cart_Reorder",
577 NoOrdersFound = "Cart_NoOrdersFound",
578 Invoice = "Cart_Invoice",
579 ChooseInvoice = "Cart_ChooseInvoice",
580 SearchInvoices = "Cart_SearchInvoices",
581 NoInvoicesFound = "Cart_NoInvoicesFound",
582 PleaseChooseAnInvoice = "Cart_ChooseAnInvoice",
583 InvoiceNumber = "Cart_InvoiceNumber",
584 InvoiceDate = "Cart_InvoiceDate",
585 TrackingNumber = "Cart_TrackingNumber",
586 DeliveryNote = "Cart_DeliveryNote",
587 ViewDeliveryNote = "Cart_ViewDeliveryNote",
588 SelectOrder = "Cart_SelectOrder",
589 Payment = "Cart_Payment",
590 PaymentMethod = "Cart_PaymentMethod",
591 ShippingMethod = "Cart_ShippingMethod",
592 SelectShipping = "Cart_SelectShipping",
593 SelectPayment = "Cart_SelectPayment",
594 BillingAddress = "Cart_BillingAddress",
595 SameBillingAsShipping = "Cart_BillingAsShipping",
596 ShippmentNumber = "Cart_ShippmentNumber",
597 ShippingAddress = "Cart_ShippingAddress",
598 AddAlternativeAdr = "Cart_AddAlternativeAdr",
599 SelectSavedAddress = "Cart_SelectSavedAddress",
600 PaymentAndShipping = "Cart_PaymentAndShipping",
601 RecurringEvery = "Cart_RecurringEvery",
602 RecurringStartDate = "Cart_RecurringStartDate",
603 RecurringEndDate = "Cart_RecurringEndDate",
604 StartDate = "Cart_StartDate",
605 OrderUsedGiftCards = "Cart_OrderUsedGiftCards",
606 GiftCardName = "Cart_GiftCardName",
607 GiftCardCode = "Cart_GiftCardCode",
608 ExpiryDate = "Cart_ExpiryDate",
609 InitialAmount = "Cart_InitialAmount",
610 UsedAmount = "Cart_UsedAmount",
611 RemainingBalance = "Cart_RemainingBalance",
612 Vouchers = "Cart_Vouchers",
613 Voucher = "Cart_Voucher",
614 HasBeenUsed = "Cart_HasBeenUsed ",
615 GiftCardAmount = "Cart_GiftCardAmount",
616 ShopInformation = "Cart_ShopInformation",
617 ShopName = "Cart_ShopName",
618 CardNo = "Cart_CardNo",
619 TransactionNo = "Cart_TransactionNo",
620 TransactionState = "Cart_TransactionState",
621 GiftcardsBoughtOnThisOrder = "Cart_GiftcardsBoughtOnThisOrder",
622 RecurringOrder = "Cart_RecurringOrder",
623 RecurringOrderSettings = "Cart_RecurringOrderSettings",
624 SaveUsedCard = "Cart_SaveUsedCard",
625 SavedCardName = "Cart_SavedCardName",
626 PayWithASavedCard = "Cart_PayWithASavedCard",
627 CreateRecurringOrder = "Cart_CreateRecurringOrder",
628 IWantMyOrderEvery = "Cart_IWantMyOrderEvery",
629 AndItShouldEndOn = "Cart_AndItShouldEndOn",
630 YouHaveNoItemsInTheCart = "Cart_YouHaveNoItemsInTheCart",
631 GoToCheckout = "Cart_GoToCheckout",
632 CreateQuoteRequest = "Cart_CreateQuoteRequest",
633 SubmitQuoteRequest = "Cart_SubmitQuoteRequest",
634 ReviewOrder = "Cart_ReviewOrder",
635 ReviewOrderLine = "Cart_ReviewOrderLine",
636 GetParcelShops = "Cart_GetParcelShops",
637 ChangeParcelShop = "Cart_ChangeParcelShop",
638 ChooseAParcelShop = "Cart_ChooseAParcelShop",
639 ConfirmOrder = "Cart_ConfirmOrder",
640 AppliedToOrder = "Cart_AppliedToOrder",
641 EnterVoucherCode = "Cart_EnterVoucherCode",
642 CartAddAlternativeAdr = "Cart_CartAddAlternativeAdr",
643 RequiresAnAddress = "Cart_RequiresAnAddress",
644 YouHavePlacedASubscription = "Cart_YouHavePlacedASubscription",
645 NoAddressSelected = "Cart_NoAddressSelected",
646 CompanyNrInmatriculare = "Cart_CompanyNrInmatriculare",
647 AddressForm = "Cart_AddressForm",
648 AddressWasSent = "Account_AddressWasSent",
649 CreateAccountReceiptMessage = "Cart_CreateAccountReceiptMessage",
650 ShippingAddressFieldError = "Account_ShippingAddressFieldError",
651 BillingAddressFieldError = "Account_BillingAddressFieldError",
652 ThereWasAnErrorPleaseTryAgain = "Cart_ThereWasAnErrorPleaseTryAgain",
653 OrderEmailShippingConfirmation = "Cart_OrderEmailShippingConfirmation",
654 OrderEmailText = "Crt_OrderEmailText",
655 CantBePickedUp = "Cart_CantBePickedUp",
656 CreateUserInCheckout = "Cart_CreateUserInCheckout",
657 ProductNoPickup = "Cart_ProductNoPickup",
658 SelectShippingAddress = "Cart_SelectShippingAddress",
659 DiscountStepMessage = "Cart_DiscountStepMessage",
660 ServiceRequestNumber = "Cart_ServiceRequestNumber",
661 InsertAccountEmail = "Cart_InsertAccountEmail",
662 InsertAccountPassword = "Cart_InsertAccountPassword",
663 NoParcelShopsSelected = "Cart_NoParcelShopsSelected",
664 ShippingDiscountMessage = "Cart_ShippingDiscountMessage",
665 NoParcelShopsInYourArea = "Cart_NoParcelShopsInYourArea",
666 SelectBillingAddress = "Cart_SelectBillingAddress",
667 RMAId = "Cart_RMAId",
668 RMAEmailNotification = "Cart_RMAEmailNotification";
669
670 }
671 }
672
673 #line default
674 #line hidden
675
676
677 #line 593 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
678 public RazorEngine.Templating.TemplateWriter RenderContent()
679 {
680 #line default
681 #line hidden
682 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
683
684 #line 594 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
685
686 //Content
687 IList<ItemViewModel> elements = Model.Item.GetItems("List") ?? new List<ItemViewModel>();
688 if(elements.Any())
689 {
690 foreach (ItemViewModel element in elements)
691 {
692
693
694 #line default
695 #line hidden
696
697 #line 601 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
698 WriteTo(__razor_helper_writer, RenderElement(element));
699
700
701 #line default
702 #line hidden
703
704 #line 601 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
705
706 }
707
708
709 }
710
711
712 #line default
713 #line hidden
714 });
715
716 #line 606 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
717 }
718 #line default
719 #line hidden
720
721
722 #line 608 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
723 public RazorEngine.Templating.TemplateWriter RenderElement(ItemViewModel element)
724 {
725 #line default
726 #line hidden
727 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
728
729 #line 609 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
730
731 string title = element.GetString("Title");
732 string titleTag = element.GetList("Title_Tag").SelectedValue;
733 string titleStyle = element.GetList("Title_Style").SelectedValue;
734 string titleWeight = element.GetList("Title_Weight").SelectedValue;
735 string titleColor = element.GetList("Title_Color").SelectedValue;
736 bool hideTitle = element.GetBoolean("HideTitle");
737
738 string subtitle = element.GetString("Subtitle");
739 string subtitleTag = element.GetList("Subtitle_Tag").SelectedValue;
740 string subtitleStyle = element.GetList("Subtitle_Style").SelectedValue;
741 string subtitleWeight = element.GetList("Subtitle_Weight").SelectedValue;
742 string subtitleColor = element.GetList("Subtitle_Color").SelectedValue;
743 string subtitleSwitchPosition = element.GetValue("Switch_Subtitle_Position").ToString();
744
745 string content = element.GetString("Content");
746 FileViewModel contentImage = element.GetFile("Content_Image_Source") ?? new FileViewModel();
747 bool hasContentImage = contentImage.ToString() != "";
748
749 FileViewModel image = element.GetFile("Image") ?? new FileViewModel();
750 bool hasImage = image.ToString() != "";
751 string subtitleSwitchPositionCssClass = subtitleSwitchPosition == "True" ? " order--1 " : " ";
752 string titleRender= "<"+titleTag+" class='w-100 line-height-inline "+titleStyle+" color-"+ titleColor+" weight-"+titleWeight+"'>"+title+"</"+titleTag+">";
753 string subtitleRender= "<"+subtitleTag+" class='w-100 line-height-inline "+subtitleStyle + subtitleSwitchPositionCssClass +" color-"+ subtitleColor+" weight-"+subtitleWeight+"'>"+subtitle+"</"+subtitleTag+">";
754
755 string container = element.GetValue("Add_Container").ToString() == "True" && element.GetList("Container_Type").SelectedValue == "full" && element.GetValue("Add_Container_Padding").ToString() == "True"? "container" : "";
756
757 string bannerType = element.GetList("Banner_Type").SelectedValue;
758 string contentAwareCssClass = bannerType == "content-aware" ? "object-fit-cover h-100" : "";
759 string bannerXPadding = element.GetList("Banner_Height").SelectedValue == "auto" ? "padding-x-" + element.GetList("Horizontal_Spacing").SelectedValue : "";
760 string bannerYPadding = element.GetList("Banner_Height").SelectedValue == "auto" ? "padding-y-" + element.GetList("Vertical_Spacing").SelectedValue : "";
761 string bannerHeightCssClass = bannerType == "content-aware" ? "height-"+element.GetList("Banner_Height").SelectedValue : "";
762 string contentLayout = element.GetList("Content_Width").SelectedValue;
763 string contentColor = element.GetList("Content_Color").SelectedValue;
764 string contentPlacement = element.GetList("Content_Placement").SelectedValue;
765 string contentDecorCssClass = element.GetList("Content_Decor").SelectedValue;
766 string contentImagePlacementCssClass = contentPlacement == "left" ? "order-md-1" : "";
767 IList<ItemViewModel> contentButtons = element.GetItems("Buttons") ?? new List<ItemViewModel>();
768
769 string horizontalAlignment = element.GetList("Horizontal_Alignment").SelectedValue;
770 string verticalAlignment = element.GetList("Vertical_Alignment").SelectedValue;
771 string horizontalAlignmentCssClass = horizontalAlignment == "center" ? "justify-content-center text-center" : horizontalAlignment == "left" ? "justify-content-start text-left" : "justify-content-end text-right";
772 string verticalAlignmentCssClass = verticalAlignment == "center" ? "align-items-center" : verticalAlignment == "top" ? "align-items-top" : "align-items-bottom";
773 string imageSnapCssClass = (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any()) && (bannerType == "content-aware" && element.GetList("Banner_Height").SelectedValue == "auto") ? "snap" : "";
774 string contentBgColorCssClass = element.GetString("Content_Background_Color") != "" && !hasImage ? element.GetString("Content_Background_Color") : "transparent";
775 string contentFontSizeCssClass = element.GetList("Content_Font_Size").SelectedValue;
776 string customCssClass = element.GetString("Custom_Class");
777
778
779
780 #line default
781 #line hidden
782 WriteLiteralTo(__razor_helper_writer, " <div");
783
784 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 36896), Tuple.Create("\"", 36997)
785 , Tuple.Create(Tuple.Create("", 36904), Tuple.Create("component-b-refactored", 36904), true)
786
787 #line 657 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
788 , Tuple.Create(Tuple.Create(" ", 36926), Tuple.Create<System.Object, System.Int32>(container
789
790 #line default
791 #line hidden
792 , 36927), false)
793
794 #line 657 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
795 , Tuple.Create(Tuple.Create(" ", 36937), Tuple.Create<System.Object, System.Int32>(bannerHeightCssClass
796
797 #line default
798 #line hidden
799 , 36938), false)
800
801 #line 657 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
802 , Tuple.Create(Tuple.Create(" ", 36959), Tuple.Create<System.Object, System.Int32>(contentDecorCssClass
803
804 #line default
805 #line hidden
806 , 36960), false)
807
808 #line 657 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
809 , Tuple.Create(Tuple.Create(" ", 36981), Tuple.Create<System.Object, System.Int32>(customCssClass
810
811 #line default
812 #line hidden
813 , 36982), false)
814 );
815
816 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 36998), Tuple.Create("\"", 37041)
817 , Tuple.Create(Tuple.Create("", 37006), Tuple.Create("background:", 37006), true)
818
819 #line 657 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
820 , Tuple.Create(Tuple.Create(" ", 37017), Tuple.Create<System.Object, System.Int32>(contentBgColorCssClass
821
822 #line default
823 #line hidden
824 , 37018), false)
825 );
826
827 WriteLiteralTo(__razor_helper_writer, ">\r\n");
828
829
830 #line 658 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
831
832
833 #line default
834 #line hidden
835
836 #line 658 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
837 if (contentLayout == "1")
838 {
839
840
841 #line default
842 #line hidden
843 WriteLiteralTo(__razor_helper_writer, " <div");
844
845 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 37094), Tuple.Create("\"", 37235)
846 , Tuple.Create(Tuple.Create("", 37102), Tuple.Create("component-b-refactored__content", 37102), true)
847 , Tuple.Create(Tuple.Create(" ", 37133), Tuple.Create("flex-wrap", 37134), true)
848
849 #line 660 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
850 , Tuple.Create(Tuple.Create(" ", 37143), Tuple.Create<System.Object, System.Int32>(horizontalAlignmentCssClass
851
852 #line default
853 #line hidden
854 , 37144), false)
855
856 #line 660 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
857 , Tuple.Create(Tuple.Create(" ", 37172), Tuple.Create<System.Object, System.Int32>(verticalAlignmentCssClass
858
859 #line default
860 #line hidden
861 , 37173), false)
862 , Tuple.Create(Tuple.Create(" ", 37199), Tuple.Create("p-2", 37200), true)
863
864 #line 660 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
865 , Tuple.Create(Tuple.Create(" ", 37203), Tuple.Create<System.Object, System.Int32>(bannerXPadding
866
867 #line default
868 #line hidden
869 , 37204), false)
870
871 #line 660 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
872 , Tuple.Create(Tuple.Create(" ", 37219), Tuple.Create<System.Object, System.Int32>(bannerYPadding
873
874 #line default
875 #line hidden
876 , 37220), false)
877 );
878
879 WriteLiteralTo(__razor_helper_writer, ">\r\n");
880
881
882 #line 661 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
883
884
885 #line default
886 #line hidden
887
888 #line 661 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
889 if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any()) {
890
891
892 #line default
893 #line hidden
894 WriteLiteralTo(__razor_helper_writer, " <div");
895
896 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 37390), Tuple.Create("\"", 37495)
897 , Tuple.Create(Tuple.Create("", 37398), Tuple.Create("decor", 37398), true)
898 , Tuple.Create(Tuple.Create(" ", 37403), Tuple.Create("color-", 37404), true)
899
900 #line 662 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
901 , Tuple.Create(Tuple.Create("", 37410), Tuple.Create<System.Object, System.Int32>(contentColor
902
903 #line default
904 #line hidden
905 , 37410), false)
906 , Tuple.Create(Tuple.Create(" ", 37425), Tuple.Create("child-mb-2", 37426), true)
907
908 #line 662 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
909 , Tuple.Create(Tuple.Create(" ", 37436), Tuple.Create<System.Object, System.Int32>(horizontalAlignmentCssClass
910
911 #line default
912 #line hidden
913 , 37437), false)
914 , Tuple.Create(Tuple.Create(" ", 37465), Tuple.Create("font-", 37466), true)
915
916 #line 662 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
917 , Tuple.Create(Tuple.Create("", 37471), Tuple.Create<System.Object, System.Int32>(contentFontSizeCssClass
918
919 #line default
920 #line hidden
921 , 37471), false)
922 );
923
924 WriteLiteralTo(__razor_helper_writer, ">\r\n");
925
926
927 #line 663 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
928
929
930 #line default
931 #line hidden
932
933 #line 663 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
934 if (!string.IsNullOrEmpty(title) && !hideTitle)
935 {
936
937
938 #line default
939 #line hidden
940
941 #line 665 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
942 WriteTo(__razor_helper_writer, titleRender);
943
944
945 #line default
946 #line hidden
947
948 #line 665 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
949
950 }
951
952
953 #line default
954 #line hidden
955 WriteLiteralTo(__razor_helper_writer, " ");
956
957
958 #line 667 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
959 if (!string.IsNullOrEmpty(subtitle))
960 {
961
962
963 #line default
964 #line hidden
965
966 #line 669 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
967 WriteTo(__razor_helper_writer, subtitleRender);
968
969
970 #line default
971 #line hidden
972
973 #line 669 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
974
975 }
976
977
978 #line default
979 #line hidden
980 WriteLiteralTo(__razor_helper_writer, " ");
981
982
983 #line 671 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
984 if (!string.IsNullOrEmpty(content))
985 {
986
987
988 #line default
989 #line hidden
990 WriteLiteralTo(__razor_helper_writer, " <div");
991
992 WriteLiteralTo(__razor_helper_writer, " class=\"content\"");
993
994 WriteLiteralTo(__razor_helper_writer, ">");
995
996
997 #line 673 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
998 WriteTo(__razor_helper_writer, content);
999
1000
1001 #line default
1002 #line hidden
1003 WriteLiteralTo(__razor_helper_writer, "</div>\r\n");
1004
1005
1006 #line 674 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1007 }
1008
1009
1010 #line default
1011 #line hidden
1012 WriteLiteralTo(__razor_helper_writer, " ");
1013
1014
1015 #line 675 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1016 if (contentButtons != null && contentButtons.Any())
1017 {
1018
1019
1020 #line default
1021 #line hidden
1022 WriteLiteralTo(__razor_helper_writer, " <div");
1023
1024 WriteLiteralTo(__razor_helper_writer, " class=\"actions inline-flex child-mr-2\"");
1025
1026 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1027
1028
1029 #line 678 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1030
1031
1032 #line default
1033 #line hidden
1034
1035 #line 678 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1036 foreach (var button in contentButtons)
1037 {
1038 string url = button.GetString("Link");
1039 string linkText = button.GetString("Text");
1040 string buttonTheme = !String.IsNullOrEmpty(button.GetList("Theme").SelectedValue) ? button.GetList("Theme").SelectedValue : "dark";
1041 string buttonType = !String.IsNullOrEmpty(button.GetList("Type").SelectedValue) ? button.GetList("Type").SelectedValue : "fill";
1042 if (url.Contains("http"))
1043 {
1044
1045
1046 #line default
1047 #line hidden
1048 WriteLiteralTo(__razor_helper_writer, " <a");
1049
1050 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 38563), Tuple.Create("\"", 38574)
1051
1052 #line 686 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1053 , Tuple.Create(Tuple.Create("", 38570), Tuple.Create<System.Object, System.Int32>(url
1054
1055 #line default
1056 #line hidden
1057 , 38570), false)
1058 );
1059
1060 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 38575), Tuple.Create("\"", 38616)
1061 , Tuple.Create(Tuple.Create("", 38583), Tuple.Create("btn", 38583), true)
1062 , Tuple.Create(Tuple.Create(" ", 38586), Tuple.Create("btn-", 38587), true)
1063
1064 #line 686 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1065 , Tuple.Create(Tuple.Create("", 38591), Tuple.Create<System.Object, System.Int32>(buttonType
1066
1067 #line default
1068 #line hidden
1069 , 38591), false)
1070 , Tuple.Create(Tuple.Create("", 38602), Tuple.Create("--", 38602), true)
1071
1072 #line 686 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1073 , Tuple.Create(Tuple.Create("", 38604), Tuple.Create<System.Object, System.Int32>(buttonTheme
1074
1075 #line default
1076 #line hidden
1077 , 38604), false)
1078 );
1079
1080 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\"");
1081
1082 WriteLiteralTo(__razor_helper_writer, " rel=\"noopener\"");
1083
1084 WriteLiteralTo(__razor_helper_writer, ">");
1085
1086
1087 #line 686 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1088 WriteTo(__razor_helper_writer, linkText);
1089
1090
1091 #line default
1092 #line hidden
1093 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
1094
1095
1096 #line 687 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1097 } else {
1098
1099
1100 #line default
1101 #line hidden
1102 WriteLiteralTo(__razor_helper_writer, " <a");
1103
1104 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 38712), Tuple.Create("\"", 38723)
1105
1106 #line 688 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1107 , Tuple.Create(Tuple.Create("", 38719), Tuple.Create<System.Object, System.Int32>(url
1108
1109 #line default
1110 #line hidden
1111 , 38719), false)
1112 );
1113
1114 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 38724), Tuple.Create("\"", 38765)
1115 , Tuple.Create(Tuple.Create("", 38732), Tuple.Create("btn", 38732), true)
1116 , Tuple.Create(Tuple.Create(" ", 38735), Tuple.Create("btn-", 38736), true)
1117
1118 #line 688 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1119 , Tuple.Create(Tuple.Create("", 38740), Tuple.Create<System.Object, System.Int32>(buttonType
1120
1121 #line default
1122 #line hidden
1123 , 38740), false)
1124 , Tuple.Create(Tuple.Create("", 38751), Tuple.Create("--", 38751), true)
1125
1126 #line 688 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1127 , Tuple.Create(Tuple.Create("", 38753), Tuple.Create<System.Object, System.Int32>(buttonTheme
1128
1129 #line default
1130 #line hidden
1131 , 38753), false)
1132 );
1133
1134 WriteLiteralTo(__razor_helper_writer, ">");
1135
1136
1137 #line 688 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1138 WriteTo(__razor_helper_writer, linkText);
1139
1140
1141 #line default
1142 #line hidden
1143 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
1144
1145
1146 #line 689 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1147 }
1148 }
1149
1150
1151 #line default
1152 #line hidden
1153 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1154
1155
1156 #line 692 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1157 }
1158
1159
1160 #line default
1161 #line hidden
1162 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1163
1164
1165 #line 694 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1166 }
1167
1168
1169 #line default
1170 #line hidden
1171 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1172
1173 WriteLiteralTo(__razor_helper_writer, " <div");
1174
1175 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 38906), Tuple.Create("\"", 38962)
1176 , Tuple.Create(Tuple.Create("", 38914), Tuple.Create("component-b-refactored__image", 38914), true)
1177
1178 #line 696 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1179 , Tuple.Create(Tuple.Create(" ", 38943), Tuple.Create<System.Object, System.Int32>(imageSnapCssClass
1180
1181 #line default
1182 #line hidden
1183 , 38944), false)
1184 );
1185
1186 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1187
1188
1189 #line 697 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1190
1191
1192 #line default
1193 #line hidden
1194
1195 #line 697 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1196 if ((image.ToString()).Contains(".mp4"))
1197 {
1198
1199
1200 #line default
1201 #line hidden
1202 WriteLiteralTo(__razor_helper_writer, " <video autoplay muted loop");
1203
1204 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 39064), Tuple.Create("\"", 39105)
1205
1206 #line 699 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1207 , Tuple.Create(Tuple.Create("", 39072), Tuple.Create<System.Object, System.Int32>(contentAwareCssClass
1208
1209 #line default
1210 #line hidden
1211 , 39072), false)
1212 , Tuple.Create(Tuple.Create(" ", 39093), Tuple.Create("w-100", 39094), true)
1213 , Tuple.Create(Tuple.Create(" ", 39099), Tuple.Create("block", 39100), true)
1214 );
1215
1216 WriteLiteralTo(__razor_helper_writer, ">\r\n <source");
1217
1218 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 39128), Tuple.Create("\"", 39140)
1219
1220 #line 700 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1221 , Tuple.Create(Tuple.Create("", 39134), Tuple.Create<System.Object, System.Int32>(image
1222
1223 #line default
1224 #line hidden
1225 , 39134), false)
1226 );
1227
1228 WriteLiteralTo(__razor_helper_writer, " type=\"video/mp4\"");
1229
1230 WriteLiteralTo(__razor_helper_writer, ">\r\n </video>\r\n");
1231
1232
1233 #line 702 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1234 }
1235 else
1236 {
1237
1238
1239 #line default
1240 #line hidden
1241 WriteLiteralTo(__razor_helper_writer, " <img");
1242
1243 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 39231), Tuple.Create("\"", 39333)
1244 , Tuple.Create(Tuple.Create("", 39237), Tuple.Create("/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=10" +
1245 "&Image=", 39237), true)
1246
1247 #line 705 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1248 , Tuple.Create(Tuple.Create("", 39325), Tuple.Create<System.Object, System.Int32>(image
1249
1250 #line default
1251 #line hidden
1252 , 39325), false)
1253 );
1254
1255 WriteLiteralTo(__razor_helper_writer, " width=\"1920\"");
1256
1257 WriteLiteralTo(__razor_helper_writer, " height=\"776\"");
1258
1259 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Re" +
1260 "solution=72&Image=");
1261
1262
1263 #line 705 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1264 WriteTo(__razor_helper_writer, image);
1265
1266
1267 #line default
1268 #line hidden
1269 WriteLiteralTo(__razor_helper_writer, "\"");
1270
1271 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 39468), Tuple.Create("\"", 39518)
1272
1273 #line 705 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1274 , Tuple.Create(Tuple.Create("", 39476), Tuple.Create<System.Object, System.Int32>(contentAwareCssClass
1275
1276 #line default
1277 #line hidden
1278 , 39476), false)
1279 , Tuple.Create(Tuple.Create(" ", 39497), Tuple.Create("block", 39498), true)
1280 , Tuple.Create(Tuple.Create(" ", 39503), Tuple.Create("lazyload", 39504), true)
1281 , Tuple.Create(Tuple.Create(" ", 39512), Tuple.Create("w-100", 39513), true)
1282 );
1283
1284 WriteLiteralTo(__razor_helper_writer, "/> \r\n");
1285
1286
1287 #line 706 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1288 }
1289
1290
1291 #line default
1292 #line hidden
1293 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1294
1295
1296 #line 708 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1297 } else if (contentLayout == "1/2")
1298 {
1299
1300
1301 #line default
1302 #line hidden
1303 WriteLiteralTo(__razor_helper_writer, " <div");
1304
1305 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 39609), Tuple.Create("\"", 39738)
1306 , Tuple.Create(Tuple.Create("", 39617), Tuple.Create("component-b-refactored__content", 39617), true)
1307 , Tuple.Create(Tuple.Create(" ", 39648), Tuple.Create("grid-md-2", 39649), true)
1308 , Tuple.Create(Tuple.Create(" ", 39658), Tuple.Create("flex-wrap", 39659), true)
1309
1310 #line 710 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1311 , Tuple.Create(Tuple.Create(" ", 39668), Tuple.Create<System.Object, System.Int32>(verticalAlignmentCssClass
1312
1313 #line default
1314 #line hidden
1315 , 39670), false)
1316 , Tuple.Create(Tuple.Create(" ", 39696), Tuple.Create("p-2", 39697), true)
1317 , Tuple.Create(Tuple.Create(" ", 39700), Tuple.Create("gap-4", 39701), true)
1318
1319 #line 710 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1320 , Tuple.Create(Tuple.Create(" ", 39706), Tuple.Create<System.Object, System.Int32>(bannerXPadding
1321
1322 #line default
1323 #line hidden
1324 , 39707), false)
1325
1326 #line 710 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1327 , Tuple.Create(Tuple.Create(" ", 39722), Tuple.Create<System.Object, System.Int32>(bannerYPadding
1328
1329 #line default
1330 #line hidden
1331 , 39723), false)
1332 );
1333
1334 WriteLiteralTo(__razor_helper_writer, ">\r\n \r\n <div");
1335
1336 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 39763), Tuple.Create("\"", 39851)
1337 , Tuple.Create(Tuple.Create("", 39771), Tuple.Create("image", 39771), true)
1338 , Tuple.Create(Tuple.Create(" ", 39776), Tuple.Create("flex-wrap", 39777), true)
1339 , Tuple.Create(Tuple.Create(" ", 39786), Tuple.Create("place-items-center", 39787), true)
1340 , Tuple.Create(Tuple.Create(" ", 39805), Tuple.Create("col-md-1", 39806), true)
1341 , Tuple.Create(Tuple.Create(" ", 39814), Tuple.Create("w-100", 39815), true)
1342
1343 #line 712 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1344 , Tuple.Create(Tuple.Create(" ", 39820), Tuple.Create<System.Object, System.Int32>(contentImagePlacementCssClass
1345
1346 #line default
1347 #line hidden
1348 , 39821), false)
1349 );
1350
1351 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1352
1353
1354 #line 713 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1355
1356
1357 #line default
1358 #line hidden
1359
1360 #line 713 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1361 if (hasContentImage)
1362 {
1363
1364
1365 #line default
1366 #line hidden
1367 WriteLiteralTo(__razor_helper_writer, " <img");
1368
1369 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?Width=720&Height=720&Crop=5&Format=jpg&Res" +
1370 "olution=72&Image=");
1371
1372
1373 #line 715 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1374 WriteTo(__razor_helper_writer, contentImage);
1375
1376
1377 #line default
1378 #line hidden
1379 WriteLiteralTo(__razor_helper_writer, "\"");
1380
1381 WriteLiteralTo(__razor_helper_writer, " class=\"lazyload w-100 h-auto\"");
1382
1383 WriteLiteralTo(__razor_helper_writer, "/>\r\n");
1384
1385
1386 #line 716 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1387 }
1388
1389
1390 #line default
1391 #line hidden
1392 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1393
1394
1395 #line 718 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1396
1397
1398 #line default
1399 #line hidden
1400
1401 #line 718 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1402 if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any())
1403 {
1404
1405
1406 #line default
1407 #line hidden
1408 WriteLiteralTo(__razor_helper_writer, " <div");
1409
1410 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 40254), Tuple.Create("\"", 40388)
1411 , Tuple.Create(Tuple.Create("", 40262), Tuple.Create("decor", 40262), true)
1412 , Tuple.Create(Tuple.Create(" ", 40267), Tuple.Create("p-2", 40268), true)
1413 , Tuple.Create(Tuple.Create(" ", 40271), Tuple.Create("p-md-0", 40272), true)
1414 , Tuple.Create(Tuple.Create(" ", 40278), Tuple.Create("color-", 40279), true)
1415
1416 #line 720 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1417 , Tuple.Create(Tuple.Create("", 40285), Tuple.Create<System.Object, System.Int32>(contentColor
1418
1419 #line default
1420 #line hidden
1421 , 40285), false)
1422
1423 #line 720 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1424 , Tuple.Create(Tuple.Create(" ", 40300), Tuple.Create<System.Object, System.Int32>(horizontalAlignmentCssClass
1425
1426 #line default
1427 #line hidden
1428 , 40301), false)
1429 , Tuple.Create(Tuple.Create(" ", 40329), Tuple.Create("col-md-1", 40330), true)
1430 , Tuple.Create(Tuple.Create(" ", 40338), Tuple.Create("child-mb-2", 40339), true)
1431 , Tuple.Create(Tuple.Create(" ", 40349), Tuple.Create("flex-wrap", 40350), true)
1432
1433 #line 720 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1434 , Tuple.Create(Tuple.Create(" ", 40359), Tuple.Create<System.Object, System.Int32>(horizontalAlignmentCssClass
1435
1436 #line default
1437 #line hidden
1438 , 40360), false)
1439 );
1440
1441 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1442
1443
1444 #line 721 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1445
1446
1447 #line default
1448 #line hidden
1449
1450 #line 721 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1451 if (!string.IsNullOrEmpty(title) && !hideTitle)
1452 {
1453
1454
1455 #line default
1456 #line hidden
1457
1458 #line 723 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1459 WriteTo(__razor_helper_writer, titleRender);
1460
1461
1462 #line default
1463 #line hidden
1464
1465 #line 723 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1466
1467 }
1468
1469
1470 #line default
1471 #line hidden
1472 WriteLiteralTo(__razor_helper_writer, " ");
1473
1474
1475 #line 725 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1476 if (!string.IsNullOrEmpty(subtitle))
1477 {
1478
1479
1480 #line default
1481 #line hidden
1482
1483 #line 727 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1484 WriteTo(__razor_helper_writer, subtitleRender);
1485
1486
1487 #line default
1488 #line hidden
1489
1490 #line 727 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1491
1492 }
1493
1494
1495 #line default
1496 #line hidden
1497 WriteLiteralTo(__razor_helper_writer, " ");
1498
1499
1500 #line 729 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1501 if (!string.IsNullOrEmpty(content))
1502 {
1503
1504
1505 #line default
1506 #line hidden
1507 WriteLiteralTo(__razor_helper_writer, " <div");
1508
1509 WriteLiteralTo(__razor_helper_writer, " class=\"content\"");
1510
1511 WriteLiteralTo(__razor_helper_writer, ">");
1512
1513
1514 #line 731 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1515 WriteTo(__razor_helper_writer, content);
1516
1517
1518 #line default
1519 #line hidden
1520 WriteLiteralTo(__razor_helper_writer, "</div>\r\n");
1521
1522
1523 #line 732 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1524 }
1525
1526
1527 #line default
1528 #line hidden
1529 WriteLiteralTo(__razor_helper_writer, " \r\n");
1530
1531
1532 #line 734 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1533
1534
1535 #line default
1536 #line hidden
1537
1538 #line 734 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1539 if (contentButtons != null && contentButtons.Any())
1540 {
1541
1542
1543 #line default
1544 #line hidden
1545 WriteLiteralTo(__razor_helper_writer, " <div");
1546
1547 WriteLiteralTo(__razor_helper_writer, " class=\"actions inline-flex child-mr-2\"");
1548
1549 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1550
1551
1552 #line 737 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1553
1554
1555 #line default
1556 #line hidden
1557
1558 #line 737 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1559 foreach (var button in contentButtons)
1560 {
1561 string url = button.GetString("Link");
1562 string linkText = button.GetString("Text");
1563 string buttonTheme = !String.IsNullOrEmpty(button.GetList("Theme").SelectedValue) ? button.GetList("Theme").SelectedValue : "dark";
1564 string buttonType = !String.IsNullOrEmpty(button.GetList("Type").SelectedValue) ? button.GetList("Type").SelectedValue : "fill";
1565 if (url.Contains("http"))
1566 {
1567
1568
1569 #line default
1570 #line hidden
1571 WriteLiteralTo(__razor_helper_writer, " <a");
1572
1573 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 41494), Tuple.Create("\"", 41505)
1574
1575 #line 745 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1576 , Tuple.Create(Tuple.Create("", 41501), Tuple.Create<System.Object, System.Int32>(url
1577
1578 #line default
1579 #line hidden
1580 , 41501), false)
1581 );
1582
1583 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 41506), Tuple.Create("\"", 41547)
1584 , Tuple.Create(Tuple.Create("", 41514), Tuple.Create("btn", 41514), true)
1585 , Tuple.Create(Tuple.Create(" ", 41517), Tuple.Create("btn-", 41518), true)
1586
1587 #line 745 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1588 , Tuple.Create(Tuple.Create("", 41522), Tuple.Create<System.Object, System.Int32>(buttonType
1589
1590 #line default
1591 #line hidden
1592 , 41522), false)
1593 , Tuple.Create(Tuple.Create("", 41533), Tuple.Create("--", 41533), true)
1594
1595 #line 745 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1596 , Tuple.Create(Tuple.Create("", 41535), Tuple.Create<System.Object, System.Int32>(buttonTheme
1597
1598 #line default
1599 #line hidden
1600 , 41535), false)
1601 );
1602
1603 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\"");
1604
1605 WriteLiteralTo(__razor_helper_writer, " rel=\"noopener\"");
1606
1607 WriteLiteralTo(__razor_helper_writer, ">");
1608
1609
1610 #line 745 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1611 WriteTo(__razor_helper_writer, linkText);
1612
1613
1614 #line default
1615 #line hidden
1616 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
1617
1618
1619 #line 746 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1620 } else {
1621
1622
1623 #line default
1624 #line hidden
1625 WriteLiteralTo(__razor_helper_writer, " <a");
1626
1627 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 41645), Tuple.Create("\"", 41656)
1628
1629 #line 747 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1630 , Tuple.Create(Tuple.Create("", 41652), Tuple.Create<System.Object, System.Int32>(url
1631
1632 #line default
1633 #line hidden
1634 , 41652), false)
1635 );
1636
1637 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 41657), Tuple.Create("\"", 41698)
1638 , Tuple.Create(Tuple.Create("", 41665), Tuple.Create("btn", 41665), true)
1639 , Tuple.Create(Tuple.Create(" ", 41668), Tuple.Create("btn-", 41669), true)
1640
1641 #line 747 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1642 , Tuple.Create(Tuple.Create("", 41673), Tuple.Create<System.Object, System.Int32>(buttonType
1643
1644 #line default
1645 #line hidden
1646 , 41673), false)
1647 , Tuple.Create(Tuple.Create("", 41684), Tuple.Create("--", 41684), true)
1648
1649 #line 747 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1650 , Tuple.Create(Tuple.Create("", 41686), Tuple.Create<System.Object, System.Int32>(buttonTheme
1651
1652 #line default
1653 #line hidden
1654 , 41686), false)
1655 );
1656
1657 WriteLiteralTo(__razor_helper_writer, ">");
1658
1659
1660 #line 747 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1661 WriteTo(__razor_helper_writer, linkText);
1662
1663
1664 #line default
1665 #line hidden
1666 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
1667
1668
1669 #line 748 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1670 }
1671 }
1672
1673
1674 #line default
1675 #line hidden
1676 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1677
1678
1679 #line 751 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1680 }
1681
1682
1683 #line default
1684 #line hidden
1685 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1686
1687
1688 #line 753 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1689 }
1690
1691
1692 #line default
1693 #line hidden
1694 WriteLiteralTo(__razor_helper_writer, " </div> \r\n");
1695
1696
1697 #line 755 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1698
1699
1700
1701 #line default
1702 #line hidden
1703 WriteLiteralTo(__razor_helper_writer, " <div");
1704
1705 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 41856), Tuple.Create("\"", 41912)
1706 , Tuple.Create(Tuple.Create("", 41864), Tuple.Create("component-b-refactored__image", 41864), true)
1707
1708 #line 756 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1709 , Tuple.Create(Tuple.Create(" ", 41893), Tuple.Create<System.Object, System.Int32>(imageSnapCssClass
1710
1711 #line default
1712 #line hidden
1713 , 41894), false)
1714 );
1715
1716 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1717
1718
1719 #line 757 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1720
1721
1722 #line default
1723 #line hidden
1724
1725 #line 757 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1726 if ((image.ToString()).Contains(".mp4"))
1727 {
1728
1729
1730 #line default
1731 #line hidden
1732 WriteLiteralTo(__razor_helper_writer, " <video autoplay muted loop");
1733
1734 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 42014), Tuple.Create("\"", 42055)
1735
1736 #line 759 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1737 , Tuple.Create(Tuple.Create("", 42022), Tuple.Create<System.Object, System.Int32>(contentAwareCssClass
1738
1739 #line default
1740 #line hidden
1741 , 42022), false)
1742 , Tuple.Create(Tuple.Create(" ", 42043), Tuple.Create("w-100", 42044), true)
1743 , Tuple.Create(Tuple.Create(" ", 42049), Tuple.Create("block", 42050), true)
1744 );
1745
1746 WriteLiteralTo(__razor_helper_writer, ">\r\n <source");
1747
1748 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 42078), Tuple.Create("\"", 42090)
1749
1750 #line 760 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1751 , Tuple.Create(Tuple.Create("", 42084), Tuple.Create<System.Object, System.Int32>(image
1752
1753 #line default
1754 #line hidden
1755 , 42084), false)
1756 );
1757
1758 WriteLiteralTo(__razor_helper_writer, " type=\"video/mp4\"");
1759
1760 WriteLiteralTo(__razor_helper_writer, ">\r\n </video>\r\n");
1761
1762
1763 #line 762 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1764 }
1765 else
1766 {
1767
1768
1769 #line default
1770 #line hidden
1771 WriteLiteralTo(__razor_helper_writer, " <img");
1772
1773 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 42181), Tuple.Create("\"", 42283)
1774 , Tuple.Create(Tuple.Create("", 42187), Tuple.Create("/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=10" +
1775 "&Image=", 42187), true)
1776
1777 #line 765 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1778 , Tuple.Create(Tuple.Create("", 42275), Tuple.Create<System.Object, System.Int32>(image
1779
1780 #line default
1781 #line hidden
1782 , 42275), false)
1783 );
1784
1785 WriteLiteralTo(__razor_helper_writer, " width=\"1920\"");
1786
1787 WriteLiteralTo(__razor_helper_writer, " height=\"776\"");
1788
1789 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Re" +
1790 "solution=72&Image=");
1791
1792
1793 #line 765 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1794 WriteTo(__razor_helper_writer, image);
1795
1796
1797 #line default
1798 #line hidden
1799 WriteLiteralTo(__razor_helper_writer, "\"");
1800
1801 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 42418), Tuple.Create("\"", 42468)
1802
1803 #line 765 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1804 , Tuple.Create(Tuple.Create("", 42426), Tuple.Create<System.Object, System.Int32>(contentAwareCssClass
1805
1806 #line default
1807 #line hidden
1808 , 42426), false)
1809 , Tuple.Create(Tuple.Create(" ", 42447), Tuple.Create("block", 42448), true)
1810 , Tuple.Create(Tuple.Create(" ", 42453), Tuple.Create("lazyload", 42454), true)
1811 , Tuple.Create(Tuple.Create(" ", 42462), Tuple.Create("w-100", 42463), true)
1812 );
1813
1814 WriteLiteralTo(__razor_helper_writer, "/> \r\n");
1815
1816
1817 #line 766 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1818 }
1819
1820
1821 #line default
1822 #line hidden
1823 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1824
1825
1826 #line 768 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1827 } else if (contentLayout == "1/3" || contentLayout == "2/3")
1828 {
1829 string contentCssClass = contentLayout == "1/3" ? "col-md-1 col-lg-1" : "col-md-1 col-lg-2";
1830 string imageCssClass = contentLayout == "1/3" ? "col-md-1 col-lg-2" : "col-md-1 col-lg-1";
1831
1832
1833 #line default
1834 #line hidden
1835 WriteLiteralTo(__razor_helper_writer, " <div");
1836
1837 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 42783), Tuple.Create("\"", 42922)
1838 , Tuple.Create(Tuple.Create("", 42791), Tuple.Create("component-b-refactored__content", 42791), true)
1839 , Tuple.Create(Tuple.Create(" ", 42822), Tuple.Create("grid-md-2", 42823), true)
1840 , Tuple.Create(Tuple.Create(" ", 42832), Tuple.Create("grid-lg-3", 42833), true)
1841 , Tuple.Create(Tuple.Create(" ", 42842), Tuple.Create("flex-wrap", 42843), true)
1842
1843 #line 772 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1844 , Tuple.Create(Tuple.Create(" ", 42852), Tuple.Create<System.Object, System.Int32>(verticalAlignmentCssClass
1845
1846 #line default
1847 #line hidden
1848 , 42854), false)
1849 , Tuple.Create(Tuple.Create(" ", 42880), Tuple.Create("p-2", 42881), true)
1850 , Tuple.Create(Tuple.Create(" ", 42884), Tuple.Create("gap-4", 42885), true)
1851
1852 #line 772 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1853 , Tuple.Create(Tuple.Create(" ", 42890), Tuple.Create<System.Object, System.Int32>(bannerXPadding
1854
1855 #line default
1856 #line hidden
1857 , 42891), false)
1858
1859 #line 772 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1860 , Tuple.Create(Tuple.Create(" ", 42906), Tuple.Create<System.Object, System.Int32>(bannerYPadding
1861
1862 #line default
1863 #line hidden
1864 , 42907), false)
1865 );
1866
1867 WriteLiteralTo(__razor_helper_writer, ">\r\n <div");
1868
1869 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 42938), Tuple.Create("\"", 43032)
1870 , Tuple.Create(Tuple.Create("", 42946), Tuple.Create("image", 42946), true)
1871 , Tuple.Create(Tuple.Create(" ", 42951), Tuple.Create("flex-wrap", 42952), true)
1872 , Tuple.Create(Tuple.Create(" ", 42961), Tuple.Create("place-items-center", 42962), true)
1873 , Tuple.Create(Tuple.Create(" ", 42980), Tuple.Create("w-100", 42981), true)
1874
1875 #line 773 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1876 , Tuple.Create(Tuple.Create(" ", 42986), Tuple.Create<System.Object, System.Int32>(imageCssClass
1877
1878 #line default
1879 #line hidden
1880 , 42987), false)
1881
1882 #line 773 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1883 , Tuple.Create(Tuple.Create(" ", 43001), Tuple.Create<System.Object, System.Int32>(contentImagePlacementCssClass
1884
1885 #line default
1886 #line hidden
1887 , 43002), false)
1888 );
1889
1890 WriteLiteralTo(__razor_helper_writer, ">\r\n");
1891
1892
1893 #line 774 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1894
1895
1896 #line default
1897 #line hidden
1898
1899 #line 774 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1900 if (hasContentImage)
1901 {
1902
1903
1904 #line default
1905 #line hidden
1906 WriteLiteralTo(__razor_helper_writer, " <img");
1907
1908 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?Width=720&Height=720&Crop=5&Format=jpg&Res" +
1909 "olution=72&Image=");
1910
1911
1912 #line 776 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1913 WriteTo(__razor_helper_writer, contentImage);
1914
1915
1916 #line default
1917 #line hidden
1918 WriteLiteralTo(__razor_helper_writer, "\"");
1919
1920 WriteLiteralTo(__razor_helper_writer, " class=\"lazyload block w-100 h-auto\"");
1921
1922 WriteLiteralTo(__razor_helper_writer, " />\r\n");
1923
1924
1925 #line 777 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1926 }
1927
1928
1929 #line default
1930 #line hidden
1931 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
1932
1933
1934 #line 779 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1935
1936
1937 #line default
1938 #line hidden
1939
1940 #line 779 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1941 if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any())
1942 {
1943
1944
1945 #line default
1946 #line hidden
1947 WriteLiteralTo(__razor_helper_writer, " <div");
1948
1949 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 43442), Tuple.Create("\"", 43584)
1950 , Tuple.Create(Tuple.Create("", 43450), Tuple.Create("decor", 43450), true)
1951 , Tuple.Create(Tuple.Create(" ", 43455), Tuple.Create("p-2", 43456), true)
1952 , Tuple.Create(Tuple.Create(" ", 43459), Tuple.Create("p-md-0", 43460), true)
1953 , Tuple.Create(Tuple.Create(" ", 43466), Tuple.Create("color-", 43467), true)
1954
1955 #line 781 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1956 , Tuple.Create(Tuple.Create("", 43473), Tuple.Create<System.Object, System.Int32>(contentColor
1957
1958 #line default
1959 #line hidden
1960 , 43473), false)
1961
1962 #line 781 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1963 , Tuple.Create(Tuple.Create(" ", 43488), Tuple.Create<System.Object, System.Int32>(horizontalAlignmentCssClass
1964
1965 #line default
1966 #line hidden
1967 , 43489), false)
1968
1969 #line 781 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1970 , Tuple.Create(Tuple.Create(" ", 43517), Tuple.Create<System.Object, System.Int32>(contentCssClass
1971
1972 #line default
1973 #line hidden
1974 , 43518), false)
1975 , Tuple.Create(Tuple.Create(" ", 43534), Tuple.Create("child-mb-2", 43535), true)
1976 , Tuple.Create(Tuple.Create(" ", 43545), Tuple.Create("flex-wrap", 43546), true)
1977
1978 #line 781 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1979 , Tuple.Create(Tuple.Create(" ", 43555), Tuple.Create<System.Object, System.Int32>(horizontalAlignmentCssClass
1980
1981 #line default
1982 #line hidden
1983 , 43556), false)
1984 );
1985
1986 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n");
1987
1988
1989 #line 783 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1990
1991
1992 #line default
1993 #line hidden
1994
1995 #line 783 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
1996 if (!string.IsNullOrEmpty(title) && !hideTitle)
1997 {
1998
1999
2000 #line default
2001 #line hidden
2002
2003 #line 785 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2004 WriteTo(__razor_helper_writer, titleRender);
2005
2006
2007 #line default
2008 #line hidden
2009
2010 #line 785 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2011
2012 }
2013
2014
2015 #line default
2016 #line hidden
2017 WriteLiteralTo(__razor_helper_writer, " ");
2018
2019
2020 #line 787 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2021 if (!string.IsNullOrEmpty(subtitle))
2022 {
2023
2024
2025 #line default
2026 #line hidden
2027
2028 #line 789 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2029 WriteTo(__razor_helper_writer, subtitleRender);
2030
2031
2032 #line default
2033 #line hidden
2034
2035 #line 789 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2036
2037 }
2038
2039
2040 #line default
2041 #line hidden
2042 WriteLiteralTo(__razor_helper_writer, " ");
2043
2044
2045 #line 791 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2046 if (!string.IsNullOrEmpty(content))
2047 {
2048
2049
2050 #line default
2051 #line hidden
2052 WriteLiteralTo(__razor_helper_writer, " <div");
2053
2054 WriteLiteralTo(__razor_helper_writer, " class=\"content\"");
2055
2056 WriteLiteralTo(__razor_helper_writer, ">");
2057
2058
2059 #line 793 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2060 WriteTo(__razor_helper_writer, content);
2061
2062
2063 #line default
2064 #line hidden
2065 WriteLiteralTo(__razor_helper_writer, "</div>\r\n");
2066
2067
2068 #line 794 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2069 }
2070
2071
2072 #line default
2073 #line hidden
2074 WriteLiteralTo(__razor_helper_writer, " ");
2075
2076
2077 #line 795 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2078 if (contentButtons != null && contentButtons.Any())
2079 {
2080
2081
2082 #line default
2083 #line hidden
2084 WriteLiteralTo(__razor_helper_writer, " <div");
2085
2086 WriteLiteralTo(__razor_helper_writer, " class=\"actions inline-flex child-mr-2\"");
2087
2088 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2089
2090
2091 #line 798 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2092
2093
2094 #line default
2095 #line hidden
2096
2097 #line 798 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2098 foreach (var button in contentButtons)
2099 {
2100 string url = button.GetString("Link");
2101 string linkText = button.GetString("Text");
2102 string buttonTheme = !String.IsNullOrEmpty(button.GetList("Theme").SelectedValue) ? button.GetList("Theme").SelectedValue : "dark";
2103 string buttonType = !String.IsNullOrEmpty(button.GetList("Type").SelectedValue) ? button.GetList("Type").SelectedValue : "fill";
2104 if (url.Contains("http"))
2105 {
2106
2107
2108 #line default
2109 #line hidden
2110 WriteLiteralTo(__razor_helper_writer, " <a");
2111
2112 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 44678), Tuple.Create("\"", 44689)
2113
2114 #line 806 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2115 , Tuple.Create(Tuple.Create("", 44685), Tuple.Create<System.Object, System.Int32>(url
2116
2117 #line default
2118 #line hidden
2119 , 44685), false)
2120 );
2121
2122 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 44690), Tuple.Create("\"", 44731)
2123 , Tuple.Create(Tuple.Create("", 44698), Tuple.Create("btn", 44698), true)
2124 , Tuple.Create(Tuple.Create(" ", 44701), Tuple.Create("btn-", 44702), true)
2125
2126 #line 806 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2127 , Tuple.Create(Tuple.Create("", 44706), Tuple.Create<System.Object, System.Int32>(buttonType
2128
2129 #line default
2130 #line hidden
2131 , 44706), false)
2132 , Tuple.Create(Tuple.Create("", 44717), Tuple.Create("--", 44717), true)
2133
2134 #line 806 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2135 , Tuple.Create(Tuple.Create("", 44719), Tuple.Create<System.Object, System.Int32>(buttonTheme
2136
2137 #line default
2138 #line hidden
2139 , 44719), false)
2140 );
2141
2142 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\"");
2143
2144 WriteLiteralTo(__razor_helper_writer, " rel=\"noopener\"");
2145
2146 WriteLiteralTo(__razor_helper_writer, ">");
2147
2148
2149 #line 806 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2150 WriteTo(__razor_helper_writer, linkText);
2151
2152
2153 #line default
2154 #line hidden
2155 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
2156
2157
2158 #line 807 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2159 } else {
2160
2161
2162 #line default
2163 #line hidden
2164 WriteLiteralTo(__razor_helper_writer, " <a");
2165
2166 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 44829), Tuple.Create("\"", 44840)
2167
2168 #line 808 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2169 , Tuple.Create(Tuple.Create("", 44836), Tuple.Create<System.Object, System.Int32>(url
2170
2171 #line default
2172 #line hidden
2173 , 44836), false)
2174 );
2175
2176 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 44841), Tuple.Create("\"", 44882)
2177 , Tuple.Create(Tuple.Create("", 44849), Tuple.Create("btn", 44849), true)
2178 , Tuple.Create(Tuple.Create(" ", 44852), Tuple.Create("btn-", 44853), true)
2179
2180 #line 808 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2181 , Tuple.Create(Tuple.Create("", 44857), Tuple.Create<System.Object, System.Int32>(buttonType
2182
2183 #line default
2184 #line hidden
2185 , 44857), false)
2186 , Tuple.Create(Tuple.Create("", 44868), Tuple.Create("--", 44868), true)
2187
2188 #line 808 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2189 , Tuple.Create(Tuple.Create("", 44870), Tuple.Create<System.Object, System.Int32>(buttonTheme
2190
2191 #line default
2192 #line hidden
2193 , 44870), false)
2194 );
2195
2196 WriteLiteralTo(__razor_helper_writer, ">");
2197
2198
2199 #line 808 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2200 WriteTo(__razor_helper_writer, linkText);
2201
2202
2203 #line default
2204 #line hidden
2205 WriteLiteralTo(__razor_helper_writer, "</a>\r\n");
2206
2207
2208 #line 809 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2209 }
2210 }
2211
2212
2213 #line default
2214 #line hidden
2215 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
2216
2217
2218 #line 812 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2219 }
2220
2221
2222 #line default
2223 #line hidden
2224 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
2225
2226
2227 #line 814 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2228 }
2229
2230
2231 #line default
2232 #line hidden
2233 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
2234
2235
2236 #line 816 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2237
2238
2239
2240 #line default
2241 #line hidden
2242 WriteLiteralTo(__razor_helper_writer, " <div");
2243
2244 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 45037), Tuple.Create("\"", 45093)
2245 , Tuple.Create(Tuple.Create("", 45045), Tuple.Create("component-b-refactored__image", 45045), true)
2246
2247 #line 817 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2248 , Tuple.Create(Tuple.Create(" ", 45074), Tuple.Create<System.Object, System.Int32>(imageSnapCssClass
2249
2250 #line default
2251 #line hidden
2252 , 45075), false)
2253 );
2254
2255 WriteLiteralTo(__razor_helper_writer, ">\r\n");
2256
2257
2258 #line 818 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2259
2260
2261 #line default
2262 #line hidden
2263
2264 #line 818 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2265 if ((image.ToString()).Contains(".mp4"))
2266 {
2267
2268
2269 #line default
2270 #line hidden
2271 WriteLiteralTo(__razor_helper_writer, " <video autoplay muted loop");
2272
2273 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 45195), Tuple.Create("\"", 45236)
2274
2275 #line 820 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2276 , Tuple.Create(Tuple.Create("", 45203), Tuple.Create<System.Object, System.Int32>(contentAwareCssClass
2277
2278 #line default
2279 #line hidden
2280 , 45203), false)
2281 , Tuple.Create(Tuple.Create(" ", 45224), Tuple.Create("w-100", 45225), true)
2282 , Tuple.Create(Tuple.Create(" ", 45230), Tuple.Create("block", 45231), true)
2283 );
2284
2285 WriteLiteralTo(__razor_helper_writer, ">\r\n <source");
2286
2287 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 45259), Tuple.Create("\"", 45271)
2288
2289 #line 821 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2290 , Tuple.Create(Tuple.Create("", 45265), Tuple.Create<System.Object, System.Int32>(image
2291
2292 #line default
2293 #line hidden
2294 , 45265), false)
2295 );
2296
2297 WriteLiteralTo(__razor_helper_writer, " type=\"video/mp4\"");
2298
2299 WriteLiteralTo(__razor_helper_writer, ">\r\n </video>\r\n");
2300
2301
2302 #line 823 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2303 }
2304 else
2305 {
2306
2307
2308 #line default
2309 #line hidden
2310 WriteLiteralTo(__razor_helper_writer, " <img");
2311
2312 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 45362), Tuple.Create("\"", 45464)
2313 , Tuple.Create(Tuple.Create("", 45368), Tuple.Create("/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=10" +
2314 "&Image=", 45368), true)
2315
2316 #line 826 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2317 , Tuple.Create(Tuple.Create("", 45456), Tuple.Create<System.Object, System.Int32>(image
2318
2319 #line default
2320 #line hidden
2321 , 45456), false)
2322 );
2323
2324 WriteLiteralTo(__razor_helper_writer, " width=\"1920\"");
2325
2326 WriteLiteralTo(__razor_helper_writer, " height=\"776\"");
2327
2328 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Re" +
2329 "solution=72&Image=");
2330
2331
2332 #line 826 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2333 WriteTo(__razor_helper_writer, image);
2334
2335
2336 #line default
2337 #line hidden
2338 WriteLiteralTo(__razor_helper_writer, "\"");
2339
2340 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 45599), Tuple.Create("\"", 45649)
2341
2342 #line 826 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2343 , Tuple.Create(Tuple.Create("", 45607), Tuple.Create<System.Object, System.Int32>(contentAwareCssClass
2344
2345 #line default
2346 #line hidden
2347 , 45607), false)
2348 , Tuple.Create(Tuple.Create(" ", 45628), Tuple.Create("block", 45629), true)
2349 , Tuple.Create(Tuple.Create(" ", 45634), Tuple.Create("lazyload", 45635), true)
2350 , Tuple.Create(Tuple.Create(" ", 45643), Tuple.Create("w-100", 45644), true)
2351 );
2352
2353 WriteLiteralTo(__razor_helper_writer, "/> \r\n");
2354
2355
2356 #line 827 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2357 }
2358
2359
2360 #line default
2361 #line hidden
2362 WriteLiteralTo(__razor_helper_writer, " </div>\r\n");
2363
2364
2365 #line 829 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2366
2367 }
2368
2369
2370 #line default
2371 #line hidden
2372 WriteLiteralTo(__razor_helper_writer, " \r\n </div> \r\n");
2373
2374
2375 #line 833 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2376
2377
2378 #line default
2379 #line hidden
2380 });
2381
2382 #line 833 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2383 }
2384 #line default
2385 #line hidden
2386
2387
2388 public RazorEngine_11b6acc402aa4336a41ed139e8053249() {
2389 }
2390
2391 public override void Execute() {
2392 WriteLiteral("\r\n");
2393
2394 WriteLiteral("\r\n");
2395
2396 WriteLiteral("\r\n\r\n\r\n\r\n");
2397
2398 WriteLiteral("\r\n");
2399
2400 WriteLiteral("\r\n");
2401
2402
2403 #line 835 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2404
2405
2406 string containerType = Model.Item.GetList("Container_Type").SelectedValue;
2407 string containerClass = containerType == "full" ? "container--wide" : "container";
2408
2409
2410 #line default
2411 #line hidden
2412 WriteLiteral(" <div");
2413
2414 WriteAttribute("class", Tuple.Create(" class=\"", 45906), Tuple.Create("\"", 45948)
2415 , Tuple.Create(Tuple.Create("", 45914), Tuple.Create("section__container", 45914), true)
2416
2417 #line 839 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2418 , Tuple.Create(Tuple.Create(" ", 45932), Tuple.Create<System.Object, System.Int32>(containerClass
2419
2420 #line default
2421 #line hidden
2422 , 45933), false)
2423 );
2424
2425 WriteLiteral(">\r\n <div");
2426
2427 WriteLiteral(" class=\"section__content\"");
2428
2429 WriteLiteral(">\r\n <df-slider>\r\n");
2430
2431 WriteLiteral(" ");
2432
2433
2434 #line 842 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2435 Write(RenderContent());
2436
2437
2438 #line default
2439 #line hidden
2440 WriteLiteral("\r\n </df-slider>\r\n </div>\r\n </div>\r\n");
2441
2442
2443 #line 846 "C:\inetpub\wwwroot\DecoCenter\Staging\Files\Templates\Designs\Wizaris\DynamicArticle\Paragraph\CMMRGNT_Content_Slider.cshtml"
2444
2445
2446
2447 #line default
2448 #line hidden
2449 }
2450 }
2451 }
2452
1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
2 @using System.Collections.Generic
3 @using System
4 @using System.Activities.Statements
5 @using System.Text.RegularExpressions
6 @using Dynamicweb.Core
7 @using Dynamicweb.Frontend
8 @using Df.Dw.Rapido
9
10 @using System.Text.RegularExpressions
11 @using System.Collections.Generic
12 @using System.Reflection
13 @using System.Web.UI.HtmlControls
14 @using Dynamicweb.News
15 @using Dynamicweb.Rapido.Blocks.Components
16 @using Dynamicweb.Rapido.Blocks.Components.Articles
17 @using Dynamicweb.Rapido.Blocks.Components.Documentation
18 @using Dynamicweb.Rapido.Blocks
19
20 @functions{
21 public class Translations
22 {
23 public class General
24 {
25 public static string
26 Logo = "General_Logo",
27 GenerateAWB = "General_GenerateAWB",
28 DeliveryAgent = "General_DeliveryAgent",
29 SelectCountry = "General_SelectCountry",
30 DateInterval = "General_DateInterval",
31 CloseModal = "General_CloseModal",
32 ClosePanel = "General_ClosePanel",
33 SearchPage = "General_SearchPage",
34 Search = "General_Search",
35 CloseSearch = "General_CloseSearch",
36 All = "General_All",
37 View = "General_View",
38 ViewAll = "General_ViewAll",
39 ReadMore = "General_ReadMore",
40 More = "General_More",
41 Load = "General_Load",
42 Add = "General_Add",
43 Remove = "General_Remove",
44 Save = "General_Save",
45 Close = "General_Close",
46 Go = "General_Go",
47 Back = "General_Back",
48 Hi = "General_Hi",
49 Edit = "General_Edit",
50 Delete = "General_Delete",
51 DownloadExcel = "General_DownloadExcel",
52 Cancel = "General_Cancel",
53 SetDefault = "General_SetDefault",
54 Submit = "General_Submit",
55 SocialLinks = "General_SocialLinks",
56 MailingList = "General_MailingList",
57 YourEmailAddress = "General_YourEmailAddress",
58 SignUpMessage = "General_SignUpMessage",
59 SignUpForm = "General_SignUpForm",
60 YourSearchGave0Results = "General_YourSearchGave0Results",
61 Contact = "General_Contact",
62 Pages = "General_Pages",
63 NotAvailable = "General_NotAvailable",
64 Default = "General_Default",
65 Yes = "General_Yes",
66 No = "General_No",
67 Page = "General_Page",
68 Of = "General_Of",
69 FirstPage = "General_FirstPage",
70 LastPage = "General_LastPage",
71 ReturnToTop = "General_ReturnToTop",
72 Details = "General_Details",
73 Information = "General_Information",
74 Downloads = "General_Downloads",
75 Download = "General_Download",
76 GeneratePdf = "General_GeneratePdf",
77 DownloadPdf = "General_DownloadPdf",
78 Select = "General_Select",
79 SelectType = "General_SelectType",
80 Type = "General_Type",
81 RequestType = "General_RequestType",
82 Language = "General_Language",
83 Images = "General_Images",
84 Documents = "General_Documents",
85 Export = "General_Export",
86 ImagePurpose = "General_ImagePurpose",
87 Office = "General_Office",
88 Original = "General_Original",
89 Print = "General_Print",
90 Web = "General_Web",
91 ExportFormat = "General_ExportFormat",
92 Videos = "General_Videos",
93 AskForInfo = "General_AskForInfo",
94 DataSheet = "General_DataSheet",
95 LinkToPage = "General_LinkToPage",
96 Again = "General_Again",
97 Notice = "General_Notice",
98 Form = "General_Form",
99 TechnicalContact = "General_TechnicalContact",
100 Error = "General_Error",
101 Warning = "General_Warning",
102 Status = "General_Status",
103 State = "General_State",
104 NoDocumentsFound = "General_NoDocumentsFound",
105 CreditMemo = "General_CreditMemo",
106 History = "General_History",
107 Comment = "General_Comment",
108 AddComment = "General_AddComment",
109 EnterComment = "General_EnterComment",
110 NothingSelected = "General_NothingSelected",
111 Never = "General_Never",
112 Days = "General_Days",
113 Weeks = "General_Weeks",
114 Months = "General_Months",
115 IAcceptTheTermsAndConditions = "General_IAcceptTheTermsAndConditions",
116 TheTermsAndConditionsOfThisWebsite = "General_TheTermsAndConditionsOfThisWebsite",
117 ReadGeneralConditions = "General_ReadGeneralConditions",
118 SubscribeToNewsletter = "General_SubscribeToNewsletter",
119 Use = "General_Use",
120 Choose = "General_Choose",
121 Free = "General_Free",
122 Next = "General_Next",
123 GoTo = "General_GoTo",
124 NotFound = "General_NotFound",
125 AlreadyUsed = "General_AlreadyUsed",
126 IsNotActive = "General_IsNotActive",
127 Apply = "General_Apply",
128 NoItemsFound = "General_NoItemsFound",
129 GoToFrontPage = "General_GoToFrontPage",
130 LoginModalHeading = "General_LoginModalHeading",
131 LoginModalSubHeading = "General_LoginModalSubHeading",
132 ViewInBrowser = "General_ViewInBrowser",
133 CantSeeMessage = "General_CantSeeMessage",
134 Welcome = "General_Welcome",
135 Continue = "General_Continue",
136 UserIsActivated = "General_UserIsActivated",
137 Create = "General_Create",
138 ViewOffer = "General_ViewOffer",
139 CookiesHeader = "General_CookiesHeader",
140 CookiesText1 = "General_CookiesText1",
141 CookiesText2 = "General_CookiesText2",
142 CookiesDoNotAcceptCookies = "General_CookiesDoNotAcceptCookies",
143 CookiesOnlyAcceptFunctionalCookies = "General_OnlyAcceptFunctionalCookies",
144 CookiesAcceptAllCookies = "General_AcceptAllCookies",
145 RMADetailsEmail = "General_RMADetailsEmail",
146 RMAClientName = "General_RMAClientName",
147 RMADataCererii = "General_RMADataCererii",
148 RMATipCerere = "General_RMATipCerere",
149 RMAOrderInitial = "General_RMAOrderInitial",
150 RMAEmailText = "General_RMAEmailText",
151 Written = "General_Written",
152 By = "General_By",
153 On = "General_On",
154 Category = "General_Category",
155 Hello = "General_Hello";
156 }
157 public class Account
158 {
159 public static string
160 LogIn = "Account_LogIn",
161 Promotions = "Account_Promotions",
162 Resupply = "Account_Resupply",
163 WorkInProgressOrders = "Account_WorkInProgressOrders",
164 ExchangePartsRequests = "Account_ExchangePartsRequests",
165 DeliverYourselfOrders = "Account_DeliverYourselfOrders",
166 PickedUpFromStoreOrders = "Account_PickedUpFromStoreOrders",
167 OrdersDeliveredByYou = "Account_OrdersDeliveredByYou",
168 SignIn = "Account_SignIn",
169 SignOut = "Account_SignOut",
170 CreateAccount = "Account_CreateAccount",
171 ForgotYourPassword = "Account_ForgotYourPassword",
172 ResetYourPassword = "Account_ResetYourPassword",
173 RememberMe = "Account_RememberMe",
174 Password = "Account_Password",
175 Name = "Account_Name",
176 FirstName = "Account_FirstName",
177 LastName = "Account_LastName",
178 Description = "Address_Description",
179 Email = "Account_Email",
180 Username = "Account_Username",
181 Phone = "Account_Phone",
182 ZipCode = "Account_ZipCode",
183 City = "Account_City",
184 Country = "Account_Country",
185 CompanyName = "Account_CompanyName",
186 CompanyAddress = "Account_CompanyAddress",
187 CompanyCity = "Account_CompanyCity ",
188 CompanyZip = "Account_CompanyZip",
189 CompanyCountry = "Account_CompanyCountry",
190 CompanyID = "Account_CompanyID",
191 CompanyTIN = "Account_CompanyTIN",
192 CompanyVAT = "Account_CompanyVAT",
193 CompanyTermsOfPayment = "Account_CompanyTermsOfPayment",
194 Company = "Account_Company",
195 StateRegion = "Account_StateRegion",
196 NewPassword = "Account_NewPassword",
197 OldPassword = "Account_OldPassword",
198 ConfirmPassword = "Account_ConfirmPassword",
199 BusinessNumber = "Account_BusinessNumber",
200 AlreadyACustomer = "Account_AlreadyACustomer",
201 MyProfile = "Account_MyProfile",
202 EditProfile = "Account_EditProfile",
203 MyOrders = "Account_MyOrders",
204 MyFavorites = "Account_MyFavorites",
205 MySavedCards = "Account_MySavedCards",
206 StopImpersonation = "Account_StopImpersonation",
207 Impersonate = "Account_Impersonate",
208 IsImpersonating = "Account_IsImpersonating",
209 StopImpresonationPageText ="Account_StopImpresonationPageText",
210 SelectUserToImpersonate = "Account_SelectUserToImpersonate",
211 SearchUser = "Account_SearchUser",
212 ViewListOfUsers = "Account_ViewListOfUsers",
213 PasswordLengthIsInvalid = "Account_PasswordLengthIsInvalid",
214 InvalidEmailOrPassword = "Account_InvalidEmailOrPassword",
215 LimitOfAllowedLoginAttempts = "Account_LimitOfAllowedLoginAttempts",
216 TheUserAccountIsTemporarilyLocked = "Account_TheUserAccountIsTemporarilyLocked",
217 ThePasswordHasExpired = "Account_ThePasswordHasExpired",
218 AnUnknownErrorOccured = "Account_AnUnknownErrorOccured",
219 CreateAccountIncentive = "Account_CreateAccountIncentive",
220 CreateAccountIncentiveWithoutStock = "Account_CreateAccountIncentiveWithoutStock",
221 SignUpToSeeTheStock = "Account_SignUpToSeeTheStock",
222 InsertYourEmailMsg = "Account_InsertYourEmailMsg",
223 UserNotFound = "Account_UserNotFound",
224 UsersFound = "Account_UsersFound",
225 SendPasswordRecovery = "Account_SendPasswordRecovery",
226 PasswordRecovery = "Account_PasswordRecovery",
227 SomethingWentWrong = "Account_SomethingWentWrong",
228 TryRecoverPassword = "Account_TryRecoverPassword",
229 TheRecoveryPasswordLinkOutOfDate = "Account_TheRecoveryPasswordLinkOutOfDate",
230 ChooseANewPassword = "Account_ChooseANewPassword",
231 PasswordChanged = "Account_PasswordChanged",
232 SentEmailWithALinks = "Account_SentEmailWithALinks",
233 SentEmailWithThePassword = "Account_SentEmailWithThePassword",
234 AStrongPassword = "Account_AStrongPassword",
235 WeHaveReceivedARequest = "Account_WeHaveReceivedARequest",
236 ClickToSetANewPassword = "Account_ClickToSetANewPassword",
237 IgnoreThisEmail = "Account_IgnoreThisEmail",
238 CompleteOrdersCount = "Account_CompleteOrdersCount",
239 CompanyCreditLimit = "Account_CompanyCreditLimit",
240 InvoiceValue = "Account_InvoiceValue",
241 CompanySold = "Account_CompanySold",
242 CompanyOverdue = "Account_CompanyOverdue",
243 OpenOrders = "Account_OpenOrders",
244 PlacedOrders = "Account_PlacedOrders",
245 ProductsOnSale = "Account_ProductsOnSale",
246 LoyaltyPoints = "Account_LoyaltyPoints",
247 RequestAccountStatements = "Account_RequestAccountStatements",
248 RequestComplaintForm = "Account_RequestComplaintForm",
249 CompanyCreditLimitInfo = "Account_CompanyCreditLimitInfo",
250 YourConsents = "Account_YourConsents",
251 YourPointBalance = "Account_YourPointBalance",
252 Address = "Account_Address",
253 Address2 = "Account_Address2",
254 Addresses = "Account_Addresses",
255 MyAddresses = "Account_MyAddresses",
256 ManageAddresses = "Account_ManageAddresses",
257 NoAddressFound = "Account_NoAddressFound",
258 DefaultLocation = "Account_DefaultLocation",
259 DefaultPayment = "Account_DefaultPayment",
260 PaymentTerm = "Account_PaymentTerm",
261 MainAddressCanNotBeDeleted = "Account_MainAddressCanNotBeDeleted",
262 YouCanNotDeleteADefaultAddress = "Account_YouCanNotDeleteADefaultAddress",
263 AddNewAddress = "Account_AddNewAddress",
264 DeliveryAddresses = "Account_DeliveryAddresses",
265 BillingAddresses = "Account_BillingAddresses",
266 NoAddressesFound = "Account_NoAddressesFound",
267 EditAddress = "Account_EditAddress",
268 AddAddress = "Account_AddAddress",
269 SaveAddress = "Account_SaveAnAddress",
270 StreetNumber = "Account_StreetNumber",
271 DeleteThisAddress = "Account_DeleteThisAddress",
272 NoRMAsListFound = "Account_NoRMAsListFound",
273 RMASelectTypeFirst = "Account_SelectRMATypeFirst",
274 CancelTheRequest = "Account_CancelTheRequest",
275 EmittedWarranties = "Account_EmittedWarranties",
276 ViewRma = "Account_ViewRma",
277 CancelRma = "Account_CancelRma",
278 CreateNewRequest = "Account_CreateNewRequest",
279 CreateRequest = "Account_CreateRequest",
280 CancelRequest = "Account_CancelRequest",
281 ViewRequest = "Account_ViewRequest",
282 RmaId = "Account_RmaId",
283 AdditionalInfo = "Account_AdditionalInfo",
284 CustomerComment = "Account_CustomerComment",
285 CustomerDetails = "Account_CustomerDetails",
286 NoFavoritesListsFound = "Account_NoFavoritesListsFound",
287 CreateNewList = "Account_CreateNewList",
288 AddNewList = "Account_AddNewList",
289 EditList = "Account_EditList",
290 SetAsDefault = "Account_SetAsDefault",
291 DeleteThisFavoriteList = "Account_DeleteThisFavoriteList",
292 PublishedTo = "Account_PublishedTo",
293 ReturnToList = "Account_ReturnToList",
294 ShouldTheListBePublic = "Account_ShouldTheListBePublic",
295 IsThisTheDefaultList = "Account_IsThisTheDefaultList",
296 CreateList = "Account_CreateList",
297 BackToProfile = "Account_BackToProfile",
298 YouAreAlmostThere = "Account_YouAreAlmostThere",
299 CheckYourEmailToConfirmYourUserProfile = "Account_CheckYourEmailToConfirmYourUserProfile",
300 ProfileComplete = "Account_ProfileComplete",
301 ProfileCompletePageText = "Account_ProfileCompletePageText",
302 CreateUserAccount = "Account_CreateUserAccount",
303 CreateYourNewAccount = "Account_CreateYourNewAccount",
304 YouAlreadyExistInOurSystemClickBelowToResetYourPassword = "Account_YouAlreadyExistInOurSystemClickBelowToResetYourPassword",
305 ResetPassword = "Account_ResetPassword",
306 PrivatePerson = "Account_PrivatePerson",
307 EmptyFields = "Account_CompleteAllFields",
308 PasswordsNoMatch = "Account_PasswordsDoNotMatch",
309 FillOldPasswordFirst = "Account_FillOldPasswordFirst",
310 PasswordFieldCannotBeEmpty = "Account_PasswordShouldNotBeEmpty",
311 PasswordCannotBeEmpty = "Account_PasswordCannotBeEmpty",
312 NewPasswordConfimShouldNotBeEmpty = "Account_NewPasswordConfimShouldNotBeEmpty",
313 NameCannotBeEmpty = "Account_NameCannotBeEmpty",
314 FirstNameCannotBeEmpty = "Account_FirstNameCannotBeEmpty",
315 LastNameCannotBeEmpty = "Account_LastNameCannotBeEmpty",
316 ConfirmAccount = "Account_ConfirmAccount",
317 ConfirmAccountEmailSubheader = "Account_ConfirmAccountEmailSubheader",
318 ConfirmAccountEmailHi = "Account_ConfirmAccountEmailHi",
319 ConfirmAccountEmailTextOne = "Account_ConfirmAccountEmailTextOne",
320 ConfirmAccountEmailTextTwo = "Account_ConfirmAccountEmailTextTwo",
321 ConfirmAccountEmailTextEnd = "Account_ConfirmAccountEmailTextEnd",
322 ActivatedEmailAccountTextOne = "Account_ActivatedEmailAccountTextOne",
323 ActivatedEmailClickButton = "Account_ActivatedEmailClickButton",
324 ActivatedEmailTextFooter = "Account_ActivatedEmailTextFooter",
325 ConfirmEmail = "Account_ConfirmEmail",
326 AddNewWarranty = "Account_AddNewWarranty",
327 CreateNewWarranty = "Account_CreateWarranty",
328 CreateNewService = "Account_CreateService",
329 CreateNewPartsExchange = "Account_CreatePartsExchange",
330 EmailCannotBeEmpty = "Account_EmailCannotBeEmpty",
331 LoginToViewFavorites = "Account_LoginToViewFavorites";
332 }
333 public class Products
334 {
335 public static string
336 SelectRating = "Products_SelectRating",
337 RatingHeadline = "Products_RatingHeadline",
338 LoginToReview = "Products_LoginToReview",
339 NoReviewsFound = "Products_NoReviewsFound",
340 ProductsGeneral = "Products_ProductsGeneral",
341 NotifyWhenBackOnStock = "Products_NotifyWhenBackOnStock",
342 NotifyWhenBackOnStockSent = "Products_NotifyWhenBackOnStockSent",
343 NotifyWhenBackOnStockRegistered = "Products_NotifyWhenBackOnStockRegistered",
344 NotifyWhenBackOnStockAlreadySent = "Products_NotifyWhenBackOnStockAlreadySent",
345 ExchangePartsFor = "Products_ExchangePartsFor",
346 Product = "Products_Product",
347 AnyProduct = "Product_AnyProduct",
348 ProductNo = "Products_ProductNo",
349 ProductCode = "Products_ProductCode",
350 Prod = "Products_Prod",
351 Price = "Products_Price",
352 Vat = "Products_Vat",
353 SearchProductsOrPages = "Products_SearchProductsOrPages",
354 SearchProducts = "Products_SearchProducts",
355 SearchResultFor = "Products_SearchResultFor",
356 Newest = "Products_Newest",
357 PriceHighLow = "Products_PriceHighLow",
358 PriceLowHigh = "Products_PriceLowHigh",
359 Stock = "Products_Stock",
360 TotalStock = "Products_TotalStock",
361 InStock = "Products_InStock",
362 OutOfStock = "Products_OutOfStock",
363 Delivery = "Products_Delivery",
364 SearchFavoriteProducts = "Products_SearchFavoriteProducts",
365 Filters = "Products_Filters",
366 SelectFilters = "Products_SelectFilters",
367 CloseFilters = "Products_CloseFilters",
368 RemoveFilters = "Products_RemoveFilters",
369 ResetAllFilters = "Products_ResetAllFilters",
370 ProductCategories = "Products_ProductCategories",
371 Categories = "Products_Categories",
372 ExclVAT = "Products_ExclVAT",
373 InclVAT = "Products_InclVAT",
374 BuyWithPoints = "Products_BuyWithPoints",
375 MoreOptionsAvailable = "Products_MoreOptionsAvailable",
376 ProductNumber = "Products_ProductNumber",
377 Brand = "Products_Brand",
378 Buc = "Products_Buc",
379 PleaseSelectVariant = "Products_PleaseSelectVariant",
380 Sort = "Products_Sort",
381 SortBy = "Products_SortBy",
382 Summary = "Products_Summary",
383 Description = "Products_Description",
384 Specifications = "Products_Specifications",
385 Reviews = "Products_Reviews",
386 GeneralReviews = "Products_GeneralReviews",
387 AddAReview = "Products_AddAReview",
388 ProductAssets = "Products_ProductAssets",
389 Variants = "Products_Variants",
390 VariantsList = "Products_VariantsList",
391 IncludingProducts = "Products_IncludingProducts",
392 MinimumQuantity = "Products_MinimumQuantity",
393 StepQuantity = "Products_StepQuantity",
394 PriceWithVat = "Products_PriceWithVat",
395 Quantity = "Products_Quantity",
396 TotalPrice = "Products_TotalPrice",
397 TotalWithVat = "Products_TotalWithVat",
398 RecentSearches = "Products_RecentSearches",
399 ItemNumber = "Products_ItemNumber",
400 UnitPrice = "Products_UnitPrice",
401 ViewFavorites = "Products_ViewFavorites",
402 ChooseList = "Products_ChooseList",
403 WasAddedToFavoriteList = "Product_WasAddedToFavoriteList",
404 WasRemovedFromFavoriteList = "Product_WasRemovedFromFavoriteList",
405 RemoveFromCurrentFavoriteList = "Product_RemoveFromCurrentFavoriteList",
406 NotEligibleForWarranty = "Product_NotEligibleForWarranty",
407 AddToFavoritesLabel = "Products_AddToFavoritesLabel",
408 AddToFavorites = "Products_AddToFavorites",
409 RemoveFromFavorites = "Products_RemoveFromFavorites",
410 OrCreateOne = "Products_OrCreateOne",
411 OrCreateOneAndAddTheProductToIt = "Products_OrCreateOneAndAddTheProductToIt",
412 NoListsCreateOneAbove = "Products_NoListsCreateOneAbove",
413 EnterAListName = "Products_EnterAListName",
414 ListWithSameNameAlreadyExists = "Products_ListWithSameNameExists",
415 SeeFavoriteList = "Products_SeeFavoriteList",
416 Compare = "Products_Compare",
417 AddToCompare = "Products_AddToCompare",
418 RemoveFromCompare = "Products_RemoveFromCompare",
419 ViewMore = "Products_ViewMore",
420 RecommendedPrice = "Products_RecommendedPrice",
421 YouSave = "Products_YouSave",
422 SalesUOM = "Products_SalesUOM",
423 AvailablilityDateMessage = "Product_AvailableIn";
424 }
425 public class Cart
426 {
427 public static string
428 CartGeneral = "Cart_CartGeneral",
429 UpdateQuantitiesInCart ="Cart_UpdateQuantitiesInCart",
430 SignInCart = "Cart_SignInCart",
431 InvalidQuantitiesInCart = "Cart_InvalidQuantitiesInCart",
432 PlacedOrderDate = "Cart_PlacedOrderDate",
433 MaxFinalizeDate = "Cart_MaxFinalizeDate",
434 WaitingMarketplaceOrders = "Cart_WaitingMarketplaceOrders",
435 ApprovedOrRejectedMarketplaceOrders = "Cart_ApprovedOrRejectedMarketplaceOrders",
436 MarketplaceNoOrdersWaitingFound = "Cart_NoMarketplaceOrdersWaitingFound",
437 MarketplaceNoOrdersAcceptedOrRejectedFound = "Cart_NoMarketplaceOrdersAcceptedOrRejectedFound",
438 DeliverOrder = "Cart_DeliverOrder",
439 OrderDetails = "Cart_OrderDetails",
440 ApproveOrder = "Cart_ApproveOrder",
441 ApprovedOrder = "Cart_ApprovedOrder",
442 RejectOrder = "Cart_RejectOrder",
443 RejectedOrder = "Cart_RejectedOrder",
444 DeliveredOrder = "Cart_DeliveredOrder",
445 SearchMarketplaceOrders = "Cart_SearchMarketplaceOrders",
446 SelectOneOrMoreExchangeParts = "Cart_ChooseOneOrMoreExchangeParts",
447 ShoppingCart = "Cart_ShoppingCart",
448 ProductIsAddedToTheCart = "Cart_ProductIsAddedToTheCart",
449 ProductWasAddedToTheCart = "Cart_ProductWasAddedToTheCart",
450 ProductsAreAddedToTheCart = "Cart_ProductsAreAddedToTheCart",
451 ContinueShopping = "Cart_ContinueShopping",
452 ProceedToCheckout = "Cart_ProceedToCheckout",
453 Earnings = "Cart_Earnings",
454 Points = "Cart_Points",
455 NoPointsFound = "Cart_NoPointsFound",
456 YourPointBalance = "Cart_YourPointBalance",
457 UsedPoints = "Cart_UsedPoints",
458 AddPoints = "Cart_AddPoints",
459 Variant = "Cart_Variant",
460 Unit = "Cart_Unit",
461 Qty = "Cart_Qty",
462 Subtotal = "Cart_Subtotal",
463 Total = "Cart_Total",
464 CannotOrder = "Cart_CannotOrder",
465 RemoveOrderline = "Cart_RemoveOrderline",
466 UpdateOrderline = "Cart_UpdateOrderline",
467 OrderlineUpdating = "Cart_OrderlineUpdating",
468 OrderlineUpdated = "Cart_OrderlineUpdated",
469 OrderlineRemoving = "Cart_OrderlineRemoving",
470 OrderlineRemoved = "Cart_OrderlineRemoved",
471 EmptyCartStart = "Cart_EmptyCartStart",
472 EmptyCartFinished = "Cart_EmptyCartFinished",
473 EmptyCarCheck = "Cart_EmptyCartCheck",
474 SelectShippingOption = "Cart_SelectShippingOption",
475 SelectBillingOption = "Cart_SelectBillingOption",
476 NotEnoughPointsToBuyThis = "Cart_NotEnoughPointsToBuyThis",
477 MaximumPointsText = "Cart_MaximumPointsText",
478 EmptyCart = "Cart_EmptyCart",
479 Shipping = "Cart_Shipping",
480 AddToCart = "Cart_AddToCart",
481 BuyAll = "Cart_BuyAll",
482 BuyFor = "Cart_BuyFor",
483 Order = "Cart_Order",
484 OrderID = "Cart_OrderID",
485 Date = "Cart_Date",
486 OrderNumber = "Cart_OrderNumber",
487 OrderNumberNav = "Cart_OrderNumberNav",
488 OrderDate = "Cart_OrderDate",
489 OrderValue = "Cart_OrderValue",
490 ViewOrder = "Cart_ViewOrder",
491 PONumber = "Cart_PONumber",
492 Reorder = "Cart_Reorder",
493 NoOrdersFound = "Cart_NoOrdersFound",
494 Invoice = "Cart_Invoice",
495 ChooseInvoice = "Cart_ChooseInvoice",
496 SearchInvoices = "Cart_SearchInvoices",
497 NoInvoicesFound = "Cart_NoInvoicesFound",
498 PleaseChooseAnInvoice = "Cart_ChooseAnInvoice",
499 InvoiceNumber = "Cart_InvoiceNumber",
500 InvoiceDate = "Cart_InvoiceDate",
501 TrackingNumber = "Cart_TrackingNumber",
502 DeliveryNote = "Cart_DeliveryNote",
503 ViewDeliveryNote = "Cart_ViewDeliveryNote",
504 SelectOrder = "Cart_SelectOrder",
505 Payment = "Cart_Payment",
506 PaymentMethod = "Cart_PaymentMethod",
507 ShippingMethod = "Cart_ShippingMethod",
508 SelectShipping = "Cart_SelectShipping",
509 SelectPayment = "Cart_SelectPayment",
510 BillingAddress = "Cart_BillingAddress",
511 SameBillingAsShipping = "Cart_BillingAsShipping",
512 ShippmentNumber = "Cart_ShippmentNumber",
513 ShippingAddress = "Cart_ShippingAddress",
514 AddAlternativeAdr = "Cart_AddAlternativeAdr",
515 SelectSavedAddress = "Cart_SelectSavedAddress",
516 PaymentAndShipping = "Cart_PaymentAndShipping",
517 RecurringEvery = "Cart_RecurringEvery",
518 RecurringStartDate = "Cart_RecurringStartDate",
519 RecurringEndDate = "Cart_RecurringEndDate",
520 StartDate = "Cart_StartDate",
521 OrderUsedGiftCards = "Cart_OrderUsedGiftCards",
522 GiftCardName = "Cart_GiftCardName",
523 GiftCardCode = "Cart_GiftCardCode",
524 ExpiryDate = "Cart_ExpiryDate",
525 InitialAmount = "Cart_InitialAmount",
526 UsedAmount = "Cart_UsedAmount",
527 RemainingBalance = "Cart_RemainingBalance",
528 Vouchers = "Cart_Vouchers",
529 Voucher = "Cart_Voucher",
530 HasBeenUsed = "Cart_HasBeenUsed ",
531 GiftCardAmount = "Cart_GiftCardAmount",
532 ShopInformation = "Cart_ShopInformation",
533 ShopName = "Cart_ShopName",
534 CardNo = "Cart_CardNo",
535 TransactionNo = "Cart_TransactionNo",
536 TransactionState = "Cart_TransactionState",
537 GiftcardsBoughtOnThisOrder = "Cart_GiftcardsBoughtOnThisOrder",
538 RecurringOrder = "Cart_RecurringOrder",
539 RecurringOrderSettings = "Cart_RecurringOrderSettings",
540 SaveUsedCard = "Cart_SaveUsedCard",
541 SavedCardName = "Cart_SavedCardName",
542 PayWithASavedCard = "Cart_PayWithASavedCard",
543 CreateRecurringOrder = "Cart_CreateRecurringOrder",
544 IWantMyOrderEvery = "Cart_IWantMyOrderEvery",
545 AndItShouldEndOn = "Cart_AndItShouldEndOn",
546 YouHaveNoItemsInTheCart = "Cart_YouHaveNoItemsInTheCart",
547 GoToCheckout = "Cart_GoToCheckout",
548 CreateQuoteRequest = "Cart_CreateQuoteRequest",
549 SubmitQuoteRequest = "Cart_SubmitQuoteRequest",
550 ReviewOrder = "Cart_ReviewOrder",
551 ReviewOrderLine = "Cart_ReviewOrderLine",
552 GetParcelShops = "Cart_GetParcelShops",
553 ChangeParcelShop = "Cart_ChangeParcelShop",
554 ChooseAParcelShop = "Cart_ChooseAParcelShop",
555 ConfirmOrder = "Cart_ConfirmOrder",
556 AppliedToOrder = "Cart_AppliedToOrder",
557 EnterVoucherCode = "Cart_EnterVoucherCode",
558 CartAddAlternativeAdr = "Cart_CartAddAlternativeAdr",
559 RequiresAnAddress = "Cart_RequiresAnAddress",
560 YouHavePlacedASubscription = "Cart_YouHavePlacedASubscription",
561 NoAddressSelected = "Cart_NoAddressSelected",
562 CompanyNrInmatriculare = "Cart_CompanyNrInmatriculare",
563 AddressForm = "Cart_AddressForm",
564 AddressWasSent = "Account_AddressWasSent",
565 CreateAccountReceiptMessage = "Cart_CreateAccountReceiptMessage",
566 ShippingAddressFieldError = "Account_ShippingAddressFieldError",
567 BillingAddressFieldError = "Account_BillingAddressFieldError",
568 ThereWasAnErrorPleaseTryAgain = "Cart_ThereWasAnErrorPleaseTryAgain",
569 OrderEmailShippingConfirmation = "Cart_OrderEmailShippingConfirmation",
570 OrderEmailText = "Crt_OrderEmailText",
571 CantBePickedUp = "Cart_CantBePickedUp",
572 CreateUserInCheckout = "Cart_CreateUserInCheckout",
573 ProductNoPickup = "Cart_ProductNoPickup",
574 SelectShippingAddress = "Cart_SelectShippingAddress",
575 DiscountStepMessage = "Cart_DiscountStepMessage",
576 ServiceRequestNumber = "Cart_ServiceRequestNumber",
577 InsertAccountEmail = "Cart_InsertAccountEmail",
578 InsertAccountPassword = "Cart_InsertAccountPassword",
579 NoParcelShopsSelected = "Cart_NoParcelShopsSelected",
580 ShippingDiscountMessage = "Cart_ShippingDiscountMessage",
581 NoParcelShopsInYourArea = "Cart_NoParcelShopsInYourArea",
582 SelectBillingAddress = "Cart_SelectBillingAddress",
583 RMAId = "Cart_RMAId",
584 RMAEmailNotification = "Cart_RMAEmailNotification";
585
586 }
587 }
588 }
589
590
591
592
593 @helper RenderContent()
594 {
595 //Content
596 IList<ItemViewModel> elements = Model.Item.GetItems("List") ?? new List<ItemViewModel>();
597 if(elements.Any())
598 {
599 foreach (ItemViewModel element in elements)
600 {
601 @RenderElement(element)
602 }
603
604
605 }
606 }
607
608 @helper RenderElement(ItemViewModel element)
609 {
610 string title = element.GetString("Title");
611 string titleTag = element.GetList("Title_Tag").SelectedValue;
612 string titleStyle = element.GetList("Title_Style").SelectedValue;
613 string titleWeight = element.GetList("Title_Weight").SelectedValue;
614 string titleColor = element.GetList("Title_Color").SelectedValue;
615 bool hideTitle = element.GetBoolean("HideTitle");
616
617 string subtitle = element.GetString("Subtitle");
618 string subtitleTag = element.GetList("Subtitle_Tag").SelectedValue;
619 string subtitleStyle = element.GetList("Subtitle_Style").SelectedValue;
620 string subtitleWeight = element.GetList("Subtitle_Weight").SelectedValue;
621 string subtitleColor = element.GetList("Subtitle_Color").SelectedValue;
622 string subtitleSwitchPosition = element.GetValue("Switch_Subtitle_Position").ToString();
623
624 string content = element.GetString("Content");
625 FileViewModel contentImage = element.GetFile("Content_Image_Source") ?? new FileViewModel();
626 bool hasContentImage = contentImage.ToString() != "";
627
628 FileViewModel image = element.GetFile("Image") ?? new FileViewModel();
629 bool hasImage = image.ToString() != "";
630 string subtitleSwitchPositionCssClass = subtitleSwitchPosition == "True" ? " order--1 " : " ";
631 string titleRender= "<"+titleTag+" class='w-100 line-height-inline "+titleStyle+" color-"+ titleColor+" weight-"+titleWeight+"'>"+title+"</"+titleTag+">";
632 string subtitleRender= "<"+subtitleTag+" class='w-100 line-height-inline "+subtitleStyle + subtitleSwitchPositionCssClass +" color-"+ subtitleColor+" weight-"+subtitleWeight+"'>"+subtitle+"</"+subtitleTag+">";
633
634 string container = element.GetValue("Add_Container").ToString() == "True" && element.GetList("Container_Type").SelectedValue == "full" && element.GetValue("Add_Container_Padding").ToString() == "True"? "container" : "";
635
636 string bannerType = element.GetList("Banner_Type").SelectedValue;
637 string contentAwareCssClass = bannerType == "content-aware" ? "object-fit-cover h-100" : "";
638 string bannerXPadding = element.GetList("Banner_Height").SelectedValue == "auto" ? "padding-x-" + element.GetList("Horizontal_Spacing").SelectedValue : "";
639 string bannerYPadding = element.GetList("Banner_Height").SelectedValue == "auto" ? "padding-y-" + element.GetList("Vertical_Spacing").SelectedValue : "";
640 string bannerHeightCssClass = bannerType == "content-aware" ? "height-"+element.GetList("Banner_Height").SelectedValue : "";
641 string contentLayout = element.GetList("Content_Width").SelectedValue;
642 string contentColor = element.GetList("Content_Color").SelectedValue;
643 string contentPlacement = element.GetList("Content_Placement").SelectedValue;
644 string contentDecorCssClass = element.GetList("Content_Decor").SelectedValue;
645 string contentImagePlacementCssClass = contentPlacement == "left" ? "order-md-1" : "";
646 IList<ItemViewModel> contentButtons = element.GetItems("Buttons") ?? new List<ItemViewModel>();
647
648 string horizontalAlignment = element.GetList("Horizontal_Alignment").SelectedValue;
649 string verticalAlignment = element.GetList("Vertical_Alignment").SelectedValue;
650 string horizontalAlignmentCssClass = horizontalAlignment == "center" ? "justify-content-center text-center" : horizontalAlignment == "left" ? "justify-content-start text-left" : "justify-content-end text-right";
651 string verticalAlignmentCssClass = verticalAlignment == "center" ? "align-items-center" : verticalAlignment == "top" ? "align-items-top" : "align-items-bottom";
652 string imageSnapCssClass = (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any()) && (bannerType == "content-aware" && element.GetList("Banner_Height").SelectedValue == "auto") ? "snap" : "";
653 string contentBgColorCssClass = element.GetString("Content_Background_Color") != "" && !hasImage ? element.GetString("Content_Background_Color") : "transparent";
654 string contentFontSizeCssClass = element.GetList("Content_Font_Size").SelectedValue;
655 string customCssClass = element.GetString("Custom_Class");
656
657 <div class="component-b-refactored @container @bannerHeightCssClass @contentDecorCssClass @customCssClass" style="background: @contentBgColorCssClass">
658 @if (contentLayout == "1")
659 {
660 <div class="component-b-refactored__content flex-wrap @horizontalAlignmentCssClass @verticalAlignmentCssClass p-2 @bannerXPadding @bannerYPadding">
661 @if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any()) {
662 <div class="decor color-@(contentColor) child-mb-2 @horizontalAlignmentCssClass font-@contentFontSizeCssClass">
663 @if (!string.IsNullOrEmpty(title) && !hideTitle)
664 {
665 @titleRender
666 }
667 @if (!string.IsNullOrEmpty(subtitle))
668 {
669 @subtitleRender
670 }
671 @if (!string.IsNullOrEmpty(content))
672 {
673 <div class="content">@content</div>
674 }
675 @if (contentButtons != null && contentButtons.Any())
676 {
677 <div class="actions inline-flex child-mr-2">
678 @foreach (var button in contentButtons)
679 {
680 string url = button.GetString("Link");
681 string linkText = button.GetString("Text");
682 string buttonTheme = !String.IsNullOrEmpty(button.GetList("Theme").SelectedValue) ? button.GetList("Theme").SelectedValue : "dark";
683 string buttonType = !String.IsNullOrEmpty(button.GetList("Type").SelectedValue) ? button.GetList("Type").SelectedValue : "fill";
684 if (url.Contains("http"))
685 {
686 <a href="@url" class="btn btn-@buttonType--@buttonTheme" target="_blank" rel="noopener">@linkText</a>
687 } else {
688 <a href="@url" class="btn btn-@buttonType--@buttonTheme">@linkText</a>
689 }
690 }
691 </div>
692 }
693 </div>
694 }
695 </div>
696 <div class="component-b-refactored__image @imageSnapCssClass">
697 @if ((image.ToString()).Contains(".mp4"))
698 {
699 <video autoplay muted loop class="@contentAwareCssClass w-100 block">
700 <source src="@image" type="video/mp4">
701 </video>
702 }
703 else
704 {
705 <img src="/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=10&Image=@(image)" width="1920" height="776" data-src="/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=72&Image=@(image)" class="@contentAwareCssClass block lazyload w-100"/>
706 }
707 </div>
708 } else if (contentLayout == "1/2")
709 {
710 <div class="component-b-refactored__content grid-md-2 flex-wrap @verticalAlignmentCssClass p-2 gap-4 @bannerXPadding @bannerYPadding">
711
712 <div class="image flex-wrap place-items-center col-md-1 w-100 @contentImagePlacementCssClass">
713 @if (hasContentImage)
714 {
715 <img data-src="/Admin/Public/GetImage.ashx?Width=720&Height=720&Crop=5&Format=jpg&Resolution=72&Image=@contentImage" class="lazyload w-100 h-auto"/>
716 }
717 </div>
718 @if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any())
719 {
720 <div class="decor p-2 p-md-0 color-@(contentColor) @horizontalAlignmentCssClass col-md-1 child-mb-2 flex-wrap @horizontalAlignmentCssClass">
721 @if (!string.IsNullOrEmpty(title) && !hideTitle)
722 {
723 @titleRender
724 }
725 @if (!string.IsNullOrEmpty(subtitle))
726 {
727 @subtitleRender
728 }
729 @if (!string.IsNullOrEmpty(content))
730 {
731 <div class="content">@content</div>
732 }
733
734 @if (contentButtons != null && contentButtons.Any())
735 {
736 <div class="actions inline-flex child-mr-2">
737 @foreach (var button in contentButtons)
738 {
739 string url = button.GetString("Link");
740 string linkText = button.GetString("Text");
741 string buttonTheme = !String.IsNullOrEmpty(button.GetList("Theme").SelectedValue) ? button.GetList("Theme").SelectedValue : "dark";
742 string buttonType = !String.IsNullOrEmpty(button.GetList("Type").SelectedValue) ? button.GetList("Type").SelectedValue : "fill";
743 if (url.Contains("http"))
744 {
745 <a href="@url" class="btn btn-@buttonType--@buttonTheme" target="_blank" rel="noopener">@linkText</a>
746 } else {
747 <a href="@url" class="btn btn-@buttonType--@buttonTheme">@linkText</a>
748 }
749 }
750 </div>
751 }
752 </div>
753 }
754 </div>
755
756 <div class="component-b-refactored__image @imageSnapCssClass">
757 @if ((image.ToString()).Contains(".mp4"))
758 {
759 <video autoplay muted loop class="@contentAwareCssClass w-100 block">
760 <source src="@image" type="video/mp4">
761 </video>
762 }
763 else
764 {
765 <img src="/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=10&Image=@(image)" width="1920" height="776" data-src="/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=72&Image=@(image)" class="@contentAwareCssClass block lazyload w-100"/>
766 }
767 </div>
768 } else if (contentLayout == "1/3" || contentLayout == "2/3")
769 {
770 string contentCssClass = contentLayout == "1/3" ? "col-md-1 col-lg-1" : "col-md-1 col-lg-2";
771 string imageCssClass = contentLayout == "1/3" ? "col-md-1 col-lg-2" : "col-md-1 col-lg-1";
772 <div class="component-b-refactored__content grid-md-2 grid-lg-3 flex-wrap @verticalAlignmentCssClass p-2 gap-4 @bannerXPadding @bannerYPadding">
773 <div class="image flex-wrap place-items-center w-100 @imageCssClass @contentImagePlacementCssClass">
774 @if (hasContentImage)
775 {
776 <img data-src="/Admin/Public/GetImage.ashx?Width=720&Height=720&Crop=5&Format=jpg&Resolution=72&Image=@contentImage" class="lazyload block w-100 h-auto" />
777 }
778 </div>
779 @if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(subtitle) || !string.IsNullOrEmpty(content) || contentButtons.Any())
780 {
781 <div class="decor p-2 p-md-0 color-@(contentColor) @horizontalAlignmentCssClass @contentCssClass child-mb-2 flex-wrap @horizontalAlignmentCssClass">
782
783 @if (!string.IsNullOrEmpty(title) && !hideTitle)
784 {
785 @titleRender
786 }
787 @if (!string.IsNullOrEmpty(subtitle))
788 {
789 @subtitleRender
790 }
791 @if (!string.IsNullOrEmpty(content))
792 {
793 <div class="content">@content</div>
794 }
795 @if (contentButtons != null && contentButtons.Any())
796 {
797 <div class="actions inline-flex child-mr-2">
798 @foreach (var button in contentButtons)
799 {
800 string url = button.GetString("Link");
801 string linkText = button.GetString("Text");
802 string buttonTheme = !String.IsNullOrEmpty(button.GetList("Theme").SelectedValue) ? button.GetList("Theme").SelectedValue : "dark";
803 string buttonType = !String.IsNullOrEmpty(button.GetList("Type").SelectedValue) ? button.GetList("Type").SelectedValue : "fill";
804 if (url.Contains("http"))
805 {
806 <a href="@url" class="btn btn-@buttonType--@buttonTheme" target="_blank" rel="noopener">@linkText</a>
807 } else {
808 <a href="@url" class="btn btn-@buttonType--@buttonTheme">@linkText</a>
809 }
810 }
811 </div>
812 }
813 </div>
814 }
815 </div>
816
817 <div class="component-b-refactored__image @imageSnapCssClass">
818 @if ((image.ToString()).Contains(".mp4"))
819 {
820 <video autoplay muted loop class="@contentAwareCssClass w-100 block">
821 <source src="@image" type="video/mp4">
822 </video>
823 }
824 else
825 {
826 <img src="/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=10&Image=@(image)" width="1920" height="776" data-src="/Admin/Public/GetImage.ashx?Width=1920&Height=776&Crop=5&Format=jpg&Resolution=72&Image=@(image)" class="@contentAwareCssClass block lazyload w-100"/>
827 }
828 </div>
829
830 }
831
832 </div>
833 }
834
835 @{
836
837 string containerType = Model.Item.GetList("Container_Type").SelectedValue;
838 string containerClass = containerType == "full" ? "container--wide" : "container";
839 <div class="section__container @containerClass">
840 <div class="section__content">
841 <df-slider>
842 @RenderContent()
843 </df-slider>
844 </div>
845 </div>
846
847 }