(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-33901ba4"],{"77a4":function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t._self._c;return n("MainMenuView",{attrs:{title:t.title,containerClass:"container-fluid"},on:{close:function(n){return t.$emit("close")}}},[n("Codes",{attrs:{title:t.title,typesToShow:t.typesToShow,byConditions:t.byConditions,settingsToShow:t.settingsToShow,showImport:!0}})],1)},o=[],T=(e("6762"),e("2fdb"),e("768b")),s=(e("ffc1"),e("ac6a"),e("8615"),e("5a50")),S={name:"AllowancesAndCredits",components:{Codes:function(){return e.e("chunk-37a64dea").then(e.bind(null,"664a"))},MainMenuView:function(){return e.e("chunk-2d0d762a").then(e.bind(null,"771e"))}},data:function(){return{title:"Allowances & Credits",typesToShow:[s["STORE_DISCOUNT"].TYPES.ALLOWANCE,s["STORE_DISCOUNT"].TYPES.CREDIT],byConditions:Object.values(Object.fromEntries(Object.entries(s["STORE_DISCOUNT"].BY_CONDITIONS).filter((function(t){var n=Object(T["a"])(t,2),e=(n[0],n[1]);return e!==s["STORE_DISCOUNT"].BY_CONDITIONS.BY_STORE_ROLES})))),settingsToShow:Object.values(Object.fromEntries(Object.entries(s["STORE_DISCOUNT"].SETTINGS).filter((function(t){var n=Object(T["a"])(t,2),e=(n[0],n[1]);return![s["STORE_DISCOUNT"].SETTINGS.IMAGE,s["STORE_DISCOUNT"].SETTINGS.LINK,s["STORE_DISCOUNT"].SETTINGS.DESCRIPTION,s["STORE_DISCOUNT"].SETTINGS.TITLE].includes(e)}))))}}},c=S,r=e("2877"),O=Object(r["a"])(c,i,o,!1,null,null,null);n["default"]=O.exports},ffc1:function(t,n,e){var i=e("5ca1"),o=e("504c")(!0);i(i.S,"Object",{entries:function(t){return o(t)}})}}]);
//# sourceMappingURL=chunk-33901ba4.2efa2f87.js.map