{"version":3,"sources":["webpack:///./src/popupcomponents/IconModal.vue?9145","webpack:///./src/popupcomponents/IconModal.vue?c419","webpack:///./src/popupcomponents/IconModal.vue?0dd6","webpack:///./src/popupcomponents/IconModal.vue","webpack:///./src/popupcomponents/removeApplication/RemoveApplication.vue?9ca3","webpack:///./src/popupcomponents/removeApplication/RemoveApplication.vue?1e84","webpack:///./src/popupcomponents/removeApplication/RemoveApplication.vue?dcf5","webpack:///./src/popupcomponents/removeApplication/RemoveApplication.vue","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?a4ec","webpack:///./src/popupcomponents/RemovalModal.vue?ec47","webpack:///./src/popupcomponents/RemovalModal.vue?0901","webpack:///./src/popupcomponents/RemovalModal.vue?1123","webpack:///./src/popupcomponents/RemovalModal.vue","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?e5d6","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?98a5","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?c4e3","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue","webpack:///./src/popupcomponents/IconModal.vue?899f","webpack:///./src/popupcomponents/removeApplication/RemoveApplication.vue?f2f1"],"names":["render","_vm","this","_h","$createElement","_c","_self","_b","on","$event","$emit","$attrs","staticClass","class","alertClass","iconClass","_t","staticRenderFns","type","String","default","required","components","BaseModal","component","attrs","isVisibleSync","_v","_s","screenText","getScreenText","ScreenText","RemovalModal","IconModal","session","isAutomaticDiscountEnabledSync","scopedSlots","_u","key","fn","programName","sessionName","proxy","scholars","length","childrenLabelText","_l","tag","index","scholarId","tagText","removable","disabled","handleScholarClick","noChildrenText","_e","isApplicationRemovalAlert","onYesContinue","onCancel","isMobile","hasOnlinePayments","childrenSelection","isPaymentPlanFlagEnabledSync","directives","name","rawName","value","expression","openRemoveApplicationAlert","APP_ROUTES","$nextTick","updateCartItemPayload","cartId","activeCartId","sessionId","quantity","scholarIds","updateCartItem","fetchCartApplications","scholarFirstName","scholarLastName","interactedCartItem","cartItems","find","cartItem","scholar","removeSpecificCartItem","Boolean","Object","Number","Array","SessionPriceTag","BaseCard","Tag","RemoveApplicationAlert","RemoveApplication"],"mappings":"4KAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAYJ,EAAIM,GAAG,CAACC,GAAG,CAAC,WAAa,SAASC,GAAQ,OAAOR,EAAIS,MAAM,iBAAiB,YAAYT,EAAIU,QAAO,GAAO,CAACN,EAAG,SAAS,CAACO,YAAY,cAAc,CAACP,EAAG,MAAM,CAACO,YAAY,oBAAoBC,MAAMZ,EAAIa,YAAY,CAACT,EAAG,IAAI,CAACO,YAAY,WAAWC,MAAMZ,EAAIc,gBAAgBd,EAAIe,GAAG,YAAY,IAC3YC,EAAkB,G,oFCmBD,EAArB,kJAAuC,QACO,QAA3C,eAAK,CAAEC,KAAMC,OAAQC,QAAS,a,iCACS,QAAvC,eAAK,CAAEF,KAAMC,OAAQE,UAAU,K,gCAFb,EAAS,QAL7B,eAAU,CACTC,WAAY,CACVC,YAAA,eAGiB,WCpB+W,I,wBCQhYC,EAAY,eACd,EACAxB,EACAiB,GACA,EACA,KACA,WACA,MAIa,aAAAO,E,oDCnBf,IAAIxB,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,eAAe,CAACoB,MAAM,CAAC,UAAYxB,EAAIyB,eAAelB,GAAG,CAAC,mBAAmB,SAASC,GAAQR,EAAIyB,cAAcjB,GAAQ,oBAAoB,SAASA,GAAQR,EAAIyB,cAAcjB,GAAQ,WAAa,SAASA,GAAQ,OAAOR,EAAIS,MAAM,iBAAiB,CAACL,EAAG,MAAM,CAACO,YAAY,mCAAmC,CAACX,EAAI0B,GAAG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,EAAIgC,iBAAd,YAAkChC,EAAIiC,mBArD1C,oGAwD2BjC,GAxD3B,iGAyDS7C,KAAKiD,UAzDd,oDA4DU8B,EAAqB,OAAKC,UAAUC,MACxC,SAACC,GAAD,OACEA,EAASC,SACTD,EAASC,QAAQN,iBAAmB,IAAMK,EAASC,QAAQL,iBAAmBjC,GAC9EqC,EAASlD,QAAQwC,WAAa,EAAKxC,QAAQwC,cAG3CO,EAnER,gCAoEY,OAAKK,uBAAuBL,GApExC,OAqEM,OAAKH,wBArEX,kJAgBI,OAAO5E,KAAK2B,WAAWC,cAAc,wCAhBzC,qCAoBI,OAAO5B,KAAK2B,WAAWC,cAAc,yBApBzC,GAAwC,eAAO,SACL,QAAvC,eAAK,CAAEZ,KAAMqE,QAASnE,SAAS,K,+BACP,QAAxB,eAAK,CAAEF,KAAMqE,W,wCAC0B,QAAvC,eAAK,CAAErE,KAAMqE,QAASnE,SAAS,K,gCACQ,QAAvC,eAAK,CAAEF,KAAMsE,OAAQnE,UAAU,K,8BACQ,QAAvC,eAAK,CAAEH,KAAMuE,OAAQpE,UAAU,K,wCACQ,QAAvC,eAAK,CAAEH,KAAMwE,MAAOrE,UAAU,K,+BAE/B,QADC,eAAS,6BAA8B,CAAEH,KAAMqE,W,qDAES,QAAxD,eAAS,2BAA4B,CAAErE,KAAMqE,W,mDAT3B,EAAU,QAR9B,eAAU,CACTjE,WAAY,CACVqE,kBAAA,WACAC,WAAA,WACAC,MAAA,WACAC,uBAAAC,EAAA,eAGiB,WClGsa,I,wBCQvbvE,EAAY,eACd,EACAxB,EACAiB,GACA,EACA,KACA,WACA,MAIa,aAAAO,E,2CCnBf,yBAA0iB,EAAG,G,kCCA7iB,yBAAukB,EAAG","file":"js/chunk-268d62eb.8fd766f9.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseModal',_vm._b({on:{\"closepopup\":function($event){return _vm.$emit('closepopup')}}},'BaseModal',_vm.$attrs,false),[_c('figure',{staticClass:\"alert-icon\"},[_c('div',{staticClass:\"alert-icon-circle\",class:_vm.alertClass},[_c('i',{staticClass:\"fa-solid\",class:_vm.iconClass})])]),_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop } from 'vue-property-decorator'\nimport BaseModal from '@/popupcomponents/BaseModal.vue'\n\n@Component({\n components: {\n BaseModal\n }\n})\nexport default class IconModal extends Vue {\n @Prop({ type: String, default: 'neutral' }) readonly alertClass!: string\n @Prop({ type: String, required: true }) readonly iconClass!: string\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./IconModal.vue?vue&type=template&id=3aa61049&scoped=true&\"\nimport script from \"./IconModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./IconModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./IconModal.vue?vue&type=style&index=0&id=3aa61049&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3aa61049\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('RemovalModal',{attrs:{\"isVisible\":_vm.isVisibleSync},on:{\"update:isVisible\":function($event){_vm.isVisibleSync=$event},\"update:is-visible\":function($event){_vm.isVisibleSync=$event},\"closepopup\":function($event){return _vm.$emit('closepopup')}}},[_c('div',{staticClass:\"application-removal-alert-title\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('REMOVE_APPLICATIONS_TITLE'))+\" \")]),_c('div',{staticClass:\"button-wrapper uk-margin-medium-top\"},[_c('button',{staticClass:\"catalog-btn-primary-open mr-8 cancel-btn\",on:{\"click\":function($event){return _vm.$emit('closepopup')}}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('BTN_CANCEL'))+\" \")]),_c('button',{staticClass:\"catalog-btn-warning\",on:{\"click\":function($event){return _vm.$emit('continue')}}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('REMOVE_BTN'))+\" \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, PropSync } from 'vue-property-decorator'\nimport { ScreenText } from '@/lang/ScreenText'\nimport RemovalModal from '@/popupcomponents/RemovalModal.vue'\n\n@Component({\n components: {\n RemovalModal\n }\n})\nexport default class RemoveApplicationAlert extends Vue {\n @PropSync('isVisible') isVisibleSync!: boolean\n public readonly screenText: ScreenText = new ScreenText()\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveApplication.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveApplication.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RemoveApplication.vue?vue&type=template&id=ae531676&scoped=true&\"\nimport script from \"./RemoveApplication.vue?vue&type=script&lang=ts&\"\nexport * from \"./RemoveApplication.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RemoveApplication.vue?vue&type=style&index=0&id=ae531676&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ae531676\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=style&index=0&id=5492f3be&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=style&index=0&id=5492f3be&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('IconModal',_vm._b({attrs:{\"alertClass\":\"danger\",\"iconClass\":\"fa-solid fa-trash fa-xl\"},on:{\"closepopup\":function($event){return _vm.$emit('closepopup')}}},'IconModal',_vm.$attrs,false),[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component } from 'vue-property-decorator'\nimport IconModal from './IconModal.vue'\n\n@Component({\n components: {\n IconModal\n }\n})\nexport default class RemovalModal extends Vue {}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemovalModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemovalModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RemovalModal.vue?vue&type=template&id=616930bb&\"\nimport script from \"./RemovalModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./RemovalModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseCard',{attrs:{\"session\":_vm.session,\"isAutomaticDiscountEnabled\":_vm.isAutomaticDiscountEnabledSync},on:{\"update:isAutomaticDiscountEnabled\":function($event){_vm.isAutomaticDiscountEnabledSync=$event},\"update:is-automatic-discount-enabled\":function($event){_vm.isAutomaticDiscountEnabledSync=$event}},scopedSlots:_vm._u([{key:\"card-name\",fn:function(){return [_c('div',{staticClass:\"session-name\"},[_vm._v(\" \"+_vm._s(_vm.session.programName)+\" \"),_c('img',{attrs:{\"src\":require(\"@/assets/images/dot-separator.svg\")}}),_vm._v(\" \"+_vm._s(_vm.session.sessionName)+\" \")])]},proxy:true},{key:\"participant-tag\",fn:function(){return [(_vm.scholars && _vm.scholars.length > 0)?_c('div',{staticClass:\"session-control-children\"},[_c('label',[_vm._v(\" \"+_vm._s(_vm.childrenLabelText)+\": \")]),_vm._l((_vm.scholars),function(tag,index){return _c('Tag',{key:tag.scholarId + '-' + index,attrs:{\"tagText\":_vm.tagText(tag),\"tagId\":tag.scholarId,\"removable\":_vm.removable,\"disabled\":_vm.disabled},on:{\"x-pressed\":_vm.handleScholarClick}})})],2):(_vm.scholars && _vm.scholars.length === 0)?_c('div',{staticClass:\"session-control-children\"},[_c('label',[_vm._v(\" \"+_vm._s(_vm.childrenLabelText)+\": \")]),_c('Tag',{attrs:{\"tagText\":_vm.noChildrenText,\"error\":\"\"}})],1):_vm._e()]},proxy:true},{key:\"card-mobile-price\",fn:function(){return [_c('RemoveApplicationAlert',{attrs:{\"isVisible\":_vm.isApplicationRemovalAlert},on:{\"update:isVisible\":function($event){_vm.isApplicationRemovalAlert=$event},\"update:is-visible\":function($event){_vm.isApplicationRemovalAlert=$event},\"continue\":_vm.onYesContinue,\"closepopup\":_vm.onCancel}}),(_vm.isMobile && _vm.hasOnlinePayments)?_c('SessionPriceTag',{staticClass:\"session-control-price\",attrs:{\"session\":_vm.session,\"quantity\":_vm.childrenSelection,\"isAutomaticDiscountEnabled\":_vm.isAutomaticDiscountEnabledSync,\"isPaymentPlanFlagEnabled\":_vm.isPaymentPlanFlagEnabledSync,\"review\":true},on:{\"update:isAutomaticDiscountEnabled\":function($event){_vm.isAutomaticDiscountEnabledSync=$event},\"update:is-automatic-discount-enabled\":function($event){_vm.isAutomaticDiscountEnabledSync=$event},\"update:isPaymentPlanFlagEnabled\":function($event){_vm.isPaymentPlanFlagEnabledSync=$event},\"update:is-payment-plan-flag-enabled\":function($event){_vm.isPaymentPlanFlagEnabledSync=$event}}}):_vm._e()]},proxy:true},{key:\"card-actions\",fn:function(){return [(!_vm.isMobile)?_c('div',{staticClass:\"session-control uk-flex uk-flex-top\"},[(!_vm.isMobile && _vm.hasOnlinePayments)?_c('SessionPriceTag',{staticClass:\"session-control-price\",attrs:{\"session\":_vm.session,\"quantity\":_vm.childrenSelection,\"isAutomaticDiscountEnabled\":_vm.isAutomaticDiscountEnabledSync,\"isPaymentPlanFlagEnabled\":_vm.isPaymentPlanFlagEnabledSync},on:{\"update:isAutomaticDiscountEnabled\":function($event){_vm.isAutomaticDiscountEnabledSync=$event},\"update:is-automatic-discount-enabled\":function($event){_vm.isAutomaticDiscountEnabledSync=$event},\"update:isPaymentPlanFlagEnabled\":function($event){_vm.isPaymentPlanFlagEnabledSync=$event},\"update:is-payment-plan-flag-enabled\":function($event){_vm.isPaymentPlanFlagEnabledSync=$event}}}):_vm._e(),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.removable),expression:\"removable\"}],staticClass:\"fa-solid fa-trash trash-icon pointer\",class:{ disabled: _vm.disabled },attrs:{\"data-testid\":\"removeSessionIcon\"},on:{\"click\":function($event){return _vm.openRemoveApplicationAlert()}}})],1):_vm._e(),(_vm.isMobile)?_c('div',{staticClass:\"session-control\"},[_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.removable),expression:\"removable\"}],staticClass:\"fa-solid fa-trash trash-icon pointer\",class:{ disabled: _vm.disabled },attrs:{\"data-testid\":\"removeSessionIcon\"},on:{\"click\":function($event){return _vm.openRemoveApplicationAlert()}}})]):_vm._e()]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins, Prop, PropSync } from 'vue-property-decorator'\nimport { ScreenText } from '@/lang/ScreenText'\nimport { CatalogSession } from '@/Model/sessions/catalogTypes'\nimport Tag from '../../removeableTag/Tag.vue'\nimport DeviceWidthCheckerMixin from '@/mixins/deviceWidthChecker.mixin'\nimport SessionPriceTag from '@/components/familyPortal/sessionCard/SessionPriceTag.vue'\nimport BaseCard from '@/components/familyPortal/sessionCard/BaseCard.vue'\nimport { SubmitCartScholar } from '@/Model/checkout/cart/types'\nimport cart from '@/store/modules/checkout/cart/module'\nimport APP_CONST from '@/constants/AppConst'\nimport RemoveApplicationAlert from '@/popupcomponents/removeApplication/RemoveApplication.vue'\nimport { UpdateCartItemActionPayload } from '@/Model/checkout/cart/types'\n\n@Component({\n components: {\n SessionPriceTag,\n BaseCard,\n Tag,\n RemoveApplicationAlert\n }\n})\nexport default class SubmitCard extends Mixins(DeviceWidthCheckerMixin) {\n @Prop({ type: Boolean, default: true }) readonly disabled!: boolean\n @Prop({ type: Boolean }) readonly hasOnlinePayments!: boolean\n @Prop({ type: Boolean, default: true }) readonly removable!: boolean\n @Prop({ type: Object, required: true }) readonly session!: CatalogSession\n @Prop({ type: Number, required: true }) childrenSelection!: number\n @Prop({ type: Array, required: false }) scholars: SubmitCartScholar[] | undefined\n @PropSync('isAutomaticDiscountEnabled', { type: Boolean })\n isAutomaticDiscountEnabledSync!: boolean\n @PropSync('isPaymentPlanFlagEnabled', { type: Boolean }) isPaymentPlanFlagEnabledSync!: boolean\n\n readonly screenText = new ScreenText()\n public readonly APP_ROUTES = APP_CONST.APP_ROUTES\n isApplicationRemovalAlert = false\n\n get childrenLabelText(): string {\n return this.screenText.getScreenText('CATALOG_SESSION_PARTICIPANTS_LABEL')\n }\n\n get noChildrenText(): string {\n return this.screenText.getScreenText('NO_CHILDREN_FOUND')\n }\n\n openRemoveApplicationAlert() {\n if (!this.removable || this.disabled) {\n return\n }\n this.isApplicationRemovalAlert = true\n }\n\n async onYesContinue() {\n this.isApplicationRemovalAlert = false\n await this.$nextTick()\n\n const updateCartItemPayload = {\n updateCartItemPayload: {\n cartId: cart.activeCartId,\n sessionId: this.session.sessionId,\n quantity: 0,\n scholarIds: []\n },\n session: this.session\n } as UpdateCartItemActionPayload\n\n await cart.updateCartItem(updateCartItemPayload)\n cart.fetchCartApplications()\n }\n\n onCancel() {\n this.isApplicationRemovalAlert = false\n }\n\n tagText(tag: SubmitCartScholar) {\n return `${tag.scholarFirstName} ${tag.scholarLastName}`\n }\n\n async handleScholarClick(tag: string) {\n if (!this.removable) {\n return\n }\n const interactedCartItem = cart.cartItems.find(\n (cartItem) =>\n cartItem.scholar &&\n cartItem.scholar.scholarFirstName + ' ' + cartItem.scholar.scholarLastName == tag &&\n cartItem.session.sessionId == this.session.sessionId\n )\n\n if (interactedCartItem) {\n await cart.removeSpecificCartItem(interactedCartItem)\n cart.fetchCartApplications()\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubmitCard.vue?vue&type=template&id=5492f3be&scoped=true&\"\nimport script from \"./SubmitCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubmitCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SubmitCard.vue?vue&type=style&index=0&id=5492f3be&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5492f3be\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconModal.vue?vue&type=style&index=0&id=3aa61049&lang=less&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconModal.vue?vue&type=style&index=0&id=3aa61049&lang=less&scoped=true&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveApplication.vue?vue&type=style&index=0&id=ae531676&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveApplication.vue?vue&type=style&index=0&id=ae531676&lang=less&scoped=true&\""],"sourceRoot":""}