{"version":3,"sources":["webpack:///./src/views/OrganisationSelection.vue?baad","webpack:///./src/components/Loading.vue?694f","webpack:///src/components/Loading.vue","webpack:///./src/components/Loading.vue?f931","webpack:///./src/components/Loading.vue","webpack:///src/views/OrganisationSelection.vue","webpack:///./src/views/OrganisationSelection.vue?cf84","webpack:///./src/views/OrganisationSelection.vue","webpack:///./src/assets/subsidio-full-white-logo.svg"],"names":["render","_vm","this","_h","$createElement","_c","_self","visible","staticClass","attrs","allMembers","length","$t","model","value","callback","$$v","search","expression","_e","messageType","domProps","_s","_v","_l","member","key","memberId","on","$event","selectOrganisation","organisationMyAccountId","organisationName","goToBackOffice","signout","returnToBasePage","staticRenderFns","_m","name","component","components","Loading","props","subsidyCorrrelationId","type","String","required","data","enabled","methods","$router","push","params","myAccountId","correlationId","query","shareId","$route","location","href","checkForAutomaticRedirect","doesUserHavePermission","userAuthorized","started","userLoaded","isApiAlive","computed","validMessageType","showBackOfficeLink","availableMembers","filter","filteredMembers","user","members","watch","module","exports"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAASF,EAAIM,UAAyBF,EAAG,MAAM,CAACG,YAAY,YAAY,CAACH,EAAG,SAAS,CAACG,YAAY,oBAAoB,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,IAAM,EAAQ,QAA0C,IAAM,MAAOP,KAAKQ,WAAWC,OAAS,EAAGN,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,eAAe,CAACI,MAAM,CAAC,YAAc,SAAS,YAAcR,EAAIW,GAAG,4CAA4CC,MAAM,CAACC,MAAOb,EAAU,OAAEc,SAAS,SAAUC,GAAMf,EAAIgB,OAAOD,GAAKE,WAAW,aAAa,GAAGjB,EAAIkB,OAAOd,EAAG,MAAM,CAACG,YAAY,qBAAqB,CAAEP,EAAe,YAAEI,EAAG,MAAM,CAACG,YAAY,iCAAiC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SAAU,OAAZ,OAAY,CAAZ,kBACA,gBACI,QAAJ,gBACI,WAAJ,kBACI,eAAJ,sBACI,KAAJ,YACI,uBAAJ,iCANA,IAQIC,iBARJ,WASM,MACN,2CACA,mCACA,sCACA,mCAGIC,mBAhBJ,WAiBM,OAAOlE,KAAK2D,uBAAuB,wBAErCnD,WAnBJ,WAoBM,OAAO,KAAb,6BAEI2D,iBAtBJ,WAuBM,OAAOnE,KAAKQ,WAAW4D,QAAO,SAApC,4DAEIC,gBAzBJ,WAyBA,WACM,OAAOrE,KAAKsE,KAAKC,QAAQH,QAC/B,YAAQ,OACR,gFACA,oDAIE,QA3GF,WA2GA,wJACA,qCACA,4CACA,aAHA,8CAKEI,MAAO,CACLV,WADJ,WAEM9D,KAAK8C,SAAU,EACX9C,KAAK0D,8BACT1D,KAAK8C,SAAU,MCrM0U,ICO3V,EAAY,eACd,EACAhD,EACAoC,GACA,EACA,KACA,KACA,MAIa,e,8BClBfuC,EAAOC,QAAU,IAA0B","file":"js/chunk-1004c72c.866a5226.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.visible())?_c('Loading'):_c('div',{staticClass:\"c-splash\"},[_c('header',{staticClass:\"c-splash__header\"},[_c('img',{attrs:{\"src\":require(\"../assets/subsidio-full-white-logo.svg\"),\"alt\":\"\"}}),(this.allMembers.length > 1)?_c('div',{staticClass:\"c-splash__search\"},[_c('s-text-field',{attrs:{\"componentId\":'search',\"placeholder\":_vm.$t('OrganisationSelection.SearchPlaceholder')},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1):_vm._e()]),_c('div',{staticClass:\"c-splash__content\"},[(_vm.messageType)?_c('div',{staticClass:\"c-message c-message--negative\"},[(_vm.messageType === 'OrganisationNotFound')?_c('div',{staticClass:\"c-message__message\",domProps:{\"innerHTML\":_vm._s(_vm.$t('OrganisationSelection.ErrorMessages.OrganisationNotFound'))}}):_vm._e(),(_vm.messageType === 'NoPermission')?_c('div',{staticClass:\"c-message__message\",domProps:{\"innerHTML\":_vm._s(_vm.$t('OrganisationSelection.ErrorMessages.NoPermission'))}}):_vm._e(),(_vm.messageType === 'MembersNotFound')?_c('div',{staticClass:\"c-message__message\",domProps:{\"innerHTML\":_vm._s(_vm.$t('OrganisationSelection.ErrorMessages.MembersNotFound'))}}):_vm._e(),(_vm.messageType === 'Unauthorized')?_c('div',{staticClass:\"c-message__message\",domProps:{\"innerHTML\":_vm._s(_vm.$t('OrganisationSelection.ErrorMessages.Unauthorized'))}}):_vm._e(),(_vm.messageType === 'NotConnected')?_c('div',{staticClass:\"c-message__message\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.$t('OrganisationSelection.ErrorMessages.NotConnected'))}})]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"c-splash__intro\"},[(this.allMembers.length > 1)?_c('div',{staticClass:\"u-text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('OrganisationSelection.Intro'))+\" \")]):_vm._e()]),_c('div',{staticClass:\"c-card-list\"},_vm._l((_vm.filteredMembers),function(member){return _c('button',{key:member.memberId,staticClass:\"c-card\",on:{\"click\":function($event){return _vm.selectOrganisation(member.organisationMyAccountId)}}},[_c('div',{staticClass:\"c-card__icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":['far', 'building']}})],1),_c('div',{staticClass:\"c-card__title\"},[_vm._v(_vm._s(member.organisationName))])])}),0)]),_c('footer',{staticClass:\"c-splash__footer\"},[_c('div',{staticClass:\"c-button-group--center\"},[(_vm.showBackOfficeLink)?_c('button',{staticClass:\"u-mr-tiny c-primary-button\",on:{\"click\":function($event){return _vm.goToBackOffice()}}},[_vm._v(\" \"+_vm._s(_vm.$t('OrganisationSelection.GoToBackoffice'))+\" ยป \")]):_vm._e(),_c('button',{staticClass:\"c-secondary-button\",on:{\"click\":function($event){return _vm.signout()}}},[_vm._v(_vm._s(_vm.$t('OrganisationSelection.SignOut')))]),(_vm.messageType === 'NotConnected')?_c('button',{staticClass:\"u-ml-tiny c-secondary-button\",on:{\"click\":function($event){return _vm.returnToBasePage()}}},[_vm._v(\" \"+_vm._s(_vm.$t('OrganisationSelection.Reload'))+\" \")]):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"o-app\"},[_c('div',{staticClass:\"c-loader\"},[_c('div',{staticClass:\"bookshelf_wrapper\"},[_c('ul',{staticClass:\"books_list\"},[_c('li',{staticClass:\"book_item first\"}),_c('li',{staticClass:\"book_item second\"}),_c('li',{staticClass:\"book_item third\"}),_c('li',{staticClass:\"book_item fourth\"}),_c('li',{staticClass:\"book_item fifth\"}),_c('li',{staticClass:\"book_item sixth\"})]),_c('div',{staticClass:\"shelf\"})])])])}]\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=df218ad4&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\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","\r\n \r\n \r\n \r\n \r\n\r\n 1\">\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n 1\">\r\n {{ $t('OrganisationSelection.Intro') }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{ member.organisationName }}\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationSelection.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganisationSelection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OrganisationSelection.vue?vue&type=template&id=437b4514&\"\nimport script from \"./OrganisationSelection.vue?vue&type=script&lang=js&\"\nexport * from \"./OrganisationSelection.vue?vue&type=script&lang=js&\"\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","module.exports = __webpack_public_path__ + \"img/subsidio-full-white-logo.ca648a3c.svg\";"],"sourceRoot":""}