PageSourceSearch

https://www.smagsalling.dk/static/js/4.868422013a7a7a820d9c.js

js smagsalling.dk collected 2026-10-04 06:20:40 UTC 25,817 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{1062:function(t,e,r){"use strict";var n=r(8),o=r.n(n),s=r(133),c=r(3).default.tenantConfig,a={name:"OrderPanelConfirmation",props:["dialogOpened","onConfirm","onClose","params","header","text","deleteConfirm","nextConfirm","copyConfirm","confirmOnly","closeOnly","customButtons","subscriptionDialogCancel","subscriptionDialogDowngrade","subscriptionDialogUpgrade","subscriptionDialogSwitchingPlansFailed","removeItemFromBasket","removeItemFromQuantity","isProtectOrderFlow","h2Style","showLogo","hasUnavailableProducts"],data:function(){return{tenantId:c.tenantId}},components:{ModalComponent:s.a},computed:{ModalComponent:function(){return s.a},buttons:function(){var t=this;return t.customButtons?t.customButtons:t.confirmOnly?{ok:function(){t.params?t.onConfirm.apply(t,o()(t.params)):t.onConfirm(),t.onClose()}}:t.closeOnly?{cancel:function(){t.onClose()}}:{cancel:function(){t.onClose()},ok:function(){t.params?t.onConfirm.apply(t,o()(t.params)):t.onConfirm(),t.onClose()}}}}},i=r(25),u=Object(i.a)(a,(function(){var t=this,e=t._self._c;return t.dialogOpened?e(t.ModalComponent,{tag:"modal-component",class:{"single-button":t.confirmOnly||t.closeOnly},attrs:{onClose:t.onClose,buttons:t.buttons,deleteConfirm:t.deleteConfirm,copyConfirm:t.copyConfirm,nextConfirm:t.nextConfirm,subscriptionDialogCancel:t.subscriptionDialogCancel,subscriptionDialogDowngrade:t.subscriptionDialogDowngrade,subscriptionDialogUpgrade:t.subscriptionDialogUpgrade,subscriptionDialogSwitchingPlansFailed:t.subscriptionDialogSwitchingPlansFailed,removeItemFromBasket:t.removeItemFromBasket,removeItemFromQuantity:t.removeItemFromQuantity,isProtectOrderFlow:t.isProtectOrderFlow,classes:"modal-big popup-small",showLogo:t.showLogo,hasUnavailableProducts:t.hasUnavailableProducts}},[e("div",{staticClass:"header-sales"},[e("div",{staticClass:"carlsjr-shop-alert"}),t._v(" "),[2,3,5].includes(t.tenantId)?[e("v-icon",[t._v("shopping_cart")]),t._v(" "),e("h2",[t._v(t._s(t.header))])]:[e("h2",{style:t.h2Style},[t._v(t._s(t.header))])]],2),t._v(" "),e("div",{staticClass:"text-sales"},[t._v(" "+t._s(t.text))])]):t._e()}),[],!1,null,"31a18448",null);e.a=u.exports},1071:function(t,e,r){"use strict";r.d(e,"a",(function(){return b})),r.d(e,"b",(function(){return y})),r.d(e,"c",(function(){return _}));var n=r(16),o=r.n(n),s=r(1),c=r.n(s),a=r(9),i=r.n(a),u=r(5),d=r(10),l=r(12),p=r.n(l),f=r(19),m=r(46),v=r(27);function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){c()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var b=function(t){return t.productSelections.filter((function(e){if(e.groups&&e.groups.length&&!e.groups.every((function(e){return!e.selectedProducts.length||e.selectedProducts.every((function(e){var r="string"==typeof e?e:e&&e.productId;try{var n=m.a.createFromProduct(t.productCatalog.getProduct(r));return v.a.canBePickedUp({boxDate:t.date,productSelections:[n],tenantData:t.tenantData,pickupDateTimeRules:t.pickupDateTimeRules,shopId:t.shopId,includeDisabled:!0,productCatalog:t.productCatalog,hiddenItems:[u.b.getters.aBTestsHiddenItems,Object(d.getHiddenItemsFromGiveawayCampaigns)()].flat()})}catch(t){return!1}}))})))return!1;try{return v.a.canBePickedUp({boxDate:t.date,productSelections:[e],tenantData:t.tenantData,pickupDateTimeRules:t.pickupDateTimeRules,shopId:t.shopId,includeDisabled:!0,productCatalog:t.productCatalog,hiddenItems:[u.b.getters.aBTestsHiddenItems,Object(d.getHiddenItemsFromGiveawayCampaigns)()].flat()})}catch(t){return!1}}))},C=function(t,e,r){return e.groups?e.groups.map((function(e){if(!(!!e.productId&&Object(f.o)(t,e.productId)))return r(e);var n=1===e.products.length?e.products[0]:{};C(t,n,r)})):e},y=function(t){C(u.b.getters.productCatalog,t,(function(e){var r={},n=!Object(f.q)(e,"addons")&&e.products.find((function(t){return p.a.get(t,["productGroupDetail
1s",e.id,"additionalDetails","upsellProduct"])}));return n&&(r=function(t){var e,r,n=(e=t.products,r=function(e){return p.a.get(e,["productGroupDetails",t.id,"additionalDetails","upsellProduct"])},e.filter((function(t){return t.isActive})).reduce((function(t,e){return t[r(e)?0:1].push(e),t}),[[],[]])),o=i()(n,2),s=o[0],c=o[1];return g(g({},t),{},{products:{upsell:s,default:c}})}(e),t.differentiatedGroup=r),n?r:e}))};function _(t){var e=[];return function t(r){Array.isArray(r)?r.forEach((function(e){return t(e)})):"object"===o()(r)&&null!==r&&("productId"in r&&"string"==typeof r.productId&&e.push(r.productId),Object.values(r).forEach((function(e){return t(e)})))}(t),e.filter((function(t,e,r){return r.indexOf(t)===e}))}},1074:function(t,e,r){"use strict";var n=r(1062),o=r(59),s=r(0),c=r(3),a=r(1144);e.a={components:{ConfirmationDialog:n.a},data:function(){return{dialogOpened:!1,currentConfirmAction:null,isProtectOrderFlow:!1}},methods:{protectOrderFlow:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.currentConfirmAction=function(){0!==e.$store.getters.cartProducts.length&&(e.$store.commit(s.Qe),e.$store.getters.voucherVirtualOrderId&&a.b.changeStatusMysteryBox(e.$store.getters.voucherVirtualOrderId).then((function(){})),t())},this.featureToggles.enableNewChangeRestaurant&&this.isMobileChannel&&r===o.a.routeNames.shopSelection?n&&3===n?void(this.dialogOpened=!0):t():(!this.isMobileChannel||r===o.a.routeNames.shopSelection)&&this.featureToggles.enableProtectOrderingFlow&&this.$store.getters.cartProducts.length>0?void(this.dialogOpened=!0):t()},closeConfirmDialog:function(){this.dialogOpened=!1}},computed:{isMobileChannel:function(){return c.default.channelAlias()===c.channelEnum.mobileBrowser||c.default.channelAlias()===c.channelEnum.mobileApp}}}},1087:function(t,e,r){"use strict";var n=r(159),o=r(0),s=r(19),c=r(194),a=r(12);var i=Object.freeze({resetFlag:function(t){t.$store.commit(o.nf,!1),t.$store.commit(o.Be,[])},handleStateOnClosing:function(t){if(t.$store.getters.upgradeToMenuFromBasketFlag){var e=function(t){var e=t.$store.getters.productSelectionIdToRemove[0],r=t.$store.getters.cartProducts.find((function(t){return t.productSelectionId===e}));if(r){var n=t.$store.getters.singleMainProductIdsToMenuIdsMap,o=n&&n[r.productId];return o&&o.price-r.price}}(t);Object(n.b)("UpgradeBasket",t.product.name,t.$route.path,"",{email:(t.$store.getters.getUserData||{}).email,selectedRestaurant:(t.globalSelectedShop||{}).shopName,upsellValue:e})}var r=t.$store.getters.productSelectionIdToRemove;r.length&&t.$store.commit(o.Zc,{productSelections:r.map((function(t){return{productSelectionId:t}}))})},goToCatalog:function(t){var e=Object(c.o)(t.productCatalog.getCategories(),t.$store.getters.channelAlias,t.$store.getters.globalSelectedShop.id).find((function(t){return"MENU"===t.categoryType}));t.$router.push("/category/".concat(e.extId,"?upgradeToMenuProductId=").concat(t.product.id,"&productSelectionToRemove=").concat(t.productSelection.productSelectionId))},priceDiff:function(t){var e=t.$store.getters.singleMainProductIdsToMenuIdsMap[t.product.id].price-t.orderLine.price;return e>0?"+"+Object(s.j)(e):""},upgradeCartState:function(t,e){var r=e.reduce((function(t,e){var r=e.product.groups.find((function(t){return"main"===t.options.groupType}));if(r&&r.products&&r.products[0]){t[r.products[0].id]={};var n=t[r.products[0].id];n.id=e.product.id,n.price=e.productPrice.discountPrice}return t}),{});t.$store.commit(o.Xe,r)},copyProductSelectionsFromBurgerToMenu:function(t,e){if(e&&e.length>0){var r=t.$store.getters.cartProducts.map((function(t){return t.productSelectionId})),n=e.find((function(t){return!r.includes(t.productSelectionId)})),o=t.$store.getters.productSelectionIdToRemove[0],s=t.$store.getters.cartProducts.find((function(t){return t.productSelectionId===o}));if(!s)return;var c=Object(a.cloneDeep)(s);n&&(n.groups[0].selectedProducts[0].groups=c.groups,n.groups[0].selectedProducts[0].configurations.length>0&&(n.groups[0].selectedProducts[0].configurations[0].selectedValue=c.configurations[0].selectedValue))}}});e.a=i},1107:function(t,e,r){"use strict";r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return m}));var n=r(4),o=r.n(n),s=r(2),c=r.n(s),a=r(3),i=r(0),u=r(59),d=r(46),l=r(10);function p(t){return f.apply(this,arguments)}function f(){return(f=o()(c.a.mark((function t(e){var r,n,o,s,a=arguments;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=!(a.length>1&&void 0!==a[1])||a[1],n=e.$store.getters.voucherReward||{},o=n.productId,s=n.voucherId,!e.$store.getters.globalSelectedShop){t.next=3;break}if(!o){t.next=2;break}return t.next=1,m(e,o,s);case 1:e.$router.push({name:e.$store.getters.featureToggles.enableThreeStepFullscreenCheckoutMobile?u.a.routeNames.fullBasketCheckout:u.a.routeNames.checkoutCart,params:r?{voucherCode:s}:{}});case 2:t.next=4;break;case 3:e.$router.push({name:u.a.routeNames.shopSelection});case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(t,e,r){return v.apply(this,arguments)}function v(){return(v=o()(c.a.mark((function t(e,r,n){var o,s,u,p;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o={expiration:{tenantSettings:e.$store.getters.tenantSettings.productSelectionExpiration,tenantConfig:a.default.tenantConfig.productSelectionExpiration}};try{u=Object(l.filterCurrentUserFavoriteProductListByShopId)([{productId:r}],e.$store.getters.productCatalog,e.$store.getters.globalSelectedShop.id,e.$store.getters.cachedPickupRules)[0],s=e.$store.getters.productCatalog.getProduct(u)}catch(t){e.$store.commit(i.ce,"utilityComponents.voucherInput.invalidShop")}finally{e.$store.commit(i.zf,null)}if(s){t.next=1;break}return t.abrupt("return");case 1:return(p=d.a.createFromProduct(s,o)).quantity=p.quantity||1,p.voucherId=n,t.next=2,e.$store.dispatch(i.k,p);case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},1144:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(6),o=r(3),s=r(5),c=Object.freeze({CANCEL:"cancel",CONFIRM:"confirm"}),a={getMysteryBoxData:function(t){var e=t.email,r=t.mysteryBoxProducts,c=t.voucherId,a=t.shopId,i=t.shopTimeZone,u=t.label,d=e?"/mystery-box?filter=customerEmail:eq:".concat(encodeURIComponent(e)):"/mystery-box";return n.b.post(d,{params:{tenantId:o.default.tenantId},voucherId:c,mysteryBoxProducts:r,shopId:a,shopTimeZone:i,channel:o.default.channelAlias(),deliveryMethod:s.b.getters.tenantSpecificData&&s.b.getters.tenantSpecificData.deliveryChoice,label:u},{headers:{Authorizationidp:s.b.getters.applicationUserIdpToken}})},changeStatusMysteryBox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.CANCEL;return n.b.patch("/mystery-box/".concat(t),{status:e})}};e.b=Object.freeze(a)},1196:function(t,e,r){"use strict";var n={name:"CustomTransition",props:["msgToAppear","isActive"],methods:{heightBasedOnMsgLength:function(t){return 45+14*Math.floor(t.length/30)+"px"}},watch:{msgToAppear:function(t){var e=this;if(t){var r=t.length>50?6e3:3e3;setTimeout((function(){e.$emit("msg-to-appear","")}),r)}}}},o=r(25),s=Object(o.a)(n,(function(){var t=this._self._c;return t("transition",{attrs:{name:"fade"}},[this.msgToAppear?t("div",{staticClass:"voucher-message",class:{"red-colored":!this.isActive},style:{height:this.heightBasedOnMsgLength(this.msgToAppear)}},[this._v("\n\t\t"+this._s(this.msgToAppear)+"\n\t")]):this._e()])}),[],!1,null,"36f41467",null);e.a=s.exports},1207:function(t,e,r){"use strict";r.d(e,"b",(function(){return o}
1)),r.d(e,"a",(function(){return s}));var n=null;function o(t){n=Object.freeze(t)}function s(){return n}},1269:function(t,e,r){"use strict";var n=r(4),o=r.n(n),s=r(2),c=r.n(s),a=r(1107),i=r(342),u=r(10),d=r(159),l=r(0);e.a={methods:{takeAward:function(t,e){var r=this;return o()(c.a.mark((function n(){var o,s,p,f,m;return c.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(s=(o=r).userVouchers.map((function(t){return t.voucherId})).concat(r.$store.getters.vouchersRedeemed||[]),!o.cartProducts.filter((function(t){return t.voucherId})).find((function(t){return s.includes(t.voucherId)}))){n.next=1;break}return o.$store.commit("SET_GLOBAL_INFO_DIALOG","utilityComponents.productAsCompensationCRMModule.onlyOneAppliedDiscountAllowed"),n.abrupt("return");case 1:if(t&&o.$store.commit(l.zf,{productId:t,voucherId:e}),!o.isMobile){n.next=6;break}if(!(p=!!r.$store.getters.globalSelectedShop)){n.next=4;break}if(!t){n.next=2;break}return n.next=2,Object(a.a)(o,t,e);case 2:return n.next=3,Object(i.c)(o,e);case 3:if((f=n.sent).success){n.next=4;break}return o.$store.commit(l.zf,null),f.messageKey&&r.$store.commit("SET_GLOBAL_INFO_DIALOG",f.messageKey),n.abrupt("return");case 4:return n.next=5,Object(a.b)(o,!p);case 5:n.next=18;break;case 6:if(!o.featureToggles.newBasketPage||!((o.globalSelectedShop||{}).shopOptions||{}).enableNewBasketPage){n.next=14;break}if(!o.$route.path.includes("basket")){n.next=9;break}if(!t){n.next=7;break}return n.next=7,Object(a.a)(o,t,e);case 7:return n.next=8,Object(i.c)(o,e);case 8:n.next=13;break;case 9:if(!o.globalSelectedShop||!o.productCatalog){n.next=12;break}if(!t){n.next=10;break}return n.next=10,Object(a.a)(o,t,e);case 10:return n.next=11,Object(i.c)(o,e);case 11:o.$router.push("/basket"),n.next=13;break;case 12:o.$router.push("/shop-selection");case 13:n.next=18;break;case 14:if(!o.$route.path.includes("category")){n.next=17;break}if(!t){n.next=15;break}return n.next=15,Object(a.a)(o,t,e);case 15:return n.next=16,Object(i.c)(o,e);case 16:n.next=18;break;case 17:o.globalSelectedShop&&o.productCatalog?(m=Object(u.getCategoriesByShopId)(o.globalSelectedShop.id,o.productCatalog),o.$router.push("/category/".concat(m[0].extId))):o.$router.push("/shop-selection");case 18:o.featureToggles.showAvailableVouchersInBasket&&Object(d.b)("voucher_redeemed",r.$route.name,r.$route.path,"carousel_vouchers"),o.onClose&&o.onClose();case 19:case"end":return n.stop()}}),n)})))()}}}},1371:function(t,e,r){"use strict";r.r(e);var n=r(8),o=r.n(n),s=r(4),c=r.n(s),a=r(1),i=r.n(a),u=r(2),d=r.n(u),l=r(43),p=r(3),f=r(255),m=r(342),v=r(21),h=r(1269),g=r(10),b=r(0);function C(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return y(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){a=!0,s=t},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw s}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach((function(e){i()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var x=p.default.timeBoxImpl.timebox,w=p.default.timeBoxImpl.Formats,I={name:"Discount",props:["sideMenuDiscount","onClose"],data:function(){return{active:null,userVouchers:[],voucherAwardsActive:[],voucherAwardsExpired:[],voucherAwardsUsed:[]}},mixins:[h.a],computed:O(O({},Object(l.c)(["featureToggles","tenantSettings","globalSelectedShop","isSubscribed","productCatalog","cartProducts","userCrmVouchersAndMilestoneRewards"])),{},{isMobile:function(){return p.default.channelAlias()===p.frequentlyUsedChannelEnum.mobileApp||p.default.channelAlias()===p.frequentlyUsedChannelEnum.mobileBrowser}}),mounted:function(){var t=this;return c()(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,t.loadVoucherAwards();case 1:case"end":return e.stop()}}),e)})))()},methods:{onRedeemClick:function(t,e){var r=this;return c()(d.a.mark((function n(){return d.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,r.takeAward(t,e);case 1:return n.next=2,r.loadVoucherAwards();case 2:case"end":return n.stop()}}),n)})))()},loadVoucherAwards:function(){var t=this;return c()(d.a.mark((function e(){var r,n,s,c,a,i,u,l,p,v,h,g,y,_,x;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=t).userVouchers=[],r.voucherAwardsActive=[],r.voucherAwardsExpired=[],r.voucherAwardsUsed=[],e.next=1,r.$store.dispatch(b.jc);case 1:if(r.userCrmVouchersAndMilestoneRewards.forEach((function(t){r.userVouchers.push(O({},t))})),n=new Set,s={},r.userVouchers.forEach((function(t){var e=t.voucherId;s[e]||(s[e]=t),n.add(t.productPattern[0])})),c=[],!r.productCatalog){e.next=2;break}a=C(n);try{for(a.s();!(i=a.n()).done;)u=i.value,(l=r.productCatalog.productMap[u])&&c.push(l)}catch(t){a.e(t)}finally{a.f()}e.next=4;break;case 2:if(!n.size){e.next=4;break}return h=c.push,g=c,y=o.a,e.next=3,f.a.getProducts({productIds:Array.from(n)});case 3:h.apply.call(h,g,y(e.sent));case 4:p=d.a.mark((function t(){var e,n,o,a,i;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=s[v],n=e.productPattern&&e.productPattern[0],o=c.find((function(t){return t.id===n})),t.next=1,r.isVoucherUsed(e);case 1:a=t.sent,i=r.isExpired(e),e.discountPrice=o?r.getDiscountedProductPrice(e,o):null,e.product=o,e.percent=e.discountValue,!a&&Object(m.b)(e)&&r.voucherAwardsActive.push(e),a&&r.voucherAwardsUsed.push(e),i&&r.voucherAwardsExpired.push(e);case 2:case"end":return t.stop()}}),t)})),_=d.a.keys(s);case 5:if((x=_()).done){e.next=7;break}return v=x.value,e.delegateYield(p(),"t0",6);case 6:e.next=5;break;case 7:case"end":return e.stop()}}),e)})))()},getDiscountedProductPrice:function(t,e){var r=e.price-Object(v.d)({price:e.price,discount:t});return r>0?r:0},getProductImage:function(t){return Object(g.getBackImages)(t).slice(0,1)},isVoucherUsed:function(t){return c()(d.a.mark((function e(){var r;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(m.a)(t.priceRuleId),e.abrupt("return",r||t.usedAt);case 1:case"end":return e.stop()}}),e)})))()},isExpired:function(t){var e=this.voucherExpirationDate(t);return!!e&&x.fromISO(e).format(w.YYYY_MM_DD).exec()<x.now().format(w.YYYY_MM_DD).exec()},voucherExpirationDate:function(t){return t.expiryDate}}},k=r(25),M=Object(k.a)(I,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"discount-title",class:{"discount-title-desktop":!t.isMobile&&!t.sideMenuDiscount}},[t._v(t._s(t.$t("utilityComponents.productAsCompensationCRMModule.discounts")))]),t._v(" "),e("v-tabs",{staticClass:"discount-tabs",class:{"discount-tabs-desktop":!t.isMobile&&!t.sideMenuDiscount,"discount-side-menu":t.sideMenuDiscount},attrs:{color:"black",dark:"","slider-color":"transparent"},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[e("v-tab",{key:1,attrs:{href:"#tab-1"}},[t._v("\n\t\t\t"+t._s(t.$t("utilityComponents.productAsCompensationCRMModule.active"))+"\n\t\t")]),t._v(" "),e("v-tab",{key:2,attrs:{href:"#tab-2"}},[t._v("\n\t\t\t"+t._s(t.$t("utilityComponents.productAsCompensationCRMModule.expired"))+"\n\t\t")]),t._v(" "),e("v-tab",{key:3,attrs:{href:"#tab-3"}},[t._v("\n\t\t\t"+t._s(t.$t("utilityComponents.productAsCompensationCRMModule.used"))+"\n\t\t")]),t._v(" "),e("v-tab-item",{key:1,attrs:{value:"tab-1"}},t._l(t.voucherAwardsActive,(function(r){return e("v-card",{key:r.voucherId,staticClass:"discount-product-wrapper",attrs:{flat:""}},[e("div",{staticClass:"discount-product"},[r.product?e("img",{staticClass:"discount-product-image",attrs:{src:r.product?t.getProductImage(r.product):"",alt:r.product?r.product.name:""}}):t._e(),t._v(" "),e("div",{staticClass:"discount-product-name-price"},[r.product?[e("div",[e("div",{staticClass:"discount-card-product-name"},[t._v(t._s(r.product?r.product.name:""))]),t._v(" "),e("div",{staticClass:"discount-card-product-discount"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.gratis"):r.percent+"% Discount")+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"discount-price-section"},[e("div",{staticClass:"discount-new-price"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.free"):r.percent+"%")+"\n\t\t\t\t\t\t\t\t")])])]:[e("div",{staticClass:"discount-card-product-discount"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t._f("translate")(r.options.productLabel,`priceRule.${r.priceRuleId}.productLabel`))+"\n\t\t\t\t\t\t\t")])],t._v(" "),t.isMobile||t.sideMenuDiscount?t._e():e("v-btn",{staticClass:"redeem-discount green-btn",attrs:{ripple:!1,primary:"",flat:""},on:{click:function(e){return t.onRedeemClick(r.product&&r.product.id,r.voucherId)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("utilityComponents.productAsCompensationCRMModule.redeemDiscount"))+"\n\t\t\t\t\t\t")])],2)]),t._v(" "),e("div",{staticClass:"discount-product-footer"},[t.isMobile||!t.isMobile&&t.sideMenuDiscount?e("v-btn",{staticClass:"redeem-discount green-btn",attrs:{ripple:!1,primary:"",flat:""},on:{click:function(e){return t.onRedeemClick(r.product&&r.product.id,r.voucherId)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("utilityComponents.productAsCompensationCRMModule.redeemDiscount"))+"\n\t\t\t\t\t")]):t._e(),t._v(" "),e("div",{staticClass:"discount-product-valid"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("utilityComponents.productAsCompensationCRMModule.discountValid"))+" "+t._s(t.voucherExpirationDate(r))+"\n\t\t\t\t\t")])],1)])})),1),t._v(" "),e("v-tab-item",{key:2,staticClass:"discount-expired",attrs:{value:"tab-2"}},t._l(t.voucherAwardsExpired,(function(r){return e("v-card",{key:r.voucherId,staticClass:"discount-product-wrapper",attrs:{flat:""}},[e("div",{staticClass:"discount-product"},[r.product?e("img",{staticClass:"discount-product-image",attrs:{src:r.product?t.getProductImage(r.product):"",alt:r.product?r.product.name:""}}):t._e(),t._v(" "),e("div",{staticClass:"discount-product-name-price"},[r.product?[e("div",[e("div",{staticClass:"discount-card-product-name"},[t._v(t._s(r.product.name))]),t._v(" "),e("div",{staticClass:"discount-card-product-discount"},[t._v(t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.gratis"):r.percent+"% Discount"))])]),t._v(" "),e("div",{staticClass:"discount-price-section"},[e("div",{staticClass:"discount-new-price"},[t._v(t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.free"):r.percent+"%"))])]),t._v(" "),e("div",[e("div",{staticClass:"discount-card-product-name"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(r.product?r.product.name:"")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"discount-card-product-discount"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.gratis"):r.percent+"% Discount")+"\n\t\t\t\t\t\t\t\t")])])]:[e("div",{staticClass:"discount-card-product-discount"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t._f("translate")(r.options.productLabel,`priceRule.${r.priceRuleId}.productLabel`))+"\n\t\t\t\t\t\t\t")])],t._v(" "),e("div",{staticClass:"discount-price-section"},[e("div",{staticClass:"discount-new-price"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.free"):r.percent+"%")+"\n\t\t\t\t\t\t\t")])])],2)])])})),1),t._v(" "),e("v-tab-item",{key:3,staticClass:"discount-used",attrs:{value:"tab-3"}},t._l(t.voucherAwardsUsed,(function(r){return e("v-card",{key:r.voucherId,staticClass:"discount-product-wrapper",attrs:{flat:""}},[e("div",{staticClass:"discount-product"},[r.product?e("img",{staticClass:"discount-product-image",attrs:{src:r.product?t.getProductImage(r.product):"",alt:r.product?r.product.name:""}}):t._e(),t._v(" "),e("div",{staticClass:"discount-product-name-price"},[r.product?[e("div",[e("div",{staticClass:"discount-card-product-name"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(r.product.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"discount-card-product-discount"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.gratis"):r.percent+"% Discount")+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"discount-price-section"},[e("div",{staticClass:"discount-new-price"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(100===r.percent?t.$t("utilityComponents.productAsCompensationCRMModule.free"):r.percent+"%")+"\n\t\t\t\t\t\t\t\t")])])]:[e("div",{staticClass:"discount-card-product-discount"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t._f("translate")(r.options.productLabel,`priceRule.${r.priceRuleId}.productLabel`))+"\n\t\t\t\t\t\t\t")])]],2)])])})),1)],1)],1)}),[],!1,null,"fc7fa8a4",null);e.default=M.exports}}]);
2//# sourceMappingURL=4.868422013a7a7a820d9c.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.